/* 打擾總管 (claude-interruptgate-20261110): settings section and the 新舊並排 page. Tokens only (light and dark follow the theme). */
.igate-line{margin:0 16px 10px;line-height:1.6}
.igate-switches .preference-row small,.igate-shadow .preference-row small{line-height:1.55}
.igate-shadow,.igate-review-link{margin-top:12px}
.igate-count{color:var(--muted)}
.igate-review-link .preference-row.pressed{background:var(--hover)}
.igate-learned,.igate-recent{margin-top:6px}
.igate-learned>.fine,.igate-recent>.fine{margin:0 16px 10px;line-height:1.6}
.igate-learned-row{align-items:center}
.igate-del{flex-shrink:0;white-space:nowrap}
.igate-gone{opacity:.45}
.igate-recent-list{display:flex;flex-direction:column;gap:10px}
.igate-notice{background:var(--surface);border-radius:18px;padding:14px 16px}
.igate-notice-head{display:flex;gap:10px;align-items:baseline;justify-content:space-between}
.igate-notice-head strong{font-weight:620;overflow-wrap:anywhere;min-width:0}
.igate-when{flex-shrink:0;color:var(--muted);font-size:13px;white-space:nowrap}
.igate-notice-line{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.igate-actions,.igate-scope{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
.igate-scope-q{font-size:14px;color:var(--muted);flex-basis:100%}
.igate-chip{border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:7px 14px;font-size:14px;min-height:36px;white-space:nowrap}
.igate-chip.on,.igate-chip:active{border-color:var(--ink);background:var(--hover)}
.igate-chip.busy,.igate-choice.busy{opacity:.6;cursor:progress}
.igate-chip:disabled{opacity:.45}
.igate-said{margin:8px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.igate-said:empty{display:none}
.igate-retry{display:flex;align-items:center;gap:12px;margin:4px 16px}
/* 新舊並排 */
.igate-review-body{display:flex;flex-direction:column;gap:14px}
.igate-review-line{line-height:1.6;margin:0 0 8px}
.igate-progress{height:6px;border-radius:3px;background:var(--surface);overflow:hidden}
.igate-progress-bar{height:100%;background:var(--accent);transition:width var(--motion-main,240ms)}
.igate-counts{font-size:14px;color:var(--muted);margin:8px 0;line-height:1.6}
.igate-pair{border:1px solid var(--line);border-radius:22px;padding:16px;outline:0;background:var(--bg)}
.igate-pair-meta{margin:0 0 12px;font-size:13px;color:var(--muted)}
.igate-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.igate-col{background:var(--surface);border-radius:16px;padding:14px;min-width:0}
.igate-new{border:1px solid var(--line)}
.igate-col-h{margin:0 0 8px;font-size:13px;color:var(--muted);font-weight:600}
.igate-t{display:block;font-weight:640;line-height:1.5;overflow-wrap:anywhere}
.igate-b{margin:6px 0 0;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.igate-how{margin:8px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.igate-none{color:var(--muted)}
.igate-decision{display:inline-block;font-size:13px;font-weight:620;padding:3px 10px;border-radius:999px;margin-bottom:8px;background:var(--bg);border:1px solid var(--line)}
.igate-d-now{background:var(--accent);color:var(--inverse);border-color:var(--accent)}
.igate-why{margin:10px 0 0;font-size:14px;color:var(--muted);line-height:1.55}
.igate-opts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.igate-opt{border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:13px}
.igate-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(7.2em,1fr));gap:8px;margin-top:14px}.igate-choice{white-space:nowrap}
.igate-choice{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px;min-height:48px;padding:10px 8px;font-size:15px;font-weight:560}
.igate-choice.on{background:var(--accent);color:var(--inverse);border-color:var(--accent)}
.igate-note{display:flex;gap:8px;margin-top:10px;align-items:flex-end}
.igate-note-in{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface);color:var(--ink)}
.igate-note .igate-choice{flex-shrink:0;padding:10px 18px}
.igate-chosen{margin:10px 0 0;font-size:14px;color:var(--muted)}
.igate-chosen:empty{display:none}
.igate-nav{display:flex;justify-content:space-between;margin-top:12px}
.igate-empty{line-height:1.7}
@media(max-width:700px){
 .igate-cols{grid-template-columns:1fr}
 .igate-pair{padding:12px;border-radius:18px}
 .igate-choice{font-size:14px;padding:10px 4px}
}
/* The shared row rule puts a row's small text on the right on one line (a value); here it is a sentence under the title. */
.igate-learned-row .preference-text,.igate-review-link .preference-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.igate-learned-row .preference-text small,.igate-review-link .preference-text small{white-space:normal;text-align:left;overflow:visible;max-width:none;margin:0}
.igate-learned-row .preference-text>span{white-space:normal}
.igate-counts{display:flex;flex-wrap:wrap;gap:4px 14px}.igate-count-i{white-space:nowrap}
.igate-lead{margin:0 0 6px;font-size:14px;color:var(--muted);line-height:1.55}
/* 好用度巡頁第 4 批（a 組）：最上面一句狀態；每一類寫結果〔先不響｜照常響〕（樣子照上下班模式 .wh-result）；影子期數字收進〔細節〕 */
.igate-status{margin:0 0 12px}
.igate-results,.igate-shadow-ux{container-type:inline-size}
.igate-results .wh-result,.igate-shadow-ux .wh-result{padding:10px 16px}
.igate-results .wh-result:first-child,.igate-shadow-ux .wh-result:first-child{padding-top:10px}
.igate-results .wh-result-hint,.igate-shadow-ux .wh-result-hint{font-size:13px;color:var(--muted)}
.igate-result .wh-result-seg{flex-wrap:nowrap}
.igate-result .segmented button{white-space:nowrap}
@container (max-width:300px){.igate-result{grid-template-columns:minmax(0,1fr)}.igate-result .wh-result-seg{grid-column:1;grid-row:auto;justify-self:start}}   /* 手機 1.0 倍：名稱與二選一同一行（跟原本開關一樣高，頁面不變長）；放大字才上下 */
.igate-shadow-ux .ux-fold{margin:-10px 16px 6px;border:0;background:transparent}   /* 影子期〔細節〕：一行小字，不是一張卡 */
.igate-shadow-ux .ux-fold-head{min-height:28px;padding:2px 0;font-size:13px;font-weight:500;color:var(--muted);justify-content:flex-start;gap:4px}
.igate-shadow-ux .ux-fold-body{padding:0 0 4px}
/* work-hours.css 的 @container (max-width:360px) 也會套到這裡（最近的容器是 .igate-results）：格子 ≥300 px 時名稱與二選一同一行 */
@container (min-width:300px){.igate-results .igate-result,.igate-shadow-ux .igate-result{grid-template-columns:minmax(0,1fr) auto}.igate-results .igate-result .wh-result-seg,.igate-shadow-ux .igate-result .wh-result-seg{grid-column:2;grid-row:1;justify-self:end}}
