*{box-sizing:border-box}
 :root{font-family:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55;color:#092738;background:#fff;--ink:#092738;--green:#246b4b;--line:#d6e2da;--surface:#f6f7f4;--radius:24px}
body{margin:0;min-width:0;background:#fff url('/art/background-page.png') top center/100% auto no-repeat;position:relative}
a{color:#246b4b;text-underline-offset:4px}
p{margin:.35rem 0 1rem}
h1,h2,h3{line-height:1.15;margin:0 0 1rem;letter-spacing:-.035em}
h1{font-size:clamp(2rem,4.8vw,3.4rem);font-weight:800;overflow-wrap:anywhere}
h2{font-size:1.4rem}
h3{font-size:1.12rem}
small,.small{font-size:.875rem;color:#476070}
.top{height:140px;max-width:1120px;padding:28px 40px;margin:auto;display:flex;align-items:center;justify-content:center;position:relative;gap:28px}
.brand{width:245px;max-height:85px;object-fit:contain;display:block}
.slogan{position:absolute;right:30px;top:32px;width:125px;max-height:95px;object-fit:contain}
main{max-width:1040px;margin:0 auto;padding:24px 32px 48px;position:relative;z-index:1;min-height:48vh}
main:focus{outline:none}
.landing main{max-width:720px;padding-top:0;padding-bottom:0;min-height:0}
.home-copy{text-align:center;margin-bottom:28px}
.home-copy h1{font-size:clamp(3rem,7.4vw,5.7rem);line-height:.99;font-weight:850;letter-spacing:-.055em;margin:8px 0}
.subtitle{font-size:clamp(1.35rem,3.4vw,2.4rem);color:var(--green);font-weight:750;line-height:1.25}
.lead{font-size:1.16rem;color:#34505e;margin:1rem 0 2rem}
.home-copy .lead{font-size:1.35rem;color:var(--ink);margin:22px 0}
.card{background:#f6f7f4eF;border:1px solid #e7eae4;border-radius:var(--radius);padding:24px;margin-bottom:20px;box-shadow:0 5px 20px #123b2303;min-width:0}
.benefit{display:flex;align-items:center;gap:22px;text-decoration:none;color:var(--ink)}
.benefit h2{margin:0 0 5px}
.benefit p{margin:0;color:#234b65}
.benefits .card{border:0;padding:19px 24px;margin:0 0 12px}
.benefits .benefit h2{font-size:1.55rem}
.chevron{font-size:2.5rem;line-height:1;margin-left:auto;flex-shrink:0}
.badge{display:inline-block;position:relative;width:78px;height:78px;flex:0 0 78px;overflow:hidden;border-radius:50%;isolation:isolate}
.badge img{position:absolute;max-width:none;height:auto;display:block}
.badge-scarf-day img{width:133.5%;left:-16.75%;top:-16.75%}
.badge-free-day img{width:115%;left:-7.5%;top:-7.6%}
.badge-reminders img{width:131%;left:-15.5%;top:-15.5%}
.button{appearance:none;font:inherit;font-weight:750;font-size:1rem;min-height:48px;padding:12px 23px;background:linear-gradient(110deg,#26724e,#246b4b);color:white;border:2px solid var(--green);border-radius:17px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;cursor:pointer;text-align:center;max-width:100%}
.button:hover{background:#185737;color:white}
.button.secondary{background:#fffffff5;color:var(--green)}
.button.secondary:hover{background:#e6f0e8}
.button.danger{background:#fff;color:#9c3027;border-color:#9c3027}
.danger-text{color:#9c3027}
.button:disabled{opacity:.5;cursor:wait}
.home-actions{display:grid;gap:12px;position:relative;z-index:3}
.home-actions .button{font-size:1.6rem;min-height:66px;border-radius:24px}
.home-actions .button span{margin-left:auto}
.home-actions .button:first-child{padding-left:60px}
.stack{display:grid;gap:16px;align-content:start}
.stack>*{margin-top:0;margin-bottom:0}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.grid .card{margin-bottom:0}
.row,.actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.actions{justify-content:flex-start}
.narrow{max-width:600px;margin:auto}
.eyebrow{color:var(--green);font-size:.875rem;font-weight:750;letter-spacing:.09em;margin-bottom:10px}
.context{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#edf4ed;border:1px solid #dce8de;border-radius:13px;padding:10px 16px;margin:0 0 25px;font-size:.9375rem;overflow-wrap:anywhere}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}
.page-heading h1{margin:0}
.notice,.error{padding:16px 20px;border-radius:16px;margin:0 0 22px;background:#e7f2e7;border:1px solid #bed8c1}
.error{background:#fff0ea;border-color:#d5a08b}
.link-notice{display:block;margin-top:22px;text-decoration:none}
.warning{background:#fff4d8}
.celebration{background:#edf6e6;text-align:center}
.celebration .badge{width:98px;height:98px;display:block;margin:0 auto 16px;}
.empty{text-align:center;padding:45px 28px}
.empty .badge{margin-bottom:20px}
.big-number{font-size:5rem;line-height:1.1;font-weight:800;letter-spacing:-.07em;margin:20px 0 0}
.big-number span{font-size:1.5rem;letter-spacing:-.04em;color:#607a87}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0 18px}
.stats>div{display:grid;background:white;border-radius:15px;padding:16px}
.stats strong{font-size:1.9rem}
.stats span{font-size:.875rem}
progress{width:100%;height:16px;accent-color:var(--green);border:0;border-radius:10px;background:#dce7dd;overflow:hidden}
progress::-webkit-progress-bar{background:#dce7dd}
progress::-webkit-progress-value{background:var(--green);border-radius:10px}
.profile-card .badge{width:62px;height:62px;flex-basis:62px}
.profile-card{display:flex;align-items:center;gap:18px;text-decoration:none;color:var(--ink);overflow-wrap:anywhere}
.profile-card h2{margin-bottom:7px}
.profile-card p{margin-bottom:7px}
.add-profile{margin-top:28px}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;text-align:center}
.weekday{font-size:.875rem;padding:9px 0}
.calendar-day{border:1px solid #dce4df;background:#fff;border-radius:12px;min-height:60px;padding:8px 1px;display:grid;text-decoration:none;color:var(--ink);font-weight:700}
.calendar-day small{font-weight:700;color:inherit}
.calendar-day.scarf{background:#d8ebd5;border-color:#a6c7a0}
.calendar-day.free{background:#ddedf5;border-color:#b0cedc}
.calendar-day.baseline{background:#fff0c9;border-color:#e6d49f}
.calendar-day.disabled{color:#566a73;background:transparent;border-color:transparent}
.calendar-day[aria-current]{outline:2px solid #246b4b;outline-offset:1px}
.month-nav{flex-wrap:nowrap;margin-bottom:14px}
.month-nav h2{font-size:1.15rem;text-align:center;margin:0}
.month-nav .button{padding:7px 15px;min-width:44px}
.legend{margin:20px 0}
label{font-weight:650;display:grid;gap:6px;min-width:0}
input,select{font:inherit;width:100%;border:1px solid #9fb5a7;background:#fff;color:var(--ink);border-radius:10px;min-height:47px;padding:9px 12px;min-width:0}
input[type=checkbox],input[type=radio]{width:21px;height:21px;min-height:21px;flex:0 0 21px;accent-color:var(--green);margin:3px 0}
label.check,label.choice{display:flex;align-items:flex-start;gap:12px;font-weight:500;flex-wrap:wrap}
.check a{display:contents}
.choice{padding:15px;border:1px solid var(--line);border-radius:13px;background:white;cursor:pointer}
fieldset{padding:0;border:0;margin:0;min-width:0}
legend{font-weight:750;margin-bottom:15px}
summary{cursor:pointer;font-weight:750;padding:5px 0;min-height:36px}
details[open]>summary{margin-bottom:20px}
details form{margin-top:18px}
.qr svg{max-width:220px;height:auto}
.metric{font-size:2rem;font-weight:750}
.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);max-width:900px;width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #d4dfd7;background:#fffefa;box-shadow:0 -4px 24px #123b2312;border-radius:22px 22px 0 0;padding:5px 8px max(8px,env(safe-area-inset-bottom));min-height:80px}
.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:.875rem;font-weight:650;text-decoration:none;min-width:0;overflow-wrap:anywhere;text-align:center;line-height:1.3;color:#496357;border-radius:12px;padding:5px 2px}
.bottom-nav a>span{font-size:1.65rem;line-height:1.1}
.bottom-nav a[aria-current]{background:#e8f2e6;color:#1b603b}
.footer{position:relative;z-index:1;display:flex;justify-content:center;gap:20px;flex-wrap:wrap;padding:15px 20px;font-size:.875rem;color:#476070}
.landscape{width:100%;max-width:1440px;overflow:hidden;margin:-10px auto 0;pointer-events:none;position:relative;z-index:0;aspect-ratio:1448/630}
.landscape img{width:100%;height:auto;position:absolute;bottom:-11%;display:block}
.landing .landscape{margin-top:-100px;aspect-ratio:1448/720}
.landing .footer{top:14px}
.inside .landscape{max-width:1040px;aspect-ratio:1448/470;opacity:.9}
.signed-in{padding-bottom:95px}
.connection{position:fixed;z-index:20;top:0;left:0;right:0;background:#fff0cb;padding:12px;text-align:center;font-size:.9375rem}
.skip{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:30}
.skip:focus{top:10px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
:focus-visible{outline:3px solid #b46b13;outline-offset:4px}
[hidden]{display:none!important}

@media(min-width:1100px){body.inside{background-size:1100px auto}
.landing{background-size:1100px auto}
.landing .top{height:145px}
.landing .landscape{max-width:1000px;margin-top:-95px}
.landing .footer{margin-top:18px}
.landing main{max-width:680px}
}

@media(max-width:700px){.top{height:106px;padding:20px}
.brand{width:183px;max-height:60px}
.slogan{width:75px;right:12px;top:20px}
.top>a{margin-right:40px}
main{padding:16px 20px 30px}
.landing main{padding:6px 24px 0}
.home-copy h1{font-size:clamp(2.75rem,10vw,4.2rem)}
.home-copy .lead{font-size:1.05rem;margin:19px 0}
.subtitle{font-size:clamp(1.25rem,5.1vw,2rem)}
.home-copy{margin-bottom:22px}
.benefits .card{padding:16px;gap:16px;border-radius:20px}
.benefits .benefit h2{font-size:1.18rem}
.benefits p{font-size:.95rem;line-height:1.4}
.badge{width:59px;height:59px;flex-basis:59px}
.chevron{font-size:2rem}
.home-actions .button{font-size:1.2rem;min-height:56px;border-radius:19px}
.home-actions .button:first-child{padding-left:45px}
.grid{grid-template-columns:1fr;gap:18px}
.card{padding:21px;border-radius:20px}
h1{font-size:2.2rem}
.lead{font-size:1.05rem}
.page-heading{align-items:flex-start;flex-direction:column;gap:15px}
.context{font-size:.875rem;align-items:flex-start}
.inside .landscape{aspect-ratio:1448/640}
.landing .landscape{margin-top:-30px;aspect-ratio:1448/880}
.landing .footer{top:12px}
.footer{font-size:.8rem;gap:12px}
.calendar{gap:5px}
.calendar-day{min-height:55px}
.bottom-nav{padding-left:2px;padding-right:2px;border-radius:17px 17px 0 0}
.bottom-nav a{font-size:.78rem}
.profile-card{gap:13px}
.big-number{font-size:4.5rem}
.row>label{flex:1}
.signed-in main{padding-bottom:40px}
}

@media(max-width:350px){main{padding:12px 14px 30px}
.landing main{padding:0 18px}
.benefits .card{padding:13px;gap:11px}
.benefits p{font-size:.875rem}
.benefits .benefit h2{font-size:1.08rem}
.benefits .badge{width:47px;height:47px;flex-basis:47px}
.slogan{width:62px;right:10px}
.brand{width:155px}
.card{padding:17px}
.calendar{gap:3px}
.calendar-day{min-height:49px}
.bottom-nav a{font-size:.73rem}
.month-nav .button{padding:6px 13px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}
}

/* Den fulde leverede bundscene bevares også på undersider. */
.inside .landscape{max-width:900px;aspect-ratio:1448/970;opacity:1}

.bottom-nav{grid-template-columns:1fr 1fr 1.45fr 1fr 1fr}

.bottom-nav a{hyphens:auto;overflow-wrap:normal}

@media(max-width:700px){.bottom-nav a{font-size:.75rem}
.inside .landscape{aspect-ratio:1448/970}
}

.benefit>span:not(.badge):not(.chevron),.benefit>div,.profile-card>div{min-width:0;flex:1;overflow-wrap:anywhere}

h2,h3,.button{overflow-wrap:anywhere}

.bottom-nav .nav-badge{width:27px;height:27px;flex:0 0 27px;margin:0}

.badge-free-day img{width:117%;left:-8.5%;top:-9.1%}


/* Appens fælles kort og illustrationer følger den leverede forside. */
.inside main{max-width:1120px}
.inside .card{background:#fafbf7f5;border-color:#e1e8dc;box-shadow:0 7px 22px #173f2410}
.inside .card h2{letter-spacing:-.025em}
.inside .lead{max-width:48rem}
.inside .context{background:#f0f5e9;border-radius:18px}
.inside .button{box-shadow:0 3px 0 #174e3520}
.inside .button.secondary{box-shadow:none}
.inside input:not([type=checkbox]):not([type=radio]),.inside select{border-radius:13px;padding:12px 14px}
.inside .choice{border-radius:16px;flex-wrap:nowrap}
.inside .choice:has(input:checked){background:#eaf3e6;border-color:#246b4b}
.inside .check:has(>span){flex-wrap:nowrap}
.inside .check>span{flex:1;min-width:0}
.inside .check a{display:inline}
.back-link{display:inline-block;margin-bottom:22px}
.subtle-link{font-weight:650;text-decoration:none}
.subtle-link:hover{text-decoration:underline}
.quiet-link{text-align:center;font-size:.9rem;padding:6px}
.quiet-panel{background:#ffffffb0!important;box-shadow:none!important}
.auth-switch{text-align:center;padding:16px 0 0}
.auth-switch a{font-weight:750;white-space:nowrap}
.registration-context{display:flex;align-items:center;gap:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.profile-switch{font-size:.9rem}
.inside .profile-card{border-top:4px solid #d4e4c8}
.inside .profile-card:hover{background:#edf4e7}
.inside .profile-card .badge{width:76px;height:76px;flex-basis:76px}
.start-summary{padding:17px 20px;background:#edf4e7;border-radius:17px;font-weight:600}
.past-days{padding-top:10px}
.journey-guide>.small{padding:0 8px}
.day-editor{max-width:680px}
.day-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.day-choice{position:relative;display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;padding:28px 14px 22px;border:2px solid #dbe3d6;border-radius:24px;background:#fff;cursor:pointer;font-weight:400}
.day-choice.scarf{background:#fffbed}
.day-choice.free{background:#f0f7fa}
.day-choice>input{position:absolute;top:14px;left:14px}
.day-choice>.badge{width:112px;height:112px;flex-basis:112px;margin:4px 0}
.day-choice>strong{font-size:1.3rem}
.day-choice>span:not(.badge):not(.selected-mark){font-size:.9rem;color:#476070}
.day-choice:has(input:checked){border-color:var(--green);box-shadow:0 0 0 2px #246b4b,0 6px 20px #173f2417}
.day-choice:has(input:focus-visible){outline:3px solid #b46b13;outline-offset:5px}
.day-choice .selected-mark{position:absolute;right:12px;top:12px;display:none;background:var(--green);color:white;width:25px;height:25px;border-radius:50%;font-weight:800}
.day-choice:has(input:checked) .selected-mark{display:block}
.day-choice:hover{border-color:#759c72}
.day-editor .quiet-panel{margin-top:20px}
.calendar-grid{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr)}
.calendar-card{background:#fffffff5!important}
.calendar{gap:8px}
.calendar-day{min-height:84px;align-content:space-between;justify-items:center;gap:5px;border-radius:15px}
.calendar-day.scarf{background:#fff7d8;border-color:#ecd797}
.calendar-day.free{background:#ecf5fb;border-color:#bbd5e1}
.calendar-day.unresolved{background:#f7f8f4;border:1px dashed #c1ccbb}
.calendar-day.baseline{background:#edf2e8;border-color:#d5e0cc}
.calendar-day:hover:not(.disabled){box-shadow:0 0 0 2px #48774e}
.calendar-day .badge{width:36px;height:36px;flex:0 0 36px}
.calendar-day small{font-size:1.25rem;font-weight:500;line-height:1.4}
.weekday{color:#51654d;font-size:.8rem;font-weight:700}
.month-nav{margin-bottom:20px}
.month-nav h2{font-size:1.45rem;text-transform:capitalize}
.calendar-legend{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px 0;font-size:.8rem;color:#476070}
.calendar-legend>span{display:flex;gap:8px;align-items:center}
.calendar-legend .badge{width:25px;height:25px;flex:0 0 25px}
.calendar-legend b{width:25px;text-align:center;font-size:1.25rem}
.month-jump{border-top:1px solid var(--line);padding-top:12px}
.month-jump summary{font-size:.875rem}
.log-totals{display:grid;gap:18px;background:#f2f6e9!important}
.log-totals .benefit{gap:16px}
.log-totals .benefit>div{display:grid}
.log-totals strong{font-size:2.25rem;line-height:1.1}
.log-totals span:not(.badge){font-size:.9rem}
.log-totals .badge{width:64px;height:64px;flex-basis:64px}
.log-totals p{margin:0}
.baseline-card{background:#fffaf0!important}
.baseline-card h2{font-size:1.15rem}
.empty{background:radial-gradient(ellipse at 50% 0,#fffdf0,#eff5e7)!important}
.empty>.badge{width:112px;height:112px}
.empty>p:not(.eyebrow){max-width:440px;margin:0 auto 24px}
.inside .bottom-nav a[aria-current]{box-shadow:inset 0 3px #729e59;background:#edf5e6}
.account-heading{display:flex;align-items:center;gap:20px;margin-bottom:30px}
.account-heading h1{margin:0}
.section-heading{display:flex;gap:14px;align-items:center}
.section-heading h2{margin:0}
.section-heading .badge{width:48px;height:48px;flex-basis:48px}
.history-card{border-left:5px solid #b2cd9b!important}
.history-metrics{display:flex;gap:20px;flex-wrap:wrap;margin:20px 0}
.history-metrics>span{display:flex;align-items:center;gap:9px}
.history-metrics .badge{width:36px;height:36px;flex-basis:36px}

@media(max-width:850px){.calendar-grid{grid-template-columns:1fr}
.calendar-grid>aside{grid-template-columns:1fr 1fr}
.calendar-grid .log-totals{height:100%}
}

@media(max-width:700px){.inside main{padding-top:14px}
.day-choice{padding:30px 10px 19px;border-radius:20px}
.day-choice>.badge{width:90px;height:90px;flex-basis:90px}
.day-choice>strong{font-size:1.1rem}
.day-choices{gap:14px}
.calendar{gap:5px}
.calendar-day{min-height:65px;border-radius:11px;padding:5px 1px}
.calendar-day .badge{width:28px;height:28px;flex-basis:28px}
.calendar-grid>aside{grid-template-columns:1fr}
.month-nav h2{font-size:1.18rem}
.calendar-grid .card{padding:18px}
.calendar-legend{column-gap:6px}
.inside .profile-card .badge{width:60px;height:60px;flex-basis:60px}
.account-heading{align-items:flex-start}
.inside .bottom-nav{min-height:84px}
}

@media(max-width:350px){.day-choices{grid-template-columns:1fr}
.day-choice{display:grid;grid-template-columns:70px 1fr;text-align:left;padding:32px 15px 16px;gap:6px 12px}
.day-choice>.badge{grid-row:1/3;width:70px;height:70px;margin:0}
.day-choice>span:not(.badge):not(.selected-mark){font-size:.8rem}
.calendar-grid .card{padding:13px}
.calendar-day{min-height:60px}
.calendar{gap:3px}
.calendar-day .badge{width:24px;height:24px;flex-basis:24px}
}

@media(prefers-reduced-motion:no-preference){.person-choice,.day-choice,.profile-card,.calendar-day{transition:background .15s,border-color .15s,box-shadow .15s}
}

.calendar-legend{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}
.calendar-legend>span{min-width:0;overflow-wrap:anywhere}

.day-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
.day-choice>strong{overflow-wrap:anywhere}


.inside .check>span{overflow-wrap:anywhere}

@media(min-width:1100px){body.inside{background-size:1440px auto}}

/* Grafisk runde 2: de originale v4-personer og et samlet dagsoverblik. */
.ui-icon{width:24px;height:24px;flex:0 0 24px;display:inline-block;vertical-align:middle}
.button .ui-icon{width:20px;height:20px;flex-basis:20px}
.bottom-nav .ui-icon{width:27px;height:27px;flex-basis:27px}
.onboarding{max-width:640px}
.onboarding-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:440px;margin:0 auto 32px;padding:0;font-size:.8rem;color:#476070}
.onboarding-steps li{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 7px;min-width:0;text-align:center;overflow-wrap:anywhere}
.onboarding-steps li>span{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;background:#eff3eb;border-radius:50%;font-size:.75rem;font-weight:700}
.onboarding-steps [aria-current]{color:var(--green);font-weight:750}
.onboarding-steps [aria-current]>span{background:var(--green);color:white}
.onboarding-heading{text-align:center}
.onboarding-heading h1{font-size:clamp(2rem,4vw,3.1rem);position:relative;padding-bottom:20px;margin-bottom:0}
.onboarding-heading h1:after{content:'';position:absolute;width:90px;height:5px;bottom:0;left:50%;transform:translateX(-50%) rotate(-2deg);background:#f5c942;border-radius:60%}
.onboarding-heading .lead{max-width:430px;margin:18px auto 28px}
.intent-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.person-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 18px 26px;border:2px solid #d8e7dc;border-radius:26px;text-align:center;background:#f0f8f0;cursor:pointer;font-weight:400;isolation:isolate}
.person-choice.child{background:#f0f8fc;border-color:#d6e9f1}
.person-choice input{position:absolute;z-index:2;top:14px;right:14px;margin:0;width:23px;height:23px}
.person-art{position:relative;display:block;width:100%;max-width:220px;aspect-ratio:1;margin:6px auto 0}
.person-art:before{content:'';position:absolute;inset:10% 0 0;background:#d8ead3;border-radius:50%;z-index:-1}
.child .person-art:before{background:#d9eef5}
.person-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 5px 2px #163f2710)}
.person-choice strong{font-size:1.55rem;letter-spacing:-.035em;line-height:1.2}
.person-choice>span:last-child{font-size:.95rem;line-height:1.5;color:#345567;max-width:220px}
.person-choice:has(input:checked){border-color:#267651;background:#e7f3e8;box-shadow:0 4px 0 #b4d8bf}
.person-choice.child:has(input:checked){background:#e7f3f9}
.person-choice:has(input:focus-visible){outline:3px solid #b46b13;outline-offset:5px}
.person-choice input:focus-visible{outline:none}
.person-choice:hover{border-color:#649784}
.intent-form>.button{width:100%;margin-top:26px;min-height:56px;font-size:1.12rem;position:relative}
.intent-form>.button .ui-icon{position:absolute;right:22px}
.onboarding .auth-switch{margin-top:12px}
.onboarding-note{margin:22px auto 0;text-align:center;max-width:500px}
.registration-page>h1,.registration-page>.eyebrow{text-align:center}
.registration-page>.card{background:white}
.registration-person{width:72px;height:72px;flex:0 0 72px;background:#e7f3e8;border-radius:18px;overflow:hidden}
.registration-person.child{background:#e7f3f9}
.registration-person img{width:100%;height:auto;display:block}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px;align-items:start}
.dashboard-grid>.card{margin:0;padding:26px}
.journey-summary{background:linear-gradient(145deg,#fffef6,#f5f8eb)!important;border-top:5px solid #338362!important}
.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.journey-heading .eyebrow{font-size:.7rem;margin-bottom:7px}
.journey-heading h2{font-size:1.55rem;margin:0}
.journey-heading .badge{width:66px;height:66px;flex-basis:66px}
.journey-summary .big-number{color:#146449;font-size:4.5rem;line-height:1;letter-spacing:-.055em;margin:16px 0 5px;font-variant-numeric:tabular-nums}
.journey-summary .big-number span{color:#456353;font-size:1.6rem;font-weight:650;letter-spacing:-.025em;white-space:nowrap}
.journey-unit{font-size:1rem;color:#345567;margin:0 0 20px}
.journey-summary progress{height:13px;display:block;background:#dce9d9}
.journey-summary progress::-webkit-progress-bar{background:#dce9d9}
.journey-summary progress::-webkit-progress-value{background:linear-gradient(90deg,#107357,#4f9760)}
.journey-summary progress::-moz-progress-bar{background:#267651;border-radius:10px}
.progress-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;font-size:.8rem;color:#476070;margin-top:9px}
.progress-caption strong{color:#216247}
.free-budget{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:23px 0 0}
.free-stat{display:grid;align-content:start;position:relative;padding:14px;border-radius:18px;min-width:0;overflow-wrap:anywhere}
.free-stat.used{background:#e0f0f7}
.free-stat.remaining{background:#deefdc}
.stat-label{font-size:.8rem;font-weight:650;line-height:1.3}
.free-stat strong{font-size:2.5rem;line-height:1.2;color:#236047;letter-spacing:-.035em;margin-top:5px;font-variant-numeric:tabular-nums}
.free-stat.used strong{color:#195e7d}
.free-stat strong small{font-size:.8rem;font-weight:500;letter-spacing:0;color:#365769;white-space:nowrap}
.free-stat .badge{width:36px;height:36px;position:absolute;right:12px;bottom:12px}
.free-stat.used{padding-bottom:22px}
.free-stat.used strong{padding-right:26px}
.stat-caption{font-size:.7rem;line-height:1.3;color:#39634a;margin-top:7px}
.journey-meta{display:flex;align-items:center;gap:16px;padding-top:18px;margin-top:20px;border-top:1px solid #dbe5d3;font-size:.75rem;color:#476070}
.journey-meta strong{display:block;font-size:.9rem;color:var(--ink);white-space:nowrap}
.journey-line{height:1px;flex:1;min-width:10px;background:#a8c397;position:relative}
.journey-line:before,.journey-line:after{content:'';position:absolute;top:-2px;width:5px;height:5px;background:#719863;border-radius:50%}
.journey-line:after{right:0}
.today-action{background:white!important;overflow:hidden}
.day-welcome{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:20px}
.day-welcome h2{margin:0;font-size:1.5rem}
.day-welcome .eyebrow{font-size:.7rem;margin-bottom:8px}
.day-sun{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#fff1b6;color:#a36b00}
.day-sun .ui-icon{width:34px;height:34px}
.day-morning,.day-evening{border-radius:18px;padding:17px;background:#fffae9}
.day-evening{margin-top:14px;background:#eff5f8}
.ritual-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.ritual-heading>div{min-width:0}
.ritual-heading h3{margin:1px 0 5px;font-size:1.08rem}
.ritual-heading p{font-size:.85rem;color:#476070;line-height:1.45;margin:0}
.ritual-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;color:#986800}
.day-evening .ritual-icon{color:#49697e}
.today-action .button{width:100%;min-height:50px;font-size:.95rem;padding:10px 12px}
.day-morning.is-done{background:#e5f3e5;border:1px solid #b9d7b7}
.day-morning.is-done .ritual-icon{background:#276e4e;color:white;border-radius:50%}
.day-morning.is-done h3{color:#1d6143}
.text-button{appearance:none;border:0;background:none;font:inherit;font-weight:650;color:var(--green);text-decoration:underline;text-underline-offset:4px;cursor:pointer;padding:10px;min-height:44px;max-width:100%}
.day-morning.is-done form{text-align:center}
.day-help{font-size:.75rem;line-height:1.5;color:#476070;text-align:center;margin:16px 5px 0}
.day-finished{text-align:center;background:#f2f7ed;border-radius:18px;padding:25px 18px;margin-bottom:18px}
.day-finished .badge{width:90px;height:90px;margin-bottom:14px}
.day-finished h3{margin-bottom:12px;font-size:1.2rem}
.day-finished p{color:#476070;font-size:.9rem;margin:0}
.dashboard-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:24px;margin-top:24px}
.dashboard-link{display:flex;align-items:center;gap:16px;padding:20px!important;margin:0;text-decoration:none;color:var(--ink)}
.dashboard-link>span:not(.badge):not(.link-icon){flex:1;min-width:0}
.dashboard-link h2{font-size:1.12rem;margin:0 0 5px}
.dashboard-link p{font-size:.85rem;line-height:1.45;color:#476070;margin:0}
.dashboard-link>.ui-icon{width:18px;flex-basis:18px;color:var(--green)}
.dashboard-link .badge,.link-icon{width:52px;height:52px;flex:0 0 52px}
.link-icon{display:grid;place-items:center;border-radius:16px;background:#fff0b9;color:#8a6710}
.link-icon .ui-icon{width:28px;height:28px}
.dashboard-link:hover{border-color:#8eb39a;box-shadow:0 6px 20px #173f2415}
.reminder-teaser{background:#f0f6ec!important}
.dashboard-note{margin:18px 0 0}
@media(max-width:700px){
 .onboarding-steps{gap:12px;margin-bottom:28px;font-size:.72rem}
 .onboarding-heading .eyebrow{font-size:.72rem}
 .onboarding-heading h1{font-size:2.05rem}
 .onboarding-heading .lead{font-size:1rem;margin:15px auto 24px}
 .intent-options{gap:13px}
 .person-choice{padding:24px 10px 20px;gap:10px;border-radius:22px}
 .person-choice input{top:12px;right:12px;width:21px;height:21px}
 .person-choice strong{font-size:1.25rem}
 .person-choice>span:last-child{font-size:.85rem}
 .person-art{margin-top:4px}
 .intent-form>.button{margin-top:23px}
 .onboarding-note{font-size:.8rem}
 .today-heading{flex-direction:row;align-items:flex-end;gap:16px;margin-bottom:20px}
 .today-heading h1{font-size:2rem}
 .today-heading .eyebrow{font-size:.68rem;letter-spacing:.035em;max-width:190px}
 .today-heading>.subtle-link{font-size:.75rem;max-width:98px;text-align:right}
 .dashboard-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .dashboard-grid>.card{padding:21px}
 .journey-heading h2{font-size:1.35rem}
 .journey-heading .badge{width:54px;height:54px;flex-basis:54px}
 .journey-summary .big-number{font-size:3.75rem;margin-top:10px}
 .journey-summary .big-number span{font-size:1.4rem}
 .journey-unit{font-size:.9rem;margin-bottom:16px}
 .free-budget{margin-top:18px;gap:10px}
 .free-stat{padding:12px}
 .free-stat.used{padding-bottom:22px}
 .free-stat strong{font-size:2.1rem}
 .free-stat .badge{width:30px;height:30px;right:8px;bottom:8px}
 .journey-meta{margin-top:17px;padding-top:14px;gap:12px}
 .day-welcome h2{font-size:1.35rem}
 .day-sun{width:46px;height:46px;flex-basis:46px}
 .day-sun .ui-icon{width:28px;height:28px}
 .day-morning,.day-evening{padding:15px}
 .dashboard-links{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:18px}
 .dashboard-link{padding:18px!important}
}
@media(max-width:350px){
 .onboarding-steps{gap:8px;font-size:.65rem}
 .onboarding-steps li{gap:4px}
 .onboarding-steps li>span{width:22px;height:22px;flex-basis:22px}
 .person-choice{padding:25px 8px 18px}
 .person-choice>span:last-child{font-size:.8rem}
 .person-choice strong{font-size:1.15rem}
 .onboarding-heading h1{font-size:1.8rem}
 .dashboard-grid>.card{padding:17px}
 .journey-meta{gap:10px;font-size:.7rem}
 .journey-meta strong{font-size:.8rem}
 .journey-heading h2{font-size:1.25rem}
 .free-stat.used strong{padding-right:0}
 .free-stat.used{padding-bottom:35px}
 .day-morning,.day-evening{padding:12px}
}
/* Ved forstørret tekst får felter og tal plads til at ombryde. */
.intent-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}
.free-budget{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr))}
.journey-meta{flex-wrap:wrap}
.journey-heading>div,.day-welcome>div{min-width:0}

/* SpejderStien: rolig app-top, forside med luft og samlet bund. */
body.inside{background-image:none}
.app-top{position:relative;z-index:12;max-width:1120px;margin:auto;padding:16px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;border-bottom:1px solid #e5ece2}
.app-title{text-decoration:none;font-size:.95rem;font-weight:750;letter-spacing:-.03em;color:var(--ink)}
.current-profile{display:flex;align-items:center;gap:7px;font-size:.85rem;min-width:0;overflow-wrap:anywhere}
.current-profile .ui-icon,.profile-picker .ui-icon{width:19px;height:19px;flex-basis:19px}
.profile-picker{position:relative;min-width:0;max-width:60%;font-size:.85rem}
.profile-picker>summary{display:flex;align-items:center;gap:7px;list-style:none;font-weight:650;margin:0!important;padding:6px;min-height:36px}
.profile-picker>summary::-webkit-details-marker{display:none}
.profile-picker>summary>span{min-width:0;overflow-wrap:anywhere}
.profile-picker>summary>.ui-icon:last-child{width:13px;flex-basis:13px}
.profile-picker nav{position:absolute;right:0;top:100%;min-width:180px;max-width:80vw;display:grid;padding:6px;background:white;border:1px solid #ceddcc;border-radius:15px;box-shadow:0 8px 24px #123b2320}
.profile-picker nav a{display:block;padding:10px 13px;text-decoration:none;border-radius:9px;overflow-wrap:anywhere}
.profile-picker nav a:hover,.profile-picker nav a[aria-current]{background:#eef5e8}
.inside main{padding-top:25px}
.bottom-nav .ui-icon{stroke-width:2.3;width:26px;height:26px;flex-basis:26px;margin-bottom:3px}
.site-footer{position:relative;width:min(100%,600px);margin:0 auto;isolation:isolate}
.footer-scene{position:relative;aspect-ratio:1448/970;overflow:hidden}
.scene-art{position:absolute;display:block;bottom:-12%;width:100%;height:auto;z-index:-1;pointer-events:none}
.footer-brand{position:absolute;left:50%;top:19%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;color:#092738;text-decoration:none;font-weight:800;font-size:1.4rem;letter-spacing:-.055em;white-space:nowrap}
.brand-symbol{width:35px;height:29px;position:relative;overflow:hidden;flex:0 0 35px;display:block}
.brand-symbol img{position:absolute;width:186px;height:auto;max-width:none;left:-9.5px;top:-13.7px}
.footer-links{position:absolute;bottom:4px;left:8px;right:8px;display:flex;justify-content:center;font-size:.7rem;line-height:1.5}
.footer-links a{min-height:28px;display:inline-flex;align-items:center;padding:2px 8px;color:#16392c;font-weight:400;text-decoration:none;text-shadow:0 1px 2px #edf4d2}
.footer-links a:hover{text-decoration:underline}
.inside .site-footer{max-width:520px}
.landing{display:flex;flex-direction:column;min-height:100svh}
.landing main{width:100%;max-width:600px;padding:36px 24px 0;margin:0 auto;min-height:0}
.home-copy{margin-bottom:26px}
.home-copy h1{font-size:clamp(3rem,12.6vw,4rem);line-height:.98;letter-spacing:-.045em;margin:0 0 21px}
.home-copy .subtitle{font-size:clamp(1.2rem,4.8vw,1.5rem);line-height:1.35;margin:0;font-weight:750}
.home-copy .lead{font-size:clamp(1rem,4.2vw,1.2rem);line-height:1.5;margin:18px 0 0}
.benefits .card{padding:13px 18px;margin:0 0 9px;border-radius:20px;gap:15px;background:#f5f7f0}
.benefits .benefit h2{font-size:1.12rem;margin:0 0 3px}
.benefits .benefit p{font-size:.95rem;line-height:1.4;margin:0;color:#426071}
.benefits .badge{width:52px;height:52px;flex-basis:52px}
.benefits .ui-icon{width:18px;height:18px;flex-basis:18px;color:#34594b}
.home-actions{display:block;margin-top:16px}
.home-actions .button,.home-actions .button:first-child{position:relative;width:100%;padding:12px 45px;min-height:54px;font-size:1.18rem;border-radius:19px;text-align:center;background:linear-gradient(110deg,#207450,#13583f);border-color:#21694b;box-shadow:0 4px 0 #d5e4d6,0 8px 20px #1b603b12}
.home-actions .button:hover{background:#155b40;box-shadow:0 4px 0 #c1d9c4,0 9px 24px #1b603b20}
.home-actions .button .ui-icon{position:absolute;right:20px;width:22px;height:22px}
.landing .site-footer{margin-top:auto;width:min(100%,560px)}
@media(max-width:700px){
 .app-top{padding:10px 20px;min-height:56px;gap:10px}
 .app-title{font-size:.82rem}
 .current-profile,.profile-picker{font-size:.8rem}
 .inside main{padding-top:20px}
 .landing main{padding:32px 22px 0}
 .benefits .card{padding:12px 15px;gap:14px}
 .benefits .benefit h2{font-size:1.05rem}
 .benefits .benefit p{font-size:.9rem}
 .benefits .badge{width:49px;height:49px;flex-basis:49px}
 .footer-brand{font-size:1.27rem;top:18%}
}
@media(max-width:350px){
 .landing main{padding-left:16px;padding-right:16px}
 .landing .benefits .card{padding:9px 12px;gap:11px}
 .landing .benefits .benefit h2{font-size:.98rem}
 .landing .benefits .benefit p{font-size:.85rem}
 .landing .benefits .badge{width:42px;height:42px;flex-basis:42px}
 .footer-brand{font-size:1.15rem;top:17%}
 .app-top{padding-left:14px;padding-right:14px}
}
@media(prefers-reduced-motion:no-preference){.home-actions .button{transition:background .15s,box-shadow .15s}}
.onboarding-steps li{display:block}
.onboarding-steps li>.step-control{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 7px;width:100%;height:auto;min-height:44px;padding:5px 2px;background:none;border:0;border-radius:8px;color:inherit;text-decoration:none;font:inherit;font-weight:inherit;cursor:default}
.onboarding-steps .step-number{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;background:#eef3e9;color:#476070;border-radius:50%;font-size:.75rem;font-weight:700}
.onboarding-steps [aria-current]>.step-control{background:none;color:var(--green)}
.onboarding-steps [aria-current] .step-number{background:var(--green);color:white}
.onboarding-steps a.step-control,.onboarding-steps button.step-control{cursor:pointer;color:var(--green)}
.onboarding-steps a.step-control:hover,.onboarding-steps button.step-control:hover{background:#eff5e9;text-decoration:underline;text-underline-offset:3px}
.registration-context .text-button{padding:3px 0;min-height:34px;font-weight:500}

/* Profile choice: keep the figures and actions together, framed by the landscape. */
.profile-choice-page{display:flex;flex-direction:column;min-height:100svh}
.profile-choice-page main{width:100%;max-width:480px;min-height:0;padding:12px 20px 0}
.profile-choice-page .onboarding-steps{gap:8px;margin-bottom:12px}
.profile-choice-page .onboarding-heading .eyebrow{font-size:.68rem;margin:0 0 6px}
.profile-choice-page .onboarding-heading h1{font-size:1.8rem;padding-bottom:13px}
.profile-choice-page .onboarding-heading h1:after{width:74px;height:4px}
.profile-choice-page .onboarding-heading .lead{font-size:.9rem;line-height:1.45;margin:10px auto 16px}
.profile-choice-page .intent-options{gap:12px}
.profile-choice-page .person-choice{gap:6px;padding:20px 10px 14px;border-radius:21px}
.profile-choice-page .person-art{max-width:clamp(88px,18svh,164px);margin:0 auto}
.profile-choice-page .person-choice strong{font-size:1.2rem}
.profile-choice-page .person-choice>span:last-child{font-size:.8rem;line-height:1.45}
.profile-choice-page .intent-form>.button{margin-top:16px;min-height:52px}
.profile-choice-page .auth-switch{font-size:.85rem;padding:0;margin:8px 0 0;line-height:1.5}
.profile-choice-page .auth-switch a{display:inline-flex;align-items:center;min-height:44px}
.profile-choice-page .site-footer{width:min(100%,520px);margin-top:-96px;flex:1;display:flex;align-items:flex-end}
.profile-choice-page .footer-scene{width:100%}
@media(max-height:740px){
 .profile-choice-page main{padding-top:6px}
 .profile-choice-page .onboarding-steps{margin-bottom:5px}
 .profile-choice-page .onboarding-heading h1{font-size:1.65rem}
 .profile-choice-page .onboarding-heading .lead{margin:8px auto 12px}
 .profile-choice-page .person-art{max-width:88px}
 .profile-choice-page .person-choice{padding-top:16px;padding-bottom:11px}
 .profile-choice-page .intent-form>.button{margin-top:13px}
 .profile-choice-page .site-footer{margin-top:-130px}
}

/* Account and journey steps share the compact onboarding frame. */
.account-onboarding,.journey-onboarding{display:flex;flex-direction:column;min-height:100svh;background-image:none}
.account-onboarding main,.journey-onboarding main{width:100%;max-width:500px;min-height:0;padding:12px 20px 0}
.account-onboarding .onboarding-steps,.journey-onboarding .onboarding-steps{margin-bottom:16px}
.account-onboarding h1,.journey-onboarding h1{font-size:2rem;text-align:center;margin-bottom:18px}
.account-onboarding main>.narrow>.eyebrow,.journey-onboarding main>.eyebrow{display:none}
.account-onboarding .card,.journey-onboarding .card{padding:20px;margin-bottom:0;border-radius:23px}
.account-onboarding .stack{gap:12px}
.account-onboarding label{font-size:.9rem;gap:4px}
.account-onboarding input,.account-onboarding select{min-height:44px;padding:8px 11px}
.account-onboarding input[type=checkbox]{min-height:21px;padding:0}
.account-onboarding .registration-context{gap:12px;margin:0}
.account-onboarding .registration-person{height:54px;width:54px;flex-basis:54px}
.account-onboarding .registration-context .text-button{min-height:28px}
.account-onboarding .registration-context+p{font-size:.85rem;line-height:1.45;margin:0}
.account-onboarding .privacy-accept{font-size:.73rem;font-weight:400;gap:7px;flex-wrap:nowrap;align-items:center;min-height:32px}
.account-onboarding .privacy-accept span{min-width:0}
.account-onboarding .auth-switch{font-size:.85rem;margin:0;padding:0;text-align:center;line-height:1.45}
.account-onboarding .auth-switch a{display:inline-flex;align-items:center;min-height:44px}
.account-onboarding .site-footer,.journey-onboarding .site-footer{width:min(100%,500px);margin-top:-105px;flex:1;display:flex;align-items:flex-end}
.account-onboarding .footer-scene,.journey-onboarding .footer-scene{width:100%}
.email-destination{overflow-wrap:anywhere}
.verification-form input{font-size:1.5rem;letter-spacing:.12em;text-align:center;font-weight:750}
.verification-help{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 16px;font-size:.8rem}
.verification-help a,.verification-help button{min-height:44px;display:inline-flex;align-items:center}
.child-onboarding .lead{font-size:.95rem;text-align:center;margin-bottom:18px}
.child-onboarding .check{font-size:.8rem;flex-wrap:nowrap;font-weight:400;gap:9px}
.journey-onboarding .start-layout{grid-template-columns:1fr;gap:15px}
.journey-onboarding .start-person{font-size:.95rem;text-align:center;margin:0 0 8px}
.journey-onboarding main>.lead{font-size:.9rem;text-align:center;margin:0 0 18px}
.journey-onboarding .journey-guide{display:block;text-align:center;padding:0 10px}
.journey-onboarding .journey-guide .card{display:none}
.journey-onboarding .journey-guide>.small{font-size:.75rem;max-width:320px;margin:0 auto}
.journey-onboarding .start-summary{font-size:.8rem;margin:0}
.journey-onboarding .stack{gap:14px}
.journey-onboarding .past-days .notice{padding:12px;font-size:.9rem;margin:0}
.journey-onboarding .past-days .choice{padding:10px;font-size:.85rem}
.journey-onboarding .site-footer{margin-top:-30px}
/* Progress and today's actions are the first screen of Min dag. */
.daily-page main{padding-top:14px}
.daily-page .dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.daily-page .dashboard-grid>.card{padding:20px}
.daily-page .journey-heading h2{font-size:1.35rem;margin:0}
.daily-page .journey-heading .eyebrow{font-size:.65rem;margin-bottom:4px}
.daily-page .journey-heading .badge{width:48px;height:48px;flex-basis:48px}
.daily-page .big-number{font-size:3.6rem;margin:9px 0 0;line-height:1}
.daily-page .big-number span{font-size:1.35rem}
.daily-page .journey-unit{font-size:.85rem;margin:3px 0 10px}
.daily-page progress{height:11px;display:block}
.daily-page .progress-caption{font-size:.75rem;margin-top:7px}
.daily-page .journey-encouragement{font-size:.8rem;color:#246b4b;margin:8px 0}
.daily-page .free-budget{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 12px;font-size:.72rem;color:#476070;margin:0;padding:10px 0;border-top:1px solid #d9e4d2}
.daily-page .journey-meta{font-size:.7rem;padding-top:8px;gap:12px;margin:0}
.daily-page .journey-meta strong{display:inline;font:inherit;font-weight:650;margin-left:3px}
.daily-page .day-welcome{margin-bottom:12px;gap:10px;padding-bottom:0}
.daily-page .day-welcome h2{font-size:1.2rem;margin:0}
.daily-page .day-sun{width:32px;height:32px;flex-basis:32px}
.daily-page .day-sun .ui-icon{width:22px;height:22px}
.daily-page .day-morning,.daily-page .day-evening{padding:0;margin:0;border:0;background:none}
.daily-page .day-evening{margin-top:10px}
.daily-page .day-morning .button,.daily-page .day-evening .button{min-height:46px;font-size:.92rem;padding:9px 12px}
.daily-page .day-morning.is-done{padding:6px 10px;background:#e0f2e3;border-radius:14px}
.daily-page .morning-confirmation{display:flex;align-items:center;justify-content:center;gap:7px;font-weight:750;font-size:.85rem;margin:0}
.daily-page .day-morning .text-button{font-size:.8rem;min-height:28px;margin:0 auto;display:block;padding:5px}
.daily-page .day-help{font-size:.7rem;text-align:center;line-height:1.45;margin:10px 0 0}
.daily-page .journey-history{font-size:.75rem;text-align:center;margin:12px 0}
.daily-page .journey-history a{display:inline-flex;align-items:center;min-height:32px}
@media(max-width:700px){
 .daily-page .dashboard-grid{grid-template-columns:1fr;gap:12px}
 .daily-page .dashboard-grid>.card{padding:16px 18px}
 .daily-page .app-top{min-height:50px;padding-top:7px;padding-bottom:7px}
 .daily-page main{padding:10px 20px 30px}
}
@media(max-width:350px){
 .account-onboarding main,.journey-onboarding main{padding-left:14px;padding-right:14px}
 .account-onboarding .card,.journey-onboarding .card{padding:16px}
 .account-onboarding .privacy-accept{font-size:.68rem;gap:5px}
 .daily-page main{padding-left:14px;padding-right:14px}
 .daily-page .dashboard-grid>.card{padding:14px}
 .daily-page .journey-heading h2{font-size:1.2rem}
 .daily-page .day-welcome h2{font-size:1.08rem}
}

.footer-links{align-items:center;gap:6px}.app-version{font-size:10px;font-weight:400;color:#16392c;text-shadow:0 1px 2px #edf4d2;white-space:nowrap}

/* R34–R37: compact reminders, plain-text help and clear rights feedback. */
.reminders-page h1{font-size:clamp(2rem,6vw,3rem);margin-bottom:.45rem}
.reminder-recipient{margin:0 0 1.2rem;color:var(--muted,#466473);font-size:1rem}
.reminders-page .card{padding:1.2rem}
.reminders-page .benefit{align-items:center;gap:.8rem}
.reminders-page .benefit h2{margin:0;font-size:1.45rem}
.reminders-page .benefit img{width:58px;height:58px}
.reminders-page .stack{gap:.85rem}
.reminder-toggle{font-size:1.12rem}
.phone-help summary,.rights-help summary{font-size:1rem}
.phone-help p{margin-top:1rem;font-size:1rem;line-height:1.6}
.preserve-lines{white-space:pre-line;overflow-wrap:anywhere}
.rights-help>.stack{margin-top:1rem}
.request-state{padding:.25rem .65rem;border-radius:1rem;background:#eaf3e3;color:#245f45;font-size:.85rem}
.request-reply{padding:1rem;border-left:4px solid #7b9e67;background:#f0f6ed;border-radius:0 12px 12px 0}
.request-reply h3{margin:0 0 .4rem}.request-reply p{margin:0}
.reset-receipt{text-align:center}.reset-receipt>img{align-self:center}.reset-receipt h1{font-size:clamp(2rem,6vw,3rem)}
#reminder-test{margin-top:.3rem}#test-status:empty{display:none}
#morning-fields{padding-left:.65rem;border-left:3px solid #e0eadc}
#device-management>div{margin-top:.65rem}.help-preview p{white-space:pre-line;overflow-wrap:anywhere}

.reminders-page .benefit .badge{width:58px;height:58px;flex-basis:58px}
/* Support text follows the same typography and field treatment as the account forms. */
.rights-help textarea,.help-editor textarea,.request-editor textarea{display:block;width:100%;font:inherit;color:var(--ink);line-height:1.5;background:#fff;border:1px solid #9db5a5;border-radius:14px;padding:12px 14px;resize:vertical;min-height:110px}
.reset-receipt>.badge{margin-inline:auto}

/* A self-contained error view remains usable when the database/session is down. */
.incident-page{min-height:100svh;background:#f4f7ed url('/art/background-bottom.png') center bottom/100% auto no-repeat;padding:clamp(20px,5vh,60px) 20px 120px}.incident-card{max-width:610px;margin:auto;text-align:center;background:#fffef8;border:1px solid #dbe5d4;border-radius:28px;padding:clamp(22px,5vw,40px);box-shadow:0 14px 50px #183c3010}.incident-card h1{font-size:clamp(29px,6vw,43px);line-height:1.12}.incident-card .button{margin:20px 0}.incident-card .subtle-link{display:block}.lost-scout{position:relative;height:140px;width:240px;max-width:100%;margin:0 auto 14px}.lost-scout img{height:140px;width:140px;object-fit:contain;object-position:bottom;position:absolute;left:0;bottom:0}.lost-scout span{position:absolute;right:0;top:8px;width:120px;background:#ffdf85;border-radius:20px 20px 20px 0;padding:12px;font-size:14px;line-height:1.25;font-weight:700}.incident-reference{font-size:13px;overflow-wrap:anywhere}.incident-reference code{display:block;font-size:inherit;color:#335b4a}.report-comment{white-space:pre-wrap;overflow-wrap:anywhere}.small{font-size:14px}.footer-links{flex-wrap:wrap}.footer-links>a[href='/rapporter-problem']{font-size:12px}.admin-table-wrap small{display:block;overflow-wrap:anywhere}.admin-grid dd{overflow-wrap:anywhere}
