

:root {
  --bg: #f4f6f9;
  --white: #ffffff;
  --navy: #1a2744;
  --navy-mid: #253660;
  --teal: #0d9488;
  --teal-dk: #0f766e;
  --teal-bg: #f0fdfa;
  --teal-border: #ccfbf1;
  --border: #e1e6ed;
  --border-lt: #f0f3f7;
  --text: #1a2744;
  --text-2: #4a5568;
  --text-m: #8896a5;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --green: #059669;
  --green-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --sh-sm: 0 1px 3px rgba(26,39,68,.06), 0 1px 2px rgba(26,39,68,.03);
  --sh: 0 4px 16px rgba(26,39,68,.07), 0 2px 6px rgba(26,39,68,.03);
  --sh-md: 0 8px 32px rgba(26,39,68,.09);
  --r: 16px;
  --r-sm: 10px;
}
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Plus Jakarta Sans',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;}
button,input,select,textarea{font-family:inherit;}

/* HEADER */
header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200;box-shadow:none;border-bottom:1px solid var(--border);}
.hdr{max-width:1280px;margin:0 auto;padding:0 2rem;height:64px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.logo{font-family:'Playfair Display',serif;font-size:1.45rem;font-weight:700;color:var(--navy);white-space:nowrap;flex-shrink:0;}
.logo span{color:var(--teal);}
.hdr-nav{display:flex;align-items:center;gap:.6rem;flex:1;max-width:460px;}
.hdr-nav label{font-size:.78rem;font-weight:600;color:var(--text-m);white-space:nowrap;}
.hdr-select{flex:1;padding:.5rem 2rem .5rem .85rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--bg);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:.87rem;font-weight:500;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238896a5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center;outline:none;transition:border-color .15s;}
.hdr-select:focus{border-color:var(--teal);}
.hdr-badge{font-size:.72rem;font-weight:600;color:var(--teal);background:var(--teal-bg);border:1px solid var(--teal-border);padding:.28rem .75rem;border-radius:100px;white-space:nowrap;display:none}

/* LAYOUT */
.wrap{max-width:1280px;margin:0 auto;padding:2rem;display:grid;grid-template-columns:252px 1fr;gap:2rem;align-items:start}

/* SIDEBAR */
.sidebar{position:sticky;top:80px}
.sb-section{background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;margin-bottom:.6rem;}
.sb-head{padding:.65rem 1rem;font-size:.67rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-m);background:var(--bg);border-bottom:1px solid var(--border-lt);}
.sb-btn{display:flex;align-items:center;gap:.6rem;padding:.68rem 1rem;border:none;background:none;width:100%;text-align:left;cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;font-size:.84rem;font-weight:500;color:var(--text-2);border-bottom:1px solid var(--border-lt);transition:background .12s,color .12s;}
.sb-btn:last-child{border-bottom:none;}
.sb-btn:hover{background:var(--bg);color:var(--navy);}
.sb-btn.active{background:var(--teal-bg);color:var(--teal);font-weight:600;}
.sb-icon{font-size:.95rem;width:18px;text-align:center;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text-m);}
.sb-icon svg{stroke:currentColor;fill:none;flex-shrink:0;}
.sb-btn.active .sb-icon svg{stroke:var(--teal);}
.sb-arrow{margin-left:auto;font-size:.65rem;color:var(--teal);display:block}

.p-icon svg{width:1.4rem;height:1.4rem;stroke:var(--teal);}
.sb-icon svg{width:1rem;height:1rem;stroke:currentColor;}
.sf-opt-icon svg{width:1.5rem;height:1.5rem;stroke:var(--teal);}
.ti svg{width:1rem;height:1rem;stroke:currentColor;vertical-align:middle;}
.ti span{vertical-align:middle;}
/* HERO */
.hero{background:linear-gradient(135deg,#5b21b6 0%,#2563eb 45%,#0d9488 100%);border-radius:var(--r);padding:2rem 2.75rem;margin-bottom:1.5rem;position:relative;overflow:hidden;}
.hero::before{content:'';position:absolute;right:-60px;top:-60px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none;}
.hero::after{content:'';position:absolute;left:-40px;bottom:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.04);pointer-events:none;}
.hero-pill{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.25);border-radius:100px;padding:.3rem .85rem;font-size:.75rem;font-weight:600;color:rgba(255,255,255,.95);margin-bottom:1rem;backdrop-filter:blur(4px);}
.hero h1{font-family:'Plus Jakarta Sans',sans-serif;font-size:2.1rem;font-weight:800;color:#fff;line-height:1.2;margin-bottom:.75rem;position:relative;}
.hero p{font-size:.92rem;color:rgba(255,255,255,.82);max-width:760px;line-height:1.5;position:relative;}
.hero p strong{color:#fff;font-weight:700;}
.hero-stats{display:flex;gap:2.5rem;margin-top:1.4rem;position:relative;flex-wrap:wrap;}
.h-stat .num{font-family:'Playfair Display',serif;font-size:1.35rem;font-weight:600;color:#ccfbf1;}
.h-stat .lbl{font-size:.7rem;color:rgba(255,255,255,.45);margin-top:.1rem;}

/* PANELS */
main{min-width:0;width:100%;overflow-x:hidden;}
.learn-grid{min-width:0;width:100%;box-sizing:border-box;}
.panel{display:none;animation:fadeUp .3s ease;width:100%;box-sizing:border-box;padding:1.5rem;}
.panel.active{display:block;overflow-x:hidden;}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
.panel-hdr{display:flex;align-items:center;gap:.9rem;margin-bottom:1.4rem;}
.p-icon{width:46px;height:46px;border-radius:12px;background:var(--teal-bg);border:1.5px solid var(--teal-border);display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0;color:var(--teal);}
.p-icon svg{stroke:var(--teal);fill:none;flex-shrink:0;}
.p-title{font-family:'Playfair Display',serif;font-size:1.35rem;font-weight:600;color:var(--navy);}
.p-sub{font-size:.8rem;color:var(--text-m);margin-top:.15rem;}

/* CARD */
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--sh-sm);overflow:hidden;transition:box-shadow .15s;}
.cs{padding:1.6rem 1.75rem;border-bottom:1px solid var(--border-lt);}
.cs:last-child{border-bottom:none;}
.cs-title{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-m);margin-bottom:1.2rem;display:flex;align-items:center;gap:.5rem;}
.cs-title::after{content:'';flex:1;height:1px;background:var(--border-lt);}

/* FORM */
.fg{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field label{display:block;font-size:.77rem;font-weight:600;color:var(--text-2);margin-bottom:.4rem;}
/* Input group: prefix is a flex SIBLING outside the input — autofill can never bleed over it */
.ig{display:flex;align-items:stretch;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);transition:border-color .15s,box-shadow .15s;overflow:hidden;}
.ig:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,148,136,.1);}
.ipfx,.isfx{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:36px;font-size:.88rem;font-weight:600;color:var(--text-m);background:var(--white);user-select:none;pointer-events:none;border-left:1px solid var(--border)}
.ipfx{border-right:1px solid var(--border);}

.ig input{flex:1;min-width:0;border:none!important;outline:none!important;box-shadow:none!important;background:transparent!important;padding:.6rem .75rem;color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:.88rem;font-weight:500;-moz-appearance:textfield;border-radius:0;width:100%;}
.ig input:-webkit-autofill,.ig input:-webkit-autofill:hover,.ig input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px var(--white) inset!important;-webkit-text-fill-color:var(--text)!important;transition:background-color 9999s ease-in-out 0s;}
input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;}
/* Standalone inputs not inside .ig */
input[type=number]:not(.ig > input),input[type=text]:not(.ig > input){width:100%;padding:.6rem .85rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:.88rem;font-weight:500;outline:none;transition:border-color .15s,box-shadow .15s;-moz-appearance:textfield;}
input[type=number]:not(.ig > input):focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,148,136,.1);}
select{width:100%;padding:.6rem .85rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:.88rem;font-weight:500;outline:none;transition:border-color .15s,box-shadow .15s;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238896a5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .7rem center;padding-right:2rem;cursor:pointer;}
select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,148,136,.1);}

/* RANGE */
.rf label{display:flex;justify-content:space-between;align-items:center;}
.rbadge{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-border);border-radius:100px;padding:.13rem .5rem;font-size:.77rem;font-weight:700;letter-spacing:0;}
input[type=range]{-webkit-appearance:none;width:100%;height:5px;background:var(--border);border-radius:5px;outline:none;margin-top:.5rem;padding:0;border:none!important;box-shadow:none!important;}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:17px;height:17px;border-radius:50%;background:var(--teal);cursor:pointer;border:2.5px solid white;box-shadow:0 1px 4px rgba(13,148,136,.35);}

/* BUTTON */
/* ── SESSION 8+ CALCULATOR INPUT SYSTEM ─────────────────────── */
/* .calc-grid mirrors .fg — 2-col responsive grid */
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem;}
@media(max-width:580px){.calc-grid{grid-template-columns:1fr;}}
/* .igroup mirrors .field — label + input block */
.igroup{display:flex;flex-direction:column;gap:.4rem;}
.igroup label{display:block;font-size:.77rem;font-weight:600;color:var(--text-2);}
/* .ifield mirrors standalone input style */
.ifield{width:100%;padding:.6rem .85rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:.88rem;font-weight:500;outline:none;transition:border-color .15s,box-shadow .15s;-moz-appearance:textfield;appearance:none;box-sizing:border-box;}
.ifield:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,148,136,.1);}
.ifield::-webkit-inner-spin-button{-webkit-appearance:none;}
/* .res-grid / .result-grid — result boxes layout */
.res-grid,.result-grid{display:grid;gap:1rem;margin-bottom:1.25rem;}
/* .rbox — individual result card */
.rbox{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-sm);padding:1rem 1.2rem;}
.rbox.teal{background:var(--teal-bg);border-color:var(--teal-border);}
.rbox.navy{background:#f0f4ff;border-color:#c7d2fe;}
.rbox.green{background:var(--green-bg);border-color:#a7f3d0;}
.rbox.amber{background:var(--amber-bg);border-color:#fde68a;}
.rbox.red{background:var(--red-bg);border-color:#fecaca;}
/* .rb-label / .rb-val — result box text */
.rb-label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-m);margin-bottom:.35rem;}
.rb-val{font-size:1.45rem;font-weight:800;color:var(--navy);line-height:1.2;}
.rbox.teal .rb-val{color:var(--teal-dk);}
.rbox.navy .rb-val{color:#3730a3;}
.rbox.green .rb-val{color:var(--green);}
.rbox.amber .rb-val{color:var(--amber);}
.rbox.red .rb-val{color:var(--red);}

.btn-calc{width:100%;padding:.82rem 1.5rem;background:var(--teal);color:white;border:none;border-radius:var(--r-sm);font-family:'Plus Jakarta Sans',sans-serif;font-size:.88rem;font-weight:700;letter-spacing:.02em;cursor:pointer;transition:background .15s,transform .1s,box-shadow .15s;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 2px 8px rgba(13,148,136,.3);margin-top:1.2rem;}
.btn-calc:hover{background:var(--teal-dk);box-shadow:0 4px 16px rgba(13,148,136,.35);transform:translateY(-1px);}
.btn-calc:active{transform:translateY(0);}

/* RESULTS */
.rp{display:none;background:var(--bg);border-top:2px solid var(--teal);padding:1.2rem}
.rp.show{display:block;animation:fadeUp .3s ease;}

.rhl{background:var(--white);border:1px solid var(--border);border-radius:var(--r-sm);padding:1.2rem 1.5rem;margin-bottom:1.1rem;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:1rem;}
.rhl-lbl{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-m);margin-bottom:.28rem;}
.rhl-val{font-size:1.65rem;font-weight:700;color:var(--navy);line-height:1}
.rhl-val.green{color:var(--green);}
.rhl-val.teal{color:var(--teal);}
.rhl-val.red{color:var(--red);}
.rhl-sub{font-size:.75rem;color:var(--text-m);margin-top:.28rem;}

.rg{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.8rem;margin-bottom:1rem;}
.rt{background:var(--white);border:1px solid var(--border);border-radius:var(--r-sm);padding:.85rem 1rem;}
.rt .rv{font-size:1.1rem;font-weight:700;color:var(--navy);display:block;margin-bottom:.18rem;}
.rt .rv.red{color:var(--red);}.rt .rv.green{color:var(--green);}.rt .rv.amber{color:var(--amber);}
.rt .rl{font-size:.7rem;color:var(--text-m);}

.chart-box{background:var(--white);border:1px solid var(--border);border-radius:var(--r-sm);padding:1.2rem;margin-top:.85rem;}
.chart-lbl{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-m);margin-bottom:.9rem;}
.chart-wrap{position:relative;height:195px;}

.ibox{border-radius:var(--r-sm);padding:.8rem 1rem;font-size:.8rem;line-height:1.55;margin-top:.85rem;display:flex;gap:.55rem;align-items:flex-start;}
.ibox.green{background:var(--green-bg);color:var(--green);border:1px solid #a7f3d0;}
.ibox.amber{background:var(--amber-bg);color:var(--amber);border:1px solid #fde68a;}
.ibox.red{background:var(--red-bg);color:var(--red);border:1px solid #fecaca;}
.ibox.teal{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-border);}
.ii{font-size:.95rem;flex-shrink:0;}

.prog-wrap{margin-top:.85rem;}
.prog-labels{display:flex;justify-content:space-between;font-size:.73rem;color:var(--text-m);margin-bottom:.38rem;}
.prog-track{background:var(--border);border-radius:100px;height:7px;overflow:hidden;}
.prog-fill{height:100%;border-radius:100px;background:linear-gradient(90deg,var(--teal),#34d399);transition:width .6s cubic-bezier(.4,0,.2,1);}

.bbar-row{display:flex;align-items:center;gap:.8rem;margin-bottom:.75rem;}
.bbar-lbl{width:65px;font-size:.77rem;font-weight:600;color:var(--text-2);flex-shrink:0;}
.bbar-track{flex:1;background:var(--border);border-radius:100px;height:9px;overflow:hidden;}
.bbar-fill{height:100%;border-radius:100px;transition:width .6s;}
.bbar-val{width:70px;text-align:right;font-size:.8rem;font-weight:700;flex-shrink:0;}
.bbar-sub{font-size:.69rem;color:var(--text-m);margin-bottom:.85rem;padding-left:calc(65px + .8rem);}

/* TRUST STRIP */
.trust-strip{display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:.7rem 1.5rem;margin-bottom:1.25rem;}
.trust-item{display:flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:600;color:var(--text-2);}
.trust-item .ti{font-size:1rem;display:flex;align-items:center;}
.trust-item .ti svg{stroke:var(--teal);fill:none;}
@media(max-width:640px){
  .trust-strip{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:0;padding:.55rem .75rem;scrollbar-width:none;-ms-overflow-style:none;border-radius:var(--r-sm);}
  .trust-strip::-webkit-scrollbar{display:none;}
  .trust-item{flex-shrink:0;background:var(--bg);border:1px solid var(--border);border-radius:100px;padding:.3rem .75rem;font-size:.73rem;white-space:nowrap;margin-right:.5rem;}
  .trust-item:last-child{margin-right:0;}
}

/* ── ALL TOOLS DIRECTORY ── */
.at-filter{background:var(--bg);border:1px solid var(--border);border-radius:100px;padding:.3rem .85rem;font-size:.75rem;font-weight:600;color:var(--text-2);cursor:pointer;font-family:inherit;transition:all .15s;}
.at-filter:hover{border-color:var(--teal);color:var(--teal);}
.at-filter.active{background:var(--teal);border-color:var(--teal);color:#fff;}
.at-section{margin-bottom:2rem;}
.at-section.hidden{display:none;}
.at-cat-hdr{display:flex;align-items:center;gap:.6rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;margin-bottom:.75rem;padding:.5rem .75rem;border-radius:var(--r-sm);color:var(--white);}
.at-cat-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:rgba(255,255,255,.6);}
.at-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem;}
.at-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-sm);padding:.9rem 1rem;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s;position:relative;overflow:hidden;}
.at-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--teal);opacity:.7;transition:opacity .15s;}
.at-card:hover{box-shadow:0 3px 12px rgba(0,0,0,.09);transform:translateY(-1px);}
.at-card:hover::before{opacity:1;}
/* Context highlight from UK Snapshot strip */
.at-card.at-ctx-highlight{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.13);}
.at-card.at-ctx-highlight::before{opacity:1;width:4px;}
.at-ctx-tag{display:none;font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#b45309;background:rgba(251,191,36,.12);border-radius:100px;padding:.15rem .5rem;width:fit-content;margin-top:.5rem;}
.at-card.at-ctx-highlight .at-ctx-tag{display:block;}
.at-name{font-size:.85rem;font-weight:700;color:var(--navy);margin-bottom:.25rem;}
.at-desc{font-size:.75rem;color:var(--text-2);line-height:1.45;}
.at-commentary{font-size:.72rem;color:var(--teal);line-height:1.5;margin-top:.45rem;font-style:italic;}
.at-cat-hdr{display:flex;align-items:center;gap:.6rem;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;margin-bottom:.75rem;padding:.5rem .75rem;border-radius:var(--r-sm);color:var(--white);background:var(--teal);}
.at-cat-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:rgba(255,255,255,.6);}
/* Sidebar All Tools clickable affordance */
.sb-head-link{cursor:pointer;transition:color .15s,background .15s;}
.sb-head-link:hover{color:var(--teal);background:var(--teal-bg);}
.sb-head-link:hover svg{stroke:var(--teal);}
.life-stages{margin-bottom:1.75rem;}
.ls-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--text-m);margin-bottom:.65rem;}
.ls-row{display:flex;gap:.6rem;flex-wrap:wrap;}
.ls-btn{display:flex;align-items:center;gap:.5rem;padding:.55rem 1.05rem;border:1.5px solid var(--border);border-radius:100px;background:var(--white);color:var(--text-2);font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:600;cursor:pointer;transition:all .18s;box-shadow:var(--sh-sm);}
.ls-btn:hover{border-color:var(--teal);color:var(--teal);background:var(--teal-bg);}
.ls-btn.active{border-color:var(--teal);background:var(--teal);color:white;box-shadow:0 2px 8px rgba(13,148,136,.3);}
.ls-btn .ls-icon{font-size:1.05rem;}

/* DECISION QUESTIONS SECTION */
.dq-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;cursor:pointer;text-align:left;font-family:'Plus Jakarta Sans',sans-serif;display:flex;flex-direction:column;gap:.3rem;transition:border-color .15s,box-shadow .15s,transform .15s;width:100%;position:relative;}
.dq-card:hover{border-color:var(--teal);box-shadow:0 3px 12px rgba(13,148,136,.1);transform:translateY(-1px);}
.dq-card:active{transform:translateY(0);}
.dq-card.dq-active{border-color:var(--teal);background:rgba(13,148,136,.04);}
.dq-icon{width:22px;height:22px;margin-bottom:.35rem;flex-shrink:0;color:var(--teal);}
.dq-icon svg{width:22px;height:22px;display:block;stroke:currentColor;fill:none;stroke-width:1.5;}
.dq-q{font-size:.82rem;font-weight:500;color:var(--navy);line-height:1.45;}
.dq-tool{font-size:.7rem;font-weight:500;color:var(--teal);margin-top:.1rem;opacity:.85;}
.dq-trending{display:inline-flex;align-items:center;gap:3px;background:#fef3c7;border:1px solid #fde68a;border-radius:100px;color:#92400e;font-size:.67rem;font-weight:700;padding:2px 8px;margin-bottom:4px;width:fit-content;}

/* LIFE STAGE SUGGESTION STRIP (appears below hero when a stage is selected) */
.ls-strip{display:none;background:var(--teal-bg);border:1px solid var(--teal-border);border-radius:var(--r-sm);padding:.75rem 1.1rem;margin-bottom:1.1rem;animation:fadeUp .25s ease;}
.ls-strip.show{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;}
.ls-strip-label{font-size:.75rem;font-weight:700;color:var(--teal);margin-right:.25rem;white-space:nowrap;}
.ls-chip{padding:.3rem .75rem;background:var(--white);border:1px solid var(--teal-border);border-radius:100px;font-size:.75rem;font-weight:600;color:var(--teal);cursor:pointer;transition:background .15s,color .15s;white-space:nowrap;}
.ls-chip:hover{background:var(--teal);color:white;}

/* RESULT ACTION BUTTONS */
.rp-actions{display:flex;gap:.6rem;margin-bottom:1.1rem;flex-wrap:wrap;}
.btn-action{display:flex;align-items:center;gap:.4rem;padding:.45rem .95rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);color:var(--text-2);font-family:'Plus Jakarta Sans',sans-serif;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .15s;}
.btn-action:hover{border-color:var(--teal);color:var(--teal);}
.btn-action.copied{border-color:var(--green);color:var(--green);background:var(--green-bg);}
.btn-action .ba-icon{font-size:.9rem;display:inline-flex;align-items:center;vertical-align:middle;}
.btn-action .ba-icon svg{stroke:currentColor;fill:none;vertical-align:middle;}

/* WHAT TO CALCULATE NEXT */
.next-steps{margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--border-lt);}
.next-steps-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--text-m);margin-bottom:.65rem;}
.next-row{display:flex;gap:.6rem;flex-wrap:wrap;}
.next-chip{display:flex;align-items:center;gap:.45rem;padding:.5rem .9rem;background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-sm);font-family:'Plus Jakarta Sans',sans-serif;font-size:.8rem;font-weight:600;color:var(--text-2);cursor:pointer;transition:all .15s;box-shadow:var(--sh-sm);}
.next-chip:hover{border-color:var(--teal);color:var(--teal);transform:translateY(-1px);box-shadow:var(--sh);}
.next-chip .nc-icon{font-size:.95rem;display:inline-flex;align-items:center;}
.next-chip .nc-icon svg{stroke:currentColor;fill:none;}
.next-chip .nc-arrow{font-size:.65rem;color:var(--text-m);margin-left:.1rem;}

/* SIDEBAR SUB-HEADS */
.sb-sub-head{font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--text-m);padding:.5rem 1rem;background:var(--bg);border-bottom:1px solid var(--border-lt);display:flex;align-items:center;justify-content:space-between;cursor:pointer;user-select:none;transition:background .12s;}
.sb-sub-head:hover{background:var(--border-lt);}
.sb-sub-head-chevron{font-size:.65rem;color:var(--text-m);transition:transform .2s;}
.sb-sub-group{overflow:hidden;}

/* HOMEPAGE SECTIONS — hide when calculator active */
.home-only{transition:opacity .2s,max-height .6s cubic-bezier(.4,0,.2,1),margin .3s;overflow:visible;max-height:3000px;opacity:1;}
.home-only.hidden{max-height:0!important;opacity:0;margin-top:0!important;margin-bottom:0!important;pointer-events:none;overflow:hidden;visibility:hidden;transition:opacity .2s,max-height .6s cubic-bezier(.4,0,.2,1),margin .3s,visibility 0s linear .6s;}

/* ── SAVINGS FINDER FEATURE BANNER ── */
.sf-banner{background:linear-gradient(135deg,#0f766e 0%,#0d9488 50%,#14b8a6 100%);border-radius:var(--r);padding:1.75rem 2rem;margin-bottom:1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;box-shadow:0 4px 20px rgba(13,148,136,.3);position:relative;overflow:hidden;cursor:pointer;transition:transform .18s,box-shadow .18s;}
.sf-banner:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(13,148,136,.4);}
.sf-banner::before{content:'';position:absolute;right:-40px;top:-40px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.07);}
.sf-banner::after{content:'';position:absolute;right:80px;bottom:-60px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.04);}
.sf-banner-left{position:relative;flex:1;min-width:220px;}
.sf-banner-eyebrow{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.65);margin-bottom:.35rem;}
.sf-banner-title{font-family:'Playfair Display',serif;font-size:1.35rem;font-weight:700;color:white;line-height:1.25;margin-bottom:.4rem;}
.sf-banner-sub{font-size:.83rem;color:rgba(255,255,255,.7);line-height:1.55;max-width:480px;}
.sf-banner-pills{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.85rem;}
.sf-banner-pill{padding:.22rem .7rem;border-radius:100px;font-size:.7rem;font-weight:700;background:rgba(255,255,255,.15);color:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.2);}
.sf-banner-right{position:relative;flex-shrink:0;}
.sf-banner-cta{display:flex;align-items:center;gap:.55rem;background:white;color:var(--teal-dk);border:none;border-radius:var(--r-sm);padding:.8rem 1.5rem;font-family:'Plus Jakarta Sans',sans-serif;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .15s;white-space:nowrap;box-shadow:0 2px 12px rgba(0,0,0,.15);}
.sf-banner-cta:hover{background:var(--teal-bg);color:var(--teal-dk);}
.sf-banner-cta .cta-arrow{font-size:1.1rem;transition:transform .15s;}
.sf-banner:hover .cta-arrow{transform:translateX(3px);}

/* ── SAVINGS FINDER ── */
.sf-wizard{padding:0;}
.sf-progress{display:flex;align-items:center;gap:.5rem;padding:1.6rem 1.75rem 0;}
.sf-step-dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--border);background:var(--white);display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;color:var(--text-m);transition:all .2s;flex-shrink:0;}
.sf-step-dot.active{border-color:var(--teal);background:var(--teal);color:white;}
.sf-step-dot.done{border-color:var(--teal);background:var(--teal-bg);color:var(--teal);}
.sf-step-line{flex:1;height:2px;background:var(--border);border-radius:2px;}
.sf-step-line.done{background:var(--teal);}

.sf-question{padding:1.6rem 1.75rem;display:none;animation:fadeUp .25s ease;}
.sf-question.active{display:block;}
.sf-q-num{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--teal);margin-bottom:.4rem;}
.sf-q-title{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:600;color:var(--navy);margin-bottom:.35rem;line-height:1.3;}
.sf-q-sub{font-size:.82rem;color:var(--text-m);margin-bottom:1.35rem;line-height:1.5;}

.sf-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;}
.sf-option{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1.1rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);cursor:pointer;transition:all .18s;text-align:left;font-family:'Plus Jakarta Sans',sans-serif;}
.sf-option:hover{border-color:var(--teal);background:var(--teal-bg);transform:translateY(-1px);box-shadow:var(--sh);}
.sf-option.selected{border-color:var(--teal);background:var(--teal-bg);box-shadow:0 0 0 3px rgba(13,148,136,.12);}
.sf-opt-icon{font-size:1.5rem;flex-shrink:0;margin-top:.05rem;display:flex;align-items:center;justify-content:center;width:36px;height:36px;color:var(--teal);}
.sf-opt-icon svg{stroke:currentColor;fill:none;}
.sf-option.selected .sf-opt-icon{color:var(--teal);}
.sf-option.selected .sf-opt-icon svg{stroke:var(--teal);}
.sf-opt-label{font-size:.85rem;font-weight:700;color:var(--navy);display:block;margin-bottom:.15rem;}
.sf-opt-desc{font-size:.74rem;color:var(--text-m);line-height:1.4;}

.sf-nav{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.75rem;border-top:1px solid var(--border-lt);margin-top:.5rem;}
.sf-back{background:none;border:1.5px solid var(--border);border-radius:var(--r-sm);padding:.55rem 1.2rem;font-family:'Plus Jakarta Sans',sans-serif;font-size:.84rem;font-weight:600;color:var(--text-2);cursor:pointer;transition:all .15s;}
.sf-back:hover{border-color:var(--navy);color:var(--navy);}
.sf-next{background:var(--teal);border:none;border-radius:var(--r-sm);padding:.55rem 1.5rem;font-family:'Plus Jakarta Sans',sans-serif;font-size:.84rem;font-weight:700;color:white;cursor:pointer;transition:all .15s;box-shadow:0 2px 8px rgba(13,148,136,.3);}
.sf-next:hover{background:var(--teal-dk);}
.sf-next:disabled{background:var(--border);color:var(--text-m);box-shadow:none;cursor:not-allowed;}

/* RESULTS */
.sf-results{padding:1.6rem 1.75rem;display:none;animation:fadeUp .3s ease;}
.sf-results.show{display:block;}
.sf-rec-header{background:linear-gradient(135deg,var(--navy),var(--navy-mid));border-radius:var(--r-sm);padding:1.4rem 1.6rem;margin-bottom:1.4rem;position:relative;overflow:hidden;}
.sf-rec-header::before{content:'';position:absolute;right:-20px;top:-20px;width:140px;height:140px;border-radius:50%;background:rgba(13,148,136,.15);}
.sf-rec-eyebrow{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.5);margin-bottom:.35rem;}
.sf-rec-title{font-family:'Playfair Display',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:.3rem;position:relative;}
.sf-rec-sub{font-size:.8rem;color:rgba(255,255,255,.6);line-height:1.55;position:relative;}
.sf-rec-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.85rem;position:relative;}
.sf-tag{padding:.25rem .7rem;border-radius:100px;font-size:.72rem;font-weight:700;background:rgba(13,148,136,.25);color:#ccfbf1;border:1px solid rgba(13,148,136,.4);}

.sf-cat-section{margin-bottom:1.5rem;}
.sf-cat-label{display:flex;align-items:center;gap:.6rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--text-m);margin-bottom:.85rem;}
.sf-cat-label::after{content:'';flex:1;height:1px;background:var(--border-lt);}
.sf-cat-badge{padding:.2rem .6rem;border-radius:100px;font-size:.68rem;font-weight:700;}
.sf-cat-badge.best{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-border);}
.sf-cat-badge.also{background:var(--amber-bg);color:var(--amber);border:1px solid #fde68a;}

/* PRODUCT CARDS */
.sf-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.85rem;margin-bottom:1rem;}
.sf-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-sm);padding:1.1rem 1.2rem;transition:all .18s;position:relative;}
.sf-card:hover{border-color:var(--teal);box-shadow:var(--sh);}
.sf-card-recommended{border-color:var(--teal);box-shadow:0 0 0 2px rgba(13,148,136,.15);}
.sf-card-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;}
.sf-provider{font-size:.78rem;font-weight:700;color:var(--text-m);text-transform:uppercase;letter-spacing:.05em;}
.sf-card-badge{font-size:.68rem;font-weight:700;padding:.2rem .55rem;border-radius:100px;}
.sf-card-badge.top{background:#fef9c3;color:#854d0e;border:1px solid #fde68a;}
.sf-card-badge.recommended{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-border);}
.sf-card-badge.new{background:var(--teal-bg);color:var(--teal);border:1px solid var(--teal-border);}
.sf-product-name{font-size:.9rem;font-weight:700;color:var(--navy);margin-bottom:.35rem;}
.sf-rate{display:flex;align-items:baseline;gap:.3rem;margin-bottom:.25rem;}
.sf-rate-num{font-family:'Plus Jakarta Sans',sans-serif;font-size:1.75rem;font-weight:800;color:var(--teal);}
.sf-rate-aer{font-size:.75rem;font-weight:600;color:var(--text-m);}
.sf-earnings{font-size:.75rem;color:var(--teal);font-weight:600;margin-bottom:.6rem;background:var(--teal-bg);display:inline-block;padding:.15rem .55rem;border-radius:100px;}
.sf-card-details{display:flex;flex-direction:column;gap:.22rem;margin-bottom:.65rem;}
.sf-detail{display:flex;justify-content:space-between;font-size:.76rem;}
.sf-detail-label{color:var(--text-m);}
.sf-detail-val{font-weight:600;color:var(--text-2);}
.sf-access-chip{display:inline-block;font-size:.68rem;font-weight:700;padding:.18rem .55rem;border-radius:100px;margin:.1rem 0 .45rem;letter-spacing:.01em;}
.sf-access-unrestricted{background:#dcfce7;color:#166534;}
.sf-access-limited{background:#fef3c7;color:#92400e;}
.sf-access-notice{background:#dbeafe;color:#1e40af;}
.sf-access-fixed_penalty{background:#ede9fe;color:#5b21b6;}
.sf-access-fixed_locked{background:#e2e8f0;color:#334155;}
.sf-card-note{font-size:.72rem;color:var(--text-m);line-height:1.5;margin-bottom:.75rem;padding:.5rem .65rem;background:var(--bg);border-radius:6px;border-left:2px solid var(--border);}
.sf-open-btn{display:block;width:100%;padding:.55rem;background:var(--teal);color:white;border:none;border-radius:var(--r-sm);font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:700;cursor:pointer;text-align:center;text-decoration:none;transition:background .15s;}
.sf-open-btn:hover{background:var(--teal-dk);}
.sf-open-btn.outline{background:var(--white);color:var(--teal);border:1.5px solid var(--teal);}
.sf-open-btn.outline:hover{background:var(--teal-bg);}
.sf-disclaimer{font-size:.72rem;color:var(--text-m);line-height:1.55;padding:.85rem 1rem;background:var(--bg);border-radius:var(--r-sm);margin-top:1rem;border:1px solid var(--border-lt);}
.sf-restart{display:flex;align-items:center;gap:.4rem;background:none;border:none;font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:600;color:var(--text-m);cursor:pointer;padding:0;margin-top:1.1rem;}
.sf-restart:hover{color:var(--teal);}

/* ── FOOTER ── */
.site-footer{background:var(--navy);color:rgba(255,255,255,.65);margin-top:3rem;padding:0;}
.footer-top{max-width:1280px;margin:0 auto;padding:3rem 2rem 2rem;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;}
.footer-brand .fb-logo{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:#fff;margin-bottom:.5rem;}
.footer-brand .fb-logo span{color:#2dd4bf;}
.footer-brand p{font-size:.78rem;line-height:1.7;color:rgba(255,255,255,.5);max-width:280px;margin-top:.5rem;}
.footer-brand .fb-badge{display:inline-flex;align-items:center;gap:.4rem;margin-top:.85rem;padding:.35rem .75rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:100px;font-size:.7rem;color:rgba(255,255,255,.55);}
.footer-col h4{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.35);margin-bottom:.85rem;}
.footer-col a,.footer-col button{display:block;font-size:.78rem;color:rgba(255,255,255,.55);text-decoration:none;background:none;border:none;padding:0;cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;margin-bottom:.5rem;text-align:left;transition:color .15s;}
.footer-col a:hover,.footer-col button:hover{color:#2dd4bf;}

.footer-disclaimer{background:rgba(0,0,0,.2);border-top:1px solid rgba(255,255,255,.07);}
.footer-disclaimer-inner{max-width:1280px;margin:0 auto;padding:1.75rem 2rem;}
.footer-disclaimer-title{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.35);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;}
.footer-disclaimer-title::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.08);}
.disclaimer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;margin-bottom:1.25rem;}
.disclaimer-block{font-size:.74rem;line-height:1.65;color:rgba(255,255,255,.45);overflow-wrap:break-word;word-break:normal;white-space:normal;max-width:100%;}
.disclaimer-block strong{color:rgba(255,255,255,.65);font-weight:700;}

.footer-bottom{background:rgba(0,0,0,.25);border-top:1px solid rgba(255,255,255,.06);}
.footer-bottom-inner{max-width:1280px;margin:0 auto;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;font-size:.72rem;color:rgba(255,255,255,.3);}
.footer-bottom-inner a{color:rgba(255,255,255,.35);text-decoration:none;}
.footer-bottom-inner a:hover{color:#2dd4bf;}
.footer-fscs{display:flex;align-items:center;gap:.5rem;padding:.35rem .75rem;background:rgba(255,255,255,.05);border-radius:100px;border:1px solid rgba(255,255,255,.08);font-size:.68rem;color:rgba(255,255,255,.4);}

/* ── ADVANCED OPTIONS TOGGLE ── */
.adv-toggle{display:flex;align-items:center;gap:.5rem;margin-top:.85rem;margin-bottom:0;cursor:pointer;user-select:none;width:fit-content;}
.adv-toggle-label{font-size:.78rem;font-weight:600;color:var(--text-m);transition:color .15s;}
.adv-toggle:hover .adv-toggle-label{color:var(--teal);}
.adv-arrow{font-size:.7rem;color:var(--text-m);transition:transform .2s;}
.adv-arrow.open{transform:rotate(90deg);}
.adv-section{display:none;margin-top:.85rem;padding:.85rem 1rem;background:var(--bg);border-radius:var(--r-sm);border:1px solid var(--border-lt);}
.adv-section.open{display:block;animation:fadeUp .2s ease;}
.adv-note{font-size:.72rem;color:var(--text-m);margin-bottom:.85rem;line-height:1.55;}

/* ── CHORE PLANNER ── */
:root {
  --amber-2: #f59e0b;
  --purple: #7c3aed;
  --purple-bg: #f5f3ff;
  --purple-border: #ddd6fe;
  --pink: #db2777;
  --pink-bg: #fdf2f8;
}

.cp-setup { padding: 1.6rem 1.75rem; }
.cp-child-bar {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, var(--navy), #253660);
  border-radius: var(--r-sm); padding: 1.1rem 1.4rem;
  margin-bottom: 1.4rem; flex-wrap: wrap;
}
.cp-child-bar label { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; display: block; }
.cp-child-input { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--r-sm); padding: .5rem .85rem; color: white; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .92rem; font-weight: 600; outline: none; }
.cp-child-input::placeholder { color: rgba(255,255,255,.35); }
.cp-child-input:focus { border-color: #2dd4bf; }
.cp-goal-wrap { flex: 1; min-width: 180px; }

/* Chore list */
.cp-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem;
}
.cp-section-title { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-m); display: flex; align-items: center; gap: .5rem; }
.cp-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border-lt); }
.cp-add-btn {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem .85rem; background: var(--navy); color: white;
  border: none; border-radius: var(--r-sm); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap;
}
.cp-add-btn:hover { background: #253660; }
.cp-add-btn.bonus { background: var(--amber); }
.cp-add-btn.bonus:hover { background: #b45309; }

.chore-item {
  display: grid; grid-template-columns: 1fr auto auto auto auto;
  gap: .65rem; align-items: center;
  padding: .7rem .85rem; background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  margin-bottom: .5rem; transition: border-color .15s;
}
.chore-item:hover { border-color: var(--teal); }
.chore-item.bonus-chore { border-color: var(--amber); background: #fffbeb; }
.chore-input { border: none; outline: none; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 500; color: var(--text); background: transparent; width: 100%; }
.chore-pay { width: 80px; padding: .3rem .5rem; border: 1.5px solid var(--border); border-radius: 5px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .82rem; font-weight: 700; color: var(--teal); text-align: right; outline: none; }
.chore-pay:focus { border-color: var(--teal); }
.chore-freq { padding: .3rem 2rem .3rem .5rem; border: 1.5px solid var(--border); border-radius: 5px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .78rem; font-weight: 600; color: var(--text-2); outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238896a5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-color: var(--white); }
.chore-freq:focus { border-color: var(--teal); }
.chore-badge { font-size: .65rem; font-weight: 700; padding: .2rem .5rem; border-radius: 100px; white-space: nowrap; }
.chore-badge.required { background: var(--teal-bg); color: var(--teal); border: 1px solid var(--teal-border); }
.chore-badge.bonus { background: var(--amber-bg); color: var(--amber); border: 1px solid #fde68a; }
.chore-delete { background: none; border: none; color: var(--text-m); font-size: 1rem; cursor: pointer; padding: .2rem .4rem; border-radius: 4px; transition: all .15s; line-height: 1; }
.chore-delete:hover { color: var(--red); background: var(--red-bg); }

/* Results */
.cp-results { display: none; background: var(--bg); border-top: 2px solid var(--teal); padding: 1.6rem 1.75rem; animation: fadeUp .3s ease; }
.cp-results.show { display: block; }

.cp-earnings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.1rem; }
.cp-earn-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .9rem 1rem; text-align: center; }
.cp-earn-card .ce-val { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); display: block; }
.cp-earn-card .ce-lbl { font-size: .68rem; color: var(--text-m); margin-top: .2rem; }
.cp-earn-card.highlight { background: var(--teal-bg); border-color: var(--teal-border); }
.cp-earn-card.highlight .ce-val { color: var(--teal); }

/* Goal progress */
.cp-goal-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.cp-goal-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-m); margin-bottom: .85rem; display: flex; align-items: center; gap: .5rem; }
.cp-goal-title::after { content: ''; flex: 1; height: 1px; background: var(--border-lt); }
.cp-goal-bar-wrap { margin-top: .5rem; }
.cp-goal-bar-labels { display: flex; justify-content: space-between; font-size: .75rem; margin-bottom: .4rem; }
.cp-goal-bar-track { background: var(--border); border-radius: 100px; height: 14px; overflow: hidden; position: relative; }
.cp-goal-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--teal), #34d399); transition: width .8s cubic-bezier(.4,0,.2,1); position: relative; }
.cp-goal-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%); border-radius: 100px; }
.cp-milestone { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: var(--r-sm); font-size: .78rem; font-weight: 600; margin-top: .65rem; }
.cp-milestone.on-track { background: var(--green-bg); color: var(--green); border: 1px solid #a7f3d0; }
.cp-milestone.stretch { background: var(--amber-bg); color: var(--amber); border: 1px solid #fde68a; }

/* Chore chart printable */
.cp-chart-table { width: 100%; border-collapse: collapse; margin-top: .85rem; font-size: .78rem; }
.cp-chart-table th { background: var(--navy); color: rgba(255,255,255,.8); padding: .55rem .7rem; text-align: center; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.cp-chart-table th:first-child { text-align: left; }
.cp-chart-table td { padding: .5rem .7rem; border-bottom: 1px solid var(--border-lt); border-right: 1px solid var(--border-lt); text-align: center; }
.cp-chart-table td:first-child { text-align: left; font-weight: 600; color: var(--text-2); }
.cp-chart-table tr:nth-child(even) td { background: var(--bg); }
.cp-tick-box { width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 4px; display: inline-block; }

/* Print btn */
.cp-print-btn { display: flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; background: var(--navy); color: white; border: none; border-radius: var(--r-sm); font-family: 'Plus Jakarta Sans', sans-serif; font-size: .82rem; font-weight: 700; cursor: pointer; margin-top: 1rem; transition: background .15s; }
.cp-print-btn:hover { background: #253660; }

/* ── COST OF WAITING ── */
.cow-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.cow-card {
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  padding: 1rem 1.1rem;
  position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.cow-card.now {
  border-color: var(--teal);
  background: var(--teal-bg);
  box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.cow-card.late {
  border-color: var(--red);
  background: var(--red-bg);
  opacity: .92;
}
.cow-card-label {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--text-m); margin-bottom: .5rem;
}
.cow-card.now .cow-card-label { color: var(--teal); }
.cow-card.late .cow-card-label { color: var(--red); }
.cow-card-age {
  font-size: 1.45rem; font-weight: 800; color: var(--navy);
  margin-bottom: .2rem; line-height: 1.2;
}
.cow-card-pot {
  font-size: 1.45rem; font-weight: 800;
  color: var(--navy); margin-bottom: .2rem; line-height: 1.2;
}
.cow-card.now .cow-card-pot { color: var(--teal); }
.cow-card.late .cow-card-pot { color: var(--red); }
.cow-card-sub { font-size: .72rem; color: var(--text-m); line-height: 1.5; }
.cow-card-loss {
  margin-top: .55rem; padding: .3rem .6rem;
  background: rgba(220,38,38,.1); border-radius: 5px;
  font-size: .72rem; font-weight: 700; color: var(--red);
}

/* The jaw-drop stat */
.cow-hero-stat {
  background: linear-gradient(135deg, var(--navy), #253660);
  border-radius: var(--r-sm); padding: 1.4rem 1.6rem;
  margin-bottom: 1rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  position: relative; overflow: hidden;
}
.cow-hero-stat::before {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(13,148,136,.12);
}
.cow-hero-left { position: relative; }
.cow-hero-eyebrow {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: .35rem;
}
.cow-hero-num {
  font-size: 2.8rem; font-weight: 800; color: #fbbf24;
  line-height: 1; margin-bottom: .2rem;
}
.cow-hero-label { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.cow-hero-right { position: relative; text-align: right; }
.cow-hero-sub { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 200px; }

/* Timeline bar chart */
.cow-timeline { margin: .85rem 0; }
.cow-tl-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .65rem; }
.cow-tl-label { width: 80px; font-size: .75rem; font-weight: 600; color: var(--text-2); flex-shrink: 0; text-align: right; }
.cow-tl-track { flex: 1; background: var(--border); border-radius: 100px; height: 26px; overflow: hidden; position: relative; }
.cow-tl-fill {
  height: 100%; border-radius: 100px; display: flex;
  align-items: center; padding: 0 .75rem;
  font-size: .72rem; font-weight: 700; color: white;
  transition: width .9s cubic-bezier(.4,0,.2,1);
  white-space: nowrap; overflow: hidden;
}
.cow-tl-fill.now { background: linear-gradient(90deg, var(--teal), #34d399); }
.cow-tl-fill.delay1 { background: linear-gradient(90deg, #0d9488aa, #34d399aa); }
.cow-tl-fill.delay3 { background: linear-gradient(90deg, #d97706, #f59e0b); }
.cow-tl-fill.delay5 { background: linear-gradient(90deg, #dc2626, #f87171); }
.cow-tl-fill.delay10 { background: linear-gradient(90deg, #7f1d1d, #dc2626); }
.cow-tl-val { width: 80px; font-size: .75rem; font-weight: 700; color: var(--text-2); flex-shrink: 0; }

/* Catchup section */
.cow-catchup {
  background: var(--amber-bg); border: 1px solid #fde68a;
  border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-top: .85rem;
}
.cow-catchup-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--amber); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.cow-catchup-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: .6rem;
}
.cow-cu-item {
  background: white; border-radius: 6px; padding: .65rem .85rem;
  border: 1px solid #fde68a;
}
.cow-cu-delay { font-size: .7rem; color: var(--amber); font-weight: 700; margin-bottom: .2rem; }
.cow-cu-amount { font-size: 1.45rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.cow-cu-sub { font-size: .68rem; color: var(--text-m); margin-top: .1rem; }




/* QUICK-ACCESS GRID BUTTONS */
.qa-btn{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.85rem .6rem;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;transition:all .18s;box-shadow:var(--sh-sm);text-align:center;}
.qa-btn:hover{border-color:var(--teal);background:var(--teal-bg);transform:translateY(-2px);box-shadow:var(--sh);}
.qa-icon{font-size:1.4rem;line-height:1;}
.qa-lbl{font-size:.72rem;font-weight:700;color:var(--text-2);line-height:1.3;}
.qa-btn:hover .qa-lbl{color:var(--teal);}





/* ══════════════════════════════════════════════════
   LIFE GOALS PLANNER
══════════════════════════════════════════════════ */

/* Goal picker grid */
.lg-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.lg-goal-card {
  display: flex; flex-direction: column; align-items: center;
  gap: .45rem; padding: 1rem .75rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--white); cursor: pointer;
  transition: all .18s; text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative; overflow: hidden;
}
.lg-goal-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--teal-bg); opacity: 0;
  transition: opacity .18s;
}
.lg-goal-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--sh); }
.lg-goal-card:hover::before { opacity: 1; }
.lg-goal-card.active {
  border-color: var(--teal); background: var(--teal-bg);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12), var(--sh);
  transform: translateY(-2px);
}
.lg-goal-card.active::before { opacity: 1; }
.lg-gc-emoji { font-size: 1.8rem; position: relative; line-height: 1; }
.lg-gc-name {
  font-size: .78rem; font-weight: 700; color: var(--navy);
  position: relative; line-height: 1.3;
}
.lg-gc-range {
  font-size: .67rem; color: var(--text-m);
  position: relative; line-height: 1.3;
}
.lg-goal-card.active .lg-gc-name { color: var(--teal); }
.lg-goal-card.active .lg-gc-range { color: var(--teal-dk); }

/* Details form — slides in */
.lg-details {
  display: none; animation: fadeUp .25s ease;
  border-top: 1px solid var(--border-lt);
  padding-top: 1.4rem; margin-top: .5rem;
}
.lg-details.show { display: block; }

/* Account type badge on form */
.lg-acct-hint {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .8rem; border-radius: 100px;
  font-size: .72rem; font-weight: 700; margin-bottom: 1rem;
  border: 1.5px solid;
}
.lg-acct-hint.easy  { background: var(--teal-bg);  color: var(--teal);  border-color: var(--teal-border); }
.lg-acct-hint.notice{ background: var(--amber-bg); color: var(--amber); border-color: #fde68a; }
.lg-acct-hint.fixed { background: var(--red-bg);   color: var(--red);   border-color: #fecaca; }
.lg-acct-hint.invest{ background: var(--navy);     color: #ccfbf1;      border-color: #253660; }

/* ── RESULTS ── */
.lg-results { display: none; animation: fadeUp .3s ease; }
.lg-results.show { display: block; }

/* Goal boarding pass */
.lg-pass {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  border-radius: var(--r-sm); padding: 1.5rem 1.75rem;
  margin-bottom: 1.1rem; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.lg-pass::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(13,148,136,.10);
  pointer-events: none;
}
.lg-pass::after {
  content: ''; position: absolute; left: 45%; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,.06);
  border-left: 1px dashed rgba(255,255,255,.12);
}
.lg-pass-left { position: relative; flex: 1 1 0; min-width: 0; max-width: 58%; }
.lg-pass-eyebrow {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: .3rem;
}
.lg-pass-goal {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 700; color: white;
  line-height: 1.15; margin-bottom: .2rem;
}
.lg-pass-sub { font-size: .8rem; color: rgba(255,255,255,.55); }
.lg-pass-right { position: relative; text-align: right; flex: 0 0 auto; min-width: 155px; }
.lg-pass-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: #34d399;
  line-height: 1;
}
.lg-pass-freq { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: .15rem; }
.lg-pass-status {
  white-space: normal; word-break: break-word;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .7rem; border-radius: 100px;
  font-size: .72rem; font-weight: 700; margin-top: .5rem;
}
.lg-pass-status.green { background: rgba(52,211,153,.2); color: #34d399; border: 1px solid rgba(52,211,153,.3); }
.lg-pass-status.amber { background: rgba(251,191,36,.2); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.lg-pass-status.red   { background: rgba(248,113,113,.2); color: #f87171; border: 1px solid rgba(248,113,113,.3); }

/* Timeline */
.lg-timeline {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.lg-tl-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-m); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.lg-tl-label::after { content: ''; flex: 1; height: 1px; background: var(--border-lt); }
.lg-tl-track {
  position: relative; height: 6px;
  background: var(--border); border-radius: 100px;
  margin: 2rem 0 2.5rem;
}
.lg-tl-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--teal), #34d399);
  transition: width 1s cubic-bezier(.4,0,.2,1);
}
.lg-tl-dot {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%;
  border: 2.5px solid white; box-shadow: 0 0 0 2px var(--border);
  z-index: 1;
}
.lg-tl-dot.start { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }
.lg-tl-dot.now   { background: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.25); animation: pulse-dot 2s infinite; }
.lg-tl-dot.mid   { background: var(--amber); box-shadow: 0 0 0 2px rgba(217,119,6,.25); }
.lg-tl-dot.end   { background: var(--green); box-shadow: 0 0 0 3px rgba(5,150,105,.2); }
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 3px rgba(13,148,136,.25);} 50%{box-shadow:0 0 0 6px rgba(13,148,136,.1);} }
.lg-tl-dot-label {
  position: absolute; top: calc(100% + 12px); transform: translateX(-50%);
  font-size: .67rem; font-weight: 600; color: var(--text-m);
  white-space: nowrap; text-align: center; line-height: 1.35;
}
.lg-tl-dot-label strong { display: block; color: var(--text); font-size: .72rem; }

/* Boost slider */
.lg-boost {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 1.1rem 1.3rem; margin-bottom: 1rem;
}
.lg-boost-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .65rem;
}
.lg-boost-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-m); }
.lg-boost-result { font-size: .82rem; font-weight: 700; color: var(--teal); }
.lg-boost-row { display: flex; align-items: center; gap: .85rem; }
.lg-boost-val {
  min-width: 56px; text-align: center; font-size: .82rem;
  font-weight: 700; color: var(--navy);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 6px; padding: .25rem .5rem;
}

/* Account recommendation */
.lg-acct-rec {
  border-radius: var(--r-sm); padding: .85rem 1.1rem;
  margin-bottom: .85rem; display: flex; align-items: flex-start; gap: .75rem;
  border: 1.5px solid;
}
.lg-acct-rec.easy  { background: var(--teal-bg);  border-color: var(--teal-border); }
.lg-acct-rec.fixed { background: var(--red-bg);   border-color: #fecaca; }
.lg-acct-rec.invest{ background: #f5f3ff;          border-color: #ddd6fe; }
.lg-acct-rec.notice{ background: var(--amber-bg); border-color: #fde68a; }
.lg-acct-rec-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .05rem; }
.lg-acct-rec-title { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.lg-acct-rec-body  { font-size: .77rem; color: var(--text-2); line-height: 1.55; }
.lg-acct-rec-link  {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .5rem; padding: .3rem .75rem;
  border-radius: 6px; font-size: .75rem; font-weight: 700;
  cursor: pointer; border: none; transition: all .15s;
}
.easy  .lg-acct-rec-link { background: var(--teal);  color: white; }
.fixed .lg-acct-rec-link { background: var(--red);   color: white; }
.invest .lg-acct-rec-link{ background: #7c3aed;      color: white; }
.notice .lg-acct-rec-link{ background: var(--amber); color: white; }
.lg-acct-rec-link:hover { opacity: .88; transform: translateY(-1px); }
@media(max-width:580px){.hero{padding:1.25rem 1rem;}.hero h1{font-size:1.35rem;line-height:1.25;}
.hero p{font-size:.78rem;}
.hero-btns{flex-direction:column;gap:.45rem!important;}
.hero-btns button{width:100%;text-align:center;}
.footer-top{grid-template-columns:1fr;padding:2rem 1.25rem 1.5rem;}.footer-bottom-inner{flex-direction:column;text-align:center;}.footer-disclaimer-inner{padding:1.25rem;}
.chore-item { grid-template-columns: 1fr auto auto; } .cp-earnings-grid { grid-template-columns: 1fr 1fr; }
.lg-picker { grid-template-columns: repeat(3, 1fr); }
  .lg-pass { flex-direction: column; }
  .lg-pass::after { display: none; }
  .lg-pass-right { text-align: left; }}

@media(max-width:900px){.footer-top{grid-template-columns:1fr 1fr;gap:1.75rem;}.footer-brand{grid-column:1/-1;}}

/* ── MOBILE NAV ── */
.mob-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--white);cursor:pointer;flex-shrink:0;transition:border-color .15s,background .15s;}
.mob-menu-btn:hover{border-color:var(--teal);background:var(--teal-bg);}
.mob-menu-btn svg{width:20px;height:20px;stroke:var(--navy);}
.mob-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:399;backdrop-filter:blur(2px);}
.mob-overlay.open{display:block;}
@media(max-width:900px){
  .wrap{grid-template-columns:1fr;padding:1.25rem;}
  .sidebar{position:fixed;left:-290px;top:0;height:100vh;width:280px;z-index:400;overflow-y:auto;background:var(--white);box-shadow:4px 0 24px rgba(0,0,0,.18);transition:left .28s cubic-bezier(.4,0,.2,1);padding:1rem 0 2rem;}
  .sidebar.mob-open{left:0;}
  .mob-menu-btn{display:flex;}
}

/* ── HEADER SEARCH ── */
.hdr-search-wrap{position:relative;flex:1;max-width:340px;}
.hdr-search-input{
  width:100%;padding:.48rem .85rem .48rem 2.2rem;
  border:1.5px solid #e1e6ed;border-radius:8px;
  background:#f4f6f9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238896a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left .65rem center;background-size:14px 14px;
  color:#1a2744;
  font-family:'Plus Jakarta Sans',sans-serif;font-size:.87rem;font-weight:500;
  outline:none;transition:border-color .15s,box-shadow .15s;
}
.hdr-search-input:focus{border-color:#0d9488;box-shadow:0 0 0 3px rgba(13,148,136,.1);background:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238896a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left .65rem center;background-size:14px 14px;}

.hdr-search-dropdown{
  position:absolute;top:calc(100% + 6px);left:0;right:0;
  background:var(--white);border:1.5px solid var(--border);
  border-radius:var(--r-sm);box-shadow:var(--sh-md);
  z-index:500;display:none;max-height:320px;overflow-y:auto;
}
.hdr-search-dropdown.open{display:block;animation:fadeUp .15s ease;}
.hdr-search-item{
  display:flex;align-items:center;gap:.65rem;
  padding:.6rem 1rem;cursor:pointer;
  font-size:.84rem;font-weight:500;color:var(--text-2);
  border-bottom:1px solid var(--border-lt);transition:background .1s;
}
.hdr-search-item:last-child{border-bottom:none;}
.hdr-search-item:hover,.hdr-search-item.hsi-active{background:var(--teal-bg);color:var(--teal);}
.hdr-search-item-icon{font-size:.88rem;width:18px;text-align:center;flex-shrink:0;}
.hdr-search-cat{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--text-m);padding:.5rem 1rem .25rem;background:var(--bg);}
.hdr-search-empty{padding:.85rem 1rem;font-size:.82rem;color:var(--text-m);text-align:center;}
@media(max-width:640px){
  .hdr{padding:0 1rem;gap:.6rem;}
  .logo{font-size:1.15rem;}
  .hdr-search-wrap{max-width:100%;flex:1;}
  .wrap{padding:1rem;gap:1rem;}
  .panel{padding:1rem .85rem;}
  /* YP sticky pill bar — correct sticky offset on mobile */
  #p-young-pro [style*="position:sticky"]{top:56px!important;}
  .hero{padding:1.75rem 1.25rem;}
  .plan-grid{grid-template-columns:1fr!important;}
  .seg-grid{grid-template-columns:1fr!important;}
  /* YP pill bar — restore fade after scroll */
  #p-young-pro .yp-pills{-webkit-mask-image:none;mask-image:none;}
}

#site-hero{
  background:#1a2744 !important;
  background:linear-gradient(135deg,#1a2744 0%,#253660 100%) !important;
  border-radius:14px !important;
  padding:2rem 2.5rem !important;
  margin-bottom:1.75rem !important;
  position:relative !important;
  overflow:hidden !important;
  box-shadow:0 8px 32px rgba(26,39,68,.10) !important;
  color:#fff !important;
}
#site-hero h1{color:#fff !important;}
#site-hero p{color:rgba(255,255,255,.65) !important;}

/* ── BACK BAR ── */
.back-bar{
  display:none;
  align-items:center;
  gap:.75rem;
  padding:.6rem 0;
  margin-bottom:1.1rem;
  animation:fadeUp .2s ease;
}
.back-bar.show{display:flex;}
.back-btn{
  display:flex;align-items:center;gap:.45rem;
  padding:.42rem 1rem;
  border:1.5px solid var(--border);border-radius:var(--r-sm);
  background:var(--white);color:var(--text-2);
  font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:600;
  cursor:pointer;transition:all .15s;box-shadow:var(--sh-sm);
}
.back-btn:hover{border-color:var(--teal);color:var(--teal);}
.back-breadcrumb{font-size:.78rem;color:var(--text-m);}
.back-breadcrumb strong{color:var(--text-2);}
/* ── FEEDBACK STRIP ── */
.feedback-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:1rem 1.4rem;margin-bottom:1.25rem;}
.feedback-strip-left{display:flex;align-items:center;gap:.75rem;}
.feedback-strip-icon{font-size:1.3rem;}
.feedback-strip-text{font-size:.84rem;color:var(--text-2);line-height:1.5;}
.feedback-strip-text strong{color:var(--navy);}
.feedback-strip-btn{display:flex;align-items:center;gap:.45rem;padding:.48rem 1.1rem;background:var(--teal);color:white;border:none;border-radius:var(--r-sm);font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:700;cursor:pointer;text-decoration:none;transition:background .15s;white-space:nowrap;box-shadow:0 2px 8px rgba(13,148,136,.25);}
.feedback-strip-btn:hover{background:var(--teal-dk);}

/* ── LEARN HUB ── */
.lpill{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .9rem;background:var(--white);border:1.5px solid var(--border);border-radius:100px;font-family:'Plus Jakarta Sans',sans-serif;font-size:.79rem;font-weight:500;color:var(--text-2);cursor:pointer;transition:all .15s;}
.lpill:hover{border-color:var(--teal);color:var(--teal);background:var(--teal-bg);}
.lpill-active{background:var(--teal);color:#fff!important;border-color:var(--teal)!important;font-weight:600;}
.lpill-active:hover{background:var(--teal-dk);}
.lstart-btn{padding:.5rem 1rem;background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-sm);font-family:'Plus Jakarta Sans',sans-serif;font-size:.82rem;font-weight:600;color:var(--text-2);cursor:pointer;transition:all .15s;}
.lstart-btn:hover,.lstart-btn.lf-active{border-color:var(--teal);color:var(--teal);background:var(--teal-bg);}
/* ── USER-CENTRIC ARCHITECTURE ── */

/* Segment cards on homepage */
.seg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-bottom:1.6rem;}
.seg-card{position:relative;background:var(--white);border:1.5px solid var(--border);border-radius:var(--r);padding:1.5rem 1.4rem 1.2rem;cursor:pointer;transition:all .18s;text-align:left;}
.seg-card:hover{border-color:var(--teal);box-shadow:0 6px 20px rgba(13,148,136,.12);transform:translateY(-2px);}
.seg-card.seg-active{border-color:var(--teal);background:var(--teal-bg);}
.seg-card.seg-soon{opacity:.52;cursor:default;pointer-events:none;}
.seg-card.seg-soon:hover{transform:none;box-shadow:none;border-color:var(--border);}
.seg-card-icon{font-size:1.8rem;margin-bottom:.6rem;display:flex;align-items:center;width:34px;height:34px;color:var(--navy);}
.seg-card-icon svg{stroke:currentColor;fill:none;}
.seg-card.seg-active .seg-card-icon svg{stroke:var(--teal);}
.seg-card-name{font-size:.97rem;font-weight:700;color:var(--navy);margin-bottom:.3rem;}
.seg-card-desc{font-size:.78rem;color:var(--text-2);line-height:1.55;margin-bottom:.6rem;}
.seg-card-flow{display:inline-flex;align-items:center;gap:.3rem;font-size:.68rem;font-weight:700;color:var(--teal);text-transform:uppercase;letter-spacing:.06em;}
.seg-card-flow span{opacity:.4;}
.seg-soon-badge{display:inline-block;margin-top:.5rem;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.18rem .55rem;background:var(--bg);border:1px solid var(--border);border-radius:100px;color:var(--text-m);}

/* Journey steps (in the young-pro panel) */
.journey-header{display:flex;align-items:center;gap:0;margin-bottom:2rem;background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;}
.journey-step{flex:1;padding:.85rem 1rem;text-align:center;border-right:1px solid var(--border);cursor:pointer;transition:all .15s;}
.journey-step:last-child{border-right:none;}
.journey-step.js-active{background:var(--teal);color:#fff;}
.journey-step.js-done{background:var(--teal-bg);color:var(--teal);}
.seg-flow-link{cursor:pointer;font-weight:700;transition:color .15s;}
.seg-flow-link:hover{color:var(--teal);text-decoration:underline;}
.seg-card-active .seg-flow-link:hover,.seg-active .seg-flow-link:hover{color:#fff;text-decoration:underline;}
.js-num{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.65;margin-bottom:.2rem;}
.js-label{font-size:.88rem;font-weight:700;}
.js-icon{font-size:1rem;}

/* Plan calculator cards */
.plan-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.85rem;margin-bottom:1.5rem;}
.plan-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-sm);padding:1.1rem 1.2rem;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;}
.plan-card:hover{border-color:var(--teal);box-shadow:0 4px 16px rgba(13,148,136,.1);transform:translateY(-2px);}
.plan-card-icon{font-size:1.5rem;margin-bottom:.5rem;display:flex;align-items:center;width:30px;height:30px;color:var(--teal);}
.plan-card-icon svg{stroke:currentColor;fill:none;}
.plan-card-name{font-size:.88rem;font-weight:700;color:var(--navy);margin-bottom:.25rem;}
.plan-card-desc{font-size:.75rem;color:var(--text-2);line-height:1.5;flex:1;}
.plan-card-cta{margin-top:.7rem;font-size:.73rem;font-weight:700;color:var(--teal);}

/* Sidebar segment pills */
.sb-seg-pill{display:flex;align-items:center;gap:.75rem;padding:.65rem .9rem;border-radius:0;cursor:pointer;transition:all .15s;border:none;border-bottom:1px solid var(--border-lt);margin-bottom:0;}
.sb-seg-pill:last-child{border-bottom:none;margin-bottom:0;}
.sb-seg-pill-icon{font-size:1.25rem;flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;color:var(--text-m);}
.sb-seg-pill-icon svg{stroke:currentColor;fill:none;}
.sb-seg-active .sb-seg-pill-icon svg{stroke:var(--teal);}
.sb-seg-pill-text{font-size:.875rem;font-weight:600;color:var(--text-2);line-height:1.2;}
.sb-seg-pill-sub{font-size:.72rem;color:var(--text-m);font-weight:400;margin-top:.1rem;}
.sb-seg-active{background:var(--teal-bg);}
.sb-seg-active .sb-seg-pill-text{color:var(--teal);}
.sb-seg-pill:not(.sb-seg-active):hover{background:var(--bg);}
.sb-seg-soon-pill{opacity:.5;cursor:default;pointer-events:none;}
.sb-seg-soon-badge{font-size:.6rem;font-weight:700;padding:.1rem .4rem;background:var(--bg);border:1px solid var(--border);border-radius:100px;color:var(--text-m);margin-left:.3rem;flex-shrink:0;}

/* Section anchor links inside young-pro panel */
.section-anchor{display:block;scroll-margin-top:72px;}


/* ── Budget guide / article sections ── */
.guide-wrap{max-width:780px;margin:1.6rem 0 0;}
.guide-intro{font-size:1.05rem;line-height:1.8;color:var(--text-2);margin-bottom:1.5rem;font-style:italic;border-left:3px solid var(--teal);padding-left:1.1rem;}
.guide-section{margin-bottom:2rem;}
.guide-h2{font-size:1.1rem;font-weight:700;color:var(--navy);margin:0 0 .75rem;padding-bottom:.4rem;border-bottom:1px solid var(--border);}
.guide-p{font-size:.88rem;line-height:1.8;color:var(--text-2);margin-bottom:.85rem;}
.guide-ul{margin:.3rem 0 .85rem 1.25rem;font-size:.88rem;color:var(--text-2);line-height:1.8;}
.guide-ul li{margin-bottom:.3rem;}
.guide-callout{background:var(--teal-bg);border:1px solid var(--teal-border);border-radius:var(--r-sm);padding:1rem 1.2rem;margin:1rem 0;font-size:.86rem;line-height:1.7;color:var(--navy);}
.guide-callout strong{color:var(--teal);}
.guide-warn{background:#fffbeb;border:1px solid #fde68a;border-radius:var(--r-sm);padding:.9rem 1.1rem;margin:1rem 0;font-size:.86rem;line-height:1.7;color:#92400e;}
.guide-stat{display:flex;gap:1.5rem;flex-wrap:wrap;margin:1rem 0;}
.guide-stat-item{background:var(--bg-2);border-radius:var(--r-sm);padding:.75rem 1rem;flex:1;min-width:120px;text-align:center;}
.guide-stat-item .gsn{font-size:1.4rem;font-weight:800;color:var(--teal);}
.guide-stat-item .gsl{font-size:.75rem;color:var(--text-m);margin-top:.2rem;}
.framework-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;margin:.75rem 0;}
.framework-card{border:1px solid var(--border);border-radius:var(--r-sm);padding:.85rem;background:var(--bg-2);}
.framework-card .fc-split{font-size:1.2rem;font-weight:800;color:var(--navy);margin-bottom:.3rem;}
.framework-card .fc-name{font-size:.8rem;font-weight:700;color:var(--teal);margin-bottom:.2rem;}
.framework-card .fc-desc{font-size:.75rem;color:var(--text-m);line-height:1.5;}
.faq-item{border-bottom:1px solid var(--border);padding:.9rem 0;}
.faq-item:last-child{border-bottom:none;}
.faq-q{font-size:.88rem;font-weight:700;color:var(--navy);margin-bottom:.4rem;}
.faq-a{font-size:.85rem;color:var(--text-2);line-height:1.7;}
.guide-final{background:var(--navy);color:#fff;border-radius:var(--r);padding:1.4rem 1.6rem;margin-top:1.5rem;}
.guide-final p{font-size:.9rem;line-height:1.8;margin:.4rem 0;color:#c8d8e8;}
.guide-final strong{color:#5eead4;}
.bp-insight{background:var(--bg-2);border:1px solid var(--border);border-radius:var(--r-sm);padding:1rem 1.2rem;margin:.85rem 0;font-size:.83rem;line-height:1.7;color:var(--text-2);}
.bp-insight .bi-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--teal);margin-bottom:.3rem;}

/* ── Overpayment calculator enhancements ── */
.op-mode-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem;flex-wrap:wrap;}
.op-tab{flex:1;min-width:120px;padding:.6rem .8rem;border:2px solid var(--border);border-radius:var(--r-sm);background:var(--bg-2);cursor:pointer;font-size:.82rem;font-weight:600;color:var(--text-m);text-align:center;transition:all .15s;font-family:inherit;}
.op-tab.active{border-color:var(--teal);background:var(--teal-bg);color:var(--teal);}
.op-tab:hover:not(.active){border-color:var(--teal);color:var(--navy);}
.op-mode-panel{display:none;}.op-mode-panel.active{display:block;}
.op-scenario-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.75rem;margin:1rem 0;}
@media(max-width:600px){.op-scenario-grid{grid-template-columns:1fr;}}
.op-scenario{border:2px solid var(--border);border-radius:var(--r-sm);padding:.9rem 1rem;background:var(--bg-2);text-align:center;}
.op-scenario.best{border-color:var(--teal);background:var(--teal-bg);}
.op-sc-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-m);margin-bottom:.5rem;}
.op-scenario.best .op-sc-label{color:var(--teal);}
.op-sc-main{font-size:1.4rem;font-weight:800;color:var(--navy);line-height:1.1;}
.op-sc-sub{font-size:.75rem;color:var(--text-m);margin-top:.3rem;}
.op-sc-badge{display:inline-block;font-size:.65rem;font-weight:700;background:var(--teal);color:#fff;border-radius:100px;padding:.15rem .55rem;margin-top:.4rem;}
.op-amort-wrap{margin-top:1rem;overflow-x:auto;}
.op-amort-table{width:100%;border-collapse:collapse;font-size:.78rem;}
.op-amort-table th{padding:.45rem .6rem;text-align:right;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-m);background:var(--bg-2);border-bottom:2px solid var(--border);}
.op-amort-table th:first-child{text-align:left;}
.op-amort-table td{padding:.4rem .6rem;text-align:right;border-bottom:1px solid var(--border-lt);color:var(--text-2);font-variant-numeric:tabular-nums;}
.op-amort-table td:first-child{text-align:left;font-weight:600;color:var(--navy);}
.op-amort-table tr.op-yr-highlight td{background:rgba(13,148,136,.06);color:var(--teal);font-weight:700;}
.op-amort-table tfoot td{font-weight:700;color:var(--navy);border-top:2px solid var(--border);background:var(--bg-2);}
.op-insight-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:.85rem 0;}
@media(max-width:500px){.op-insight-row{grid-template-columns:1fr;}}
.op-insight-card{border:1px solid var(--border);border-radius:var(--r-sm);padding:.85rem 1rem;background:var(--bg-2);}
.op-ic-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-m);margin-bottom:.35rem;}
.op-ic-val{font-size:1.1rem;font-weight:800;color:var(--navy);}
.op-ic-sub{font-size:.75rem;color:var(--text-m);margin-top:.2rem;line-height:1.4;}
.op-compare-bar{margin:.5rem 0;}
.op-cb-label{font-size:.75rem;color:var(--text-2);margin-bottom:.2rem;display:flex;justify-content:space-between;}
.op-cb-track{height:10px;background:var(--border);border-radius:100px;overflow:hidden;}
.op-cb-fill{height:100%;border-radius:100px;transition:width .4s;}

.rates-stamp{display:inline-flex;align-items:center;gap:.3rem;font-size:.71rem;color:var(--text-m);background:var(--bg);border:1px solid var(--border);border-radius:100px;padding:.18rem .6rem;margin-bottom:.85rem;}
.rates-stamp::before{content:'<bs-icon name=check></bs-icon>';color:#15803d;font-weight:700;}

.btn-share{display:inline-flex;align-items:center;gap:.4rem;background:var(--teal);color:#fff;border:none;border-radius:var(--r-sm);padding:.42rem .9rem;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .15s;font-family:inherit;}
.btn-share:hover{background:var(--teal-dk);}
.btn-share.copied{background:#15803d;}

/* ── Mobile bottom nav ── */
.mob-nav{display:none;position:fixed;bottom:0;left:0;right:0;z-index:500;background:#fff;border-top:1px solid var(--border);box-shadow:0 -2px 12px rgba(0,0,0,.08);padding:0 0 env(safe-area-inset-bottom);}
.mob-nav-inner{display:grid;grid-template-columns:repeat(4,1fr);}
.mob-nav-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.55rem .25rem .45rem;gap:.18rem;border:none;background:none;cursor:pointer;font-family:inherit;color:var(--text-m);font-size:.6rem;font-weight:600;letter-spacing:.02em;transition:color .15s;-webkit-tap-highlight-color:transparent;}
.mob-nav-btn:active{background:var(--bg);}
.mob-nav-btn.active{color:var(--teal);}
.mob-nav-btn svg{width:22px;height:22px;stroke:currentColor;fill:none;flex-shrink:0;}
.mob-nav-btn svg *{stroke:inherit;}
.mob-sheet-btn{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-sm);padding:.6rem .7rem;font-size:.76rem;font-weight:600;color:var(--text-2);cursor:pointer;font-family:inherit;text-align:left;transition:border-color .15s,background .15s;line-height:1.35;}
.mob-sheet-btn:active{background:var(--teal-bg);border-color:var(--teal);color:var(--teal);}
@media(max-width:640px){
  .mob-nav{display:block;}
  body{padding-bottom:64px;}
  .app-shell{padding-bottom:0;}
}

/* ── Cookie Consent Banner ── */
#bs-cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:#1a2744;border-top:2px solid rgba(13,148,136,.4);padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-family:'Plus Jakarta Sans',sans-serif;box-shadow:0 -4px 24px rgba(0,0,0,.25);}
#bs-cookie-banner.hidden{display:none;}
.bscb-text{font-size:.82rem;color:rgba(255,255,255,.8);line-height:1.55;flex:1;min-width:200px;}
.bscb-text a{color:#2dd4bf;text-decoration:underline;}
.bscb-text strong{color:#fff;}
.bscb-btns{display:flex;gap:.6rem;flex-shrink:0;flex-wrap:wrap;}
.bscb-accept{background:#0d9488;color:#fff;border:none;border-radius:6px;padding:.55rem 1.25rem;font-size:.83rem;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s;white-space:nowrap;}
.bscb-accept:hover{background:#0f766e;}
.bscb-decline{background:transparent;color:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:.55rem 1.1rem;font-size:.83rem;font-weight:600;cursor:pointer;font-family:inherit;transition:all .15s;white-space:nowrap;}
.bscb-decline:hover{color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.4);}
@media(max-width:560px){#bs-cookie-banner{flex-direction:column;align-items:flex-start;}.bscb-btns{width:100%;}.bscb-accept,.bscb-decline{flex:1;text-align:center;}}
/* ── Ticker ── */
      @keyframes bs-ticker {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
      }
      .bs-ticker-track {
        display: flex;
        align-items: center;
        gap: 1rem;
        width: max-content;
        animation: bs-ticker 80s linear infinite;
      }
      .bs-ticker-track:hover,
      .bs-ticker-wrap:focus-within .bs-ticker-track,
      #home-ticker.bs-ticker-paused .bs-ticker-track { animation-play-state: paused; }
      .bs-ticker-wrap {
        flex: 1; min-width: 0;
        overflow: hidden;
        height: 2.2rem;
        display: flex;
        align-items: center;
        mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
      }
      .bs-pill {
        display: flex; align-items: center; gap: .45rem;
        white-space: nowrap; flex-shrink: 0;
        border-radius: 100px; padding: .38rem .9rem;
        cursor: pointer; transition: opacity .15s;
        font-size: .79rem; font-weight: 600;
      }
      .bs-pill:hover { opacity: .8; }
      button.bs-pill { font-family: inherit; line-height: inherit; appearance: none; -webkit-appearance: none; margin: 0; }
      .bs-pill:focus-visible, .bs-ticker-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
      .bs-ticker-toggle {
        flex-shrink: 0; background: #fff; color: var(--text-m); border: 1.5px solid var(--border);
        border-radius: 100px; padding: .3rem .8rem; font-family: inherit; font-size: .75rem; font-weight: 600; cursor: pointer;
      }
      .bs-ticker-toggle:hover { border-color: var(--teal); color: var(--teal-dk); }
      /* Real links that build.py swaps in for click-handler navigation elements (see linkify): look identical to the originals */
      :where(a[data-golink]) { color: inherit; text-decoration: none; cursor: pointer; }
      :where(a[data-golink="div"]) { display: block; }
      :where(a[data-golink="inline"]) { color: inherit; font: inherit; text-decoration: inherit; }
      :where(a[data-golink="button"]) { display: inline-block; box-sizing: border-box; text-align: center; font-size: 13.3333px; line-height: normal; color: buttontext; }
      a[data-golink]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
      a.latest-card { display: block; text-decoration: none; color: inherit; }
      /* Rate snapshot cards inside guides (filled by renderRateSnapshots from products.json) */
      .rate-snap { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-sm); padding: 1rem 1.15rem; font-size: .84rem; color: var(--text-2); }
      .rate-snap-hdr { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-m); margin-bottom: .2rem; }
      .rs-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--border); }
      .rate-snap-hdr + .rs-row { border-top: none; }
      .rs-name { font-weight: 700; color: var(--navy); line-height: 1.4; }
      .rs-tag { font-size: .72rem; color: var(--text-m); margin-top: .1rem; }
      .rs-note { font-size: .76rem; line-height: 1.55; color: var(--text-2); margin-top: .3rem; }
      .rs-rate { font-weight: 800; font-size: 1.25rem; color: var(--teal); white-space: nowrap; text-align: right; line-height: 1.1; }
      .rs-rate small { display: block; font-size: .65rem; font-weight: 600; color: var(--text-m); margin-top: .15rem; }
      .rate-snap-foot { font-size: .72rem; color: var(--text-m); line-height: 1.6; border-top: 1px solid var(--border); padding-top: .65rem; margin-top: .15rem; }
      .rate-snap-foot a { color: var(--teal); font-weight: 700; text-decoration: none; }
      a.latest-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
      a.latest-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
      @media (prefers-reduced-motion: reduce) {
        .bs-ticker-track { animation: none; }
        .bs-ticker-dup, .bs-ticker-toggle { display: none; }
        .bs-ticker-wrap { overflow-x: auto; height: auto; padding: .25rem 0; mask-image: none; -webkit-mask-image: none; }
      }
      .bs-pill-red  { background:#fff5f5; border: 1.5px solid #fca5a5; color: #991b1b; }
      .bs-pill-teal { background: var(--teal-bg); border: 1.5px solid var(--teal-border); color: var(--teal-dk); }
      .bs-badge {
        font-size: .6rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: .05em; padding: .15rem .45rem; border-radius: 100px;
      }
      .bs-badge-red  { background: #fef2f2; color: #dc2626; }
      .bs-badge-teal { background: var(--teal-bg); color: var(--teal); }


/* ── BRITSAVVY CONSISTENT ICON SYSTEM ─────────────────────── */
bs-icon{display:inline-flex;width:1em;height:1em;align-items:center;justify-content:center;vertical-align:-.125em;line-height:1;color:currentColor;flex:0 0 auto}
bs-icon svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
bs-icon.status-green{color:#16a34a}bs-icon.status-yellow{color:#ca8a04}bs-icon.status-amber{color:#ea580c}bs-icon.status-red{color:#dc2626}
.sb-icon bs-icon,.ti bs-icon,.ba-icon bs-icon,.nc-icon bs-icon,.ii bs-icon{width:1em;height:1em}
.bi-label bs-icon,.cs-title bs-icon,.chart-lbl bs-icon{margin-right:.3rem}
.btn-action bs-icon,.btn-share bs-icon,.next-chip bs-icon{margin-right:.25rem}

/* ── MONEY PROFILE (bar on the salary calculators, editor dialog) ── */
.bsp-bar,.bsp-save{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem .75rem;background:var(--teal-bg);border:1px solid rgba(13,148,136,.25);border-radius:var(--r-sm);padding:.6rem .85rem;font-size:.8rem;line-height:1.5;color:var(--text-2);}
.bsp-bar{margin-bottom:1rem;}
.bsp-save{margin-top:1.1rem;}
.bsp-txt{flex:1 1 240px;min-width:0;}
.bsp-txt strong{color:var(--navy);}
.bsp-btn{background:var(--teal);color:#fff;border:none;border-radius:6px;padding:.4rem .9rem;font-family:inherit;font-size:.78rem;font-weight:700;cursor:pointer;white-space:nowrap;}
.bsp-btn:hover{background:var(--teal-dk);}
.bsp-link{background:none;border:none;padding:.4rem .2rem;font-family:inherit;font-size:.78rem;font-weight:600;color:var(--teal);cursor:pointer;text-decoration:underline;white-space:nowrap;}
.bsp-modal{position:fixed;inset:0;z-index:10000;background:rgba(26,39,68,.55);display:none;align-items:center;justify-content:center;padding:1rem;}
.bsp-modal.open{display:flex;}
.bsp-box{background:var(--white);border-radius:14px;max-width:440px;width:100%;max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.4rem 1.5rem;box-shadow:0 20px 50px rgba(26,39,68,.3);box-sizing:border-box;}
.bsp-box h2{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:700;color:var(--navy);margin:0 0 .4rem;}
.bsp-box p{font-size:.8rem;color:var(--text-2);line-height:1.6;margin:0 0 1rem;}
.bsp-sec{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--teal);margin:.4rem 0 .6rem;padding-top:.6rem;border-top:1px solid var(--border);}
.bsp-f{margin-bottom:.8rem;min-width:0;}
.bsp-f label{display:block;font-size:.76rem;font-weight:600;color:var(--navy);margin-bottom:.3rem;}
.bsp-f input,.bsp-f select{width:100%;box-sizing:border-box;padding:.55rem .7rem;border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:.88rem;background:var(--white);color:var(--navy);}
.bsp-row{display:grid;grid-template-columns:1fr 1fr;gap:0 .75rem;}
.bsp-err{display:none;color:#b91c1c;font-size:.78rem;margin:0 0 .75rem;}
.bsp-acts{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:.5rem;}
.bsp-acts .bsp-btn{padding:.6rem 1.2rem;font-size:.85rem;}
.bsp-del{margin-left:auto;color:#b91c1c;}
@media(max-width:480px){.bsp-row{grid-template-columns:1fr;}}

