@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Fira+Sans:wght@400;500;600&display=swap");

:root {
  --navy: #0b1f3a;
  --navy-2: #143056;
  --gold: #c4a35a;
  --gold-2: #e8d5a3;
  --cream: #f7f4ec;
  --ink: #1b2430;
  --muted: #5c6778;
  --ok: #2f6f4e;
  --bad: #9b3b32;
  --glass: rgba(247, 244, 236, 0.72);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Fira Sans", sans-serif;
  color: var(--ink);
  background: var(--navy);
}
.bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, #1e4a86 0%, transparent 55%),
    radial-gradient(900px 400px at 110% 10%, #c4a35a33 0%, transparent 50%),
    linear-gradient(180deg, #071525, #0b1f3a 40%, #0a182c);
  z-index: -1;
}
.shell { max-width: 920px; margin: 0 auto; padding: 24px 20px 48px; }
.top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.eyebrow { margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; color: var(--gold-2); }
h1 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 40px; margin: 4px 0; color: #fff; }
.model { margin: 0; color: #c9d4e5; font-size: 13px; }
.top-right { display: flex; gap: 12px; align-items: center; }
.langs { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang {
  border: 0; background: transparent; color: #d7deea; padding: 6px 10px;
  border-radius: 999px; cursor: pointer; font: inherit;
}
.lang.is-on { background: var(--gold); color: var(--navy); }
.status { display: flex; align-items: center; gap: 8px; color: #d7deea; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #8896ab; }
.dot.ok { background: #3dba7a; }
.dot.busy { background: var(--gold); }
.dot.err { background: #e07070; }
.card, .transcript, .typebox {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 16px;
}
.hint { color: var(--muted); margin: 8px 0 0; }
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cap { background: rgba(255,255,255,.08); color: #eef3fb; border-radius: 14px; padding: 12px; }
.cap b { display: block; color: var(--gold-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.transcript { min-height: 220px; max-height: 420px; overflow-y: auto; }
.msg { margin: 0 0 14px; line-height: 1.5; display: flex; gap: 12px; align-items: baseline; }
.msg.empty { color: var(--muted); display: block; }
.msg.guest { color: var(--navy); }
.msg.ai { color: var(--navy-2); }
.msg .who {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  flex: 0 0 52px;
}
.msg .body { flex: 1; white-space: pre-wrap; }
.ticket { background: #fff; border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: 10px; margin: 10px 0; }
.typebox { display: flex; gap: 8px; }
.typebox input {
  flex: 1; border: 0; background: #fff; border-radius: 10px; padding: 10px 12px; font: inherit;
}
.dock { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.primary, .ghost {
  cursor: pointer; border-radius: 999px; padding: 12px 18px; font: inherit; border: 0;
}
.primary { background: var(--gold); color: var(--navy); font-weight: 600; }
.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.primary:disabled, .ghost:disabled { opacity: .45; cursor: not-allowed; }
.ops-link { margin-left: auto; color: var(--gold-2); }
.sr { position: absolute; left: -9999px; }
@media (max-width: 800px) {
  .capabilities { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 30px; }
  .top { flex-direction: column; }
}
