/* ==========================================================================
   Llandudno Visitor Centre — Interactive Map Prototype
   Brand: Ocean Teal #006958 / Ocean Green #025646 / Off-white #FFF4E3
   ========================================================================== */

:root{
  --teal: #006958;
  --teal-dark: #025646;
  --cream: #FFF4E3;
  --cream-dim: #F2E6CE;
  --ink: #0B2E27;
  --white: #ffffff;
  --coral: #E8734A; /* accent pulled from illustration warmth, used sparingly for featured/alerts */
  --shadow: 0 8px 24px rgba(2, 40, 34, 0.18);
  --shadow-sm: 0 2px 8px rgba(2, 40, 34, 0.14);
  --radius: 14px;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Droid Sans Mono', 'Courier New', monospace;
  --header-h: 64px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*{ box-sizing: border-box; }
html,body{ height:100%; }

/* Anton ships a single (regular) weight file. Native tags like <h3>,
   <h4>, <strong> and <summary> carry a browser-default bold, which forces
   the browser to synthesise a fake-bold Anton rather than load the real
   file — this is what made titles look heavier than intended. Reset them. */
h1, h2, h3, h4, h5, h6, strong, summary{ font-weight: 400; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

a{ color: var(--teal); }

.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Skip link */
.skip-link{
  position:absolute; left:8px; top:-48px;
  background:var(--teal); color:var(--cream);
  padding:10px 16px; border-radius:8px; z-index:2000;
  font-family: var(--font-display); font-weight:400; text-transform:uppercase; letter-spacing:.04em;
  transition: top .15s ease;
}
.skip-link:focus{ top:8px; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================== APP SHELL ==================== */
.app{
  display:grid;
  grid-template-rows: var(--header-h) 1fr;
  height:100vh;
  height:100dvh;
}

/* ==================== HEADER ==================== */
.app-header{
  background: var(--teal);
  color: var(--cream);
  display:flex;
  align-items:center;
  gap:16px;
  padding: 0 16px;
  z-index: 500;
  box-shadow: var(--shadow-sm);
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:400;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space:nowrap;
}
.brand .mark{
  width:34px;height:34px;
  border-radius:50%;
  background: var(--cream);
  color: var(--teal);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:400;
  font-size: 18px;
  font-weight:400;
  flex-shrink:0;
}
.brand .title{ display:flex; flex-direction:column; line-height:1.05; }
.brand .title strong{ font-size:16px; }
.brand .title span{ font-size:10px; font-family: var(--font-body); text-transform:none; letter-spacing:0; opacity:.85; }

.search-wrap{
  flex:1;
  max-width: 520px;
  position:relative;
  margin-left: auto;
}
.search-wrap input{
  width:100%;
  padding:10px 40px 10px 38px;
  border-radius:999px;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size:14px;
}
.search-wrap input::placeholder{ color:#5f7a72; }
.search-wrap svg.icon-search{
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:16px; height:16px; stroke: var(--teal-dark); pointer-events:none;
}
.search-wrap .clear-search{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  background:none; border:none; color:var(--teal-dark);
  width:28px; height:28px; border-radius:50%;
  display:none; align-items:center; justify-content:center; cursor:pointer;
}
.search-wrap.has-value .clear-search{ display:flex; }

.header-actions{ display:flex; gap:8px; flex-shrink:0; }
.icon-btn{
  width:40px; height:40px;
  border-radius:50%;
  border:1.5px solid rgba(255,244,227,0.5);
  background: transparent;
  color: var(--cream);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.icon-btn svg{ width:20px; height:20px; stroke:currentColor; fill:none; }
.icon-btn:hover{ background: rgba(255,244,227,0.12); }
.icon-btn.active{ background: var(--cream); color: var(--teal); border-color: var(--cream); }

.list-toggle{ display:none; }

@media (max-width: 480px){
  .app-header{ gap:8px; padding: 0 10px; }
  .brand .title span{ display:none; }
  .brand .mark{ width:30px; height:30px; font-size:16px; }
  .brand .title strong{ font-size:14px; }
  .search-wrap input{ padding:9px 36px 9px 34px; font-size:13px; }
  .icon-btn{ width:36px; height:36px; }
}

/* ==================== MAIN LAYOUT ==================== */
.main{
  display:grid;
  grid-template-columns: 380px 1fr;
  min-height:0;
}
@media (max-width: 860px){
  .main{ grid-template-columns: 1fr; }
}

/* ==================== SIDE PANEL (desktop) ==================== */
.panel{
  background: var(--white);
  border-right: 1px solid #e4dcc9;
  display:flex; flex-direction:column;
  min-height:0;
}
.panel-filters{
  padding: 14px 16px 10px;
  border-bottom: 1px solid #eee4cf;
}
.panel-filters .filters-label{
  font-family: var(--font-display); font-weight:400;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:12px;
  color: var(--teal-dark);
  margin-bottom:8px;
  display:block;
}
.chip-row{
  display:flex; flex-wrap:wrap; gap:6px;
}
.chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 12px 6px 8px;
  border-radius:999px;
  border:1.5px solid var(--teal);
  background: var(--white);
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size:12.5px;
  cursor:pointer;
  line-height:1.4;
}
.chip .chip-icon{ width:16px; height:16px; display:inline-flex; flex-shrink:0; }
.chip .chip-icon svg{ width:16px; height:16px; stroke:currentColor; fill:none; }
.chip .chip-icon-badge{
  width:18px; height:18px; border-radius:50%;
  background: var(--teal);
  align-items:center; justify-content:center;
}
.chip[aria-pressed="true"] .chip-icon-badge{ background: var(--teal-dark); box-shadow: 0 0 0 1.5px var(--cream) inset; }
.chip .chip-icon-badge img{ width:11px; height:11px; object-fit:contain; }
.chip[aria-pressed="true"]{
  background: var(--teal);
  color: var(--cream);
}
.chip:hover{ box-shadow: var(--shadow-sm); }

.panel-sub-filters{
  padding: 10px 16px;
  border-bottom: 1px solid #eee4cf;
  display:flex; gap:14px; flex-wrap:wrap;
}
.toggle-field{
  display:flex; align-items:center; gap:6px;
  font-size:12.5px;
  cursor:pointer;
  user-select:none;
}
.toggle-field input{ accent-color: var(--teal); width:15px; height:15px; }

.panel-results-head{
  padding: 10px 16px;
  display:flex; align-items:center; justify-content:space-between;
  font-size:12.5px;
  color:#5f7a72;
  border-bottom: 1px solid #f2ead9;
}
.reset-btn{
  background:none; border:none;
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size:12.5px;
  text-decoration: underline;
  cursor:pointer;
  padding:2px;
}

.results-list{
  list-style:none; margin:0; padding:8px;
  overflow-y:auto;
  flex:1;
  min-height:0;
}
.result-card{
  display:flex; gap:10px;
  padding:10px;
  border-radius:10px;
  cursor:pointer;
  border: 1px solid transparent;
  margin-bottom:4px;
}
.result-card:hover, .result-card.active{
  background: var(--cream);
  border-color:#eadfc4;
}
.result-card .pin-thumb{
  width:40px;height:40px;flex-shrink:0;
  border-radius:50%;
  background: var(--teal);
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.result-card .pin-thumb img{ width:22px; height:22px; object-fit:contain; }
.result-card .pin-thumb.featured{ background: var(--coral); }
.result-card .rc-body{ min-width:0; flex:1; }
.result-card .rc-title{
  font-family: var(--font-display); font-weight:400;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:14.5px;
  color: var(--ink);
  display:flex; align-items:center; gap:6px;
}
.result-card .rc-cat{ font-size:11px; color: var(--teal-dark); margin-top:1px; }
.result-card .rc-desc{ font-size:12px; color:#4a5f58; margin-top:4px; line-height:1.4; }
.featured-star{ color: var(--coral); flex-shrink:0; }
.featured-star svg{ width:13px; height:13px; fill:var(--coral); stroke:none; }

.empty-state, .error-state{
  padding: 40px 24px;
  text-align:center;
  color:#5f7a72;
}
.empty-state svg, .error-state svg{ width:64px; margin-bottom:12px; opacity:.7; }
.empty-state h3, .error-state h3{
  font-family: var(--font-display); font-weight:400; text-transform:uppercase; color:var(--teal-dark);
  margin:0 0 6px;
}
.empty-state p, .error-state p{ font-size:13px; margin:0; line-height:1.5; }

/* ==================== MAP AREA ==================== */
.map-area{ position:relative; min-height:0; }
#map{ height:100%; width:100%; background:var(--cream); }

.map-loading{
  position:absolute; inset:0;
  background: var(--teal);
  color: var(--cream);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px;
  z-index: 900;
  text-align:center;
  padding: 24px;
}
.map-loading.hide{ display:none; }
.map-loading .lighthouse{
  width:56px; height:56px;
  border: 3px solid var(--cream);
  border-radius:50%;
  border-top-color: var(--coral);
  animation: spin 1s linear infinite;
}
@media (prefers-reduced-motion: reduce){ .map-loading .lighthouse{ animation:none; border-top-color:var(--cream); } }
@keyframes spin{ to{ transform: rotate(360deg); } }
.map-loading p{ font-family: var(--font-display); font-weight:400; text-transform:uppercase; letter-spacing:.04em; font-size:13px; margin:0; }

.map-controls-float{
  position:absolute; right:12px; top:12px; z-index: 850;
  display:flex; flex-direction:column; gap:8px;
}
.map-controls-float .icon-btn{
  background: var(--white); color: var(--teal);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.map-controls-float .icon-btn:hover{ background: var(--cream); }
.map-controls-float .icon-btn.active{ background: var(--teal); color:var(--cream); }

.legend{
  position:absolute; left:12px; bottom:16px; z-index:850;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 12px;
  max-width: 210px;
  font-size:11.5px;
}
.legend summary{
  font-family: var(--font-display); font-weight:400; text-transform:uppercase; letter-spacing:.03em;
  color: var(--teal-dark); cursor:pointer; font-size:12px;
  list-style:none;
  display:flex; align-items:center; justify-content:space-between;
}
.legend summary::-webkit-details-marker{ display:none; }
.legend summary .chev{ transition: transform .15s ease; }
.legend[open] summary .chev{ transform: rotate(180deg); }
.legend-items{ margin-top:8px; display:flex; flex-direction:column; gap:6px; }
.legend-item{ display:flex; align-items:center; gap:8px; }
.legend-item .lg-swatch{
  width:22px; height:22px; border-radius:50%;
  background: var(--teal); display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.legend-item .lg-swatch img{ width:13px; height:13px; object-fit:contain; }
.legend-item .lg-swatch.featured{ background: var(--coral); }

/* attribution kept visible via leaflet default, styled: */
.leaflet-control-attribution{
  background: rgba(255,244,227,0.9) !important;
  font-family: var(--font-body);
  font-size:10px !important;
  line-height:1.5;
  max-width: 240px;
}
.leaflet-control-attribution .llan-credit-link{
  color: var(--teal);
  text-decoration: underline;
  font-weight: 400;
}
.leaflet-control-attribution .llan-credit-link:hover,
.leaflet-control-attribution .llan-credit-link:focus-visible{
  color: var(--teal-dark);
}
@media (max-width: 480px){
  .leaflet-control-attribution{ max-width: 168px; font-size:9.5px !important; }
}

/* ==================== ATTRACTION PIN (large branded pin) ==================== */
.llan-pin{
  width:40px; height:52px;
  position:relative;
  transform: translate(-50%,-100%);
  filter: drop-shadow(0 3px 4px rgba(2,40,34,0.35));
}
.llan-pin svg{ width:100%; height:100%; display:block; }
.llan-pin .pin-icon{
  position:absolute; top:6px; left:50%;
  transform: translateX(-50%);
  width:22px; height:22px;
  object-fit:contain;
}
.llan-pin .pin-shape{ fill: var(--teal); }

/* Information marker: same pin footprint as attractions, but cream-filled
   with a teal outline and a solid teal "i" badge, so it reads as distinct
   and easy to spot rather than blending into the 25 attraction pins. */
.llan-pin-info .pin-shape{ fill: var(--cream); stroke: var(--teal); stroke-width: 2.5; }
.pin-icon-info{
  position:absolute; top:6px; left:50%;
  transform: translateX(-50%);
  width:22px; height:22px;
  border-radius:50%;
  background: var(--teal);
  color: var(--cream);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:400; font-size:14px;
  box-shadow: 0 1px 3px rgba(2,40,34,0.35);
}

/* ==================== POI DOT (small, quiet, distinct shape) ====================
   Visible marker is 34px desktop / 38px mobile — the coloured circle itself,
   not just its tap target. iconSize/iconAnchor in app.js are set to match. */
.llan-poi{
  width:34px; height:34px;
  position:relative;
  transform: translate(-50%,-50%);
  display:flex; align-items:center; justify-content:center;
}
.llan-poi::before{
  /* invisible touch target, extends beyond the visible circle — desktop
     34px + 12px = 46px, comfortably over the 44px minimum */
  content:'';
  position:absolute; inset:-6px;
}
.poi-dot{
  width:34px; height:34px;
  border-radius:50%;
  background: var(--coral);
  border: 3px solid var(--cream);
  box-shadow: 0 2px 7px rgba(2,40,34,0.5);
  display:flex; align-items:center; justify-content:center;
  color: var(--cream);
  flex-shrink:0;
}
.poi-dot svg{ width:17px; height:17px; flex-shrink:0; }

@media (max-width: 860px){
  .llan-poi{ width:38px; height:38px; }
  .llan-poi::before{ inset:-3px; } /* 38px + 6px = 44px minimum touch target */
  .poi-dot{ width:38px; height:38px; }
  .poi-dot svg{ width:18px; height:18px; }
}

/* ==================== PARKING / TOILET BADGE (rounded square, distinct from pin & dot) ==================== */
.llan-badge{
  width:32px; height:32px;
  border-radius:9px;
  transform: translate(-50%,-50%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 6px rgba(2,40,34,0.3);
  border: 2px solid var(--cream);
  color: var(--cream);
}
.llan-badge-parking{
  background: var(--teal-dark);
  font-family: var(--font-display); font-weight:400;
  font-size:16px;
}
.llan-badge-toilet{ background: #3E7A6E; }
.llan-badge-toilet svg{ width:19px; height:19px; }

/* ==================== POI HOVER / TAP CARD (Leaflet tooltip) ==================== */
.leaflet-tooltip.llan-poi-tooltip{
  background: var(--white);
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0;
  opacity: 1;
  max-width: 220px;
  white-space: normal;
}
.leaflet-tooltip.llan-poi-tooltip::before{ border-top-color: var(--white); }
.poi-card{ padding: 10px 12px; }
.poi-card-title{
  font-family: var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:13.5px; color: var(--ink); margin:0 0 3px; line-height:1.2;
}
.poi-card-text{ font-size:11.5px; line-height:1.4; color:#3d4f49; margin:0 0 6px; }
.w3w-link{
  display:inline-flex; align-items:center; gap:4px;
  font-size:10.5px; color: var(--teal-dark);
  text-decoration:none; font-family: var(--font-body);
}
.w3w-link svg{ width:12px; height:12px; stroke:currentColor; fill:none; flex-shrink:0; }
.w3w-link:hover{ text-decoration:underline; }
.w3w-address{ font-weight:bold; }
.poi-card .w3w-link{ margin-top:2px; }

/* ==================== POPUP CARD LAYER HEADER COLOURS ==================== */
.popup-card-header.layer-attraction{ background: var(--teal); }
.popup-card-header.layer-info{ background: var(--teal); }
.popup-card-header.layer-poi{ background: var(--coral); }
.popup-card-header.layer-parking{ background: var(--teal-dark); }
.popup-card-header.layer-toilet{ background: #3E7A6E; }
.popup-address{ font-size:11.5px; color:#5f7a72; margin:-6px 0 12px; }
.popup-desc-muted{ font-style:italic; opacity:.75; margin-bottom:12px; }

/* ==================== RESULT CARD THUMB COLOURS BY LAYER ==================== */
.pin-thumb.thumb-attraction{ background: var(--teal); border-radius:50%; }
.pin-thumb.thumb-info{ background: var(--cream); border: 2px solid var(--teal); color: var(--teal); border-radius:50%; }
.pin-thumb.thumb-poi{ background: var(--coral); border-radius:50%; }
.pin-thumb.thumb-parking{ background: var(--teal-dark); border-radius:9px; }
.pin-thumb.thumb-toilet{ background: #3E7A6E; border-radius:9px; }

/* ==================== LEGEND SWATCHES BY LAYER ==================== */
.lg-swatch-info{ background: var(--cream); color: var(--teal); border: 2px solid var(--teal); width:18px; height:18px; }
.lg-swatch-info svg{ width:11px; height:11px; }
.lg-swatch-poi{ background: var(--coral); width:18px; height:18px; color:#fff; }
.lg-swatch-poi svg{ width:9px; height:9px; }
.lg-swatch-badge{
  border-radius:7px; width:22px; height:22px;
  background: var(--teal-dark);
  font-family: var(--font-display); font-weight:400; font-size:12px; color:#fff;
}
.lg-swatch-toilet{ background:#3E7A6E; color:#fff; }
.lg-swatch-toilet svg{ width:14px; height:14px; }

/* ==================== CLUSTER COLOURS BY LAYER ==================== */
.llan-cluster{
  color: var(--cream);
  border: 3px solid var(--cream);
  border-radius: 50%;
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:400;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.llan-cluster-attraction{ background: var(--teal); }
.llan-cluster-info{ background: var(--cream); color: var(--teal); border-color: var(--teal); }
.llan-cluster-poi{ background: var(--coral); border-radius: 12px; width:36px; height:36px; }
.llan-cluster-parking{ background: var(--teal-dark); border-radius: 10px; }
.llan-cluster-toilet{ background: #3E7A6E; border-radius: 10px; }

/* ==================== LEAFLET POPUP THEMING ==================== */
.leaflet-popup-content-wrapper{
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}
.leaflet-popup-tip{ background: var(--white); }
.leaflet-popup-content{ margin: 0; width: 252px !important; }
.leaflet-popup-content p{ margin:0; }
.popup-card-header{
  background: var(--teal);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}
.popup-card-header.featured{ background: var(--coral); }
.popup-card-header .header-icon{
  width:34px; height:34px;
  border-radius:50%;
  background: rgba(255,244,227,0.16);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
}
.popup-card-header .header-icon img{ width:19px; height:19px; object-fit:contain; }
.popup-card-header .header-icon svg{ width:19px; height:19px; stroke:var(--cream); fill:none; }
.popup-cat{
  font-size:10.5px; text-transform:uppercase; letter-spacing:.08em;
  color: var(--cream); opacity:.85; font-family: var(--font-body); margin-bottom:3px;
}
.popup-title{
  font-family: var(--font-display); font-weight:400; text-transform:uppercase;
  font-size:19px; color: var(--cream); margin:0; line-height:1.1;
  letter-spacing:.01em;
}
.popup-card-body{ padding: 14px 16px 16px; }
.popup-desc{ font-size:12px; line-height:1.5; color:#3d4f49; margin:0 0 12px; }
.popup-actions{ display:flex; gap:6px; flex-wrap:wrap; }
.popup-actions a, .popup-actions button{
  font-family: var(--font-body);
  font-size:11.5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  background: var(--white);
  color: var(--teal-dark);
  text-decoration:none;
  cursor:pointer;
  display:inline-flex; align-items:center; gap:4px;
}
.popup-actions a.primary{ background: var(--teal); color: var(--cream); }
.popup-actions button svg{ width:13px; height:13px; stroke:currentColor; fill:none; }
.popup-badges{ display:flex; gap:5px; margin:0 0 12px; flex-wrap:wrap; }
.popup-badge{
  font-size:10px; padding:2px 7px; border-radius:999px;
  background: var(--cream-dim); color: var(--teal-dark);
  display:inline-flex; align-items:center; gap:3px;
}
.popup-badge.unknown{ opacity:.55; }

.leaflet-popup-close-button{
  color: var(--cream) !important;
  font-size: 20px !important;
  padding: 6px 8px 0 0 !important;
}
.leaflet-popup-close-button:hover{ color: #fff !important; }

/* ==================== MOBILE BOTTOM SHEET ==================== */
.bottom-sheet{ display:none; }
@media (max-width: 860px){
  .panel{ display:none; }
  .list-toggle{
    display:flex;
  }
  .bottom-sheet{
    display:block;
    position:fixed;
    left:0; right:0; bottom:0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 20px rgba(2,40,34,0.25);
    z-index: 950;
    max-height: 78vh;
    transform: translateY(calc(100% - 96px));
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    display:flex; flex-direction:column;
  }
  .bottom-sheet.expanded{ transform: translateY(0); }
  .sheet-handle-area{
    padding: 10px 16px 6px;
    flex-shrink:0;
    cursor: pointer;
  }
  .sheet-grip{
    width:40px; height:4px; border-radius:2px;
    background:#d8cdb0; margin: 0 auto 10px;
  }
  .sheet-summary{
    display:flex; align-items:center; justify-content:space-between;
    font-family: var(--font-display); font-weight:400; text-transform:uppercase;
    letter-spacing:.03em; color:var(--teal-dark); font-size:13px;
  }
  .sheet-summary .chev{ transition: transform .2s ease; }
  .bottom-sheet.expanded .sheet-summary .chev{ transform:rotate(180deg); }
  .bottom-sheet .panel-filters,
  .bottom-sheet .panel-sub-filters,
  .bottom-sheet .panel-results-head,
  .bottom-sheet .results-list{
    display:block;
  }
  .bottom-sheet .results-list{ overflow-y:auto; }
}

/* ==================== EMBED MODE ==================== */
body.embed-mode .app-header{ padding: 0 10px; }
body.embed-mode .brand .title span{ display:none; }
.embed-badge{
  position:absolute; z-index:850; right:10px; bottom:10px;
  background: var(--teal); color: var(--cream);
  font-family: var(--font-body); font-size:10.5px;
  padding: 6px 10px; border-radius: 999px;
  text-decoration:none;
  box-shadow: var(--shadow-sm);
  display:none;
}
body.embed-mode .embed-badge{ display:inline-block; }

::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-thumb{ background:#d8cdb0; border-radius:8px; }
