/* Shared public design. Scoped to body.ky-site; no framework or production dependencies. */
body.ky-site {
  --red: #a23238;
  --deep-red: #6e222c;
  --pale-red: #fbefea;
  --ink: #322923;
  --muted: #74685d;
  --gold: #926533;
  --line: #e6dccf;
  --paper: #f8f4ee;
  --brass: #c29a66;
  --cream: #f0dbb8;
  --white: #fff;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.ky-site, :where(.ky-site) * { box-sizing: border-box; }
html:has(> body.ky-site) { scroll-behavior: smooth; scroll-padding-top: 22px; }
body.ky-site { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
:where(.ky-site) h1, :where(.ky-site) h2, :where(.ky-site) h3, :where(.ky-site) p { margin: 0; }
:where(.ky-site) a { color: inherit; text-decoration: none; }
:where(.ky-site) a:hover, :where(.ky-site) .text-button:hover { color: var(--red); }
:where(.ky-site) button, :where(.ky-site) input, :where(.ky-site) select { font: inherit; }
:where(.ky-site) button { color: inherit; cursor: pointer; }
:where(.ky-site) a:focus-visible, :where(.ky-site) button:focus-visible, :where(.ky-site) summary:focus-visible, :where(.ky-site) input:focus-visible, :where(.ky-site) select:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
:where(.ky-site) button:disabled { cursor: not-allowed; opacity: .6; }
:where(.ky-site) svg { display: block; }
:where(.ky-site) .wrap { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
:where(.ky-site) .skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 16px; background: #fff; z-index: 30; }
:where(.ky-site) .skip-link:focus { top: 10px; }
:where(.ky-site) .site-header { background: #fffdf9; border-top: 3px solid var(--deep-red); }
:where(.ky-site) .masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; }
:where(.ky-site) .brand { display: flex; align-items: center; gap: 15px; }
:where(.ky-site) .brand-seal { display: grid; place-items: center; width: 47px; height: 53px; border: 1px solid var(--deep-red); outline: 1px solid #f0dbb8b3; outline-offset: -5px; border-radius: 3px 1px 3px 1px; background: var(--red); color: #fff4df; font: 700 32px/1 var(--serif); box-shadow: 2px 2px 0 #e7d5bd; }
:where(.ky-site) .brand-name { display: block; font: 700 31px/1.3 var(--serif); letter-spacing: 4px; color: #492a28; }
:where(.ky-site) .brand-tagline { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: 3px; }
:where(.ky-site) .header-meta { display: flex; gap: 20px; align-items: center; color: var(--muted); font-size: 12px; }
:where(.ky-site) .header-meta span { padding-right: 20px; border-right: 1px solid var(--line); }
:where(.ky-site) .header-meta a { color: var(--red); }
:where(.ky-site) .main-nav { background: var(--deep-red); color: #fff; border-bottom: 2px solid #bc9259; }
:where(.ky-site) .main-nav .wrap { display: flex; align-items: center; gap: 0; overflow-x: auto; scrollbar-width: thin; }
:where(.ky-site) .main-nav a { flex: 0 0 auto; min-height: 48px; padding: 11px 24px; color: #fff; font-size: 14px; letter-spacing: 1px; }
:where(.ky-site) .main-nav a { position: relative; }
:where(.ky-site) .main-nav a:hover { background: #88323b; }
:where(.ky-site) .main-nav a[aria-current="page"] { color: #ffe2af; background: #8b3038; }
:where(.ky-site) .main-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 5px; left: calc(50% - 8px); width: 16px; height: 1px; background: #e7c899; }
:where(.ky-site) .main-nav a:focus-visible { outline-color: #fff; outline-offset: -5px; }
:where(.ky-site) .hero { position: relative; min-height: 216px; margin-top: 24px; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: #fff7e9; border-radius: 5px; background: radial-gradient(ellipse at 83% 50%, #963d40 0, #792530 42%, #611e28 100%); box-shadow: 0 8px 24px #5c302914; }
:where(.ky-site) .hero::before { content: ""; position: absolute; inset: 10px; border: 1px solid #d9b68042; pointer-events: none; z-index: -1; }
:where(.ky-site) .hero::after { content: ""; position: absolute; right: 358px; top: 27px; bottom: 27px; width: 1px; background: linear-gradient(transparent, #d9b68065, transparent); z-index: -1; }
:where(.ky-site) .hero-copy { padding: 32px 39px 36px; position: relative; z-index: 1; width: calc(100% - 320px); }
:where(.ky-site) .hero-eyebrow { display: flex; align-items: center; gap: 11px; color: #efd3a9; font-size: 11px; letter-spacing: 3px; }
:where(.ky-site) .hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: #ddb484; }
:where(.ky-site) .hero h1 { font: 600 40px/1.5 var(--serif); letter-spacing: 2px; margin-block: 10px 10px; }
:where(.ky-site) .hero h1 em { color: #f2d19e; font-style: normal; }
:where(.ky-site) .hero-description { color: #f0dbcb; font-size: 13px; line-height: 1.9; max-width: 560px; }
:where(.ky-site) .hero-art { position: absolute; right: 52px; top: 50%; transform: translateY(-50%); width: 260px; height: 260px; color: #d9b680; z-index: -1; }
:where(.ky-site) .hero-art svg { width: 100%; height: 100%; }
:where(.ky-site) .hero-art .orbit-lines { opacity: .42; }
:where(.ky-site) .hero-art .orbit-seal { fill: #f0d3a4; font: 600 104px var(--serif); }
:where(.ky-site) .hero-art .orbit-caption { fill: #ecd0a5; font: 11px var(--sans); letter-spacing: 5px; }
:where(.ky-site) .content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-top: 23px; }
:where(.ky-site) .primary-column, :where(.ky-site) .side-column { min-width: 0; }
:where(.ky-site) .panel { background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
:where(.ky-site) .form-panel, :where(.ky-site) .calendar-panel { box-shadow: 0 7px 20px #6b46300a; }
:where(.ky-site) .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 23px 14px; border-bottom: 1px solid var(--line); }
:where(.ky-site) .panel-heading h2, :where(.ky-site) .panel-heading h3 { display: flex; align-items: center; gap: 10px; font: 700 21px/1.4 var(--serif); }
:where(.ky-site) .panel-heading h2::before, :where(.ky-site) .panel-heading h3::before { content: ""; width: 3px; height: 17px; background: var(--red); }
:where(.ky-site) .panel-heading .more, :where(.ky-site) .panel-heading > span { color: var(--muted); font-size: 12px; flex-shrink: 0; }
:where(.ky-site) .more { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; }
:where(.ky-site) .text-button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; line-height: inherit; }
:where(.ky-site) .form-panel { border-top: 3px solid var(--red); }
:where(.ky-site) .form-panel .panel-heading { padding-top: 16px; padding-bottom: 16px; background: #fffaf3; }
:where(.ky-site) .form-panel .panel-heading h2 { font-size: 24px; gap: 12px; }
:where(.ky-site) .form-panel .panel-heading h2::before { content: "命"; display: grid; place-items: center; width: 30px; height: 33px; border: 1px solid #cba386; background: transparent; color: var(--red); font: 600 20px/1 var(--serif); }
:where(.ky-site) .form-intro { padding: 17px 25px 0; color: var(--muted); font-size: 13px; }
:where(.ky-site) .measure-form { padding: 24px 25px 25px; }
:where(.ky-site) .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 24px; }
:where(.ky-site) .field { display: block; min-width: 0; }
:where(.ky-site) .field-label, :where(.ky-site) .gender-field legend { display: block; color: #51473e; font-size: 13px; margin-bottom: 7px; }
:where(.ky-site) .field-label small { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 400; }
:where(.ky-site) input[type="text"], :where(.ky-site) input[type="date"], :where(.ky-site) select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #dcd2c7; border-radius: 3px; background: #fff; color: var(--ink); font-size: 14px; }
:where(.ky-site) .measure-form input[type="text"], :where(.ky-site) .measure-form input[type="date"], :where(.ky-site) .measure-form select { height: 44px; line-height: 1.4; }
:where(.ky-site) .measure-form select { -webkit-appearance: none; appearance: none; padding-right: 35px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23756454' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; text-overflow: ellipsis; }
:where(.ky-site) input::placeholder { color: #82776d; }
:where(.ky-site) input:focus, :where(.ky-site) select:focus { border-color: var(--red); }
:where(.ky-site) input[type="radio"] { accent-color: var(--red); width: 16px; height: 16px; margin: 0; }
:where(.ky-site) .gender-field { min-width: 0; margin: 0; padding: 0; border: 0; }
:where(.ky-site) .gender-options { display: flex; gap: 23px; min-height: 44px; align-items: center; }
:where(.ky-site) .gender-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-right: 8px; font-size: 14px; cursor: pointer; }
:where(.ky-site) .form-actions { display: flex; align-items: center; gap: 19px; margin-top: 24px; }
:where(.ky-site) .primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 26px; padding: 10px 29px; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 3px 0 #76222a; transition: background .16s; }
:where(.ky-site) .primary-button:hover { background: var(--deep-red); color: #fff; border-color: var(--deep-red); }
:where(.ky-site) .form-actions p { color: var(--muted); font-size: 12px; line-height: 1.8; }
:where(.ky-site) .form-actions p span { display: block; }
:where(.ky-site) .form-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 21px; padding: 12px 25px; border-top: 1px solid #eee5dd; background: #fdfaf6; }
:where(.ky-site) .form-bottom > span { color: var(--muted); font-size: 11px; }
:where(.ky-site) .form-bottom a { color: var(--red); font-size: 12px; min-height: 27px; display: inline-flex; align-items: center; }
:where(.ky-site) .editorial { margin-top: 21px; background: #fffdf8; }
:where(.ky-site) .editorial .panel-heading { border-bottom: 0; padding-bottom: 0; }
:where(.ky-site) .editorial .panel-heading h2::before { background: var(--brass); }
:where(.ky-site) .editorial-content { padding: 21px 24px 18px; }
:where(.ky-site) .editor-pick { display: flex; align-items: center; gap: 18px; padding-bottom: 17px; }
:where(.ky-site) .book-mark { flex: 0 0 66px; display: grid; place-items: center; width: 66px; height: 86px; background: #eee0c6; color: #755029; border: 1px solid #d7bc93; position: relative; transform: rotate(-3deg); box-shadow: 3px 3px 0 #f5ecdc; }
:where(.ky-site) .book-mark::after { content: ""; position: absolute; inset: 6px 7px 6px 15px; border: 1px solid #ae895763; }
:where(.ky-site) .book-mark::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; border-left: 1px solid #d6bda0; }
:where(.ky-site) .book-mark span { font: 600 20px/1.5 var(--serif); writing-mode: vertical-rl; letter-spacing: 3px; }
:where(.ky-site) .article-kicker { color: var(--red); font-size: 11px; letter-spacing: 1px; margin-bottom: 5px; }
:where(.ky-site) .editor-pick h3 { font-size: 18px; line-height: 1.6; font-weight: 600; }
:where(.ky-site) .editor-pick p { color: var(--muted); font-size: 13px; margin-top: 7px; }
:where(.ky-site) .editor-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 12px 0 0; margin: 0; border-top: 1px solid var(--line); column-gap: 24px; row-gap: 11px; }
:where(.ky-site) .editor-list li { display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.7; }
:where(.ky-site) .editor-list .tag { color: var(--muted); flex: 0 0 auto; font-size: 11px; }
:where(.ky-site) .article-area { margin-top: 30px; }
:where(.ky-site) .reading-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; align-items: start; }
:where(.ky-site) .reading-extras .side-footnote { grid-column: 1 / -1; }
:where(.ky-site) .area-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 15px; }
:where(.ky-site) .area-heading h2 { display: flex; align-items: center; gap: 12px; font: 700 28px/1.4 var(--serif); letter-spacing: 2px; color: #492a28; }
:where(.ky-site) .area-heading h2::before { content: "阅"; display: grid; place-items: center; width: 32px; height: 36px; border: 1px solid #bda081; color: var(--red); font: 500 22px/1 var(--serif); }
:where(.ky-site) .area-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); align-self: center; margin-left: 8px; }
:where(.ky-site) .area-heading p { color: var(--muted); font-size: 12px; }
:where(.ky-site) .article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
:where(.ky-site) .article-module { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--line); }
:where(.ky-site) .article-module .module-content { flex: 1; }
:where(.ky-site) .article-module .panel-heading { padding: 15px 20px 14px; background: #fcf7ef; }
:where(.ky-site) .article-module .panel-heading h3 { gap: 11px; color: #6e2f2b; font: 600 22px/1.5 var(--serif); }
:where(.ky-site) .article-module .panel-heading h3::before { display: none; }
:where(.ky-site) .topic-seal { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 32px; border: 1px solid #d8bfa2; color: #9b4537; font: 500 19px/1 var(--serif); }
:where(.ky-site) .article-module .panel-heading .more { font-size: 11px; }
:where(.ky-site) .module-content { padding: 14px 18px 6px; }
:where(.ky-site) .module-lead h4 { margin: 0; font-size: 17px; line-height: 1.75; font-weight: 600; }
:where(.ky-site) .module-lead p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-top: 5px; }
:where(.ky-site) .article-list { list-style: none; padding: 0; margin: 9px 0 0; }
:where(.ky-site) .article-list li { padding: 0; border-top: 1px solid #eee8e1; display: flex; align-items: baseline; gap: 8px; }
:where(.ky-site) .article-list li::before { content: ""; width: 3px; height: 3px; background: #aa9888; flex: 0 0 3px; transform: translateY(-3px); }
:where(.ky-site) .article-list .text-button { display: block; flex: 1; padding: 6px 0; font-size: 15px; line-height: 1.8; }
:where(.ky-site) .related-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 13px; padding: 10px 18px; border-top: 1px solid var(--line); background: #fdfaf7; min-height: 47px; }
:where(.ky-site) .related-tools > span { color: var(--muted); font-size: 11px; }
:where(.ky-site) .related-tools a { color: var(--red); font-size: 12px; min-height: 27px; display: inline-flex; align-items: center; }
:where(.ky-site) .side-column { display: grid; gap: 20px; }
:where(.ky-site) .side-panel { border-top: 2px solid var(--brass); }
:where(.ky-site) .calendar-panel { background: #fffaf1; }
:where(.ky-site) .calendar-panel .panel-heading { border-bottom: 1px solid #e7d8c0; }
:where(.ky-site) .calendar-panel .panel-heading h2 { color: #724b27; }
:where(.ky-site) .side-panel .panel-heading { padding: 13px 18px; }
:where(.ky-site) .side-panel .panel-heading h2 { font-size: 20px; }
:where(.ky-site) .side-panel .panel-heading h2::before { display: none; }
:where(.ky-site) .side-panel .panel-heading > span { font-size: 10px; }
:where(.ky-site) .calendar-body { padding: 17px 20px 19px; }
:where(.ky-site) .calendar-date { display: flex; align-items: center; gap: 17px; }
:where(.ky-site) .calendar-day { font: 500 65px/1.1 var(--serif); color: var(--red); }
:where(.ky-site) .calendar-date strong { display: block; font-size: 13px; font-weight: 500; }
:where(.ky-site) .calendar-date p { color: var(--muted); font-size: 12px; margin-top: 4px; }
:where(.ky-site) .calendar-lines { display: grid; gap: 8px; margin-block: 12px; padding-block: 10px; border-block: 1px solid var(--line); }
:where(.ky-site) .calendar-line { display: flex; align-items: baseline; gap: 12px; font-size: 13px; line-height: 1.9; }
:where(.ky-site) .calendar-line b { flex: 0 0 23px; text-align: center; color: #426b54; border: 1px solid #cbdbcc; font-weight: 500; font-size: 12px; border-radius: 2px; }
:where(.ky-site) .calendar-line.avoid b { color: var(--red); border-color: #e5c4bd; }
:where(.ky-site) .calendar-link { display: flex; justify-content: space-between; color: var(--red); font-size: 13px; min-height: 27px; align-items: center; }
:where(.ky-site) .common-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 9px; }
:where(.ky-site) .common-tools a { display: flex; justify-content: center; align-items: center; min-height: 45px; padding: 8px 7px; background: #fcf8f2; border: 1px solid #e6d9c9; border-radius: 2px; font-size: 14px; }
:where(.ky-site) .common-tools a:hover { border-color: #c69280; background: #fff0e9; }
:where(.ky-site) .side-copy { padding: 17px 19px 18px; }
:where(.ky-site) .side-copy > p { font-size: 13px; color: var(--muted); line-height: 1.9; }
:where(.ky-site) .side-copy .article-list { margin-top: 11px; }
:where(.ky-site) .side-copy .article-list li:first-child { border-top: 0; padding-top: 0; }
:where(.ky-site) .side-copy .article-list .text-button { font-size: 13px; }
:where(.ky-site) .side-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; min-height: 41px; padding: 8px 12px; border: 1px solid #d5ac9c; background: #fff9f4; color: var(--red); font-size: 13px; }
:where(.ky-site) .glossary { margin: 15px 0 0; }
:where(.ky-site) .glossary dt { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 12px; }
:where(.ky-site) .glossary dd { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
:where(.ky-site) .side-footnote { color: var(--muted); font-size: 11px; padding: 0 4px; }
:where(.ky-site) .directory { margin-top: 28px; border: 1px solid var(--line); background: #fff; border-radius: 3px; }
:where(.ky-site) .directory > summary { padding: 18px 23px; cursor: pointer; color: var(--ink); font-size: 16px; font-weight: 600; }
:where(.ky-site) .directory > summary small { margin-left: 13px; color: var(--muted); font-size: 12px; font-weight: 400; }
:where(.ky-site) .directory-content { padding: 0 23px 18px; }
:where(.ky-site) .directory-group { display: grid; grid-template-columns: 91px minmax(0, 1fr); gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); }
:where(.ky-site) .directory-group h3 { font-size: 13px; font-weight: 600; color: var(--red); }
:where(.ky-site) .directory-links { display: flex; flex-wrap: wrap; gap: 7px 20px; }
:where(.ky-site) .directory-links a { font-size: 13px; min-height: 25px; }
:where(.ky-site) .footer { margin-top: 33px; border-top: 1px solid var(--line); padding: 25px 0 30px; background: #fff; }
:where(.ky-site) .footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
:where(.ky-site) .footer-brand { font: 700 22px/1.5 var(--serif); letter-spacing: 2px; }
:where(.ky-site) .footer-links { display: flex; gap: 23px; color: var(--muted); font-size: 12px; }
:where(.ky-site) .footer p { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 5px; }
:where(.ky-site) dialog { width: min(610px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 26px; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px #302b2730; }
:where(.ky-site) dialog::backdrop { background: #302b2770; }
:where(.ky-site) .dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
:where(.ky-site) .dialog-header p { color: var(--red); font-size: 12px; }
:where(.ky-site) .close-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; font-size: 22px; }
:where(.ky-site) dialog h2 { font: 600 24px/1.6 var(--serif); margin-bottom: 16px; }
:where(.ky-site) .dialog-text { font-size: 15px; line-height: 2; white-space: pre-line; }
:where(.ky-site) .dialog-text li { padding-block: 7px; }
:where(.ky-site) .dialog-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
:where(.ky-site) .preview-fields { display: grid; grid-template-columns: 90px minmax(0, 1fr); margin: 0; gap: 10px 16px; }
:where(.ky-site) .preview-fields dt { color: var(--muted); }
:where(.ky-site) .preview-fields dd { margin: 0; overflow-wrap: anywhere; }
:where(.ky-site) .demo-link { display: inline-flex; margin-top: 19px; color: var(--red); font-size: 14px; }
:where(.ky-site) .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  :where(.ky-site) .wrap { width: calc(100% - 44px); }
  :where(.ky-site) .main-nav a { padding-inline: 19px; }
  :where(.ky-site) .content-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
  :where(.ky-site) .hero-art { right: 28px; width: 220px; height: 220px; }
  :where(.ky-site) .hero-copy { width: calc(100% - 250px); }
  :where(.ky-site) .hero::after { right: 265px; }
  :where(.ky-site) .hero h1 { font-size: 35px; }
  :where(.ky-site) .hero-description { max-width: 570px; }
  :where(.ky-site) .form-grid { column-gap: 18px; }
  :where(.ky-site) .article-grid { gap: 14px; }
  :where(.ky-site) .article-module .panel-heading, :where(.ky-site) .module-content { padding-inline: 16px; }
  :where(.ky-site) .article-module .panel-heading h3 { font-size: 18px; }
  :where(.ky-site) .editor-list { grid-template-columns: 1fr; gap: 9px; }
}
@media (max-width: 850px) {
  :where(.ky-site) .header-meta span { display: none; }
  :where(.ky-site) .hero h1 { font-size: 31px; }
  :where(.ky-site) .hero-copy { width: calc(100% - 195px); padding-inline: 30px; }
  :where(.ky-site) .hero-art { right: 7px; width: 195px; height: 195px; }
  :where(.ky-site) .hero::after { right: 201px; }
  :where(.ky-site) .hero-description { max-width: 440px; }
  :where(.ky-site) .content-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 16px; }
  :where(.ky-site) .form-intro, :where(.ky-site) .measure-form { padding-inline: 20px; }
  :where(.ky-site) .form-grid { grid-template-columns: 1fr; gap: 13px; }
  :where(.ky-site) .gender-field { order: 1; }
  :where(.ky-site) .form-actions { align-items: flex-start; gap: 13px; }
  :where(.ky-site) .primary-button { padding-inline: 18px; gap: 15px; }
  :where(.ky-site) .form-actions p { font-size: 11px; }
  :where(.ky-site) .form-bottom { padding-inline: 20px; }
  :where(.ky-site) .article-grid { grid-template-columns: 1fr; }
  :where(.ky-site) .area-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  :where(.ky-site) .calendar-body { padding-inline: 16px; }
  :where(.ky-site) .calendar-date { gap: 11px; }
  :where(.ky-site) .calendar-day { font-size: 48px; }
  :where(.ky-site) .calendar-date strong { font-size: 12px; }
  :where(.ky-site) .calendar-date p { font-size: 11px; }
  :where(.ky-site) .common-tools { padding: 12px; gap: 7px; }
  :where(.ky-site) .common-tools a { font-size: 12px; }
  :where(.ky-site) .side-copy { padding-inline: 16px; }
}
@media (max-width: 650px) {
  :where(.ky-site) .wrap { width: calc(100% - 28px); }
  :where(.ky-site) .masthead { min-height: 79px; gap: 12px; }
  :where(.ky-site) .brand { gap: 10px; }
  :where(.ky-site) .brand-seal { width: 35px; height: 40px; font-size: 23px; }
  :where(.ky-site) .brand-name { font-size: 23px; letter-spacing: 2px; }
  :where(.ky-site) .brand-tagline { font-size: 9px; letter-spacing: 1px; }
  :where(.ky-site) .header-meta { gap: 0; font-size: 11px; }
  :where(.ky-site) .main-nav a { padding: 10px 17px; min-height: 44px; font-size: 13px; letter-spacing: 0; }
  :where(.ky-site) .hero { min-height: 214px; margin-top: 17px; }
  :where(.ky-site) .hero-copy { width: 100%; padding: 25px 23px 28px; }
  :where(.ky-site) .hero::before { inset: 8px; }
  :where(.ky-site) .hero::after { display: none; }
  :where(.ky-site) .hero-eyebrow { font-size: 10px; letter-spacing: 1px; }
  :where(.ky-site) .hero h1 { font-size: 31px; line-height: 1.45; letter-spacing: 1px; margin-top: 12px; }
  :where(.ky-site) .hero h1 span { display: block; }
  :where(.ky-site) .hero-description { max-width: 245px; font-size: 12px; line-height: 1.9; margin-top: 11px; }
  :where(.ky-site) .hero-art { right: -35px; top: 54%; width: 170px; height: 170px; opacity: .23; }
  :where(.ky-site) .content-layout { display: flex; flex-direction: column; gap: 20px; margin-top: 17px; }
  :where(.ky-site) .primary-column { display: contents; }
  :where(.ky-site) .form-panel { width: 100%; order: 0; }
  :where(.ky-site) .side-column { display: contents; }
  :where(.ky-site) .calendar-panel { width: 100%; order: 1; }
  :where(.ky-site) .editorial { width: 100%; order: 2; margin: 0; }
  :where(.ky-site) .article-area { width: 100%; margin-top: 27px; }
  :where(.ky-site) .reading-extras { grid-template-columns: 1fr; gap: 17px; margin-top: 22px; }
  :where(.ky-site) .common-panel { width: 100%; order: 4; }
  :where(.ky-site) .naming-panel { width: 100%; }
  :where(.ky-site) .numbers-panel { width: 100%; }

  :where(.ky-site) .panel-heading { padding: 15px 18px 12px; }
  :where(.ky-site) .panel-heading h2 { font-size: 20px; }
  :where(.ky-site) .form-panel .panel-heading h2 { font-size: 21px; }
  :where(.ky-site) .panel-heading .more { font-size: 12px; }
  :where(.ky-site) .form-intro { padding: 15px 18px 0; font-size: 13px; }
  :where(.ky-site) .measure-form { padding: 17px 18px 21px; }
  :where(.ky-site) .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
  :where(.ky-site) .gender-field { order: 0; }
  :where(.ky-site) .field-label, :where(.ky-site) .gender-field legend { font-size: 13px; margin-bottom: 6px; }
  :where(.ky-site) .field-label small { font-size: 10px; margin-left: 2px; }
  :where(.ky-site) input[type="text"], :where(.ky-site) input[type="date"], :where(.ky-site) select { min-height: 45px; padding: 9px 8px; font-size: 16px; }
  :where(.ky-site) .measure-form input[type="text"], :where(.ky-site) .measure-form input[type="date"], :where(.ky-site) .measure-form select { height: 48px; }
  :where(.ky-site) .measure-form .gender-options { min-height: 48px; }
  :where(.ky-site) .gender-options { gap: 17px; }
  :where(.ky-site) .gender-options label { gap: 7px; font-size: 14px; padding-right: 0; }
  :where(.ky-site) .form-actions { display: block; margin-top: 20px; }
  :where(.ky-site) .primary-button { width: 100%; min-height: 46px; font-size: 15px; gap: 20px; }
  :where(.ky-site) .form-actions p { margin-top: 11px; font-size: 11px; }
  :where(.ky-site) .form-actions p span { display: inline; margin-right: 8px; }
  :where(.ky-site) .form-bottom { padding: 11px 18px; gap: 5px 17px; }
  :where(.ky-site) .form-bottom > span { font-size: 11px; }
  :where(.ky-site) .form-bottom a { font-size: 12px; }
  :where(.ky-site) .calendar-body { padding: 14px 18px 15px; }
  :where(.ky-site) .calendar-date { gap: 15px; }
  :where(.ky-site) .calendar-date strong { font-size: 14px; }
  :where(.ky-site) .calendar-date p { font-size: 12px; }
  :where(.ky-site) .calendar-lines { margin-block: 12px; padding-block: 9px; gap: 6px; }
  :where(.ky-site) .calendar-line { font-size: 13px; }
  :where(.ky-site) .editorial-content { padding: 17px 18px 15px; }
  :where(.ky-site) .editor-pick { gap: 13px; align-items: flex-start; }
  :where(.ky-site) .book-mark { flex-basis: 48px; width: 48px; height: 70px; }
  :where(.ky-site) .book-mark span { font-size: 18px; }
  :where(.ky-site) .editor-pick h3 { font-size: 17px; }
  :where(.ky-site) .editor-pick p { font-size: 13px; }
  :where(.ky-site) .editor-list { gap: 12px; padding-top: 13px; }
  :where(.ky-site) .editor-list li { font-size: 14px; }
  :where(.ky-site) .area-heading { margin-bottom: 15px; }
  :where(.ky-site) .area-heading { flex-direction: row; align-items: center; }
  :where(.ky-site) .area-heading h2 { font-size: 25px; }
  :where(.ky-site) .area-heading p { font-size: 13px; }
  :where(.ky-site) .article-grid { gap: 14px; }
  :where(.ky-site) .article-module .panel-heading { padding: 13px 18px; }
  :where(.ky-site) .article-module .panel-heading h3 { font-size: 19px; }
  :where(.ky-site) .article-module .panel-heading .more { font-size: 12px; }
  :where(.ky-site) .module-content { padding: 12px 18px 6px; }
  :where(.ky-site) .module-lead h4 { font-size: 17px; }
  :where(.ky-site) .module-lead p { font-size: 14px; }
  :where(.ky-site) .article-list .text-button { min-height: 44px; font-size: 15px; }
  :where(.ky-site) .related-tools { padding: 11px 18px; }
  :where(.ky-site) .related-tools a { font-size: 13px; }
  :where(.ky-site) .common-tools { padding: 16px; gap: 9px; }
  :where(.ky-site) .common-tools a { font-size: 14px; min-height: 45px; }
  :where(.ky-site) .side-copy { padding: 17px 18px; }
  :where(.ky-site) .side-copy > p, :where(.ky-site) .side-copy .article-list .text-button { font-size: 14px; }
  :where(.ky-site) .side-cta { min-height: 44px; font-size: 14px; }
  :where(.ky-site) .directory { margin-top: 20px; }
  :where(.ky-site) .directory > summary { padding: 16px 18px; font-size: 15px; }
  :where(.ky-site) .directory > summary small { display: block; margin: 4px 0 0 18px; font-size: 11px; }
  :where(.ky-site) .directory-content { padding-inline: 18px; }
  :where(.ky-site) .directory-group { grid-template-columns: 1fr; gap: 9px; }
  :where(.ky-site) .directory-links { gap: 10px 18px; }
  :where(.ky-site) .directory-links a { font-size: 13px; }
  :where(.ky-site) .footer { margin-top: 24px; padding-block: 22px; }
  :where(.ky-site) .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  :where(.ky-site) .footer-links { gap: 21px; font-size: 12px; }
  :where(.ky-site) .footer p { font-size: 11px; }
  :where(.ky-site) dialog { padding: 21px; }
  :where(.ky-site) dialog h2 { font-size: 22px; }
  :where(.ky-site) .dialog-text { font-size: 15px; }
}
@media (max-width: 360px) {
  :where(.ky-site) .header-meta { font-size: 10px; }
  :where(.ky-site) .hero h1 { font-size: 25px; }
  :where(.ky-site) .hero-copy { padding-inline: 18px; }
  :where(.ky-site) .form-grid { grid-template-columns: 1fr; }
  :where(.ky-site) .gender-options { gap: 26px; }
  :where(.ky-site) .form-intro { font-size: 12px; }
  :where(.ky-site) .footer-links { gap: 15px; }
}
/* Minimal editorial density: fixed reading width, fine rules, restrained ornament. */
:where(.ky-site) .wrap { width: min(1100px, calc(100% - 36px)); }
:where(.ky-site) .masthead { min-height: 76px; }
:where(.ky-site) .brand { gap: 11px; }
:where(.ky-site) .brand-seal { width: 40px; height: 44px; font-size: 27px; box-shadow: none; }
:where(.ky-site) .brand-name { font-size: 27px; letter-spacing: 3px; }
:where(.ky-site) .brand-tagline { margin-top: 2px; letter-spacing: 2px; }
:where(.ky-site) .main-nav a { min-height: 42px; padding: 8px 18px; font-size: 13px; }
:where(.ky-site) .hero { min-height: 158px; margin-top: 16px; border-radius: 2px; box-shadow: none; }
:where(.ky-site) .hero-copy { padding: 24px 28px; width: calc(100% - 245px); }
:where(.ky-site) .hero h1 { font-size: 32px; line-height: 1.35; margin-block: 7px; }
:where(.ky-site) .hero-description { font-size: 12px; line-height: 1.7; }
:where(.ky-site) .hero-art { right: 24px; width: 190px; height: 190px; }
:where(.ky-site) .hero::after { right: 215px; }
:where(.ky-site) .content-layout { gap: 16px; margin-top: 16px; }
:where(.ky-site) .panel { border-radius: 2px; }
:where(.ky-site) .form-panel, :where(.ky-site) .calendar-panel { box-shadow: none; }
:where(.ky-site) .panel-heading { padding: 12px 16px 10px; }
:where(.ky-site) .panel-heading h2, :where(.ky-site) .panel-heading h3 { font-size: 18px; }
:where(.ky-site) .form-intro { padding: 12px 17px 0; font-size: 12px; }
:where(.ky-site) .measure-form { padding: 17px; }
:where(.ky-site) .article-area { margin-top: 22px; }
:where(.ky-site) .area-heading { margin-bottom: 10px; }
:where(.ky-site) .area-heading h2 { font-size: 23px; }
:where(.ky-site) .article-grid { gap: 10px; }
:where(.ky-site) .article-module { border: 1px solid var(--line); }
:where(.ky-site) .article-module .panel-heading { padding: 11px 14px 10px; }
:where(.ky-site) .article-module .panel-heading h3 { font-size: 18px; }
:where(.ky-site) .module-content { padding: 10px 14px 4px; }
:where(.ky-site) .module-lead h4 { font-size: 15px; line-height: 1.55; }
:where(.ky-site) .module-lead p { font-size: 12px; line-height: 1.7; }
:where(.ky-site) .article-list .text-button { padding: 5px 0; font-size: 13px; line-height: 1.6; }
:where(.ky-site) .common-tools { padding: 11px; gap: 6px; }
:where(.ky-site) .common-tools a { min-height: 37px; font-size: 12px; }
:where(.ky-site) .side-column { gap: 14px; }
:where(.ky-site) .side-panel .panel-heading { padding: 10px 14px; }
:where(.ky-site) .side-panel .panel-heading h2 { font-size: 17px; }
:where(.ky-site) .calendar-body { padding: 13px 14px 15px; }
:where(.ky-site) .footer { margin-top: 22px; padding: 19px 0 23px; }
@media (max-width: 1100px) {
  :where(.ky-site) .wrap { width: calc(100% - 30px); }
  :where(.ky-site) .hero-art { right: 15px; width: 170px; height: 170px; }
  :where(.ky-site) .hero-copy { width: calc(100% - 210px); }
  :where(.ky-site) .hero::after { right: 190px; }
}
@media (max-width: 650px) {
  :where(.ky-site) .hero-copy { width: 100%; }
  :where(.ky-site) .hero-art { right: -35px; top: 54%; width: 170px; height: 170px; opacity: .23; }
  :where(.ky-site) .hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { html:has(> body.ky-site) { scroll-behavior: auto; } }

