:root {
  --app-blue: #0f52ba;
  --app-bright: #1a73e8;
  --app-mint: #10b981;
  --app-line: #dce6f1;
  --app-panel-width: clamp(360px, 25vw, 400px);
  --app-detail-width: clamp(440px, 29vw, 480px);
  --app-sidebar-width: 86px;
  --notice-badge-height: 23px;
  --notice-badge-size: 12px;
  --notice-title-size: 14px;
  --notice-title-weight: 650;
  --notice-title-leading: 1.48;
  --notice-meta-size: 12px;
  --notice-radius: 12px;
}

/* Readability pass guided by Unslop by Damir Sokolovsky, CC BY 4.0, https://github.com/heydamir/unslop */
html, body { min-width: 0; overflow-x: hidden; font-variant-numeric: tabular-nums; }
body { padding-top: 0; background: #f6f9fc; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #27c996;
  outline-offset: 2px;
}
.app-skip-link { position: fixed; top: -60px; left: 96px; z-index: 1000; padding: 11px 15px; background: #102d50; color: #fff; border-radius: 8px; }
.app-skip-link:focus { top: 12px; }
.global-header { display: none; }

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 101;
  display: flex;
  width: var(--app-sidebar-width);
  height: 100dvh;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-right: 1px solid var(--app-line);
  box-shadow: 2px 0 16px rgba(20, 50, 90, .04);
}
.sidebar-brand {
  display: flex;
  width: 100%;
  min-height: 151px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #183253;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.04em;
}
.sidebar-brand img { width: 45px; height: 45px; object-fit: contain; }
.sidebar-nav { display: flex; width: 100%; flex-direction: column; gap: 8px; align-items: center; padding: 21px 5px 0; border-top: 1px solid var(--app-line); }
.sidebar-item {
  display: flex;
  width: 74px;
  min-height: 75px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 3px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #4b5565;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}
.sidebar-item svg { width: 24px; height: 24px; stroke-width: 2.1; }
.sidebar-item:hover, .sidebar-item.active { color: var(--app-blue); background: #edf5ff; border-color: #c7defb; }
.sidebar-item.active { font-weight: 600; }
.site-info-trigger { font-family: inherit; cursor: pointer; }
.site-info-panel { position: fixed; z-index: 102; top: 0; bottom: 0; left: var(--app-sidebar-width); display: flex; width: var(--app-panel-width); min-width: 0; flex-direction: column; border-right: 1px solid var(--app-line); background: #fff; color: #264462; box-shadow: 4px 0 18px rgba(24, 54, 98, .08); }
.site-info-panel[hidden] { display: none; }
.site-info-head { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--app-line); }
.site-info-eyebrow { color: #6b7280; font-size: 12px; font-weight: 600; line-height: 1.5; }
.site-info-head h2 { margin: 4px 0 0; color: #18395e; font-size: 18px; line-height: 1.3; }
.site-info-close { display: inline-grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid var(--app-line); border-radius: 9px; background: #fff; color: var(--app-blue); cursor: pointer; }
.site-info-close:hover { background: #edf5ff; }
.site-info-close svg { width: 18px; height: 18px; }
.site-info-content { min-height: 0; overflow-y: auto; padding: 18px; scrollbar-color: #c7d5e7 transparent; }
.site-info-intro { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #dbe7f5; border-radius: 12px; background: #f7faff; }
.site-info-intro img { flex: 0 0 46px; width: 46px; height: 46px; object-fit: contain; }
.site-info-intro strong { color: #18395e; font-size: 14px; }
.site-info-intro p { margin: 5px 0 0; color: #4b5565; font-size: 12px; line-height: 1.5; }
.site-info-section { padding: 17px 0; border-bottom: 1px solid #e8eef5; }
.site-info-section h3 { margin: 0 0 10px; color: #18395e; font-size: 13px; }
.site-info-section p { margin: 0 0 8px; color: #4c6682; font-size: 12px; line-height: 1.55; }
.site-info-service-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-info-service-list li { display: grid; gap: 3px; padding: 10px 11px; border: 1px solid #e7eef7; border-radius: 9px; background: #fbfcff; }
.site-info-service-list strong { color: #264462; font-size: 12px; }
.site-info-service-list span { color: #4b5565; font-size: 12px; line-height: 1.5; }
.site-info-details { display: grid; gap: 10px; margin: 0; }
.site-info-details > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 8px; }
.site-info-details dt { color: #4b5565; font-size: 12px; font-weight: 600; line-height: 1.5; }
.site-info-details dd { min-width: 0; margin: 0; color: #2c4b69; font-size: 12px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.site-info-panel a { color: #0b57b8; text-decoration: none; }
.site-info-panel a:hover { text-decoration: underline; }
.site-info-email { display: inline-block; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.site-info-app-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-size: 12px; font-weight: 600; }
.site-info-app-link svg { width: 15px; height: 15px; }
.site-info-links { display: grid; }
.site-info-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; border-top: 1px solid #edf1f6; font-size: 12px; font-weight: 500; }
.site-info-links a:first-child { border-top: 0; }
.site-info-links svg { flex: 0 0 15px; width: 15px; height: 15px; }
.site-info-notice { margin: 16px 0; padding: 12px; border-radius: 9px; background: #f1f6fd; color: #3f5c7d; font-size: 12px; line-height: 1.55; }
.site-info-copyright { padding-bottom: 10px; color: #6b7280; font-size: 12px; line-height: 1.5; }
.cal-footer, .wf-footer { flex-wrap: wrap; }
.business-footer { min-width: 0; overflow-wrap: anywhere; }
.site-info-collapse { position: absolute; top: 47%; left: 100%; display: flex; width: 38px; height: 104px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 5px; transform: translateY(-50%); border: 1px solid var(--app-line); border-left: 0; border-radius: 0 13px 13px 0; background: #fff; color: var(--app-blue); box-shadow: 5px 4px 14px rgba(24,54,98,.1); font-size: 11px; font-weight: 600; cursor: pointer; }
.site-info-collapse:hover { background: #eef6ff; }
.site-info-collapse svg { width: 19px; height: 19px; }
.site-info-open .panel-toggle { display: none !important; }
.site-info-open .explorer { visibility: hidden !important; pointer-events: none !important; }
.site-info-open .detail-panel { visibility: hidden !important; pointer-events: none !important; }
.site-info-open .left-column.detail-open { grid-template-columns: var(--app-panel-width) 0 minmax(0, 1fr); }
.site-info-open .left-column.panel-collapsed { grid-template-columns: var(--app-panel-width) 0 minmax(0, 1fr); }
.site-info-open .left-column.panel-collapsed.detail-open { grid-template-columns: var(--app-panel-width) 0 minmax(0, 1fr); }
.site-info-open .cal-shell, .site-info-open .wf-shell { width: calc(100% - var(--app-sidebar-width) - var(--app-panel-width)); margin-left: calc(var(--app-sidebar-width) + var(--app-panel-width)); }
.site-policy-open .site-info-collapse { display: none; }
.site-policy-panel { position: fixed; z-index: 103; top: 0; bottom: 0; left: calc(var(--app-sidebar-width) + var(--app-panel-width)); display: flex; width: min(680px, calc(100vw - var(--app-sidebar-width) - var(--app-panel-width) - 12px)); min-width: 0; flex-direction: column; border-right: 1px solid var(--app-line); background: #f7f9fc; color: #183253; box-shadow: 8px 0 28px rgba(20, 50, 90, .15); }
.site-policy-panel[hidden] { display: none; }
.site-policy-head { display: grid; flex: 0 0 auto; min-height: 70px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--app-line); background: #fff; }
.site-policy-head h2 { margin: 0; color: #18395e; font-size: 18px; line-height: 1.3; }
.site-policy-back { display: none; }
.site-policy-close { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--app-line); border-radius: 9px; background: #fff; color: var(--app-blue); cursor: pointer; }
.site-policy-close:hover, .site-policy-back:hover { background: #edf5ff; }
.site-policy-close:focus-visible, .site-policy-back:focus-visible { outline: 3px solid #2b79df; outline-offset: 2px; }
.site-policy-close svg, .site-policy-back svg { width: 18px; height: 18px; }
.site-policy-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #c7d5e7 transparent; }
.site-policy-document { max-width: 760px; margin: 0 auto; padding: 24px 28px 36px; overflow-wrap: anywhere; }
.site-policy-document a { color: #0f52ba; }
.site-download-card { padding: 22px; border: 1px solid #dfe8f2; border-radius: 14px; background: #fff; }
.site-download-card .tool-head { margin: 0 0 12px; }
.site-download-card .eyebrow { margin: 0 0 5px; color: #0f52ba; font-size: 11px; font-weight: 600; }
.site-download-card h2 { margin: 0; color: #183253; font-size: 22px; }
.site-download-card > p { color: #4c6682; font-size: 14px; line-height: 1.6; }
.store-qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-qr-card { display: flex; min-width: 0; align-items: center; flex-direction: column; gap: 8px; padding: 12px 6px; border: 1px solid #dfe8f2; border-radius: 11px; background: #fff; }
.store-qr-card > strong { color: #183253; font-size: 13px; }
.store-qr-image-link { display: block; width: min(160px, 100%); aspect-ratio: 1; }
.store-qr-image-link img { display: block; width: 100%; height: 100%; image-rendering: crisp-edges; }
.store-qr-guide { color: #607895; font-size: 11px; text-align: center; }
.store-qr-card .compact-store-button { width: 100%; min-height: 40px; justify-content: center; text-decoration: none; }
.privacy-document { background: #f7f9fc; color: #283f59; font-size: 14px; line-height: 1.65; }
.privacy-document h1 { margin: 0 0 16px; color: #183253; font-size: 23px; line-height: 1.35; }
.privacy-document h2 { margin: 28px 0 12px; padding-top: 16px; border-top: 2px solid #e2e9f2; color: #183253; font-size: 18px; }
.privacy-document h3 { margin: 18px 0 8px; color: #183253; font-size: 15px; }
.privacy-document p { margin: 7px 0; }
.privacy-document ul, .privacy-document ol { margin: 7px 0; padding-left: 24px; }
.privacy-document li { margin: 5px 0; }
.privacy-document .meta { margin-bottom: 18px; color: #607895; font-size: 12px; }
.privacy-document .box { margin: 16px 0; padding: 14px 16px; border: 1px solid #dce6f1; border-radius: 10px; background: #fff; }
.privacy-document .strong { font-weight: 600; }
.privacy-document .indent { margin-left: 16px; }
.privacy-document hr { margin: 28px 0; border: 0; border-top: 1px solid #dce6f1; }
.terms-document .terms-header { padding: 22px 24px; border: 1px solid #dce6f1; border-radius: 14px; background: #fff; }
.terms-document .terms-eyebrow { color: #0f52ba; font-size: 11px; font-weight: 600; }
.terms-document .terms-header h1 { margin: 8px 0 10px; font-size: 23px; line-height: 1.35; }
.terms-document .terms-header p, .terms-document .terms-section p, .terms-document .terms-section li { color: #4c6682; font-size: 14px; line-height: 1.7; }
.terms-document .terms-header p { margin: 0; }
.terms-document .terms-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.terms-document .terms-toc a { padding: 8px 10px; border: 1px solid #cbdcf3; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 500; text-decoration: none; }
.terms-document .terms-section { margin-top: 12px; padding: 20px 24px; border: 1px solid #dce6f1; border-radius: 12px; background: #fff; }
.terms-document .terms-section h2 { margin: 0 0 9px; font-size: 18px; }
.terms-document .terms-section p { margin: 7px 0; }
.terms-document .terms-footer { display: flex; justify-content: space-between; gap: 12px; padding: 22px 4px; color: #607895; font-size: 12px; }

.desktop-layout {
  width: calc(100% - var(--app-sidebar-width));
  max-width: none;
  min-width: 0;
  min-height: 100dvh;
  margin: 0 0 0 var(--app-sidebar-width);
  padding: 0;
  gap: 0;
  background: #f6f9fc;
}
.left-column {
  position: relative;
  display: grid;
  grid-template-columns: var(--app-panel-width) 0 minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  min-height: 660px;
  gap: 0;
  overflow: visible;
  transition: grid-template-columns 240ms ease;
}
.left-column.detail-open { grid-template-columns: var(--app-panel-width) var(--app-detail-width) minmax(0, 1fr); }
.left-column.panel-collapsed { grid-template-columns: 0 0 minmax(0, 1fr); }
.left-column.panel-collapsed.detail-open { grid-template-columns: 0 var(--app-detail-width) minmax(0, 1fr); }
.map-stage {
  grid-column: 3;
  grid-row: 1;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#map { background: #dbeaf3; }
.explorer {
  grid-column: 1;
  grid-row: 1;
  z-index: 4;
  height: 100%;
  min-width: 0;
  width: 100%;
  gap: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid var(--app-line);
  border-radius: 0;
  box-shadow: 4px 0 18px rgba(24, 54, 98, .06);
  background: #fff;
  transition: opacity 160ms ease;
}
.left-column.panel-collapsed .explorer { opacity: 0; visibility: hidden; pointer-events: none; }
.detail-panel {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  z-index: 3;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--app-line);
  border-radius: 0;
  background: #fff;
  box-shadow: 5px 0 18px rgba(24, 54, 98, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-14px);
  transition: opacity 180ms ease, transform 220ms ease;
  will-change: auto;
}
.detail-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.detail-panel.closing { animation: none; opacity: 0; transform: translateX(-14px); }
.detail-sheet-head { min-height: 65px; justify-content: flex-start; gap: 10px; padding: 11px 14px; cursor: default; touch-action: auto; user-select: auto; }
.detail-list-toggle, .close-detail { position: static; display: inline-grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid var(--app-line); border-radius: 9px; background: #fff; color: var(--app-blue); }
.detail-list-toggle:hover, .close-detail:hover { background: #edf5ff; }
.detail-list-toggle svg, .close-detail svg { width: 18px; height: 18px; }
.detail-panel-heading span { display: block; margin-bottom: 4px; color: #6b7280; font-size: 12px; font-weight: 600; line-height: 1.5; }
.detail-panel-heading h2 { margin: 0; color: #18395e; font-size: 18px; letter-spacing: -.03em; }
.detail-sheet-grip { display: none; }
.close-detail { margin-left: auto; }
#detailContent { padding: 16px; }
.notice-card.active { border-color: #9dbbea; background: #f7fbff; }
.detail-kicker { gap: 5px; }
.detail-panel .detail-title { margin: 12px 0 14px; color: #183253; font-size: 18px; font-weight: var(--notice-title-weight); line-height: var(--notice-title-leading); overflow-wrap: anywhere; }
.detail-panel .detail-grid { gap: 7px; margin: 12px 0; }
.detail-panel .detail-field, .detail-panel .detail-section, .detail-panel .spot-item, .detail-panel .detail-summary-card { border-color: var(--app-line); border-radius: var(--notice-radius); background: #fff; }
.detail-panel .detail-field { padding: 11px; }
.detail-panel .detail-field span { color: #4b5565; font-size: var(--notice-meta-size); }
.detail-panel .detail-field strong { color: #183253; font-size: 13px; font-weight: 650; line-height: var(--notice-title-leading); overflow-wrap: anywhere; }
.detail-panel .detail-section { padding: 12px; }
.detail-panel .detail-section h2 { color: #183253; font-size: 14px; font-weight: 650; line-height: var(--notice-title-leading); }
.detail-panel .detail-section p, .detail-panel .detail-summary-card strong { color: #425d7c; font-size: 13px; line-height: 1.55; }
.detail-panel .detail-summary-card span { color: #4b5565; font-size: var(--notice-meta-size); }
.detail-panel .community-entry-copy span, .detail-panel .community-entry-copy strong { font-size: 12px; line-height: var(--notice-title-leading); }
.detail-panel .community-open { min-height: 36px; padding: 0 10px; border-radius: 8px; font-size: 12px; }
.panel-toggle {
  position: absolute;
  top: 47%;
  left: var(--app-panel-width);
  z-index: 9;
  display: flex;
  width: 38px;
  height: 104px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  transform: translateY(-50%);
  border: 1px solid var(--app-line);
  border-left: 0;
  border-radius: 0 13px 13px 0;
  background: #fff;
  color: var(--app-blue);
  box-shadow: 5px 4px 14px rgba(24, 54, 98, .1);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  transition: left 240ms ease, background 160ms ease;
}
.panel-toggle:hover { background: #eef6ff; }
.panel-toggle svg { width: 19px; height: 19px; }
.left-column.panel-collapsed .panel-toggle { left: 0; }
.left-column.detail-open .panel-toggle { display: none; }

.explorer-head { align-items: center; padding: 23px 24px 17px; }
.explorer .eyebrow { margin: 0 0 6px; color: #6b7280; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.explorer h1 { font-size: 22px; font-weight: 700; letter-spacing: -.05em; }
.panel-total { flex: 0 0 auto; border: 1px solid #b8d5ff; border-radius: 7px; padding: 4px 10px; background: #eff6ff; color: var(--app-blue); font-size: 15px; }
.explorer > .search-box { height: 50px; min-height: 50px; margin: 0 20px 15px; padding: 4px 4px 4px 13px; border-radius: 9px; border-color: var(--app-line); background: #f7f9fc; }
.explorer > .search-box:focus-within { border-color: var(--app-bright); box-shadow: 0 0 0 3px rgba(26,115,232,.1); }
.explorer > .search-box svg { color: #8ea5c2; }
.explorer > .search-box input { font-size: 14px; }
.search-submit { align-self: stretch; min-width: 55px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--app-blue); color: #fff; font-size: 14px; font-weight: 600; }
.search-submit:hover { background: #093e91; }
.agency-tabs { flex: 0 0 auto; gap: 0; margin: 0 20px 12px; border-bottom: 1px solid var(--app-line); overflow-x: auto; }
.agency-tab { height: 44px; min-width: 41px; padding: 0 6px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: #34465d; font-size: 15px; font-weight: 600; }
.agency-tab.active { border-bottom-color: var(--app-blue); color: var(--app-blue); background: #f1f7ff; font-weight: 700; box-shadow: none; }
.agency-tab:hover { color: var(--app-blue); background: #f4f9ff; }
.agency-tab:focus-visible { background: #f1f7ff; }
.agency-tab:not(.active):not(.bookmark-agency-tab) { color: #2563eb; }
.agency-tab.active:not(.bookmark-agency-tab) { color: var(--app-blue); }
.agency-tab:not(.active):not(.bookmark-agency-tab):hover { color: #1d4ed8; background: #f4f9ff; }
.agency-tab:not(.bookmark-agency-tab):focus-visible { color: var(--app-blue); background: #edf5ff; }
.agency-tab.bookmark-agency-tab { min-width: 72px; margin-left: auto; font-size: 12px; }
.agency-tab.bookmark-agency-tab svg { color: #0e9f6e; }
.region-filter { flex: 0 0 auto; min-width: 0; padding: 0 20px 12px; }
.region-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.region-filter-heading h2 { margin: 0; color: #3c5877; font-size: 13px; font-weight: 650; line-height: 1.5; }
.region-filter-heading > span { color: #6b7280; font-size: 12px; font-weight: 600; line-height: 1.5; }
.region-row, .region-extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.region-extra-grid { min-height: 0; overflow: hidden; }
.region-filter .region-chip { display: flex; box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px; height: auto; align-items: center; justify-content: space-between; gap: 7px; padding: 7px 10px; border: 1px solid #dbe5f0; border-radius: 9px; color: #2d4867; background: #fff; box-shadow: 0 1px 2px rgba(28, 63, 103, .03); font-size: 14px; font-weight: 600; line-height: 1.45; text-align: left; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.region-filter .region-chip-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.region-filter .region-chip-short { display: none; }
.region-filter .region-chip-trailing { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; margin-left: auto; }
.region-filter .region-chip-check { color: #0d56bb; font-size: 13px; font-weight: 600; visibility: hidden; }
.region-filter .region-chip-count { color: #647c99; font-size: 11px; font-weight: 500; white-space: nowrap; }
.region-filter .region-chip:hover, .region-filter .region-chip:focus-visible { border-color: #91bdf5; background: #f2f8ff; }
.region-filter .region-chip:focus-visible, .region-filter .region-toggle-button:focus-visible { outline: 2px solid #2b79df; outline-offset: 2px; }
.region-filter .region-chip.active { border-color: #5698ed; color: #0c4da6; background: #eaf4ff; box-shadow: inset 0 0 0 1px rgba(39, 111, 220, .13); }
.region-filter .region-chip.active .region-chip-check { visibility: visible; }
.region-filter .region-chip.active .region-chip-count { color: #0c4da6; }
.region-filter .region-chip:disabled { opacity: .55; cursor: not-allowed; }
.region-filter .region-toggle-button { display: flex; box-sizing: border-box; width: 100%; min-height: 44px; align-items: center; gap: 7px; margin: 8px 0 0; padding: 7px 12px; border: 1px solid #d8e4f1; border-radius: 9px; color: #375d87; background: #f8fbff; text-align: left; cursor: pointer; }
.region-filter .region-toggle-button:hover, .region-filter .region-toggle-button:focus-visible { border-color: #86b5f0; background: #eaf4ff; }
.region-filter .region-toggle-label { flex: 0 0 auto; font-size: 12px; font-weight: 600; }
.region-filter .region-toggle-summary { overflow: hidden; color: #4b5565; font-size: 12px; font-weight: 600; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.region-filter .region-toggle-button svg { flex: 0 0 auto; margin-left: auto; }
.region-extra { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; visibility: hidden; transition: grid-template-rows 180ms ease, margin-top 180ms ease, opacity 150ms ease, visibility 180ms; }
.region-extra.is-expanded { grid-template-rows: 1fr; margin-top: 6px; opacity: 1; visibility: visible; }
.region-extra.is-expanded .region-extra-grid { overflow: visible; }
.region-extra[hidden], .region-filter .region-toggle-button[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .region-extra, .region-filter .region-chip { transition: none; } }
.list-toolbar { min-height: 55px; gap: 5px; padding: 8px 18px; border-top: 1px solid var(--app-line); border-bottom: 1px solid var(--app-line); background: #f8fafd; color: #425d7c; font-size: 12px; }
#resultSummary { font-weight: 700; white-space: nowrap; }
.list-toolbar-actions { display: flex; align-items: center; gap: 4px; min-width: 0; }
.sort-label { display: flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 0; }
.sort-label select { max-width: 112px; border: 0; padding: 5px 1px; color: #4b5565; background: transparent; font-size: 12px; font-weight: 600; cursor: pointer; }
.list-toolbar .text-button { height: 28px; padding: 0 6px; border-radius: 6px; color: #496787; font-size: 12px; }
.list-toolbar .text-button svg { width: 13px; height: 13px; }
.notice-list { flex: 1; gap: 9px; min-height: 0; max-height: none; padding: 13px 13px 18px; background: #f7f9fc; scrollbar-color: #c2d3e6 transparent; }
.notice-card { gap: 9px; padding: 14px 14px 11px; border-color: var(--app-line); border-radius: var(--notice-radius); box-shadow: 0 1px 3px rgba(20,50,90,.03); }
.notice-card:hover, .notice-card.active { border-color: #9fc5fa; box-shadow: 0 6px 16px rgba(20,70,130,.1); }
.notice-topline { gap: 4px; }
.badge-row { gap: 5px; flex-wrap: wrap; }
.badge { height: var(--notice-badge-height); padding: 0 7px; border-radius: 5px; font-size: var(--notice-badge-size); font-weight: 600; line-height: 1.45; }
.badge.lh { background: #1c57c9; }
.badge.sh { background: #0b7b56; }
.badge.gh { background: #0c6f84; }
.badge.hug { background: #4968c9; }
.badge.other { color: #0a7660; background: #d9f7ec; }
.badge.type-badge { max-width: 94px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1453a1; background: #eaf3ff; }
.status-row { gap: 4px; }
.state, .dday-badge { height: var(--notice-badge-height); padding: 0 6px; font-size: var(--notice-badge-size); font-weight: 600; line-height: 1.45; }
.notice-card .bookmark-toggle { width: 25px; height: 25px; flex-basis: 25px; }
.notice-title { font-size: var(--notice-title-size); font-weight: var(--notice-title-weight); line-height: var(--notice-title-leading); }
.notice-meta { align-items: center; border-top: 1px solid #edf2f7; padding-top: 8px; color: #4b5565; font-size: var(--notice-meta-size); line-height: 1.5; }
.notice-period-label { font-weight: 600; }
.notice-period-label::before { content: '▦'; margin-right: 4px; color: #8fa9c7; }
.notice-detail-link { margin-left: auto; color: var(--app-blue); font-weight: 600; white-space: nowrap; }
.notice-detail-link:hover { text-decoration: underline; }
.bookmark-empty-map-link { color: var(--app-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bookmark-empty-map-link:focus-visible { outline: 3px solid #1bbd8d; outline-offset: 3px; }

.topbar { top: 19px; left: 20px; gap: 0; min-height: 50px; max-width: calc(100% - 40px); padding: 4px 10px; border-radius: 17px; border-color: #e4edf6; box-shadow: 0 8px 24px rgba(17,58,100,.13); }
.map-service-chip { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px 0 5px; color: var(--app-blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2ac895; }
.top-stats { gap: 0; }
.top-stats span { position: relative; height: 30px; padding: 0 11px; background: transparent; color: #4d6280; font-size: 12px; }
.top-stats span + span::before { content: ''; position: absolute; left: 0; top: 7px; width: 1px; height: 17px; background: #cad7e6; }
.top-stats b { color: #123e80; font-size: 15px; }
.map-view-controls { top: 81px; left: 20px; }
.map-guide { position: absolute; z-index: 3; top: 125px; left: 23px; margin: 0; padding: 6px 9px; border-radius: 7px; background: rgba(255,255,255,.91); color: #567491; font-size: 11px; box-shadow: 0 3px 10px rgba(20,54,90,.07); }
.map-actions { right: 23px; bottom: 25px; gap: 8px; }
.map-actions #fitMap { margin-top: 8px; }
.map-stage:fullscreen { width: 100vw; height: 100vh; background: #dbeaf3; }
.map-stage:fullscreen #map { height: 100%; }
body.map-fullscreen-active { overflow: hidden; }
.map-stage.map-fullscreen-fallback { position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; border-radius: 0; background: #dbeaf3; }
.map-stage.map-fullscreen-fallback #map { width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.map-actions .icon-button, .map-zoom-control { box-shadow: 0 7px 21px rgba(17,58,100,.15); }
.map-region-marker { min-width: 72px; }
.map-region-card { min-width: 72px; min-height: 44px; padding: 6px 8px; }
.map-region-marker:hover .map-region-card { border-color: #94a3b8; }
.map-region-name { color: #111827; font-size: 12px; font-weight: 600; }
.map-region-count { min-height: 18px; padding-inline: 5px; color: #1d4ed8; background: #eff6ff; border-radius: 999px; font-size: 11px; }
.download-page { margin: 0; min-height: 100dvh; background: #f8fafc; color: #183253; }
.download-shell { width: min(860px, calc(100% - 32px)); margin: 36px auto; }
.download-home-link { display: inline-block; margin-bottom: 18px; color: #0f52ba; font-weight: 600; text-decoration: none; }
.download-page .download-card { height: auto; min-height: 0; padding: 24px; }
.download-page .store-qr-grid { margin-top: 16px; }

@media (min-width: 981px) and (max-width: 1180px) {
  .app-page .desktop-layout { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
  .app-page .left-column { display: contents; }
  .app-page .panel-toggle, .app-page .detail-list-toggle { display: none; }
  .app-page .map-stage { order: 1; width: 100%; height: min(58vh, 560px); min-height: 400px; border-radius: 12px; overflow: visible; }
  .app-page #map { height: 100%; min-height: 0; border-radius: 12px; }
  .app-page .explorer, .app-page .left-column.panel-collapsed .explorer { order: 2; width: 100%; height: auto; max-height: none; margin: 0; border: 1px solid var(--app-line); border-radius: 12px; visibility: visible; opacity: 1; pointer-events: auto; overflow: hidden; }
  .app-page .detail-panel { order: 3; display: none; width: 100%; height: min(78vh, 760px); min-height: 430px; margin: 0; border: 1px solid var(--app-line); border-radius: 12px; transform: none; box-shadow: 0 7px 22px rgba(24,54,98,.08); scroll-margin-top: 12px; }
  .app-page .detail-panel.open { display: flex; transform: none; }
  .app-page .detail-panel.closing { display: none; }
  .app-page .notice-list { flex: 0 0 auto; max-height: 490px; }
  .app-page .bookmark-panel { order: 4; }
}

@media (max-width: 980px) {
  :root { --app-sidebar-width: 0px; }
  body { padding-top: 0; }
  .app-skip-link { left: 12px; }
  .app-sidebar { position: sticky; top: 0; left: 0; width: 100%; height: 64px; flex-direction: row; justify-content: flex-start; padding: 0 10px; border-right: 0; border-bottom: 1px solid var(--app-line); }
  .sidebar-brand { width: 62px; min-height: 0; height: 100%; flex: 0 0 62px; gap: 0; }
  .sidebar-brand img { width: 28px; height: 28px; }
  .sidebar-brand span { display: none; }
  .sidebar-nav { width: auto; min-width: 0; height: 100%; flex: 1; flex-direction: row; justify-content: space-around; gap: 4px; padding: 0; border: 0; }
  .sidebar-item { width: auto; min-width: 77px; max-width: 120px; min-height: 53px; gap: 3px; padding: 4px 7px; border-radius: 10px; font-size: 12px; }
  .sidebar-item svg { width: 19px; height: 19px; }
  .site-info-panel { top: auto; right: 0; bottom: 0; left: 0; z-index: 100; width: 100%; max-height: min(72dvh, 650px); border: 1px solid var(--app-line); border-radius: 14px 14px 0 0; box-shadow: 0 -12px 36px rgba(21,51,88,.17); }
  .site-info-collapse { display: none; }
  .site-policy-panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(72dvh, 650px); border: 1px solid var(--app-line); border-radius: 14px 14px 0 0; box-shadow: 0 -12px 36px rgba(21,51,88,.2); }
  .site-policy-head { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 10px 16px; }
  .site-policy-back { display: inline-flex; min-height: 44px; grid-column: 1 / -1; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--app-blue); font-size: 12px; font-weight: 600; cursor: pointer; }
  .site-policy-document { padding: 18px 20px 28px; }
  .site-info-open .cal-shell, .site-info-open .wf-shell { width: 100%; margin-left: 0; }
  .desktop-layout { width: 100%; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 12px; }
  .left-column { display: contents; }
  .panel-toggle { display: none; }
  .map-stage { order: 1; width: 100%; height: min(60vh, 560px); min-height: 400px; border-radius: 12px; overflow: visible; }
  #map { height: 100%; min-height: 0; border-radius: 12px; }
  .explorer, .left-column.panel-collapsed .explorer { order: 2; width: 100%; height: auto; max-height: none; margin: 0; border: 1px solid var(--app-line); border-radius: 12px; visibility: visible; opacity: 1; pointer-events: auto; overflow: hidden; }
  .detail-panel { order: 3; display: none; width: 100%; height: min(78vh, 760px); min-height: 430px; margin: 0; border: 1px solid var(--app-line); border-radius: 12px; transform: none; box-shadow: 0 7px 22px rgba(24,54,98,.08); scroll-margin-top: 76px; }
  .detail-panel.open { display: flex; transform: none; }
  .detail-panel.closing { display: none; }
  .detail-list-toggle { display: none; }
  .explorer-head { padding: 18px 18px 13px; }
  .explorer > .search-box { margin-inline: 17px; }
  .agency-tabs { margin-inline: 17px; }
  .region-filter { padding-inline: 17px; }
  .notice-list { flex: 0 0 auto; max-height: 490px; }
  .map-guide { display: none; }
  .topbar { top: 11px; left: 12px; }
  .map-view-controls { top: 69px; left: 12px; }
  .map-actions { right: 12px; bottom: 12px; }
}

@media (max-width: 620px) {
  :root { --notice-badge-height: 24px; --notice-badge-size: 12px; }
  .wf-footer { flex-direction: column; }
  .app-sidebar { height: 58px; padding: 0 5px; }
  .sidebar-brand { flex-basis: 43px; width: 43px; }
  .sidebar-brand img { width: 27px; height: 27px; }
  .sidebar-item { min-width: 0; flex: 1; padding: 4px 2px; font-size: 12px; }
  .sidebar-item svg { width: 17px; height: 17px; }
  .sidebar-nav { gap: 1px; }
  .site-info-panel { max-height: min(78dvh, 620px); }
  .site-policy-panel { max-height: min(78dvh, 620px); }
  .site-policy-document { padding: 14px 12px 24px; }
  .site-download-card { padding: 14px 10px; }
  .site-info-content { padding: 15px 14px max(20px, env(safe-area-inset-bottom)); }
  .desktop-layout { padding: 8px; gap: 10px; overflow: visible; }
  .map-stage { height: min(64vh, 560px); min-height: 380px; }
  .topbar { top: 8px; left: 8px; max-width: calc(100% - 16px); min-height: 0; padding: 3px 5px; border-radius: 9px; }
  .map-service-chip { gap: 4px; padding: 0 4px 0 2px; font-size: 11px; }
  .live-dot { width: 6px; height: 6px; }
  .top-stats span { height: 23px; padding: 0 3px; font-size: 11px; }
  .top-stats b { font-size: 11px; }
  .top-stats span:nth-child(3) { display: inline-flex; }
  .top-stats span + span::before { top: 5px; height: 13px; }
  .map-view-controls { top: 48px; left: 8px; }
  .explorer h1 { font-size: 18px; }
  .panel-total { font-size: 12px; }
  .explorer-head { padding: 15px 13px 12px; }
  .explorer > .search-box { margin-inline: 12px; }
  .agency-tabs { margin-inline: 12px; }
  .agency-tab:not(.bookmark-agency-tab) { min-width: 34px; padding-inline: 4px; font-size: 14px; }
  .agency-tab.bookmark-agency-tab { min-width: 66px; padding-inline: 4px; }
  .region-filter { padding-inline: 12px; }
  .region-filter .region-chip { min-height: 44px; padding-inline: 9px; }
  .region-filter .region-chip-full { display: none; }
  .region-filter .region-chip-short { display: inline; }
  .list-toolbar { padding: 7px 10px; }
  #resultSummary { font-size: 12px; }
  .sort-label select { max-width: 91px; font-size: 12px; }
  .list-toolbar .text-button { padding: 0 3px; font-size: 12px; }
  .notice-list { max-height: 440px; padding: 10px; }
  .badge.type-badge { max-width: 79px; }
  .notice-card { padding: 11px; }
  .notice-title { font-size: 14px; }
  .notice-meta { font-size: 12px; }
}

/* Keep the map workspace within the viewport; its lists and sheets scroll themselves. */
html:has(> body.app-page), body.app-page { height: 100vh; height: 100dvh; overflow: hidden; }
.app-page .desktop-layout { display: flex; height: 100vh; height: 100dvh; min-height: 0; flex-direction: column; overflow: hidden; }
.app-page .left-column { flex: 1 1 auto; height: auto; min-height: 0; }
.app-page .explorer, .app-page .detail-panel { min-height: 0; }
.app-page .region-filter { flex: 0 0 auto; max-height: min(36dvh, 300px); min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.app-page .notice-list { flex: 1 1 0; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; }
.app-page .roadview-panel[aria-hidden="true"] { display: none; }
.app-page .map-zoom-button { width: 34px; height: 34px; color: #173b68; background: #eef5ff; }
.app-page .map-zoom-button:hover:not(:disabled) { color: #fff; background: #1a66d3; }
.app-page .map-zoom-button:focus-visible { outline: 3px solid #10b981; outline-offset: 2px; }
.app-page .map-zoom-button:disabled { background: #f1f4f7; }
.app-page .map-zoom-control svg { width: 18px; height: 18px; }

@media (max-width: 1180px) {
  .app-page .desktop-layout { width: calc(100% - var(--app-sidebar-width)); margin-left: var(--app-sidebar-width); padding: 10px; gap: 10px; }
  .app-page .left-column { display: contents; }
  .app-page .map-stage { flex: 0 0 35%; height: auto; min-height: 220px; max-height: 410px; }
  .app-page .map-stage #map { position: absolute; inset: 0; width: 100%; height: 100%; }
  .app-page .explorer, .app-page .left-column.panel-collapsed .explorer { flex: 1 1 auto; height: auto; min-height: 0; max-height: none; }
  .app-page .detail-panel.open { flex: 1 1 auto; height: auto; min-height: 0; }
  .app-page .desktop-layout:has(.left-column.detail-open) > .explorer { display: none; }
  .app-page .roadview-panel[aria-hidden="false"] { top: 70px; right: 8px; bottom: 8px; left: 8px; width: auto; height: auto; min-width: 0; }
  .app-page .region-filter { flex: 0 0 auto; max-height: 160px; }
  .app-page .notice-list { flex: 1 1 0; max-height: none; }
  .app-page .map-actions { display: flex; align-items: center; gap: 6px; }
  .app-page .map-zoom-control { display: flex; width: auto; min-height: 0; gap: 4px; padding: 4px; border-radius: 12px; }
  .app-page .map-zoom-control input[type="range"] { display: none; }
  .app-page .map-zoom-button { width: 36px; height: 36px; }
  .app-page .map-actions #fitMap { margin-top: 0; }
}

@media (max-width: 980px) {
  .app-page .desktop-layout { width: 100%; height: calc(100vh - 64px); height: calc(100dvh - 64px); margin: 0; }
}

@media (max-width: 620px) {
  .app-page .desktop-layout { height: calc(100vh - 58px); height: calc(100dvh - 58px); padding: 8px; gap: 8px; }
  .app-page .map-stage { flex-basis: 54%; min-height: 410px; max-height: 440px; }
  .app-page .region-filter { max-height: 142px; }
  .app-page .map-actions { right: 8px; bottom: 8px; gap: 4px; }
  .app-page .map-zoom-button, .app-page .map-actions .icon-button { width: 32px; height: 32px; }
}

@media (max-width: 420px) {
  .app-page .map-stage[data-region-layout="grid"]::after {
    position: absolute;
    top: 12px;
    right: 10px;
    z-index: 4;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,.92);
    color: #355575;
    content: "지역 바로가기";
    font-size: 10px;
    font-weight: 700;
    pointer-events: none;
  }
}

@media (max-width: 390px) {
  .notice-meta { font-size: 13px; line-height: 1.45; }
  .notice-detail-link { font-size: 12px; }
  .detail-panel .detail-field span, .detail-panel .detail-summary-card span,
  .detail-panel .app-record-box dt { font-size: 13px; line-height: 1.45; }
  .site-info-intro p, .site-info-section p, .site-info-service-list span,
  .site-info-details dt, .site-info-details dd, .site-info-email,
  .site-info-links a { font-size: 13px; line-height: 1.45; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* PDF and source documents open above the map workspace. */
.shortcut-primary.document-viewer-link { width: 100%; text-decoration: none; }
.app-page .document-viewer-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 4dvh 24px; background: rgba(18, 29, 46, .72); }
.app-page .document-viewer-modal.open { display: flex; }
.app-page .document-viewer-shell { display: grid; width: min(1180px, 100%); height: min(92dvh, 960px); min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); overflow: hidden; border: 1px solid #26374f; border-radius: 12px; background: #fff; box-shadow: 0 24px 80px rgba(4, 13, 28, .4); }
.app-page .document-viewer-head { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border: 0; background: #1b2b42; color: #fff; }
.document-viewer-title-row { display: flex; width: 100%; min-width: 0; min-height: 58px; align-items: center; gap: 12px; padding: 10px 16px; }
.document-viewer-heading { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 9px; overflow: hidden; }
.document-viewer-heading > span { flex: 0 0 auto; padding: 3px 6px; border: 1px solid #6884a9; border-radius: 5px; color: #d7e7fd; font-size: 12px; font-weight: 600; }
.document-viewer-heading h2 { min-width: 0; margin: 0; overflow: hidden; color: #fff; font-size: 14px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.document-viewer-back { display: none; flex: 0 0 auto; align-items: center; gap: 5px; border: 0; background: transparent; color: #dceafe; font-size: 12px; font-weight: 700; cursor: pointer; }
.document-viewer-back svg { width: 17px; height: 17px; }
.app-page .document-viewer-close { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #546b8b; border-radius: 7px; background: transparent; color: #fff; }
.document-viewer-actions { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; padding: 9px 16px 11px; border-top: 1px solid #35465e; }
.document-viewer-actions > a, .document-viewer-actions > button { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border: 1px solid #546b8b; border-radius: 7px; background: #223750; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; }
.document-viewer-actions > [hidden] { display: none; }
.document-viewer-actions > a:hover, .document-viewer-actions > button:hover { background: #304f72; }
.document-viewer-actions svg { width: 15px; height: 15px; }
.document-page-controls, .document-zoom-controls { display: inline-flex; min-height: 34px; align-items: center; gap: 5px; padding: 0 4px; border: 1px solid #546b8b; border-radius: 7px; color: #e6f0ff; }
.document-page-controls[hidden], .document-zoom-controls[hidden] { display: none; }
.document-page-controls span, .document-zoom-controls span { min-width: 48px; text-align: center; font-size: 12px; font-weight: 600; }
.document-page-controls .icon-button, .document-zoom-controls .icon-button { width: 28px; height: 28px; min-height: 28px; border: 0; background: transparent; color: #fff; }
.document-page-controls .icon-button:disabled, .document-zoom-controls .icon-button:disabled { opacity: .42; cursor: not-allowed; }
.document-file-tabs { display: flex; min-width: 0; gap: 6px; overflow-x: auto; padding: 8px 14px; border-bottom: 1px solid #d7e0eb; background: #f7f9fc; }
.document-file-tabs[hidden] { display: none; }
.document-file-tabs a { flex: 0 0 auto; max-width: 270px; overflow: hidden; padding: 7px 10px; border: 1px solid #cbd7e6; border-radius: 6px; color: #47617f; font-size: 13px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.document-file-tabs a[aria-current="page"] { border-color: #79aaf0; background: #eaf3ff; color: #0f52ba; }
.app-page .document-viewer-body { display: grid; grid-row: 3; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0, 1fr); background: #e7edf5; }
.app-page .document-viewer-status { min-height: 34px; padding: 8px 16px; border-bottom: 1px solid #d7e0eb; background: #fff; color: #4b5565; font-size: 12px; line-height: 1.5; }
.app-page .document-viewer-pages { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: auto; padding: 12px; }
.document-viewer-pages iframe { display: block; width: 100%; min-width: 0; min-height: 0; flex: 1 1 auto; border: 1px solid #cbd7e6; border-radius: 5px; background: #fff; }
.document-source-card { display: grid; width: min(520px, 100%); min-width: 0; gap: 12px; margin: auto; padding: 24px; border: 1px solid #d0dbe9; border-radius: 10px; background: #fff; color: #294361; text-align: center; font-size: 13px; line-height: 1.6; }
.document-source-card p { margin: 0; }
.document-source-card a { display: inline-flex; justify-content: center; padding: 9px 12px; border: 1px solid #a9c4e8; border-radius: 7px; color: #0f52ba; font-weight: 500; text-decoration: none; }
.document-source-card a:hover { background: #edf5ff; }

@media (max-width: 1180px) {
  .app-page .document-viewer-modal { padding: 0; }
  .app-page .document-viewer-shell { width: 100%; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .document-viewer-back { display: inline-flex; }
}

@media (max-width: 620px) {
  .document-viewer-title-row { min-height: 52px; gap: 7px; padding: 8px 10px; }
  .document-viewer-heading { gap: 5px; }
  .document-viewer-heading h2 { font-size: 13px; }
  .document-viewer-heading > span { font-size: 12px; }
  .document-viewer-back { max-width: 85px; font-size: 12px; }
  .document-viewer-actions { gap: 5px; padding: 7px 10px; }
  .document-viewer-actions > a, .document-viewer-actions > button { min-height: 32px; padding: 0 6px; font-size: 12px; }
  .app-page .document-viewer-pages { padding: 7px; }
}
