.lh-shell { display: contents; }
.lh .laf-sr, .laf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html:has(body.lh-page) { scroll-padding-top: 84px; }
body.lh-page { background: #f6f1e6; margin: 0; }
.lh {
	--paper: #f6f1e6; --ink: #23201b; --coral: #a63e28; --coral-d: #8a3220; --muted: #57514a; --rule: #cfc6b5; --white: #fffdf8;
	background: var(--paper); color: var(--ink); font: 400 17px/1.55 Assistant, "Segoe UI", sans-serif; text-align: right;
}
.lh *, .lh *::before, .lh *::after { box-sizing: border-box; }
.lh h1, .lh h2, .lh h3 { color: var(--ink); font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 800; line-height: 1.12; margin: 0; text-wrap: balance; }
.lh p { margin: 0; }
.lh ul, .lh ol { list-style: none; margin: 0; padding: 0; }
.lh li { margin: 0; }
.lh a { color: var(--coral); text-underline-offset: 3px; }
.lh button { all: unset; box-sizing: border-box; cursor: pointer; font: inherit; }
.lh :focus-visible { outline: 2px solid var(--coral) !important; outline-offset: 2px; }
.lh .lh-skip { background: var(--ink); color: var(--white); font-weight: 700; inset-inline-start: 8px; padding: 10px 16px; position: fixed; top: 8px; transform: translateY(-200%); z-index: 100; }
.lh .lh-skip:focus { transform: none; }
.lh-shell .lh-skip { display: none; }
body a:focus-visible, body button:focus-visible, body summary:focus-visible, body input:focus-visible, body textarea:focus-visible, body select:focus-visible { outline: 2px solid #a63e28 !important; outline-offset: 2px; }
.lh .lh-foot .lh-legal a { display: inline; }
.lh .lh-user { align-items: center; color: var(--ink); display: flex; font-weight: 600; gap: 5px; min-height: 44px; min-width: 44px; justify-content: center; text-decoration: none; white-space: nowrap; }
.lh .lh-user:hover { color: var(--coral); }
.lh-wrap { margin-inline: auto; max-width: 1240px; padding-inline: 24px; }
.lh-eyebrow { color: var(--coral); font-weight: 700; }

/* Header */
.lh-head { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.admin-bar .lh-head { top: 32px; }
.lh-head > .lh-wrap { align-items: center; display: flex; gap: 22px; min-height: 68px; }
.lh .lh-logo { align-items: center; color: var(--ink); display: flex; font: 800 22px "Frank Ruhl Libre", serif; gap: 10px; text-decoration: none; white-space: nowrap; }
.lh-logo img { height: 34px; width: 34px; }
.lh-nav { flex: 1; }
.lh-nav > ul { display: flex; gap: 22px; }
.lh-nav li { position: relative; }
.lh-nav a { color: var(--ink) !important; display: block; font-weight: 600; padding: 10px 0; text-decoration: none; }
.lh-nav > ul > li > a { border-bottom: 2px solid transparent; }
.lh-nav > ul > li:hover > a, .lh-nav > ul > li:focus-within > a { border-color: var(--coral); color: var(--coral) !important; }
.lh-has-sub > a::after { content: "▾"; font-size: 13px; margin-inline-start: 5px; }
.lh-has-sub > ul { background: var(--white); border: 1px solid var(--ink); display: none; inset-inline-start: 0; min-width: 230px; padding: 6px 0; position: absolute; top: 100%; z-index: 25; }
.lh-has-sub:hover > ul, .lh-has-sub:focus-within > ul { display: block; }
.lh-has-sub > ul a { padding: 9px 14px; }
.lh-has-sub > ul a:hover { background: var(--ink); color: var(--paper) !important; }
.lh .lh-cta { align-items: center; background: var(--coral); color: var(--white); display: inline-flex; font-weight: 700; min-height: 44px; padding: 10px 16px; text-decoration: none; white-space: nowrap; }
.lh .lh-cta:hover { background: var(--coral-d); color: var(--white); }
.lh-find { position: relative; }
.lh-find summary { align-items: center; color: var(--ink); cursor: pointer; display: flex; height: 44px; justify-content: center; list-style: none; width: 44px; }
.lh-find summary::-webkit-details-marker { display: none; }
.lh-find summary:hover { color: var(--coral); }
.lh-find form { background: var(--white); border: 1px solid var(--ink); display: flex; gap: 6px; inset-inline-end: 0; padding: 8px; position: absolute; top: 100%; width: 300px; z-index: 25; }
.lh-find input { background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; color: var(--ink); flex: 1; font: 400 16px Assistant, sans-serif; min-height: 44px; min-width: 0; padding: 4px; text-align: right; }
.lh-find button { align-items: center; background: var(--ink); color: var(--paper); display: flex; font-weight: 700; padding: 0 12px; }
.lh .lh-burger { align-items: center; border: 1px solid var(--ink); color: var(--ink); display: none; font-weight: 700; min-height: 44px; padding: 0 12px; }

/* Shared controls */
.lh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lh .lh-chip { align-items: center; background: transparent; border: 1px solid var(--ink); color: var(--ink); display: inline-flex; font-weight: 600; min-height: 44px; padding: 8px 14px; text-decoration: none; }
.lh .lh-chip:hover { background: var(--ink); color: var(--paper); }
.lh .lh-chip[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--white); }
.lh .lh-btn { align-items: center; border: 1px solid var(--ink); color: var(--ink); display: inline-flex; font-weight: 700; justify-content: center; min-height: 44px; padding: 9px 14px; text-decoration: none; }
.lh .lh-btn:hover { background: var(--ink); color: var(--paper); }
.lh .lh-btn[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--white); }
.lh-search { display: block; margin-bottom: 16px; max-width: 640px; }
.lh .lh-search input { background: transparent; border: 0; border-bottom: 2px solid var(--coral); border-radius: 0; box-shadow: none; color: var(--ink); font: 400 20px Assistant, sans-serif; min-height: 54px; padding: 8px 2px; text-align: right; width: 100%; }
.lh-search input::placeholder { color: var(--muted); opacity: 1; }
.lh-needs { margin-top: 10px; }

/* Cards */
.lh-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.lh-card { background: var(--white); border: 1px solid var(--rule); height: 100%; position: relative; transition: border-color .15s ease, transform .15s ease; }
.lh-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.lh .lh-card > a { color: var(--ink); display: block; height: 100%; text-decoration: none; }
.lh-pic { aspect-ratio: 1 / 1; background: var(--white); display: block; }
.lh-pic img { display: block; height: 100%; object-fit: contain; width: 100%; }
.lh-pic.is-art img { object-fit: cover; }
.lh-card-t { display: block; padding: 10px 12px 12px; }
.lh-card-t b { display: block; font: 800 17px/1.25 "Frank Ruhl Libre", serif; overflow-wrap: anywhere; }
.lh-card-t small { color: var(--muted); display: block; font-size: 14px; margin-top: 3px; }
.lh .lh-act { align-items: center; background: var(--white); border: 1px solid var(--ink); color: var(--ink); display: flex; font-size: 20px; font-weight: 700; height: 44px; justify-content: center; left: 8px; position: absolute; top: 8px; width: 44px; }
.lh .lh-act:hover { background: var(--ink); color: var(--paper); }
.lh .lh-act[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--white); }
.lh-empty { padding: 24px 0; }
.lh .lh-more { display: flex; margin: 24px auto 0; min-width: 200px; }
.lh .lh-more[hidden] { display: none; }

/* Home */
.lh-doors { border-bottom: 2px solid var(--ink); display: grid; grid-template-columns: 1.25fr 1fr; }
.lh-door { padding: 40px max(24px, calc((100vw - 1240px) / 2 + 24px)) 36px 32px; }
.lh-door h1, .lh-door h2 { font-size: clamp(34px, 5vw, 58px); margin-block: 6px 14px; }
.lh-door-dark { background: var(--ink); color: var(--paper); padding: 40px 32px 36px max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.lh-door-dark .lh-eyebrow { color: #f2d9b8; }
.lh .lh-door-dark h2, .lh-door-dark p { color: var(--paper); }
.lh-door-dark .lh-cta { margin-top: 18px; }
.lh-poses { padding-block: 36px; scroll-margin-top: 80px; }
.lh-bar-top { align-items: end; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.lh-bar-top h2 { font-size: clamp(26px, 3.4vw, 36px); }
#lh-count { color: var(--muted); }
.lh-hint { color: var(--muted); margin-block: 8px 18px; }
.lh-about { border-top: 1px solid var(--rule); padding-block: 32px; }
.lh-about h2 { font-size: clamp(25px, 3vw, 32px); margin-bottom: 6px; }
.lh-about .lh-chips { margin-top: 14px; }

/* Teachers */
.lh-tintro { padding-block: 32px 18px; }
.lh-tintro h1 { font-size: clamp(36px, 6vw, 60px); margin-block: 4px 8px; }
.lh-work { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, 1.7fr) minmax(310px, 1fr); padding-bottom: 36px; }
.lh-tcount { color: var(--muted); margin-block: 14px 12px !important; }
.lh-sheet { background: var(--white); border: 2px solid var(--ink); padding: 18px; position: sticky; scroll-margin-top: 84px; top: 84px; }
.admin-bar .lh-sheet { top: 116px; }
.lh .lh-name input { background: transparent; border: 0; border-bottom: 1px solid var(--muted); border-radius: 0; color: var(--ink); font: 800 24px "Frank Ruhl Libre", serif; min-height: 48px; padding: 4px 0; text-align: right; width: 100%; }
.lh-list { counter-reset: n; margin-block: 10px !important; }
.lh-list li { align-items: center; border-bottom: 1px solid var(--rule); counter-increment: n; display: flex; gap: 8px; padding: 6px 0; }
.lh-list li::before { color: var(--coral); content: counter(n); font: 800 18px "Frank Ruhl Libre", serif; min-width: 20px; }
.lh-list img { flex: none; height: 48px; object-fit: contain; width: 48px; }
.lh-list span { flex: 1; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.lh .lh-move { align-items: center; color: var(--muted); display: flex; flex: none; height: 44px; justify-content: center; width: 32px; }
.lh .lh-move:hover { color: var(--coral); }
.lh .lh-move[disabled] { cursor: default; opacity: .3; }
.lh-sheet-empty { color: var(--muted); padding-block: 14px; }
.lh-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.lh-status { color: var(--coral); font-weight: 600; min-height: 26px; padding-top: 6px; }
.lh .lh-float { display: none; }

/* Contact and footer */
.lh .lh-contact { padding: 0 0 28px; }
.lh-foot { background: var(--ink); color: #ddd5c6; padding-block: 36px 18px; }
.lh-foot > .lh-wrap { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.lh .lh-foot h2 { color: var(--paper); font-size: 18px; margin-bottom: 8px; }
.lh .lh-foot a { color: #f2d9b8; display: block; padding: 4px 0; text-decoration: none; }
.lh .lh-foot a:hover { color: var(--white); text-decoration: underline; }
.lh-legal { border-top: 1px solid var(--muted); font-size: 14px; grid-column: 1 / -1; padding-top: 12px; }
.lh-bar { display: none; }

/* Lesson: drag and saved lessons */
.lh .lh-grip { align-items: center; background: transparent; border: 0; color: var(--muted); cursor: grab; display: flex; flex: none; font-size: 20px; height: 44px; justify-content: center; padding: 0; touch-action: none; width: 28px; }
.lh .lh-grip:hover { color: var(--coral); }
.lh-list.is-sorting { user-select: none; }
.lh-list.is-sorting .lh-grip { cursor: grabbing; }
.lh-list li.is-drag { background: var(--paper); outline: 2px solid var(--coral); }
.lh-saved { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 12px; }
.lh-saved h2 { font-size: 20px; margin-block: 0 6px; }
.lh-saved ul { list-style: none; margin: 0 0 8px; padding: 0; }
.lh-saved li { align-items: center; display: flex; gap: 4px; }
.lh .lh-saved-open { background: transparent; border: 0; color: var(--coral); cursor: pointer; flex: 1; font-weight: 700; min-height: 44px; padding: 4px 0; text-align: right; text-decoration: underline; text-underline-offset: 3px; }
.lh-saved p { color: var(--muted); font-size: 14px; margin: 0; }

@media (pointer: coarse) and (max-width: 600px) { .lh .lh-arrow { display: none; } }

/* Loading */
.lh-loading { align-items: center; color: var(--muted); display: flex; font-weight: 600; gap: 10px; margin-block: 14px 12px !important; }
.lh-loading::before { animation: lh-spin .8s linear infinite; border: 3px solid var(--rule); border-radius: 50%; border-top-color: var(--coral); content: ""; flex: none; height: 22px; width: 22px; }
.lh-skel { animation: lh-pulse 1.3s ease-in-out infinite; aspect-ratio: 3 / 4; background: var(--rule); opacity: .5; }
@keyframes lh-spin { to { transform: rotate(360deg); } }
@keyframes lh-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .lh-loading::before, .lh-skel { animation: none; } }
.lh-latin { color: var(--muted); display: block; font-size: 14px; font-weight: 400; line-height: 1.3; margin-top: 2px; overflow-wrap: anywhere; text-align: right; }

.lh-card-t, .lh-card-t b, .lh-card-t small { text-align: center; }
.lh-skt { color: var(--ink); display: block; font: italic 500 15px/1.3 "Frank Ruhl Libre", Georgia, serif; margin-top: 3px; overflow-wrap: anywhere; text-align: right; }
.lh-en { color: var(--muted); display: block; font-size: 14px; font-weight: 400; line-height: 1.3; margin-top: 1px; text-align: right; }
.lh-card-t .lh-skt, .lh-card-t .lh-en { text-align: center; }
.lh-card-t small.lh-en { margin-top: 1px; }
.lh-card-t small:not(.lh-skt):not(.lh-en) { font-size: 13px; margin-top: 5px; }
.lh-err { padding-block: 48px 64px; text-align: center; }
.lh-err h1 { font-size: clamp(36px, 7vw, 64px); margin-block: 0 10px; }
.lh-err p { margin-inline: auto; max-width: 52ch; }
.lh-err .lh-search { display: block; margin: 22px auto; max-width: 480px; }
.lh-err-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lh-legal a { color: inherit; text-underline-offset: 3px; }

/* Notebook */
.lh-nb { padding-bottom: 36px; }
.lh-nb-empty { background: var(--white); border: 2px solid var(--ink); max-width: 620px; padding: 24px 18px; }
.lh-nb-empty h2 { font-size: 28px; margin-block: 0 8px; }
.lh-nb-empty p { margin-block: 0 16px; }
.lh .lh-btn-go { background: var(--coral); border-color: var(--coral); color: var(--white); }
.lh .lh-btn-go:hover { background: var(--coral-d); border-color: var(--coral-d); color: var(--white); }
.lh-nb-next { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* The menu needs about 1320px on one line, with the account link, so the header moves to the button before they wrap. */
.lh-nav > ul > li > a { white-space: nowrap; }
@media (max-width: 1320px) {
	.lh .lh-user { order: 2; }
	.lh-head > .lh-wrap { flex-wrap: wrap; gap: 8px 10px; min-height: 58px; padding-block: 6px; }
	.lh .lh-logo { flex: 1; }
	.lh .lh-burger { display: inline-flex; order: 3; }
	.lh-find { order: 2; position: static; }
	.lh-find form { inset-inline: 16px; width: auto; }
	.lh-nav { display: none; flex-basis: 100%; order: 4; }
	.lh-nav.is-open { display: block; max-height: 70vh; overflow-y: auto; }
	.lh-nav > ul { display: block; }
	.lh-nav a { min-height: 44px; }
	.lh-has-sub > ul { background: transparent; border: 0; display: block; padding: 0 16px 6px 0; position: static; }
}

/* Contact: a link on every page, the form on one page */
.lh .lh-askline { font-size: 18px; margin: 10px 0 0; }
.lh .lh-askline a, .lp-contact a { color: var(--coral); font-weight: 700; }
.lh-contact-form { max-width: 720px; padding-bottom: 40px; }
.lh-contact-form .laf-contact { border-top: 0; margin-top: 0; padding-top: 0; }
.lp-contact { font-size: 18px; }

/* Ready-made sequences inside the lesson builder */
.lh-flowpick { border: 1px solid var(--rule); background: var(--white); margin-bottom: 22px; }
.lh-flowpick > summary { align-items: baseline; cursor: pointer; display: flex; gap: 10px; list-style: none; min-height: 48px; padding: 12px 16px; }
.lh-flowpick > summary::-webkit-details-marker { display: none; }
.lh-flowpick > summary span { font: 800 22px "Frank Ruhl Libre", serif; }
.lh-flowpick > summary small { color: var(--muted); font-size: 15px; }
.lh-flowpick > summary::after { content: "−"; font-size: 22px; line-height: 1; margin-inline-start: auto; }
.lh-flowpick:not([open]) > summary::after { content: "+"; }
.lh-flowpick-note { color: var(--muted); font-size: 16px; margin: 0; padding: 0 16px 10px; }
.lh-flowpick ul { display: flex; gap: 12px; list-style: none; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 16px 16px; scroll-snap-type: x proximity; }
.lh-fp { border: 1px solid var(--rule); display: flex; flex: 0 0 196px; flex-direction: column; gap: 8px; padding: 10px; scroll-snap-align: start; }
.lh-fp img, .lh-fp-noimg { aspect-ratio: 4 / 3; display: block; height: auto; object-fit: contain; width: 100%; }
.lh-fp div { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.lh-fp b { font-size: 17px; line-height: 1.25; }
.lh-fp small { color: var(--muted); font-size: 14px; }
.lh-fp-act { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 8px; }
.lh .lh-fp-add { background: var(--coral); border: 0; color: var(--white); cursor: pointer; font: 700 15px Assistant, sans-serif; min-height: 36px; padding: 6px 12px; }
.lh .lh-fp-add:hover { background: var(--coral-d); }
.lh .lh-fp-act a { color: var(--ink); font-size: 15px; }
.lh-fp-add:focus-visible, .lh-flowpick > summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (max-width: 600px) { .lh-fp { flex-basis: 168px; } }

@media (max-width: 960px) {
	.lh-lesson-first main.lh-wrap { display: flex; flex-direction: column; }
	.lh-lesson-first .lh-work { display: contents; }
	.lh-lesson-first .lh-sheet { margin-top: 16px; order: -1; }
	.lh-lesson-first .lh-work > section { padding-bottom: 36px; }
	.lh-head > .lh-wrap { flex-wrap: wrap; gap: 8px 10px; min-height: 58px; padding-block: 6px; }
	.lh .lh-logo { flex: 1; }
	.lh .lh-burger { display: inline-flex; order: 3; }
	.lh-find { order: 2; }
	.lh-head .lh-cta { display: none; }
	.lh-nav { display: none; flex-basis: 100%; order: 4; }
	.lh-nav.is-open { display: block; max-height: 70vh; overflow-y: auto; }
	.lh-nav > ul { display: block; }
	.lh-nav a { min-height: 44px; }
	.lh-has-sub > ul { background: transparent; border: 0; display: block; padding: 0 16px 6px 0; position: static; }
	.lh-find { position: static; }
	.lh-find form { inset-inline: 16px; width: auto; }
	.lh-work { grid-template-columns: minmax(0, 1fr); }
	.lh-sheet { position: static; }
	.lh .lh-float { align-items: center; background: var(--coral); bottom: 60px; color: var(--white); display: flex; font-weight: 700; gap: 5px; inset-inline: 16px; justify-content: center; min-height: 46px; position: fixed; text-decoration: none; z-index: 15; }
	.lh .lh-float[hidden], .lh-sheet-seen .lh-float { display: none !important; }
	.lh-foot > .lh-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-brand { grid-column: 1 / -1; }
	.lh-bar { background: var(--paper); border-top: 2px solid var(--ink); bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: sticky; z-index: 16; }
	.lh .lh-bar a { align-items: center; color: var(--ink); display: flex; font-size: 14px; font-weight: 700; justify-content: center; min-height: 52px; text-align: center; text-decoration: none; }
	.lh .lh-bar a[aria-current] { box-shadow: inset 0 3px 0 var(--coral); color: var(--coral); }
}
@media (max-width: 760px) {
	.lh-wrap { padding-inline: 16px; }
	.lh-doors { grid-template-columns: minmax(0, 1fr); }
	.lh-door, .lh-door-dark { padding: 26px 16px; }
	.lh-grid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#lh-fams, #lh-needs { flex-wrap: nowrap; margin-inline: -16px; overflow-x: auto; padding-inline: 16px; scrollbar-width: none; }
	#lh-fams .lh-chip, #lh-needs .lh-chip { flex: none; }
}
@media (max-width: 782px) { .admin-bar .lh-head { top: 0; position: relative; } }
@media (prefers-reduced-motion: reduce) { .lh-card { transition: none; } .lh-card:hover { transform: none; } }

@media print {
	#wpadminbar, .lf-play, .lh-grip, .lh-again, .lh-saved, .lh-head, .lh-tintro, .lh-work > section, .lh-contact, .lh-foot, .lh-bar, .lh-tools, .lh-status, .lh-float, .lh-eyebrow, .lh-move { display: none !important; }
	body.lh-page, .lh, .lh-sheet { background: #fff; }
	html { margin-top: 0 !important; }
	.lh-work { display: block; padding: 0; }
	.lh-sheet { border: 0; padding: 0; position: static; }
	.lh .lh-name input { font-size: 28px; }
	.lh-list { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
	.lh-list li { border: 1px solid #999; break-inside: avoid; display: block; padding: 8px; }
	.lh-list img { display: block; height: auto; width: 100%; }
}

/* Overview map (lesson builder) */
.lf-view { display: inline-flex; flex-wrap: wrap; gap: 0; margin-top: 14px; }
.lh .lf-vbtn { background: transparent; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; font: 700 16px Assistant, sans-serif; margin-inline-end: -1px; min-height: 42px; padding: 6px 16px; }
.lh .lf-vbtn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.lh .lf-vbtn:hover { background: var(--white); }
.lh .lf-vbtn[aria-pressed="true"]:hover { background: var(--ink); }
.lh .lf-vprint { border-color: var(--coral); color: var(--coral); margin-inline-start: 10px; }
.lf-vbtn:focus-visible, .lf-map a:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.lf-map { padding: 18px 0 36px; }
.lf-map[hidden], .lf-steps[hidden] { display: none !important; }
.lf-map-title { color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.lf-map-part h2 { border-bottom: 1px solid var(--ink); font-size: 22px; margin: 22px 0 10px; padding-bottom: 4px; }
.lf-map-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); list-style: none; margin: 0; padding: 0; }
.lh .lf-map-grid a { background: var(--white); border: 1px solid var(--rule); color: var(--ink); display: grid; gap: 2px; height: 100%; padding: 6px 6px 8px; position: relative; text-align: center; text-decoration: none; }
.lh .lf-map-grid a:hover { border-color: var(--ink); }
.lf-map-grid img { aspect-ratio: 1; display: block; height: auto; object-fit: contain; width: 100%; }
.lf-map-n { color: var(--coral); font: 800 16px "Frank Ruhl Libre", serif; inset-block-start: 4px; inset-inline-start: 7px; position: absolute; }
.lf-map-grid b { font: 800 15px/1.2 "Frank Ruhl Libre", serif; }
.lf-map-grid small { color: var(--muted); font-size: 13px; line-height: 1.25; }
@media (max-width: 600px) { .lf-map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .lf-map-grid b { font-size: 13px; } .lf-map-grid small { font-size: 12px; } .lh .lf-vprint { margin: 8px 0 0; } }
@media print {
	body.lf-printing-map .lf-tintro, body.lf-printing-map .lf-note, body.lf-printing-map .lf-view, body.lf-printing-map .lf-steps, body.lf-printing-map .lh-tintro p, body.lf-printing-map .lh-tools, body.lf-printing-map .lh-work > section, body.lf-printing-map #lh-list, body.lf-printing-map .lh-saved { display: none !important; }
	.lf-map-grid { grid-template-columns: repeat(6, 1fr); gap: 4px; }
	.lh .lf-map-grid a { border-color: #bbb; padding: 3px; }
	.lf-map-grid b { font-size: 11px; } .lf-map-grid small { font-size: 10px; } .lf-map-n { font-size: 12px; }
	.lf-map-part { break-inside: auto; } .lf-map-grid li { break-inside: avoid; }
	.lf-map-part h2 { font-size: 15px; margin: 8px 0 4px; }
}

.lh-mapdlg { background: var(--paper); border: 0; color: var(--ink); height: 100dvh; max-height: 100dvh; max-width: 100vw; overflow-y: auto; padding: 14px 16px 24px; width: 100vw; }
.lh-mapdlg::backdrop { background: var(--paper); }
.lh-mapdlg .lf-top { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-inline: auto; max-width: 1200px; }
.lh-mapdlg .lf-top p { font: 800 22px "Frank Ruhl Libre", serif; margin: 0; }
.lh-mapdlg .lf-top span { align-items: center; display: flex; gap: 8px; }
.lh-mapdlg .lf-map { margin-inline: auto; max-width: 1200px; }
.lh-mapdlg .lf-map-grid small[dir] { font-style: italic; }
@media print {
	body.lh-printing-map .lh > *:not(.lh-mapdlg) { display: none !important; }
	body.lh-printing-map .lh-mapdlg { display: block !important; height: auto; max-height: none; overflow: visible; position: static; }
	body.lh-printing-map .lh-mapdlg .lf-top span { display: none !important; }
}
