* { box-sizing: border-box }
:root {
  --ink:#26364d; --text:#26364d; --muted:#64768c; --line:#e3e9f1;
  --border:#dce4ef; --brand:#2365cc; --primary:#2365cc; --accent:#306fbf;
  --surface:#fff; --bg:#f3f6fb; --paper:#fff; --soft:#edf3fb;
  --warn:#946218; --danger:#a73e34; --radius:7px; --shadow:0 3px 18px #16356506;
  font:14px/1.52 Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color:var(--ink); background:var(--bg); font-synthesis:none; color-scheme:light
}
html,body { margin:0; min-height:100% }
body { background:var(--bg); -webkit-font-smoothing:antialiased }
button,input,select,textarea { font:inherit; color:inherit }
input,textarea,select { max-width:100% }
button,a,input,select,textarea { touch-action:manipulation }
button { cursor:pointer; border:0; background:transparent }
button:disabled { cursor:not-allowed; opacity:.6 }
a { color:inherit; text-decoration:none }
svg { vertical-align:middle; flex:none }
:is(button,a,input,select,textarea,[tabindex]):focus-visible { outline:2px solid #4a8eff; outline-offset:3px }
h1,h2,h3,p { margin:0 }
h1,h2,h3 { line-height:1.35 }
.skip-link { position:fixed; z-index:100; left:12px; top:-80px; background:white; border:1px solid var(--line); padding:10px }
.skip-link:focus { top:0 }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.boot,.empty-zone { min-height:55vh; display:flex; align-items:center; justify-content:center; gap:16px; flex-direction:column; color:var(--muted); text-align:center; padding:24px }
.ops-header { width:100%; background:#fff; border-bottom:1px solid var(--line) }
.ops-header-inner { max-width:1740px; min-height:72px; padding:0 clamp(20px,2.6vw,46px); margin:auto; display:flex; align-items:stretch; justify-content:space-between; gap:20px }
.ops-brand,.ops-tools,.ops-person,.ops-icon { display:inline-flex; align-items:center }
.ops-brand { gap:10px; flex:none; white-space:nowrap; color:#173d71; font-size:17px; font-weight:650 }
.ops-brand img { display:block; flex:none }
.brand-short { display:none }
.ops-top-nav { display:flex; align-items:stretch; justify-content:center; gap:clamp(0px,.35vw,9px); min-width:0 }
.ops-top-nav a { position:relative; display:grid; place-items:center; line-height:1.2; padding:0 clamp(9px,1vw,17px); color:#55677e; font-size:14px; font-weight:500; white-space:nowrap }
.ops-top-nav a[aria-current] { color:var(--primary); font-weight:650 }
.ops-top-nav a[aria-current]::after { content:''; position:absolute; bottom:0; height:3px; left:15%; right:15%; border-radius:3px 3px 0 0; background:var(--primary) }
.ops-top-nav a:hover { background:#f6f9ff; color:var(--primary) }
.ops-tools { gap:3px; flex:none }
.ops-person,.ops-icon { justify-content:center; min-width:37px; min-height:40px; border-radius:5px; color:#53667d }
.ops-icon:hover,.ops-person:hover { background:#f2f6fb }
.ops-person { gap:8px; padding:4px 5px; margin-left:5px }
.ops-avatar,.mini-avatar { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#eaf1fe; color:#3468ad; font-weight:650; font-size:13px }
.ops-person-label { display:grid; gap:1px; text-align:left; max-width:120px }
.ops-person-label strong,.ops-person-label small { white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.ops-person-label strong { color:#2d4058; font-size:12px; font-weight:600 }
.ops-person-label small { color:var(--muted); font-size:10px }
.bottom-nav { display:none }
.main-shell { min-width:0; min-height:calc(100dvh - 73px) }
#main { max-width:1740px; min-width:0; margin:auto; padding:clamp(20px,2.35vw,39px) clamp(20px,2.6vw,46px) 40px; outline:0 }
.btn,.button,.icon-btn { display:inline-flex; justify-content:center; align-items:center; gap:7px; border-radius:5px; border:1px solid #d7e1ed; padding:8px 14px; font-weight:550; font-size:13px; line-height:1.45; color:#445971; background:#fff; min-height:38px }
.btn:hover,.button:hover,.icon-btn:hover { background:#f5f9fe }
.btn.primary,.button.primary { background:var(--primary); border-color:var(--primary); color:#fff }
.btn.primary:hover,.button.primary:hover { background:#1854b5 }
.icon-btn { width:36px; min-width:36px; padding:5px }
.muted { color:var(--muted) }
.panel,.card { background:white; border:1px solid var(--line); border-radius:7px; box-shadow:var(--shadow) }
.page-header,.page-head,.panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px }
.page-header,.page-head { margin-bottom:20px }
.page-head h1,.page-header h1 { font-size:clamp(24px,2.1vw,31px); color:var(--ink); font-weight:650 }
.page-head p,.page-header p { color:var(--muted); margin-top:5px }
.badge,.pill { display:inline-flex; align-items:center; gap:5px; border-radius:4px; font-size:11px; line-height:1.45; background:var(--soft); color:#41679c; padding:3px 8px }
#shell-dialog { position:fixed; border:1px solid var(--border); border-radius:10px; max-height:min(78dvh,680px); width:min(92vw,490px); padding:0; background:white; color:var(--ink); box-shadow:0 22px 72px #182c4930 }
#shell-dialog::backdrop { background:#182d4860 }
#shell-dialog header { padding:16px 20px 13px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:center }
#shell-dialog h2 { font-size:18px }
.shell-modal-body { padding:14px 20px 20px }
.shell-modal-body>.muted { margin-bottom:12px }
.list-link { display:flex; align-items:center; gap:12px; width:100%; padding:11px 5px; text-align:left; border-bottom:1px solid #ebeff5; min-height:44px }
.list-link:hover { background:#f4f8fe }
.list-link span:not(.mini-avatar) { flex:1 }
.list-link small { display:block; color:var(--muted); font-size:11px }
.search-box { display:flex; align-items:center; gap:9px; padding:10px 12px; border:1px solid var(--border); border-radius:5px; margin:2px 0 9px }
.search-box input { width:100%; border:0; outline:0 }
.no-match,.notice-summary { padding:16px 0; color:var(--muted) }
.notice-summary { display:flex; align-items:center; gap:12px }
.quiet-row { padding:20px 4px; color:var(--muted) }
#toast { position:fixed; z-index:100; max-width:min(90vw,580px); left:50%; bottom:26px; transform:translate(-50%,10px); opacity:0; pointer-events:none; transition:.15s; background:#253b57; color:white; padding:9px 18px; border-radius:7px; box-shadow:0 4px 20px #16356526 }
#toast.visible { opacity:1; transform:translate(-50%,0) }
@media (min-width:761px) and (max-width:1170px) {
  .ops-header-inner { gap:8px; padding-inline:18px }
  .ops-brand { font-size:15px; gap:7px }
  .ops-brand img { width:32px; height:32px }
  .ops-top-nav { gap:0 }
  .ops-top-nav a { padding-inline:8px; font-size:13px }
  .ops-person-label { display:none }
}
@media (min-width:761px) and (max-width:990px) {
  .ops-header-inner { display:grid; grid-template-columns:1fr auto; gap:0 12px }
  .ops-brand,.ops-tools { height:51px }
  .ops-top-nav { grid-column:1/-1; grid-row:2; justify-content:flex-start }
  .ops-top-nav a { min-height:40px; padding-inline:14px }
}
@media (max-width:760px) {
  .ops-header-inner { min-height:53px; padding:0 14px; gap:8px }
  .ops-brand { font-size:16px; gap:8px }
  .ops-brand img { width:29px; height:29px }
  .brand-full,.ops-top-nav,.ops-person-label,.ops-person>svg { display:none }
  .brand-short { display:inline }
  .ops-tools { gap:0 }
  .ops-icon,.ops-person { min-width:44px; min-height:44px }
  .ops-person { margin:0; padding:4px }
  .ops-avatar { width:28px; height:28px }
  .main-shell { min-height:calc(100dvh - 54px) }
  #main { width:100%; padding:16px 14px calc(80px + env(safe-area-inset-bottom)) }
  .bottom-nav { display:flex; position:fixed; z-index:14; bottom:0; left:0; right:0; justify-content:space-around; align-items:center; padding:4px 6px max(4px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid var(--line) }
  .bottom-nav button { display:flex; flex-direction:column; align-items:center; min-width:58px; min-height:47px; justify-content:center; gap:2px; font-size:11px; color:#68788c }
  .bottom-nav button.selected { color:var(--primary); font-weight:650 }
  .bottom-nav button:active { background:#edf4fe; border-radius:5px }
  .page-head,.page-header { align-items:flex-start; flex-wrap:wrap }
  .btn,.icon-btn { min-height:42px }
  #toast { bottom:calc(72px + env(safe-area-inset-bottom)) }
  .shell-modal-body { padding:12px 14px 16px }
  #shell-dialog header { padding:12px 14px }
  input,textarea,select { font-size:16px }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition-duration:0s!important; animation-duration:0s!important } }


.trend-svg .tick { fill:#728399; font:11px system-ui,sans-serif }
.trend-svg .rule { stroke:#e2e9f1; stroke-dasharray:3 5; stroke-width:1 }
.trend-svg g[tabindex] { cursor:pointer }
.trend-svg g[tabindex]:is(:hover,:focus) .spot { opacity:1 }
.rank-row { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; font-size:12px }
.rank-row>i { height:7px; border-radius:4px; background:#edf2fa; min-width:20px; overflow:hidden }
.rank-row>i>b { display:block; height:100%; border-radius:4px }
.rank-row>strong { font:600 13px Arial,sans-serif; min-width:40px; text-align:right }
