/* V8.7.256 look: soft, light and professional. Presentation only; no layout grids of the data-entry rows are changed. */
:root{--ink:#1E3A47;--muted:#56707E;--line:#E1EAE5;--green:#2F7556;--green-strong:#2F7556;--bg:#F3F7F4;--shadow:0 1px 2px rgba(30,58,71,.05),0 14px 30px -18px rgba(30,58,71,.22);--radius:20px}
html{background:var(--bg)}
body{background:var(--bg);color:var(--ink);font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums}
h1,h2{font-family:'Fraunces',Georgia,serif;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
h3{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-weight:700}
header{background:#fff;border-bottom:1px solid var(--line)}

/* page hero and navigation */
.hero{background:linear-gradient(135deg,#E4F0EC,#EAF4F0);border:1px solid #D4E6DE;box-shadow:none;border-radius:26px}
.hero h1{font-size:34px}
.hero-art{opacity:.9}
#tabs{background:var(--bg);gap:8px;padding:12px 0 14px}
#tabs button{border:1px solid var(--line);background:#fff;color:#3F5967;border-radius:999px;font-weight:700;padding:11px 16px;box-shadow:none}
@media(min-width:651px){#tabs{display:flex!important;flex-wrap:wrap}#tabs button{flex:0 1 auto}}
#tabs button:hover{background:#F1F8F4;border-color:#BFD9CB}
#tabs button.active{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}
.session{background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px 14px;margin-bottom:6px}

/* cards and tiles on every tab */
.card,.stat,.organized-box,.benefit-box,.investment-row,.row,.growth-choice{background:#fff!important;border:1px solid var(--line)!important;border-radius:var(--radius);box-shadow:var(--shadow)}
.card.blue,.card.mint,.card.pink,.card.purple,.card.yellow{background:#fff!important}
.card.blue{border-top:4px solid #8FBDE0!important}.card.mint{border-top:4px solid #8BC4A8!important}.card.pink{border-top:4px solid #F0B38F!important}.card.purple{border-top:4px solid #B7A8E3!important}.card.yellow{border-top:4px solid #E6CF84!important}
.card h2{font-size:22px}
.stat:nth-child(n){background:#fff!important;border-color:var(--line)!important}
.stat:nth-child(1){border-top:4px solid #8FBDE0!important}.stat:nth-child(2){border-top:4px solid #8BC4A8!important}.stat:nth-child(3){border-top:4px solid #E6CF84!important}.stat:nth-child(4){border-top:4px solid #B7A8E3!important}
.stat b{font-weight:800;letter-spacing:-.015em}

/* account and holding rows */
.investment-row:nth-of-type(n),.organized-box:nth-of-type(n),.benefit-box:nth-of-type(n){background:#fff!important}
.investment-row:nth-of-type(3n+1),.organized-box:nth-of-type(3n+1),.benefit-box:nth-of-type(3n+1){border-left:6px solid #2F8F6B!important}
.investment-row:nth-of-type(3n+2),.organized-box:nth-of-type(3n+2),.benefit-box:nth-of-type(3n+2){border-left:6px solid #8FBDE0!important}
.investment-row:nth-of-type(3n),.organized-box:nth-of-type(3n),.benefit-box:nth-of-type(3n){border-left:6px solid #EDA77F!important}
.investment-row[open]>summary,.organized-box[open]>summary,.benefit-box[open]>summary,.row[open]>summary{background:#F1F8F4}
summary{border-radius:12px}
summary:hover{background:#F6FAF8}
.snapshot-list form:nth-child(odd),.simple-investment:nth-child(odd),.simple-investment:nth-child(even),.snapshot-list form:nth-child(even){background:#F7FAF8;border:1px solid #E8F0EB;border-radius:14px}
.activity-row{background:#F7FAF8;border:1px solid #E8F0EB}

/* forms: the data-entry look */
label{color:#3F5967;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:none}
input,select,textarea{border:1px solid #CFDDD5;border-radius:12px;background:#FBFDFC;padding:11px 12px;color:var(--ink);min-height:44px;transition:border-color .15s,box-shadow .15s,background .15s}
input:hover,select:hover,textarea:hover{border-color:#A9C7B8}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 4px rgba(47,117,86,.16);background:#fff}
input::placeholder,textarea::placeholder{color:#8EA39A}
input[type=checkbox],input[type=radio]{min-height:0;accent-color:var(--green)}
input[readonly],input:disabled,select:disabled{background:#EEF3F0;color:#56707E}
input:invalid:not(:placeholder-shown):not(:focus){border-color:#D9895A}
.fields{gap:14px}
.card>form,details>form{background:#F7FAF8;border:1px solid #E8F0EB;border-radius:16px;padding:16px}
.card form .fields+button,form>button.primary{margin-top:6px}
fieldset{border:1px solid var(--line);border-radius:14px}

/* buttons */
button,.button{border:1px solid #BCD3C7;background:#fff;color:#1E5A40;border-radius:999px;font-weight:700;padding:10px 18px;min-height:44px}
button:hover,.button:hover{background:#F1F8F4;border-color:#8FBAA5}
button.primary{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important;box-shadow:0 6px 14px -8px rgba(47,117,86,.7)}
button.primary:hover{background:#27664A!important}
button.remove,.remove{color:#A9582F;border-color:#EBCDBE}
button.remove:hover{background:#FDF0E6;border-color:#E3B79E}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9CC9B3;outline-offset:2px}
details.add>summary,.add-tool>summary,.people-tools>summary{display:inline-block;padding:10px 18px;border:1px solid #BCD3C7;border-radius:999px;background:#fff;color:#1E5A40;font-weight:700;cursor:pointer;list-style:none}
details.add>summary::-webkit-details-marker{display:none}
details.add[open]>summary,.add-tool[open]>summary,.people-tools[open]>summary{background:#E4F1E9}

/* tables, notes, flags */
table{font-size:14px}
th{background:#F1F6F3;color:#3F5967;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
td,th{border-bottom:1px solid #E4ECE7}
#notice:not(:empty){border-left:4px solid #E9A072;background:#FDF4EC;border-radius:12px}
.flag{background:#FBF1CF;border-radius:999px}.flag.red{background:#FBE0D6}
.empty{background:#fff;border:2px dashed #CFDDD5;border-radius:var(--radius)}
.progress{background:#E4ECE7;height:14px}.progress span{background:#2F8F6B}
.bar-track{background:#EEF3F0}
footer{color:var(--muted)}

/* ================= Overview tab ================= */
.ov{display:flex;flex-direction:column;gap:24px}
.ov-hero{display:flex;flex-wrap:wrap;background:#E4F0EC;border-radius:28px;overflow:hidden;min-height:280px}
.ov-hero-text{flex:1 1 440px;min-width:0;padding:34px 38px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.ov-hero-art{flex:1 1 360px;min-width:0;min-height:240px;position:relative}
.ov-hero-art svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.ov-eye{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#2F6B53}
.ov-hero h1{margin:0;font-size:38px;line-height:1.1}
.ov-hero p{margin:0;font-size:17px;color:#3A5562;max-width:46ch}
.ov-total{margin-top:6px}.ov-total small{display:block;font-size:13px;font-weight:600;color:#4B6573}
.ov-total b{display:block;font-size:52px;font-weight:800;letter-spacing:-.02em;line-height:1.05}
.ov-change{display:inline-flex;align-self:flex-start;background:#fff;border-radius:999px;padding:8px 14px;font-weight:700;font-size:14px;color:#1F6B4D}
.ov-change.dn{color:#A9582F}
.ov-chipnote{font-size:14px;color:#4B6573}
.ov-btn{background:var(--green);color:#fff;border:0;border-radius:999px;font:inherit;font-weight:700;padding:12px 22px;min-height:44px;cursor:pointer}
.ov-btn:hover{background:#27664A}
.ov-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ov-tile{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow);display:flex;justify-content:space-between;align-items:flex-end;gap:10px;min-width:0}
.ov-tile small{display:block;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#4B6573}
.ov-tile b{display:block;font-size:28px;font-weight:800;letter-spacing:-.015em;margin:6px 0 2px}
.ov-tile span{font-size:13px;color:var(--muted);font-weight:600}
.ov-spark{width:90px;height:34px;flex:none}
.ov-grid{display:grid;gap:24px}
.ov-grid.g21{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ov-grid.g1{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.ov-grid.g11{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.ov-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow);min-width:0}
.ov-card h2{margin:0;font-size:22px}
.ov-sub{margin:4px 0 12px;font-size:14px;color:var(--muted)}
.ov-svg{display:block;width:100%;height:auto}
.ov-trail{border-radius:16px;overflow:hidden}
.ov-legend{display:flex;flex-wrap:wrap;gap:16px;margin:6px 0;font-size:13px;color:#3F5967}
.ov-legend span{display:inline-flex;align-items:center;gap:8px}
.ov-legend i{width:12px;height:12px;border-radius:4px;display:inline-block}
.ov-legend i.dash{width:22px;height:0;border-top:3px dashed #6E97B8;border-radius:0}
.ov-foot,.ov-note{font-size:12px;color:var(--muted);margin:10px 0 0}
.ov-txt{font-size:14px;color:#3F5967;margin:10px 0 0}
.ov-empty{background:#F7FAF8;border:1px dashed #CFDDD5;border-radius:16px;padding:18px;color:#3F5967;font-size:14px;margin:8px 0 0}
.ov-win{background:#E4F1E9;border-radius:16px;padding:16px;font-weight:700;color:#1F6B4D}
.ov-donut{display:flex;justify-content:center;margin:8px 0 12px}.ov-donut svg{width:200px;height:200px}
.ov-legs{display:flex;flex-direction:column;gap:10px;font-size:14px}
.ov-leg{display:flex;align-items:center;gap:10px}.ov-leg .sw{width:12px;height:12px;border-radius:4px;flex:none}.ov-leg .nm{flex:1;min-width:0;overflow-wrap:anywhere}.ov-leg .pc{width:48px;text-align:right;color:var(--muted)}
.ov-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-top:14px;font-size:14px}.ov-row span{color:var(--muted)}
.ov-row.base .big{font-size:26px;font-weight:800}
.ov-bar,.ov-track,.ov-meter{height:12px;border-radius:999px;background:#E4ECE7;margin-top:8px;overflow:hidden;display:block}
.ov-bar div,.ov-meter div,.ov-track>div,.ov-track>span{height:100%;border-radius:999px;background:#2F8F6B;display:block}
.ov-meter{height:18px}.ov-meter .near{background:#E6B35C}.ov-meter .over{background:#D9895A}
.ov-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:6px}
.ov-pill{display:inline-flex;margin-top:12px;padding:8px 14px;border-radius:999px;background:#E4F1E9;color:#1F6B4D;font-weight:700;font-size:14px}
.ov-pill.near{background:#FBF1CF;color:#7A5A12}.ov-pill.over{background:#FBE0D6;color:#8A4A26}
.ov-gb{margin-top:14px}.ov-gb .ov-row{margin-top:0;font-weight:600}.ov-gb .ov-track{height:14px}
.neg{color:#A9582F}.pos{color:#1F6B4D}
.ov-total{}
.ov-card .ov-total{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:14px 16px;border-radius:16px;background:#E4F1E9;font-size:14px}.ov-card .ov-total b{font-size:20px;color:#1F6B4D;display:inline}
.ov-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.ov-chip{flex:1 1 130px;padding:12px 14px;border-radius:14px}.ov-chip small{display:block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.ov-chip b{font-size:20px;font-weight:800}
.ov-tip{margin:8px 0 0;padding:14px 16px;border-radius:16px;background:#E4F1E9;font-size:14px;color:#2F5A47}
.ov-accts{display:flex;flex-direction:column;gap:12px}
.ov-acct{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:16px 20px;border-radius:16px;border:0;border-left:6px solid;text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;min-height:0}
.ov-acct:hover{filter:brightness(.98)}
.ov-acct span{min-width:0}.ov-acct small{display:block;font-size:12px;color:var(--muted)}
.ov-acct .a1{flex:2 1 220px}.ov-acct .a1 b{font-size:16px;display:block}.ov-acct .a2,.ov-acct .a3{flex:1 1 120px}.ov-acct .a2 b{font-size:18px;font-weight:800}.ov-acct .a4{flex:1.2 1 160px}
.ov-acct .ov-track{height:10px;background:rgba(255,255,255,.7)}
.ov-disc{font-size:13px;color:var(--muted);max-width:90ch;margin:0}

@media(max-width:1000px){.ov-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-grid.g21,.ov-grid.g1,.ov-grid.g11{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.ov-hero-text{padding:24px 20px}.ov-hero h1{font-size:28px}.ov-total b{font-size:42px}.ov-tiles{gap:12px}.ov-tile{padding:16px;flex-direction:column;align-items:flex-start}.ov-tile b{font-size:22px}.ov-spark{width:100%}.ov-card{padding:18px}.ov-hero-art{min-height:140px;flex-basis:100%}}
@media print{.ov-hero-art{display:none}.ov-card,.ov-tile{box-shadow:none;break-inside:avoid}}

/* softer account summary rows */
.organized-box>summary.account-summary,.benefit-box>summary.account-summary{background:color-mix(in srgb,var(--box-color,#bce8d7) 14%,white)!important;border-radius:14px}
.organized-box>summary.account-summary:hover,.benefit-box>summary.account-summary:hover{background:color-mix(in srgb,var(--box-color,#bce8d7) 24%,white)!important}
.organized-box[open]>summary.account-summary{background:color-mix(in srgb,var(--box-color,#bce8d7) 22%,white)!important}
.holding-box>summary{background:#F0F6FB!important}

/* buttons never stretch into ovals inside grids */
button,.button{align-self:start;justify-self:start;height:auto}
.fields>button,form>button,.fields>.button{align-self:end}
