:root {
  color-scheme: light;
  --ink: #253c31;
  --muted: #656c62;
  --green: #214f3c;
  --green-dark: #173d2e;
  --mint: #e9eee5;
  --mint-strong: #d8e2d3;
  --paper: #fffdf8;
  --canvas: #f5f1e8;
  --line: #ddd8cb;
  --accent: #a36b3f;
  --oak-soft: #ede3d3;
  --amber: #fff4df;
  --radius: 16px;
  --shadow: 0 3px 10px rgb(67 48 24 / 3%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.55 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; min-height: 44px; }
button:disabled { cursor: default; opacity: .5; }
a { color: var(--green); text-underline-offset: 3px; }
button, a, input, select, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid #39946e; }
input, select { max-width: 100%; min-width: 0; color: var(--ink); background: var(--paper); }
input[type="search"] { appearance: none; }
input::placeholder { color: #77847c; opacity: 1; }
select { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 650; letter-spacing: -.045em; }
h2 { font-size: 25px; font-weight: 650; letter-spacing: -.03em; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
h4 { font-size: 13px; font-weight: 650; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; border-radius: 8px; padding: 12px 20px; background: var(--green); color: white; }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 30; background: #fffdf8; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); text-decoration: none; font-size: 25px; font-weight: 700; line-height: 1.1; letter-spacing: -.055em; }
.brand-light { font-weight: 450; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 450; letter-spacing: .025em; }
.brand-mark { position: relative; display: block; width: 34px; height: 36px; color: var(--green); }
.brand-mark svg { width: 31px; height: 33px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.brand-mark i { position: absolute; right: -1px; top: -4px; color: var(--accent); font-style: normal; font-size: 20px; }
.desktop-nav { display: flex; gap: 6px; margin-left: auto; }
.nav-item { padding: 9px 15px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.nav-item:hover, .nav-item.active { background: var(--mint); color: var(--green-dark); }
.journey-button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 13px; font-weight: 650; }
.journey-button:hover { border-color: #a9c2ae; background: #f5f9f4; }
.journey-button .icon { width: 17px; height: 17px; }
.count { display: grid; place-items: center; min-width: 23px; height: 23px; border-radius: 7px; background: var(--mint); color: var(--green); font-size: 11px; font-variant-numeric: tabular-nums; }
.connection-status { display: block; margin: 0 0 10px; padding: 9px 12px; border: 1px solid #e3cf9e; border-radius: 8px; background: var(--amber); color: #71551c; font-size: 13px; }
.search-stage { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "copy visual" "search visual"; gap: 25px 42px; padding-block: 35px 30px; }
.hero { grid-area: copy; min-width: 0; padding: 0; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.tiny-star { color: var(--accent); font-size: 17px; line-height: 1; }
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 { font-size: clamp(36px, 3.65vw, 52px); line-height: 1.13; }
.hero h1 em, .secondary-page h1 em { color: var(--green); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy > p { max-width: 530px; margin-top: 13px; font-size: 14px; line-height: 1.7; }
.hero-proof { display: flex; align-items: center; gap: 8px; margin-top: 19px; color: var(--green); font-size: 11px; font-weight: 600; }
.hero-proof > .icon { width: 17px; height: 17px; }
.hero-proof small { display: inline; margin-left: 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
.search-wrap { grid-area: search; min-width: 0; padding-bottom: 0; }
.architecture-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--oak-soft); }
.architecture-photo picture { display: block; position: absolute; inset: 0; }
.architecture-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-visual { grid-area: visual; min-height: 320px; border: 1px solid #d5c1a5; border-radius: 14px; }
.hero-visual img { object-position: 51% 50%; }
.image-credit { position: absolute; bottom: 12px; right: 12px; padding: 4px 7px; border-radius: 4px; background: rgb(23 42 32 / 85%); color: #fffdf8; font-size: 9px; line-height: 1.5; letter-spacing: .015em; }
.search-bar { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #bccfbf; border-radius: 14px; background: var(--paper); box-shadow: 0 3px 14px rgb(18 68 42 / 5%); }
.search-bar:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgb(21 94 70 / 9%); }
.search-input-wrap { display: flex; align-items: center; flex: 1; min-width: 0; gap: 13px; padding: 4px 16px; }
.search-input-wrap > .icon { width: 23px; height: 23px; color: var(--green); }
.search-input-wrap > div { flex: 1; min-width: 0; }
.search-bar label { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 650; }
.search-bar input { display: block; width: 100%; border: 0; padding: 0; min-height: 29px; background: transparent; outline: none; font-size: 17px; }
.primary, .outline, .light-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 650; line-height: 1.4; text-decoration: none; text-align: center; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--green-dark); }
.outline { border-color: #ccd9ce; background: var(--paper); color: var(--ink); }
.outline:hover { background: #f2f6f0; border-color: #a9c2ae; }
.light-button { border-color: #fff; background: var(--paper); color: var(--green-dark); }
.light-button:hover { background: var(--mint); border-color: var(--mint); }
.primary .icon, .outline .icon, .light-button .icon { width: 17px; height: 17px; }
.search-submit { min-height: 58px; padding-inline: 25px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.search-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; margin-top: 11px; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.quick-filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 12px; font-weight: 550; }
.quick-filter .icon { width: 16px; height: 16px; color: #5b7564; }
.quick-filter:hover { border-color: #b1c9b6; }
.quick-filter[aria-pressed="true"] { border-color: var(--green); background: var(--mint); color: var(--green-dark); }
.quick-filter[aria-pressed="true"] .icon { color: var(--green); }
.prayer-shortcut { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 0 8px 12px; color: var(--green); background: transparent; font-size: 13px; font-weight: 650; }
.prayer-shortcut > .icon { width: 17px; height: 17px; }
.prayer-shortcut .shortcut-arrow { width: 15px; }
.popular { display: flex; align-items: center; flex-wrap: wrap; gap: 0 5px; margin-top: 3px; font-size: 12px; }
.popular > span { margin-right: 8px; color: var(--muted); }
.popular button { background: transparent; padding: 7px 9px; font-size: 12px; color: var(--muted); text-decoration: underline; text-decoration-color: #bac9bc; text-underline-offset: 4px; }
.popular button:hover { color: var(--green); text-decoration-color: var(--green); }
.explore-body { padding-top: 27px; padding-bottom: 32px; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.directory-heading h2 { font-size: 23px; letter-spacing: -.035em; }
.directory-heading p { margin-top: 5px; font-size: 12px; }
.directory-layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: 100px; max-height: calc(100dvh - 120px); overflow: auto; overscroll-behavior: contain; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); scrollbar-width: thin; scrollbar-color: #c7d5c8 transparent; }
.filter-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: -6px 0 9px; }
.filter-head h3 { display: flex; align-items: center; gap: 7px; font-size: 13px; line-height: 1.5; letter-spacing: -.015em; }
.filter-head .icon { width: 16px; height: 16px; }
.text-button { background: transparent; color: var(--green); font-size: 12px; font-weight: 600; padding: 8px 4px; }
.text-button:hover { text-decoration: underline; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-title { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.filter-title.spaced { margin-top: 15px; }
.filter-group select { display: block; width: 100%; min-height: 44px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.filter-group h4 { margin-bottom: 9px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: 12px; line-height: 1.5; }
.check-row input, .checklist-grid input { width: 17px; height: 17px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--green); cursor: pointer; }
.check-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.source-check { margin-top: 13px; }
.sidebar-note { display: flex; gap: 9px; padding-top: 16px; border-top: 1px solid var(--line); }
.sidebar-note > .icon { width: 17px; height: 17px; margin-top: 2px; color: #6a806d; }
.sidebar-note p { color: var(--ink); font-size: 12px; font-weight: 600; }
.sidebar-note small { display: block; margin-top: 5px; font-weight: 400; color: var(--muted); font-size: 11px; }
.filter-toggle, .filter-apply { display: none; }
.results-area { min-width: 0; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 45px; margin: -3px 0 14px; color: var(--muted); font-size: 12px; }
.results-toolbar strong { color: var(--ink); font-weight: 700; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { font-size: 11px; }
.sort-wrap select { min-height: 44px; max-width: 170px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 12px; }
.view-toggle { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.view-toggle button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 5px; border-radius: 5px; background: transparent; color: var(--muted); }
.view-toggle button.selected { background: var(--mint); color: var(--green); }
.view-toggle .icon { width: 16px; height: 16px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { margin-bottom: 15px; }
.active-filters button { padding: 6px 11px; border: 1px solid #b7d2be; border-radius: 7px; background: var(--mint); color: var(--green); font-size: 12px; }
.airport-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.airport-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.airport-card:hover { border-color: #b3cbb9; }
.card-header { display: grid; grid-template-columns: 52px minmax(0, 1fr) 40px; gap: 12px; align-items: start; padding: 20px 20px 0; }
.airport-code { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--mint); color: var(--green); font-size: 21px; font-weight: 650; letter-spacing: -.05em; }
.card-heading { min-width: 0; padding-top: 1px; }
.card-title { font-size: 21px; line-height: 1.23; letter-spacing: -.04em; text-wrap: initial; }
.card-airport-name { margin-top: 5px; font-size: 12px; line-height: 1.5; }
.bookmark { display: grid; place-items: center; width: 44px; min-height: 44px; margin: -4px -6px 0 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #667c6c; }
.bookmark:hover { background: var(--mint); }
.bookmark .icon { width: 19px; height: 19px; }
.bookmark.saved { background: var(--mint); color: var(--green); }
.bookmark.saved .icon { fill: #d1e6d7; }
.card-content { flex: 1; min-width: 0; padding: 13px 20px 16px; }
.card-location { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.card-location .icon { width: 13px; height: 13px; }
.source-label { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--green); font-size: 11px; line-height: 1.5; }
.source-label .icon { width: 13px; height: 13px; }
.source-label.secondary { color: #896331; }
.room-title { margin-top: 15px; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.5; }
.room-location { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 13px; line-height: 1.65; }
.room-location .icon { width: 15px; height: 15px; margin-top: 3px; color: #728675; }
.room-location span { min-width: 0; }
.room-location strong { color: #3b5848; font-size: 12px; font-weight: 650; }
.amenities { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; border-radius: 6px; padding: 5px 7px; background: #f0f4ed; color: #4c6652; font-size: 10px; font-weight: 550; line-height: 1.4; }
.tag .icon { width: 12px; height: 12px; }
.tag.wudu { background: #eaf3f2; color: #396b62; }
.tag.warning { background: var(--amber); color: #79551b; }
.card-hours { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; font-size: 11px; line-height: 1.55; color: var(--muted); }
.card-hours .icon { width: 14px; height: 14px; margin-top: 2px; }
.card-hours small, .card-hours strong { font-size: 11px; font-weight: 650; color: #445e4e; }
.more-rooms { margin-top: 9px; font-size: 11px; color: var(--green); }
.card-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin-top: auto; padding: 12px 20px; border-top: 1px solid var(--line); }
.card-footer small { font-size: 10px; line-height: 1.5; color: var(--muted); }
.card-footer .source-label { margin: 0; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 20px 17px; }
.card-actions button, .card-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--green); font-size: 12px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; }
.card-actions button:first-child, .card-actions a:first-child { border-color: var(--green); background: var(--green); color: white; }
.card-actions button:hover { border-color: var(--green); }
.card-actions button:first-child:hover { background: var(--green-dark); }
.card-actions .icon { width: 15px; height: 15px; }
.card-prayer-link { white-space: nowrap; }
.detail-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; background: transparent; color: var(--green); font-size: 12px; font-weight: 650; }
.detail-link .icon { width: 15px; height: 15px; }
.airport-grid.list-mode { grid-template-columns: 1fr; }
.list-mode .airport-card { display: grid; grid-template-columns: 245px minmax(0, 1fr); }
.list-mode .card-header { grid-column: 1; grid-row: 1; grid-template-columns: 47px minmax(0, 1fr) 30px; padding: 20px 0 20px 20px; gap: 10px; }
.list-mode .airport-code { width: 47px; height: 47px; font-size: 19px; }
.list-mode .card-title { font-size: 19px; }
.list-mode .card-content { grid-column: 2; grid-row: 1 / 3; padding: 20px; }
.list-mode .card-content .room-title { margin-top: 9px; }
.list-mode .card-footer { grid-column: 1; grid-row: 2; border: 0; padding-top: 0; align-self: end; }
.list-mode .card-actions { grid-column: 1 / -1; grid-row: 3; padding: 13px 20px; border-top: 1px solid var(--line); }
.list-mode .card-actions button { width: 100%; }
.empty-results, .loading-card { grid-column: 1 / -1; min-height: 250px; padding: 40px 24px; border: 1px dashed #c5d4c7; border-radius: var(--radius); background: var(--paper); text-align: center; }
.empty-results > .icon { width: 32px; height: 32px; margin-bottom: 16px; color: #8caa91; }
.empty-results h3 { font-size: 22px; }
.empty-results p { max-width: 490px; margin: 12px auto 20px; font-size: 14px; }
.loading-card { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.loading-indicator { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: turn .8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.load-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
.load-more-wrap .outline { min-width: 230px; }
.coverage-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.coverage-note > .icon { width: 17px; height: 17px; margin-top: 3px; color: #718d76; }
.coverage-note p { flex: 1; color: #465f4f; font-size: 12px; font-weight: 600; }
.coverage-note p span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 400; }
.coverage-note .text-button { padding: 0 0 0 10px; min-height: 44px; align-self: center; white-space: nowrap; }
.planning-banner { display: grid; grid-template-columns: .9fr 1.1fr; padding: 0; margin-top: 12px; margin-bottom: 46px; border: 1px solid var(--green-dark); border-radius: var(--radius); overflow: hidden; background: var(--green-dark); color: white; }
.planning-copy { grid-column: 2; grid-row: 1; padding: 34px 40px; align-self: center; }
.planning-copy .eyebrow { margin-bottom: 13px; color: #dfc29a; font-size: 9px; letter-spacing: .14em; }
.planning-banner h2 { max-width: 390px; color: #fffdf8; font-size: 31px; letter-spacing: -.035em; }
.planning-banner p { max-width: 390px; margin-top: 12px; color: #d0dccc; font-size: 13px; line-height: 1.7; }
.planning-banner .light-button { margin-top: 20px; min-width: 135px; background: #f3eadb; border-color: #f3eadb; }
.planning-banner .light-button:hover { background: var(--paper); }
.planning-visual { grid-column: 1; grid-row: 1; min-height: 270px; }
.planning-visual img { object-position: 45% 55%; }
.footer { padding: 25px 0 24px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; gap: 22px; }
.footer-brand { display: inline-flex; align-items: center; gap: 0; color: var(--green); font-size: 20px; font-weight: 650; letter-spacing: -.04em; text-decoration: none; }
.footer-brand > span:not(.tiny-star) { font-weight: 400; }
.footer-brand .tiny-star { margin-left: 6px; }
.footer-top p { font-size: 12px; }
.footer-top > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-left: auto; }
.footer-top button, .footer-top > div a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; background: transparent; color: var(--muted); font-size: 11px; text-decoration: none; }
.footer-top button:hover, .footer-top > div a:hover { color: var(--green); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.mobile-nav { display: none; }
.secondary-page { padding-block: 38px 50px; min-height: calc(100dvh - 220px); }
.secondary-page > .eyebrow { margin-bottom: 12px; }
.secondary-page > h1, .page-title-row h1 { font-size: clamp(30px, 3.2vw, 42px); }
.page-intro, .page-title-row p { max-width: 720px; margin-top: 12px; font-size: 15px; line-height: 1.7; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.journey-tip { display: flex; align-items: flex-start; gap: 10px; margin: 25px 0; padding: 15px 18px; border: 1px solid #d1e1d4; border-radius: 10px; background: #edf4ea; }
.journey-tip .icon { width: 18px; height: 18px; margin-top: 2px; color: #5d7d63; }
.journey-tip p { font-size: 13px; color: #536d59; }
.journey-card { display: grid; grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 24px; margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.journey-index { padding: 18px 8px; border-radius: 12px; background: var(--mint); color: var(--green); text-align: center; align-self: start; }
.journey-index small { display: block; margin-bottom: 5px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.journey-index strong { font-size: 29px; font-weight: 600; letter-spacing: -.06em; }
.journey-card h2 { font-size: 24px; }
.journey-card .journey-name { margin: 5px 0 12px; font-size: 12px; }
.journey-card p { font-size: 13px; line-height: 1.65; }
.journey-card .button-row { margin-top: 18px; }
.journey-room-note { margin-top: 14px; padding: 14px 16px; border: 1px solid #e2e9de; border-radius: 9px; background: #f6f8f2; font-size: 12px; line-height: 1.65; }
.journey-room-note strong { display: block; margin-bottom: 5px; color: #31583d; font-weight: 650; }
.journey-room-note span { display: block; color: #596e5d; }
.journey-actions { display: flex; flex-direction: column; gap: 5px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 19px; }
.icon-button:hover { background: var(--mint); }
.checklist-panel { margin-top: 28px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #eef4e9; }
.checklist-panel h2 { margin-bottom: 17px; font-size: 22px; }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.checklist-grid label { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #4a6350; font-size: 13px; cursor: pointer; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.prayer-layout { display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); align-items: start; gap: 26px; margin-top: 26px; }
.prayer-form h2 { margin-bottom: 22px; font-size: 21px; }
.prayer-form label { display: block; margin: 16px 0 7px; color: #3a5948; font-size: 12px; font-weight: 600; }
.prayer-form input, .prayer-form select { display: block; width: 100%; min-height: 46px; padding: 10px 11px; border: 1px solid #cddbcf; border-radius: 8px; font-size: 15px; }
.prayer-form input[type="date"] { min-width: 0; max-width: 100%; }
.prayer-form > .primary { width: 100%; margin-top: 20px; min-height: 48px; font-size: 14px; }
.prayer-form > small { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.calculation-settings { margin-top: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calculation-settings summary { min-height: 60px; padding: 13px 0; color: #315b41; font-size: 12px; font-weight: 650; cursor: pointer; }
.calculation-settings summary span { display: block; margin: 3px 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 400; }
.settings-fields { padding-bottom: 17px; }
.settings-fields label:first-child { margin-top: 4px; }
.prayer-output { min-height: 330px; }
.large-moon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 19px; border-radius: 15px; background: var(--mint); color: #4b805b; }
.large-moon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.prayer-output h2 { font-size: 29px; }
.prayer-output > p { max-width: 530px; margin-top: 12px; font-size: 14px; line-height: 1.75; }
.prayer-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tool-link { display: flex; align-items: center; gap: 11px; min-height: 76px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--green); text-decoration: none; text-align: left; }
.tool-link > span { flex: 1; font-size: 13px; font-weight: 650; }
.tool-link small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); font-weight: 400; }
.tool-link > .icon:last-child { width: 15px; height: 15px; color: #65836b; }
.tool-link:hover { border-color: #adc9b3; }
.plain-note { margin-top: 25px; }
.plain-note h3 { font-size: 16px; margin-bottom: 12px; }
.plain-note p { margin-bottom: 11px; max-width: 980px; font-size: 12px; line-height: 1.85; }
.timings-head .eyebrow { margin-bottom: 10px; font-size: 9px; }
.timings-head h2 { font-size: 31px; }
.timings-head p { margin-top: 7px; font-size: 13px; }
.time-zone { display: inline-flex; max-width: 100%; margin-top: 11px; padding: 5px 8px; border-radius: 5px; background: #eff5ec; color: #547159; font-size: 11px; overflow-wrap: anywhere; }
.timings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 21px 0; }
.prayer-time { min-width: 0; padding: 15px 12px; border: 1px solid var(--line); border-radius: 10px; background: #f7f9f5; }
.prayer-time.sunrise { background: #fcf9f0; border-color: #e9e1cc; }
.prayer-time span { display: block; color: #4b6753; font-size: 12px; font-weight: 600; }
.prayer-time strong { display: block; margin-top: 7px; color: var(--ink); font-size: clamp(22px, 2.2vw, 31px); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.prayer-time small { display: block; margin-top: 5px; color: #807349; font-size: 10px; }
.prayer-time.is-next { border: 2px solid var(--green); padding: 14px 11px; background: var(--mint); }
.prayer-time.is-next strong, .prayer-time.is-next span { color: var(--green-dark); }
.next-prayer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; margin-top: 21px; padding: 22px; border-radius: 12px; background: var(--green-dark); color: white; }
.next-prayer-label { grid-column: 1 / -1; color: #c8e1cf; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.next-prayer-main { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; }
.next-prayer h3 { color: white; font-size: 25px; }
.next-prayer-countdown { flex-shrink: 0; color: white; font-size: 32px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.next-prayer-note, .next-prayer-localtime { grid-column: 1 / -1; color: #c8e1cf; font-size: 11px; line-height: 1.6; }
.next-prayer-note { margin-top: 8px; }
.next-prayer-localtime { margin-top: 2px; }
.next-prayer > .outline { grid-column: 1 / -1; justify-self: start; width: fit-content; max-width: 100%; margin-top: 13px; border-color: #83a68e; background: transparent; color: white; }
.prayer-output > .calendar-help { margin-top: 12px; font-size: 12px; line-height: 1.6; }
.timings-meta { padding: 15px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.9; }
.timings-meta strong { color: #4a6353; font-weight: 650; }
.prayer-output .button-row { margin-top: 20px; }
.prayer-error { padding: 18px 0; }
.prayer-error h3 { margin-bottom: 12px; font-size: 23px; }
.prayer-error p { margin-bottom: 20px; font-size: 14px; line-height: 1.75; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.about-stats > div { padding: 24px; border-right: 1px solid var(--line); }
.about-stats > div:last-child { border: 0; }
.about-stats strong { display: block; font-size: 36px; font-weight: 600; line-height: 1.25; letter-spacing: -.055em; color: var(--green); font-variant-numeric: tabular-nums; }
.about-stats small { display: block; margin-top: 7px; font-size: 11px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-grid h2 { margin: 17px 0 13px; font-size: 23px; }
.about-grid p { margin-bottom: 12px; font-size: 13px; line-height: 1.8; }
.about-grid p:last-child { margin: 0; }
.number-circle { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 650; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 25px; padding: 27px; border: 1px solid #d3e0ce; border-radius: var(--radius); background: #edf3e7; }
.download-panel h2 { font-size: 24px; }
.download-panel p { margin-top: 7px; font-size: 13px; }
html:has(#airportDialog[open]), body:has(#airportDialog[open]) { overflow: hidden; overscroll-behavior: none; }
.airport-dialog { position: fixed; inset: 0; width: min(880px, calc(100% - 48px)); max-width: none; max-height: min(92dvh, 1050px); margin: auto; padding: 0; border: 1px solid #c4d4c8; border-radius: 18px; background: var(--canvas); color: var(--ink); box-shadow: 0 24px 80px rgb(13 36 25 / 25%); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.airport-dialog::backdrop { background: rgb(13 36 25 / 55%); }
.dialog-toolbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 7px 17px 7px 25px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-toolbar > span { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.dialog-close { width: 44px; min-height: 44px; border: 0; background: #f0f5ee; }
.dialog-close .icon { width: 19px; height: 19px; }
.detail-header { padding: 26px 30px 23px; border-bottom: 1px solid var(--line); background: var(--paper); }
.detail-header .eyebrow { margin-bottom: 12px; font-size: 9px; }
.detail-header h1 { font-size: clamp(28px, 4vw, 39px); line-height: 1.17; }
.detail-header h1 span, .detail-airport-code { display: inline-flex; align-items: center; padding: 5px 8px; margin-left: 8px; border-radius: 7px; background: var(--mint); color: var(--green); font-size: 19px; font-weight: 600; letter-spacing: -.035em; vertical-align: middle; }
.detail-header > p { margin-top: 10px; font-size: 13px; }
.detail-header .source-label { margin-top: 12px; }
.detail-body { padding: 24px 30px 30px; }
.detail-summary { color: #3f5d49; font-size: 15px; line-height: 1.7; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.detail-actions button, .detail-actions a { min-height: 44px; padding: 10px 12px; font-size: 12px; }
.detail-overview, .detail-quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.detail-overview > div, .detail-quick-facts > div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font-size: 12px; }
.detail-overview small, .detail-quick-facts small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.detail-jump-links { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.detail-jump-links button, .detail-jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 11px; border: 1px solid #cadbcb; border-radius: 8px; background: var(--paper); color: var(--green); font-size: 12px; text-decoration: none; }
.note-box { margin-top: 19px; padding: 15px 17px; border: 1px solid #e5d4ac; border-radius: 9px; background: var(--amber); }
.note-box p { margin-bottom: 8px; color: #715522; font-size: 12px; line-height: 1.7; }
.note-box p:last-child { margin: 0; }
.room-section-title { margin: 27px 0 10px; font-size: 25px; }
.room-block { margin-top: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); scroll-margin-top: 78px; }
.room-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.room-heading h3 { font-size: 21px; line-height: 1.35; }
.room-kind { margin-top: 5px; color: var(--muted); font-size: 12px; }
.location-line { display: flex; align-items: flex-start; gap: 10px; margin: 17px 0; padding: 13px 14px; border-radius: 8px; background: #edf5eb; color: #375f42; font-size: 14px; line-height: 1.7; }
.location-line > .icon { width: 17px; height: 17px; margin-top: 3px; }
.room-data { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; margin: 19px 0 0; }
.room-data > div { min-width: 0; }
.room-data dt { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: #6d7e70; font-size: 9px; font-weight: 650; letter-spacing: .055em; }
.room-data dt .icon { width: 13px; height: 13px; }
.room-data dd { margin: 0; color: #3f5c48; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.room-block .amenities { margin-top: 18px; }
.room-block .tag { padding: 6px 8px; font-size: 10px; }
.room-note { margin-top: 14px; padding-left: 11px; border-left: 2px solid #d6c49c; color: #776342; font-size: 12px; line-height: 1.7; }
.detail-sources { margin-top: 29px; }
.detail-sources h3 { font-size: 22px; }
.detail-sources > p { margin: 8px 0 14px; font-size: 12px; }
.source-item { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 15px 0; border-top: 1px solid var(--line); text-decoration: none; }
.source-item > span { flex: 1; color: #315f42; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.source-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.source-item > .icon { width: 16px; height: 16px; }
.source-item:hover > span { text-decoration: underline; }
.detail-bottom-note { margin-top: 25px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.share-fallback { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.share-fallback label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.share-fallback input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #c3d5c7; border-radius: 6px; font-size: 14px; }
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 100; width: max-content; max-width: min(480px, calc(100vw - 32px)); padding: 13px 19px; border: 1px solid #436752; border-radius: 10px; background: var(--green-dark); box-shadow: 0 6px 25px rgb(13 36 25 / 15%); color: white; font-size: 13px; line-height: 1.55; text-align: center; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 20px; background: var(--amber); color: #6c5125; text-align: center; font-size: 14px; }
.print-only { display: none; }
@media (min-width: 1600px) {
  .wrap { width: min(1400px, calc(100% - 96px)); }
  .directory-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: 48px; }
  .card-header { padding: 23px 25px 0; }
  .card-content { padding: 15px 25px 20px; }
  .card-footer { padding-inline: 25px; }
  .card-actions { padding-inline: 25px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { gap: 20px; }
  .nav-item { padding-inline: 11px; }
  .hero-layout { gap: 23px 26px; }
  .hero-proof small { display: block; margin: 2px 0 0; }
  .directory-layout { grid-template-columns: 202px minmax(0, 1fr); gap: 20px; }
  .filters { padding: 15px; }
  .filter-head h3 { font-size: 12px; gap: 5px; }
  .card-header { grid-template-columns: 46px minmax(0, 1fr) 32px; gap: 9px; padding: 17px 16px 0; }
  .airport-code { width: 46px; height: 46px; font-size: 19px; }
  .card-title { font-size: 20px; }
  .card-content { padding-inline: 16px; }
  .card-footer { padding-inline: 16px; }
  .card-actions { padding-inline: 16px; gap: 6px; }
  .card-actions button { padding-inline: 7px; font-size: 11px; }
  .sort-wrap label { display: none; }
  .prayer-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 20px; }
  .panel { padding: 22px; }
  .prayer-extras { grid-template-columns: 1fr; }
  .list-mode .airport-card { grid-template-columns: 215px minmax(0, 1fr); }
  .list-mode .card-header { grid-template-columns: 42px minmax(0, 1fr) 28px; gap: 8px; padding-left: 16px; }
  .list-mode .airport-code { width: 42px; height: 44px; font-size: 18px; }
  .list-mode .card-title { font-size: 18px; }
}
@media (max-width: 880px) {
  .header-inner { min-height: 70px; }
  .desktop-nav { gap: 1px; }
  .nav-item { padding-inline: 9px; font-size: 12px; }
  .brand { font-size: 23px; }
  .journey-button { font-size: 12px; padding-inline: 10px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "search" "visual"; gap: 18px; padding-block: 28px 22px; }
  .hero { padding: 0; }
  .hero-proof { margin-top: 12px; }
  .hero-proof small { display: inline; margin: 0 0 0 7px; }
  .hero-copy > p { max-width: 610px; }
  .hero-visual { min-height: 0; height: 140px; border-radius: 10px; }
  .hero-visual img { object-position: 50% 45%; }
  .directory-layout { grid-template-columns: 1fr; gap: 17px; }
  .filters { display: none; position: static; max-height: none; overflow: visible; padding: 20px; }
  .filters.mobile-open { display: block; }
  .filter-toggle, .filter-apply { display: inline-flex; }
  .filter-apply { width: 100%; margin: 0 0 18px; }
  .filter-title, .filter-group select, .check-row { font-size: 14px; }
  .filter-group select { font-size: 16px; }
  .check-row small, .sidebar-note small { font-size: 12px; }
  .check-row { min-height: 54px; padding-block: 10px; }
  .filter-head h3 { font-size: 15px; }
  .filter-head .text-button { font-size: 13px; padding-inline: 10px; }
  .directory-heading { align-items: flex-start; margin-bottom: 20px; }
  .directory-heading h2 { font-size: 22px; }
  .directory-heading p { max-width: 460px; }
  .directory-heading .filter-toggle { flex-shrink: 0; }
  .card-header { grid-template-columns: 52px minmax(0, 1fr) 40px; padding: 20px 20px 0; gap: 11px; }
  .airport-code { width: 52px; height: 52px; font-size: 21px; }
  .card-content { padding-inline: 20px; }
  .card-footer { padding-inline: 20px; }
  .card-actions { padding-inline: 20px; }
  .card-actions button { font-size: 12px; }
  .list-mode .airport-card { grid-template-columns: 240px minmax(0, 1fr); }
  .list-mode .card-header { grid-template-columns: 47px minmax(0, 1fr) 30px; gap: 10px; padding-left: 20px; }
  .list-mode .airport-code { width: 47px; height: 47px; font-size: 19px; }
  .planning-banner { padding: 0; }
  .planning-copy { padding: 27px; }
  .planning-banner h2 { font-size: 26px; }
  .planning-banner .light-button { min-width: 120px; }
  .page-title-row { display: block; }
  .page-title-row > .button-row { margin-top: 20px; }
  .prayer-layout { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.15fr); gap: 18px; }
  .panel { padding: 20px; }
  .prayer-output h2 { font-size: 26px; }
  .timings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-prayer { display: block; padding: 18px; }
  .next-prayer h3 { margin-top: 5px; }
  .next-prayer-countdown { display: block; margin-top: 9px; font-size: 30px; }
  .next-prayer-note { margin-top: 10px; }
  .download-panel { display: block; }
  .download-panel .button-row { margin-top: 20px; }
  .footer-top { flex-wrap: wrap; gap: 8px 20px; }
  .footer-top > div { width: 100%; margin: 0; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 85px; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; justify-content: space-between; gap: 14px; }
  .brand { font-size: 23px; gap: 8px; }
  .brand-mark { width: 29px; height: 32px; }
  .brand-mark svg { width: 28px; height: 30px; }
  .brand-mark i { font-size: 18px; top: -3px; }
  .brand small { font-size: 8px; margin-top: 4px; }
  .desktop-nav { display: none; }
  .journey-button { gap: 6px; min-height: 44px; font-size: 11px; padding: 7px 10px; border-radius: 8px; }
  .journey-button .icon { width: 15px; height: 15px; }
  .count { min-width: 20px; height: 20px; font-size: 10px; border-radius: 5px; }
  .hero-layout { gap: 16px; padding-block: 24px 18px; }
  .hero { padding: 0; }
  .hero h1 { font-size: 36px; max-width: 550px; }
  .hero-copy > p { font-size: 13px; margin-top: 9px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 11px; }
  .hero-proof { display: none; }
  .hero-visual { height: 108px; }
  .image-credit { right: 7px; bottom: 7px; font-size: 8px; }
  .search-wrap { padding-bottom: 0; }
  .search-bar { padding: 6px; border-radius: 11px; }
  .search-input-wrap { padding: 4px 6px; gap: 9px; }
  .search-input-wrap > .icon { width: 20px; height: 20px; }
  .search-bar label { font-size: 10px; margin-bottom: 2px; }
  .search-bar input { min-height: 27px; font-size: 16px; }
  .search-submit { min-height: 52px; padding-inline: 14px; font-size: 12px; border-radius: 8px; }
  .search-tools { flex-wrap: wrap; gap: 2px 12px; margin-top: 9px; }
  .quick-filters { gap: 5px; }
  .quick-filter { padding: 8px 9px; border-radius: 7px; font-size: 11px; gap: 5px; }
  .quick-filter .icon { width: 14px; height: 14px; }
  .prayer-shortcut { padding: 7px 0; font-size: 12px; }
  .popular { flex-wrap: nowrap; overflow-x: auto; gap: 0 1px; margin-top: 0; font-size: 11px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .popular > span { flex: 0 0 auto; margin-right: 5px; font-size: 10px; white-space: nowrap; }
  .popular button { flex: 0 0 auto; padding-inline: 7px; font-size: 11px; }
  .explore-body { padding-top: 22px; padding-bottom: 20px; }
  .directory-heading { gap: 12px; margin-bottom: 17px; }
  .directory-heading h2 { font-size: 21px; }
  .directory-heading p { margin-top: 6px; max-width: 360px; font-size: 11px; line-height: 1.65; }
  .filter-toggle { padding-inline: 11px; font-size: 12px; }
  .filter-toggle .icon { width: 16px; height: 16px; }
  .results-toolbar { margin-bottom: 13px; font-size: 12px; gap: 8px; }
  .sort-wrap { gap: 5px; }
  .sort-wrap select { max-width: 145px; font-size: 12px; padding-inline: 8px; }
  .sort-wrap .view-toggle { display: none; }
  .airport-grid { grid-template-columns: 1fr; gap: 14px; }
  .airport-card { border-radius: 13px; }
  .card-header { grid-template-columns: 50px minmax(0, 1fr) 40px; padding: 18px 18px 0; gap: 12px; }
  .airport-code { width: 50px; height: 50px; border-radius: 9px; font-size: 20px; }
  .card-title { font-size: 23px; }
  .card-airport-name { font-size: 12px; line-height: 1.5; }
  .card-content { padding: 13px 18px 16px; }
  .card-location { font-size: 11px; }
  .room-title { font-size: 14px; }
  .room-location { font-size: 14px; }
  .room-location strong { font-size: 12px; }
  .tag { font-size: 11px; padding: 5px 7px; }
  .card-hours { font-size: 12px; line-height: 1.65; }
  .card-hours small, .card-hours strong { font-size: 12px; }
  .card-footer { padding: 12px 18px; }
  .card-footer small, .card-footer .source-label { font-size: 11px; }
  .card-actions { padding: 0 18px 17px; gap: 8px; }
  .card-actions button { font-size: 12px; min-height: 46px; }
  .list-mode .airport-card { display: flex; }
  .list-mode .card-header { grid-template-columns: 50px minmax(0, 1fr) 40px; padding: 18px 18px 0; gap: 12px; }
  .list-mode .airport-code { width: 50px; height: 50px; font-size: 20px; }
  .list-mode .card-title { font-size: 23px; }
  .list-mode .card-content { padding: 13px 18px 16px; }
  .list-mode .card-footer { padding: 12px 18px; border-top: 1px solid var(--line); }
  .list-mode .card-actions { padding: 0 18px 17px; border-top: 0; }
  .coverage-note { flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 19px; }
  .coverage-note p { flex: 1; min-width: 0; }
  .coverage-note p span { font-size: 11px; }
  .coverage-note .text-button { margin-left: 26px; padding-left: 0; }
  .planning-banner { display: flex; flex-direction: column; padding: 0; margin-top: 10px; margin-bottom: 28px; border-radius: 13px; }
  .planning-copy { align-self: stretch; padding: 25px; }
  .planning-banner h2 { max-width: 350px; font-size: 28px; }
  .planning-banner p { max-width: 450px; margin-top: 11px; font-size: 13px; }
  .planning-banner .light-button { margin-top: 19px; }
  .planning-visual { min-height: 0; height: 155px; width: 100%; }
  .footer { padding-block: 19px; }
  .footer-top { gap: 4px 17px; }
  .footer-top p { font-size: 11px; }
  .footer-top > div { gap: 18px; }
  .footer-bottom { padding-top: 14px; gap: 6px; font-size: 9px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 -2px 12px rgb(28 55 36 / 3%); }
  .mobile-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 57px; padding: 6px 3px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 550; }
  .mobile-nav button.active { background: #edf5eb; color: var(--green); font-weight: 650; }
  .mobile-nav .icon { width: 20px; height: 20px; }
  .secondary-page { min-height: calc(100dvh - 240px); padding-block: 27px 32px; }
  .secondary-page > .eyebrow { font-size: 9px; margin-bottom: 11px; }
  .secondary-page > h1, .page-title-row h1 { font-size: 32px; }
  .page-intro, .page-title-row p { margin-top: 11px; font-size: 14px; line-height: 1.7; }
  .page-title-row > .button-row { gap: 8px; margin-top: 18px; }
  .page-title-row .button-row .outline { flex: 1; padding-inline: 11px; font-size: 12px; }
  .journey-tip { margin-block: 20px; padding: 14px; }
  .journey-tip p { font-size: 12px; }
  .journey-card { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 13px; }
  .journey-index { padding: 12px 4px; border-radius: 8px; }
  .journey-index small { font-size: 8px; letter-spacing: .08em; }
  .journey-index strong { font-size: 23px; }
  .journey-card h2 { font-size: 22px; }
  .journey-card p { font-size: 12px; }
  .journey-card .journey-name { font-size: 11px; }
  .journey-room-note { padding: 12px; font-size: 12px; }
  .journey-card .button-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .journey-card .button-row > * { width: 100%; font-size: 12px; }
  .journey-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; padding-top: 12px; border-top: 1px solid var(--line); }
  .checklist-panel { padding: 20px; margin-top: 22px; }
  .checklist-panel h2 { font-size: 23px; }
  .checklist-grid { grid-template-columns: 1fr; gap: 3px; }
  .checklist-grid label { font-size: 13px; }
  .prayer-layout { grid-template-columns: 1fr; gap: 17px; margin-top: 22px; }
  .panel { padding: 21px; border-radius: 13px; }
  .prayer-form h2 { font-size: 23px; }
  .prayer-form label { font-size: 13px; }
  .prayer-form input, .prayer-form select { font-size: 16px; min-height: 48px; }
  .calculation-settings summary { font-size: 13px; }
  .calculation-settings summary span { font-size: 12px; }
  .prayer-form > small { font-size: 12px; }
  .prayer-output { min-height: 300px; }
  .prayer-output h2 { font-size: 28px; }
  .prayer-output > p { font-size: 14px; }
  .prayer-extras { grid-template-columns: 1fr 1fr; gap: 9px; }
  .tool-link { align-items: flex-start; padding: 15px 12px; gap: 8px; }
  .tool-link > .icon { width: 17px; height: 17px; margin-top: 2px; }
  .tool-link > span { font-size: 12px; }
  .tool-link > .icon:last-child { display: none; }
  .tool-link small { font-size: 11px; }
  .plain-note { margin-top: 23px; }
  .plain-note p { font-size: 12px; }
  .timings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .prayer-time { padding: 13px 10px; }
  .prayer-time.is-next { padding: 12px 9px; }
  .prayer-time span { font-size: 11px; }
  .prayer-time strong { font-size: 25px; }
  .next-prayer { display: grid; gap: 4px 17px; padding: 19px; }
  .next-prayer h3 { margin: 0; }
  .next-prayer-countdown { margin: 0; font-size: 28px; }
  .timings-meta { font-size: 12px; }
  .prayer-output .button-row .primary { width: 100%; font-size: 12px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); margin-block: 22px; border-radius: 13px; }
  .about-stats > div { padding: 20px; border-bottom: 1px solid var(--line); }
  .about-stats > div:nth-child(2) { border-right: 0; }
  .about-stats > div:nth-child(3) { border-bottom: 0; }
  .about-stats strong { font-size: 34px; }
  .about-stats small { font-size: 11px; }
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-grid h2 { font-size: 24px; }
  .about-grid p { font-size: 13px; }
  .download-panel { padding: 22px; border-radius: 13px; }
  .download-panel h2 { font-size: 26px; }
  .download-panel .button-row { gap: 8px; }
  .download-panel .button-row > * { flex: 1; font-size: 12px; }
  .airport-dialog { inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .dialog-toolbar { min-height: calc(58px + env(safe-area-inset-top)); padding: calc(7px + env(safe-area-inset-top)) 14px 7px 20px; }
  .detail-header { padding: 23px 20px 22px; }
  .detail-header h1 { font-size: 33px; }
  .detail-header > p { font-size: 13px; }
  .detail-body { padding: 20px 17px calc(28px + env(safe-area-inset-bottom)); }
  .detail-summary { font-size: 14px; }
  .detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .detail-actions button, .detail-actions a { min-height: 47px; font-size: 12px; padding: 9px; }
  .detail-actions .primary:first-child { grid-column: 1 / -1; }
  .detail-overview, .detail-quick-facts { grid-template-columns: 1fr; gap: 7px; }
  .detail-overview > div, .detail-quick-facts > div { padding: 10px 12px; }
  .note-box { padding: 13px 14px; }
  .note-box p { font-size: 12px; }
  .room-block { padding: 18px 16px; margin-top: 15px; }
  .room-heading h3 { font-size: 22px; }
  .room-kind { font-size: 12px; }
  .location-line { gap: 8px; padding: 12px; font-size: 14px; }
  .room-data { grid-template-columns: 1fr; gap: 15px; }
  .room-data > div { padding-bottom: 13px; border-bottom: 1px solid #edf0e9; }
  .room-data > div:last-child { padding-bottom: 0; border: 0; }
  .room-data dt { font-size: 10px; }
  .room-data dd { font-size: 14px; }
  .room-note { font-size: 12px; }
  .source-item > span { font-size: 13px; }
  .source-item small { font-size: 12px; }
  .detail-bottom-note { font-size: 12px; }
  .share-fallback input { font-size: 16px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); font-size: 12px; padding: 12px 16px; }
}
@media (max-width: 410px) {
  .hero h1 { font-size: 32px; max-width: 320px; }
  .hero-copy > p { max-width: 285px; }
  .search-submit { width: 49px; padding-inline: 0; flex-shrink: 0; }
  .search-submit > span { display: none; }
  .search-submit > .icon { width: 20px; height: 20px; }
  .quick-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 5px; }
  .quick-filter { min-width: 0; font-size: 11px; line-height: 1.35; padding: 6px 4px; }
  .quick-filter .icon { display: none; }
  .popular { gap: 0 3px; margin-top: 2px; }
  .popular button { padding-inline: 6px; }
  .directory-heading h2 { font-size: 19px; }
  .directory-heading p { max-width: 220px; }
  .filter-toggle { padding-inline: 10px; gap: 6px; }
  .results-toolbar { font-size: 11px; }
  .sort-wrap select { max-width: 135px; font-size: 11px; }
  .card-header { grid-template-columns: 45px minmax(0, 1fr) 36px; gap: 9px; padding-inline: 16px; }
  .airport-code { width: 45px; height: 47px; font-size: 19px; }
  .card-title { font-size: 21px; }
  .card-content { padding-inline: 16px; }
  .card-footer { padding-inline: 16px; }
  .card-actions { padding-inline: 16px; }
  .card-actions button { font-size: 11px; }
  .journey-button { padding-inline: 8px; gap: 5px; }
  .journey-button .icon { display: none; }
  .timings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-prayer { display: block; }
  .next-prayer h3 { margin-top: 6px; }
  .next-prayer-countdown { margin-top: 7px; }
  .footer-top p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .architecture-photo { display: none !important; }
  body { margin: 0; padding: 0; background: white; color: black; font: 11px/1.5 system-ui, sans-serif; }
  .header, .footer, .mobile-nav, .page:not(#journeyPage), .page-title-row > .button-row, .journey-tip, .journey-actions, .journey-card .button-row, .journey-room-note, .toast, .airport-dialog { display: none !important; }
  #journeyPage { display: block !important; width: auto; max-width: none; min-height: 0; padding: 0; }
  #journeyPage h1 { font-size: 29px; }
  .journey-card { display: block; margin: 13px 0; padding: 15px; border: 1px solid #bbb; border-radius: 0; box-shadow: none; break-inside: auto; }
  .journey-card h2 { font-size: 21px; }
  .journey-index { display: inline-flex; align-items: baseline; gap: 9px; padding: 0 0 8px; background: white; }
  .journey-index strong { font-size: 23px; }
  .journey-index small { font-size: 9px; }
  .checklist-panel { margin-top: 15px; padding: 14px; border-color: #bbb; background: white; break-inside: avoid; }
  .checklist-panel h2 { font-size: 20px; }
  .checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .checklist-grid label { min-height: 25px; font-size: 11px; }
  .print-only { display: block !important; margin-top: 10px; font-size: 10px; overflow-wrap: anywhere; }
  .print-only a { color: #222; }
  .journey-print-room { padding-top: 10px; margin-top: 12px; border-top: 1px solid #bbb; break-inside: avoid; }
  .journey-print-room h3 { font-size: 13px; margin-bottom: 5px; break-after: avoid; }
  .journey-print-room p { margin-bottom: 7px; font-size: 10px; color: #222; }
  .journey-print-note { padding-left: 8px; border-left: 2px solid #777; color: #222 !important; }
  .print-only ul { padding-left: 18px; }
  .print-only li { margin-bottom: 5px; }
  .empty-results .primary { display: none; }
}
