*{box-sizing:border-box}html,body{margin:0;height:100%;background:#03090c;color:#c7d9dd;font:15px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}body{overflow:hidden}canvas{position:fixed;inset:0;opacity:.23;pointer-events:none}body:after{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent,#03090c 85%)}header,main{position:relative;z-index:1}header{display:flex;justify-content:space-between;align-items:center;padding:30px 40px;font-size:19px;letter-spacing:-1px}.dot{color:#6bd9ff}small{font-size:10px;letter-spacing:.05em;color:#779198}main{max-width:820px;width:calc(100% - 48px);height:calc(100dvh - 110px);margin:auto;display:flex;flex-direction:column;justify-content:end}#conversation{overflow:auto;scrollbar-width:thin;padding:40px 4px;mask-image:linear-gradient(transparent,black 24px);white-space:pre-wrap;overflow-wrap:anywhere}.turn{margin:0 0 28px}.turn.user{color:#79949e}.turn.assistant{color:#d6e6e9}.turn.error{color:#dfad97}form{display:flex;align-items:center;gap:16px;border-bottom:1px solid #28434d;padding:16px 0}.prompt{color:#6bd9ff;font-size:24px}textarea{font:inherit;resize:none;width:100%;max-height:140px;background:none;border:0;color:#d6e6e9;outline:0;line-height:1.7}textarea::placeholder{color:#6c858c}form:focus-within{border-color:#6bd9ff}button{background:none;border:0;color:#84a2ac;font-size:24px;cursor:pointer;padding:4px 10px}button:focus-visible{outline:1px solid #6bd9ff}button:disabled{opacity:.3;cursor:wait}footer{display:flex;justify-content:space-between;gap:12px;font-size:8px;letter-spacing:.13em;color:#526d75;padding:17px 0 10px}.sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}@media(max-width:600px){header{padding:22px 24px}header small{font-size:9px}main{height:calc(100dvh - 90px)}footer{font-size:7px}}

/* 2026-11-12: OrkhonMatrix field with a compact conversation dock. */
body{background:#020709}body:before{content:"";position:fixed;inset:0;background-image:linear-gradient(#6bd9ff08 1px,transparent 1px),linear-gradient(90deg,#6bd9ff08 1px,transparent 1px);background-size:48px 48px;pointer-events:none}canvas{opacity:.8}header{padding:26px 32px}main{position:fixed;right:28px;bottom:24px;width:min(390px,calc(100% - 32px));height:min(350px,calc(100dvh - 120px));margin:0;padding:0 18px;background:#041015e8;border:1px solid #1d353f;border-radius:5px;box-shadow:0 12px 60px #0007;backdrop-filter:blur(10px)}#conversation{padding:18px 0;flex:1;font-size:12px;line-height:1.8;mask-image:none}.turn{margin:0 0 16px}form{gap:10px;padding:10px 0}textarea{font-size:12px}.prompt{font-size:20px}button{font-size:20px}footer{font-size:7px;padding:11px 0}body:after{background:radial-gradient(ellipse at 45% 45%,transparent 15%,#020709a0 100%)}@media(max-width:600px){header{padding:20px}main{right:16px;bottom:16px;height:min(310px,calc(100dvh - 100px))}}

/* Requested edge-to-edge transparent chat, 2 × former 390 px width. */
@font-face{font-family:Orkhun;src:url('orkhun.woff2') format('woff2');font-display:block}
header{padding:16px 24px;pointer-events:none}.logo{width:88px;height:88px;object-fit:contain}header small{position:fixed;right:24px;bottom:12px;font-size:9px}main{right:0;top:0;bottom:0;width:min(780px,100%);height:100dvh;border:0;border-radius:0;box-shadow:none;background:rgba(2,9,13,.15);backdrop-filter:none;padding:20px 28px}#conversation{padding:18px 0 10px}form{margin-bottom:12px}@media(max-width:600px){main{right:0;top:0;bottom:0;width:100%;height:100dvh;padding:110px 20px 20px}.logo{width:72px;height:72px}}

/* Chat-first content: non-modal, independent of the existing Matrix/chat layout. */
#content-window[hidden]{display:none}
#content-window{position:fixed;z-index:3;left:24px;top:130px;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 150px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #79c9d526;border-radius:14px;background:linear-gradient(145deg,#071820ed,#041015e0);backdrop-filter:blur(18px);box-shadow:0 22px 85px #0006;color:#b4cacf}
.window-bar{display:flex;align-items:center;flex-shrink:0;border-bottom:1px solid #75c8d214;padding:10px 12px 10px 20px;gap:12px}
.window-handle{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:6px 0;font-size:11px;letter-spacing:.02em;cursor:grab;touch-action:none;user-select:none}
.window-handle:focus-visible{outline:1px solid #6bd9ff;outline-offset:4px;border-radius:3px}
.dragging .window-handle{cursor:grabbing}.window-dot{width:5px;height:5px;border-radius:50%;background:#77cfc0;box-shadow:0 0 12px #77cfc066}
.window-close{font:22px/1 ui-monospace,monospace;padding:8px 10px;color:#7a979f;border-radius:6px}.window-close:hover{background:#a5e3e80d;color:#d6e6e9}
.window-body{padding:30px 34px 22px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;font:14px/1.9 ui-sans-serif,system-ui,sans-serif}
.window-body .window-eyebrow{font:9px/1.5 ui-monospace,monospace;letter-spacing:.23em;color:#6eaaa9;margin:0 0 22px}
.window-body h1{font-size:clamp(23px,3vw,32px);line-height:1.2;font-weight:450;letter-spacing:-.035em;color:#e1efec;margin:0 0 18px}
.window-body .window-lead{color:#cee4e0;font-size:17px;margin-bottom:16px}
.window-body .window-hint{color:#7e9ea6;font-size:12px;margin:28px 0 0}
.window-note{flex-shrink:0;font-size:9px;letter-spacing:.04em;color:#719397;padding:12px 22px;margin:0;border-top:1px solid #75c8d214}
.turn.interface{color:#8fbab5;font-size:11px}
@media(max-width:600px){#content-window{max-height:calc(100dvh - 220px);border-radius:10px}.window-body{padding:22px}.window-body h1{font-size:25px}.window-note{padding:9px 20px}}
@media(max-height:480px){#content-window{max-height:calc(100dvh - 110px)}.window-body{padding:16px 22px}}

/* 2026-11-14: concise mission introduction within the existing chat surface. */
.mission{flex-shrink:0;padding:16px 0 10px;max-width:580px}.mission h1{font:400 clamp(22px,3vw,30px)/1.25 ui-sans-serif,system-ui,sans-serif;color:#d6e6e9;margin:0 0 14px}.mission p{font:13px/1.7 ui-sans-serif,system-ui,sans-serif;color:#abc4ca;margin:0 0 10px}#mission-prompt{font-size:11px;color:#8fbab5}#conversation{min-height:0}@media(max-height:500px){.mission{padding:0}.mission h1{font-size:20px;margin-bottom:6px}.mission p{font-size:11px;margin-bottom:6px}main{padding-top:12px}}
@media(min-width:601px) and (max-width:1000px){main{padding-top:120px}}@media(max-height:500px) and (max-width:1000px){main{padding-top:12px}.mission{padding-left:100px}}
