:root{--ink:#183e32;--green:#174d39;--muted:#51685d;--line:#e2e7dc;--cream:#fffdf5;--lime:#84cc70;--yellow:#ffd15c;--white:#fff;--travel:#84cc70;--food:#ffd15c;--energy:#7acce5;--coral:#f58f75;--leaf-tint:#edf8e9;--sky-tint:#edf8fc;--sun-tint:#fff6d9}*{box-sizing:border-box}body{margin:0;background:var(--cream);font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #287f80;outline-offset:4px}a{color:var(--green)}button{color:inherit}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}.skip{position:absolute;left:20px;top:-80px;z-index:9;background:white;padding:12px}.skip:focus{top:12px}.topbar{max-width:1180px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:800;text-decoration:none;letter-spacing:.4px;line-height:1.1}.brand small{display:block;font-size:9px;letter-spacing:2.8px;margin-top:6px;font-weight:500}.brand-light{font-weight:400}.brand-icon{display:grid;place-items:center;font-size:31px;background:var(--green);color:var(--lime);height:43px;width:43px;border-radius:50%}.top-actions{display:flex;gap:22px;align-items:center}.event-tag{font-size:11px;letter-spacing:1.7px;background:#e7eddc;padding:7px 11px;border-radius:4px}.text-button{background:none;border:0;padding:9px 0;font-size:13px;font-weight:600}.text-button:hover,.inline-button:hover{text-decoration:underline}.top-actions .text-button span{margin-left:8px}main{max-width:1116px;margin:auto}.hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:48px 55px 43px 0;min-height:335px;overflow:hidden}.hero-copy{z-index:1}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:700;display:inline-block}.tiny-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#79a457;margin-right:7px}h1{font-family:Georgia,'Times New Roman',serif;font-size:59px;letter-spacing:-2.6px;line-height:1.07;font-weight:500;margin:16px 0 18px}h1 em{font-style:normal;position:relative}h1 em:after{content:'';height:7px;border-radius:50%;background:var(--yellow);position:absolute;bottom:-4px;left:0;right:8%;z-index:-1;transform:rotate(-2deg)}.hero p{font-size:14px;line-height:1.8;color:var(--muted);margin:0}.hero-meta{display:flex;gap:24px;margin-top:22px;font-size:11px;font-weight:600}.art-card{position:relative;width:216px;height:265px;flex:none;transform:rotate(5deg);border:7px solid #fffdf3;border-radius:8px;box-shadow:0 8px 22px #254e3220;z-index:1;background:#fff;transition:transform .2s}.art-card:hover{transform:rotate(1deg)}.art-card img{width:100%;height:100%;object-fit:cover;border-radius:2px}.art-card>span{position:absolute;bottom:-19px;left:-36px;right:0;background:var(--green);color:white;font-size:10px;padding:9px 12px;border-radius:4px;transform:rotate(-5deg);box-shadow:0 3px 9px #163d3220;white-space:nowrap}.art-card>span span{float:right}.hero-leaf{position:absolute;background:#e3ebd0;border-radius:0 90% 0 90%;width:165px;height:90px;right:1px;bottom:20px;transform:rotate(-30deg)}.leaf-two{width:120px;height:65px;right:258px;top:37px;transform:rotate(40deg);background:#edf0de}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:26px;align-items:start;scroll-margin-top:20px}.exercise-card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:0 5px 16px #183e3204}.steps{display:grid;grid-template-columns:repeat(4,1fr);padding:18px 24px;border-bottom:1px solid var(--line);gap:6px;background:#fdfef9}.steps button{border:0;background:none;display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px;padding:5px 2px;color:#728075;white-space:nowrap}.steps button span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #d6decd;border-radius:50%;font-size:11px}.steps button[aria-current]{color:var(--green);font-weight:700}.steps button[aria-current] span{background:var(--green);border-color:var(--green);color:white}.steps button.done span{background:var(--lime);border-color:var(--lime);color:var(--green)}.panel{padding:29px 32px 18px;min-height:455px}.step-kicker{font-size:10px;letter-spacing:1.8px;color:#7b8c70;font-weight:700}h2{font-family:Georgia,serif;font-weight:500;letter-spacing:-.7px;font-size:29px;line-height:1.2;margin:8px 0 9px}.intro{font-size:13px;color:var(--muted);margin:0 0 23px;line-height:1.65}.input-list{display:grid;gap:0}.activity-row{display:grid;grid-template-columns:43px minmax(0,1fr) 110px;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #edf0e9}.activity-row:last-child{border-bottom:0}.activity-icon{display:grid;place-items:center;height:40px;width:40px;border-radius:12px;background:#f0f5e8;font-size:24px}.activity-label{font-size:14px;font-weight:600;display:block}.activity-hint{font-size:11px;color:var(--muted);display:block;margin-top:3px;font-weight:400}.number-wrap{display:flex;border:1px solid #d7dfd0;border-radius:8px;overflow:hidden;align-items:center;min-width:0;background:#fff}.number-wrap:focus-within{border-color:#30694a;box-shadow:0 0 0 2px #dceacb}.number-wrap input{width:70px;padding:10px 8px 10px 11px;border:0;background:transparent;outline:none!important;min-width:0;font-size:14px;color:var(--ink);font-weight:600}.number-wrap span{padding-right:10px;font-size:11px;color:var(--muted);white-space:nowrap}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.sub-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f8f1;border-radius:8px;padding:10px 14px;font-size:11px;margin-top:5px}.sub-setting select{max-width:130px}.hint-box{display:flex;gap:10px;background:#f4f7ec;border:1px solid #e6ecd9;border-radius:8px;padding:12px 15px;font-size:11px;color:#607252;margin-top:20px;line-height:1.65}.hint-box p{margin:0}.step-footer{padding:18px 30px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);gap:10px}.step-footer>span{font-size:9px;letter-spacing:1.8px;color:#7c877a}.primary,.secondary{border:0;border-radius:8px;padding:12px 19px;font-size:13px;font-weight:600;display:inline-flex;gap:20px;justify-content:center;align-items:center;min-height:44px}.primary{background:var(--green);color:white}.primary:hover{background:#286148}.secondary{background:#eff4e6;color:var(--green);border:1px solid #dbe5ce}.secondary:hover{background:#e4edda}.side{position:sticky;top:25px}.summary{padding:27px 24px 20px;border-radius:15px;background:#edf2e2;border:1px solid #e0e7d4}.summary>.eyebrow{font-size:9px;letter-spacing:1.8px;color:#6c795b}.subtotal{display:flex;align-items:baseline;gap:8px;margin-top:18px}.subtotal>span:first-child{font-size:51px;font-family:Georgia,serif;letter-spacing:-2px;line-height:1}.subtotal>span:last-child{font-size:12px;color:var(--muted)}.small{font-size:11px;line-height:1.7;color:var(--muted)}.summary .small{margin:13px 0 22px}.summary-item{margin:16px 0}.summary-item>div{display:flex;justify-content:space-between;font-size:11px;margin-bottom:7px}.bar{height:5px;border-radius:20px;background:#dce4ce;overflow:hidden}.bar>i{display:block;height:100%;background:var(--travel);border-radius:20px}.summary-item.food i{background:var(--food)}.summary-item.energy i{background:var(--energy)}.summary-note{border-top:1px solid #d8e0cd;display:flex;gap:10px;padding-top:17px;margin-top:24px;font-size:11px;line-height:1.8}.summary-note>span{font-size:24px}.summary-note p{margin:0}.device-note{display:flex;gap:10px;justify-content:center;margin-top:18px;font-size:10px;color:var(--muted)}.device-note>span{font-size:20px}.device-note p{margin:0}.reset{display:block;margin:10px auto;color:#778171;font-size:11px;font-weight:400}.bottom-note{text-align:center;margin:35px 0 29px}.bottom-note>span{font-size:9px;font-weight:700;letter-spacing:2.5px}.bottom-note p{font-size:10px;color:#7b8475;line-height:1.7}.inline-button{border:0;padding:0;background:none;text-decoration:underline;color:inherit;font:inherit}footer{max-width:1180px;margin:auto;padding:21px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10px;color:#829078}.footer-dot{margin:0 8px}select{border:1px solid #d7dfd0;background:#fff;border-radius:7px;padding:9px 7px;color:var(--ink);font-size:12px;max-width:100%;min-height:40px}.meal-row{padding:14px 0;border-bottom:1px solid var(--line)}.meal-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:14px;font-weight:600}.meal-heading .activity-icon{height:30px;width:30px;font-size:19px}.meal-selects{display:grid;grid-template-columns:1fr 110px;gap:10px}.drink-row{display:grid;grid-template-columns:1fr 1fr 95px;gap:10px;align-items:center;margin-top:18px}.drink-row .number-wrap input{width:45px}.drink-label{font-size:12px;font-weight:600}.energy-group{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#87946f;margin:20px 0 0}.result-banner{border-radius:13px;background:var(--green);color:#f8fae9;padding:24px;margin:20px 0}.result-banner .eyebrow{color:#c2d4a4}.result-number{font-size:58px;line-height:1.2;font-family:Georgia,serif;margin:9px 0;letter-spacing:-2px}.result-number small{font:13px Arial;letter-spacing:0}.result-banner p{font-size:12px;color:#d4dfc8;margin:8px 0 0}.source-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.source-pills span{background:#ffffff17;padding:5px 9px;border-radius:4px;font-size:10px}h3{font-size:16px;margin:25px 0 10px}.actions{display:grid;gap:9px}.action-option{display:flex;gap:11px;align-items:flex-start;padding:13px;border:1px solid var(--line);border-radius:9px;cursor:pointer}.action-option:has(input:checked){background:#f0f5e5;border-color:#92ad75}.action-option input{accent-color:var(--green);margin:4px 0 0;width:16px;height:16px;flex:none}.action-option strong{font-size:12px;display:block}.action-option small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.action-option .saving{margin-left:auto;font-size:12px;font-weight:600;white-space:nowrap}.frequency{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:17px 0;gap:12px}.frequency select{width:92px}.saving-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:9px}.saving-tile{background:#f5f3e5;border-radius:9px;padding:16px}.saving-tile span{font-size:10px;color:#797a58}.saving-tile strong{display:block;font-size:25px;font-weight:500;margin:6px 0}.saving-tile small{font-size:10px}.pledge-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.pledge-note{font-size:12px;background:#e9f1db;padding:12px;border-radius:8px;margin-top:12px}.error{color:#933f2b;background:#fff1ec;padding:12px 18px;font-size:12px;margin:10px 25px;border-radius:6px}.invalid{border-color:#c74a32!important}.dialog-head{display:flex;gap:20px;justify-content:space-between;align-items:start;padding:24px 28px 18px;border-bottom:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:18px;max-width:700px;width:calc(100% - 28px);padding:0;color:var(--ink);max-height:86vh;background:#fdfef9;box-shadow:0 24px 100px #143c3240}dialog::backdrop{background:#153a3266;backdrop-filter:blur(3px)}.dialog-body{padding:5px 28px 26px;font-size:13px;line-height:1.8}.dialog-body h3{margin-top:24px}.dialog-body a{font-size:12px}.dialog-body details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:20px 0}.dialog-body summary{cursor:pointer;font-weight:600}.close{font-size:28px;border:0;background:none;padding:0 5px;line-height:1}.factor-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.factor-grid label{display:grid;font-size:11px;gap:5px}.factor-grid input{width:100%;padding:9px;border:1px solid #cdd7c0;border-radius:5px;color:var(--ink)}#factor-form>.text-button{margin-left:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#reset-dialog{max-width:430px;padding:28px}#reset-dialog p{font-size:13px;color:var(--muted)}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--green);color:white;font-size:12px;padding:13px 23px;box-shadow:0 5px 25px #102f3540;border-radius:8px;z-index:10;max-width:90vw}.custom-note{color:#805821;background:#fff4d1;padding:8px;border-radius:6px;font-size:10px;margin-top:15px}
@media(max-width:1150px){main{padding:0 28px}.hero{padding-right:32px}.topbar{margin:0 10px}.workspace{gap:20px;grid-template-columns:minmax(0,1fr) 260px}h1{font-size:55px}.panel{padding:26px}}@media(max-width:850px){.workspace{grid-template-columns:1fr}.side{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px}.summary{grid-row:span 2;padding:20px}.summary .small,.summary-note{display:none}.summary-bars{display:flex;gap:15px;margin-top:16px}.summary-item{flex:1;margin:0}.summary-item>div{flex-wrap:wrap;gap:4px}.subtotal{margin-top:10px}.subtotal>span:first-child{font-size:38px}.hero{padding-top:35px;padding-bottom:36px}.art-card{width:180px;height:238px}.hero-meta{gap:15px}.hero .eyebrow{font-size:9px;letter-spacing:1.2px}h1{font-size:49px}.device-note{margin:0}.reset{margin:0 auto}.panel{min-height:0}.bottom-note{margin:25px 0}.topbar{padding:22px 18px}.top-actions{gap:14px}.leaf-two{right:190px}}@media(max-width:540px){main{padding:0 16px}.topbar{padding:18px 6px;margin:0 16px}.brand{font-size:15px}.brand-icon{width:36px;height:36px;font-size:26px}.brand small{font-size:8px;letter-spacing:2px}.event-tag{display:none}.top-actions .text-button{font-size:11px}.hero{padding:28px 0 28px;gap:12px;min-height:0}.hero .eyebrow{font-size:8px;letter-spacing:1px}.hero h1{font-size:43px;letter-spacing:-1.8px;margin:13px 0 16px}.hero p{font-size:12px;line-height:1.7;max-width:260px}.desktop{display:none}.hero-meta{font-size:9px;gap:12px;margin-top:17px;flex-wrap:wrap}.art-card{display:none}.hero-leaf{right:-40px;bottom:30px;opacity:.5;width:90px;height:50px}.leaf-two{display:none}.steps{padding:13px 12px;gap:2px}.steps button{font-size:11px;gap:6px}.steps button span{width:22px;height:22px;font-size:10px}.panel{padding:23px 20px 16px}h2{font-size:27px}.intro{font-size:12px;margin-bottom:16px}.activity-row{gap:10px;grid-template-columns:34px minmax(0,1fr) 92px;padding:13px 0}.activity-icon{width:33px;height:36px;font-size:22px;border-radius:9px}.activity-label{font-size:12px}.activity-hint{font-size:10px}.number-wrap input{width:56px;font-size:14px;padding:10px 5px 10px 9px}.number-wrap span{font-size:10px;padding-right:7px}.sub-setting{font-size:10px;padding:9px 10px}.hint-box{padding:11px;font-size:10px}.step-footer{padding:16px 20px}.step-footer>span{font-size:8px;letter-spacing:1px}.primary,.secondary{font-size:12px;padding:11px 14px;gap:10px}.side{display:block}.summary{display:none}.device-note{font-size:10px;margin-top:5px}.reset{margin:5px auto}.bottom-note{margin:22px 0}.bottom-note p{font-size:9px}.bottom-note>span{font-size:8px;letter-spacing:1.5px}footer{padding:20px 20px;font-size:9px}footer>span:last-child{display:none}.meal-selects{grid-template-columns:1fr 88px}.drink-row{grid-template-columns:1fr 92px}.drink-label{grid-column:span 2;margin-bottom:0}.dialog-head{padding:22px 20px 15px}.dialog-body{padding:0 20px 20px}.dialog-head h2{font-size:25px}.factor-grid{grid-template-columns:1fr}.result-banner{padding:21px}.result-number{font-size:49px}.action-option{padding:11px}.action-option .saving{font-size:10px}.saving-tile{padding:12px}.saving-tile strong{font-size:23px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:540px){.number-wrap input,select{font-size:16px}.sub-setting select{font-size:14px}}

.category-subtotal{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px;margin-top:20px;border-radius:10px;background:var(--pale,#eef3e2);font-size:14px}.calculation-details{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:10px}.calculation-details summary{cursor:pointer;font-weight:600;font-size:13px}.calculation-details dl{margin:0}.calculation-row{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.calculation-row dt{min-width:0}.calculation-row dt small{display:block;color:var(--muted);margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.calculation-row dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.calculation-subtotal{font-weight:bold}.result-banner .total-scope{font-size:12px}.summary>.eyebrow{line-height:1.7;display:block}

.extras{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}.extras h3 small{font-size:11px;font-weight:normal;color:var(--muted);margin-left:8px}.extra-row{padding:12px;margin:12px 0;border:1px solid var(--line);border-radius:10px}.extra-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:10px}.extra-title .text-button{font-size:11px}.extra-row .meal-selects{grid-template-columns:minmax(0,1fr) 115px}.extra-row .meal-selects select{min-width:0}.extra-row .small{margin-bottom:0}@media(max-width:540px){.extra-row .meal-selects{grid-template-columns:1fr}.extra-row .meal-selects select{width:100%}}

/* Original lightweight vector world: CSS depth, no 3D runtime or external assets. */
.hero{padding:32px 0 30px;gap:28px;overflow:visible}.hero-copy{flex:1}.hero-start{display:flex;align-items:center;gap:19px;margin-top:24px}.hero-start .primary{text-decoration:none;display:inline-flex;align-items:center}.worksheet-link{font-size:11px;text-underline-offset:4px}.companion-world{position:relative;isolation:isolate;width:390px;flex:none;text-align:center;padding:15px 12px 13px;background:linear-gradient(150deg,#edf5dfaa,#eaf3f3a0 65%,#f9edcb80);border:1px solid #e0e9dc;border-radius:30px;box-shadow:inset 0 1px 0 #fff,0 18px 45px #234b3810}.world-caption{font-size:9px;letter-spacing:2px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;color:#587b64}.world-caption .tiny-dot{width:5px;height:5px}.pal-scene{height:224px;position:relative;perspective:700px;margin:0 auto;max-width:350px}.world-halo{position:absolute;width:200px;height:200px;border-radius:50%;left:50%;top:0;transform:translateX(-50%);background:radial-gradient(circle,#fffcdfb0,#d9e8d300 73%)}.world-orbit{position:absolute;width:290px;height:135px;border:1px dashed #9ebaa966;border-radius:50%;left:50%;top:56px;transform:translateX(-50%) rotate(-14deg)}.world-island{position:absolute;bottom:16px;left:50%;width:210px;height:64px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse at 40% 20%,#f7fbd9,#c5dbac 66%,#86ae83);box-shadow:0 8px 0 #a1bf92,0 13px 0 #7f9f78,0 24px 20px #204a3524,inset 0 2px 3px #fff9}.pal-pet{position:absolute;left:50%;top:3px;transform:translateX(-50%);width:202px;height:204px;padding:0;border:0;background:none;z-index:2;border-radius:45%;cursor:pointer}.pal-art{display:block;width:100%;height:100%;overflow:visible}.pal-pet .pal-art{filter:drop-shadow(0 4px 3px #28523d16)}.pal-pet .pal-body{transform-origin:130px 215px;animation:pal-breathe 3.2s ease-in-out 2}.pal-pet:hover .pal-body{transform:rotate(-4deg)}.pal-eyes{transform-origin:130px 142px;animation:pal-blink 5s 2}.world-token{position:absolute;width:53px;height:53px;border-radius:16px;background:linear-gradient(140deg,#fff,#ecf2d9);border:1px solid #fff;color:#4f7c57;box-shadow:0 5px 0 #cedcbd,0 10px 15px #234d3212;font:26px Georgia;display:grid;place-content:center;z-index:3;line-height:1}.world-token small{display:block;font:7px Arial;letter-spacing:.7px;margin-top:5px}.token-travel{left:11px;top:100px;transform:rotate(-13deg)}.token-food{right:7px;top:102px;transform:rotate(12deg);background:linear-gradient(130deg,#fff7da,#f8dfa4);box-shadow:0 5px 0 #e1c47c,0 10px 15px #234d3212;color:#916c31}.token-energy{right:34px;top:15px;width:43px;height:43px;transform:rotate(9deg);background:linear-gradient(130deg,#efffff,#bddfe3);box-shadow:0 5px 0 #99c3c9,0 10px 15px #234d3212;color:#457f8c}.token-energy small{font-size:6px}.pet-hint{position:absolute;bottom:-1px;left:0;width:100%;font-size:9px;color:#68856d}.pet-spark{position:absolute;top:20px;right:-5px;opacity:0;font-size:33px;color:#d97b83;pointer-events:none}.pal-hello .pet-spark{animation:pal-heart 1.4s ease-out}.pal-hello .pal-body{animation:pal-hop .55s ease-in-out 2}.pal-intro{font-size:14px;margin:10px 0 0}.hero .pal-intro p{font-size:10px;line-height:1.6;min-height:32px;margin:3px auto 7px;max-width:310px;padding:0 9px}.pal-picker{display:flex;gap:7px;justify-content:center}.pal-picker button{display:flex;align-items:center;gap:4px;border:1px solid #d4dfcb;border-radius:30px;background:#ffffff80;padding:3px 12px 3px 5px;font-size:10px;min-height:40px;transition:background .15s,border-color .15s}.pal-picker button[aria-pressed=true]{background:#fff;border-color:#417958;box-shadow:0 2px 5px #234d3210;font-weight:700}.pal-picker .pal-art{width:33px;height:33px}.pal-picker .pal-eyes{animation:none}.pal-motion{border:0;background:none;font-size:9px;color:#607565;margin-top:8px;text-decoration:underline;text-underline-offset:3px;padding:4px 9px;min-height:28px}.companion-guide{position:relative;display:flex;gap:14px;align-items:center;padding:13px 30px;background:linear-gradient(110deg,#f1f6e8,#f8faf3);border-bottom:1px solid var(--line);overflow:hidden;isolation:isolate}.pal-guide-art{width:65px;height:65px;flex:none}.pal-guide-art .pal-eyes{animation:none}.pal-guide-heading{display:flex;align-items:center;gap:12px}.pal-guide-heading strong{font-size:12px}.pal-guide-heading>span{font-size:8px;letter-spacing:1.2px;color:#6e8167}.pal-guide-copy{min-width:0}.pal-guide-copy p{font-size:12px;line-height:1.6;margin:3px 0 7px}.pal-stamps{display:flex;gap:9px;flex-wrap:wrap}.pal-stamps>span{font-size:9px;color:#75826d;display:inline-flex;align-items:center;gap:4px}.pal-stamps b{display:grid;place-content:center;width:15px;height:15px;border-radius:50%;font-size:8px;border:1px solid #d0dcc4;font-weight:normal}.pal-stamps .is-current{color:#174d39;font-weight:700}.pal-stamps .is-current b{background:#174d39;border-color:#174d39;color:white}.pal-stamps .is-done b{background:#d8e7b8;color:#174d39;border-color:#c9dda3}.pledge-complete{background:linear-gradient(110deg,#e6f1d0,#fcf2d3)}.pal-confetti{position:absolute;inset:0;pointer-events:none;z-index:-1}.pal-confetti i{position:absolute;top:-15px;width:7px;height:12px;border-radius:3px;background:#eac86d;left:10%;opacity:0}.pal-confetti i:nth-child(2){left:22%;background:#96bf99;animation-delay:.1s}.pal-confetti i:nth-child(3){left:35%;background:#e6a498;animation-delay:.2s}.pal-confetti i:nth-child(4){left:47%;background:#99c8cf;animation-delay:.05s}.pal-confetti i:nth-child(5){left:61%;animation-delay:.15s}.pal-confetti i:nth-child(6){left:72%;background:#96bf99;animation-delay:.3s}.pal-confetti i:nth-child(7){left:83%;background:#e6a498;animation-delay:.2s}.pal-confetti i:nth-child(8){left:94%;background:#99c8cf;animation-delay:.1s}.pal-celebrate .pal-confetti i{animation-name:pal-confetti;animation-duration:1s;animation-timing-function:ease-out}.pal-celebrate .pal-guide-art{animation:pal-hop .5s ease-in-out 2}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.quiet-companion .pal-art *,.quiet-companion .pal-guide-art,.quiet-companion .pet-spark,.quiet-companion .pal-confetti i{animation:none!important;transition:none!important}.quiet-companion .pal-pet:hover .pal-body{transform:none}
@keyframes pal-breathe{50%{transform:translateY(-5px) rotate(2deg)}}@keyframes pal-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.1)}}@keyframes pal-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-9px) rotate(-4deg)}70%{transform:translateY(-5px) rotate(3deg)}}@keyframes pal-heart{0%{opacity:0;transform:translateY(12px) scale(.5)}25%{opacity:1}100%{opacity:0;transform:translateY(-20px) scale(1.2)}}@keyframes pal-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:.8}100%{opacity:0;transform:translateY(135px) rotate(180deg)}}
@media(max-width:1000px){.companion-world{width:335px}.hero{gap:20px}.hero h1{font-size:50px}.pal-scene{height:211px}.pal-pet{width:187px;height:191px}.world-island{width:193px}.token-travel{left:5px}.token-food{right:1px}}
@media(max-width:700px){.hero{flex-direction:column;align-items:stretch;padding-top:25px}.hero-copy{width:100%}.hero h1{font-size:46px}.hero p{max-width:none}.hero-meta{margin-top:15px}.hero-start{margin-top:17px}.companion-world{width:100%;max-width:460px;align-self:center;padding:12px}.pal-scene{height:178px;width:280px}.pal-pet{width:160px;height:166px;top:-1px}.world-island{width:178px;height:48px;bottom:15px}.world-halo{height:160px;width:160px}.world-orbit{width:250px;height:110px;top:40px}.world-token{width:44px;height:44px;font-size:22px;border-radius:13px}.token-travel{top:72px;left:7px}.token-food{top:78px;right:2px}.token-energy{top:4px;right:29px;width:36px;height:36px}.pet-hint{font-size:8px}.pal-intro{margin-top:8px;font-size:13px}.hero .pal-intro p{min-height:0;margin-bottom:10px}.pal-motion{position:absolute;right:10px;top:33px;font-size:8px}.companion-guide{padding:12px 17px;gap:9px}.pal-guide-art{width:49px;height:53px}.pal-guide-copy p{font-size:11px}.pal-stamps{gap:8px}.pal-guide-heading>span{font-size:7px}.pal-guide-heading{gap:8px}.hero-start .primary{font-size:12px}.hero-start{gap:15px}.world-caption{font-size:8px}.pal-picker button{min-height:44px}.worksheet-link{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pal-art *,.pal-guide-art,.pet-spark,.pal-confetti i{animation:none!important;transition:none!important}.pal-pet:hover .pal-body{transform:none}}

.pal-scene{margin-bottom:9px}.pet-hint{bottom:-9px}

footer{gap:18px;flex-wrap:wrap}.copyright-notice{font-size:11px;line-height:1.7;max-width:100%}

/* Focused app view; companions stay in a reserved support lane. */
.focus-toolbar,.flight-support{display:none}.story-mode{overflow:hidden}.story-mode>.topbar,.story-mode .hero,.story-mode .bottom-note,.story-mode>footer{display:none}.story-mode .workspace{position:fixed;inset:0;z-index:30;width:100%;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:120px;display:grid;grid-template-columns:minmax(0,900px) 174px;justify-content:center;align-content:start;align-items:start;gap:0 24px;padding:0 24px;background:radial-gradient(ellipse at 100% 20%,#e6f0dd,#f8f8ef 70%)}.story-mode .focus-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:6;height:52px;background:#f8f8eff5;border-bottom:1px solid var(--line);gap:12px}.focus-toolbar>span{font-size:10px;letter-spacing:1.8px;font-weight:700}.focus-toolbar .text-button{font-size:12px;min-height:44px}.story-mode .exercise-card{grid-column:1;grid-row:2;min-width:0;min-height:calc(100dvh - 52px);border:0;border-radius:0;overflow:visible;display:flex;flex-direction:column;box-shadow:0 0 24px #183e3207}.story-mode .steps{position:sticky;top:52px;z-index:5;min-height:60px;background:#fffef9}.story-mode .companion-guide,.story-mode .side{display:none}.story-mode .panel{flex:1;min-height:0;padding-top:24px}.story-mode .step-footer{position:sticky;bottom:0;z-index:4;background:#fffef9;box-shadow:0 -5px 15px #183e3208;padding-bottom:max(16px,env(safe-area-inset-bottom));min-height:74px}.story-mode .flight-support{display:block;grid-column:2;grid-row:2;position:sticky;top:78px;margin-top:24px;text-align:center}.flight-label{font-size:8px;letter-spacing:1.3px;color:#68806a;font-weight:700;display:block}.flight-pals{display:flex;flex-direction:column;align-items:center;gap:9px;margin:15px 0}.flight-pals button{border:1px solid transparent;border-radius:24px;background:transparent;min-width:100px;padding:4px 9px;font-size:11px;position:relative}.flight-pals button[aria-pressed=true]{background:#ffffff90;border-color:#cbdcc0}.flight-pals button>span:last-child{display:block}.flight-orbit{display:block;width:89px;height:80px;animation:pal-flight 5s ease-in-out infinite}.flight-pals button:nth-child(2) .flight-orbit{animation-delay:-1.7s}.flight-pals button:nth-child(3) .flight-orbit{animation-delay:-3.3s}.flight-orbit .pal-art{filter:drop-shadow(0 6px 4px #27513918)}.flight-orbit .pal-eyes{animation:none}.flight-bubble{border:1px solid #dce5d2;background:#fffef7;border-radius:16px;padding:14px 12px;text-align:left;box-shadow:0 5px 18px #193e3106}.flight-bubble strong{font-size:12px}.flight-bubble p{font-size:12px;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}#flight-motion{font-size:10px;padding:10px;min-height:44px}.quiet-companion .flight-orbit{animation:none!important}.story-mode:has(input:focus) .flight-orbit,.story-mode:has(select:focus) .flight-orbit{animation-play-state:paused}
@keyframes pal-flight{0%,100%{transform:translate(-4px,2px) rotate(-4deg)}30%{transform:translate(5px,-7px) rotate(3deg)}65%{transform:translate(-3px,-3px) rotate(-2deg)}}
@media(max-width:760px){.story-mode .workspace{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 0 0;scroll-padding-top:116px;background:var(--cream)}.story-mode .focus-toolbar{padding:0 16px;flex:none}.focus-toolbar>span{font-size:8px;letter-spacing:1px}.focus-toolbar .text-button{font-size:11px}.story-mode .exercise-card{min-height:calc(100dvh - 52px);width:100%;order:1;flex:none;padding-bottom:0}.story-mode .steps{top:52px;min-height:52px}.story-mode .panel{padding:22px 20px 18px}.story-mode .step-footer{min-height:70px}.story-mode .flight-support{position:relative;top:auto;order:2;margin:0;padding:14px 20px 22px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 12px;border-top:1px solid var(--line);background:#eff4e5}.flight-label{grid-column:1;font-size:8px;text-align:left}.flight-pals{grid-column:1;grid-row:2;flex-direction:row;gap:8px;justify-content:flex-start;margin:0}.flight-pals button{min-width:65px;padding:4px;font-size:10px;border-radius:15px}.flight-orbit{width:55px;height:49px}.flight-bubble{grid-column:1/-1;padding:10px 13px}.flight-bubble p{font-size:11px;margin-top:2px}#flight-motion{grid-column:2;grid-row:1/3;align-self:center;max-width:74px;line-height:1.5}.story-mode .exercise-card{min-height:0}.story-mode .companion-guide{display:none}}
@media(prefers-reduced-motion:reduce){.flight-orbit{animation:none!important}}

#hide-flight-tip{display:none}@media(max-width:760px){.story-mode .flight-support{order:1;padding:8px 16px 10px;gap:4px 10px;border-top:0;border-bottom:1px solid var(--line)}.story-mode .exercise-card{order:2;min-height:calc(100dvh - 52px)}.flight-label{display:none}.flight-pals{grid-row:1;justify-content:center}.flight-orbit{width:43px;height:41px}.flight-pals button{min-width:58px;padding:2px 5px;font-size:9px}.flight-bubble{display:none}.help-open .flight-bubble{display:block}#flight-motion{grid-row:1;max-width:65px;font-size:9px}.help-open #hide-flight-tip{display:block;padding:5px 0;font-size:10px;min-height:35px}}

.story-mode .workspace{overflow-anchor:none}
@media(max-width:760px){.story-mode .workspace{justify-content:flex-start}.story-mode .flight-support{flex:none}}

.pal-celebrate .flight-orbit{animation:pal-hop .5s ease-in-out 2}

/* Supporting guidance follows the primary navigation. */
.navigation-note{margin:0;padding:0 30px 20px;color:var(--muted);font-size:12px;line-height:1.6;background:white;flex:none}
@media(max-width:760px){.navigation-note{padding:0 20px 18px}}

/* Two-line mobile welcome keeps the planet pals in view. */
.hero-title-line{display:block}
@media(max-width:700px){.hero{padding-top:18px;gap:16px}.hero h1{font-size:clamp(27px,8.8vw,42px);line-height:1.08;letter-spacing:-1.3px;margin:10px 0 12px}.hero-title-line{white-space:nowrap}.hero-meta{margin-top:12px}.hero-start{margin-top:14px}}

.guide-link{display:inline-block;margin:8px 0 12px;font-weight:700}.top-actions a.text-button{text-decoration:none}

/* SX2026 palette: quiet reading surfaces, bright actions and character accents. */
.primary{background:var(--yellow);color:var(--ink);border:1px solid var(--ink);box-shadow:0 3px 0 #183e321a}
.primary:hover{background:#f5c142;color:var(--ink)}
.primary:active{background:#edb632;box-shadow:none}
.primary:disabled{opacity:.6}
.secondary{background:var(--sky-tint);border-color:#7b8d81;color:var(--ink)}
.secondary:hover{background:#d7f0f9}
.event-tag{background:var(--sun-tint);color:var(--ink)}
.tiny-dot{background:#4e9344}
.steps,.story-mode .steps,.story-mode .step-footer{background:#fffdf5}
.steps button,.step-kicker,.energy-group,.step-footer>span,.reset,.bottom-note p,footer,.pal-stamps>span,.pal-guide-heading>span,.pet-hint,.pal-motion,.flight-label{color:var(--muted)}
.steps button[aria-current] span{background:var(--yellow);color:var(--ink);border-color:var(--ink)}
.steps button.done span{background:var(--lime);border-color:#4e9344;color:var(--ink)}
.number-wrap,select{border-color:#7b8d81}
.number-wrap:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px #ffd15c80}
.number-wrap input::placeholder{color:var(--muted);opacity:1}
.activity-icon{background:var(--leaf-tint)}
.meal-heading .activity-icon{background:var(--sun-tint)}
.sub-setting{background:var(--sky-tint)}
.category-subtotal{background:var(--leaf-tint);border-left:4px solid var(--travel)}
.panel:has(.drink-row) .category-subtotal{background:var(--sun-tint);border-left-color:var(--food)}
.panel:has(.energy-group) .category-subtotal{background:var(--sky-tint);border-left-color:var(--energy)}
.summary{background:var(--leaf-tint)}
.summary>.eyebrow{color:var(--muted)}
.bar{height:7px;background:#d8e4d4}
.result-banner .eyebrow,.result-number{color:var(--yellow)}
.action-option:has(input:checked){background:var(--leaf-tint);border-color:#4e9344}
.saving-tile{background:var(--sun-tint)}
.saving-tile:nth-child(2){background:var(--sky-tint)}
.saving-tile span{color:var(--muted)}
.pledge-note{background:var(--leaf-tint);border-left:4px solid #4e9344}
.companion-world{background:linear-gradient(145deg,#edf8e9,#edf8fc 60%,#fff3ce);border-color:#c6dfc1}
.world-caption{color:var(--ink)}
.world-halo{background:radial-gradient(circle,#fff1b8c0,#d9e8d300 73%)}
.token-travel{background:linear-gradient(135deg,#f4ffe9,var(--travel));color:var(--ink)}
.token-food{background:linear-gradient(135deg,#fff8df,var(--food));color:var(--ink)}
.token-energy{background:linear-gradient(135deg,#effcff,var(--energy));color:var(--ink)}
.pal-picker button[data-pal=sprout],.flight-pals button[data-helper=sprout][aria-pressed=true]{background:var(--leaf-tint)}
.pal-picker button[data-pal=mochi],.flight-pals button[data-helper=mochi][aria-pressed=true]{background:var(--sky-tint)}
.pal-picker button[data-pal=sunny],.flight-pals button[data-helper=sunny][aria-pressed=true]{background:var(--sun-tint)}
.pal-picker button[aria-pressed=true],.flight-pals button[aria-pressed=true]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink);font-weight:700}
.companion-guide{background:linear-gradient(110deg,var(--leaf-tint),#fffdf5)}
.pal-stamps .is-current b{background:var(--yellow);color:var(--ink);border-color:var(--ink)}
.pal-stamps .is-done b{background:var(--lime);color:var(--ink);border-color:#4e9344}
.pledge-complete{background:linear-gradient(110deg,var(--leaf-tint),var(--sun-tint))}
.pet-spark{color:#c25137}
.pal-confetti i{background:var(--yellow)}
.pal-confetti i:nth-child(2),.pal-confetti i:nth-child(6){background:var(--travel)}
.pal-confetti i:nth-child(3),.pal-confetti i:nth-child(7){background:var(--coral)}
.pal-confetti i:nth-child(4),.pal-confetti i:nth-child(8){background:var(--energy)}
.story-mode .workspace{background:radial-gradient(ellipse at 100% 20%,#e3f4f6,var(--cream) 70%)}
.story-mode .focus-toolbar{background:#fffdf5f5}
.flight-bubble{background:#fff;border-color:#bfd7de}
@media(max-width:760px){.story-mode .workspace{background:var(--cream)}.story-mode .flight-support{background:linear-gradient(110deg,var(--leaf-tint),var(--sky-tint) 55%,var(--sun-tint))}}
