/* 1.2.2: compact navigation, full mobile map, shared journal and themes. */
.topbar{height:auto;min-height:62px;padding-top:8px;padding-bottom:8px}.top-actions{flex-wrap:wrap}.top-actions .button{padding:8px 12px;min-height:40px}#nav-apk{white-space:nowrap}#nav-apk small{font-size:10px}.test-period-notice{padding:7px 12px!important;margin-bottom:14px!important;font-size:11px!important;line-height:1.45!important}.heading{gap:20px}.daylight-strip{display:flex;align-items:center;gap:22px;font-size:12px;line-height:1.7}.daylight-strip .date-stamp{display:block;padding:0;border:0;white-space:nowrap}#solar-times{text-align:right;max-width:230px}#solar-times small{display:block;font-size:10px}.journal-tabs{display:flex;gap:8px;margin:0 0 16px}.journal-tabs[hidden]{display:none}.journal-tabs .active{background:var(--green);color:white}.latest-section{margin-bottom:20px}.latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.latest-catch{position:relative;aspect-ratio:1;overflow:hidden;border-radius:12px;background:var(--green);padding:0;color:white}.latest-catch img{width:100%;height:100%;object-fit:cover}.latest-catch span{position:absolute;bottom:0;left:0;right:0;padding:22px 8px 8px;background:linear-gradient(transparent,#000c);text-align:left;font-size:clamp(10px,1.2vw,15px);line-height:1.4}.session-card{padding:20px 0;border-top:1px solid var(--line)}.session-card>div{display:flex;gap:8px;flex-wrap:wrap}.session-notes{white-space:pre-wrap}.theme-picker{display:grid;gap:8px;max-width:320px;margin-bottom:24px}.form textarea{min-height:90px;resize:vertical}select,textarea{max-width:100%;font:inherit;border:1px solid var(--line);border-radius:9px;padding:10px;color:inherit;background:var(--paper)}.map-fullscreen .water-panel{display:none}.map-fullscreen{grid-template-columns:1fr!important;grid-template-rows:1fr!important}.map-fullscreen .map-stage,.map-fullscreen #map{height:100%;min-height:0}.map-fullscreen .map-badge{top:18px;max-width:calc(100% - 110px)}
[data-theme=dark]{color-scheme:dark;--paper:#141b18;--ink:#e1ebe4;--green:#71bc99;--muted:#a4b4aa;--line:#39483f;background:#141b18;color:#e1ebe4}
[data-theme=dark] body,[data-theme=dark] .workspace,[data-theme=dark] main{background:#141b18;color:#e1ebe4}
[data-theme=dark] :is(.sidebar,.topbar,.surface,.water-panel,.panel-title,.panel-footer,.catalog-card,.catch-card,.stat-card,.summary-grid>div,.search-box,.water-dialog,dialog,.account,.button:not(.primary),input,select,textarea,.form-status,.notice,.empty,.settings-grid){background:#202c25;color:#e1ebe4;border-color:#3e5145}
[data-theme=dark] :is(h1,h2,h3,p,strong,.weight,.stat-number,.breadcrumb,.nav,.brand,.date-stamp,.water-row,.catch-card .info,.form-note,.edition,.tiny,.stat-caption,.account small){color:inherit}
[data-theme=dark] .button.primary,[data-theme=dark] .journal-tabs .active{background:#226345;color:white}
[data-theme=dark] .test-period-notice{background:#36331c!important;color:#e9dfab!important}
[data-theme=dark] .nav.active{background:#2e493b;color:#e3f5e9}
@media(max-width:850px){.heading{flex-wrap:wrap}.daylight-strip{width:100%;justify-content:space-between}.daylight-strip .date-stamp{display:block}}
@media(max-width:600px){.topbar{padding:7px 12px;min-height:52px;gap:8px;flex-wrap:wrap}.breadcrumb{display:none}.top-actions{width:100%;display:flex;gap:6px}.top-actions #mobile-account{flex:1;min-width:100px;max-width:none;overflow-wrap:anywhere;font-size:11px}.top-actions .button{font-size:11px;padding:8px;min-height:38px}.heading{margin-bottom:16px}.heading h1{font-size:27px}.heading p{margin-bottom:0}.daylight-strip{font-size:11px;gap:10px;align-items:flex-start}#solar-times{max-width:57%}.sidebar{height:60px}.nav{min-width:0;flex:1;font-size:8px;padding:4px}.sidebar nav{width:100%}.workspace{margin-bottom:60px}.map-fullscreen{position:fixed;inset:0;width:100vw;height:100dvh;border-radius:0;z-index:1200;padding:0}.map-fullscreen .map-stage,.map-fullscreen #map{height:100dvh;min-height:100dvh;width:100vw}.close-fullscreen{position:fixed!important;z-index:1300;top:12px;right:12px}.water-dialog{max-width:100vw;width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:20px;box-sizing:border-box}.latest-grid{gap:5px}.latest-catch{border-radius:8px}.latest-section{padding:14px}.latest-catch span{padding:18px 5px 5px;font-size:10px}.session-card .button{font-size:11px}.test-period-notice{margin:8px 0 12px!important}}

#nav-apk small{display:block;line-height:1.25;font-size:9px}
@media(min-width:601px){#mobile-account{display:inline-flex;max-width:280px;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:12px}.top-actions .connection{display:none}}
