/* RCI V72 — responsive supplier and retailer workspaces */
.rci-dashboard-page{max-width:1180px;margin:0 auto;padding-top:30px;padding-bottom:90px}
.rci-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 32px;margin-bottom:20px;border-radius:22px;background:linear-gradient(125deg,#082b49 0%,#123e67 65%,#1d5b83 100%);color:#fff;box-shadow:0 14px 34px rgba(8,43,73,.14)}
.rci-dashboard-hero-copy{min-width:0}
.rci-dashboard-eyebrow{display:block;font-size:10px;letter-spacing:.14em;font-weight:850;color:#b9d9f2;margin-bottom:9px}
.rci-dashboard-hero h1{color:#fff!important;font-size:30px;line-height:1.15;margin:0 0 8px;letter-spacing:-.025em}
.rci-dashboard-hero p{color:#d9e8f5;margin:0;max-width:620px;font-size:14px;line-height:1.55}
.rci-dashboard-hero-actions{display:flex;flex-wrap:wrap;gap:9px;flex-shrink:0}
.rci-dashboard-outline-btn,.rci-dashboard-solid-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:0 16px;border-radius:11px;text-decoration:none;font-size:12px;font-weight:800;transition:transform .18s,box-shadow .18s}
.rci-dashboard-outline-btn{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.45);color:#fff}
.rci-dashboard-solid-btn{background:#f2a23a;color:#142c43;border:1px solid #f2a23a}
.rci-dashboard-outline-btn:hover,.rci-dashboard-solid-btn:hover,.rci-dashboard-action-card:hover{transform:translateY(-2px)}
.rci-dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 28px}
.rci-dashboard-stat{display:flex;align-items:center;gap:13px;min-width:0;padding:18px 19px;border:1px solid #e4ebf2;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(13,42,70,.045)}
.rci-dashboard-stat-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:#edf5fc;color:#14527d;font-size:17px;font-weight:900}
.rci-dashboard-stat strong{display:block;color:#102b49;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.rci-dashboard-stat strong small{font-size:13px;color:#8292a5}
.rci-dashboard-stat div>span{display:block;margin-top:4px;color:#718096;font-size:11px}
.rci-dashboard-section-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:28px 0 14px}
.rci-dashboard-section-heading>div>span{font-size:10px;letter-spacing:.12em;font-weight:850;color:#8b9aab}
.rci-dashboard-section-heading h2{font-size:22px;color:#102b49;margin:4px 0 0}
.rci-dashboard-section-heading>p{font-size:12px;color:#718096;margin:0}
.rci-dashboard-actions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.rci-dashboard-action-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:174px;padding:18px;border:1px solid #e4ebf2;border-radius:16px;background:#fff;text-decoration:none;box-shadow:0 5px 18px rgba(13,42,70,.045);transition:transform .18s,box-shadow .18s}
.rci-dashboard-action-card:hover{box-shadow:0 12px 25px rgba(13,42,70,.1)}
.rci-dashboard-action-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:13px;border-radius:12px;background:#edf5fc;color:#14527d;font-size:17px;font-weight:900}
.rci-dashboard-action-card>strong{color:#102b49;font-size:14px;line-height:1.3}
.rci-dashboard-action-card>small{color:#748397;font-size:11px;line-height:1.5;margin-top:6px}
.rci-dashboard-action-card>b{color:#17618e;font-size:11px;margin-top:auto;padding-top:12px}
.rci-dashboard-action-card.is-locked{background:#f7f9fb;border-style:dashed}
.rci-dashboard-action-card.is-locked .rci-dashboard-action-icon{background:#edf0f3;color:#778596}
.rci-dashboard-action-card.is-locked>b{color:#7c8998}
.rci-dashboard-logout{text-align:right;margin:14px 2px 25px}
.rci-dashboard-logout a,.rci-retailer-bottom-actions>a:last-child{font-size:12px;color:#7c8998;text-decoration:none;font-weight:700}
.rci-dashboard-details{padding:0!important;margin-top:20px;overflow:hidden}
.rci-dashboard-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;cursor:pointer;list-style:none;background:#f8fafc}
.rci-dashboard-details>summary::-webkit-details-marker{display:none}
.rci-dashboard-details>summary span:first-child{display:flex;flex-direction:column;gap:4px}
.rci-dashboard-details>summary small{font-size:9px;letter-spacing:.12em;color:#8493a4;font-weight:850}
.rci-dashboard-details>summary strong{font-size:16px;color:#102b49}
.rci-details-toggle{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eaf2f9;color:#15527c;font-weight:900}
.rci-dashboard-details[open] .rci-details-toggle{font-size:0}
.rci-dashboard-details[open] .rci-details-toggle:after{content:"−";font-size:18px}
.rci-dashboard-details:not([open]) .rci-details-toggle{font-size:0}
.rci-dashboard-details:not([open]) .rci-details-toggle:after{content:"+";font-size:18px}
.rci-dashboard-details>.grid,.rci-dashboard-details>div{padding-left:20px;padding-right:20px}
.rci-dashboard-details>.grid{padding-top:18px}
.rci-dashboard-details>div:last-child{padding-bottom:20px}
.rci-retailer-profile-summary{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:18px 0 24px;border:1px solid #e3eaf1;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(13,42,70,.045)}
.rci-retailer-summary-logo{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:#f0f5fa;color:#123e62;font-size:22px;font-weight:900}
.rci-retailer-summary-logo img{width:100%;height:100%;object-fit:contain;padding:5px}
.rci-retailer-summary-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.rci-retailer-summary-copy strong{font-size:15px;color:#102b49}
.rci-retailer-summary-copy>span{font-size:12px;color:#6c7c90}
.rci-retailer-summary-copy small{font-size:10px;color:#16804a;font-weight:800}
.rci-retailer-active-pill{margin-left:auto;flex-shrink:0;padding:6px 10px;border-radius:999px;background:#eaf7ef;color:#167744;font-size:10px;font-weight:850}
.rci-retailer-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:24px!important;border:1px solid #e3eaf1;border-radius:18px}
.rci-retailer-profile-form .rci-form-section-heading{grid-column:1/-1;display:flex;align-items:center;gap:11px;padding:12px 13px;margin-top:5px;border-radius:12px;background:#f5f8fb}
.rci-form-section-heading>span{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border-radius:9px;background:#e3eff9;color:#15527c;font-size:11px;font-weight:900}
.rci-form-section-heading>div{display:flex;flex-direction:column;gap:3px}
.rci-form-section-heading strong{font-size:13px;color:#173653}
.rci-form-section-heading small{font-size:10px;color:#8290a1}
.rci-retailer-profile-form .field{min-width:0}
.rci-retailer-profile-form .field.full{grid-column:1/-1}
.rci-retailer-profile-form .field input:not([type=checkbox]):not([type=file]),.rci-retailer-profile-form .field select,.rci-retailer-profile-form .field textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:43px;border-radius:10px}
.rci-retailer-profile-form .field input[type=file]{max-width:100%;font-size:12px}
.rci-retailer-profile-form .field label{font-size:12px;font-weight:750;color:#3c5068}
.rci-retailer-profile-form .help{display:block;font-size:11px;line-height:1.5;color:#7b8b9d;margin-top:6px}
.rci-retailer-save-row{display:flex;align-items:center;gap:14px;padding-top:9px;border-top:1px solid #edf1f5}
.rci-retailer-save-row button{min-width:210px;min-height:46px;border-radius:11px}
.rci-retailer-save-row>span{font-size:10px;color:#8794a4}
.rci-retailer-bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}
.rci-retailer-bottom-actions .rci-dashboard-outline-btn{background:#fff;border:1px solid #cbd8e5;color:#17496e}
.rci-retailer-dashboard .grid{min-width:0}
.rci-retailer-dashboard .success,.rci-retailer-dashboard .error{margin:12px 0;padding:12px 14px;border-radius:11px}
@media(min-width:761px) and (max-width:1050px){
 .rci-dashboard-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rci-dashboard-hero{padding:25px}
}
@media(max-width:760px){
 .rci-dashboard-page{padding:18px 14px 105px!important}
 .rci-dashboard-hero{display:block;padding:22px 18px;margin:0 0 15px;border-radius:17px}
 .rci-dashboard-hero h1{font-size:24px;line-height:1.2}
 .rci-dashboard-hero p{font-size:12px}
 .rci-dashboard-hero-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:17px}
 .rci-dashboard-outline-btn,.rci-dashboard-solid-btn{min-width:0;min-height:42px;padding:0 9px;font-size:10px;text-align:center}
 .rci-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0 23px}
 .rci-dashboard-stat{display:block;padding:11px 9px;border-radius:12px}
 .rci-dashboard-stat-icon{width:31px;height:31px;margin-bottom:8px;border-radius:9px;font-size:13px}
 .rci-dashboard-stat strong{font-size:16px}
 .rci-dashboard-stat strong small{font-size:10px}
 .rci-dashboard-stat div>span{font-size:9px;line-height:1.3}
 .rci-dashboard-section-heading{display:block;margin:22px 0 11px}
 .rci-dashboard-section-heading h2{font-size:19px}
 .rci-dashboard-section-heading>p{margin-top:5px;font-size:11px}
 .rci-dashboard-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .rci-dashboard-action-card{min-height:155px;padding:13px;border-radius:13px}
 .rci-dashboard-action-icon{width:33px;height:33px;margin-bottom:10px}
 .rci-dashboard-action-card>strong{font-size:12px}
 .rci-dashboard-action-card>small{font-size:10px}
 .rci-dashboard-action-card>b{font-size:10px}
 .rci-dashboard-details>summary{padding:14px}
 .rci-dashboard-details>summary strong{font-size:14px}
 .rci-dashboard-details>.grid,.rci-dashboard-details>div{padding-left:14px;padding-right:14px}
 .rci-dashboard-details>.grid{grid-template-columns:1fr 1fr!important;gap:12px!important}
 .rci-dashboard-details>.grid>div{min-width:0;overflow-wrap:anywhere}
 .rci-dashboard-details img{max-height:100px!important}
 .rci-dashboard-logout{margin:12px 2px 20px}
 .rci-retailer-profile-summary{gap:10px;padding:12px;margin:13px 0 18px;border-radius:13px}
 .rci-retailer-summary-logo{width:48px;height:48px;flex-basis:48px}
 .rci-retailer-summary-copy strong{font-size:13px}
 .rci-retailer-summary-copy>span{font-size:10px}
 .rci-retailer-summary-copy small{font-size:9px}
 .rci-retailer-active-pill{font-size:9px;padding:5px 7px}
 .rci-retailer-profile-form{grid-template-columns:1fr!important;gap:12px;padding:15px!important;border-radius:15px}
 .rci-retailer-profile-form .field,.rci-retailer-profile-form .field.full{grid-column:1/-1}
 .rci-retailer-profile-form .rci-form-section-heading{padding:10px;margin-top:3px}
 .rci-form-section-heading strong{font-size:12px}
 .rci-form-section-heading small{font-size:9px}
 .rci-retailer-profile-form .field input:not([type=checkbox]):not([type=file]),.rci-retailer-profile-form .field select,.rci-retailer-profile-form .field textarea{font-size:14px;min-height:45px}
 .rci-retailer-save-row{display:block}
 .rci-retailer-save-row button{width:100%;min-width:0;min-height:47px}
 .rci-retailer-save-row>span{display:block;margin-top:8px;text-align:center;line-height:1.4}
 .rci-retailer-bottom-actions{margin:14px 0;gap:8px}
 .rci-retailer-bottom-actions .rci-dashboard-outline-btn{flex:1}
}
