/* Administration follows the approved Atlas palette and typography. */
.preview-role-label{display:flex;align-items:center;gap:8px;color:#b6bfca;font-size:11px;margin-left:auto;white-space:nowrap}
.preview-role-label select{background:#21293c;color:#f5f5fa;border-color:#536070;min-height:30px;padding:3px 8px;font-size:12px;color-scheme:dark}
.study-bar .device-toggle{margin-left:0}
.settings-navigation{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);margin-bottom:32px}
.settings-tabs{display:flex;gap:28px;min-width:0;overflow-x:auto;scrollbar-width:thin}
.settings-tabs button{min-height:48px;border-radius:0;border-bottom:2px solid transparent;white-space:nowrap;padding:0 1px 12px;color:var(--muted);font-weight:600}
.settings-tabs button[aria-current]{border-bottom-color:var(--pink);color:var(--ink)}
.settings-access{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;padding-bottom:12px;white-space:nowrap}
.settings-access .ico{width:14px;height:14px}
.settings-preferences .account-permissions{margin-top:18px;line-height:1.7;font-size:12px;color:var(--muted)}
.player-profile-current{padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-alt);margin:18px 0}
.player-profile-current p{margin:0}.player-profile-current .admin-helper{margin-top:6px}
.player-profile-form{max-width:560px}.player-profile-options{max-height:280px;overflow-y:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface);margin-top:8px}
.player-profile-options button{display:block;width:100%;text-align:left;padding:12px 16px;border-radius:0}.player-profile-options button+button{border-top:1px solid var(--line)}
.player-profile-options button:hover,.player-profile-options button[aria-selected="true"]{background:var(--accent-soft)}.player-profile-options strong{display:block;font-size:14px}.player-profile-options small{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.player-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.player-profile-selection{font-size:13px;color:var(--ink)}
.admin-page{min-width:0}
.admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}
.admin-section-heading h2{font-size:22px;font-weight:600;letter-spacing:-.4px;display:flex;gap:10px;align-items:center}
.admin-section-heading p{font-size:13px;color:var(--muted);margin-top:6px;max-width:65ch}
.admin-section-heading>.button{min-height:44px;flex-shrink:0}
.admin-table-wrap{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.admin-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.admin-table thead th{font-size:12px;font-weight:500;color:var(--muted);padding:14px 20px;background:var(--surface-alt)}
.admin-table thead small{font-size:10px;font-weight:400;margin-left:4px}
.admin-table tbody th,.admin-table td{border-top:1px solid var(--line);padding:20px;vertical-align:middle}
.admin-table tbody th{font-size:14px;font-weight:600}
.admin-table td{color:var(--muted)}
.admin-person{display:flex;align-items:center;gap:12px}
.admin-person small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:2px}
.admin-avatar{height:42px;width:42px;flex:none;display:grid;place-items:center;border-radius:13px;background:var(--accent-soft);color:var(--accent);font-weight:650;font-size:18px}
.admin-row-actions{text-align:right}
.admin-row-actions .button{min-height:40px;background:transparent}
.admin-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;white-space:nowrap;color:var(--muted);background:var(--surface-alt);padding:4px 9px;border-radius:6px}
.release-changes{padding-left:22px;margin-top:16px;font-size:14px;line-height:1.7}
.release-changes li{margin-bottom:12px}
.release-entry{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.audit-toolbar{display:flex;align-items:center;gap:12px;margin:20px 0 6px}
.audit-toolbar>.button{min-height:46px;flex:none}
.audit-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.audit-search:focus-within{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:2px}
.audit-search input{width:100%;min-width:0;height:44px;min-height:0;border:0;border-radius:0;background:transparent;padding:0;font-size:14px;box-shadow:none}
.audit-search input:focus-visible{outline:none;box-shadow:none}
.audit-search .ico{color:var(--muted);flex:none;width:18px;height:18px}
.audit-filter-panel[popover]{overflow:hidden;overscroll-behavior:contain}
.audit-filter-panel .filter-header{padding:12px 20px}
.audit-filter-panel .filter-header h2{font-size:15px}
.audit-filter-body{padding:20px;display:flex;flex-direction:column;gap:20px;min-height:0;overflow:auto}
.audit-filter-fields{display:flex;flex-direction:column;gap:12px}
.audit-filter-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;font-size:12px;font-weight:550}
.audit-filter-row select{width:100%;min-width:0;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt);font-size:13px;font-weight:400}
.audit-date-group{margin:0;padding:20px 0 0;border:0;border-top:1px solid var(--line);min-width:0}
.audit-date-group legend{float:left;width:100%;padding:0;margin:0 0 10px;font-size:12px;font-weight:550}
.audit-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;clear:both}
.audit-date-range label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}
.audit-date-range input{min-width:0;width:100%;min-height:42px;padding:9px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt);font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer}
.audit-date-group p{margin-top:10px;font-size:11px;color:var(--muted);line-height:1.5}
.audit-background{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;border-top:1px solid var(--line);cursor:pointer}
.audit-background strong{display:block;font-size:12px;font-weight:550}
.audit-background small{display:block;margin-top:4px;font-size:11px;color:var(--muted);line-height:1.5}
.audit-background .switch{flex:none}
.audit-filter-error{font-size:12px;color:var(--focus);line-height:1.5}
.audit-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--line);flex:none}
.audit-filter-footer>span{font-size:11px;color:var(--muted)}
.audit-filter-footer .button{min-height:36px;padding:6px 14px}
@media(max-width:360px){.audit-filter-row{grid-template-columns:65px minmax(0,1fr);gap:8px}.audit-filter-body{padding:16px}.audit-date-range{grid-template-columns:minmax(0,1fr)}}
.audit-request-path{font-size:12px;overflow-wrap:anywhere}
.audit-event-details{margin-top:8px;font-size:12px}
.audit-event-details summary{cursor:pointer;color:var(--muted)}
.audit-event-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;margin:8px 0}
.admin-status.active{color:var(--ink)}
.admin-status.active:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent)}
.admin-preview-note{margin-top:24px;font-size:11px;color:var(--muted)}
.admin-helper{font-size:12px;color:var(--muted);line-height:1.7;max-width:80ch;margin-top:18px}
.admin-empty{padding:44px 24px;text-align:center}
.admin-empty h3{font-size:19px;font-weight:550}
.admin-empty p{font-size:13px;color:var(--muted);margin-top:8px}
.admin-audit-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}
.admin-audit-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--surface-alt);color:var(--accent)}
.admin-audit-icon .ico{width:18px;height:18px}
.admin-audit-row strong{font-weight:550;font-size:14px}
.admin-audit-row p{font-size:12px;color:var(--muted);margin-top:4px}
.admin-audit-row time{font-size:11px;color:var(--muted);padding-top:3px;white-space:nowrap}
.settings-editor{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100dvh;max-height:none;max-width:100vw;padding:0;border:1px solid var(--line);border-right:0;border-radius:20px 0 0 20px;background:var(--surface);color:var(--ink);box-shadow:-15px 0 60px #0003}
.settings-editor::backdrop{background:#07091288}
.settings-editor form{display:flex;flex-direction:column;height:100%;min-height:0}
.settings-editor-heading{padding:26px 24px 22px;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);flex-shrink:0}
.settings-editor-heading>div{flex:1;min-width:0}
.settings-editor-heading h2{font-size:24px;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}
.settings-editor-heading p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:8px}
.settings-editor-body{padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1}
.settings-editor-error{flex-shrink:0;font-size:12px;color:var(--accent);line-height:1.6;padding:0 24px 14px}
.settings-editor-error:empty{display:none}
.settings-editor-footer{display:flex;gap:10px;justify-content:flex-end;flex-shrink:0;padding:18px 24px max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.settings-editor-footer .button{min-height:44px}
.admin-field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin:0 0 24px}
.admin-field input,.admin-field select{width:100%;font-size:14px;font-weight:400;background:var(--bg);min-height:46px;border-radius:9px}
.admin-field small{font-size:12px;font-weight:400;color:var(--muted);line-height:1.6}
.admin-interval{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-block:1px solid var(--line);font-size:13px}
.admin-switch-row strong{font-weight:550}
.admin-switch-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.6;max-width:30ch}
.admin-switch-row .switch{flex:none}
.admin-account-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;font-size:12px;color:var(--muted)}
.admin-callout{background:var(--surface-alt);border-radius:10px;padding:16px;font-size:13px;line-height:1.7;margin-bottom:24px}
.admin-callout strong{font-weight:600}
.admin-callout p{font-size:12px;color:var(--muted);margin-top:6px}
.admin-danger-zone{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}
.admin-danger-zone h3{font-size:14px;font-weight:600}
.admin-danger-zone p{font-size:12px;color:var(--muted);margin:6px 0 16px;line-height:1.7}
.admin-danger-zone>.text-button{display:block;margin-top:16px;padding-left:0}
.admin-danger-zone .admin-danger{color:var(--focus)}
.mobile-preview .settings-editor{right:max(0px,calc((100vw - 390px)/2));top:72px;width:390px;max-width:100vw;height:min(844px,calc(100dvh - 90px));border-radius:16px}
@container content (max-width:1080px){
  .admin-table thead th,.admin-table tbody th,.admin-table td{padding:16px 14px}
}
@container content (max-width:650px){
  .settings-navigation{margin-bottom:24px}
  .settings-tabs{width:100%;gap:22px}
  .settings-tabs button{font-size:13px}
  .settings-access{display:none}
  .admin-section-heading{gap:16px;align-items:flex-start;flex-wrap:wrap}
  .admin-section-heading h2{font-size:21px}
  .admin-section-heading p{font-size:12px;line-height:1.6}
  .admin-section-heading .button{font-size:12px}
  .users-table,.users-table tbody{display:block}
  .users-table thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .users-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:18px;gap:8px 14px;border-bottom:1px solid var(--line)}
  .users-table tr:last-child{border-bottom:0}
  .users-table tbody th,.users-table td{display:block;border:0;padding:0}
  .users-table tbody th{grid-column:1;grid-row:1 / span 2;margin-bottom:8px}
  .users-table td[data-label]{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;min-height:28px}
  .users-table td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:11px}
  .users-table .admin-row-actions{grid-column:2;grid-row:1 / span 2;align-self:start}
  .admin-person{gap:10px;overflow-wrap:anywhere}
  .admin-avatar{width:38px;height:38px}
  .admin-audit-row{grid-template-columns:34px minmax(0,1fr);gap:8px 12px}
  .admin-audit-icon{width:32px;height:32px;grid-row:1 / span 2}
  .admin-audit-row time{grid-column:2}
  .admin-audit-row p{line-height:1.7}
}
@media(max-width:650px){
  .study-label{font-size:0;flex:1}.study-label:after{content:'TSW preview';font-size:11px}
  .preview-role-label{gap:5px;font-size:10px;margin-left:0}
  .preview-role-label select{max-width:75px;font-size:11px;padding:4px}
  .settings-editor{border-radius:0;width:100vw}
  .mobile-preview .settings-editor{right:0;top:54px;height:calc(100dvh - 54px);border-radius:0}
  .admin-field input,.admin-field select{font-size:16px}
  .settings-editor-heading,.settings-editor-body{padding:20px}
}

/* Personal sign-in methods. */
.account-page{width:100%;min-width:0}
.account-identity{display:flex;align-items:center;gap:16px;padding-bottom:30px;border-bottom:1px solid var(--line)}
.account-avatar{display:grid;place-items:center;width:56px;height:56px;flex:none;background:var(--slate);color:var(--yellow);border-radius:16px;font-size:24px;font-weight:600}
.account-identity h2{font-size:24px;font-weight:600;letter-spacing:-.4px}
.account-identity p{font-size:13px;color:var(--muted);margin-top:3px}
.account-identity>.button{margin-left:auto;min-height:44px;text-decoration:none;color:var(--ink)}
.account-security-section{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr);gap:24px 56px;padding:32px 0;border-bottom:1px solid var(--line)}
.account-section-copy h3{font-size:18px;font-weight:550;margin:0 0 8px}
.account-section-copy p{font-size:13px;color:var(--muted);line-height:1.65;max-width:31ch}
.account-password-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px}
.account-password-row .button,.account-add-key{min-height:44px}
.account-passkey-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}
.account-passkey-row:first-child{padding-top:0}
.account-passkey-row:last-child{border-bottom:0}
.account-key-icon{width:40px;height:44px;display:grid;place-items:center;background:var(--surface-alt);border:1px solid var(--line);border-radius:10px;flex:none;color:var(--ink)}
.account-key-copy{flex:1;min-width:0}
.account-key-copy h4{font-size:14px;font-weight:550;margin:0;overflow-wrap:anywhere}
.account-key-copy p{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.65}
.account-key-actions{display:flex;align-items:center;gap:8px;flex:none}
.account-key-actions .text-button{color:var(--ink);font-size:12px;min-height:44px}
.account-key-actions .icon-button{width:44px;height:44px}
.account-key-actions .icon-button:hover{color:var(--focus)}
.account-key-actions .ico{width:16px;height:16px}
.account-add-key{margin-top:14px}
.account-empty{color:var(--muted);font-size:13px;padding-bottom:12px}
.account-secret{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
.account-secret input{border:0;min-width:0;flex:1;background:transparent}
.account-secret button{flex:none;min-height:44px;padding:8px 12px;font-size:12px;font-weight:400;color:var(--muted)}
.account-secret:focus-within{outline:2px solid var(--focus);outline-offset:2px}
.account-secret input:focus-visible{outline:none}
@container content (max-width:700px){
  .account-security-section{grid-template-columns:1fr;gap:20px;padding:26px 0}
  .account-section-copy p{max-width:none}
  .account-password-row{flex-wrap:wrap;gap:16px}
  .account-key-actions{gap:0}
  .account-passkey-row{gap:10px}
}
@container content (max-width:380px){.account-key-icon{display:none}.account-identity{gap:12px}.account-avatar{width:46px;height:46px;border-radius:12px}}
.admin-sort{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0;font:inherit;text-align:left}
.users-sort-mobile{display:none;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:var(--muted);font-size:12px}
@container content (max-width:650px){.users-sort-mobile{display:flex}.users-sort-mobile select{max-width:75%;font-size:13px}}

.league-state-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.league-state-toggle input{width:18px;height:18px;accent-color:var(--accent)}

/* The same schedule rows reflow when there is not room for the comparison table. */
.scheduler-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px 16px;margin-bottom:14px}
.scheduler-search{display:flex;align-items:center;gap:10px;flex:1;min-width:180px;border:1px solid var(--line);border-radius:9px;padding:0 12px;background:var(--surface)}
.scheduler-search:focus-within{border-color:var(--focus);outline:2px solid var(--focus);outline-offset:2px}
.scheduler-search .ico{width:16px;height:16px;color:var(--muted);flex:none}
.scheduler-search input{width:100%;min-width:0;height:42px;padding:8px 0;border:0;background:transparent;font-size:13px}
.scheduler-search input:focus-visible{outline:none;box-shadow:none}
.scheduler-filter,.scheduler-kind,.scheduler-sort{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted)}
.scheduler-filter select,.scheduler-kind select,.scheduler-sort select{height:42px;max-width:100%;border:1px solid var(--line);border-radius:9px;padding:8px 30px 8px 10px;background:var(--surface);font-size:12px;color:var(--ink)}
.scheduler-filter,.scheduler-kind{min-width:140px}.scheduler-sort{min-width:184px}
.scheduler-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);margin:0 0 14px;font-variant-numeric:tabular-nums}
#scheduleResultCount{color:var(--ink);font-weight:550}
.scheduler-scroll-hint{font-size:11px;color:var(--muted);margin:0 0 9px}
.scheduler-table-wrap{width:100%;max-width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.scheduler-table{width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.scheduler-table thead th,.scheduler-table .schedule-row>th,.scheduler-table .schedule-row>td{padding:13px 12px;vertical-align:middle}
.scheduler-table thead th:nth-child(1){width:190px}.scheduler-table thead th:nth-child(2){width:130px}.scheduler-table thead th:nth-child(3){width:80px}
.scheduler-table thead th:nth-child(4){width:105px}.scheduler-table thead th:nth-child(5){width:90px}.scheduler-table thead th:nth-child(6){width:140px}.scheduler-table thead th:nth-child(7){width:160px}.scheduler-table thead th:nth-child(8){width:90px}.scheduler-table thead th:nth-child(9){width:235px}
.scheduler-column-sort{display:flex;align-items:center;gap:7px;min-height:32px;font-size:11px;color:var(--muted);padding:0;white-space:nowrap}
.scheduler-column-sort span{font-size:12px;opacity:.6}.scheduler-table [aria-sort=ascending] .scheduler-column-sort,.scheduler-table [aria-sort=descending] .scheduler-column-sort{color:var(--ink);font-weight:650}
.scheduler-table thead th:first-child{position:sticky;left:0;z-index:3;background:var(--surface-alt);box-shadow:1px 0 var(--line)}
.schedule-row{cursor:pointer}.schedule-row:hover>td,.schedule-row:hover>th{background:var(--row-hover)}
.schedule-row>th{position:sticky;left:0;z-index:2;background:var(--surface);box-shadow:1px 0 var(--line)}
.schedule-state-cell{display:flex;align-items:center;gap:9px;min-width:0}.schedule-state-cell>div{min-width:0}
.schedule-state-cell strong{font-size:13px;font-weight:600;display:block;overflow-wrap:anywhere}.schedule-state-cell small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.schedule-state-cell small:empty{display:none}
.schedule-expand{display:grid;place-items:center;flex:none;width:30px;height:34px;border-radius:7px;color:var(--muted)}.schedule-expand:hover{background:var(--surface-alt)}
.schedule-expand .ico{width:14px;height:14px}.schedule-expand[aria-expanded=true] .ico{transform:rotate(90deg)}
.scheduler-table .admin-status{font-size:11px;padding:0;border:0;background:transparent;white-space:nowrap}
.scheduler-table .schedule-row>td{font-size:11px;overflow-wrap:anywhere}
.schedule-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;white-space:nowrap}
.schedule-actions .schedule-run,.schedule-actions .schedule-toggle{min-height:34px;padding:7px 10px;gap:6px;border:1px solid var(--line);border-radius:8px;font-size:11px;color:var(--ink);background:var(--surface)}
.schedule-run .ico{width:13px;height:13px}.schedule-run:hover:not(:disabled),.schedule-toggle:hover:not(:disabled){border-color:var(--pink);background:var(--accent-soft)}
.schedule-menu>summary{display:grid;place-items:center;list-style:none;width:30px;height:34px;cursor:pointer;border-radius:7px;color:var(--muted)}
.schedule-menu>summary::-webkit-details-marker{display:none}.schedule-menu-dots{display:block;width:3px;height:3px;border-radius:50%;background:currentColor;box-shadow:-6px 0 currentColor,6px 0 currentColor}
.schedule-menu-items{position:fixed;inset:auto;margin:0;overflow:auto;padding:5px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #0002}
.schedule-menu-button{display:block;text-align:left;width:100%;border:0;background:transparent;color:var(--ink);padding:11px 12px;border-radius:6px;font:inherit;font-size:12px;cursor:pointer;white-space:normal}
.schedule-menu-button:hover,.schedule-menu-button:focus-visible{background:var(--surface-alt)}.schedule-menu-button:disabled{opacity:.45;cursor:default}
.scheduler-table .schedule-detail-row>td{padding:0;border-top:0;background:var(--surface-alt)}
.schedule-detail-content{width:100%;min-width:0;padding:20px 22px 24px;font-size:12px;color:var(--muted)}
.schedule-detail-content h3{font-size:13px;color:var(--ink);font-weight:650;margin:0 0 16px}
.schedule-timing{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 24px;font-variant-numeric:tabular-nums}
.schedule-timing>div{min-width:0}.schedule-timing small{display:block;font-size:11px;margin-bottom:5px}.schedule-timing strong{display:block;color:var(--ink);font-size:12px;font-weight:550;overflow-wrap:anywhere}.schedule-timing span{display:block;font-size:11px;margin-top:4px}
.schedule-timing progress{display:block;width:100%;height:4px;margin:8px 0;accent-color:var(--pink);border:0;border-radius:3px;background:var(--line)}
.schedule-timing progress::-webkit-progress-bar{background:var(--line);border-radius:3px}.schedule-timing progress::-webkit-progress-value{background:var(--pink);border-radius:3px}
.schedule-stream{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.schedule-stream:empty{display:none}
.schedule-stream-status{font-size:11px;line-height:1.7}.schedule-stream-heading{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}.schedule-stream-heading strong{color:var(--ink);font-size:12px}
.schedule-stream-timing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 24px;margin:14px 0 0;font-variant-numeric:tabular-nums}.schedule-stream-timing dt{font-size:11px;margin-bottom:4px}.schedule-stream-timing dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.schedule-merge,.schedule-error{font-size:12px;line-height:1.7;margin:16px 0 0;overflow-wrap:anywhere}.schedule-merge a{color:var(--focus)}.schedule-error .ico{width:14px;height:14px;vertical-align:middle;margin-right:6px;color:var(--orange)}
@container content (max-width:1220px){
  .scheduler-table{display:block;border-collapse:separate;border-spacing:0}
  .scheduler-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .scheduler-table thead .scheduler-column-sort{display:none}
  .scheduler-table tbody:not([hidden]){display:block}
  .scheduler-table tbody+tbody{border-top:1px solid var(--line)}
  .scheduler-table .schedule-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px;padding:18px 20px}
  .scheduler-table .schedule-row>th,.scheduler-table .schedule-row>td{position:static;min-width:0;width:auto;padding:0;border:0;box-shadow:none;background:transparent;font-size:12px}
  .scheduler-table .schedule-row>th{grid-column:span 2;align-self:center}
  .scheduler-table .schedule-row>td[data-label]::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:11px;font-weight:400;color:var(--muted)}
  .scheduler-table [data-schedule-cell=kind]{text-align:right;align-self:center;color:var(--ink);font-weight:550}
  .scheduler-table .schedule-actions-cell{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
  .schedule-actions{justify-content:flex-start;flex-wrap:wrap;white-space:normal}
  .schedule-menu{margin-left:auto}
  .schedule-actions .schedule-run,.schedule-actions .schedule-toggle,.schedule-menu>summary{min-height:40px}
  .schedule-row:hover{background:var(--row-hover)}.scheduler-table .schedule-row:hover>td,.scheduler-table .schedule-row:hover>th{background:transparent}
  .scheduler-table .schedule-detail-row:not([hidden]),.scheduler-table .schedule-detail-row>td{display:block;width:100%}
}
@container content (max-width:650px){
  .scheduler-search{flex-basis:100%;min-width:0}.scheduler-search input{font-size:16px}
  .scheduler-filter,.scheduler-kind{min-width:0;flex:1}.scheduler-sort{flex-basis:100%;min-width:0}.scheduler-filter select,.scheduler-kind select,.scheduler-sort select{font-size:12px;width:100%;padding-right:20px}
  .scheduler-table .schedule-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px}
  .scheduler-table .schedule-row>th{grid-column:auto}
  .schedule-detail-content{padding:18px 16px}.schedule-timing,.schedule-stream-timing{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
}

.scan-settings-group{min-width:0;border:0;border-top:1px solid var(--line);padding:20px 0 8px;margin:12px 0}.scan-settings-group legend{font-size:16px;font-weight:600;color:var(--ink);padding:0 8px 0 0}.scan-settings-group>p{font-size:12px;color:var(--muted);line-height:1.7}.scan-settings-group .admin-switch-row{margin:12px 0}.scan-settings-group .admin-field{margin-bottom:4px}
