.seller-page main{max-width:1050px}.seller-page main:has(#application:not([hidden])){max-width:920px}.auth-switch{display:flex;border-bottom:1px solid var(--line);gap:24px;margin-bottom:30px}.auth-switch button{border:0;border-radius:0;background:none;padding:0 0 12px;color:var(--muted);min-height:0;box-shadow:none}.auth-switch button.selected{color:var(--accent);border-bottom:2px solid var(--accent)}.password-card{padding:24px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;margin:24px 0 0}.password-card h2{font-size:.93rem;margin-bottom:7px}.password-card p{font-size:.78rem;margin-bottom:18px}#password-login,#credentials-form{display:grid;gap:18px}#password-login .primary{width:100%;margin-top:4px}.span-two{grid-column:1/-1}.check{display:flex;align-items:flex-start;gap:12px;margin:18px 0;line-height:1.8}.check input{flex:0 0 19px;margin:4px 0}.categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.categories .check{margin:0;justify-content:flex-start;padding:17px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.categories .check:has(input:checked){background:var(--tint);border-color:var(--accent);color:var(--accent)}.seller-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0 24px}.seller-title h1{margin:4px 0 10px}.seller-title p:last-child{font-size:.8rem;margin:0;overflow-wrap:anywhere}.state{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;background:var(--tint);color:var(--accent);border:1px solid var(--line);border-radius:999px;font-size:.75rem;font-weight:650;white-space:nowrap}.state::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.state[data-state=pending]{background:#fff4dc;color:#926513;border-color:#ebdcb9}.state[data-state=approved]{background:#e6f6ed;color:#23784c;border-color:#c7e7d5}.state[data-state=rejected],.state[data-state=suspended]{background:#fff0ef;color:#b64b42;border-color:#f0d0cc}.application-steps{display:flex;align-items:center;gap:20px;padding:20px 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);margin-bottom:26px}.application-steps>span{display:flex;align-items:center;gap:10px;font-size:.8rem;flex:1;color:var(--muted)}.application-steps b{display:grid;place-items:center;background:var(--tint);color:var(--accent);border-radius:9px;width:30px;height:30px;font-size:.7rem}.location-row{display:flex;gap:16px;align-items:center;margin:25px 0;padding:18px;border:1px dashed var(--line);border-radius:12px}.location-row span{font-size:.77rem;color:var(--muted)}#image-preview{display:block;max-width:180px;max-height:180px;object-fit:cover;border-radius:12px;margin-top:10px}.terms{font-weight:500}#review-message{background:var(--tint);border-color:#0071e333;color:var(--ink);padding:26px}#approved-message{border-inline-start:4px solid #35a97b}#review-note:not([hidden]){border-inline-start:3px solid #f0a13e;background:var(--surface);padding:18px;border-radius:10px}.credentials-card{padding:0;box-shadow:none}.credentials-card>summary{padding:24px 28px;list-style-position:inside}.credentials-card>p,.credentials-card>form{margin:22px 28px}.credentials-card>form{max-width:600px}.credentials-card>p{font-size:.81rem}.seller-page #seller-form>.card>h2{display:flex;align-items:center;gap:12px}.seller-page #seller-form{counter-reset:section}.seller-page #seller-form>.card>h2::before{counter-increment:section;content:counter(section,decimal-leading-zero);font-size:.7rem;color:var(--accent);background:var(--tint);width:30px;height:30px;display:grid;place-items:center;border-radius:9px}.seller-page:has(#approved-message:not([hidden])) .application-steps{display:none}
@media(max-width:620px){.span-two{grid-column:auto}.categories{grid-template-columns:1fr}.seller-title{align-items:flex-start;flex-direction:column}.application-steps{padding:15px 12px;gap:8px}.application-steps>span{font-size:.65rem;gap:6px}.application-steps b{width:25px;height:25px;flex-shrink:0}.location-row{flex-direction:column;align-items:stretch}.credentials-card>summary{padding:20px}.credentials-card>p,.credentials-card>form{margin:20px}}

.seller-products-panel{margin-top:26px}.seller-products-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.seller-products-heading h2{margin:5px 0}.seller-products-heading p:last-child{font-size:.82rem}.seller-product-stats{display:flex;gap:12px;margin:22px 0}.seller-product-stats>span{display:grid;gap:3px;min-width:120px;padding:14px 17px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.seller-product-stats b{font-size:1.25rem}.seller-product-stats small{font-size:.7rem}.seller-page .management-table td{vertical-align:middle}.seller-page .management-table td .product-cell{min-width:160px}.seller-page .management-table td button{margin:3px}.seller-state{font-weight:650}.seller-state:has(+td){white-space:nowrap}#seller-product-dialog{width:min(850px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 25px 100px #0004}#seller-product-dialog::backdrop{background:#0c152b80;backdrop-filter:blur(4px)}#seller-product-form{padding:26px}#seller-product-photo-preview{max-width:180px;max-height:150px;object-fit:contain;border-radius:10px}#seller-product-stock-row{display:flex;align-items:end;gap:15px;margin-top:18px}#seller-product-stock-row label{width:min(300px,100%)}#seller-product-error:not(:empty){padding:12px;border-radius:9px;background:#fff0ef;color:#a43d36}
@media(max-width:620px){.seller-products-heading{align-items:flex-start;flex-direction:column}.seller-product-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.seller-product-stats>span{min-width:0;padding:11px 9px}.seller-product-stats b{font-size:1.05rem}.seller-product-stats small{font-size:.62rem}.seller-page .table-actions{flex-direction:column}#seller-product-form{padding:20px}}
.product-entry-options{border:1px solid var(--line,#dce1e8);border-radius:12px;overflow:hidden}.product-entry-options>summary{padding:14px 16px;cursor:pointer;font-size:.85rem;font-weight:600}.product-entry-options>summary:focus-visible{outline:3px solid #3b82f6;outline-offset:-3px}.product-entry-options[open]>summary{border-bottom:1px solid var(--line,#dce1e8)}.product-entry-options>.grid{padding:16px}
/* Compact approved-seller workspace. */
.seller-workspace-active #approved-message,.seller-workspace-active .application-steps{display:none!important}
.seller-workspace-active .seller-title{margin:18px 0 20px;align-items:center}
.seller-workspace-active .seller-title h1{font-size:1.65rem;margin:4px 0 6px}
.seller-workspace-active .seller-title .eyebrow{font-size:.65rem;margin:0;color:var(--accent)}
.seller-workspace-active #signed-in{font-size:.73rem}
.seller-workspace-nav{display:flex;gap:5px;padding:5px;margin-bottom:20px;border:1px solid var(--line);border-radius:13px;background:var(--surface);overflow-x:auto}
.seller-workspace-nav a{display:flex;align-items:center;justify-content:center;flex:1;min-height:43px;padding:8px 18px;border-radius:9px;text-decoration:none;color:var(--muted);font-size:.85rem;font-weight:650;white-space:nowrap}
.seller-workspace-nav a:hover{background:var(--soft);color:var(--ink)}
.seller-workspace-nav a.active{background:var(--ink);color:var(--surface)}
.seller-workspace-nav a:focus-visible,.seller-sheet-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}
#seller-dashboard{min-width:0}
#seller-dashboard>.card{margin-top:0}
#seller-orders.seller-orders-sheet{padding:0;overflow:hidden;border-radius:16px;box-shadow:0 4px 20px #10182806}
.seller-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 12px}
.seller-sheet-heading h2{margin:0;font-size:1.2rem}
.seller-sheet-heading p{margin:7px 0 0;font-size:.8rem;line-height:1.6}
.seller-sheet-heading>button{flex:none;padding:8px 14px;min-height:38px;font-size:.78rem}
.seller-order-filters{display:flex;gap:7px;overflow-x:auto;padding:8px 22px 14px}
.seller-order-filters button{display:flex;align-items:center;gap:8px;flex:none;border:1px solid var(--line);padding:7px 10px;border-radius:8px;font-size:.75rem;min-height:36px;background:var(--surface);color:var(--muted)}
.seller-order-filters button b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:5px;background:var(--soft);font-size:.66rem}
.seller-order-filters button[aria-pressed=true]{border-color:#148260;background:#eaf7f1;color:#146247}
.seller-order-filters button[aria-pressed=true] b{background:#ccebdc;color:#146247}
.seller-sheet-toolbar{display:flex;gap:10px;padding:0 22px 16px}
.seller-sheet-toolbar input{flex:1;min-width:0}
.seller-sheet-toolbar select{width:auto;min-width:160px}
.seller-sheet-toolbar input,.seller-sheet-toolbar select{min-height:42px;padding:9px 12px;font-size:.82rem;background:var(--soft)}
.seller-orders-feedback{margin:0 22px 12px;font-size:.8rem;color:var(--accent)}
.seller-orders-feedback:empty{display:none}
.seller-sheet-scroll{max-height:65vh;overflow:auto;overscroll-behavior-x:contain;border-block:1px solid var(--line);scrollbar-width:thin}
.seller-sheet-table{width:100%;min-width:960px;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:.78rem}
.seller-sheet-table th{position:sticky;top:0;z-index:2;background:#edf6f1;color:#235b43;text-align:start;padding:13px 14px;font-size:.7rem;white-space:nowrap;border-bottom:1px solid #cce1d6;font-weight:700}
.seller-sheet-table td{padding:14px;vertical-align:middle;text-align:start;border-bottom:1px solid var(--line);border-inline-end:1px solid var(--line);background:var(--surface)}
.seller-sheet-table tr:last-child td{border-bottom:0}
.seller-sheet-table tbody tr:nth-child(even) td{background:var(--soft)}
.seller-sheet-table tbody tr:hover td{background:var(--tint)}
.seller-sheet-table td:first-child{min-width:155px}
.seller-sheet-table td:first-child strong{display:block;font-size:.75rem;white-space:nowrap}
.seller-sheet-table small{display:block;margin-top:5px;color:var(--muted);font-size:.66rem;line-height:1.4}
.seller-sheet-table td:nth-child(2){white-space:nowrap;font-size:.72rem}
.seller-sheet-items{min-width:210px;max-width:290px;line-height:1.5;overflow-wrap:anywhere}
.seller-sheet-items>div+div{padding-top:9px;margin-top:9px;border-top:1px dashed var(--line)}
.seller-sheet-money{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.seller-order-status{display:inline-flex;white-space:nowrap;padding:5px 8px;border-radius:6px;background:var(--soft);font-size:.69rem;font-weight:650}
.seller-order-status[data-state=pending]{background:#fff1cf;color:#845600}
.seller-order-status[data-state=packed]{background:#e8edff;color:#4c46a3}
.seller-order-status[data-state=shipped]{background:#deefff;color:#155da2}
.seller-order-status[data-state=delivered]{background:#dff5e8;color:#1b7146}
.seller-order-status[data-state=blocked]{background:#fee7e5;color:#a5322a}
.seller-sheet-action{position:sticky;inset-inline-end:0;min-width:138px;box-shadow:-4px 0 10px #10182805}
.seller-sheet-table th:last-child{inset-inline-end:0;z-index:3}
.seller-sheet-action button{font-size:.73rem;min-height:38px;padding:8px 11px;white-space:nowrap;background:#167450;border-color:#167450}
.seller-sheet-action button:hover{background:#105a3d}
.seller-action-note{font-size:.7rem;color:var(--muted)}
.seller-sheet-empty{text-align:center!important;height:130px;color:var(--muted)}
.seller-sheet-empty button{display:block;margin:12px auto 0;font-size:.8rem}
.seller-sheet-footer{padding:13px 22px;font-size:.72rem;color:var(--muted);background:var(--soft)}
.seller-table-hint{display:none}
.seller-profile-summary dl{margin:0;display:grid;gap:16px}
.seller-profile-summary dl>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.seller-profile-summary dt{color:var(--muted);font-size:.8rem}.seller-profile-summary dd{margin:0;font-size:.9rem;overflow-wrap:anywhere}
.seller-workspace-active .seller-products-panel .eyebrow{display:none}
.seller-workspace-active .seller-products-heading p:last-child{font-size:.78rem}
[data-theme=dark] .seller-sheet-table th{background:#17392c;color:#a9dfbf;border-color:#325443}
[data-theme=dark] .seller-order-filters button[aria-pressed=true]{background:#17392c;color:#a9dfbf}
@media(max-width:700px){
 .seller-workspace-active main{padding-inline:12px;margin-top:18px}
 .seller-workspace-active .seller-title{gap:10px;margin:12px 0 16px}
 .seller-workspace-active .seller-title h1{font-size:1.3rem}
 .seller-workspace-active #signed-in{font-size:.68rem}
 .seller-workspace-nav{margin-bottom:14px;gap:2px}
 .seller-workspace-nav a{flex:0 0 auto;padding:8px 12px;font-size:.78rem}
 .seller-sheet-heading{padding:16px 14px 8px;align-items:flex-start}
 .seller-sheet-heading h2{font-size:1.05rem}.seller-sheet-heading p{font-size:.74rem}
 .seller-order-filters{padding:8px 14px 12px}
 .seller-sheet-toolbar{padding:0 14px 10px;flex-wrap:wrap}
 .seller-sheet-toolbar input{flex-basis:100%;font-size:16px}
 .seller-sheet-toolbar select{width:100%;font-size:.8rem}
 .seller-table-hint{display:block;margin:0 14px 10px;font-size:.68rem;color:var(--muted)}
 .seller-orders-feedback{margin-inline:14px}
 .seller-sheet-table{min-width:890px}
 .seller-sheet-table td,.seller-sheet-table th{padding:11px}
 .seller-sheet-action{position:static;box-shadow:none}
 .seller-sheet-table th:last-child{inset-inline-end:auto}
 .seller-sheet-footer{padding-inline:14px}
 .seller-profile-summary dl>div{grid-template-columns:85px 1fr}
}
