@font-face {
  font-family: "Montserrat";
  src: url("montserrat-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #173b60;
  --soft-ink: #465768;
  --navy: #173b60;
  --blue: #016598;
  --pale: #eaf3fa;
  --paper: #fff;
  --wash: #f8fafc;
  --line: #d9e3ec;
  --radius: 13px;
  font: 100%/1.6 "Lato", system-ui, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--wash); color: var(--ink); min-width: 0; }
main { min-height: calc(100vh - 150px); }
h1, h2, h3, p, ul, dl { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; }
h1, h2, h3 { font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 6.6vw, 5.4rem); letter-spacing: -.035em; margin-bottom: .34em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); margin-bottom: .66em; letter-spacing: -.018em; }
h3 { font-size: 1.08rem; margin-bottom: .22em; }
a { color: var(--blue); text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { background: var(--blue); color: var(--paper); padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 690; line-height: 1.45; min-height: 44px; }
button:hover { background: #065584; }
button.secondary { background: var(--paper); border-color: #8598a8; color: var(--navy); }
button.secondary:hover { background: var(--pale); }
button:disabled { cursor: default; opacity: .7; }
:focus-visible { outline: 3px solid #006a9c; outline-offset: 3px; }
main:focus-visible, .table-scroll:focus-visible, .embed-card > summary:focus-visible { outline-offset: -3px; }
.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

input:not([type="checkbox"]), select, textarea {
  display: block; width: 100%; min-width: 0; padding: .64rem .76rem; min-height: 44px; background: var(--paper);
  border: 1px solid #8195a6; border-radius: 8px; color: var(--ink);
}
input::placeholder { color: #526176; opacity: 1; }
textarea { resize: vertical; line-height: 1.45; }
select { padding-right: 1.15rem; }
label { display: block; font-size: .93rem; font-weight: 680; }
label :is(input,select,textarea):not([type="checkbox"]) { margin-top: .25rem; }
.skip { background: white; color: var(--ink); position: absolute; inset-inline-start: .75rem; top: .5rem; padding: .65rem 1rem; z-index: 5; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.wrap { max-width: 76rem; width: calc(100% - 3rem); margin-inline: auto; }
.narrow { max-width: 54rem; }
/* The white masthead and photo banner match the county website. */
.site-header { background: white; border-bottom: 1px solid var(--line); }
.masthead { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: .65rem 1.2rem; }
.identity { display: block; flex: none; }
.identity img { display: block; width: clamp(8rem, 20vw, 15rem); height: auto; }
.site-header nav, .header-links { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .65rem; }
.site-header nav a {
  color: #3c5267; text-decoration: none; padding: .65rem .45rem;
  font: 700 .84rem/1.45 "Montserrat", sans-serif; letter-spacing: .085em; text-transform: uppercase;
}
.site-header nav a:hover, .site-header nav a[aria-current] {
  color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px;
}
.header-links { justify-content: flex-end; font-size: .95rem; }
.header-links a { padding: .45rem .52rem; }
.staff-link { border: 1px solid #a1b9c9; border-radius: 7px; text-decoration: none; }
.staff-link:hover { background: var(--pale); }
.hero {
  color: white; text-align: center; background-color: #173b60;
  background-image: linear-gradient(90deg, rgb(9 39 67 / 70%), rgb(9 39 67 / 76%)), url("warren-county-banner.webp");
  background-size: cover; background-position: center 50%;
}
.hero-inner {
  min-height: clamp(16rem, 30vw, 23.8rem); display: grid; align-content: center; justify-items: center;
  padding-block: 2.1rem;
}
.eyebrow { margin-bottom: .75rem; font-size: .82rem; font-weight: 750; letter-spacing: .11em; color: #315b68; }
.hero .eyebrow { color: white; font: 700 .86rem/1.4 "Montserrat", sans-serif; letter-spacing: .17em; }
.intro-copy { color: var(--soft-ink); max-width: 39rem; font-size: 1.12rem; margin-bottom: 0; }
.hero .intro-copy { color: white; }
.home-search {
  background: radial-gradient(ellipse at 85% 0%, #e1eff9, transparent 52%), linear-gradient(180deg, #edf5fb, #f7fafc);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
  margin-top: 1.5rem;
}
.home-search .search-form {
  padding: 0; border: 0; background: transparent; max-width: 42rem; margin: 0 auto;
}
.section-intro { background: linear-gradient(100deg, #eff6fb, #e5f0f8); border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 5vw, 3.4rem); }
.section-intro h1 { font-size: clamp(2.3rem, 5vw, 3.65rem); }
.content { padding-block: 1.75rem 3rem; }
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.6rem; }
.search-form .search-input { flex: 1 1 14rem; }
.search-form label:has(select[name="department"]) { flex: 0 1 16rem; min-width: 0; }
.search-form label:has(input[name="year"]) { width: 7.5rem; }
.shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; margin-bottom: 2.5rem; }
.staff .shortcuts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.shortcut { display: block; padding: 1.15rem; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: 0 3px 10px #173b6009; border-radius: var(--radius); background: white; text-decoration: none; color: var(--ink); }
.shortcut:hover { border-color: var(--blue); background: #f4fafc; }
.shortcut h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.shortcut p, .row-sub { font-size: .94rem; color: var(--soft-ink); margin: 0; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.section-bar { display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: space-between; align-items: baseline; }
.record-list, .staff-list, .attachment-list { list-style: none; margin: 0 0 1rem; padding: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.record-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .8rem; padding: 1rem; }
.record-row + .record-row, .staff-list li + li, .attachment-list > li + li { border-top: 1px solid var(--line); }
.activity-entry { padding: 1rem; overflow-wrap: anywhere; }
.date-tile { width: 3.3rem; min-height: 3.55rem; display: grid; align-content: center; justify-items: center; background: #eaf1f5; border-radius: 8px; color: var(--navy); line-height: 1; }
.date-tile small { text-transform: uppercase; font-weight: 750; letter-spacing: .055em; }
.date-tile strong { margin-top: .24rem; font: 700 1.35rem "Montserrat", sans-serif; }
.row-meta { color: #36596a; font-size: .86rem; font-weight: 650; margin: 0 0 .18rem; }
.row-main, .staff-list li, .attachment-list > li, .reading { overflow-wrap: anywhere; }
.badge { display: inline-block; width: fit-content; background: var(--pale); color: #1b4b60; padding: .22rem .58rem; font-size: .85rem; line-height: 1.35; font-weight: 720; border-radius: 99px; }
.badge.muted { background: #eef0f2; color: #465469; }
.badge.schedule-updated { background: #fef0cc; color: #694603; }
.schedule-dates { list-style: none; padding: 0; margin: 0; }
.schedule-dates > li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.schedule-dates .check { margin: 0; }
.meeting-people { margin-block: 1.25rem; overflow-wrap: anywhere; }
.meeting-people h2 { margin-bottom: .4rem; }
.meeting-people ul { margin-bottom: 0; padding-inline-start: 1.5rem; }
.meeting-people-list li { align-items: center; flex-wrap: wrap; }
.meeting-people-list button { padding-inline: .65rem; }
.editor [data-add-meeting-date][hidden] { display: none; }
.empty { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: white; color: var(--soft-ink); }
.empty p { margin: 0; }
.site-footer { color: white; background: var(--blue); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.25rem; }
.site-footer a { color: white; }
.site-footer a:focus-visible { outline-color: currentColor; }
.breadcrumb { margin-bottom: 1.1rem; }
.narrow > h1, .narrow .record-heading h1 { font-size: clamp(2rem, 5vw, 3.45rem); }
h1, h2, h3, legend { overflow-wrap: anywhere; }
.record-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.6rem; }
.record-facts dt { font-weight: 720; font-size: .87rem; color: var(--soft-ink); }
.record-facts dd { margin: 0; overflow-wrap: anywhere; }
.record-facts .document-history { margin: 0; padding-inline-start: 1.2em; }
.reading { max-width: 72ch; }
.reading p, .reading ul { margin-bottom: 1rem; }
.reading h2, .reading h3 { margin-top: 1.2em; }
.attachment-list > li, .staff-list li { padding: .8rem 1rem; }
.attachment-links, .actions, .publication { display: flex; flex-wrap: wrap; gap: .55rem 1rem; align-items: center; }
.staff-bar { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; align-items: center; padding-block: .75rem; border-bottom: 1px solid var(--line); }
.staff-bar form { margin-left: auto; }
.editor { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.6rem); }
.stack > * + * { margin-top: 1rem; }
.stack label, .stack p { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field-help { color: var(--soft-ink); font-size: .94rem; }
.check { display: flex; align-items: start; gap: .55rem; min-block-size: 2.75rem; padding-block: .45rem; }
.check input[type="checkbox"] { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; accent-color: var(--blue); }
.editor fieldset { min-inline-size: 0; }
.staff-list li { display: flex; justify-content: space-between; align-items: start; gap: .75rem 1rem; }
.staff-list small { color: var(--soft-ink); display: block; margin-top: .1rem; font-size: .87rem; }
.attachments, .publication + .editor { margin-top: 1.35rem; }
.feedback { padding: .7rem .9rem; border: 1px solid #88afb5; background: #e5f2f3; border-radius: 8px; }
.feedback-error { border-color: #a53436; background: #fdeeee; color: #7c2125; }
.embed { background: white; }
.embed h1 { font-size: clamp(1.7rem, 4vw, 2.55rem); margin: .7rem .8rem; }
.embed main { display: flow-root; min-height: 0; }
.embed .search-form { padding: .7rem; }
@media (max-width: 58rem) {
  .masthead { flex-wrap: wrap; padding-block: .65rem; }
  .masthead nav { flex: 1 1 24rem; min-inline-size: 0; }
  .shortcuts { grid-template-columns: 1fr 1fr; }
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .masthead { gap: .45rem; }
  .masthead nav { gap: 0 .22rem; padding-block: .25rem; border-block: 1px solid var(--line); }
  .masthead nav a { font-size: .78rem; padding: .5rem .38rem; letter-spacing: .04em; }
  .header-links { gap: .25rem .6rem; font-size: .89rem; }
  .header-links a { padding-block: .25rem; }
  .shortcut { padding: .85rem; }
  .record-row { grid-template-columns: auto minmax(0, 1fr); }
  .record-row .badge { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
}


.reading .table-scroll { overflow-x: auto; margin-block: 1rem; }
.reading .table-hint { margin-bottom: 0; }
.reading .table-hint:not([hidden]) + .table-scroll { margin-top: .35rem; }
@counter-style parenthesized-lower-alpha {
  system: extends lower-alpha;
  prefix: "(";
  suffix: ") ";
}
.reading .lettered-list { list-style-type: parenthesized-lower-alpha; }
.reading table { width: 100%; border-collapse: collapse; background: white; }
.reading th, .reading td { border: 1px solid var(--line); padding: .5rem; text-align: left; vertical-align: top; }
.reading th { background: var(--pale); }
.reading .zoning-table { min-width: 40rem; table-layout: fixed; }
.reading .zoning-table tr > :first-child {
  position: sticky;
  inset-inline-start: 0;
  width: clamp(7.4rem, 36vw, 13rem);
  box-shadow: inset -1px 0 var(--line);
}
.reading .zoning-table th[scope="row"] { background: var(--paper); }
.reading .reference-table tbody th { background: white; font-weight: 600; }
.reading .reference-table :is(th, td):not(:first-child) { min-width: 5.5rem; }
.reading .zoning-table tbody tr:nth-child(even) > *,
.reading .reference-table tbody tr:nth-child(even) > * { background: var(--pale); }

.attachment-photo { margin: 0; width: fit-content; max-width: 100%; }
.attachment-photo img { display: block; max-width: 100%; max-height: 32rem; object-fit: contain; border-radius: 8px; }
.attachment-photo figcaption { margin-top: .4rem; color: var(--soft-ink); }
.embed-panel { padding: .65rem 0 1rem; }
.embed-panel h1 { margin: 0 0 .8rem; }
.embed-panel .search-form { margin-bottom: .9rem; }
.embed-records > li + li { border-top: 1px solid var(--line); }
.embed-card > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: .55rem .8rem;
  padding: .85rem;
  cursor: pointer;
  list-style: none;
}
.embed-card > summary::-webkit-details-marker { display: none; }
.embed-card > summary:hover { background: var(--pale); }
.embed-card-main { display: grid; min-width: 0; gap: .12rem; overflow-wrap: anywhere; }
.embed-card-main .row-meta { margin: 0; }
.embed-card-title { color: var(--navy); font-size: 1.12rem; line-height: 1.3; }
.embed-attachment-preview { color: var(--navy); font-weight: 650; font-size: .875rem; }
.embed-toggle { color: var(--navy); font-size: .875rem; white-space: nowrap; }
.embed-toggle::after { content: "＋"; margin-left: .3rem; }
.embed-card[open] .embed-toggle::after { content: "−"; }
.embed-card-content { padding: 1rem; border-top: 1px solid var(--line); }
.embed-card-content h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.embed-record-link { margin: .75rem 0 0; }
.embed-pagination { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.embed-pagination a { padding-block: .5rem; }
.inline-document { width: 100%; min-width: 0; }
.inline-document summary { color: var(--navy); cursor: pointer; font-weight: 650; padding-block: .45rem; }
.inline-document-body { padding-inline-start: .75rem; border-inline-start: 2px solid var(--line); }
.inline-document-body p { margin-bottom: .5rem; }
.inline-document-body .reading:empty { margin: 0; }
.inline-document .reading { margin-top: .65rem; }
@media (max-width: 34rem) {
  .embed-card > summary { grid-template-columns: auto minmax(0, 1fr); }
  .embed-card > summary .badge { grid-column: 2; justify-self: start; }
  .embed-toggle { grid-column: 2; }
}

.editor-tools:not([hidden]) { display: flex; flex-wrap: wrap; gap: .45rem; }
ol.attachment-list { list-style: decimal; padding-inline-start: 2.5rem; }

.visual-editor {
  max-width: none;
  min-height: 13rem;
  max-height: 55vh;
  overflow: auto;
  padding: .8rem;
  border: 1px solid #8195a6;
  border-radius: 8px;
  background: var(--paper);
}
.visual-editor:empty::before { content: "Type or paste text here"; color: var(--soft-ink); }
.editor-label { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; justify-content: space-between; }
.editor-label > button { padding: .35rem .75rem; font-size: .875rem; }
.format-editor [data-editor-status]:empty, [data-document-status]:empty { position: absolute; margin: 0; }

.format-editor textarea[hidden] { display: none; }

#staff-records { width: fit-content; scroll-margin-top: .75rem; }
.staff-record-search {
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.staff-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem) auto;
  align-items: end;
  gap: .65rem;
}
.staff-search-bar label, .staff-record-filters label { min-width: 0; }
.staff-advanced-filters { margin-top: .45rem; }
.staff-advanced-filters summary {
  width: fit-content;
  padding: .35rem 0;
  color: var(--navy);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 650;
}
.staff-selected-filters { color: var(--soft-ink); font-weight: 400; margin-inline-start: .5rem; }
.staff-record-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: .65rem;
  align-items: end;
  padding-block: .6rem .2rem;
}
.staff-record-count {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  margin-block: .75rem .4rem;
  color: var(--soft-ink);
  font-size: .9rem;
}
.staff-record-results {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.staff-record-columns, .staff-record-row {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.25fr) minmax(8.2rem, 1fr) 6rem;
  align-items: center;
  gap: .4rem .85rem;
  padding: .65rem .95rem;
}
.staff-record-columns {
  background: var(--pale);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
}
.staff-record-list { list-style: none; padding: 0; margin: 0; }
.staff-record-row { border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.staff-record-row:hover { background: var(--wash); }
.staff-record-row:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.staff-record-title a { font-weight: 700; }
.staff-record-title small { display: block; margin-top: .1rem; }
.staff-record-title small, .staff-record-department, .staff-record-date { color: var(--soft-ink); font-size: .875rem; }
.staff-record-row .badge { justify-self: start; }
.staff-record-pages { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
@media (max-width: 48rem) {
  .staff-search-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .staff-search-keyword { grid-column: 1 / -1; }
  .staff-record-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-record-filters button { justify-self: start; }
  .staff-record-columns { display: none; }
  .staff-record-row { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .65rem; }
  .staff-record-row:first-child { border-top: 0; }
  .staff-record-title, .staff-record-department, .staff-record-date { grid-column: 1; }
  .staff-record-row .badge { grid-column: 2; grid-row: 1; align-self: start; }
}

.code-workspace {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}
.code-main { min-width: 0; }
.code-workspace > .record-heading, .code-page-heading { grid-column: 1 / -1; }
.code-page-heading .code-heading { margin-bottom: 0; }
.code-nav, .code-source, .code-in-page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.code-workspace > .code-nav, .code-sidebar { position: sticky; top: 1rem; }
.code-nav summary, .code-in-page summary { cursor: pointer; padding: .85rem; font-weight: 700; color: var(--navy); }
.code-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 .4rem .4rem;
  max-height: calc(80vh - 4rem);
  overflow: auto;
}
.code-nav a { display: block; border-radius: 8px; padding: .55rem .65rem; text-decoration: none; }
.code-nav a:hover, .code-nav a[aria-current] { background: var(--pale); }
.code-nav a[aria-current] { font-weight: 750; box-shadow: inset 3px 0 var(--navy); }
.code-nav small { display: block; color: var(--soft-ink); font-size: .8rem; }
.code-source { padding: .7rem .85rem; margin-top: .8rem; overflow-wrap: anywhere; }
.code-source h2 { margin: 0; font-size: 1rem; }
.code-source ul { margin-block: .45rem 0; padding-inline-start: 1rem; }
.code-heading { border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.code-heading h1 { font-size: clamp(1.65rem, 3vw, 2.55rem); margin-bottom: .45rem; }
.code-heading-actions { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.code-heading-actions a, .provision-link { font-size: .875rem; }
.code-primary-link { display: inline-block; font-weight: 700; }
.code-in-page { max-width: 74ch; margin-bottom: 1rem; }
.code-reading {
  max-width: 76ch;
  padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.7;
}
.code-reading h2, .code-reading h3, .code-reading h4 {
  font-size: 1.2rem;
  margin: 1.4rem 0 .35rem;
  scroll-margin-top: 1rem;
}
.code-reading > :first-child { margin-top: 0; }
.provision-link { display: inline-block; margin-bottom: .65rem; }

.editor-surface { border: 1px solid #879bac; border-radius: 8px; background: var(--paper); }
.editor-surface .editor-tools {
  padding: .5rem .65rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--pale);
}
.editor-surface .editor-tools button { min-height: 2.5rem; padding: .35rem .6rem; font-size: .875rem; }
.editor-surface .editor-tools button[aria-pressed="true"] { background: var(--navy); color: white; }
.editor-surface .editor-tools select { width: auto; max-width: 100%; min-height: 2.5rem; padding: .35rem .5rem; font-size: .875rem; }
.editor-jump { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.editor-jump[hidden] { display: none; }
.editor-jump label { width: min(100%, 28rem); min-width: 0; }
.editor-jump select { text-overflow: ellipsis; }
.editor-entry { padding-block: .75rem 0; margin-bottom: 0; }
.editor-surface .visual-editor {
  max-height: none;
  min-height: 12rem;
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 0;
  border-radius: 0 0 8px 8px;
  overflow: visible;
}
.code-editor-workspace .visual-editor { min-height: 24rem; line-height: 1.65; }
.editor-surface .visual-editor h2 { font-size: 1.4rem; }
.editor-surface .visual-editor h3 { font-size: 1.18rem; }
.editor-surface .visual-editor:focus-visible { outline-offset: -3px; }
.code-editor-workspace .editor-save {
  padding-block: .55rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
@media (min-width: 65rem) and (min-height: 50rem) {
  .editor-surface .editor-tools { position: sticky; top: 0; z-index: 1; }
  .editor-surface :is(h2,h3,h4,h5,h6) { scroll-margin-top: 5rem; }
}
@media (max-width: 52rem), (max-height: 34rem) {
  .code-workspace > .code-nav, .code-sidebar { position: static; }
  .code-nav ul { max-height: 14rem; }
}
@media (max-width: 52rem) {
  .code-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
  .hero, .home-search, .section-intro { background-image: none; }
  .badge, .site-header nav a[aria-current], .code-nav a[aria-current] { border: 1px solid currentColor; }
  :focus-visible, .site-footer a:focus-visible { outline-color: Highlight; }
}
