:root{--ink:#26382e;--muted:#768078;--green:#315c45;--pale:#eaf1e6;--cream:#faf9f4;--line:#e3e7dd;--orange:#eeac55;--radius:22px}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d58b35;outline-offset:4px}.header{max-width:1280px;margin:auto;padding:25px 40px;display:flex;align-items:center;gap:44px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:21px;line-height:1.1}.brand-icon{background:#d6e1c9;border-radius:16px;color:#4d6140;font-size:34px;width:49px;height:49px;text-align:center;line-height:43px;transform:rotate(-8deg)}.brand-sub{display:block;font-size:10px;letter-spacing:3.6px;margin-top:7px}.header nav{display:flex;gap:8px}.header nav a{padding:11px 18px;border-radius:12px;font-size:14px;color:var(--muted);font-weight:600}.header nav a.active{background:var(--pale);color:var(--green)}.demo-badge{margin-left:auto;font-size:12px;border:1px solid var(--line);padding:7px 12px;border-radius:30px;color:var(--muted)}main{max-width:1200px;margin:0 auto;padding:48px 20px 64px;min-height:75vh}main:focus{outline:none}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;text-transform:uppercase;color:var(--green);margin:0 0 12px}h1{font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:-1.5px;margin:0 0 16px}h2{font-size:23px;letter-spacing:-.5px;margin:0 0 8px}h3{margin:0;font-size:17px}p{margin:0}.subtitle{color:var(--muted);max-width:570px}.hero{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:36px}.hero-art{width:220px;height:145px;background:#e7eddf;border-radius:80px 80px 35px 35px;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}.capy{position:relative;width:130px;height:90px;background:#ba946c;border-radius:58% 45% 40%;box-shadow:inset -12px -8px #ab805c}.capy:before{content:"";position:absolute;left:25px;top:-11px;width:24px;height:29px;background:#a9805c;border-radius:50%;transform:rotate(-20deg)}.capy:after{content:"";position:absolute;right:8px;top:34px;width:8px;height:8px;background:#342b21;border-radius:50%;box-shadow:-33px -6px #342b21}.coin-float{position:absolute;right:-10px;top:5px;border:5px solid #f6d28b;background:#e9b651;color:#825b22;font-weight:800;width:57px;height:57px;border-radius:50%;display:grid;place-items:center;transform:rotate(13deg)}.layout{display:grid;grid-template-columns:1fr 300px;gap:26px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.count{font-size:12px;color:var(--muted);background:#f3f5ef;padding:5px 10px;border-radius:20px}.search-wrap{position:relative;margin-bottom:22px}.search-wrap:before{content:"⌕";position:absolute;left:16px;top:6px;font-size:27px;color:var(--muted)}input[type=search]{width:100%;padding:14px 42px;border:1px solid var(--line);border-radius:12px;background:#fafbf8;color:var(--ink)}.children-list{display:grid;gap:8px}.child-row{display:flex;align-items:center;gap:15px;width:100%;border:1px solid transparent;background:#fff;text-align:left;border-radius:14px;padding:14px 12px;transition:background .15s,border .15s}.child-row:hover{background:#f5f8f1;border-color:var(--line)}.avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#e9ecdf;font-weight:700;color:#657551;flex-shrink:0}.child-info{flex:1}.child-name{font-size:15px;font-weight:650;display:block}.small{font-size:12px;color:var(--muted)}.balance-mini{font-size:17px;font-weight:750;white-space:nowrap}.balance-mini small{font-size:11px;color:var(--muted);margin-left:4px}.arrow{color:#8c9a88;padding-left:12px}.aside-card{background:#e8eedf;border-radius:var(--radius);padding:27px;align-self:start}.aside-card .big-emoji{font-size:44px;margin-bottom:20px}.aside-card p{color:#687662;font-size:14px;margin:12px 0 24px}.button{border:0;background:var(--green);color:#fff;border-radius:12px;padding:12px 18px;font-weight:650;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button:hover{background:#224632}.button.secondary{background:#edf1e8;color:var(--green)}.button.secondary:hover{background:#dfe8d6}.hint{font-size:12px;color:var(--muted);margin-top:20px}.back{display:inline-flex;gap:9px;font-size:13px;font-weight:650;color:var(--green);margin-bottom:24px}.profile-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.profile-header .avatar{width:70px;height:70px;font-size:23px;border-radius:22px}.profile-header h1{font-size:32px;margin-bottom:8px}.tags{display:flex;gap:8px;flex-wrap:wrap}.tag{background:var(--pale);color:#617451;font-size:12px;padding:5px 12px;border-radius:20px}.profile-grid{display:grid;grid-template-columns:300px 1fr;gap:26px}.balance-card{background:var(--green);color:#fff;border-radius:var(--radius);padding:30px;align-self:start}.balance-card .eyebrow{color:#bad0a9}.balance-number{font-size:62px;line-height:1.15;letter-spacing:-3px;font-weight:750;margin:25px 0 8px}.balance-number span{font-size:20px;letter-spacing:0;color:#d6e7cb}.balance-card p{color:#c4d8bd;font-size:13px;margin-bottom:28px}.balance-card .button{background:#f0c77f;color:#3c3c28;width:100%}.filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.filter{padding:8px 13px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:12px}.filter.active{background:var(--pale);border-color:var(--pale);color:var(--green);font-weight:700}.transaction{display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.transaction-icon{background:#eef3e8;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:var(--green);font-size:20px}.transaction-icon.negative{color:#a87542;background:#f7ede1}.transaction-info{flex:1}.transaction-title{font-size:14px;font-weight:600}.transaction-amount{font-weight:750;color:#4a7744;white-space:nowrap}.transaction-amount.negative{color:#a87542}.empty{text-align:center;padding:40px 16px;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin-bottom:8px}.shop-hero{margin-bottom:30px}.shop-summary{padding:20px 24px;background:var(--pale);border-radius:16px;display:flex;gap:14px;align-items:center;margin-bottom:30px;font-size:14px}.shop-summary strong{display:block}.shelf-room{background:#f0e9db;border-radius:24px;padding:30px 28px 8px;background-image:linear-gradient(90deg,transparent 49.8%,#e9e0d0 50%,transparent 50.2%);background-size:200px 100%}.shelf-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.shelf-label h2{font-size:19px}.shelf-label span{font-size:12px;color:#8a7d69}.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:36px;padding-bottom:24px;border-bottom:15px solid #c6a77c;box-shadow:0 9px 5px -7px #9f825d;position:relative}.product-card{background:#fffcf6;border:1px solid #e3d9c6;border-radius:18px;text-align:left;padding:16px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;color:var(--ink);width:100%}.product-card:hover{transform:translateY(-5px);box-shadow:0 12px 22px #9e825e20}.product-art{height:150px;border-radius:12px;display:grid;place-items:center;font-size:76px;background:#e8eddb;margin-bottom:16px;position:relative}.product-art.peach{background:#f4e2d4}.product-art.blue{background:#e0e8ee}.product-art.pink{background:#f0e0e3}.product-art.yellow{background:#f4eac9}.product-art.purple{background:#e8e0ef}.stock{position:absolute;top:10px;right:10px;background:#ffffffbd;border-radius:20px;padding:4px 9px;font-size:10px;color:#647056}.product-card .desc{font-size:12px;color:var(--muted);margin:7px 0 18px;flex:1}.product-bottom{display:flex;justify-content:space-between;align-items:center;font-size:18px;font-weight:750}.product-bottom span{font-size:12px;font-weight:500;color:var(--muted)}.product-bottom .product-link{font-size:20px;color:var(--green)}dialog{border:1px solid var(--line);border-radius:24px;padding:28px;width:440px;max-width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#20332870;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}dialog .product-art{height:200px;font-size:100px}dialog h2{margin:20px 0 10px}dialog p{color:var(--muted)}.detail-stats{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.detail-stats strong{font-size:23px;display:block}.close-dialog{width:100%;margin-top:24px}footer{max-width:1200px;margin:auto;padding:22px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}.noscript{padding:30px;text-align:center}@media(max-width:850px){.header{padding:20px;gap:20px;flex-wrap:wrap}.demo-badge{display:none}.header nav{margin-left:auto}.layout,.profile-grid{grid-template-columns:1fr}.aside-card{display:none}.balance-card{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.balance-card .balance-number,.balance-card p{margin:0}.balance-card .button{width:auto}.balance-card .eyebrow{width:100%;margin:0}.shelf{gap:14px}.shelf-room{padding:24px 18px 8px}.product-art{height:125px;font-size:62px}.hero-art{width:170px}}@media(max-width:600px){.header{gap:15px}.brand{font-size:18px}.brand-icon{width:40px;height:40px;line-height:35px;font-size:28px}.header nav{width:100%;justify-content:center;margin:0;background:#f1f4eb;border-radius:12px}.header nav a{flex:1;text-align:center;padding:10px;font-size:13px}main{padding:30px 16px 40px}.hero{gap:16px}.hero-art{display:none}h1{font-size:32px}.panel{padding:18px}.child-row{padding:13px 0;gap:10px}.child-name{font-size:13px}.balance-mini{font-size:15px}.arrow{padding-left:0}.avatar{width:38px;height:38px}.profile-header{align-items:flex-start;gap:12px}.profile-header h1{font-size:25px;letter-spacing:-.7px}.profile-header .avatar{width:50px;height:50px;font-size:18px}.balance-number{font-size:48px}.transaction-title{font-size:13px}.transaction-amount{font-size:14px}.shelf{grid-template-columns:repeat(2,1fr);gap:12px}.shelf-room{padding:20px 12px 8px}.product-card{padding:10px;border-radius:13px}.product-art{height:110px;font-size:53px}.product-card h3{font-size:14px}.product-bottom{font-size:16px}.shop-summary{font-size:13px;padding:16px}.shelf-label span{display:none}footer{flex-direction:column;gap:6px}.subtitle{font-size:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.skip-link{position:fixed;z-index:20;left:16px;top:-80px;padding:12px 20px;border-radius:10px;background:var(--green);color:#fff}.skip-link:focus{top:12px}.status-dot{display:inline-block;width:7px;height:7px;background:#63905e;border-radius:50%;margin-right:5px}.child-info{min-width:0}.child-name,.transaction-title{overflow-wrap:anywhere}.child-info .small{display:block}.demo-note{border-top:1px solid var(--line);padding-top:16px}.state-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin:20px 0}.children-list+.state-panel,.panel .state-panel{border:0;margin:0}.state-panel .button{margin-top:20px}.state-panel strong{font-size:18px}.state-icon{display:block;font-size:34px;margin-bottom:12px}.spinner{display:block;width:32px;height:32px;border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;margin:0 auto 18px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.summary-emoji{font-size:28px}.summary-content{flex:1;min-width:0}.summary-content .small{display:block}.demo-label{margin-top:4px}.text-button{border:0;background:transparent;color:var(--green);font-size:12px;font-weight:600;padding:8px;text-decoration:underline;text-underline-offset:3px}.shop-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:22px}.shop-toolbar .search-wrap{flex:1;margin:0;max-width:440px}.shop-toolbar>.small{margin-left:auto;white-space:nowrap}.product-art{overflow:hidden}.product-art img{width:100%;height:100%;object-fit:contain;padding:8px;position:absolute;inset:0}.product-placeholder{font-size:inherit}.product-price{font-size:18px!important;font-weight:750!important;color:var(--ink)!important}.product-price small{font-size:12px;font-weight:500;color:var(--muted)}.product-bottom{gap:10px}.product-card h3{overflow-wrap:anywhere}.product-card:focus-visible{outline-offset:5px}dialog{max-height:calc(100dvh - 32px);overscroll-behavior:contain}dialog .eyebrow{margin-top:18px}dialog h2{overflow-wrap:anywhere}.transaction-icon{flex-shrink:0}.transaction-info{min-width:0}.profile-header>div{min-width:0}.profile-header h1{overflow-wrap:anywhere}.balance-card{min-width:0}.balance-number{overflow-wrap:anywhere}.shelf{align-items:stretch}.product-card{min-width:0}.shelf-label h2{overflow-wrap:anywhere}.count{white-space:nowrap}.section-top h2{margin-bottom:0}@media(max-width:850px){.shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-label{align-items:flex-start;gap:18px}.shelf-label span{text-align:right}.balance-card .balance-number{flex-shrink:0}}@media(max-width:600px){.hero{margin-bottom:28px}.section-top h2{font-size:20px}.shop-summary{flex-wrap:wrap;gap:10px}.shop-summary .text-button{margin-left:38px}.shop-toolbar{gap:12px;flex-wrap:wrap}.shop-toolbar .search-wrap{flex-basis:100%;max-width:none}.shelf{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-art{height:120px}.product-card .desc{font-size:12px}.product-card h3{font-size:14px}.product-price{font-size:16px!important}.transaction{gap:10px}.transaction-amount{font-size:12px}.transaction-icon{width:30px;height:30px}.detail-stats strong{font-size:21px}dialog{padding:20px}.balance-card .button{width:100%}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}button:disabled{opacity:.45;cursor:default}.no-balance{margin:24px 0 16px}@media(max-width:600px){.pagination .button{font-size:12px;padding:10px 12px}}
