:root{--ink:#002e20;--lime:#c5e83d;--paper:#faf9f2;--cream:#efe4c3;--muted:#61756b;--line:#e0e5d7;--white:#fff;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--paper);color:var(--ink);font-family:Tahoma,'Segoe UI',Arial,sans-serif;line-height:1.7}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #719d63;outline-offset:2px}button[disabled]{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--ink);color:white;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:22px 14px;overflow:auto}.brand{text-align:center;display:grid;justify-items:center;gap:8px;margin-bottom:24px}.brand img{width:88px;height:88px;object-fit:contain}.brand strong{color:var(--lime);font-size:16px;letter-spacing:.7px}.side-link{display:flex;gap:12px;align-items:center;width:100%;border:0;border-radius:14px;background:transparent;color:#e9f0e8;padding:13px 15px;text-align:right;margin:3px 0;font-weight:700;font-size:14px}.side-link.active,.side-link:hover{background:var(--lime);color:var(--ink)}.nav-icon{font-size:20px;width:23px;text-align:center}.climber{margin-top:auto;position:relative;overflow:hidden;display:grid;justify-items:center}.climber img{width:100%;max-height:230px;object-fit:cover;mix-blend-mode:screen;mask-image:radial-gradient(ellipse 72% 68% at 50% 52%,black 44%,transparent 100%)}.climber small{color:#c9e3c8;text-align:center;font-size:11px}.main{min-width:0;display:flex;flex-direction:column}.top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px clamp(16px,3vw,38px);border-bottom:1px solid #eef0e5;min-height:82px}.brand-mini{display:flex;align-items:center;gap:10px}.brand-mini img{width:46px;height:46px}.brand-mini strong{font-size:14px}.brand-mini small{display:block;font-size:11px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:8px}.status{border-radius:30px;background:#e7eed6;padding:8px 12px;font-size:11px;white-space:nowrap}.button{border:0;border-radius:12px;background:var(--ink);color:white;padding:12px 18px;font-weight:700;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.button.lime{background:var(--lime);color:var(--ink)}.button.outline{background:transparent;color:var(--ink);border:1px solid #b7c7b5}.button.compact{padding:9px 13px;min-height:39px;font-size:12px}.button:hover{filter:brightness(.96)}#view{padding:22px clamp(16px,3vw,38px) 38px;flex:1;min-width:0}#view>section{animation:appear .17s ease both}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.hero{background:var(--lime);border-radius:26px;padding:clamp(26px,4vw,52px);min-height:265px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:13px;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;width:270px;height:270px;border:2px solid #002e2024;border-radius:50%;left:-100px;bottom:-190px;pointer-events:none}.hero .eyebrow{font-size:11px;letter-spacing:2px;font-weight:800}.hero h1{font-size:clamp(30px,4.3vw,54px);line-height:1.6;margin:0;font-weight:900}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;z-index:1}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:27px 0 15px}.section-head h2{margin:0;font-size:clamp(20px,2.5vw,29px)}.lead{color:var(--muted);font-size:13px;line-height:2.1;margin:7px 0 19px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0}.card h2,.card h3{margin:0 0 12px}.card p{margin:0 0 12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.gap-top{margin-top:16px}.habit-card{text-align:center;padding:13px 12px 18px;display:flex;flex-direction:column;align-items:center;gap:8px}.habit-card img{width:100%;height:132px;object-fit:contain}.habit-card h3{font-size:16px;margin:0}.habit-card p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.metric{background:var(--cream);padding:23px}.metric.lime{background:var(--lime)}.metric.dark{background:var(--ink);color:white}.metric strong{font-size:30px;display:block;line-height:1.5}.metric span{font-size:12px}.gift-card{padding:9px 9px 14px;text-align:center}.gift-card img{width:100%;height:160px;object-fit:cover;border-radius:15px;background:#f4f0e7}.gift-card h3{font-size:13px;margin:9px 0 0}.muted{color:var(--muted);font-size:12px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.tag{background:#e7eed6;border-radius:30px;padding:7px 11px;font-size:11px;font-weight:700}.bar-bg{height:12px;background:#e3eadb;border-radius:30px;overflow:hidden;margin:12px 0}.bar-bg>div{height:100%;width:0;background:var(--ink);border-radius:30px;transition:width .2s}.check-row{display:flex;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.check-row:last-child{border:0}.check-row img{width:64px;height:64px;object-fit:contain;flex-shrink:0}.check-row label{flex:1;display:flex;align-items:center;gap:11px;cursor:pointer;font-weight:700;font-size:14px}.check-row label span small{display:block;color:var(--muted);font-size:11px;font-weight:400}.check-row input{width:22px;height:22px;accent-color:var(--ink);flex-shrink:0}.notice{background:#f1eedc;border-right:4px solid #9cac5b;padding:14px;border-radius:11px;font-size:12px;line-height:2;margin-top:13px}.field{width:100%;border:1px solid #cbd7c6;background:white;border-radius:11px;padding:13px;margin:6px 0 13px}.field-label{font-size:12px;font-weight:700}.auth-wrap{max-width:490px;margin:0 auto}.tabs,.period-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.tabs button,.period-tabs button{border:0;border-radius:11px;padding:11px 15px;background:#e7eddf;color:var(--ink);font-weight:700}.tabs button.active,.period-tabs button.active{background:var(--ink);color:white}.period-tabs button{flex:1}.chart{height:185px;display:flex;align-items:flex-end;gap:8px;padding:15px 2px 0;border-bottom:1px solid var(--line)}.chart-item{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.chart-item .column{background:#5d8b72;width:100%;max-width:56px;min-height:3px;border-radius:8px 8px 0 0}.chart-item span{font-size:10px;color:var(--muted);white-space:nowrap}.pay{display:flex;gap:10px;align-items:center;justify-content:center;background:#f5f7ee;border:1px solid var(--line);border-radius:15px;padding:19px 12px;font-weight:700}.socials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.social{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 8px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-decoration:none;font-weight:700}.social .symbol{font-size:26px}.social.disabled{opacity:.55}.section-title{font-size:clamp(24px,3vw,34px);margin:0 0 7px}.info-steps{counter-reset:step}.step{padding:13px 0;border-bottom:1px solid var(--line)}.step:last-child{border:0}.empty{padding:25px;border-radius:16px;background:#f5f7ef;text-align:center}.bottom-nav{display:none}footer{text-align:center;color:#809083;font-size:11px;padding:16px}.dialog{border:0;border-radius:22px;padding:0;max-width:min(92vw,430px);box-shadow:0 12px 80px #002e2055}.dialog::backdrop{background:#002e2070}.dialog-inner{padding:25px}.close{border:0;background:transparent;float:left;font-size:26px}.demo{color:#6b715a;font-size:11px;line-height:1.9;margin-top:12px}.link{border:0;background:transparent;color:var(--ink);text-decoration:underline;font-weight:700}.gift-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}.gift-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{width:auto}.shell{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:760px){.shell{display:block;min-height:100dvh}.sidebar{display:none}.top{padding:10px 15px;min-height:66px;position:sticky;top:0;z-index:5;background:var(--paper)}.brand-mini img{width:38px;height:38px}.brand-mini strong{font-size:11px}.brand-mini small{font-size:9px}.top-actions{gap:5px}.top-actions .status{display:none}.top-actions .button{padding:7px 9px;font-size:11px;min-height:36px}#view{padding:15px 13px 100px}.hero{min-height:230px;padding:23px}.hero h1{font-size:clamp(28px,7.5vw,39px)}.hero-actions{width:100%}.hero-actions .button{flex:1;font-size:12px;padding:11px 9px}.grid,.grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.habit-card img{height:100px}.habit-card h3{font-size:14px}.habit-card p{font-size:11px}.gift-card img{height:140px}.card{padding:15px;border-radius:17px}.gift-card{padding:8px}.metric strong{font-size:25px}.bottom-nav{display:flex;position:fixed;z-index:9;bottom:0;left:0;right:0;background:var(--ink);padding:7px 3px max(7px,env(safe-area-inset-bottom));gap:2px;justify-content:space-around;box-shadow:0 -5px 20px #002e2022}.bottom-nav button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:10px;padding:7px 1px;background:transparent;color:#dce8db;font-size:10px;white-space:nowrap}.bottom-nav button.active{background:var(--lime);color:var(--ink);font-weight:800}.bottom-nav .nav-icon{font-size:18px}.section-head{margin:20px 0 12px}.section-head h2{font-size:21px}.check-row img{width:50px;height:50px}.check-row label{font-size:12px}.check-row label span small{font-size:10px}.socials{gap:7px}.social{font-size:11px}.chart{gap:4px}.chart-item span{font-size:9px}footer{padding-bottom:15px}}
@media(max-width:360px){.brand-mini small{display:none}.bottom-nav button{font-size:9px}.grid.five{grid-template-columns:1fr 1fr}.habit-card img{height:85px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* V9 mobile & theme refinements */
.gift-card img{object-fit:contain;image-rendering:auto;background:#f5f1e9;filter:none;display:block}.gift-card{overflow:hidden}.socials{margin-top:16px}.nav-icon{display:inline-flex;align-items:center;justify-content:center}.side-link .nav-icon{font-size:21px}.bottom-nav .nav-icon{font-size:20px}
html[data-theme="dark"]{color-scheme:dark;--paper:#10251d;--cream:#20372b;--ink:#d9e7cf;--muted:#b7c7bc;--line:#355346;--lime:#b2cd64;background:#10251d;color:#eef2e9}
html[data-theme="dark"] body{background:#10251d;color:#eef2e9}html[data-theme="dark"] .top{background:#10251d;border-color:#355346}html[data-theme="dark"] .card{background:#20372b;border-color:#355346;color:#eef2e9}html[data-theme="dark"] .metric{background:#20372b}html[data-theme="dark"] .metric.lime,html[data-theme="dark"] .hero{background:#b2cd64;color:#10251d}html[data-theme="dark"] .metric.lime{color:#10251d}html[data-theme="dark"] .hero .button{background:#10251d;color:#fff}html[data-theme="dark"] .hero .button.outline{background:transparent;color:#10251d;border-color:#10251d}html[data-theme="dark"] .button{background:#b2cd64;color:#10251d}html[data-theme="dark"] .button.outline{background:transparent;color:#eef2e9;border-color:#6b8b76}html[data-theme="dark"] .sidebar,html[data-theme="dark"] .bottom-nav{background:#09251a}html[data-theme="dark"] .side-link.active,html[data-theme="dark"] .bottom-nav button.active{background:#b2cd64;color:#10251d}html[data-theme="dark"] .field,html[data-theme="dark"] .social{background:#19352a;color:#eef2e9;border-color:#456252}html[data-theme="dark"] .notice,html[data-theme="dark"] .tag,html[data-theme="dark"] .tabs button,html[data-theme="dark"] .period-tabs button,html[data-theme="dark"] .status{background:#294334;color:#e8f0df}html[data-theme="dark"] .tabs button.active,html[data-theme="dark"] .period-tabs button.active{background:#b2cd64;color:#10251d}html[data-theme="dark"] .pay,html[data-theme="dark"] .empty{background:#19352a;color:#eef2e9}html[data-theme="dark"] .gift-card img{background:#ede9dc}html[data-theme="dark"] .bar-bg{background:#375344}html[data-theme="dark"] .bar-bg>div{background:#b2cd64}html[data-theme="dark"] .dialog{background:#20372b;color:#eef2e9}
@media(max-width:760px){.bottom-nav{gap:3px}.bottom-nav button{font-size:10px}.top-actions .button{padding:7px 8px}.gift-card img{height:160px}.brand-mini strong{font-size:10px}}

/* V9.1: crisp gifts and consistent navigation icon */
.dumbbell-icon{display:block;width:23px;height:23px;flex:none}.nav-icon{line-height:1;min-width:25px}.gift-card img{object-fit:contain;image-rendering:auto;filter:none;}.gift-card{background:var(--white)}
@media(min-width:761px){.climber small{display:none!important}}
/* V9.3: Warrior Rest */
.rest-card{border:1px solid var(--border,#cbd5c4)}

.rest-card .button:disabled{opacity:.5;cursor:not-allowed}

.coupon-box{margin:16px 0;padding:16px;border:1px dashed #87aa37;border-radius:16px;background:rgba(197,232,61,.08)}
.coupon-box .muted{font-size:12px;line-height:1.7}
.coupon-box .field{direction:ltr;text-align:left;letter-spacing:1px}
