:root {
  color-scheme: light;
  --ink: #172a33;
  --sub: #506572;
  --base: #f5f8f8;
  --paper: #fff;
  --line: #d9e4e6;
  --blue: #123a4b;
  --on-blue: #f7fdff;
  --mint: #e4f0ef;
  --sand: #f4ead3;
  --gold: #775516;
  --focus: #126a85;
  --radius: 15px;
  --shadow: 0 3px 14px #163d4d0b;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--base);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
a { color: var(--blue); }
img, svg { max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.65rem, 3.8vw, 2.25rem); letter-spacing: -.025em; line-height: 1.18; }
h2 { font-size: 1.2rem; line-height: 1.3; }
h3 { font-size: 1rem; }
form { margin: 0; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 8; background: var(--paper); padding: .75rem; }
.skip:focus { transform: none; }
.loading { padding: 2rem; text-align: center; color: var(--sub); }
.app-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 68rem; min-height: 4.1rem; padding: .7rem 1.25rem; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--blue); }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .65rem; background: #dcebea; font-size: 1.25rem; font-weight: 800; }
.brand-word { display: flex; align-items: baseline; gap: .48rem; font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.brand-word small { color: var(--sub); font-size: .59rem; letter-spacing: .14em; }
.header-actions, .locale-picker { display: flex; align-items: center; gap: .42rem; }
.locale-picker { background: var(--base); border: 1px solid var(--line); padding: .14rem; border-radius: 9px; gap: 0; }
.locale-picker button { border: 0; border-radius: 6px; color: var(--sub); background: transparent; padding: .25rem .5rem; min-height: 2rem; font-size: .8rem; font-weight: 650; }
.locale-picker button[aria-pressed=true] { color: var(--blue); background: var(--paper); box-shadow: var(--shadow); }
.header-link { font-size: .83rem; white-space: nowrap; }
.public-content { width: min(100% - 2rem, 54rem); margin: 1.25rem auto 0; min-height: 55vh; }
.workspace-layout { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; width: min(100% - 2.5rem, 65.5rem); margin: 1.6rem auto 0; min-height: 65vh; }
.workspace-content { min-width: 0; max-width: 51rem; }
.app-nav { align-self: start; display: grid; gap: .28rem; background: var(--paper); padding: .55rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.app-nav a { display: flex; gap: .65rem; align-items: center; padding: .64rem .7rem; border-radius: .55rem; text-decoration: none; color: var(--sub); font-size: .88rem; font-weight: 650; }
.app-nav a[aria-current=page] { color: var(--blue); background: var(--mint); }
.app-nav svg { width: 1.25rem; height: 1.25rem; flex: none; }
.app-footer { display: flex; justify-content: space-between; align-items: center; gap: .7rem; max-width: 66rem; margin: 1.5rem auto 0; padding: 1rem 1.25rem 1.5rem; color: var(--sub); font-size: .78rem; }
.panel { padding: clamp(.9rem, 3.1vw, 1.45rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stack { display: grid; gap: .85rem; }
.row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.section-heading { display: grid; gap: .28rem; margin-bottom: .75rem; }
.muted, .hint { color: var(--sub); }
.hint { font-size: .85rem; }
.eyebrow { color: var(--sub); font-size: .71rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; width: fit-content; max-width: 100%; padding: .58rem .95rem; text-decoration: none; border: 1px solid var(--blue); border-radius: .7rem; background: var(--blue); color: var(--on-blue); font-weight: 670; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.btn.secondary { background: var(--paper); border-color: var(--line); color: var(--blue); }
.btn.danger { background: #fff6f4; color: #842a21; border-color: #e7b3ae; }
.text-button { border: 0; padding: .5rem 0; background: transparent; color: var(--blue); text-decoration: underline; }
.field { display: grid; gap: .28rem; min-width: 0; font-weight: 650; }
.field small { font-weight: 400; color: var(--sub); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; max-width: 100%; border: 1px solid #c2d2d6; background: var(--paper); border-radius: .58rem; padding: .55rem .64rem; min-height: 2.7rem; }
textarea { resize: vertical; min-height: 5.5rem; }
input[type=checkbox] { width: 1.2rem; height: 1.2rem; flex: none; accent-color: var(--blue); }
.pill { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: .25rem .62rem; border-radius: 50rem; color: var(--blue); background: var(--mint); font-size: .75rem; font-weight: 700; }
.notice, .empty { border-radius: .7rem; padding: .75rem .9rem; color: var(--blue); background: var(--mint); }
.empty { color: var(--sub); background: var(--base); border: 1px dashed var(--line); }
.notice.error, .error { color: #8a2b23; }
.notice.error { background: #fff4f1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.work-grid > .wide { grid-column: 1 / -1; }
.work-list { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.work-list > li { padding: .8rem; border: 1px solid var(--line); border-radius: .7rem; display: grid; gap: .42rem; min-width: 0; }
.work-results:empty { display: none; }
.work-credential { overflow-wrap: anywhere; }
.notification-settings { margin-top: .85rem; }
@media (max-width: 740px) {
  .header-inner { padding-inline: .9rem; min-height: 3.65rem; }
  .brand-word small { display: none; }
  .public-content { margin-top: .85rem; width: calc(100% - 1.5rem); }
  .workspace-layout { display: block; width: calc(100% - 1.5rem); margin-top: .85rem; }
  .app-nav { position: fixed; inset: auto 0 0; z-index: 5; display: flex; justify-content: center; gap: 0; border-radius: 0; border-width: 1px 0 0; padding: .3rem .25rem max(.35rem, env(safe-area-inset-bottom)); box-shadow: 0 -2px 14px #163d4d12; }
  .app-nav a { display: grid; flex: 1; max-width: 7rem; place-items: center; gap: .18rem; padding: .24rem .1rem; font-size: .72rem; line-height: 1.15; min-height: 2.65rem; }
  .workspace-layout + .app-footer { padding-bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .work-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; } }
