.v3-home{--ink:#103539;color:var(--ink);background:#fff;min-height:100%;padding-bottom:90px;font-family:Arial,sans-serif}.v3-home *{box-sizing:border-box}.v3-home button,.v3-dialog button{cursor:pointer}.v3-home :is(svg,.bnh-asset-icon),.v3-dialog :is(svg,.bnh-asset-icon),#v3-bottom :is(svg,.bnh-asset-icon){width:24px;height:24px;flex-shrink:0}.v3-hero{position:relative;height:560px;min-height:500px;color:white;background:#103539;isolation:isolate}.v3-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.v3-hero:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#092b3738,transparent 30%,#002b28a8 65%,#002724 100%)}.v3-top{display:flex;justify-content:space-between;align-items:flex-start;padding:30px 24px}.v3-top>img{width:112px;height:90px;object-fit:contain}.v3-top button{position:relative;background:transparent;border:0;color:white;padding:10px;min-width:44px;min-height:44px}.v3-top i{position:absolute;right:9px;top:7px;width:7px;height:7px;background:#d8b552;border-radius:50%}.v3-hero-copy{position:absolute;bottom:40px;left:24px;right:24px}.v3-eyebrow{font-size:13px;letter-spacing:.04em}.v3-home h1{font:500 clamp(32px,7.5vw,46px)/1.1 Georgia,serif!important;color:white!important;margin:10px 0!important;letter-spacing:-.02em}.v3-hero-copy p{margin:9px 0;font-size:15px;line-height:1.4;color:white}.v3-location{display:flex;gap:7px;align-items:center}.v3-location :is(svg,.bnh-asset-icon){width:19px;height:19px}.v3-count{display:flex;align-items:center;gap:12px;background:#00393480;border:1px solid #ffffff38;border-radius:12px;padding:12px 16px;margin-top:22px;backdrop-filter:blur(10px)}.v3-count strong{font:500 30px/1 Georgia,serif}.v3-count span{font-size:13px;color:#eef5f0}.v3-sheet{position:relative;margin-top:-20px;border-radius:20px 20px 0 0;background:#fff;padding:18px 20px 26px}.v3-sheet section+section{margin-top:22px}.v3-sheet header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.v3-home h2,.v3-dialog h2{font:500 22px/1.2 Georgia,serif!important;color:#103539!important;margin:0!important}.v3-sheet header button{border:0;background:none;color:#103539;font-size:12px;min-height:44px;white-space:nowrap}.v3-weather{border:1px solid #e2e5df;border-radius:12px;min-height:72px;background:#fafbf8}.v3-weather .v2-weather,.v3-weather-empty{position:static!important;display:flex;align-items:center;gap:12px;padding:12px 14px!important;width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#103539!important;text-align:left!important;transform:none!important}.v3-weather .v2-weather[hidden]{display:none!important}.v3-weather:has([hidden]):after{content:'Väder hämtas för resmålet…';display:block;padding:24px 14px;font-size:13px;color:#657578}.v3-weather strong{display:block;font-size:25px;font-weight:500}.v3-weather small{display:block;font-size:12px;color:#66787a}.v3-weather-icon{font-size:30px}.v3-weather-empty>:is(svg,.bnh-asset-icon){color:#d6a329;width:32px;height:32px}.v3-weather-empty strong{font-size:15px}.v3-activity{width:100%;display:flex;align-items:center;gap:12px;padding:14px 12px;background:#fafbf8;border:1px solid #e2e5df;border-radius:12px;text-align:left;color:#103539}.v3-activity>span:nth-child(2){flex:1;min-width:0}.v3-activity strong{display:block;font-size:14px}.v3-activity small{display:block;font-size:12px;line-height:1.5;margin-top:3px}.v3-activity-icon{width:48px;height:52px;display:grid;place-items:center;background:#eaf0e8;border-radius:9px}.v3-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.v3-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:88px;padding:12px 3px;border:1px solid #e2e5df;border-radius:12px;background:#fafbf8;color:#103539;font-size:11px}.v3-shortcuts :is(svg,.bnh-asset-icon){width:27px;height:27px}.v3-empty,.v3-muted{font-size:14px;color:#66787a;padding:12px 0}#gamebook-bottom-nav{display:none!important}#v3-bottom{position:fixed;bottom:0;left:0;right:0;z-index:65;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e4e8e2;padding:8px 6px calc(8px + env(safe-area-inset-bottom,0px));min-height:70px;max-width:100%;margin:auto}#v3-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:none;color:#536d7b;font:11px Arial,sans-serif;min-height:48px;flex:1;cursor:pointer}#v3-bottom button[aria-current]{color:#073b32;font-weight:bold}#v3-bottom button[aria-current] :is(svg,.bnh-asset-icon){stroke-width:2}.v3-dialog{color:#103539;background:#fff;border:1px solid #dfe5dd;border-radius:20px;width:calc(100% - 32px);max-width:440px;max-height:85dvh;padding:22px;box-shadow:0 20px 80px #002d2833}.v3-dialog::backdrop{background:#052b2866;backdrop-filter:blur(4px)}.v3-dialog header{display:flex;align-items:center;justify-content:space-between}.v3-dialog header button{border:0;background:none;font-size:28px;padding:8px;color:#103539}.v3-dialog p{font:14px/1.5 Arial,sans-serif;color:#627674}.v3-choices label{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #e9ece7;font:15px Arial,sans-serif}.v3-choices label span{flex:1}.v3-choices input{width:20px;height:20px;accent-color:#073b32}.v3-save{width:100%;padding:15px;border:0;border-radius:10px;background:#073b32;color:white;margin-top:20px;font-size:15px}.v3-more button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 0;border:0;border-bottom:1px solid #e9ece7;background:white;text-align:left;font-size:15px;color:#103539}.v3-more button :is(svg,.bnh-asset-icon):last-child{margin-left:auto;width:17px}.v3-home button:focus-visible,#v3-bottom button:focus-visible,.v3-dialog button:focus-visible{outline:2px solid #ae8729;outline-offset:3px}@media(min-width:760px){.v3-home{max-width:1000px;margin:auto}.v3-hero{height:610px}.v3-hero-copy{left:40px;right:40px}.v3-count{width:330px}.v3-sheet{padding:26px 40px 40px}.v3-shortcuts{gap:14px}.v3-shortcuts button{font-size:14px;min-height:104px}#v3-bottom{max-width:1000px}.v3-top{padding:32px 40px}}

.v3-top>img{filter:brightness(0) invert(1)}

/* V3 warm, unified surfaces and lighter editorial hierarchy. */
.v3-home{--v3-paper:#f8f7f3;--v3-border:#e3e3df;background:var(--v3-paper)}
.v3-sheet{background:var(--v3-paper)}
.v3-weather,.v3-activity,.v3-shortcuts button{background:transparent;border-color:var(--v3-border)}
.v3-activity-icon{background:#eeefe9}
.v3-home h1{font-size:clamp(29px,6.8vw,40px)!important}
.v3-home h2{font-size:20px!important;letter-spacing:-.025em}
.v3-sheet header{margin-bottom:8px}
.v3-sheet section+section{margin-top:18px}
.v3-see-all{display:flex;align-items:center;gap:12px}
.v3-see-all span{text-decoration:underline;text-underline-offset:3px}
.v3-see-all :is(svg,.bnh-asset-icon){width:20px;height:20px}
.v3-weather .v2-weather{gap:12px;min-height:84px}
.v3-home .v3-weather-art{width:52px!important;height:52px!important;flex-shrink:0}
.v3-weather-main{flex:1;min-width:0}
.v3-weather-main strong{font:500 32px/1.1 Georgia,serif;color:#103539}
.v3-weather-main small{margin-top:4px;line-height:1.3}
.v3-weather-details{max-width:108px;text-align:left}
.v3-weather-details b{font-size:12px;line-height:1.25;display:block;font-weight:600}
.v3-weather-details small{margin-top:8px;white-space:nowrap;font-size:11px}
.v3-weather-details small span{margin-left:7px}
.v3-weather .v2-weather>:is(svg,.bnh-asset-icon):last-child{width:18px;height:18px}
#v3-bottom{background:#faf9f6;border-top-color:#e6e5e0}
@media(max-width:360px){.v3-weather .v2-weather{gap:8px;padding:12px 10px!important}.v3-home .v3-weather-art{width:44px!important;height:44px!important}.v3-weather-details{max-width:86px}.v3-weather-details small span{margin-left:3px}}

.v3-count{width:100%;max-width:480px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:13px 0}
.v3-count>:is(div,button){text-align:center;padding:0 8px;min-width:0;display:flex;flex-direction:column;gap:5px}
.v3-count>:is(div,button)+:is(div,button){border-left:1px solid #ffffff40}
.v3-count strong{font-size:28px;line-height:1.1}
.v3-count span{font-size:12px}
@media(max-width:360px){.v3-count strong{font-size:24px}.v3-count span{font-size:11px}}

.v3-count{grid-template-columns:repeat(4,minmax(0,1fr))}.v3-count>:is(div,button){padding:0 4px}.v3-count strong{font-size:26px}.v3-count span{font-size:11px}.v3-weather-details .v3-wind{margin-top:4px}@media(max-width:360px){.v3-count strong{font-size:22px}.v3-count span{font-size:10px}}

.v3-hero-editor .bnh-hero-preview{border-radius:18px;overflow:hidden;padding:0!important;max-width:none!important}
.v3-hero-editor .bnh-hero-preview:after,.v3-hero-editor .bnh-hero-preview:before{display:none!important}
.v3-hero-editor .v3-hero{height:560px!important;min-height:560px!important;width:100%;margin:0}
.v3-hero-editor .v3-hero-image{object-position:50% 50%;transform:none!important}
.v3-hero-editor .hero-advanced-field{display:none!important}
.v3-hero-editor .v3-home{padding:0!important;min-height:0!important}
.v3-hero-editor .v3-hero-copy{left:24px;right:24px}
.v3-hero-editor .v3-top{padding:30px 24px}

.v3-home{min-height:0;padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}.v3-sheet{padding-bottom:10px}@media(min-width:760px){.v3-sheet{padding-bottom:10px}}

/* The legacy content container already reserves nav space; use one reserve on home. */
#content-view:has(>.v3-home){padding-bottom:0!important}
#v3-bottom{box-sizing:border-box;height:calc(70px + env(safe-area-inset-bottom,0px));min-height:70px;align-items:center}
#v3-bottom button{box-sizing:border-box;height:52px;min-height:48px!important;padding:0!important;line-height:1.2}
.v3-weather .v2-weather{font-family:Arial,sans-serif!important}
.v3-weather-details b,.v3-weather-details small,.v3-weather-main small{font-family:Arial,sans-serif!important}

.v3-home h2{font-size:18px!important}
.v3-count strong{font-family:Arial,sans-serif!important;font-size:26px!important;font-weight:500!important;font-variant-numeric:lining-nums tabular-nums!important;font-feature-settings:"lnum" 1,"tnum" 1;line-height:32px!important;height:32px;display:block;margin:0!important;padding:0!important}
.v3-count>:is(div,button){display:grid;grid-template-rows:32px 16px;align-content:center;gap:5px}
.v3-brand{width:112px;display:flex;flex-direction:column;align-items:center;gap:5px;color:white}
.v3-brand img{display:block;width:112px;height:72px;object-fit:contain;filter:brightness(0) invert(1)}
.v3-brand span{font:500 11px/1.2 Arial,sans-serif;letter-spacing:3.2px;white-space:nowrap;padding-left:3px}
.v3-custom-icon{position:absolute;height:auto;max-height:180px;object-fit:contain;transform:translate(-50%,-50%);z-index:2}
.v3-hero-editor .v3-custom-icon{cursor:move;touch-action:none;outline:1px dashed #ffffff90;outline-offset:4px}
.v3-home .v3-tagline{position:absolute;right:24px;top:31%;width:104px;height:110px;pointer-events:none;overflow:visible}
.v3-icon-controls{margin-top:18px;border-top:1px solid #dce3db;padding-top:16px}.v3-icon-controls label{display:block;margin:14px 0}.v3-icon-controls input{display:block;width:100%;margin-top:8px}

/* Compact first screen, with the slogan beside the trip information. */
.v3-hero{height:var(--v3-hero-height,clamp(300px,calc(100svh - 510px),390px));min-height:300px}
.v3-hero-copy{bottom:32px}
.v3-hero-copy h1,.v3-hero-copy>p{max-width:calc(100% - 94px)}
.v3-home .v3-hero-copy .v3-tagline{top:0;right:0;width:84px;height:94px}
.v3-brand{gap:0}
.v3-brand img{height:auto;max-height:72px;margin-bottom:-7px}
.v3-brand span{line-height:1.1}
.v3-count{margin-top:16px}
.v3-hero-editor .v3-hero{height:var(--v3-hero-height,334px)!important;min-height:300px!important}
@media(min-width:760px){.v3-hero{height:var(--v3-hero-height,clamp(300px,calc(100svh - 510px),390px))}.v3-home .v3-hero-copy .v3-tagline{right:12px;width:104px;height:110px}.v3-hero-copy h1,.v3-hero-copy>p{max-width:calc(100% - 120px)}}
.v3-top>button{margin-top:12px}

/* V3 owns its edge-to-edge safe areas instead of the legacy PWA offsets. */
html:has(#content-view>.v3-home){padding:0!important;min-height:100%!important;height:100%!important;background:#103539!important;background-image:none!important}
html:has(#content-view>.v3-home) body{padding:0!important;margin:0!important;height:100dvh!important;min-height:0!important}
html:has(#content-view>.v3-home) body.unlocked #app#app{margin-top:0!important;height:100dvh!important;padding-top:0!important}
html:has(#content-view>.v3-home) body #app #content-view{height:100dvh!important;padding:0!important}
#content-view>.v3-home{box-sizing:border-box;display:flex;flex-direction:column;min-height:100dvh;padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
#content-view>.v3-home>.v3-hero{flex:1 0 auto;height:clamp(300px,calc(100svh - 510px),390px);min-height:calc(300px + env(safe-area-inset-top,0px))}
#content-view>.v3-home>.v3-sheet{flex:0 0 auto;padding-bottom:10px}
#content-view>.v3-home .v3-top{padding-top:calc(18px + env(safe-area-inset-top,0px))}

/* Keep branding and trip details in flow: browser chrome must never make them overlap. */
.v3-hero{display:flex;flex-direction:column}
.v3-top{flex:0 0 auto;padding-bottom:0}
.v3-hero-copy{position:relative;left:auto;right:auto;bottom:auto;flex:0 0 auto;margin: auto 24px 32px;padding-top:16px}
.v3-home .v3-hero-copy .v3-tagline{top:16px}
#content-view>.v3-home>.v3-hero{height:auto;flex-basis:auto;min-height:calc(330px + env(safe-area-inset-top,0px))}
#content-view>.v3-home .v3-top{padding-top:calc(4px + env(safe-area-inset-top,0px));padding-bottom:0}
.v3-top>button{margin-top:6px}
.v3-hero-editor .v3-hero-copy{left:auto;right:auto}
.v3-hero-editor .v3-top{padding-top:4px;padding-bottom:0}
@media(display-mode:browser){#content-view>.v3-home .v3-top{padding-top:14px}}
@media(min-width:760px){.v3-hero-copy{margin-left:40px;margin-right:40px}}
html.bnh-pwa-mode #content-view>.v3-home .v3-top{padding-top:calc(4px + env(safe-area-inset-top,0px))}

.v3-count>button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.v3-count>button:focus-visible{outline:2px solid #d5b75b;outline-offset:3px;border-radius:4px}

/* Lighter dashboard actions, with a distinct safe-area-aware navigation. */
#content-view>.v3-home{padding-bottom:max(64px,calc(54px + env(safe-area-inset-bottom,0px)))}
.v3-home .v3-sheet section+section{margin-top:12px}
.v3-home .v3-sheet header{margin-bottom:2px}
.v3-home .v3-sheet header h2{font-size:15px!important;font-weight:700!important}
.v3-home .v3-sheet header button{min-height:32px}
.v3-home .v3-shortcuts{gap:8px}
.v3-home .v3-shortcuts button{min-height:66px;padding:8px 2px;gap:6px;border:1px solid #e8e6df;border-radius:10px;background:transparent;box-shadow:none;color:#103539;font:400 11px/1.25 Arial,sans-serif}
.v3-home .v3-shortcuts span{max-width:100%;overflow-wrap:anywhere}
.v3-home .v3-shortcuts :is(svg,.bnh-asset-icon){width:25px;height:25px;stroke-width:1.9;fill:none}
body #v3-bottom{height:max(64px,calc(54px + min(env(safe-area-inset-bottom,0px),16px)));min-height:0;padding:3px 6px calc(3px + min(env(safe-area-inset-bottom,0px),16px));background:#fff;border-top:1px solid #e8e6df;box-shadow:0 -2px 10px #10353904}
body #v3-bottom button{position:relative;min-width:0;height:48px;gap:4px;color:#63717a;font:400 11px/1.2 Arial,sans-serif;background:transparent;border-radius:0;box-shadow:none}
body #v3-bottom button :is(svg,.bnh-asset-icon){width:24px;height:24px;stroke-width:1.5;fill:none}
body #v3-bottom button[aria-current=page]{color:#103539!important;font-weight:600}
body #v3-bottom button:not(.v3-play-golf)>span:last-child{position:relative}
body #v3-bottom button:not(.v3-play-golf)[aria-current=page]>span:last-child:after{content:'';position:absolute;bottom:-4px;left:0;width:100%;height:2px;border-radius:2px;background:currentColor}
@media(min-width:760px){.v3-home .v3-shortcuts button{min-height:78px;font-size:13px}}

/* Keep the navigation outside the scrolling app and remove the legacy duplicate hero. */
html.bnh-v3-shell::before{display:none!important;background:none!important;content:none!important}
html.bnh-v3-shell:has(body.unlocked),html.bnh-v3-shell body.unlocked{overscroll-behavior:none!important;overflow:hidden!important;height:100dvh!important;min-height:0!important}
html.bnh-v3-shell body.unlocked #app#app{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
html.bnh-v3-shell #content-view{overflow-y:auto!important;overscroll-behavior-y:none!important;max-height:100dvh!important;-webkit-overflow-scrolling:touch}
body #v3-bottom{position:fixed!important;inset:auto 0 0!important;transform:none!important;touch-action:none;z-index:90}
body:not(.unlocked) #v3-bottom,body:not(.unlocked) #v3-playing-more{display:none!important}
#v3-playing-more{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));right:12px;z-index:80;width:44px;height:44px;border:0;border-radius:50%;background:#074653;color:#fff;font-size:25px;cursor:pointer}

.v3-top>#v3-playing-more{position:static;background:transparent;margin-top:6px;margin-left:0;padding:0;flex-shrink:0}.v3-top:has(#v3-playing-more)>button:first-of-type{margin-left:auto}

#v3-playing-more{display:grid;place-items:center;text-indent:0!important;line-height:1!important}#v3-playing-more :is(svg,.bnh-asset-icon){display:block;fill:currentColor;stroke:none}

/* More shares the hero row with notifications, with no filled circle. */
body #v3-playing-more{background:transparent;border-radius:0;box-shadow:none}
body .v3-top>#v3-playing-more{position:static;flex:0 0 44px;margin:6px 0 0;padding:0}
.v3-live-cards{display:grid;gap:12px;margin:18px 0}

.v3-top>button[aria-label="Notiser"]{margin-left:auto}.v3-top>.v3-home-menu{margin-left:0}body #v3-bottom .v3-play-golf{overflow:visible}body #v3-bottom .v3-play-golf-ball{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#074653;overflow:hidden;margin-top:-25px;border:3px solid #fff;box-sizing:border-box}body #v3-bottom .v3-play-golf-ball img{width:58px;height:52px;object-fit:contain;filter:grayscale(1) contrast(4);mix-blend-mode:screen}body #v3-bottom .v3-play-golf>span:last-child{margin-top:3px}
html body #v3-bottom button.v3-play-golf{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}html body #v3-bottom button.v3-play-golf>.v3-play-golf-ball{background:#074653!important;color:white!important;border:2px solid white!important;border-radius:50%!important;width:62px!important;height:62px!important;overflow:hidden!important;padding:0!important}html body #v3-bottom button.v3-play-golf>span:last-child{background:transparent!important;color:#657c80!important;-webkit-text-fill-color:#657c80!important}html body #v3-bottom button.v3-play-golf[aria-current=page]>span:last-child{color:#123d46!important;-webkit-text-fill-color:#123d46!important}html body #v3-bottom button.v3-play-golf .v3-play-golf-ball img{filter:grayscale(1) contrast(4)!important;mix-blend-mode:screen!important;background:transparent!important}

html body #v3-bottom button.v3-play-golf>span:last-child:not(.v3-play-golf-ball){display:none!important}
html body #v3-bottom button.v3-play-golf>.v3-play-golf-ball{flex:none!important;width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;max-width:64px!important;max-height:64px!important;aspect-ratio:1/1!important;margin:-18px 0 0!important;box-sizing:border-box!important;transform:none!important}

.v3-menu-group{margin-top:18px}.v3-menu-group h3{font:600 12px/1.4 Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase;color:#657c80;margin:0 0 3px}.v3-menu-account{margin-top:23px;padding-top:10px;border-top:1px solid #ccd8d4}.v3-more button>span{flex:1}.v3-more button :is(svg,.bnh-asset-icon){flex-shrink:0}.v3-more button :is(svg,.bnh-asset-icon):last-child{margin-left:0}.v3-more>button:first-child{font-weight:600}

html body #v3-bottom button.v3-play-golf{position:relative;height:54px!important;min-height:54px!important}
html body #v3-bottom button.v3-play-golf>.v3-play-golf-ball{position:absolute;left:50%;top:-23px;width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;max-width:82px!important;max-height:82px!important;margin:0!important;transform:translateX(-50%)!important;background:#074653!important;isolation:isolate}
html body #v3-bottom .v3-play-art{width:76px!important;height:68px!important;flex:none;filter:none!important;mix-blend-mode:normal!important}
.v3-tab-scroll{padding-bottom:44px!important}

.bnh-asset-icon{width:24px;height:24px;object-fit:contain;flex-shrink:0}.v3-location>.bnh-asset-icon,.v3c-hero .bnh-asset-icon{filter:brightness(0) invert(1)}

html body .v3-hero-adjustments .hero-advanced-field{display:block!important;visibility:visible!important;margin:12px 0}.v3-hero-adjustments summary{cursor:pointer;font-weight:600;padding:14px 0}.v3-hero-editor .v3-hero-copy>p,.v3-hero-editor .v3-brand span{color:#fff!important;-webkit-text-fill-color:#fff!important}

.v3-agenda-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.v3-agenda-track::-webkit-scrollbar{display:none}.v3-agenda-track>.v3-activity{flex:0 0 100%;min-width:0;scroll-snap-align:start;box-sizing:border-box;margin:0}.v3-agenda-dots{display:flex;justify-content:center;gap:4px;margin-top:8px}.v3-agenda-dots button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;background:transparent}.v3-agenda-dots button:before{content:'';width:6px;height:6px;border-radius:50%;background:#bcc9c8}.v3-agenda-dots button[aria-current=true]:before{background:#074653;width:8px;height:8px}

.v3-home .v3-sheet .v3-agenda+section{margin-top:2px}.v3-agenda-track .v3-activity>svg:last-child{width:20px;height:20px;flex-shrink:0}
.v3-hero-editor :is(.v3-hero-copy h1,.v3-hero-copy>p,.v3-brand,.v3-custom-icon,.v3-hero-design-line){cursor:move;touch-action:none;user-select:none}
.v3-hero-editor .v3-selected-part{outline:1px dashed white;outline-offset:4px}
.v3-hero-editor .v3-hero-design-line{min-height:8px}
.v3-hero-part-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0}.v3-hero-part-tools button{background:#074653!important;color:white!important;-webkit-text-fill-color:white!important;border:0;border-radius:8px;padding:10px 12px;min-height:44px}.v3-hero-part-tools label{width:100%}
html body .v3-hero-editor .hero-advanced-field{display:none!important}

.v3-home .v3-hero-copy img.v3-tagline{width:125px;height:auto;object-fit:contain;top:4px;right:0}@media(min-width:760px){.v3-home .v3-hero-copy img.v3-tagline{width:150px}}

.v3-hero-editor .v3-tagline{pointer-events:auto!important;cursor:move;touch-action:none;user-select:none}

#v3-dialog .v3-shortcut-group{border:0;padding:0;margin:22px 0 0;min-width:0}
#v3-dialog .v3-shortcut-group legend{padding:0;margin-bottom:3px;font:600 18px/1.3 Georgia,serif;color:#074653}
html body #v3-dialog.v3-dialog .v3-save{background:#074653!important;border:1px solid #074653!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 15px/1.4 Arial,sans-serif!important;border-radius:10px;min-height:48px;letter-spacing:0;text-transform:none}

html.bnh-v3-shell body .settings-card h3,html.bnh-v3-shell body .settings-card .settings-save{background:#074653!important;color:#fff!important;-webkit-text-fill-color:#fff!important}html.bnh-v3-shell body .settings-language button:after{border-color:#074653!important}html.bnh-v3-shell body .settings-language button[aria-pressed=true]:after{background:#074653!important}

.v3-live-top{display:block;margin-top:9px}.v3-live-top>span{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:6px;align-items:center;padding:5px 0;font:13px/1.3 Arial,sans-serif}.v3-live-top>span>span{overflow-wrap:anywhere}.v3-live-top>span>strong{font-size:13px}.v3-live-top>span>b{font-weight:400;color:#657c80}

html.v3-keyboard-open body #v3-bottom{visibility:hidden!important;pointer-events:none!important}

.v3-extra-text{position:absolute;left:24px;top:35%;z-index:2;font:500 11px/1.1 Arial,sans-serif;letter-spacing:3.2px;padding-left:3px;white-space:pre-wrap;max-width:calc(100% - 48px);color:#fff!important;-webkit-text-fill-color:#fff!important}.v3-hero-editor .v3-extra-text{cursor:move;touch-action:none}

/* The editor and home use one hero canvas; scale the preview, not its layout. */
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home)>.v3-hero{height:clamp(390px,58svh,560px)!important;min-height:calc(330px + env(safe-area-inset-top,0px))!important;flex:0 0 auto!important;font:16px Arial,sans-serif;line-height:normal}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-top{padding:calc(4px + env(safe-area-inset-top,0px)) 24px 0!important}
@media(display-mode:browser){html:not(.bnh-pwa-mode) body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-top{padding-top:14px!important}}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-hero-copy{margin:auto 24px 32px!important;left:auto;right:auto}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-count>button{border-radius:0!important;box-shadow:none!important;font:400 16px Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-count>button>span{font-weight:400!important}

html body .v3-hero-editor{min-width:0;max-width:100%;box-sizing:border-box}html body .v3-hero-editor .hero-device-stage{width:100%;min-width:0;max-width:100%;overflow:hidden}

/* Lock the app viewport; only each page's content may scroll. */
html:has(#v3-bottom),html:has(#v3-bottom) body{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;overscroll-behavior:none!important}
html body:has(#v3-bottom) #app#app#app{position:fixed!important;inset:0!important;margin:0 auto!important;padding:0!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;transform:none!important}
html body:has(#v3-bottom) #app#app #content-view{margin:0!important;padding:0!important;height:calc(100dvh - var(--v3-nav-height,74px))!important;max-height:calc(100dvh - var(--v3-nav-height,74px))!important;min-height:0!important;overflow-y:auto;overscroll-behavior:contain}
html body #v3-bottom{position:fixed!important;bottom:0!important;top:auto!important;transform:none!important}
html body #app#app #content-view:has(>.v3-home){overflow:hidden!important}
html body #app#app #content-view>.v3-home{height:100%!important;min-height:0!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
html body #app#app #content-view>.v3-home>.v3-sheet{flex:1 1 0!important;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column;margin-top:0!important;padding:0!important;border-radius:0!important}
.v3-home-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 20px 24px}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home)>.v3-hero:before{content:'';position:absolute;left:0;right:0;bottom:0;height:calc(32px + var(--v3-count-height,81px)/2);background:#f8f7f3;border-radius:20px 20px 0 0;z-index:0;pointer-events:none}
.v3-hero-copy,.v3-top{z-index:1}.v3-top{position:relative}
html body #app#app #content-view .vj-header{position:sticky!important;top:0!important;z-index:20;margin-top:0!important;padding-top:0!important}
html body #app#app #content-view .vj-topline{padding-top:calc(18px + env(safe-area-inset-top,0px))!important;padding-bottom:18px!important}

html body #app#app #content-view .cm-page>.v3p-header{position:sticky!important;top:0!important;z-index:20;transform:none!important;margin-top:0!important}

/* Keep carousel indicators inside the schedule card. */
.v3-agenda-card{border:1px solid var(--v3-border,#e3e3df);border-radius:12px;overflow:hidden}
.v3-agenda-card .v3-agenda-track>.v3-activity{border:0;border-radius:0;padding-bottom:4px}
.v3-agenda-card .v3-agenda-dots{margin:0;padding:0 8px 2px}
.v3-agenda-card .v3-agenda-dots:has(>button:only-child){display:none}
.v3-agenda-card:has(.v3-agenda-dots>button:only-child) .v3-activity{padding-bottom:14px}
.v3-home .v3-sheet .v3-agenda+section>header{margin-bottom:6px}
.v3-home .v3-sheet .v3-agenda+section>header>button{min-height:32px}

.v3-home .v3-count{background:#074653!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1}

/* Slightly tighter gap between hero statistics and the weather. */
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home) .v3-hero-copy{margin-bottom:24px!important}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home)>.v3-hero:before{height:calc(24px + var(--v3-count-height,81px)/2)}
html body :is(#content-view>.v3-home,.v3-hero-editor .v3-home)>.v3-hero{height:clamp(382px,calc(58svh - 8px),552px)!important}

/* The content and navigation share one viewport; no independently positioned footer. */
html body:has(#v3-bottom) #app#app#app{display:flex!important;flex-direction:column!important;height:100dvh!important}
html body:has(#v3-bottom) #app#app #content-view{flex:1 1 0!important;height:auto!important;max-height:none!important;min-height:0!important}
html body #app#app #v3-bottom{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:100%!important;margin:0 auto!important;transform:none!important}

/* Size the document itself to the full standalone viewport. Fixed roots and
   percentage heights can clip the bottom strip with black-translucent status bars. */
html.bnh-pwa-mode:has(#v3-bottom){position:static!important;height:100vh!important;min-height:100vh!important;padding:0!important;background:#fff!important}
html.bnh-pwa-mode:has(#v3-bottom) body{position:relative!important;inset:auto!important;height:100vh!important;min-height:0!important;background:#fff!important}
html.bnh-pwa-mode body:has(#v3-bottom) #app#app#app{position:absolute!important;inset:0!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0 auto!important;background:#fff!important}
@media(display-mode:standalone){html:has(#v3-bottom){position:static!important;height:100vh!important;min-height:100vh!important;padding:0!important;background:#fff!important}html:has(#v3-bottom) body{position:relative!important;inset:auto!important;height:100vh!important;min-height:0!important;background:#fff!important}html body:has(#v3-bottom) #app#app#app{position:absolute!important;inset:0!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0 auto!important;background:#fff!important}}

/* Keep a modest breathing space below the PWA navigation labels. */
html.bnh-pwa-mode body #app#app #v3-bottom{height:68px!important;min-height:68px!important;padding:3px 6px 15px!important;align-items:center!important}
@media(display-mode:standalone){html body #app#app #v3-bottom{height:68px!important;min-height:68px!important;padding:3px 6px 15px!important;align-items:center!important}}

/* Compact photo thumbnail for the next scheduled activity. */
.v3-agenda-card .v3-activity-photo{display:block;width:88px;height:72px;flex:0 0 88px;object-fit:cover;border-radius:8px;align-self:center}
.v3-agenda-card .v3-activity>span{min-width:0}
@media(max-width:380px){.v3-agenda-card .v3-activity-photo{width:72px;height:68px;flex-basis:72px}}

html body #app#app .v3-published-result{background:#074653;color:#fff;border:1px solid #c9a34155;border-radius:20px;padding:18px;margin:0 0 12px}html body #app#app .v3-published-result>span{display:block;font:700 10px/1 Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:#e3c98f;margin-bottom:12px}html body #app#app .v3-published-result p{font:400 13px/1.45 Arial,sans-serif;color:#d8e5da;margin:0 0 14px}html body #app#app .v3-published-result button{width:100%;border:0;border-radius:12px;padding:14px;background:#e8cf8a;color:#0a3d30;font:700 14px Arial,sans-serif}
/* Match Tournament's centered desktop frame. */
@media(min-width:760px){html.bnh-v3-shell body #app#app#app{width:100%!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important}html.bnh-v3-shell body #app#app #v3-bottom{max-width:760px!important}}

.v3-home .v3-count{width:100%;max-width:none}

html body #app#app .v3-count strong.v3-count-status{font-size:clamp(14px,4vw,18px)!important;white-space:nowrap}

/* v601: Mer-menyn tog over sprakvalet och Om appen fran installningspanelen. */
.v3-more .v3-language{display:flex;gap:8px;margin:0 0 14px}
.v3-more .v3-language button{flex:1;justify-content:center;padding:12px 10px;border:1px solid #d9ded8;border-bottom:1px solid #d9ded8;border-radius:10px;background:transparent;font-size:14px;color:#103539}
.v3-more .v3-language button[aria-pressed=true]{background:#0d3b34;border-color:#0d3b34;color:#fff}
.v3-more .v3-more-link{display:flex;align-items:center;gap:12px;width:100%;padding:13px 0;border-bottom:1px solid #e9ece7;background:white;text-align:left;font-size:15px;color:#103539;text-decoration:none}
.v3-more .v3-more-link>span{flex:1}
.v3-more .v3-more-link :is(svg,.bnh-asset-icon){flex-shrink:0}
.v3-more .v3-more-link :is(svg,.bnh-asset-icon):last-child{width:17px}
