/* Shared finishing layer for storefront, seller tools and internal workspaces. */
:root{--ink:#20383b;--muted:#58696c;--line:#ddd8cf;--green:#132e34;--paper:#fffdf9}
body{background:var(--paper);color:var(--ink)}
.button-dark{background:#132e34;color:#fffaf2}.button-dark:hover{background:#29484e}
.button-light{background:#f5f0e7;color:#20383b;border:1px solid #d5cfc4}
.panel,.step-panel,.login-panel,.customer-panel,.filter-panel,.product-detail{border-color:var(--line);border-radius:14px}
.panel h2{font-size:21px;letter-spacing:-.5px}.panel p{line-height:1.7}
input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #98653e;outline-offset:3px}
.staff-header{background:var(--header-bg)}.staff-header .header-main{display:flex;justify-content:space-between}
.staff-identity{display:flex;align-items:center;gap:22px;color:#fffaf2;font-size:14px}.staff-identity small{display:block;font-size:11px;color:#e3b48f;margin-top:5px}.staff-identity form{margin:0}
.staff-identity>a{color:#fffaf2}.staff-nav{background:#f5f0e7;border-bottom:1px solid #ddd8cf}.staff-nav>div{display:flex;flex-wrap:wrap;gap:4px;padding-block:12px}.staff-nav a{padding:10px 13px;border-radius:8px;font-size:13px;font-weight:650}.staff-nav a:hover{background:#e9e3d8}.staff-nav a[aria-current=page]{background:#132e34;color:#fffaf2}
.operator-shell .staff-main{display:block;max-width:1440px;padding-block:36px;min-height:65vh}.staff-main h1{font-size:clamp(28px,3vw,40px);letter-spacing:-1.3px;line-height:1.18}.staff-main>p{max-width:850px;line-height:1.8;font-size:14px}.staff-main .panel{padding:25px;background:#fff;margin:22px 0;border:1px solid var(--line)}
.staff-main label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650;margin:14px 0}.staff-main label:has(input[type=checkbox]){flex-direction:row;align-items:center}.staff-main input:not([type=checkbox]):not([type=hidden]),.staff-main textarea,.staff-main select{font:inherit;min-width:0;max-width:100%;padding:12px;border:1px solid #aeb9b8;border-radius:7px;background:#fffdf9;color:#20383b}.staff-main textarea{min-height:100px}.staff-main .button{min-height:42px;font-size:13px;white-space:normal}.staff-main table{font-size:13px}.staff-main td,.staff-main th{overflow-wrap:anywhere}.staff-main .table-wrap{overflow-x:auto}.staff-main .chat-settings{max-width:1000px}.staff-main .chat-admin{grid-template-columns:300px minmax(0,1fr)}
.team-grid,.seo-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.team-grid .panel{margin:0}.staff-actions,.staff-create{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.staff-create label{flex:1;min-width:190px}.access-key{display:block;font-size:20px;background:#f5f0e7;padding:20px;overflow-wrap:anywhere;user-select:all}.seo-stats .panel{margin-block:5px}.seo-stats strong{display:block;font-size:32px}.seo-issue{border-top:1px solid var(--line);padding:20px 0;overflow-wrap:anywhere}.seo-issue h2{font-size:17px}.seo-issue li{margin-block:8px;line-height:1.6}.seo-severity{font-weight:750;color:#8b392d}.seo-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.seo-filter label{min-width:180px}.category-intro{max-width:780px;line-height:1.8}.category-directory{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.category-directory a{padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#f5f0e7;font-size:13px}.seo-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:22px}
@media(max-width:700px){.staff-header .header-main{padding:22px 16px;gap:20px;flex-wrap:wrap;width:100%}.staff-header .wordmark{font-size:28px}.staff-header .wordmark img{width:40px;height:40px}.staff-identity{width:100%;justify-content:space-between}.staff-nav>div{flex-wrap:nowrap;overflow-x:auto;width:100%;padding-inline:12px}.staff-nav a{flex:none;white-space:nowrap}.staff-main .panel{padding:20px}.staff-main .chat-admin{grid-template-columns:1fr}.staff-main .chat-admin-list{max-height:220px}.staff-main .chat-admin-header{align-items:flex-start;flex-direction:column}.staff-main .operator-stats{grid-template-columns:1fr 1fr}.staff-main .operator-section{overflow-x:auto}.staff-main .staff-create{display:block}.staff-main h1{overflow-wrap:anywhere}}
