/* Portal uses the same quiet sand/copper foundations without the staff rail. */
:root{--ink:#302824;--muted:#6D625B;--accent:#A24F37;--accent-strong:#874A3A;--soft:#EAE0D4;--canvas:#F7F4EF;--surface:#FFF;--line:#DFD5CC;--success:#26724F;--success-bg:#E7F3EB;--amber:#805600;--amber-bg:#FFF3D9;--shadow:0 6px 30px #3028240A;background:#ECE7E0}
:root[data-theme=dark]{--ink:#F7F0EA;--muted:#C9BAB0;--accent:#E2A18B;--accent-strong:#B3654B;--soft:#49352D;--canvas:#251E1A;--surface:#302722;--line:#51433A;--shadow:0 6px 30px #0002;background:#1D1815}
body{background:none;font-size:15px}.buyer-shell{position:relative;padding-left:72px;background:var(--canvas);border-radius:32px;max-width:none}.buyer-shell::before{content:'';position:absolute;inset:45px auto 45px 0;width:72px;background:linear-gradient(150deg,#874A3A,#A24F37);clip-path:path('M0 0 C0 35 72 25 72 70 L72 780 C72 825 0 800 0 850 Z');pointer-events:none}
.buyer-header{max-width:none;height:76px;padding:0 32px;margin:0}.buyer-wordmark{width:135px}.buyer-area-label{display:none}.buyer-header-actions .icon-button{width:44px;height:44px}#logout{min-height:44px;font-size:14px}.buyer-footer{max-width:none;margin:0 32px;color:var(--muted)}
#portal{max-width:none;padding:0 32px 32px}.buyer-tabs{width:100%;max-width:none;display:flex;gap:24px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0 0 24px;padding:0 8px;box-shadow:none}.buyer-tabs button{padding:16px 4px;min-height:56px;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:15px;font-weight:500;position:relative}.buyer-tabs button.active{background:transparent;color:var(--accent);box-shadow:none}.buyer-tabs button.active::after{position:absolute;content:'';height:3px;border-radius:3px;background:var(--accent);bottom:-1px;inset-inline:0}.buyer-tabs button>.icon{display:none}.buyer-tabs button b{background:var(--soft);color:var(--accent);border-radius:50%;font-size:11px;min-width:20px;height:20px}
.heading{margin:24px 0}.heading h1{font-size:28px;font-weight:600;letter-spacing:-.7px}.heading p{font-size:15px}.heading .eyebrow{display:none}.buyer-welcome-avatar{display:none}
.buyer-panel,.buyer-next,.purchase-hero{border-radius:24px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.buyer-panel{padding:24px}.section-heading h2{font-size:24px;font-weight:600;letter-spacing:-.5px}.section-heading p{font-size:15px;line-height:1.5}.section-heading .eyebrow{display:none}.button{min-height:44px;border-radius:12px;font-size:14px;font-weight:500}.button.primary{background:var(--accent);color:#fff;box-shadow:none}.button.secondary{background:var(--soft);border-color:transparent;color:var(--ink)}
.copper-purchase-context{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:24px;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px;margin-bottom:28px;align-items:center;box-shadow:var(--shadow)}.copper-purchase-photo{aspect-ratio:1.5;border-radius:16px;background:var(--soft);overflow:hidden;display:grid;place-items:center}.copper-purchase-photo img{width:100%;height:100%;object-fit:cover}.copper-purchase-photo>.icon{width:50px;height:50px;color:var(--accent)}.copper-purchase-progress h2{font-size:20px;font-weight:600;letter-spacing:-.3px}.copper-purchase-progress>p{font-size:13px;margin:5px 0 18px}.copper-purchase-progress ol{list-style:none;display:flex;margin:0;padding:0;gap:8px}.copper-purchase-progress li{position:relative;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-size:12px;min-width:0}.copper-purchase-progress li::before{content:'';height:1px;background:var(--line);position:absolute;left:26px;right:0;top:11px}.copper-purchase-progress li:last-child::before{display:none}.copper-purchase-progress li i{height:22px;width:22px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-style:normal;color:var(--accent);background:var(--surface)}.copper-purchase-progress li.done i{background:var(--accent);color:white;border-color:var(--accent)}.copper-purchase-progress strong{font-size:12px;font-weight:500}.copper-purchase-progress li>span{font-size:11px;color:var(--muted)}.copper-purchase-due{display:flex;gap:12px;padding-left:24px;border-left:1px solid var(--line);align-items:center}.copper-purchase-due>.icon{width:28px;height:28px;color:var(--accent)}.copper-purchase-due>div{display:flex;flex-direction:column;gap:5px}.copper-purchase-due small{font-size:12px;color:var(--muted)}.copper-purchase-due strong{font-size:17px;font-weight:500}
.documents-panel{padding:24px}.documents-list{display:flex;flex-direction:column;gap:0}.document{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:24px 0;gap:20px}.document:first-child{border-top:1px solid var(--line)}.document-symbol{background:var(--canvas);border-radius:14px;color:var(--ink)}.document h3{font-size:17px;font-weight:600}.document-note{font-size:14px;max-width:54ch}.document-actions{min-width:200px;max-width:260px}.document-actions .button{min-height:44px;font-size:14px}.document-actions small{font-size:12px}.document-help{font-size:13px}.status{font-size:12px}.plans-list{gap:24px}.plan-card,.ticket{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px}.plan-top h3,.ticket>header h3{font-size:17px;font-weight:600}.ticket-message p{font-size:15px}.ticket-message strong,.ticket-message time{font-size:12px}.ticket-message.from-buyer{background:var(--soft)}.buyer-empty h3{font-size:20px;font-weight:600}.buyer-empty p{font-size:15px}.buyer-empty>span{background:var(--soft);color:var(--accent)}
.purchase-summary h2{font-size:28px!important;font-weight:600}.purchase-summary h3{font-size:20px!important;font-weight:600}.purchase-summary>p{font-size:15px}.buyer-next h2{font-size:24px;font-weight:600}.stages li.active{background:var(--soft);border-color:var(--accent)}.stages li.active>span{background:var(--accent)}
.login-intro h1{font-size:38px;font-weight:600;letter-spacing:-1px}.login-intro>p{font-size:17px}.buyer-login{border:1px solid var(--line);border-radius:28px}.buyer-login h2{font-size:28px;font-weight:600}.login-art .art-halo{background:var(--soft)}.login-symbol,.art-car,.art-key,.art-check{color:var(--accent);background:var(--soft)}.field{font-size:14px}.field input,.field textarea{font-size:16px;border-radius:12px;background:var(--canvas);border-color:var(--line);min-height:44px}dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:0 24px 80px #30282433}dialog h2{font-size:24px;font-weight:600;letter-spacing:-.5px}dialog p{font-size:15px}dialog .field{font-size:14px}dialog .dialog-close{width:44px;height:44px}dialog::backdrop{background:#30282466;backdrop-filter:blur(8px)}
@media(max-width:1100px){.copper-purchase-context{grid-template-columns:140px minmax(0,1fr)}.copper-purchase-due{grid-column:2;border-left:0;padding:0}.copper-purchase-progress h2{font-size:18px}.buyer-shell{padding-left:44px}.buyer-shell::before{width:44px}.buyer-header{padding-inline:24px}#portal{padding-inline:24px}.buyer-tabs{gap:20px}}
@media(max-width:760px){body{padding:8px}.buyer-shell{padding-left:0;border-radius:28px}.buyer-shell::before{display:none}.buyer-header{height:72px;padding:0 16px}#portal{padding:0 16px 24px}.buyer-header .buyer-wordmark{width:120px}.buyer-header #theme{height:44px;width:44px}.buyer-header #theme>.icon{height:22px;width:22px}.buyer-header #logout{min-height:44px;font-size:12px}.heading h1{font-size:26px}.heading p{font-size:15px}.buyer-tabs{position:fixed;inset:auto 8px 8px;z-index:20;width:auto;padding:8px 4px max(12px,env(safe-area-inset-bottom));gap:2px;justify-content:space-around;border:1px solid #fff5;border-radius:0 0 24px 24px;background:linear-gradient(140deg,#874A3Af5,#A24F37f5);box-shadow:0 -5px 20px #30282410;backdrop-filter:blur(20px)}.buyer-tabs::before{background:#874A3A}.buyer-tabs::after{background:#A24F37}.buyer-tabs button{min-height:58px;padding:8px 4px;border-radius:16px;max-width:84px;font-size:11px;color:white;gap:4px}.buyer-tabs button>span{font-size:10px}.buyer-tabs button>.icon{display:block;width:24px;height:24px}.buyer-tabs button.active{background:var(--surface);color:var(--accent)}.buyer-tabs button.active::after{display:none}.buyer-tabs button b{right:0;top:0;background:white;color:var(--accent)}.copper-purchase-context{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:16px;margin:12px 0 24px;border-radius:20px}.copper-purchase-photo{align-self:start;aspect-ratio:1.2}.copper-purchase-progress{display:contents}.copper-purchase-progress h2{font-size:17px;align-self:start;grid-column:2;grid-row:1}.copper-purchase-progress>p{grid-column:1/-1;margin:0;font-size:12px}.copper-purchase-progress ol{grid-column:1/-1;overflow-x:auto;gap:10px;padding-top:8px}.copper-purchase-progress li{min-width:76px;flex:1}.copper-purchase-progress strong{font-size:11px}.copper-purchase-progress li>span{font-size:10px}.copper-purchase-due{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}.copper-purchase-due>div{flex-direction:row;justify-content:space-between;flex:1;align-items:center}.copper-purchase-due strong{font-size:15px}.copper-purchase-due small{font-size:12px}.buyer-panel{padding:20px 16px}.section-heading h2{font-size:22px}.section-heading p{font-size:14px}.document{padding:20px 0;gap:12px}.document h3{font-size:16px}.document-note{font-size:13px}.document-actions{min-width:0;max-width:none}.document-actions .button{min-height:44px;font-size:14px}.document-actions small,.document-help{font-size:12px}.document .status{font-size:11px}.purchase-summary h2{font-size:24px!important}.check-row>strong{font-size:13px}.check-row>.status{font-size:11px;max-width:100%}.ticket-message p{font-size:14px}.ticket-message strong{font-size:12px}.ticket-message time{font-size:11px}.ticket-actions .button{font-size:13px;min-height:44px}.plan-top h3{font-size:17px}.plan-dates dt,.plan-conditions p,.maintenance-note p{font-size:13px}.plan-dates dd{font-size:15px}.plan-conditions summary{font-size:14px}.buyer-empty p{font-size:14px}.buyer-footer{margin-inline:16px;padding-bottom:110px;font-size:12px}.is-login .buyer-shell::before{display:none}.login-intro h1{font-size:30px}.buyer-login h2{font-size:26px}.buyer-login>p,.login-help p{font-size:14px}.field{font-size:14px}.login-help strong{font-size:14px}.is-login #portal{padding:16px 16px 32px}.login-layout{margin-top:8px}dialog{padding:24px 20px}dialog h2{font-size:24px}dialog p{font-size:14px}}
@media(prefers-reduced-transparency:reduce){.buyer-tabs{backdrop-filter:none}dialog::backdrop{backdrop-filter:none;background:#302824A6}}

@media(max-width:760px){.copper-purchase-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:16px 12px}.copper-purchase-progress li{min-width:0}.copper-purchase-progress li:nth-child(3)::before{display:none}.copper-purchase-progress li>span{font-size:11px;overflow-wrap:anywhere}}

/* Access and recovery states remain readable without an active purchase. */
.copper-buyer-no-sale,.buyer-load-error{max-width:640px;margin:10vh auto 14vh;padding:44px 36px;text-align:center;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.copper-buyer-no-sale>.eyebrow{color:var(--muted);font-size:11px;letter-spacing:1px}.copper-buyer-no-sale .buyer-empty{padding:12px 0}.buyer-load-error>.icon{width:58px;height:58px;padding:14px;background:var(--soft);border-radius:20px;color:var(--accent)}.buyer-load-error h1{font-size:28px;font-weight:600;letter-spacing:-.7px;max-width:390px}.buyer-load-error>p{max-width:410px;font-size:15px;line-height:1.6}.buyer-load-error>.button{padding-inline:28px}.copper-dialog-help{margin-top:18px;padding:14px 16px;border-radius:12px;background:var(--canvas);color:var(--muted);font-size:13px}.plans-list{grid-template-columns:1fr}.plan-card{display:grid;grid-template-columns:1fr 1fr;gap:20px 32px}.plan-top{grid-column:1/-1}.plan-dates{margin:0}.plan-conditions{margin:0}.maintenance-note{grid-column:1/-1}.plans-panel>.text-button{margin-top:24px}
@media(max-width:760px){.copper-buyer-no-sale,.buyer-load-error{margin:32px auto 48px;padding:28px 20px;min-height:320px}.buyer-load-error h1{font-size:26px}.plan-card{display:block}.plan-dates,.plan-conditions,.maintenance-note{margin-top:20px}}

/* Purchase overview: car, independent progress, and the buyer's next action. */
.copper-buyer-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 250px;gap:26px;align-items:center;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:24px;margin-bottom:20px}.copper-buyer-hero-photo{height:248px;overflow:hidden;border-radius:16px;background:var(--soft);display:grid;place-items:center}.copper-buyer-hero-photo img{width:100%;height:100%;object-fit:cover}.copper-buyer-hero-photo>.icon{width:80px;height:80px;color:var(--accent)}.copper-buyer-hero-summary h2{font-size:24px;letter-spacing:-.5px;font-weight:600}.copper-buyer-hero-summary>p{font-size:14px;margin:12px 0 28px}.copper-buyer-hero-summary>small{font-size:13px}.copper-buyer-current{display:flex;gap:15px;padding:18px;background:var(--canvas);border-radius:16px;margin-top:10px;align-items:center}.copper-buyer-current>.icon{width:48px;height:48px;flex:none;padding:12px;color:white;background:var(--accent);border-radius:50%}.copper-buyer-current h3{font-size:18px;font-weight:600}.copper-buyer-current p{font-size:13px;line-height:1.5;margin-top:5px}.copper-buyer-delivery{background:var(--canvas);padding:24px;border-radius:18px;display:flex;flex-direction:column;gap:12px}.copper-buyer-delivery>.icon{height:28px;width:28px;color:var(--accent)}.copper-buyer-delivery small{font-size:13px}.copper-buyer-delivery strong{font-size:22px;font-weight:600}.copper-buyer-delivery p{font-size:13px;line-height:1.5;margin-top:10px}.copper-buyer-stages{margin-bottom:20px}.copper-buyer-stages ol{display:flex;list-style:none;gap:16px;margin:25px 0 6px;padding:0}.copper-buyer-stages li{flex:1;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;position:relative;min-width:0}.copper-buyer-stages li:before{position:absolute;content:'';height:2px;background:var(--line);top:23px;left:calc(50% + 25px);right:calc(-50% + 9px)}.copper-buyer-stages li:last-child:before{display:none}.copper-buyer-stages li>span:first-child{width:46px;height:46px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;border:3px solid var(--surface);outline:1px solid var(--line)}.copper-buyer-stages li.done>span:first-child{background:var(--success);color:white}.copper-buyer-stages li h3{font-size:15px;font-weight:600}.copper-buyer-stages .status{font-size:12px}.copper-buyer-next h2{font-size:22px;font-weight:600;margin-bottom:14px}.copper-buyer-next>div{display:flex;align-items:center;gap:18px;background:var(--canvas);padding:18px;border-radius:16px}.copper-buyer-next>div>.icon{width:44px;height:44px;padding:10px;background:var(--soft);border-radius:50%;color:var(--accent)}.copper-buyer-next>div>div{flex:1}.copper-buyer-next h3{font-size:17px;font-weight:600}.copper-buyer-next p{font-size:14px;line-height:1.5;margin-top:6px}.copper-support-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:24px;align-items:start}.copper-buyer-support>.section-heading{margin:28px 0}.copper-buyer-support>.section-heading h2{font-size:28px}.copper-support-context .copper-purchase-context{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;padding:24px}.copper-support-context .copper-purchase-progress{display:contents}.copper-support-context .copper-purchase-progress h2{font-size:18px;grid-column:2;grid-row:1}.copper-support-context .copper-purchase-progress>p{grid-column:1/-1;margin:0}.copper-support-context .copper-purchase-progress>ol{grid-column:1/-1;border-top:1px solid var(--line);padding-top:24px;margin-top:8px}.copper-support-context .copper-purchase-due{grid-column:1/-1;border:0;border-top:1px solid var(--line);padding:18px 0 0}.copper-support-tickets>.buyer-empty{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:50px 25px}.ticket{padding:24px}.copper-buyer-support .ticket>header{margin-bottom:24px}.copper-buyer-support .ticket-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:1100px){.copper-buyer-hero{grid-template-columns:1fr 1fr}.copper-buyer-delivery{grid-column:1/-1;display:grid;grid-template-columns:32px 1fr auto;align-items:center;padding:18px}.copper-buyer-delivery p{grid-column:2/-1;margin:0}.copper-support-layout{grid-template-columns:1fr}.copper-support-context{order:2}.copper-buyer-hero-photo{height:230px}}
@media(max-width:760px){.copper-buyer-hero{grid-template-columns:1fr;gap:18px;padding:16px}.copper-buyer-hero-photo{height:190px}.copper-buyer-hero-summary h2{font-size:22px}.copper-buyer-hero-summary>p{margin:8px 0 16px}.copper-buyer-current h3{font-size:17px}.copper-buyer-delivery{grid-template-columns:26px minmax(0,1fr);gap:10px}.copper-buyer-delivery strong{grid-column:2;font-size:20px}.copper-buyer-delivery p{grid-column:1/-1}.copper-buyer-stages ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.copper-buyer-stages li:before{display:none}.copper-buyer-stages li h3{font-size:14px}.copper-buyer-stages .status{font-size:11px;white-space:normal;text-align:center}.copper-buyer-next>div{flex-wrap:wrap;padding:16px}.copper-buyer-next>div>div{min-width:160px}.copper-buyer-next>div>.button{width:100%;white-space:normal}.copper-buyer-support>.section-heading{display:flex;flex-direction:column;gap:16px;align-items:flex-start}.copper-buyer-support>.section-heading h2{font-size:26px}.copper-support-context .copper-purchase-context{padding:16px}.copper-support-context .copper-purchase-progress>ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.copper-support-layout{grid-template-columns:minmax(0,1fr)}}

/* PC-001…015 final comparison with the approved buyer concepts. */
.buyer-shell{min-height:calc(100dvh - 32px)}.buyer-header{height:86px}.buyer-header #buyer-avatar{display:flex;align-items:center;gap:12px;width:auto;background:none;font-size:16px;color:var(--ink)}.buyer-header #buyer-avatar>.icon{width:40px;height:40px;background:var(--soft);border-radius:50%;padding:10px}.buyer-header #logout{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);border-radius:0;background:none;padding-left:24px}.buyer-header #logout .icon{width:20px;height:20px}.buyer-header [hidden]{display:none!important}.heading h1{font-size:30px}.heading p{font-size:16px}.section-heading h2{font-size:28px}.section-heading p{font-size:16px}.buyer-tabs button{font-size:16px;padding:18px 8px}.buyer-tabs{gap:28px}.buyer-panel,.copper-buyer-hero,.copper-purchase-context{box-shadow:0 5px 20px #30282405;border-color:color-mix(in srgb,var(--line) 55%,transparent)}
.copper-buyer-hero{grid-template-columns:minmax(290px,1.05fr) minmax(0,1fr) 245px;gap:26px}.copper-buyer-hero-photo{height:258px}.copper-buyer-hero-photo img,.copper-purchase-photo img{object-fit:contain}.copper-buyer-hero-photo,.copper-purchase-photo{background:var(--canvas)}.copper-buyer-hero-summary h2{font-size:25px}.copper-buyer-current p{font-size:14px}.copper-buyer-stages ol{margin-top:22px}.copper-buyer-stages li.current>span:first-child{background:var(--accent);color:white;outline:2px solid var(--accent);outline-offset:2px}.copper-buyer-stages li>p{font-size:13px;line-height:1.5;max-width:19ch;margin:0;color:var(--muted)}.copper-buyer-next h2{font-size:24px}
.buyer-empty{min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.buyer-empty>img{width:200px;height:190px;object-fit:contain;margin:0 0 8px}.buyer-empty h3{font-size:25px;line-height:1.25;margin:0}.buyer-empty p{font-size:16px;line-height:1.5;max-width:58ch;margin:0}.documents-panel:has(.buyer-empty){padding:24px}.copper-support-tickets>.buyer-empty{min-height:420px;padding:36px 25px}.copper-support-tickets>.buyer-empty>img{width:220px;height:210px}
.accounts-buyer-plans .plan-card{display:block;padding:24px;border-radius:20px}.accounts-plan-header{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:16px;align-items:center}.accounts-plan-header>.plan-icon{width:48px;height:48px;border-radius:14px}.accounts-plan-header h3{font-size:19px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.accounts-plan-header p{font-size:14px;color:var(--muted);margin-top:6px}.accounts-plan-header .plan-dates{display:flex;gap:26px}.accounts-plan-header .plan-dates>div{display:grid;grid-template-columns:22px 1fr;gap:5px 10px;padding-left:20px;border-left:1px solid var(--line)}.accounts-plan-header .plan-dates .icon{grid-row:1/3;width:21px;height:21px;align-self:center;color:var(--accent)}.accounts-plan-header dt{font-size:12px}.accounts-plan-header dd{font-size:15px;font-weight:500;margin:0}.accounts-buyer-plans .plan-conditions{margin-top:24px;padding:18px;background:var(--canvas);border:0;border-radius:14px}.accounts-buyer-plans .plan-conditions summary{font-size:16px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none}.accounts-conditions-toggle{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:500;color:var(--accent)}.accounts-buyer-plans details[open] .accounts-conditions-toggle>.icon{transform:rotate(180deg)}.accounts-buyer-plans .plan-conditions p{font-size:14px;line-height:1.6;margin:12px 0}.accounts-plan-note{display:flex;gap:14px;padding:16px;background:var(--soft);border-radius:10px;font-size:13px;line-height:1.6;color:var(--muted)}.accounts-plan-note>.icon{width:24px;height:24px;flex:none;color:var(--accent)}.accounts-buyer-plans .maintenance-note{margin-top:16px}.accounts-buyer-plans .copper-buyer-helpbar{margin-top:20px}.accounts-buyer-plans .copper-buyer-helpbar h3{font-size:18px}.accounts-buyer-plans .copper-buyer-helpbar p{font-size:14px}
.copper-support-layout{grid-template-columns:minmax(0,1.25fr) minmax(350px,1fr);gap:24px}.copper-support-context{display:flex;flex-direction:column;gap:20px}.accounts-support-car h2,.accounts-support-progress h2{font-size:22px;font-weight:600;margin:0 0 20px}.accounts-support-car>div{display:flex;gap:20px;align-items:center}.accounts-support-car img{width:42%;height:135px;object-fit:contain;border-radius:14px;background:var(--canvas)}.accounts-support-car h3{font-size:18px;line-height:1.4}.accounts-support-car p{font-size:13px;margin-top:10px}.accounts-support-progress .copper-purchase-progress{display:block}.accounts-support-progress .copper-purchase-progress ol{border:0;padding:0;margin:0;gap:4px}.accounts-support-progress .copper-purchase-progress li{min-width:0;gap:8px}.accounts-support-progress .copper-purchase-progress li>strong{font-size:13px}.accounts-support-progress .copper-purchase-progress li>span{font-size:12px;line-height:1.4}.copper-purchase-progress li.current i{background:var(--accent);border:3px solid var(--surface);outline:2px solid var(--accent)}
.ticket{padding:24px}.ticket>header h3{font-size:21px}.ticket>header>div{flex:1}.accounts-message-row{display:flex;gap:14px;margin:16px 0;align-items:flex-start}.accounts-message-avatar{display:grid;place-items:center;width:44px;height:44px;background:var(--soft);border-radius:50%;font-size:15px;color:var(--accent);flex:none}.accounts-message-avatar>.icon{width:23px;height:23px}.accounts-message-row .ticket-message{flex:1;max-width:none;width:auto;align-self:stretch;border:0;background:none;padding:0;border-radius:0}.accounts-message-row .ticket-message>div{justify-content:flex-start;gap:18px}.accounts-message-row .ticket-message p{padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-top:10px;font-size:16px;line-height:1.5}.accounts-message-row.from-buyer .ticket-message p{background:var(--soft);border-color:transparent}.accounts-message-row .ticket-message strong,.accounts-message-row .ticket-message time{font-size:13px}.ticket-actions{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.ticket-actions>[data-reply]{order:3}.ticket-actions>.upload-button{order:1}.ticket-actions>small{order:2;max-width:170px;font-size:12px;line-height:1.45}.ticket-actions>.upload-status{grid-column:1/-1;order:4}
#dialog{width:min(590px,calc(100vw - 32px));padding:32px}.buyer-dialog-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.buyer-dialog-actions>.button{flex:1}#dialog h2{padding-right:28px;font-size:25px}#dialog-content>p{margin-top:8px;font-size:15px}#dialog .field{font-size:15px}#dialog textarea{min-height:145px;background:var(--surface)}#dialog input{background:var(--surface)}.form-error:not(:empty)::before{content:'!';display:inline-grid;place-items:center;flex:none;width:19px;height:19px;font-weight:700;border-radius:50%;background:#b54240;color:#fff}.form-error:not(:empty){display:flex;align-items:center;gap:10px;line-height:1.5;font-size:14px}.accounts-logout-error{text-align:center}.accounts-logout-error .dialog-symbol{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 20px;background:#f8e9e4;border-radius:50%;color:#a24f37}.accounts-logout-error h2{padding:0!important}.accounts-logout-error>p{margin-top:10px}.accounts-logout-error .copper-dialog-help{text-align:left;margin:24px 0 20px}.document>.upload-status[data-kind=network]{grid-column:1/-1;display:flex;gap:12px;align-items:flex-start;background:#fff0f0;border:0;border-radius:12px;padding:16px;font-size:14px;color:#a6354d}.document>.upload-status[data-kind=network]>.icon{width:22px;height:22px;flex:none}.document>.upload-status[data-kind=network] small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.copper-document-file strong{overflow-wrap:anywhere}
@media(max-width:1100px){.copper-buyer-hero{grid-template-columns:1fr 1fr}.accounts-plan-header{grid-template-columns:50px minmax(0,1fr)}.accounts-plan-header .plan-dates{grid-column:2}.copper-support-layout{grid-template-columns:1fr}.accounts-support-car img{max-width:200px}.accounts-support-progress .copper-purchase-progress ol{display:flex}}
@media(max-width:760px){.buyer-shell{min-height:calc(100dvh - 16px)}.buyer-header{height:76px}.buyer-header #buyer-avatar{display:none}.buyer-header #logout{padding-left:12px}.buyer-tabs{gap:2px}.buyer-tabs button{font-size:11px;padding:8px 4px}.copper-buyer-hero{grid-template-columns:1fr}.copper-buyer-hero-photo{height:200px}.copper-buyer-hero-summary h2{font-size:22px}.buyer-empty{min-height:320px}.buyer-empty>img{width:160px;height:155px}.buyer-empty h3{font-size:22px}.buyer-empty p{font-size:14px}.copper-support-tickets>.buyer-empty{min-height:350px;padding:28px 16px}.copper-support-tickets>.buyer-empty>img{width:180px;height:170px}.copper-buyer-stages li>p{font-size:12px}.accounts-plan-header{grid-template-columns:42px minmax(0,1fr);gap:12px}.accounts-plan-header h3{font-size:17px}.accounts-plan-header .plan-dates{grid-column:1/-1;gap:16px;margin-top:12px}.accounts-plan-header .plan-dates>div{padding-left:0;border:0}.accounts-buyer-plans .plan-card{padding:18px 16px}.accounts-buyer-plans .plan-conditions summary{align-items:flex-start;font-size:15px}.accounts-conditions-toggle{font-size:12px}.accounts-buyer-plans .plan-conditions{padding:14px}.accounts-support-car h2,.accounts-support-progress h2{font-size:20px}.accounts-support-car>div{gap:14px}.accounts-support-car img{height:100px}.accounts-support-car h3{font-size:16px}.accounts-support-progress .copper-purchase-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}.ticket{padding:18px 16px}.ticket>header h3{font-size:20px}.accounts-message-row{gap:10px}.accounts-message-avatar{width:34px;height:34px;font-size:12px}.accounts-message-row .ticket-message p{font-size:14px;padding:12px}.accounts-message-row .ticket-message>div{gap:10px;flex-wrap:wrap}.accounts-message-row .ticket-message time{font-size:11px}.ticket-actions{grid-template-columns:1fr;gap:12px}.ticket-actions>.upload-button,.ticket-actions>small,.ticket-actions>[data-reply]{order:initial;width:100%;max-width:none}.ticket-actions>small{text-align:center}.ticket-actions>.upload-status{grid-column:1}.section-heading h2{font-size:25px}.section-heading p{font-size:15px}#dialog{padding:28px 20px}#dialog h2{font-size:24px}.buyer-dialog-actions{gap:10px}.buyer-dialog-actions>.button{padding-inline:10px}}

.document>.upload-status[data-kind=network]{width:100%;max-width:none}

/* The buyer portal shares the full-viewport shell; internal reading spacing remains. */
html:has(.buyer-shell) {background:var(--canvas)}
body:has(.buyer-shell) {padding:0;background:var(--canvas)}
body .buyer-shell {min-height:100dvh;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
