@font-face{font-family:Edu;src:url('/app-font.ttf');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f2f7fd;color:#123fc0;font:18px/1.4 Edu,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #efaa37;outline-offset:3px}a{color:#0878fa;text-decoration:none}.demo-bar{padding:14px 25px;background:white;border-bottom:1px solid #dce9fa;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:15px}.demo-bar button{border:0;background:#eaf4ff;border-radius:9px;padding:8px 12px;color:#123fc0}.demo-layout{max-width:1020px;margin:35px auto;display:grid;grid-template-columns:1fr 420px;gap:100px;padding:0 25px}.guide{padding-block:30px}.guide h1{font-size:44px;line-height:1.1;margin:24px 0 15px}.guide h2{font-size:24px}.guide p,.guide li{color:#64809e}.guide li{margin-bottom:14px}.guide ol{padding-left:22px}.privacy{font-size:14px}.role-panel{padding:18px;background:#e4efff;border-radius:14px}.roles{display:flex;gap:8px;margin-top:10px}.roles button{flex:1;border:0;border-radius:10px;background:white;color:#123fc0;padding:10px}.roles [aria-pressed=true]{background:#0878fa;color:white}.phone{height:760px;max-height:calc(100dvh - 110px);min-height:540px;display:flex;flex-direction:column;background:white;border:7px solid #dce9f9;border-radius:29px;overflow:hidden;box-shadow:0 15px 45px #1d4f8f10}.app-top{height:57px;min-height:57px;display:flex;align-items:center;gap:8px;padding:10px 16px;border-bottom:1px solid #f1f5fb}.app-top button{margin-left:auto;border:0;border-radius:8px;background:#eaf4ff;color:#123fc0;font-size:14px;padding:7px 10px}#screen{overflow-y:auto;flex:1;padding:18px;scrollbar-width:thin;min-height:0;outline:0}#screen h1{font-size:25px;line-height:1.25;margin:0 0 17px}#screen h2{font-size:20px;margin:18px 0 12px}#screen p{margin:9px 0}.greeting{display:flex;gap:12px;align-items:center;margin-bottom:22px}.greeting h1{margin:0!important}.avatar{width:58px;height:58px;border-radius:50%;background-image:url('/app-avatars.png');background-size:400% 300%;background-position:0 0;flex-shrink:0}.avatar.adult{background-position:0 100%}.muted{font-size:15px;color:#7089a3}.menu{display:flex;gap:12px;align-items:center;background:#eaf4ff;border:0;border-radius:11px;padding:10px;width:100%;color:#123fc0;text-align:left;margin:0 0 14px;min-height:58px}.menu .symbol{width:35px;height:35px;border-radius:9px;background:#0878fa;color:white;display:grid;place-items:center;flex-shrink:0}.symbol svg{width:23px;height:23px}.menu .words{flex:1}.menu small{display:block;font-size:14px}.menu .arrow{font-size:25px}.week{display:flex;justify-content:space-between;gap:4px;margin:12px 0 20px}.week button{border:0;border-radius:12px;background:#eaf4ff;color:#123fc0;padding:8px 0;flex:1;font-size:14px}.week button strong{display:block;font-size:18px}.week button.active{background:#0878fa;color:#fff}#bottom{display:flex;border-top:1px solid #edf3fb;background:white;padding:7px 4px;min-height:67px}#bottom button{border:0;background:none;color:#6983a5;flex:1;font-size:13px;padding:0;display:flex;flex-direction:column;align-items:center;gap:3px}#bottom svg{height:23px;width:23px}#bottom button[aria-current=page]{color:#0878fa}#bottom button[aria-current=page] .nav-icon{background:#eaf4ff;border-radius:22px;width:58px}.primary,.soft{border:0;border-radius:12px;padding:12px 16px;display:block;width:100%;margin-top:14px;min-height:48px}.primary{background:#0878fa;color:white}.soft{background:#eaf4ff;color:#123fc0}.primary:disabled{opacity:.5;cursor:default}.back{border:0;background:transparent;color:#123fc0;margin:0 0 18px;padding:0;display:flex;align-items:center;gap:14px;font-size:24px}.status{display:inline-block;font-size:14px;padding:5px 11px;border-radius:20px;background:#eaf4ff}.status.green{background:#e0f6ed;color:#068657}.status.orange{background:#fff1db;color:#ac6500}.box{padding:15px;background:#f4f9ff;border-radius:12px;margin:14px 0}.paper{background:white;border:1px solid #dce8f5;border-radius:9px;padding:17px;background-image:repeating-linear-gradient(transparent,transparent 27px,#e3edfa 28px);line-height:28px;color:#345a91}.paper h3{margin:0 0 10px;font-size:19px}textarea,input,select{width:100%;color:#123fc0;border:1px solid #cadff6;border-radius:10px;padding:11px;background:#fff}textarea{resize:vertical;min-height:94px}label{display:block;margin:15px 0 7px;font-size:16px}.upload{position:relative;padding:12px;background:#eaf4ff;border-radius:11px;color:#0878fa}.upload input{display:block;padding:6px;font-size:14px;margin-top:8px}.photo{max-width:100%;max-height:220px;object-fit:contain;border-radius:10px;display:block;margin:12px 0}.bubble{border-radius:13px;background:#eaf4ff;padding:12px 14px;margin:12px 0;max-width:90%;overflow-wrap:anywhere}.bubble.mine{margin-left:auto;background:#dcecff}.bubble small{display:block;font-size:12px;margin-bottom:3px;color:#6c89aa}.bubble p{white-space:pre-wrap}.chat-form{display:flex;gap:7px;margin-top:18px}.chat-form input{min-width:0}.chat-form button{border:0;background:#0878fa;color:white;border-radius:10px;padding:9px 12px}.help-note{color:#c02350;background:#fff0f5;border-radius:9px;padding:12px}.success{color:#068657;background:#e5f8ef;padding:12px;border-radius:11px}#notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#123fc0;color:white;border-radius:12px;padding:13px 22px;z-index:10;max-width:90%;font-size:16px}dialog{border:0;border-radius:20px;padding:25px;color:#123fc0;max-width:90%;width:400px}dialog::backdrop{background:#16365766}dialog button{border:0;border-radius:10px;padding:10px 15px;background:#eaf4ff;color:#123fc0;margin-right:8px}.embed .demo-bar,.embed .guide{display:none}.embed{background:white}.embed .demo-layout{display:block;padding:0;margin:0}.embed .phone{border:0;border-radius:0;box-shadow:none;height:100dvh;max-height:none;min-height:0}.embed #screen{padding:16px}.embed .app-top{height:48px;min-height:48px}.embed .app-top img{width:25px;height:25px}@media(max-width:800px){.demo-layout{gap:30px;grid-template-columns:1fr 390px}.guide h1{font-size:34px}}@media(max-width:650px){.demo-bar{padding:10px 14px;font-size:13px}.demo-bar span{max-width:125px}.demo-layout{display:block;margin:0;padding:0}.guide{display:none}.phone{border:0;border-radius:0;box-shadow:none;height:calc(100dvh - 62px);max-height:none;min-height:0;max-width:460px;margin:auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.menu .symbol.color-red{background:#e92459}.menu .symbol.color-orange{background:#da7900}

/* Match the native APK: avatar at left, full-width message card and author. */
.message-row{display:flex;align-items:flex-start;gap:10px;margin:14px 0}.message-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;background-image:url('/app-avatars.png');background-size:400% 300%;background-position:0 0}.message-avatar.adult{background-position:0 100%}.message-row .bubble{margin:0;max-width:none;flex:1;min-width:0;background:#eaf4ff;border-radius:13px;padding:12px}.message-row .bubble strong{font-size:20px}.message-row .bubble p{margin:7px 0;font-size:18px}.message-row time{font-size:14px}.film-demo .app-top button{visibility:hidden}.film-demo .chat-form{display:none}.film-demo #screen{scroll-behavior:auto}.film-demo{pointer-events:none}.film-demo[data-film-step="3"] .help-note{background:#ffe7ef;color:#c02350}.film-demo[data-film-step="4"] .success{background:#d9f5e8}.film-demo .message-row{animation:demo-message .5s both}.film-demo .message-row:nth-of-type(3){animation-delay:.3s}.film-demo .message-row:nth-of-type(4){animation-delay:.6s}@keyframes demo-message{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.film-demo *{animation:none!important}}

.film-demo[data-film-step="2"][data-film-beat="2"] [data-action="submit"],.film-demo[data-film-step="3"][data-film-beat="1"] [data-action="help"],.film-demo[data-film-step="4"][data-film-beat="1"] [data-action="approve"]{outline:3px solid #52b8ff;outline-offset:3px;animation:demo-tap .9s ease-out 2}@keyframes demo-tap{50%{box-shadow:0 0 0 9px #0878fa22;transform:scale(.97)}}.film-demo-light *{animation:none!important;transition:none!important}
