:root {
  --navy: #04151c;
  --navy-2: #0a2a34;
  --ink: #0d2933;
  --muted: #5a7179;
  --paper: #eef3f1;
  --white: #fff;
  --mint: #a8f0d4;
  --mint-soft: #e7f8f1;
  --green: #0c9a72;
  --green-dark: #067a59;
  --line: rgba(13, 41, 51, 0.1);
  --amber: #c47b16;
  --danger: #b42318;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 1rem;
  --shadow: 0 16px 40px rgba(4, 21, 28, 0.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 15.5px/1.5 var(--body);
  color: var(--ink);
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(12, 154, 114, 0.08), transparent 55%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #ffcb6b; outline-offset: 2px; }

#app { min-height: 100vh; }

/* Auth */
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(168, 240, 212, 0.4), transparent 50%),
    linear-gradient(160deg, #04151c 0%, #0a2a34 42%, #0d4a3c 100%);
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 800 1.1rem var(--display);
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.auth-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mint), transparent 70%);
}
.auth-card h1 {
  margin: 0 0 0.4rem;
  font: 800 1.65rem/1.15 var(--display);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.auth-card .lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.auth-card label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
}
.auth-card input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fbfcfa;
}
.auth-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.auth-error {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}
.auth-hint {
  margin: 1rem 0 0;
  padding: 0.85rem 0.9rem;
  background: var(--mint-soft);
  border-radius: 0.85rem;
  font-size: 0.85rem;
  color: var(--ink);
}
.auth-hint code {
  font-size: 0.82rem;
  background: rgba(255,255,255,0.7);
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
}
.auth-switch {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.auth-switch button {
  border: 0;
  background: none;
  color: var(--green-dark);
  font-weight: 750;
  padding: 0;
}

/* Shell — ops command layout (not the marketing mc-shell clone) */
.app-shell {
  display: grid;
  grid-template-columns: 272px 1fr;
  min-height: 100vh;
}
.mission-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2.25rem) 3rem;
  display: grid;
  gap: 1.25rem;
}
.mission-content > .lead { margin: -0.85rem 0 0; color: var(--muted); }
.content .mission-content {
  width: min(1180px, 100%);
  margin: 0;
  padding: 0;
}
.operator-intro { max-width: 760px; }
.operator-intro h2 { margin: 0.15rem 0 0.4rem; font: 800 1.55rem/1.2 var(--display); letter-spacing: -0.04em; }
.operator-intro p:last-child { margin: 0; color: var(--muted); }
.operator-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.5fr); gap: 1rem; align-items: start; }
.operator-card { display: grid; gap: 0.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 8px 24px rgba(4,21,28,.04); }
.operator-card-wide { grid-row: span 2; }
.operator-card h2 { margin: -0.35rem 0 0; font: 800 1.18rem var(--display); letter-spacing: -0.03em; }
.operator-card > p:not(.eyebrow) { margin: -0.25rem 0 0.25rem; color: var(--muted); font-size: .9rem; }
.operator-card label { display: grid; gap: .35rem; color: var(--ink); font-size: .86rem; font-weight: 700; }
.operator-card input, .operator-card select { width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: .65rem; background: #fbfcfa; }
#result { color: var(--green-dark); font-weight: 700; }
.sidebar {
  background: linear-gradient(180deg, #031018 0%, #0a2430 100%);
  color: #fff;
  padding: 1.15rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid rgba(168, 240, 212, 0.08);
}
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 800 1rem var(--display);
  letter-spacing: -0.03em;
  padding: 0.25rem 0.35rem;
}
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0.35rem 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(12, 154, 114, 0.18);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 750;
  width: fit-content;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.ws-label {
  margin: 0;
  padding: 0 0.35rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
}
.ws-name {
  margin: -0.2rem 0 0.5rem;
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  font-weight: 650;
}
.nav-btn:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-btn.is-active {
  background: rgba(168, 240, 212, 0.16);
  color: var(--mint);
}
.nav-badge {
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}
.sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sidebar-foot .muted {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  padding: 0 0.35rem;
}
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.35rem;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.topbar h1 {
  margin: 0;
  font: 800 1.25rem/1.2 var(--display);
  letter-spacing: -0.03em;
  color: var(--navy);
}
.topbar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.content {
  padding: 1.25rem 1.35rem 2.5rem;
  display: grid;
  gap: 1.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  font-weight: 750;
}
.btn:hover { background: var(--green-dark); }
.btn.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover { border-color: var(--green); color: var(--green-dark); }
.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.btn.danger { background: var(--danger); }
.btn.small { min-height: 36px; padding: 0.4rem 0.85rem; font-size: 0.88rem; }
.btn.linkish {
  background: none;
  border: 0;
  color: var(--green-dark);
  font-weight: 750;
  min-height: auto;
  padding: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 24px rgba(4, 21, 28, 0.04);
}
.card h2, .card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  letter-spacing: -0.03em;
  color: var(--navy);
}
.card h2 { font-size: 1.2rem; }
.card h3 { font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.metric-num {
  font: 800 clamp(1.7rem, 3.5vw, 2.2rem)/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--navy);
  margin: 0.35rem 0;
}
.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
}
.pill.warn { background: #fff4e5; color: var(--amber); }
.pill.ok { background: var(--mint-soft); color: var(--green-dark); }
.pill.stage2 { background: #e8f0ff; color: #1d4f91; }

.stat-card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(4, 21, 28, 0.04);
}
.stat-card .metric-num { margin: 0 0 0.25rem; }
.stat-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.stat-cta {
  display: inline-block;
  margin-top: 0.65rem;
  color: var(--green-dark);
  font-weight: 750;
  font-size: 0.82rem;
}
.stat-card:hover { border-color: rgba(12, 154, 114, 0.45); }

.stage-rail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stage-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}
.stage-step.is-on { color: var(--navy); }
.stage-dot {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e7eef0;
  font-size: 0.72rem;
  font-weight: 800;
}
.stage-step.is-on .stage-dot {
  background: var(--green);
  color: #fff;
}
.stage-line {
  width: 1.25rem;
  height: 2px;
  background: #d5e0e3;
}
.stage-line.is-on { background: var(--green); }

.spark {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 64px;
  margin-top: 0.85rem;
}
.spark-bar {
  flex: 1;
  border-radius: 0.35rem 0.35rem 0.15rem 0.15rem;
  background: linear-gradient(180deg, #12b888, #0c9a72);
  min-width: 0;
  opacity: 0.85;
}
.muted-tight {
  margin-top: 0.45rem !important;
  font-size: 0.78rem !important;
}

.queue-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.queue-row:last-of-type { border-bottom: 0; }
.queue-row strong { display: block; color: var(--navy); font-size: 0.92rem; }
.queue-row span { color: var(--muted); font-size: 0.8rem; }

.owner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.owner-cell {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #f7faf9;
  border: 1px solid var(--line);
}
.owner-cell span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.owner-cell strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--navy);
}

.usage-track {
  height: 10px;
  border-radius: 999px;
  background: #e7eef0;
  overflow: hidden;
  margin: 0.75rem 0 0.35rem;
}
.usage-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #12b888);
  border-radius: 999px;
}
.usage-fill.warn { background: linear-gradient(90deg, #d97706, #f59e0b); }
.usage-fill.hot { background: linear-gradient(90deg, #b42318, #f04438); }

.check-list { display: grid; gap: 0.55rem; margin-top: 0.75rem; }
.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #fbfcfa;
}
.check-row input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; }
.check-row strong { display: block; color: var(--navy); font-size: 0.95rem; }
.check-row span { color: var(--muted); font-size: 0.85rem; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
}
.tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.approval {
  display: grid;
  gap: 0.75rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(4, 21, 28, 0.04);
}
.approval-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}
.approval textarea, .stack-form textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  resize: vertical;
}
.approval-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kicker { color: var(--muted); font-size: 0.82rem; font-weight: 650; margin: 0; }
.sla-line {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--green-dark);
}
.sla-line.hot { color: var(--danger); }
.risk {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.risk-external_send { background: #fff4e5; color: #9a5b10; }
.risk-confirm_booking { background: #e8f0ff; color: #1d4f91; }
.risk-escalate { background: #fde8e6; color: #912018; }
.draft-readonly {
  margin: 0;
  padding: 0.85rem;
  background: #f7faf9;
  border-radius: 0.75rem;
  white-space: pre-wrap;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
}

.audit-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.audit-row:last-child { border-bottom: 0; }
.audit-row strong { color: var(--navy); font-size: 0.82rem; }
.audit-row span { color: var(--ink); }
.kind-pill {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  background: #eef3f1;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-card { display: grid; gap: 0.75rem; }
.agent-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}
.agent-head h3 { margin: 0 0 0.25rem; }
.agent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.tool-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tool-chip {
  padding: 0.25rem 0.55rem;
  border-radius: 0.45rem;
  background: #f0f6f4;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.inline-form, .stack-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.inline-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}
.inline-form label, .stack-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.85rem;
}
.inline-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}
.usage-admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.usage-admin-form input {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

.empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.empty.soft {
  border-style: solid;
  background: #f7faf9;
  text-align: left;
}

.banner {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: var(--mint-soft);
  border: 1px solid rgba(12, 154, 114, 0.2);
  color: var(--ink);
  font-size: 0.92rem;
}
.banner.warn {
  background: #fff4e5;
  border-color: rgba(196, 123, 22, 0.25);
}

.menu-toggle-app {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 40;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  .sidebar.open { transform: none; }
  .sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 21, 28, 0.45);
    z-index: 35;
  }
  .sidebar-backdrop.show { display: block; }
  .menu-toggle-app { display: inline-flex; }
  .grid-2, .grid-3, .owner-grid { grid-template-columns: 1fr; }
  .inline-form, .usage-admin-form { grid-template-columns: 1fr; }
  .content { padding: 1rem 1rem 2rem; }
  .audit-row { grid-template-columns: 1fr; gap: 0.25rem; }
}
@media (max-width: 1050px) {
  .operator-grid { grid-template-columns: 1fr; }
  .operator-card-wide { grid-row: auto; }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* Product polish — onboarding, alerts, exceptions */
.onboard {
  background: linear-gradient(135deg, #04151c, #0a2a34 55%, #0d4a3c);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.onboard .eyebrow { color: var(--mint); }
.onboard h2 {
  margin: 0 0 0.75rem;
  font: 800 1.35rem/1.2 var(--display);
  letter-spacing: -0.03em;
  color: #fff;
}
.onboard-steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: rgba(255,255,255,0.86);
  display: grid;
  gap: 0.45rem;
}
.onboard .btn.secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.bell-btn { position: relative; }
.bell-btn .nav-badge {
  margin-left: 0.35rem;
}

.notif-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow);
}
.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.notif-head h3 { margin: 0; font-family: var(--display); color: var(--navy); }
.notif-row {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 0.75rem 0.35rem;
}
.notif-row.is-unread { background: #f3fbf7; border-radius: 0.5rem; padding-left: 0.55rem; }
.notif-row strong { color: var(--navy); font-size: 0.92rem; }
.notif-row span { color: var(--muted); font-size: 0.85rem; }
.notif-row em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}
.inline-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
}

/* First-time guide + tooltips */
.tour-card {
  position: relative;
  z-index: 5;
}
.tour-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tour-progress {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--mint);
}
.tour-body {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.88);
  max-width: 52rem;
}
.tour-dots {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.tour-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.tour-dot.is-on { background: var(--mint); }

.heading-tip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.heading-tip h2,
.heading-tip h3,
.view-title {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.03em;
  color: var(--navy);
}
.heading-tip h2,
.view-title { font-size: 1.25rem; font-weight: 800; }
.heading-tip h3 { font-size: 1.05rem; font-weight: 800; }

.tip { position: relative; display: inline-flex; }
.tip-btn {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
}
.tip-btn:hover { border-color: var(--green); }
.tip-bubble {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  width: min(280px, 70vw);
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: #04151c;
  color: #fff;
  box-shadow: var(--shadow);
}
.tip-bubble strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--mint);
  font-size: 0.8rem;
}
.tip-bubble span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
}
.tip.is-open .tip-bubble { display: block; }

/* Card Form Controls & Inputs */
.card form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}
.card input[type="text"],
.card input[type="email"],
.card input[type="password"],
.card input[type="url"],
.card textarea,
.card select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fbfcfa;
  color: var(--navy);
  font: 14.5px/1.5 var(--body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card input:focus,
.card textarea:focus,
.card select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 154, 114, 0.15);
  background: #fff;
}
.card textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

/* Tooltip & Guidance System */
.info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: help;
  vertical-align: middle;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  user-select: none;
}
.info-tip:hover, .info-tip:focus-visible {
  background: var(--green);
  color: #fff;
  transform: scale(1.1);
  outline: none;
}
.info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 260px;
  padding: 0.5rem 0.75rem;
  background: #04151c;
  color: #fff;
  font: 500 0.8rem/1.35 var(--body);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(4, 21, 28, 0.25);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
  white-space: normal;
  text-align: left;
}
.info-tip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #04151c transparent transparent transparent;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 999;
}
.info-tip:hover::after, .info-tip:focus-visible::after,
.info-tip:hover::before, .info-tip:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Guidance Callout Banners */
.guide-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(12, 154, 114, 0.22);
  border-left: 4px solid var(--green);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(4, 21, 28, 0.03);
}
.guide-callout-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.guide-callout-body {
  flex: 1;
}
.guide-callout-body strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
  font-weight: 750;
}
.guide-callout-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Guide Button in Navigation */
.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--green-dark);
  font: 700 0.82rem/1 var(--body);
  border: 1px solid rgba(12, 154, 114, 0.25);
  cursor: pointer;
  transition: all 0.15s ease;
}
.guide-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Interactive Product Guide Modal */
.guide-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 21, 28, 0.65);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.guide-modal {
  width: min(860px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(4, 21, 28, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.guide-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--line);
  background: #fbfcfa;
}
.guide-modal-header h2 {
  margin: 0;
  font: 800 1.35rem/1.2 var(--display);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.guide-modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.guide-modal-close:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.guide-modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  display: grid;
  gap: 1.5rem;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.guide-card {
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover {
  border-color: rgba(12, 154, 114, 0.4);
  box-shadow: 0 6px 16px rgba(4, 21, 28, 0.04);
}
.guide-card-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.guide-card h3 {
  margin: 0.2rem 0 0;
  font: 750 0.98rem/1.2 var(--body);
  color: var(--navy);
}
.guide-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}
.guide-modal-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--line);
  background: #fbfcfa;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.guide-modal-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Demo access & persona selection styles */
.auth-card-demo {
  width: min(540px, 100%);
}
.demo-login-box {
  background: linear-gradient(135deg, rgba(168, 240, 212, 0.15) 0%, rgba(12, 154, 114, 0.08) 100%);
  border: 1px solid rgba(12, 154, 114, 0.35);
  border-radius: 0.85rem;
  padding: 1.15rem;
  margin: 1.25rem 0 1rem;
}
.demo-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font: 800 0.72rem var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.demo-login-box h3 {
  margin: 0.2rem 0 0.4rem;
  font: 750 1.05rem/1.25 var(--display);
  color: var(--navy);
}
.demo-lead {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #2b4852;
}

/* Persona Selector Grid */
.persona-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (max-width: 520px) {
  .persona-selector-grid {
    grid-template-columns: 1fr;
  }
}
.persona-card {
  background: #ffffff;
  border: 1.5px solid rgba(12, 154, 114, 0.25);
  border-radius: 0.75rem;
  padding: 0.85rem 0.85rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  user-select: none;
}
.persona-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 154, 114, 0.16);
}
.persona-card.is-selected {
  border-color: var(--green);
  border-width: 2px;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(12, 154, 114, 0.18), 0 6px 18px rgba(12, 154, 114, 0.15);
}
.persona-card.is-selected::after {
  content: "✓ SELECTED";
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--green);
  color: #fff;
  font: 800 0.62rem var(--body);
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.persona-card-header {
  margin-bottom: 0.45rem;
}
.persona-role-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font: 750 0.7rem/1.2 var(--body);
  letter-spacing: 0.02em;
}
.badge-owner {
  background: #e6f9f2;
  color: #0c9a72;
}
.badge-approver {
  background: #eaf4fd;
  color: #1868b7;
}
.persona-card-name {
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.persona-title {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.persona-card-desc {
  font-size: 0.77rem;
  line-height: 1.35;
  color: #3f5d68;
  margin: 0;
  flex: 1;
}
.persona-card-action {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
}
.persona-card.is-selected .persona-card-action {
  color: var(--navy);
}

/* Auto-fill notification & flash */
.persona-filled-notice {
  background: rgba(12, 154, 114, 0.12);
  border: 1px solid rgba(12, 154, 114, 0.3);
  border-radius: 0.5rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}
.persona-filled-notice .status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
}
@keyframes inputFlash {
  0% { background-color: #d1fae5; box-shadow: 0 0 0 2px var(--green); }
  50% { background-color: #e6f9f2; }
  100% { background-color: #fff; }
}
.field-filled-flash {
  animation: inputFlash 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.login-submit-btn {
  width: 100%;
  font-weight: 750;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  background: var(--green) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(12, 154, 114, 0.25);
  margin-top: 0.5rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.login-submit-btn:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 1rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--line);
}
.auth-divider span {
  padding: 0 0.75rem;
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Interactive Demo Top Banner & Guided Tour */
.demo-interactive-wrapper {
  background: #04151c;
  border-bottom: 2px solid var(--mint);
  position: relative;
  z-index: 20;
}
.demo-interactive-bar {
  background: linear-gradient(90deg, #04151c 0%, #0d2933 100%);
  color: #fff;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-interactive-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.demo-chip {
  background: var(--mint);
  color: var(--navy);
  font: 800 0.7rem var(--body);
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.demo-interactive-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.demo-reset-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.demo-reset-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}
.demo-switch-btn {
  background: var(--mint) !important;
  color: var(--navy) !important;
  font-weight: 750 !important;
  border: none !important;
}
.demo-switch-btn:hover {
  background: #fff !important;
}
.demo-collapse-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 0.78rem !important;
}
.demo-collapse-btn:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

/* Tour Panel */
.demo-tour-panel {
  padding: 1rem 1.25rem 1.25rem;
  background: radial-gradient(80% 60% at 50% 0%, rgba(12, 154, 114, 0.15), transparent 70%), #051a22;
  display: grid;
  gap: 1rem;
}
.demo-tour-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}
.demo-tour-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.demo-tour-step-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(168, 240, 212, 0.4);
}
.demo-tour-step-pill.is-active {
  background: rgba(12, 154, 114, 0.35);
  border-color: var(--mint);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 240, 212, 0.25);
}
.demo-tour-step-pill.is-passed {
  border-color: rgba(12, 154, 114, 0.4);
  color: rgba(255, 255, 255, 0.85);
}
.demo-tour-step-pill .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}
.demo-tour-step-pill.is-active .step-num {
  background: var(--mint);
  color: var(--navy);
}
.demo-tour-step-pill.is-passed .step-num {
  background: var(--green);
  color: #fff;
}

/* Tour Card */
.demo-tour-card {
  background: rgba(10, 42, 52, 0.7);
  border: 1px solid rgba(168, 240, 212, 0.25);
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}
.demo-tour-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.demo-tour-badge {
  background: var(--mint);
  color: var(--navy);
  font: 800 0.72rem var(--body);
  letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.demo-tour-persona-hint {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 500;
}
.demo-tour-card-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}
.demo-tour-card-title .title-icon {
  font-size: 1.35rem;
  line-height: 1;
}
.demo-tour-card-title h3 {
  margin: 0;
  color: #fff;
  font: 800 1.15rem/1.25 var(--display);
  letter-spacing: -0.02em;
}
.demo-tour-card-desc {
  margin: 0 0 0.75rem;
  color: #d1dce0;
  font-size: 0.9rem;
  line-height: 1.5;
}
.demo-tour-tip-box {
  background: rgba(12, 154, 114, 0.15);
  border-left: 3px solid var(--mint);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.5rem 0.75rem;
  color: #bbf7d0;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.demo-tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-tour-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.demo-jump-btn {
  background: var(--mint) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(168, 240, 212, 0.25);
  padding: 0.45rem 0.9rem !important;
}
.demo-jump-btn:hover {
  background: #fff !important;
  transform: translateY(-1px);
}
.demo-nav-btn {
  font-size: 0.82rem !important;
  padding: 0.45rem 0.75rem !important;
}
.demo-nav-btn.is-primary {
  background: var(--green) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
}
.demo-nav-btn.is-primary:hover {
  background: var(--green-dark) !important;
}
.demo-nav-btn.is-accent {
  background: var(--amber) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 750 !important;
}
.demo-nav-btn.is-accent:hover {
  background: #a3620f !important;
}
.demo-tour-step-indicator {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Collapsed Tour Bar */
.demo-tour-collapsed-bar {
  background: #061c24;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.84rem;
  flex-wrap: wrap;
}
.demo-tour-collapsed-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-tour-collapsed-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* In-Tab Mission Banner */
.demo-tab-mission-banner {
  background: linear-gradient(135deg, #07222c 0%, #0c3e34 100%);
  border: 1.5px solid var(--mint);
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  animation: bannerGlow 3s infinite alternate ease-in-out;
}
@keyframes bannerGlow {
  0% { box-shadow: 0 6px 20px rgba(12, 154, 114, 0.15); }
  100% { box-shadow: 0 6px 24px rgba(168, 240, 212, 0.3); }
}
.demo-mission-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.demo-mission-body {
  flex: 1;
  min-width: 0;
}
.demo-mission-title {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: #fff;
}
.demo-mission-title strong {
  color: var(--mint);
}
.demo-mission-text {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.45;
}
.demo-mission-tip {
  font-size: 0.8rem;
  color: #a7f3d0;
  background: rgba(168, 240, 212, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  display: inline-block;
}
.demo-mission-actions {
  flex-shrink: 0;
  align-self: center;
}
.demo-mission-btn {
  background: var(--mint) !important;
  color: var(--navy) !important;
  font-weight: 750 !important;
  border: none !important;
  white-space: nowrap;
}
.demo-mission-btn:hover {
  background: #fff !important;
}

@media (max-width: 768px) {
  .demo-tour-card-header,
  .demo-tour-card-footer,
  .demo-tab-mission-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .demo-mission-actions {
    align-self: flex-start;
    margin-top: 0.5rem;
  }
}


