/* SMC 500 participant layout, inspired by Mälaren Runt. POI remain compact rows. */
@font-face{font-family:"SMC Open Sans";src:url('/assets/smc-open-sans.woff') format('woff');font-weight:100 900;font-display:swap}
@font-face{font-family:"SMC DIN";src:url('/assets/smc-din.woff') format('woff');font-weight:700;font-display:swap}
:root{--blue:#144e8c;--yellow:#ffcc32;--navy:#102f50;--ink:#142233;--muted:#53647a;--line:#dfe6ee;--bg:#eef2f6}
body{font-family:"SMC Open Sans",Arial,sans-serif}h1,h2,h3,.hero .primary{font-family:"SMC DIN",Arial,sans-serif;letter-spacing:0}
.topbar.participant-header{height:88px;padding:7px max(20px,calc((100% - 1120px)/2));display:grid;grid-template-columns:85px minmax(0,1fr) 130px;gap:16px;background:var(--blue);color:white;border:0}.participant-header>strong{text-align:center;font-size:24px;line-height:1.2}.account-button{justify-content:center;gap:5px;background:#fff;color:var(--blue);min-height:44px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-emblem{background:transparent}
main{max-width:1120px;padding:24px 24px 20px}.view{scroll-margin-top:20px}.page-title{padding:0 0 18px}.page-title h1{font-size:34px;line-height:1.15;margin:0 0 12px;letter-spacing:0}.page-title p{margin:0;line-height:1.65;color:var(--muted)}.panel{border-radius:16px;padding:24px;margin-bottom:20px;box-shadow:0 5px 20px #14223305}.panel h2{font-size:25px;margin:0 0 16px}.section-top h2{margin:0}.section-top p{margin:8px 0 0}.primary,.secondary,.danger{min-height:46px;border-radius:9px;padding:12px 16px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary{background:#e9f0f8;border:0}.primary.yellow{background:var(--yellow);color:var(--ink)}.hero{background:linear-gradient(0deg,#071526ed,#07152638),url('/assets/smc500-ride-front.jpg') center 48%/cover;min-height:350px;border-radius:16px;color:white;padding:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;margin-bottom:20px}.hero .eyebrow{color:#ffdf77;margin-bottom:12px}.hero h1{font-size:40px;letter-spacing:0;line-height:1.08}.hero p:not(.eyebrow){max-width:480px;line-height:1.7;font-size:15px}.hero .primary{font-size:22px;min-height:54px}.home-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.home-metrics>div{background:#edf2f8;border-radius:12px;padding:18px}.home-metrics strong{display:block;color:var(--blue);font-size:36px;line-height:1.2}.home-metrics span{font-size:12px;color:var(--muted)}.progress{background:#d9e4f0;height:9px}.progress i{background:var(--blue)}.muted{color:var(--muted);font-size:13px;line-height:1.7}.how-to{padding-left:24px;display:grid;gap:18px;margin:22px 0}.how-to li::marker{color:var(--blue);font-weight:bold}.how-to strong,.how-to span{display:block}.how-to span{font-size:13px;color:var(--muted);line-height:1.7;margin-top:5px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line);z-index:1500;box-shadow:0 -3px 15px #14223305}.bottom-nav .nav-item{height:70px;min-height:66px;max-width:210px;flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 4px;border:0;border-top:3px solid transparent;font-size:12px;color:#62738a}.bottom-nav .active{color:var(--blue);border-top-color:var(--blue)}.bottom-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}footer{max-width:1120px;padding:20px 24px calc(100px + env(safe-area-inset-bottom));font-size:12px}.footer-logo{gap:8px}#toast{bottom:calc(90px + env(safe-area-inset-bottom));z-index:3000}dialog{border-radius:16px}dialog h2{font-size:29px}.form{gap:14px}.form input,.form select,.form textarea{border-radius:8px;min-height:44px}.privacy-box{background:#f6f9fc;border:1px solid #cbd8e5;border-radius:12px;margin-top:12px;padding:0 14px;font-size:13px}.privacy-box summary{cursor:pointer;padding:12px 0;font-weight:700;color:var(--blue);min-height:44px}.privacy-box p{line-height:1.7;color:var(--muted)}.notice{padding:14px 18px;background:#fff6d9;border-left:4px solid var(--yellow);border-radius:8px;margin-bottom:16px;font-size:13px;line-height:1.6}.notice.error{background:#fff0f2;color:#942438;border-left-color:#942438}
.nav-setup{margin-bottom:16px}.nav-choose{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;align-items:end;gap:12px}.nav-choose label{display:grid;gap:7px;font-size:12px;font-weight:700}.nav-choose select{height:48px;width:100%;font-size:14px;border-radius:8px}.nav-choose button{height:48px}.nav-setup>.muted{margin:12px 0}.explorer{grid-template-columns:300px minmax(0,1fr);border-radius:16px}.places{height:570px}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font:700 17px "SMC DIN",Arial,sans-serif;padding:17px 15px 0;margin:0}.list-heading .quiet{font:400 10px "SMC Open Sans",sans-serif;letter-spacing:0}.search{margin:12px 14px 10px}.filter-bar{margin:0 14px 10px}.filter-bar select{font-size:11px;min-height:38px}.county-filter,.availability-filter{margin-left:14px;margin-right:14px}.place-card{padding:11px 14px;border-radius:0;border-bottom:0;min-height:64px;box-shadow:none}.place-card .place-top{margin-bottom:4px}.place-card strong{font-size:12px;margin-bottom:4px}.place-card small{font-size:10px}.place-card .tag{font-size:8px;padding:3px 5px}.place-card .sample{font-size:8px}.place-card .place-arrow{right:12px;bottom:17px}.place-card .date-status{font-size:10px;margin-top:4px}.place-list{scrollbar-width:thin}.list-pagination{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:8px 12px;border-top:1px solid var(--line);min-height:40px}.list-pagination button{min-height:32px;padding:5px 8px;background:#edf2f8;border-radius:5px}.map-wrap,#map{height:570px}.map-wrap{isolation:isolate}.locate{bottom:62px;right:14px}.map-legend{font-size:9px;max-width:calc(100% - 20px);left:10px;gap:6px}.yellow-dot{background:var(--yellow);margin-left:7px}.nav-map-controls{position:absolute;right:14px;top:14px;display:grid;gap:9px;z-index:500}.nav-map-controls button{width:44px;height:44px;min-height:44px;background:#fff;color:var(--blue);font-size:25px;border-radius:8px;border:1px solid #c4d2e1;box-shadow:0 2px 7px #0002}.nav-turn{position:absolute;left:12px;right:72px;top:14px;z-index:500;display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:center;background:var(--blue);color:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 4px 18px #14223344;pointer-events:none}.nav-turn>span{font:700 50px/1 Arial,sans-serif;text-align:center}.nav-turn strong{font-size:27px;line-height:1.2;color:var(--yellow)}.nav-turn p{font-size:16px;line-height:1.3;margin:5px 0 0}.nav-trip{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:20px;align-items:center;margin-top:14px;margin-bottom:10px;padding:17px 20px}.nav-trip small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.nav-trip strong{font-size:17px;line-height:1.4;display:block}.arrival-button{width:100%;font-size:18px;margin-top:10px;min-height:54px}.nav-quality,.map-attribution{font-size:11px;line-height:1.7;margin:10px 3px}.map-attribution{color:var(--muted)}.nav-position-shell{background:none;border:0}.nav-position{fill:#144e8c;stroke:#fff;stroke-width:2px;filter:drop-shadow(0 2px 3px #0005)}
body.is-navigating .places{display:none}body.is-navigating .explorer{grid-template-columns:1fr}body.nav-fullscreen{overflow:hidden}body.nav-fullscreen #nav-map-shell{position:fixed;inset:0 0 125px;height:auto;z-index:2000;border-radius:0}body.nav-fullscreen #map{height:100%}body.nav-fullscreen #nav-trip{position:fixed;bottom:0;left:0;right:0;min-height:125px;margin:0;border-radius:0;z-index:2100;padding-bottom:calc(16px + env(safe-area-inset-bottom))}body.nav-fullscreen #nav-checkin{position:fixed;bottom:130px;left:12px;right:12px;width:calc(100% - 24px);z-index:2101;box-shadow:0 4px 20px #0003}body.nav-fullscreen dialog{z-index:4000}.arrival-distance{font-size:14px!important;color:var(--blue)!important}.arrival-actions{display:grid;gap:12px}
@media(max-width:760px){main{padding:18px 16px 16px}.participant-header.topbar{grid-template-columns:64px minmax(0,1fr) 110px;padding:7px 16px;height:78px;gap:10px}.participant-header>strong{font-size:21px}.account-button{font-size:11px;padding:10px 8px;max-width:110px}.hero{min-height:310px;padding:24px}.hero h1{font-size:34px}.hero .primary{width:100%;font-size:21px}.hero p:not(.eyebrow){font-size:13px}.panel{padding:20px}.section-top{flex-direction:row;align-items:center}.section-top .secondary{font-size:11px;padding:10px}.page-title h1{font-size:29px}.nav-choose{grid-template-columns:1fr 1fr}.nav-choose>label:first-child{grid-column:1/-1}.nav-choose select{font-size:13px}.nav-choose button{font-size:13px}.explorer{display:flex;flex-direction:column-reverse}.map-wrap,#map{height:390px}.places{height:480px;max-height:480px}.place-list{max-height:none;flex:1}.list-heading{font-size:19px}.place-card{min-height:60px}.place-card strong{font-size:13px}.nav-turn{padding:12px;grid-template-columns:40px 1fr;gap:8px}.nav-turn>span{font-size:40px}.nav-turn strong{font-size:24px}.nav-turn p{font-size:14px}.nav-trip{gap:12px;grid-template-columns:minmax(0,1fr) auto auto;padding:16px}.nav-trip>button{grid-column:1/-1;min-height:42px}.nav-trip strong{font-size:14px}.nav-map-controls{right:12px;top:14px}.nav-map-controls button{height:42px;width:42px}.map-legend{font-size:8px}.home-metrics strong{font-size:30px}.home-metrics span{font-size:10px}footer{padding-left:16px;padding-right:16px}.bottom-nav .nav-item{font-size:11px}.stats-grid{gap:8px}.stat-tile{padding:16px 12px}.stat-tile strong{font-size:29px}.stat-tile span{font-size:10px}body.nav-fullscreen #nav-map-shell{bottom:175px}body.nav-fullscreen #nav-trip{min-height:175px}body.nav-fullscreen #nav-checkin{bottom:180px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

body.is-navigating #nav-setup{display:none}.tabs{flex-wrap:wrap;gap:16px}.map-wrap .leaflet-control-zoom{display:none}

/* The native iPhone map occupies exactly the same map rectangle. All chrome stays shared. */
html.native-apple,html.native-apple body{background:transparent!important}html.native-apple #map{visibility:hidden}html.native-apple .map-wrap,html.native-apple .explorer{background:transparent!important}html.native-apple .leaflet-control-container{display:none}

html.native-apple .places{background:#fff}

/* Official logo and yellow 500 panel have exactly the same visible width. */
.participant-header .brand-emblem{width:72px;min-width:0;padding:0;border-radius:0;letter-spacing:0}.participant-header .brand-emblem img{width:100%;height:auto;object-fit:contain}.participant-header .brand-emblem>span{width:100%;margin:2px 0 0;padding:1px 0;font-size:23px;line-height:1}
@media(max-width:760px){.participant-header .brand-emblem{width:60px}.participant-header .brand-emblem>span{margin:0;padding:2px 0;font-size:20px}}

.nav-choose{grid-template-columns:minmax(0,1fr) auto}.nav-choose>label:first-child{grid-column:auto}@media(max-width:760px){.nav-choose{grid-template-columns:1fr 1fr}.nav-choose>label:first-child{grid-column:auto}}

.level-summary{margin:16px 0 4px}.level-summary>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.level-badge{display:inline-block;background:var(--blue);color:#fff;padding:9px 16px;border-radius:24px;font-size:17px}.level-100{background:#985825}.level-200{background:#dce3eb;color:#293c51}.level-300{background:#ffcc32;color:#102f50}.level-500{background:#102f50;color:#ffdf77}.level-summary p{font-size:13px;line-height:1.65;color:var(--muted)}.level-summary .progress{height:7px}.level-details{margin-top:18px}.level-details summary{cursor:pointer;font-weight:700;color:var(--blue)}.level-list{list-style:none;padding:0;margin:12px 0}.level-list li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.level-list li.achieved{color:var(--blue);font-weight:700}
/* Fullscreen reveals only the map and navigation chrome, also with a transparent native map. */
body.nav-fullscreen *{visibility:hidden}
body.nav-fullscreen #nav-map-shell,body.nav-fullscreen #nav-map-shell *,body.nav-fullscreen #nav-trip,body.nav-fullscreen #nav-trip *,body.nav-fullscreen #nav-checkin,body.nav-fullscreen dialog[open],body.nav-fullscreen dialog[open] *{visibility:visible}
html.native-apple #map,html.native-apple #map *{visibility:hidden!important}

.poi-description{white-space:pre-line}

.route-preference{display:flex;align-items:center;gap:8px;margin:14px 0;font-size:14px;font-weight:600}.route-preference input{width:20px;height:20px;accent-color:var(--blue)}

/* Map first, route settings directly below it, destination selection alongside/below. */
.explorer{grid-template-rows:570px auto;align-items:stretch}.explorer>.places{grid-column:1;grid-row:1 / span 2;height:auto;max-height:900px;min-height:0}.explorer>#nav-map-shell{grid-column:2;grid-row:1}.explorer>#nav-setup{grid-column:2;grid-row:2;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none}.nav-selection{margin:0 0 12px;color:var(--blue);font-weight:700;font-size:14px}.is-navigating .explorer{grid-template-rows:570px}.is-navigating .explorer>#nav-map-shell{grid-column:1}
@media(max-width:760px){.explorer{display:flex;flex-direction:column}.explorer>#nav-map-shell{order:0;flex-shrink:0}.explorer>#nav-setup{order:1;padding:18px 16px}.explorer>.places{order:2;height:480px;max-height:480px;flex-shrink:0}.places .place-list{min-height:0}}

/* True projected Sweden silhouette and participant's coloured level brooch. */
.hero{position:relative;min-height:340px;background-position:center 48%;overflow:hidden}.hero>h1,.hero>p,.hero>.primary{position:relative;z-index:1}.hero h1,.hero p:not(.eyebrow){max-width:47%}.hero-sweden{position:absolute;top:24px;bottom:24px;right:145px;width:auto;height:calc(100% - 48px);max-width:27%;object-fit:contain;filter:drop-shadow(0 3px 8px #07152666);pointer-events:none}.hero-brooch{position:absolute;top:16px;right:16px;width:106px;height:106px;padding:0;min-height:0;border:0;background:transparent;z-index:3;filter:drop-shadow(0 4px 7px #0007);cursor:pointer}.hero-brooch svg{display:block;width:100%;height:100%}.hero-brooch:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:50%}.level-badge[class]{background:var(--level-fill);color:var(--level-ink)}.level-color-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:8px;vertical-align:middle;border:1px solid #0002}
@media(max-width:760px){.hero{min-height:350px;padding:24px 20px;background-position:48% center;justify-content:center}.hero h1{max-width:calc(100% - 90px);font-size:30px;margin:0 0 12px}.hero p:not(.eyebrow){max-width:calc(100% - 82px);line-height:1.55;margin:0 0 18px}.hero .eyebrow{max-width:calc(100% - 90px);font-size:9px;margin:0 0 12px}.hero .primary{min-height:50px;font-size:20px}.hero-sweden{top:112px;right:18px;bottom:auto;height:120px;max-width:65px}.hero-brooch{top:12px;right:12px;width:78px;height:78px}}

/* Complete supplied SMC 500 artwork, including its yellow panel. */
.participant-header .brand-emblem{display:flex;align-items:center}.participant-header .brand-emblem img{display:block}.footer-logo .smc-footer-mark{display:block;width:56px;height:auto}

/* Matching raised SMC-blue/gold marks with a single-line mobile slogan. */
.brand-emblem img,.launch-intro img,.footer-logo img{filter:drop-shadow(0 3px 3px #06182e55)}
.participant-header.topbar{grid-template-columns:72px minmax(0,1fr) 64px}
.participant-header>.header-slogan{font-family:"SMC DIN",Arial,sans-serif;white-space:nowrap;min-width:0;font-size:clamp(18px,2.7vw,26px);line-height:1.2}
.participant-header .account-button{display:flex;width:64px;max-width:64px;height:61px;min-height:0;padding:12px;font-size:0;gap:0;background:#144e8c;border:1px solid #fdd028;border-radius:15px;box-shadow:0 3px 6px #06182e55}
.participant-header .account-button::before{content:"";display:block;width:30px;height:30px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdd028' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M4.5 21v-2a7.5 7.5 0 0 1 15 0v2'/%3E%3C/svg%3E")}
@media(max-width:760px){.participant-header.topbar{grid-template-columns:60px minmax(0,1fr) 54px;gap:4px}.participant-header .brand-emblem{width:60px}.participant-header .account-button{width:54px;max-width:54px;height:51px;padding:10px;border-radius:13px}.participant-header .account-button::before{width:26px;height:26px}.participant-header>.header-slogan{font-size:clamp(14px,3.8vw,19px)}}

.participant-header .account-button.is-signed-out{display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.1;padding:4px;white-space:pre-line;text-align:center;color:#fdd028;font-family:"SMC Open Sans",Arial,sans-serif}.participant-header .account-button.is-signed-out::before{display:none}@media(max-width:760px){.participant-header .account-button.is-signed-out{font-size:13px}}

html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}@media(max-width:760px){input,select,textarea{font-size:16px!important}}

#back-to-top.footer-logo{margin:0;flex:0 0 auto;display:inline-flex;align-items:center;padding:0;background:transparent;border:0;border-radius:8px;min-width:44px;min-height:44px}

.admin-access-list{display:grid;gap:14px}.admin-access-person{display:grid;gap:8px;border:1px solid var(--line);border-radius:14px;padding:16px;overflow-wrap:anywhere}.admin-access-person button{justify-self:start;text-align:left}.admin-access-person button:disabled{cursor:not-allowed}

.level-guide>p{margin:0 0 18px}.level-guide-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}.level-guide-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}.level-guide-name{display:flex;align-items:center;gap:10px;font-size:14px}.level-guide-name i{width:18px;height:18px;border:1px solid;border-radius:50%;flex:0 0 auto;box-shadow:0 1px 2px #0002}.level-guide-count{font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:900px){.level-guide-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.level-guide-list{grid-template-columns:1fr}.level-guide-list li:last-child{border-bottom:0}}

.level-guide-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.level-guide-count{grid-column:3}.level-guide-current{font-size:10px;line-height:1.3;font-weight:700;color:var(--blue);background:#e9f0f8;border-radius:12px;padding:4px 6px;white-space:nowrap}.level-guide-list li.is-current-level{border-bottom-color:#b8cce2}.level-guide-list li.is-current-level .level-guide-name strong{color:var(--blue)}

body.welcome-open{overflow:hidden}.welcome-dialog{width:min(840px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border-radius:20px;overflow:hidden;background:#fff}.welcome-dialog[open]{display:flex;flex-direction:column}.welcome-header{flex:0 0 auto;display:flex;align-items:center;gap:18px;padding:14px 24px;border-bottom:1px solid var(--line);background:#fff}.welcome-header>img{width:52px;height:auto;filter:drop-shadow(0 2px 3px #06182e33)}.welcome-header>span{font-family:"SMC DIN",Arial,sans-serif;font-size:20px;color:var(--blue)}.welcome-header>button{margin-left:auto;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d5dfeb;border-radius:10px;font-size:13px;font-weight:700;white-space:nowrap}.welcome-header>button span{font-size:22px;font-weight:400;line-height:1}.welcome-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.welcome-hero{position:relative;isolation:isolate;min-height:285px;display:flex;align-items:center;padding:32px 36px;overflow:hidden;background:linear-gradient(90deg,#071d36eb,#071d365c),url('/assets/smc500-ride-front.jpg') center 43%/cover;color:white}.welcome-hero>div{position:relative;z-index:1;max-width:70%}.welcome-hero .eyebrow{color:#ffdf77;font-size:10px;letter-spacing:2px}.welcome-hero h1{font-size:46px;letter-spacing:-1px;line-height:1.1;margin:0}.welcome-hero p:not(.eyebrow){font-size:15px;line-height:1.65;color:#fff;margin:18px 0 0}.welcome-sweden{position:absolute;right:28px;top:24px;height:calc(100% - 48px);width:auto;max-width:25%;filter:drop-shadow(0 3px 8px #07152666)}.welcome-copy{padding:26px 36px 16px}.welcome-copy h2{font-size:27px;margin:0 0 10px}.welcome-copy>p{margin:0;font-size:14px;line-height:1.75}.welcome-features{list-style:none;padding:0;margin:24px 0;display:grid;gap:20px}.welcome-features li{display:flex;gap:14px;align-items:flex-start}.welcome-number{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#edf3fa;color:var(--blue);font-size:12px;font-weight:800}.welcome-features h3{font-family:"SMC Open Sans",Arial,sans-serif;font-size:16px;margin:0 0 5px;letter-spacing:0}.welcome-features p{font-size:13px;line-height:1.65;margin:0}.welcome-copy .welcome-promise{color:var(--blue);font-weight:700;padding-top:14px;border-top:1px solid var(--line)}.welcome-actions{display:block;flex:0 0 auto;margin:0;padding:16px 36px 20px;border-top:1px solid var(--line);background:#fff}.welcome-actions>p{font-size:12px;margin:0 0 10px;color:var(--muted)}.welcome-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.welcome-actions button{width:100%;min-height:48px;font-size:15px}.welcome-actions .secondary{background:#edf3fa;color:var(--blue)}@media(max-width:560px){.welcome-dialog{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0}.welcome-header{padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:12px}.welcome-header>img{width:42px}.welcome-header>span{font-size:14px;max-width:145px;line-height:1.3}.welcome-header>button{font-size:12px;padding:6px 10px}.welcome-hero{min-height:248px;padding:28px 22px;background-position:53% 43%}.welcome-hero h1{font-size:34px}.welcome-hero>div{max-width:83%}.welcome-hero .eyebrow{font-size:8px;letter-spacing:1.5px}.welcome-hero p:not(.eyebrow){font-size:13px;max-width:220px}.welcome-sweden{right:13px;top:38px;height:calc(100% - 76px);max-width:23%;opacity:.85}.welcome-copy{padding:22px 22px 18px}.welcome-copy h2{font-size:24px}.welcome-copy>p{font-size:13px}.welcome-features{gap:18px;margin:20px 0}.welcome-features h3{font-size:14px}.welcome-features p{font-size:12px}.welcome-number{flex-basis:30px;height:30px;font-size:10px}.welcome-actions{padding:12px 22px calc(12px + env(safe-area-inset-bottom))}.welcome-actions>p{font-size:11px}.welcome-actions button{font-size:14px}.welcome-actions>div{gap:10px}}@media(max-width:350px){.welcome-header>span{font-size:12px}.welcome-hero h1{font-size:30px}.welcome-copy{padding-left:18px;padding-right:18px}.welcome-actions{padding-left:18px;padding-right:18px}}

/* Keep all app views out of the logged-out screen; modal login remains available. */
html.auth-pending body>header,html.auth-pending body>main,html.auth-pending body>footer,html.auth-pending body>nav,
html.auth-required body>header,html.auth-required body>main,html.auth-required body>footer,html.auth-required body>nav,
html.auth-pending #welcome-dialog,html.auth-required #welcome-dialog{display:none!important}
html.auth-pending body,html.auth-required body{background:#144e8c;min-height:100dvh}
html.auth-required #modal .close,html.auth-pending #modal .close{display:none!important}
