/* ==========================================================================
   OAGENTEL — 5-STAR LUXURY HOSPITALITY AGENT CONSOLE STYLES
   ========================================================================== */

:root {
  /* Color Palette — Luxury Hospitality */
  --bg: #07090e;
  --bg-subtle: #0d111a;
  --panel: rgba(18, 24, 38, 0.85);
  --panel-solid: #121826;
  --panel2: rgba(26, 34, 52, 0.75);
  --panel2-solid: #1a2234;
  --panel3: #222c44;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(212, 175, 55, 0.35);

  /* Typography Colors */
  --txt: #f8fafc;
  --txt-muted: #94a3b8;
  --txt-dim: #64748b;

  /* Accent Colors */
  --gold: #d4af37;
  --gold-light: #f3df8a;
  --gold-dark: #9a781b;
  --gold-gradient: linear-gradient(135deg, #f5df8b 0%, #d4af37 50%, #9e7a20 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);

  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.22);
  --red: #f43f5e;
  --orange: #f59e0b;
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.22);
  --purple: #8b5cf6;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);

  /* Radius */
  --rad-sm: 6px;
  --rad-md: 10px;
  --rad-lg: 16px;
  --rad-full: 9999px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  height: 100%;
  overscroll-behavior: none;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(212, 175, 55, 0.08) 0%, transparent 70%),
    radial-gradient(circle at 10% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* ==========================================================================
   GATE (VIP Keycard Login Desk)
   ========================================================================== */
.gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #141b2b 0%, #07090e 75%);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 20px;
}

.gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.gate-card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-gold);
  border-radius: var(--rad-lg);
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.15);
  animation: gateFadeIn 0.5s ease-out;
}

@keyframes gateFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gate-lang {
  position: absolute;
  top: 14px;
  right: 14px;
}

.gate-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  position: relative;
}

.gate-logo img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.gate h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(180deg, #fff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gate p {
  margin: 0 0 24px;
  color: var(--txt-muted);
  font-size: 13px;
  line-height: 1.5;
}

.gate input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--rad-md);
  border: 1px solid var(--line);
  background: var(--panel2-solid);
  color: var(--txt);
  font-size: 15px;
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s ease;
}

.gate input:focus {
  outline: 0;
  border-color: var(--gold);
  background: #1e283d;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.gate button {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--rad-md);
  border: 0;
  background: var(--gold-gradient);
  color: #0c0e14;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.gate button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.gate button:active {
  transform: translateY(0);
}

.gate-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 12px;
  background: rgba(244, 63, 94, 0.1);
  padding: 8px 12px;
  border-radius: var(--rad-sm);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.gate-back {
  display: inline-block;
  margin-top: 22px;
  color: var(--txt-muted);
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.gate-back:hover {
  color: var(--gold);
}

/* ==========================================================================
   CONSOLE MAIN LAYOUT
   ========================================================================== */
.console {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Top Console Bar */
.console-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 28px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.cb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cb-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.cb-logo img {
  width: 22px;
  height: 22px;
}

.cb-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--rad-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.cb-sub {
  color: var(--txt-muted);
  font-size: 11px;
  margin-top: 1px;
}

.cb-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cb-btn {
  background: var(--panel2);
  color: var(--txt-muted);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--rad-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cb-btn:hover {
  color: var(--red);
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

/* ==========================================================================
   NAVIGATION TABS (Hotel Context Switcher)
   ========================================================================== */
.tabs {
  display: flex;
  gap: 4px;
  padding: 8px 24px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  background: transparent;
  color: var(--txt-muted);
  border: 1px solid transparent;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--rad-md);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tab:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.04);
}

.tab.active {
  color: #fff;
  background: var(--panel2);
  border-color: var(--line-gold);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tab-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px currentColor;
}

.tab-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--rad-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt-muted);
}

.tab.active .tab-badge {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-light);
}

/* ==========================================================================
   PANES & CHAT AREA
   ========================================================================== */
.panes {
  flex: 1;
  min-height: 0;
  padding: 18px 28px 24px;
  display: flex;
  flex-direction: column;
}

.pane {
  display: none;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pane.active {
  display: flex;
}

/* Pane Header */
.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: rgba(18, 24, 38, 0.95);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.ctx-hotel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctx-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.ctx-hotel b {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.ctx-hotel small {
  color: var(--txt-muted);
  font-size: 11px;
}

.ctx-role {
  font-size: 11px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line-gold);
  border-radius: var(--rad-full);
  font-weight: 700;
}

/* Messages Area */
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(10, 13, 20, 0.4);
}

.messages::-webkit-scrollbar {
  width: 6px;
}

.messages::-webkit-scrollbar-track {
  background: transparent;
}

.messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Empty State / Welcome Persona */
.empty-state {
  margin: auto;
  color: var(--txt-muted);
  font-size: 13px;
  text-align: center;
  padding: 36px 20px;
  max-width: 480px;
  background: rgba(26, 34, 52, 0.4);
  border: 1px dashed var(--line);
  border-radius: var(--rad-lg);
}

.empty-state .welcome-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.empty-state h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--txt);
  font-weight: 700;
}

.empty-state p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
}

/* Quick Prompt Suggestions */
.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.qp-btn {
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--txt);
  padding: 7px 12px;
  border-radius: var(--rad-full);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qp-btn:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   MESSAGE BUBBLES
   ========================================================================== */
.msg {
  display: flex;
  gap: 12px;
  max-width: 82%;
  animation: msgIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-av {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  user-select: none;
  flex-shrink: 0;
}

.msg.user .msg-av {
  background: var(--gold-gradient);
  color: #090c12;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.msg.bot .msg-av {
  background: linear-gradient(135deg, #242c40 0%, #151b2a 100%);
  color: var(--gold);
  border: 1px solid var(--line-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.msg-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.msg.user .msg-body {
  align-items: flex-end;
}

.bubble {
  padding: 12px 16px;
  border-radius: var(--rad-lg);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
}

.msg.user .bubble {
  background: var(--gold-gradient);
  color: #0b0e14;
  border-bottom-right-radius: 4px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.22);
}

.msg.bot .bubble {
  background: var(--panel2-solid);
  color: var(--txt);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.msg.bot.error .bubble {
  border-color: var(--red);
  background: rgba(244, 63, 94, 0.1);
  color: #fecdd3;
}

.msg-meta {
  font-size: 10px;
  color: var(--txt-dim);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 4px;
}

/* Tool Execution Chips (Operational Actions) */
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: var(--rad-full);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tool-chip::before {
  content: '⚙️';
  font-size: 9px;
}

/* Typing Indicator */
.bubble.typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}

.bubble.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: typingBounce 1.2s infinite ease-in-out;
}

.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ==========================================================================
   ENRICHED CHIPS & PAYMENT BUTTON
   ========================================================================== */

/* Payment link button (auto-rendered in bot bubbles) */
.pay-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: var(--rad-md);
  background: var(--gold-gradient);
  color: #0b0e14;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.pay-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.5);
}

/* Quick-pick chips (date + package) */
.qp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin: 6px 6px 0 0;
  border-radius: 20px;
  background: rgba(26, 34, 52, 0.85);
  border: 1px solid var(--line-gold);
  color: var(--txt);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.qp-chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

.qp-chip b {
  color: var(--gold-light);
}

.qp-chip span {
  color: var(--txt-muted);
  font-weight: 500;
  font-size: 11px;
}

.qp-chip small {
  display: block;
  width: 100%;
  color: var(--txt-dim);
  font-size: 10px;
  margin-top: 2px;
  font-weight: 400;
}

.qp-pkg {
  background: rgba(36, 28, 54, 0.7);
  border-color: rgba(139, 92, 246, 0.4);
}

.qp-pkg b {
  color: #c4b5fd;
}

.qp-pkg:hover {
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
}

/* Captured guest badge in pane header */
.guest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--rad-full);
  margin-right: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  animation: gbIn 0.4s ease-out;
}

@keyframes gbIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.guest-badge .gb-icon {
  font-size: 12px;
}

.guest-badge b {
  color: var(--txt);
  font-weight: 700;
}

.guest-badge small {
  color: var(--txt-muted);
  font-family: ui-monospace, monospace;
  font-size: 10px;
}

/* ==========================================================================
   COMPOSER (Floating Input Dock)
   ========================================================================== */
.composer {
  display: flex;
  gap: 10px;
  padding: 16px 22px;
  background: rgba(18, 24, 38, 0.95);
  border-top: 1px solid var(--line);
  align-items: center;
  flex-shrink: 0;
}

.composer input {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--rad-md);
  border: 1px solid var(--line);
  background: var(--panel2-solid);
  color: var(--txt);
  font-size: 14px;
  transition: all 0.2s ease;
}

.composer input:focus {
  outline: 0;
  border-color: var(--gold);
  background: #1e283d;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.composer input::placeholder {
  color: var(--txt-dim);
}

.send-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  color: #0b0e14;
  border: 0;
  border-radius: var(--rad-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.send-btn:active {
  transform: scale(0.96);
}

.send-btn.ready {
  animation: btnPulse 1.8s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
}

.composer button.reset {
  background: transparent;
  color: var(--txt-muted);
  border: 1px solid var(--line);
  padding: 0 14px;
  height: 44px;
  border-radius: var(--rad-md);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.composer button.reset:hover {
  color: var(--red);
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.08);
}

/* Language Switcher */
.oa-lang-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.2);
  padding: 3px;
  border-radius: var(--rad-sm);
  border: 1px solid var(--line);
}

.oa-lang-btn {
  background: transparent;
  color: var(--txt-muted);
  border: 0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.15s;
}

.oa-lang-btn:hover {
  color: var(--txt);
}

.oa-lang-btn.active {
  color: #0b0e14;
  background: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   PROFILE MODAL (Guest Registration)
   ========================================================================== */
.profile-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 20px;
}

.profile-card {
  background: var(--panel-solid);
  border: 1px solid var(--line-gold);
  border-radius: var(--rad-lg);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  animation: gateFadeIn 0.35s ease-out;
}

.profile-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.profile-card h2 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--txt);
  font-weight: 700;
}

.profile-card p {
  margin: 0 0 20px;
  color: var(--txt-muted);
  font-size: 13px;
  line-height: 1.5;
}

.pf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.profile-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

.profile-card label span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--txt-muted);
}

.profile-card input[type="text"],
.profile-card input[type="tel"],
.profile-card input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--rad-md);
  border: 1px solid var(--line);
  background: var(--panel2-solid);
  color: var(--txt);
  font-size: 13.5px;
}

.profile-card input:focus {
  outline: 0;
  border-color: var(--gold);
}

.pf-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 12px;
  cursor: pointer;
  margin-top: 6px;
}

.pf-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}

.pf-check a {
  color: var(--gold);
  text-decoration: none;
}

.pf-check a:hover {
  text-decoration: underline;
}

.pf-err {
  color: var(--red);
  font-size: 12px;
  margin: 8px 0;
  background: rgba(244, 63, 94, 0.1);
  padding: 8px 12px;
  border-radius: var(--rad-sm);
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.pf-actions {
  margin-top: 20px;
}

.pf-submit {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--rad-md);
  border: 0;
  background: var(--gold-gradient);
  color: #0b0e14;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.pf-submit:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
  .console-bar {
    padding: 10px 16px;
  }
  .tabs {
    padding: 6px 12px;
  }
  .panes {
    padding: 12px;
  }
  .msg {
    max-width: 94%;
  }
  .ctx-role {
    display: none;
  }
  .guest-badge small {
    display: none;
  }
  .qp-chip {
    padding: 6px 10px;
    font-size: 11px;
  }
  .composer {
    position: sticky;
    bottom: 0;
    padding: 10px 12px;
  }
  .pane-header {
    padding: 10px 14px;
  }
}
