:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#203448;background:#f3f6f8}*{box-sizing:border-box}body{margin:0}.shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr}aside{background:#173653;color:white;padding:28px 15px;display:flex;flex-direction:column;gap:30px}.brand{font-size:22px;font-weight:800;padding:0 12px;white-space:nowrap}nav{display:grid;gap:8px}button,.filebtn{border:0;border-radius:11px;background:#176b82;color:white;padding:11px 15px;font:inherit;font-weight:650;cursor:pointer;display:inline-block;text-align:center}nav button{background:transparent;text-align:left;color:#e0edf4}nav button.active,nav button:hover{background:#2c526b}.side-note{margin-top:auto;font-size:12px;color:#afc7d5;padding:0 12px}main{width:min(100%,1050px);padding:36px 42px;margin:0 auto}header,.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}header{margin-bottom:25px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#6a8191}h1{font-size:35px;margin:4px 0}h2{font-size:19px;margin:0 0 12px}.pill{background:#e2eee9;color:#25725b;border-radius:30px;padding:8px 13px;font-size:12px}.card{background:white;border:1px solid #e0e8ed;border-radius:18px;padding:24px;margin-bottom:20px;box-shadow:0 5px 25px #153b5610}.muted{color:#6c7f8b;font-size:13px;line-height:1.5}.controls{margin:20px 0}.form{display:grid;grid-template-columns:1.5fr 1.2fr 1fr 1fr auto;gap:9px}.form.compact{grid-template-columns:1fr 180px auto;margin:16px 0}input,select{border:1px solid #d6e0e6;border-radius:10px;padding:11px;font:inherit;min-width:0;background:#fff;color:#203448}.entries{display:grid;gap:10px;margin-top:14px}.entry{border:1px solid #e5ebef;border-radius:12px;padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.entry-left{display:flex;align-items:center;gap:10px;min-width:0}.dot{height:11px;width:11px;border-radius:50%;flex:none}.small{font-size:12px;color:#72838e}.entry strong{display:block;font-size:14px;overflow-wrap:anywhere}.remove{background:#f8e9e9;color:#9b3c3c;padding:7px 10px;font-size:12px}.hidden{display:none}.empty{padding:20px;text-align:center;color:#8496a0;background:#f7fafb;border-radius:10px}footer{font-size:12px;color:#82929c;margin-top:35px}dialog{border:0;border-radius:16px;padding:25px;box-shadow:0 20px 90px #0004;max-width:400px}dialog::backdrop{background:#122b3b88}@media(max-width:850px){.shell{display:block}aside{padding:14px 14px 10px;gap:12px}.brand{font-size:19px}nav{display:flex;overflow-x:auto}nav button{white-space:nowrap;font-size:13px}.side-note{display:none}main{padding:20px 14px}h1{font-size:28px}.card{padding:17px}.form{grid-template-columns:1fr 1fr}.form button{grid-column:1/-1}.form.compact{grid-template-columns:1fr 1fr}.form.compact input{grid-column:1/-1}.form.compact button{grid-column:auto}.pill{display:none}}@media(max-width:390px){nav button{padding:9px}.form{grid-template-columns:1fr}.form.compact{grid-template-columns:1fr}.form.compact input{grid-column:auto}}
.secondary{background:#e8f0f4;color:#173653}.legend{display:flex;flex-wrap:wrap;gap:13px;margin-top:15px}.legend span{display:inline-flex;align-items:center;gap:6px;font-size:12px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #dde6ec;border-radius:12px;overflow:hidden}.cal-head{background:#eef3f6;text-align:center;padding:9px 2px;font-size:12px;font-weight:700}.cal-cell{min-height:100px;border-top:1px solid #e5edf1;border-right:1px solid #e5edf1;padding:5px;overflow:hidden}.cal-cell:nth-child(7n){border-right:0}.cal-cell.other{background:#f7f9fa;color:#9aabb5}.cal-cell.today{background:#eff8f6}.cal-num{font-size:12px;font-weight:700;margin-bottom:5px}.cal-event{display:block;width:100%;text-align:left;border-radius:5px;border:0;padding:4px 5px;margin:3px 0;font-size:11px;font-weight:600;color:white;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-list{display:grid;gap:8px}.cal-list .entry{cursor:default}.cal-list .cal-event{width:auto;margin:0;white-space:normal;font-size:13px}.calendar-color{width:12px;height:12px;border-radius:50%;display:inline-block;flex:none}input[type=color]{width:65px;padding:4px;min-height:43px}.controls{gap:10px}.controls select{max-width:230px}.form.compact:has(input[type=color]){grid-template-columns:1fr 70px auto}@media(max-width:600px){.cal-cell{min-height:67px;padding:3px}.cal-head{font-size:10px}.cal-num{font-size:11px}.cal-event{font-size:9px;padding:3px 2px}.form.compact:has(input[type=color]){grid-template-columns:1fr 65px}.form.compact:has(input[type=color]) button{grid-column:1/-1}.controls select{max-width:100%}}

/* Family Hub 0.2.1: unified calendar grids and mobile-first detail sheet */
.cal-num.day-select{display:block;width:100%;background:transparent;color:inherit;text-align:left;padding:2px 0;margin:0;font-size:12px;border-radius:4px}
.more-events{background:transparent;color:#176b82;font-size:11px;padding:3px;border:0;text-align:left}
.schedule-scroll{overflow:auto;border:1px solid #dde6ec;border-radius:12px;max-height:65vh;overscroll-behavior:contain}
.schedule-header,.schedule-body{display:grid;grid-template-columns:54px repeat(var(--cols),minmax(95px,1fr));min-width:max-content}
.schedule-header{position:sticky;top:0;z-index:2;background:#eef3f6}
.time-corner{background:#eef3f6;position:sticky;left:0;z-index:3}
.schedule-day{display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:0;background:#eef3f6;color:#203448;border-left:1px solid #dde6ec;padding:9px 4px;font-size:12px}
.schedule-day strong{font-size:17px}.schedule-day.is-today{background:#dcefe9}
.schedule-body{grid-auto-rows:minmax(64px,auto)}
.time-label{font-size:11px;color:#6c7f8b;padding:5px;background:#fff;border-top:1px solid #e5edf1;position:sticky;left:0;z-index:1}
.time-slot{border-top:1px solid #e5edf1;border-left:1px solid #e5edf1;padding:3px;min-width:0}
.time-slot.is-today{background:#f1f9f6}.time-slot .cal-event{white-space:normal;overflow-wrap:anywhere;line-height:1.25;font-size:11px;margin:1px 0;padding:5px}
.event-time{display:block;font-weight:500;font-size:10px;opacity:.95}
.detail-dialog{width:min(480px,calc(100vw - 24px));max-height:88vh;overflow-y:auto}
.detail-top{display:flex;justify-content:space-between;align-items:start;gap:15px}.detail-top h2{font-size:23px;overflow-wrap:anywhere}
.detail-dialog p{line-height:1.6}.detail-dialog h3{font-size:15px;margin-top:20px}
.participant-line{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #e5edf1}
.status-chip{font-size:11px;color:#7c5964;background:#f8eef1;border-radius:30px;padding:5px 9px}
.field-label{font-size:12px;color:#627a88;display:grid;gap:4px}.field-label input{width:100%}
.participant-field{border:1px solid #dde6ec;border-radius:10px;grid-column:1/-1;padding:10px 12px}.participant-field legend{font-size:13px;font-weight:650}
#participant-picker{display:flex;flex-wrap:wrap;gap:10px}.participant-option{font-size:13px;display:inline-flex;align-items:center;gap:4px}
#event-form{grid-template-columns:repeat(2,minmax(0,1fr))}#event-form>input[name=title],#event-form>input[name=location]{grid-column:1/-1}#event-form button{grid-column:1/-1}
@media(max-width:600px){.schedule-header,.schedule-body{grid-template-columns:42px repeat(var(--cols),minmax(72px,1fr))}.time-label{font-size:10px}.schedule-day{font-size:10px}.schedule-day strong{font-size:14px}.schedule-scroll{max-height:62vh}.time-slot .cal-event{font-size:10px;padding:3px}.event-time{font-size:9px}.cal-cell{min-height:80px}.cal-cell .cal-event{font-size:9px}.cal-cell .event-time{display:none}.detail-dialog{position:fixed;top:auto;bottom:0;left:0;right:0;margin:0;width:100%;max-width:none;max-height:85dvh;border-radius:20px 20px 0 0;padding:22px}.detail-dialog::backdrop{background:#122b3b99}}

/* 0.3 auth */
.auth-form{display:grid;gap:12px;max-width:460px;margin:18px 0 24px}.auth-form label{display:grid;gap:6px;font-size:13px;font-weight:650}.auth-form input{width:100%}#groups-panel .entry{flex-wrap:wrap}#account .card{overflow-wrap:anywhere}@media(max-width:600px){#account .row button{flex:1}}

/* 0.3.1 – separat mobilanpassad inloggningssida */
.welcome{min-height:100dvh;display:grid;place-items:center;background:linear-gradient(135deg,#173653,#226579);padding:24px;color:white}.welcome-inner{width:min(980px,100%);display:grid;grid-template-columns:1fr 420px;gap:60px;align-items:center}.welcome-mark{font-weight:800;font-size:24px;margin-bottom:34px}.welcome-intro h1{font-size:clamp(34px,4vw,56px);line-height:1.1;color:white;margin:0 0 22px}.welcome-intro p{color:#e2edf1;font-size:18px;line-height:1.6}.welcome-points{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;color:#e0f4ec;font-size:14px}.welcome-card{background:#fff;color:#203448;border-radius:22px;padding:28px;box-shadow:0 18px 50px #081c2a55}.welcome-card h2{font-size:24px;margin:20px 0 8px}.welcome-card .auth-form{margin:16px 0}.welcome-card .auth-form button{width:100%;background:#176e83;color:white}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:12px;background:#eaf1f4}.auth-tabs button{background:transparent;color:#334e5c;border:0;border-radius:9px;padding:11px 6px}.auth-tabs button.chosen{background:#fff;box-shadow:0 2px 6px #17365320}.auth-message{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:#9c4d28;min-height:0}.auth-foot{font-size:12px}.welcome.hidden,.shell.hidden{display:none!important}@media(max-width:700px){.welcome{padding:20px 14px;place-items:start center}.welcome-inner{grid-template-columns:1fr;gap:22px}.welcome-mark{font-size:20px;margin-bottom:15px}.welcome-intro h1{font-size:31px;margin-bottom:12px}.welcome-intro p{font-size:14px;margin:0}.welcome-points{margin-top:14px;font-size:12px}.welcome-card{padding:20px;border-radius:18px}.welcome-card h2{font-size:21px}}

/* Public landing v0.5 */
.landing{display:block;min-height:100vh;background:#f5f8fb;color:#173653}
.landing *{box-sizing:border-box}
.landing-nav{max-width:1160px;margin:auto;padding:20px 24px;display:flex;align-items:center;gap:24px;justify-content:space-between}
.landing-logo{font-weight:800;font-size:1.35rem;text-decoration:none;color:#173653}
.landing-nav nav{display:flex;gap:24px}
.landing-nav nav a,.landing-footer a{color:#34566b;text-decoration:none}
.landing button{cursor:pointer}
.landing-login,.landing-outline{border:1px solid #c4d4df!important;background:transparent!important;color:#173653!important;border-radius:12px;padding:12px 18px;text-decoration:none}
.landing-hero{max-width:1160px;margin:28px auto 65px;padding:45px 24px;display:grid;grid-template-columns:1.1fr .9fr;gap:38px;align-items:center}
.landing-kicker{color:#14826e;font-size:.75rem;font-weight:800;letter-spacing:.13em}
.landing-hero h1{font-size:clamp(2.6rem,5vw,4.7rem);line-height:1.12;margin:18px 0;color:#173653}
.landing-hero h1 em{font-style:normal;color:#178b77}
.landing-hero p{max-width:520px;line-height:1.65;color:#476277}
.landing-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:25px 0}
.landing-actions button,.landing-bottom button,.price-card button,.demo-card form button{background:#178b77;color:#fff;border:0;border-radius:12px;padding:13px 19px;font-weight:700}
.landing-small{font-size:.82rem;color:#718294!important}
.hero-preview{background:#173653;border-radius:24px;padding:26px;color:white;box-shadow:0 25px 60px #17365335;transform:rotate(1deg)}
.preview-top{display:flex;justify-content:space-between;margin-bottom:24px}
.preview-top span{color:#a9c9d2}
.preview-days{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.preview-days div{background:#f7fafc;color:#173653;border-radius:10px;min-height:112px;padding:10px 6px;display:flex;flex-direction:column;gap:20px;text-align:center;font-size:.72rem}
.preview-days span{background:#d8eee7;border-radius:6px;padding:5px 2px}
.preview-days div:nth-child(2) span{background:#dce7ff}.preview-days div:nth-child(4) span{background:#f8e6d1}
.preview-note{margin-top:22px;color:#bce9dc}
.landing-section{max-width:1160px;margin:0 auto;padding:65px 24px;scroll-margin-top:20px}
.landing-section h2{font-size:clamp(1.8rem,3.5vw,2.7rem);max-width:700px;margin:12px 0 20px;color:#173653}
.landing-section>p{color:#5d7485}
.feature-grid,.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.feature-grid article,.price-card,.demo-card{background:white;border:1px solid #dce6ec;border-radius:20px;padding:24px;box-shadow:0 8px 28px #1736530a}
.feature-grid article>span{font-size:1.7rem}
.feature-grid h3{margin-bottom:7px}.feature-grid p,.price-card p{color:#5d7485;line-height:1.55}
.demo-section{background:#eaf3f3;max-width:none;padding-left:max(24px,calc((100vw - 1112px)/2));padding-right:max(24px,calc((100vw - 1112px)/2))}
.demo-card{max-width:760px}
.demo-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.demo-head button{background:#e9f3f3;color:#173653;border:0;border-radius:8px;font-size:1.4rem;padding:5px 15px}
.demo-days{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:20px 0}
.demo-days div{background:#eff5f8;border-radius:10px;padding:12px 5px;display:flex;flex-direction:column;text-align:center;gap:7px}
.demo-card form{display:flex;gap:10px}.demo-card form input{flex:1;min-width:0}
.demo-card ul{list-style:none;padding:0}.demo-card li{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e4ebee;padding:10px 0}.demo-card li span{flex:1}.demo-card li button{border:0;background:transparent;color:#687c89}
.billing-switch{display:inline-flex;padding:5px;border-radius:12px;background:#e8f0f3;gap:5px}
.billing-switch button{border:0;border-radius:9px;background:transparent;padding:10px 15px;color:#173653}
.billing-switch button.selected{background:white;box-shadow:0 2px 9px #17365318}
.pricing-grid{grid-template-columns:repeat(3,1fr)}
.price-card{display:flex;flex-direction:column;gap:9px}
.price-card.featured{border:2px solid #178b77}
.popular{color:#178b77;font-weight:800;font-size:.7rem}
.price-card h3{font-size:1.4rem;margin:5px 0}
.price-amount{display:flex;align-items:baseline;gap:5px}
.price-amount strong{font-size:2rem;color:#173653}
.price-card ul{padding-left:18px;line-height:1.9;flex:1}
.price-card button{width:100%}
.landing-bottom{text-align:center;background:#173653;color:white;padding:65px 20px}
.landing-bottom h2{color:white;font-size:2rem}
.landing-bottom p{color:#c2d8e4}
.landing-footer{padding:24px;text-align:center;color:#647f8c}
.landing-footer button{border:0;background:transparent;color:#34566b;text-decoration:underline}
.auth-overlay{position:fixed;inset:0;z-index:999;display:grid;place-items:center;padding:20px}
.auth-overlay.hidden{display:none}
.auth-backdrop{position:absolute;inset:0;background:#0c2437b8}
.auth-modal{position:relative;z-index:1;width:min(100%,440px);max-height:90vh;overflow:auto;box-shadow:0 20px 90px #0004}
.auth-close{position:absolute;right:10px;top:10px;border:0;background:transparent;color:#173653}
@media(max-width:800px){.landing-hero{grid-template-columns:1fr;padding-top:15px}.feature-grid{grid-template-columns:repeat(2,1fr)}.pricing-grid{grid-template-columns:1fr}.landing-nav nav{gap:12px}.landing-nav{flex-wrap:wrap}.hero-preview{transform:none}}
@media(max-width:470px){.landing-nav nav{order:3;width:100%;justify-content:center}.landing-hero{margin-top:0}.feature-grid{grid-template-columns:1fr}.preview-days div{min-height:95px;font-size:.6rem}.demo-days div{font-size:.7rem}.landing-hero h1{font-size:2.5rem}}

/* 0.5.1 – lugnare redaktionell landningssida */
.landing{background:#f8f9f6;color:#23352f;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.landing-nav{background:#f8f9f6;border-bottom:1px solid #e3e7df;box-shadow:none}
.landing-logo{font-size:1.15rem;letter-spacing:-.045em;font-weight:800;color:#1d443b}
.landing-nav a:not(.landing-logo){font-size:.9rem;color:#465c52}
.landing-hero{max-width:1190px;margin:auto;gap:70px;padding-top:90px;padding-bottom:100px}
.landing-hero h1{font-size:clamp(3rem,6vw,5.6rem);letter-spacing:-.065em;line-height:1.02;font-weight:720;color:#1b342b}
.landing-hero h1 em{font-style:normal;color:#497f68}
.landing-hero p{max-width:500px;font-size:1.1rem;line-height:1.7;color:#52655c}
.landing-kicker{font-size:.72rem;letter-spacing:.14em;color:#537463;font-weight:750}
.landing-actions button,.landing-bottom button{background:#234d3f;border-radius:10px}
.hero-preview{background:#fff;border:1px solid #dce4dc;border-radius:18px;box-shadow:0 18px 55px #193b2812;transform:rotate(-1deg)}
.preview-top{border-bottom:1px solid #e8eee8}
.preview-days div{background:#f5f8f5;border:1px solid #e7ede6;border-radius:10px}
.preview-note{color:#526e5f}
.landing-section{max-width:1120px;margin:auto;padding:85px 22px}
.landing-section h2{letter-spacing:-.045em;line-height:1.13;color:#213b31;font-size:clamp(1.9rem,3.5vw,3.1rem)}
.feature-grid article{background:transparent;border:0;border-top:1px solid #cdd8cd;border-radius:0;box-shadow:none;padding:23px 8px 15px}
.feature-grid article span{font-size:1.5rem}
.feature-grid article h3{letter-spacing:-.025em}
.demo-section{background:#edf2eb;border-radius:22px}
.demo-card{border:1px solid #d9e3d9;box-shadow:0 12px 38px #183b2410;border-radius:16px}
.price-card{background:#fff;border:1px solid #dbe3dc;border-radius:14px;box-shadow:none}
.price-card.featured{border:2px solid #427d64;background:#f7faf7}
.price-amount strong{color:#244e3e}
.billing-switch{background:#e5ebe5}
.landing-bottom{background:#23483b}
.landing-bottom p{color:#d4e4d9}
.sync-panel{margin-top:18px}
.sync-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.sync-eyebrow{font-size:.72rem;letter-spacing:.13em;color:#64847a;font-weight:750}
.sync-phase{font-size:.72rem;background:#eaf2ef;border-radius:100px;padding:7px 12px;color:#365e4d;white-space:nowrap}
.sync-providers{border:1px solid #e1e9e5;border-radius:14px;overflow:hidden;margin-top:15px}
.sync-provider{display:flex;align-items:center;gap:14px;padding:14px;border-bottom:1px solid #e1e9e5}
.sync-provider:last-child{border-bottom:0}
.sync-provider-mark{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:11px;font-weight:800;background:#e7eee9;color:#23483b}
.sync-provider-mark.google{color:#387b56;background:#e8f4ec}
.sync-provider-mark.outlook{color:#276ba0;background:#eaf2fb}
.sync-provider-mark.apple{color:#2d3741;background:#edf0f3}
.sync-provider-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.sync-provider-copy small{color:#75857f}
.sync-provider button{white-space:nowrap}
.sync-privacy{background:#f3f7f4;padding:17px;border-radius:13px;margin-top:16px}
.sync-privacy-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sync-privacy-options span{border:1px solid #d6e1d8;background:#fff;border-radius:20px;padding:6px 11px;font-size:.83rem}
@media(max-width:800px){.landing-hero{padding:45px 22px 65px;gap:25px}.hero-preview{transform:none}.landing-section{padding:65px 22px}.demo-section{border-radius:0}}
@media(max-width:470px){.sync-provider{gap:8px;padding:10px}.sync-provider button{padding:9px}.sync-heading{flex-wrap:wrap}}

/* 0.5.2: Installationsguide och transparens */
.install-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:25px 0}.install-grid article{padding:25px;border:1px solid #dce4e6;border-radius:20px;background:#fff}.install-grid p{line-height:1.9}.phone-art{max-width:190px;height:230px;border:7px solid #263b47;border-radius:27px;margin:0 auto 18px;background:#f3f8f7;display:flex;flex-direction:column;overflow:hidden;text-align:center}.phone-bar{font-size:11px;background:#e4eeee;padding:12px 3px}.phone-content{flex:1;display:grid;align-content:center;font-weight:700;color:#214b59}.phone-content small{font-size:11px;font-weight:400}.phone-share{padding:12px;background:#dbe9ec;font-size:23px;color:#176b80}.legal-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.legal-links a{border:1px solid #d3dee1;border-radius:12px;padding:11px 14px;color:#18465b;text-decoration:none}.legal-links a:hover{background:#eaf2f2}@media(max-width:650px){.install-grid{grid-template-columns:1fr}}

/* Family Hub 0.6 – varm, mindre generisk identitet */
.landing{background:#f7f4ee}.landing-hero{background:#f4efe5}.landing-kicker{letter-spacing:.08em}.landing-hero h1{max-width:790px;line-height:1.12;letter-spacing:-.035em}.landing-hero em{color:#3e6c55}.hero-preview{transform:rotate(-1.2deg);box-shadow:6px 12px 0 #e3dacd,0 20px 40px #263b2a18}.feature-grid article:nth-child(2){transform:translateY(8px)}.feature-grid article:nth-child(3){transform:translateY(-5px)}.year-saving{font-weight:700;color:#2e7052;background:#e5f2e8;border-radius:8px;padding:8px 10px;margin:8px 0}.year-saving[hidden]{display:none}

/* v0.8 – warm unified app style */
:root{color:#30443b;background:#f7f5ee}
body{background:#f7f5ee;color:#30443b}
.shell{background:#f7f5ee;grid-template-columns:230px minmax(0,1fr)}
.shell aside{background:#f0eee5;color:#2e473e;border-right:1px solid #dedfd2;padding-top:30px}
.shell aside .brand{color:#345a48;font-family:Georgia,serif;font-weight:700;letter-spacing:-.6px}
.shell aside nav button{color:#455b4d;background:transparent;border-radius:13px;font-weight:600}
.shell aside nav button.active,.shell aside nav button:hover{background:#dde8d9;color:#244c3a}
.shell aside .side-note{color:#78867a}
.shell main{background:#f7f5ee}
.shell main header{border-bottom:1px solid #e8e7dc}
.shell main header h1{font-family:Georgia,serif;color:#294b3b;letter-spacing:-.5px}
.shell .card{background:#fffefa;border:1px solid #e5e5d9;border-radius:19px;box-shadow:0 5px 20px rgba(45,65,49,.045)}
.shell button:not(.secondary):not(.sidebar-signout),.shell .filebtn{background:#3e7156;color:#fff}
.shell button:not(.secondary):not(.sidebar-signout):hover{background:#305c45}
.shell button.secondary{background:#eaf0e6;color:#345a45}
.shell input,.shell select,.shell textarea{background:#fffefa;border-color:#d8ded3;color:#2e4338}
.shell .pill{background:#e7eee3;color:#315942}
.shell .eyebrow{color:#718e79}
.sidebar-signout{margin-top:auto;background:transparent;color:#456653;text-align:left;border:1px solid #cbd7c8;border-radius:12px}
.sidebar-signout:hover{background:#e3ebdf}
#pricing-app-slot .landing-section{padding:10px 0 30px;max-width:none}
#pricing-app-slot .pricing-grid{align-items:stretch}
#pricing-app-slot .price-card{background:#fffefa;border-color:#e1e3d7}
@media(max-width:750px){.shell{display:block}.shell aside{border-right:0;border-bottom:1px solid #dedfd2;padding:14px}.shell aside nav{display:flex;overflow-x:auto;gap:6px}.shell aside nav button{flex-shrink:0}.sidebar-signout{margin-top:6px}.shell main{padding:14px}}

/* Family Hub 0.9 — cohesive interface */
.shell{grid-template-columns:240px minmax(0,1fr)}
.shell aside{position:sticky;top:0;height:100dvh;gap:22px;padding:28px 16px;background:#f4f3ed}
.shell aside .brand{font-size:23px;padding:0 12px 18px;border-bottom:1px solid #dce2d8}
.shell aside nav{display:grid;gap:5px}
.shell aside nav button{font-size:14px;line-height:1.3;padding:13px 14px}
.shell main{min-width:0;padding:28px clamp(20px,3.5vw,55px) 36px;max-width:1500px;width:100%;margin:auto}
.shell main header{padding:0 0 23px;margin-bottom:28px;align-items:center}
.shell main header h1{font-size:clamp(29px,3vw,41px)}
.shell .view{max-width:1100px;margin:0 auto}
.shell .view>.card{margin-bottom:20px;padding:clamp(20px,2.6vw,32px)}
.shell .view>.card h2{font-size:22px;letter-spacing:-.03em;margin-top:0}
.shell .card{box-shadow:0 3px 16px #29453608;border-radius:18px}
.shell .sidebar-signout{width:100%;margin-top:auto;padding:12px 14px}
#pricing-app-slot .landing-section{padding:0 0 28px}
#pricing-app-slot .landing-kicker{font-size:11px;letter-spacing:.12em}
#pricing-app-slot .landing-section>h2{font-size:clamp(26px,3vw,37px);margin:8px 0 10px}
#pricing-app-slot .landing-section>p{font-size:14px;line-height:1.55;max-width:750px}
#pricing-app-slot .billing-switch{margin:22px 0 14px}
#pricing-app-slot .pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 16px;align-items:stretch}
#pricing-app-slot .price-card{min-width:0;padding:24px;gap:8px;border:1px solid #dfe5dc;border-radius:18px;box-shadow:0 3px 16px #29453609;display:flex;flex-direction:column}
#pricing-app-slot .price-card.featured{border:2px solid #53856b;background:#f9fcf8}
#pricing-app-slot .price-card h3{font-size:23px;margin:6px 0}
#pricing-app-slot .price-card p{font-size:14px;line-height:1.5;margin:8px 0}
#pricing-app-slot .price-card ul{font-size:14px;line-height:1.55;flex:1;margin:14px 0 20px;padding-left:20px}
#pricing-app-slot .price-card li{margin-bottom:10px}
#pricing-app-slot .price-card button{margin-top:auto;padding:13px 10px}
#pricing-app-slot .price-amount strong{font-size:clamp(27px,2.7vw,35px)}
#pricing-app-slot .popular{font-size:10px;letter-spacing:.09em}
#pricing-app-slot #billing-notice{margin-top:15px;color:#7c4e3b}
.billing-profile-card{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.billing-profile-card h2,.billing-profile-card>p{flex-basis:100%;margin-bottom:0}
.billing-profile-card button{width:auto}
@media(max-width:1050px){#pricing-app-slot .pricing-grid{grid-template-columns:1fr}#pricing-app-slot .price-card{padding:22px}#pricing-app-slot .price-card ul{flex:none}}
@media(max-width:750px){.shell{display:block}.shell aside{position:relative;height:auto;padding:14px;gap:10px}.shell aside .brand{padding:0 4px 10px;font-size:20px}.shell aside nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}.shell aside nav button{flex-shrink:0;white-space:nowrap;font-size:13px;padding:10px 12px}.shell .sidebar-signout{margin-top:4px;width:auto;padding:8px 12px}.shell main{padding:22px 16px}.shell main header{margin-bottom:20px}.shell .view>.card{padding:20px}#pricing-app-slot .pricing-grid{grid-template-columns:1fr}}

/* 0.9.1: compact portrait navigation; desktop sidebar preserved */
.mobile-nav-bar{display:contents}
.mobile-menu-toggle{display:none!important}
@media(max-width:1024px){
 .shell{display:block!important;min-width:0}
 .shell aside{position:relative!important;height:auto!important;min-height:0!important;padding:12px 18px!important;gap:0!important;border-right:0;border-bottom:1px solid #dce2d8}
 .shell aside .mobile-nav-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
 .shell aside .brand{padding:0!important;border:0!important;margin:0;font-size:23px!important}
 .shell aside .mobile-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;border:1px solid #cbd9ce!important;border-radius:11px;background:#e7efe6!important;color:#315742!important;padding:10px 14px!important;font-size:14px}
 .shell aside nav{display:none!important;overflow:visible!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:15px 0 5px}
 .shell.menu-open aside nav{display:grid!important}
 .shell aside nav button{white-space:normal!important;text-align:left;min-width:0;padding:12px!important;font-size:14px!important}
 .shell aside .sidebar-signout{display:none!important;margin-top:8px!important;width:100%!important}
 .shell.menu-open aside .sidebar-signout{display:block!important}
 .shell aside .side-note{display:none}
 .shell main{width:100%;max-width:none;padding:20px clamp(16px,3vw,28px)!important}
 .shell main header{margin-bottom:18px}
 .shell .view{max-width:100%}
 #pricing-app-slot .pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .shell aside .brand{font-size:20px!important}
 .shell aside nav{grid-template-columns:1fr}
 #pricing-app-slot .pricing-grid{grid-template-columns:1fr}
 .shell main{padding:16px!important}
}
