/* 轉盤（kit.css 之上只加版面）。字一律 ≥ 14px、可點的 ≥ 44px */
.wh-top { padding-bottom: 4px; }
.wh-grid { max-width: 1080px; margin: 0 auto; }
.wh-out { padding-top: 0; }
.wh-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wh-form textarea { min-height: 140px; }
.wh-chk { display: flex; align-items: center; gap: 8px; min-height: 50px; font-size: .95rem; }
.wh-chk input { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--accent); }
.wh-party { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; margin: 0 0 14px; }
.wh-party legend { padding: 0 6px; font-weight: 700; }
[hidden] { display: none !important; }

/* 核對卡：照雇主人事成本 .hc-check */
.wh-in { padding-top: 8px; display: grid; gap: var(--s2); }
.wh-check { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.wh-check > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 var(--s3); font-weight: 700; color: var(--band); }
.wh-check > summary::-webkit-details-marker { display: none; }
.wh-check > summary::after { content: "＋"; font-weight: 900; }
.wh-check[open] > summary::after { content: "－"; }
.wh-check .wh-form { padding: var(--s1) var(--s3) var(--s1); }
@media (min-width: 960px) { .wh-in { position: sticky; top: 76px; align-self: start; } }

/* 轉盤本體 */
.wh-stage { position: relative; width: min(100%, 320px); margin: 6px auto 0; aspect-ratio: 1; }
.wh-wheel { width: 100%; height: 100%; display: block; overflow: visible; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(2, 40, 80, .25)); }
.wh-pin { position: absolute; top: -6px; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 24px solid var(--gold, #E8A13A); z-index: 2; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.wh-l { font-family: var(--font-body); font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.wh-c { font: 700 16px var(--font-body); text-anchor: middle; }
.wh-spin { display: block; width: min(100%, 320px); margin: 14px auto 6px; min-height: 52px; font-size: 1.1rem; }
#wh-result { transition: opacity .3s; }
#wh-result.wh-wait { opacity: 0; }
@media (prefers-reduced-motion: reduce) { #wh-result { transition: none; } }

/* 結果 */
.wh-win { margin: 12px 0 0; padding-left: 1.6em; font-size: 1.05rem; }
.wh-win li { padding: 4px 0; font-weight: 700; }
.wh-tax { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid var(--line-strong); background: var(--paper, #F7F4EE); font-size: .95rem; }
.wh-tax.on { border-left-color: var(--gold, #E8A13A); background: #FFF8EC; }
.wh-tax b { display: block; }
.wh-tax span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .9rem; }
.wh-meta { margin: 14px 0 0; font-size: .9rem; }
.wh-meta div { display: grid; grid-template-columns: 5em 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.wh-meta dt { color: var(--ink-soft); }
.wh-meta dd { margin: 0; overflow-wrap: anywhere; }
.wh-meta code, .wh-code { font-size: .9rem; word-break: break-all; }
.wh-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }

.wh-verify { margin-top: 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 var(--s3); }
.wh-verify > summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 700; color: var(--band); list-style: none; }
.wh-verify > summary::-webkit-details-marker { display: none; }
.wh-verify > summary::before { content: "＋ "; }
.wh-verify[open] > summary::before { content: "－ "; }
.wh-verify[open] { padding-bottom: var(--s2); }
.wh-vok { color: #1C5B33; font-weight: 700; }
.wh-vbad { color: var(--warn, #B3261E); font-weight: 700; }
.wh-notes { margin: 18px 0 0; padding-left: 1.2em; font-size: .9rem; color: var(--ink-soft); }
.wh-notes li { margin: 6px 0; }
.wh-disclaim { font-size: .875rem; color: var(--ink-soft); margin-top: 14px; }
