.time-shell { width: min(1280px, 100%); }
.time-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 22px; }
.time-heading h1 { margin-bottom: 8px; }
.schedule-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.schedule-status time { padding-left: 10px; border-left: 1px solid var(--border); color: var(--text); font-variant-numeric: tabular-nums; }
.status-lamp, .live-pulse { width: 8px; height: 8px; border-radius: 50%; background: #6bd29c; box-shadow: 0 0 10px rgba(107,210,156,.55); }
.status-lamp.is-stale { background: var(--gold); box-shadow: 0 0 10px rgba(255,215,94,.5); }
.status-lamp.is-error { background: #ef7d7d; box-shadow: 0 0 10px rgba(239,125,125,.5); }
.schedule-tabs { display: flex; gap: 8px; margin: 0 0 18px; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: rgba(8,12,17,.44); width: fit-content; max-width: 100%; }
.schedule-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 7px 16px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); background: transparent; font-weight: 700; line-height: 1.2; text-align: center; box-sizing: border-box; cursor: pointer; }
.schedule-tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.schedule-tab.is-active { border-color: rgba(114,199,255,.25); color: var(--text); background: rgba(114,199,255,.12); box-shadow: inset 0 -2px 0 var(--accent); }
.tab-count { min-width: 21px; min-height: 21px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 1px 6px; border-radius: 999px; color: #091018; background: var(--accent); font-size: 10px; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.tab-panel[hidden] { display: none; }
.live-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.live-card { --live-accent: var(--accent); position: relative; min-height: 198px; display: flex; flex-direction: column; padding: 18px 20px 15px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(130deg,rgba(22,31,43,.98),rgba(13,18,26,.98)); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.live-card::after { position: absolute; right: -48px; top: -72px; width: 190px; height: 190px; border: 1px solid color-mix(in srgb,var(--live-accent),transparent 72%); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.012),0 0 0 42px rgba(255,255,255,.009); content: ""; pointer-events: none; }
.live-current { --live-accent: #72c7ff; }
.live-next { --live-accent: #ffd75e; }
.live-card-top,.live-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live-state { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-pulse { width: 7px; height: 7px; background: var(--live-accent); box-shadow: 0 0 12px color-mix(in srgb,var(--live-accent),transparent 28%); }
.live-time { color: var(--live-accent); font-family: ui-monospace,Consolas,monospace; font-size: 22px; font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.live-task { display: flex; align-items: center; gap: 9px; min-height: 48px; margin-top: 15px; color: var(--text); font-size: clamp(17px,2.4vw,23px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.task-label { display: block; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent !important; box-shadow: none; }
.task-label.grade-s { color: #36e7ec; }
.task-label.grade-a { color: #54edb0; }
.task-label.grade-b { color: #ffe95c; }
.task-label.grade-c { color: #ffae45; }
.task-label.grade-d { color: #ff7935; }
.task-label.grade-special { color: #b991ff; }
.task-label.grade-unrated { color: #b1bac6; }
.live-task > .task-label { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; min-height: 24px; margin-top: 4px; color: var(--muted); font-size: 12px; }
.live-meta .node-location { color: var(--text); }
.live-card-bottom { margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 11px; }
.live-card-actions { position: relative; z-index: 1; display: flex; justify-content: flex-end; margin-top: 8px; }
.countdown { color: var(--live-accent); font: 700 15px ui-monospace,Consolas,monospace; font-variant-numeric: tabular-nums; }
.panel.future-panel,.panel.notification-settings,.panel.subscriptions-panel { padding: 18px; }
.future-panel { margin-bottom: 18px; }
.future-heading { align-items: end; margin-bottom: 14px; }
.future-summary { margin: 0 0 2px; color: #c0c9d4; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.grade-chip { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; gap: 8px; min-height: 30px; padding: 4px 11px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1.2; text-align: center; white-space: nowrap; }
.grade-chip small { font-size: 11px; font-weight: 650; opacity: .86; }
.grade-s { --grade-color: #00d9df; color: #36e7ec; border-color: rgba(0,217,223,.38); background: rgba(0,217,223,.12); }
.grade-a { --grade-color: #00e693; color: #54edb0; border-color: rgba(0,230,147,.36); background: rgba(0,230,147,.12); }
.grade-b { --grade-color: #ffe500; color: #ffe95c; border-color: rgba(255,229,0,.38); background: rgba(255,229,0,.12); }
.grade-c { --grade-color: #ff9000; color: #ffae45; border-color: rgba(255,144,0,.38); background: rgba(255,144,0,.12); }
.grade-d { --grade-color: #e85a00; color: #ff7935; border-color: rgba(232,90,0,.4); background: rgba(232,90,0,.13); }
.grade-special { --grade-color: #9664e8; color: #b991ff; border-color: rgba(150,100,232,.4); background: rgba(150,100,232,.14); }
.grade-unrated { --grade-color: #9aa3af; color: #b1bac6; border-color: rgba(154,163,175,.28); background: rgba(154,163,175,.09); }
.filter-bar { display: grid; gap: 14px; padding: 14px; border: 1px solid rgba(39,50,66,.85); border-radius: 11px; background: rgba(8,12,17,.42); }
.filter-topline { display: flex; align-items: end; justify-content: space-between; gap: 16px; min-width: 0; }
.range-options { position: relative; display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.range-indicator { position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 100%; border: 1px solid rgba(114,199,255,.42); border-radius: 8px; background: linear-gradient(145deg,rgba(114,199,255,.2),rgba(114,199,255,.1)); box-shadow: 0 3px 12px rgba(54,157,220,.12),inset 0 1px 0 rgba(255,255,255,.08); pointer-events: none; transform: translate3d(0,0,0); transition: transform .34s cubic-bezier(.2,1.38,.35,1),width .24s cubic-bezier(.2,.8,.2,1); }
.range-button { position: relative; z-index: 1; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 6px 11px; border: 1px solid rgba(167,177,190,.16); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.012); line-height: 1.2; text-align: center; cursor: pointer; font-size: 12px; font-weight: 700; transition: color .17s ease,border-color .17s ease,transform .22s cubic-bezier(.2,1.3,.35,1),background-color .17s ease; }
.range-button:hover { color: var(--text); border-color: rgba(167,177,190,.34); background: rgba(255,255,255,.035); }
.range-button:active { transform: scale(.96); }
.range-button.is-selected { color: var(--text); border-color: transparent; background: transparent; transform: scale(1.015); }
.grade-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; }
.grade-filters legend { width: 100%; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-grade { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; gap: 6px; min-height: 32px; padding: 4px 8px; border: 1px solid color-mix(in srgb,var(--grade-color),transparent 72%); border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; }
.filter-grade input { width: 13px; height: 13px; margin: 0; accent-color: var(--grade-color); }
.filter-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: end; gap: 10px; min-width: 0; }
.filter-field { display: grid; align-content: start; gap: 6px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.select-control { position: relative; min-width: 0; }
.native-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.select-trigger { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border: 1px solid rgba(167,177,190,.2); border-radius: 8px; color: var(--text); background: linear-gradient(145deg,#111821,#0d1218); text-align: left; cursor: pointer; transition: border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .18s ease; }
.select-trigger:hover { border-color: rgba(114,199,255,.48); background: #121b25; }
.select-trigger:focus-visible,.select-trigger[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114,199,255,.1); outline: none; }
.select-trigger:active { transform: scale(.99); }
.select-trigger > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 1.7px solid #b9c4d0; border-bottom: 1.7px solid #b9c4d0; transform: rotate(45deg) translateY(-2px); transition: transform .2s cubic-bezier(.2,1.3,.35,1); }
.select-trigger[aria-expanded="true"] .select-chevron { transform: rotate(225deg) translate(-2px,-1px); }
.select-menu { position: absolute; z-index: 24; top: calc(100% + 6px); left: 0; right: 0; max-height: min(320px,44vh); overflow-y: auto; padding: 5px; border: 1px solid rgba(114,199,255,.32); border-radius: 10px; background: rgba(14,20,28,.98); box-shadow: 0 16px 36px rgba(0,0,0,.42),0 3px 12px rgba(0,0,0,.22); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0,-9px,0) scale(.985); transform-origin: top center; transition: opacity .18s ease,transform .25s cubic-bezier(.2,1.2,.35,1),visibility 0s linear .25s; }
.select-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(0,0,0) scale(1); transition-delay: 0s; }
.select-menu.opens-up { top: auto; bottom: calc(100% + 6px); transform-origin: bottom center; }
.select-menu.opens-up:not(.is-open) { transform: translate3d(0,9px,0) scale(.985); }
.select-option { width: 100%; min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: #c2ccd8; background: transparent; text-align: left; cursor: pointer; font-size: 13px; transition: color .12s ease,background .12s ease,border-color .12s ease; }
.select-option:hover,.select-option.is-active { color: var(--text); border-color: rgba(114,199,255,.16); background: rgba(114,199,255,.09); }
.select-option[aria-selected="true"] { color: #d9f0ff; background: rgba(114,199,255,.13); }
.select-option-mark { color: var(--accent); font-size: 12px; }
.search-field { display: flex; margin-top: 4px; }
.search-field input { width: 100%; min-width: 0; min-height: 40px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 7px 0 0 7px; color: var(--text); background: #0d1218; font-size: 13px; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field button { width: 36px; flex: 0 0 36px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0; border: 1px solid var(--border); border-left: 0; border-radius: 0 7px 7px 0; color: var(--muted); background: #0d1218; font-size: 20px; line-height: 1; text-align: center; cursor: pointer; }
.search-field button:hover { color: var(--text); background: var(--panel2); }
.quiet-button { width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; line-height: 1.2; text-align: center; justify-self: stretch; border-color: rgba(167,177,190,.2); background: rgba(255,255,255,.015); transition: border-color .16s ease,color .16s ease,background .16s ease; }
.quiet-button:hover { border-color: rgba(114,199,255,.42); }
.future-list { margin-top: 11px; }
.action-status { min-height: 16px; margin: 7px 0 0; color: var(--green); font-size: 10px; }
.action-status:empty { display: none; }
.action-status.is-error { color: #ffaaaa; }
.day-heading { display: flex; align-items: center; gap: 12px; margin: 19px 0 8px; color: #c0c9d4; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.day-heading::after { height: 1px; flex: 1; background: linear-gradient(90deg,var(--border),transparent); content: ""; }
.future-row { display: grid; grid-template-columns: minmax(100px,128px) minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 76px; margin-bottom: 7px; padding: 11px 13px; border: 1px solid rgba(89,107,128,.36); border-left: 3px solid rgba(89,107,128,.46); border-radius: 10px; background: linear-gradient(110deg,rgba(22,30,41,.82),rgba(15,21,29,.68)); box-shadow: inset 0 1px 0 rgba(255,255,255,.018); transition: border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; }
.future-row:hover { border-color: rgba(114,199,255,.36); border-left-color: var(--accent); background: linear-gradient(110deg,rgba(25,39,52,.9),rgba(16,24,33,.82)); box-shadow: 0 5px 16px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035); transform: translateY(-1px); }
.row-time { display: grid; gap: 2px; color: #c0c9d4; font-size: 12px; }
.row-time strong { color: var(--text); font: 700 16px ui-monospace,Consolas,monospace; font-variant-numeric: tabular-nums; }
.row-task { min-width: 0; display: grid; gap: 2px; }
.row-task strong { overflow: hidden; font-size: 15px; line-height: 1.45; text-overflow: ellipsis; }
.row-task span { color: #c0c9d4; font-size: 14px; }
.row-actions { display: flex; align-items: center; justify-content: end; gap: 9px; }
.row-actions .grade-chip { min-width: 52px; justify-content: center; }
.subscribe-button,.remove-subscription { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 6px 11px; border: 1px solid #344150; border-radius: 7px; color: #b3bdc8; background: rgba(255,255,255,.025); font-size: 12px; font-weight: 650; line-height: 1.2; text-align: center; cursor: pointer; white-space: nowrap; }
.subscribe-button:hover { color: var(--text); border-color: rgba(114,199,255,.42); background: rgba(114,199,255,.07); }
.remove-subscription:hover { color: #06111a; background: var(--accent); }
.subscribe-button[aria-pressed="true"] { color: #c4ccd5; border-color: rgba(167,177,190,.24); background: rgba(255,255,255,.035); }
.subscribe-button[aria-pressed="true"]:hover { color: #f3a0a0; border-color: rgba(243,160,160,.38); background: rgba(243,160,160,.07); }
.load-more { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: min(100%,320px); min-height: 40px; margin: 14px auto 0; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: var(--panel2); line-height: 1.2; text-align: center; font-weight: 700; cursor: pointer; }
.load-more:hover { border-color: var(--accent); }
.list-empty { display: flex; justify-content: center; align-items: center; gap: 9px; min-height: 94px; color: var(--muted); font-size: 12px; }
.loading-mark { width: 14px; height: 14px; display: inline-block; border: 2px solid rgba(114,199,255,.25); border-top-color: var(--accent); border-radius: 50%; animation: time-spin .8s linear infinite; }
@keyframes time-spin { to { transform: rotate(1turn); } }
.notice { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 11px; }
.notice.error { color: #ffd3d3; border: 1px solid rgba(255,146,146,.32); background: rgba(255,146,146,.07); }
.schedule-load-error { align-items: center; justify-content: space-between; gap: 10px 14px; }
.schedule-load-error > span { flex: 1 1 220px; min-width: 0; line-height: 1.45; overflow-wrap: anywhere; }
.schedule-retry-button { min-height: 38px; flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgba(255,170,170,.38); border-radius: 7px; color: #ffe4e4; background: rgba(255,255,255,.045); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.schedule-retry-button:hover:not(:disabled) { border-color: rgba(255,190,190,.72); background: rgba(255,180,180,.1); }
.schedule-retry-button:active:not(:disabled) { transform: scale(.97); }
.schedule-retry-button:disabled { opacity: .55; cursor: progress; }
.notice.info { color: var(--muted); border: 1px solid var(--border); background: rgba(8,12,17,.3); }
.notification-settings { margin-bottom: 15px; }
.local-only { color: var(--muted); font-size: 10px; }
.lead-setting { --lead-progress: 50%; margin: 3px 0 2px; padding: 15px 16px 12px; border: 1px solid rgba(114,199,255,.22); border-radius: 10px; background: linear-gradient(115deg,rgba(114,199,255,.065),rgba(8,12,17,.38) 62%); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.lead-setting-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lead-setting-heading label { color: var(--text); font-size: 13px; font-weight: 750; cursor: pointer; }
.lead-setting-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.lead-value { min-width: 92px; min-height: 36px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; box-sizing: border-box; padding: 7px 11px; border: 1px solid rgba(114,199,255,.36); border-radius: 9px; color: #b9e5ff; background: rgba(114,199,255,.1); font: 800 15px/1.2 ui-monospace,Consolas,monospace; text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; transition: transform .18s cubic-bezier(.2,1.35,.35,1),background-color .18s ease,border-color .18s ease; }
.lead-setting:focus-within .lead-value { transform: translateY(-1px) scale(1.035); border-color: rgba(114,199,255,.64); background: rgba(114,199,255,.15); }
.lead-slider { display: block; width: 100%; height: 28px; margin: 12px 0 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; touch-action: pan-y; }
.lead-slider::-webkit-slider-runnable-track { height: 7px; border: 1px solid rgba(167,177,190,.15); border-radius: 999px; background: linear-gradient(90deg,#72c7ff 0 var(--lead-progress),rgba(167,177,190,.2) var(--lead-progress) 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,.32); }
.lead-slider::-moz-range-track { height: 7px; border: 1px solid rgba(167,177,190,.15); border-radius: 999px; background: rgba(167,177,190,.2); box-shadow: inset 0 1px 2px rgba(0,0,0,.32); }
.lead-slider::-moz-range-progress { height: 7px; border-radius: 999px; background: #72c7ff; }
.lead-slider::-webkit-slider-thumb { width: 19px; height: 19px; margin-top: -7px; appearance: none; -webkit-appearance: none; border: 3px solid #d9f1ff; border-radius: 50%; background: #319bd7; box-shadow: 0 0 0 4px rgba(114,199,255,.14),0 3px 10px rgba(0,0,0,.36); transition: transform .16s cubic-bezier(.2,1.45,.35,1),box-shadow .16s ease; }
.lead-slider::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #d9f1ff; border-radius: 50%; background: #319bd7; box-shadow: 0 0 0 4px rgba(114,199,255,.14),0 3px 10px rgba(0,0,0,.36); transition: transform .16s cubic-bezier(.2,1.45,.35,1),box-shadow .16s ease; }
.lead-slider:hover::-webkit-slider-thumb,.lead-slider:focus-visible::-webkit-slider-thumb { transform: scale(1.16); box-shadow: 0 0 0 6px rgba(114,199,255,.18),0 3px 10px rgba(0,0,0,.36); }
.lead-slider:hover::-moz-range-thumb,.lead-slider:focus-visible::-moz-range-thumb { transform: scale(1.16); box-shadow: 0 0 0 6px rgba(114,199,255,.18),0 3px 10px rgba(0,0,0,.36); }
.lead-slider:focus-visible { outline: 2px solid rgba(114,199,255,.66); outline-offset: 3px; border-radius: 8px; }
.lead-scale { display: flex; justify-content: space-between; color: #8995a3; font-size: 10px; font-variant-numeric: tabular-nums; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(39,50,66,.75); }
.setting-row strong { font-size: 13px; }
.setting-row p { max-width: 680px; margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.switch-control { min-width: 124px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; gap: 10px; padding: 5px 12px; border: 1px solid rgba(117,139,162,.32); border-radius: 999px; color: #aab7c5; background: linear-gradient(180deg,rgba(20,29,40,.94),rgba(12,19,28,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035),0 2px 7px rgba(0,0,0,.14); cursor: pointer; font-size: 11px; line-height: 1.2; text-align: center; white-space: nowrap; transition: color .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .14s ease; }
.switch-control:hover { border-color: rgba(114,199,255,.58); color: #e8f6ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.06),0 0 0 3px rgba(114,199,255,.07),0 4px 12px rgba(0,0,0,.2); }
.switch-control:active { transform: scale(.97); }
.switch-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.switch-track { width: 40px; height: 24px; flex: 0 0 40px; display: inline-flex; align-items: center; padding: 3px; box-sizing: border-box; border: 1px solid rgba(133,151,171,.38); border-radius: 999px; background: linear-gradient(180deg,#26313e,#1b2530); box-shadow: inset 0 1px 3px rgba(0,0,0,.34); transition: background .2s ease,border-color .2s ease,box-shadow .2s ease; }
.switch-thumb { width: 16px; height: 16px; flex: 0 0 16px; display: block; border-radius: 50%; background: linear-gradient(180deg,#f2f6fa,#b7c3cf); box-shadow: 0 1px 3px rgba(0,0,0,.35); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.85,.25,1.15),background .18s ease,box-shadow .18s ease; }
.switch-control b { min-width: 3em; color: currentColor; font-size: 11px; font-weight: 800; line-height: 1; text-align: center; letter-spacing: .02em; }
.switch-control[aria-checked="true"] { border-color: rgba(114,199,255,.46); color: #dff3ff; background: linear-gradient(180deg,rgba(24,50,68,.96),rgba(13,29,42,.98)); }
.switch-control[aria-checked="true"] .switch-track { border-color: rgba(114,199,255,.8); background: linear-gradient(145deg,#1685c7,#32b8f3); box-shadow: inset 0 1px 3px rgba(6,41,66,.28),0 0 9px rgba(62,175,235,.17); }
.switch-control[aria-checked="true"] .switch-thumb { background: linear-gradient(180deg,#fff,#d9f1ff); box-shadow: 0 1px 4px rgba(3,38,63,.34),0 0 5px rgba(255,255,255,.28); transform: translateX(16px); }
.switch-control[aria-checked="false"]:hover .switch-track { border-color: rgba(159,177,197,.7); }
.switch-control[aria-checked="true"]:hover .switch-track { background: linear-gradient(145deg,#1b96da,#45c4fb); }
.primary-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 7px 12px; border: 1px solid rgba(114,199,255,.35); border-radius: 8px; color: #09131b; background: var(--accent); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; white-space: nowrap; }
.primary-button:hover { filter: brightness(1.08); }
.primary-button[disabled] { opacity: .65; cursor: not-allowed; }
.subscriptions-total { color: var(--muted); font-size: 11px; }
.subscriptions-list { display: grid; gap: 8px; }
.subscription-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 13px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 9px; background: rgba(8,12,17,.34); }
.subscription-main { display: grid; gap: 5px; min-width: 0; }
.subscription-title { overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.subscription-detail { color: var(--muted); font-size: 10px; }
.subscription-controls { display: flex; align-items: center; gap: 10px; }
.round-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; white-space: nowrap; cursor: pointer; }
.round-toggle input { accent-color: var(--accent); }
.remove-subscription { color: #e49a9a; border-color: rgba(228,154,154,.27); background: rgba(228,154,154,.06); }
.subscription-empty { padding: 26px 16px; border: 1px dashed var(--border); border-radius: 9px; color: var(--muted); text-align: center; font-size: 12px; }
.subscription-empty a { display: inline-block; margin-top: 8px; font-weight: 700; }
.rating-management { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border: 1px solid rgba(114,199,255,.18); border-radius: 8px; background: rgba(114,199,255,.035); }
.rating-management p { margin: 0; color: var(--muted); font-size: 11px; }
.rating-restore-button { width: auto; min-height: 38px; padding-inline: 12px; justify-self: auto; white-space: nowrap; }
.rating-restore-button:disabled { opacity: .55; cursor: not-allowed; }
.rating-dialog { width: min(440px,calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); overflow: auto; margin: auto; padding: 0; border: 1px solid rgba(114,199,255,.3); border-radius: 14px; color: var(--text); background: #101720; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.rating-dialog::backdrop { background: rgba(3,6,10,.74); backdrop-filter: blur(3px); }
.rating-dialog-form { display: grid; gap: 12px; padding: 22px; }
.rating-dialog-form .eyebrow { margin: 0; }
.rating-dialog-form h2 { margin: -8px 0 0; font-size: 20px; }
.rating-dialog-help { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.rating-select-label { margin-bottom: -7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.rating-editor-select { width: 100%; min-height: 46px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; color: var(--text); background: #0b1118; font: inherit; }
.rating-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 5px; }
.rating-dialog-actions .quiet-button { width: auto; min-height: 40px; padding-inline: 13px; }
.rating-edit-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 5px 9px; border: 1px solid rgba(114,199,255,.26); border-radius: 7px; color: #bfe5fa; background: rgba(114,199,255,.065); font-size: 11px; font-weight: 750; line-height: 1.2; text-align: center; cursor: pointer; white-space: nowrap; }
.rating-edit-button:hover,.rating-edit-button.is-customized { border-color: rgba(114,199,255,.5); color: var(--text); background: rgba(114,199,255,.14); }
.rating-edit-button:focus-visible,.preview-button:focus-visible,.rating-restore-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sound-options { min-width: 0; margin: 6px 0 2px; padding: 13px 0 0; border: 0; border-top: 1px solid rgba(39,50,66,.75); }
.sound-options legend { padding: 0 8px 0 0; color: var(--text); font-size: 13px; font-weight: 800; }
.sound-options-help { margin: -2px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.sound-option-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.sound-option { display: grid; align-content: space-between; gap: 12px; min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(145deg,rgba(255,255,255,.025),rgba(8,12,17,.35)); }
.sound-option:has(.sound-choice input:checked) { border-color: rgba(114,199,255,.5); background: linear-gradient(145deg,rgba(114,199,255,.1),rgba(8,12,17,.35)); box-shadow: inset 0 0 0 1px rgba(114,199,255,.08); }
.sound-option-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.sound-choice { display: flex; align-items: flex-start; gap: 8px; min-width: 0; min-height: 42px; cursor: pointer; }
.sound-choice input { width: 17px; height: 17px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.sound-choice > span { display: grid; gap: 3px; min-width: 0; }
.sound-choice strong { font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.sound-choice small { color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.preview-button { min-width: 56px; min-height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 6px 9px; border: 1px solid rgba(114,199,255,.3); border-radius: 7px; color: #c8e9fa; background: rgba(114,199,255,.08); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; }
.preview-button:hover,.preview-button[aria-pressed="true"] { border-color: var(--accent); color: #07121a; background: var(--accent); }
.sound-volume { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.sound-volume > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sound-volume output { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 800; }
.sound-volume-slider { width: 100%; min-width: 0; height: 30px; margin: 0; accent-color: var(--accent); cursor: pointer; touch-action: pan-y; }
.sound-volume-slider:focus-visible,.rating-editor-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sound-volume-slider:disabled { opacity: .45; cursor: not-allowed; }
.live-task .rating-edit-button { flex: 0 0 auto; }
.subscription-item .rating-edit-button { flex: 0 0 auto; }
.time-footer { margin-top: 26px; padding: 16px 2px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }
.time-footer p { margin: 0 0 8px; }
@media (max-width: 1100px) {
  .filter-topline { align-items: stretch; flex-direction: column; gap: 12px; }
  .range-options { display: grid; grid-template-columns: repeat(6,max-content); justify-content: start; width: fit-content; max-width: 100%; }
  .range-indicator { display: none; }
  .range-button.is-selected { border-color: rgba(114,199,255,.42); background: linear-gradient(145deg,rgba(114,199,255,.2),rgba(114,199,255,.1)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 3px 12px rgba(54,157,220,.12); transform: none; }
  .grade-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; }
  .grade-filters legend { grid-column: 1 / -1; }
  .filter-grade { width: 100%; min-width: 0; }
}
@media (max-width: 900px) {
  .filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quiet-button { justify-self: stretch; }
  .sound-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rating-management { align-items: flex-start; }
}
@media (max-width: 640px) {
  body > .topbar { gap: 8px; padding-inline: 12px; }
  body > .topbar .brand span { display: none; }
  body > .topbar .site-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; min-width: 0; max-width: 100%; overflow: visible; margin-left: 0; }
  body > .topbar .site-nav a { min-width: 0; padding-inline: 4px; text-align: center; }
  .time-heading { align-items: start; flex-direction: column; gap: 12px; }
  .schedule-status { width: 100%; justify-content: space-between; }
  .schedule-tabs { width: 100%; }
  .schedule-tab { flex: 1; padding-inline: 7px; }
  .live-grid { grid-template-columns: 1fr; gap: 10px; }
  .live-card { min-height: 177px; padding: 15px; }
  .live-task { min-height: 40px; margin-top: 10px; font-size: 19px; }
  .panel.future-panel,.panel.notification-settings,.panel.subscriptions-panel { padding: 13px; }
  .future-heading { align-items: start; flex-direction: column; gap: 6px; }
  .future-summary { text-align: left; }
  .grade-chip { gap: 5px; padding-inline: 7px; }
  .grade-chip small { display: none; }
  .range-options { grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  .range-button { padding-inline: 5px; font-size: 12px; }
  .filter-fields { grid-template-columns: 1fr; }
  .grade-filters { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .filter-grade:last-child { grid-column: 2; }
  .future-row { min-width: 0; grid-template-columns: minmax(0,1fr) auto; gap: 8px 10px; min-height: 0; padding: 12px 7px; }
  .row-time { grid-column: 1; display: flex; align-items: baseline; gap: 9px; font-size: 12px; }
  .row-time strong { font-size: 15px; }
  .row-task { grid-column: 1; }
  .row-task strong { font-size: 14px; }
  .row-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; gap: 7px; }
  .row-actions .grade-chip { min-width: 48px; }
  .setting-row { align-items: flex-start; flex-direction: column; gap: 9px; }
  .lead-setting { padding-inline: 12px; }
  .lead-value { min-width: 92px; }
  .sound-option-grid { grid-template-columns: 1fr; }
  .rating-management { flex-direction: column; }
  .rating-management .rating-restore-button { width: 100%; }
  .subscription-item { grid-template-columns: 1fr; gap: 10px; }
  .subscription-controls { justify-content: space-between; }
  .rating-dialog-form { padding: 18px; }
}
@media (max-width: 360px) {
  body { min-width: 0; }
  body > .topbar .site-nav { gap: 2px; }
  body > .topbar .site-nav a { padding-inline: 4px; font-size: 10px; }
  .schedule-status { justify-content: flex-start; flex-wrap: wrap; white-space: normal; }
  .schedule-status time { padding-left: 0; border-left: 0; }
  .grade-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-grade:last-child { grid-column: 1 / -1; justify-self: center; width: min(100%,130px); }
}
@media (prefers-reduced-motion: reduce) {
  .range-indicator,.range-button,.select-trigger,.select-chevron,.select-menu,.select-option,.future-row { transition-duration: .01ms !important; }
  .loading-mark { animation: none; }
  .switch-control,.switch-track,.switch-thumb { transition: none !important; }
  .lead-value,.lead-slider::-webkit-slider-thumb,.lead-slider::-moz-range-thumb { transition: none; }
  .live-card::after { display: none; }
}
