/* Owner-approved refinements, 2026-09-18. The family master remains byte-identical. */
@import url("../fonts/quiet-order/daojian-serif.662c6b79be39.css");
:root { --serif: "Noto Serif SC Variable", "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif; }
.headquarters-footer { display: flex; justify-content: center; margin-top: 32px; }
.headquarters-footer a { font-size: 14px; color: var(--muted); min-height: 44px; }
.secondary-directory { border-top: 0; margin-top: 24px; }
.secondary-directory > summary { justify-content: center; padding: 8px 0; gap: 4px; font-size: 15px; color: var(--muted); }
.secondary-directory > .detail-body { padding-top: 18px; }
.account-feedback { margin-top: 16px; margin-bottom: 0; }
#catalogStatus, #formMessage { text-align: center; }
#formMessage { margin: 0 0 12px; }
.directory-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 12px; max-width: 320px; margin: 20px auto 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.directory-pagination button { padding: 5px 12px; line-height: inherit; }
.directory-pagination button:disabled { opacity: .45; cursor: default; }
#directoryPage { white-space: nowrap; text-align: center; font-variant-numeric: tabular-nums; }
.privacy p { overflow-wrap: break-word; word-break: normal; }
.privacy p + p { margin-top: 8px; }
.privacy p a { display: inline; min-height: auto; text-decoration: underline; text-underline-offset: 3px; }
.notice, .metadata, .section-title { text-wrap: wrap; }
/* A bottom rule preserves keyboard location without the former yellow rectangle. */
:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--ink); }
.field input:focus-visible, .value:focus-visible { border-bottom-color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: none; }
#dismissAccountFeedback:focus-visible { box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
.location-control { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: stretch; }
.location-control input { min-width: 0; }
.location-control button { display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--line); padding: 0; }
#locationSearch { width: 100%; font-size: 18px; }
#selectedLocations { flex-wrap: wrap; }
#selectedLocations button { overflow-wrap: anywhere; }
#locationOptions .option[aria-pressed="true"] { background: #92774a14; color: var(--bronze); }
.exam-prep-panel { margin-top: 22px; padding: 24px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, var(--bronze)); }
.exam-prep-panel h2 { margin: 6px 0 8px; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; }
.exam-target-form { margin-top: 20px; }
.exam-target-form .consent { align-items: flex-start; white-space: normal; }
.exam-target-form .consent span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.exam-target-form .form-grid { gap: 18px 20px; }
.exam-target-form select.input-text { appearance: none; background: transparent; border-radius: 0; color: var(--ink); }
.exam-target-summary { margin: 20px 0 0; padding: 16px; border-left: 2px solid var(--bronze); background: color-mix(in srgb, var(--paper) 82%, var(--line)); }
.exam-target-summary strong { display: block; margin-bottom: 6px; font-size: 18px; }
.exam-target-summary p { margin: 4px 0; }
.unified-today { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.unified-today h3 { margin: 0 0 8px; font-size: 17px; }
.unified-today ol { margin: 0; padding-left: 22px; }
.unified-today li + li { margin-top: 7px; }
.feedback-dialog { width: min(420px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 18px; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 24px 80px #16130f2b; }
.feedback-dialog::backdrop { background: #17130f52; backdrop-filter: blur(4px); }
.feedback-dialog .dialog-inner { padding: 28px 26px 22px; }
.feedback-dialog .dialog-kicker { margin: 0 0 8px; color: var(--bronze); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.feedback-dialog h2 { margin: 0; font-size: 24px; line-height: 1.25; }
.feedback-dialog p { margin: 12px 0 20px; color: var(--muted); line-height: 1.7; }
.feedback-dialog .dialog-actions { display: flex; justify-content: flex-end; }
.feedback-dialog .dialog-actions button { min-width: 88px; }
.today-learn-card, .today-do-card, .help-block {
  margin-top: 22px;
  padding: 22px 0 8px;
  border-top: 1px solid var(--line);
}
.today-learn-card h2, .today-do-card h2, .help-block h2 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.25;
}
.help-needs { display: grid; gap: 10px; margin: 12px 0 18px; padding: 0; border: 0; }
.help-needs legend { font-weight: 500; margin-bottom: 4px; }
.help-needs label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lang-switch { display: flex; gap: 4px; margin-left: auto; }
.lang-switch button { min-height: 36px; min-width: 36px; border: 0; background: none; color: var(--muted, #6e695b); }
.lang-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 370px) { .consent { align-items: flex-start; white-space: normal; } .consent span { white-space: normal; } }
@media print { .headquarters-footer, .secondary-directory { display: none; } }
@media (forced-colors: active) { :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } }
