/* UI v9 overlay — 기록 탭(게이트·타임라인·D+1 체크) / 통계 탭(회복 추이) */
.v9-top{display:flex;flex-direction:column;gap:12px;margin:6px 0 4px}
.v9-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.v9-pill{display:inline-block;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:800;line-height:1.2}
.v9-pill-warn{background:#f2b54a;color:#3a2400}
.v9-pill-ok{background:#d9f4e8;color:#06694a}
.v9-pill-mute{background:#e6edf1;color:#3f5368}

.v9-gate{background:var(--txt,#10233e);color:#fff;border-radius:24px;padding:18px 18px 16px;box-shadow:var(--shadow,0 10px 30px rgba(52,84,103,.10));display:flex;flex-direction:column;gap:10px}
.v9-gate-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:#c3d3e0}
.v9-gate-title{font-size:20px;font-weight:800;line-height:1.35}
.v9-gate-sub,.v9-gate-note{font-size:13px;color:#c3d3e0;line-height:1.5}
.v9-gate-pass .v9-pill-ok{background:#bff0d8}
.v9-checks{list-style:none;margin:4px 0 0;padding:12px 0 0;border-top:1px solid #2c4660;display:flex;flex-direction:column;gap:10px}
.v9-check{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:8px;row-gap:2px;font-size:13px;align-items:baseline}
.v9-check-label{color:#d6e2ec}
.v9-check b{grid-column:2;font-weight:700;color:#fff;font-size:14px}
.v9-mark{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:900}
.v9-pass .v9-mark{background:#1d8f66;color:#fff}
.v9-fail .v9-mark{background:#f2b54a;color:#3a2400}
.v9-fail b{color:#f7c76d}
.v9-unknown .v9-mark{background:#44607a;color:#fff}
.v9-unknown b{color:#c3d3e0}

.v9-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.v9-day{min-height:58px;border:1px solid var(--line,#dfe9ed);background:#fff;color:var(--txt,#10233e);border-radius:16px;padding:8px 0 6px;display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer}
.v9-day b{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}
.v9-day span{font-size:11px;color:#566a7e}
.v9-day.on{background:#0a8f60;border-color:#0a8f60;color:#fff}
.v9-day.on span{color:#e3f7ee}
.v9-dot{width:6px;height:6px;border-radius:50%;background:transparent;margin-top:2px}
.v9-dot.on{background:#0aa76f}
.v9-day.on .v9-dot.on{background:#fff}

.v9-card{background:#fff;border:1px solid var(--line,#dfe9ed);border-radius:22px;padding:16px;box-shadow:0 7px 22px rgba(64,93,109,.07);display:flex;flex-direction:column;gap:10px}
.v9-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.v9-card-head h3{margin:0;font-size:15px;font-weight:800;color:var(--txt,#10233e)}
.v9-big{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--txt,#10233e)}
.v9-big small{font-size:12px;margin-left:2px;color:#566a7e;font-weight:700}
.v9-big.warn{color:#b4540a}
.v9-meta{font-size:12px;color:#566a7e;line-height:1.5}
.v9-note{margin:0;font-size:12px;color:#566a7e;line-height:1.55}
.v9-empty{font-size:13px;color:#566a7e;padding:4px 0}
.v9-stagebar{display:flex;height:12px;border-radius:6px;overflow:hidden;gap:2px;background:#eef3f6}
.v9-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:#566a7e}
.v9-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}
.v9-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.v9-tiles div{background:#f4f9fb;border-radius:12px;padding:9px 11px;display:flex;flex-direction:column;gap:2px}
.v9-tiles span{font-size:11px;color:#566a7e}
.v9-tiles b{font-size:14px;font-variant-numeric:tabular-nums}

.v9-chk .v9-form{display:flex;flex-direction:column;gap:10px}
.v9-form label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:600;color:var(--txt,#10233e)}
.v9-form select{min-height:44px;min-width:104px;border:1px solid #cfdbe2;border-radius:12px;padding:0 10px;background:#fff;color:var(--txt,#10233e);font-size:15px}
.v9-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:600}
.v9-seg{display:flex;gap:6px;flex-shrink:0}
.v9-seg button{min-height:44px;min-width:76px;padding:0 10px;border:1px solid #cfdbe2;background:#fff;color:var(--txt,#10233e);border-radius:12px;font-size:13px;font-weight:700;cursor:pointer}
.v9-seg button.on{background:#d9f4e8;border-color:#0a8f60;color:#06694a}
.v9-seg button.on.bad{background:#fdecd2;border-color:#b4540a;color:#7a3a05}
.v9-save{min-height:46px;border:0;border-radius:14px;background:#0a8f60;color:#fff;font-size:15px;font-weight:800;cursor:pointer}
.v9-save:active{transform:translateY(1px)}
.v9-detail-title{margin-top:10px}

.v9-trend{margin:0 0 12px}
.v9-chips{display:flex;gap:8px}
.v9-chip{min-height:40px;padding:0 16px;border:1px solid #cfdbe2;background:#fff;border-radius:999px;font-size:13px;font-weight:700;color:#3f5368;cursor:pointer}
.v9-chip.on{background:#0a8f60;border-color:#0a8f60;color:#fff}
.v9-spark{width:100%;height:auto;display:block}
.v9-axis{display:flex;justify-content:space-between;font-size:11px;color:#566a7e;font-variant-numeric:tabular-nums;padding:0 2px}
.v9-table{display:flex;flex-direction:column}
.v9-tr{display:grid;grid-template-columns:1.1fr repeat(4,1fr);padding:9px 0;font-size:14px;font-variant-numeric:tabular-nums;border-bottom:1px solid #eef3f6}
.v9-tr span:not(:first-child){text-align:right}
.v9-th{font-size:11px;color:#566a7e;border-bottom-color:#dfe9ed}
.v9-tr .warn{color:#b4540a;font-weight:800}
