:root{--bg:#f5f5ee;--paper:#fffefa;--ink:#263d33;--muted:#7b857c;--green:#33654d;--line:#e5e8df;--soft:#e9eee3;--orange:#b26240;--radius:22px;font-family:Inter,Segoe UI,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}[hidden]{display:none!important}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d1a449;outline-offset:3px}button{border:0}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px}h2{font-size:19px}h3{font-size:15px;line-height:1.6}p{line-height:1.8}small{font-size:12px}button{background:transparent}select{max-width:100%}.demo-bar{min-height:44px;padding:8px 26px;display:flex;align-items:center;gap:18px;font-size:12px;color:#536456;background:#e7ecdf;position:relative;z-index:5;border-bottom:1px solid #dce3d3}.demo-bar>span{margin-right:auto}.demo-bar i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5c7e47;margin-right:7px}.demo-bar label{display:flex;align-items:center;gap:8px;white-space:nowrap}.demo-bar select{background:#f5f7f0;border:1px solid #d1dac7;border-radius:6px;padding:4px;color:var(--ink);font-size:12px}.demo-reset{font-size:12px;text-decoration:underline;white-space:nowrap}.shell{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:232px minmax(0,1fr);min-height:calc(100vh - 45px)}#sidebar{padding:39px 23px;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:700;letter-spacing:2px}.brand-icon{background:var(--green);color:#fff;border-radius:12px;padding:10px;display:flex;transform:rotate(-6deg)}.brand-sub{font-size:10px;color:var(--muted);letter-spacing:2px;margin:10px 0 40px 2px}.side-nav{display:grid;gap:9px}.side-nav button{display:flex;align-items:center;gap:13px;padding:15px;border-radius:12px;text-align:left;color:#69796b;font-size:14px}.side-nav button.active{background:#e4ebdb;color:#32553b;font-weight:650}.side-foot{margin-top:auto;padding-top:70px}.family-name{font-size:13px}.side-foot p{font-size:11px;color:var(--muted);margin-top:8px}.workspace{min-width:0;padding:30px 48px 70px}#header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:34px;font-size:13px}.header-family{display:flex;gap:8px;align-items:center;color:var(--muted)}.profile{display:flex;align-items:center;gap:9px}.avatar{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e7edda;color:#567247;font-weight:700;font-size:12px}.avatar.peach{background:#f2e3d4;color:#a3714a}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 24px}.eyebrow{color:#899480;text-transform:uppercase;letter-spacing:2px;font-size:10px;margin-bottom:10px}.subtitle{font-size:13px;color:var(--muted);margin-top:9px}.greeting-mark{color:#b09553}.home-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr);gap:23px}.hero{background:#e6ecd9;border-radius:var(--radius);padding:28px 30px;position:relative;overflow:hidden;min-height:214px}.hero>div:not(.plant){position:relative;z-index:1}.hero small{color:#59744c;font-size:13px}.balance{font-size:64px;line-height:1.35;font-weight:550;letter-spacing:-3px}.balance span{font-size:14px;font-weight:400;letter-spacing:0;margin-left:9px}.hero-bottom{display:flex;align-items:center;gap:9px;font-size:11px;color:#657859}.hero-bottom svg{width:16px}.plant{position:absolute;right:-8px;bottom:-4px;width:180px;height:190px;opacity:.8}.plant svg{width:100%;height:100%;stroke-width:1.2}.plant .solid{fill:#b7c99b;stroke:none}.plant .pot{fill:#c5cfab;stroke:none}.action-card{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);display:flex;flex-direction:column;justify-content:center}.action-card p{font-size:12px;color:var(--muted);margin:9px 0 20px}.primary,.secondary,.danger{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 18px;border-radius:12px;font-size:13px;font-weight:600}.primary{background:var(--green);color:#fff}.primary:hover{background:#284f3c}.secondary{background:#edf0e6;color:#4e6548}.danger{background:#f7e8df;color:#9b4e35}.text-button{color:var(--green);font-size:12px;padding:10px 0;display:inline-flex;align-items:center;gap:6px}.text-button svg{width:17px}.full{width:100%}.pending-strip{background:#f0eee2;border:1px solid #e7e3d0;margin-top:18px;border-radius:13px;padding:14px 18px;font-size:12px;display:flex;align-items:center;gap:10px;width:100%;text-align:left}.pending-strip>span:nth-child(2){flex:1}.pending-strip svg{width:18px;color:#978757}.section-title{display:flex;align-items:center;justify-content:space-between;margin:29px 0 14px}.section-title h2{font-size:17px}.section-title span{font-size:11px;color:var(--muted)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:6px 22px}.row{display:flex;align-items:center;gap:13px;padding:18px 0;text-align:left;width:100%;border-bottom:1px solid #eeeee6}.row:last-child{border-bottom:0}.row .row-body{flex:1;min-width:0}.row h3{overflow-wrap:anywhere}.row p{font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.row .right{text-align:right;flex-shrink:0;font-size:16px}.row .right small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.icon-tile{width:43px;height:43px;background:#edf0e7;color:#718665;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.icon-tile.peach{background:#f6e6da;color:#b07b59}.icon-tile.yellow{background:#f2ebce;color:#9b8b45}.positive{color:#477148}.negative{color:#b26446}.pill{display:inline-block;border-radius:5px;background:#edf1e5;color:#637949;padding:4px 7px;font-size:10px;font-weight:400;white-space:nowrap}.pill.pending{background:#f6edd8;color:#9b813f}.pill.rejected,.pill.revoked,.pill.cancelled{background:#eeeae3;color:#8c7869}.pill.delivered{background:#e4eee7;color:#4c7860}.reward-preview{display:flex;gap:16px;padding:18px;background:#fffefa;border:1px solid var(--line);border-radius:18px;align-items:center}.reward-preview .icon-tile{width:66px;height:66px}.reward-preview>div:nth-child(2){flex:1}.reward-preview p{font-size:12px;color:var(--muted);margin-top:5px}.little-note{font-size:11px;color:#9ba38f;display:flex;justify-content:center;gap:7px;margin-top:30px}.little-note svg{width:15px;height:15px}.tabs{display:flex;gap:5px;padding:4px;background:#eaece3;border-radius:12px;margin:0 0 22px;overflow-x:auto}.tabs button{padding:10px 13px;border-radius:9px;color:#7a8575;font-size:12px;white-space:nowrap;flex:1}.tabs button.active{background:#fffefa;color:#39573b;box-shadow:0 1px 5px #233b3310}.tabs .count{margin-left:4px;font-size:10px}.child-picker{display:flex;align-items:center;gap:10px;margin-bottom:23px;font-size:12px;color:var(--muted)}.child-picker select{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--ink)}.task-card{background:var(--paper);border:1px solid var(--line);padding:21px;border-radius:18px;margin-bottom:13px}.task-top{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:15px}.task-top .pill{margin-left:auto}.task-title{display:flex;justify-content:space-between;gap:12px;align-items:center}.task-title strong{font-size:19px}.task-note{font-size:12px;color:#7c8377;background:#f6f6ef;padding:12px 14px;border-radius:10px;margin:12px 0 15px}.task-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.task-bottom small{color:var(--muted);font-size:11px}.empty{text-align:center;padding:50px 20px;color:#82917b;background:var(--paper);border-radius:20px;border:1px dashed #d8dfd0}.empty svg{width:36px;height:36px;margin-bottom:13px}.empty h3{color:#52674b}.empty p{font-size:12px;margin-top:9px}.rule-grid,.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.rule-card{text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:20px;min-height:156px}.rule-card .rule-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.rule-card strong{font-size:22px}.rule-card p{font-size:11px;color:var(--muted);margin-top:5px}.rule-card:hover{border-color:#b7c7a7;transform:translateY(-2px)}.reward-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}.reward-art{height:139px;background:#ece6d6;position:relative;display:flex;align-items:center;justify-content:center}.reward-art.peach{background:#f0dfce}.reward-art.yellow{background:#efe7bc}.reward-art.green{background:#e2ead4}.reward-art:before{content:"";position:absolute;width:98px;height:98px;border:1px solid #fff9;border-radius:50%;transform:translate(10px,7px)}.reward-art svg{width:66px;height:66px;stroke-width:1.15;position:relative;color:#776a4e}.reward-card-body{padding:18px}.reward-card-body p{color:var(--muted);font-size:11px;min-height:41px;margin-top:8px}.price{font-size:23px;font-weight:600;margin:18px 0 12px;display:block;color:#6a794b}.price small{font-weight:400;font-size:11px;margin-left:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 22px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:15px}.stat small{font-size:11px;color:var(--muted)}.stat strong{display:block;font-size:23px;margin-top:8px}.compact-balance{background:#e6ecd9;padding:20px 24px;border-radius:17px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.compact-balance strong{font-size:30px}.compact-balance small{font-weight:400;font-size:12px}.settings-card{padding:22px;background:var(--paper);border:1px solid var(--line);border-radius:18px;margin-bottom:15px}.settings-card p{color:var(--muted);font-size:12px;margin-top:10px}.settings-list button{padding:19px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;width:100%;font-size:14px;text-align:left}.settings-list button span{flex:1}.settings-list button:last-child{border:0}.form-grid{display:grid;gap:17px}.form-grid label,.field-label{font-size:12px;font-weight:600;display:grid;gap:8px}.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0;border:1px solid #dfe4d7;border-radius:10px;background:#fffefa;padding:12px;color:var(--ink);font-size:14px}.form-grid textarea{resize:vertical;min-height:87px}.form-grid input[readonly]{background:#f1f2ea;color:#718268}.form-grid .inline-check{display:flex;align-items:center;gap:9px;padding:7px;font-weight:400}.inline-check input{width:18px;height:18px;padding:0}.form-help{font-size:11px;color:var(--muted);line-height:1.8}.preview-balance{background:#edf1e4;padding:14px 16px;border-radius:11px;font-size:13px;display:flex;justify-content:space-between;gap:10px}.form-error{color:#a34d37;font-size:12px;line-height:1.7}.form-error:empty{display:none}.form-actions{display:flex;gap:10px;padding-top:9px}.form-actions>*{flex:1}.read-block{padding:16px;border-radius:12px;background:#f2f3ec;font-size:12px;margin-bottom:18px;overflow-wrap:anywhere}.read-block p{color:#72816b;margin-top:8px}.detail-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px}.detail-title strong{font-size:24px}.timeline{list-style:none;padding:0 0 0 10px;margin:20px 0 0}.timeline li{border-left:1px solid #d9e1cf;padding:0 0 19px 18px;position:relative;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.timeline li:before{content:"";width:7px;height:7px;background:#92a87d;position:absolute;left:-4px;top:7px;border-radius:50%}.timeline small{display:block;color:var(--muted);font-size:10px}.detail-buttons{display:grid;gap:9px;margin-top:21px}.back-button{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:10px 0;margin-bottom:12px;color:var(--muted)}dialog{border:1px solid #e1e5d8;border-radius:24px;background:var(--paper);color:var(--ink);padding:27px;width:calc(100% - 34px);max-width:510px;max-height:88dvh;overflow:auto;box-shadow:0 22px 100px #203b3333}dialog::backdrop{background:#24342b55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.dialog-head h2{font-size:20px}.dialog-close{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef0e7;flex-shrink:0}.dialog-close svg{width:19px}#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%);background:#2d4b37;color:#fff;padding:13px 22px;border-radius:13px;font-size:13px;z-index:20;box-shadow:0 5px 25px #26462e22;max-width:calc(100% - 30px);opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}#storage-warning{background:#fff0ce;color:#865b26;padding:12px 25px;font-size:12px}#mobile-nav{display:none}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.subtle-box{background:#f0f1e9;border-radius:13px;padding:14px;font-size:12px;color:var(--muted);line-height:1.9;margin:15px 0}.account-line{display:flex;align-items:center;gap:16px;margin:5px 0 23px}.account-line .avatar{width:64px;height:64px;font-size:23px}@media(min-width:1200px){.home-lower{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(245px,1fr);gap:23px}.home-lower .panel{padding:5px 18px}.home-lower .reward-preview{min-height:122px}.home-lower .section-title{min-height:32px}}@media(max-width:1050px){.shell{grid-template-columns:185px minmax(0,1fr)}#sidebar{padding:30px 17px}.workspace{padding:26px}.home-grid{grid-template-columns:1fr}.action-card{padding:23px}.rule-grid,.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{min-height:205px}.demo-extra{display:none}}@media(max-width:680px){.demo-bar{padding:8px 12px;gap:8px;flex-wrap:wrap;font-size:10px}.demo-bar label{font-size:10px;gap:4px}.demo-bar select{font-size:10px;max-width:119px}.demo-reset{font-size:10px;padding:4px 0}.shell{display:block;min-height:calc(100dvh - 44px)}#sidebar{display:none}.workspace{padding:23px 20px 100px}#header{padding-bottom:28px;font-size:11px}.profile{gap:6px}.avatar{width:30px;height:30px;font-size:11px}.header-family svg{width:18px}h1{font-size:27px}.eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:8px}.subtitle{font-size:12px}.page-heading{margin-bottom:21px}.home-grid{gap:14px}.hero{min-height:200px;padding:24px}.balance{font-size:61px}.plant{width:166px;height:176px;right:-9px}.action-card{padding:20px;display:grid;grid-template-columns:1fr auto;gap:4px 10px}.action-card h2{font-size:16px;align-self:end}.action-card p{font-size:11px;margin:4px 0 0;grid-column:1;grid-row:2}.action-card .primary{grid-column:2;grid-row:1 / 3;padding:12px;align-self:center;font-size:12px}.pending-strip{padding:12px 14px;font-size:11px;margin-top:14px}.section-title{margin-top:26px}.section-title h2{font-size:16px}.panel{padding:3px 16px;border-radius:18px}.row{gap:11px;padding:16px 0}.row .right{font-size:15px}.row h3{font-size:13px}.row p{font-size:10px}.icon-tile{width:38px;height:38px;border-radius:11px}.reward-preview{padding:16px}.reward-preview h3{font-size:13px}.reward-preview .icon-tile{width:54px;height:54px}.little-note{font-size:10px;margin-top:26px}#mobile-nav{position:fixed;bottom:0;left:0;right:0;background:#fffefbf2;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #e4e8db;display:flex;padding:9px 12px calc(9px + env(safe-area-inset-bottom));z-index:4}#mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#919b89;min-height:42px}#mobile-nav button.active{color:#3f6645;font-weight:650}#mobile-nav button.active svg{stroke-width:2.1}.rule-grid,.reward-grid{gap:11px}.rule-card{padding:16px;min-height:140px}.rule-card h3{font-size:13px}.rule-card strong{font-size:20px}.rule-card .icon-tile{width:33px;height:33px}.reward-art{height:116px}.reward-art svg{width:57px;height:57px}.reward-card-body{padding:14px}.reward-card-body h3{font-size:13px}.reward-card-body p{font-size:10px;min-height:54px}.reward-card .primary{font-size:11px;padding:10px 8px}.price{font-size:21px;margin:11px 0}.stats{gap:8px}.stat{padding:12px 10px}.stat small{font-size:10px}.stat strong{font-size:21px}.task-card{padding:18px}.task-title strong{font-size:17px}.task-bottom .primary{font-size:11px;padding:11px 13px}.tabs{margin-bottom:18px}.tabs button{font-size:11px;padding:10px 8px}dialog{padding:22px;border-radius:22px 22px 0 0;max-width:none;width:100%;max-height:92dvh;margin:auto 0 0;bottom:0;border-bottom:0}#toast{bottom:83px;font-size:12px}.form-actions{padding-bottom:env(safe-area-inset-bottom)}.form-grid input,.form-grid textarea,.form-grid select{font-size:16px}.subtle-box{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;transform:none!important}}:root{--theme-tint:#e6ecd9;--theme-hover:#284f3c;--theme-secondary:#edf0e6;--theme-positive:#477148;--theme-peach:#f0dfce;--theme-yellow:#efe7bc;--theme-caption:#657859}:root[data-theme=b]{--bg:#f5f9ff;--paper:#fff;--ink:#243c5c;--muted:#627791;--green:#3778c6;--line:#dbe6f4;--soft:#e4efff;--theme-tint:#e0edff;--theme-hover:#245c9f;--theme-secondary:#e8f0ff;--theme-positive:#31669e;--theme-peach:#ffdccc;--theme-yellow:#ffeab1;--theme-caption:#536f91;--radius:26px}:root[data-theme=c]{--bg:#faf8ef;--paper:#fffdf6;--ink:#263b55;--muted:#707a82;--green:#2b466b;--line:#d8dcd8;--soft:#e8edf1;--theme-tint:#f3e8bc;--theme-hover:#1d334f;--theme-secondary:#e8edf1;--theme-positive:#2b466b;--theme-peach:#eed8c7;--theme-yellow:#f6e3a2;--theme-caption:#65716d;--radius:5px}:root[data-theme=b] .hero,:root[data-theme=c] .hero,.compact-balance{background:var(--theme-tint)}.primary:hover{background:var(--theme-hover)}.secondary,.tabs,.dialog-close,.subtle-box{background:var(--theme-secondary);color:var(--ink)}.tabs button,.read-block p,.task-note,.header-family,.eyebrow,.side-nav button,.side-foot p,.hero small,.hero-bottom{color:var(--muted)}.hero small,.hero-bottom{color:var(--theme-caption)}.side-nav button.active,.avatar,.icon-tile,.preview-balance{background:var(--soft);color:var(--green)}.positive,.price,.text-button{color:var(--theme-positive)}.brand-icon{background:var(--green)}.primary{color:#fff}.form-grid input,.form-grid select,.form-grid textarea{background:var(--paper);border-color:var(--line);color:var(--ink)}.form-grid input[readonly],.read-block,.task-note{background:var(--theme-secondary)}.row,.settings-list button{border-color:var(--line)}.tabs button.active{background:var(--paper);color:var(--green)}.reward-art.peach{background:var(--theme-peach)}.reward-art.yellow{background:var(--theme-yellow)}.reward-art.green{background:var(--soft)}.reward-art svg{color:var(--ink)}.reward-art:before{background:#ffffff40;border-color:#ffffff70}.icon-tile.peach{background:var(--theme-peach);color:#946047}.icon-tile.yellow{background:var(--theme-yellow);color:#80682f}.timeline li{border-color:var(--line)}.timeline li:before{background:var(--green)}dialog{border-color:var(--line)}#toast{background:var(--green)}#mobile-nav{background:var(--paper);border-color:var(--line)}#mobile-nav button{color:var(--muted)}#mobile-nav button.active{color:var(--green)}:root[data-theme=b] .hero{border:1px solid #cadffc;box-shadow:0 5px #d6e4f8}:root[data-theme=b] .primary{border-radius:15px;box-shadow:0 3px #245c9f}:root[data-theme=b] .panel,:root[data-theme=b] .reward-card,:root[data-theme=b] .action-card{box-shadow:0 4px #e0eafa}:root[data-theme=b] .brand-icon{background:#ffd263;color:#354560}:root[data-theme=b] .pending-strip{background:#fff2c9;color:#745e2d;border-color:#ecd690}:root[data-theme=b] .greeting-mark{color:#ca8527}:root[data-theme=b] .demo-bar{background:#e5edf8;color:#4b6381;border-color:#d3e1f3}:root[data-theme=b] .demo-bar select{background:#f7faff;color:#243c5c;border-color:#c7d8ee}.theme-star{position:relative;transform:rotate(9deg);text-align:center;padding:20px 10px;color:#72552e}.theme-star svg{width:120px;height:120px;fill:#ffd366;stroke:#fff;stroke-width:1}.theme-star span{display:inline-block;background:#fff2c9;padding:5px 8px;border-radius:7px;font-size:11px;transform:rotate(-9deg)}:root[data-theme=c] body{background-image:linear-gradient(#67809609 1px,transparent 1px);background-size:100% 24px}:root[data-theme=c] h1,:root[data-theme=c] .section-title h2{font-family:Georgia,SimSun,serif}:root[data-theme=c] .brand-icon{border-radius:3px;transform:none;background:transparent;color:var(--green);border:1px solid var(--green)}:root[data-theme=c] .hero{border:1px solid #ddd2ad;overflow:visible}:root[data-theme=c] .hero:before{content:"";position:absolute;width:66px;height:18px;left:27px;top:-9px;background:#d0dcd7d9;transform:rotate(-4deg)}:root[data-theme=c] .balance{font-family:Georgia,serif}:root[data-theme=c] .panel,:root[data-theme=c] .action-card,:root[data-theme=c] .reward-card,:root[data-theme=c] .task-card,:root[data-theme=c] .settings-card,:root[data-theme=c] .rule-card{border-radius:5px;box-shadow:3px 3px #d8dcd560}:root[data-theme=c] .primary,:root[data-theme=c] .secondary,:root[data-theme=c] .danger,:root[data-theme=c] .compact-balance,:root[data-theme=c] .tabs,:root[data-theme=c] .tabs button,:root[data-theme=c] .icon-tile,:root[data-theme=c] .reward-preview,:root[data-theme=c] .stat{border-radius:4px}:root[data-theme=c] .section-title h2{border-bottom:4px solid #efdea5}:root[data-theme=c] .row{border-bottom-style:dashed}:root[data-theme=c] .avatar{border-radius:5px}:root[data-theme=c] .demo-bar{background:#e7eae5;color:#53616c}.theme-notebook{padding:25px 18px;transform:rotate(8deg);color:#49617a}.theme-notebook svg{width:105px;height:115px;fill:#fffaf0;stroke:#7790a2;stroke-width:1}.theme-notebook span{font-size:10px;display:block;text-align:center;margin-top:5px}.theme-options{border:0;padding:0;margin:0;min-width:0}.theme-options legend{margin-bottom:12px}.form-grid .theme-option{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);border-radius:12px;margin-bottom:11px;cursor:pointer;background:var(--paper)}.form-grid .theme-option input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.theme-option strong{font-size:14px}.theme-option small{display:block;margin-top:7px;color:var(--muted);font-weight:400;line-height:1.6}.theme-option:has(input:checked){border:2px solid var(--green);padding:14px}.theme-swatches{display:flex;gap:6px;margin-top:10px}.theme-swatches i{height:10px;width:34px;border-radius:4px}.theme-option-a i:nth-child(1){background:#42664c}.theme-option-a i:nth-child(2){background:#e3ead5}.theme-option-a i:nth-child(3){background:#edddce}.theme-option-b i:nth-child(1){background:#3778c6}.theme-option-b i:nth-child(2){background:#ffd263}.theme-option-b i:nth-child(3){background:#ffdccc}.theme-option-c i:nth-child(1){background:#2b466b}.theme-option-c i:nth-child(2){background:#f3e8bc}.theme-option-c i:nth-child(3){background:#d0dcd7}@media(max-width:680px){.theme-star{padding:17px 5px}.theme-star svg{width:110px;height:110px}.theme-notebook{padding:17px 12px}.theme-notebook svg{height:100px}}button,input,textarea,select{font:inherit}fieldset{border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0}fieldset legend{font-size:12px}.form-grid .inline-check input{min-height:18px;width:18px;height:18px}.form-grid input[type=checkbox]{accent-color:var(--green)}.preserve{white-space:pre-line}.block{display:block;font-size:11px;color:var(--muted);margin-top:6px}.auth-shell{max-width:490px;margin:45px auto;padding:24px}.auth-shell .brand{margin-bottom:25px}.auth-shell h1{font-size:28px}.auth-shell .tabs{margin-top:25px}.development-bar{background:#e2ecf8;color:#526982;padding:9px 18px;font-size:11px}.error-banner{padding:13px 20px;background:#fff0d3;color:#854b31;font-size:13px}.error-banner button{text-decoration:underline}.search-label{display:grid;gap:8px;font-size:12px;color:var(--muted);margin:18px 0}.search-label input,.list-filters input,.list-filters select,main>.section-title select{padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);min-width:0}.list-filters{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}.list-filters input{flex:1}.hero-symbol{position:absolute;right:28px;bottom:12px;font-size:135px;color:#d1a54d;opacity:.7;line-height:1}.hero .balance,.hero button{position:relative;z-index:1}.reward-art{font-size:80px;color:#6e7c98}.secret-overlay{position:fixed;inset:0;background:#24342b66;display:grid;place-items:center;padding:20px;z-index:20}.secret-overlay section{max-width:480px}.secret-overlay .inline-actions{margin-top:18px}.toast{position:fixed;bottom:80px;left:50%;transform:translate(-50%);background:var(--green);color:#fff;padding:12px 22px;border-radius:12px;z-index:30}.settings-card .inline-actions{margin-top:14px}.inline-actions{align-items:center;gap:12px}.row .row-body{min-width:0}.task-title{gap:10px}.task-title h3{overflow-wrap:anywhere}.form-grid input[readonly]{background:var(--soft)}.theme-notebook{padding:0}#header{flex-wrap:wrap}.form-help{line-height:1.8}.settings-card h3,.settings-card p{overflow-wrap:anywhere}main select{border:1px solid var(--line);border-radius:8px;padding:8px;color:var(--ink);background:var(--paper)}.settings-list button{font:inherit}#mobile-nav button{justify-content:center;min-height:44px}.side-nav small{margin-left:auto}.positive{font-variant-numeric:tabular-nums}@media(max-width:680px){.auth-shell{margin:10px auto;padding:20px}.development-bar{font-size:10px;line-height:1.7}.list-filters input,.list-filters select{width:100%;font-size:16px}.search-label input{font-size:16px}.secret-overlay h2{font-size:20px}.hero-symbol{font-size:115px;right:18px}.settings-card .inline-actions{gap:8px}.form-actions{flex-wrap:wrap}.form-actions>button{min-width:110px}.workspace{padding-bottom:110px}.read-block{font-size:13px}.form-help{font-size:12px}}html{-webkit-text-size-adjust:100%}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--green);outline-offset:2px}.text-button,.tabs button{min-height:44px}.form-grid input,.form-grid select{min-height:48px}.form-grid input[type=checkbox]{min-height:20px}.form-grid .inline-check{min-height:44px}.auth-shell{width:100%;max-width:480px;min-height:100svh;margin:0 auto;padding:48px 24px 28px}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.auth-brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:var(--theme-tint);color:var(--green);font-size:30px}.auth-brand strong{display:block;font-size:21px;letter-spacing:2px;line-height:1.35}.auth-brand div>span{display:block;margin-top:4px;font-size:12px;color:var(--muted)}.auth-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 10px 36px #243c5c06}.auth-heading{margin-bottom:24px}.auth-shell .auth-heading h1{font-size:26px;line-height:1.35;letter-spacing:0}.auth-heading p{margin-top:8px;font-size:14px;color:var(--muted);line-height:1.65}.auth-form{gap:20px}.auth-form label,.field-heading label{font-size:14px;font-weight:600}.auth-form input{font-size:16px;min-height:50px;padding:12px 14px;border-radius:12px}.auth-form .subtle-box{margin:0}.field-hint{font-size:12px;color:var(--muted);font-weight:400;line-height:1.6}.field-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-10px;margin-bottom:2px}.field-heading .text-button{padding:8px 0 8px 12px;font-weight:400;font-size:13px}.password-control{position:relative}.password-control input{padding-right:52px}.password-toggle{position:absolute;right:3px;top:3px;bottom:3px;width:44px;display:grid;place-items:center;border-radius:9px;color:var(--muted)}.password-toggle svg{width:20px;height:20px}.password-field>.field-hint{display:block;margin-top:8px}.auth-form .auth-submit{min-height:50px;font-size:16px;margin-top:4px;width:100%}.auth-signup{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:24px;font-size:13px;color:var(--muted)}.auth-signup .text-button{font-size:14px;font-weight:600;padding:8px}.auth-back{margin:-12px 0 12px -4px;font-size:13px}.auth-back svg{width:17px;height:17px}.auth-footer{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin-top:26px;color:var(--muted);font-size:12px}.auth-footer>span{display:flex;align-items:center;gap:5px}.auth-footer svg{width:16px;height:16px}.auth-development{margin-top:24px;font-size:12px;color:var(--muted)}.auth-development summary{cursor:pointer;padding:12px 0}.auth-development p{line-height:1.7}.header-family{min-width:0;display:grid;gap:4px}.header-family strong{font-size:15px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-family>span{font-size:11px}.profile-button{min-height:44px;padding:4px;border-radius:12px;max-width:45%}.profile-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button .avatar{flex-shrink:0}.refresh-button{flex-shrink:0;flex-direction:column;justify-content:center;gap:2px;min-width:44px;font-size:11px;padding:4px}.refresh-button svg{width:19px;height:19px}.quick-score-entry{width:100%;margin-bottom:20px}.todo-tabs button{display:flex;justify-content:center;align-items:center;gap:5px}.tab-count{font-size:11px;font-variant-numeric:tabular-nums}.nav-icon{position:relative;display:grid;place-items:center}.nav-badge{position:absolute;top:-5px;left:16px;min-width:17px;padding:1px 4px;background:#b94836;color:#fff;font-size:10px;line-height:15px;border-radius:10px;border:2px solid var(--paper);white-space:nowrap}body:has(.action-dialog[open]){overflow:hidden}.action-dialog{padding:0;overflow:hidden;max-height:min(88dvh,calc(var(--dialog-height, 100dvh) - 24px))}.action-dialog[open]{display:flex;flex-direction:column}.action-dialog .dialog-head{margin:0;padding:16px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.action-dialog .dialog-head h2{font-size:19px;line-height:1.5;overflow-wrap:anywhere}.action-dialog .dialog-head h2:focus{outline:none}.action-dialog .dialog-close{min-width:44px;min-height:44px;font-size:26px}.dialog-form{display:flex;flex-direction:column;min-height:0}.dialog-content{padding:20px;overflow-y:auto;min-height:0;overscroll-behavior-y:contain}.dialog-content.form-grid{gap:18px}.dialog-content.form-grid>.read-block{margin-bottom:0}.dialog-footer{padding:12px 20px 20px;border-top:1px solid var(--line);flex-shrink:0;background:var(--paper)}.dialog-footer .form-actions{padding-top:0;flex-wrap:nowrap}.dialog-footer .primary,.dialog-footer .secondary{min-height:48px;min-width:0;font-size:15px}.dialog-footer .preview-balance{margin-bottom:12px;padding:10px 12px;flex-wrap:wrap;font-size:13px}.dialog-footer .form-error{margin-bottom:10px;max-height:72px;overflow:auto}.discard-panel{position:absolute;inset:auto 0 0;padding:20px;background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -12px 28px #243c5c12;font-size:14px}@media(max-width:680px){.auth-shell{padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))}.auth-brand{margin-bottom:24px}.auth-card{padding:24px 20px 16px}.auth-heading{margin-bottom:22px}.auth-form{gap:18px}.auth-footer{gap:16px;margin-top:24px}.shell{min-height:100dvh}.workspace{padding:0 16px calc(94px + env(safe-area-inset-bottom))}.workspace #header{position:sticky;top:0;z-index:3;background:var(--bg);padding:12px 0;margin-bottom:20px;flex-wrap:nowrap}.header-family{flex:1}.profile-button{gap:7px;font-size:13px}.profile-button .avatar{width:34px;height:34px;font-size:13px}.page-heading{gap:12px;margin-bottom:20px;align-items:center}.page-heading>div{min-width:0}.page-heading h1{font-size:24px;letter-spacing:0;line-height:1.4;overflow-wrap:anywhere}.page-heading .subtitle{font-size:13px;margin-top:6px}.primary,.secondary,.danger{min-height:46px;font-size:14px}.text-button{font-size:13px}.refresh-button{font-size:11px}.section-title{gap:10px;margin:24px 0 12px}.section-title h2{font-size:16px}.section-title>span{max-width:55%;line-height:1.6;text-align:right;font-size:11px}.section-title>button{flex-shrink:0}.section-title .secondary{padding:10px 12px;font-size:13px}.child-picker{border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:4px 12px;gap:12px;margin-bottom:16px;font-size:13px}.child-picker select{flex:1;min-width:0;min-height:44px;border:0;background:transparent;font-size:16px}.hero{min-height:170px;padding:20px}.hero small{font-size:13px}.balance{font-size:54px;line-height:1.25;margin:7px 0}.hero-bottom{min-height:32px;font-size:12px}.hero-symbol{font-size:98px;bottom:26px}.action-card{padding:18px;display:flex;gap:0}.action-card h2{align-self:auto;font-size:17px}.action-card p{font-size:12px;margin:6px 0 14px}.action-card .primary{width:100%;min-height:48px;font-size:15px}.pending-strip{min-height:44px;font-size:13px}.quick-score-entry{min-height:48px;font-size:15px}.tabs{margin-bottom:16px}.tabs button{min-height:44px;font-size:13px;padding:8px}.todo-tabs button{padding-inline:4px}.task-card{padding:18px}.task-top{font-size:13px;margin-bottom:12px}.task-title h3,.settings-card h3{font-size:15px}.task-title strong{font-size:20px;flex-shrink:0}.task-note{font-size:13px;line-height:1.7}.task-card>.primary{width:100%;min-height:46px}.row h3{font-size:15px;line-height:1.6}.row p{font-size:12px;line-height:1.65}.row{padding:16px 0;gap:12px}.row>strong{font-size:17px;flex-shrink:0}.pill{font-size:11px}.rule-grid{gap:12px}.rule-card{min-height:130px;padding:16px}.rule-card h3{margin-top:8px;font-size:14px;overflow-wrap:anywhere}.rule-card p{font-size:12px}.rule-card strong{font-size:24px}.rule-card:hover{transform:none}.compact-balance{padding:16px;gap:12px;margin-bottom:16px;font-size:13px}.compact-balance>span{min-width:0;overflow-wrap:anywhere}.compact-balance strong{flex-shrink:0;font-size:28px;font-variant-numeric:tabular-nums}.compact-balance .text-button{flex-shrink:0}.search-label{font-size:13px;margin:16px 0}.search-label input,.list-filters input,.list-filters select{min-height:46px;font-size:16px}.list-filters{display:grid;grid-template-columns:minmax(0,1fr) 114px;gap:8px}.list-filters input:only-child{grid-column:1 / -1}.list-filters select{font-size:14px}.stat small{font-size:12px}.stat strong{font-size:24px;overflow-wrap:anywhere}.reward-grid{grid-template-columns:minmax(0,1fr);gap:14px}.reward-card{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;padding:16px;align-items:start}.reward-art{height:76px;border-radius:15px;font-size:44px}.reward-art:before{width:48px;height:48px;transform:none}.reward-card-body{padding:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:center}.reward-card-body h3{font-size:15px;grid-column:1 / -1;overflow-wrap:anywhere}.reward-card-body p{margin:0;min-height:0;font-size:12px;grid-column:1 / -1;overflow-wrap:anywhere}.reward-card .price{margin:6px 0 0;font-size:21px}.reward-card .primary{min-height:44px;font-size:13px;padding:10px;width:auto}.settings-card{padding:18px}.settings-card p,.read-block,.form-help{font-size:13px}.settings-card .inline-actions{gap:0 16px}.settings-card .text-button{font-size:13px}.form-grid label,.field-label{font-size:14px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}.form-grid textarea{min-height:92px}.form-grid .inline-check{font-size:13px;line-height:1.6}.form-grid .inline-check input{flex-shrink:0}.action-dialog{position:fixed;inset:auto 0 var(--dialog-bottom, 0px);margin:0;width:100%;max-width:none;max-height:calc(var(--dialog-height, 100dvh) - max(12px,env(safe-area-inset-top)));border-radius:22px 22px 0 0}.action-dialog .dialog-head{padding:12px 16px}.action-dialog .dialog-head h2{font-size:18px}.dialog-content{padding:18px 16px}.dialog-footer{padding:12px 16px max(14px,env(safe-area-inset-bottom))}.dialog-footer .form-actions{padding-bottom:0}.discard-panel{padding:20px 16px max(16px,env(safe-area-inset-bottom))}.secret-overlay{padding:16px}.secret-overlay section{max-height:90dvh;overflow:auto}.secret-overlay .inline-actions>button{flex:1;min-width:120px}#mobile-nav{z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px 12px max(8px,env(safe-area-inset-bottom))}#mobile-nav button{min-height:56px;gap:3px;font-size:12px;border-radius:14px;padding:6px 0}#mobile-nav button.active{background:var(--soft)}#mobile-nav svg{width:22px;height:22px}.toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);width:max-content;font-size:14px}}@media(max-width:360px){.auth-shell,.auth-card{padding-inline:16px}.auth-footer{gap:10px;font-size:11px}.reward-card{grid-template-columns:54px minmax(0,1fr);gap:12px;padding:14px}.reward-art{height:64px}}.child-switcher{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:2px 1px 10px;overscroll-behavior-x:contain}.child-switcher>button{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:150px;max-width:260px;padding:10px 12px;border:2px solid var(--line);border-radius:16px;background:var(--paper);text-align:left}.child-switcher>button[aria-pressed=true]{border-color:var(--green);background:var(--soft)}.child-switcher>button>span:nth-child(2){min-width:0;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600}.child-switcher small{display:block;font-size:11px;font-weight:400;color:var(--muted)}.child-switcher strong{margin-left:auto;font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.child-switcher strong small{display:inline;margin-left:3px}.score-context{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:0 0 10px}.score-context strong{color:var(--ink)}.rule-search{display:flex;align-items:center;gap:9px;padding:0 13px;background:var(--paper);border:1px solid var(--line);border-radius:14px;min-height:48px;color:var(--muted)}.rule-search svg{width:19px;height:19px}.rule-search input{width:100%;min-width:0;border:0;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-size:16px;padding:13px 0}.category-strip{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:10px 0 2px;overscroll-behavior-x:contain}.category-strip button{flex-shrink:0;min-height:44px;padding:9px 13px;border-radius:12px;font-size:13px;color:var(--muted)}.category-strip button[aria-pressed=true]{color:var(--green);background:var(--soft);font-weight:650}.rule-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.rule-category{color:var(--muted);font-size:11px}.rule-card strong{margin-top:auto}.rule-card strong small{font-size:11px;font-weight:400;margin-left:4px}.rule-arrow{position:absolute;bottom:18px;right:16px;color:var(--muted);font-size:20px}.onboarding-empty .primary{margin-top:20px}.onboarding-empty>svg{width:40px;height:40px;margin-bottom:16px}.action-dialog .action-fields{margin:0;border:0;border-radius:0;min-inline-size:0}.action-summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:4px 0 10px}.action-summary>div{min-width:0}.action-summary h3{font-size:20px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.action-summary small{font-size:12px;color:var(--muted)}.action-summary>strong{font-size:36px;line-height:1.3;flex-shrink:0;font-variant-numeric:tabular-nums}.action-summary>strong>small{font-size:12px;margin-left:4px;font-weight:400}.action-fields>label:not(.inline-check){grid-template-columns:1fr auto;align-items:center}.action-fields>label:not(.inline-check)>input,.action-fields>label>textarea,.action-fields>label>select{grid-column:1/-1}.optional-label{font-size:11px;color:var(--muted);font-weight:400}.number-field .field-heading{margin:0 0 10px;min-height:28px}.number-field .field-heading label{font-size:14px}.number-stepper{display:grid;grid-template-columns:48px minmax(0,1fr) auto 48px;gap:6px;align-items:center;background:var(--soft);border-radius:16px;padding:8px;color:var(--green)}.number-stepper button{height:48px;border-radius:12px;background:var(--paper);font-size:25px}.action-fields .number-stepper input{border:0;background:transparent;font-size:30px;font-weight:650;text-align:center;padding:4px;min-height:56px;color:inherit;-moz-appearance:textfield}.number-stepper input::-webkit-inner-spin-button,.number-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.number-stepper>span{font-size:12px}.score-sign{display:flex;gap:4px;border-radius:10px;background:var(--soft);padding:3px}.score-sign button{min-width:58px;min-height:38px;font-size:13px;border-radius:8px;color:var(--muted)}.score-sign button[aria-pressed=true]{background:var(--paper);color:var(--green);box-shadow:0 1px 5px #25364912}.score-sign button:last-child[aria-pressed=true]{color:#b05a43}.decision-field{border:0;padding:0;margin:0;min-width:0}.decision-field legend{font-size:14px;font-weight:600;margin-bottom:10px}.decision-options{display:flex;flex-wrap:wrap;gap:8px}.decision-options button{flex:1;min-width:85px;min-height:46px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:14px}.decision-options button[aria-pressed=true]{background:var(--soft);border-color:var(--green);color:var(--green);font-weight:650}.advanced-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:10px 0;text-align:left;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}.advanced-toggle>span{font-size:18px}.dialog-footer .deduction-submit,.dialog-footer .deduction-submit:hover{background:#a84f3b;color:#fff;box-shadow:none}.member-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;margin-bottom:10px;overflow:hidden}.member-card summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:16px;min-height:76px}.member-card summary::-webkit-details-marker{display:none}.member-card summary>span:nth-child(2){flex:1;min-width:0}.member-card summary strong{display:block;font-size:15px;overflow-wrap:anywhere}.member-card summary small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.member-card summary>span:last-child{font-size:12px;color:var(--green)}.member-card .inline-actions{margin:0;padding:0 16px 12px;border-top:1px solid var(--line)}.member-card .text-button{min-height:44px}.member-card .member-destructive{color:#a84f3b}.reward-view-tabs{margin-top:16px}.family-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.family-shortcuts button{background:var(--paper);border:1px solid var(--line);padding:18px;text-align:left;border-radius:16px;display:flex;align-items:center;gap:10px;font-size:15px}.family-shortcuts svg{color:var(--green)}@media(max-width:680px){:root[data-theme=b]{--bg:#f6f8fc;--line:#e4e9f1;--soft:#edf3fc;--theme-secondary:#f0f4fa;--radius:20px}.workspace{padding:0 18px calc(90px + env(safe-area-inset-bottom))}.workspace #header{padding:10px 0;margin-bottom:14px;border-bottom:1px solid var(--line)}.header-family>span{display:none}.header-family strong{font-size:15px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:23px;font-weight:750;letter-spacing:-.5px}.shell[data-kind=parent] .page-heading .subtitle{display:none}.page-heading .subtitle{font-size:12px;margin-top:5px}.shell[data-page=score] .page-heading{margin-bottom:12px}.child-switcher{margin:0 -1px 2px}.child-switcher>button{min-height:66px;padding:8px 10px;border-radius:14px}.child-switcher .avatar{width:32px;height:32px;font-size:13px}.score-page>.section-title h2{font-size:14px;color:var(--muted);font-weight:500}.score-page>.section-title{margin-top:15px}.rule-grid{gap:12px}.rule-card{min-height:142px;padding:15px;border-radius:17px;box-shadow:none;background:var(--paper)}.rule-card h3{font-size:15px;line-height:1.5;margin:3px 0 9px;font-weight:650}.rule-card strong{font-size:24px}.hero{min-height:155px;padding:20px 22px;background:linear-gradient(125deg,var(--theme-tint),var(--paper))!important;border-color:var(--line)!important;box-shadow:none!important}.balance{font-size:48px;font-weight:700;letter-spacing:-2px}.hero-symbol{right:24px;bottom:31px;font-size:94px;opacity:.8}.hero-bottom{font-size:13px;gap:6px}.hero-bottom svg{width:16px;height:16px}.pending-strip{background:var(--paper)!important;border-color:var(--line)!important;border-radius:12px;font-size:12px;margin-top:12px;color:var(--muted)!important}.section-title{margin-top:22px}.section-title h2{font-size:16px}.task-card{border-radius:18px;padding:18px;margin-bottom:12px;box-shadow:none}.task-card .primary{min-height:44px}.task-note{background:var(--bg);line-height:1.8;font-size:13px;padding:12px}.task-title h3{font-size:17px}.task-title strong{font-size:23px}.quick-score-entry{display:none}.todo-tabs{margin-top:4px}.tabs{background:var(--theme-secondary);border-radius:13px;padding:4px}.tabs button{font-size:14px;font-weight:550}.tabs button.active{box-shadow:0 2px 7px #243c5c08;border-radius:10px}.primary{min-height:48px;font-weight:600}.secondary,.danger{border-radius:12px!important}.reward-card{box-shadow:none!important;padding:16px;border-radius:18px}.reward-card .primary{min-height:44px}.reward-art{background:var(--soft);color:var(--green);border-radius:14px}.compact-balance{background:var(--paper);border:1px solid var(--line);padding:14px 16px;border-radius:16px;margin-bottom:14px}.compact-balance strong{font-size:30px}.settings-card{box-shadow:none!important;border-radius:16px}.settings-list button{min-height:52px;padding:13px 0;font-size:14px}#mobile-nav{padding:6px 14px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 18px #26384e05;border-color:var(--line)}#mobile-nav button{font-size:11px;min-height:54px;gap:4px;border-radius:0}#mobile-nav button.active{background:transparent}.nav-icon{width:45px;height:27px;border-radius:12px}#mobile-nav button.active .nav-icon{background:var(--soft)}.nav-badge{left:29px;top:-4px}.action-dialog{border-radius:24px 24px 0 0;box-shadow:0 -12px 50px #243c5c16}.action-dialog .dialog-head{padding:12px 18px}.action-dialog .dialog-head h2{font-size:17px}.action-dialog .dialog-close{background:transparent;font-size:28px;color:var(--muted)}.action-dialog .action-fields{padding:20px 18px;gap:18px}.action-fields>.read-block{font-size:12px;background:var(--bg);line-height:1.8;padding:12px 14px;border-radius:12px}.action-summary>strong{font-size:38px}.action-summary h3{font-size:20px}.dialog-footer{padding:12px 18px max(18px,env(safe-area-inset-bottom))}.dialog-footer .form-actions>.secondary{flex:0 0 78px;background:var(--theme-secondary)}.dialog-footer .preview-balance{background:transparent;padding:0 2px 3px;font-size:13px}.number-field .field-heading{margin:0 0 8px}.number-stepper{padding:6px;gap:4px;grid-template-columns:44px minmax(0,1fr) auto 44px}.number-stepper button{height:44px}.score-sign button{min-height:44px;min-width:52px}.auth-shell{padding-top:max(24px,env(safe-area-inset-top));padding-inline:24px;background:radial-gradient(ellipse at 100% 0,var(--soft),transparent 45%)}.auth-brand{margin-bottom:32px;gap:10px}.auth-brand-mark{width:40px;height:40px;border-radius:13px}.auth-brand strong{font-size:20px}.auth-brand div>span{font-size:11px}.auth-card{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}.auth-shell .auth-heading h1{font-size:31px;letter-spacing:-1px}.auth-heading{margin-bottom:25px}.auth-heading p{font-size:14px}.auth-form{gap:20px}.auth-form input{min-height:52px;border-color:var(--line);background:var(--paper);border-radius:13px;font-weight:400}.auth-form label{font-size:13px}.auth-form .auth-submit{min-height:52px;margin-top:8px}.auth-back{margin:0 0 16px}.auth-signup{margin-top:22px;border:0;padding-top:0}.auth-footer{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);font-size:11px;gap:18px}}.child-switcher,.category-strip{scrollbar-width:none}.child-switcher::-webkit-scrollbar,.category-strip::-webkit-scrollbar{display:none}.reward-grid{margin-top:14px}.action-summary+.read-block{background:transparent;padding:0;color:var(--muted)}:root{--card-shadow:0 4px 18px #293b5810;--button-shadow:#456d5424;--control-radius:15px;--card-radius:22px;--selected-text:#fff}:root[data-theme=b]{--bg:#f8f8f5;--paper:#fff;--ink:#293650;--muted:#65718a;--green:#526bc9;--line:#e7eaf0;--soft:#edf0fb;--theme-tint:#e8edf9;--theme-secondary:#f0f2f8;--theme-hover:#415ab7;--theme-positive:#526bc9;--theme-caption:#697894;--button-shadow:#536acb26}:root[data-theme=c]{--card-radius:9px;--control-radius:7px;--button-shadow:#293b581c;--card-shadow:2px 3px 0 #b7c1ba29}body{font-family:PingFang SC,HarmonyOS Sans SC,Microsoft YaHei,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}.auth-brand-mark svg{width:27px;height:27px;stroke-width:1.8}.illustrated-heading{position:relative;min-height:142px;display:flex;align-items:center}.illustrated-heading>div{position:relative;z-index:1;max-width:61%}.illustrated-heading p{max-width:190px;line-height:1.8}.auth-illustration{position:absolute;width:155px;height:155px;object-fit:contain;right:-12px;bottom:-3px;pointer-events:none}.header-family{display:flex;align-items:center;gap:9px}.header-family>.family-emblem{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--soft);color:var(--green);flex-shrink:0}.family-emblem svg{width:23px;height:23px;stroke-width:1.8}.header-family>div{min-width:0}.header-family>div>span{font-size:11px;color:var(--muted)}.growth-illustration{position:absolute;width:174px;height:174px;object-fit:contain;right:4px;bottom:-8px;pointer-events:none}.rule-card-top{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.rule-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;flex-shrink:0}[data-tone=blue]{--tile-bg:#eef0fe;--tile-ink:#6977bb}[data-tone=sage]{--tile-bg:#edf5ef;--tile-ink:#5d917b}[data-tone=peach]{--tile-bg:#fff0e7;--tile-ink:#bf8a69}[data-tone=gold]{--tile-bg:#fcf3db;--tile-ink:#b69a54}[data-tone=rose]{--tile-bg:#fcEEEE;--tile-ink:#b8797a}.rule-symbol,.reward-art[data-tone]{background:var(--tile-bg);color:var(--tile-ink)}.rule-symbol svg{width:23px;height:23px;stroke-width:1.6}.rule-card .rule-category{font-size:10px;letter-spacing:.3px;color:var(--muted);text-align:right;line-height:1.5}.rule-card .rule-arrow{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--bg);bottom:15px;right:15px;color:#8b97ac}.rule-arrow svg{width:13px;height:13px}.rule-card strong,.price,.child-switcher strong,.stat strong,.balance,.action-summary>strong{font-family:Avenir Next,Segoe UI,sans-serif;font-variant-numeric:tabular-nums}:root[data-theme] .primary{background:var(--green);border-radius:var(--control-radius);box-shadow:0 6px 15px var(--button-shadow);letter-spacing:.2px;transition:background .15s,filter .15s}:root[data-theme] .primary:hover{background:var(--theme-hover)}:root[data-theme] .primary:active{filter:brightness(.95)}:root[data-theme] .primary:disabled{opacity:1;background:var(--theme-secondary);color:var(--muted);box-shadow:none;filter:none}:root[data-theme] .dialog-footer .deduction-submit{background:#a9635b;box-shadow:0 5px 14px #b56f6620}.negative{color:#a55c58}.reward-art[data-tone]{isolation:isolate;overflow:hidden}.reward-art[data-tone]:before{width:80px;height:80px;right:-24px;top:-26px;border:1px solid #ffffffd9;background:#ffffff36;z-index:-1;transform:none}.reward-art[data-tone] svg{width:38px;height:38px;stroke-width:1.45;color:var(--tile-ink)}.member-card summary .avatar{width:39px;height:39px;box-shadow:inset 0 0 0 3px #ffffff85;background:var(--soft);color:var(--green)}.member-card:nth-of-type(2n) summary .avatar{background:#edf4ee;color:#709080}.member-card:nth-of-type(3n) summary .avatar{background:#fff0e5;color:#b99172}@media(max-width:680px){.workspace{padding-inline:20px;background-image:radial-gradient(ellipse at 0 0,#e9edf766,transparent 420px)}.workspace #header{border-bottom:0;padding:13px 0 9px;background:var(--bg);margin-bottom:12px}.header-family strong{font-size:14px;font-weight:600;letter-spacing:.25px}.header-family>div>span{display:none}.profile-button{gap:7px;font-size:12px;color:var(--muted)}.profile-button .avatar{width:32px;height:32px;background:var(--paper);color:var(--green);border:1px solid var(--line);box-shadow:0 2px 6px #293b5806;font-size:12px;font-weight:600}.page-heading h1{font-size:24px;line-height:1.5;letter-spacing:.3px;font-weight:650}.page-heading{margin-bottom:18px}.page-heading .subtitle{font-size:12px;line-height:1.7}.refresh-button{color:#8994a9;font-size:10px}.child-switcher{gap:11px;padding-top:3px;padding-bottom:13px}.child-switcher>button{min-width:147px;min-height:66px;border:1px solid var(--line);border-radius:18px;padding:10px 12px;box-shadow:0 3px 12px #293b5804}.child-switcher>button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--selected-text);box-shadow:0 6px 16px var(--button-shadow)}.child-switcher>button[aria-pressed=true] .avatar{background:#ffffff24;color:#fff;border-color:#ffffff36}.child-switcher>button[aria-pressed=true] small{color:#ffffffcf}.child-switcher .avatar{width:30px;height:30px;font-size:12px;border:1px solid var(--line);background:var(--theme-secondary)}.child-switcher>button>span:nth-child(2){font-size:13px;font-weight:500}.child-switcher strong{font-size:21px;font-weight:650}.child-switcher strong small{font-size:10px;margin-left:2px}.score-context{font-size:11px;margin-bottom:8px}.score-context .text-button{font-size:11px}.score-context strong{font-weight:500}.rule-search{border:1px solid var(--line);background:var(--paper);border-radius:15px;min-height:47px;box-shadow:0 2px 5px #293b5803}.rule-search input{font-size:16px;padding:13px 0;min-height:47px}.rule-search svg{color:#99a2b4;stroke-width:1.7}.category-strip{gap:4px;padding-top:9px;padding-bottom:1px}.category-strip button{font-size:12px;color:var(--muted);padding-inline:12px}.category-strip button[aria-pressed=true]{background:var(--soft);color:var(--green);border-radius:12px;font-weight:600}.score-page>.section-title{margin-top:13px;margin-bottom:12px}.score-page>.section-title h2{font-size:12px;letter-spacing:.2px}.section-title .text-button{font-size:12px;font-weight:500}.rule-grid{gap:12px}.rule-card{min-height:155px;padding:15px;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--paper);box-shadow:var(--card-shadow);gap:6px;transition:border-color .15s,background .15s}.rule-card:active{border-color:var(--green);background:var(--soft)}.rule-card h3{font-size:15px;line-height:1.55;font-weight:600;margin:7px 0 8px;letter-spacing:.1px}.rule-card strong{font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.7px}.rule-card strong small{font-size:10px;letter-spacing:0;color:var(--muted);margin-left:4px}.hero{min-height:184px;padding:22px;background:linear-gradient(125deg,var(--theme-tint),var(--paper))!important;border:1px solid var(--line)!important;border-radius:24px;box-shadow:0 5px 20px #293b5807!important}.hero>small{font-size:12px}.hero .balance{font-size:49px;letter-spacing:-2px;margin:9px 0 8px;font-weight:650;line-height:1.2}.hero .balance span{font-size:12px;font-weight:400;margin-left:6px;letter-spacing:0}.hero-bottom{font-size:11px;max-width:58%;text-align:left;line-height:1.6;min-height:35px;gap:5px}.hero-bottom svg{width:15px;height:15px}.growth-illustration{width:169px;height:169px;right:-2px;bottom:-6px}.pending-strip{border-radius:13px;box-shadow:0 2px 7px #293b5803;padding-inline:14px;font-size:11px}.panel,.task-card,.member-card,.settings-card{border-color:var(--line);box-shadow:var(--card-shadow)!important;border-radius:var(--card-radius)}.task-top{font-size:12px}.task-title h3{font-size:16px;font-weight:600}.task-title strong{color:var(--green);font-size:23px;font-weight:600}.task-note{background:var(--bg);border-radius:12px;padding:13px;font-size:12px;color:var(--muted)}.pill.pending{background:#fcf2de;color:#a3854c;border-radius:7px}.compact-balance{background:linear-gradient(115deg,var(--soft),var(--paper));border-color:var(--line);box-shadow:0 3px 12px #293b5805;border-radius:20px;padding:16px 18px}.compact-balance strong{font-family:Avenir Next,Segoe UI,sans-serif;color:var(--green);font-size:29px;font-weight:650}.reward-card{border-radius:22px;border-color:var(--line);box-shadow:var(--card-shadow)!important;padding:16px;gap:14px;grid-template-columns:72px minmax(0,1fr)}.reward-art[data-tone]{height:85px;border-radius:17px}.reward-card-body h3{font-size:15px;font-weight:600;letter-spacing:.1px}.reward-card-body p{font-size:11px;line-height:1.8;color:var(--muted)}.reward-card .price{font-size:23px;letter-spacing:-.7px;font-weight:600}.price small{font-size:10px;letter-spacing:0;color:var(--muted)}.reward-card .primary{font-size:12px;padding:10px 13px;border-radius:12px;min-height:44px}.reward-view-tabs,.todo-tabs{background:#e9edf480;padding:4px;border-radius:14px;gap:4px}.tabs button{font-size:13px}.tabs button.active{box-shadow:0 2px 9px #35476608;color:var(--green);border-radius:11px}.family-shortcuts button{border-color:var(--line);border-radius:19px;font-size:14px;padding:20px 16px;box-shadow:var(--card-shadow)}.family-shortcuts svg{width:25px;height:25px;margin-right:2px}.family-shortcuts button:first-child{background:linear-gradient(125deg,var(--soft),var(--paper))}.member-card summary strong{font-weight:600;font-size:14px}.member-card summary small{font-size:11px;margin-top:5px}.member-card summary>span:last-child{font-size:11px}.member-card summary{padding:15px 16px;gap:12px}.stat{background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:0 3px 12px #293b5805;padding:15px 12px}.stat small{font-size:11px}.stat strong{font-size:24px;font-weight:600;letter-spacing:-.7px;color:var(--green)}.stat:nth-child(2) strong{color:#b87973}.stat:nth-child(3) strong{color:#b29764}.row h3{font-size:14px;font-weight:550}.row p{font-size:11px;line-height:1.8}.row{padding-block:17px}#mobile-nav{left:12px;right:12px;bottom:max(8px,env(safe-area-inset-bottom));border:1px solid #e6eaf1b8;background:#fffffff7;border-radius:23px;box-shadow:0 5px 24px #293b5812;padding:5px 8px}#mobile-nav button{min-height:55px;gap:2px;font-size:10px;color:#8b94a6}#mobile-nav button.active{color:var(--green);font-weight:650}#mobile-nav .nav-icon{height:29px;width:43px;border-radius:11px}#mobile-nav svg{width:21px;height:21px;stroke-width:1.7}.nav-badge{background:#cd8b7e;font-weight:600;border-color:var(--paper);font-size:9px;line-height:13px;min-width:15px}.workspace{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.action-dialog{background:var(--paper);border-radius:27px 27px 0 0;box-shadow:0 -12px 60px #26385922;border-color:var(--line)}.action-dialog .dialog-head{padding:13px 20px;border-color:var(--line)}.action-dialog .dialog-head h2{font-weight:600;font-size:17px;letter-spacing:.2px}.action-dialog .dialog-close{width:38px;height:38px;min-width:44px;min-height:44px;font-size:25px;color:#8491a7}.action-dialog .action-fields{padding:20px;gap:18px}.action-summary{background:var(--soft);border-radius:19px;padding:18px 16px;gap:12px}.action-summary h3{font-size:18px;font-weight:600}.action-summary small{font-size:11px}.action-summary>strong{font-size:37px;font-weight:600;letter-spacing:-1px}.action-summary>strong>small{font-size:11px;letter-spacing:0}.action-summary+.read-block{font-size:11px;line-height:1.8;padding:0 3px}.advanced-toggle{font-size:12px;min-height:47px;color:var(--green);border-color:var(--line)}.dialog-footer{padding:14px 20px max(20px,env(safe-area-inset-bottom));border-color:var(--line)}.dialog-footer .preview-balance{font-size:12px;color:var(--muted);padding-bottom:7px}.preview-balance strong{color:var(--green);font-weight:600}.dialog-footer .form-actions>.secondary{flex-basis:72px;background:var(--theme-secondary);font-weight:500;color:var(--muted)}.dialog-footer .primary{font-size:15px;min-height:49px}.number-stepper{border-radius:17px;background:var(--soft);padding:8px}.number-stepper button{box-shadow:0 2px 6px #293b5805}.form-grid input,.form-grid textarea,.form-grid select{border-color:var(--line);border-radius:13px;background:var(--paper)}.auth-shell{max-width:460px;padding:28px 25px 30px;background:radial-gradient(ellipse at 100% 0,var(--soft),transparent 49%)}.auth-brand{margin-bottom:26px;gap:10px}.auth-brand-mark{width:41px;height:41px;border-radius:14px;background:var(--green);color:#fff;box-shadow:0 5px 12px var(--button-shadow)}.auth-brand strong{font-size:19px;letter-spacing:2px;font-weight:650}.auth-brand div>span{font-size:10px;letter-spacing:.6px;margin-top:4px;color:var(--muted)}.auth-shell .auth-heading h1{font-size:29px;letter-spacing:.5px;font-weight:650;line-height:1.45}.auth-heading{margin-bottom:24px}.auth-heading p{font-size:12px;line-height:1.9;color:var(--muted)}.auth-heading.illustrated-heading{min-height:130px;margin-bottom:21px}.auth-illustration{width:148px;height:148px;right:-10px;bottom:-3px}.illustrated-heading>div{max-width:58%}.illustrated-heading p{max-width:152px}.auth-form{gap:20px}.auth-form label,.field-heading label{font-size:12px;font-weight:550;color:#536079;letter-spacing:.2px}.auth-form input{min-height:53px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:0 2px 6px #293b5803;padding:13px 16px;font-size:16px;color:var(--ink)}.auth-form input::placeholder{font-weight:400;color:#9aa3b4;font-size:14px}.auth-form .password-control input{padding-right:50px}.field-heading .text-button{font-size:11px;color:var(--muted)}.password-toggle{color:#99a4b7}.auth-form .auth-submit{min-height:53px;font-size:15px;letter-spacing:2px;margin-top:6px}.auth-signup{margin-top:20px;font-size:12px;gap:3px}.auth-signup .text-button{font-size:13px;font-weight:550;gap:7px}.auth-footer{gap:16px;font-size:10px;letter-spacing:.3px;color:#8590a2;border-color:var(--line);margin-top:25px;padding-top:20px}.auth-footer svg{width:14px;height:14px}.field-hint{font-size:11px;line-height:1.8;color:var(--muted)}:root[data-theme=c] .rule-card,:root[data-theme=c] .reward-card,:root[data-theme=c] .member-card{border-radius:var(--card-radius)}}@media(max-width:360px){.workspace{padding-inline:16px}.auth-shell{padding-inline:21px}.auth-illustration{width:129px;height:129px;right:-7px;bottom:0}.auth-shell .auth-heading h1{font-size:27px}.growth-illustration{width:135px;height:135px}.hero .balance{font-size:43px}.rule-card{padding:13px}.rule-symbol{width:32px;height:32px}.rule-card .rule-category{font-size:9px}.rule-card h3{font-size:14px}.reward-card{grid-template-columns:59px minmax(0,1fr);padding:14px;gap:12px}.reward-art[data-tone]{height:75px}}.rule-card .rule-category{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:root[data-theme] .dialog-footer .deduction-submit:disabled{background:var(--theme-secondary);color:var(--muted);box-shadow:none}.hero .balance.long-balance{font-size:34px;max-width:100%;overflow-wrap:anywhere}.hero:has(.long-balance) .growth-illustration{opacity:.2}@media(max-width:360px){.page-heading h1{font-size:22px}}@media(max-width:680px){.rule-search input::placeholder{font-size:14px}}:root[data-theme=b]{--bg:#fdfbf7;--paper:#fffefd;--ink:#101b36;--muted:#737c8e;--green:#2874f5;--soft:#eaf2ff;--line:#e6e5e6;--theme-positive:#1769f8;--theme-secondary:#eff2f6;--theme-hover:#1763e8;--theme-tint:#d6eaff;--button-shadow:#3175ef20;--story-action:linear-gradient(155deg,#5596ff,#246cf2)}@font-face{font-family:"Little Step Serif";src:url(/assets/story-heading-DJcwKEec.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}:root{--story-heading:"Little Step Serif","Noto Serif SC","Songti SC","SimSun",serif}body{font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}.portrait{display:inline-block;flex:none;width:46px;height:46px;background-image:url(/assets/story-avatars-CglRzLsA.webp);background-size:400% auto;background-repeat:no-repeat;background-position:33.333% 50%;border-radius:50%}.portrait-lamb{background-position:0 50%}.portrait-child{background-position:33.333% 50%}.portrait-sibling{background-position:66.666% 50%}.portrait-parent{background-position:100% 50%}.auth-shell{position:relative;background:var(--bg);padding:25px 25px 24px;max-width:440px;isolation:isolate}.auth-brand{position:relative;z-index:1;margin:0 0 23px;gap:5px}.auth-brand .portrait{width:51px;height:51px}.auth-brand strong{font-family:var(--story-heading);font-size:25px;font-weight:800;letter-spacing:2px;color:var(--ink)}.auth-brand div>span{font-size:9px;letter-spacing:3px;color:var(--ink);margin-top:1px}.login-scene{display:block;width:100%;max-width:none;height:auto;aspect-ratio:4/3;object-fit:cover;margin:0;pointer-events:none}.login-artwork{position:relative;display:flow-root;container-type:inline-size;margin:-62px -25px 8px}.book-message{position:absolute;left:14%;top:47%;width:24%;font-family:var(--story-heading);font-size:clamp(9px,2.8cqw,12px);line-height:1.7;text-align:center;transform:rotate(-11deg);color:#594f42}.artwork-note{position:absolute;right:31px;top:21%;font-family:var(--story-heading);font-size:11px;letter-spacing:2px;line-height:1.8;transform:rotate(-12deg);color:#35577c}.username-control{position:relative;display:block}.username-control>svg,.password-control>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#707b8f;pointer-events:none}.auth-form .username-control input,.auth-form .password-control input{padding-left:42px;width:100%}.auth-shell .auth-card{border:0;box-shadow:none;background:none;border-radius:0;padding:0}.auth-shell .auth-heading{margin:0 0 28px}.auth-shell .auth-heading h1{font-family:var(--story-heading);color:var(--ink);font-size:30px;line-height:1.5;font-weight:900;letter-spacing:0}.storybook-login .auth-heading{text-align:center}.auth-shell .auth-heading p{font-size:14px;line-height:1.8;margin-top:5px;color:var(--muted)}.auth-form{gap:19px}.auth-form label,.auth-form .field-heading label{font-size:13px;line-height:1.6;color:var(--ink);font-weight:550;letter-spacing:0}.auth-form .field-heading{margin:0 0 6px;min-height:0}.auth-form input{background:#ffffffa6;border:1px solid #d8dce3;box-shadow:inset 0 1px 2px #111c3503;border-radius:16px;min-height:46px;padding:11px 15px;font-size:16px}.auth-form input::placeholder{font-size:14px;color:#949ba8}.auth-form .password-control input{padding-right:48px}.auth-form .auth-submit{min-height:48px;margin-top:3px;font-size:18px;letter-spacing:3px;border-radius:18px}.storybook-login .auth-submit:not(:disabled):after{content:" →";font-size:22px}.auth-shell .auth-signup{border:0;padding-top:0;margin:10px 0 0;justify-content:space-evenly;font-size:11px;color:#b7bac4}.auth-signup .text-button{font-size:13px;letter-spacing:0;color:var(--green);font-weight:600}.auth-shell .auth-footer{font-size:11px;letter-spacing:2px;gap:10px;margin-top:35px;padding:16px 0;color:var(--muted);border:0}.auth-footer:before,.auth-footer:after{content:"";width:22px;height:1px;background:#b8bdc6;align-self:center}:root[data-theme=b] .primary{background:var(--story-action);box-shadow:0 3px 8px #397afa19,inset 0 1px 1px #ffffff42;border:1px solid #3479f523;border-radius:17px;color:#fff}:root[data-theme=b] .primary:hover{filter:brightness(.97)}.workspace #header{padding:12px 0 15px;margin-bottom:2px;border:0;align-items:center}.header-family{gap:3px}.header-family>div>span{display:none}.header-family strong{font-family:var(--story-heading);font-size:19px;font-weight:900;color:var(--ink);letter-spacing:.4px}.header-family .portrait{display:inline-block;width:42px;height:42px}.profile-button{padding:0;gap:4px;min-height:44px}.profile-button .portrait{width:43px;height:43px}.profile-button>svg{width:14px;height:14px;transform:rotate(90deg)}.personal-greeting{font-size:13px;margin:2px 0 5px;line-height:1.5;font-weight:500;color:var(--ink)}.page-heading{margin-bottom:17px;gap:4px;align-items:center;position:relative}.page-heading h1{font-family:var(--story-heading);font-size:27px;font-weight:800;line-height:1.35;letter-spacing:-.6px;color:var(--ink)}.page-heading .subtitle{font-size:13px;line-height:1.6;margin-top:5px;color:var(--muted)}.shell[data-kind=parent] .page-heading .subtitle{display:block}.refresh-button{position:static;opacity:1;font-size:10px;min-height:44px}.shell[data-page=home] .refresh-button,.shell[data-page=score] .refresh-button{position:static;align-self:flex-start;padding:0;min-width:28px;min-height:32px;margin-top:0}.shell[data-page=home] .refresh-button span,.shell[data-page=score] .refresh-button span{display:none}.refresh-button svg{width:14px;height:14px}.shell[data-page=score] .page-heading,.shell[data-page=home] .page-heading{padding-right:0}.shell[data-page=score] .child-switcher{gap:22px;margin:0 0 10px;padding:3px 6px 0}.shell[data-page=score] .child-switcher>button{display:flex;flex-direction:column;justify-content:flex-start;gap:5px;width:64px;min-width:64px;max-width:80px;min-height:82px;padding:0;border:0;border-radius:0;background:none;color:var(--ink);box-shadow:none;text-align:center}.shell[data-page=score] .child-switcher .portrait{width:56px;height:56px;border:3px solid transparent;background-origin:content-box;background-clip:content-box;box-sizing:border-box;position:relative}.shell[data-page=score] .child-switcher>button[aria-pressed=true] .portrait{border-color:var(--green);box-shadow:0 0 0 2px var(--soft)}.shell[data-page=score] .child-switcher>button[aria-pressed=true] .portrait:after{content:"★";position:absolute;right:-5px;top:-9px;color:#ffc75a;font-size:18px;text-shadow:0 1px white}.shell[data-page=score] .child-switcher>button>span:nth-child(2){font-size:12px;max-width:80px;font-weight:500}.shell[data-page=score] .child-switcher>button[aria-pressed=true]>span:nth-child(2){font-weight:700}.add-child-icon{width:54px;height:54px;border:1px dashed #c9ccd4;border-radius:50%;display:grid;place-items:center;color:var(--muted)}.add-child-icon svg{width:22px;height:22px}.story-balance{position:relative;isolation:isolate;overflow:hidden;background:url(/assets/story-banner-QL9AbFlY.webp) center/100% 100% no-repeat;border-radius:19px;padding:18px 20px;color:#101b36;min-height:125px}.story-balance>span:first-child{font-size:12px;position:relative;z-index:1;display:block;font-weight:550}.story-balance>strong{position:relative;z-index:1;display:block;font-family:Arial,sans-serif;font-size:53px;line-height:1.15;letter-spacing:-2px;font-weight:750;width:58%;overflow-wrap:anywhere}.story-balance strong small{font-size:12px;letter-spacing:0;font-family:inherit;margin-left:7px;font-weight:400}.story-balance>p{font-size:11px;line-height:1.5;color:#546178;position:relative;z-index:1;margin-top:3px}.story-balance .story-quote{position:absolute;right:23px;top:15px;font-family:var(--story-heading);font-size:11px;line-height:1.65;color:#375b87;transform:rotate(-9deg);text-align:center;letter-spacing:1px}.parent-balance{margin-bottom:12px;background-size:100% 140%;background-position:center top}.parent-balance .story-quote{right:18px;top:13px;max-width:112px}.child-balance{min-height:192px;border-radius:44% 8% 8% 10%/10% 14% 5% 8%;padding:33px 21px 18px;margin:0 -4px 9px;background-size:auto 100%;background-position:60% center}.child-balance>strong{font-size:83px;line-height:1.1;letter-spacing:-4px;max-width:55%}.child-balance .story-quote{font-size:10px;top:19px;right:15px}.week-chip{display:inline-block;position:relative;z-index:1;padding:3px 7px;border-radius:20px;background:#ffffffe6;color:#1769f8;font-size:12px;font-weight:600;margin-top:6px}.story-balance>strong.long-balance{font-size:32px;letter-spacing:-1px;padding-block:8px;max-width:55%}.record-effort{width:100%;min-height:53px;display:flex;gap:10px;justify-content:center;align-items:center;font-family:var(--story-heading);font-size:20px;font-weight:700;letter-spacing:1px}.plus-disc{width:23px;height:23px;border-radius:50%;background:#fff;color:var(--green);display:inline-grid;place-items:center;flex:none}.plus-disc svg{width:20px;height:20px;stroke-width:2.4}.submission-caption{font-size:11px;color:var(--muted);text-align:center;margin:8px 0 0}.workspace .section-title{margin:17px 0 9px;gap:8px}.workspace .section-title h2{font-family:var(--story-heading);font-size:19px;line-height:1.5;font-weight:900;color:var(--ink)}.section-title .text-button{font-size:11px;min-height:32px;display:inline-flex;gap:4px;align-items:center;white-space:nowrap;color:var(--muted)}.section-title .text-button svg{width:12px;height:12px}.rule-search{min-height:38px;background:#ffffffb3;border:1px solid var(--line);border-radius:19px;padding-inline:13px;box-shadow:0 3px 8px #19243e05}.rule-search input{padding:8px 0;min-height:38px;font-size:16px}.rule-search input::placeholder{font-size:13px}.rule-search svg{width:17px;height:17px;color:#737c90}.score-page>.section-title{margin:9px 0 0}.score-page>.section-title h2{font-size:18px}.category-strip{gap:8px;padding:0 0 6px;margin:0}.category-strip button{position:relative;flex:1;min-height:44px;padding:10px 12px;border:0;border-radius:0;background:none;color:#737c8e;font-size:12px;white-space:nowrap;isolation:isolate}.category-strip button:before{content:"";position:absolute;inset:8px 0;background:var(--theme-secondary);border-radius:20px;z-index:-1}.category-strip button[aria-pressed=true]{border-radius:0;background:none;color:var(--selected-text,#fff);box-shadow:none}.category-strip button[aria-pressed=true]:before{background:var(--green)}.story-rule-list{display:grid;grid-template-columns:1fr;gap:7px}.story-rule-list .rule-card{position:relative;display:flex;flex-direction:row;align-items:center;width:100%;min-height:57px;gap:11px;padding:9px 12px;border:1px solid #eeeeef80;border-radius:17px;background:var(--paper);box-shadow:0 3px 12px #23335204;text-align:left}.rule-symbol{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:50%;box-shadow:inset 0 2px 4px #ffffff95,0 1px 3px #3048750b}.rule-symbol[data-tone=blue]{background:linear-gradient(145deg,#8ec4ff,#3882ff);color:#fff}.rule-symbol[data-tone=sage]{background:linear-gradient(145deg,#bad09a,#7ca453);color:#fff}.rule-symbol[data-tone=peach]{background:linear-gradient(145deg,#ffe291,#ffbc43);color:#fff}.rule-symbol[data-tone=rose]{background:linear-gradient(145deg,#ffb6a0,#ff7665);color:#fff}.rule-symbol svg{width:22px;height:22px;stroke-width:1.8}.rule-copy{flex:1;min-width:0}.story-rule-list .rule-card h3{font-size:14px;font-weight:650;letter-spacing:0;line-height:1.5;margin:0;color:var(--ink)}.rule-copy small{display:block;font-size:11px;line-height:1.5;color:var(--muted)}.story-rule-list .rule-card strong{font-size:23px;font-family:Arial,sans-serif;font-weight:600;letter-spacing:-.5px;margin:0;flex:none;line-height:1.2}.story-rule-list .rule-card>svg{width:12px;height:15px;color:#7e899d;flex:none}.negative{color:#e9574e!important}.custom-score{width:100%;min-height:44px;border-radius:16px;display:flex;justify-content:center;align-items:center;gap:8px;margin-top:10px;background:var(--soft);color:var(--green);font-size:14px;font-weight:600}.custom-score .plus-disc{background:var(--green);color:#fff;width:19px;height:19px}.custom-score svg{width:16px;height:16px}.home-rule-picker{margin-top:15px;padding:10px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}.home-rule-picker .section-title{margin-top:0}.home-rewards{display:grid;gap:8px}.wish-preview{display:flex;align-items:center;min-height:77px;background:var(--paper);border-radius:14px;overflow:hidden;border:1px solid #eeeeef80;box-shadow:0 3px 12px #23335205;gap:13px;padding-right:12px}.wish-art{display:grid;place-items:center;flex:none;width:102px;height:78px;background-color:#fcf0d3;background-repeat:no-repeat;background-size:200% auto;background-position:left center}.wish-art[data-image=film],.wish-art[data-image=cake]{background-image:url(/assets/story-rewards-DssH0Pon.webp)}.wish-art[data-image=cake]{background-position:right center;background-color:#f8e7d4}.wish-art>svg{width:36px;height:36px;color:#a89570}.wish-art:before{display:none}.wish-preview>div{flex:1;min-width:0}.wish-preview h3{font-size:14px;font-weight:650;line-height:1.55;overflow-wrap:anywhere}.wish-preview p{color:#d68b1a;font-size:11px;margin-top:2px}.wish-preview p strong{font-size:23px;font-family:Arial,sans-serif;line-height:1.2}.wish-preview>button{flex:none;min-height:44px;max-width:92px;min-width:58px;padding:8px 4px;color:var(--green);font-size:12px;position:relative;isolation:isolate}.wish-preview>button:before{content:"";position:absolute;inset:7px 0;border:1px solid #81adfa;background:#f3f8ff;border-radius:20px;z-index:-1}.recent-progress{padding:0 12px}.recent-progress .row{padding:11px 0;gap:11px;min-height:63px}.recent-progress h3{font-size:13px;font-weight:650}.recent-progress .row p{font-size:10px;line-height:1.6;margin-top:1px}.recent-progress .row>strong{font-size:19px;color:var(--green);flex:none}.recent-progress .rule-symbol{width:36px;height:36px}.action-dialog .advanced-toggle{min-height:48px;padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:13px;font-weight:500;line-height:1.6;color:var(--green)}:root[data-theme=b] .recent-progress{box-shadow:0 3px 12px #23335205!important;border-color:#eeeeef80;border-radius:16px}@media(max-width:680px){.workspace #header:before{content:"";position:absolute;inset:0 -18px;background:var(--bg);z-index:-1;pointer-events:none}.shell[data-page=home] .workspace #header{padding:7px 0 10px}.shell[data-page=home] .page-heading{margin-bottom:12px}.child-balance{min-height:182px;padding-top:26px}.shell[data-page=home] .section-title{margin:12px 0 6px}.wish-preview{min-height:72px}.wish-preview .wish-art{height:72px}.shell[data-page=score] .workspace #header{padding:7px 0 10px}.shell[data-page=score] .page-heading{margin-bottom:8px}.shell[data-page=score] .personal-greeting{margin-bottom:2px}.shell[data-page=score] .page-heading .subtitle{margin-top:2px}.shell[data-page=score] .child-switcher{padding-top:0;margin-bottom:6px}.shell[data-page=score] .child-switcher>button{min-height:77px}.parent-balance{padding:13px 18px;min-height:120px;margin-bottom:9px}.score-page>.section-title{margin-top:5px;min-height:30px}.story-rule-list .rule-card{min-height:54px;padding-block:7px}.workspace{max-width:480px;margin:auto;padding:0 18px calc(82px + env(safe-area-inset-bottom))}.profile-name{display:none}.shell{min-height:100svh}#mobile-nav{left:0;right:0;bottom:0;padding:4px 12px max(5px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0;border:1px solid #eeedf0;background:#fffefdf5;box-shadow:0 -4px 18px #202c4805;max-width:480px;margin:auto}#mobile-nav button{font-size:12px;min-height:53px;color:#657087;gap:1px}#mobile-nav .nav-icon{width:35px;height:27px;background:none!important}#mobile-nav svg{width:23px;height:23px;stroke-width:1.8}#mobile-nav button.active{color:var(--green);font-weight:600}#mobile-nav button.active svg{stroke-width:2.2}.shell[data-page=score]~#mobile-nav button.active svg{fill:currentColor}.nav-badge{background:#f46660;color:#fff;left:24px;top:-2px;border:1px solid white}.reward-card .wish-art{width:82px;height:88px;border-radius:13px;background-size:200% auto}.auth-shell{padding-top:19px}.storybook-login .auth-brand{margin-bottom:0}.storybook-login .login-artwork{margin-top:-40px}}@media(min-width:681px){.auth-shell{margin:32px auto;border:1px solid var(--line);border-radius:28px;box-shadow:0 12px 60px #26334b0b;min-height:0;overflow:hidden}.workspace{max-width:1100px;width:100%}.shell[data-page=home] main,.shell[data-page=score] main{max-width:760px}.parent-balance{min-height:160px;background-size:100% auto;background-position:center 35%}.child-balance{min-height:245px;background-size:100% auto;background-position:center 40%}.story-rule-list{grid-template-columns:repeat(2,minmax(0,1fr))}.story-rule-list .rule-card{min-height:76px}.story-balance .story-quote{right:25%;top:22px}.child-balance .story-quote{right:23px}.home-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}.wish-preview{gap:10px}.wish-art{width:88px}.refresh-button{position:static}}@media(max-width:360px){.workspace #header:before{inset-inline:-14px}.workspace{padding-inline:14px}.page-heading h1{font-size:23px}.page-heading .subtitle{font-size:11px}.refresh-button{min-width:22px!important}.auth-shell{padding-inline:22px}.login-artwork{margin-inline:-22px}.auth-shell .auth-heading h1{font-size:27px}.auth-shell .auth-heading p{font-size:12px}.auth-heading{margin-bottom:20px!important}.auth-form{gap:15px}.wish-art{width:76px}.wish-preview{gap:9px;padding-right:8px}.wish-preview h3{font-size:12px}.wish-preview>button{font-size:11px;min-width:52px}.child-balance{min-height:176px}.child-balance>strong{font-size:68px}.rule-copy small{font-size:10px}.story-rule-list .rule-card{gap:8px;padding-inline:10px}.story-rule-list .rule-card h3{font-size:12px}.category-strip{gap:5px}.category-strip button{font-size:11px;padding-inline:10px}}@media(prefers-reduced-motion:reduce){.story-quote{transform:none}}
