@font-face {
  font-family:"DM Serif Display";
  src:url("/fonts/dm-serif-display-regular.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:"DM Serif Display";
  src:url("/fonts/dm-serif-display-italic.woff2") format("woff2");
  font-style:italic;
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:"P3 Heading CJK";
  src:url("/fonts/p3-heading-cjk.woff2") format("woff2");
  font-style:normal;
  font-weight:250 900;
  font-display:swap;
  unicode-range:U+3000-9FFF;
}

@font-face {
  font-family:"Mona Sans";
  src:url("/fonts/mona-sans.woff2") format("woff2");
  font-style:normal;
  font-weight:200 900;
  font-display:swap;
  unicode-range:U+0000-024F,U+2000-206F,U+20A0-20CF,U+2100-214F,U+2190-21FF,U+2212;
}

@font-face {
  font-family:"P3 UI CJK";
  src:url("/fonts/p3-ui-cjk-regular.woff2") format("woff2");
  font-style:normal;
  font-weight:400 500;
  font-display:swap;
  unicode-range:U+3000-303F,U+3400-9FFF,U+FF00-FFEF;
}
@font-face {
  font-family:"P3 UI CJK";
  src:url("/fonts/p3-ui-cjk-bold.woff2") format("woff2");
  font-style:normal;
  font-weight:600 900;
  font-display:swap;
  unicode-range:U+3000-303F,U+3400-9FFF,U+FF00-FFEF;
}

/* Shared Web palette, type and spacing. Page styles consume these semantic roles. */
:root {
  --brand-navy:#254453;
  --brand-teal:#147568;
  --brand-secondary:#2a9c8c;
  --brand-soft:#e4f4f0;
  --brand-accent:#e8c168;
  --brand-accent-soft:#faf3dd;
  --network-primary-outline:#8a6724;
  --network-other:#a7b0b5;
  --network-other-outline:#53636d;
  --network-count:#111827;
  --on-dark-subtle:#d5e6e9;
  --brand-hover:#1e3946;
  --brand-pressed:#18303a;
  --analytic-blue:#245cdb;
  --analytic-wash:#eef3ff;
  --analytic-series-soft:#e8f3f1;
  --focus-ring:#245cdb;
  --text-primary:#20323b;
  --text-secondary:#526579;
  --border:#d7e3e6;
  --divider:#e2ebed;
  --input-border:#758991;
  --paper:#fff;
  --page:#f5f8f8;
  --table-head:#f0f5f5;
  --disabled-bg:#e9eff0;
  --on-dark:#f1f7f8;
  --success-ink:#166a4c; --success-bg:#eaf6ee;
  --warning-ink:#9a5b0b; --warning-bg:#fff4df;
  --error-ink:#b42318; --error-bg:#feeceb;
  --info-ink:#245cdb; --info-bg:#eef3ff;
  --pending-ink:#526976; --pending-bg:#e9eff2;
  --neutral-50:var(--page); --neutral-100:var(--table-head); --neutral-200:var(--border);
  --neutral-300:#c0d0d5; --neutral-400:#91a3aa; --neutral-500:#657983;
  --neutral-600:var(--text-secondary); --neutral-650:#4d616b; --neutral-700:#435762;
  --neutral-800:#334951; --neutral-900:var(--text-primary); --neutral-950:#182a32;
  --p3-font-brand:"DM Serif Display",Georgia,"Times New Roman",serif;
  --p3-font-heading:"P3 Heading CJK","Source Han Serif SC","Noto Serif SC","Songti SC",STSong,var(--p3-font-body);
  --p3-font-body:"Mona Sans","P3 UI CJK","Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --p3-font-numeric:"Mona Sans",Inter,system-ui,sans-serif;
  --font-ui:var(--p3-font-body);
  --p3-heading-weight:700;
  --font-display:var(--p3-font-heading);
  --font-brand:var(--p3-font-brand);
  --text-xs:.8125rem; --text-sm:.875rem; --text-base:.9375rem;
  --text-card:1rem; --text-subsection:1.125rem; --text-section:1.25rem;
  --text-page:1.75rem; --text-metric:2.5rem; --text-lead:2.5rem;
  --line-page:2.25rem; --line-section:1.75rem; --line-subsection:1.625rem;
  --line-base:1.5rem; --line-control:1.375rem; --line-table:1.3125rem; --line-meta:1.1875rem;
  --gap-1:4px; --gap-2:8px; --gap-3:12px; --gap-4:16px; --gap-6:24px;
  --gap-8:32px; --gap-10:40px; --gap-12:48px; --gap-16:64px;
  --control-height:40px; --control-touch:44px;
  --radius-control:8px; --radius-surface:12px; --radius-dialog:16px;
  --shadow-surface:0 1px 2px rgb(32 50 59 / .045);
  --shadow-hover:0 2px 6px rgb(32 50 59 / .08);
  --shadow-panel:0 12px 32px rgb(32 50 59 / .12),0 2px 4px rgb(32 50 59 / .05);
  --motion-fast:120ms; --motion-feedback:150ms; --motion-normal:180ms; --motion-slow:240ms;
  --ease-standard:cubic-bezier(.2,0,0,1);
}

/* Keep the native picker, but size its closed control like other form fields. */
select:not([multiple]):not([size]),
select:not([multiple])[size="1"] {
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  min-width:0;
  padding-inline-end:28px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23526477' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 8px center;
  background-size:14px 14px;
}
@media (forced-colors:active) {
  select:not([multiple]):not([size]),
  select:not([multiple])[size="1"] {
    -webkit-appearance:auto;
    appearance:auto;
    background-image:none;
    padding-inline-end:10px;
  }
}

@media (max-width:767px),(pointer:coarse) {
  :root {--control-height:var(--control-touch);}
}
