/* Shared customer and partner dashboard system */
:root{--portal-ink:#0b1424;--portal-ink-soft:#14223a;--portal-accent:var(--ui-accent,#a30033);--portal-accent-strong:var(--ui-accent,#a30033);--portal-line:#e1e7ee;--portal-muted:#68768a;--portal-surface:#fff;--portal-soft:#f4f7fa;--portal-success:#087a52;--portal-shadow:0 18px 55px rgba(15,23,42,.08)}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{background:#f4f6f8}
.portal-dashboard{width:min(1500px,calc(100% - 40px));margin-inline:auto}
.portal-hero{position:relative;min-height:188px;padding:34px 38px!important;border:1px solid rgba(255,255,255,.08);border-radius:26px!important;background:radial-gradient(circle at 10% 0,rgba(180,24,68,.38),transparent 30%),linear-gradient(135deg,#07101e 0,#111d32 100%)!important;box-shadow:0 22px 60px rgba(6,14,27,.17);overflow:hidden}
.portal-hero:after{content:"";position:absolute;inset:auto auto -115px -50px;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018);pointer-events:none}
.portal-identity{position:relative;z-index:1;display:flex;align-items:center;gap:18px;min-width:0}
.portal-avatar{width:66px;height:66px;display:grid;flex:none;place-items:center;border:1px solid rgba(255,255,255,.17);border-radius:19px;background:linear-gradient(145deg,var(--ui-accent,#a30033),#820029);color:#fff;font-size:27px;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.portal-identity>div{min-width:0}
.portal-hero small{display:block;color:#ff9aab!important;font-size:12px;font-weight:900;letter-spacing:.02em}
.portal-hero .page-heading{margin:6px 0 7px!important;color:#fff;font-size:clamp(27px,3vw,42px);line-height:1.2}
.portal-hero #customer-meta,.portal-hero #partner-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#b8c4d4;font-size:12px;line-height:1.8}
.portal-hero .account-kind{display:inline-flex!important;align-items:center;min-height:27px;padding:3px 10px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(255,255,255,.09);color:#fff}
.portal-hero-side{position:relative;z-index:1;display:grid;justify-items:end;gap:15px;max-width:420px;text-align:left}
.portal-hero-side>p{margin:0;color:#d7deea!important;font-size:13px;line-height:1.7}
.portal-head-actions{display:flex;gap:8px}
.portal-head-actions a,.portal-head-actions button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:11px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font:inherit;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer;transition:.18s ease}
.portal-head-actions a{border-color:var(--ui-accent,#a30033)!important;background:var(--ui-accent,#a30033)!important}
.portal-head-actions a:hover,.portal-head-actions button:hover{transform:translateY(-1px);background:#fff!important;color:#111827!important}
.portal-section-nav{position:sticky;top:10px;z-index:8;display:flex;align-items:center;justify-content:center;gap:4px;width:max-content;max-width:calc(100% - 30px);margin:-24px auto 32px;padding:6px;border:1px solid var(--portal-line);border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 13px 35px rgba(15,23,42,.12);backdrop-filter:blur(16px);overflow-x:auto}
.portal-section-nav a{flex:none;padding:10px 15px;border-radius:10px;color:#536176;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap;transition:.18s}
.portal-section-nav a:hover,.portal-section-nav a:focus-visible{background:#f5eaf0;color:#a30033;outline:none}
.portal-section-nav a[aria-current]{background:#a30033;color:#fff}
.portal-section-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin:0 2px 13px}
.portal-section-heading small{color:var(--portal-accent);font-size:11px;font-weight:900}
.portal-section-heading h2{margin:3px 0 0;color:#121c2d;font-size:24px}
.portal-section-heading p{margin:0;color:var(--portal-muted);font-size:11px}
.portal-kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:10px!important;margin:0 0 28px!important}
.portal-kpis>button,.portal-kpis>article{min-height:128px;display:flex!important;flex-direction:column;justify-content:center;padding:20px!important;border:1px solid var(--portal-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px rgba(15,23,42,.045);text-align:right!important}
.portal-kpis>button:before,.portal-kpis>article:before{content:none}
.portal-kpis small{color:#637187!important;font-size:11px!important}
.portal-kpis b{margin:6px 0 2px!important;color:#0b1424;font-size:32px!important;line-height:1.15}
.portal-kpis span{color:#8a96a7!important;font-size:10px!important}
.portal-kpis>button:hover{border-color:#df9aad!important;box-shadow:0 16px 38px rgba(15,23,42,.09)!important}
.account-package-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin:0 0 22px;padding:22px 24px;border:1px solid var(--portal-line);border-radius:20px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:0 12px 34px rgba(15,23,42,.055)}
.account-package-summary.no-package{border-color:#ead4dc;background:linear-gradient(135deg,#fffafb,#fff)}
.package-summary-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#0b1424;color:#fff;font-size:22px;font-weight:900}.no-package .package-summary-icon{background:#a30033}
.account-package-summary small{color:#a30033;font-size:10px;font-weight:900}.account-package-summary h2{margin:3px 0 5px;color:#111827;font-size:21px}.account-package-summary p{margin:0;color:#64748b;font-size:11px;line-height:1.75}
.package-summary-allowances{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.package-summary-allowances span{padding:7px 10px;border-radius:9px;background:#edf2f7;color:#475569;font-size:9px;font-weight:800}.package-summary-allowances b{color:#111827;font-size:11px}
.package-summary-actions{display:flex;gap:8px}.package-summary-actions a,.package-summary-actions button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border:1px solid #dce3eb;border-radius:11px;background:#fff;color:#243044;font:inherit;font-size:10px;font-weight:900;text-decoration:none;cursor:pointer}.package-summary-actions .primary{border-color:#a30033;background:#a30033;color:#fff}.package-summary-actions a:hover,.package-summary-actions button:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(15,23,42,.09)}
.portal-dashboard .action-center,.portal-dashboard .partner-workflow,.portal-dashboard .account-report,.portal-dashboard .partner-report,.portal-dashboard .dealer-hub,.portal-dashboard .decision-workspace,.portal-dashboard .public-inventory,.portal-dashboard .portal-activity{border:1px solid var(--portal-line)!important;border-radius:22px!important;background:var(--portal-surface)!important;box-shadow:var(--portal-shadow)}
.portal-dashboard .action-center,.portal-dashboard .partner-workflow,.portal-dashboard .account-report,.portal-dashboard .partner-report,.portal-dashboard .dealer-hub,.portal-dashboard .decision-workspace,.portal-dashboard .public-inventory{margin-bottom:22px!important}
.portal-dashboard .action-center>header,.portal-dashboard .partner-workflow>header,.portal-dashboard .account-report>header,.portal-dashboard .partner-report>header,.portal-dashboard .dealer-hub>header,.portal-dashboard .decision-workspace>header,.portal-dashboard .public-inventory>header{padding-bottom:15px;border-bottom:1px solid #edf1f5}
.portal-dashboard .action-center>header h2,.portal-dashboard .partner-workflow>header h2,.portal-dashboard .account-report>header h2,.portal-dashboard .partner-report>header h2,.portal-dashboard .dealer-hub>header h2,.portal-dashboard .decision-workspace>header h2,.portal-dashboard .public-inventory>header h2{font-size:22px!important}
.portal-dashboard .action-center-count{min-width:74px;border-radius:15px;background:linear-gradient(145deg,#111d32,#07101e)}
.portal-dashboard .action-center-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.portal-dashboard .action-center-list>button{grid-template-columns:40px minmax(0,1fr);align-content:center;min-height:91px;border-radius:14px}
.portal-dashboard .action-center-list>button>strong{grid-column:2}
.portal-dashboard .workflow-grid>button,.portal-dashboard .report-grid>button,.portal-dashboard .partner-report>div>button,.portal-dashboard .dealer-metrics>button{border-color:#e4e9ef!important;border-radius:15px!important;background:#f8fafc!important}
.portal-dashboard .workflow-grid>button:hover,.portal-dashboard .report-grid>button:hover,.portal-dashboard .partner-report>div>button:hover,.portal-dashboard .dealer-metrics>button:hover{background:#fff!important}
.portal-dashboard .account-shortcuts{grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 22px}
.portal-dashboard .account-shortcuts a{min-height:78px;border-radius:15px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.portal-dashboard .public-inventory{padding:24px!important}
.portal-dashboard .portal-activity{padding:24px;margin:28px 0 50px}
.portal-dashboard .activity-head,.portal-dashboard .section-head{margin:0 0 15px;padding-bottom:17px;border-bottom:1px solid #edf1f5}
.portal-dashboard .request-tabs{top:74px;padding:6px;border:1px solid #dfe5ec;background:#f0f3f7}
.portal-dashboard .request-tabs button{min-height:42px}
.portal-dashboard .request-card{border-radius:17px!important;box-shadow:0 7px 24px rgba(15,23,42,.035)}
.portal-dashboard .request-card:hover{border-color:#d4a1b0;box-shadow:0 13px 34px rgba(15,23,42,.075)}
.portal-dashboard .request-tools{margin-bottom:15px;padding:15px!important;border:1px solid #e1e7ee;border-radius:16px;background:#f6f8fa!important}
.portal-dashboard .request-tools input,.portal-dashboard .request-tools select{min-height:45px;border-radius:11px!important;background:#fff}
.portal-dashboard .empty{border-radius:16px;background:#fbfcfd}
.portal-dashboard .reputation-badge{border-radius:14px!important}
body[data-portal-role="dealer"] .portal-avatar{background:linear-gradient(145deg,var(--ui-accent,#a30033),#730024)}
body[data-portal-role="finance"] .portal-avatar{background:linear-gradient(145deg,#12647c,#083749)}
body[data-portal-role="insurance"] .portal-avatar{background:linear-gradient(145deg,#17664a,#083d2b)}
body[data-portal-role="inspection"] .portal-avatar{background:linear-gradient(145deg,#73501c,#432d0e)}
body[data-portal-role="garage"] .portal-avatar{background:linear-gradient(145deg,#5c456f,#342540)}
body[data-portal-role="expert"] .portal-avatar{background:linear-gradient(145deg,#4358a8,#202f6b)}
@media(max-width:1100px){.portal-kpis{grid-template-columns:repeat(3,1fr)!important}.portal-dashboard .action-center-list{grid-template-columns:1fr 1fr}.portal-dashboard .account-shortcuts{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.portal-dashboard{width:min(100% - 24px,1500px)}.portal-hero{align-items:flex-start!important;flex-direction:column;min-height:0;padding:26px 22px 48px!important}.portal-hero,.portal-hero-side{width:100%;text-align:right}.portal-hero-side{justify-items:start;max-width:none}.portal-section-nav{justify-content:flex-start;margin-top:-22px}.portal-section-heading{align-items:flex-start;flex-direction:column;gap:3px}.portal-kpis{grid-template-columns:1fr 1fr!important}.portal-kpis>button,.portal-kpis>article{min-height:112px}.portal-dashboard .action-center-list{grid-template-columns:1fr}.portal-dashboard .account-shortcuts{grid-template-columns:1fr 1fr}.portal-dashboard .portal-activity{padding:17px}.portal-dashboard .public-inventory{padding:17px!important}}
@media(max-width:760px){.account-package-summary{grid-template-columns:auto minmax(0,1fr)}.package-summary-actions{grid-column:1/-1}.package-summary-actions>*{flex:1}}
@media(max-width:520px){.portal-dashboard{width:min(100% - 18px,1500px)}.portal-identity{align-items:flex-start}.portal-avatar{width:52px;height:52px;border-radius:15px;font-size:21px}.portal-hero .page-heading{font-size:25px}.portal-head-actions{width:100%}.portal-head-actions>*{flex:1}.portal-section-nav{max-width:calc(100% - 12px)}.portal-kpis{gap:7px!important}.portal-kpis>button,.portal-kpis>article{min-height:105px;padding:15px!important}.portal-kpis b{font-size:27px!important}.portal-dashboard .account-shortcuts{grid-template-columns:1fr}.portal-dashboard .request-tabs{top:65px}.portal-dashboard .request-tools{grid-template-columns:1fr!important}.portal-dashboard .request-tools>b{grid-column:auto!important}}
@media(max-width:520px){.account-package-summary{grid-template-columns:1fr;padding:18px}.package-summary-actions{grid-column:auto;flex-direction:column}.package-summary-actions>*{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.portal-dashboard *{transition:none!important}}

/* Subscription and service balance center */
.portal-dashboard .account-package-summary{display:block;scroll-margin-top:86px;margin:0 0 28px;padding:0;border-color:#d9e1ea;border-radius:24px;background:#fff;overflow:hidden}
.portal-dashboard .account-package-summary.no-package{border-color:#ead4dc;background:#fff}
.package-overview-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;background:linear-gradient(135deg,#0b1424,#152642);color:#fff}
.no-package .package-overview-head{background:linear-gradient(135deg,#fff7f9,#fff);color:#111827}
.package-overview-head>div:first-child{min-width:0}.package-overview-head small{display:block;color:#ff9bb1!important;font-size:11px!important;font-weight:900}.no-package .package-overview-head small{color:#a30033!important}
.package-overview-head h2{margin:5px 0!important;color:inherit!important;font-size:clamp(22px,2.4vw,31px)!important}.package-overview-head p{margin:0!important;color:#bdc9d8!important;font-size:11px!important}.no-package .package-overview-head p{color:#66758a!important}
.package-title-row{display:flex;align-items:center;gap:10px}.package-title-row>span{padding:6px 9px;border-radius:999px;background:#dcfce7;color:#166534;font-size:9px;font-weight:900}.package-title-row>span.inactive{background:#eef2f6;color:#64748b}
.package-overview-head .package-summary-actions{flex:none}.package-overview-head .package-summary-actions a,.package-overview-head .package-summary-actions button{border-color:#ffffff24;background:#ffffff12;color:#fff}.package-overview-head .package-summary-actions .primary{border-color:var(--ui-accent,#a30033);background:var(--ui-accent,#a30033);color:#fff}.no-package .package-summary-actions a,.no-package .package-summary-actions button{border-color:#dbe2ea;background:#fff;color:#243044}.no-package .package-summary-actions .primary{border-color:#a30033;background:#a30033;color:#fff}
.package-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px}.package-balance-grid.single-balance{grid-template-columns:minmax(0,1.7fr) minmax(250px,.8fr)}
.package-allowance{min-width:0;padding:17px;border:1px solid #e1e7ee;border-radius:17px;background:#f8fafc}.package-allowance>header{display:flex;align-items:center;gap:11px}.package-allowance>header>i{width:39px;height:39px;display:grid;flex:none;place-items:center;border-radius:11px;background:#f6e8ed;color:#a30033;font-size:15px;font-style:normal;font-weight:900}.package-allowance>header>span{min-width:0}.package-allowance small{display:block;color:#64748b!important;font-size:9px!important}.package-allowance strong{display:block;margin-top:2px;color:#111827;font-size:22px}.package-allowance strong em{color:#7b8798;font-size:9px;font-style:normal}.allowance-track{height:7px;margin:15px 0 7px;border-radius:99px;background:#dfe5ec;overflow:hidden}.allowance-track>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a30033,var(--ui-accent,#a30033))}.package-allowance>footer{display:flex;justify-content:space-between;gap:12px;color:#68768a;font-size:9px}.package-allowance>footer b{color:#a30033}.package-allowance>p{margin:11px 0 0;color:#7b8798;font-size:9px;line-height:1.6}
.package-features{display:flex;align-items:flex-start;gap:18px;padding:0 18px 18px}.package-features>b{flex:none;color:#172033;font-size:10px}.package-features>div{display:flex;flex-wrap:wrap;gap:6px}.package-features span{padding:6px 9px;border-radius:8px;background:#eef2f6;color:#526178;font-size:9px;font-weight:800}
.package-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px}.package-suggestions article{position:relative;display:grid;gap:4px;padding:16px;border:1px solid #e1e7ee;border-radius:15px;background:#f8fafc}.package-suggestions article.recommended{border-color:#c98298;background:#fff7fa}.package-suggestions small{color:#a30033;font-size:9px;font-weight:900}.package-suggestions b{font-size:15px}.package-suggestions span{color:#111827;font-size:13px;font-weight:900}.package-suggestions p{margin:3px 0 0;color:#718096;font-size:9px;line-height:1.6}
.package-usage-note{display:flex;flex-direction:column;justify-content:center;padding:20px;border-radius:17px;background:#0b1424;color:#fff}.package-usage-note small{color:#ff9bb1!important;font-size:9px!important}.package-usage-note b{margin:6px 0;font-size:18px}.package-usage-note p{margin:0;color:#bdc9d8!important;font-size:10px!important;line-height:1.7}
@media(max-width:900px){.package-overview-head{align-items:flex-start;flex-direction:column}.package-overview-head .package-summary-actions{width:100%}.package-overview-head .package-summary-actions>*{flex:1}.package-balance-grid{grid-template-columns:1fr}.package-balance-grid.single-balance{grid-template-columns:1fr 1fr}.package-suggestions{grid-template-columns:1fr}}
@media(max-width:560px){.package-overview-head{padding:20px 17px}.package-overview-head .package-summary-actions{align-items:stretch;flex-direction:column}.package-balance-grid,.package-suggestions{padding:12px}.package-balance-grid.single-balance{grid-template-columns:1fr}.package-features{align-items:stretch;flex-direction:column;gap:8px;padding:0 12px 15px}.package-title-row{align-items:flex-start;flex-direction:column;gap:4px}}

/* Account actions use one button style and leave the section navigation in flow. */
#dashboard>.portal-section-nav{position:relative;top:auto;width:100%;max-width:100%;margin:0 0 22px;padding:7px;box-shadow:0 8px 25px rgba(15,23,42,.05);backdrop-filter:none}
#dashboard>.portal-section-nav a{flex:1;text-align:center}
#dashboard .account-action-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 15px;border:1px solid #d6dee8;border-radius:11px;background:#fff;color:#243044;font:inherit;font-size:11px;font-weight:800;line-height:1.6;text-decoration:none;white-space:normal}
#dashboard .account-action-button:visited{color:#243044}
#dashboard .account-action-button:hover{border-color:#ba6f87;background:#fff7fa;color:#a30033}
#dashboard .account-action-button:focus-visible,#dashboard .package-allowance-action:focus-visible{outline:3px solid #c77f98;outline-offset:3px}
#dashboard .interactive-allowance{position:relative;display:flex;flex-direction:column;transition:box-shadow .18s,border-color .18s}
#dashboard .interactive-allowance:hover,#dashboard .interactive-allowance:focus-within{border-color:#c9869c;box-shadow:0 10px 28px rgba(163,0,51,.09)}
#dashboard .package-allowance-action{display:inline-flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;padding:14px 0 0;border:0;background:transparent;color:#a30033;font:inherit;font-size:11px;font-weight:900;line-height:1.6;text-decoration:none;text-align:start;cursor:pointer}
#dashboard .package-allowance-action:after{content:"";position:absolute;inset:0;border-radius:17px}
#dashboard .interactive-allowance>p{padding-bottom:10px}
#dashboard .package-service-balances{border-top:1px solid #edf1f5}
#dashboard .package-service-balances>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 18px 0}
#dashboard .package-service-balances h3{margin:3px 0 5px;font-size:18px}
#dashboard .account-health-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px;padding:16px;border:1px solid #ead7df;border-radius:13px;background:#fff9fb}
#dashboard .account-health-notice>div{display:grid;gap:4px;min-width:0}
#dashboard .account-health-notice b{color:#820029;font-size:13px}
#dashboard .account-health-notice>div>span{color:#64748b;font-size:11px;line-height:1.7}
#dashboard .account-health-notice .account-action-button{flex:none}
#dashboard button.action-center-count{border:0;font:inherit;cursor:pointer}
#dashboard button.action-center-count:hover,#dashboard button.action-center-count:focus-visible{outline:3px solid #c77f98;outline-offset:3px}
#dashboard .action-center-list>[hidden]{display:none!important}
#dashboard .activity-filter-status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:14px;border-radius:12px;background:#f8edf1;color:#820029;font-size:12px}
#dashboard .activity-filter-status[hidden]{display:none}
#dashboard .activity-filter-status button{padding:8px 12px;border:1px solid #dec2cd;border-radius:9px;background:#fff;color:#820029;font:inherit;font-size:11px;cursor:pointer}
#dashboard .portal-kpis>button[aria-pressed=true]{border-color:var(--ui-accent,#a30033)!important;background:#fff7fa!important}
@media(max-width:760px){#dashboard>.portal-section-nav{justify-content:flex-start}#dashboard>.portal-section-nav a{flex:none}#dashboard .package-service-balances>header,#dashboard .account-health-notice{align-items:stretch;flex-direction:column}#dashboard .activity-filter-status{align-items:flex-start;flex-direction:column}}

/* Account navigation stays visible; request types no longer form a scrolling strip. */
#dashboard>.portal-section-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;overflow:visible;gap:6px}
#dashboard>.portal-section-nav a{min-width:0;white-space:normal;display:flex;align-items:center;justify-content:center;margin:0;text-align:center;line-height:1.5}
body:has(>.motors-site-header) #dashboard #request-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;position:static;top:auto;overflow:visible;white-space:normal;padding:14px;background:#f6f8fa}
#dashboard #request-tabs>label{display:grid;gap:6px;min-width:0;color:var(--ui-muted,#536379)}
#dashboard #request-tabs select{width:100%}
@media(max-width:760px){body:has(>.motors-site-header) #dashboard>.portal-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}body:has(>.motors-site-header) #dashboard>.portal-section-nav a{min-width:0;white-space:normal;padding:10px 7px}}
@media(max-width:359px){body:has(>.motors-site-header) #dashboard>.portal-section-nav{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(>.motors-site-header) #dashboard #request-tabs{grid-template-columns:minmax(0,1fr)}}

/* Task-focused website workspaces: one view at a time, with existing forms intact. */
.portal-workspace{--portal-accent:var(--ui-accent,#a30033);max-width:1240px}
.portal-workspace [hidden]{display:none!important}
.portal-workspace .portal-hero{min-height:0;padding:24px!important;border-radius:20px!important;margin-bottom:20px;box-shadow:none}
.portal-workspace .portal-hero .page-heading{font-size:clamp(24px,2.6vw,32px)!important;line-height:1.5}
.portal-workspace .portal-avatar{width:52px;height:52px;border-radius:14px}
.portal-workspace .portal-hero-side>p{display:none}
.portal-workspace .portal-head-actions{flex-wrap:wrap}
.portal-workspace .portal-workspace-nav{position:sticky;top:8px;width:100%;max-width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 24px;padding:6px;border-radius:14px;box-shadow:0 4px 18px #15203308;overflow:visible}
.portal-workspace-nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:9px 6px;font-size:14px;white-space:normal;text-align:center}
.portal-workspace-nav a[aria-current]{background:var(--ui-accent,#a30033);color:#fff}
.portal-workspace .portal-view{min-width:0;scroll-margin-top:80px;outline:none}
.portal-workspace .portal-view>h2{font-size:22px;margin:8px 0 16px}
.portal-workspace .portal-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-bottom:20px!important}
.portal-workspace .portal-kpis>button{min-height:100px;padding:16px!important;box-shadow:none}
.portal-workspace .portal-kpis small{font-size:13px!important}.portal-workspace .portal-kpis b{font-size:26px!important}.portal-workspace .portal-kpis span{font-size:12px!important}
.portal-workspace .portal-section-heading p,.portal-workspace .portal-section-heading small{display:none}
.portal-workspace .portal-section-heading h2{font-size:21px}
.portal-route-grid,.portal-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.portal-route-grid>a,.portal-route-grid>button,.portal-quick-actions>a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid var(--portal-line);border-radius:12px;background:white;color:var(--portal-ink);font:inherit;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}
.portal-route-grid>a:hover,.portal-quick-actions>a:hover{border-color:var(--ui-accent,#a30033);color:var(--ui-accent,#a30033)}
.portal-quick-actions .primary{background:var(--ui-accent,#a30033);border-color:var(--ui-accent,#a30033);color:#fff}
.portal-workspace .action-center,.portal-workspace .deal-inbox-panel{box-shadow:none!important;padding:20px;margin:0 0 20px;border-radius:18px}
.portal-workspace .action-center>header p,.portal-workspace .action-center>footer>span{display:none}
.portal-workspace .action-center-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-workspace .action-center-list>button{min-height:80px}
.portal-workspace .portal-activity{padding:20px;margin:0 0 24px;box-shadow:none!important}
.portal-workspace .request-tabs{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px;overflow:visible}
.portal-workspace .request-tabs label{min-width:0;font-size:13px}.portal-workspace .request-tabs select{width:100%;min-width:0}
.portal-workspace .requests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px}
.portal-workspace .request-card{min-width:0;padding:18px;box-shadow:none!important}
.portal-workspace .request-card .request-facts,.portal-workspace .request-card .request-details,.portal-workspace .request-card .partner-details,.portal-workspace .request-card .relationship,.portal-workspace .request-card .score,.portal-workspace .request-card .request-progress>span,.portal-workspace .request-card .request-progress>div{display:none}
.portal-workspace .request-card .request-progress p{margin:8px 0 0;font-size:13px}
.portal-workspace .request-card .request-top,.portal-workspace .request-card .request-main{align-items:start;gap:12px}
.portal-workspace .request-card .request-top{flex-wrap:wrap}
.portal-workspace .request-card h3{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.portal-workspace .request-card .request-footer{border-top:0;margin-top:12px;padding-top:0}
.portal-workspace .request-card .request-actions{display:flex;flex-wrap:wrap;gap:8px}
.portal-workspace .request-card .request-actions>a,.portal-workspace .request-card .request-actions>button{min-height:40px;font-size:13px}
.portal-workspace .request-card .request-actions>a[href^="tel:"]{display:none}
.portal-workspace .request-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
.portal-workspace .request-tools>b{grid-column:1/-1;font-size:12px}
.portal-workspace .deal-inbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-workspace .deal-inbox-card p,.portal-workspace .deal-inbox-card small{display:none}.portal-workspace .deal-inbox-card h3{font-size:17px}.portal-workspace .deal-inbox-card strong{font-size:13px}
.portal-workspace :is(a,button,summary):focus-visible{outline:3px solid #b77b8d;outline-offset:3px}
@media(max-width:760px){
 .portal-workspace .portal-hero{padding:20px!important;gap:16px}.portal-workspace .portal-hero-side{width:auto}.portal-workspace .portal-head-actions>a{padding:0 16px!important}
 .portal-workspace .portal-workspace-nav{grid-template-columns:repeat(3,minmax(0,1fr));top:4px;gap:4px;margin-bottom:18px}.portal-workspace-nav a{font-size:13px;min-height:44px}
 .portal-workspace .portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .portal-workspace .requests,.portal-workspace .deal-inbox-grid,.portal-workspace .action-center-list{grid-template-columns:1fr}
 .portal-workspace .request-tools{grid-template-columns:1fr}.portal-workspace .portal-activity,.portal-workspace .action-center{padding:16px}
 .portal-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-route-grid>*{min-width:0;text-align:center;overflow-wrap:anywhere}
 .portal-quick-actions>a{flex:1;min-width:90px;padding:10px;font-size:13px}.portal-workspace .request-tabs{gap:8px}
}

#dashboard.portal-workspace>.portal-workspace-nav{grid-template-columns:repeat(5,minmax(0,1fr))}#dashboard.portal-workspace .action-center{margin-top:0}#dashboard.portal-workspace .action-center-list{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard.portal-workspace .portal-section-heading{margin-top:20px;margin-bottom:14px}#dashboard.portal-workspace .portal-kpis{margin-top:0}#dashboard.portal-workspace .portal-view>.portal-route-grid:empty{display:none}@media(max-width:760px){#dashboard.portal-workspace>.portal-workspace-nav{grid-template-columns:repeat(3,minmax(0,1fr))}#dashboard.portal-workspace .action-center-list{grid-template-columns:1fr}}

#dashboard.portal-workspace .request-card .progress-steps,#dashboard.portal-workspace .request-card .request-progress>span,#dashboard.portal-workspace .request-card .request-progress>div{display:none!important}#dashboard.portal-workspace .request-card .request-bottom{padding-top:10px;margin-top:10px}#dashboard.portal-workspace .request-card .request-progress{width:100%;flex:1}#dashboard.portal-workspace .request-card .request-progress p{margin:0;line-height:1.7;font-size:13px}#dashboard.portal-workspace .requests{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard.portal-workspace .action-center>footer{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}#dashboard.portal-workspace .action-center>footer a{color:var(--ui-accent,#a30033);font-weight:700;text-decoration:none}@media(max-width:760px){#dashboard.portal-workspace .requests{grid-template-columns:1fr}#dashboard.portal-workspace .request-kind{min-width:0}#dashboard.portal-workspace .request-kind h3{font-size:16px}#dashboard.portal-workspace .request-top{gap:8px}}

.portal-more-alerts{margin-top:12px}.portal-more-alerts summary{cursor:pointer;font-weight:700;color:var(--portal-accent);padding:12px 0}.portal-more-alerts .action-center-list{margin-top:8px}

#dashboard.portal-workspace .portal-hero{padding:22px!important}#dashboard.portal-workspace #welcome,#dashboard.portal-workspace #organization-name{font-size:30px!important;line-height:1.5!important;margin:4px 0!important}#dashboard.portal-workspace #portal-view-profile :is(#customer-meta,#partner-meta){color:var(--portal-ink);line-height:1.8;overflow-wrap:anywhere;font-size:15px}#dashboard.portal-workspace .portal-secondary-section{padding:18px;border:1px solid var(--portal-line);border-radius:16px;background:#fff;margin:18px 0}#dashboard.portal-workspace .portal-secondary-section>summary{font-size:16px;font-weight:700;cursor:pointer;color:var(--portal-ink);min-height:28px}#dashboard.portal-workspace .portal-secondary-section .decision-workspace{margin-top:18px;box-shadow:none}#dashboard.portal-workspace #account-shortcuts{position:static;box-shadow:none;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0}#dashboard.portal-workspace #account-shortcuts a{font-size:14px;min-height:48px}@media(max-width:760px){#dashboard.portal-workspace .portal-hero{padding:16px!important;gap:12px}#dashboard.portal-workspace #welcome,#dashboard.portal-workspace #organization-name{font-size:22px!important}#dashboard.portal-workspace .portal-avatar{width:42px;height:42px;flex:0 0 42px}#dashboard.portal-workspace .portal-identity{gap:12px}#dashboard.portal-workspace .portal-head-actions{justify-content:flex-start}#dashboard.portal-workspace .portal-head-actions>*{flex:0 1 auto!important;min-width:120px}#dashboard.portal-workspace #account-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.portal-financial-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:24px;border:1px solid #e2e7ed;border-radius:18px;background:#fff}.portal-financial-entry h2{margin:0 0 8px;font-size:22px}.portal-financial-entry p{margin:0;color:#64748b;line-height:1.7}.portal-financial-entry a{padding:12px 20px;background:#a30033;color:white!important;border-radius:11px;text-decoration:none;font-weight:750;white-space:nowrap}@media(max-width:700px){.portal-financial-entry{align-items:stretch;flex-direction:column}.portal-financial-entry a{text-align:center}}

/* One stable six-section menu; no floating bar or repeated quick actions. */
#dashboard.portal-workspace>.portal-workspace-nav{position:static;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:8px;margin:0 0 24px;border:1px solid var(--portal-line);border-radius:16px;box-shadow:none;transform:none}
#dashboard.portal-workspace>.portal-workspace-nav>a{min-width:0;min-height:48px;border-radius:10px;font-size:14px;line-height:1.5;font-weight:700;text-decoration:none!important;color:var(--portal-ink);background:transparent;border:0}
#dashboard.portal-workspace>.portal-workspace-nav>a[aria-current="page"]{background:var(--ui-accent,#a30033);color:#fff!important;text-decoration:none!important}
#dashboard.portal-workspace>.portal-workspace-nav>a:focus-visible{outline:2px solid var(--ui-accent,#a30033);outline-offset:2px}
#dashboard.portal-workspace #portal-view-profile>#customer-meta{padding:18px;background:#fff;border:1px solid var(--portal-line);border-radius:14px;margin-bottom:18px}
#dashboard.portal-workspace #portal-view-profile>#account-report[hidden],#dashboard.portal-workspace #account-shortcuts[hidden],#dashboard.portal-workspace #decision-workspace[hidden]{display:none!important}
#dashboard.portal-workspace .portal-secondary-section>.portal-route-grid{margin:16px 0 0}
@media(max-width:760px){#dashboard.portal-workspace>.portal-workspace-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px}#dashboard.portal-workspace>.portal-workspace-nav>a{font-size:13px;min-height:46px}}
@media(max-width:760px){#dashboard[data-portal-workspace="customer"].portal-workspace #welcome{font-size:22px!important;line-height:1.5!important}#dashboard[data-portal-workspace="customer"].portal-workspace .portal-hero{padding:16px!important}#dashboard[data-portal-workspace="customer"] .portal-identity>div{min-width:0}}

.portal-kpis>button{cursor:pointer}.portal-kpis>button:focus-visible{outline:2px solid #a30033;outline-offset:3px}

.account-request-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px}.account-request-nav button{min-height:48px;padding:10px;border:1px solid #ded5d9;border-radius:12px;background:white;color:#a30033;font:inherit;cursor:pointer}.account-request-nav button[aria-pressed=true]{background:#a30033;color:white}.account-request-nav~[hidden]{display:none!important}#account-business-hours{margin-top:20px}
@layer motors-identity{.account-request-nav button[aria-pressed=true]{color:#fff!important;background:var(--ui-accent,#a30033)!important}}
