/* Shared concierge shell. Pages set the theme via :root custom properties:
   --bg --ink --muted --card --line --accent --botbg */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.shell {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 640px;
  max-height: calc(100vh - 64px);
}
header { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }
.status { margin-left: auto; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46,204,113,.18); }
.log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; line-height: 1.45; font-size: 14.5px; white-space: pre-wrap; }
.bot { align-self: flex-start; background: var(--botbg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; color: var(--muted); font-size: 13px; padding: 4px 6px; }
form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: var(--card); }
input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; outline: none; background: #fff; color: #1a1a1a; }
input:focus { border-color: var(--accent); }
button { background: var(--accent); color: #fff; border: 0; border-radius: 12px; padding: 0 18px; font-weight: 600; cursor: pointer; font-size: 14.5px; }
button:disabled { opacity: .5; cursor: not-allowed; }
.topbar { position: fixed; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.topbar a, .tag { color: var(--muted); text-decoration: none; background: var(--card); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; }
.topbar a:hover { border-color: var(--accent); color: var(--accent); }
