:root{color-scheme:light;--navy:#10232e;--navy2:#173747;--teal:#13776e;--teal2:#e9f8f4;--text:#172b34;--muted:#687983;--line:#dce7e7;--bg:#f2f6f4;--white:#fff;--amber:#fff9eb;--amber-b:#f5e2b8;--shadow:0 15px 45px rgba(26,63,72,.07);font-family:Inter,'Noto Sans SC',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:15px;line-height:1.55}.hidden{display:none!important}.app-shell{width:100%;min-height:100vh}.topbar{background:var(--navy);height:82px;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1080px)/2));}.brand{display:flex;gap:12px;align-items:center}.brand-mark{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border:1.5px solid #8cc3ad;border-radius:11px;position:relative;color:#e9fff9;font-size:26px;font-weight:800}.brand-mark small{position:absolute;right:-5px;bottom:-6px;background:#c6a56e;color:#122330;font-size:9px;padding:1px 4px;border-radius:4px}.brand strong{font-size:17px;letter-spacing:.15em;line-height:1}.brand-sub{font-size:10px;letter-spacing:.18em;margin-top:4px;color:#9abbc2}.beta{color:#d1b88e;letter-spacing:.06em;margin-left:5px}.simple-toggle{border:1px solid #496775;background:none;border-radius:9px;color:#f1faf9;padding:7px 13px;cursor:pointer;font-weight:700}.page{max-width:870px;margin:0 auto;padding:44px 22px 90px}.hero{position:relative;padding:18px 0 28px;min-height:250px}.eyebrow,.overline{text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.17em;color:var(--teal)}.eyebrow{display:flex;gap:9px;align-items:center}.dot,.green-light{display:inline-block;width:7px;height:7px;background:#22b897;border-radius:50%;box-shadow:0 0 0 3px rgba(34,184,151,.12)}.hero h1{font-size:clamp(36px,6.5vw,54px);letter-spacing:-.05em;line-height:1.23;margin:18px 0 17px;font-weight:820}.hero h1 em{font-style:normal;color:var(--teal)}.hero p{max-width:560px;margin:0;color:var(--muted);font-size:15px}.hero-art{position:absolute;right:0;top:60px;display:flex;align-items:center;gap:9px;color:var(--teal);font-size:13px;opacity:.6;background:white;padding:15px 18px;border-radius:90px;box-shadow:var(--shadow);transform:rotate(-5deg)}.hero-art span{padding:5px 7px;background:#eff8f6;border-radius:6px}.hero-art i{font-style:normal;color:#93afa8}.notice{display:flex;align-items:flex-start;gap:13px;border-radius:13px;padding:15px 17px;margin-bottom:18px;font-size:13px}.notice-amber{background:var(--amber);border:1px solid var(--amber-b)}.notice-good{background:#e9f8f0;border:1px solid #b6e6d4}.notice strong{display:block}.notice-icon{width:23px;height:23px;flex:0 0 23px;display:grid;place-items:center;border-radius:50%;background:#f8dda1;color:#75590f;font-weight:800}.sub{font-size:12px;color:var(--muted);margin-top:3px}.card{border:1px solid var(--line);background:var(--white);box-shadow:var(--shadow);border-radius:17px;padding:26px 29px;margin-bottom:18px}.home-card{border-top:4px solid var(--teal)}.section-heading h2,.invite-card h2,.feed-head h2{margin:7px 0 4px;font-size:22px;letter-spacing:-.03em}.section-heading p,.invite-card p{margin:0 0 23px;color:var(--muted);font-size:13px}form label{font-weight:650;font-size:13px;display:block;margin:15px 0 7px}input,select{width:100%;font:inherit;border:1px solid #d5e1e1;outline:0;border-radius:9px;padding:12px 13px;background:white;color:var(--text);min-height:48px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #d6eeeb}button{font:inherit;cursor:pointer;transition:opacity .18s,transform .18s}button:active{transform:scale(.99)}button:disabled{opacity:.48;cursor:not-allowed}.primary,.secondary{width:100%;padding:13px 18px;border-radius:10px;font-weight:740;display:flex;justify-content:center;align-items:center;gap:8px;margin-top:22px}.primary{color:white;border:1px solid var(--teal);background:var(--teal)}.primary:hover{background:#0c645c}.secondary{background:var(--teal2);color:var(--teal);border:1px solid #bee2da}.secondary:hover{background:#d9f0e8}.join-card{background:#fefefe}.footnote,.disclaimer{font-size:12px;color:#7a898f;line-height:1.7;text-align:center}.footer{border-top:1px solid #e0e8e8;color:#849097;padding:23px 0 28px;text-align:center;font-size:10px;font-weight:750;letter-spacing:.12em}.footer span{margin:0 6px}.room-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.room-heading h1{font-size:24px;line-height:1.3;margin:6px 0 0;letter-spacing:-.03em}.room-heading h1 span:last-child{letter-spacing:.05em;color:var(--teal);font-size:18px}.ghost{border:1px solid var(--line);background:white;color:var(--muted);border-radius:9px;padding:9px 14px;font-size:13px}.room-alert{margin:0 0 18px;font-size:12px;padding:12px 15px;border-radius:10px;color:#816722;background:#fff8df;border:1px solid #f3e5b6}.room-alert.ok{background:#edf8f4;border-color:#c3e6db;color:#176b61}.room-tools{display:flex;gap:12px}.room-tool{flex:1}.tool-label{font-size:12px;font-weight:650;color:var(--muted);margin:0 0 5px}.room-tools select{min-height:42px;padding:9px 12px;font-size:13px}.status-strip{display:flex;justify-content:space-between;gap:12px;margin:19px 1px;color:#657a79;font-size:12px}.status-strip>div{display:flex;align-items:center;gap:9px}.feed-card{padding:0;overflow:hidden}.feed-head{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid #e8eeee}.feed-head h2{margin:0;font-size:16px}.small-tag{background:#f1f6f6;border-radius:6px;padding:3px 9px;color:#677d7d;font-size:11px}.feed{min-height:180px;max-height:410px;overflow:auto;padding:17px 19px}.feed-empty{color:#91a0a3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:180px}.feed-empty strong{font-size:14px;color:#72848b}.feed-empty p{font-size:12px;margin:6px 0}.empty-icon{font-size:24px;color:#a9c4be;border:1px solid #dbece8;width:50px;height:50px;border-radius:16px;display:grid;place-items:center;margin-bottom:12px}.msg{padding:14px 15px;border:1px solid #e2eceb;border-radius:12px;margin-bottom:11px;background:#fdfefe}.msg.mine{background:#f1f9f7;border-color:#d0eae1}.msg-meta{display:flex;align-items:center;gap:8px;color:#7a888c;font-size:11px;margin-bottom:6px}.msg-meta b{color:#37585a}.msg-original{font-size:15px;font-weight:660;line-height:1.65;overflow-wrap:anywhere}.msg-translation{border-top:1px dashed #d7e5e3;margin-top:9px;padding-top:9px;font-size:15px;color:#0a7768;line-height:1.7;overflow-wrap:anywhere}.msg-translation.status{font-size:12px;color:#96876a}.interaction{padding:19px}.control-row{display:flex;gap:15px;align-items:stretch}.mic-btn{flex:1;min-height:88px;border:1px solid #b5ddd5;background:var(--teal2);color:#156b62;border-radius:13px;font-weight:800;display:flex;flex-direction:column;gap:4px;justify-content:center;align-items:center}.mic-btn.active{background:#fdf0ed;color:#a74136;border-color:#f4ccc3;animation:pulse 1.4s infinite}.mic-symbol{font-size:29px;line-height:1}.voice-control{flex:1;max-width:205px;display:flex;flex-direction:column;gap:5px}.voice-control select{font-size:12px;min-height:36px;padding:5px 8px}.mini-label{font-size:11px;color:var(--muted)}.audio-enable{border:1px solid #c4ddd9;color:#13695d;background:white;padding:6px 5px;border-radius:7px;font-size:11px;font-weight:700}.audio-enable.enabled{background:#e3f5ef;border-color:#9ad6c6}.tiny{font-size:11px;color:#909c9f;margin-top:10px}.message-row{display:flex;gap:8px;align-items:stretch;margin-top:14px}.message-row input{min-width:0;flex:1}.send-btn{flex:0 0 48px;background:var(--navy);color:white;border:0;border-radius:10px;font-size:20px}.invite-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.invite-top h2{font-size:17px}.invite-top p{font-size:12px;margin-bottom:6px}.count-badge{font-size:14px;font-weight:800;color:#146d63;background:#e7f7ef;border-radius:90px;padding:7px 13px}.invite-bottom{display:flex;gap:23px;align-items:center;margin-top:12px}.qr-wrap{width:135px;height:135px;border:1px solid var(--line);border-radius:12px;padding:7px;background:white;flex:0 0 135px}.qr-wrap img{height:100%;width:100%;object-fit:contain}.share-options{flex:1;min-width:0}.code-label{font-size:11px;color:var(--muted)}.share-code{font-size:25px;font-weight:850;letter-spacing:.1em;color:#193b45;margin:4px 0 9px}.sm{width:auto;margin-top:5px;padding:7px 10px;font-size:12px}.people-list{display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.person-chip{display:flex;gap:6px;align-items:center;border-radius:99px;padding:6px 10px;background:#f4f7f7;font-size:11px;color:#40575f}.person-chip.offline{opacity:.52}.person-chip span{width:6px;height:6px;background:#1ea98c;border-radius:50%}.person-chip.offline span{background:#a2abad}.danger{margin-top:14px;border:1px solid #f1bcbc;background:#fff1f1;color:#a52c30;border-radius:9px;padding:9px 13px;font-size:12px}.disclaimer{padding:8px 20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#172e38;color:white;border-radius:12px;padding:14px 19px;max-width:min(500px,90vw);z-index:30;font-size:13px;box-shadow:0 8px 40px #1233;white-space:normal}@keyframes pulse{50%{box-shadow:0 0 0 6px #f0cec32a}}@media(min-width:820px){#landing{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hero,#apiBanner,.footnote{grid-column:1/-1}.hero{min-height:250px}.home-card,.join-card{margin-bottom:0}#landing .card{min-height:470px}.page.room-page{max-width:850px}}@media(max-width:600px){.topbar{height:70px;padding:0 20px}.page{padding:27px 17px 65px}.hero{padding:8px 0 18px;min-height:230px}.hero h1{font-size:38px}.hero-art{position:static;width:max-content;margin-top:13px;right:auto;top:auto;padding:9px 12px;transform:none;opacity:.7;font-size:10px}.card{padding:20px 19px;border-radius:14px}.room-page .feed-card{padding:0}.room-page .invite-card{padding:18px}.room-heading h1{font-size:19px}.room-heading h1 span:last-child{font-size:14px}.invite-bottom{gap:13px}.qr-wrap{width:112px;height:112px;flex-basis:112px}.share-code{font-size:21px}.voice-control{max-width:155px}.mic-btn{font-size:12px}.room-page{padding-top:24px}}

.audio-test{margin-top:6px;background:#f0f7fa;border:1px solid #cde2e8;color:#174151;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:650;cursor:pointer;width:100%;} .audio-test:disabled{opacity:.55;cursor:wait;} .audio-test:focus-visible{outline:3px solid #79d4dd;outline-offset:2px}
/* V1.5 in-place knowledge module: accessible on mobile, no guest access controls. */
.kb-row{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}.kb-row input:not([type=checkbox]),.kb-row select{flex:1;min-width:150px}.kb-row button{flex-shrink:0}.kb-grid,.kb-term-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.kb-grid button,.kb-term-form button{grid-column:1/-1}.kb-term-form label{grid-column:1/-1;font-size:13px}.kb-divider{border-top:1px solid #d8e3e5;margin-top:18px;padding-top:14px;display:flex;flex-direction:column;gap:4px}.kb-list{display:grid;gap:7px;margin:10px 0;max-height:360px;overflow:auto}.kb-item{border:1px solid #dce7e9;border-radius:9px;padding:9px;display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.kb-item .tiny{max-width:100%;word-break:break-word}.kb-item .kb-actions{display:flex;gap:5px;flex-wrap:wrap}.kb-item button{padding:7px 10px;font-size:12px}.kb-item input[type=checkbox]{min-width:auto}.kb-muted{opacity:.6}.kb-active{color:#176a4a;font-weight:600}.kb-danger{color:#b34b4b}.kb-name{font-weight:600;max-width:100%;overflow-wrap:anywhere}#kbWorkspace button{min-height:35px}#kbWorkspace input,#kbWorkspace select{padding:10px;font-size:14px}@media(max-width:480px){.kb-grid,.kb-term-form{grid-template-columns:1fr}.kb-grid button{grid-column:auto}.kb-row>button{max-width:100%}}
/* Keep review and pack-selection checkboxes at native tap-friendly size, not full-width form inputs. */
#knowledgePanel input[type="checkbox"]{appearance:auto;width:19px;height:19px;min-width:19px;min-height:19px;max-width:19px;max-height:19px;padding:0;flex:0 0 19px;margin:0 8px 0 0;accent-color:#147a70;vertical-align:middle}
#kbBindings .kb-item{justify-content:flex-start;align-items:center;cursor:pointer}
