.app-proto{--primary: #4aa3ff;--primary-end: #2684f2;--primary-dark: #1467cf;--primary-soft: #e9f4ff;--secondary: #5cced7;--orange: #ffad45;--orange-end: #f68b2c;--orange-soft: #fff0d0;--success: #42c48b;--danger: #ff6b7a;--page-bg: #f3f8ff;--phone-bg: #f7fbff;--ink: #1d2b3a;--text: #48596a;--muted: #8aa0b5;--placeholder: #b8c4d0;--line: #e5eef8;--shadow: 0 18px 42px rgba(39, 118, 210, .16);--soft-shadow: 0 10px 26px rgba(41, 108, 186, .11);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif}.app-proto *{box-sizing:border-box}.app-proto html,.app-proto body,.app-proto #app{width:100%;min-height:100%}.app-proto body{margin:0;color:var(--text);background:linear-gradient(180deg,rgba(74,163,255,.12),transparent 340px),linear-gradient(135deg,#eef7ff,#fbfdff 54%,#edf6ff)}.app-proto button,.app-proto input,.app-proto textarea,.app-proto select{font:inherit}.app-proto button{cursor:pointer}.app-proto button:disabled{cursor:default;opacity:.62}.app-proto h1,.app-proto h2,.app-proto h3,.app-proto p{margin:0}.app-proto .app-shell{min-height:100vh;display:grid;place-items:center;padding:28px}.app-proto .device{width:min(100%,430px);height:min(920px,calc(100vh - 56px));min-height:720px;border-radius:34px;padding:12px;background:#111827;box-shadow:0 28px 80px #19407638}.app-proto .screen{position:relative;height:100%;overflow:hidden;border-radius:24px;background:var(--phone-bg);display:flex;flex-direction:column}.app-proto .page{flex:1;min-height:0;overflow-y:auto;padding:18px 18px 96px;scrollbar-width:none}.app-proto .page::-webkit-scrollbar{display:none}.app-proto .page.no-tab{padding-bottom:28px}.app-proto .app-top{padding:18px 18px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;background:var(--phone-bg)}.app-proto .app-title{min-width:0}.app-proto .app-title strong{display:block;color:var(--ink);font-size:22px;line-height:1.2;font-weight:900}.app-proto .app-title span{display:block;margin-top:4px;color:var(--muted);font-size:12px}.app-proto .avatar{width:42px;height:42px;border:0;border-radius:15px;color:#fff;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--primary-end));box-shadow:0 10px 24px #2684f23d}.app-proto .hero{min-height:188px;border-radius:24px;padding:20px;overflow:hidden;color:#fff;background:linear-gradient(135deg,#4aa3fff5,#2684f2c7),url(/assets/home-hero-montessori.png) center/cover;box-shadow:var(--shadow)}.app-proto .hero h2{max-width:250px;font-size:25px;line-height:1.22;font-weight:900}.app-proto .hero p{max-width:250px;margin-top:10px;color:#ffffffdb;font-size:13px;line-height:1.55}.app-proto .hero .primary-light{margin-top:22px}.app-proto .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.app-proto .section-title h3{color:var(--ink);font-size:18px;font-weight:900}.app-proto .section-title span{color:var(--muted);font-size:12px}.app-proto .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app-proto .card,.app-proto .list-card,.app-proto .metric,.app-proto .form-card{border:1px solid rgba(229,238,248,.92);background:#fffffff5;border-radius:16px;box-shadow:var(--soft-shadow)}.app-proto .card,.app-proto .form-card{padding:16px}.app-proto .metric{padding:15px}.app-proto .metric strong{display:block;color:var(--ink);font-size:24px;line-height:1.05;font-weight:950}.app-proto .metric span{display:block;margin-top:7px;color:var(--muted);font-size:12px}.app-proto .card h3,.app-proto .list-title{color:var(--ink);font-size:16px;font-weight:900}.app-proto .card p,.app-proto .list-card p{color:var(--text);font-size:13px;line-height:1.65}.app-proto .list{display:grid;gap:12px}.app-proto .list-card{padding:14px}.app-proto .row{display:flex;align-items:center;justify-content:space-between;gap:12px}.app-proto .stack{display:grid;gap:12px}.app-proto .meta{margin-top:4px;color:var(--muted);font-size:12px}.app-proto .pill{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:0 10px;border-radius:999px;color:var(--primary-dark);background:var(--primary-soft);font-size:12px;font-weight:850;white-space:nowrap}.app-proto .pill.warn{color:#a76200;background:#fff3d4}.app-proto .pill.ok{color:#16845b;background:#e8f8f1}.app-proto .primary,.app-proto .secondary,.app-proto .ghost,.app-proto .danger,.app-proto .primary-light{min-height:46px;border:0;border-radius:12px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:850}.app-proto .primary{color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-end));box-shadow:0 12px 24px #2684f238}.app-proto .primary-light{min-height:40px;color:var(--primary-dark);background:#fffffff0}.app-proto .secondary{color:var(--primary-dark);background:var(--primary-soft)}.app-proto .ghost{color:var(--text);background:#eef5fc}.app-proto .danger{color:#fff;background:var(--danger)}.app-proto .field{display:grid;gap:8px}.app-proto .field label{color:var(--ink);font-size:13px;font-weight:850}.app-proto .field input,.app-proto .field textarea,.app-proto .field select{width:100%;min-height:48px;border:1.2px solid var(--line);border-radius:12px;outline:none;background:#fff;padding:0 14px;color:var(--ink);font-size:14px}.app-proto .field textarea{min-height:108px;padding:13px 14px;resize:none;line-height:1.55}.app-proto .field input::placeholder,.app-proto .field textarea::placeholder{color:var(--placeholder)}.app-proto .field input:focus,.app-proto .field textarea:focus,.app-proto .field select:focus{border-color:var(--primary);box-shadow:0 0 0 4px #4aa3ff1f}.app-proto .segmented{display:grid;grid-auto-flow:column;gap:6px;padding:5px;border-radius:14px;background:#edf5fd}.app-proto .segmented button{min-height:38px;border:0;border-radius:11px;color:var(--muted);background:transparent;font-size:13px;font-weight:850}.app-proto .segmented button.active{color:var(--primary-dark);background:#fff;box-shadow:0 8px 18px #2574c81a}.app-proto .progress{height:8px;overflow:hidden;border-radius:999px;background:#e9f1fa}.app-proto .progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),var(--secondary))}.app-proto .bottom-nav{position:absolute;left:0;right:0;bottom:0;z-index:4;height:74px;padding:8px 22px 16px;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;background:#fffffff5;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.app-proto .nav-item{border:0;background:transparent;display:grid;justify-items:center;align-content:center;gap:3px;color:#a0adbb;font-size:10px;font-weight:850}.app-proto .nav-symbol{width:28px;height:28px;border-radius:12px;display:grid;place-items:center;font-size:15px;font-weight:950}.app-proto .nav-item.active{color:var(--primary-dark)}.app-proto .nav-item.active .nav-symbol{color:#fff;background:var(--primary);box-shadow:0 8px 18px #2684f23d}.app-proto .auth-page{min-height:100%;padding:0 32px 150px;display:flex;flex-direction:column}.app-proto .auth-help{align-self:flex-end;margin-top:44px;border:0;background:transparent;color:var(--text);font-size:12px;font-weight:600}.app-proto .auth-main{margin-top:82px}.app-proto .auth-main h1{color:var(--ink);font-size:24px;line-height:1.2;font-weight:900}.app-proto .auth-main>p{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.38}.app-proto .auth-form{margin-top:36px;display:grid;gap:20px}.app-proto .auth-input{position:relative}.app-proto .auth-input input{width:100%;height:52px;border:1.2px solid var(--line);border-radius:10px;outline:none;background:#fff;padding:0 48px 0 24px;color:var(--ink);font-size:15px}.app-proto .auth-input input:focus{border-color:var(--primary)}.app-proto .auth-input input::placeholder{color:var(--placeholder)}.app-proto .auth-eye{position:absolute;top:5px;right:6px;width:42px;height:42px;border:0;background:transparent;color:var(--text)}.app-proto .forgot{width:max-content;border:0;background:transparent;color:var(--text);font-size:12px}.app-proto .auth-submit{height:56px;border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-end));font-size:15px;font-weight:850}.app-proto .agreement{display:flex;align-items:flex-start;gap:8px;color:var(--text);font-size:11px;line-height:1.35}.app-proto .check{flex:none;width:15px;height:15px;margin-top:1px;border-radius:50%;border:1.2px solid var(--text);background:#fff;display:grid;place-items:center;color:#fff;font-size:11px}.app-proto .check.checked{border-color:var(--primary);background:var(--primary)}.app-proto .agreement a{color:var(--primary-end);text-decoration:none}.app-proto .auth-other{position:absolute;left:32px;right:32px;bottom:48px;display:grid;justify-items:center;gap:22px}.app-proto .divider-title{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;color:#1d2b3aeb;font-size:13px;font-weight:750}.app-proto .divider-title:before,.app-proto .divider-title:after{content:"";height:1px;background:var(--line)}.app-proto .mode-switch{min-height:46px;border:1px solid var(--line);border-radius:999px;padding:0 20px;color:var(--ink);background:#fff;font-size:12px;font-weight:760}.app-proto .modal-mask{position:absolute;inset:0;z-index:10;display:grid;place-items:end center;padding:14px;background:#0e1e3452}.app-proto .modal{width:100%;padding:18px;border-radius:24px 24px 18px 18px;background:#fff;box-shadow:0 -18px 44px #142b482e}.app-proto .modal h3{color:var(--ink);font-size:18px;margin-bottom:14px}.app-proto .toast{position:absolute;inset:50% auto auto 50%;z-index:20;width:max-content;min-width:250px;max-width:calc(100% - 64px);transform:translate(-50%,-50%);padding:16px 24px;border-radius:8px;color:#fff;background:#12201edb;text-align:center;font-size:17px;font-weight:850;line-height:1.45;box-shadow:0 12px 28px #0e161838}.app-proto .upload-box{min-height:150px;border:1.5px dashed #b9d8f6;border-radius:18px;display:grid;place-items:center;text-align:center;color:var(--muted);background:#fbfdff;padding:20px}.app-proto .chat{display:grid;gap:9px}.app-proto .bubble{width:fit-content;max-width:86%;padding:10px 12px;border-radius:14px;color:var(--text);background:#eef6ff;font-size:13px;line-height:1.55}.app-proto .bubble.me{justify-self:end;color:#fff;background:var(--primary)}.app-proto .empty{padding:28px 16px;text-align:center;color:var(--muted);border:1px dashed #cfe0f2;border-radius:18px;background:#fbfdff}@media(max-width:520px){.app-proto body{background:var(--phone-bg)}.app-proto .app-shell{padding:0}.app-proto .device{width:100%;height:100vh;min-height:0;padding:0;border-radius:0;box-shadow:none}.app-proto .screen{border-radius:0}}:root{color-scheme:light;--bg: #f5f7fb;--panel: #fff;--text: #17202a;--muted: #667085;--line: #d7deea;--accent: #155eef;--accent-soft: #eff4ff;--danger: #b42318;font-family:Inter,Segoe UI,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:360px;background:var(--bg);color:var(--text)}.topbar{min-height:84px;padding:18px 24px;border-bottom:1px solid var(--line);background:var(--panel);display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar-actions{display:flex;align-items:center;gap:10px}h1{margin:0 0 6px;font-size:22px}p{margin:0;color:var(--muted);font-size:14px}.badge{padding:8px 12px;border:1px solid #b2ccff;border-radius:6px;background:var(--accent-soft);color:#1849a9;font-size:13px;font-weight:700}.layout{width:min(1500px,100%);margin:0 auto;padding:18px;display:grid;grid-template-columns:300px minmax(420px,560px) 1fr;gap:16px;align-items:start}.admin-page{width:100%;margin:0;padding:18px;display:grid;gap:16px}.app-route-page{min-height:calc(100vh - 84px);margin:0}.app-route-page .app-proto .app-shell{min-height:calc(100vh - 84px)}.admin-settings{display:grid;grid-template-columns:minmax(280px,1fr) 160px 180px;gap:12px;align-items:end}.admin-settings label{margin-bottom:0}.panel{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:16px}.scenario-panel{position:sticky;top:18px;height:calc(100vh - 120px);min-height:520px;display:flex;flex-direction:column;overflow:hidden}.section-title{margin:0 0 12px;font-size:13px;font-weight:800;color:#344054}.section-title:not(:first-child){margin-top:22px}.scenario-menu{min-height:0;display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;flex:1;overflow:hidden}.primary-menu{display:grid;align-content:start;gap:8px;overflow:auto}.primary-menu-button{min-height:40px;padding:0 8px;text-align:left}.submenu-scroll{min-height:0;overflow-y:auto;padding-right:4px}.scenario-groups{display:grid;gap:14px}.scenario-group{display:grid;gap:8px}.scenario-group-title{padding:0 2px;color:var(--muted);font-size:12px;font-weight:800}.scenario-list{display:grid;gap:8px}.module-switcher{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:18px}.session-block{flex:0 0 auto;padding-top:14px;border-top:1px solid var(--line)}.session-block .section-title{margin-top:0}button{min-height:38px;border:1px solid #cfd6e3;border-radius:6px;background:#fff;color:var(--text);cursor:pointer;font:inherit;font-weight:700}button:hover{border-color:var(--accent)}button.active,button.send{border-color:var(--accent);background:var(--accent);color:#fff}button.send{width:100%;margin-top:4px}button.ghost{background:#fff}button.full{width:100%;margin-top:14px}button:disabled{cursor:wait;opacity:.6}label{display:block;margin-bottom:12px;color:#344054;font-size:13px;font-weight:700}input,select,textarea{width:100%;margin-top:6px;border:1px solid #cfd6e3;border-radius:6px;background:#fff;color:var(--text);font:inherit}input,select{height:38px;padding:8px 10px}textarea{resize:vertical;min-height:90px;padding:10px;font-family:Cascadia Mono,Consolas,monospace;font-size:13px;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:2px solid rgba(21,94,239,.14)}.request-line{display:grid;grid-template-columns:130px 1fr;gap:10px}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:16px;height:16px;margin:0}.state-list{display:grid;grid-template-columns:64px 1fr;gap:8px;margin:0;font-size:13px}.state-list dt{color:var(--muted)}.state-list dd{margin:0;overflow-wrap:anywhere;font-family:Cascadia Mono,Consolas,monospace}.response-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.admin-data-panel{width:100%;min-height:calc(100vh - 120px)}.admin-data-head,.table-toolbar{display:flex;justify-content:space-between;align-items:end;gap:14px}.admin-actions{display:grid;grid-template-columns:100px 120px 92px;align-items:end;gap:10px}.admin-actions label,.table-toolbar label{margin-bottom:0}.admin-data-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;margin-top:16px}.table-list{display:grid;align-content:start;gap:8px;max-height:calc(100vh - 210px);overflow:auto}.table-list button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;text-align:left}.table-list small{color:var(--muted);font-weight:700}.table-view{min-width:0}.table-toolbar{margin-bottom:12px}.table-tools{display:grid;grid-template-columns:minmax(240px,360px);align-items:end;gap:10px}.table-toolbar h2{margin:0 0 4px;font-size:18px}.data-table-wrap{max-height:calc(100vh - 250px);overflow:auto;border:1px solid var(--line);border-radius:6px}.generic-table{display:grid;gap:10px}.generic-table-toolbar,.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:12px}.generic-table-actions{display:flex;align-items:end;gap:10px}.generic-table-actions label{width:92px;margin-bottom:0}.pagination-summary,.pagination-bar{color:var(--muted);font-size:13px;font-weight:700}.pagination-controls{display:flex;align-items:center;gap:8px}.page-input{width:48px;height:32px;padding:0 6px;text-align:center}.column-picker{position:relative}.column-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:10;width:260px;max-height:360px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);box-shadow:0 16px 36px #10182829}.column-menu-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:var(--muted);font-size:12px;font-weight:800}.column-option{display:flex;align-items:center;gap:8px;margin:0;padding:6px 4px;font-family:Cascadia Mono,Consolas,monospace;font-size:12px;font-weight:600}.column-option input{width:15px;height:15px;margin:0}.text-button{min-height:0;padding:0;border:0;background:transparent;color:var(--accent);font-size:12px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{max-width:280px;padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;overflow-wrap:anywhere}.data-table .action-col{width:72px;min-width:72px;max-width:72px;text-align:center}.data-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#344054;font-weight:800}.data-table td{font-family:Cascadia Mono,Consolas,monospace}.empty-state{padding:32px;border:1px dashed var(--line);border-radius:6px;color:var(--muted);text-align:center}.danger-button{border-color:#fecdca;background:#fff;color:var(--danger)}.danger-button:hover,.danger-link:hover{border-color:var(--danger)}.danger-link{min-height:28px;padding:0 8px;border-color:#fecdca;color:var(--danger);font-size:12px}pre{min-height:620px;max-height:calc(100vh - 182px);overflow:auto;margin:14px 0 0;padding:14px;border:1px solid #d7deea;border-radius:6px;background:#fbfcff;color:#17202a;font-family:Cascadia Mono,Consolas,monospace;font-size:13px;line-height:1.5;white-space:pre-wrap}@media(max-width:1180px){.layout{grid-template-columns:280px 1fr}.response-panel,.admin-data-panel{grid-column:1 / -1}}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.layout{grid-template-columns:1fr;padding:12px}.scenario-panel{position:static;height:min(760px,calc(100vh - 24px));min-height:0}.scenario-menu{grid-template-columns:88px minmax(0,1fr)}.response-panel{grid-column:auto}.request-line{grid-template-columns:1fr}.admin-page{padding:12px}.admin-settings,.topbar-actions{display:grid;grid-template-columns:1fr;width:100%}.admin-data-layout,.admin-data-head,.table-toolbar,.table-tools,.generic-table-toolbar,.generic-table-actions,.pagination-bar,.admin-actions{grid-template-columns:1fr;display:grid}.column-menu{left:0;right:auto;width:min(280px,calc(100vw - 48px))}pre{min-height:340px;max-height:none}}
