:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#1a1918;background:#f5f4f1;font-synthesis:none;--ink: #1a1918;--muted: #8f8d89;--accent: #e86a2e;--navy: #1b3a4b;--line: #f0efed;--card: #fff;--page: #f5f4f1}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled,fieldset:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.topbar{min-height:60px;padding:0 max(24px,calc((100vw - 1440px)/2));background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:8}.topbar-title,.account-actions{display:flex;align-items:center;gap:10px;min-width:0}.topbar-title h1{margin:0;overflow:hidden;color:#fff;font-size:17px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.brand-mark{display:inline-block;flex:0 0 auto;width:5px;height:28px;border-radius:6px;background:var(--accent)}.topbar-back{display:grid;place-items:center;flex:none;width:32px;height:42px;padding:0;border:0;background:transparent}.topbar-back img{width:22px;height:22px;filter:brightness(0) invert(1)}.topbar-name{color:#d5e4e9;font-size:12px;white-space:nowrap}.topbar-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:700}.topbar-logout{padding:4px;border:0;background:transparent;color:#d5e4e9;font-size:12px}.desktop-layout{max-width:1440px;display:flex;min-height:calc(100vh - 60px);margin:auto}.sidebar{width:210px;padding:28px 18px;flex:none;border-right:1px solid #e5e4e1;background:#fff;display:flex;flex-direction:column;gap:6px}.side-title{color:#9c9b99;font-size:12px;padding:0 14px 14px}.sidebar a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:8px;font-size:14px;font-weight:600}.sidebar a img{width:21px;height:21px}.sidebar a.active{background:#fff0e7;color:var(--accent)}.side-hint{margin:auto 14px 0;color:#9c9b99;font-size:12px;line-height:1.8}.main{width:100%;min-width:0;padding:28px;max-width:1180px}.eyebrow{color:#0f6b68;font-size:11px;letter-spacing:.1em;font-weight:700}.auth-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#885c2c;background:#fff4ee;border:1px solid #e8c3b0;border-radius:8px;padding:13px 16px;margin-bottom:18px;font-size:13px;line-height:1.6}.auth-notice strong{margin-right:10px}.text-button{border:0;background:none;color:var(--accent);padding:4px;white-space:nowrap;font-size:13px}.card{background:var(--card);border:0;border-radius:12px;padding:16px;margin-bottom:12px;box-shadow:0 2px 7px #2726240d}.card-title{color:var(--ink);font-size:15px;margin:0;font-weight:700}.card-head,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head{margin-bottom:14px}.section-title{display:flex;align-items:center;gap:8px;margin:0 0 14px;color:var(--ink);font-size:15px;font-weight:700}.section-title:before{content:"";display:inline-block;flex:none;width:4px;height:16px;border-radius:2px;background:var(--accent)}.muted,.meta{font-size:12px;color:#9c9b99;line-height:1.6}.meta{margin-top:4px}.error-text{color:#c65f36;font-size:13px;line-height:1.5}.success-text{color:#3d8a5a;font-size:13px}.state-panel{color:#9c9b99;padding:26px 10px;text-align:center;font-size:13px;line-height:1.8}.state-error{color:#c65f36}.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:0;border-radius:6px;padding:9px 16px;background:var(--navy);color:#fff;font-size:13px;font-weight:600}.button.primary{background:var(--accent)}.button.secondary{background:#e8f4f8;color:var(--navy)}.button.danger{background:#fff4ee;color:#c65f36}.button.small{padding:6px 11px;min-height:32px;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.list-row{border-top:1px solid var(--line);padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.list-row:first-child{border-top:0}.list-main{min-width:0;flex:1}.list-title{font-size:14px;font-weight:600}.badge{display:inline-block;padding:5px 9px;border-radius:4px;color:#d86227;background:#fff0e7;font-size:11px;white-space:nowrap}.badge.green{color:#3d8a5a;background:#e8f4ea}.badge.red{color:#c65f36;background:#fff4ee}.grid{display:grid;gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#fff;border:1px solid #f0efed;border-radius:12px;padding:16px}.metric strong{display:block;margin-top:8px;color:var(--navy);font-size:25px}.metric .muted{font-size:12px}.form{display:grid;gap:14px}.field-label{color:#6d6c6a;font-weight:600;font-size:12px;display:grid;gap:7px}.field-label input:not([type=checkbox]):not([type=file]),.field-label select,.field-label textarea,input.control,select.control,textarea.control{width:100%;border:1px solid #e5e4e1;color:#1a1918;border-radius:4px;padding:11px 12px;background:#fff;outline:none;min-width:0}.field-label textarea{min-height:86px;resize:vertical}.field-label input:focus,.field-label select:focus,.field-label textarea:focus,.control:focus{border-color:var(--accent)}.form fieldset,fieldset{border:0;margin:0;padding:0;min-width:0}.check-row{display:flex;align-items:center;gap:8px;font-size:13px}.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-bottom:16px}.filters .field-label{flex:1 1 140px}.divider{height:1px;background:var(--line);margin:18px 0}.tab-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tab-buttons button{border:0;padding:8px 14px;border-radius:6px;background:#edecea;color:#6d6c6a;font-size:13px}.tab-buttons button.active{background:var(--navy);color:#fff;font-weight:700}.upload-box{border:1px dashed #e5e4e1;border-radius:8px;padding:14px;margin-top:12px}.mobile-tabs{display:none}@media(max-width:700px){.topbar{min-height:50px;padding:0 16px}.topbar-title h1{font-size:17px}.topbar-name{display:none}.desktop-layout{min-height:auto}.sidebar{display:none}.main{padding:16px 16px calc(100px + env(safe-area-inset-bottom))}.main.dashboard-main,.main.full-width-main{padding-left:0;padding-right:0;padding-top:0}.main.assistant-main{display:flex;flex-direction:column;padding:0;height:calc(100vh - 50px)}.auth-notice{margin:12px 16px;align-items:flex-start}.auth-notice strong,.auth-notice span{display:block}.card{padding:16px;border-radius:12px}.grid.two{grid-template-columns:1fr}.grid.three{gap:8px}.metric{padding:14px 10px}.metric strong{font-size:22px}.mobile-tabs{display:flex;align-items:center;justify-content:space-between;position:fixed;bottom:0;left:0;right:0;height:calc(83px + env(safe-area-inset-bottom));padding:8px 20px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e4e1;z-index:9}.mobile-tabs a{display:flex;flex:1;flex-direction:column;align-items:center;gap:3px;min-width:0;color:#9c9b99;font-size:10px}.mobile-tabs img{width:22px;height:22px}.mobile-tabs a small{font-size:10px}.mobile-tabs a.active{color:var(--accent);font-weight:600}.list-row{align-items:flex-start}}
