@import url('fonts.css');
:root{--green:#438660;--deep:#2c6548;--mint:#edf5e9;--ink:#30483b;--muted:#7d887e;--line:#e5ebdf;--cream:#fff9ed;--red:#c62e38;--yellow:#956b12;font-family:'Noto Sans Thai',Tahoma,sans-serif;color:var(--ink);background:#eef3eb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #438cc4;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}button{border:0;background:none}a{color:var(--deep)}.desktop-note{position:fixed;left:max(5vw,calc((100vw - 1140px)/2));top:8vh;width:390px}.brand-mark{width:58px;height:64px;background:#6c9b68;color:white;font-size:38px;display:grid;place-items:center;border-radius:18px 18px 26px 26px;box-shadow:0 8px 18px #427c5522}.eyebrow{letter-spacing:3px;font-size:12px;font-weight:700;margin-top:26px;color:var(--green)}h1{font-size:43px;line-height:1.5;letter-spacing:-1px;margin:12px 0}.desktop-note>p:not(.eyebrow){line-height:1.9;color:#71816f;font-size:15px}.side-illustration{width:325px;margin:23px 0;mix-blend-mode:multiply}.side-illustration img{width:100%;border-radius:28px}.demo-label{display:inline-block;font-size:10px;letter-spacing:1.4px;border:1px solid #cfddc9;border-radius:20px;padding:8px 12px;color:#6d7f68}.demo-tools{display:flex;gap:16px;margin:20px 0}.demo-tools button{font-size:12px;padding:0;color:var(--deep)}.desktop-note small{font-size:10px;color:#85917f}.app-shell{width:460px;min-height:100vh;margin:0 max(8vw,calc((100vw - 1100px)/2)) 0 auto;background:#fbfcf8;border-right:1px solid white;border-left:1px solid white;box-shadow:0 0 55px #425e4110;padding-bottom:92px}.app-header{height:76px;display:flex;align-items:center;gap:10px;padding:0 16px;background:#fff;position:sticky;top:0;z-index:10;border-bottom:1px solid #eff2e9}.icon-button{min-width:32px;min-height:44px;padding:6px;font-size:22px;display:grid;place-items:center}.brand{display:flex;align-items:center;text-align:left;gap:7px;padding:0;margin-right:auto}.logo{background:#71a865;color:#fff;width:28px;height:32px;border-radius:9px 9px 14px 14px;display:grid;place-items:center;font-size:25px}.brand b{font-size:15px;color:var(--deep);letter-spacing:-.4px}.brand small{display:block;font-size:10px;color:#7a9471;margin-top:1px}.bell{position:relative}.bell i{width:5px;height:5px;position:absolute;right:5px;top:8px;background:#e6aa58;border:1px solid white;border-radius:50%}.line-logo{border:1.5px solid #65776b;border-radius:50%;padding:5px 3px;font-size:8px;font-weight:bold;height:25px}.prototype-bar{height:28px;background:#f2f5ed;display:flex;align-items:center;justify-content:space-between;padding:0 17px;font-size:9px;color:#74856c}.prototype-bar i{display:inline-block;width:5px;height:5px;background:#b59a60;border-radius:50%;margin-right:4px}.prototype-bar button{font-size:9px;color:#75856d;padding:0}main{padding:16px;outline:none}h2{font-size:22px;margin:0 0 5px;line-height:1.5}h3{font-size:16px;margin:0 0 7px}p{line-height:1.7}.muted{color:var(--muted);font-size:12px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:22px 0 11px;font-weight:600;font-size:14px}.section-label button{font-size:11px;color:var(--green);font-weight:400;padding:0}.hero{position:relative;border-radius:20px;border:1px solid #e4ecd9;background:linear-gradient(115deg,#f0f6e7,#f8faf1);min-height:166px;padding:22px 17px;overflow:hidden}.hero h2{font-size:21px;color:#387541;position:relative;z-index:1}.hero p{font-size:11px;color:#738569;width:54%;margin:8px 0 0}.hero-art{position:absolute;right:-54px;bottom:0;width:240px;height:175px;overflow:hidden;mix-blend-mode:multiply;opacity:.9}.hero-art img{width:310px;max-width:none;position:absolute;left:-50px;top:-7px}.hero h2{max-width:62%}.date-line{display:flex;align-items:center;justify-content:space-between;margin:15px 2px 10px;color:#8a9482;font-size:10px}.chip{border-radius:20px;padding:4px 8px;background:#edf3e7;color:#587447;font-size:10px}.child-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px;display:flex;gap:12px;align-items:center}.avatar{width:61px;height:66px;border-radius:50%;background:#f0f4df;display:grid;place-items:center;font-size:42px;flex-shrink:0}.child-card h3{color:var(--deep);font-size:16px;margin:0}.child-card p{font-size:11px;color:#7c8977;margin:3px 0}.child-card>button{margin-left:auto;font-size:22px;color:#a2b29a}.status-dot{width:6px;height:6px;display:inline-block;background:#69a66e;border-radius:50%;margin-right:4px}.daily-prompt{display:flex;align-items:center;justify-content:space-between;background:#f1f6e9;border:1px solid #e5edd8;border-radius:12px;padding:12px;margin-top:12px;gap:10px}.daily-prompt b{font-size:11px;display:block}.daily-prompt small{font-size:10px;color:#829175}.daily-prompt button{background:var(--green);color:#fff;border-radius:8px;padding:8px 12px;font-size:11px;white-space:nowrap}.menu-list{display:grid;gap:9px}.menu-card{border:1px solid var(--line);border-radius:14px;background:linear-gradient(120deg,#fff,#fafcf7);display:flex;align-items:center;padding:12px;text-align:left;gap:12px;min-height:78px;width:100%;transition:transform .15s,background .15s}.menu-card:hover{transform:translateY(-1px);background:#f2f7ed}.tile-icon{width:49px;height:49px;flex-shrink:0;border-radius:13px;display:grid;place-items:center;background:#edf3e4;color:#6a9564}.tile-icon svg{width:31px;height:31px}.tile-icon.amber{background:#fff4d9;color:#c49937}.tile-icon.lilac{background:#f0ecf8;color:#8f7ca9}.tile-icon.blue{background:#eaf3f7;color:#6391ab}.tile-icon.teal{background:#e8f5f0;color:#5a9a8e}.menu-card b{font-size:14px;display:block;color:var(--deep)}.menu-card small{font-size:10px;color:#8b9283;display:block;margin-top:4px}.menu-card .arrow{margin-left:auto;color:#9eab93;font-size:23px}.number{display:inline-grid;place-items:center;background:#75a568;color:#fff;width:18px;height:18px;border-radius:50%;font-size:11px;margin-right:5px}.menu-card:nth-child(2) .number{background:#d4a340}.menu-card:nth-child(3) .number{background:#9e83b7}.menu-card:nth-child(4) .number{background:#80a5ba}.menu-card:nth-child(5) .number{background:#6ca38d}.appointment-mini{display:flex;gap:12px;align-items:center;border-radius:14px;border:1px solid #e8e5d6;background:#fffaf0;padding:12px;width:100%;text-align:left}.calendar-badge{display:grid;place-items:center;background:white;border:1px solid #e4decf;border-radius:10px;width:47px;min-height:52px;line-height:1.2;flex-shrink:0;color:#5c8354}.calendar-badge b{font-size:23px}.calendar-badge small{font-size:9px}.appointment-mini>span:nth-child(2){font-size:12px}.appointment-mini small{display:block;color:#928d7d;font-size:10px;margin-top:3px}.support-note{text-align:center;color:#a0a591;font-size:10px;margin:20px 0 5px}.bottom-nav{height:76px;border-top:1px solid #e4eadc;background:#fffffff5;backdrop-filter:blur(12px);position:fixed;bottom:0;width:458px;display:flex;align-items:center;justify-content:space-around;z-index:10;padding:4px 4px max(6px,env(safe-area-inset-bottom))}.bottom-nav button{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;color:#8e9786;min-width:60px;padding:8px 2px;position:relative}.bottom-nav svg{width:22px;height:22px}.bottom-nav button.active{color:var(--green)}.bottom-nav button.active:after{content:'';position:absolute;bottom:0;height:2px;width:20px;background:var(--green);border-radius:2px}.back{font-size:11px;color:#78926e;margin:0 0 15px;padding:0;display:flex;gap:5px;align-items:center;min-height:26px}.page-intro{margin-bottom:20px}.page-intro p{margin:5px 0 0;color:#82907b;font-size:12px}.card{padding:17px;border:1px solid var(--line);background:white;border-radius:16px;margin-bottom:12px}.wide{width:100%}.primary,.secondary,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;min-height:44px;padding:11px 18px;font-size:13px;text-decoration:none}.primary{background:var(--green);color:white}.secondary{background:#f4f8f0;border:1px solid #dbe6d3;color:var(--deep)}.danger-button{background:var(--red);color:white}.actions{display:flex;gap:9px;margin-top:15px}.actions>*{flex:1}.question{padding:17px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:11px}.question legend{float:left;width:100%;font-size:13px;font-weight:500;margin-bottom:10px}.question .answers{clear:both;display:flex;gap:7px;flex-wrap:wrap}.choice{display:block;position:relative}.choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.choice span{display:block;border:1px solid #e2e6dc;background:#fafbf8;border-radius:8px;padding:8px 16px;font-size:12px;min-width:69px;text-align:center}.choice input:checked+span{background:#e9f4e4;border-color:#7ba46d;color:#346e40;box-shadow:0 0 0 1px #7ba46d}.choice input:focus-visible+span{outline:3px solid #438cc4;outline-offset:2px}.question.invalid{border-color:#ce5961}.helper{font-size:11px;color:#88794f;line-height:1.7;background:#fff9e9;border-radius:9px;padding:10px;margin-top:10px}.hidden{display:none!important}.alert{background:#fff1f1;border:1px solid #f1c7c8;border-radius:12px;padding:12px;color:#b63d43;font-size:11px;line-height:1.8;margin:13px 0}.alert a{color:inherit;font-weight:700}.check-row{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid #f0f2ea;font-size:12px;line-height:1.7;cursor:pointer}.check-row input{width:19px;height:19px;accent-color:var(--green);margin:2px 0;flex-shrink:0}.criteria-group{margin-bottom:12px}.criteria-group h3{font-size:13px}.criteria-group details summary{cursor:pointer;font-size:13px;font-weight:600;padding:3px 0}.assessment-green .check-row{display:block}.assessment-green .answers{display:flex;margin-top:7px}.zone-banner{border-radius:15px;padding:22px;text-align:center;background:#e9f4e2;border:1px solid #d0e5c5;color:#3e7845}.zone-banner.yellow{background:#fff2cd;border-color:#f2df96;color:#906710}.zone-banner.red,.zone-banner.emergency{background:#fff0f0;border-color:#efc8ca;color:#bc303b}.zone-banner.unclassified{background:#f0f3f6;border-color:#d7dfe8;color:#4f657b}.zone-symbol{font-size:42px;margin-bottom:5px}.zone-banner h2{font-size:24px}.zone-banner p{font-size:12px;margin:4px 0}.zone-label{letter-spacing:2px;font-size:10px;font-weight:600}.result-list{font-size:12px;line-height:1.9;padding-left:21px}.clinical-note{font-size:10px;color:#8b8c7a;line-height:1.8;margin:16px 2px}.success-mark{width:60px;height:60px;border-radius:50%;background:#e6f1df;color:var(--green);display:grid;place-items:center;font-size:30px;margin:0 auto 15px}.center{text-align:center}.summary-row,.profile-row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #edf0e7;font-size:12px}.summary-row span:first-child,.profile-row span:first-child{color:#86907e}.summary-row:last-child,.profile-row:last-child{border:0}.summary-row b{font-weight:500;text-align:right}.lesson-row{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:14px 0;border-bottom:1px solid #edf0e7}.lesson-row img{width:85px;height:64px;object-fit:cover;border-radius:10px}.lesson-row b{font-size:12px;display:block}.lesson-row small{display:block;font-size:9px;color:#8a9481;margin-top:5px}.lesson-thumb{width:85px;height:64px;flex-shrink:0;background:#f1f6e9;border-radius:10px;display:grid;place-items:center;font-size:33px}.tag{background:#eaf3e4;color:#69895d;padding:3px 6px;font-size:8px;border-radius:5px;display:inline-block;margin-top:7px}.slide-image{width:100%;height:auto;border:1px solid #e7ecdf;border-radius:12px;display:block}.slide-toolbar{display:flex;align-items:center;justify-content:space-between;margin:10px 0;font-size:11px;color:#7c8c73;gap:8px}.script{font-size:12px;line-height:1.9;color:#6f7d67}.script p{margin:10px 0}.reading-title{font-size:14px}.slide-dots{display:flex;gap:4px;justify-content:center;flex-wrap:wrap}.slide-dots button{width:9px;height:9px;background:#dfe8d8;border-radius:50%;padding:0;min-height:9px}.slide-dots button.active{background:var(--green)}.calendar{width:100%;border-collapse:collapse;text-align:center;font-size:12px;margin:10px 0}.calendar td,.calendar th{height:39px;font-weight:400}.calendar th{font-size:10px;color:#9aa28e}.calendar .visit span{background:var(--green);border-radius:50%;color:#fff;display:inline-grid;place-items:center;width:32px;height:32px}.chat-window{background:#eaf0e5;border-radius:16px;padding:15px;margin:16px 0}.chat-header{font-size:12px;font-weight:600;padding-bottom:15px;border-bottom:1px solid #d9e3d4}.bubble{background:white;max-width:90%;padding:13px;border-radius:0 14px 14px 14px;font-size:12px;margin:16px 0 8px;line-height:1.8;white-space:pre-line}.bubble.outgoing{background:#d1e6b8;margin-left:auto;border-radius:14px 0 14px 14px}.chat-time{font-size:9px;color:#8c9784}.rich-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:20px -15px -15px;background:#d9e5d0;border-radius:0 0 16px 16px;overflow:hidden}.rich-grid button{background:#f9fbf3;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:8px 5px;font-size:10px}.rich-grid svg{width:27px;height:27px;color:#6a8e5d}.text-input{width:100%;border:1px solid #dce4d3;border-radius:10px;padding:12px;font-size:12px;background:#fdfefa;margin:7px 0 14px;color:var(--ink)}textarea.text-input{min-height:100px;resize:vertical}label.field{font-size:12px;display:block;color:#76876b}.switch-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px}.switch-row input{width:20px;height:20px;accent-color:var(--green)}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,20px);border-radius:12px;background:#294d3e;color:#fff;font-size:12px;padding:12px 19px;opacity:0;pointer-events:none;z-index:50;transition:.2s;max-width:85vw}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:20px;padding:23px;max-width:390px;width:90vw;color:var(--ink)}dialog::backdrop{background:#19362b66;backdrop-filter:blur(3px)}dialog p{font-size:12px}.demo-scenarios{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 20px}.demo-scenarios button{border:1px solid #dfe5d8;border-radius:20px;padding:6px 10px;background:#fff;font-size:10px}.progress{height:5px;background:#e8efdf;border-radius:8px;margin:15px 0 4px;overflow:hidden}.progress>span{display:block;height:100%;background:#78a26e;transition:width .2s}.history-date{font-size:12px;font-weight:600}.history-status{font-size:10px;margin-top:4px;color:#818c79}.history-entry{padding:14px 0;border-bottom:1px solid #e8eddf}.history-entry summary{cursor:pointer}.reminder-time{display:flex;align-items:center;justify-content:space-between}.reminder-time b{font-size:22px}.history-detail{font-size:11px;line-height:1.9;color:#78846d}.subtle-link{font-size:11px;text-decoration:underline;color:#7b8d6f;padding:10px}.notification{border-left:3px solid #b7cda3}.integration-status{font-size:11px;color:#7b8b70;line-height:1.8}.lesson-progress{display:flex;justify-content:space-between;font-size:11px;color:#809073}.demo-caption{font-size:10px;color:#8b957e;line-height:1.8}.reminder-disabled{color:#547a46}.icon-inline{width:18px;height:18px;vertical-align:middle}
@media(min-width:1400px){.app-shell{margin-right:calc((100vw - 1050px)/2)}}
@media(max-width:980px){.desktop-note{width:320px;left:5vw}.desktop-note h1{font-size:36px}.app-shell{margin-right:4vw}.side-illustration{width:270px}}
@media(max-width:900px){.desktop-note{display:none}.app-shell{margin:0 auto;width:min(100%,480px)}.bottom-nav{width:min(calc(100% - 2px),478px)}body{background:#f3f6ef}}
@media(max-width:370px){main{padding:12px}.app-header{padding:0 10px;gap:5px}.brand b{font-size:13px}.hero h2{font-size:19px}.hero-art{right:-69px}.menu-card b{font-size:12px}.menu-card small{font-size:9px}.bottom-nav button{min-width:52px}.prototype-bar{font-size:8px}.prototype-bar button{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
