:root{
    --navy:#292725;--navy-2:#38332f;--blue:#e98532;--blue-2:#ef9a50;--ice:#fff4e9;
    --paper:#fff;--bg:#faf8f5;--ink:#292725;--muted:#847e78;--line:#e8e1da;
    --green:#24785b;--red:#b94a50;--orange:#e98532;
    --shadow:0 14px 40px rgba(75,58,43,.06);--radius:20px;
}
body{background:var(--bg);color:var(--ink)}
a{color:#bf641d}.app-shell{background:var(--bg)}
.sidebar{background:#fff;color:#625d58;border-right:1px solid var(--line);box-shadow:none}
.brand{color:#292725}.brand-mark{background:#e98532;color:#fff;box-shadow:none;border-radius:50%;font-weight:700;font-size:11px;letter-spacing:-.04em}
.brand small{color:#9a9189}.workspace-card{background:#f8f5f1;border:1px solid #ece5de}
.workspace-card>span,.nav-label{color:#a09891}.workspace-card strong{color:#393532}
.workspace-card button{color:#625d58}.main-nav a{color:#56514d;font-weight:400}
.main-nav a:hover,.main-nav a.active{color:#bd601b;background:#fbe9d8}
.main-nav a.active{box-shadow:none;font-weight:500}
.sidebar-footer{border-color:var(--line)}.sidebar-footer a,.sidebar-footer button{color:#746d67}
.app-content{background:#faf8f5}.topbar{background:#fff;border-color:var(--line);backdrop-filter:none}
.topbar h1{color:#292725}.eyebrow{color:#d47427}.page-content{max-width:1500px}
.panel,.stat-grid article,.auth-card,.narrow-card,.response-panel{border-color:var(--line);box-shadow:var(--shadow)}
.panel{border-radius:20px}.panel-head{border-color:var(--line)}
.stat-grid article{position:relative;border-radius:18px;overflow:hidden;padding-top:21px}
.stat-grid article:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:#e9a263}
.stat-grid article:nth-child(4n+2):before{background:#f0bf69}.stat-grid article:nth-child(4n+3):before{background:#75aa92}.stat-grid article:nth-child(4n):before{background:#a6a09a}
.stat-grid strong{color:#3b3733}.btn{border-radius:11px}.btn.primary{background:#e98532;box-shadow:0 8px 20px rgba(220,123,44,.18)}
.btn.primary:hover{background:#c96920}.btn.ghost{border-color:var(--line)}
input,select,textarea,.search-form input,.search-form select{border-color:#ded6cf;border-radius:11px}
input:focus,select:focus,textarea:focus{border-color:#df8a46;box-shadow:0 0 0 3px rgba(220,123,44,.11)}
th{background:#fbf9f7;color:#817970}th,td{border-color:#eee8e2}
.badge.sent,.badge.viewed,.badge.converted{background:#fff0e1;color:#b85d19}
.pill{border-color:#f1c79e;background:#fff0e2;color:#bc611d}
.notice{background:#fff4e8;color:#74583f}.number-preview{background:#fff0e1;color:#b85d19}
.document-brand,.totals .grand,.document-summary .grand{border-color:#e98532}
.document-logo,.document-items th{background:#e98532}.line-total strong,.totals .grand dt,.totals .grand dd{color:#4b4037}
.public-body{background:#faf8f5}.public-header{background:#fff;color:#292725;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.public-main{max-width:1160px}.amount-card{background:#fff0e2;color:#302b27;border:1px solid #f0d3b5}.amount-card span,.amount-card small{color:#8a6b51}.vendor-contact-card{background:#fff;border:1px solid var(--line);color:#302b27}.vendor-contact-card p,.vendor-contact-card dt{color:#7c746d}.vendor-contact-card dl>div{border-color:var(--line)}
.platform-disclaimer blockquote{border-color:#e98532}.refund-form summary{color:#bd641e}
.auth-copy h1{color:#302b27}.auth-card{border-radius:24px}.auth-wrap{min-height:calc(100vh - 170px)}
.landing-body{background:#faf8f5;color:#292725}.landing-nav{background:#fff;max-width:none;padding-left:max(24px,calc((100vw - 1200px)/2));padding-right:max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--line)}
.landing-nav a{color:#514b46}.hero{min-height:640px}.hero h1{background:none;color:#2d2926;font-size:62px}.hero p{color:#79716a}
.hero .btn.ghost{background:#fff;color:#5a5047;border-color:var(--line)}.hero-preview{background:#fff;color:#292725;border:1px solid var(--line);box-shadow:0 28px 75px rgba(74,53,35,.12)}
.preview-total{color:#c26720}.feature-grid article{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}
.feature-grid article>span{color:#d97728}.feature-grid p{color:#7e766f}.landing-footer{border-color:var(--line);color:#8b837c}
.language-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:99px;background:#fff}
.language-switch form{display:flex}.language-switch button{width:31px;height:31px;border:0;border-radius:50%;background:transparent;color:#8b8179;font:600 10px Manrope;padding:0}
.language-switch button.active{background:#e1873e;color:#fff}
.account-chip{display:flex;align-items:center;gap:9px;padding-left:8px}
.account-chip>span{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#fbe9d8;color:#bd601b;font:700 12px Manrope}
.account-chip div{display:flex;flex-direction:column;line-height:1.2}.account-chip strong{font-size:12px;font-weight:500}.account-chip small{font-size:10px;color:var(--muted)}
.system-notice{background:#fff2df;border:1px solid #f0d0aa;color:#785331;padding:12px 16px;border-radius:13px;margin-bottom:18px}
.owner-console{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-bottom:22px}
.owner-welcome{padding:26px;background:linear-gradient(135deg,#fff,#fff3e6);border:1px solid #ecdccc;border-radius:22px}
.owner-welcome h2{margin:4px 0 6px;font-size:24px;font-weight:500}.owner-welcome p{color:var(--muted);margin:0}
.quick-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-links a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;color:#4c4540}.quick-links a strong{display:block;font-weight:500}.quick-links a small{color:var(--muted)}
.admin-shell .sidebar{width:270px}.admin-shell .app-content{margin-left:270px}.admin-kicker{color:#d47427;font:600 10px Manrope;letter-spacing:.12em;text-transform:uppercase}
.role-select{min-width:130px}.inline-form{display:inline-flex;align-items:center;gap:7px}.danger-link{color:var(--red);border:0;background:none}
.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#63a487;margin-right:5px}.status-dot.suspended{background:#c7686e}
@media(max-width:1100px){.owner-console{grid-template-columns:1fr}}
@media(max-width:800px){.topbar-actions .account-chip{display:none}.topbar-actions{display:flex}.topbar-actions>.btn{display:none}.language-switch button{width:29px;height:29px}.admin-shell .app-content{margin-left:0}.owner-console{display:block}.quick-links{margin-top:12px}.landing-nav .language-switch{display:inline-flex}}
