:root{--navy:#112a51;--dark:#0d2344;--blue:#1a3a6b;--ink:#162c4b;--muted:#6b7b90;--yellow:#f3c95d;--paper:#f7f8f9;--line:#e4eaf1;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}h1,h2,h3,h4{overflow-wrap:anywhere}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dfb147;outline-offset:3px}a:hover{text-decoration:none}.container{max-width:1176px;margin:auto;padding:0 28px}.header{height:84px;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:4}.header-inner{height:100%;display:flex;align-items:center;flex-wrap:wrap;gap:38px}.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:43px;height:43px;border-radius:12px;background:var(--navy);color:white;font-size:29px;font-weight:800;display:grid;place-items:center;line-height:1;letter-spacing:-2px}.brand-mark span{color:var(--yellow)}.brand-type{display:flex;flex-direction:column;line-height:1}.brand-type b{font-weight:850;font-size:18px;letter-spacing:2px}.brand-type small{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#6d7c90;margin-top:5px}.header-nav{display:flex;margin:auto;gap:38px;color:#4c5a6f;font-size:13px;font-weight:640}.header-nav a:hover{color:var(--blue)}.header-cta{border:1px solid #dce4ed;padding:12px 16px;border-radius:8px;font-size:12px;font-weight:780;color:var(--navy)}.header-cta:hover{background:#f2f6fa}.hero{background:var(--navy);color:#fff;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:900px;height:900px;border:1px solid #ffffff0d;border-radius:50%;left:-540px;top:-450px}.hero:after{content:"";position:absolute;width:680px;height:680px;border:1px solid #ffffff10;border-radius:50%;right:-400px;bottom:-420px}.hero-grid{min-height:548px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:20px}.hero-content{position:relative;z-index:1;padding:74px 0 64px}.hero-kicker,.eyebrow{letter-spacing:1.65px;font-size:11px;font-weight:780;color:#64809d}.hero-kicker{color:#f4d88c;display:flex;align-items:center;gap:12px}.hero-kicker i{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 5px #f3c95d25}.hero h1{font-size:clamp(44px,5.05vw,72px);letter-spacing:-3.7px;line-height:1.095;margin:27px 0 21px;font-weight:790}.hero h1 em,.promise h2 em{font-style:normal;color:var(--yellow)}.hero-content>p{font-size:16px;line-height:1.83;color:#c8d5e5;max-width:490px;margin:0}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{border:0;display:inline-flex;gap:17px;align-items:center;justify-content:center;padding:15px 20px;border-radius:9px;font-size:13px;font-weight:750;min-height:48px;transition:transform .2s,background .2s}.button:hover:not(:disabled){transform:translateY(-2px)}.button:disabled{cursor:wait;opacity:.65}.button.yellow{background:var(--yellow);color:#142c4d}.button.yellow:hover{background:#ffe08a}.button.outline{border:1px solid #6885a3;background:#ffffff05;color:#f1f5fb}.hero-facts{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:60px;color:#9fb1c7;font-size:12px}.hero-facts b{font-weight:850;color:white;font-size:17px;padding-right:5px}.hero-facts .pipe{width:1px;height:19px;background:#59718e}.hero-art{width:100%;height:485px;position:relative;display:grid;place-items:center}.hero-graphic-frame{position:absolute;inset:37px 0 25px 15px;border:1px solid #ffffff18;border-radius:50%;transform:rotate(-18deg)}.hero-graphic-frame:after{position:absolute;inset:25px;border:1px dashed #ffffff1e;border-radius:50%;content:""}.hero-wheel{width:min(350px,82%);aspect-ratio:1;border-radius:50%;background:conic-gradient(#e4ae48 0 25%,#f7d985 25% 50%,#93c0d4 50% 75%,#86aebc 75% 100%);border:9px solid #f2f1e7;box-shadow:0 24px 65px #0005,0 0 0 14px #ffffff0a;display:grid;place-items:center;transform:rotate(-17deg)}.hero-wheel:before{position:absolute;content:"";width:2px;height:100%;background:#ffffffaa;transform:rotate(45deg)}.hero-wheel:after{position:absolute;content:"";height:2px;width:100%;background:#ffffffaa;transform:rotate(45deg)}.hero-wheel>div{z-index:1;background:#10274d;color:white;width:132px;aspect-ratio:1;border-radius:50%;border:9px solid #fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 2px 12px #19334b66;transform:rotate(17deg)}.hero-wheel small{letter-spacing:3px;font-size:12px}.hero-wheel strong{font-size:31px;letter-spacing:-1.5px}.hero-pointer{position:absolute;z-index:2;font-size:35px;color:#fff;top:56px;left:50%;transform:translateX(-50%);text-shadow:0 5px 7px #10274d88}.graphic-top,.graphic-bottom{position:absolute;font-size:11px;letter-spacing:2px;font-weight:760;color:#a9c1d8}.graphic-top{top:30px;right:32px}.graphic-bottom{bottom:22px;left:28px}.graphic-top span,.graphic-bottom span{color:var(--yellow);padding-left:15px}.tools-section{padding:91px 0 102px;background:var(--paper);scroll-margin-top:10px}.section-top{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin-bottom:35px;gap:14px}.section-top h2,.promise h2,.related h2{font-size:clamp(30px,3.15vw,43px);font-weight:770;letter-spacing:-1.6px;margin:15px 0 10px;line-height:1.17}.section-top p{color:var(--muted);font-size:14px;margin:0}.count{color:#9ca8b9;letter-spacing:1.2px;font-size:10px;font-weight:770}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tool-card{display:flex;min-width:0;flex-direction:column;min-height:279px;border:1px solid #e5eaf0;border-radius:14px;background:#fff;padding:26px 27px;transition:transform .2s,box-shadow .2s,border-color .2s}.tool-card:hover{transform:translateY(-5px);border-color:#d6e1ec;box-shadow:0 19px 33px #15305e14}.card-head{display:flex;justify-content:space-between;align-items:flex-start}.tool-icon{width:53px;height:53px;display:grid;place-items:center;font-weight:650;font-size:27px;background:#e7eff7;border-radius:12px;color:#25486e}.card-1 .tool-icon{background:#fff3d7;color:#a77922}.card-2 .tool-icon{background:#f4eaf4;color:#85618c}.card-arrow{font-size:19px;color:#a5b0bf}.card-tag{font-size:10px;letter-spacing:1.7px;font-weight:790;text-transform:uppercase;color:#91a0af;margin-top:22px}.tool-card h3{margin:8px 0 6px;font-size:20px;letter-spacing:-.5px;line-height:1.25}.tool-card p{font-size:13px;color:#6d7b8d;line-height:1.7;margin:0 0 19px}.card-foot{margin-top:auto;font-size:12px;color:var(--blue);font-weight:790}.card-foot span{margin-left:8px}.promise{background:#eaf0f5;padding:75px 0 80px}.promise-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.promise h2{font-size:39px}.promise h2 em{color:#b8892d}.promise-items{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.promise-items span{font-size:25px;color:#a68032}.promise-items h3{font-size:14px;margin:16px 0 6px}.promise-items p{color:#6a7e90;line-height:1.6;font-size:12px;margin:0}.footer{background:#0b213e;color:#fff;padding:61px 0 26px}.footer .brand-mark{background:#f0c65e;color:#152b4a}.footer .brand-mark span{color:#fff}.footer .brand-type small{color:#a5b5c9}.footer-grid{display:flex;justify-content:space-between;gap:40px}.footer-grid p{font-size:13px;color:#a3b4ca;line-height:1.8;margin-top:21px}.footer-links{display:flex;flex-wrap:wrap;gap:100px}.footer-links div{display:flex;flex-direction:column;gap:15px;min-width:100px}.footer-links b{font-size:12px;color:#f3cf70;margin-bottom:6px}.footer-links a{font-size:12px;color:#bbcad9}.footer-links a:hover{color:white}.copyright{margin-top:67px;border-top:1px solid #ffffff21;padding-top:21px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px;font-size:11px;color:#91a5be}
/* Tool pages */
.tool-masthead{background:#f6f8fb;padding:35px 0 52px;border-bottom:1px solid var(--line)}.breadcrumbs{display:flex;flex-wrap:wrap;gap:13px;color:#889aab;font-size:12px;margin-bottom:41px}.breadcrumbs a{color:var(--blue)}.masthead-grid{display:flex;align-items:center;justify-content:space-between;gap:30px}.tool-masthead h1,.static-head h1{font-size:clamp(36px,4vw,54px);line-height:1.09;letter-spacing:-2px;margin:16px 0 17px}.tool-masthead p{color:#65768c;margin:0;line-height:1.65;font-size:16px;max-width:570px}.stamp{width:160px;height:118px;transform:rotate(6deg);border:3px double #b8c8d8;border-radius:12px;color:#6a859d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:790;letter-spacing:1.1px;flex-shrink:0}.stamp b{font-size:15px;color:var(--navy);margin-top:5px}.workspace-section{background:#fff;padding:53px 0 75px}.workbench{border:1px solid #dfe6ee;box-shadow:0 18px 42px #1737580d;display:grid;grid-template-columns:.95fr 1.05fr;min-height:505px;border-radius:17px;overflow:hidden}.control-pane{padding:42px 42px 42px 44px;background:#fff;min-width:0}.display-pane{padding:25px 33px 33px;min-width:0;background:#f0f5f9;border-left:1px solid #e0e8f0;display:flex;flex-direction:column}.pane-kicker,.display-header,.result-caption{font-size:10px;letter-spacing:1.6px;font-weight:830;color:#7a8eaa}.control-pane h2{font-size:29px;letter-spacing:-1.2px;margin:14px 0 8px}.pane-desc{font-size:14px;line-height:1.7;color:#708096;max-width:400px;margin:0 0 27px}.info-box{border:1px solid #dfeaf3;border-radius:11px;background:#f6faff;display:flex;align-items:center;gap:13px;padding:16px 17px;margin-bottom:24px}.info-box span{font-size:25px;color:#b68725}.info-box p{font-size:13px;color:#6d7d90;margin:0;line-height:1.58}.workbench .button.primary{color:#fff;background:var(--blue);width:100%;margin-top:16px}.workbench .button.primary:hover{background:#244f85}.control-note{color:#96a6b4;font-size:11px;text-align:center;margin:13px 0 0}.display-header{display:flex;justify-content:space-between;gap:20px;color:#7d8da1;border-bottom:1px solid #dbe5ed;padding:1px 0 17px}.display-header span:last-child{color:#a3b3c4}.wheel-stage{height:340px;position:relative;display:grid;place-items:center}.wheel-plate{width:306px;height:306px;max-width:92%;aspect-ratio:1;transform:rotate(0deg);border-radius:50%;box-shadow:0 11px 19px #15315d2b,0 0 0 7px #fff;border:5px solid #15315d;will-change:transform}.wheel-plate canvas{width:100%;height:100%;display:block;border-radius:50%}.wheel-pointer{position:absolute;z-index:2;top:6px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:17px solid transparent;border-right:17px solid transparent;border-top:31px solid #10294b;filter:drop-shadow(0 3px 1px #17325544)}.selection-hint{font-size:10px;letter-spacing:1px;text-align:center;color:#8295a8;padding:0 0 16px}.result-panel{border-top:1px solid #d7e3ec;padding:17px 0 0;text-align:center;margin-top:auto;min-height:95px}.result-caption{display:block;margin-bottom:7px}.result-text{color:#10294b;font-weight:850;letter-spacing:-.8px;font-size:26px;line-height:1.28;overflow-wrap:anywhere}.result-detail{font-size:12px;color:#73889d;margin-top:7px}.error-message{color:#a52b35;background:#fff0ee;border:1px solid #f1cecc;padding:12px;border-radius:8px;font-size:12px;margin:15px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{margin-bottom:15px}.field-label{font-size:12px;font-weight:740;color:#4c6380;display:block;margin-bottom:9px}input[type=number],textarea,select{width:100%;border:1px solid #ced9e4;background:#fff;border-radius:8px;padding:12px 14px;color:#233e61;outline:none}input[type=number]:focus,textarea:focus,select:focus{border-color:#7498bf;box-shadow:0 0 0 3px #2b598c16}textarea{resize:vertical;min-height:130px;line-height:1.58;font-size:13px}.input-hint{display:block;margin:8px 0 19px;color:#96a6b7;font-size:11px}.check-line{display:flex;align-items:center;gap:10px;font-size:13px;color:#52647b;margin:10px 0 7px}.check-line input{accent-color:var(--blue);width:17px;height:17px}.secondary-button{background:#e8eff7;border:1px solid #d3e1f0;color:#274970;border-radius:8px;font-size:12px;font-weight:740;padding:11px 15px;margin:0 0 4px}.secondary-button:hover{background:#deeaf5}.coin-stage{display:grid;place-items:center;flex:1;min-height:265px}.coin{width:202px;height:202px;border:11px solid #c89c37;box-shadow:inset 0 0 0 4px #faeeb8,0 15px 33px #a3752244;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c6,#f3c95f 50%,#d9a847);display:flex;flex-direction:column;justify-content:center;align-items:center;color:#80591e;transition:transform .5s}.coin>span{font-size:77px;line-height:1;font-weight:820;text-shadow:0 2px 1px #ffefb2}.coin small{letter-spacing:4px;font-size:10px;font-weight:800}.coin.flipping{animation:coinflip .7s cubic-bezier(.3,.5,.4,1)}@keyframes coinflip{0%{transform:rotateY(0)}100%{transform:rotateY(1080deg)}}.dice-faces{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;align-content:center;flex:1;padding:24px 0;min-height:280px}.die{width:83px;height:83px;background:#fff;border:2px solid #dfebf4;border-radius:14px;box-shadow:0 7px 15px #16345318;display:grid;place-items:center;font-size:35px;font-weight:820;color:#274d80}.die.placeholder{color:#afbbca;background:#f9fcff}.numbers-stage{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;align-content:center;gap:13px;flex:1;min-height:250px;padding:22px 0}.number-placeholder{font-size:130px;font-weight:730;color:#c4d5e4}.number-chip{display:inline-flex;justify-content:center;align-items:center;min-width:100px;max-width:100%;word-break:break-word;min-height:77px;padding:8px 17px;background:#fff;border:2px solid #dfe9f3;border-radius:12px;color:#173b6a;font-size:28px;font-weight:790;box-shadow:0 9px 14px #12335711}.teams-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;flex:1;padding:20px 0;max-height:380px;overflow:auto}.blank-state{grid-column:1/-1;align-self:center;text-align:center;color:#8da0b2;padding:100px 10px;font-size:14px;line-height:1.7}.team{background:white;border:1px solid #dce7f0;border-radius:12px;padding:15px;min-width:0}.team h3{display:flex;justify-content:space-between;gap:6px;margin:0 0 12px;font-size:14px;align-items:center}.team-count{color:#8b9bad;font-size:10px;font-weight:600}.team ol{margin:0;padding:0 0 0 19px;color:#5c7085;font-size:12px;line-height:2;overflow-wrap:anywhere}.beneath{display:grid;grid-template-columns:1fr 1fr;gap:75px;padding:58px 7px 0}.howto h2{font-size:27px;letter-spacing:-1px;margin:12px 0 19px}.howto ol{padding-left:20px;line-height:2.3;font-size:13px;color:#5c7184}.howto li{padding-left:7px}.reassurance{display:flex;gap:17px;align-items:flex-start;background:#f3f7f9;border-radius:12px;padding:25px 25px;align-self:start}.reassure-symbol{font-size:30px;color:#8ba7bd}.reassurance h3{font-size:15px;margin:0 0 7px}.reassurance p{font-size:12px;line-height:1.8;margin:0;color:#77899a}.related{padding:66px 0 80px;background:#f6f8fa}.related .tool-card{min-height:270px}.related .section-top h2{font-size:33px}.text-link{font-size:13px;color:#1c4e80;font-weight:730}.text-link:hover{text-decoration:underline}.static-head{padding:88px 0 65px;background:#f3f7fa}.narrow{max-width:820px}.static-head p{font-size:16px;line-height:1.75;color:#647991}.static-copy{padding:60px 0 95px}.static-copy h2{font-size:23px;letter-spacing:-.7px;margin:33px 0 12px}.static-copy p{font-size:15px;line-height:1.9;color:#5a6d82}.static-copy a:not(.text-link){color:#1b5c90;text-decoration:underline}
@media(max-width:1020px){.container{padding:0 25px}.header-nav{gap:19px}.hero-grid{grid-template-columns:1fr .83fr}.hero h1{font-size:54px}.hero-art{height:370px}.hero-wheel{width:265px}.hero-wheel>div{width:105px}.hero-wheel strong{font-size:25px}.hero-pointer{top:28px}.hero-facts{gap:12px}.tool-grid{gap:15px}.tool-card{padding:22px}.control-pane{padding:32px}.display-pane{padding:25px}.wheel-plate{width:265px;height:265px}.wheel-stage{height:303px}.promise-grid{gap:20px}}
@media(max-width:740px){.header{height:70px}.header-inner{gap:10px}.brand-mark{width:37px;height:37px;font-size:26px}.brand-type b{font-size:16px}.brand-type small{font-size:8px}.header-nav{display:none}.header-cta{margin-left:auto;padding:10px;font-size:11px}.hero-grid{grid-template-columns:1fr;gap:0}.hero-content{padding:63px 0 16px}.hero h1{font-size:clamp(41px,9.5vw,61px);letter-spacing:-2.6px}.hero-content>p{font-size:15px}.hero-facts{margin-top:34px;gap:14px}.hero-art{height:270px;margin:0 auto 15px;max-width:430px}.hero-wheel{width:222px}.hero-wheel>div{width:86px;border-width:5px}.hero-wheel strong{font-size:20px}.hero-pointer{top:3px}.graphic-top{top:10px}.graphic-bottom{bottom:0}.tools-section{padding:59px 0}.section-top{align-items:flex-start}.section-top h2{font-size:34px}.count{display:none}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.tool-card{min-height:245px;padding:19px 17px}.tool-card h3{font-size:17px}.tool-card p{font-size:12px}.tool-icon{height:46px;width:46px;font-size:25px}.promise{padding:55px 0}.promise-grid{grid-template-columns:1fr}.promise-items{gap:14px}.footer-grid{flex-direction:column;gap:24px}.footer-links{gap:70px}.copyright{flex-direction:column;gap:10px;margin-top:45px}.tool-masthead{padding:25px 0 38px}.breadcrumbs{margin-bottom:30px}.masthead-grid{align-items:flex-start}.stamp{display:none}.tool-masthead h1{font-size:40px}.workspace-section{padding:26px 0 50px}.workbench{grid-template-columns:1fr}.control-pane{padding:26px}.display-pane{border-left:0;border-top:1px solid #e0e8f0;min-height:385px;padding:20px 25px 24px}.wheel-stage{height:320px}.wheel-plate{width:285px;height:285px}.beneath{grid-template-columns:1fr;gap:16px;padding-top:38px}.related{padding:48px 0}.related .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related .tool-card:last-child{display:none}.static-head{padding:65px 0 55px}}
@media(max-width:440px){.container{padding:0 19px}.hero h1{font-size:42px}.hero-actions .button{width:100%}.hero-facts{font-size:10px;gap:9px}.hero-facts b{font-size:13px}.tool-grid{grid-template-columns:1fr}.tool-card{min-height:218px}.promise-items{grid-template-columns:1fr}.promise-items>div{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:start}.promise-items h3{margin:4px 0}.promise-items p{grid-column:2}.hero-art{height:280px}.footer-links{gap:48px}.control-pane{padding:25px 20px}.display-pane{padding:20px 16px 24px}.wheel-plate{width:270px;height:270px}.wheel-stage{height:300px}.teams-stage{grid-template-columns:1fr}.related .tool-grid{grid-template-columns:1fr}.related .tool-card:last-child{display:flex}.form-grid{gap:8px}.tool-masthead h1{font-size:35px}.static-head h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:260px){.hero-art{display:none}}
/* Calculators & Converters (FDPL-002) */
input[type=date],textarea,select{width:100%;border:1px solid #ced9e4;background:#fff;border-radius:8px;padding:12px 14px;color:#233e61;outline:none}
input[type=date]:focus{border-color:#7498bf;box-shadow:0 0 0 3px #2b598c16}
.family-strip{background:var(--navy);color:#fff;padding:62px 0}
.family-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.family-strip .eyebrow{color:#f4d88c}
.family-strip h2{font-size:clamp(28px,3vw,40px);letter-spacing:-1.4px;margin:12px 0 10px}
.family-strip p{color:#c8d5e5;font-size:14px;margin:0;max-width:430px}
.family-strip .button{flex-shrink:0}
.queue-section{background:#fff;padding:66px 0 72px;border-top:1px solid var(--line)}
.calc-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:24px 0 0}
.calc-queue li{display:grid;grid-template-columns:1fr auto;gap:5px 12px;background:var(--paper);border:1px solid #e5eaf0;border-radius:12px;padding:16px 18px}
.calc-queue b{grid-row:1;grid-column:1;font-size:14px;color:#173258;align-self:center}
.calc-queue em{grid-row:1;grid-column:2;justify-self:end;font-style:normal;background:#e9eef5;color:#5f7186;font-size:10px;letter-spacing:1.1px;font-weight:750;padding:5px 11px;border-radius:999px;text-transform:uppercase;white-space:nowrap}
.calc-queue span{grid-row:2;grid-column:1/-1;color:#6d7b8d;font-size:12px;line-height:1.6}
.promo-band{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:42px 0 46px}
.promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}
.promo-card{display:flex;flex-direction:column;gap:7px;border:1px solid #e2e9f1;border-radius:12px;padding:20px 22px;background:#fdfdfe;transition:transform .2s,border-color .2s,box-shadow .2s}
.promo-card:hover{transform:translateY(-3px);border-color:#d0dde9;box-shadow:0 14px 26px #15305e10}
.promo-card b{font-size:15px;color:#14294b}
.promo-card span{font-size:12.5px;line-height:1.65;color:#6d7d90}
.promo-card em{font-style:normal;font-size:11px;font-weight:760;color:#1c4e80;margin-top:5px}
.promo-reserved{margin-top:16px;border:1px dashed #cbd8e4;border-radius:10px;color:#8a9aab;font-size:11px;padding:12px 14px;text-align:center}
.mode-switch{border:0;padding:0;margin:0 0 6px}
.mode-switch legend{padding:0}
.mode-option{display:flex;gap:11px;align-items:center;border:1px solid #dfe8f1;border-radius:10px;padding:12px 14px;margin-bottom:8px;cursor:pointer;font-size:13px;color:#3d5674}
.mode-option input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0}
.mode-option:hover{border-color:#c6d6e6}
.mode-option:has(input:checked){border-color:#9db8d4;background:#f4f8fc}
.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 6px}
.chip{border:1px solid #d3e0ee;background:#f3f7fb;color:#1c4e80;border-radius:999px;font-size:12px;font-weight:740;min-height:44px;padding:0 18px;transition:background .2s}
.chip:hover{background:#e6eef7}
.result-row{display:flex;justify-content:space-between;gap:14px;padding:9px 2px;border-bottom:1px dashed #dde7f0;font-size:12px}
.result-row:last-child{border-bottom:0}
.result-row-label{color:#73889d}
.result-row-value{color:#173b6a;font-weight:760;text-align:right;overflow-wrap:anywhere}
.dest-chip{display:inline-flex;align-items:center;gap:9px;background:#eef3f8;border:1px solid #d8e3ee;border-radius:999px;color:#274970;font-size:12px;font-weight:700;padding:7px 8px 7px 13px;margin:0 8px 8px 0}
.dest-remove{border:0;background:#dce7f1;color:#31527b;width:22px;height:22px;border-radius:50%;font-size:14px;line-height:1;display:grid;place-items:center;padding:0}
.dest-remove:hover{background:#c9d9e8}
.load-row{background:#f8fafc;border:1px solid #e2eaf2;border-radius:12px;padding:14px 15px;margin-bottom:10px}
.load-row-head{display:flex;gap:9px;align-items:center;margin-bottom:10px}
.load-row-head .load-label{flex:1;border:1px solid #ced9e4;background:#fff;border-radius:8px;padding:9px 12px;color:#233e61;outline:none;min-width:0}
.load-row-head .load-label:focus{border-color:#7498bf;box-shadow:0 0 0 3px #2b598c16}
.load-row-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:9px}
.load-cell{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:10px;letter-spacing:.8px;font-weight:760;color:#6d8199;text-transform:uppercase}
.load-cell input{border:1px solid #ced9e4;background:#fff;border-radius:8px;padding:9px 10px;color:#233e61;outline:none;width:100%}
.load-cell input:focus{border-color:#7498bf;box-shadow:0 0 0 3px #2b598c16}
.load-cell .input-hint{margin:0;font-weight:600;letter-spacing:0;text-transform:none}
@media(max-width:740px){.form-grid{grid-template-columns:1fr}.load-row-grid{grid-template-columns:1fr 1fr}}
/* COSMURO-GROWTH-001: calculator guide sections */
.calc-guide{background:#fff;padding:56px 0 66px;border-top:1px solid var(--line)}
.calc-guide h2{font-size:24px;letter-spacing:-.6px;margin:36px 0 14px}
.calc-guide h2:first-child{margin-top:0}
.calc-guide>p{font-size:14.5px;line-height:1.85;color:#4d6178;margin:0 0 14px}
.guide-formula{margin:16px 0 0;padding:0}
.guide-formula dt{font-size:12px;font-weight:780;color:#173258;margin-top:14px}
.guide-formula dd{margin:5px 0 0;font-size:13.5px;line-height:1.75;color:#5a6d82}
.guide-setup{margin-top:18px;color:#2f4763;font-weight:600}
.guide-rows{list-style:none;padding:0;margin:8px 0 0}
.guide-rows li{display:flex;justify-content:space-between;gap:16px;padding:10px 2px;border-bottom:1px dashed #dde7f0;font-size:13px}
.guide-rows li span{color:#73889d}
.guide-rows li b{color:#173b6a;font-weight:760;text-align:right;overflow-wrap:anywhere}
.guide-note{margin-top:14px;font-size:12px;color:#7f92a5}
.guide-faq{border:1px solid #e2eaf2;border-radius:10px;padding:0 16px;margin-bottom:10px;background:#fbfdfe}
.guide-faq summary{cursor:pointer;font-size:13.5px;font-weight:750;color:#173258;padding:13px 26px 13px 0;list-style:none;position:relative}
.guide-faq summary::-webkit-details-marker{display:none}
.guide-faq summary:after{content:'+';position:absolute;right:2px;top:11px;font-size:17px;color:#7498bf}
.guide-faq[open] summary:after{content:'−'}
.guide-faq[open] summary{border-bottom:1px dashed #e2eaf2}
.guide-faq p{margin:0;padding:12px 0 14px;font-size:13px;line-height:1.8;color:#5a6d82}
.guide-links{list-style:none;padding:0;margin:8px 0 0}
.guide-links li{margin:0 0 9px}
.guide-links a{font-size:13.5px;color:#1c4e80;font-weight:700;overflow-wrap:anywhere}
.guide-links a:hover{text-decoration:underline}
@media(max-width:740px){.calc-guide{padding:44px 0 52px}.guide-rows li{flex-direction:column;gap:3px}.guide-rows li b{text-align:left}}
@media(max-width:740px){.family-strip{padding:44px 0}.family-strip-inner{flex-direction:column;align-items:flex-start;gap:18px}.promo-grid{grid-template-columns:1fr}.calc-queue{grid-template-columns:1fr}.queue-section{padding:48px 0 54px}}
@media(max-width:440px){.family-strip .button{width:100%}.promo-card{padding:17px 18px}}
/* Text Essentials (FDPL-003) */
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:4px 0 18px}
.stat-tile{background:#fff;border:1px solid #dde7f0;border-radius:12px;padding:14px 8px 12px;text-align:center;min-width:0}
.stat-tile b{display:block;font-size:22px;font-weight:830;color:#10294b;letter-spacing:-.5px;overflow-wrap:anywhere}
.stat-tile span{display:block;margin-top:5px;font-size:9px;letter-spacing:1.2px;font-weight:780;color:#7a8eaa}
.option-check{display:flex;gap:11px;align-items:flex-start;border:1px solid #dfe8f1;border-radius:10px;padding:11px 13px;margin-bottom:8px;cursor:pointer;font-size:13px;color:#3d5674}
.option-check input{accent-color:var(--blue);width:17px;height:17px;flex-shrink:0;margin-top:1px}
.option-check:hover{border-color:#c6d6e6}
.option-check:has(input:checked){border-color:#9db8d4;background:#f4f8fc}
.option-check .option-text b{font-weight:750;display:block}
.option-check .option-text small{display:block;color:#8598ab;font-size:11px;margin-top:2px}
.option-check.inline{display:inline-flex;align-items:center;margin:0 0 0 14px}
.option-check.inline .option-text b{display:inline;font-size:12px}
.copy-button{background:var(--navy);border:0;color:#fff;border-radius:8px;font-size:12px;font-weight:760;padding:12px 18px;transition:background .2s}
.copy-button:hover{background:#1d3f70}
.copy-status{font-size:11px;color:#3d7a4e;font-weight:700;margin:0 10px 0 2px}
.copy-status:empty{display:none}
.text-output textarea{width:100%;min-height:170px;border:1px solid #ced9e4;background:#fff;border-radius:10px;padding:13px 15px;color:#1d3a5f;font-family:Consolas,"Courier New",monospace;font-size:13px;line-height:1.6;resize:vertical}
.text-output-actions{display:flex;align-items:center;gap:12px;margin:12px 0 4px;flex-wrap:wrap}
.diff-summary{font-size:12px;font-weight:780;color:#173b6a;background:#fff;border:1px solid #dde7f0;border-radius:9px;padding:10px 14px;margin:2px 0 12px}
.diff-summary:empty{display:none}
.diff-box{background:#fff;border:1px solid #dde7f0;border-radius:10px;padding:8px 0;max-height:430px;overflow:auto;margin-bottom:14px;min-height:52px}
.diff-box:empty{display:none}
.diff-row{font-family:Consolas,"Courier New",monospace;font-size:12.5px;line-height:1.7;padding:3px 14px;overflow-wrap:anywhere;white-space:pre-wrap}
.diff-add{background:#edf7ee;color:#276b3a}
.diff-del{background:#fdf0ee;color:#a52b35}
.diff-same{color:#7d8da1}
.diff-marker{color:#9aa9ba;font-size:11px;padding:5px 14px;border-top:1px dashed #e4ecf3;border-bottom:1px dashed #e4ecf3}
@media(max-width:740px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option-check.inline{margin-left:0}}
@media(max-width:440px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-tile b{font-size:19px}}
/* COSMURO-UX-001: shared accessible controls + purposeful motion & sound */
.stepper{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.form-grid>.field{min-width:0}
.load-row-grid>.load-cell{min-width:0}
.stepper input{flex:1;min-width:0;width:auto}
.stepper input[type=number]{-moz-appearance:textfield;appearance:textfield}
.stepper input[type=number]::-webkit-outer-spin-button,.stepper input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.step-btn{flex-shrink:0;width:48px;min-height:48px;border:1px solid #d3e0ee;background:#f3f7fb;color:#1c4e80;border-radius:8px;font-size:20px;font-weight:800;line-height:1;display:grid;place-items:center;padding:0;transition:background .2s}
.step-btn:hover{background:#e6eef7}
.step-btn:active{background:#dbe7f3}
.stepper.compact{gap:5px}
.stepper.compact .step-btn{width:34px;min-height:44px;font-size:15px;border-radius:7px}
.stepper.compact input{padding:9px 10px}
.chip.chip-active{background:#173b6a;color:#fff;border-color:#173b6a}
.feedback-toggle{display:inline-flex;align-items:center;gap:7px;border:1px solid #d3e0ee;background:#f3f7fb;color:#1c4e80;border-radius:999px;font-size:12px;font-weight:780;min-height:48px;padding:0 18px;margin:10px 0 0;transition:background .2s}
.feedback-toggle:hover{background:#e6eef7}
.feedback-toggle[aria-pressed="true"]{opacity:.6}
.feedback-toggle small{letter-spacing:1.2px;font-size:10px}
@keyframes result-flash{0%{background:#fdf3d7;transform:scale(.985)}100%{background:transparent;transform:scale(1)}}
.result-panel.result-flash{animation:result-flash .9s ease-out;border-radius:10px}
.coin3d{width:202px;height:202px;perspective:900px}
.coin-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;will-change:transform}
.coin-face{position:absolute;inset:0;border-radius:50%;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:9px solid var(--coin-edge);box-shadow:inset 0 0 0 5px var(--coin-rim),0 15px 33px #a3752244;background:radial-gradient(circle at 35% 30%,var(--coin-hi),var(--coin-mid) 55%,var(--coin-lo))}
.coin-face.coin-tails{transform:rotateY(180deg)}
.coin-face b{font-size:30px;letter-spacing:1.5px;color:var(--coin-text)}
.coin-denom{font-size:10px;letter-spacing:3px;font-weight:800;color:var(--coin-text);opacity:.7}
.coin-rim{position:absolute;inset:12px;border-radius:50%;border:2px dashed var(--coin-text);opacity:.35}
.coin-gold{--coin-edge:#c89c37;--coin-rim:#faeeb8;--coin-hi:#fff3c6;--coin-mid:#f3c95f;--coin-lo:#d9a847;--coin-text:#80591e}
.coin-silver{--coin-edge:#8d99a6;--coin-rim:#f2f5f8;--coin-hi:#f8fafc;--coin-mid:#cfd7de;--coin-lo:#a8b4bf;--coin-text:#4a5a68}
.coin-bronze{--coin-edge:#9a6b3f;--coin-rim:#f3ded0;--coin-hi:#f7e3cd;--coin-mid:#d9a06b;--coin-lo:#b07a45;--coin-text:#6b4423}
.die-pips{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;padding:13px}
.die-pips .pip{width:74%;aspect-ratio:1;border-radius:50%;background:#162c4b;place-self:center}
.die.rolling{animation:dice-tumble .32s linear infinite}
@keyframes dice-tumble{0%{transform:rotate(-8deg)}25%{transform:rotate(7deg) translateY(-7px)}50%{transform:rotate(-6deg)}75%{transform:rotate(9deg) translateY(-5px)}100%{transform:rotate(-8deg)}}
.die-c0{border-color:#e4ae48}.die-c1{border-color:#93c0d4}.die-c2{border-color:#eb9c86}.die-c3{border-color:#b6c8a1}.die-c4{border-color:#d9b5df}.die-c5{border-color:#9fbbf1}.die-c6{border-color:#f3ad79}.die-c7{border-color:#98d3c2}
.number-chip.chip-c0{background:#fdf6e3;border-color:#eecd88}.number-chip.chip-c1{background:#eef5f9;border-color:#b7d3e2}.number-chip.chip-c2{background:#fdf0ec;border-color:#eec0b2}.number-chip.chip-c3{background:#f3f7ee;border-color:#c6d6b6}.number-chip.chip-c4{background:#f9f2fb;border-color:#dcc3e2}.number-chip.chip-c5{background:#eef3fc;border-color:#b9cdf0}.number-chip.chip-c6{background:#fdf3ec;border-color:#f0c5a5}.number-chip.chip-c7{background:#eef8f5;border-color:#aed9cc}
/* COSMURO-UX-001 delta: semantic tones, value transitions, per-tool feedback */
.result-panel.result-positive{border-top-color:#9fc7a8}
.result-panel.result-positive .result-text{color:#2f6b38}
.result-panel.result-negative{border-top-color:#e0b1ac}
.result-panel.result-negative .result-text{color:#a52b35}
@keyframes value-swap{0%{opacity:0;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
.result-text.value-swap{animation:value-swap .22s ease-out}
@keyframes stat-changed{0%{background:#fdf3d7}100%{background:#fff}}
.stat-tile.stat-changed{animation:stat-changed .7s ease-out}
.text-output.swap textarea{border-color:#9db8d4;box-shadow:0 0 0 3px #2b598c26}
.diff-chip{display:inline-flex;align-items:center;border-radius:999px;font-size:11px;font-weight:780;padding:3px 11px;margin-right:8px}
.diff-chip-add{background:#edf7ee;color:#276b3a}
.diff-chip-del{background:#fdf0ee;color:#a52b35}
.diff-chip-same{background:#eef3f8;color:#5f7186}
@keyframes team-in{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:translateY(0)}}
.team-enter{animation:team-in .35s ease-out backwards}
/* Scorer Suite (COSMURO-FACTORY-A01) */
.scorer-question{min-width:0;border:1px solid #e2eaf2;border-radius:12px;background:#fbfdfe;padding:16px 16px 10px;margin:0 0 12px}
.scorer-question legend{padding:0 6px}
.q-num{display:inline-block;background:#173258;color:#fff;border-radius:6px;font-size:10px;font-weight:800;letter-spacing:1px;padding:3px 7px;margin-right:8px;vertical-align:1px}
.scorer-option{align-items:flex-start}
.scorer-option .option-body{display:block;min-width:0;flex:1}
.scorer-option b{font-weight:700;color:#274468;display:block}
.scorer-option .option-note{font-style:normal;font-size:9px;letter-spacing:1.2px;font-weight:800;color:#2f6b38;background:#edf7ee;border:1px solid #cde4d2;border-radius:999px;padding:2px 8px;margin-left:8px;text-transform:uppercase;white-space:nowrap}
.option-points{display:inline-block;margin-top:5px;color:#8598ab;font-size:11px;font-weight:700}
.option-advice{display:block;margin-top:4px;color:#5a6d82;font-size:11.5px;line-height:1.6}
.score-meter{display:flex;gap:3px;height:14px;border-radius:7px;overflow:hidden;margin:6px 0 4px;position:relative}
.meter-band{display:block;height:100%}
.meter-positive{background:#b9dcc0}
.meter-caution{background:#f2dfa8}
.meter-negative{background:#e8b7b0}
.meter-marker{position:absolute;top:-3px;width:4px;height:20px;background:#10294b;border-radius:2px;box-shadow:0 0 0 2px #fff;transform:translateX(-2px)}
.meter-scale{display:flex;justify-content:space-between;font-size:10px;color:#9aa9ba;margin-bottom:14px}
.band-summary{margin:0 0 12px;font-size:13px;line-height:1.75;color:#3d5674;background:#f4f8fc;border:1px solid #dfe8f1;border-radius:10px;padding:12px 14px}
.detail-heading{font-size:12px;letter-spacing:1.2px;font-weight:830;color:#7a8eaa;margin:16px 0 8px;text-transform:uppercase}
.method-box{border:1px solid #e2eaf2;border-radius:10px;padding:4px 14px;background:#fff}
.method-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px dashed #dde7f0;font-size:12px}
.method-row:last-child{border-bottom:0}
.method-row span{color:#617693}
.method-row b{color:#173b6a;font-weight:760;text-align:right}
.advice-list{margin:0;padding-left:18px;color:#3d5674;font-size:12.5px;line-height:1.7}
.advice-list li{margin-bottom:8px}
.advice-list b{color:#173258}
.result-panel.result-positive .result-text{color:#2f6b38}
.result-panel.result-negative .result-text{color:#a52b35}
.result-panel.result-caution .result-text{color:#8a6d1f}
@keyframes scorer-flash{0%{background:#fdf3d7}100%{background:transparent}}
.result-panel.result-flash{animation:scorer-flash .8s ease-out;border-radius:10px}
@keyframes scorer-swap{0%{opacity:0;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
.result-text.value-swap{animation:scorer-swap .22s ease-out}
@media(prefers-reduced-motion:reduce){.result-panel.result-flash,.result-text.value-swap{animation:none}}
.coin-face svg.coin-art{position:absolute;inset:7%;width:86%;height:86%}
.coin-arc{font-size:13px;font-weight:800;letter-spacing:3px;fill:var(--coin-text)}
.coin-arc-bot{font-size:10.5px;letter-spacing:4px}
.coin-year{font-size:9px;letter-spacing:2px;fill:var(--coin-text);opacity:.75}
.coin-engrave{fill:var(--coin-text);opacity:.88}
.coin-mono{font-family:Georgia,'Times New Roman',serif;font-size:62px;font-weight:700;fill:var(--coin-text)}
.coin-leaf{fill:var(--coin-text);opacity:.85}
.coin-stem{stroke:var(--coin-text);opacity:.85}
/* RC1 final acceptance: extreme-narrow reflow (195px effective = 200% zoom on 390px) */
.reassurance{flex-wrap:wrap}
.reassurance h3,.reassurance p,.reassurance div{overflow-wrap:anywhere}
.calc-guide p,.calc-guide dd{overflow-wrap:anywhere}
/* COSMURO-UX-002: carousel, banner, coin emboss, dice premium, narrow reflow */
.promo-banner{display:flex;align-items:center;justify-content:center;gap:14px;background:var(--navy);color:#fff;padding:11px 28px;text-align:center}
.promo-banner-text b{font-size:12.5px;font-weight:780;letter-spacing:.8px}
.promo-banner-text em{font-style:normal;font-size:11.5px;color:var(--yellow);font-weight:750;margin-left:10px}
.promo-banner:hover .promo-banner-text em{text-decoration:underline}
@media(max-width:560px){.promo-banner-text em{display:none;margin:0}}
.carousel-viewport{overflow:hidden}
.carousel-track{display:flex;gap:20px;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.carousel-card{flex:0 0 calc((100% - 40px)/3);min-width:0}
.carousel-card .tool-card{height:100%}
.carousel-effect-fade .carousel-track{transition:opacity .22s ease}
.carousel-effect-fade .carousel-track.is-fading{opacity:.15}
.carousel-effect-none .carousel-track{transition:none}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px}
.carousel-btn{background:#fff;border:1px solid #d3e0ee;color:#1c4e80;border-radius:8px;font-size:16px;font-weight:800;min-width:48px;min-height:48px;padding:0 18px;transition:background .2s;cursor:pointer}
.carousel-btn:hover{background:#e6eef7}
.carousel-note{text-align:center;font-size:12px;color:#73889d;margin:14px 0 0}
.carousel-note a{color:#1c4e80;font-weight:700}
.carousel-note a:hover{text-decoration:underline}
@media(max-width:900px){.carousel-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:560px){.carousel-card{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.carousel-track{transition:none!important}}
.coin-face{box-shadow:inset 0 0 0 5px var(--coin-rim),inset 0 6px 12px rgba(255,255,255,.65),inset 0 -8px 14px rgba(0,0,0,.18),0 15px 33px #a3752244}
.coin-face::after{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 38%,transparent 62%,rgba(0,0,0,.14));pointer-events:none}
.coin-engrave,.coin-mono,.coin-arc,.coin-leaf,.coin-stem{filter:drop-shadow(0 1px 0 rgba(255,255,255,.6)) drop-shadow(0 -1px 0 rgba(0,0,0,.22))}
.die{background:linear-gradient(145deg,#ffffff,#e6ecf3);box-shadow:0 12px 22px #16345326,inset 0 2px 3px #ffffff,inset 0 -4px 8px #cfd9e4}
.die.die-pips{background:linear-gradient(145deg,#ffffff,#e8edf3)}
.die.die-c0{background:linear-gradient(145deg,#fff9e6,#f0d488)}.die.die-c1{background:linear-gradient(145deg,#eef5f9,#b7d3e2)}.die.die-c2{background:linear-gradient(145deg,#fdf0ec,#eec0b2)}.die.die-c3{background:linear-gradient(145deg,#f3f7ee,#c6d6b6)}.die.die-c4{background:linear-gradient(145deg,#f9f2fb,#dcc3e2)}.die.die-c5{background:linear-gradient(145deg,#eef3fc,#b9cdf0)}.die.die-c6{background:linear-gradient(145deg,#fdf3ec,#f0c5a5)}.die.die-c7{background:linear-gradient(145deg,#eef8f5,#aed9cc)}
.die.die-c0.die-pips{background:linear-gradient(145deg,#fff9e6,#f0d488)}.die.die-c1.die-pips{background:linear-gradient(145deg,#eef5f9,#b7d3e2)}.die.die-c2.die-pips{background:linear-gradient(145deg,#fdf0ec,#eec0b2)}.die.die-c3.die-pips{background:linear-gradient(145deg,#f3f7ee,#c6d6b6)}.die.die-c4.die-pips{background:linear-gradient(145deg,#f9f2fb,#dcc3e2)}.die.die-c5.die-pips{background:linear-gradient(145deg,#eef3fc,#b9cdf0)}.die.die-c6.die-pips{background:linear-gradient(145deg,#fdf3ec,#f0c5a5)}.die.die-c7.die-pips{background:linear-gradient(145deg,#eef8f5,#aed9cc)}
.die-pips .pip{background:radial-gradient(circle at 32% 28%,#5a7396,#162c4b 72%);box-shadow:inset 0 1px 2px #0b1c33}
@keyframes dice-tumble-smooth{0%{transform:rotate(0deg) translateY(0)}20%{transform:rotate(-14deg) translateY(-9px)}40%{transform:rotate(11deg) translateY(-3px)}60%{transform:rotate(-9deg) translateY(-7px)}80%{transform:rotate(12deg) translateY(-2px)}100%{transform:rotate(0deg) translateY(0)}}
.die.rolling{animation:dice-tumble-smooth .45s cubic-bezier(.36,.07,.19,.97) infinite}
.carousel-section{padding:60px 0;background:#f6f8fa}
.carousel-section .section-top{margin-bottom:24px}
.carousel-section .tool-card{min-height:240px}

/* ── COSMURO-HOLIDAY-001 — Christmas 2026 family (scoped) ───────────────
   All Holiday presentation is scoped under .holiday-* classes: existing
   tools are unaffected. Light/dark support is scoped the same way. */
.holiday-strip{background:#0d2a4b;color:#eef4fa;padding:26px 0;border-top:3px solid #f4c85a}
.holiday-strip-inner{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.holiday-strip h2{color:#eef4fa;margin:4px 0 6px}
.holiday-strip p{margin:0;color:#c6d5e4;font-size:13px;max-width:420px}
.holiday-strip-links{display:flex;flex-direction:column;gap:6px;font-size:13px}
.holiday-strip-links a{color:#f4c85a;text-decoration:none}
.holiday-strip-links a:hover,.holiday-strip-links a:focus-visible{text-decoration:underline}
.holiday-icon{font-size:18px}
.holiday-card .card-tag{color:#7a3a52}
.holiday-masthead{background:linear-gradient(180deg,#f7f1e8,#fdfaf5)}
.holiday-scope{--holiday-line:#c9d8e6}
.holiday-frame{display:grid;gap:18px;grid-template-columns:minmax(280px,1fr) minmax(280px,1.2fr);align-items:start}
.holiday-label{display:block;font-size:12px;font-weight:700;color:#456;margin:12px 0 4px}
.holiday-controls .control-note{font-size:11px;color:#789;margin:8px 0 0}
.holiday-display .wheel-stage{margin:0 auto;max-width:380px}
.holiday-plate{filter:hue-rotate(-12deg) saturate(1.15)}
.pw-result{font-size:17px;font-weight:800;color:#7a3a52;min-height:1.4em;margin:10px 0 0;text-align:center}
.holiday-scope .button.yellow{background:#7a3a52;color:#fff}
.holiday-scope .button.yellow:hover{background:#8d4560}
.santa-status{font-size:14px;font-weight:700;color:#1a2a3a;background:#eef4fa;border:1px solid #c9d8e6;border-radius:8px;padding:10px 14px}
.santa-error{font-size:14px;font-weight:700;color:#7a1f1f;background:#fbeaea;border:1px solid #e0b4b4;border-radius:8px;padding:10px 14px}
.santa-results table{width:100%;border-collapse:collapse;font-size:13px;margin-top:10px}
.santa-results caption{text-align:left;font-size:11px;color:#789;padding-bottom:4px}
.santa-results th,.santa-results td{border:1px dashed #b8c6d4;padding:8px 10px;text-align:left}
.santa-results tr{page-break-inside:avoid}
.santa-disclosure{font-size:12px;color:#456;background:#f4f6f8;border:1px solid #d0d8e0;border-radius:8px;padding:10px 14px;margin-top:14px;line-height:1.6}
.gw-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));align-items:start}
.gw-panel{background:#fff;border:1px solid #d0d8e0;border-radius:10px;padding:14px}
.gw-panel h3{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#2a3a4a;margin:0 0 10px}
.gw-row{display:flex;gap:8px;align-items:baseline;padding:6px 2px;border-bottom:1px dashed #dde;font-size:13px;flex-wrap:wrap}
.gw-row b{color:#1a2a3a}
.gw-remove{margin-left:auto;font-size:11px;padding:2px 8px;border:1px solid #c0c8d0;border-radius:4px;background:#fff;cursor:pointer}
.gw-empty{font-size:12px;color:#89a;margin:6px 0}
.gw-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.gw-status{font-size:12px;color:#456;background:#eef4fa;border:1px solid #c9d8e6;border-radius:6px;padding:8px 10px}
.gw-summary{background:#f4f8fc}
.gw-sum-row{font-size:12px;margin:4px 0}
.gw-over{color:#7a1f1f;font-weight:700}
.gw-total{font-size:14px;font-weight:800}
.gw-import-label{cursor:pointer}
.hp-cards{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.hp-card{background:#fff;border:1px solid #d0d8e0;border-radius:10px;padding:16px}
.hp-card h3{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#2a3a4a;margin:0 0 10px}
.hp-item-form,.gw-panel form{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.hp-item-form input,.gw-panel form input,.gw-panel form select{padding:6px 8px;border:1px solid #c0c8d0;border-radius:6px;font-size:13px;min-width:0}
.hp-item-form button,.gw-panel form button{padding:6px 10px;border:0;border-radius:6px;background:#7a3a52;color:#fff;font-size:13px;font-weight:700;cursor:pointer}
.hp-field{margin:10px 0}
.hp-field label{display:block;font-size:12px;font-weight:600;color:#456;margin-bottom:3px}
.hp-field input{width:100%;padding:7px 9px;border:1px solid #c0c8d0;border-radius:6px;font-size:13px}
.hp-result{font-size:13px;line-height:1.7;background:#f4f8fc;border:1px solid #d5e2ee;border-radius:8px;padding:10px 12px;min-height:1.4em}
.hp-note{font-size:11px;color:#789;margin:8px 0 0}
.holiday-year-round .tool-card .tool-icon{font-size:18px}
@media (prefers-color-scheme: dark){
  .holiday-strip{background:#0a1e38;border-top-color:#f4c85a}
  .holiday-strip h2{color:#e8eef6}
  .holiday-strip p{color:#a9bcce}
  .holiday-masthead{background:linear-gradient(180deg,#1a2433,#141c28)}
  .holiday-masthead p,.holiday-year-round p{color:#b9c8d8}
  .holiday-scope .holiday-frame,.gw-panel,.hp-card{background:#16202e;border-color:#2c3a4c;color:#d5dfe9}
  .holiday-scope .holiday-label,.gw-panel h3,.hp-card h3,.hp-field label{color:#a9bcce}
  .gw-row,.gw-sum-row,.hp-result{color:#d5dfe9}
  .gw-panel form input,.gw-panel form select,.hp-item-form input,.hp-field input{background:#101826;border-color:#3a4a5e;color:#e8eef6}
  .santa-status{background:#10233c;border-color:#2c3a4c;color:#d5dfe9}
  .santa-results th,.santa-results td{border-color:#3a4a5e}
  .santa-disclosure,.gw-status,.hp-result{background:#10233c;border-color:#2c3a4c;color:#c6d5e4}
  .gw-empty{color:#7a8ea4}
  .gw-remove{background:#16202e;color:#d5dfe9;border-color:#3a4a5e}
}
@media print{
  .header,.footer,.promo-banner,.promo-band,.holiday-strip,.carousel-section,.no-print,.gw-toolbar,.gw-remove,.hp-item-form,.hp-item-form button,.beneath,.hero,.family-strip,.promise,.tools-section,.static-copy .text-link{display:none !important}
  .gw-print-area{display:block !important}
  body{background:#fff}
  .santa-results table{font-size:12pt}
  .santa-results tr{border-bottom:1pt solid #000}
  .gw-print-area h2{font-size:16pt}
  .gw-total{font-size:13pt;font-weight:700}
  .holiday-scope .workbench{border:0;padding:0}
  .hp-card{border:0;padding:0 0 12px}
}
.gw-gift-list{margin:2px 0 8px 18px;padding:0;font-size:12px;color:#456}
.gw-gift-list li{margin:1px 0;word-break:break-word}
@media (prefers-color-scheme: dark){.gw-gift-list{color:#a9bcce}}
@media print{.gw-gift-list{font-size:10pt;color:#000;margin:0 0 6px 16px}}
/* Dark-scheme fix (HOLIDAY-001 closeout): <b> children keep the light-theme
   text colour because the site-wide b rule outranks inheritance. */
@media (prefers-color-scheme: dark){
  .holiday-scope .gw-row b,.holiday-scope .gw-sum-row b{color:#d5dfe9}
}

/* ── COSMURO-UX-003 — visible UI/UX treatment (cohesive pass) ───────────
   Goals: remove dead space, tighten spacing rhythm, harmonise controls,
   keep results near inputs, compact mobile guides, visible focus, subtle
   per-family accents. Appended last so overrides win ties; :where() keeps
   harmonisation low-specificity so existing component styles survive. */

/* Sticky compact header */
.header{position:sticky;top:0;height:66px;box-shadow:0 1px 0 var(--line);background:#ffffffee}
.header-inner{height:66px}
.tools-section,.workspace-section,.related,.holiday-scope{scroll-margin-top:74px}

/* Spacing rhythm */
.tools-section{padding:74px 0 80px}
.workspace-section{padding:36px 0 58px}
.related{padding:44px 0 54px}
.promise{padding:48px 0 54px}
.family-strip{padding:34px 0}
.footer{padding:46px 0 22px}
.tool-masthead{padding:30px 0 44px}
.beneath{padding-top:26px}

/* Cards: consistent radii + gentle hover lift (reduced-motion safe) */
.tool-card{border-radius:14px;transition:transform .18s ease,box-shadow .18s ease}
.tool-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #10294b1f}
.chip,.feedback-toggle,.carousel-btn,.gw-remove{border-radius:8px}

/* Controls: harmonise unstyled inputs/controls; comfortable touch targets */
:where(input,select,textarea){min-height:44px;border-radius:8px;border:1px solid #c2ccd8;padding:8px 12px;background:#fff;color:var(--ink)}
:where(button){min-height:30px}
.control-pane :where(button),.display-pane :where(button),.gw-remove,.hp-item-form button,.gw-panel form button{min-height:36px;min-width:44px}
:where(.button){min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
:where(input):focus-visible,:where(select):focus-visible,:where(textarea):focus-visible{border-color:#dfb147}

/* Result panels: accent edge + closer to inputs on mobile */
.result-panel{background:linear-gradient(180deg,#ffffff,#f2f7fb);border:1px solid #dbe5ee;border-left:4px solid var(--yellow);border-radius:12px;padding:14px 16px 12px;margin-top:14px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
@media(max-width:740px){.workbench{gap:12px}.display-pane{min-height:0;padding:18px 18px 22px}}

/* Guides: keep full content, reduce mobile domination */
.calc-guide h2{font-size:22px;letter-spacing:-.2px}
@media(max-width:740px){
  .calc-guide{padding:32px 0 40px}
  .calc-guide .container.narrow{padding:0 20px}
  .calc-guide h2{font-size:18px;margin:14px 0 8px}
  .calc-guide p,.calc-guide li{font-size:13.5px;line-height:1.65}
  .guide-rows li{padding:6px 0}
  .guide-faq{margin:8px 0}
}
/* Related grids: compact cards instead of tall repeated panels */
.related .tool-card{min-height:0;padding:16px}
.related .tool-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:740px){
  .related{padding:34px 0 40px}
  .related .tool-grid{gap:11px}
  .related .tool-card{padding:13px 14px;min-height:0}
  .related .tool-card h3{font-size:15px}
  .related .tool-card p{font-size:12px}
}
/* Hero: drop the decorative art column on small screens; tighten rhythm */
@media(max-width:740px){
  .hero-art{display:none}
  .hero-content{padding:44px 0 8px}
  .hero-facts{margin-top:22px}
}
@media(max-width:440px){.family-strip{padding:28px 0}.footer{padding:38px 0 20px}.footer-links{gap:34px}.copyright{margin-top:26px}}

/* Per-family accents (eyebrows + landing mastheads stay on-brand) */
body[data-page^="calculators"] .eyebrow,body[data-page^="calculators"] .calc-guide .eyebrow{color:#14539a}
body[data-page^="text-tools"] .eyebrow{color:#5b3a9e}
body[data-page^="scorers"] .eyebrow{color:#0e7490}
body[data-page^="christmas"] .eyebrow{color:#7a3a52}
body[data-page="home"] .holiday-strip .eyebrow{color:#f4c85a}

/* Print: compact guide print */
@media print{.calc-guide{padding:12pt 0}.calc-guide h2{font-size:13pt}}
/* 3D dice cubes + dimensional tiles (COSMURO-UX-003 continuation) */
.die3d{width:83px;height:83px;perspective:520px;background:none;border:0;box-shadow:none}
.die3d .cube{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .45s cubic-bezier(.22,.68,.32,1.08)}
.die3d .cube.rolling3d{animation:dice-tumble3d .5s linear infinite}
@keyframes dice-tumble3d{from{transform:rotateX(0deg) rotateY(0deg)}to{transform:rotateX(360deg) rotateY(360deg)}}
.die3d .cube-face{position:absolute;inset:0;border-radius:13px;background:linear-gradient(145deg,#ffffff,#e6ecf3);border:2px solid #dfebf4;box-shadow:inset 0 2px 3px #ffffff,inset 0 -4px 8px #cfd9e4;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;padding:12px;backface-visibility:hidden}
.die3d .cube-face .pip{width:74%;aspect-ratio:1;border-radius:50%;background:#162c4b;place-self:center}
.die3d.die-h0 .cube-face{background:linear-gradient(145deg,#fff9e6,#f0d488);border-color:#e4ae48}
.die3d.die-h1 .cube-face{background:linear-gradient(145deg,#eef5f9,#b7d3e2);border-color:#93c0d4}
.die3d.die-h2 .cube-face{background:linear-gradient(145deg,#fdf0ec,#eec0b2);border-color:#eb9c86}
.die3d.die-h3 .cube-face{background:linear-gradient(145deg,#f3f7ee,#c6d6b6);border-color:#b6c8a1}
.die3d.die-h4 .cube-face{background:linear-gradient(145deg,#f9f2fb,#dcc3e2);border-color:#d9b5df}
.die3d.die-h5 .cube-face{background:linear-gradient(145deg,#eef3fc,#b9cdf0);border-color:#9fbbf1}
.die3d.die-h6 .cube-face{background:linear-gradient(145deg,#fdf3ec,#f0c5a5);border-color:#f3ad79}
.die3d.die-h7 .cube-face{background:linear-gradient(145deg,#eef8f5,#aed9cc);border-color:#98d3c2}
.dim-tile{transform-style:preserve-3d}
.dim-tile.rolling3d{animation:dice-tumble3d .5s linear infinite}
/* wheel: perspective tilt + material sheen */
.wheel-stage{perspective:900px}
.wheel-plate{transform:rotateX(9deg)}
.wheel-plate::after{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,#ffffff59,transparent 42%,#00000026);pointer-events:none}
.holiday-scope .wheel-plate::after{background:linear-gradient(135deg,#ffffff59,transparent 42%,#5a1a3226)}
/* scorer meter: dimensional gauge + animated marker (reduced-motion: global kill) */
.score-meter{border-radius:9px;background:linear-gradient(180deg,#e7eef5,#f4f8fb);box-shadow:inset 0 2px 5px #10294b2e,0 1px 0 #ffffffcc}
.meter-marker{width:7px;border-radius:4px;background:linear-gradient(180deg,#3a5f8f,#10294b);box-shadow:0 0 0 2px #fff,0 4px 8px #10294b59;transition:left .7s cubic-bezier(.22,.68,.32,1.02)}
/* calculator result panel: dimensional card */
.result-panel{background:linear-gradient(180deg,#ffffff,#f2f7fb);border:1px solid #dbe5ee;border-left:4px solid var(--yellow);border-radius:12px;padding:14px 16px 12px;margin-top:14px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.result-flash{animation:result-dim .7s ease}
@keyframes result-dim{0%{box-shadow:0 6px 16px #17375814}40%{box-shadow:0 10px 26px #f3c95d80,0 0 0 2px #f3c95d66}100%{box-shadow:0 6px 16px #17375814}}
/* coin: specular sheen */
.coin3d{position:relative;filter:drop-shadow(0 14px 20px #a3752244)}
.coin3d::before{content:'';position:absolute;inset:0;border-radius:50%;background:linear-gradient(150deg,#ffffffc9 8%,transparent 38%);pointer-events:none;z-index:6}

/* ── COSMURO-UX-003 — solar planning scene (illustrative; values duplicated in result panel) ── */
.solar-scene{margin-top:14px;background:linear-gradient(180deg,#eaf2fa,#f7fbfe);border:1px solid #d5e2ee;border-radius:12px;padding:14px 16px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.solar-scene-title{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#6d829b;margin:0 0 10px}
.solar-sun-row{display:flex;align-items:flex-end;gap:12px;margin-bottom:10px}
.solar-arc{position:relative;flex:1;max-width:260px;height:52px;border-bottom:2px solid #b9cfe2;border-radius:0 0 130px 130px/0 0 52px 52px;background:linear-gradient(180deg,#dceafc,#f2f8fd)}
.solar-sun-dot{position:absolute;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c6,#f3c95f 55%,#d9a847);box-shadow:0 0 12px #f3c95d99}
.solar-arc-label{font-size:11px;color:#4c6380;font-weight:700;white-space:nowrap}
.solar-panels-row{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.solar-panels{display:flex;flex-wrap:wrap;gap:4px;max-width:300px}
.solar-panel{width:22px;height:15px;border-radius:2px;background:linear-gradient(145deg,#1e3f66,#10294b);box-shadow:inset 0 1px 0 #4a6d9c,0 2px 3px #10294b40;transform:perspective(120px) rotateX(14deg);position:relative;overflow:hidden}
.solar-panel i{position:absolute;inset:1px;background:repeating-linear-gradient(90deg,#274d80 0 2px,#1e3f66 2px 5px)}
.solar-panel-label{font-size:11px;color:#4c6380;font-weight:700}
.solar-bar-row{display:flex;align-items:center;gap:10px;margin:7px 0}
.solar-bar-label{font-size:11px;font-weight:700;color:#4c6380;width:96px;flex-shrink:0;text-align:right}
.solar-bar-track{flex:1;height:14px;border-radius:7px;background:#dde8f1;box-shadow:inset 0 1px 3px #10294b2b;overflow:hidden}
.solar-bar{display:block;height:100%;border-radius:7px}
.solar-demand{background:linear-gradient(90deg,#8fb2d4,#5c86b5)}
.solar-generation{background:linear-gradient(90deg,#f3c95d,#d9a847)}
.solar-bar-value{font-size:11px;color:#2c3e57;font-weight:700;min-width:104px}
.solar-gen-note{font-size:12px;color:#2c3e57}
@media (prefers-color-scheme: dark){
  .solar-scene{background:#10233c;border-color:#2c3a4c}
  .solar-scene-title,.solar-arc-label,.solar-panel-label,.solar-bar-label,.solar-bar-value,.solar-gen-note{color:#a9bcce}
  .solar-arc{background:linear-gradient(180deg,#0d1e35,#12253f);border-color:#2c3a4c}
  .solar-bar-track{background:#0c1a2e;box-shadow:inset 0 1px 3px #00000066}
  .solar-bar-value{color:#d5dfe9}
}

/* ── COSMURO-UX-003 batch 2 — UPS battery gauge, generator utilisation, santa reveal, giftwise budget bars ── */
.scene-gauge{margin-top:14px;background:linear-gradient(180deg,#ffffff,#f2f7fb);border:1px solid #dbe5ee;border-radius:12px;padding:14px 16px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.scene-gauge-title{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#6d829b;margin:0 0 12px}
.ups-battery-shell{display:flex;align-items:center;gap:12px}
.ups-battery{position:relative;flex:1;height:26px;border:2px solid #2c3e57;border-radius:8px;background:linear-gradient(180deg,#e7eef5,#f4f8fb);box-shadow:inset 0 2px 4px #10294b2b}
.ups-battery-cap{position:absolute;right:-8px;top:50%;transform:translateY(-50%);width:6px;height:12px;border-radius:0 3px 3px 0;background:#2c3e57}
.ups-battery-fill{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#5c86b5,#1a3a6b);box-shadow:inset 0 1px 0 #ffffff66}
.ups-battery-label{font-size:12px;font-weight:800;color:#10294b;white-space:nowrap}
.gen-track{position:relative;height:18px;border-radius:9px;background:#dde8f1;box-shadow:inset 0 1px 3px #10294b2b;margin-bottom:8px}
.gen-fill{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#8fb2d4,#1a3a6b)}
.gen-peak{position:absolute;top:-5px;bottom:-5px;width:3px;border-radius:2px;background:#d9a847;box-shadow:0 0 6px #f3c95d99}
.gen-legend{display:flex;gap:14px;flex-wrap:wrap}
.gen-legend-item{font-size:11px;color:#4c6380;font-weight:700}
.gen-legend-peak{color:#8a6516}
.santa-reveal{animation:santa-in .4s ease-out backwards}
@keyframes santa-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.gw-budget-track{height:8px;border-radius:4px;background:#dde8f1;box-shadow:inset 0 1px 2px #10294b26;overflow:hidden;margin:2px 0 8px}
.gw-budget-fill{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#8fb2d4,#1a3a6b)}
.gw-budget-fill.gw-budget-over{background:linear-gradient(90deg,#e8b7b0,#a52b35)}
@media (prefers-color-scheme: dark){
  .scene-gauge{background:#10233c;border-color:#2c3a4c}
  .scene-gauge-title{color:#a9bcce}
  .ups-battery{background:#0c1a2e;border-color:#3a4a5e;box-shadow:inset 0 2px 4px #00000066}
  .ups-battery-fill{background:linear-gradient(90deg,#6f9bd0,#2b598c)}
  .ups-battery-label{color:#d5dfe9}
  .gen-track{background:#0c1a2e;box-shadow:inset 0 1px 3px #00000066}
  .gen-legend-item{color:#a9bcce}
}

/* ── COSMURO-UX-003 batch 3 — bar tones for signed/positive/negative values ── */
.solar-positive{background:linear-gradient(90deg,#a7d0a2,#4f7f4a)}
.solar-negative{background:linear-gradient(90deg,#e8b7b0,#a52b35)}
@media (prefers-color-scheme: dark){
  .solar-scene{background:#10233c;border-color:#2c3a4c}
  .solar-scene .scene-gauge-title{color:#a9bcce}
  .solar-bar-label,.solar-bar-value,.solar-gen-note{color:#c6d5e4}
  .solar-bar-track{background:#0c1a2e;box-shadow:inset 0 1px 3px #00000066}
}

/* ── COSMURO-UX-003 batch 4 — timezone clocks/timeline, converter factor bars, type specimen, cleaning panels ── */
.tz-clock-row{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-bottom:12px}
.tz-clock{display:flex;flex-direction:column;align-items:center;gap:4px}
.tz-clock-face{position:relative;width:64px;height:64px;border-radius:50%;border:3px solid #10294b;background:radial-gradient(circle at 35% 30%,#ffffff,#e8f0f8);box-shadow:0 4px 10px #10294b2b}
.tz-hand{position:absolute;left:50%;bottom:50%;background:#10294b;border-radius:2px}
.tz-hour{width:4px;height:16px}
.tz-min{width:2px;height:22px;background:#5c86b5}
.tz-clock-face::after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;border-radius:50%;background:#f3c95d;transform:translate(-50%,-50%)}
.tz-clock-time{font-size:13px;font-weight:800;color:#10294b}
.tz-clock-name{font-size:9px;color:#7a8eaa;max-width:80px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tz-timeline{position:relative;height:26px;border-radius:13px;background:linear-gradient(180deg,#e7eef5,#f4f8fb);box-shadow:inset 0 2px 4px #10294b2b;margin-bottom:6px}
.tz-marker{position:absolute;top:5px;bottom:5px;width:4px;border-radius:2px;background:#f3c95d;box-shadow:0 0 6px #f3c95d99}
.tz-marker-label{font-size:10px;color:#5c7184;margin:3px 0 0}
.temp-track{height:18px;border-radius:9px;background:linear-gradient(90deg,#0c1a2e,#3a6fb5 40%,#8fb2d4 70%,#f3c95d);box-shadow:inset 0 1px 3px #10294b3b;position:relative;margin-bottom:6px}
.temp-zero-label{font-size:10px;color:#a9bcce}
.type-specimen{font-size:17px;line-height:1.9;word-break:break-word;max-height:220px;overflow:auto;background:#fff;border:1px solid #dbe5ee;border-radius:10px;padding:12px 14px;color:#162c4b}
.type-specimen .specimen-changed{color:#8a6516;background:#f3c95d3d;border-radius:3px}
.type-specimen .specimen-br{color:#b0851f}
.type-specimen .specimen-more{color:#96a6b4;font-size:12px}
.xf-panels{display:grid;gap:10px;grid-template-columns:1fr 1fr}
.xf-panel{background:#fff;border:1px solid #dbe5ee;border-radius:10px;padding:10px 12px;min-width:0}
.xf-panel-head{font-size:10px;letter-spacing:1.4px;font-weight:800;color:#7a8eaa;display:block;margin-bottom:6px}
.xf-body{font-size:12px;line-height:1.7;white-space:pre-wrap;word-break:break-word;max-height:160px;overflow:auto;color:#2c3e57}
.clean-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.clean-badge{font-size:11px;font-weight:700;color:#1a6b4a;background:#e7f4ee;border:1px solid #b8d8c8;border-radius:12px;padding:3px 10px}
.clean-badge-none{color:#789;background:#f0f4f8;border-color:#d5dfe9}
@media (prefers-color-scheme: dark){
  .tz-clock-face{background:radial-gradient(circle at 35% 30%,#2a3a52,#16202e);border-color:#3a4a5e}
  .tz-hand{background:#d5dfe9}
  .tz-min{background:#7a9bc4}
  .tz-clock-face::after{background:#f3c95d}
  .tz-clock-time{color:#d5dfe9}
  .tz-clock-name{color:#7a8ea4}
  .tz-timeline{background:#0c1a2e;box-shadow:inset 0 2px 4px #00000066}
  .tz-marker-label{color:#a9bcce}
  .type-specimen{background:#101826;border-color:#2c3a4c;color:#d5dfe9}
  .type-specimen .specimen-changed{color:#f3c95d;background:#f3c95d26}
  .xf-panel{background:#101826;border-color:#2c3a4c}
  .xf-body{color:#c6d5e4}
  .temp-track{box-shadow:inset 0 1px 3px #00000066}
}

/* ── COSMURO-UX-003 milestone — CVP waterfall scene (U25) ── */
.cvp-scene{margin-top:14px;background:linear-gradient(180deg,#ffffff,#f2f7fb);border:1px solid #dbe5ee;border-radius:12px;padding:14px 16px 10px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.cvp-svg{width:100%;height:auto;display:block}
.cvp-svg rect{transition:y .45s cubic-bezier(.22,.68,.32,1.02),height .45s cubic-bezier(.22,.68,.32,1.02),x .3s ease,width .3s ease}
.cvp-revenue{fill:linear-gradient(transparent,transparent);fill:#1a3a6b}
.cvp-variable{fill:#8fb2d4}
.cvp-contribution{fill:#41729f}
.cvp-fixed{fill:#d9a847}
.cvp-profit{fill:#4f7f4a}
.cvp-loss{fill:#a52b35}
.cvp-baseline{stroke:#8ba0b6;stroke-width:1.5}
.cvp-value{font-size:12px;font-weight:800;fill:#10294b}
.cvp-value.cvp-dim{fill:#5c7184;font-weight:700}
.cvp-value.cvp-profit-text{fill:#2e5c2a}
.cvp-value.cvp-loss-text{fill:#a52b35}
.cvp-name{font-size:10px;font-weight:700;letter-spacing:.6px;fill:#7a8eaa;text-transform:uppercase}
@media (prefers-color-scheme: dark){
  .cvp-scene{background:#10233c;border-color:#2c3a4c}
  .cvp-revenue{fill:#2b598c}
  .cvp-variable{fill:#5c86b5}
  .cvp-contribution{fill:#41729f}
  .cvp-fixed{fill:#b0851f}
  .cvp-profit{fill:#4f7f4a}
  .cvp-loss{fill:#a52b35}
  .cvp-baseline{stroke:#5c7184}
  .cvp-value{fill:#d5dfe9}
  .cvp-value.cvp-dim{fill:#8fa3b8}
  .cvp-value.cvp-profit-text{fill:#9fd09a}
  .cvp-value.cvp-loss-text{fill:#e8a5a0}
  .cvp-name{fill:#8fa3b8}
}

/* ── COSMURO-UX-003 milestone 2 — U08 loan page (scoped to .loan-page / .loan-scene) ── */
.loan-page .control-pane{background:#fff}
.loan-page .result-text{font-size:30px;letter-spacing:-1px}
.loan-page .result-panel{border-left:4px solid #1a3a6b;background:linear-gradient(180deg,#ffffff,#f4f8fc)}
.loan-page .control-note{text-align:left}
.loan-scene{margin-top:14px;background:linear-gradient(180deg,#ffffff,#f5f9fc);border:1px solid #d5e2ee;border-radius:12px;padding:14px 16px 10px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.loan-svg{width:100%;height:auto;display:block}
.loan-svg rect{transition:y .45s cubic-bezier(.22,.68,.32,1.02),height .45s cubic-bezier(.22,.68,.32,1.02)}
.loan-bar-principal{fill:#1a3a6b}
.loan-bar-interest{fill:#d9a847}
.loan-grid{stroke:#e2eaf1;stroke-width:1}
.loan-grid-label{font-size:9px;fill:#8fa3b8}
.loan-axis-label{font-size:10px;font-weight:700;fill:#7a8eaa}
.loan-balance{fill:none;stroke:#b0851f;stroke-width:2.5;stroke-linejoin:round}
.loan-balance-label{font-size:9px;fill:#8a6516}
.loan-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.loan-legend-item{font-size:11px;font-weight:700;color:#4c6380;display:inline-flex;align-items:center;gap:6px}
.loan-legend-item::before{content:'';width:10px;height:10px;border-radius:3px;display:inline-block}
.loan-legend-principal::before{background:#1a3a6b}
.loan-legend-interest::before{background:#d9a847}
.loan-legend-balance::before{background:#b0851f;border-radius:50%}
/* whitewarbler-inspired (original): numbered circular markers for the how-to steps, scoped to the loan page */
.loan-page .howto ol{counter-reset:step;list-style:none;padding-left:0}
.loan-page .howto li{counter-increment:step;display:flex;gap:12px;align-items:flex-start;line-height:1.7;padding:6px 0}
.loan-page .howto li::before{content:counter(step);flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#1a3a6b;color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}
@media (prefers-color-scheme: dark){
  .loan-scene{background:#10233c;border-color:#2c3a4c}
  .loan-page .result-panel{background:linear-gradient(180deg,#10233c,#0d1e35);border-left-color:#5c86b5}
  .loan-page .result-text{color:#d5dfe9}
  .loan-bar-principal{fill:#5c86b5}
  .loan-bar-interest{fill:#b0851f}
  .loan-grid{stroke:#2c3a4c}
  .loan-grid-label{fill:#6f859c}
  .loan-axis-label{fill:#8fa3b8}
  .loan-balance{stroke:#d9a847}
  .loan-balance-label{fill:#d9a847}
  .loan-legend-item{color:#a9bcce}
  .loan-page .howto li::before{background:#2b598c}
}

/* ── COSMURO-UX-003 refinement — dimensional waterfall + polished loan chart ── */
.cvp-topface,.cvp-sideface{transition:y .45s cubic-bezier(.22,.68,.32,1.02),height .45s cubic-bezier(.22,.68,.32,1.02)}
.cvp-svg{filter:drop-shadow(0 10px 18px #1737581c)}
.loan-svg .loan-crossover-dot{fill:#d9a847;stroke:#fff;stroke-width:1.5}
.loan-svg .loan-crossover-label{font-size:10px;font-weight:700;fill:#8a6516}
@media (prefers-color-scheme: dark){
  .loan-svg .loan-crossover-label{fill:#d9a847}
  .cvp-svg{filter:drop-shadow(0 10px 18px #00000066)}
}

/* ── COSMURO-UX-003 milestone 3 — U25 reference-informed page composition (scoped: body[data-page] + .profit-page) ── */
body[data-page="calculators/U25-business-profitability"] .tool-masthead{background:linear-gradient(180deg,#12294e,#1a3a6b);border-bottom:3px solid #f3c95d}
body[data-page="calculators/U25-business-profitability"] .tool-masthead h1{color:#fff}
body[data-page="calculators/U25-business-profitability"] .tool-masthead p{color:#c6d5e4}
body[data-page="calculators/U25-business-profitability"] .breadcrumbs{color:#9fb4c9}
body[data-page="calculators/U25-business-profitability"] .breadcrumbs a{color:#f3c95d}
body[data-page="calculators/U25-business-profitability"] .stamp{border-color:#f3c95d;color:#e8cfd9}
body[data-page="calculators/U25-business-profitability"] .stamp b{color:#f3c95d}
body[data-page="calculators/U25-business-profitability"] .eyebrow{color:#f3c95d}
.profit-scroll-cue{margin-top:2px;background:none;border:2px solid #f3c95d;color:#f3c95d;width:44px;height:44px;border-radius:50%;font-size:18px;cursor:pointer;display:grid;place-items:center;animation:profit-cue 2.2s ease-in-out infinite}
.profit-scroll-cue:hover{background:#f3c95d;color:#12294e}
@keyframes profit-cue{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
.profit-page .result-text{font-size:30px}
.profit-page .result-panel{background:linear-gradient(180deg,#ffffff,#eef4fa);border-left:5px solid #f3c95d;border-radius:12px;box-shadow:0 8px 20px #1737581a}
.profit-page .control-pane{background:#fff}
.profit-page .display-pane{background:#f0f5f9}
.cvp-ground-shadow{fill:#10294b;opacity:.14}
.cvp-svg .cvp-value{font-size:13px}
.cvp-svg .cvp-name{font-size:11px;letter-spacing:1px}
.cvp-svg .cvp-baseline{stroke:#f3c95d;stroke-width:2}
@media (max-width:740px){
  body[data-page="calculators/U25-business-profitability"] .tool-masthead h1{font-size:30px}
  .cvp-scene{padding:10px 8px}
  .cvp-svg .cvp-value{font-size:11px}
  .profit-scroll-cue{width:38px;height:38px}
}
@media (prefers-color-scheme: dark){
  body[data-page="calculators/U25-business-profitability"] .tool-masthead{background:linear-gradient(180deg,#0d1e35,#12294e)}
  .profit-page .result-panel{background:linear-gradient(180deg,#10233c,#0d1e35)}
  .profit-page .result-text{color:#d5dfe9}
}

/* ── COSMURO-UX-003 milestone 3 — coin-flow scene (original dimensional business scene) ── */
.coin-scene{margin-top:12px;background:linear-gradient(180deg,#f0f5fa,#f8fbfd);border:1px solid #d5e2ee;border-radius:12px;padding:12px 14px 6px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.coin-svg{width:100%;height:auto;display:block}
.coin-svg .coin-body,.coin-svg .coin-discs,.coin-svg .coin-top{transition:y .5s cubic-bezier(.22,.68,.32,1.02),height .5s cubic-bezier(.22,.68,.32,1.02),cy .5s cubic-bezier(.22,.68,.32,1.02),fill .4s ease}
.coin-lane{stroke:#f3c95d;stroke-width:1.5;stroke-dasharray:5 4;opacity:.8}
.coin-shadow{fill:#10294b;opacity:.14}
.coin-disc-line{fill:#ffffff;opacity:.28}
.coin-top-REVENUE{fill:#4a7ab5}
.coin-top-VARIABLE{fill:#c9dcef}
.coin-top-FIXED{fill:#f0d488}
.coin-top-PROFIT{fill:#6fa06a}
.coin-top-PROFIT.loan-x{fill:#6fa06a}
.coin-value{font-size:12px;font-weight:800;fill:#10294b}
.coin-label{font-size:9.5px;font-weight:700;letter-spacing:.8px;fill:#7a8eaa}
@media (prefers-color-scheme: dark){
  .coin-scene{background:#10233c;border-color:#2c3a4c}
  .coin-scene .scene-gauge-title{color:#a9bcce}
  .coin-lane{stroke:#f3c95d99}
  .coin-shadow{fill:#000000;opacity:.4}
  .coin-disc-line{fill:#ffffff;opacity:.18}
  .coin-top-REVENUE{fill:#4a7ab5}
  .coin-top-VARIABLE{fill:#7fa5cc}
  .coin-top-FIXED{fill:#d9a847}
  .coin-top-PROFIT{fill:#579252}
  .coin-value{fill:#d5dfe9}
  .coin-label{fill:#8fa3b8}
}

/* ── COSMURO-COMPOUND-001 — U33 compound interest page (scoped to .compound-page / .growth-scene) ── */
.compound-page .result-panel{border-left:4px solid #1a3a6b;background:linear-gradient(180deg,#ffffff,#f4f8fc)}
.compound-page .result-text{font-size:30px;letter-spacing:-1px}
.compound-page .control-note{text-align:left}
.growth-scene{margin-top:14px;background:linear-gradient(180deg,#ffffff,#f5f9fc);border:1px solid #d5e2ee;border-radius:12px;padding:14px 16px 10px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.growth-svg{width:100%;height:auto;display:block;filter:drop-shadow(0 8px 14px #17375814)}
.growth-area{fill:#2e62a8;fill-opacity:.18}
.growth-balance-line{fill:none;stroke:#1a3a6b;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.growth-contrib-line{fill:none;stroke:#b0851f;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:5 4}
.growth-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.growth-legend-item{font-size:11px;font-weight:700;color:#4c6380;display:inline-flex;align-items:center;gap:6px}
.growth-legend-item::before{content:'';width:10px;height:10px;border-radius:3px;display:inline-block}
.growth-legend-balance::before{background:#1a3a6b}
.growth-legend-contrib::before{background:repeating-linear-gradient(90deg,#b0851f 0 4px,transparent 4px 7px)}
@media (prefers-color-scheme: dark){
  .compound-page .result-panel{background:linear-gradient(180deg,#10233c,#0d1e35);border-left-color:#5c86b5}
  .compound-page .result-text{color:#d5dfe9}
  .growth-scene{background:#10233c;border-color:#2c3a4c}
  .growth-svg{filter:drop-shadow(0 8px 14px #00000066)}
  .growth-area{fill:#5c86b5;fill-opacity:.22}
  .growth-balance-line{stroke:#7fa8d0}
  .growth-contrib-line{stroke:#d9a847}
  .growth-legend-item{color:#a9bcce}
}

/* ── COSMURO-HOLIDAY-VISUAL-001 — Celebration Studio festive revision ───
   Approved Founder revision (prototype integrated into the existing holiday
   family): festive wallpaper, CSS-drawn tree, confetti win celebration,
   party challenges and icebreakers. Everything scoped under .holiday-* /
   .confetti-* classes; CSP-safe (per-piece values applied via CSSOM, no
   inline style attributes); skipped entirely under reduced motion. */

/* Festive wallpaper: soft snow-dot glow behind the holiday mastheads. */
.holiday-masthead{position:relative;isolation:isolate}
/* The celebration workbench spans the full card width (the frame previously
   sat in one grid column, leaving half the workbench empty in production). */
.holiday-scope .holiday-frame{grid-column:1/-1}
.holiday-masthead::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:
  radial-gradient(circle at 6% 18%,#f4c85a33 0 3px,transparent 4px),
  radial-gradient(circle at 22% 72%,#7a3a5226 0 2px,transparent 3px),
  radial-gradient(circle at 38% 24%,#92bdd14d 0 4px,transparent 5px),
  radial-gradient(circle at 55% 78%,#f4c85a2b 0 3px,transparent 4px),
  radial-gradient(circle at 72% 18%,#92bdd142 0 2px,transparent 3px),
  radial-gradient(circle at 88% 60%,#eb9c8633 0 3px,transparent 4px),
  radial-gradient(circle at 94% 12%,#2e7a5830 0 3px,transparent 4px),
  radial-gradient(circle at 14% 44%,#eb9c8626 0 2px,transparent 3px)}

/* Decorative CSS-drawn tree inside the masthead stamp (aria-hidden, no
   assets; hides with the stamp below 740px). */
.holiday-tree{position:relative;width:34px;height:34px;display:block;flex:none;margin:0 auto}
.holiday-tree .tier{position:absolute;left:50%;width:0;height:0;border-style:solid;border-color:transparent;transform:translateX(-50%)}
.holiday-tree .t1{top:0;border-left-width:8px;border-right-width:8px;border-bottom:12px solid #2e6b4f}
.holiday-tree .t2{top:7px;border-left-width:11px;border-right-width:11px;border-bottom:13px solid #35785a}
.holiday-tree .t3{top:15px;border-left-width:14px;border-right-width:14px;border-bottom:14px solid #2e6b4f}
.holiday-tree .trunk{position:absolute;left:50%;top:28px;transform:translateX(-50%);width:6px;height:6px;background:#8a5a33;border-radius:1px}
.holiday-tree .star{position:absolute;left:50%;top:-5px;transform:translateX(-50%);width:10px;height:10px;background:#f4c85a;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);animation:star-twinkle 2.4s ease-in-out infinite}
.holiday-tree .t1::after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#e05252;top:6px;left:-2px}
.holiday-tree .t2::after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#f4c85a;top:7px;left:-3px}
.holiday-tree .t3::after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#92bdd1;top:8px;left:-4px;box-shadow:7px 3px 0 0 #e05252}
@keyframes star-twinkle{0%,100%{opacity:1}50%{opacity:.45}}
@media (prefers-reduced-motion: reduce){.holiday-tree .star{animation:none}}

/* Gold centre medallion on the celebration wheel (scoped to holiday pages). */
.holiday-scope .wheel-center{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;background:#fff;border:7px solid #f4c85a;box-shadow:0 3px 8px #15315d33;pointer-events:none}

/* Confetti win celebration (decorative; host is aria-hidden, fixed overlay). */
.confetti-host{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:60}
.confetti-piece{position:absolute;top:-24px;width:9px;height:14px;border-radius:2px;animation:confetti-fall 1.6s ease-in forwards;box-shadow:0 1px 2px #00000030}
@keyframes confetti-fall{to{transform:translate3d(var(--dx,0px),110vh,0) rotate(var(--rot,540deg));opacity:0}}
@media (prefers-reduced-motion: reduce){.confetti-piece{animation:none;opacity:0}}

/* More ways to play: party challenge + conversation starter cards. */
.holiday-extras{grid-column:1/-1;display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 0 22px;border-top:1px solid #e0e8f0;align-items:start}
@media(max-width:740px){.holiday-extras{grid-template-columns:1fr}}
/* The title sits on the shared white workspace shell in BOTH themes (the
   dark scheme restyles card interiors, not the shell), so it uses a
   shell-readable ink; the dark block below restyles only card-internal text. */
.holiday-extras-title{grid-column:1/-1;font-size:11px;letter-spacing:1.6px;font-weight:830;color:#52647b;margin:0}
.holiday-extra-card{background:#fff;border:1px solid #d0d8e0;border-radius:10px;padding:16px;min-width:0}
.holiday-extra-card h3{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#2a3a4a;margin:0 0 8px}
.holiday-extra-note{font-size:12px;color:#67788c;margin:0 0 12px}
.holiday-challenge-out{font-size:14px;font-weight:700;color:#1a2a3a;background:#f4f8fc;border:1px dashed #b8c6d4;border-radius:8px;padding:12px 14px;min-height:64px;display:flex;align-items:center;margin:0 0 12px;line-height:1.5}
.holiday-extra-card .button{min-width:0}

@media (prefers-color-scheme: dark){
  /* Dark-scheme text fixes for the holiday masthead (h1, breadcrumbs and
     stamp previously kept light-theme navy ink on the dark masthead band). */
  .holiday-masthead h1{color:#eef4fa}
  .holiday-masthead .breadcrumbs{color:#a9bcce}
  .holiday-masthead .breadcrumbs a{color:#7fa8d0}
  .holiday-masthead .stamp{color:#a9bcce;border-color:#3a4a5e}
  .holiday-masthead .stamp b{color:#f4c85a}
  .holiday-masthead::before{background:
    radial-gradient(circle at 6% 18%,#f4c85a3d 0 3px,transparent 4px),
    radial-gradient(circle at 22% 72%,#c86a8430 0 2px,transparent 3px),
    radial-gradient(circle at 38% 24%,#92bdd14d 0 4px,transparent 5px),
    radial-gradient(circle at 55% 78%,#f4c85a33 0 3px,transparent 4px),
    radial-gradient(circle at 72% 18%,#92bdd147 0 2px,transparent 3px),
    radial-gradient(circle at 88% 60%,#eb9c863a 0 3px,transparent 4px),
    radial-gradient(circle at 94% 12%,#57a87733 0 3px,transparent 4px),
    radial-gradient(circle at 14% 44%,#eb9c8630 0 2px,transparent 3px)}
  .holiday-scope .wheel-center{background:#16202e;border-color:#f4c85a;box-shadow:0 3px 8px #00000059}
  .holiday-extra-card{background:#16202e;border-color:#2c3a4c}
  .holiday-extra-card h3{color:#d5dfe9}
  .holiday-extra-note{color:#a9bcce}
  .holiday-challenge-out{background:#10233c;border-color:#3a4a5e;color:#d5dfe9}
}

@media print{
  .confetti-host,.holiday-extras{display:none !important}
  .holiday-masthead::before{display:none}
}
/* ── COSMURO-COMPOUND-001 follow-up — accessible yearly breakdown (scoped to .yearly-breakdown) ── */
.yearly-breakdown{margin-top:12px;background:linear-gradient(180deg,#ffffff,#f5f9fc);border:1px solid #d5e2ee;border-radius:12px;padding:4px 16px 8px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.yearly-breakdown summary{cursor:pointer;padding:8px 0;font-size:12px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#1a3a6b;list-style-position:outside}
.yearly-breakdown summary::marker{color:#b0851f}
.yearly-breakdown[open] summary{padding-bottom:4px}
.yearly-scroll{overflow-x:auto}
.yearly-breakdown table{width:100%;border-collapse:collapse;font-size:12px;min-width:430px}
.yearly-breakdown caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.yearly-breakdown th,.yearly-breakdown td{padding:6px 8px;text-align:right;border-top:1px solid #e4eaf1;font-variant-numeric:tabular-nums;white-space:nowrap}
.yearly-breakdown thead th{color:#8fa3b8;font-size:10px;text-transform:uppercase;letter-spacing:.5px;border-top:0}
.yearly-breakdown tbody th{text-align:left;font-weight:700;color:#4c6380}
.yearly-breakdown tbody tr:last-child td,.yearly-breakdown tbody tr:last-child th{font-weight:800}
@media (prefers-color-scheme: dark){
  .yearly-breakdown{background:#10233c;border-color:#2c3a4c}
  .yearly-breakdown summary{color:#a9bcce}
  .yearly-breakdown th,.yearly-breakdown td{border-color:#2c3a4c}
  .yearly-breakdown thead th{color:#6f859c}
  .yearly-breakdown tbody th{color:#a9bcce}
  .yearly-breakdown td{color:#d5dfe9}
}

/* ── COSMURO-COIN-VISUAL-001 — dimensional coin toss (edge thickness, toss choreography, moving highlight, height shadow) ── */
/* Scoped to the existing .coin3d/.coin-face/.coin-stage contract; per-mint colours reuse the --coin-* variables. */
.coin-stage{position:relative}
.coin-face{transform:translateZ(6.5px)}
.coin-face.coin-tails{transform:rotateY(180deg) translateZ(6.5px)}
/* Ridged edge: a cylinder of 28 reeded segments filling the 13px thickness between the faces. */
.coin-edge{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
.coin-edge span{position:absolute;top:50%;left:50%;width:25px;height:13px;margin:-6.5px 0 0 -12.5px;border-radius:2px;
  background:
    repeating-linear-gradient(90deg,var(--coin-hi) 0 1.6px,var(--coin-lo) 1.6px 3.2px,var(--coin-mid) 3.2px 4.6px),
    linear-gradient(180deg,var(--coin-edge),var(--coin-lo));
  background-blend-mode:multiply;
  box-shadow:inset 0 1px 1px #ffffff59,inset 0 -1px 1px #00000038;
  backface-visibility:hidden;-webkit-backface-visibility:hidden}
/* Ground shadow: responds to toss height (animated via WAAPI alongside the flight). */
.coin-shadow{position:absolute;left:50%;bottom:-4px;width:158px;height:24px;border-radius:50%;transform:translateX(-50%);
  background:radial-gradient(ellipse at center,#233c5c4d,#233c5c00 68%);opacity:.32;pointer-events:none}
/* Moving specular sweep: traverses the coin during flight (opacity peaks mid-air). */
.coin-sheen{position:absolute;inset:-6%;border-radius:50%;z-index:7;pointer-events:none;
  background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.62) 46%,rgba(255,255,255,.18) 53%,transparent 68%);
  transform:translateX(-130%);opacity:0}
@media (prefers-color-scheme: dark){
  .coin-shadow{background:radial-gradient(ellipse at center,#00000085,#00000000 68%)}
  .coin-sheen{background:linear-gradient(115deg,transparent 32%,rgba(255,255,255,.34) 46%,rgba(255,255,255,.1) 53%,transparent 68%)}
  .coin-edge span{box-shadow:inset 0 1px 1px #ffffff2e,inset 0 -1px 1px #00000066}
}
/* ── FORGE-ENGTOOLS-002 — /engineering/ collection hub (scoped identity; approved tokens) ── */
.eng-hub .tool-masthead, .eng-hub{background-image:linear-gradient(180deg,#f6f8fb,#eef3f8),repeating-linear-gradient(0deg,#1737580d 0 1px,transparent 1px 28px),repeating-linear-gradient(90deg,#1737580d 0 1px,transparent 1px 28px)}
.eng-group .section-top{border-top:1px solid var(--line)}
.eng-group:first-of-type .section-top{border-top:0}
.eng-group .count{color:#4c6380;font-weight:800;letter-spacing:1.4px;font-size:10px}
/* Dark scheme: the hub surfaces stay light like the other family landings (site convention);
   the navy count badge and headings remain readable on the light section background. */

/* ── COSMURO-COIN-VISUAL-001 R2 revision — minted-metal material (design brief: lighting, not decoration) ── */
/* 1. Face: layered metal field + bevel (highlight top-left, occlusion bottom-right, rim-adjacent contact shade). */
.coin-face{
  background-image:
    conic-gradient(from 210deg at 50% 42%, rgba(255,255,255,.10), rgba(255,255,255,0) 22%, rgba(0,0,0,.06) 50%, rgba(0,0,0,0) 74%, rgba(255,255,255,.08)),
    repeating-linear-gradient(105deg, rgba(255,255,255,.045) 0 2px, rgba(0,0,0,.035) 2px 4px),
    radial-gradient(circle at 35% 30%, var(--coin-hi), var(--coin-mid) 55%, var(--coin-lo));
  box-shadow:
    inset 0 0 0 5px var(--coin-rim),
    inset 0 10px 16px rgba(255,255,255,.7),
    inset 0 -12px 18px rgba(0,0,0,.28),
    inset 0 0 6px rgba(0,0,0,.12),
    0 15px 33px #a3752244;
}
.coin-face::after{opacity:.55}
/* 2. Raised rim: the old dashed circle becomes a solid minted ring with a top-light bevel. */
.coin-rim{
  inset:10px;border:4px solid var(--coin-edge);opacity:1;
  background:linear-gradient(180deg, rgba(255,255,255,.30), rgba(0,0,0,.16));
  box-shadow:
    inset 0 2px 3px var(--coin-hi),
    inset 0 -2px 3px var(--coin-lo),
    0 1px 2px rgba(0,0,0,.30),
    inset 0 0 0 1px rgba(0,0,0,.14);
}
/* 3. Edge: milled reeding under light — alternate tooth brightness; deeper shade at the strip bottom. */
.coin-edge span{
  background-image:
    repeating-linear-gradient(90deg, var(--coin-hi) 0 1.6px, var(--coin-lo) 1.6px 3.2px, var(--coin-mid) 3.2px 4.6px),
    linear-gradient(180deg, var(--coin-hi), var(--coin-edge) 45%, var(--coin-lo));
  background-blend-mode:multiply;
}
.coin-edge span:nth-child(odd){filter:brightness(1.14)}
.coin-edge span:nth-child(even){filter:brightness(.88)}
/* 4. Sheen: narrow specular hot core inside the broad band (fog band reduced). */
.coin-sheen{
  background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.35) 42%, rgba(255,255,255,.98) 47%, rgba(255,255,255,.35) 51%, rgba(255,255,255,0) 62%);
}
.coin3d::before{opacity:.5}
/* 6. Dark theme: same variables, deeper contrast + dimmer core (site convention: chrome stays light). */
@media (prefers-color-scheme: dark){
  .coin-face{box-shadow:inset 0 0 0 5px var(--coin-rim),inset 0 10px 16px rgba(255,255,255,.5),inset 0 -12px 18px rgba(0,0,0,.5),inset 0 0 6px rgba(0,0,0,.3),0 15px 33px #00000066}
  .coin-rim{background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,.3))}
  .coin-sheen{background:linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.22) 42%, rgba(255,255,255,.6) 47%, rgba(255,255,255,.22) 51%, rgba(255,255,255,0) 62%)}
}


/* ── COSMURO-ENGINEERING-VISUAL-BATCH-001 - scene upgrades (materials, depth, honest scales) ── */
.solar-scene-r2{position:relative;overflow:hidden;background:linear-gradient(180deg,#eaf3fb,#f6fafd);border:1px solid #d5e2ee;border-radius:12px;padding:14px 16px 12px}
.solar-sky{position:absolute;inset:0 0 34% 0;background:linear-gradient(180deg,#d8e9f8,#eef5fb);pointer-events:none}
.solar-ground{position:absolute;inset:66% 0 0 0;background:linear-gradient(180deg,#dfe9d9,#d0dec6);pointer-events:none}
.solar-scene-r2 > *{position:relative}
.solar-panel{width:26px;height:17px;transform:perspective(160px) rotateX(26deg);border-radius:2px;background:linear-gradient(145deg,#27507f,#122c4e);box-shadow:inset 0 1px 0 #5a7ea6,inset 0 -1px 0 #0a1c33,0 3px 5px #10294b40}
.solar-panel i{position:absolute;inset:1px;background:repeating-linear-gradient(90deg,#3a6291 0 2px,#27507f 2px 4px)}
.solar-panels-two-row{display:grid;grid-template-columns:repeat(12,auto);gap:4px 4px;justify-content:start}
.solar-cap-chip{font-size:10px;font-weight:800;color:#5a6d84;background:#e4edf6;border:1px solid #cbd9e6;border-radius:9px;padding:2px 8px;align-self:center}
.solar-relation{font-size:10.5px;font-weight:800;border-radius:8px;padding:2px 8px;margin-left:8px;white-space:nowrap}
.solar-surplus{color:#2e6b34;background:#e2f2e4}
.solar-deficit{color:#9a3530;background:#f7e5e3}
.solar-bar{transition:width .45s cubic-bezier(.22,.68,.32,1.02)}
.ups-battery-r2{height:34px;border-radius:10px}
.ups-tick{position:absolute;top:0;bottom:0;width:1px;background:#10294b2e;pointer-events:none}
.ups-fill-low{background:linear-gradient(180deg,#e08a84,#c25a54)}
.ups-target-marker{position:absolute;top:-4px;bottom:-4px;width:3px;border-radius:2px;background:#10294b;box-shadow:0 0 0 2px #ffffffcc}
.ups-scale{display:flex;justify-content:space-between;font-size:9.5px;color:#8295a8;margin:6px 6px 0}
.ups-battery-fill{transition:width .45s cubic-bezier(.22,.68,.32,1.02)}
.gen-start-block{position:absolute;top:3px;bottom:3px;border-radius:6px;background:linear-gradient(180deg,#f3c95d,#d9a847);box-shadow:inset 0 1px 0 #fff3c6,0 1px 2px #10294b40;transition:left .45s cubic-bezier(.22,.68,.32,1.02),width .45s cubic-bezier(.22,.68,.32,1.02)}
.gen-cap-line{position:absolute;top:-3px;bottom:-3px;width:2px;background:#10294b;opacity:.55}
.gen-fill{transition:width .45s cubic-bezier(.22,.68,.32,1.02)}
.roi-journey{width:100%;height:auto;display:block;margin:2px 0 10px}
.roi-axis{stroke:#c9d6e2;stroke-width:1.5}
.roi-cost-line{stroke:#9a3530;stroke-width:2;stroke-dasharray:6 4}
.roi-benefit-line{stroke:#1a3a6b;stroke-width:2.5;stroke-linecap:round}
.roi-breakeven-dot{fill:#b0851f;stroke:#fff;stroke-width:2}
.roi-tick{font-size:10px;fill:#8295a8}
.roi-cost-label{font-size:10px;font-weight:700;fill:#9a3530}
.roi-benefit-label{font-size:10px;font-weight:700;fill:#1a3a6b}
.roi-breakeven-label{font-size:10.5px;font-weight:800;fill:#8a6516}
@media (prefers-color-scheme: dark){
  .solar-scene-r2{background:linear-gradient(180deg,#0d1e35,#10233c);border-color:#2c3a4c}
  .solar-sky{background:linear-gradient(180deg,#10233c,#16324e)}
  .solar-ground{background:linear-gradient(180deg,#16324e,#12283e)}
  .solar-cap-chip{color:#a9bcce;background:#16324e;border-color:#2c3a4c}
  .solar-surplus{color:#8fce97;background:#12331c}
  .solar-deficit{color:#e5a39e;background:#3a1a18}
  .ups-scale{color:#6f859c}
  .gen-start-block{background:linear-gradient(180deg,#f3c95d,#b0851f)}
  .gen-cap-line{background:#d5dfe9}
  .roi-axis{stroke:#2c3a4c}
  .roi-cost-line{stroke:#e5a39e}
  .roi-benefit-line{stroke:#8fb4d8}
  .roi-tick{fill:#6f859c}
  .roi-cost-label{fill:#e5a39e}
  .roi-benefit-label{fill:#8fb4d8}
  .roi-breakeven-label{fill:#d9a847}
}

/* ── COSMURO-TOOLS-BATCH-NEXT-001 - four investing calculators (scoped scene styling) ── */
.inv-scene{margin-top:14px;background:linear-gradient(180deg,#ffffff,#f5f9fc);border:1px solid #d5e2ee;border-radius:12px;padding:14px 16px 10px;box-shadow:0 6px 16px #17375814,inset 0 1px 0 #ffffff}
.inv-svg{width:100%;height:auto;display:block}
.sg-target-line{stroke:#9a3530;stroke-width:2;stroke-dasharray:6 4}
.sg-target-label{font-size:10px;font-weight:700;fill:#9a3530}
.sg-tick{font-size:10px;fill:#8295a8}
.sg-area{fill:#2e62a8;fill-opacity:.15}
.sg-line{fill:none;stroke:#1a3a6b;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.sg-end-dot{fill:#1a3a6b;stroke:#fff;stroke-width:1.5}
.sg-end-label{font-size:11px;font-weight:800;fill:#1a3a6b}
.ifl-area-f{fill:#f3c95d;fill-opacity:.20}
.ifl-line-f{fill:none;stroke:#b0851f;stroke-width:2.5;stroke-linecap:round}
.ifl-line-p{fill:none;stroke:#9a3530;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:5 4}
.ifl-label-f{font-size:10.5px;font-weight:800;fill:#8a6516}
.ifl-label-p{font-size:10.5px;font-weight:800;fill:#9a3530}
.ifl-label-t{font-size:10.5px;font-weight:700;fill:#4c6380}
.cg-axis{stroke:#c9d6e2;stroke-width:1.5}
.cg-line{fill:none;stroke-width:2.5;stroke-linecap:round}
.cg-up{stroke:#1a3a6b}
.cg-down{stroke:#9a3530}
.cg-dot-start{fill:#5a7396;stroke:#fff;stroke-width:1.5}
.cg-dot-end{fill:#b0851f;stroke:#fff;stroke-width:1.5}
.cg-label{font-size:10.5px;font-weight:700;fill:#4c6380}
.fe-drag{fill:#9a3530;fill-opacity:.12}
.fe-line-g{fill:none;stroke:#1a3a6b;stroke-width:2.5;stroke-linecap:round}
.fe-line-n{fill:none;stroke:#b0851f;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:6 4}
.fe-label-g{font-size:10.5px;font-weight:800;fill:#1a3a6b}
.fe-label-n{font-size:10.5px;font-weight:800;fill:#8a6516}
@media (prefers-color-scheme: dark){
  .inv-scene{background:#10233c;border-color:#2c3a4c}
  .sg-target-line{stroke:#e5a39e}
  .sg-target-label{fill:#e5a39e}
  .sg-tick{fill:#6f859c}
  .sg-area{fill:#5c86b5;fill-opacity:.20}
  .sg-line{stroke:#8fb4d8}
  .sg-end-dot{fill:#8fb4d8;stroke:#10233c}
  .sg-end-label{fill:#8fb4d8}
  .ifl-area-f{fill:#b0851f;fill-opacity:.22}
  .ifl-line-f{stroke:#d9a847}
  .ifl-line-p{stroke:#e5a39e}
  .ifl-label-f{fill:#d9a847}
  .ifl-label-p{fill:#e5a39e}
  .ifl-label-t{fill:#a9bcce}
  .cg-axis{stroke:#2c3a4c}
  .cg-up{stroke:#8fb4d8}
  .cg-down{stroke:#e5a39e}
  .cg-dot-start{fill:#6f859c;stroke:#10233c}
  .cg-dot-end{fill:#d9a847;stroke:#10233c}
  .cg-label{fill:#a9bcce}
  .fe-drag{fill:#e5a39e;fill-opacity:.14}
  .fe-line-g{stroke:#8fb4d8}
  .fe-line-n{stroke:#d9a847}
  .fe-label-g{fill:#8fb4d8}
  .fe-label-n{fill:#d9a847}
}


/* ── COSMURO-BOOKS-001 — Cosmuro Books pages (catalog / landing / Living Reader / updates).
   Scoped .bk-* classes; existing Cosmuro tokens; light/dark; reduced motion honored. ── */
.bk-nav{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0 6px;font-size:12px;font-weight:700}
.bk-nav a{color:#4c6380;text-decoration:none;padding:4px 10px;border-radius:8px}
.bk-nav a:hover{background:#eef3f8;color:#1a3a6b}
.bk-nav a.bk-nav-active{background:#1a3a6b;color:#fff}
.bk-eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:800;color:#8899ab;margin-bottom:10px}
.bk-hero{background:linear-gradient(180deg,#f6f8fb,#eef3f8);border-bottom:1px solid #dfe6ee;padding:64px 0 56px}
.bk-hero h1,.bk-hero-v1 h1{font-size:clamp(34px,4.6vw,54px);letter-spacing:-1.5px;margin:10px 0 14px;color:#13294b}
.bk-hero p{max-width:640px;color:#65768c;font-size:16px;line-height:1.65}
.bk-author-line{font-weight:700;color:#274d80}
.bk-catalog,.bk-note,.bk-chapters,.bk-updates,.bk-reader-head,.bk-updates-head{padding:52px 0}
.bk-catalog h2,.bk-note h2,.bk-chapters h2,.bk-updates-head h1,.bk-reader-head h1{letter-spacing:-1px}
.bk-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-top:18px}
.bk-card{background:#fff;border:1px solid #dfe6ee;border-radius:16px;padding:24px;box-shadow:0 10px 24px #1737580d}
.bk-card h2{font-size:22px;letter-spacing:-.5px;margin:8px 0 6px;color:#13294b}
.bk-card p{color:#65768c;font-size:14px;line-height:1.6}
.bk-author{font-size:12px;font-weight:700;color:#274d80}
.bk-states{list-style:none;padding:14px 0;display:grid;gap:6px}
.bk-states li{display:flex;justify-content:space-between;font-size:12px;color:#52647b}
.bk-k{font-weight:700}
.bk-state{font-weight:800;font-size:11px;padding:2px 8px;border-radius:9px}
.bk-state-coming{color:#52647b;background:#eef1f5}
.bk-state-candidate{color:#8a6516;background:#f9efd4}
.bk-state-beta{color:#1a3a6b;background:#e2ecf6}
.bk-cta{display:inline-block;margin-top:12px;font-weight:800;color:#1a3a6b;text-decoration:none;font-size:14px}
.bk-cta:hover{text-decoration:underline}
.bk-editions{display:grid;gap:12px;max-width:620px;margin:22px 0}
.bk-edition{background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:16px 18px;display:grid;gap:4px;box-shadow:0 8px 18px #1737580d}
.bk-edition-k{font-weight:800;font-size:13px;color:#13294b}
.bk-edition-v{font-size:12.5px;color:#65768c}
.bk-buy-note{margin-top:18px;font-size:12px;color:#8a2f2a;background:#f9efee;border:1px solid #ecd3d1;border-radius:10px;padding:12px 14px;max-width:620px}
.bk-reader{display:grid;grid-template-columns:1fr;gap:20px;padding:44px 0}
.bk-depth{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:14px 16px}
.bk-depth-k{font-weight:800;font-size:12px;color:#4c6380;margin-right:6px}
.bk-depth label{display:inline-flex;gap:6px;align-items:center;font-size:13px;color:#274d80;background:#f2f6fa;border:1px solid #dbe5ef;border-radius:10px;padding:7px 12px;cursor:pointer}
.bk-depth input{accent-color:#1a3a6b}
.bk-depth input:checked + span{font-weight:800}
.bk-depth-note{font-size:11.5px;color:#65768c;margin:8px 0 0}
.bk-progress-wrap{background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:14px 16px;margin-top:12px}
.bk-progress-k{font-weight:800;font-size:12px;color:#4c6380;margin-right:8px}
.bk-progress{display:inline-block;vertical-align:middle;width:220px;height:10px;border-radius:6px;background:#e7edf4;margin:0 10px;overflow:hidden}
.bk-progress-fill{display:block;height:100%;background:linear-gradient(90deg,#1a3a6b,#2e62a8);width:0;transition:width .3s}
.bk-progress-v{font-size:12px;color:#52647b}
.bk-topic-table{width:100%;border-collapse:collapse;margin-top:12px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;overflow:hidden}
.bk-topic-table th{background:#f2f6fa;color:#4c6380;font-size:11px;letter-spacing:1px;text-align:left;padding:10px 12px}
.bk-topic-table td{padding:9px 12px;border-top:1px solid #eef1f5;font-size:13px}
.bk-topic-id{font-weight:800;color:#13294b;font-variant-numeric:tabular-nums}
.bk-topic-state{color:#52647b;font-size:11px;font-weight:800}
.bk-viewed td{opacity:.62}
.bk-viewed-toggle{font-size:11px;font-weight:700;color:#1a3a6b;background:#eef3f8;border:1px solid #d3e0ee;border-radius:8px;padding:4px 10px;cursor:pointer}
.bk-viewed .bk-viewed-toggle{background:#1a3a6b;color:#fff;border-color:#1a3a6b}
.bk-topic-note{font-size:12px;color:#65768c;margin-top:10px}
.bk-passport{display:inline-grid;gap:4px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:16px 20px;min-width:280px}
.bk-passport-k{font-size:11px;letter-spacing:1px;font-weight:800;color:#8899ab}
.bk-passport-v{font-size:15px;font-weight:800;color:#13294b}
.bk-ledger-empty{color:#65768c;font-size:13.5px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:18px}
.bk-state-live{color:#1e6b4a;background:#e2f3ea}
.bk-feature-states{list-style:none;margin:0;padding:12px 16px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;display:grid;gap:6px}
.bk-feature-states li{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#274d80}
.bk-feature-states .bk-state{padding:2px 8px;border-radius:999px;font-size:10.5px}
.bk-topic-row:target{outline:2px solid #2e62a8;outline-offset:-2px;background:#f2f7fd}
.bk-topic-action{white-space:nowrap}
/* Living journey (recovered Chapters 5-9 slice) - scoped .bk-j-* classes. */
.bk-journey{padding:26px 0 10px;border-top:1px dashed #dfe6ee}
.bk-j-head h2{font-size:clamp(24px,3vw,34px);letter-spacing:-1px;color:#13294b;margin:6px 0 8px}
.bk-j-head p{max-width:640px;color:#65768c;font-size:14.5px;line-height:1.6}
.bk-j-score-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.bk-j-score-k{font-size:12px;font-weight:800;color:#4c6380}
[data-journey-score]{font-size:15px;font-weight:800;color:#13294b;font-variant-numeric:tabular-nums}
.bk-j-meter{width:180px;height:8px;background:#e7edf4;border-radius:999px;overflow:hidden}
.bk-j-meter i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1a3a6b,#2e9d6b);transition:width .3s}
.bk-j-chapter{margin-top:26px}
.bk-j-chapter-no{font-size:11px;letter-spacing:1px;font-weight:800;color:#4c6380}
.bk-j-chapter-head h3{font-size:21px;color:#13294b;margin:6px 0 4px}
.bk-j-chapter-head p{color:#65768c;font-size:14px;max-width:680px}
.bk-j-card{position:relative;background:#fff;border:1px solid #dfe6ee;border-radius:14px;padding:16px;margin-top:12px}
.bk-j-topic{position:absolute;top:13px;right:14px;font-size:10px;color:#8899ab;font-weight:700;letter-spacing:.5px}
.bk-tag{display:inline-block;font-size:10px;font-weight:800;letter-spacing:1px;color:#8899ab;background:#f2f6fa;border:1px solid #dbe5ef;border-radius:999px;padding:3px 8px}
.bk-j-card h3{font-size:16.5px;color:#13294b;margin:8px 0 8px;max-width:70%}
.bk-j-btn{font:inherit;font-size:12.5px;font-weight:700;color:#1a3a6b;background:#eef3f8;border:1px solid #d3e0ee;border-radius:999px;padding:7px 13px;cursor:pointer;margin:3px 6px 3px 0}
.bk-j-btn:hover{background:#e2ecf7}
.bk-j-btn-primary{background:#1a3a6b;color:#fff;border-color:#1a3a6b}
.bk-j-btn-primary:hover{background:#254d8c}
.bk-j-btn:focus-visible,.bk-j-choice:focus-visible,.bk-j-step:focus-visible,.bk-viewed-toggle:focus-visible{outline:2px solid #2e62a8;outline-offset:2px}
.bk-j-stage{position:relative;border:1px solid #dfe6ee;border-radius:12px;background:#f7fafc;padding:14px;margin-top:10px;min-height:110px;overflow:hidden}
.bk-j-packet{position:absolute;left:4%;top:45%;width:16px;height:16px;border-radius:5px;background:linear-gradient(135deg,#5c9be0,#2e62a8);box-shadow:0 0 14px #2e62a866;transition:left .65s,top .5s;z-index:1}
.bk-j-flow{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.bk-j-node{min-height:64px;padding:8px 6px;border:1px solid #dbe5ef;border-radius:10px;text-align:center;background:#fff;font-size:12.5px;font-weight:700;color:#274d80}
.bk-j-node small{display:block;color:#65768c;font-weight:400;font-size:11px}
.bk-j-explain{margin-top:10px;padding:10px 12px;background:#f2f6fa;border:1px solid #e2ecf7;border-radius:10px;font-size:13px;color:#31445c}
.bk-j-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:8px}
.bk-j-choice{font:inherit;text-align:left;border:1px solid #d3e0ee;border-radius:10px;padding:10px 12px;background:#f7fafc;color:#1a2b40;cursor:pointer;font-size:12.5px}
.bk-j-choice.bk-good{border-color:#2e9d6b;background:#e9f7f0}
.bk-j-choice.bk-bad{border-color:#c0504d;background:#fbeaea}
.bk-j-choice.bk-active{border-color:#1a3a6b;background:#eef3f8}
.bk-j-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.bk-j-step{font:inherit;font-size:12px;font-weight:800;min-height:56px;border-radius:10px;border:1px solid #d3e0ee;background:#f7fafc;color:#274d80;cursor:pointer;padding:8px}
.bk-j-step.bk-active{border-color:#2e62a8;background:#e7f0fb;color:#12325e}
.bk-j-stack{display:grid;gap:7px;margin-top:8px}
.bk-j-layer{padding:10px 12px;border:1px solid #dbe5ef;border-radius:10px;background:#f7fafc;opacity:.35;transform:translateX(12px);transition:opacity .3s,transform .3s;font-size:13px;color:#31445c}
.bk-j-layer.on{opacity:1;transform:none}
.bk-j-map{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px}
.bk-j-seg{padding:12px 8px;border-radius:10px;border:1px solid #dbe5ef;background:#f7fafc;text-align:center;font-size:12.5px;font-weight:700;color:#274d80}
.bk-j-seg.bk-active{outline:2px solid #d9a847;outline-offset:-2px;background:#fdf6e7}
.bk-j-urlbox{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;padding:12px;border:1px solid #dbe5ef;border-radius:10px;background:#f7fafc;margin-top:8px;overflow-wrap:anywhere}
.bk-j-urlbox span{padding:2px 4px;border-radius:4px}
.bk-j-url-scheme{background:#e7f0fb}
.bk-j-url-domain{background:#dbe5ef}
.bk-j-url-path{background:#e9e3f5}
.bk-j-url-query{background:#f7ecd9}
.bk-j-handshake{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
.bk-j-endpoint{padding:12px;border:1px solid #dbe5ef;border-radius:10px;background:#f7fafc;text-align:center;font-size:12px;font-weight:800;color:#4c6380}
.bk-j-msg{margin:6px 0;padding:6px 8px;border-radius:8px;background:#e7f0fb;border:1px solid #d3e0ee;font-size:12.5px;font-weight:700;color:#12325e}
.bk-j-note{font-size:12px;color:#65768c;margin-top:8px}
.bk-j-mapping{font-size:11px;color:#8899ab;margin-top:8px;border-top:1px dashed #e2ecf7;padding-top:6px}
.bk-j-depth-text{border-left:4px solid #7a5fd0;background:#f5f2fb;border-radius:10px;padding:12px;margin-top:8px;font-size:13.5px;color:#3a2f63;min-height:44px}
.bk-reader-note,.bk-updates-note{max-width:640px;color:#65768c;font-size:14px;line-height:1.65}
.bk-updates-head,.bk-reader-head{padding:56px 0 30px}
.bk-updates{padding:10px 0 40px}
.bk-updates-head h1,.bk-reader-head h1{font-size:clamp(30px,3.8vw,44px);letter-spacing:-1px;color:#13294b;margin:8px 0 10px}
@media (prefers-color-scheme: dark){
  .bk-hero{border-color:#1c3a55}
  .bk-hero h1,.bk-hero-v1 h1{color:#e8eef5}
  .bk-hero p,.bk-card p,.bk-updates-note,.bk-reader-note,.bk-topic-note{color:#a9bcce}
  .bk-author-line,.bk-depth-k,.bk-progress-k,.bk-edition-k,.bk-passport-v{color:#d5e2ee}
  .bk-card,.bk-edition,.bk-depth,.bk-progress-wrap,.bk-topic-table,.bk-passport,.bk-ledger-empty{background:#10233c;border-color:#2c3a4c}
  .bk-card h2,.bk-edition-k{color:#e8eef5}
  .bk-catalog,.bk-note,.bk-chapters,.bk-updates,.bk-reader-head,.bk-updates-head{color:#d5e2ee}
  .bk-catalog h2,.bk-note h2,.bk-chapters h2,.bk-updates-head h1,.bk-reader-head h1{color:#e8eef5}
  .bk-nav a{color:#a9bcce}
  .bk-nav a:hover{background:#16324e;color:#e8eef5}
  .bk-nav a.bk-nav-active{background:#8fb4d8;color:#10233c}
  .bk-states li{color:#a9bcce}
  .bk-state-coming{color:#a9bcce;background:#16324e}
  .bk-state-candidate{color:#d9a847;background:#3a2f14}
  .bk-state-beta{color:#8fb4d8;background:#16324e}
  .bk-cta,.bk-depth label,.bk-author,.bk-depth label span,.bk-viewed-toggle{color:#8fb4d8}
  .bk-depth label{background:#16324e;border-color:#2c3a4c}
  .bk-depth input:checked + span{color:#e8eef5}
  .bk-depth input{accent-color:#8fb4d8}
  .bk-cta:hover{color:#c8dcf0}
  .bk-topic-table{color:#d5e2ee}
  .bk-topic-table th{background:#16324e;color:#a9bcce}
  .bk-topic-table td{border-color:#1c3a55}
  .bk-topic-id{color:#e8eef5}
  .bk-topic-state{color:#6f859c}
  .bk-viewed-toggle{background:#16324e;border-color:#2c3a4c}
  .bk-viewed .bk-viewed-toggle{background:#8fb4d8;color:#10233c;border-color:#8fb4d8}
  .bk-buy-note{color:#e5a39e;background:#3a1a18;border-color:#5a2c28}
  .bk-progress{background:#16324e}
  .bk-progress-fill{background:linear-gradient(90deg,#8fb4d8,#5c86b5)}
  .bk-progress-v{color:#a9bcce}
  .bk-ledger-empty{color:#a9bcce}
  .bk-state-live{color:#7fd6a8;background:#143526}
  .bk-feature-states{background:#10233c;border-color:#2c3a4c}
  .bk-feature-states li{color:#a9bcce}
  .bk-topic-row:target{outline-color:#8fb4d8;background:#16324e}
  .bk-journey{border-color:#2c3a4c}
  .bk-j-head h2{color:#e8eef5}
  .bk-j-head p{color:#a9bcce}
  [data-journey-score]{color:#e8eef5}
  .bk-j-chapter-no{color:#a9bcce}
  .bk-j-chapter-head h3{color:#e8eef5}
  .bk-j-chapter-head p{color:#a9bcce}
  .bk-j-card{background:#10233c;border-color:#2c3a4c}
  .bk-j-topic{color:#6f859c}
  .bk-tag{color:#a9bcce;background:#16324e;border-color:#2c3a4c}
  .bk-j-card h3{color:#e8eef5}
  .bk-j-btn{color:#8fb4d8;background:#16324e;border-color:#2c3a4c}
  .bk-j-btn:hover{background:#1d3d5c}
  .bk-j-btn-primary{background:#2e62a8;color:#eef5fb;border-color:#2e62a8}
  .bk-j-stage,.bk-j-choice,.bk-j-step,.bk-j-seg,.bk-j-urlbox,.bk-j-endpoint{background:#0d1e33;border-color:#25405a}
  .bk-j-node{background:#0d1e33;border-color:#25405a;color:#a9bcce}
  .bk-j-node small{color:#6f859c}
  .bk-j-explain{background:#0d1e33;border-color:#25405a;color:#c6d8ea}
  .bk-j-choice.bk-good{border-color:#2e9d6b;background:#143526;color:#c6ecd9}
  .bk-j-choice.bk-bad{border-color:#c0504d;background:#3a1a18;color:#eec4c2}
  .bk-j-choice.bk-active{border-color:#8fb4d8;background:#16324e}
  .bk-j-step.bk-active{border-color:#5c9be0;background:#16324e;color:#c8dcf0}
  .bk-j-layer{background:#0d1e33;border-color:#25405a;color:#c6d8ea}
  .bk-j-seg.bk-active{outline-color:#d9a847;background:#3a2f14;color:#ecd9ae}
  .bk-j-msg{background:#16324e;border-color:#25405a;color:#c8dcf0}
  .bk-j-note,.bk-j-mapping{color:#6f859c}
  .bk-j-mapping{border-color:#25405a}
  .bk-j-depth-text{background:#1c1833;color:#c3b8ec}
}
@media (max-width: 720px){
  .bk-j-choices,.bk-j-map,.bk-j-flow{grid-template-columns:1fr 1fr}
  .bk-j-steps{grid-template-columns:1fr 1fr}
  .bk-j-card h3{max-width:100%}
}
@media (prefers-reduced-motion: reduce){
  .bk-progress-fill{transition:none}
  .bk-j-packet{transition:none}
  .bk-j-layer{transition:none}
  .bk-j-meter i{transition:none}
}

/* ── CFP-BOOKS-001 B7 — imported governed prose (scoped to .bk-c-*) ── */
.bk-c-list{display:grid;gap:12px;margin-top:14px}
.bk-c{background:#fff;border:1px solid #dfe6ee;border-radius:12px;overflow:hidden}
.bk-c>summary{cursor:pointer;padding:11px 14px;font-weight:700;color:#1a3a6b;font-size:14px;list-style:none}
.bk-c>summary::-webkit-details-marker{display:none}
.bk-c>summary::before{content:'▸ ';color:#5c86b5}
.bk-c[open]>summary::before{content:'▾ '}
.bk-c[open]>summary{border-bottom:1px solid #eef1f5}
.bk-c>summary:hover{text-decoration:underline}
.bk-c-body{padding:6px 16px 14px;max-width:78ch}
.bk-c-p,.bk-c-callout p{font-size:13.5px;line-height:1.65;color:#22334a;margin:10px 0}
.bk-c-h{font-size:13px;font-weight:800;color:#13294b;margin:14px 0 4px}
.bk-c-ul{margin:8px 0 8px 18px;padding:0}
.bk-c-ul li{font-size:13.5px;line-height:1.55;color:#22334a;margin:3px 0}
.bk-c-callout{background:#f2f7fb;border:1px solid #d8e4ee;border-left:4px solid #1a3a6b;border-radius:10px;padding:10px 12px;margin:10px 0}
.bk-c-label{display:block;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#087eac;margin-bottom:4px}
.bk-c-callout p{font-size:13px;line-height:1.6;color:#22334a;margin:4px 0}
.bk-c-fig{margin:10px 0;padding:10px 12px;border:1px dashed #c8d6e2;border-radius:10px;background:#f8fafc}
.bk-c-fig-note{display:block;font-size:11px;font-weight:700;color:#7a5b1f;background:#fdf6e3;border:1px solid #eadfb9;border-radius:8px;padding:6px 8px;margin-bottom:6px}
.bk-c-fig figcaption{font-size:12px;color:#4c6380}
.bk-c-table{margin:10px 0;background:#f8fafc;border:1px solid #dfe6ee;border-radius:10px;padding:10px 12px}
.bk-c-table-note{display:block;font-size:11px;font-weight:700;color:#7a5b1f;margin-bottom:6px}
.bk-c-rows{font-family:ui-monospace,monospace;font-size:11.5px;line-height:1.5;color:#22334a;white-space:pre-wrap;margin:0}
.bk-c-src{font-size:11px;color:#52647b;margin:8px 0 0}
.bk-c-notes{margin:8px 0 0;padding-left:16px}
.bk-c-notes li{font-size:11px;color:#52647b;line-height:1.5}
.bk-c-open-k{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#087eac;margin:4px 0 8px}
/* ── CFP-BOOKS-003 — restored structures (semantic tables, card grids, figure captions), page tags, access note, update indicators ── */
.bk-c-page{font-size:10.5px;font-weight:600;color:#7a8ca1;white-space:nowrap;margin-left:4px}
.bk-c-paid-note{font-size:13px;line-height:1.6;color:#5a6b80;background:#f4f7fa;border:1px dashed #c8d6e2;border-radius:10px;padding:12px 14px;margin:10px 0}
.bk-c-h-sec{font-size:14.5px;margin:18px 0 6px;padding-top:10px;border-top:1px solid #eef1f5}
.bk-c-figcap{font-size:12px;font-style:italic;color:#4c6380;margin:12px 0 2px}
.bk-c-figcap b{font-style:normal;color:#13294b}
.bk-c-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bk-c-tw{margin:10px 0;overflow-x:auto;border:1px solid #dfe6ee;border-radius:10px;background:#fff}
.bk-c-tbl{border-collapse:collapse;width:100%;min-width:280px;font-size:12.5px;line-height:1.5}
.bk-c-tbl th,.bk-c-tbl td{padding:7px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #eef1f5;color:#22334a}
.bk-c-tbl thead th{background:#112a51;color:#fff;font-size:11px;letter-spacing:.6px;text-transform:uppercase}
.bk-c-tbl tbody th[scope=row]{font-weight:700;color:#13294b}
.bk-c-tbl tbody tr:nth-child(even){background:#f4f7fa}
.bk-c-tbl tbody tr:last-child>*{border-bottom:0}
.bk-c-tw>.bk-c-page{display:block;padding:4px 10px;margin:0}
.bk-c-gridw{margin:10px 0}
.bk-c-gridw>.bk-c-page{display:block;padding:0 2px}
.bk-c-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;list-style:none}
.bk-c-grid[data-cols="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.bk-c-grid[data-cols="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.bk-c-gridw{overflow-x:auto}
.bk-c-grid[data-cols="5"],.bk-c-grid[data-cols="6"]{grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr)}
.bk-c-cell{background:#f2f7fb;border:1px solid #d8e4ee;border-radius:10px;padding:10px 12px;margin:0}
.bk-c-cell-t{display:block;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#087eac;margin-bottom:4px}
.bk-c-cell p{font-size:12.5px;line-height:1.55;color:#22334a;margin:0}
@media (max-width:740px){.bk-c-grid,.bk-c-grid[data-cols="3"],.bk-c-grid[data-cols="4"],.bk-c-grid[data-cols="5"],.bk-c-grid[data-cols="6"]{grid-template-columns:minmax(0,1fr);grid-auto-flow:row;grid-auto-columns:auto}}
.bk-upd{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;background:#e7f5ee;border:1px solid #bfe3cf;color:#146c43;font-size:10.5px;font-weight:700;white-space:nowrap}
.bk-release{background:#fff;border:1px solid #dfe6ee;border-radius:12px;padding:16px 18px;margin:10px 0}
.bk-release header{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.bk-release-date{font-size:12px;font-weight:800;color:#13294b}
.bk-release-v{font-size:11px;color:#65768c}
.bk-release h3{font-size:15px;color:#13294b;margin:4px 0}
.bk-release-src{font-size:12px;color:#65768c;margin:0 0 6px}
.bk-release-ids{margin:0;display:flex;flex-wrap:wrap;gap:6px}
.bk-release-ids code{font-size:11px;background:#f2f7fb;border:1px solid #d8e4ee;border-radius:6px;padding:2px 6px;color:#1a3a6b}
@media (prefers-color-scheme: dark){
  .bk-c{background:#10233c;border-color:#2c3a4c}
  .bk-c>summary{color:#9fc0e8}
  .bk-c[open]>summary{border-bottom-color:#2c3a4c}
  .bk-c-p,.bk-c-callout p,.bk-c-ul li{color:#c9d6e4}
  .bk-c-h{color:#d5dfe9}
  .bk-c-callout{background:#0d1e35;border-color:#2c3a4c;border-left-color:#5c86b5}
  .bk-c-label{color:#7fb2d8}
  .bk-c-fig{background:#0d1e35;border-color:#2c3a4c}
  .bk-c-fig figcaption{color:#9db4cc}
  .bk-c-table{background:#0d1e35;border-color:#2c3a4c}
  .bk-c-rows{color:#c9d6e4}
  .bk-c-src,.bk-c-notes li{color:#8fa5bd}
  .bk-c-open-k{color:#7fb2d8}
  .bk-c-page{color:#7f93ab}
  .bk-c-paid-note{color:#a9bcce;background:#0d1e35;border-color:#2c3a4c}
  .bk-c-h-sec{border-top-color:#2c3a4c;color:#e4ecf4}
  .bk-c-figcap{color:#9db4cc}
  .bk-c-figcap b{color:#d5dfe9}
  .bk-c-tw{background:#10233c;border-color:#2c3a4c}
  .bk-c-tbl th,.bk-c-tbl td{color:#c9d6e4;border-bottom-color:#2c3a4c}
  .bk-c-tbl thead th{background:#1c3a63;color:#f2f6fa}
  .bk-c-tbl tbody th[scope=row]{color:#d5dfe9}
  .bk-c-tbl tbody tr:nth-child(even){background:#0d1e35}
  .bk-c-cell{background:#0d1e35;border-color:#2c3a4c}
  .bk-c-cell-t{color:#7fb2d8}
  .bk-c-cell p{color:#c9d6e4}
  .bk-upd{background:#12301f;border-color:#2b5a40;color:#9fdcb8}
  .bk-release{background:#10233c;border-color:#2c3a4c}
  .bk-release-date,.bk-release h3{color:#e4ecf4}
  .bk-release-v,.bk-release-src{color:#a9bcce}
  .bk-release-ids code{background:#0d1e35;border-color:#2c3a4c;color:#b7cbe3}
}
