/* Hallmark · genre: modern-minimal · macrostructure: Task Workbench · design-system: DESIGN.md · designed-as-app
 * Shared account layer; existing Studio tokens, no public-profile changes.
 * Pre-emit critique: P4 H4 E4 S5 R5 V4 · mobile and role journeys verified; system consistency intentional. */
.account-mode{background:var(--color-paper);font-family:var(--font-body)}
.account-mode>.site-header,.account-mode>.portal-header,.account-mode>.footer,.account-mode>.portal-footer{display:none}
.account-mode #main.shell,.account-mode #main{width:100%;max-width:none;padding:0;margin:0;min-height:100svh}
.account-frame{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100svh}
.account-rail{position:sticky;top:0;height:100svh;overflow:auto;background:var(--color-surface);border-right:1px solid var(--color-rule);display:flex;flex-direction:column;padding:var(--space-lg) var(--space-md);gap:var(--space-lg);min-width:0}
.account-brand{display:flex;align-items:center;gap:var(--space-sm);min-height:44px;color:var(--color-ink);text-decoration:none;font-weight:750;font-size:1.15rem;white-space:nowrap}
.account-mark{display:grid;grid-template-columns:repeat(2,8px);gap:3px;transform:rotate(-8deg)}.account-mark i{width:8px;height:10px;background:var(--color-accent);border-radius:2px}.account-mark i:last-child{opacity:.5}
.account-identity{padding-block:var(--space-sm);border-bottom:1px solid var(--color-rule)}.account-identity span{display:block;font-size:var(--text-xs);color:var(--color-muted);margin-bottom:var(--space-sm)}.account-identity strong{display:block;font-size:var(--text-sm);overflow-wrap:anywhere;margin-bottom:var(--space-md)}
.account-nav{display:grid;gap:var(--space-xs)}.account-nav a{display:flex;gap:var(--space-sm);align-items:center;min-height:48px;padding:var(--space-sm);border-radius:var(--radius-sm);text-decoration:none;font-size:.84rem;font-weight:550;color:var(--color-muted);white-space:nowrap}.account-nav svg{flex:none}.account-nav a[aria-current=page]{color:var(--color-accent);background:var(--color-paper-2);font-weight:700}
.account-utilities{margin-top:auto;border-top:1px solid var(--color-rule);padding-top:var(--space-sm)}.account-user summary,.directory-return{display:flex;align-items:center;min-height:44px;font-size:var(--text-xs);font-weight:600;color:var(--color-muted);cursor:pointer;white-space:nowrap}.account-user summary:after{content:'+';margin-left:auto}.account-user[open] summary:after{content:'−'}.account-user p{font-size:var(--text-xs);overflow-wrap:anywhere}.account-user>a{display:block;min-height:44px;padding:var(--space-sm) 0;font-size:var(--text-xs)}.account-signout{display:flex;gap:var(--space-sm);align-items:center;min-height:44px;background:var(--color-transparent);color:var(--color-ink);border:0;padding:var(--space-sm) 0;font-size:var(--text-sm);font-weight:500;cursor:pointer}
.account-content{padding:var(--space-xl);min-width:0;max-width:1540px;width:100%;margin-inline:auto}.account-content h1,.account-content h2,.account-content h3{font-family:var(--font-body);font-style:normal;letter-spacing:-.025em;line-height:1.25}.account-content h1{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:700;margin:0 0 var(--space-sm)}.account-content h2{font-size:var(--text-xl);font-weight:650}.account-content h3{font-size:var(--text-md)}.account-page-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin:0 0 var(--space-lg)}.account-page-head p{margin:0;color:var(--color-muted);font-size:var(--text-sm)}.account-page-head .context-label{font-size:var(--text-xs);margin-bottom:var(--space-sm)}.context-label{font-size:var(--text-xs);color:var(--color-muted);text-transform:none;letter-spacing:0;font-weight:500}.account-page-head .actions{flex-shrink:0}.account-page-head button{gap:var(--space-sm)}
.account-mode #notice{position:fixed;z-index:120;top:var(--space-md);right:var(--space-md);left:auto;max-width:min(560px,calc(100% - 32px));margin:0;padding:var(--space-md);border:1px solid var(--color-accent);border-radius:var(--radius-sm);background:var(--color-surface);box-shadow:0 4px 24px color-mix(in oklch,var(--color-ink) 10%,transparent);font-size:var(--text-sm);pointer-events:none}.account-mode #notice a{pointer-events:auto}.account-mode #notice[data-tone=error],.account-mode #notice[data-error=true]{border-color:var(--color-error);color:var(--color-error)}
.account-content :is(button,a.button){min-height:44px}.account-mode :is(input,select,textarea){background:var(--color-surface)}.account-mode :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}.account-mode :is(button,a.button):active{transform:translateY(1px)}.account-mode :is(button,input,select,textarea):disabled{opacity:.55;cursor:not-allowed}.account-mode [aria-busy=true]{cursor:progress}.account-mode [aria-busy=true] .account-content{opacity:.7}.account-mode [aria-invalid=true]{border-color:var(--color-error)}
/* Profile: area navigation separated from draft/publication actions. */
.profile-nav{display:grid;gap:2px}.profile-nav>p{font-size:var(--text-xs);color:var(--color-muted);margin:0 0 var(--space-sm)}.profile-nav button{display:block;text-align:left;min-height:44px;padding:var(--space-sm) var(--space-md);background:var(--color-transparent);border:0;border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--color-muted);font-weight:500;white-space:nowrap}.profile-nav button[aria-current=page]{background:var(--color-paper-2);color:var(--color-accent);font-weight:700}.profile-mobile-select{display:none}
.profile-savebar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);padding:var(--space-md) 0;background:var(--color-paper);border-block:1px solid var(--color-rule);margin-bottom:var(--space-lg)}.profile-savebar .save-state{padding:0;font-size:var(--text-xs);max-width:210px}.profile-savebar .actions{display:flex;gap:var(--space-sm);flex-wrap:wrap}.profile-savebar .button{font-size:.82rem;padding:var(--space-sm) var(--space-md)}
.profile-workspace{max-width:860px}.profile-workspace #editor-section{padding:var(--space-lg);background:var(--color-surface);border:1px solid var(--color-rule);border-radius:var(--radius-md)}.profile-workspace .section-intro{margin-bottom:var(--space-lg)}.profile-workspace .section-intro h2{font-size:var(--text-xl);margin-bottom:var(--space-sm)}.profile-workspace .section-intro p{font-size:var(--text-sm);margin:0;max-width:65ch}.profile-context{padding:var(--space-md) 0;color:var(--color-muted);font-size:var(--text-xs)}.profile-context p{margin:0 0 var(--space-xs)}.profile-field-group{border-top:1px solid var(--color-rule);margin:0}.profile-field-group>summary{padding:var(--space-md) 0;min-height:52px;cursor:pointer;font-weight:650;font-size:var(--text-sm)}.profile-field-group .form-grid{display:block;max-width:620px;padding-bottom:var(--space-sm)}.profile-field-group .overview-choice{border:0;padding:0}.profile-field-group .overview-choice legend{font-size:var(--text-sm);padding:0;margin-bottom:var(--space-sm)}.profile-field-group .check{min-height:44px;margin:0;font-size:var(--text-sm);align-items:center}.profile-field-group .hint{margin-top:var(--space-sm)}.profile-workspace .readonly-note{margin:0;font-size:var(--text-xs)}
.profile-workspace .service-fieldset{padding:var(--space-md);border-color:var(--color-rule);margin-bottom:var(--space-lg);border-radius:var(--radius-sm)}.service-choice .check{margin-bottom:0;align-items:center;min-height:48px}.profile-workspace .service-choice{padding:var(--space-xs) 0}.service-description{margin-left:32px}.service-description>summary{font-size:var(--text-xs);min-height:44px;padding:var(--space-sm) 0;cursor:pointer;color:var(--color-accent)}.profile-workspace .service-description textarea{margin-top:var(--space-sm)}.profile-workspace .manufacturer-options{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-workspace .manufacturer-option{padding:var(--space-sm);min-height:48px;font-size:var(--text-sm)}.profile-workspace .manufacturer-tabs{gap:var(--space-sm)}.profile-workspace .manufacturer-tabs button{font-size:var(--text-xs);padding:var(--space-sm)}
.project-editor{padding:0;margin-bottom:var(--space-md)}.project-editor>summary{padding:var(--space-md);cursor:pointer;min-height:60px;font-size:var(--text-sm);font-weight:650}.project-editor>summary span{overflow-wrap:anywhere}.project-editor>summary small{display:block;font-weight:400;padding-left:var(--space-md)}.project-fields{padding:var(--space-md)}.project-fields .field{margin-bottom:var(--space-md)}.publish-dialog{font-family:var(--font-body);max-width:520px;padding:var(--space-lg);border-color:var(--color-rule)}.publish-dialog h2{font:650 var(--text-xl)/1.3 var(--font-body);letter-spacing:-.02em;margin-bottom:var(--space-md)}.publish-dialog p{font-size:var(--text-sm)}.dialog-close{display:block;margin-left:auto}.publish-summary{display:grid;gap:var(--space-sm);font-size:var(--text-sm);border-block:1px solid var(--color-rule);padding-block:var(--space-md)}.publish-summary>div{display:flex;justify-content:space-between;gap:var(--space-md)}.publish-summary dd{margin:0}.publish-error{color:var(--color-error)}.publish-dialog .actions{display:flex;flex-wrap:wrap;gap:var(--space-sm)}
/* Inbox: compact searchable list and clear conversation context. */
.account-content>.workspace{gap:0;border:1px solid var(--color-rule);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:minmax(240px,300px) minmax(0,1fr);overflow:clip;align-items:stretch}.account-content .queue{border:0;border-right:1px solid var(--color-rule);border-radius:0;background:var(--color-surface)}.account-content .queue-tools{padding:var(--space-md);gap:var(--space-sm)}.queue-tools label{font-size:var(--text-xs)}.inbox-filters>summary{min-height:44px;display:flex;align-items:center;color:var(--color-accent);font-weight:600;font-size:var(--text-xs);cursor:pointer}.inbox-filters>summary:after{content:'+';margin-left:auto}.inbox-filters[open]>summary:after{content:'−'}.inbox-filters>label{margin-bottom:var(--space-md)}.account-content .thread-list{max-height:65svh;min-height:240px}.account-content .thread-link{padding:var(--space-md);font-size:var(--text-sm)}.account-content .thread-link strong{font-size:var(--text-sm)}.account-content .thread-link small{font-size:.74rem;margin:var(--space-xs) 0}.account-content .thread-detail{padding:var(--space-lg);min-height:640px}.account-content .detail-head{margin-bottom:var(--space-md);padding-bottom:var(--space-md)}.account-content .detail-head h2{font-size:var(--text-xl);margin-bottom:var(--space-xs)}.account-content .detail-head p{font-size:var(--text-xs);margin-bottom:var(--space-sm)}.account-content .thread-tabs{gap:var(--space-md);margin-bottom:var(--space-lg);flex-wrap:wrap;overflow:visible}.account-content .thread-tabs button{font-size:var(--text-xs);min-height:44px;padding:var(--space-sm) 0}.account-content .message-list{max-height:400px;min-height:120px;gap:var(--space-md);margin-bottom:var(--space-lg)}.account-content .message{padding:var(--space-md);border-radius:var(--radius-md);background:var(--color-paper);border:0;font-size:var(--text-sm);width:fit-content;max-width:92%}.account-content .message.mine{justify-self:end;margin:0;background:var(--color-paper-2)}.account-content .message .byline{font-size:.72rem}.account-content .compose textarea{min-height:100px;max-height:300px}.account-content .compose>label{font-size:var(--text-sm)}.account-content .compose button{font-size:.82rem;padding:var(--space-sm) var(--space-md)}.message-options>summary{font-size:var(--text-xs);min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--color-muted)}.message-options p{max-width:45ch;font-size:var(--text-xs);margin:var(--space-sm) 0}.account-content .empty{border:0;background:var(--color-transparent);padding:var(--space-xl) var(--space-md)}.account-content .inbox-help{font-size:var(--text-xs);margin:var(--space-md) 0 0}.account-content .facts{grid-template-columns:minmax(0,1fr)}.account-content .facts>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:var(--space-md)}.account-content .facts dd{font-size:var(--text-sm)}.account-content .facts dt{font-size:var(--text-xs)}
@media(hover:hover){.account-nav a:hover,.profile-nav button:hover,.account-user>a:hover{background:var(--color-paper-2)}.account-content .thread-link:hover{background:var(--color-paper)}.account-mode :is(input,textarea,select):not(:disabled):hover{background:var(--color-paper)}}
@media(max-width:1100px){.account-frame{grid-template-columns:204px minmax(0,1fr)}.account-content{padding:var(--space-lg)}.account-rail{padding:var(--space-md)}.account-nav a{font-size:.75rem;gap:var(--space-xs);padding:var(--space-sm) var(--space-xs)}.account-content>.workspace{grid-template-columns:minmax(220px,260px) minmax(0,1fr)}.account-page-head{align-items:flex-start;flex-wrap:wrap}.profile-savebar{flex-wrap:wrap;gap:var(--space-sm)}.profile-savebar .save-state{max-width:none}.account-content .thread-detail{padding:var(--space-md)}}
@media(max-width:850px){.account-frame{display:block}.account-rail{position:static;height:auto;overflow:visible;border-right:0;border-bottom:1px solid var(--color-rule);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-sm);padding:var(--space-sm) var(--space-md)}.account-brand{font-size:1rem}.account-identity{display:none}.account-nav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:var(--space-sm)}.account-nav a{font-size:.78rem;padding:var(--space-sm);min-height:44px;flex:1;justify-content:center}.account-nav svg{width:18px;height:18px}.account-utilities{grid-column:2;grid-row:1;border:0;margin:0;padding:0;position:relative}.account-user>summary{font-size:var(--text-xs);gap:var(--space-sm)}.account-user[open]{position:absolute;right:0;top:0;z-index:50;background:var(--color-surface);border:1px solid var(--color-rule);padding:var(--space-md);width:260px;box-shadow:0 8px 20px color-mix(in oklch,var(--color-ink) 10%,transparent)}.directory-return{display:none}.profile-nav{display:none}.profile-mobile-select{display:block;font-size:var(--text-xs);font-weight:600;margin-bottom:var(--space-md)}.profile-mobile-select select{width:100%;min-height:48px;margin-top:var(--space-sm);border:1px solid var(--color-input);border-radius:var(--radius-sm);padding:var(--space-sm);font-size:var(--text-sm)}.account-content{padding:var(--space-lg) var(--space-md)}.account-content>.workspace{grid-template-columns:minmax(0,1fr)}.account-content .queue{border-right:0}.account-content .thread-list{max-height:none}.account-content .thread-detail{min-height:0;padding:var(--space-md)}.account-content .thread-tabs{gap:var(--space-sm) var(--space-md)}.account-content .thread-tabs button{font-size:.78rem}.inbox-detail-open .account-rail,.inbox-detail-open .account-page-head,.inbox-detail-open .pending-requests{display:none}.inbox-detail-open .account-content{padding-top:var(--space-sm)}.account-content .mobile-back{margin-bottom:var(--space-md);font-size:var(--text-xs)}.account-content .message-list{max-height:50svh}.profile-savebar{top:0;padding:var(--space-sm) 0;margin-bottom:var(--space-md)}.profile-savebar .actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-savebar #save-draft{grid-column:1/-1}.profile-savebar .button{padding-inline:var(--space-sm);font-size:.8rem}.profile-workspace #editor-section{padding:var(--space-md)}.profile-workspace .manufacturer-options{grid-template-columns:repeat(2,minmax(0,1fr))}.account-content .facts>div{display:block}.account-content .facts dt{margin-bottom:var(--space-xs)}.account-mode #notice{top:auto;bottom:var(--space-md);font-size:var(--text-xs)}.account-page-head p{font-size:.82rem}.profile-context{font-size:var(--text-xs)}}
@media(max-width:380px){.account-nav a{font-size:.71rem;padding-inline:var(--space-xs);gap:var(--space-xs)}.account-nav svg{width:16px}.account-content .compose .actions{gap:var(--space-sm)}.account-content .compose .actions button{padding-inline:var(--space-sm);font-size:.77rem}.account-content h1{font-size:1.45rem}.profile-workspace .manufacturer-options{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.account-mode *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Shared header persists after authentication; the rail contains only work destinations. */
.account-mode>.site-header{display:block}
.account-mode #main.shell,.account-mode #main,.account-frame{min-height:calc(100svh - var(--site-header-height,76px))}
.account-rail{top:var(--site-header-height,76px);height:calc(100svh - var(--site-header-height,76px));gap:var(--space-md)}
.account-identity{padding-top:0}.profile-savebar{top:var(--site-header-height,76px)}
@media(max-width:850px){.account-rail{display:block;height:auto;position:static;padding:var(--space-sm) var(--space-md)}.account-nav{display:flex;gap:var(--space-xs)}.account-nav a{flex:1;min-width:0}.account-nav a span{white-space:nowrap}.profile-savebar{top:var(--site-header-height,68px)}.inbox-detail-open .account-rail{display:block}}
@media(max-width:850px){.account-nav a{flex:1 1 auto;min-width:min-content}.account-nav a span{white-space:normal;overflow-wrap:anywhere}.account-nav svg{flex:none}}

.account-message-summary,.message-badge{display:inline-block;color:var(--color-accent);font-size:.85rem;font-weight:700;line-height:1.4}.account-message-summary{padding:.7rem .9rem;margin:.75rem 0;background:var(--color-paper-2);border-radius:var(--radius-sm)}.message-badge{white-space:normal}.account-message-summary[hidden],.message-badge[hidden]{display:none}

/* 2026-11 UX pass: consistent form controls and touch targets, using existing tokens. */
.account-mode :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid var(--color-input);border-radius:var(--radius-sm);padding:12px;font:400 1rem/1.4 var(--font-body);color:var(--color-ink);margin-top:6px}
.account-mode label{line-height:1.45}.account-mode textarea{resize:vertical}.account-mode summary{cursor:pointer;min-height:44px}.account-mode input[type=file]{font:inherit;white-space:normal}.account-mode input[type=file]::file-selector-button{min-height:44px;font:inherit;border:1px solid var(--color-input);border-radius:var(--radius-sm);background:var(--color-paper);padding:8px 12px;margin:0 12px 8px 0;color:var(--color-ink)}
.account-mode :is(button,a,summary,input,textarea,select){scroll-margin-block:calc(var(--site-header-height,76px) + 110px) 32px}
@media(max-width:850px){.account-content{padding-bottom:calc(var(--space-xl) + env(safe-area-inset-bottom))}.account-message-summary{display:block;margin:8px 0 0;text-align:center}.account-nav a{font-size:.875rem}.account-mode .profile-contents{flex-wrap:nowrap;overflow-x:auto;gap:var(--space-lg);padding-block:8px}.profile-contents a{flex:none}.account-mode .profile-savebar{padding-block:8px}.account-mode .profile-page-section{scroll-margin-top:calc(var(--site-header-height,68px) + 120px)}}

/* Customer rail stays below the unchanged public header. */
.account-frame[data-account-role="customer"]{grid-template-columns:232px minmax(0,1fr)}
@media(min-width:851px) and (max-width:1100px){.account-frame[data-account-role="customer"]{grid-template-columns:204px minmax(0,1fr)}}
@media(max-width:850px){.account-frame[data-account-role="customer"]{display:block}.account-frame[data-account-role="customer"] .account-nav a{white-space:nowrap;flex:1}.account-frame[data-account-role="customer"] .account-nav a span{white-space:nowrap}}

/* Business workspace: logo in desktop rail, mobile modules in the header menu. */
.business-workspace .cart-navigation{display:none!important}
.business-workspace .account-brand{font-size:1rem;gap:10px;margin-bottom:20px;white-space:nowrap}
.business-workspace .account-brand .brandmark{width:26px;height:26px}
.nav-company-choice{display:grid;gap:8px;padding:12px 16px;font-size:.85rem}.nav-company-choice select{width:100%;min-height:44px}
@media(min-width:851px){.business-workspace>.site-header .nav>.brand{visibility:hidden}.business-workspace .account-rail{top:0;height:100svh;margin-top:calc(-1 * var(--site-header-height,76px));z-index:70;padding-top:24px}.business-workspace>.site-header .menu-toggle{display:none}}
@media(max-width:850px){.business-workspace .account-rail{display:none}.business-workspace>.site-header .brand{visibility:visible}}

.profile-page-section[hidden],.profile-step-actions [hidden]{display:none!important}
.profile-step-heading{margin:18px 0;scroll-margin-top:calc(var(--site-header-height,76px) + 12px)}
.profile-step-select{width:100%;display:flex;justify-content:space-between;align-items:center;min-height:56px;text-align:left;padding:12px 16px;background:var(--color-surface);color:var(--color-ink);border:1px solid var(--color-rule);border-radius:8px;font-weight:650}
.profile-step-heading progress{display:block;width:100%;height:4px;margin-top:8px;accent-color:var(--color-accent);border:0}
.profile-step-actions{position:sticky;bottom:0;z-index:25;display:flex;gap:12px;justify-content:space-between;padding:16px 0 calc(16px + env(safe-area-inset-bottom));background:var(--color-paper);border-top:1px solid var(--color-rule)}
.profile-step-actions .button{min-width:120px}.profile-step-dialog{width:min(480px,calc(100% - 24px));max-height:85svh;border:1px solid var(--color-rule);border-radius:16px;padding:24px;background:var(--color-surface);color:var(--color-ink)}
.profile-step-dialog::backdrop{background:#10261a66}.profile-step-dialog nav{display:grid;gap:8px;margin:20px 0}.profile-step-dialog nav button{display:flex;align-items:center;gap:16px;min-height:56px;text-align:left;color:var(--color-ink);background:var(--color-paper);border:1px solid transparent;border-radius:8px;padding:12px}
.profile-step-dialog nav button[aria-current]{border-color:var(--color-accent);font-weight:700}.profile-step-dialog nav button span{width:28px;height:28px;display:grid;place-items:center;background:var(--color-surface);border-radius:50%}.profile-savebar{position:static}
@media(max-width:600px){.profile-step-dialog{margin:auto 0 0;width:100%;max-width:none;border-radius:20px 20px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.profile-step-actions .button{flex:1;min-width:0}}

/* Hallmark · component: workspace navigation · theme: existing Studio
 * pre-emit critique: P5 H5 E4 S5 R5 V4 */
.account-nav>a,.account-profile-module>summary{display:flex;align-items:center;gap:var(--space-sm);min-height:48px;padding:var(--space-sm);border-radius:var(--radius-sm);font-size:.84rem;font-weight:550;line-height:1.4;color:var(--color-muted);white-space:nowrap;box-sizing:border-box}
.account-profile-module>summary{cursor:pointer;list-style:none;margin:0;border:0;background:transparent}
.account-profile-module>summary::-webkit-details-marker{display:none}.account-profile-module>summary::marker{content:''}.account-profile-module>summary::after{content:none}
.account-nav>a>svg,.account-profile-module>summary>svg{width:22px;height:22px;flex:none}
.account-profile-module[open]>summary{background:var(--color-paper-2);color:var(--color-accent);font-weight:700}
.account-profile-module nav{display:grid;margin:var(--space-xs) 0 var(--space-sm) 19px;border-left:1px solid var(--color-rule);padding-left:var(--space-sm)}.account-profile-module nav a{min-height:44px;font-size:.8rem;padding:var(--space-sm)}.account-profile-module nav a[aria-current=step]{font-weight:700;color:var(--color-accent);background:var(--color-paper-2)}
.account-profile-module>summary:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}
@media(hover:hover){.account-profile-module>summary:hover{background:var(--color-paper-2)}}
@media(min-width:851px) and (max-width:1100px){.account-nav>a,.account-profile-module>summary{font-size:.75rem;gap:var(--space-xs);padding:var(--space-sm) var(--space-xs)}}
@media(min-width:851px){.profile-step-select{display:none}.profile-step-heading progress{margin-top:0}}
@media(min-width:851px){.business-workspace .account-rail{z-index:111}}
.profile-page-section:focus{outline:none}

/* Profile completeness is separate from step navigation and publication status. */
.editor-strength{padding:var(--space-md);margin-bottom:var(--space-lg);border:1px solid var(--color-rule);border-radius:var(--radius-sm);background:var(--color-surface)}.editor-strength>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--space-sm);font-size:var(--text-sm)}.editor-strength span{color:var(--color-muted);font-size:var(--text-xs)}.editor-strength progress{display:block;width:100%;height:8px;accent-color:var(--color-accent);margin-top:var(--space-sm)}.editor-strength .text-button{font-size:var(--text-sm);padding-inline:0;min-height:44px}.editor-strength p{font-size:var(--text-sm);margin:var(--space-sm) 0 0;color:var(--color-accent)}

/* Company identity only; the logo returns to that company's cockpit. */
.business-workspace .account-brand{margin:0 0 var(--space-lg);padding:0;min-height:64px;white-space:normal}.account-brand img{display:block;width:100%;max-width:180px;height:64px;object-fit:contain;object-position:left center}.account-identity[hidden]{display:none}.business-company-logo{display:block;width:auto;max-width:min(180px,42vw);height:48px;object-fit:contain;object-position:left center}

/* 2026-11-19 · task-first workbench. Shared customer/business/administration geometry.
 * Hallmark · modern-minimal · existing forest identity · P5 H5 E4 S5 R5 V4 */
.account-mode { background:var(--color-workspace); color:var(--color-ink); }
.account-frame,.account-frame[data-account-role="customer"] { grid-template-columns:var(--workspace-rail-width) minmax(0,1fr); }
.account-rail { background:var(--color-surface); border-right-color:var(--color-rule-soft); padding:var(--space-lg) var(--space-md); }
.account-content { padding:var(--space-xl) var(--space-page) var(--space-2xl); max-width:1560px; }
.account-content h1 { font-size:var(--text-app-title); letter-spacing:-.035em; font-weight:650; }
.account-content h2 { letter-spacing:-.025em; font-weight:650; }
.account-page-head { align-items:flex-start; margin-bottom:var(--space-xl); }
.account-page-head p { max-width:64ch; line-height:1.6; }
.account-nav>a,.account-profile-module>summary { border:1px solid var(--color-transparent); padding:var(--space-control); gap:var(--space-control); font-size:var(--text-sm); font-weight:500; min-height:48px; border-radius:var(--radius-control); }
.account-nav>a[aria-current="page"],.account-profile-module[open]>summary { background:var(--color-selected); color:var(--color-accent); border-color:color-mix(in oklch,var(--color-accent) 12%,var(--color-surface)); font-weight:650; }
.account-nav>a>svg,.account-profile-module>summary>svg { width:20px; height:20px; }
.account-profile-module nav { border-left-color:var(--color-rule-soft); }
.business-workspace .account-brand { min-height:44px; padding:0 var(--space-sm); margin-bottom:var(--space-lg); }
.account-brand img { width:auto; max-width:160px; height:44px; }
.account-content :is(button,a.button) { border-radius:var(--radius-control); font-weight:600; }
.account-mode :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea) { border-color:var(--color-rule); border-radius:var(--radius-control); box-shadow:var(--shadow-control); }
.account-mode :is(input,select,textarea):focus-visible { border-color:var(--color-focus); outline:2px solid var(--color-focus); outline-offset:2px; }
.account-content label { font-weight:550; }
.account-content :is(.hint,.fine-print,.field-hint) { color:var(--color-muted); line-height:1.6; }
.account-mode dialog { border-color:var(--color-rule-soft); border-radius:var(--radius-panel); box-shadow:var(--shadow-floating); }
.account-mode dialog::backdrop { background:var(--color-backdrop); }
.account-content .empty { background:var(--color-surface); border:1px solid var(--color-rule-soft); border-radius:var(--radius-panel); padding:var(--space-2xl) var(--space-lg); }
.account-content .empty h2,.account-content .empty h3 { margin-top:0; }
.account-content .empty p { max-width:52ch; margin-inline:auto; }
.account-mode :is(button,a.button,summary) { transition:background-color var(--dur-fast),border-color var(--dur-fast),color var(--dur-fast); }
@media(hover:hover) { .account-nav>a:hover,.account-profile-module>summary:hover { background:var(--color-paper-2); color:var(--color-ink); } }
@media(min-width:851px) and (max-width:1100px) { :root { --workspace-rail-width:216px; } .account-nav>a,.account-profile-module>summary { padding-inline:var(--space-sm); font-size:.84rem; gap:var(--space-sm); } }
@media(max-width:850px) {
 .account-frame,.account-frame[data-account-role="customer"] { display:block; }
 .account-content { padding:var(--space-lg) var(--space-md) calc(var(--space-xl) + env(safe-area-inset-bottom)); }
 .account-page-head { gap:var(--space-md); margin-bottom:var(--space-lg); }
 .account-rail { padding:var(--space-sm) var(--space-md); border-right:0; border-bottom:1px solid var(--color-rule-soft); }
 .account-frame[data-account-role="customer"] .account-nav { gap:var(--space-sm); }
 .account-frame[data-account-role="customer"] .account-nav a { justify-content:center; padding-inline:var(--space-sm); }
 .account-content .empty { padding:var(--space-xl) var(--space-md); }
}
@media(prefers-reduced-motion:reduce) { .account-mode :is(button,a.button,summary) { transition:none; } }
