.thci-wrap{--a:#0d9488;--b:#e3f6f4;--o:#f59e0b;--bd:#e1e7f0;--tx:#1a2233;--mu:#5d6b82;max-width:960px;margin:24px auto;color:var(--tx);font-family:inherit;box-sizing:border-box}
.thci-wrap *,.thci-wrap *::before,.thci-wrap *::after{box-sizing:border-box}
.thci-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.thci-panel{background:#fff;border:1px solid var(--bd);border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(20,40,80,.05)}
.thci-field{margin-bottom:16px}
.thci-field>label,.thci-lr label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.thci-lr{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.thci-lr label{margin-bottom:0}
.thci-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.thci-mt{margin-top:8px}
.thci-wrap input[type=number],.thci-wrap select{width:100%;padding:11px 12px;border:1px solid var(--bd);border-radius:8px;font-size:16px;background:#fff;color:var(--tx);height:auto;line-height:1.3}
.thci-lr select{width:auto;max-width:190px;padding:6px 8px;font-size:14px}
.thci-wrap input:focus,.thci-wrap select:focus{outline:2px solid var(--a);outline-offset:1px;border-color:var(--a)}
.thci-wrap input[type=range]{width:100%;margin:12px 0 0;accent-color:var(--a);padding:0;border:0;height:auto}
.thci-suffix{position:relative}
.thci-suffix span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--mu);font-size:14px;pointer-events:none}
.thci-error{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fdecec;color:#b42318;font-size:14px}
.thci-secondary{background:#fff;color:var(--a);border:1px solid var(--a);border-radius:8px;padding:10px 20px;font-size:15px;cursor:pointer}
.thci-primary{width:100%;margin-top:16px;background:var(--a);color:#fff;border:0;border-radius:8px;padding:12px;font-size:16px;font-weight:600;cursor:pointer}
.thci-primary:hover{filter:brightness(.92)}
.thci-primary[hidden]{display:none}
.thci-hero{text-align:center;background:var(--b);border-radius:12px;padding:18px;margin-bottom:16px}
.thci-hero span{display:block;color:var(--mu);font-size:14px}
.thci-hero strong{display:block;font-size:36px;line-height:1.15;word-break:break-word}
.thci-hint{margin:0 0 12px;text-align:center;font-size:14px;color:var(--mu)}
.thci-hint[hidden]{display:none}
.thci-stats{margin:0}
.thci-stats>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--bd)}
.thci-stats>div[hidden]{display:none}
.thci-stats dt{color:var(--mu);margin:0}
.thci-stats dd{margin:0;font-weight:700;text-align:right}
.thci-hl dd{color:var(--a)}
.thci-chart-panel,.thci-schedule{margin-top:20px}
.thci-panel h3{margin:0 0 12px;font-size:20px}
.thci-chart svg{width:100%;height:auto;display:block}
.thci-chart .bd{fill:#0ea5e9}.thci-chart .bi{fill:var(--o)}
.thci-chart text{font-size:11px;fill:#5d6b82;font-family:inherit}
.thci-chart .axis{stroke:#e1e7f0;stroke-width:1}
.thci-legend{display:flex;gap:16px;font-size:13px;color:var(--mu);margin-top:8px}
.thci-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.thci-legend .d{background:#0ea5e9}.thci-legend .i{background:var(--o)}
.thci-shead{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.thci-shead h3{margin:0}
.thci-actions{display:flex;gap:10px;flex-wrap:wrap}
.thci-toggle{display:inline-flex;border:1px solid var(--bd);border-radius:8px;overflow:hidden}
.thci-toggle button{border:0;background:#fff;padding:8px 16px;cursor:pointer;font-size:14px;color:var(--tx)}
.thci-toggle button.on{background:var(--a);color:#fff}
.thci-btn{border:1px solid var(--a);background:#fff;color:var(--a);padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}
.thci-btn:hover{background:var(--a);color:#fff}
.thci-scroll{overflow:auto;max-height:460px;border:1px solid var(--bd);border-radius:10px}
.thci-table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px;margin:0}
.thci-table th,.thci-table td{padding:10px 12px;text-align:right;border-bottom:1px solid var(--bd);white-space:nowrap}
.thci-table th:first-child,.thci-table td:first-child{text-align:left}
.thci-table thead th{position:sticky;top:0;background:#f3f6fb;font-weight:700;z-index:1}
.thci-table tbody tr:nth-child(even){background:#fafcff}
.thci-note{font-size:13px;color:var(--mu);margin:14px 4px 0}
@media (max-width:760px){.thci-grid{grid-template-columns:1fr}.thci-hero strong{font-size:30px}}
