/* 茂名仲裁委员会 · 网络仲裁服务平台登录页 v6
   工作台式双栏：左侧公开信息（首页 / 程序与期限 / 规则全文 / 仲裁员名册 / 帮助），右侧固定墨青登录栏。
   960px 以下改为单栏：登录区只在「登录」页显示，其余页面全宽阅读。 */
:root {
    --ink: #0c3a3b;
    --ink-deep: #072a2b;
    --ink-line: rgba(255, 255, 255, .12);
    --brass: #c8a45d;
    --brass-hover: #d5b471;
    --brass-text: #85662a;
    --brass-pale: #f4ecda;
    --paper: #f5f3ee;
    --surface: #fff;
    --surface-2: #faf9f6;
    --line: #e3ded3;
    --line-strong: #cdc5b4;
    --text: #1a2827;
    --muted: #566664;
    --faint: #7d8987;
    --teal: #146a66;
    --teal-hover: #0e5450;
    --teal-soft: #e1eeec;
    --danger: #b03a2e;
    --radius: 12px;
    --radius-sm: 8px;
    --signin-w: 420px;
    --gutter: 64px;
    --topbar-h: 72px;
    --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --shadow: 0 1px 2px rgba(16, 40, 40, .05), 0 12px 32px -18px rgba(16, 40, 40, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font: 15px/1.7 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); text-decoration: underline; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(200, 164, 93, .9); outline-offset: 2px; border-radius: 6px; }
mark { background: var(--brass-pale); color: inherit; border-radius: 3px; padding: 0 1px; box-shadow: inset 0 -2px 0 rgba(200, 164, 93, .55); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }
.text-button { border: 0; background: none; padding: 0; color: var(--teal); font-size: 13.5px; }
.text-button:hover { color: var(--teal-hover); text-decoration: underline; text-underline-offset: 3px; }
.button-ghost { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 8px 18px; color: var(--text); font-size: 14px; }
.button-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ========== 版式 ========== */
.shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--signin-w);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "top signin" "main signin" "foot signin";
    min-height: 100vh;
}
.topbar {
    grid-area: top;
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: var(--topbar-h);
    padding: 12px var(--gutter);
    background: rgba(245, 243, 238, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(8px);
}
main { grid-area: main; padding: 44px var(--gutter) 72px; outline: none; min-width: 0; }
.site-footer {
    grid-area: foot;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding: 22px var(--gutter) 28px;
    border-top: 1px solid var(--line);
    color: var(--muted); font-size: 13px;
}
.site-footer strong { color: var(--text); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px rgba(255, 255, 255, .7); flex: none; }
.brand-mark img { width: 40px; height: 40px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name strong { font-size: 17px; letter-spacing: .06em; }
.brand-name span { color: var(--muted); font-size: 12.5px; letter-spacing: .12em; }

.tabs { display: flex; gap: 6px; }
.tabs a {
    position: relative; padding: 8px 14px; border-radius: 999px;
    color: var(--muted); font-size: 14.5px; white-space: nowrap;
}
.tabs a:hover { color: var(--text); background: rgba(12, 58, 59, .06); text-decoration: none; }
.tabs a[aria-current="page"] { color: #fff; background: var(--ink); }
.only-narrow { display: none; }

/* ========== 登录栏 ========== */
.signin {
    grid-area: signin;
    position: sticky; top: 0; align-self: start;
    height: 100vh; overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    padding: 56px 48px 28px;
    color: #e9f1f0;
    background:
        radial-gradient(circle at 88% 6%, rgba(200, 164, 93, .20), transparent 38%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 13px),
        linear-gradient(170deg, #0f4445 0%, var(--ink) 48%, var(--ink-deep) 100%);
    border-left: 1px solid rgba(0, 0, 0, .08);
}
.signin::before { content: ""; position: absolute; left: 48px; right: 48px; top: 0; height: 3px; background: linear-gradient(90deg, var(--brass), rgba(200, 164, 93, 0)); }
.signin-inner { width: 100%; max-width: 340px; margin: auto 0; }
.signin-head { margin-bottom: 26px; }
.signin-kicker { display: inline-block; margin-bottom: 10px; color: var(--brass); font-size: 12.5px; letter-spacing: .24em; }
.signin-head h2 { color: #fff; font-size: 27px; line-height: 1.3; letter-spacing: .04em; outline: none; }
.signin-head p { margin-top: 8px; color: rgba(233, 241, 240, .72); font-size: 14px; }
.signin .field { margin-bottom: 18px; }
.signin label { display: block; margin-bottom: 7px; color: rgba(233, 241, 240, .9); font-size: 13.5px; letter-spacing: .04em; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row a, .label-row .text-button { margin-bottom: 7px; color: var(--brass); font-size: 13px; }
.label-row a:hover, .label-row .text-button:hover { color: var(--brass-hover); }
.signin input {
    width: 100%; height: 48px; padding: 0 14px;
    border: 1px solid transparent; border-radius: 10px;
    background: #f7f5ef; color: var(--text); font-size: 15.5px;
    transition: border-color .15s, box-shadow .15s;
}
.signin input::placeholder { color: #8a9492; }
.signin input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(200, 164, 93, .38); }
.signin input[aria-invalid="true"] { border-color: #f0a08f; box-shadow: 0 0 0 3px rgba(240, 160, 143, .28); }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 48px; }
.input-action { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: #5d6c6a; }
.input-action:hover { background: rgba(12, 58, 59, .08); color: var(--ink); }
.input-action svg { width: 20px; height: 20px; }
.captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 124px; gap: 10px; }
.captcha-image { padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #fff; height: 48px; }
.captcha-image img { width: 124px; height: 48px; object-fit: cover; }
.field-error { display: block; min-height: 0; margin-top: 6px; color: #ffb9ab; font-size: 12.5px; }
.field-error:empty { display: none; }
.caps-hint, .captcha-status { display: block; margin-top: 6px; color: var(--brass); font-size: 12.5px; }
.captcha-status:empty { display: none; }
.login-submit {
    width: 100%; height: 50px; margin-top: 6px;
    border: 0; border-radius: 10px;
    background: var(--brass); color: var(--ink-deep);
    font-size: 16px; font-weight: 700; letter-spacing: .5em; text-indent: .5em;
    transition: background .15s, transform .1s;
}
.login-submit:hover:not(:disabled) { background: var(--brass-hover); }
.login-submit:active:not(:disabled) { transform: translateY(1px); }
.login-submit:disabled { opacity: .72; cursor: progress; letter-spacing: .12em; text-indent: .12em; }
.alert { display: none; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 11px 14px; border-radius: 10px; font-size: 14px; line-height: 1.6; }
.alert.show { display: flex; }
.alert.err { background: rgba(255, 128, 106, .14); border: 1px solid rgba(255, 160, 140, .45); color: #ffe2db; }
.alert.ok { background: rgba(120, 210, 160, .14); border: 1px solid rgba(150, 225, 180, .45); color: #dff5e7; }
.alert-marker { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: currentColor; }
.alert-marker { color: inherit; font-size: 12px; font-weight: 700; }
.alert.err .alert-marker { background: #ff9c87; color: var(--ink-deep); }
.alert.ok .alert-marker { background: #8fdcae; color: var(--ink-deep); }
.noscript-note { margin-bottom: 16px; color: #ffd7cf; }
.signin-help { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ink-line); color: rgba(233, 241, 240, .74); font-size: 13.5px; }
.signin-help p { margin-bottom: 6px; }
.signin-help a { color: var(--brass); }
.signin-help a:hover { color: var(--brass-hover); }
.signin-foot { max-width: 340px; color: rgba(233, 241, 240, .5); font-size: 12px; }

/* ========== 通用视图 ========== */
.view { outline: none; animation: view-in .22s ease-out; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.view h1 { outline: none; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--brass-text); font-size: 13px; letter-spacing: .16em; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--brass); }
.view-head { max-width: 860px; margin-bottom: 28px; }
.view-head h1 { font-size: 32px; line-height: 1.3; letter-spacing: .02em; }
.view-meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.block-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.page-status { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brass-pale); color: var(--brass-text); font-size: 13.5px; }
.page-status button { border: 1px solid currentColor; border-radius: 999px; background: none; padding: 2px 12px; color: inherit; font-size: 13px; }
.custom-page { padding: 32px 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); line-height: 1.9; }
.ref { display: inline-flex; align-items: center; padding: 1px 9px; border: 1px solid rgba(20, 106, 102, .28); border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 12.5px; line-height: 1.7; white-space: nowrap; }
.ref:hover { background: var(--teal); border-color: var(--teal); color: #fff; text-decoration: none; }
.ref-soft { background: transparent; border-style: dashed; }

/* ========== 首页 ========== */
.home-hero { max-width: 760px; padding-top: 12px; }
.home-hero h1 { font-size: 44px; line-height: 1.18; letter-spacing: .04em; }
.home-hero .lead { margin-top: 18px; max-width: 36em; color: var(--muted); font-size: 17px; line-height: 1.8; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 44px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.facts li + li { border-left: 1px solid var(--line); }
.facts a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px 22px; color: var(--text); }
.facts a:hover { background: rgba(255, 255, 255, .6); text-decoration: none; }
.fact-value { color: var(--ink); font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact-value small { margin-left: 4px; color: var(--brass-text); font-size: 15px; font-weight: 600; }
.fact-label { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.entries { margin-bottom: 44px; }
.entry { display: grid; grid-template-columns: 52px minmax(0, 1fr) 32px; align-items: center; gap: 8px; padding: 18px 8px 18px 4px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .15s, padding .15s; }
.entry:hover { background: var(--surface); padding-left: 14px; text-decoration: none; color: var(--text); }
.entry-no { color: var(--brass-text); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.entry-body { display: flex; flex-direction: column; }
.entry-body strong { font-size: 17px; }
.entry-body span { color: var(--muted); font-size: 14px; }
.entry-arrow { justify-self: end; color: var(--teal); font-size: 18px; transition: transform .15s; }
.entry:hover .entry-arrow { transform: translateX(4px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
a.contact-item:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--text); text-decoration: none; }
.contact-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.contact-label svg { width: 16px; height: 16px; color: var(--teal); }
.contact-item .tv { font-size: 19px; letter-spacing: .02em; font-variant-numeric: tabular-nums; word-break: break-all; }
.contact-hint { color: var(--faint); font-size: 12.5px; }
.rights-line { margin-top: 18px; color: var(--muted); font-size: 13.5px; }

/* ========== 网络仲裁细则 ========== */
.subnav { display: inline-flex; gap: 4px; margin-bottom: 26px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.subnav a { padding: 7px 20px; border-radius: 999px; color: var(--muted); font-size: 14.5px; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a[aria-current="page"] { background: var(--teal); color: #fff; }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.flow-head p { color: var(--muted); font-size: 14px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.segmented button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 14px; }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(16, 40, 40, .12), 0 0 0 1px var(--line); }
.segmented .count { color: var(--faint); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.flow-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px; padding: 12px 16px; border-left: 3px solid var(--brass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--brass-pale); color: #5d4a22; font-size: 14px; }
.flow { position: relative; margin-bottom: 44px; }
.flow-step { position: relative; display: grid; grid-template-columns: 168px 1fr; gap: 0 36px; padding-bottom: 26px; }
.flow-step::before { content: ""; position: absolute; left: 186px; top: 12px; bottom: -12px; width: 2px; background: var(--line-strong); }
.flow-step:last-child::before { display: none; }
.flow-step::after { content: ""; position: absolute; left: 180px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.flow-when { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-top: 1px; }
.when-label { color: var(--faint); font-size: 12.5px; }
.when-value { color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap; }
.when-value b { margin-right: 2px; color: var(--teal); font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.flow-body { padding: 0 0 4px 14px; }
.flow-body h3 { font-size: 17px; line-height: 1.5; }
.flow-body p { margin-top: 4px; color: #3f4f4d; font-size: 14.5px; }
.flow-refs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.flow-refs > span { display: contents; }

.rights { margin-bottom: 8px; }
.rights-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rights-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius-sm); background: var(--surface); }
.rights-list h3 { font-size: 16px; }
.rights-list p { color: #3f4f4d; font-size: 14px; }
.rights-list .ref { margin-top: auto; }
.fine-print { margin-top: 14px; color: var(--faint); font-size: 13px; }

.rules-search { position: relative; margin-bottom: 22px; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box svg { position: absolute; left: 16px; width: 19px; height: 19px; color: var(--faint); pointer-events: none; }
.search-box input { width: 100%; height: 50px; padding: 0 70px 0 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 106, 102, .16); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box .text-button { position: absolute; right: 16px; }
.search-summary { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.search-summary:empty { display: none; }
.search-results { margin-top: 10px; max-height: 46vh; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overscroll-behavior: contain; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: 12px 18px; color: var(--text); }
.search-results a:hover { background: var(--teal-soft); text-decoration: none; }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.result-no { color: var(--teal); font-weight: 700; }
.result-title { font-weight: 600; }
.result-chapter { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.result-snippet { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

.reader { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.chapter-nav { position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--topbar-h) - 40px); overflow-y: auto; }
.chapter-nav a { display: grid; grid-template-columns: 54px 1fr; gap: 0 4px; padding: 9px 12px; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.chapter-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .7); text-decoration: none; }
.chapter-nav a[aria-current="true"] { border-left-color: var(--teal); background: var(--surface); color: var(--ink); font-weight: 600; }
.ch-no { color: var(--brass-text); font-size: 12.5px; font-weight: 600; }
.ch-range { grid-column: 2; color: var(--faint); font-size: 12px; font-weight: 400; }
.doc { min-width: 0; padding: 40px 48px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.chapter { scroll-margin-top: calc(var(--topbar-h) + 20px); }
.chapter-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-size: 23px; letter-spacing: .06em; }
.ct-num { flex: none; white-space: nowrap; color: var(--brass-text); font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.article { margin: 0 -16px 22px; padding: 6px 16px; border-radius: var(--radius-sm); scroll-margin-top: calc(var(--topbar-h) + 24px); }
.article-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; font-size: 16.5px; line-height: 1.6; }
.at-num { flex: none; padding: 0 8px; border-radius: 6px; background: var(--brass-pale); color: var(--brass-text); font-size: 13.5px; font-weight: 700; }
.article p { margin-bottom: 4px; color: #2b3938; font-size: 15.5px; line-height: 1.95; text-align: justify; }
.article.flash { animation: flash 2.4s ease-out; }
@keyframes flash { 0%, 35% { background: var(--brass-pale); box-shadow: 0 0 0 2px rgba(200, 164, 93, .55); } 100% { background: transparent; box-shadow: 0 0 0 2px rgba(200, 164, 93, 0); } }
.appendix { margin-top: 8px; }
.fee-table { width: 100%; border-collapse: collapse; margin: 4px 0 12px; font-size: 15px; }
.fee-table caption { margin-bottom: 10px; color: var(--muted); font-size: 13.5px; text-align: left; }
.fee-table th, .fee-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--surface-2); color: var(--ink); font-size: 14px; font-weight: 600; }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-note { color: var(--muted); font-size: 13.5px; }
.end-block { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-top: 36px; color: var(--muted); }
.end-block .seal { color: var(--text); font-weight: 600; letter-spacing: .2em; }
.chapter-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.chapter-pager a { display: flex; flex-direction: column; max-width: 48%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); }
.chapter-pager a:hover { border-color: var(--teal); text-decoration: none; }
.chapter-pager span { color: var(--faint); font-size: 12.5px; }
.chapter-pager strong { font-size: 14.5px; }
#chNext { margin-left: auto; text-align: right; }

/* ========== 仲裁员名册 ========== */
.finder { display: grid; gap: 14px; margin-bottom: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.finder .search-box input { background: var(--surface-2); }
.finder-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 12px; }
.finder-label { padding-top: 8px; color: var(--muted); font-size: 13.5px; }
.finder-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; }
.city-pick { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.finder select { height: 38px; min-width: 150px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566664' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; font-size: 14px; -webkit-appearance: none; appearance: none; }
.finder select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 106, 102, .16); }
.chips { display: contents; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13.5px; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip .count { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.chip[aria-pressed="true"] .count { color: rgba(255, 255, 255, .78); }
.result-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.result-bar p { color: var(--muted); font-size: 14px; scroll-margin-top: calc(var(--topbar-h) + 16px); }
.roster-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.roster-table th { padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; letter-spacing: .06em; }
.roster-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
.roster-table tbody tr:last-child td { border-bottom: 0; }
.roster-table tbody tr:hover td { background: #fbfaf7; }
.roster-table .c-no { width: 76px; color: var(--faint); font-variant-numeric: tabular-nums; }
.c-name strong { font-size: 16px; letter-spacing: .04em; }
.c-region { white-space: nowrap; }
.c-region .city { display: block; }
.c-region .group { color: var(--faint); font-size: 12.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 1px 9px; border-radius: 6px; background: var(--paper); color: #3f4f4d; font-size: 13px; line-height: 1.8; }
.tags li.hit { background: var(--teal-soft); color: var(--teal); font-weight: 600; }
.empty-state { padding: 48px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-state h2 { font-size: 18px; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; }
.pager button { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: 14px; font-variant-numeric: tabular-nums; }
.pager button:hover:not(:disabled) { border-color: var(--teal); color: var(--teal); }
.pager button[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.pager button:disabled { opacity: .45; cursor: default; }
.pager-gap { padding: 0 4px; color: var(--faint); }

/* ========== 使用帮助 ========== */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; counter-reset: none; }
.steps li { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-no { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.steps h2 { font-size: 16.5px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.faq { margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--topbar-h) + 16px); }
.faq summary { position: relative; padding: 16px 40px 16px 0; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal); }
.faq details p { padding: 0 40px 18px 0; color: #3f4f4d; font-size: 15px; line-height: 1.9; }
.help-contact { padding: 24px 26px; border-radius: var(--radius); background: var(--ink); color: #e9f1f0; }
.help-contact h2 { color: #fff; font-size: 19px; }
.help-contact p { margin-top: 4px; color: rgba(233, 241, 240, .74); font-size: 14px; }
.help-contact ul { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 16px; }
.help-contact li { display: flex; flex-direction: column; }
.help-contact li > span { color: rgba(233, 241, 240, .6); font-size: 12.5px; }
.help-contact a { color: #fff; font-size: 18px; font-variant-numeric: tabular-nums; }
.help-contact a:hover { color: var(--brass-hover); }

.to-top { position: fixed; right: calc(var(--signin-w) + 24px); bottom: 24px; z-index: 30; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { border-color: var(--teal); color: var(--teal); }

/* ========== 响应式 ========== */
@media (max-width: 1279px) {
    :root { --signin-w: 360px; --gutter: 40px; }
    .signin { padding: 48px 34px 24px; }
    .signin::before { left: 34px; right: 34px; }
    .home-hero h1 { font-size: 38px; }
    .flow-step { grid-template-columns: 140px 1fr; gap: 0 30px; }
    .flow-step::before { left: 155px; }
    .flow-step::after { left: 149px; }
    .reader { grid-template-columns: 188px minmax(0, 1fr); gap: 20px; }
    .doc { padding: 32px 34px 28px; }
    .rights-list { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    .topbar { flex-wrap: wrap; row-gap: 8px; }
    .reader { grid-template-columns: 1fr; }
    .chapter-nav { position: static; flex-direction: row; max-height: none; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: thin; }
    .chapter-nav a { flex: none; display: flex; flex-direction: column; gap: 0; border-left: 0; border-bottom: 2px solid transparent; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 8px 12px; }
    .chapter-nav a[aria-current="true"] { border-bottom-color: var(--teal); }
    .ch-range { display: none; }
}

@media (max-width: 959px) {
    :root { --gutter: 22px; --topbar-h: 104px; }
    .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "top" "signin" "main" "foot"; }
    .topbar { position: sticky; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter) 10px; }
    .tabs { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
    .tabs::-webkit-scrollbar { display: none; }
    .tabs a { flex: none; padding: 7px 14px; }
    .only-wide { display: none; }
    .only-narrow { display: inline; }
    .signin { position: relative; height: auto; overflow: visible; padding: 34px var(--gutter) 26px; border-left: 0; }
    .signin::before { left: var(--gutter); right: var(--gutter); }
    .signin-inner { max-width: 440px; margin: 0 auto; }
    .signin-foot { max-width: 440px; margin: 0 auto; }
    body:not([data-view="login"]) .signin { display: none; }
    main { padding: 30px var(--gutter) 56px; }
    .home-hero h1 { font-size: 32px; }
    .home-hero .lead { font-size: 15.5px; }
    .facts { margin: 28px 0 32px; }
    .to-top { right: 16px; bottom: 16px; }
    .signin input { font-size: 16px; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-mark img { width: 34px; height: 34px; }
    .brand-name strong { font-size: 16px; }
    .view-head h1 { font-size: 26px; }
    .facts { grid-template-columns: 1fr; }
    .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
    .facts a { flex-direction: row; align-items: baseline; gap: 14px; padding: 14px 4px; }
    .fact-value { flex: none; min-width: 108px; font-size: 26px; }
    .contact-grid, .steps { grid-template-columns: 1fr; }
    .entry { grid-template-columns: 40px minmax(0, 1fr) 24px; }
    .flow-step { grid-template-columns: 1fr; padding: 0 0 22px 32px; }
    .flow-step::before { left: 7px; top: 14px; }
    .flow-step::after { left: 1px; top: 6px; }
    .flow-when { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; text-align: left; }
    .when-value b { font-size: 22px; }
    .flow-body { padding: 4px 0 0; }
    .doc { padding: 22px 18px; border-radius: var(--radius-sm); }
    .article { margin: 0 -8px 18px; padding: 4px 8px; }
    .chapter-title { font-size: 20px; }
    .finder { padding: 16px; }
    .finder-row { grid-template-columns: 1fr; gap: 8px; }
    .finder-label { padding-top: 0; }
    .city-pick, .finder select { flex: 1 1 100%; }
    .city-pick select { flex: 1; }
    .roster-table, .roster-table tbody { display: block; border: 0; background: none; }
    .roster-table thead { display: none; }
    .roster-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
    .roster-table td { display: block; padding: 0; border: 0; }
    .roster-table tbody tr:hover td { background: none; }
    .roster-table .c-no { grid-column: 2; grid-row: 1; width: auto; text-align: right; }
    .c-name { grid-column: 1; grid-row: 1; }
    .c-region { grid-column: 1 / -1; display: flex; gap: 8px; color: var(--muted); font-size: 13.5px; }
    .c-region .city { display: inline; }
    .c-region .group::before { content: "·"; margin-right: 8px; color: var(--faint); }
    .c-spec { grid-column: 1 / -1; margin-top: 4px; }
    .help-contact ul { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    body { background: #fff; }
    .shell { display: block; }
    .topbar, .signin, .subnav, .rules-search, .chapter-nav, .chapter-pager, .site-footer, .to-top, .skip-link { display: none !important; }
    main { padding: 0; }
    .view[hidden] { display: none !important; }
    .doc { border: 0; box-shadow: none; padding: 0; }
    .chapter[hidden] { display: block !important; }
    .chapter { break-before: page; }
}
