/* Hallmark · component: brand mark · genre: modern-minimal · theme: existing Net Tentacle
 * pre-emit critique: P5 H5 E5 S5 R5 V3 · states: default (static) · contrast: pass
 */
:root {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #10213d;
  background: #eef3f8;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.shell { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
header, .session-head { display: flex; align-items: center; gap: 16px; }
.brand-mark { width: 72px; height: 72px; flex: 0 0 72px; object-fit: contain; }
.eyebrow { margin: 0 0 4px; color: #527092; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: 30px; }
h2 { margin-bottom: 18px; }
.subtitle, .message { color: #58708c; }
.panel, .session { margin-top: 28px; padding: 24px; border: 1px solid #cbd8e6; border-radius: 18px; background: white; box-shadow: 0 16px 45px rgba(35, 64, 96, .08); }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 650; }
input, button { min-height: 46px; border-radius: 10px; font: inherit; }
input { width: 100%; border: 1px solid #b8c7d8; padding: 0 13px; color: #10213d; background: white; }
input:focus { outline: 3px solid #b9d7ff; border-color: #326bb1; }
button { border: 0; padding: 0 20px; background: #173c71; color: white; font-weight: 700; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
.message { min-height: 24px; margin: 14px 0 0; font-size: 14px; }
.join-step { margin-top: 18px; padding-top: 18px; border-top: 1px solid #dbe4ee; }
.lookup-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lookup-result h3 { margin: 0; font-size: 21px; }
.change-code { margin-top: 12px; }
.session-head { justify-content: space-between; }
.session-head h2 { margin-bottom: 0; }
.session-actions { display: flex; align-items: center; gap: 10px; }
.badge { padding: 7px 11px; border-radius: 999px; background: #edf2f7; color: #34516f; font-size: 13px; font-weight: 700; }
.secondary { min-height: 36px; padding: 0 12px; border: 1px solid #b8c7d8; background: white; color: #34516f; }
.terminal-shell { height: min(58vh, 520px); min-height: 370px; margin-top: 20px; overflow: hidden; padding: 14px; border-radius: 12px; background: #07111f; }
.terminal-shell:focus-within { outline: 3px solid #b9d7ff; }
#terminal { width: 100%; height: 100%; }
#terminal .xterm { height: 100%; }

@media (max-width: 560px) {
  .shell { width: min(100% - 20px, 880px); padding: 24px 0; }
  .panel, .session { padding: 18px; }
}
