/* Shared interface contract. Keep page-specific corrections below this block. */
:root{
  --app-bg:#07131e;
  --surface-bg:#0d1d2d;
  --surface-border:#1b395a;
  --text-primary:#f8fafc;
  --text-secondary:#c4d0df;
  --accent-cyan:#08b5d5;
  --accent-orange:#ff6a00;
  --layout-gap:4px;
  --control-padding-block:4px;
  --control-padding-inline:8px;
  --surface-radius:8px;
  --hero-height:256px;
  --hero-height-mobile:200px;
  --sidebar-width:165px;
  --topbar-height:80px;
}
html,body{margin:0;min-height:100%;background:#07131e}
body,.stitch-page{font-family:'Plus Jakarta Sans',sans-serif!important}
.app-layout{display:flex;min-height:100dvh;width:100%}
.stitch-page{flex:1;min-width:0;width:calc(100% - var(--sidebar-width))}
.shared-sidebar{width:var(--sidebar-width)!important;min-width:var(--sidebar-width)!important;max-width:var(--sidebar-width)!important;flex-basis:var(--sidebar-width);height:100dvh!important;min-height:0!important;position:sticky;top:0}
.shared-sidebar .nav-link{color:#cbd5e1;font-size:13px}
.shared-sidebar .nav-link:hover{background:#11273e;color:white}
.shared-sidebar .nav-active{background:linear-gradient(90deg,#ff6a00,#ff7d1a);color:white}
.shared-sidebar .nav-active svg{color:white}
.shared-topbar{flex-shrink:0;min-width:0}
.major-containers{gap:4px!important}
.major-containers[class*="space-y-"]>:not([hidden])~:not([hidden]){margin-top:4px!important;margin-bottom:0!important}
.home-sections{display:flex;flex-direction:column;gap:4px}
.card-collection{overflow-x:auto}
.wide-cards>*{min-width:120px}
.stitch-hero{min-height:280px;flex-shrink:0}
.stitch-hero img{object-fit:cover}
[data-route="pesti"] .stitch-hero{height:320px}
[data-route="monturi"] .stitch-hero{height:224px;min-height:224px}
[data-route="partide"] .stitch-hero{height:288px}
[data-route="jurnal"] .stitch-hero,[data-route="plan-ai"] .stitch-hero{display:flex;flex-direction:column;justify-content:center}
[data-route="harta"]{height:100dvh;min-height:100dvh}
[data-route="harta"] main{min-height:600px}
main,main>*{min-width:0}
.mobile-navigation-toggle,.navigation-backdrop{display:none}
@media(max-width:1279px) and (min-width:768px){
[data-route="jurnal"] [data-purpose="three-column-dashboard-layout"]{grid-template-columns:240px minmax(0,1fr)}
[data-route="jurnal"] [data-purpose="calendar-stats-ai-assistant"]{grid-column:1/-1}
}
@media(max-width:767px){
.app-layout{display:block}.stitch-page{width:100%;min-height:100dvh}
.shared-sidebar{display:none!important;position:fixed;left:0;top:0;z-index:100}
.navigation-open .shared-sidebar{display:flex!important}
.navigation-open .navigation-backdrop{display:block;position:fixed;inset:0 0 0 165px;z-index:90;background:#0009}
.mobile-navigation-toggle{display:block;flex-shrink:0;font-size:22px;color:#f8fafc;padding:4px 8px}
.shared-topbar{gap:6px!important;padding-left:6px!important;padding-right:6px!important;height:64px}
.shared-topbar>*{min-width:0}.shared-topbar input{min-width:0;font-size:11px}
.shared-topbar>div:last-child{gap:6px!important;flex-shrink:0}
.shared-topbar>div:last-child>div:first-child{display:none}
.shared-topbar [data-lucide="chevron-down"]{display:none}
[data-route="home"] .shared-topbar>div:nth-child(2){display:none}
.stitch-page main:not(.satellite-bg){padding-left:6px!important;padding-right:6px!important;margin-left:0!important;margin-right:0!important}
.stitch-page .responsive-layout:not(.card-collection){grid-template-columns:minmax(0,1fr)!important}
.stitch-page .responsive-layout:not(.card-collection)>*{grid-column:auto!important;min-width:0}
.card-collection{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(150px,75%)}
.card-collection>*{grid-column:auto!important}
.stitch-page [class*="w-["]{max-width:100%}
.stitch-page [class*="space-x-"]{flex-wrap:wrap}
.stitch-hero{padding-left:16px!important;padding-right:16px!important}
[data-route="home"] [data-purpose="hero-and-weather"]>div:first-child{padding:20px;min-height:680px!important}
[data-route="harta"]{height:auto;overflow:visible}
[data-route="harta"]>div,[data-route="harta"]>div>div{flex-direction:column;overflow:visible}
[data-route="harta"] aside{width:100%!important;max-width:100%!important;height:auto!important}
[data-route="harta"] main{flex:none;width:100%;min-height:650px}
[data-route="harta"] main>div:last-child{bottom:170px}
[data-route="jurnal"] main>section{grid-column:auto}
.stitch-page table{display:block;max-width:100%;overflow-x:auto}
}

@media(max-width:767px){
.shared-sidebar{position:fixed!important}
.stitch-page .card-collection{grid-auto-columns:minmax(150px,75%)}
.stitch-page .card-collection:not(.wide-cards){grid-auto-columns:minmax(64px,1fr)}
.stitch-page .card-collection>*{min-width:0}
.stitch-page .stitch-hero>*{max-width:100%;min-width:0}
.stitch-page .stitch-hero h1{overflow-wrap:anywhere}
.stitch-page .stitch-hero .flex{flex-wrap:wrap}
.shared-topbar>div:first-of-type{flex:1!important;min-width:0}
.shared-topbar>div:last-child{max-width:140px;gap:4px!important}
.shared-topbar>div:last-child>div:last-child{padding-left:4px!important;gap:4px!important}
.stitch-page [data-purpose="hero-banner"]{margin-left:6px!important;margin-right:6px!important}
[data-route="harta"] main>div:nth-of-type(1){flex-wrap:wrap;gap:6px}
[data-route="harta"] main>div:nth-of-type(1)>div{flex-wrap:wrap}
[data-route="harta"] main>div:nth-last-of-type(3){left:10%!important}
}

/* Six-pixel transitions between the original major dashboard blocks. */
.stitch-page main:not(.satellite-bg){padding-top:4px!important}
.stitch-hero + main,.stitch-hero + .grid{margin-top:4px!important;padding-top:4px!important}
[data-purpose="hero-section"]{margin-top:4px!important}
[data-route="plan-ai"] main>.grid{margin-top:4px!important}
@media(max-width:767px){
[data-route="solunar"] main>div{padding:6px!important}
[data-route="home"] [data-purpose="hero-and-weather"]>div:last-child>div:nth-child(3){flex-wrap:wrap;gap:4px}
}
@media(max-width:767px){
.card-collection.wide-cards{grid-auto-columns:minmax(160px,75%)!important}
.shared-topbar>[data-purpose="branding"],.shared-topbar>[data-purpose="logo-section"]{display:none!important}
.shared-topbar>div:has(h1),.shared-topbar>div:has(h2){display:none!important}
.shared-topbar>div:has(input){display:block!important;flex:1!important}
.shared-topbar>div:has(input)>div{min-width:0}
}

/* One shared hero proportion across all 14 sections. */
.stitch-page .unified-page-hero{height:256px!important;min-height:256px!important;max-height:256px!important;flex-shrink:0;overflow:hidden!important;border-radius:8px!important}
.generated-page-hero{position:relative;display:flex;width:calc(100% - 48px);max-width:1672px;margin:4px auto 0;padding:32px;align-items:center;border:1px solid #1b314b;border-radius:8px!important;background:linear-gradient(100deg,#0c1b2a 0%,#14283a 62%,#36261c 100%);box-shadow:0 14px 32px rgba(0,0,0,.24)}
.generated-page-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 84% 35%,rgba(255,106,0,.22),transparent 28%);pointer-events:none}.generated-page-hero>div{position:relative;z-index:1}.generated-page-hero span{color:#22d3ee;font-size:12px;font-weight:800;text-transform:uppercase}.generated-page-hero h1{margin:9px 0 7px;color:#fff;font-size:32px;font-weight:800;line-height:1.1}.generated-page-hero p{max-width:650px;margin:0;color:#aebdd0;font-size:14px;line-height:1.55}
@media(max-width:767px){.stitch-page .unified-page-hero{height:200px!important;min-height:200px!important;max-height:200px!important}.generated-page-hero{width:calc(100% - 12px);margin-top:4px;padding:20px}.generated-page-hero h1{font-size:26px}}

/* Shared hero typography: one hierarchy, palette and rhythm everywhere. */
.stitch-page .unified-page-hero{display:flex!important;align-items:center!important;justify-content:flex-start!important;padding-top:24px!important;padding-bottom:24px!important}
.stitch-page .unified-page-hero .hero-title{max-width:760px!important;margin:0!important;color:#f8fafc!important;font-family:'Plus Jakarta Sans',sans-serif!important;font-size:32px!important;font-weight:800!important;line-height:1.08!important;letter-spacing:0!important;text-wrap:balance}
.stitch-page .unified-page-hero .hero-title-accent{color:#ff6a00!important;text-shadow:0 0 22px rgba(255,106,0,.28)}
.stitch-page .unified-page-hero .hero-description{max-width:650px!important;margin-top:10px!important;margin-bottom:0!important;color:#c4d0df!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important}
.stitch-page .unified-page-hero .hero-eyebrow{display:block;margin:0 0 8px!important;color:#22d3ee!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-transform:uppercase}
[data-route="home"] .unified-page-hero{padding:22px 26px!important}
[data-route="home"] .unified-page-hero .hero-title{font-size:30px!important;line-height:1.04!important}
[data-route="home"] .unified-page-hero .hero-description{margin-top:9px!important}
[data-route="home"] .unified-page-hero .hero-description+div{padding-top:10px!important}
[data-route="home"] .unified-page-hero .hero-description+div a{padding-top:10px!important;padding-bottom:10px!important}
@media(max-width:767px){.stitch-page .unified-page-hero{padding:18px!important}.stitch-page .unified-page-hero .hero-title,[data-route="home"] .unified-page-hero .hero-title{font-size:25px!important;line-height:1.08!important}.stitch-page .unified-page-hero .hero-description{font-size:13px!important;line-height:1.4!important;margin-top:8px!important}.stitch-page .unified-page-hero .hero-eyebrow{font-size:10px!important;margin-bottom:6px!important}}

/* Canonical hero copy component. Original page-specific copy is replaced, not restyled. */
.stitch-page .unified-page-hero{position:relative!important;display:block!important;padding:0!important;isolation:isolate;border:1px solid #24384c!important;background-color:#130b07!important;background-image:var(--hero-image)!important;background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;box-shadow:inset 0 0 0 1px rgba(255,153,73,.04),0 12px 30px rgba(0,0,0,.24)!important}
.stitch-page .unified-page-hero:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(16,7,2,.04),rgba(7,3,1,.22));pointer-events:none}
.stitch-page .unified-page-hero:after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(2,5,9,.96) 0%,rgba(8,7,7,.86) 38%,rgba(21,10,4,.38) 64%,rgba(18,7,2,.08) 100%);pointer-events:none}
.stitch-page .unified-page-hero>:not(.hero-copy){opacity:0!important;pointer-events:none!important}
.stitch-page .unified-page-hero .hero-original-content{display:none!important}
.stitch-page .unified-page-hero .hero-copy{position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;padding:28px 32px!important;color:#f8fafc;text-align:left}
.stitch-page .unified-page-hero .hero-copy .hero-eyebrow{display:block;margin:0 0 8px!important;color:#22d3ee!important;font-size:11px!important;font-weight:800!important;line-height:1!important;letter-spacing:0!important;text-transform:uppercase}
.stitch-page .unified-page-hero .hero-copy .hero-title,[data-route="home"] .unified-page-hero .hero-copy .hero-title{width:min(760px,72%);max-width:760px!important;margin:0!important;color:#f8fafc!important;font-size:32px!important;font-weight:800!important;line-height:1.08!important;letter-spacing:0!important;text-wrap:balance}
.stitch-page .unified-page-hero .hero-copy .hero-title span{color:#ff6a00!important;text-shadow:0 0 22px rgba(255,106,0,.28)}
.stitch-page .unified-page-hero .hero-copy .hero-description{width:min(650px,68%);max-width:650px!important;margin:10px 0 0!important;color:#c4d0df!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important}
.stitch-page .unified-page-hero .hero-copy .hero-actions{display:flex;align-items:center;gap:10px;margin-top:16px!important;padding:0!important}
.stitch-page .unified-page-hero .hero-copy .hero-actions>a,.stitch-page .unified-page-hero .hero-copy .hero-actions>button{display:inline-flex!important;min-height:40px;align-items:center;justify-content:center;gap:8px;margin:0!important;padding:10px 16px!important;border:0;border-radius:10px;background:#ff6a00!important;color:#fff!important;font-size:13px!important;font-weight:700!important;line-height:1!important;box-shadow:0 8px 20px rgba(255,106,0,.24)}
@media(max-width:767px){.stitch-page .unified-page-hero .hero-copy{padding:18px!important}.stitch-page .unified-page-hero .hero-copy .hero-title,[data-route="home"] .unified-page-hero .hero-copy .hero-title{width:100%;font-size:25px!important;line-height:1.08!important}.stitch-page .unified-page-hero .hero-copy .hero-description{width:100%;font-size:13px!important;line-height:1.4!important;margin-top:8px!important}.stitch-page .unified-page-hero .hero-copy .hero-eyebrow{font-size:10px!important;margin-bottom:6px!important}.stitch-page .unified-page-hero .hero-copy .hero-actions{margin-top:12px!important}.stitch-page .unified-page-hero .hero-copy .hero-actions>a,.stitch-page .unified-page-hero .hero-copy .hero-actions>button{min-height:36px;padding:9px 13px!important;font-size:12px!important}}
@media(max-width:767px){.stitch-page .unified-page-hero{background-position:68% center!important}.stitch-page .unified-page-hero:after{background:linear-gradient(90deg,rgba(2,5,9,.96) 0%,rgba(8,7,7,.82) 64%,rgba(18,7,2,.28) 100%)}}

/* One real topbar component shared by every route. */
.stitch-page .canonical-topbar{display:grid!important;grid-template-columns:160px minmax(260px,680px) minmax(280px,1fr);align-items:center!important;column-gap:24px;width:100%!important;height:80px!important;min-height:80px!important;max-height:80px!important;margin:0!important;padding:0 24px!important;border:0!important;border-bottom:1px solid #183047!important;border-radius:0!important;background:#081826!important;color:#e8f0f8!important;box-shadow:none!important;overflow:hidden;position:relative;z-index:30}
.canonical-topbar *{box-sizing:border-box;letter-spacing:0}
.canonical-topbar .topbar-brand{display:flex!important;align-items:center;gap:10px;width:160px;min-width:160px;color:#fff!important;text-decoration:none!important}
.canonical-topbar .topbar-brand-mark{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border:1px solid #08778c;border-radius:10px;background:#073244;color:#22d3ee;box-shadow:0 0 18px rgba(34,211,238,.1)}
.canonical-topbar .topbar-brand-mark svg{width:22px;height:22px;stroke-width:1.8}
.canonical-topbar .topbar-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1}
.canonical-topbar .topbar-brand-copy strong{color:#f8fafc;font-size:17px;font-weight:800;white-space:nowrap}
.canonical-topbar .topbar-brand-copy small{margin-top:5px;color:#ff6a00;font-size:9px;font-weight:800;line-height:1;text-transform:uppercase}
.canonical-topbar .topbar-search{display:grid!important;grid-template-columns:20px minmax(0,1fr) 34px;align-items:center;width:100%;height:42px;margin:0!important;padding:0 6px 0 14px!important;border:1px solid #1b3853;border-radius:21px;background:#0d2235;color:#7890a8;overflow:hidden}
.canonical-topbar .topbar-search>svg{width:17px;height:17px}
.canonical-topbar .topbar-search input{width:100%;min-width:0;height:40px;padding:0 9px!important;border:0!important;outline:0!important;background:transparent!important;color:#e8f0f8!important;font:500 12px/1 'Plus Jakarta Sans',sans-serif!important;box-shadow:none!important}
.canonical-topbar .topbar-search input::placeholder{color:#6f8499;opacity:1}
.canonical-topbar .topbar-search button{display:grid!important;width:30px;height:30px;min-width:30px;padding:0!important;place-items:center;border:0!important;border-radius:50%;background:#183653!important;color:#a9c6df!important}
.canonical-topbar .topbar-search button svg{width:15px;height:15px}
.canonical-topbar .topbar-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;min-width:0;height:100%}
.canonical-topbar .topbar-weather{display:flex!important;height:38px;align-items:center;gap:7px;padding:0 12px!important;border:1px solid #19344d;border-radius:10px;background:#0d2235;color:#9fb2c5;white-space:nowrap}
.canonical-topbar .topbar-weather svg{width:17px;height:17px;color:#fbbf24}
.canonical-topbar .topbar-weather strong{color:#f8fafc;font-size:12px;font-weight:800}
.canonical-topbar .topbar-weather span{font-size:10px}
.canonical-topbar .topbar-icon-button{display:grid!important;width:38px;height:38px;min-width:38px;padding:0!important;place-items:center;border:1px solid #19344d!important;border-radius:10px!important;background:#0d2235!important;color:#b5c6d6!important;position:relative}
.canonical-topbar .topbar-icon-button svg{width:18px;height:18px}
.canonical-topbar .topbar-notifications span{position:absolute;right:7px;top:6px;width:6px;height:6px;border:1px solid #0d2235;border-radius:50%;background:#ff564f}
.canonical-topbar .topbar-profile{display:flex!important;height:42px;align-items:center;gap:8px;padding:0!important;border:0!important;background:transparent!important;color:#eef4fa!important;white-space:nowrap}
.canonical-topbar .topbar-avatar{display:grid;width:36px;height:36px;place-items:center;border:2px solid #1cc89a;border-radius:50%;background:#14354a;color:#fff;font-size:11px;font-weight:800}
.canonical-topbar .topbar-profile-name{font-size:12px;font-weight:600}
.canonical-topbar .topbar-profile svg{width:14px;height:14px;color:#7690a6}
.canonical-topbar .mobile-navigation-toggle{display:none!important}
.stitch-page main.topbar-host{padding-top:0!important}
@media(max-width:1050px){.stitch-page .canonical-topbar{grid-template-columns:150px minmax(220px,1fr) auto;column-gap:14px;padding:0 16px!important}.canonical-topbar .topbar-weather span,.canonical-topbar .topbar-profile-name,.canonical-topbar .topbar-profile svg{display:none}}
@media(max-width:767px){.stitch-page .canonical-topbar{grid-template-columns:38px 40px minmax(0,1fr) auto;column-gap:8px;height:64px!important;min-height:64px!important;max-height:64px!important;padding:0 8px!important}.canonical-topbar .mobile-navigation-toggle{display:grid!important}.canonical-topbar .topbar-brand{width:40px;min-width:40px}.canonical-topbar .topbar-brand-mark{width:38px;height:38px;flex-basis:38px}.canonical-topbar .topbar-brand-copy,.canonical-topbar .topbar-weather,.canonical-topbar .topbar-profile-name,.canonical-topbar .topbar-profile>svg{display:none!important}.canonical-topbar .topbar-search{height:38px;grid-template-columns:18px minmax(0,1fr);padding:0 10px!important;border-radius:19px}.canonical-topbar .topbar-search input{height:36px;font-size:11px!important}.canonical-topbar .topbar-search button{display:none!important}.canonical-topbar .topbar-actions{gap:6px}.canonical-topbar .topbar-notifications{display:none!important}.canonical-topbar .topbar-profile{height:38px}.canonical-topbar .topbar-avatar{width:34px;height:34px;font-size:10px}}

/* Solunar keeps the common topbar fixed while only its dashboard scrolls. */
[data-route="solunar"]>main.topbar-host{display:flex!important;flex-direction:column!important;width:100%!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
[data-route="solunar"]>main.topbar-host>.canonical-topbar{flex:0 0 80px!important}
[data-route="solunar"]>main.topbar-host>div.p-6{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}
@media(max-width:767px){[data-route="solunar"]>main.topbar-host>.canonical-topbar{flex-basis:64px!important}}

/* Journal controls live below the shared hero, matching the Monturi page rhythm. */
[data-route="jurnal"] .journal-filter-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;margin:4px 24px 0!important;padding:8px 0 2px!important;overflow-x:auto;flex-wrap:nowrap!important;background:#07131e}
[data-route="jurnal"] .journal-filter-bar>div{display:flex!important;align-items:center;gap:6px;flex-wrap:nowrap!important;flex-shrink:0}
[data-route="jurnal"] .journal-filter-bar button{white-space:nowrap}
[data-route="cumparaturi"] .shopping-filter-bar{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;width:100%!important;min-height:38px;margin:0!important;padding:4px!important;gap:4px!important;overflow-x:auto!important;border:1px solid #1b3450;border-radius:8px!important;background:#07131e!important}
[data-route="cumparaturi"] .shopping-filter-bar button{flex-shrink:0;white-space:nowrap}

/* Harta is a dedicated full-height workspace: list, live map surface, details. */
.runtime-radius-panel{position:absolute;z-index:10;top:50px;left:4px;width:min(340px,calc(100% - 56px));max-height:calc(100% - 58px);overflow:auto;padding:4px;border:1px solid #29445f;border-radius:8px;background:#0b1d2d;color:#e2e8f0;box-shadow:0 8px 24px #0006;display:grid;gap:4px}
.runtime-map-area-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin-top:4px}
.runtime-map-area-search input{min-width:0;width:100%;padding:4px 8px;border:1px solid #29445f;border-radius:6px;background:#0b1d2d;color:#e2e8f0;font-size:12px}
.runtime-map-area-search button{padding:4px 8px;border:1px solid #29445f;border-radius:6px;background:#087da9;color:#fff;font-size:12px}
.runtime-map-area-search p{grid-column:1/-1;font-size:11px;color:#a8bbce;margin:0;overflow-wrap:anywhere}
.runtime-radius-panel[hidden],.runtime-nearby-results[hidden]{display:none!important}
.runtime-radius-heading,.runtime-radius-center{display:flex;align-items:center;justify-content:space-between;gap:4px}
.runtime-radius-heading label{display:flex;align-items:center;gap:4px;font-weight:700}
.runtime-radius-panel input[type=range]{width:100%;accent-color:#ffab38;min-height:28px}
.runtime-radius-panel fieldset{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #29445f;border-radius:6px;min-width:0}
.runtime-radius-panel fieldset label{display:flex;align-items:center;gap:4px;font-size:12px}
.runtime-radius-panel input[type=checkbox]{accent-color:#08b5d5;flex:none}
.runtime-radius-panel button{padding:4px 8px;border:1px solid #29445f;border-radius:6px;background:#12314a;color:#fff;font-size:12px}
.runtime-radius-panel [data-radius-search]{background:#08b5d5;color:#fff;font-weight:700}
.runtime-radius-panel [data-radius-center],.runtime-radius-panel small,.runtime-radius-panel p{font-size:11px;margin:0;color:#a8bbce}
.runtime-nearby-results{display:flex;flex-direction:column;gap:4px;min-height:0;flex:1;overflow-y:auto;padding:4px}
.runtime-nearby-results h3{font-size:12px;color:#67e8f9;margin:0;padding:4px}
.runtime-accordion,.runtime-accordion-list{display:flex;flex-direction:column;gap:4px;min-width:0}
.runtime-accordion-group{min-width:0}
.runtime-accordion-heading{margin:0!important;padding:0!important}
.runtime-accordion .runtime-accordion-trigger{display:flex;align-items:center;gap:4px;width:100%!important;min-height:30px;padding:4px 8px!important;border:1px solid #29445f;border-radius:6px;background:#0d2133;color:#d9e7f4;text-align:left;font-size:12px;font-weight:700}
.runtime-accordion-trigger>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.runtime-accordion .runtime-accordion-trigger[aria-expanded=true]{border-color:#08b5d5;background:#103348;color:#67e8f9}
.runtime-accordion-trigger:focus-visible{outline:2px solid #67e8f9;outline-offset:1px}
.runtime-accordion-count{color:#a8bbce;font-weight:400}
.runtime-accordion-chevron{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 4px 4px}
.runtime-accordion-trigger[aria-expanded=true] .runtime-accordion-chevron{transform:rotate(225deg);margin-bottom:0}
.runtime-accordion-panel{padding:4px 0 0;min-width:0}
.runtime-accordion-panel[hidden]{display:none!important}
@media print{.stitch-page .runtime-accordion-panel[hidden]{display:block!important}.runtime-accordion-chevron{display:none}}
[data-purpose=checklist-columns].runtime-checklist-accordion{display:block!important}
.runtime-checklist-accordion [data-purpose^=column-]{padding:0!important;border:0!important;background:transparent!important;min-width:0}
.runtime-nearby-results article{display:flex;align-items:center;gap:4px;border:1px solid #29445f;border-radius:6px;background:#0b1c2d;padding:4px}
.runtime-nearby-results button{padding:4px 8px;border:1px solid #29445f;border-radius:6px;background:#0b1d2d;color:#e2e8f0}
.runtime-nearby-results .runtime-nearby-select{flex:1;min-width:0;text-align:left;display:grid;gap:4px}
.runtime-nearby-select strong{font-size:12px;overflow-wrap:anywhere}.runtime-nearby-select span{font-size:11px;color:#a8bbce}
@media(max-width:767px){.runtime-nearby-results{max-height:420px;flex:none}.runtime-radius-panel{top:84px;width:calc(100% - 56px);max-height:calc(100% - 92px)}}
[data-route="harta"]{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
[data-route="harta"]>.canonical-topbar{flex:0 0 80px}
[data-route="harta"]>.flex-1{display:flex!important;flex:1 1 auto!important;min-height:0!important;height:calc(100dvh - 80px)!important;overflow:hidden!important}
[data-route="harta"] [data-purpose="spots-list-column"]{display:flex!important;width:355px!important;min-width:320px!important;max-width:355px!important;height:100%!important;flex:0 0 355px!important;overflow:hidden!important}
[data-route="harta"] [data-purpose="interactive-map-area"]{display:flex!important;position:relative!important;min-width:360px!important;height:100%!important;flex:1 1 auto!important;overflow:hidden!important;background-color:#0b1c2b!important;background-image:url('./assets/map-romania-demo.jpg')!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important}
[data-route="harta"] [data-purpose="interactive-map-area"]>*:not(.gpr-live-map):not(.runtime-map-toolbar):not(.runtime-radius-panel):not(.radius-edge-toggle):not(.radius-hint-tip){display:none!important}
[data-route="harta"] [data-purpose="interactive-map-area"]>.gpr-live-map{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:1}
[data-route="harta"] .leaflet-container{font-family:"Plus Jakarta Sans",sans-serif;background:#07131e;color:#e2e8f0}
[data-route="harta"] .leaflet-control-layers,[data-route="harta"] .leaflet-bar{border:1px solid #29445f!important;border-radius:6px!important;background:#0b1d2d!important;box-shadow:0 8px 24px rgba(0,0,0,.35)!important;overflow:hidden}
[data-route="harta"] .leaflet-control-layers-toggle{filter:invert(1) saturate(.6);width:32px;height:32px;background-size:18px 18px}
[data-route="harta"] .leaflet-control-layers-expanded{padding:8px;color:#dbeafe}
[data-route="harta"] .leaflet-bar a{width:32px;height:32px;line-height:30px;border-bottom-color:#29445f!important;background:#0b1d2d!important;color:#dbeafe!important}
[data-route="harta"] .leaflet-bar a:hover{background:#12314a!important;color:#22d3ee!important}
[data-route="harta"] .leaflet-control-attribution{padding:2px 4px!important;background:rgba(4,12,20,.82)!important;color:#94a3b8!important}
[data-route="harta"] .leaflet-control-attribution a{color:#67e8f9!important}
[data-route="harta"] .leaflet-tooltip{padding:4px 8px;border:1px solid #28506c;border-radius:6px;background:#07131e;color:#f8fafc;box-shadow:0 8px 20px rgba(0,0,0,.35);font-weight:700}
[data-route="harta"] .leaflet-tooltip-top:before{border-top-color:#28506c}
[data-route="harta"] .leaflet-popup-content-wrapper,[data-route="harta"] .leaflet-popup-tip{background:#081827;color:#e2e8f0}
[data-route="harta"] .leaflet-popup-content-wrapper{border:1px solid #28506c;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.45)}
[data-route="harta"] .leaflet-popup-content{margin:8px 10px;min-width:150px}
[data-route="harta"] .gpr-map-popup{display:grid;gap:2px}
[data-route="harta"] .gpr-map-popup strong{font-size:12px;color:#fff}
[data-route="harta"] .gpr-map-popup span{font-size:10px;color:#67e8f9}
[data-route="harta"] .gpr-map-popup small{font-size:9px;color:#94a3b8}
[data-route="harta"] .gpr-live-map[data-provider="google"] .gpr-map-popup{min-width:120px;padding:4px}
[data-route="harta"] .gpr-live-map[data-provider="google"] .gpr-map-popup strong{color:#102334}
[data-route="harta"] .gpr-live-map[data-provider="google"] .gpr-map-popup span{color:#146078}
[data-route="harta"] .gpr-map-marker-shell{background:transparent;border:0}
[data-route="harta"] .gpr-map-marker{position:relative;display:block;width:30px;height:30px;border:3px solid #dff8ff;border-radius:50% 50% 50% 8px;background:var(--marker-color);box-shadow:0 5px 14px rgba(0,0,0,.45),0 0 0 5px color-mix(in srgb,var(--marker-color) 25%,transparent);transform:rotate(-45deg);transition:transform .18s ease,filter .18s ease}
[data-route="harta"] .gpr-map-marker i{position:absolute;inset:7px;border:2px solid rgba(1,15,27,.85);border-radius:50%;background:#e9fbff}
[data-route="harta"] .gpr-map-marker.is-selected{filter:brightness(1.18) drop-shadow(0 0 9px var(--marker-color));transform:rotate(-45deg) scale(1.22)}
[data-route="harta"] .runtime-card-active{border-color:#22d3ee!important;box-shadow:inset 3px 0 0 #ff6a00,0 0 0 1px rgba(34,211,238,.25)!important}
[data-route="harta"] [data-purpose="spot-detail-sidebar"]{display:flex!important;width:clamp(390px,30vw,470px)!important;min-width:390px!important;max-width:470px!important;height:100%!important;flex:0 0 clamp(390px,30vw,470px)!important;overflow-y:auto!important}
[data-route="harta"] [data-purpose="spot-detail-sidebar"]>div:first-child{height:200px!important;min-height:200px!important}
[data-route="harta"] .generated-page-hero{display:none!important}
@media(max-width:1250px) and (min-width:768px){[data-route="harta"] [data-purpose="spots-list-column"]{width:300px!important;min-width:300px!important;flex-basis:300px!important}[data-route="harta"] [data-purpose="spot-detail-sidebar"]{width:350px!important;min-width:350px!important;flex-basis:350px!important}}
@media(max-width:767px){[data-route="jurnal"] .journal-filter-bar{margin:4px 6px 0!important;padding:6px 0!important}[data-route="harta"]{height:auto!important;min-height:100dvh!important;overflow:visible!important}[data-route="harta"]>.canonical-topbar{flex-basis:64px}[data-route="harta"]>.flex-1{height:auto!important;min-height:0!important;flex-direction:column!important;overflow:visible!important}[data-route="harta"] [data-purpose="spots-list-column"],[data-route="harta"] [data-purpose="spot-detail-sidebar"]{width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;flex-basis:auto!important}[data-route="harta"] [data-purpose="interactive-map-area"]{order:-1;width:100%!important;min-width:0!important;height:62vh!important;min-height:520px!important;flex:none!important}}

/* Global surface rhythm: all dashboard boxes use a four-pixel gutter. */
.stitch-page main .grid,.stitch-page .card-collection,.stitch-page .responsive-layout{gap:4px!important}
.stitch-page main [class*="space-y-"]>:not([hidden])~:not([hidden]){margin-top:4px!important;margin-bottom:0!important}
.stitch-page .unified-page-hero,.stitch-page .unified-page-hero>img,.stitch-page .unified-page-hero>div:first-child{border-radius:8px!important}

/* One box system across every screen. */
.stitch-page .standard-surface,.stitch-page .unified-page-hero{padding:4px!important;border-radius:8px!important}
.stitch-page .surface-layout{gap:4px!important}
.stitch-page .surface-layout[class*="space-y-"]>:not([hidden])~:not([hidden]){margin-top:4px!important;margin-bottom:0!important}
.stitch-page main:not(.satellite-bg):not(.topbar-host){padding:4px!important}
.stitch-page:not([data-route="harta"]) .topbar-host>div:not(.canonical-topbar){padding:4px!important}
.stitch-page .standard-surface>.grid,.stitch-page .standard-surface>.flex{gap:4px!important}
@media(max-width:767px){.stitch-page main:not(.satellite-bg):not(.topbar-host){padding:4px!important}.stitch-page:not([data-route="harta"]) .topbar-host>div:not(.canonical-topbar){padding:4px!important}}

/* The only vertical rhythm between page-level panels is four pixels. */
.stitch-page .page-section-flow{gap:4px!important}
.stitch-page .page-section-flow>*:not(.canonical-topbar){margin-top:0!important;margin-bottom:0!important}
.stitch-page .page-section-flow>.page-filter-bar{display:flex;min-height:38px;padding:4px!important;border-radius:8px!important;overflow-x:auto}
.stitch-page .topbar-host.page-section-flow>.unified-page-hero,.stitch-page .topbar-host.page-section-flow>.page-filter-bar{margin-left:4px!important;margin-right:4px!important}
.stitch-page .topbar-host.page-section-flow>main{margin-left:0!important;margin-right:0!important;padding:4px!important}
.stitch-page main.page-section-flow>section,.stitch-page main.page-section-flow>article,.stitch-page main.page-section-flow>nav,.stitch-page main.page-section-flow>div{margin-top:0!important;margin-bottom:0!important}

/* No authored inter-element spacing may exceed four pixels. */
.stitch-page .spacing-gap-4{gap:4px!important;row-gap:4px!important;column-gap:4px!important}
.stitch-page .spacing-top-4{margin-top:0!important}
.stitch-page .spacing-bottom-4{margin-bottom:0!important}
.stitch-page .spacing-left-4{margin-left:0!important}
.stitch-page .spacing-right-4{margin-right:0!important}
.stitch-page [class*="space-x-"]>:not([hidden])~:not([hidden]){margin-left:4px!important;margin-right:0!important}
.stitch-page [class*="space-y-"]>:not([hidden])~:not([hidden]){margin-top:4px!important;margin-bottom:0!important}
.canonical-topbar,.canonical-topbar .topbar-brand,.canonical-topbar .topbar-actions,.canonical-topbar .topbar-weather,.canonical-topbar .topbar-profile{gap:4px!important;column-gap:4px!important}
.stitch-page .hero-actions{gap:4px!important}

/* Home uses the full available viewport, like the other dashboard routes. */
[data-route="home"] [data-purpose="main-dashboard"]{width:100%!important;max-width:none!important;margin:0!important;padding:4px!important;align-self:stretch!important}

/* Shared desktop filter menu used below every hero. */
.stitch-page .page-filter-bar{width:100%!important;max-width:none!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;overflow:visible!important}
.stitch-page .page-filter-bar>.canonical-filter-options,.stitch-page .page-filter-bar.canonical-filter-options{display:flex!important;flex:1 1 auto!important;width:auto!important;max-width:none!important;min-width:0!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:4px!important;overflow:visible!important;padding:0!important}
.stitch-page .canonical-filter-options>button{display:inline-flex!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:4px 8px!important;border:1px solid #1b395a!important;border-radius:8px!important;background:#0d1d2d!important;color:#d4dfeb!important;font-size:12px!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;box-shadow:none!important}
.stitch-page .canonical-filter-options>button:first-child{border-color:#08b5d5!important;background:#08b5d5!important;color:#fff!important;box-shadow:0 4px 12px rgba(8,181,213,.18)!important}
.stitch-page .canonical-filter-options>button:hover{border-color:#20c8e6!important;background:#12314a!important;color:#fff!important}
.stitch-page .canonical-filter-options>button:first-child:hover{background:#10aeca!important}
@media(max-width:1050px){.stitch-page .page-filter-bar{overflow-x:auto!important}.stitch-page .page-filter-bar>.canonical-filter-options,.stitch-page .page-filter-bar.canonical-filter-options{width:max-content!important;min-width:max-content!important;overflow:visible!important}.stitch-page .canonical-filter-options>button{flex:0 0 auto!important}}
.stitch-page .compact-text-button{width:fit-content!important;min-width:0!important;height:auto!important;min-height:0!important;flex:0 0 auto!important;padding:4px 8px!important;line-height:1.25!important;white-space:nowrap!important}

/* Canonical tokens win over imported Stitch utility values. */
.major-containers,.home-sections,.stitch-page main .grid,.stitch-page .card-collection,.stitch-page .responsive-layout,.stitch-page .surface-layout,.stitch-page .page-section-flow,.stitch-page .spacing-gap-4{gap:var(--layout-gap)!important;row-gap:var(--layout-gap)!important;column-gap:var(--layout-gap)!important}
.stitch-page .standard-surface,.stitch-page .unified-page-hero,.stitch-page .page-filter-bar{border-radius:var(--surface-radius)!important}
.stitch-page .unified-page-hero{height:var(--hero-height)!important;min-height:var(--hero-height)!important;max-height:var(--hero-height)!important}
.stitch-page .canonical-filter-options>button,.stitch-page .compact-text-button{padding:var(--control-padding-block) var(--control-padding-inline)!important}
@media(max-width:767px){.stitch-page .unified-page-hero{height:var(--hero-height-mobile)!important;min-height:var(--hero-height-mobile)!important;max-height:var(--hero-height-mobile)!important}}

/* Fish catalog behavior; the Stitch layout remains the visual frame. */
[data-route="pesti"] [hidden]{display:none!important}
[data-route="pesti"] .canonical-filter-options>.fish-filter-button:first-child,[data-route="pesti"] .fish-filter-button{border-color:var(--surface-border)!important;background:var(--surface-bg)!important;color:#d4dfeb!important;box-shadow:none!important}
[data-route="pesti"] .canonical-filter-options>.fish-filter-button.is-active,[data-route="pesti"] .fish-filter-button.is-active{border-color:var(--accent-cyan)!important;background:var(--accent-cyan)!important;color:#fff!important;box-shadow:0 4px 12px rgba(8,181,213,.18)!important}
[data-route="pesti"] .fish-species-card{gap:var(--layout-gap);background:#091522;border-color:#16293d}
[data-route="pesti"] .fish-species-card:hover{background:#0c1c2c;border-color:#245174}
[data-route="pesti"] .fish-species-card.is-selected{background:#0d2235;border-color:rgba(8,181,213,.75);box-shadow:0 0 0 1px rgba(8,181,213,.08)}
[data-route="pesti"] .fish-species-card.is-selected h4,[data-route="pesti"] .fish-species-card.is-selected i{color:var(--accent-cyan)!important}
[data-route="pesti"] .fish-species-card:focus-visible{outline:2px solid var(--accent-cyan);outline-offset:1px}
[data-route="pesti"] .fish-card-placeholder,[data-route="pesti"] .fish-profile-placeholder{display:flex;align-items:center;justify-content:center;color:var(--accent-cyan)}
[data-route="pesti"] .fish-card-placeholder{width:100%;height:100%}
[data-route="pesti"] .fish-card-placeholder svg{width:24px;height:24px}
[data-route="pesti"] .fish-profile-placeholder{width:100%;min-height:160px}
[data-route="pesti"] .fish-profile-placeholder svg{width:96px;height:96px;opacity:.72}
[data-route="pesti"] .fish-empty-state{padding:16px 8px;border:1px dashed #24415c;border-radius:var(--surface-radius);color:#8fa3b8;font-size:12px;text-align:center}
[data-route="pesti"] [data-purpose="species-profile-center"]>:nth-child(2) button.is-active{border-color:var(--accent-cyan)!important;background:var(--accent-cyan)!important;color:#fff!important}

/* Shared runtime states for the functional prototype. */
.stitch-page [hidden]{display:none!important}
.stitch-page button.runtime-active{border-color:var(--accent-cyan)!important;background:var(--accent-cyan)!important;color:#fff!important;box-shadow:0 4px 12px rgba(8,181,213,.18)!important}
.stitch-page .canonical-filter-options>button:first-child:not(.runtime-active){border-color:var(--surface-border)!important;background:var(--surface-bg)!important;color:#d4dfeb!important;box-shadow:none!important}
.stitch-page .runtime-clickable{cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}
.stitch-page .runtime-clickable:focus-visible{outline:2px solid var(--accent-cyan);outline-offset:1px}
.stitch-page .runtime-card-active{border-color:var(--accent-cyan)!important;background-color:#0d2235!important;box-shadow:0 0 0 1px rgba(8,181,213,.12)!important}

/* Content photography stays clear; only decorative and hero backgrounds remain darkened. */
.stitch-page img.content-image{opacity:1!important;filter:brightness(1.12) contrast(1.03) saturate(1.07)!important;image-rendering:auto}
.stitch-page .group:hover img.content-image{filter:brightness(1.16) contrast(1.04) saturate(1.09)!important}
.stitch-page img.content-object-asset{object-fit:contain!important;padding:2px!important;background:#07131e!important}
[data-route="home"] .home-location-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:brightness(.9) saturate(1.08)}
[data-route="home"] .home-object-media{width:100%;height:100%;object-fit:contain;padding:1px;border-radius:6px;background:#07131e}
[data-route="home"] .home-rig-media{width:100%;height:72px;object-fit:contain;padding:2px;border-radius:6px;background:#f8fafc}
[data-route="home"] .home-product-media{width:100%;height:100%;object-fit:contain;padding:2px}
[data-route="home"] .home-article-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.9) saturate(1.08)}
[data-route="home"] .home-article-media+span{z-index:1}
[data-route="monturi"] .runtime-clickable .w-12.h-12{overflow:hidden;padding:0!important}
[data-route="monturi"] .runtime-clickable .w-12.h-12 img{width:100%;height:100%;object-fit:contain;padding:2px;background:#07131e}
[data-route="monturi"] [data-purpose="annotated-rig-diagram"].has-runtime-rig-image>:not(.runtime-rig-image):not(.runtime-rig-caption){display:none!important}
[data-route="monturi"] .runtime-rig-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#07131e;padding:8px;filter:brightness(1.14) contrast(1.04) saturate(1.08)!important}
[data-route="monturi"] [data-purpose="annotated-rig-diagram"].has-runtime-rig-image{display:grid!important;grid-template-columns:minmax(160px,45%) minmax(0,1fr);gap:4px!important;height:auto!important;min-height:360px}
[data-route="monturi"] .has-runtime-rig-image .runtime-rig-image{position:static;min-height:0;height:360px;padding:4px}
.runtime-rig-caption{align-self:center;padding:4px;min-width:0;color:#dce8f3}
.runtime-rig-caption h3{font-size:18px;margin:0 0 4px}
.runtime-rig-caption p{margin:4px 0;font-size:14px}
.runtime-rig-caption ol{padding-left:22px;margin:4px 0;line-height:1.8}
.runtime-rig-component{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #142b40;border-radius:6px;margin-top:4px;font-size:13px}
.runtime-rig-component span{color:#00d7df}
[data-route="monturi"] [data-purpose="annotated-rig-diagram"].runtime-rig-landscape{grid-template-columns:minmax(0,60%) minmax(0,1fr);min-height:260px}
[data-route="monturi"] .runtime-rig-landscape .runtime-rig-image{height:260px}
.runtime-calendar-header{display:flex;align-items:center;gap:4px;justify-content:space-between}
.runtime-calendar-header strong{font-size:12px;text-align:center;text-transform:capitalize}
.runtime-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:4px;text-align:center;font-size:11px}
.runtime-calendar-grid button{position:relative;min-width:0!important;width:100%!important;padding:4px 0!important;color:#dce8f3;border:1px solid transparent;background:transparent;border-radius:6px}
.runtime-calendar-grid button[aria-pressed="true"]{background:#ff6400;color:white}
.runtime-calendar-grid .outside-month{color:#70869a}
.runtime-calendar-grid .has-sessions::after{content:"";position:absolute;width:3px;height:3px;background:#00d7df;border-radius:50%;bottom:1px;left:calc(50% - 1px)}
.runtime-calendar-selection{font-size:11px;margin-top:4px;color:#a7bdd0;display:flex;flex-direction:column;gap:4px}
@media(max-width:480px){[data-route="monturi"] [data-purpose="annotated-rig-diagram"].has-runtime-rig-image{grid-template-columns:minmax(120px,45%) minmax(0,1fr)}.runtime-rig-caption h3{font-size:15px}.runtime-rig-caption p,.runtime-rig-caption ol{font-size:12px}}
.app-toast{position:fixed;z-index:9999;right:16px;bottom:16px;max-width:min(390px,calc(100vw - 32px));padding:10px 14px;border:1px solid #285170;border-radius:var(--surface-radius);background:#0d2235;color:var(--text-primary);font:600 12px/1.45 'Plus Jakarta Sans',sans-serif;box-shadow:0 14px 36px rgba(0,0,0,.38);opacity:0;transform:translateY(8px);transition:opacity .18s ease,transform .18s ease}
.app-toast.is-visible{opacity:1;transform:translateY(0)}
.app-toast-success{border-color:#087f68;background:#063b35}
.runtime-cart-row{display:flex;align-items:center;justify-content:space-between;gap:var(--layout-gap);padding:6px 0;border-bottom:1px solid #132a44;color:#e7eef7;font-size:11px}
.runtime-cart-row>span{display:flex;min-width:0;flex-direction:column}.runtime-cart-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.runtime-cart-row small{color:#fbbf24}.runtime-cart-row button{display:grid;width:24px!important;height:24px!important;min-width:24px!important;padding:0!important;place-items:center;border:1px solid #61303a;border-radius:6px;background:#2a121b;color:#fb7185}
.runtime-empty{padding:12px 4px;color:#8fa3b8;font-size:11px;text-align:center}
.runtime-location-card{position:relative;min-height:76px;color:#dbe7f1}
.runtime-location-card>img{width:72px;height:60px;flex:0 0 72px;object-fit:cover;border-radius:6px;background:#07131e}
.runtime-location-card>div{min-width:0;flex:1}.runtime-location-card h3{margin:0;color:#fff;font-size:12px;font-weight:800}.runtime-location-card p,.runtime-location-card small{display:block;margin:2px 0 0;overflow:hidden;color:#91a7ba;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.runtime-location-card>button{width:26px!important;height:26px!important;min-width:26px!important;padding:0!important;border:1px solid #24445e!important;border-radius:6px!important;color:#a9bfd1!important}
.content-editor-dialog{width:min(620px,calc(100vw - 16px));padding:0;border:1px solid #24506e;border-radius:8px;background:#081826;color:#e8f0f8;box-shadow:0 24px 70px rgba(0,0,0,.62)}
.content-editor-dialog::backdrop{background:rgba(1,6,11,.78);backdrop-filter:blur(3px)}
.content-editor-dialog form{display:grid;gap:4px;padding:4px}
.content-editor-dialog header,.content-editor-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:8px;border:1px solid #17344c;border-radius:6px;background:#0c2032}
.content-editor-dialog header span{display:block;color:#22d3ee;font-size:9px;font-weight:800;text-transform:uppercase}.content-editor-dialog h2{margin:2px 0 0;color:#fff;font-size:18px;letter-spacing:0}
.content-editor-dialog header button{display:grid;width:30px;height:30px;place-items:center;padding:0;border:1px solid #31516a;border-radius:6px;background:#10283c;color:#fff;font-size:18px}
.content-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.content-editor-fields label{display:grid;gap:4px;padding:8px;border:1px solid #17344c;border-radius:6px;background:#0a1d2d}.content-editor-fields label>span{color:#9fb4c7;font-size:10px;font-weight:700}
.content-editor-fields input,.content-editor-fields select,.content-editor-fields textarea{width:100%;min-width:0;padding:8px!important;border:1px solid #24445e!important;border-radius:6px!important;background:#071522!important;color:#f1f5f9!important;font-size:12px!important;outline:0}.content-editor-fields input:focus,.content-editor-fields select:focus,.content-editor-fields textarea:focus{border-color:#17b8d7!important;box-shadow:0 0 0 1px rgba(23,184,215,.2)!important}
.content-editor-wide{grid-column:1/-1}.content-editor-error{margin:0;padding:8px;border:1px solid #783343;border-radius:6px;background:#31121b;color:#fda4af;font-size:11px}
.content-editor-dialog footer{justify-content:flex-end}.content-editor-dialog footer button{padding:6px 10px;border:1px solid #284963;border-radius:6px;background:#10283c;color:#dbe7f1;font-size:11px;font-weight:700}.content-editor-dialog footer button[type="submit"]{border-color:#ff6a00;background:#ff6a00;color:#fff}.content-editor-dialog button:disabled{opacity:.55}
@media(max-width:600px){.content-editor-fields{grid-template-columns:1fr}.content-editor-wide{grid-column:auto}}
.content-info-dialog{width:min(680px,calc(100vw - 16px));padding:0;border:1px solid #24506e;border-radius:8px;background:#081826;color:#e8f0f8;box-shadow:0 24px 70px rgba(0,0,0,.62)}
.content-info-dialog::backdrop{background:rgba(1,6,11,.78);backdrop-filter:blur(3px)}
.content-info-dialog article{display:grid;gap:4px;padding:4px}.content-info-dialog header,.content-info-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:8px;border:1px solid #17344c;border-radius:6px;background:#0c2032}.content-info-dialog header span{display:block;color:#22d3ee;font-size:9px;font-weight:800;text-transform:uppercase}.content-info-dialog h2{margin:2px 0 0;color:#fff;font-size:18px;letter-spacing:0}.content-info-dialog header button{display:grid;width:30px;height:30px;place-items:center;padding:0;border:1px solid #31516a;border-radius:6px;background:#10283c;color:#fff;font-size:18px}
.content-info-body{display:grid;gap:8px;padding:12px;border:1px solid #17344c;border-radius:6px;background:#091a29;color:#c7d4df;font-size:12px;line-height:1.55}.content-info-body img{width:100%;max-height:280px;object-fit:contain;border-radius:6px;background:#07131e}.content-info-body h3{margin:0;color:#fff;font-size:14px}.content-info-body p{margin:0}.content-info-body ul,.content-info-body ol{display:grid;gap:4px;margin:0;padding-left:18px}.content-info-body .info-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.content-info-body .info-metrics>span{padding:8px;border:1px solid #1b3a55;border-radius:6px;background:#0c2235}.content-info-body .info-metrics strong{display:block;color:#fff;font-size:11px}
.content-info-dialog footer{justify-content:flex-end}.content-info-dialog footer button{padding:6px 10px;border:1px solid #284963;border-radius:6px;background:#10283c;color:#dbe7f1;font-size:11px;font-weight:700}.content-info-dialog footer [data-action]{border-color:#ff6a00;background:#ff6a00;color:#fff}
@media(max-width:600px){.content-info-body .info-metrics{grid-template-columns:1fr}}
.runtime-ai-plan{padding:14px;border:1px solid #1b5068;border-radius:var(--surface-radius);background:#092033;color:#dce8f3}
.runtime-ai-plan header{display:flex;align-items:center;justify-content:space-between;gap:var(--layout-gap);margin-bottom:8px;color:#55d8ef;font-size:10px;text-transform:uppercase}.runtime-ai-plan h3{margin:0 0 8px;color:#fff;font-size:15px}.runtime-ai-plan ol{display:grid;gap:6px;margin:0;padding-left:18px;color:#c5d2df;font-size:11px;line-height:1.5}
@media(max-width:767px){.app-toast{right:8px;bottom:8px;max-width:calc(100vw - 16px)}.runtime-ai-plan header{align-items:flex-start;flex-direction:column}}
.render-error-panel{display:flex;min-height:100dvh;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:var(--layout-gap);padding:24px;background:var(--app-bg);color:var(--text-primary);text-align:center}.render-error-panel h1{margin:0;font-size:22px}.render-error-panel p{margin:4px 0 12px;color:var(--text-secondary);font-size:13px}.render-error-panel button{padding:8px 14px;border:1px solid var(--accent-cyan);border-radius:var(--surface-radius);background:var(--accent-cyan);color:#fff;font-weight:700}

/* Live map controls replace the decorative Stitch overlay. */
.runtime-map-toolbar{position:absolute;inset:4px 4px auto 4px;z-index:700;display:flex;align-items:center;gap:4px;pointer-events:none;flex-wrap:wrap}
.runtime-map-toolbar>*{pointer-events:auto}
.runtime-map-status{display:flex!important;align-items:center;justify-content:center;padding:4px;color:#d9e7f4;background:#071320;text-align:center}
.runtime-map-search{display:flex;flex-wrap:wrap;gap:4px;padding:4px}
.runtime-map-search>label{flex:0 0 100%;font-size:12px;color:#a8bbce;line-height:1.4}
.runtime-map-area-search{position:relative;overflow:visible}
.runtime-map-suggestions{position:absolute;top:42px;left:0;right:0;z-index:1000;max-height:240px;overflow:auto;background:#0d2133;border:1px solid #247b91;border-radius:6px;box-shadow:0 4px 12px #0008}
.runtime-map-suggestions[hidden]{display:none}
.runtime-map-suggestions [role=option]{padding:4px 8px;cursor:pointer;border-bottom:1px solid #1a3854;font-size:13px;color:#e8f5ff}
.runtime-map-suggestions [role=option]:hover,.runtime-map-suggestions [aria-selected=true]{background:#086e84}
.runtime-map-suggestions [role=option] small{display:block;color:#a8bbce;font-size:11px}
.runtime-photo-attribution{position:absolute;bottom:4px;left:4px;right:4px;padding:4px;background:#061521dc;color:#fff;font-size:11px;z-index:2}
.runtime-photo-attribution a{color:#7ee7ef}
.runtime-location-sources,.runtime-location-research{display:flex;flex-direction:column;gap:4px;padding-top:4px;margin-top:4px;border-top:1px solid #29445f}
.runtime-location-research a{display:block;padding:4px 8px;border:1px solid #29445f;border-radius:6px;background:#0d2133;color:#67e8f9;font-size:12px}
.runtime-location-sources a{color:#67e8f9;font-size:12px}.runtime-location-sources small{color:#a8bbce;font-size:11px}
.runtime-location-online{display:grid;gap:4px;white-space:pre-line;font-size:12px}.runtime-location-online a{color:#67e8f9}
.runtime-map-search input{flex:1 1 140px;min-width:0}
.runtime-map-search input,.runtime-map-search select{background:#0d2133;color:#d9e7f4;border:1px solid #1a3854;border-radius:6px;padding:4px 8px;font-size:12px}
.runtime-location-card{display:flex;gap:4px;padding:4px;border:1px solid #193a55;border-radius:6px;background:#0b1c2d;margin-bottom:4px}
.runtime-location-card img{width:76px;height:72px;object-fit:cover;border-radius:4px;flex-shrink:0}
.runtime-location-card>div{flex:1;min-width:0}
.runtime-location-card h3{font-size:14px;margin:0 0 4px}
.runtime-location-card p,.runtime-location-card small{font-size:12px;margin:0;color:#9eb6ca}
.runtime-location-card button{align-self:flex-start;color:#13b7dc;background:#0d2133;border:1px solid #1a3854;border-radius:4px;padding:4px}
.runtime-location-card button[aria-pressed="true"]{color:#ff7a18}
[data-route="harta"] button[aria-pressed="false"]{background:#0d2133!important;color:#a7bdd0!important;box-shadow:none!important}
.runtime-map-empty{padding:4px;font-size:13px;color:#a7bdd0}
.runtime-map-detail-content{font-size:13px;color:#d9e7f4;display:flex;flex-direction:column;gap:4px;padding:4px 0}
.runtime-map-detail-content p,.runtime-map-detail-content h3{margin:0}
.runtime-google-place{border-top:1px solid #247b91;padding-top:4px;display:flex;flex-direction:column;gap:4px;min-width:0}
.runtime-place-fields{display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.runtime-place-review{border-top:1px solid #1a3854;padding-top:4px;display:flex;flex-direction:column;gap:4px}
.runtime-google-attribution{font-family:Arial,sans-serif;font-size:12px;font-weight:400;font-style:normal;color:#fff;white-space:nowrap;letter-spacing:0;display:block;padding:4px 8px}
.topbar-weather span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.runtime-panel-separator{position:absolute;top:0;bottom:0;width:4px;z-index:720;cursor:col-resize;touch-action:none;background:#18384f}
.runtime-panel-separator:hover,.runtime-panel-separator:focus-visible,.runtime-panel-dragging>.runtime-panel-separator{background:#08b5d5;outline:0}
.runtime-panel-separator[hidden]{display:none!important}
.runtime-resizable-panels{position:relative!important;gap:4px!important}
.runtime-resizable-grid{display:grid!important;grid-template-columns:var(--panel-columns)!important}
.runtime-resizable-panels>[data-resize-panel]{min-width:0!important;max-width:none!important;grid-column:auto!important;width:auto!important}
.runtime-resizable-flex>[data-resize-panel]{flex:0 0 var(--panel-width)!important;width:var(--panel-width)!important}
.runtime-panel-dragging{user-select:none;cursor:col-resize}
.runtime-panel-dragging>[data-resize-panel]{pointer-events:none}
.runtime-map-detail-content figure{margin:0}
[data-route="harta"] [data-purpose="spot-detail-sidebar"][hidden]{display:none!important}
.runtime-map-detail-content img{width:100%;max-height:240px;object-fit:cover;border-radius:6px}
.runtime-map-species{display:flex;flex-wrap:wrap;gap:4px}
.runtime-map-species a{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #1a3854;border-radius:6px}
.runtime-map-species img{width:48px;height:36px;object-fit:contain}
.runtime-map-modes,.runtime-map-actions,.runtime-map-zoom{display:flex;gap:4px;padding:4px;background:rgba(5,18,31,.92);border:1px solid #1a3854;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.32)}
.runtime-map-actions{margin-left:auto}.runtime-map-zoom{position:absolute;top:48px;right:0;flex-direction:column}
.runtime-map-toolbar button{min-height:30px;padding:4px 8px;border:1px solid transparent;border-radius:4px;color:#d9e7f4;background:#0d2133;font-size:12px;font-weight:700}
.runtime-map-toolbar button:hover,.runtime-map-toolbar button.runtime-active{color:#fff;border-color:#13b7dc;background:#087da9}
.runtime-map-zoom button{width:32px;padding-inline:4px;font-size:18px}
@media(max-width:780px){.runtime-map-toolbar{align-items:flex-start;flex-wrap:wrap}.runtime-map-actions{order:3;width:100%;margin-left:0;overflow-x:auto}}
