/* 'HD Inter' (static Inter 400/600, OFL: fonts/Inter-OFL-LICENSE.txt) for V8 and V10; moved from the removed home-v013 renderer in v0.55.0. */
@font-face{font-family:HD Inter;src:url('fonts/inter-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:HD Inter;src:url('fonts/inter-latin-ext-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF}
@font-face{font-family:HD Inter;src:url('fonts/inter-latin-600-normal.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:HD Inter;src:url('fonts/inter-latin-ext-600-normal.woff2') format('woff2');font-weight:600;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF}
/* Isolated Scandinavian V8. No V1–V7 selector or shared clinical state is changed. */
body.n8{--canvas:#f6f5f0;--canvas-alt:#edece5;--surface:#fffefa;--elevated:#fffefa;--ink:#283c32;--ink-2:#3f5147;--ink-muted:#5c6860;--line:#dedfd6;--line-strong:#98a398;--blue:#365647;--blue-light:#e7ece4;--focus:#365647;--font:'HD Inter',system-ui,sans-serif;--n8-serif:Georgia,'Times New Roman',serif;--v2-on-accent:#fffefa;font-family:var(--font);font-size:16px;line-height:1.55;background:var(--canvas);color:var(--ink)}
.n8 .n8-concealed{display:none!important}
.n8 [hidden]{display:none!important}
.n8 .shell{display:block;padding-left:224px;min-height:100dvh;background:var(--canvas)}
.n8 :is(#nav,.rail,.sidebar,.bottom-nav,.mobile-nav){display:none!important}
.n8 .content,.n8 .content.narrow,.n8 .content.wide{width:100%;max-width:1184px;padding:40px 48px 80px;margin:0 auto;display:block;background:none;min-width:0}
.n8 .content>*+*{margin-top:24px}
.n8 .topbar{min-height:76px;padding:14px 32px;gap:12px;border-bottom:1px solid var(--line);box-shadow:none;background:var(--canvas);position:sticky;top:0;z-index:40}
.n8 .topbar .brand{font:500 28px/1.1 var(--n8-serif);letter-spacing:-1px;flex:1;color:var(--ink)}
.n8 .topbar :is(.breadcrumb,.crumb,.who,.user,.mother-settings-shortcut){display:none}
.n8 .topbar :is(.bell,.feedback-shortcut,.n8-top-chat,.n8-top-search){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:9px;border:0;color:var(--ink);background:transparent;border-radius:50%;text-decoration:none;margin:0}
.n8 .topbar :is(.n8-top-chat,.n8-top-search)>span,.n8 .topbar .feedback-shortcut>span:not(.badge){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.n8 .topbar .n8-top-chat{background:var(--blue);color:var(--surface)}
.n8 .topbar .design-variant-control{flex:none;order:0}
.n8 .topbar .design-variant-control select{max-width:168px;min-height:44px;font-size:14px;background:transparent;border:1px solid var(--line);border-radius:24px}
.n8 :is(h1,h2,h3,h4){color:var(--ink);line-height:1.25;letter-spacing:-.025em}
.n8 h1{font:400 44px/1.08 var(--n8-serif)}
.n8 h2{font-size:23px;font-weight:550;margin:0 0 16px}
.n8 h3{font-size:19px;font-weight:600}
.n8 p{line-height:1.6}
.n8 :is(.small,small,.muted,label){font-size:14px;line-height:1.55}
.n8 :is(input,select,textarea,button,.btn){font-family:var(--font);font-size:16px}
.n8 :is(button,.btn,summary,input:not([type=checkbox]):not([type=radio]),select){min-height:48px}
.n8 :is(button,.btn){border-radius:12px;border:1px solid var(--line);padding:11px 17px;color:var(--ink);background:var(--surface);box-shadow:none;cursor:pointer}
.n8 :is(button,.btn):hover{border-color:var(--line-strong);background:var(--canvas-alt)}
.n8 :is(button.primary,.btn.primary){background:var(--blue);border-color:var(--blue);color:var(--surface);font-weight:600}
.n8 :is(button.primary,.btn.primary):hover{background:#294438}
.n8 :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.n8 :is(input,select,textarea){border:1px solid #a6b0a5;border-radius:10px;background:var(--surface);color:var(--ink);padding:12px}
.n8 :is(input[type=checkbox],input[type=radio]){accent-color:var(--blue);width:20px;height:20px;flex:none}
.n8 :is(.row,.actions){gap:14px}
.n8 :is(.sheet,.pr-card,.hcard,.pc-personal-card,.ct-overview,.ct-history-section){border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:none;padding:24px}
.n8 :is(.sheet,.pr-card)>.sheet{border:0;background:transparent;padding:0}
.n8 .ic{width:22px;height:22px;stroke-width:1.5;flex:none}
.n8 a{color:var(--blue);text-underline-offset:4px}
.n8 .n8-nav{position:fixed;inset:0 auto 0 0;width:224px;background:var(--canvas);border-right:1px solid var(--line);z-index:60;display:flex;flex-direction:column;gap:8px;padding:30px 18px}
.n8 .n8-nav>a,.n8 .n8-nav>button{display:flex;gap:13px;align-items:center;text-align:left;min-height:54px;padding:14px 18px;text-decoration:none;color:var(--ink-2);border:0;border-radius:12px;background:transparent;font-size:16px;font-weight:500}
.n8 .n8-nav>a[aria-current=page]{background:var(--blue-light);color:var(--blue)}
.n8 .n8-nav .n8-nav-brand{display:block;font:400 31px/1.2 var(--n8-serif);margin:0 0 45px;padding:7px 10px;border-radius:0}
.n8 .n8-nav-brand span{display:block;font:400 14px/1.4 var(--font);margin-top:12px;color:var(--ink-muted);letter-spacing:0}
.n8 .n8-nav .n8-add{background:var(--blue);color:var(--surface);margin:12px 0}
.n8 .n8-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;border:0;padding:0;margin:0 0 32px;min-width:0}
.n8 .n8-hero h1{font:400 clamp(36px,4vw,56px)/1.06 var(--n8-serif);letter-spacing:-1.5px;margin:13px 0 18px;max-width:700px}
.n8 .n8-eyebrow{font-size:13px;line-height:1.5;font-weight:550;letter-spacing:.12em;text-transform:uppercase;margin:0;color:var(--ink-muted)}
.n8 .n8-lead{font-size:18px;line-height:1.6;margin:0;color:var(--ink-2)}
.n8 .n8-hero-image{width:220px;height:160px;object-fit:cover;border-radius:90px 90px 16px 16px;flex:none}
.n8 .n8-home{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;width:100%}
.n8 .home.simple{display:block;max-width:none;padding:0;gap:0;background:none}
.n8 .n8-home-hero{position:relative;isolation:isolate;display:block;min-height:260px;padding:36px;border-radius:22px;overflow:hidden;margin:0;background:#e7ebe2}
.n8 .n8-home-hero .n8-hero-copy{position:relative;z-index:2;max-width:70%}
.n8 .n8-home-hero h1{font-size:52px}
.n8 .n8-home-hero .n8-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 60%;border-radius:0;z-index:0}
.n8 .n8-home-hero::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#eeeee7f5 0%,#eeeee7df 35%,#eeeee700 78%)}
.n8 .n8-quick{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.n8 .n8-quick button{display:flex;align-items:center;gap:12px;text-align:left;justify-content:flex-start;border-radius:14px;padding:19px 22px;font-weight:550;font-size:16px}
.n8 .n8-quick button:first-child{color:var(--surface);background:var(--blue);border-color:var(--blue)}
.n8 .n8-phase{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}
.n8 .n8-phase>div,.n8 .n8-phase>a{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:550;text-decoration:none}
.n8 .n8-phase>a>.ic:first-child{display:none}
.n8 .n8-detail{margin:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:clip}
.n8 .n8-detail>summary{display:flex;align-items:center;gap:15px;padding:21px 24px;font-size:17px;font-weight:550;list-style:none;cursor:pointer}
.n8 .n8-detail>summary::-webkit-details-marker{display:none}
.n8 .n8-detail>summary>span{flex:1;min-width:0}
.n8 .n8-detail>summary>.ic:last-child{width:20px;height:20px;transition:transform .18s}
.n8 .n8-detail[open]>summary>.ic:last-child{transform:rotate(45deg)}
.n8 .n8-detail[open]>summary{border-bottom:1px solid var(--line)}
.n8 .n8-detail-body{padding:24px;min-width:0}
.n8 .n8-detail-body>section,.n8 .n8-detail-body>.sheet{margin:0!important}
.n8 .n8-detail-body>section>header{display:none}
.n8 .mother-settings{max-width:900px;display:grid;gap:12px;margin:0}
.n8 .mother-settings>.n8-setting{margin:0;border-left:1px solid var(--line)}
.n8 .mother-settings .settings-card{border:0;border-radius:0;box-shadow:none;background:none}
.n8 .mother-settings .settings-card>.sheet{border:0;padding:0;background:none}
.n8 .n8-setting .settings-card>header{background:none;border-color:var(--line);padding:0 0 20px}
.n8 .n8-setting .settings-section-icon{display:none}
.n8 .n8-setting .sheet{background:transparent}
.n8 .settings-version{padding:15px 0;color:var(--ink-muted)}
.n8 .n8-calendar{display:flex;flex-direction:column;gap:0;min-width:0}
.n8 .n8-calendar>.pc-calendar{padding:24px 24px 20px;border:1px solid var(--line);border-radius:18px 18px 0 0;background:var(--surface);margin:0}
.n8 .n8-calendar .pc-calendar-head{align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.n8 .n8-calendar .pc-calendar-head h2{font-size:22px;margin:0}
.n8 .n8-calendar .pc-calendar-head p{display:none}
.n8 .n8-calendar .pc-month-controls{gap:2px;display:flex;align-items:center;flex-wrap:nowrap}
.n8 .n8-calendar .pc-month-controls button{border:0;padding:8px;background:transparent;font-size:14px;min-height:44px;white-space:nowrap}
.n8 .n8-calendar-switch{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:20px}
.n8 .n8-calendar-switch>div{display:flex;padding:3px;background:var(--canvas);border-radius:30px}
.n8 .n8-calendar-switch button{border:0;background:transparent;font-size:14px;min-height:40px;padding:8px 14px;border-radius:24px;white-space:nowrap}
.n8 .n8-calendar-switch button[aria-pressed=true]{background:var(--blue);color:var(--surface)}
.n8 .n8-calendar-switch>[data-legend]{padding:8px 0;text-decoration:underline;text-underline-offset:3px}
.n8 .n8-calendar .pc-weekdays{color:var(--ink-muted);font-size:13px;margin:0 0 6px}
.n8 .n8-calendar .pc-days{gap:5px}
.n8 .n8-calendar .pc-days [data-day]{min-width:0;min-height:64px;padding:9px 3px;border:1px solid transparent;background:var(--canvas);border-radius:12px;font-size:17px;color:var(--ink)}
.n8 .n8-calendar .pc-days .n8-selected-day{border:2px solid var(--blue);font-weight:700}
.n8 .n8-calendar .pc-day-today{background:var(--blue-light)!important}
.n8 .n8-calendar:not(.n8-calendar-month) .n8-other-week{display:none!important}
.n8 .n8-calendar:not(.n8-calendar-legend-open) :is(.pc-calendar-legend,.pc-phase-legend,.pc-category-legend,.pc-calendar-hint){display:none}
.n8 .n8-calendar .pc-category-legend{font-size:14px;gap:14px}
.n8 .n8-calendar>.n8-detail{margin-top:14px}
.n8 .n8-agenda{background:var(--surface);padding:24px;border:1px solid var(--line);border-top:0;border-radius:0 0 18px 18px;margin:0}
.n8 .n8-agenda>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.n8 .n8-agenda h2{font-size:20px;margin:0}
.n8 .n8-agenda button{display:flex;align-items:center;gap:8px;font-size:14px;padding:8px 0;border:0;background:transparent}
.n8 .n8-agenda ul{list-style:none;padding:0;margin:14px 0 0}
.n8 .n8-agenda li{display:flex;gap:14px;padding:17px 0;border-top:1px solid var(--line);align-items:center}
.n8 .n8-agenda strong{font-size:17px;font-weight:550}
.n8 .n8-agenda p{font-size:14px;margin:4px 0 0;color:var(--ink-muted)}
.n8 .n8-agenda-mark{align-self:stretch;min-height:32px;flex:0 0 4px;background:var(--blue);border-radius:4px}
.n8 .n8-agenda li[data-state=planned] .n8-agenda-mark{background:repeating-linear-gradient(45deg,#52725e 0 3px,#e2e8dd 3px 6px)}
.n8 .n8-agenda li[data-state=skipped] .n8-agenda-mark{background:#c9ccc3}
.n8 .n8-agenda .n8-empty{margin:16px 0}
.n8 .pc-home-columns{display:block}
.n8 .pc-home-aside{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.n8 .n8-editorial{margin:12px 0 0}
.n8 .n8-section-heading{margin:0 0 24px}
.n8 .n8-section-heading h2{font:400 34px/1.15 var(--n8-serif);margin:10px 0}
.n8 .n8-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.n8 .n8-photo-grid>a{display:block;text-decoration:none;color:var(--ink);overflow:hidden;border-radius:18px;border:1px solid var(--line);background:var(--surface)}
.n8 .n8-photo-grid img{width:100%;height:220px;object-fit:cover;display:block;transition:transform .25s}
.n8 .n8-photo-grid>a:hover img{transform:scale(1.025)}
.n8 .n8-photo-grid>a>div{padding:24px;position:relative}
.n8 .n8-photo-grid span{font-size:13px;font-weight:550;letter-spacing:.12em;color:var(--ink-muted)}
.n8 .n8-photo-grid h3{font:400 30px/1.15 var(--n8-serif);margin:8px 20px 0 0}
.n8 .n8-photo-grid .ic{position:absolute;right:20px;bottom:25px}
.n8 .n8-lifestyle .n8-editorial .n8-section-heading{display:none}
.n8 .n8-menu{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;padding:8px 24px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin-top:24px}
.n8 .n8-menu>a,.n8 .n8-menu>button,.n8 .n8-family>a{display:flex;align-items:center;gap:15px;min-height:76px;font-size:16px;text-decoration:none;padding:16px 0;color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;background:transparent}
.n8 .n8-menu :is(a,button)>span,.n8 .n8-family>a>span{flex:1}
.n8 .n8-menu a>.ic:last-child,.n8 .n8-family>a>.ic:last-child{width:18px;height:18px}
.n8 .n8-menu>a:last-child{border-bottom:0}
.n8 .n8-account{grid-template-columns:1fr}
.n8 .n8-account>button{border:0}
.n8 .n8-search-card{display:flex;align-items:center;gap:15px;width:100%;padding:20px 24px;font-size:17px;background:var(--blue-light);border:0}
.n8 .n8-family{padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:18px}
.n8 .n8-health-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}
.n8 .n8-health-tabs>a{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 16px;border:1px solid var(--line);background:var(--surface);border-radius:30px;text-decoration:none;font-size:15px}
.n8 .n8-health-tabs>a>.ic:last-child{display:none}
.n8 .hs-cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.n8 .hs-cards .hcard{padding:20px;background:var(--canvas);border:0}
.n8 .ct-home-link{background:var(--blue-light);border:0;border-radius:16px;padding:23px;gap:15px}
.n8 .ct-home-link strong{font-size:19px}
.n8 .ct-home-link small{font-size:14px;color:var(--ink-2)}
.n8 .ct-timer{background:var(--surface);border:1px solid var(--line);border-radius:24px}
.n8 .ct-clock{font:400 76px/1.2 var(--n8-serif);font-variant-numeric:tabular-nums;letter-spacing:-2px;color:var(--ink)}
.n8 .ct-main{background:var(--blue);color:var(--surface);border:0;border-radius:14px;min-height:58px;font-size:18px}
.n8 .ct-stop{background:#784a3e;color:#fff}
.n8 .ct-dock{background:var(--surface);border:1px solid var(--line);border-radius:18px;color:var(--ink);box-shadow:0 8px 32px #24352b18}
.n8 .ct-dock button{background:var(--blue);color:var(--surface)}
.n8 .ct-dock [data-dock-time]{color:var(--ink);font-size:26px}
.n8 .ct-individual th,.n8 .ct-individual td{font-size:14px}
.n8 .ct-safety-note{font-size:15px}
.n8 .login-wrap{background:var(--surface);border:1px solid var(--line);border-radius:20px;max-width:500px;padding:32px;margin:28px auto}
.n8 .n8-entry{position:relative;overflow:hidden;border-radius:20px;background:#e7ebe2;min-height:270px}
.n8 .n8-entry img{position:absolute;width:100%;height:100%;object-fit:cover}
.n8 .n8-entry>div{position:relative;padding:40px;background:linear-gradient(90deg,#eeeee7f0,#eeeee700)}
.n8 .n8-entry h2{font:400 48px/1.1 var(--n8-serif);margin:15px 0}
.n8.n8-anonymous .shell{padding-left:0}
.n8.n8-anonymous .content{max-width:1000px}
.n8-dialog{font:16px/1.55 'HD Inter',system-ui,sans-serif;color:#283c32;background:#fffefa;border:1px solid #dedfd6;border-radius:24px;width:min(600px,calc(100% - 32px));max-height:85dvh;padding:28px;box-shadow:0 25px 80px #13241835}
.n8-dialog::backdrop{background:#26382f70;backdrop-filter:blur(5px)}
.n8-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.n8-dialog h2{font:400 32px/1.1 Georgia,serif;margin:0}
.n8-dialog button{min-height:48px;border:1px solid #dedfd6;padding:10px 14px;border-radius:12px;color:#283c32;background:#fffefa;font:inherit}
.n8-dialog .ic{width:22px;height:22px;flex:none}
.n8-dialog [data-close]{display:grid;place-items:center;min-width:48px;padding:10px}
.n8-dialog .n8-search-input{display:flex;align-items:center;gap:12px;padding:0 16px;border:1px solid #9eaaa0;border-radius:12px}
.n8-dialog input{min-height:56px;width:100%;min-width:0;border:0;outline-offset:0;padding:10px 0;color:#283c32;background:transparent;font:inherit}
.n8-dialog [data-count]{font-size:14px;color:#5c6860}
.n8-dialog nav>a,.n8-dialog-options>button{display:flex;align-items:center;gap:16px;width:100%;padding:18px 0;text-decoration:none;border:0;border-bottom:1px solid #dedfd6;border-radius:0;color:#283c32;background:transparent;min-height:64px;text-align:left}
.n8-dialog :is(a,button)>span{flex:1}
.n8-dialog :is(a,button):focus-visible{outline:3px solid #365647;outline-offset:3px}
.n8 .content :is(table,.table-wrap){max-width:100%}
@media(min-width:1050px){.n8 #topbar .brand{visibility:hidden}.n8 .n8-home-hero{min-height:295px}.n8 .n8-home-hero .n8-hero-copy{max-width:60%}}
@media(max-width:1049px){
 .n8 .shell{padding-left:0}
 .n8 .content,.n8 .content.narrow,.n8 .content.wide{padding:28px 28px calc(120px + env(safe-area-inset-bottom))}
 .n8 .n8-nav{inset:auto 0 0 0;width:100%;height:auto;min-height:82px;flex-direction:row;align-items:center;justify-content:space-around;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:#fffefaed;backdrop-filter:blur(18px);gap:2px}
 .n8 .n8-nav .n8-nav-brand{display:none}
 .n8 .n8-nav>a,.n8 .n8-nav>button{flex:1;flex-direction:column;gap:5px;padding:7px 4px;min-height:60px;justify-content:center;font-size:13px;border-radius:14px}
 .n8 .n8-nav .n8-add{margin:0;flex:0 0 68px;background:transparent;color:var(--ink)}
 .n8 .n8-add>.ic{background:var(--blue);color:var(--surface);width:36px;height:36px;padding:7px;border-radius:50%;margin-top:-9px}
 .n8 .ct-dock{bottom:calc(94px + env(safe-area-inset-bottom) + var(--ct-keyboard-gap,0px))}
 .n8 .ct-action{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media(max-width:650px){
 .n8 .content,.n8 .content.narrow,.n8 .content.wide{padding:22px 20px calc(120px + env(safe-area-inset-bottom))}
 .n8 .topbar{padding:10px 16px;gap:3px;min-height:66px}
 .n8 .topbar .brand{font-size:25px;letter-spacing:-.7px;min-width:90px}
 .n8 .topbar .design-variant-control{flex:0 0 53px;width:53px}
 .n8 .topbar .design-variant-control select{width:53px;max-width:53px;min-height:44px;border:0;padding:5px;font-size:14px}
 .n8 .topbar .n8-top-search{display:none}
 .n8 .n8-hero{gap:14px;margin-bottom:26px}
 .n8 .n8-hero h1{font-size:38px;letter-spacing:-1.1px;margin:10px 0 14px}
 .n8 .n8-lead{font-size:16px}
 .n8 .n8-hero-image{width:94px;height:126px;border-radius:60px 60px 12px 12px}
 .n8 .n8-home{gap:18px}
 .n8 .n8-home-hero{padding:25px 23px;min-height:220px;border-radius:20px;margin:0}
 .n8 .n8-home-hero .n8-hero-copy{max-width:83%}
 .n8 .n8-home-hero h1{font-size:40px;max-width:280px}
 .n8 .n8-home-hero .n8-lead{font-size:16px;max-width:220px}
 .n8 .n8-home-hero::after{background:linear-gradient(90deg,#eeeee7f5,#eeeee7bf 50%,#eeeee710)}
 .n8 .n8-eyebrow{font-size:12px;letter-spacing:.09em}
 .n8 .n8-quick{gap:10px}
 .n8 .n8-quick button{font-size:15px;gap:10px;line-height:1.4;min-height:72px;padding:15px;text-align:left}
 .n8 .n8-quick .ic{width:22px;height:22px}
 .n8 .n8-phase{padding:9px 0 16px;gap:8px}
 .n8 .n8-phase>div,.n8 .n8-phase>a{font-size:14px;gap:7px}
 .n8 .n8-phase>a>.ic{display:none}
 .n8 .n8-phase>div>.ic{width:18px}
 .n8 .n8-calendar>.pc-calendar{padding:20px 15px 18px}
 .n8 .n8-calendar .pc-calendar-head{display:block;margin-bottom:10px}
 .n8 .n8-calendar .pc-calendar-head h2{font-size:21px;margin-bottom:8px}
 .n8 .n8-calendar .pc-month-controls{justify-content:space-between}
 .n8 .n8-calendar .pc-month-controls [data-month]{font-size:16px}
 .n8 .n8-calendar-switch{margin:0 0 17px}
 .n8 .n8-calendar-switch button{font-size:14px;padding:7px 12px}
 .n8 .n8-calendar-switch>[data-legend]{padding:7px 0;font-size:13px}
 .n8 .n8-calendar .pc-days [data-day]{min-height:56px;padding:7px 1px;font-size:16px;border-radius:10px}
 .n8 .n8-calendar .pc-days{gap:3px}
 .n8 .n8-agenda{padding:18px}
 .n8 .n8-agenda h2{font-size:20px}
 .n8 .n8-agenda header{gap:4px}
 .n8 .n8-agenda strong{font-size:16px}
 .n8 .n8-section-heading{margin:10px 0 18px}
 .n8 .n8-section-heading h2{font-size:30px}
 .n8 .n8-photo-grid{gap:12px}
 .n8 .n8-photo-grid img{height:155px}
 .n8 .n8-photo-grid>a>div{padding:18px 14px 21px}
 .n8 .n8-photo-grid h3{font-size:25px;margin:8px 0 0}
 .n8 .n8-photo-grid span{font-size:11px;letter-spacing:.08em}
 .n8 .n8-photo-grid .ic{display:none}
 .n8 .n8-detail>summary{padding:20px 18px;font-size:17px;gap:12px}
 .n8 .n8-detail-body{padding:20px 16px}
 .n8 :is(.sheet,.pr-card,.hcard,.pc-personal-card){padding:20px}
 .n8 .n8-menu{grid-template-columns:1fr;padding:6px 20px;gap:0}
 .n8 .n8-menu>a,.n8 .n8-menu>button{min-height:74px;font-size:16px}
 .n8 .n8-health-tabs{gap:8px}
 .n8 .n8-health-tabs>a{font-size:14px;padding:9px 12px}
 .n8 .n8-health-tabs .ic{width:19px;height:19px}
 .n8 .mother-settings .row{display:flex;flex-direction:column;gap:15px}
 .n8 .mother-settings .row>*{width:100%;min-width:0;flex:auto}
 .n8 .ct-clock{font-size:72px}
 .n8 .ct-individual th,.n8 .ct-individual td{font-size:13px}
 .n8 .ct-individual-scroll{margin:0 -8px;padding:0 8px}
 .n8 .ct-grid{gap:18px}
 .n8 .n8-entry h2{font-size:42px}
 .n8 .login-wrap{padding:24px 20px;margin-top:20px}
 .n8 .n8-entry>div{padding:28px}
 .n8 .n8-entry{min-height:250px}
 .n8 .ct-safety-note{padding:15px;font-size:14px}
}
@media(max-width:370px){.n8 .content,.n8 .content.narrow,.n8 .content.wide{padding-left:14px;padding-right:14px}.n8 .topbar{padding:8px 10px}.n8 .topbar .brand{min-width:74px;font-size:23px}.n8 .topbar .feedback-shortcut{min-width:38px;padding:7px}.n8 .n8-nav>a,.n8 .n8-nav>button{font-size:12px}.n8 .n8-calendar-switch button{padding:7px 9px}.n8 .n8-home-hero{padding:24px 20px}.n8 .n8-quick button{padding:12px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.n8 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Win over legacy header/overview specificity without affecting other themes. */
body.n8 #topbar .brand{font:400 28px/1.1 var(--n8-serif)!important;letter-spacing:-1px!important}
body.n8 #topbar :is(.mother-settings-shortcut,.userbox,.sep,.grow,.weekchip){display:none!important}
body.n8 #talkbtn{display:none!important}
body.n8.n8-anonymous #topbar .brand{visibility:visible}
body.n8 #topbar .assistant-status{font-size:13px}
body.n8 .n8-phase{background:transparent;border-radius:0}
body.n8 .n8-agenda-more>summary{font-size:15px;font-weight:550;color:var(--blue);padding:15px 0 0;cursor:pointer}
body.n8 .n8-home #panel:empty{display:none}
body.n8 .n8-home #panel:not(:empty){padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
@media(max-width:650px){body.n8 #topbar .brand{font-size:26px!important}body.n8 #topbar .assistant-status{font-size:12px}body.n8 .n8-home{padding-top:0}}

body.n8 .ct-heading,body.n8 nav[aria-label="Mana veselība"]{display:none!important}
body.n8 nav.subtabs{display:flex;flex-wrap:wrap;gap:6px;border:0;padding:5px;background:var(--canvas-alt);border-radius:14px;overflow:visible}
body.n8 nav.subtabs>a{flex:1;min-width:100px;min-height:46px;display:flex;align-items:center;justify-content:center;padding:10px 12px;border:0;border-radius:10px;font-size:15px;text-decoration:none}
body.n8 nav.subtabs>a[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #25392c0a}
body.n8 .pm-summary{background:var(--blue-light);border:0;border-radius:16px;padding:18px 20px}
body.n8 .pm-summary p{font-size:15px;line-height:1.55}
body.n8 .mvgrid{gap:16px}
body.n8 :is(.mvcard,.mv){background:var(--surface);border-radius:18px}
body.n8 .ct-dock-open>small,body.n8 .ct-dock-open>span{font-size:14px}
body.n8 .ct-dock-warning,body.n8 .ct-dock-error{font-size:14px}
body.n8 .n8-calendar{width:100%;max-width:none}
body.n8 .n8-form-slot:has(#panel:empty){display:none}
body.n8 .n8-phase{border:0;border-bottom:1px solid var(--line);box-shadow:none}
body.n8 #main>.home.simple{margin-top:0}
body.n8 #topbar .design-variant-control select{width:210px;max-width:210px}
@media(max-width:650px){body.n8 #topbar .design-variant-control select{width:53px;max-width:53px}}
body.n8 .mv{padding:22px;gap:12px;border-radius:18px}
body.n8 .mv h3{font-size:19px}
body.n8 .mvval .num{font-size:32px}
body.n8 .mvhist{gap:8px}
body.n8 .mvhist li{padding:8px 10px;font-size:15px;border-radius:12px}
body.n8 .mvhist li span{font-size:13px}
body.n8 .mv :is(.mvst,.mvchg,.small){font-size:14px}
body.n8 #main>.review-values-link{margin:0 0 12px;padding:10px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}
body.n8 #main>.n8-health-tabs{margin-bottom:10px}
body.n8 nav.subtabs{margin-top:10px}
@media(max-width:650px){body.n8 nav.subtabs{display:grid;grid-template-columns:1fr 1fr}body.n8 nav.subtabs>a{min-width:0}body.n8 nav.subtabs>a:nth-child(2){order:-2}body.n8 nav.subtabs>a:nth-child(3){order:-1}}
/* Compact quick actions must shrink inside a 320 px viewport. */
body.n8 .n8-quick>button{min-width:0;width:100%;white-space:normal}
body.n8 .n8-quick>button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
/* V0.45: quiet, explicitly selected personal moods. */
body.n8[data-mood="warm"]{--canvas:#faf4ee;--canvas-alt:#f0e5d9;--surface:#fffaf4;--elevated:#fffaf4;--ink:#493e35;--ink-2:#5c4d42;--ink-muted:#70665e;--line:#e6d8cb;--blue:#785c46;--blue-light:#f1e5d7;--focus:#785c46}
body.n8[data-mood="fresh"]{--canvas:#f0f6f6;--canvas-alt:#e1eeee;--surface:#fbfefd;--elevated:#fbfefd;--ink:#29434a;--ink-2:#3b5660;--ink-muted:#586b72;--line:#d5e2e4;--blue:#3e6871;--blue-light:#e0eff0;--focus:#3e6871}
.n8 .mp-v045-list{display:block}.n8 .mp-day{border-bottom:1px solid var(--line);padding:10px 0}.n8 .mp-day>summary{padding:12px 0;font-size:18px}.n8 .mp-day .mp-cell{padding:14px 16px;border-radius:14px;margin:6px 0 14px;width:100%;text-align:left}.n8 .mp-head{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between}.n8 .mp-week{flex:1;min-width:220px}.n8 .mp-actions{display:flex;flex-wrap:wrap;gap:8px}.n8 .mp-actions button{margin:0}
.n8 .fitness-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin:24px 0}.n8 .fitness-tiles article{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--surface)}.n8 .fitness-tiles strong{display:block;font-size:30px;margin:10px 0}.n8 .fitness-tiles p{font-size:13px;margin:0}.n8 .fitness-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.n8 .fitness-form label{display:flex;flex-direction:column;gap:7px}.n8 .fitness-form [role=status]{grid-column:1/-1}.n8 .fitness-history{padding:0;list-style:none}.n8 .fitness-history li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;gap:12px}.n8 .experience-moods{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 22px}.n8 .experience-moods button{display:flex;align-items:center;gap:10px}.n8 .experience-moods [aria-pressed=true]{outline:2px solid var(--blue);outline-offset:2px}.n8 .experience-moods i{display:inline-block;border-radius:50%;width:20px;height:20px;background:#557768}.n8 .experience-moods [data-mood=warm] i{background:#987353}.n8 .experience-moods [data-mood=fresh] i{background:#61959c}.n8 .experience-toggle{display:flex;align-items:center;gap:12px}.n8 .experience-memory,.n8 .experience-follow{border-top:1px solid var(--line);padding:14px 0}.n8 .experience-answer-list{list-style:none;padding:0}.n8 .experience-answer-list li{display:grid;gap:5px;padding:14px 0;border-bottom:1px solid var(--line)}.n8 .experience-answer-list time{color:var(--ink-muted);font-size:13px}.n8 .experience-indicators{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.n8 .experience-indicators label{display:flex;gap:10px;align-items:center}.n8 .experience-nudge{border-left:3px solid var(--blue)}.n8 .experience-nudge-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.n8 .experience-nudge-actions{display:flex;align-items:center;gap:18px;margin-top:12px}.n8 .ci-thanks a{display:block;margin-top:12px}.n8 #ai-experience>section{margin:20px 0}.n8 #ai-experience>header{display:none}
@media(max-width:600px){.n8 .fitness-form,.n8 .experience-indicators{grid-template-columns:1fr}.n8 .mp-actions{width:100%}.n8 .mp-actions>button{flex:1}.n8 .mp-actions>button:first-child{flex-basis:100%}.n8 .fitness-history li{align-items:flex-start}.n8 .experience-nudge-actions{flex-wrap:wrap}}

.n8 #meal-settings>header{display:none}

.n8 .experience-nudge{grid-column:1/-1}

/* v0.47: state must remain visible under the V8 base button surface. */
body.n8 .pick .pk[aria-checked="true"],body.n8 .seg button[aria-pressed="true"],body.n8 button.chip.on,body.n8 .qtiles button[aria-expanded="true"]{background:var(--blue);color:var(--surface);border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
body.n8 .pick .pk[aria-checked="true"] .swc{outline:2px solid var(--surface);outline-offset:2px}
body.n8 .tabs a[aria-current="page"]{background:var(--blue-light);color:var(--blue);font-weight:650;border-radius:8px 8px 0 0;border-bottom:3px solid var(--blue)}
body.n8 .ci-thanks-brief{margin:0;padding:5px 0;font-size:17px;text-align:center}
body.n8 .ex-activity-icon,body.n8 [data-ex-activity] svg{color:var(--blue);stroke-width:1.7}

body.n8 button[data-to][aria-pressed="true"],body.n8 button[data-pc-to][aria-pressed="true"]{background:#36584a!important;color:#fff!important;border-color:#36584a!important;box-shadow:inset 0 0 0 1px #36584a}body.n8 button[data-to][aria-pressed="true"] small{color:inherit}

body.n8 .qtile[aria-expanded="true"] .ic{color:inherit}

.n8-home>#babybox{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper,#fffefa)}
.n8-home>#babybox .baby{margin:0;padding:0;border:0;background:transparent}
.n8-home>#babybox .baby>.sheet{margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.n8-home>#babybox .baby>header{margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--line)}
.n8-home>#babybox .baby>header h2{display:block;margin:0;font:600 20px/1.3 var(--font,sans-serif)}
/* v049: one clear story per section. */
.baby-stage{display:none}.care-linked{display:block}.care-linked>section,.care-linked>.lv-side{margin-top:18px}.care-linked .lv-side{display:block}.care-plan-baby{margin-block:18px}.care-linked .wbs-row{min-height:42px;padding-block:5px}.care-linked .wbs-row.child{min-height:36px}
body.n8 .baby-stage-layout{display:grid;grid-template-columns:minmax(160px,30%) minmax(0,1fr);gap:24px;align-items:center;border:0;border-radius:0;padding:20px 0 0;background:none}body.n8 .baby-stage{display:block;margin:0}body.n8 .baby-stage img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:22px;object-fit:contain}body.n8 .baby-stage figcaption{font-size:12px;color:var(--muted);margin-top:8px;text-align:center}body.n8 .baby-stage-copy{min-width:0}body.n8 .baby .sheet .baby-nums{gap:12px}body.n8 .baby{overflow:hidden}body.n8 .care-plan-baby .baby{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--paper,#fffefa)}body.n8 .care-linked .wbs-t .tt{white-space:normal}body.n8 .care-linked .wbs-row{padding-block:7px}body.n8 .ci-choices button span{white-space:normal;overflow-wrap:anywhere;line-height:1.4}body.n8 .experience-nudge{margin:16px 0 24px}body.n8 .experience-nudge[hidden]{display:none!important}
.care-chart-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.care-chart-tabs button{font-size:14px;padding:8px 12px;min-height:40px}.care-chart-tabs button[aria-pressed=true]{background:#36594b;color:white;border-color:#36594b}.care-chart{width:100%;height:auto;display:block;overflow:visible}.care-chart text{font-family:inherit;font-size:12px;fill:currentColor}.care-chart-point{border-left:2px solid #577768;padding:10px 14px;margin-top:12px;background:#f4f5ef}.care-chart-point p{margin:5px 0}.care-chart-empty{padding:24px 0}.care-point-select{display:grid;gap:6px}.care-point-select select{width:100%;max-width:100%}.qtiles [hidden]{display:none!important}.care-chart-tabs+ p{margin-bottom:10px}
@media(max-width:600px){body.n8 .baby-stage-layout{grid-template-columns:1fr;gap:16px}body.n8 .baby-stage{max-width:250px;justify-self:center}body.n8 .care-plan-baby .baby{padding:18px}.care-chart-tabs{gap:5px}.care-chart-tabs button{flex:1 0 auto}.care-chart-point{font-size:15px}}

body.n8 .care-chart-tabs button[aria-pressed="true"]{background:#35584b!important;color:#fff!important;border-color:#35584b!important}.care-chart text{font-size:18px}
/* Companion text chat (companion-flow-v052.js), every design: moved unchanged from the removed design-v9-v051.css in v0.55.0. */
.companion-text-chat{position:fixed;right:20px;bottom:76px;width:min(370px,calc(100vw - 32px));max-height:75dvh;overflow:auto;z-index:1250;padding:18px;background:var(--surface,#fffefa);color:#244139;border:1px solid #ced8cc;border-radius:22px;box-shadow:0 12px 40px #183b2826}.companion-text-chat header{display:flex;align-items:center;justify-content:space-between}.companion-text-chat__message{white-space:pre-wrap}.companion-text-chat__choices{display:flex;flex-wrap:wrap;gap:8px}.companion-text-chat textarea{width:100%;margin:12px 0;min-height:72px}.companion-text-chat button{min-height:40px}
/* v0.57.0 (feedback #22): the page's own heading actions ("Pievienot zāles", a way back) below the V8/V10 heading */
.n8 .n8-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 20px}
.n8 .n8-head-actions>button{display:inline-flex;align-items:center;gap:8px}
/* v0.57.0 (feedback #19): a calendar entry on the home page opens its section */
.n8 .n8-agenda li:has(>a.n8-agenda-link){padding:0}
.n8 .n8-agenda a.n8-agenda-link{display:flex;flex:1;align-items:center;gap:14px;min-height:56px;padding:17px 0;color:inherit;text-decoration:none}
.n8 .n8-agenda a.n8-agenda-link>div{flex:1;min-width:0}
.n8 .n8-agenda-go{display:inline-flex;align-items:center;gap:4px;flex:none;font-size:14px;font-weight:600;color:#365647}
.n8 .n8-agenda-go .ic{width:16px;height:16px}
.n8 .n8-agenda a.n8-agenda-link:focus-visible{outline:3px solid #365647;outline-offset:2px;border-radius:8px}
