:root { --ink:#17231e; --muted:#78847d; --line:#e1e9e2; --paper:#f5f8f4; --panel:#fff; --teal:#0f9c83; --teal-dark:#087d6e; --lime:#d9f163; --red:#c45d54; --gold:#a97933; }
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Inter, "Microsoft YaHei", sans-serif; }
button,input,textarea,select { font:inherit; }
button { cursor:pointer; }
.topbar { height:76px; padding:0 5vw; display:flex; align-items:center; gap:13px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.82); }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--teal); color:#fff; font-weight:800; font-size:18px; }
.topbar strong,.topbar span { display:block; }
.topbar strong { font-size:14px; letter-spacing:.2px; }
.topbar span { margin-top:3px; color:var(--muted); font:10px ui-monospace,monospace; }
.top-status { margin-left:auto; display:flex; align-items:center; gap:8px; color:var(--muted); font:10px ui-monospace,monospace; }
.top-status i { width:7px; height:7px; border-radius:50%; background:#b8c1ba; }
.top-status.connected i { background:var(--teal); box-shadow:0 0 0 4px #d7f0e7; }
.shell { max-width:1280px; margin:0 auto; padding:56px 5vw 80px; }
.hero { display:flex; justify-content:space-between; gap:32px; margin-bottom:35px; }
.eyebrow,.kicker { color:var(--teal); font:10px ui-monospace,monospace; letter-spacing:1.3px; }
.hero h1 { max-width:700px; margin:11px 0 12px; font-size:clamp(37px,5vw,62px); line-height:1.04; letter-spacing:0; }
.hero h1 em { display:block; color:var(--teal); font-style:normal; }
.lede { margin:0; max-width:620px; color:var(--muted); font-size:14px; line-height:1.8; }
.hero-note { align-self:flex-end; min-width:185px; padding:15px 18px; border-left:2px solid var(--lime); background:#eef5e9; }
.hero-note span,.hero-note strong,.hero-note small { display:block; }
.hero-note span { color:var(--teal); font:10px ui-monospace,monospace; }
.hero-note strong { margin-top:5px; font-size:14px; }
.hero-note small { margin-top:6px; color:var(--muted); font-size:10px; line-height:1.5; }
.grid,.lower-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 35px rgba(35,75,55,.045); overflow:hidden; }
.panel-head { min-height:75px; padding:18px 22px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); }
.panel-head > div:first-child { display:flex; align-items:center; gap:12px; min-width:0; }
.index { width:27px; height:27px; display:grid; place-items:center; flex:none; color:var(--teal); background:#e9f5ef; border-radius:5px; font:11px ui-monospace,monospace; }
.kicker { margin:0 0 5px; font-size:9px; }
h2 { margin:0; font-size:17px; }
.panel-meta { color:#9aa69e; white-space:nowrap; font:10px ui-monospace,monospace; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:22px; }
.field { min-width:0; }
.field.wide { grid-column:1/-1; }
.field > span { display:block; margin-bottom:7px; color:#4d5c53; font-size:11px; font-weight:700; }
.field small { color:#a1aaa3; font-weight:400; }
input,textarea,select { width:100%; border:1px solid #dfe7df; border-radius:5px; outline:0; color:var(--ink); background:#fbfdfb; }
input,select { height:39px; padding:0 11px; }
textarea { display:block; resize:vertical; padding:13px; line-height:1.7; }
input:focus,textarea:focus,select:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(15,156,131,.11); }
.button { min-height:38px; padding:0 13px; border:1px solid transparent; border-radius:5px; white-space:nowrap; font-size:11px; font-weight:700; }
.button.primary { color:#fff; background:var(--teal); }
.button.primary:hover { background:var(--teal-dark); }
.button.ghost { color:var(--teal-dark); border-color:#cfe2d8; background:#f7fbf7; }
.button:disabled { opacity:.5; cursor:not-allowed; }
.panel-foot,.skill-foot { padding:14px 22px; display:flex; align-items:center; justify-content:space-between; gap:14px; border-top:1px solid var(--line); color:var(--muted); font-size:10px; line-height:1.6; }
.action-field { display:flex; flex-direction:column; justify-content:flex-end; }
.skill-panel { margin-top:20px; }
.skill-panel textarea { margin:20px 22px; width:calc(100% - 44px); min-height:160px; }
.accounts-panel { margin-top:20px; }
.board-actions { display:flex; align-items:center; gap:8px; }
.board-actions .button { min-height:31px; padding:0 10px; font-size:10px; }
.board-toolbar { display:flex; justify-content:space-between; gap:16px; padding:15px 22px; border-bottom:1px solid var(--line); }
.search { position:relative; flex:1; max-width:390px; }
.search span { position:absolute; top:9px; left:11px; color:var(--muted); }
.search input { padding-left:30px; height:34px; }
.filter-tabs { display:flex; gap:5px; }
.filter { padding:0 10px; border:0; border-radius:4px; background:transparent; color:var(--muted); font-size:10px; }
.filter.active { color:var(--teal-dark); background:#e7f3ec; font-weight:700; }
.progress { height:34px; position:relative; background:#edf4ee; overflow:hidden; }
.progress span { display:block; height:100%; width:0; background:#dff395; transition:width .2s; }
.progress strong { position:absolute; inset:0; display:grid; place-items:center; color:var(--teal-dark); font:10px ui-monospace,monospace; }
.account-list { min-height:170px; max-height:600px; overflow:auto; }
.account-row { display:grid; grid-template-columns:28px minmax(130px,1.2fr) 1fr .9fr .8fr auto; gap:12px; align-items:center; padding:14px 22px; border-bottom:1px solid #edf2ed; }
.account-row:hover { background:#f8fcf8; }
.account-row input { width:15px; height:15px; accent-color:var(--teal); }
.account-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:800; }
.account-sub,.account-posts,.account-result { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); font-size:10px; }
.account-posts { font-family:ui-monospace,monospace; }
.status-chip { display:inline-block; width:max-content; padding:5px 7px; border-radius:4px; background:#edf5ed; color:#368160; font-size:10px; font-weight:700; }
.status-chip.problem { background:#fff0e8; color:var(--red); }
.status-chip.pending { background:#f2f3eb; color:var(--gold); }
.check-one { min-height:30px; padding:0 9px; font-size:10px; }
.empty { display:grid; place-items:center; min-height:170px; color:#9ca79f; font-size:12px; }
.schedule-panel,.latest-panel { margin-top:20px; }
.schedule-row { display:flex; align-items:center; gap:9px; padding:22px; color:var(--muted); font-size:12px; }
.schedule-row input { width:88px; }
.schedule-row select { width:105px; }
.hint { margin:0; padding:0 22px 22px; color:var(--muted); font-size:10px; line-height:1.7; }
.latest-results { max-height:300px; overflow:auto; }
.latest-item { display:grid; grid-template-columns:minmax(100px,.75fr) 100px 1fr; gap:12px; align-items:center; padding:14px 22px; border-bottom:1px solid #edf2ed; }
.latest-item strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.latest-item time,.latest-item p { margin:0; color:var(--muted); font-size:10px; }
.latest-item p { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.toast { position:fixed; right:25px; bottom:25px; max-width:380px; padding:12px 16px; border-radius:5px; background:var(--ink); color:#fff; opacity:0; transform:translateY(10px); pointer-events:none; transition:.2s; font-size:12px; }
.toast.show { opacity:1; transform:translateY(0); }
@media (max-width:900px) { .grid,.lower-grid { grid-template-columns:1fr; } .hero { display:block; } .hero-note { margin-top:24px; width:max-content; } .account-row { grid-template-columns:28px minmax(110px,1fr) 1fr auto; } .account-row > :nth-child(4),.account-row > :nth-child(5) { display:none; } }
@media (max-width:620px) { .topbar { padding:0 17px; } .top-status { display:none; } .shell { padding:35px 16px 55px; } .hero h1 { font-size:40px; } .form-grid { grid-template-columns:1fr; padding:18px; } .field.wide { grid-column:auto; } .panel-head,.panel-foot,.skill-foot,.board-toolbar { padding-left:18px; padding-right:18px; } .panel-head { align-items:flex-start; } .board-actions { flex-wrap:wrap; justify-content:flex-end; } .board-toolbar { display:block; } .search { max-width:none; } .filter-tabs { margin-top:10px; } .skill-panel textarea { margin:18px; width:calc(100% - 36px); } .account-row { grid-template-columns:25px minmax(110px,1fr) auto; padding-left:18px; padding-right:18px; } .account-row > :nth-child(4),.account-row > :nth-child(5),.account-row > :nth-child(6) { display:none; } .schedule-row { flex-wrap:wrap; padding:18px; } .schedule-row .button { width:100%; } .latest-item { grid-template-columns:1fr auto; padding-left:18px; padding-right:18px; } .latest-item p { grid-column:1/-1; } }
