/* One adaptive product shell. No phone frame or separate desktop application. */
html{height:100%;scroll-padding-top:90px}body{display:block;padding:0;min-height:100dvh;background:var(--surface)}
.site-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr;background-image:url('journal/paper-tile.webp');background-size:175px}
:root[data-theme=dark] .site-shell{background-image:none}
.site-header{display:flex;align-items:center;gap:20px;padding:16px max(24px,calc((100vw - 1600px)/2));padding-top:calc(16px + env(safe-area-inset-top));border-bottom:1px solid var(--line);background:var(--paper)}
.site-brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:23px;font-weight:650;min-height:44px}.site-brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:2px;margin-top:2px}.brand-mark{background:var(--brand);color:var(--on-brand);width:44px;height:44px;border-radius:6px;display:grid;place-items:center;font-family:JournalBrush,sans-serif;font-size:30px;font-weight:400}
.brand-edition{margin-left:auto;font-size:12px;color:var(--muted);line-height:1.8}.appearance-button{margin-left:0;min-width:44px}
.tabbar{grid-row:2;display:flex;position:sticky;top:0;justify-content:center;height:auto;min-height:60px;padding:6px max(24px,calc((100vw - 1600px)/2));z-index:8;gap:16px;background:var(--paper)}
.tab-button{flex-direction:row;gap:8px;min-width:140px;min-height:48px;padding:8px 16px;border-radius:6px;font-size:14px}.tab-button.active{background:var(--blue)}
.screen{width:100%;max-width:1600px;margin:0 auto;overflow:visible;background:none;outline:0;min-width:0;padding:28px 32px 40px}
.discover-header{padding:28px 32px 20px;max-width:none;min-height:210px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.hero-paper{height:100%;object-position:center}.hero-compose{min-height:100px}.hero-compose h2{font-size:56px;line-height:1.1}.hero-compose h2 br{display:none}.departure-note{width:136px;flex-basis:136px;height:112px}.departure-note strong{font-size:40px}.header-subtitle{white-space:normal;font-size:14px}.scope-switch{width:min(360px,100%);margin-top:16px}.scope-switch button{min-height:44px;min-width:44px}
.filters{padding:20px 0 12px}.experience-list{overflow:visible;flex-wrap:wrap;gap:8px}.experience-list .select-wrap{margin-left:auto}.experience-chip{background:var(--paper);border-color:var(--line);min-width:44px}
.results,.journal-results{padding:16px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.results-heading,.results-sub,.section-caption,.empty-state,.snapshot-footer,.candidates-heading,.share-action{grid-column:1/-1}.results-heading{margin:8px 0 0!important}.results-sub{margin:0}.section-caption{padding:8px 0 0}.region-card{margin:0;height:100%;min-width:0}.card-open{min-height:88px}.card-title{font-size:27px}.card-feature{font-size:14px}.badge{font-size:12px}.region-card .card-bottom{margin-top:14px}.results-count{font-size:13px}.results-heading h3{font-size:30px}
.journal-results .journal-postcard{height:340px}.postcard-featured .postcard-open{margin-top:125px;width:57%}.postcard-split .postcard-open{padding-top:22px}.postcard-split .postcard-status{top:205px}.postcard-split .postcard-months{bottom:72px;max-width:calc(60% - 28px)}.postcard-split>.save-button{min-width:calc(60% - 28px);bottom:16px}.postcard-featured .card-feature{font-size:14px}
.page-header{padding:8px 0 24px;background:none}.page-header h2{font-size:44px}.page-header p{font-size:14px}.search-box{max-width:700px}.library-picker{max-width:700px}.search-box input{min-width:0}.select-wrap select{max-width:100%}.source-link a{color:var(--brand);overflow-wrap:anywhere}.share-action{max-width:600px;width:100%;justify-self:center}.share-action .primary-button{width:100%}
.screen.has-detail:not([data-view=map]){max-width:1080px}.detail-nav{padding:0 0 20px;background:none}.detail-hero{padding:28px;border:1px solid var(--line);border-radius:6px}.detail-content{padding:24px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.info-block{margin:0;min-width:0}.detail-content .snapshot-footer{margin:0}.detail-hero h2{font-size:40px}.detail-actionbar{position:sticky;bottom:0;z-index:7;grid-row:4;width:100%;padding:12px max(24px,calc((100vw - 1016px)/2));padding-bottom:calc(12px + env(safe-area-inset-bottom));background:var(--paper)}.detail-actionbar .primary-button{min-height:48px}.back-button,.text-button,.card-footer-link{min-width:44px;min-height:44px}
.toast{left:50%;bottom:calc(100px + env(safe-area-inset-bottom))}.skip-link{position:fixed;top:-100px;left:16px;z-index:20;background:var(--paper);padding:16px;color:var(--brand)}.skip-link:focus{top:10px}
/* The atlas is a shared view, with the same detail component and candidate actions. */
.map-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:24px;align-items:start;min-width:0}.atlas-main{min-width:0;position:sticky;top:86px}.atlas-heading{display:flex;align-items:center;justify-content:space-between;padding:4px 12px 20px}.atlas-heading h2{font-family:JournalBrush,sans-serif;font-weight:400;font-size:48px;margin:4px 0 8px}.atlas-heading p{font-size:13px;color:var(--muted)}
.atlas-stage{position:relative;isolation:isolate;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#e1f0f3 url('journal/ocean-paper.webp') center/cover;aspect-ratio:1120/720;min-height:370px}.atlas-stage svg#world-map{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:none}.atlas-country{stroke:#fff;stroke-width:.7;vector-effect:non-scaling-stroke;cursor:pointer}.atlas-country:hover,.atlas-country:focus{stroke:var(--brand);stroke-width:2;outline:none}.atlas-country.selected{stroke:#b84638;stroke-width:2}.atlas-country-label{fill:#2e4b4d;text-anchor:middle;pointer-events:none;paint-order:stroke;stroke:#edf7f3;stroke-width:2px;stroke-linejoin:round}.atlas-marker{cursor:pointer;outline:none}.atlas-marker:focus circle{stroke:#b84638}.atlas-marker-label{fill:#2e4b4d;paint-order:stroke;stroke:#f4f8f6;stroke-width:2px}.atlas-marker-count{fill:white;text-anchor:middle;font-weight:700}
.atlas-controls{position:absolute;left:12px;top:12px;display:flex;gap:6px;z-index:2}.atlas-controls button{background:var(--paper);border:1px solid var(--line);min-width:44px;min-height:44px;border-radius:5px;padding:10px;font-size:12px}.atlas-controls img{width:20px;height:20px}.atlas-legend{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:var(--muted);padding:16px 4px}.atlas-legend span{display:flex;align-items:center;gap:6px}.atlas-legend i{width:12px;height:12px;background:#d0d7d9;border:1px solid #82928c;border-radius:2px}.atlas-legend .general{background:#a2c6ac}.atlas-legend .special{background:#e6c17d}.atlas-legend .uncovered{background:#f5f6f2}.atlas-credit{font-size:11px;color:var(--muted);padding:0 4px;line-height:1.8}.atlas-credit a{color:inherit}.atlas-panel{background:var(--paper);border:1px solid var(--line);border-radius:6px;min-width:0;overflow-wrap:anywhere}.atlas-picker{display:block;padding:20px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.atlas-picker select{display:block;width:100%;min-height:44px;margin-top:8px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink);padding:10px;font-size:14px}.atlas-panel .page-header{padding:24px 20px 12px}.atlas-panel .page-header h2{font-size:36px}.map-welcome{padding:30px 24px}.map-welcome h2{font-family:JournalBrush,sans-serif;font-weight:400;font-size:36px;line-height:1.4;margin:12px 0}.map-welcome p{font-size:14px;line-height:1.9;color:var(--muted);margin-top:16px}.map-stats{display:flex;gap:48px;margin:36px 0}.map-stats strong{font-size:36px;color:var(--brand)}.map-stats small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:8px}.map-region-list{display:grid;gap:10px;padding:12px 20px 24px}.map-region-choice{text-align:left;min-height:80px;display:flex;flex-direction:column;align-items:start;gap:8px;border:1px solid var(--line);border-radius:5px;padding:14px;background:var(--surface);min-width:0}.map-region-choice strong{font-family:JournalBrush,sans-serif;font-weight:400;font-size:25px;line-height:1.4}.map-region-choice>span:last-child{font-size:12px;color:var(--muted)}.atlas-panel .detail-nav{padding:12px 16px;flex-wrap:wrap}.atlas-panel .detail-hero{border:0;border-radius:0;padding:20px}.atlas-panel .detail-hero h2{font-size:32px}.atlas-panel .detail-content{display:block;padding:16px}.atlas-panel .info-block{margin-bottom:16px}.map-cluster{position:absolute;right:12px;top:64px;width:min(310px,calc(100% - 24px));max-height:calc(100% - 80px);overflow:auto;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:6px;box-shadow:0 6px 20px #29373f30;z-index:4}.map-cluster strong{display:block;font-size:12px;color:var(--muted);padding:6px}.map-cluster button{display:block;text-align:left;width:100%;min-height:44px;padding:12px;border-top:1px solid var(--line);font-size:14px}.map-error{position:absolute;inset:80px 16px auto;padding:20px;background:var(--paper);font-size:14px;line-height:1.8}
:root[data-theme=dark] .atlas-controls img{filter:invert(1)}

/* Mobile-first: the default layout is a phone; larger screens progressively expand it. */
.map-layout{grid-template-columns:minmax(0,1fr)}.atlas-main{position:static}.atlas-stage{min-height:400px}.map-region-list{grid-template-columns:repeat(2,minmax(0,1fr))}.screen[data-view=map].has-detail .atlas-main{display:none}.atlas-panel .detail-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-panel .info-block{margin:0}.atlas-panel .detail-hero h2{font-size:36px}.site-header{padding-left:24px;padding-right:24px}.tab-button{min-width:0;flex:1}.tabbar{gap:6px;padding:6px 24px}
 .site-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom));grid-template-rows:auto 1fr}.site-header{padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));padding-top:calc(8px + env(safe-area-inset-top));gap:8px}.site-brand{font-size:19px;gap:8px}.site-brand small{font-size:10px;letter-spacing:1px}.brand-mark{width:36px;height:36px;font-size:26px}.brand-edition{display:none}.appearance-button{margin-left:auto}
 .tabbar{position:fixed;top:auto;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(72px + env(safe-area-inset-bottom));min-height:72px;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));gap:2px;border-top:1px solid var(--line);border-bottom:0}.tab-button{flex-direction:column;min-width:0;min-height:56px;font-size:11px;gap:4px;padding:4px 0}.tab-button.active{background:var(--blue);border-radius:6px}.tab-button svg{width:22px;height:22px}
 .screen{padding:12px max(12px,env(safe-area-inset-right)) 24px max(12px,env(safe-area-inset-left));grid-row:2}.discover-header{padding:8px 8px 12px;border:0;border-radius:0;min-height:0;overflow:visible}.hero-compose{min-height:88px}.hero-compose h2{font-size:40px;line-height:1.13}.hero-compose h2 br{display:block}.hero-paper{height:180px}.departure-note{flex-basis:112px;width:112px;height:88px}.departure-note strong{font-size:34px}.header-subtitle{font-size:12px}.scope-switch{width:100%;margin-top:12px}
 .filters{padding:8px 4px 10px}.experience-list{gap:6px}.experience-chip{font-size:12px;padding:8px;gap:4px;min-height:44px}.experience-list .select-wrap{margin-left:0;width:100%}.experience-list select{width:100%;max-width:100%}.results,.journal-results{grid-template-columns:minmax(0,1fr);padding:6px 0 0;gap:14px}.results-heading h3{font-size:27px}.card-title{font-size:25px}.card-feature{font-size:13px}.badge{font-size:11px}.journal-results .journal-postcard{height:292px}.postcard-featured .postcard-open{margin-top:98px;width:54%}.postcard-featured .card-feature{font-size:12px}.journal-results .postcard-split{height:222px}.postcard-split .postcard-open{padding:14px 12px 0}.postcard-split .postcard-status{top:119px;left:calc(40% + 12px);max-width:calc(60% - 22px)}.postcard-split .postcard-months{bottom:61px;left:calc(40% + 12px);max-width:calc(60% - 22px)}.postcard-split>.save-button{right:12px;bottom:10px;min-width:calc(60% - 24px)}
 .page-header{padding:14px 8px 20px}.page-header h2{font-size:34px}.page-header p{font-size:13px}.detail-nav{padding:4px 0 14px}.detail-hero{padding:20px 16px}.detail-hero h2{font-size:30px}.detail-content{display:block;padding:14px 0}.info-block{margin-bottom:14px}.detail-actionbar{grid-row:3;bottom:calc(72px + env(safe-area-inset-bottom));padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));width:100%;box-shadow:0 -4px 12px #29373f08}.source-bottom{flex-wrap:wrap}.time-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.time-month{min-width:44px}.toast{bottom:calc(156px + env(safe-area-inset-bottom))}
 .atlas-heading{padding:8px 4px 16px}.atlas-heading h2{font-size:40px}.atlas-stage{min-height:360px;aspect-ratio:auto;height:56dvh;max-height:540px}.atlas-panel{margin-top:0}.atlas-picker{padding:16px}.atlas-legend{gap:8px 12px;font-size:11px}.atlas-credit{font-size:10px}.map-region-list{grid-template-columns:minmax(0,1fr);padding:12px 16px 20px}.atlas-panel .detail-content{display:block;padding:14px 12px}.atlas-panel .info-block{margin-bottom:14px}.atlas-panel .detail-hero h2{font-size:30px}.map-welcome{padding:24px 20px}.atlas-panel .detail-nav{padding:12px}.atlas-panel .detail-nav .month-control{margin-left:auto}.atlas-panel .detail-nav .back-button{padding-left:0}
 dialog{max-height:calc(100dvh - env(safe-area-inset-top) - 24px);padding-bottom:env(safe-area-inset-bottom)}

.featured-grid{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.all-year-option{width:100%;margin-bottom:14px;min-height:48px}.featured-grid .journal-postcard{margin:0}.featured-grid .postcard-featured .postcard-open{max-width:320px}.featured-grid .postcard-split .postcard-open{max-width:400px}
@media(min-width:600px){
.map-layout{grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);}
.atlas-main{position:sticky;}
.atlas-stage{min-height:370px;aspect-ratio:1120/720;}
.map-region-list{padding:12px 20px 24px;}
.atlas-panel .detail-content{display:block;padding:16px;}
.atlas-panel .info-block{margin-bottom:16px;}
.atlas-panel .detail-hero h2{font-size:32px;}
.site-header{padding:16px max(24px,calc((100vw - 1600px)/2));padding-top:calc(16px + env(safe-area-inset-top));gap:20px;}
.tab-button{min-width:140px;flex-direction:row;min-height:48px;font-size:14px;gap:8px;padding:8px 16px;}
.tabbar{gap:16px;padding:6px max(24px,calc((100vw - 1600px)/2));position:sticky;top:0;display:flex;height:auto;min-height:60px;}
.site-shell{grid-template-rows:auto auto 1fr;}
.site-brand{font-size:23px;gap:12px;}
.site-brand small{font-size:11px;letter-spacing:2px;}
.brand-mark{width:44px;height:44px;font-size:30px;}
.appearance-button{margin-left:0;}
.tab-button.active{background:var(--blue);}
.screen{padding:28px 32px 40px;}
.discover-header{padding:28px 32px 20px;border:1px solid var(--line);border-radius:8px;min-height:210px;overflow:hidden;}
.hero-compose{min-height:100px;}
.hero-compose h2{font-size:56px;line-height:1.1;}
.hero-compose h2 br{display:none;}
.hero-paper{height:100%;}
.departure-note{flex-basis:136px;width:136px;height:112px;}
.departure-note strong{font-size:40px;}
.header-subtitle{font-size:14px;}
.scope-switch{width:min(360px,100%);margin-top:16px;}
.filters{padding:20px 0 12px;}
.experience-list{gap:8px;}
.experience-list .select-wrap{margin-left:auto;}
.results{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0 0;gap:20px;}
.journal-results{grid-template-columns:repeat(3,minmax(0,1fr));padding:16px 0 0;gap:20px;}
.results-heading h3{font-size:30px;}
.card-title{font-size:27px;}
.card-feature{font-size:14px;}
.badge{font-size:12px;}
.journal-results .journal-postcard{height:340px;}
.postcard-featured .postcard-open{margin-top:125px;width:57%;}
.postcard-featured .card-feature{font-size:14px;}
.postcard-split .postcard-status{top:205px;}
.postcard-split .postcard-months{bottom:72px;max-width:calc(60% - 28px);}
.postcard-split>.save-button{bottom:16px;min-width:calc(60% - 28px);}
.page-header{padding:8px 0 24px;}
.page-header h2{font-size:44px;}
.page-header p{font-size:14px;}
.detail-nav{padding:0 0 20px;}
.detail-hero{padding:28px;}
.detail-hero h2{font-size:40px;}
.detail-content{display:grid;padding:24px 0;}
.detail-actionbar{grid-row:4;bottom:0;padding:12px max(24px,calc((100vw - 1016px)/2));width:100%;}
.toast{bottom:calc(100px + env(safe-area-inset-bottom));}
.atlas-heading{padding:4px 12px 20px;}
.atlas-heading h2{font-size:48px;}
.atlas-picker{padding:20px;}
.atlas-legend{gap:10px 18px;font-size:12px;}
.atlas-credit{font-size:11px;}
.map-welcome{padding:30px 24px;}
.atlas-panel .detail-nav{padding:12px 16px;}
.site-shell{padding-bottom:0}.screen{grid-row:3}.tabbar{bottom:auto;left:auto;right:auto;grid-template-columns:none}.brand-edition{display:block}.source-bottom{flex-wrap:nowrap}.atlas-panel .detail-nav .month-control{margin-left:0}.atlas-panel .detail-nav .back-button{padding-left:8px}.postcard-split .postcard-open{padding-left:14px;padding-right:14px}.postcard-split .postcard-status{left:calc(40% + 14px);max-width:calc(60% - 24px)}.postcard-split .postcard-months{left:calc(40% + 14px)}dialog{max-height:min(88dvh,840px);padding-bottom:0}
.screen{padding:24px}.results{grid-template-columns:repeat(2,minmax(0,1fr))}.map-layout{grid-template-columns:minmax(0,1.2fr) minmax(330px,1fr);gap:16px}.atlas-stage{min-height:360px}.hero-compose h2{font-size:48px}.map-layout{grid-template-columns:minmax(0,1fr)}.atlas-main{position:static}.atlas-stage{min-height:400px}.map-region-list{grid-template-columns:repeat(2,minmax(0,1fr))}.screen[data-view=map].has-detail .atlas-main{display:none}.atlas-panel .detail-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-panel .info-block{margin:0}.atlas-panel .detail-hero h2{font-size:36px}.site-header{padding-left:24px;padding-right:24px}.tab-button{min-width:0;flex:1}.tabbar{gap:6px;padding:6px 24px}
.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media(min-width:900px){.screen{padding:24px}.results{grid-template-columns:repeat(2,minmax(0,1fr))}.map-layout{grid-template-columns:minmax(0,1.2fr) minmax(330px,1fr);gap:16px}.atlas-stage{min-height:360px}.hero-compose h2{font-size:48px}.atlas-main{position:sticky;top:86px}.screen[data-view=map].has-detail .atlas-main{display:block}.map-region-list{grid-template-columns:minmax(0,1fr)}.atlas-panel .detail-content{display:block}.atlas-panel .info-block{margin-bottom:16px}.atlas-panel .detail-hero h2{font-size:32px}.tabbar{padding:6px max(24px,calc((100vw - 1600px)/2));gap:16px}.tab-button{min-width:140px;flex:0 1 auto}
}
@media(min-width:1200px){.screen{padding:28px 32px 40px}.results{grid-template-columns:repeat(3,minmax(0,1fr))}.map-layout{grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:24px}.atlas-stage{min-height:370px}.hero-compose h2{font-size:56px}}
@media(min-width:1700px){.results{grid-template-columns:repeat(4,minmax(0,1fr))}.screen[data-view=candidates] .results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:500px) and (min-width:600px){.site-header{padding-top:8px;padding-bottom:8px}.tabbar{min-height:52px;padding-top:2px;padding-bottom:2px}.atlas-main{position:static}.atlas-stage{min-height:310px}.atlas-panel .detail-content{display:block}dialog{max-height:calc(100dvh - 16px)}}
.detail-actionbar{position:fixed;left:0;right:0;bottom:calc(72px + env(safe-area-inset-bottom))}.screen.has-detail{padding-bottom:110px}
@media(min-width:600px){.detail-actionbar{bottom:0}}
@media(min-width:600px){.atlas-stage{height:auto;max-height:none}.experience-list .select-wrap,.experience-list select{width:auto}}
