:root { color-scheme: light; --ink:#101722; --orange:#d64a15; --paper:#f3f5f6; --line:#d9dde1; --green:#21744f; --muted:#66707a; }
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC",sans-serif; color:var(--ink); background:var(--paper); }
button,input,select,textarea { font:inherit; letter-spacing:0; }
.hidden { display:none!important; }
.topbar { height:62px; display:flex; align-items:center; justify-content:space-between; padding:0 24px; border-bottom:1px solid var(--line); background:#fff; }
.brand { display:flex; align-items:center; gap:10px; font-weight:750; }
.brand small { color:var(--muted); font-weight:500; }
.mark { width:31px; height:31px; display:grid; place-items:center; color:#fff; background:var(--ink); border-bottom:6px solid var(--orange); font-weight:900; }
.login-shell { min-height:calc(100vh - 62px); display:grid; place-items:center; padding:24px; }
.login-form { width:min(390px,100%); padding:28px; border:1px solid var(--line); background:#fff; box-shadow:0 16px 40px rgba(16,23,34,.08); }
h1,h2,p { margin-top:0; } h1 { margin-bottom:24px; font-size:30px; } h2 { margin-bottom:0; font-size:23px; }
.eyebrow { margin-bottom:5px; color:var(--orange); font-size:11px; font-weight:800; }
label { display:grid; gap:7px; margin:14px 0; font-size:13px; font-weight:650; }
input,select,textarea { width:100%; min-height:42px; padding:9px 11px; border:1px solid var(--line); border-radius:4px; background:#fff; }
input:focus,select:focus,textarea:focus { outline:2px solid rgba(214,74,21,.18); border-color:var(--orange); }
.primary { width:100%; min-height:44px; margin-top:8px; border:0; border-radius:4px; color:#fff; background:var(--orange); font-weight:750; cursor:pointer; }
.error { min-height:20px; margin:12px 0 0; color:#b42318; font-size:13px; }
.dashboard { display:grid; grid-template-columns:210px 1fr; min-height:calc(100vh - 62px); }
.tabs { padding:20px 12px; border-right:1px solid var(--line); background:#fff; }
.tabs button { width:100%; padding:11px 12px; margin-bottom:5px; border:0; border-radius:4px; background:transparent; text-align:left; cursor:pointer; }
.tabs button.active { color:#fff; background:var(--ink); font-weight:700; }
.content { min-width:0; padding:24px; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(150px,1fr)); gap:12px; margin-bottom:28px; }
.stats div { display:flex; flex-direction:column; gap:3px; padding:17px 18px; border-left:4px solid var(--orange); background:#fff; }
.stats strong { font-size:26px; } .stats span { color:var(--muted); font-size:12px; }
.section-head { display:flex; align-items:end; justify-content:space-between; margin-bottom:12px; }
.icon-button { width:40px; height:40px; border:1px solid var(--line); border-radius:4px; background:#fff; cursor:pointer; font-size:20px; }
.table-wrap { overflow:auto; border:1px solid var(--line); background:#fff; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th,td { padding:11px 12px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; white-space:nowrap; }
th { position:sticky; top:0; background:#eef0f2; color:#4b545d; font-size:11px; }
td.wrap { min-width:230px; white-space:normal; line-height:1.55; }
.status { min-width:100px; height:34px; padding:4px 8px; }
.note { min-width:180px; min-height:34px; }
.save { min-height:34px; padding:0 11px; border:0; border-radius:4px; color:#fff; background:var(--green); cursor:pointer; }
.empty { padding:28px; margin:0; color:var(--muted); text-align:center; }
@media(max-width:760px){ .dashboard{grid-template-columns:1fr;grid-template-rows:auto 1fr}.tabs{display:flex;align-items:center;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.tabs button{width:auto;min-height:42px;margin-bottom:0;white-space:nowrap}.content{padding:16px}.stats{grid-template-columns:1fr}.brand small{display:none} }
