/* NNF Coach: one strong entry, an editorial review, the existing five-tab shell. */
.nnfc-entry{background:#075e53;color:#fff;border-radius:16px;padding:22px;margin:2px 0 14px}
.nnfc-entry-top{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#cbf3e9}
.nnfc-entry-top span:first-child{font-weight:750;color:#fff;font-size:16px}
.nnfc-entry h2{font:650 25px/1.22 var(--num);letter-spacing:-.025em;margin:22px 0 12px;max-width:20ch;text-wrap:balance}
.nnfc-entry p{color:#e2f6f0;line-height:1.55;margin:0 0 20px}
.nnfc-entry small{display:block;margin-top:12px;color:#d1ece5;font-size:12px}
.nnfc button,.nnfc-entry button{font-family:var(--body);cursor:pointer;min-height:48px;border-radius:10px;line-height:1.35;white-space:normal}
.nnfc-primary{background:#08695d;color:#fff;border:0;padding:13px 18px;font-size:15px;font-weight:700;display:block;width:100%;text-align:center}
.nnfc-entry .nnfc-primary{background:#fff;color:#06584e}
.nnfc-secondary{background:transparent;color:#075e53;border:1px solid #c8d9d3;padding:12px 16px;font-size:14px;font-weight:650;text-align:left}
.nnfc-today{width:100%;text-align:left;margin:0}
.nnfc{padding:0 2px 24px;max-width:100%;overflow-wrap:anywhere}
.nnfc.on{display:block}
.nnfc h1{font:650 28px/1.22 var(--num);letter-spacing:-.025em;margin:24px 0 12px;text-wrap:balance}
.nnfc h2{font:650 19px/1.35 var(--body);margin:22px 0 8px}.nnfc h1:focus{outline:none}.nnfc p{margin:10px 0 18px;line-height:1.6;max-width:65ch}
.nnfc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.nnfc-top button{border:0;padding:10px 0}.nnfc-top span{font-size:12px;color:var(--mut);text-align:right}
.nnfc-muted,.nnfc-footer{color:#52645e;font-size:13px}.nnfc-footer{border-top:1px solid var(--line);padding:18px 0;margin-top:24px;line-height:1.5}
.nnfc-focus{background:#e3f3ed;padding:20px;border-radius:12px;margin:24px 0}.nnfc-focus>span{font-size:13px;color:#315c4e;font-weight:650}.nnfc-focus h2{margin-top:8px;font-size:23px}.nnfc-focus p{font-size:16px}
.nnfc-processing-offer button{display:block;width:100%;text-align:center}.nnfc-processing-offer button+button{margin-top:10px}
.nnfc-lead{font-size:18px;line-height:1.55!important;color:#243d35;margin:6px 0 24px!important}
.nnfc-plan-grid{display:grid;gap:12px;margin:18px 0 6px}
.nnfc-plan-card{border:1px solid #d7e7df;border-radius:14px;padding:18px;background:#fff}
.nnfc-plan-card>span{display:block;color:#08695d;font-size:12px;font-weight:800;letter-spacing:.08em}
.nnfc-plan-card h3{font-size:18px;line-height:1.3;margin:8px 0}
.nnfc-plan-card p{font-size:14px;margin:0 0 10px}
.nnfc-plan-card button{border:0;padding:8px 0;min-height:44px;background:transparent;color:#075e53;font-weight:700;text-align:left}
.nnfc-evidence{background:#f4f8f6;border:1px solid #d7e7df;border-radius:14px;padding:18px;margin-top:22px}
.nnfc-evidence h2{margin-top:0}.nnfc-evidence p{font-size:14px}.nnfc-evidence button{width:100%}
.nnfc-section{padding:6px 0 18px;border-bottom:1px solid var(--line);margin:10px 0 18px}.nnfc-section p:last-child{margin-bottom:0}
.nnfc-links{display:grid;gap:0;margin:10px 0 22px}.nnfc-links button{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:15px 0;text-align:left}
.nnfc-coverage{padding:16px 0;border-block:1px solid #ccdcd6;margin:24px 0}.nnfc-coverage b{font-size:18px}.nnfc-coverage p{font-size:14px}.nnfc-coverage button{width:100%}
.nnfc-metrics{margin:24px 0}.nnfc-metrics>div{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}.nnfc-metrics dt{font-size:14px;color:var(--ink2)}.nnfc-metrics dd{margin:5px 0;font-size:26px;font-weight:650;letter-spacing:-.02em}.nnfc-metrics dd small{font-size:14px;font-weight:500}.nnfc-metrics div>small{font-size:12px;color:#52645e}
.nnfc label:not(.nnfc-choice):not(.nnfc-day){display:block;font-weight:650;font-size:14px;margin:22px 0 8px}.nnfc select{width:100%;max-width:100%;font-size:15px;min-height:50px;border-radius:10px}
.nnfc fieldset{border:0;padding:0;margin:26px 0}.nnfc legend{font-weight:700;font-size:17px}.nnfc fieldset p{font-size:14px;color:var(--ink2)}
.nnfc-choice{display:flex;align-items:flex-start;gap:12px;margin:0;padding:16px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:1.5;font-weight:400;cursor:pointer}
.nnfc-choice input,.nnfc-day input{appearance:auto;width:22px;height:22px;min-height:22px;flex:0 0 22px;padding:0;margin:1px 0;accent-color:#08695d}
.nnfc-day{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--line);min-height:64px}.nnfc-day b,.nnfc-day small{display:block}.nnfc-day small{color:var(--mut);margin-top:3px}.nnfc-day-list{margin-bottom:22px}
.nnfc-detail{padding:18px 0;border-bottom:1px solid var(--line);margin:10px 0}.nnfc-detail summary{font-weight:650;cursor:pointer;min-height:32px}.nnfc-checks{padding-left:24px}.nnfc-checks li{padding:8px 0 12px 8px;line-height:1.6}.nnfc-reading{font-size:18px;line-height:1.7!important;margin:26px 0!important}
.nnfc #nnfc-status:not(:empty){padding:14px;background:#fff3dd;color:#6f3c06;border-radius:8px}.nnfc form+.nnfc-secondary{margin-top:20px}.nnfc>.nnfc-primary+.nnfc-secondary{margin-top:12px;width:100%}
.nnfc :is(button,input,select,summary):focus-visible,.nnfc-entry button:focus-visible,.nnfc-today:focus-visible{outline:3px solid #0a8f7e!important;outline-offset:3px;box-shadow:none}
.nnfc button:disabled{opacity:.55;cursor:default}.nnfc button:hover:not(:disabled){filter:brightness(.96)}
@media(max-width:350px){.nnfc-entry{padding:18px}.nnfc-entry-top{flex-wrap:wrap}.nnfc-entry h2{font-size:23px}.nnfc h1{font-size:25px}}

/* Weekly review: readable summary followed by distinct, actionable sections. */
.nnfc-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nnfc-metrics>div{background:#eef6f2;border:0;border-radius:14px;padding:18px;margin:0;min-width:0}
.nnfc-metrics>div:last-child{grid-column:1/-1}
.nnfc-metrics dd{font-size:28px}
.nnfc-coverage{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}
.nnfc h1{font-size:30px}
@media(max-width:359px){.nnfc-metrics{grid-template-columns:1fr}}
@media(min-width:720px){.nnfc-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Coach v2: numbers first, one-tap target update, disclaimers folded into preferences. */
.nnfc-entry-lines{list-style:none;margin:0 0 18px;padding:0}.nnfc-entry-lines li{padding:7px 0;border-top:1px solid rgba(255,255,255,.18);color:#e2f6f0;font-size:15px;line-height:1.4}
.nnfc-week{background:#075e53;color:#fff;border-radius:16px;padding:20px;margin:18px 0}.nnfc-week>span{font-size:13px;color:#cbf3e9;font-weight:650}
.nnfc-week h2{color:#fff;font:650 26px/1.2 var(--num);letter-spacing:-.02em;margin:8px 0 12px}.nnfc-week p{color:#e2f6f0;font-size:15px;margin:0 0 14px}
.nnfc-week ul{list-style:none;margin:0 0 14px;padding:0}.nnfc-week li{padding:7px 0;border-top:1px solid rgba(255,255,255,.18);font-size:15px;line-height:1.4}
.nnfc-week .nnfc-secondary{border-color:rgba(255,255,255,.55);color:#fff;width:100%;text-align:center}
.nnfc-proposal{border:2px solid #08695d;border-radius:16px;padding:20px;margin:18px 0;background:#fff}.nnfc-proposal>span{font-size:13px;color:#08695d;font-weight:700}
.nnfc-proposal h2{margin:8px 0 10px;font-size:23px;line-height:1.25}.nnfc-proposal p{font-size:15px;margin:0 0 14px}
.nnfc-hold{border:1px solid #d7e7df;background:#f4f8f6}.nnfc-hold>span{color:#315c4e}
.nnfc-macros{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}.nnfc-macros div{background:#eef6f2;border-radius:10px;padding:10px 12px;min-width:0}
.nnfc-macros dt{font-size:12px;color:var(--ink2)}.nnfc-macros dd{margin:2px 0 0;font-weight:700;font-size:16px;letter-spacing:-.01em}
.nnfc-proposal .nnfc-primary+.nnfc-secondary{margin-top:10px;width:100%;text-align:center}
.nnfc-about{margin-top:28px;padding:14px 0;border-top:1px solid var(--line)}.nnfc-about summary{font-size:14px;color:#52645e;cursor:pointer;min-height:32px}.nnfc-about p{font-size:14px;color:#52645e}

/* Coach v3 targets, Sunday report and evidence-gated habits. */
.target-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.target-mode button{min-height:46px}.target-mode button[aria-pressed="true"]{background:#e3f3ed;border-color:#08715f;color:#075e53}
#ob-calculated>.ghost,#ob-save-calculated{width:100%;margin-top:14px}.ob-processing-switch{margin-top:20px!important;border-top:1px solid var(--line);padding-top:18px!important}
.target-result{background:#eaf7f1;border:1px solid #c9e8df;border-radius:14px;padding:16px;margin:16px 0}.target-result>p{margin:0 0 14px;line-height:1.5}.target-result dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.target-result dl div{background:#fff;border-radius:10px;padding:10px}.target-result dt{font-size:12px;color:#52645e}.target-result dd{margin:3px 0 0;font-weight:750}.target-result .kbtn{width:100%;margin-top:14px}
.nnfc-source{display:flex;align-items:end;justify-content:space-between;gap:16px;background:#eef6f2;border-radius:14px;padding:16px;margin:18px 0}.nnfc-source span{font-size:13px;color:#315c4e}.nnfc-source strong{font:700 24px/1.2 var(--num);white-space:nowrap}
.nnfc-habits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.nnfc-habits div{background:#f0f6f3;border-radius:12px;padding:14px}.nnfc-habits dt{font-size:12px;color:#52645e}.nnfc-habits dd{margin:5px 0 0;font-weight:650;line-height:1.4}
/* Sunday report: the Progress hero uses the same plane, glass and depth as Today. */
#weekly-digest{position:relative;isolation:isolate;overflow:hidden;padding:22px 18px 20px!important;border:0;border-radius:26px!important;background:linear-gradient(160deg,var(--hero-a) 0%,var(--hero-b) 100%)!important;color:#fff;box-shadow:0 14px 32px rgba(4,33,29,.28),0 2px 6px rgba(4,33,29,.18)}
#weekly-digest::before{content:'';position:absolute;z-index:-1;width:340px;height:340px;right:-150px;top:-200px;border-radius:50%;background:radial-gradient(circle,rgba(46,230,207,.4),rgba(46,230,207,0) 64%)}
#weekly-digest::after{content:'';position:absolute;z-index:-1;width:260px;height:260px;left:-140px;bottom:-170px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.11),rgba(255,255,255,0) 62%)}
#weekly-digest>*{position:relative}#weekly-digest>.hero-eyebrow{margin:0;color:#fff!important;font-size:12px!important}#weekly-digest>#digest-title{margin:7px 0 4px;color:#fff;font:700 29px/1.08 var(--num);letter-spacing:-.04em}#weekly-digest>.sunday-date-line{margin:0 0 16px;color:#fff;font-size:12.5px}
.sunday-quality{display:grid;grid-template-columns:138px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 13px}.sunday-quality-copy{min-width:0}.sunday-quality h3{font:700 24px/1.08 var(--num);letter-spacing:-.035em;margin:0 0 10px;color:#fff;text-wrap:balance}.sunday-quality p{margin:8px 0 0;color:#fff;font-size:12px;line-height:1.38}
#wk-quality-donut{display:grid;justify-items:center;gap:6px}.sunday-donut-visual{position:relative;width:132px;height:132px;display:grid;place-items:center}.sunday-donut{position:absolute;inset:0;width:132px;height:132px}.sunday-donut-visual>span{position:relative;text-align:center}.sunday-donut-visual strong{display:block;font:700 27px/1 var(--num)}.sunday-donut-visual small{display:block;width:9ch;margin-top:4px;color:#fff;font:600 12px/1.15 var(--body)}.sunday-legend{width:100%;list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}.sunday-legend li{min-width:0;display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:5px;text-align:left}.sunday-legend i{width:6px;height:6px;border-radius:50%}.sunday-legend span{font:600 12px/1.2 var(--body);color:#fff}.sunday-legend b{font:650 12px var(--num);color:#fff}
.sunday-goal>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#fff}.sunday-goal>div:first-child b{color:#fff}.sunday-goal-track{position:relative;height:8px;margin-top:5px;border-radius:6px;background:rgba(255,255,255,.14);overflow:visible}.sunday-goal-track i{display:block;width:var(--sunday-score,0%);height:100%;border-radius:6px;background:var(--mint);transition:width .6s ease-out}.sunday-goal-track span{position:absolute;left:var(--sunday-goal,80%);top:-3px;width:2px;height:14px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px rgba(4,33,29,.5)}
.sunday-stat-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0}.sunday-stat-chips>div{min-width:0;min-height:108px;padding:10px 8px;border:1px solid var(--glass-line);border-radius:14px;background:var(--glass)}.sunday-stat-chips small,.sunday-stat-chips b,.sunday-stat-chips span{display:block}.sunday-stat-chips small{min-height:45px;color:#fff;font:500 12px/1.25 var(--body)}.sunday-stat-chips>b,.sunday-stat-chips>div>b{margin-top:5px;color:#fff;font:700 15px/1.05 var(--num);letter-spacing:-.02em;overflow-wrap:anywhere}.sunday-stat-chips span{margin-top:5px;color:#fff;font:500 12px/1.25 var(--body)}.sunday-stat-chips span strong{font-weight:650;color:#fff}#weekly-digest #wk-wt{color:#fff!important}
.sunday-support{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 12px}.sunday-support>span{padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-size:12px}.sunday-support b{color:#fff;font-weight:700}.sunday-support small{display:inline;margin-left:0;color:#fff;font-size:12px}
#weekly-digest #wk-coach-proposal:empty{display:none}#weekly-digest .nnfc-proposal{margin:12px 0;padding:15px;border:1px solid rgba(255,255,255,.2);border-radius:17px;background:rgba(255,255,255,.11);color:#fff}#weekly-digest .nnfc-proposal>span{color:#fff;font-size:12px}#weekly-digest .nnfc-proposal h2{margin:6px 0 9px;color:#fff;font:700 20px/1.16 var(--num)}#weekly-digest .nnfc-proposal-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:7px;margin-bottom:10px}#weekly-digest .nnfc-proposal p{margin:0 0 9px;color:#fff;font-size:12px;line-height:1.4}#weekly-digest .nnfc-macros{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:9px 0 0}#weekly-digest .nnfc-macros div{padding:7px 5px;border-radius:9px;background:rgba(255,255,255,.1)}#weekly-digest .nnfc-macros dt{color:#fff;font-size:12px}#weekly-digest .nnfc-macros dd{color:#fff;font-size:12px;white-space:nowrap}#weekly-digest .nnfc-proposal .nnfc-primary{min-height:46px;background:#fff;color:var(--teal-ink);box-shadow:0 8px 20px rgba(0,0,0,.18)}#weekly-digest .nnfc-proposal .nnfc-secondary{min-height:44px;border-color:rgba(255,255,255,.28);color:#fff;background:transparent;text-align:center}#weekly-digest .nnfc-proposal-actions .nnfc-primary+.nnfc-secondary{margin-top:0}
#weekly-digest .sunday-focus{padding:13px 14px;margin:11px 0;border:1px solid rgba(255,255,255,.17);border-radius:15px;background:rgba(255,255,255,.09)}#weekly-digest .sunday-focus>span{font-size:12px;color:#fff}#weekly-digest .sunday-focus h3{margin:5px 0;color:#fff;font:700 17px/1.2 var(--num)}#weekly-digest .sunday-focus p{margin:4px 0;color:#fff;font-size:12px;line-height:1.4}#weekly-digest .sunday-swap{margin:10px 0;padding:9px 0 9px 12px;border-left:3px solid #bea3dd;color:#fff;font-size:12px;line-height:1.4}
.sunday-method{margin-top:10px;border-top:1px solid rgba(255,255,255,.14)}.sunday-method summary{display:flex;align-items:center;min-height:44px;color:#fff;font-size:12px;cursor:pointer}.sunday-method .hint{padding:5px 0;color:#fff;font-size:12px;line-height:1.45}
.sunday-empty-state{margin:20px 0 12px;padding:20px;border:1px solid var(--glass-line);border-radius:18px;background:var(--glass)}.sunday-empty-state strong{display:block;font:700 22px/1.2 var(--num);letter-spacing:-.025em}.sunday-empty-state p{margin:8px 0 0;color:#fff;font-size:13px;line-height:1.5}.sunday-empty .sunday-data{display:none!important}.sunday-empty .sunday-method{margin-top:14px}
.sunday-trend-card{padding:18px!important;border:0!important;border-radius:20px!important;box-shadow:var(--shadow)}#wk-quality-trend{margin:0}#wk-quality-trend h3{font:700 17px var(--num);margin:0 0 8px}.sunday-trend{display:block;width:100%;height:auto;overflow:visible}.sunday-trend path{fill:none;stroke:var(--teal-deep);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.sunday-trend circle{fill:#fff;stroke:var(--teal-deep);stroke-width:3}.sunday-trend .sunday-goal{stroke:#b17a00;stroke-width:1.5;stroke-dasharray:5 4}.sunday-trend text{font-size:10px;fill:#6b5b20}.sunday-trend-text{list-style:none;padding:0;margin:5px 0 0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.sunday-trend-text li{min-width:0;text-align:center}.sunday-trend-text span,.sunday-trend-text b{display:block;font-size:9px;overflow-wrap:anywhere}.sunday-trend-text span{color:#52645e}
@media(max-width:480px){.target-result dl,.nnfc-habits{grid-template-columns:1fr}.nnfc-source{align-items:flex-start;flex-direction:column}}
@media(max-width:374px){#weekly-digest{padding-inline:15px!important}.sunday-quality{grid-template-columns:126px minmax(0,1fr);gap:9px}.sunday-donut-visual,.sunday-donut{width:120px;height:120px}.sunday-quality h3{font-size:22px}.sunday-stat-chips>div{padding-inline:7px}.sunday-stat-chips>div>b{font-size:14px}}
@media(prefers-reduced-motion:reduce){.sunday-goal-track i{transition:none}}
/* Programmatic focus on screen headings (tabindex=-1) moves screen readers without a visible box. */
[tabindex="-1"]:focus{outline:none!important}
