@font-face{font-family:Vazir;src:url('fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f7f8f5;--paper:#fff;--ink:#213c35;--muted:#64776f;--line:#e4e9e2;--green:#163f38;--green2:#246457;--lime:#d4e6aa;--coral:#f1b29e;--gold:#ecc38d;--radius:24px;--shadow:0 12px 40px #24463808}
*{box-sizing:border-box}body{margin:0;font-family:Vazir,Tahoma,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.8}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #de9a72;outline-offset:4px}input:focus,textarea:focus,select:focus{border-color:var(--green2);outline:3px solid #24645714}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;color:var(--ink);font-size:16px}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:var(--green);margin:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:750;line-height:1.6;letter-spacing:-.5px}h2{font-size:21px;font-weight:730}h3{font-size:18px;font-weight:700}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{font-size:13px;letter-spacing:2px;font-weight:600;color:var(--muted)}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.btn{border:0;border-radius:14px;min-height:46px;padding:11px 20px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--green);color:#fff;font-size:14px;font-weight:650;transition:background .2s,transform .2s}.btn:hover{background:var(--green2)}.btn:active{transform:scale(.98)}.btn.secondary{background:#edf2eb;color:var(--green)}.btn.outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.coral{background:var(--coral);color:#452c27}.btn.danger{background:#fbe8e5;color:#a03931}.icon-btn{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--line);background:#fff;border-radius:14px;color:var(--ink)}.icon-btn:hover{background:#eef2eb}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;justify-content:space-between;align-items:center;gap:15px}.stack{display:grid;gap:18px}.row{display:flex;gap:12px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#eff3eb;color:var(--green);padding:4px 11px;font-size:12px;font-weight:600}.badge.coral{background:#fff0e9;color:#855342}.badge.gold{background:#fff6e5;color:#806535}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:12px}.section{margin-top:30px}.field{margin-bottom:17px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkline{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);line-height:1.9}.checkline input{margin-top:5px}.notice{padding:13px 17px;border-radius:14px;background:#fff3e7;color:#806034;font-size:14px;line-height:1.9;border:1px solid #f3dfc2}.notice.neutral{background:#f1f5ed;border-color:#e2ebd8;color:#53634a}.notice.error{background:#fff0ed;color:#a54132;border-color:#f6d6cb}.divider{height:1px;background:var(--line);margin:23px 0}.initial-loading{height:100dvh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}
.sidebar{position:fixed;right:0;top:0;bottom:0;width:246px;background:#fff;border-left:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px}.brand img{width:45px;height:45px}.brand-name{font-size:25px;font-weight:800;line-height:1.3;letter-spacing:-.7px}.brand-sub{font-size:12px;color:var(--muted);margin-top:5px}.side-nav{display:grid;gap:7px;margin-top:40px}.nav-btn{border:0;background:transparent;text-align:right;color:var(--muted);display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:14px;font-size:15px;min-height:51px}.nav-btn.active{background:#eaf1e4;color:var(--green);font-weight:700}.nav-btn:hover{background:#f4f6f1}.nav-btn.active:before{content:'';width:4px;height:23px;background:var(--green);border-radius:4px;position:absolute;right:0}.sidebar .side-note{margin-top:auto;border-radius:20px;background:#f5f1e8;padding:20px 17px}.side-note .icon{color:#a58450}.side-note p{font-size:14px;margin:10px 0 14px}.side-bottom{margin-top:24px;display:flex;align-items:center;gap:10px}.avatar{width:42px;height:42px;border-radius:50%;background:#f4dfd1;color:#745346;display:grid;place-items:center;font-weight:750;flex-shrink:0}.side-user{flex:1;min-width:0}.side-user strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-user span{font-size:12px;color:var(--muted)}.main{margin-right:246px;padding:25px 38px 50px;max-width:1800px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:30px;min-height:52px}.top-date{font-size:14px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:11px}.top-actions select{font-size:14px;background:#fff;border-radius:30px;max-width:180px;padding:9px 16px}.mobile-brand,.bottom-nav{display:none}.greeting{margin-bottom:24px}.greeting p{color:var(--muted);margin-top:3px;font-size:15px}.greeting .greeting-mark{font-size:13px;letter-spacing:2px;color:var(--green2);margin-bottom:7px;display:block}.home-top{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:23px}.welcome{position:relative;background:var(--green);color:#fff;border:0;overflow:hidden;padding:32px 34px 27px;min-height:326px}.welcome .spark{position:absolute;left:35px;top:32px;color:var(--gold);opacity:.9}.welcome .spark .icon{width:67px;height:67px;stroke-width:1}.welcome h2{font-size:27px;position:relative;max-width:80%;line-height:1.75}.welcome p{font-size:14px;color:#d5e5db;max-width:82%;margin:10px 0 23px}.welcome .welcome-tag{font-size:12px;color:#d3e2b2;display:block;margin-bottom:9px}.welcome .starter-input{background:#fff;border-radius:17px;display:flex;align-items:center;gap:12px;padding:10px 13px;color:var(--ink);position:relative}.starter-input input{border:0;padding:9px 5px;box-shadow:none;outline:none;min-width:0;font-size:14px}.starter-input .btn{padding:10px 14px;min-width:44px;background:#e6eedb;color:var(--green)}.starter-options{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.starter-options button{background:#ffffff0d;border:1px solid #ffffff26;color:#edf4eb;border-radius:30px;padding:7px 12px;font-size:12px}.starter-options button:hover{background:#ffffff20}.self-card{background:#f3e8da;border:0;display:flex;flex-direction:column;position:relative;padding:28px;overflow:hidden}.self-card .icon-orb{height:53px;width:53px;background:#fff9ef;border-radius:18px;display:grid;place-items:center;margin-bottom:18px;color:#99734a}.self-card h2{font-size:23px}.self-card p{font-size:14px;color:#786751;margin:10px 0 20px}.self-card .btn{margin-top:auto;align-self:flex-start;background:#fff9ef;color:#68523e}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:23px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 20px;display:flex;align-items:center;gap:15px;text-align:right;color:var(--ink)}.quick-card:hover{border-color:#9cad91;background:#fcfdf9}.quick-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:15px;background:#ecf3e1;flex-shrink:0}.quick-card:nth-child(2) .quick-icon{background:#fcf0df}.quick-card:nth-child(3) .quick-icon{background:#fbe8e1}.quick-card strong{font-size:15px;display:block}.quick-card span{font-size:12px;color:var(--muted)}.home-lower{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:23px;margin-top:25px}.empty{padding:30px 20px;text-align:center;color:var(--muted)}.empty .empty-icon{width:60px;height:60px;display:grid;place-items:center;background:#f1f5ed;border-radius:21px;margin:0 auto 15px;color:var(--green2)}.empty h3{color:var(--ink);font-size:16px;margin-bottom:7px}.empty p{font-size:14px;max-width:360px;margin:0 auto 20px}.mini-plan{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.mini-plan:last-child{border-bottom:0}.mini-plan .plan-symbol{width:43px;height:43px;border-radius:14px;background:#f0f4e9;display:grid;place-items:center}.mini-plan div:nth-child(2){flex:1}.mini-plan strong{font-size:14px}.mini-plan p{font-size:12px;color:var(--muted)}.progress{height:6px;border-radius:9px;background:#edf1e8;overflow:hidden;margin-top:12px}.progress-fill{height:100%;background:#719467;border-radius:9px;transition:width .2s}.activity-preview{display:flex;align-items:center;gap:17px;padding:15px 0;border-bottom:1px solid var(--line)}.activity-preview:last-child{border:0}.activity-symbol{width:64px;height:64px;border-radius:19px;background:#f4e9ce;color:#7c6540;display:grid;place-items:center;flex-shrink:0}.activity-symbol .icon{width:29px;height:29px}.activity-preview:nth-child(3) .activity-symbol{background:#e4eedb;color:#63784f}.activity-preview h3{font-size:15px}.activity-preview p{font-size:12px;color:var(--muted);margin:3px 0}.activity-preview button{border:0;background:none;padding:0;text-align:right}.page-intro{margin-bottom:27px}.page-intro p{color:var(--muted);font-size:15px;margin-top:7px}.tabs{display:flex;gap:6px;padding:5px;border:1px solid var(--line);border-radius:16px;background:#fff;max-width:max-content;margin-bottom:23px;flex-wrap:wrap}.tabs button{border:0;padding:9px 16px;border-radius:11px;background:transparent;color:var(--muted);font-size:14px}.tabs button.active{background:var(--green);color:white}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.activity-card{overflow:hidden;padding:0}.activity-cover{height:135px;background:#e8eedb;display:flex;align-items:center;justify-content:center;color:#526d43;position:relative}.activity-cover .icon{width:53px;height:53px;stroke-width:1.2}.activity-cover .badge{position:absolute;right:17px;top:16px;background:#ffffffb8}.activity-card:nth-child(3n+2) .activity-cover{background:#f3dfcc;color:#946a4e}.activity-card:nth-child(3n+3) .activity-cover{background:#ece7f0;color:#756682}.activity-body{padding:23px}.activity-body h3{margin-bottom:7px}.activity-body p{font-size:14px;color:var(--muted);min-height:54px}.activity-meta{display:flex;gap:15px;margin:17px 0;color:var(--muted);font-size:13px}.activity-body .btn{width:100%}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.plan-card .panel-header{margin-bottom:12px}.plan-card h3{max-width:85%}.step{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #eff1eb;cursor:pointer;font-size:14px;line-height:1.9}.step input{margin-top:5px}.step.done span{color:var(--muted);text-decoration:line-through}.plan-card .plan-footer{margin-top:20px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.plan-card .progress{margin-bottom:14px}.reminder{color:#7a663c;background:#fcf5e7;padding:8px 11px;border-radius:10px;font-size:12px;margin-bottom:12px}.family-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.child-card{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fafbf8;margin:15px 0}.child-card .two-fields{grid-template-columns:1.5fr 1fr}.child-card textarea{min-height:76px}.child-head{margin-bottom:15px}.memory-card{background:#edf2e5;border:0}.memory-card .icon{width:30px;height:30px;margin-bottom:15px;color:#718b5b}.memory-card p{font-size:14px;color:#66725b;margin:10px 0 20px}.memory-card textarea{background:#ffffffb3}.privacy-actions{display:grid;gap:11px}.privacy-actions .btn{justify-content:flex-start}.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;height:calc(100dvh - 150px);min-height:550px}.thread-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;overflow:auto}.thread-panel>.btn{width:100%;margin-bottom:22px}.thread-item{display:block;width:100%;border:0;border-radius:12px;padding:12px;background:transparent;text-align:right;color:var(--muted);font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:5px}.thread-item.active{color:var(--green);background:#eff3e9}.chat-panel{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;min-width:0}.chat-head{padding:16px 23px;border-bottom:1px solid var(--line);min-height:78px}.chat-head .brand img{width:37px;height:37px}.chat-head strong{font-size:16px;display:block}.chat-head span{font-size:12px;color:var(--muted)}.chat-messages{padding:25px 27px;overflow:auto;flex:1;scroll-behavior:smooth}.chat-start{max-width:530px;margin:40px auto;text-align:center}.chat-start img{width:68px;height:68px;margin-bottom:18px}.chat-start h2{font-size:24px}.chat-start p{font-size:14px;color:var(--muted);margin:10px 0 24px}.chat-start .chat-chips{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chat-chips button{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fafbf7;color:var(--ink);font-size:13px}.message{max-width:90%;margin-bottom:25px;animation:rise .25s ease}.message.user{margin-right:auto;width:fit-content;background:#eef2e7;border-radius:18px 18px 18px 5px;padding:14px 20px;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.message.assistant{margin-left:auto;max-width:97%;display:flex;gap:13px}.assistant-symbol{width:32px;height:32px;border-radius:12px;background:var(--green);color:var(--gold);display:grid;place-items:center;flex-shrink:0;margin-top:3px}.assistant-symbol .icon{width:18px;height:18px}.message-content{min-width:0;flex:1}.message-content .answer{font-size:15px;line-height:2.15;white-space:pre-wrap;overflow-wrap:anywhere}.message-content .answer-label{font-size:11px;color:var(--muted);margin-bottom:8px}.answer-steps{padding:13px 18px;background:#f8faf5;border-radius:15px;margin:15px 0;font-size:14px}.answer-steps ol{margin:0;padding-right:20px}.answer-steps li{margin:8px 0}.source-list{margin-top:12px;padding:12px 15px;border:1px solid var(--line);border-radius:13px;font-size:12px;color:var(--muted)}.source-list summary{cursor:pointer;color:var(--green)}.source-item{margin-top:8px}.chat-composer{padding:17px 23px 20px;border-top:1px solid var(--line);background:#fff}.composer-row{display:flex;align-items:flex-end;border:1px solid #d8e0d0;background:#fafbf7;border-radius:17px;padding:10px;gap:10px}.composer-row textarea{border:0;background:transparent;outline:none;resize:none;min-height:48px;max-height:140px;padding:8px 5px;font-size:14px;box-shadow:none}.composer-row .icon-btn{flex-shrink:0;border:0;background:transparent}.composer-row .btn{min-width:46px;padding:11px;flex-shrink:0}.chat-composer .checkline{margin-top:10px;font-size:11px}.chat-composer input[type=checkbox]{width:15px;height:15px}.typing{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.typing i{width:5px;height:5px;background:#759270;border-radius:50%;animation:pulse 1s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:23px 0}.stat{padding:22px}.stat p{font-size:13px;color:var(--muted)}.stat strong{font-size:29px;display:block;margin-top:4px}.admin-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:23px;align-items:start}.knowledge-item,.request-item{border-bottom:1px solid var(--line);padding:19px 0}.knowledge-item:last-child,.request-item:last-child{border:0}.knowledge-item h3,.request-item h3{font-size:16px}.knowledge-item p,.request-item p{font-size:13px;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}.request-summary{white-space:pre-wrap;font-size:14px;margin:12px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:right;padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-weight:600;background:#fafbf7}.profile-strip{display:flex;align-items:center;gap:15px;padding:18px;border-radius:17px;background:#f7f5ee;margin-bottom:22px}.profile-strip .avatar{width:54px;height:54px}.profile-strip h3{font-size:17px}.profile-strip p{font-size:13px;color:var(--muted)}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:var(--green);color:#fff;padding:55px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand-sub{color:#cad9cb}.auth-story .brand img{background:#fff1;border-radius:16px}.auth-story .story-copy{margin:auto 0;max-width:520px;padding:80px 0}.story-copy .eyebrow{color:var(--gold);font-size:14px}.story-copy h1{font-size:47px;line-height:1.8;margin:15px 0 22px;font-weight:650}.story-copy p{color:#d5e2d4;font-size:16px;line-height:2}.story-tags{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap}.story-tags span{border:1px solid #ffffff30;border-radius:40px;padding:9px 15px;font-size:13px}.auth-story footer{color:#c2d2c6;font-size:13px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px 35px}.auth-form{width:100%;max-width:425px}.auth-form h1{font-size:29px;margin-bottom:8px}.auth-form>p{font-size:14px;color:var(--muted);margin-bottom:30px}.auth-form .btn{width:100%}.auth-toggle{display:flex;justify-content:center;align-items:center;gap:8px;font-size:14px;margin-top:20px;color:var(--muted)}.text-btn{border:0;background:none;color:var(--green);padding:3px 0;font:inherit;font-weight:650}.auth-checks{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:23px}.auth-checks span{padding:5px 9px;border-radius:8px;background:#f0f5e9;color:#49673d;font-size:12px}.auth-checks span.bad{background:#fdebe8;color:#9c4238}.install-form .auth-form{max-width:475px}.install-form .auth-form>p{margin-bottom:20px}dialog{border:0;padding:0;width:min(600px,calc(100% - 32px));max-height:88dvh;border-radius:25px;box-shadow:0 25px 100px #123c3830;color:var(--ink);background:#fff}dialog::backdrop{background:#14372e66;backdrop-filter:blur(4px)}.dialog-head{padding:23px 26px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-body{padding:5px 26px 26px;overflow:auto}.dialog-body p{font-size:14px;color:var(--muted);margin-bottom:17px}.dialog-body .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.dialog-body ol{padding-right:22px;font-size:15px;line-height:2.2}.dialog-body ul{padding-right:22px;font-size:14px}.dialog-body .file-input{background:#f7f9f3;border:1px dashed #aebda2;border-radius:15px;padding:15px;margin-bottom:17px}.dialog-body .file-input input{padding:0;border:0;background:transparent;font-size:13px}.dialog-body .file-input label{color:var(--muted)}#toast{position:fixed;bottom:30px;left:30px;z-index:100;background:var(--green);color:white;padding:13px 23px;border-radius:15px;font-size:14px;box-shadow:0 9px 30px #163f3820;max-width:calc(100% - 40px);opacity:0;transform:translateY(20px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}#toast.error{background:#9b4436}.recording{color:#b84c3d!important;background:#ffe9e4!important;animation:pulse 1s infinite}.loading-line{height:4px;background:linear-gradient(90deg,#d3e4b4,#59835d,#d3e4b4);background-size:200%;animation:slide 1.4s infinite;border-radius:5px;margin:20px 0}.result-note{padding:13px 15px;background:#f7f5ed;border-radius:12px;font-size:13px;margin-top:15px;white-space:pre-wrap}.mobile-thread-btn{display:none}.floating-add{display:none}
progress.progress{display:block;width:100%;border:0;appearance:none;color:#719467}progress.progress::-webkit-progress-bar{background:#edf1e8;border-radius:9px}progress.progress::-webkit-progress-value{background:#719467;border-radius:9px}progress.progress::-moz-progress-bar{background:#719467;border-radius:9px}
@keyframes pulse{50%{opacity:.45}}@keyframes slide{to{background-position:-200%}}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(min-width:1700px){.main{padding:32px 60px}.home-top{grid-template-columns:2fr 1fr}.welcome{min-height:345px}.welcome h2{font-size:31px}.greeting{margin-bottom:30px}}
@media(max-width:1200px){.sidebar{width:212px;padding:28px 17px}.main{margin-right:212px;padding:23px}.home-top{grid-template-columns:1.5fr 1fr}.welcome{padding:27px}.welcome h2{font-size:24px}.welcome .spark{left:22px}.self-card{padding:24px}.quick-card{padding:16px 14px;gap:10px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:175px 1fr}.main .chat-panel{min-width:0}.home-lower{grid-template-columns:1.2fr 1fr}.brand-name{font-size:23px}}
@media(max-width:900px){.sidebar{width:180px;padding:24px 12px}.main{margin-right:180px;padding:20px}.side-nav{margin-top:30px}.nav-btn{font-size:14px;padding:12px;gap:10px}.brand img{width:36px;height:36px}.brand-name{font-size:21px}.side-note{display:none}.brand-sub{font-size:10px}.home-top{grid-template-columns:1fr}.self-card{display:none}.home-lower{grid-template-columns:1fr}.quick-card strong{font-size:13px}.quick-card span{display:none}.quick-icon{width:40px;height:40px}.family-layout,.admin-columns{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.thread-panel{display:none}.mobile-thread-btn{display:inline-grid}.admin-stats{grid-template-columns:repeat(2,1fr)}.auth-story{padding:40px}.story-copy h1{font-size:37px}}
@media(max-width:680px){body{background:#f8f9f6}.sidebar{display:none}.main{margin-right:0;padding:18px 20px calc(100px + env(safe-area-inset-bottom));max-width:none}.topbar{margin-bottom:25px;min-height:45px}.top-date{display:none}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand img{width:35px;height:35px}.mobile-brand strong{font-size:23px;font-weight:800;letter-spacing:-.7px}.top-actions{gap:8px}.top-actions select{max-width:120px;padding:8px 11px;font-size:12px;border-radius:13px}.top-actions .install-btn{display:none}.top-actions .icon-btn{width:37px;height:37px;border-radius:13px}.greeting{margin-bottom:22px}.greeting h1{font-size:27px}.greeting p{font-size:13px;max-width:290px}.greeting .greeting-mark{font-size:11px;margin-bottom:5px}.home-top{display:block}.welcome{min-height:0;padding:23px 22px;border-radius:24px;box-shadow:0 12px 35px #143d3914}.welcome h2{font-size:23px;max-width:88%;line-height:1.8}.welcome p{font-size:12px;max-width:85%;margin:8px 0 20px}.welcome .spark{left:20px;top:21px}.welcome .spark .icon{width:40px;height:40px}.welcome .welcome-tag{font-size:11px}.welcome .starter-input{border-radius:14px;padding:7px 9px;gap:6px}.starter-input input{font-size:12px}.starter-input .btn{min-height:40px;min-width:40px;padding:8px}.starter-input .icon{width:18px;height:18px}.starter-options{gap:6px;margin-top:12px}.starter-options button{font-size:10px;padding:6px 9px}.quick-grid{gap:9px;margin-top:18px}.quick-card{border-radius:18px;padding:14px 5px;flex-direction:column;gap:9px;justify-content:center;text-align:center}.quick-icon{width:40px;height:40px;border-radius:13px}.quick-card strong{font-size:11px}.home-lower{margin-top:22px;gap:18px}.panel{padding:21px;border-radius:22px}.panel-header{margin-bottom:15px}h2{font-size:18px}.panel-header .btn{padding:7px 12px;min-height:36px;font-size:11px;border-radius:10px}.empty{padding:22px 10px}.empty .empty-icon{width:48px;height:48px;border-radius:16px}.empty h3{font-size:14px}.empty p{font-size:12px;margin-bottom:16px}.empty .btn{font-size:12px;min-height:40px}.mini-plan{padding:12px 0}.activity-preview{padding:12px 0;gap:12px}.activity-symbol{width:51px;height:51px;border-radius:16px}.activity-preview h3{font-size:14px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:20;box-shadow:0 -8px 30px #183e3705}.bottom-nav button{border:0;background:none;color:#77867a;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;padding:3px;min-height:44px}.bottom-nav button.active{color:var(--green);font-weight:750}.bottom-nav button.active .icon{background:#e7efdc;width:36px;height:28px;padding:3px 7px;border-radius:10px}.bottom-nav .icon{width:22px;height:22px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:27px}.page-intro p{font-size:13px}.page-intro .between{align-items:flex-start}.page-intro .btn{font-size:12px;padding:9px 13px;min-height:40px}.tabs{max-width:100%;margin-bottom:18px;gap:2px;border-radius:14px}.tabs button{font-size:11px;padding:8px 10px;white-space:nowrap}.cards-grid{grid-template-columns:1fr;gap:17px}.activity-card{display:grid;grid-template-columns:100px 1fr;padding:0;border-radius:20px}.activity-cover{height:auto;min-height:195px;border-radius:0}.activity-cover .icon{width:39px;height:39px}.activity-cover .badge{font-size:10px;right:10px;top:12px;padding:4px 8px}.activity-body{padding:18px}.activity-body h3{font-size:16px}.activity-body p{font-size:12px;min-height:0}.activity-meta{font-size:11px;gap:10px;margin:10px 0}.activity-body .btn{font-size:12px;min-height:38px;padding:8px 12px}.plan-grid{grid-template-columns:1fr}.plan-card h3{font-size:16px}.plan-card .step{font-size:13px}.plan-footer .btn{font-size:12px;min-height:38px}.two-fields,.child-card .two-fields{grid-template-columns:1fr;gap:0}.family-layout{gap:18px}.child-card{padding:15px;border-radius:15px}.family-layout .field label{font-size:13px}.family-layout input,.family-layout textarea,.family-layout select{font-size:14px}.chat-page .main{padding:0 0 calc(74px + env(safe-area-inset-bottom));height:100dvh;display:flex;flex-direction:column}.chat-page .topbar{padding:13px 17px 10px;margin:0;flex-shrink:0}.chat-layout{height:auto;flex:1;min-height:0;display:flex}.chat-panel{border:0;border-radius:0;flex:1;background:transparent}.chat-head{padding:10px 18px;background:#fff;min-height:68px}.chat-head .brand img{width:31px;height:31px}.chat-head strong{font-size:14px}.chat-head span{font-size:11px}.chat-head .icon-btn{width:35px;height:35px;border-radius:11px}.chat-messages{padding:19px 16px}.chat-start{margin:30px auto 10px}.chat-start img{width:55px;height:55px}.chat-start h2{font-size:22px}.chat-start p{font-size:13px}.chat-start .chat-chips{gap:8px}.chat-chips button{font-size:11px;padding:13px 8px}.message.user{font-size:14px;padding:11px 15px}.message.assistant{gap:9px;max-width:100%}.assistant-symbol{width:27px;height:27px;border-radius:10px}.message-content .answer{font-size:14px;line-height:2.1}.answer-steps{font-size:13px;padding:10px 14px}.message-content .btn{font-size:11px;min-height:36px;padding:8px 12px}.chat-composer{padding:12px 14px 10px;flex-shrink:0}.composer-row{padding:6px;gap:5px;border-radius:15px}.composer-row textarea{font-size:13px;min-height:42px}.composer-row .btn{min-width:39px;min-height:39px;padding:9px;border-radius:11px}.composer-row .icon-btn{width:35px;height:39px}.chat-composer .checkline{font-size:10px;line-height:1.7;margin-top:7px;gap:7px}.chat-composer input[type=checkbox]{width:13px;height:13px;margin-top:2px}.admin-stats{gap:10px}.stat{padding:16px}.stat strong{font-size:26px}.stat p{font-size:11px}.admin-columns .two-fields{grid-template-columns:1fr}.admin-columns .notice{font-size:12px}.auth-screen{grid-template-columns:1fr;min-height:100dvh;background:var(--bg)}.auth-story{padding:25px 27px 30px;min-height:0;border-radius:0 0 32px 32px}.auth-story .story-copy{padding:32px 0 4px}.story-copy .eyebrow{font-size:11px}.story-copy h1{font-size:29px;margin:10px 0;line-height:1.7}.story-copy p{font-size:13px;line-height:1.9;max-width:320px}.story-tags,.auth-story footer{display:none}.auth-form-wrap{padding:28px 25px 40px;display:block}.auth-form{max-width:none}.auth-form h1{font-size:23px}.auth-form>p{font-size:12px;margin-bottom:22px}.auth-form label{font-size:13px}.auth-form input{padding:10px 13px}.auth-screen .brand-name{font-size:24px}.auth-screen .brand-sub{font-size:11px}.auth-screen .brand img{width:38px;height:38px}.install-form .story-copy{padding:22px 0 0}.install-form .story-copy h1{font-size:24px}.install-form .story-copy p{display:none}.auth-checks span{font-size:10px}.install-form .auth-form>p{font-size:12px}.dialog-head{padding:18px 20px 12px}.dialog-head h2{font-size:18px}.dialog-body{padding:4px 20px 22px}.dialog-body p{font-size:13px}.dialog-body .actions{flex-wrap:wrap}.dialog-body .actions .btn{flex:1;font-size:13px}dialog{width:calc(100% - 16px);max-height:90dvh;position:fixed;bottom:0;top:auto;margin:0 auto;border-radius:25px 25px 0 0}.notice{font-size:12px;padding:12px 14px}.section{margin-top:23px}#toast{bottom:calc(95px + env(safe-area-inset-bottom));left:20px;right:20px;text-align:center;max-width:none;font-size:12px}.mobile-thread-btn{display:inline-grid}.home-page .greeting h1{font-size:28px}.privacy-actions .btn{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Mamana 1.1 — a calmer daily companion */
.app-greeting{display:flex;align-items:center;justify-content:space-between;gap:18px}.capacity-pill{display:flex;align-items:center;gap:8px;white-space:nowrap;background:#edf2e8;border:1px solid #dfe8d8;border-radius:30px;color:#4f6950;padding:10px 15px;font-size:12px}.capacity-pill .icon{width:17px;height:17px}.help-hero{position:relative;display:grid;grid-template-columns:1.3fr 1fr;min-height:300px;border-radius:30px;padding:38px 44px;background:#163f38;color:#fff;overflow:hidden;box-shadow:0 16px 42px #163f3810}.hero-copy{position:relative;z-index:2}.hero-copy .eyebrow{color:#c8d7ae;font-size:12px}.hero-copy h2{font-size:38px;line-height:1.65;font-weight:650;margin:12px 0}.hero-copy p{color:#d7e3d5;font-size:14px;max-width:380px;line-height:2;margin-bottom:20px}.hero-button{background:#e3ebcd;color:#163f38;border:0;min-height:48px}.hero-button:hover{background:#f0f4e2}.hero-note{display:block;margin-top:10px;font-size:11px;color:#b8d0bf}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:260px}.art-ring{position:absolute;width:260px;height:260px;border:1px solid #d8e5bc26;border-radius:50%}.ring-two{width:330px;height:330px;border-style:dashed;transform:rotate(-20deg)}.art-center{width:190px;height:190px;display:grid;place-items:center;background:linear-gradient(145deg,#e8edcf,#becb9d);border-radius:47% 53% 59% 41%/55% 43% 57% 45%;box-shadow:0 20px 45px #082f2d44;transform:rotate(-12deg)}.art-center .icon{width:92px;height:92px;stroke-width:1.05;color:#385b45;transform:rotate(12deg)}.art-badge{position:absolute;width:53px;height:53px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:19px;background:#28524a;color:#e5eacb;box-shadow:0 10px 24px #0a312927}.badge-leaf{top:16px;right:15%;transform:rotate(12deg)}.badge-spark{bottom:15px;left:17%;transform:rotate(-12deg);color:#eac5a4}.art-dot{position:absolute;width:10px;height:10px;border-radius:50%;background:#e4bda1}.dot-one{top:52px;left:20%}.dot-two{bottom:45px;right:15%;width:7px;height:7px;background:#bdcc92}.journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.journey-card{display:flex;align-items:center;gap:16px;text-align:right;min-height:112px;border:1px solid #e0e6da;border-radius:23px;padding:22px;background:#f0f3e8;color:var(--ink);transition:transform .2s,border-color .2s}.journey-card:hover{transform:translateY(-2px);border-color:#a7b796}.journey-card.followup{background:#f7efe7;border-color:#e8dfd5}.journey-symbol{width:53px;height:53px;background:#e0e8cc;border-radius:18px;display:grid;place-items:center;flex-shrink:0;color:#63774a}.followup .journey-symbol{background:#eedcca;color:#8e6b50}.journey-copy{flex:1;display:grid;gap:7px}.journey-copy strong{font-size:17px;font-weight:650}.journey-copy>span{color:var(--muted);font-size:12px}.journey-arrow{font-size:24px;color:#71846a}.followup-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e6dbc9;background:#fffaf0}.followup-strip>div>.icon{vertical-align:middle;margin-left:9px;color:#9a7c49}.followup-strip p{font-size:13px;color:var(--muted);margin-top:8px}.gentle-card{background:#f5f3eb;border-color:#e7e4d9}.gentle-orb{display:grid;place-items:center;background:#e6ead9;color:#7a8b65;width:47px;height:47px;border-radius:16px;margin-bottom:15px}.gentle-card p{font-size:14px;color:var(--muted);line-height:2;margin:12px 0 18px}.gentle-links{display:grid;gap:13px;font-size:13px}.install-card{display:flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:21px;padding:18px 24px;background:#fff}.install-card>div{flex:1}.install-card strong{font-size:14px}.install-card p{font-size:12px;color:var(--muted);margin-top:5px}.flow-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.flow-actions .btn{flex:1;font-size:13px}.outcome-choices{border:0;padding:0;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.outcome-choices legend{font-size:13px;margin-bottom:10px;color:var(--muted)}.outcome-choices label{display:flex;align-items:center;gap:8px;padding:13px;border:1px solid var(--line);border-radius:13px;font-size:13px;cursor:pointer;margin:0}.outcome-choices label:has(input:checked){background:#edf2e6;border-color:#92ab7f}.outcome-badge{display:inline-flex;font-size:12px;padding:6px 11px;border-radius:10px;background:#eef2e7;color:#577441;margin:9px 0}.outcome-harder{background:#faeee4;color:#936749}.outcome-same,.outcome-not_tried{background:#f1f2ed;color:#6b7568}.step-row{display:flex;align-items:center;gap:8px}.step-row .step{flex:1;min-width:0}.step-row .step span{overflow-wrap:anywhere}.small-share{flex-shrink:0;width:32px;height:32px;border-radius:10px;color:#6f8068}.small-share .icon{width:17px;height:17px}.shared-status{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f2f5ed;border-radius:9px;padding:8px 10px;font-size:10px;color:#647c57}.shared-status>span{display:flex;align-items:center;gap:5px}.shared-status .icon{width:13px;height:13px}.shared-status .text-btn{font-size:10px;white-space:nowrap}.share-page{min-height:100dvh;display:grid;place-items:center;padding:30px 20px;background:#edf1e7}.share-card{max-width:530px;width:100%;padding:35px}.share-card>img{margin-bottom:20px}.share-card h1{font-size:28px;margin:15px 0}.share-card>p:not(.eyebrow){line-height:2;overflow-wrap:anywhere}.share-card .btn{margin-left:10px}.settings-install{display:flex;align-items:center;gap:13px}.settings-install>div{flex:1}.settings-install p{font-size:12px;margin:5px 0 0}.settings-install h3{font-size:16px}.install-steps{line-height:2.3!important;padding-right:24px!important;margin:18px 0}.connection-status{position:fixed;left:18px;right:18px;top:12px;z-index:80;padding:10px 16px;background:#8b653c;color:white;text-align:center;font-size:12px;border-radius:12px}.update-bar{position:fixed;bottom:24px;left:24px;z-index:60;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #d2dcc8;padding:13px 17px;border-radius:17px;box-shadow:0 10px 40px #173e3720;font-size:13px}.update-bar[hidden],.connection-status[hidden]{display:none}.chat-page .main{height:var(--app-height,100dvh)}.chat-panel,.chat-messages{min-height:0}.keyboard-open .bottom-nav{display:none}.keyboard-open.chat-page .main{padding-bottom:0}.main{padding-top:max(24px,env(safe-area-inset-top))}.auth-screen .auth-story{padding-top:max(25px,env(safe-area-inset-top))}.top-actions .install-btn{display:inline-grid!important}.top-actions{flex-shrink:0}button,input,textarea,select{-webkit-tap-highlight-color:transparent}.initial-loading{min-height:70dvh}.plan-card .plan-footer{justify-content:flex-start;gap:12px}.plan-card .plan-footer .text-btn{font-size:12px}.share-page #shared-actions .btn{min-width:130px}
@media(max-width:900px){.hero-copy h2{font-size:31px}.help-hero{padding:32px}.art-ring{width:215px;height:215px}.ring-two{width:270px;height:270px}.art-center{width:160px;height:160px}.journey-card{padding:18px;gap:12px}.journey-copy strong{font-size:15px}.journey-copy>span{font-size:11px}.app-greeting{align-items:flex-start}.capacity-pill{font-size:11px;padding:9px 12px}}
@media(max-width:680px){.main{padding-top:max(18px,env(safe-area-inset-top));padding-inline:18px}.app-greeting{display:block;position:relative}.app-greeting h1{font-size:29px!important}.app-greeting p{max-width:100%;font-size:12px}.capacity-pill{margin-top:14px;font-size:11px;padding:8px 12px}.help-hero{padding:27px 23px;min-height:295px;border-radius:26px;grid-template-columns:1fr 90px}.hero-copy h2{font-size:31px;line-height:1.6;margin:13px 0}.hero-copy p{font-size:12px;max-width:220px;margin-bottom:18px}.hero-copy .eyebrow{font-size:10px}.hero-button{font-size:12px;padding:11px 15px;min-height:44px}.hero-note{font-size:10px;margin-top:9px}.hero-art{min-height:180px;align-self:center;transform:translateX(-19px)}.art-center{width:106px;height:106px;flex-shrink:0}.art-center .icon{width:54px;height:54px}.art-ring{width:150px;height:150px}.ring-two{width:196px;height:196px}.art-badge{width:35px;height:35px;border-radius:12px}.art-badge .icon{width:18px;height:18px}.badge-leaf{right:19%;top:1px}.badge-spark{left:-14px;bottom:12px}.dot-one{top:38px;left:-17px;width:7px;height:7px}.dot-two{bottom:42px;right:-8px}.journey-grid{grid-template-columns:1fr;gap:12px;margin-top:15px}.journey-card{min-height:94px;border-radius:20px;padding:19px 17px;gap:14px}.journey-symbol{width:47px;height:47px;border-radius:15px}.journey-copy strong{font-size:15px}.journey-copy>span{font-size:11px;line-height:1.8}.journey-arrow{font-size:22px}.home-lower{margin-top:20px}.gentle-card h2{font-size:20px}.gentle-card p{font-size:13px}.install-card{padding:16px;gap:10px;border-radius:19px;flex-wrap:wrap}.install-card img{width:36px;height:36px}.install-card strong{font-size:12px}.install-card p{font-size:11px}.install-card .btn{font-size:11px;padding:8px 11px;min-height:37px}.followup-strip{padding:17px;gap:10px}.followup-strip strong{font-size:12px}.followup-strip p{font-size:11px}.followup-strip .btn{font-size:11px;white-space:nowrap;padding:8px 11px;min-height:37px}.topbar{gap:10px}.top-actions{gap:5px}.top-actions select{max-width:96px}.top-actions .icon-btn{width:32px;height:34px}.top-actions .icon-btn .icon{width:18px;height:18px}.mobile-brand{gap:6px}.mobile-brand strong{font-size:20px}.mobile-brand img{width:29px;height:29px}.flow-actions{gap:8px}.flow-actions .btn{font-size:12px;min-width:120px;padding:10px}.share-card{padding:28px 22px}.share-card h1{font-size:25px}.share-card p{font-size:13px}.update-bar{bottom:calc(92px + env(safe-area-inset-bottom));left:15px;right:15px;font-size:11px;padding:11px;gap:10px}.update-bar .btn{font-size:11px;padding:8px 10px;min-height:35px}.chat-page .main{height:var(--app-height,100dvh)}.chat-head .brand>div>span{font-size:10px}.chat-head .brand img{display:none}.chat-head strong{font-size:13px}.chat-page .topbar{padding-top:max(13px,env(safe-area-inset-top))}.dialog-body input,.dialog-body textarea,.dialog-body select,.composer-row textarea,.family-layout input,.family-layout textarea,.family-layout select{font-size:16px}.dialog-body .field label{font-size:12px}.outcome-choices label{font-size:12px;padding:11px}.outcome-choices{gap:8px}.plan-card .plan-footer{gap:12px}.plan-card .plan-footer .text-btn{font-size:11px}.settings-install{align-items:flex-start}.settings-install h3{font-size:14px}.settings-install img{width:36px}.settings-install .btn{font-size:11px;min-height:35px}.keyboard-open .update-bar{display:none}}
@media(max-width:370px){.help-hero{grid-template-columns:1fr 70px;padding:24px 20px}.hero-art{transform:translateX(-22px)}.hero-copy h2{font-size:28px}.hero-copy p{max-width:195px}.top-actions select{max-width:84px}.mobile-brand strong{font-size:18px}.mobile-brand img{width:25px;height:25px}.main{padding-inline:15px}.journey-copy strong{font-size:14px}}
@media(max-width:680px){.hero-art{transform:none}.art-center{width:95px;height:95px}.art-center .icon{width:51px;height:51px}}
.panel-header{flex-wrap:wrap}.panel-header>div{min-width:0}.panel-header .row{flex-wrap:wrap}
