:root{--bg: #f7f7f5;--surface: #ffffff;--border: #e5e5e0;--text: #1a1a18;--muted: #6b6b66;--accent: #2a78d6;--danger: #d03b3b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--border)}.topbar .brand{font-weight:600;font-size:16px}.topbar .right{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:14px}.container{max-width:900px;margin:24px auto;padding:0 20px}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:18px 20px;margin-bottom:16px}.auth-wrap{max-width:380px;margin:8vh auto;padding:0 20px}h1{font-size:22px;font-weight:600}h2{font-size:18px;font-weight:600}h3{font-size:15px;font-weight:600}label{display:block;font-size:13px;color:var(--muted);margin:10px 0 4px}input,textarea,select{width:100%;padding:9px 11px;border:1px solid var(--border);border-radius:8px;font-size:14px;background:#fff}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent)}button{padding:9px 16px;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:8px;font-size:14px;cursor:pointer}button.secondary{background:#fff;color:var(--text);border-color:var(--border)}button:disabled{opacity:.6;cursor:default}.row{display:flex;gap:10px;align-items:center}.list-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.list-item:last-child{border-bottom:none}.muted{color:var(--muted);font-size:13px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:4px}.head-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.acc-select{width:auto;min-width:150px;padding:7px 10px;font-size:13px}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.kpi{background:var(--bg);border-radius:10px;padding:12px 14px}.kpi-label{font-size:12px;color:var(--muted)}.kpi-value{font-size:22px;font-weight:600;margin-top:4px;line-height:1.1}.kpi-delta{font-size:12px;margin-top:5px;color:var(--muted)}.kpi-delta.up{color:#0f8a52}.kpi-delta.down{color:#d03b3b}.badge{font-size:12px;padding:2px 8px;border-radius:6px;white-space:nowrap}.badge.accent{background:#e6f1fb;color:#0c447c}.badge.warn{background:#faeeda;color:#854f0b}.badge.danger{background:#fcebeb;color:#a32d2d}.badge.ok{background:#e1f5ee;color:#0f6e56}.badge.gray{background:var(--border);color:var(--muted)}.rec{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.rec:last-child{border-bottom:none}.rec-eff{font-size:13px;color:#0f8a52;margin-top:4px}.rec-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.dtable{width:100%;border-collapse:collapse;font-size:13px}.dtable th{text-align:right;font-weight:400;color:var(--muted);padding:6px}.dtable th:first-child{text-align:left}.dtable td{text-align:right;padding:10px 6px;border-top:1px solid var(--border)}.dtable td:first-child{text-align:left}.toggle{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}.toggle input{width:auto}.step{border-top:1px solid var(--border);padding:14px 0}.step:first-of-type{border-top:none;padding-top:4px}.step-head{display:flex;align-items:center;gap:10px}.step-badge{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;background:var(--border);color:var(--muted)}.step.done .step-badge{background:#1baf7a;color:#fff}.step.active .step-badge{background:var(--accent);color:#fff}.step.todo{opacity:.5}.step-title{font-size:15px;font-weight:500}.step-body{margin:10px 0 0 34px}details.card summary{cursor:pointer;font-weight:500;color:var(--text)}.error{color:var(--danger);font-size:13px;margin-top:8px}
