:root { color-scheme: light; font-size: 100%; }
.xy-account { --primary:#1450ff; --hover:#0d43e0; --active:#1038b8; --title:#071b49; --text:#405577; --muted:#52658a; --tint:#f0f7ff; --line:#d8e6f7; --input-line:#7d94ae; --error:#b42318; --error-bg:#fff4f2; margin:0; color:var(--text); background:#fff; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; line-height:1.5; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none!important; }
::selection { background:#dfeaff; color:var(--title); }
html { scrollbar-color:#7d94ae #f0f7ff; }
button,input { font:inherit; }
button,a { touch-action:manipulation; }
a { color:var(--primary); text-underline-offset:4px; }
button { cursor:pointer; }
button:disabled { cursor:default; }
:is(a,button,input):focus-visible { outline:2px solid var(--active); outline-offset:3px; }
h1,h2,p { margin:0; }
h1,h2,strong { color:var(--title); }
h1 { font-size:3rem; line-height:1.25; letter-spacing:-.02em; font-weight:700; }
h1:focus,.error-summary:focus,main:focus { outline:none; }
svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:fixed; left:16px; top:8px; z-index:10; padding:12px; background:#fff; }
.site-header { border-bottom:1px solid var(--line); }
.nav-inner { max-width:1360px; width:calc(100% - 128px); min-height:72px; margin:auto; display:flex; align-items:center; gap:32px; }
.brand { display:flex; align-items:center; min-height:44px; flex-shrink:0; text-decoration:none; font-size:1.5rem; font-weight:700; color:var(--title); }
.sections { display:flex; flex:1; gap:4px; }
.sections a { display:flex; align-items:center; color:var(--text); text-decoration:none; padding:0 16px; min-height:72px; font-weight:600; }
.sections a:hover { color:var(--primary); background:var(--tint); }
.nav-actions { margin-left:auto; display:flex; align-items:center; gap:20px; }
.primary,.outline { display:inline-flex; align-items:center; justify-content:center; text-align:center; min-height:52px; padding:12px 24px; border-radius:12px; border:1px solid var(--primary); font-size:1rem; line-height:1.5; font-weight:600; text-decoration:none; transition:background-color 120ms ease-out,border-color 120ms ease-out,color 120ms ease-out; }
.primary { color:#fff; background:var(--primary); }
.primary:hover:not(:disabled) { background:var(--hover); border-color:var(--hover); }
.primary:active:not(:disabled) { background:var(--active); }
.outline { color:var(--primary); background:#fff; }
.outline:hover:not(:disabled) { background:var(--tint); }
.primary:disabled,.outline:disabled { background:#edf1f7; color:var(--muted); border-color:#edf1f7; }
.chat-entry { min-height:44px; border-radius:999px; padding:8px 18px; white-space:nowrap; }
.account-disclosure { position:relative; }
#accountToggle { display:flex; align-items:center; justify-content:center; gap:12px; min-width:104px; min-height:44px; padding:8px 12px; border:0; border-radius:10px; background:var(--tint); color:var(--primary); font-weight:600; }
#accountToggle svg { width:16px; height:16px; }
.account-menu { position:absolute; z-index:5; right:0; top:calc(100% + 8px); width:220px; max-height:calc(100dvh - 96px); overflow-y:auto; padding:8px; border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(7,27,73,.16); }
.account-menu a,.account-menu button { display:flex; align-items:center; width:100%; min-height:44px; padding:10px 12px; color:var(--text); text-align:left; text-decoration:none; border:0; border-radius:8px; background:none; font-weight:500; }
.account-menu :is(a,button):hover,.account-menu [aria-current=page] { color:var(--primary); background:var(--tint); }
.main { margin:24px auto 0; padding-bottom:32px; width:calc(100% - 96px); }
.main.overview { max-width:1000px; }
.main.form-page { max-width:696px; }
.back { display:inline-flex; align-items:center; min-height:44px; margin-bottom:16px; color:var(--muted); font-weight:600; text-decoration:none; }
.back:hover { color:var(--primary); }
.subtitle { margin-top:8px; font-size:1.125rem; line-height:1.5556; }
#overviewStatus { margin-top:24px; }
#retryOverview { margin-top:16px; }
.settings { margin-top:40px; }
.login-row { min-height:84px; display:flex; align-items:center; gap:24px; padding-bottom:28px; border-bottom:1px solid var(--line); }
.login-row h2 { min-width:152px; }
.settings h2 { font-size:1.5rem; line-height:1.4167; font-weight:600; }
.account-name { font-size:1.125rem; color:var(--title); overflow-wrap:anywhere; min-width:0; }
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:32px; min-height:124px; padding:28px 0; border-bottom:1px solid var(--line); }
.email-row { min-height:184px; }
.status-text { margin-top:8px; color:var(--title); }
.setting-hint { margin-top:8px; }
.unavailable { flex-shrink:0; font-size:.875rem; color:var(--muted); background:#f3f6fb; padding:6px 12px; border-radius:6px; }
.row-action { width:176px; flex-shrink:0; }
.notice { display:flex; align-items:flex-start; gap:16px; padding:24px; border-radius:12px; background:var(--tint); }
.notice svg { color:var(--primary); }
.notice strong { display:block; font-size:1rem; font-weight:600; }
.notice p { font-size:.875rem; line-height:1.5714; margin-top:4px; color:var(--muted); }
.privacy { margin-top:28px; }
.text-action { display:inline-flex; align-items:center; justify-content:center; min-height:44px; font-size:1rem; font-weight:600; text-decoration:none; background:none; color:var(--primary); border:0; padding:0; }
.logout { margin-top:32px; }
.consequence { padding:20px; gap:12px; margin-top:28px; }
form { margin-top:28px; }
.field+.field { margin-top:24px; }
.field label { display:block; font-weight:600; color:var(--title); margin-bottom:8px; }
.input-wrap { position:relative; }
.input-wrap input { width:100%; height:52px; padding:0 64px 0 16px; border:1px solid var(--input-line); border-radius:10px; background:#fff; color:var(--title); font-size:1rem; caret-color:var(--primary); }
input::placeholder { color:var(--muted); opacity:1; }
input[aria-invalid=true] { border-color:var(--error); }
.eye { position:absolute; right:4px; top:4px; min-width:48px; height:44px; border:0; padding:4px; border-radius:6px; background:none; color:var(--muted); font-size:.875rem; }
.eye:hover { background:var(--tint); color:var(--primary); }
.field-help,.field-error { font-size:.875rem; line-height:1.5714; margin-top:6px; }
.field-help { color:var(--muted); }
.field-error { color:var(--error); }
.submit { margin-top:28px; width:100%; }
.cancel { margin-top:12px; display:flex; }
.recovery-note { font-size:.875rem; text-align:center; color:var(--muted); margin-top:20px; }
.error-summary { margin-top:16px; padding:16px 20px; border-radius:12px; background:var(--error-bg); color:var(--error); font-size:.875rem; }
.result { padding-top:64px; }
.result h1 { font-size:2rem; line-height:1.375; }
.result>p { margin-top:12px; }
.result .result-note { font-size:.875rem; color:var(--muted); margin-top:8px; }
.result .primary { margin-top:24px; min-width:176px; min-height:48px; }
.noscript { padding:24px; }
.simulation { margin-bottom:24px; }
.mail-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top:24px; }
.confirmation-progress { padding:0; list-style:none; margin:24px 0; }
.confirmation-progress li { padding:16px 0; border-bottom:1px solid var(--line); }
.confirmation-progress .confirmed { color:#087443; }
#emailDecision { width:min(520px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:24px; border:1px solid var(--line); border-radius:12px; color:var(--text); background:#fff; }
#emailDecision::backdrop { background:rgba(7,27,73,.35); }
#emailDecision p { margin-top:12px; }
.main :is(p,h1,h2,li,button,a) { overflow-wrap:anywhere; }
.mail-actions button { min-height:48px; }
@media(max-width:1199px) { .nav-inner { width:calc(100% - 64px); min-height:64px; gap:20px; } .chat-entry { display:none; } .main { width:calc(100% - 64px); } }
@media(max-width:767px) { .nav-inner { width:calc(100% - 40px); } .brand { font-size:1.375rem; } .sections { display:none; } #accountToggle { min-width:76px; font-size:.875rem; } .account-menu { width:min(280px,calc(100vw - 32px)); } .main { width:calc(100% - 40px); margin-top:8px; } h1 { font-size:1.75rem; line-height:1.3571; } .subtitle { font-size:1rem; line-height:1.5; } .back { font-size:.875rem; } .settings { margin-top:24px; } .settings h2 { font-size:1.25rem; } .login-row { display:block; padding:24px 0; min-height:0; } .account-name { display:block; margin-top:8px; } .setting-row { flex-direction:column; align-items:stretch; gap:16px; min-height:0; padding:24px 0; } .unavailable { align-self:flex-start; } .row-action { width:100%; min-height:48px; } .notice { padding:20px; gap:12px; } .privacy,.consequence { margin-top:24px; } .submit { min-height:48px; } .result { padding-top:32px; } .result h1 { font-size:1.5rem; line-height:1.4167; } .result .primary { width:100%; } }
@media(max-width:359px) { .nav-inner,.main { width:calc(100% - 32px); } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; } }

/* Account page: the person's own takedown/withdrawal result and their reports and appeals. */
.outcome-row > div { flex:1; min-width:0; }
.outcome-list { display:grid; gap:12px; margin:12px 0 0; padding:0; list-style:none; }
.outcome-list li { display:grid; gap:4px; padding:12px 16px; border:1px solid var(--line); border-radius:12px; }
.outcome-head { color:var(--title); font-weight:600; }
.outcome-meta { color:var(--muted); font-size:.875rem; }

/* Operator back office (/content-review). Every selector is scoped to body.ops or an ops- class; tokens follow the design contract section 2. */
.ops { --canvas:#F6F9FD; --surface:#FFFFFF; --soft:#EEF4FB; --ink:#10233F; --ink-soft:#52647A; --line:#DDE6F0; --line-strong:#7D94AE; --primary:#245CF5; --primary-hover:#1E4ED8; --primary-tint:#EAF0FF; --mint:#65E6D4; --mint-ink:#0B6E68; --mint-soft:#E7F8F5; --danger:#B42318; --danger-soft:#FEF3F2;
  /* The shared rules above read these names; point them at the console tokens. */
  --title:var(--ink); --text:var(--ink); --muted:var(--ink-soft); --tint:var(--soft); --active:var(--primary-hover); --hover:var(--primary-hover); --input-line:var(--line-strong); --error:var(--danger); --error-bg:var(--danger-soft);
  margin:0; min-height:100dvh; background:var(--canvas); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; font-size:15px; line-height:1.55; }
.ops :focus-visible { outline:3px solid var(--primary); outline-offset:2px; }
.ops h1,.ops h2,.ops h3,.ops p,.ops ul,.ops dl { margin:0; }
.ops-skip { position:absolute; left:16px; top:-64px; z-index:10; padding:10px 16px; border-radius:8px; background:var(--surface); color:var(--primary); font-weight:600; }
.ops-skip:focus { top:8px; }
.ops-icon { width:18px; height:18px; stroke-width:2; }
/* Ink bar: the back office never looks like the public site. */
.ops-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:56px; padding:0 24px; background:var(--ink); color:#fff; }
.ops-brand { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:#fff; text-decoration:none; }
.ops-brand-name { font-size:18px; font-weight:700; letter-spacing:.04em; }
.ops-brand-tag { padding:2px 10px; border:1px solid rgba(255,255,255,.35); border-radius:999px; font-size:13px; }
.ops-bar-links { display:flex; gap:4px; }
.ops-bar-links a { display:inline-flex; align-items:center; min-height:44px; padding:0 12px; border-radius:8px; color:#fff; text-decoration:none; font-size:14px; }
.ops-bar-links a:hover { background:rgba(255,255,255,.1); }
.ops-bar :focus-visible { outline-color:var(--mint); }
.ops-shell { display:grid; grid-template-columns:248px minmax(0,1fr); min-height:calc(100dvh - 56px); }
/* Navigation groups follow the session's own capabilities; capabilities without an API sit apart, marked 待接入. */
.ops-nav { padding:20px 12px; background:var(--surface); border-right:1px solid var(--line); }
.ops-nav-inner { display:flex; flex-direction:column; gap:12px; position:sticky; top:20px; }
.ops-nav-heading { padding:0 12px 6px; color:var(--ink-soft); font-size:13px; font-weight:600; }
.ops-queues,.ops-subnav,.ops-later-list { margin:0; padding:0; list-style:none; }
.ops-queues { display:flex; flex-direction:column; gap:2px; }
.ops-queues button,.ops-later-list button { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-height:44px; padding:10px 12px; border:0; border-radius:8px; background:none; color:var(--ink); font:inherit; text-align:left; }
.ops-queues button:hover,.ops-later-list button:hover { background:var(--canvas); }
.ops-queues [data-queue][aria-current="page"] { background:var(--soft); color:var(--primary); font-weight:600; box-shadow:inset 3px 0 0 var(--primary); }
.ops-queues button[aria-disabled="true"] { cursor:progress; }
.ops-subnav { display:flex; flex-direction:column; gap:2px; margin:2px 0 4px 12px; padding-left:12px; border-left:1px solid var(--line); }
.ops-subnav button { color:var(--ink-soft); font-size:14px; }
.ops-subnav button[aria-pressed="true"] { color:var(--primary); font-weight:600; }
.ops-later-list button { color:var(--ink-soft); }
.ops-later-list button[aria-pressed="true"] { background:var(--soft); color:var(--primary); font-weight:600; box-shadow:inset 3px 0 0 var(--primary); }
.ops-tag { flex-shrink:0; display:inline-block; padding:1px 8px; border:1px solid var(--line); border-radius:999px; background:var(--canvas); color:var(--ink-soft); font-size:12px; font-weight:500; }
.ops-main { min-width:0; padding:28px 32px 56px; }
.ops-main:focus { outline:none; }
.ops-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.ops-head-text { min-width:0; }
.ops-head h1 { font-size:24px; line-height:32px; font-weight:650; letter-spacing:0; }
.ops-note { margin-top:4px; max-width:68ch; color:var(--ink-soft); font-size:14px; }
.ops-status { margin-bottom:12px; padding:10px 14px; border:1px solid var(--line); border-left:3px solid var(--primary); border-radius:8px; background:var(--surface); font-size:14px; }
.ops-status:empty { display:none; }
.ops-error { margin-bottom:12px; padding:12px 14px; border:1px solid #F4C7C3; border-radius:8px; background:var(--danger-soft); color:var(--danger); font-weight:500; }
.ops-error::before { content:"未完成："; font-weight:700; }
/* No capability: only one centred notice; the heading stays for screen readers. */
.ops-main[data-state="denied"] .ops-head-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ops-main[data-state="denied"] .ops-status { max-width:520px; margin:64px auto 0; padding:24px; border-left-width:1px; border-radius:12px; text-align:center; }
.ops-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 18px; border-radius:10px; border:1px solid var(--primary); font:inherit; font-weight:600; white-space:nowrap; }
.ops-btn-outline { background:var(--surface); color:var(--primary); }
.ops-btn-outline:hover:not(:disabled) { background:var(--primary-tint); }
.ops-btn-primary { width:100%; min-height:48px; background:var(--primary); color:#fff; font-size:16px; }
.ops-btn-primary:hover:not(:disabled) { background:var(--primary-hover); border-color:var(--primary-hover); }
.ops-btn-inline { width:auto; }
.ops-btn:disabled { border-color:var(--line); background:var(--soft); color:var(--ink-soft); cursor:not-allowed; }
.ops-btn-text { display:inline-flex; align-items:center; min-height:44px; padding:0 4px; border:0; background:none; color:var(--primary); font:inherit; font-weight:600; }
.ops-btn-text:disabled { color:var(--ink-soft); cursor:not-allowed; }
.ops-panel { background:var(--surface); border:1px solid var(--line); border-radius:12px; }
/* Queue: a list of rows laid out as a table; each row has one real button stretched over it. */
.ops-queue { overflow:hidden; }
.ops select { min-height:44px; padding:0 36px 0 12px; border:1px solid var(--line-strong); border-radius:8px; background:var(--surface); color:var(--ink); font:inherit; }
.ops-filter { display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line); }
.ops-filter button { min-height:44px; padding:0 16px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--ink); font:inherit; }
.ops-filter button[aria-pressed="true"] { border-color:var(--primary); background:var(--primary-tint); color:var(--primary); font-weight:600; }
.ops-rows { padding:0; list-style:none; }
.ops-row { position:relative; display:grid; grid-template-columns:var(--cols); gap:16px; align-items:center; min-height:56px; padding:8px 16px; border-bottom:1px solid var(--line); }
.ops-row-head { min-height:44px; background:var(--soft); color:var(--ink-soft); font-size:13px; font-weight:600; }
.ops-rows .ops-row:hover { background:#F8FAFE; }
.ops-queue[data-view="content"] { --cols:136px minmax(180px,2fr) 88px minmax(132px,1fr) 64px minmax(180px,1.1fr); }
.ops-queue:is([data-view="provider"],[data-view="pub-provider"]) { --cols:136px minmax(200px,2fr) 96px 64px minmax(180px,1.1fr); }
.ops-queue:is([data-view="demand"],[data-view="pub-demand"]) { --cols:136px minmax(240px,3fr) 64px minmax(180px,1.1fr); }
.ops-queue[data-view="attachments"] { --cols:136px minmax(160px,1.4fr) minmax(160px,1.4fr) 112px minmax(150px,1fr); }
.ops-queue[data-view="pub-content"] { --cols:136px minmax(240px,3fr) 96px 64px; }
.ops-queue:is([data-view="report"],[data-view="appeal"]) { --cols:136px minmax(180px,1.4fr) minmax(170px,1fr) minmax(200px,2fr); }
.ops-cell { min-width:0; overflow-wrap:anywhere; font-size:14px; }
.ops-cell-status { display:flex; align-items:center; gap:8px; }
.ops-dot { flex-shrink:0; width:8px; height:8px; border-radius:50%; }
.ops-dot-todo { background:var(--primary); }
.ops-dot-done { background:var(--mint-ink); }
.ops-dot-muted { background:var(--line-strong); }
.ops-row-open { min-height:44px; padding:0; border:0; background:none; color:var(--primary); font:inherit; font-weight:600; text-align:left; overflow-wrap:anywhere; }
.ops-row-open::after { content:""; position:absolute; inset:0; }
.ops-row-open:focus-visible { outline:none; }
.ops-row-open:focus-visible::after { outline:3px solid var(--primary); outline-offset:-3px; border-radius:4px; }
.ops-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding:8px 16px; color:var(--ink-soft); font-size:14px; }
.ops-queue[data-empty="true"] .ops-foot { justify-content:center; min-height:160px; }
.ops-later { padding:32px; border-style:dashed; border-color:var(--line-strong); }
.ops-later h2 { margin:12px 0 8px; font-size:20px; }
.ops-later p:not(.ops-tag) { max-width:62ch; color:var(--ink-soft); }
.ops-later p + p { margin-top:8px; }
/* Detail: content on the left, the one decision on the right. */
.ops-detail-head { margin-bottom:16px; }
.ops-detail-head h2 { margin-top:4px; font-size:22px; line-height:30px; overflow-wrap:anywhere; }
.ops-detail-head h2:focus { outline:none; }
.ops-meta { margin-top:4px; color:var(--ink-soft); font-size:14px; overflow-wrap:anywhere; }
.ops-boundary { margin-top:12px; padding:10px 14px; border-left:3px solid var(--line-strong); border-radius:8px; background:var(--soft); color:var(--ink-soft); font-size:14px; }
.ops-jump { display:none; }
.ops-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }
.ops-detail-main { display:flex; flex-direction:column; gap:16px; min-width:0; }
/* Label above value: long submissions read top to bottom. File metadata uses two columns of pairs. */
.ops-fields { display:grid; grid-template-columns:minmax(0,1fr); padding:4px 20px; }
.ops-fields > div { display:flex; flex-direction:column; gap:4px; padding:14px 0; border-top:1px solid var(--line); }
.ops-fields > div:first-child { border-top:0; }
.ops-fields dt { color:var(--ink-soft); font-size:13px; }
.ops-fields dd { margin:0; overflow-wrap:anywhere; white-space:pre-line; }
.ops-fields.ops-fields-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:24px; }
.ops-fields.ops-fields-pairs > div:nth-child(2) { border-top:0; }
.ops-later-note { color:var(--ink-soft); font-size:13px; }
.ops-files { display:flex; flex-direction:column; gap:12px; padding:16px 20px; }
.ops-files h3 { font-size:16px; }
.ops-files > div { display:flex; flex-direction:column; gap:12px; }
.ops-file { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; }
.ops-file-name { font-weight:600; overflow-wrap:anywhere; }
.ops-file-source,.ops-file-source > div { display:flex; flex-direction:column; gap:10px; width:100%; }
.ops-checks { padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:6px 16px; color:var(--mint-ink); font-size:14px; }
.ops-warn { padding:8px 12px; border-radius:8px; background:var(--danger-soft); color:var(--danger); font-size:14px; }
.ops-progress { color:var(--ink-soft); font-size:14px; }
.ops-source { width:100%; max-height:min(60vh,560px); overflow:auto; border:1px solid var(--line); border-radius:8px; background:#F7F9FC; }
.ops-source pre { margin:0; padding:4px 14px 12px; font:13px/1.6 ui-monospace,Consolas,"Cascadia Mono",monospace; white-space:pre-wrap; word-break:break-all; }
.ops-source pre:first-child { padding-top:12px; }
.ops-segment { padding:10px 14px 0; color:var(--ink-soft); font-size:12px; font-weight:600; }
.ops-segment:not(:first-child) { border-top:1px dashed var(--line); }
.ops-source-actions { display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center; }
.ops-decision { position:sticky; top:16px; padding:20px; }
.ops-decision:focus { outline:none; }
.ops-decision fieldset { display:flex; flex-direction:column; gap:14px; min-width:0; margin:0; padding:0; border:0; }
.ops-decision legend { margin-bottom:14px; padding:0; font-size:17px; font-weight:650; }
/* One outlined group with dividers, so the options read as a single choice. */
.ops-choices { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.ops-choice { display:grid; grid-template-columns:20px minmax(0,1fr); gap:2px 12px; align-items:start; min-height:44px; padding:12px 14px; cursor:pointer; }
.ops-choice + .ops-choice { border-top:1px solid var(--line); }
.ops-choice:hover { background:var(--canvas); }
.ops-choice:has(input:checked) { background:var(--primary-tint); box-shadow:inset 3px 0 0 var(--primary); }
.ops-choice:has(input:focus-visible) { outline:3px solid var(--primary); outline-offset:-3px; }
.ops-choice input { width:18px; height:18px; margin:3px 0 0; accent-color:var(--primary); }
.ops-choice input:focus-visible { outline:none; }
.ops-choice-text { display:flex; flex-direction:column; }
.ops-choice-text strong { color:var(--ink); }
.ops-choice-text small { color:var(--ink-soft); font-size:13px; }
.ops-field { display:flex; flex-direction:column; gap:6px; }
.ops-field label { font-size:14px; font-weight:600; }
.ops-field select { width:100%; }
.ops-check { display:flex; align-items:flex-start; gap:10px; min-height:44px; padding:10px 12px; border-radius:10px; background:var(--soft); font-size:14px; cursor:pointer; }
.ops-check input { width:18px; height:18px; margin:2px 0 0; accent-color:var(--primary); }
.ops-help { color:var(--ink-soft); font-size:13px; }
.ops-decision fieldset:disabled .ops-choice { cursor:not-allowed; opacity:.6; }
@media(max-width:900px) {
  .ops-bar { padding:0 16px; } .ops-brand-name { font-size:17px; } .ops-bar-links a { padding:0 8px; }
  .ops-shell { display:block; }
  .ops-nav { padding:8px 0; border-right:0; border-bottom:1px solid var(--line); }
  /* One horizontal strip; it scrolls inside itself, never the page. Group names stay visible as small labels. */
  .ops-nav-inner { position:static; flex-direction:row; align-items:center; gap:12px; padding:0 16px; overflow-x:auto; scrollbar-width:thin; }
  .ops-nav-group,.ops-queues,.ops-queues > li,.ops-subnav,.ops-later-list { display:flex; flex-direction:row; align-items:center; gap:8px; flex-shrink:0; }
  .ops-nav-heading { padding:0; font-size:12px; white-space:nowrap; }
  .ops-subnav { margin:0; padding:0 0 0 8px; border-left:1px solid var(--line); }
  .ops-queues button,.ops-later-list button { width:auto; white-space:nowrap; border:1px solid var(--line); border-radius:999px; padding:8px 14px; }
  .ops-queues [data-queue][aria-current="page"] { box-shadow:none; border-color:var(--primary); }
  .ops-subnav button[aria-pressed="true"] { border-color:var(--primary); background:var(--primary-tint); }
  .ops-main { padding:20px 16px 40px; }
  .ops-head h1 { font-size:20px; line-height:28px; }
  .ops-main[data-state="denied"] .ops-status { margin-top:32px; }
  .ops-row { display:flex; flex-wrap:wrap; gap:4px 12px; padding:12px 16px; }
  .ops-row.ops-row-head { display:none; }
  .ops-row .ops-cell { font-size:13px; color:var(--ink-soft); }
  .ops-row .ops-cell-title { order:-1; flex-basis:100%; font-size:16px; }
  .ops-row .ops-cell-status { flex-basis:100%; color:var(--ink); }
  .ops-foot { flex-wrap:wrap; }
  .ops-jump { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; color:var(--primary); font-weight:600; }
  .ops-detail-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .ops-decision { position:static; }
  .ops-fields,.ops-fields.ops-fields-pairs { grid-template-columns:minmax(0,1fr); padding:4px 16px; }
  .ops-fields.ops-fields-pairs > div:nth-child(2) { border-top:1px solid var(--line); }
  .ops-later { padding:24px 20px; }
}
