/* Shared Ant Design surface, type and interaction tokens for the three frontends. */
:root {
  color-scheme: light;
  --canvas: #f0e7d5;
  --frame: rgb(238 219 182 / 20%);
  --frame-line: rgb(103 83 47 / 18%);
  --surface: #faf0dc;
  --surface-subtle: #f0e7d4;
  --control-surface: #fff8e9;
  --text: #202e29;
  --secondary: #485a50;
  --muted: #4e6055;
  --border: #d9cbb1;
  --control-border: #7a877b;
  --primary: #205447;
  --primary-hover: #174236;
  --primary-soft: #e7f0e7;
  --on-primary: #fffef7;
  --accent: #9a4939;
  --accent-soft: #f5e9e1;
  --danger: #a43529;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --panel-shadow: 0 5px 16px rgb(84 63 32 / 8%);
  --focus-ring: #276b70;
  color: var(--text);
  background: var(--canvas);
  font: 16px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}
@media screen {
  :root::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      linear-gradient(155deg, rgb(248 239 222 / 58%), rgb(242 236 222 / 70%) 52%, rgb(233 236 220 / 76%)),
      url("/assets/paper-landscape.webp") 75% bottom / cover no-repeat;
  }
}
@media (forced-colors: active) {
  :root::before { display: none; }
}
@media print {
  :root { --panel-shadow: none; background: white; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button, a, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:where(button, a, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
a { color: var(--primary); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 24px/1 var(--serif);
  letter-spacing: .09em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { display: block; width: 36px; height: 36px; flex: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
