:root{--ink:#222443;--muted:#717591;--purple:#6b3de6;--pink:#ff5f91;--yellow:#fff0a1;--border:#ebe5f9;--bg:#f9f8ff;--shadow:0 10px 35px rgba(50,39,107,.085)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:linear-gradient(160deg,#f7f5ff,#fff9f3 55%,#f4faff);font:15px/1.55 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--purple)}.shell{max-width:850px;margin:auto;padding:0 15px 105px}.head{padding:18px 2px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;gap:10px;align-items:center}.logo{width:50px;height:50px;background:linear-gradient(145deg,#7b46ff,#ec79ae);display:grid;place-items:center;border-radius:18px;font-size:26px;box-shadow:0 8px 18px #7c4cff33}.head b{font-size:20px;letter-spacing:-.5px}.head small,.sub{display:block;color:var(--muted);font-size:12px}.lang{border:1px solid var(--border);background:#fff;color:var(--purple);font-weight:800;border-radius:12px;padding:9px 12px}.hero{background:linear-gradient(125deg,#7346e5,#ad72fd 65%,#eb7ea5);border-radius:27px;color:white;padding:24px;margin:8px 0 20px;position:relative;overflow:hidden;box-shadow:0 18px 40px #7043e544}.hero:before,.hero:after{content:'';position:absolute;width:150px;height:150px;border-radius:50%;background:#ffffff1b;right:-50px;top:-70px}.hero:after{width:105px;height:105px;top:auto;bottom:-50px;right:58px}.hero h1{font-size:27px;line-height:1.14;margin:4px 0 7px;position:relative}.hero p{max-width:380px;margin:0;opacity:.92;position:relative}.hero .eyebrow{letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:800;opacity:.87}.panel{background:white;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:22px;padding:18px;margin:14px 0}.panel h2{font-size:18px;margin:0 0 13px}.section{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 10px}.section h2{font-size:19px;margin:0}.section small{color:var(--muted)}.btn{border:0;border-radius:13px;background:var(--purple);color:#fff;padding:13px 16px;font-weight:800;min-height:44px;box-shadow:0 5px 12px #6743df22}.btn.alt{background:#f4f0ff;color:#5f38d1;box-shadow:none}.btn.soft{background:#fff2dc;color:#7e570c;box-shadow:none}.btn.outline{border:1px solid #d8cafa;background:white;color:var(--purple);box-shadow:none}.btn.small{padding:9px 12px;min-height:38px;font-size:13px}.btn.wide{width:100%}.fields{display:grid;gap:12px}.fields label{font-size:13px;font-weight:750}.fields input,.fields select,.fields textarea{display:block;width:100%;border:1px solid #dad3ea;border-radius:13px;background:#fff;color:var(--ink);padding:12px 14px;margin-top:5px;outline-color:var(--purple);min-height:46px}.fields textarea{min-height:90px}.hint{color:var(--muted);font-size:12px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.stat{background:white;border-radius:18px;border:1px solid var(--border);padding:16px 12px;text-align:center;box-shadow:var(--shadow)}.stat strong{display:block;font-size:24px}.stat small{color:var(--muted);font-size:11px}.kids{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}.kid{border-radius:22px;padding:18px;background:linear-gradient(130deg,#eff6ff,#fff);border:1px solid #d9e8ff;box-shadow:var(--shadow)}.kid:nth-child(even){background:linear-gradient(130deg,#fff1f4,#fff);border-color:#ffe0e9}.kid .avatar{font-size:29px;width:58px;height:58px;display:grid;place-items:center;border-radius:19px;background:#fff;box-shadow:0 5px 10px #5e5a8215}.kid strong{font-size:18px;display:block}.kid small{color:var(--muted)}.kid .money{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.chip{border-radius:50px;background:#fff;padding:5px 10px;font-size:12px;color:#554776;font-weight:700}.nav-pills{display:flex;gap:7px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:none}.nav-pills button{border:1px solid var(--border);background:#fff;color:var(--muted);padding:9px 14px;border-radius:50px;white-space:nowrap;font-weight:700}.nav-pills button.on{color:#fff;background:var(--purple);border-color:var(--purple)}.msg{padding:14px;border:1px solid #e9e6f4;border-radius:17px;background:#fff;margin:10px 0;box-shadow:0 4px 14px #31246408}.msg .meta{display:flex;gap:8px;align-items:center;font-size:11px;color:#7e7891;margin-bottom:6px}.msg h3{font-size:15px;margin:0 0 5px}.msg p{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.msg .resource{display:inline-flex;margin-top:10px;font-size:13px;font-weight:800}.ico{height:37px;width:37px;display:grid;place-items:center;border-radius:12px;background:#f2edff;font-size:18px;flex-shrink:0}.msgline{display:flex;gap:11px;align-items:flex-start}.bar{position:fixed;bottom:0;left:0;right:0;background:#fffffff7;backdrop-filter:blur(15px);border-top:1px solid #ece5f5;padding:8px 10px max(10px,env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:10;box-shadow:0 -6px 25px #34265d09}.bar button{border:0;background:none;color:#7e7891;padding:5px 8px;min-width:59px;display:grid;gap:0;place-items:center;font-size:11px;font-weight:750}.bar button b{font-size:21px;line-height:26px}.bar button.active{color:var(--purple)}.notice{background:#f0ebff;border-radius:14px;padding:13px;font-size:13px;color:#5f4d87}.warning{background:#fff4e2;color:#876021}.empty{text-align:center;color:var(--muted);padding:30px 12px}.boot{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:29px;color:var(--purple)}.boot p{font-size:13px}.foot{text-align:center;color:#9695aa;font-size:11px;margin:22px 0}.flex{display:flex;align-items:center;gap:10px}.spacer{flex:1}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:#292347;color:#fff;border-radius:15px;padding:12px 18px;box-shadow:var(--shadow);z-index:20;display:none;max-width:90vw;font-size:13px;text-align:center}.rtl{direction:rtl;text-align:right}.rtl .head,.rtl .row,.rtl .msgline,.rtl .flex{direction:rtl}.rtl .hero:before{left:-50px;right:auto}@media(min-width:700px){.hero{padding:32px}.hero h1{font-size:34px}.bar{max-width:850px;margin:auto;border-radius:18px 18px 0 0}.shell{padding-bottom:100px}}@media(max-width:360px){.logo{width:43px;height:43px}.head b{font-size:17px}.hero h1{font-size:24px}.stats{gap:6px}.stat{padding:12px 4px}.stat strong{font-size:21px}}
