/* Native components adapted from shadcn login/sidebar composition. */
.header-account {font-size:13px;min-height:42px;padding:10px 12px;gap:8px;flex-shrink:0}
.header-account svg {flex-shrink:0}
.header-account span {font-size:13px}
.account-page {min-height:100svh;display:flex;flex-direction:column;--muted-foreground:oklch(.49 0 0)}
.account-header {gap:24px;position:relative}
.account-header-link {margin-left:auto;font-size:14px;display:flex;gap:12px;align-items:center;min-height:44px}
.account-header-request {font-size:14px}
.account-main {width:100%;max-width:1264px;margin:0 auto;padding:40px var(--gutter) 72px;flex:1}
.account-loading {padding:80px 0;text-align:center;font-size:14px;color:var(--muted-foreground)}
.account-auth {width:min(100%,440px);margin:24px auto 12px}
.account-auth-card {background:var(--card);border:1px solid var(--border);border-radius:12px;padding:30px;box-shadow:0 2px 8px #00000003}
.account-auth-brand {font-size:13px;font-weight:500;color:var(--muted-foreground);margin-bottom:24px}
.account-auth-tabs {display:flex;background:var(--muted);border-radius:8px;padding:4px;gap:4px;margin-bottom:28px}
.account-auth-tabs button {border:1px solid transparent;flex:1;background:transparent;font-size:14px;font-weight:500;padding:9px 10px;border-radius:5px;min-height:42px;color:var(--muted-foreground)}
.account-auth-tabs button[aria-selected=true] {background:var(--background);border-color:var(--border);box-shadow:0 1px 2px #00000006;color:var(--foreground)}
.account-auth-card h1 {font-size:26px;letter-spacing:-.035em;line-height:1.2;font-weight:600}
.account-muted {font-size:14px;line-height:1.6;color:var(--muted-foreground);margin-top:8px}
.account-public-note {font-size:13px;color:var(--muted-foreground);line-height:1.8;text-align:center;margin:22px 0 0}
.account-public-note a {color:var(--foreground);text-underline-offset:4px;display:inline-flex;align-items:center;gap:6px;min-height:36px}
.account-form {margin-top:26px}
.account-form label {display:block;font-size:14px;font-weight:500;line-height:1.5;margin-bottom:20px}
.account-form input {display:block;width:100%;min-width:0;background:var(--background);border:1px solid var(--input);border-radius:7px;min-height:46px;padding:11px 12px;margin-top:8px;font-size:15px;font-weight:400;outline:none;transition:box-shadow 160ms,border-color 160ms}
.account-form input:focus-visible {border-color:var(--ring);box-shadow:0 0 0 3px color-mix(in srgb,var(--ring) 35%,transparent)}
.account-form input::placeholder {color:var(--muted-foreground)}
.account-form input[aria-invalid=true] {border-color:var(--destructive)}
.account-field-hint {display:block;font-size:13px;font-weight:400;color:var(--muted-foreground);margin-top:7px;line-height:1.6}
.account-password-control {display:block;position:relative}
.account-password-control input {padding-right:91px}
.account-password-control button {position:absolute;top:1px;bottom:1px;right:1px;padding:0 12px;border:0;background:transparent;color:var(--muted-foreground);font-size:12px;font-weight:500;border-radius:6px}
.account-submit {width:100%;min-height:46px;font-size:14px}
.account-form-note {font-size:12px;color:var(--muted-foreground);line-height:1.6;margin-top:18px}
.account-form-note a {text-decoration:underline;text-underline-offset:3px}
.account-status {font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.account-status:not(:empty) {margin:14px 0}
.account-status[data-error=true] {color:var(--destructive)}
.account-return-note {font-size:13px;line-height:1.6;padding:12px 14px;border-radius:7px;background:var(--muted);margin-top:18px;color:var(--muted-foreground)}
.account-recovery-link,.account-back {border:0;background:transparent;color:var(--foreground);font-size:13px;min-height:44px;text-underline-offset:4px;padding:9px 0;text-align:left}
.account-recovery-link {display:block;margin:-10px 0 12px auto}
#reset-request-new {margin:12px auto 0;text-align:center}
.account-back {display:flex;gap:9px;align-items:center;margin:-8px 0 16px}
.account-workspace-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:26px;border-bottom:1px solid var(--border)}
.account-company-identity {display:flex;gap:14px;align-items:center;min-width:0}
.account-company-identity>div {min-width:0}
.account-company-icon {width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border:1px solid var(--border);border-radius:9px;background:var(--muted)}
.account-company-icon svg {width:22px;height:22px}
.account-workspace-label {font-size:12px;line-height:1.5;color:var(--muted-foreground)}
.account-workspace-heading h1 {font-size:21px;letter-spacing:-.025em;line-height:1.4;font-weight:600;overflow-wrap:anywhere;margin-top:2px}
.account-menu {position:relative;flex-shrink:0}
.account-menu summary {display:flex;align-items:center;gap:12px;list-style:none;font-size:14px;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:7px;cursor:pointer}
.account-menu summary::-webkit-details-marker {display:none}
.account-menu summary>span {color:var(--muted-foreground)}
.account-menu-popover {position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:min(290px,80vw);background:var(--background);border:1px solid var(--border);border-radius:9px;padding:7px;box-shadow:0 8px 28px #00000012}
.account-menu-popover p {padding:10px;font-size:13px;color:var(--muted-foreground);overflow-wrap:anywhere;border-bottom:1px solid var(--border);margin-bottom:5px}
.account-menu-popover button {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px;border:0;background:transparent;border-radius:5px;font-size:14px;text-align:left}
.account-layout {display:grid;grid-template-columns:192px minmax(0,1fr);gap:48px;padding-top:32px}
.account-sidebar {display:flex;flex-direction:column;align-items:stretch;gap:5px}
.account-sidebar>a {display:flex;align-items:center;gap:12px;padding:12px;font-size:14px;min-height:46px;border:1px solid transparent;border-radius:7px;color:var(--muted-foreground)}
.account-sidebar>a svg {flex-shrink:0}
.account-sidebar>a[aria-current=page] {background:var(--muted);color:var(--foreground);font-weight:500}
.account-content {min-width:0}
.account-panel-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;min-height:55px}
.account-panel-heading h2 {font-size:26px;line-height:1.25;letter-spacing:-.035em;font-weight:600}
.account-panel-heading .account-muted {margin-top:7px}
.account-panel-actions {display:flex;gap:8px;align-items:center;flex-shrink:0}
.account-panel-actions .button {font-size:14px;min-height:44px;padding-inline:15px;gap:7px}
.account-icon-button {width:44px;height:44px;display:grid;place-items:center;background:var(--background);border:1px solid var(--border);border-radius:7px;font-size:21px;color:var(--muted-foreground)}
.account-icon-button:disabled {opacity:.4;cursor:wait}
.account-empty {border:1px dashed var(--border);border-radius:10px;text-align:center;padding:56px 24px}
.account-empty-icon {width:44px;height:44px;border:1px solid var(--border);border-radius:9px;background:var(--muted);font-size:24px;display:grid;place-items:center;margin:0 auto 20px}
.account-empty h3 {font-size:20px;letter-spacing:-.025em;font-weight:600}
.account-empty p {font-size:14px;color:var(--muted-foreground);max-width:340px;margin:12px auto 24px;line-height:1.65}
.account-empty .button {font-size:14px}
.account-settings-form {border-top:1px solid var(--border);padding:28px 0 0;max-width:650px;margin:0}
.account-settings-form h3 {font-size:17px;letter-spacing:-.02em;margin-bottom:24px}
.account-form-row {display:grid;grid-template-columns:1fr 1fr;gap:20px}
.account-optional {font-weight:400;color:var(--muted-foreground);font-size:12px;margin-left:5px}
.account-settings-form>.button {font-size:14px;min-height:46px}
.account-quotes-list {border:1px solid var(--border);border-radius:10px;overflow:hidden}
.account-quotes-list:empty {display:none}
.account-quote {padding:23px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px}
.account-quote+.account-quote {border-top:1px solid var(--border)}
.account-quote-heading {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.account-quote h3 {font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.account-quote-date {font-size:12px;color:var(--muted-foreground);line-height:1.5}
.account-quote-copy {font-size:14px;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}
.account-quote-customer {font-size:12px;color:var(--muted-foreground);margin-top:7px}
.account-quote-total {font-size:21px;font-weight:600;letter-spacing:-.025em;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.5}
.account-quote-files {display:flex;align-items:center;justify-content:flex-end;gap:8px;grid-column:2;grid-row:2}
.account-quote-files .button {font-size:13px;min-height:44px;padding:10px 13px;gap:9px}
.account-quote-meta {font-size:12px;color:var(--muted-foreground);align-self:center;line-height:1.5;grid-column:1;grid-row:2}
.account-global-status {max-width:800px;margin-inline:auto!important}
.account-footer {display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:22px;padding-bottom:22px;color:var(--muted-foreground);font-size:12px}
.account-footer a {min-height:32px;display:flex;align-items:center}
@media(hover:hover) and (pointer:fine) {
 .account-sidebar>a:hover,.account-auth-tabs button:hover,.account-password-control button:hover,.account-icon-button:hover,.account-menu-popover button:hover {background:var(--muted)}
 .account-recovery-link:hover,.account-back:hover,.account-public-note a:hover,.account-header-link:hover {text-decoration:underline}
}
@media(max-width:1150px) {
 .header:has(.header-account) {gap:16px}
 .header:has(.header-account) .logo {width:180px}
 .header:has(.header-account) .nav {gap:17px}
 .header:has(.header-account) .header-phone {display:none}
 .account-layout {gap:32px;grid-template-columns:176px minmax(0,1fr)}
}
@media(max-width:900px) {
 .header-account {padding-inline:10px}
 .header-account>span {display:none}
 .account-main {padding-top:28px;padding-bottom:48px}
 .account-layout {gap:24px;grid-template-columns:156px minmax(0,1fr)}
 .account-sidebar>a {font-size:13px;padding:11px 9px;gap:9px}
 .account-panel-heading {align-items:flex-start;gap:15px}
 .account-panel-heading h2 {font-size:24px}
 .account-form-row {display:block}
 .account-quote {padding:20px;gap:16px}
}
@media(max-width:680px) {
 .header:has(.header-account) {gap:8px}
 .header:has(.header-account) .logo {width:153px}
 .header-account {order:1;padding:10px;width:42px;min-height:44px}
 .header:has(.header-account) .header-cart {padding-inline:7px;gap:4px}
 .header:has(.header-account) .menu-button {width:36px}
 .account-header {gap:12px;padding-inline:20px;min-height:76px}
 .account-header .logo {width:155px}
 .account-header-link {font-size:13px;gap:6px}
 .account-header-request {display:none}
 .account-main {padding:24px 20px 40px}
 .account-auth {margin:6px auto 0}
 .account-auth-card {padding:24px 20px;border-radius:10px}
 .account-auth-brand {margin-bottom:20px}
 .account-auth-tabs {margin-bottom:24px}
 .account-auth-card h1 {font-size:25px}
 .account-form input {font-size:16px}
 .account-workspace-heading {gap:12px;padding-bottom:20px;align-items:flex-start}
 .account-company-identity {gap:10px}
 .account-company-icon {display:none}
 .account-workspace-heading h1 {font-size:18px;line-height:1.45}
 .account-workspace-label {font-size:12px}
 .account-menu summary {font-size:12px;gap:7px;padding:10px}
 .account-layout {display:block;padding-top:16px}
 .account-sidebar {display:flex;flex-direction:row;gap:4px;margin-bottom:27px;border-bottom:1px solid var(--border);padding-bottom:12px}
 .account-sidebar>a {justify-content:center;gap:7px;padding:10px 8px;min-height:44px;font-size:13px;flex:1;white-space:nowrap}
 .account-sidebar>a svg {width:16px;height:16px}
 .account-panel-heading {margin-bottom:20px;flex-wrap:wrap;gap:15px}
 .account-panel-heading h2 {font-size:25px}
 .account-panel-heading .account-muted {font-size:13px}
 .account-panel-actions {margin-left:auto}
 .account-panel-actions .button {font-size:13px;padding-inline:12px}
 .account-empty {padding:40px 20px}
 .account-empty h3 {font-size:20px}
 .account-settings-form {padding-top:24px}
 .account-quote {grid-template-columns:minmax(0,1fr);padding:20px;gap:14px}
 .account-quote-heading {gap:5px}
 .account-quote h3 {width:100%;font-size:14px}
 .account-quote-copy {font-size:14px}
 .account-quote-total {text-align:left;font-size:23px}
 .account-quote-files {grid-column:1;grid-row:auto;justify-content:flex-start}
 .account-quote-meta {grid-column:1;grid-row:auto}
 .account-footer {align-items:flex-start;gap:8px 20px;flex-wrap:wrap;font-size:11px;padding:18px 20px}
 .account-footer>span {width:100%}
}
@media(max-width:360px) {
 .account-sidebar>a {font-size:12px;gap:5px;padding-inline:5px}
 .account-sidebar>a svg {display:none}
 .account-header .logo {width:140px}
}
@media(prefers-reduced-motion:reduce) {.account-form input {transition:none}}
