/* Watch City components. Load after the token custom properties (one per tokens.json entry: --<name>, --font-<family>). */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..700;1,6..96,400..700&family=IBM+Plex+Mono:wght@400;500&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap");

/* ---------- Base ---------- */
.wc-page { background: var(--vellum); color: var(--graphite); font-family: var(--font-serif); font-size: 18px; line-height: 28px; font-variant-numeric: oldstyle-nums; }
.wc-page a { color: var(--oxide); text-underline-offset: 3px; }
.wc-page a:hover { color: var(--graphite); }
.wc-page :focus-visible { outline: var(--stroke-bold) solid var(--oxide); outline-offset: 2px; }
.wc-wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); box-sizing: border-box; }
.wc-grid-bg { background-image: linear-gradient(rgb(196 184 163 / .35) 1px, transparent 1px), linear-gradient(90deg, rgb(196 184 163 / .35) 1px, transparent 1px); background-size: 32px 32px; }
.wc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.wc-display { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -0.01em; }
.wc-heading { margin: 0; font-family: var(--font-display); font-size: 34px; line-height: 40px; font-weight: 500; }
.wc-subheading { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 400; font-style: italic; }
.wc-label { font-family: var(--font-serif); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; font-variant-caps: small-caps; }
.wc-annot { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pencil); }
.wc-data { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.wc-lede { font-size: 20px; line-height: 30px; max-width: 34em; margin: 0; }
.wc-muted { color: var(--pencil); }

/* ---------- Ornament ---------- */
.wc-rule { border: 0; height: 3px; margin: var(--space-8) 0; border-top: var(--stroke-bold) solid var(--graphite); border-bottom: var(--stroke-hairline) solid var(--graphite); }
.wc-rule--short { width: 96px; }
.wc-break { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-8) 0; }
.wc-break::before, .wc-break::after { content: ""; flex: 1; border-top: var(--stroke-hairline) solid var(--rule-strong); }
.wc-break > span { width: 10px; height: 10px; border: var(--stroke-hairline) solid var(--brass); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--vellum), 0 0 0 4px var(--rule-strong); }
.wc-section-head { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding-bottom: 12px; margin-bottom: var(--space-8); border-bottom: var(--stroke-bold) solid var(--graphite); }
.wc-section-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-top: var(--stroke-hairline) solid var(--graphite); }
.wc-dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 64px; line-height: 52px; font-weight: 500; color: var(--graphite); background: var(--linen); border: var(--stroke-hairline) solid var(--rule-strong); padding: 8px 10px 4px; margin: 6px 12px 0 0; }
.wc-corners { position: relative; }
.wc-corners::before { content: ""; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(var(--graphite), var(--graphite)) left top / 14px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) left top / 2px 14px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right top / 14px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right top / 2px 14px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) left bottom / 14px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) left bottom / 2px 14px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 14px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) right bottom / 2px 14px no-repeat; }

/* ---------- Button ---------- */
.wc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-8); box-sizing: border-box; border-radius: var(--radius-1); cursor: pointer; text-decoration: none; font-family: var(--font-serif); font-size: 17px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; font-variant-caps: small-caps; border: 0; }
.wc-btn--primary, .wc-page a.wc-btn--primary { background: var(--brass); color: var(--vellum); box-shadow: inset 0 0 0 3px var(--brass), inset 0 0 0 4px var(--brass-tint); }
.wc-btn--primary:hover, .wc-page a.wc-btn--primary:hover { background: var(--graphite); color: var(--vellum); box-shadow: inset 0 0 0 3px var(--graphite), inset 0 0 0 4px var(--pencil); }
.wc-btn--secondary, .wc-page a.wc-btn--secondary { background: var(--vellum); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite), inset 0 0 0 3px var(--vellum), inset 0 0 0 4px var(--rule-strong); }
.wc-btn--secondary:hover, .wc-page a.wc-btn--secondary:hover { background: var(--linen); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--graphite), inset 0 0 0 3px var(--linen), inset 0 0 0 4px var(--rule-strong); }
.wc-btn:disabled, .wc-btn[aria-disabled="true"] { background: var(--linen); color: var(--pencil); box-shadow: none; outline: var(--stroke-hairline) dashed var(--rule-strong); outline-offset: -1px; cursor: not-allowed; }
.wc-btn--icon { width: 48px; padding: 0; }

/* ---------- Form fields ---------- */
.wc-field { display: flex; flex-direction: column; gap: var(--space-1); }
.wc-field > label, .wc-legend { font-family: var(--font-serif); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; font-variant-caps: small-caps; color: var(--graphite); }
.wc-input { height: 48px; box-sizing: border-box; padding: 0 12px; border: var(--stroke-hairline) solid var(--rule-strong); border-radius: var(--radius-1); background: var(--vellum); color: var(--graphite); font: inherit; font-size: 17px; font-variant-numeric: lining-nums; }
.wc-input:focus { border-color: var(--graphite); }
.wc-input[aria-invalid="true"] { border: var(--stroke-bold) solid var(--oxide); }
.wc-input:disabled { background: var(--linen); color: var(--pencil); border-style: dashed; }
.wc-hint { font-size: 15px; line-height: 22px; color: var(--pencil); }
.wc-error { font-size: 15px; line-height: 22px; color: var(--oxide); }
.wc-choice { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 24px; }
.wc-choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brass); flex: none; }

/* ---------- Tag + status ---------- */
.wc-tag { display: inline-block; padding: 2px var(--space-2); border: var(--stroke-hairline) solid var(--rule-strong); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.wc-tag--marked { background: var(--brass-tint); border-color: var(--brass); }
.wc-tag--solid { background: var(--graphite); border-color: var(--graphite); color: var(--vellum); }
.wc-status { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 16px; line-height: 24px; }
.wc-status::before { content: ""; width: 10px; height: 10px; box-sizing: border-box; flex: none; }
.wc-status--adopted { color: var(--patina); } .wc-status--adopted::before { background: var(--patina); border-radius: var(--radius-full); }
.wc-status--open { color: var(--patina); } .wc-status--open::before { border: 2px solid var(--patina); border-radius: var(--radius-full); }
.wc-status--pending { color: var(--brass); } .wc-status--pending::before { background: var(--brass-tint); border: 2px solid var(--brass); border-radius: var(--radius-full); }
.wc-status--urgent { color: var(--oxide); } .wc-status--urgent::before { background: var(--oxide); transform: rotate(45deg); width: 9px; height: 9px; }
.wc-status--closed { color: var(--pencil); } .wc-status--closed::before { height: 2px; background: var(--pencil); }

/* ---------- Plate (card) ---------- */
.wc-plate { position: relative; display: flex; flex-direction: column; background: var(--vellum); border: var(--stroke-hairline) solid var(--rule-strong); }
.wc-plate__strip { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) var(--space-4); background: var(--linen); border-bottom: var(--stroke-hairline) solid var(--rule-strong); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pencil); }
.wc-plate__body { display: flex; flex-direction: column; gap: 12px; padding: 20px var(--space-4) var(--space-4); flex: 1; }
.wc-plate__title { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 500; }
.wc-plate__foot { margin-top: auto; padding-top: 12px; border-top: var(--stroke-hairline) solid var(--rule); font-family: var(--font-mono); font-size: 14px; line-height: 20px; color: var(--pencil); }

/* ---------- Table ---------- */
.wc-table-box { overflow-x: auto; border-bottom: var(--stroke-bold) solid var(--graphite); }
.wc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.wc-table caption { text-align: left; caption-side: top; padding: 0 0 var(--space-2); font-family: var(--font-serif); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; font-variant-caps: small-caps; }
.wc-table thead th { border-top: var(--stroke-bold) solid var(--graphite); background: var(--linen); text-align: left; padding: 10px var(--space-4); border-bottom: var(--stroke-hairline) solid var(--graphite); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pencil); }
.wc-table td, .wc-table tbody th { padding: 12px var(--space-4); border-bottom: var(--stroke-hairline) solid var(--rule); text-align: left; vertical-align: top; }
.wc-table tbody th { font-weight: 600; }
.wc-table tbody tr:last-child > * { border-bottom: 0; }
.wc-table .wc-num { text-align: right; }
.wc-table td.wc-num { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ---------- Notice ---------- */
.wc-notice { display: flex; flex-direction: column; gap: var(--space-2); padding: 20px; border: var(--stroke-hairline) solid var(--rule-strong); background: var(--vellum); }
.wc-notice__kicker { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pencil); }
.wc-notice--confirm { border-color: var(--patina); border-top: 4px solid var(--patina); }
.wc-notice--confirm .wc-notice__kicker { color: var(--patina); }
.wc-notice--important { background: var(--linen); border: var(--stroke-bold) solid var(--graphite); outline: var(--stroke-hairline) solid var(--rule-strong); outline-offset: -8px; padding: 28px; }
.wc-notice--important .wc-notice__kicker { color: var(--oxide); }

/* ---------- Header / nav ---------- */
.wc-topbar { background: var(--linen); border-bottom: var(--stroke-hairline) solid var(--rule); }
.wc-topbar .wc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: var(--space-2); }
.wc-header { border-bottom: var(--stroke-bold) solid var(--graphite); position: relative; }
.wc-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; border-top: var(--stroke-hairline) solid var(--graphite); }
.wc-header .wc-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) 40px; padding-block: 20px; }
.wc-brand, .wc-page a.wc-brand { display: flex; align-items: center; gap: 12px; color: var(--graphite); text-decoration: none; }
.wc-brand__name { display: block; font-family: var(--font-display); font-size: 28px; line-height: 30px; font-weight: 500; }
.wc-nav { flex: 1 1 auto; }
.wc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) 28px; }
.wc-nav a, .wc-page .wc-nav a { color: var(--graphite); text-decoration: none; padding-bottom: 4px; font-family: var(--font-serif); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: 0.06em; font-variant-caps: small-caps; }
.wc-nav a[aria-current="page"] { border-bottom: var(--stroke-bold) solid var(--oxide); }
.wc-nav a:hover { color: var(--oxide); }
.wc-search { display: flex; flex: 0 1 300px; min-width: 220px; }
.wc-search .wc-input { flex: 1; min-width: 0; border-right: 0; border-radius: var(--radius-1) 0 0 var(--radius-1); }
.wc-search .wc-btn { border-radius: 0 var(--radius-1) var(--radius-1) 0; background: var(--graphite); color: var(--vellum); }
.wc-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.wc-crumbs li + li::before { content: "/"; color: var(--rule-strong); margin-right: var(--space-2); }
.wc-crumbs [aria-current="page"] { color: var(--graphite); }
.wc-pager { display: flex; gap: var(--space-1); font-family: var(--font-mono); font-size: 16px; }
.wc-pager a, .wc-page .wc-pager a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: var(--stroke-hairline) solid var(--rule-strong); color: var(--graphite); text-decoration: none; }
.wc-pager a[aria-current="page"] { background: var(--graphite); border-color: var(--graphite); color: var(--vellum); }

/* ---------- Stepper ---------- */
.wc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 40px var(--space-8); }
.wc-steps > li { border-top: var(--stroke-hairline) solid var(--rule-strong); display: flex; flex-direction: column; gap: var(--space-2); font-size: 16px; line-height: 24px; }
.wc-step__num { margin-top: -21px; width: 40px; height: 40px; box-sizing: border-box; border-radius: var(--radius-full); background: var(--graphite); color: var(--vellum); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; box-shadow: 0 0 0 3px var(--vellum), 0 0 0 4px var(--rule-strong); }
.wc-step__title { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 400; font-style: italic; }
.wc-steps > li[aria-current="step"] { border-top: var(--stroke-bold) solid var(--oxide); }
.wc-steps > li[aria-current="step"] .wc-step__num { background: var(--brass-tint); color: var(--graphite); border: var(--stroke-bold) solid var(--oxide); }

/* ---------- Accordion (details/summary) ---------- */
.wc-accordion { border-top: var(--stroke-hairline) solid var(--rule-strong); }
.wc-accordion details { border-bottom: var(--stroke-hairline) solid var(--rule-strong); }
.wc-accordion summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 12px 0; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-style: italic; }
.wc-accordion summary::-webkit-details-marker { display: none; }
.wc-accordion summary::after { content: "+"; font-family: var(--font-mono); font-style: normal; font-size: 20px; color: var(--oxide); }
.wc-accordion details[open] summary::after { content: "\2212"; }
.wc-accordion details > :not(summary) { margin: 0; padding: 0 40px 20px 0; }

/* ---------- Footnotes + sidenotes ---------- */
.wc-article { max-width: 680px; }
.wc-article p { margin: 0 0 var(--space-4); }
.wc-fn { font-family: var(--font-serif); font-size: 0.8em; line-height: 0; vertical-align: super; text-decoration: none; padding-left: 1px; }
.wc-notes { margin-top: var(--space-8); padding-top: var(--space-4); position: relative; font-size: 15px; line-height: 22px; color: var(--pencil); }
.wc-notes::before { content: ""; position: absolute; top: 0; left: 0; width: 96px; border-top: var(--stroke-hairline) solid var(--graphite); }
.wc-notes ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.wc-notes li { display: flex; gap: var(--space-2); }
.wc-notes li > span:first-child { color: var(--oxide); min-width: 1em; }
.wc-sidenote { display: block; margin: 0 0 var(--space-4); padding-top: var(--space-2); border-top: var(--stroke-hairline) solid var(--rule-strong); font-size: 15px; line-height: 22px; color: var(--pencil); }
.wc-sidenote__mark { color: var(--oxide); margin-right: var(--space-1); }
@media (min-width: 1100px) {
  .wc-article--margin { position: relative; }
  .wc-article--margin .wc-sidenote { float: right; clear: right; width: 220px; margin: 4px -268px var(--space-4) 0; }
}

/* ---------- Footer ---------- */
.wc-footer { background: var(--graphite); color: var(--vellum); position: relative; margin-top: 6px; }
.wc-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; border-top: var(--stroke-hairline) solid var(--graphite); }
.wc-footer .wc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--space-8); padding-block: 48px; font-size: 16px; line-height: 24px; }
.wc-footer .wc-cols > * { display: flex; flex-direction: column; gap: var(--space-2); }
.wc-footer a, .wc-page .wc-footer a { color: var(--vellum); }
.wc-footer a:hover { color: var(--brass-tint); }
.wc-footer :focus-visible { outline-color: var(--brass-tint); }
.wc-footer .wc-annot, .wc-footer .wc-muted { color: var(--rule); }
.wc-footer__base { border-top: var(--stroke-hairline) solid var(--pencil); padding-block: var(--space-4); }
