/* SalesCore CRM — Iris Orbit (all-services) */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #e8eaf6;
  --bg-2: #d9dcf0;
  --paper: #fbfbff;
  --paper-2: #f0f2fb;
  --ink: #0f1224;
  --ink-soft: #5c6280;
  --line: rgba(15, 18, 36, 0.1);
  --line-strong: rgba(15, 18, 36, 0.18);
  --ember: #5347e8;
  --ember-2: #3d33c7;
  --ember-soft: rgba(83, 71, 232, 0.14);
  --gold: #00c9b1;
  --gold-soft: rgba(0, 201, 177, 0.18);
  --signal: #ff3d8a;
  --forest: #0ea472;
  --forest-soft: rgba(14, 164, 114, 0.12);
  --navy: #3b82f6;
  --navy-soft: rgba(59, 130, 246, 0.12);
  --danger: #e11d48;
  --danger-soft: rgba(225, 29, 72, 0.12);
  --ok: #0ea472;
  --warn: #d97706;
  --info: #3b82f6;
  --walnut: #0b1024;
  --walnut-2: #151a33;
  --cream: #d9dcf0;
  --sidebar: 268px;
  --top: 72px;
  --dock: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(11, 16, 36, 0.14);
  --shadow-sm: 0 10px 24px rgba(11, 16, 36, 0.08);
  --font: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #080b16;
  --bg-2: #10152a;
  --paper: #12182c;
  --paper-2: #1a2140;
  --ink: #eef0ff;
  --ink-soft: #9aa3c7;
  --line: rgba(238, 240, 255, 0.1);
  --line-strong: rgba(238, 240, 255, 0.18);
  --ember: #8b82ff;
  --ember-2: #6d63f2;
  --ember-soft: rgba(139, 130, 255, 0.18);
  --gold: #2ee6d0;
  --gold-soft: rgba(46, 230, 208, 0.16);
  --signal: #ff5ca0;
  --forest: #34d399;
  --forest-soft: rgba(52, 211, 153, 0.14);
  --navy: #60a5fa;
  --walnut: #060814;
  --walnut-2: #0d1224;
  --cream: #1a2140;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  --danger: #fb7185;
  --ok: #34d399;
  --warn: #fbbf24;
  --info: #60a5fa;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15.5px;
  overflow-x: hidden;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(83, 71, 232, 0.16), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(255, 61, 138, 0.1), transparent 38%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}
p { margin: 0; }

.ec-skip { position: absolute; left: -999px; top: 8px; }
.ec-skip:focus { left: 8px; z-index: 80; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
.ec-ico { width: 18px; height: 18px; flex: 0 0 auto; }
.ec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--signal);
}
.ec-kicker::before {
  content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 2px;
  box-shadow: 4px 0 0 var(--ember);
}

.ec-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; background: var(--ember); color: #fbfbff; font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(83, 71, 232, 0.32);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.ec-btn:hover { background: var(--ember-2); transform: translateY(-2px); }
.ec-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ec-btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none;
}
.ec-btn--ghost:hover { background: var(--paper); }
.ec-btn--gold { background: var(--gold); color: #0b1024; box-shadow: 0 12px 28px rgba(0, 201, 177, 0.28); }
.ec-btn--dark { background: var(--walnut); color: #eef0ff; }
.ec-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; box-shadow: none; }
.ec-btn--block { width: 100%; }
.ec-icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.ec-icon-btn:hover { border-color: var(--gold); }

.ec-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; background: var(--bg-2); color: var(--ink-soft);
}
.ec-badge--ok { background: var(--forest-soft); color: var(--ok); }
.ec-badge--warn { background: var(--gold-soft); color: var(--warn); }
.ec-badge--danger { background: var(--danger-soft); color: var(--danger); }
.ec-badge--info { background: var(--navy-soft); color: var(--info); }
.ec-badge--ember { background: var(--ember-soft); color: var(--ember); }
.ec-badge--gold { background: var(--gold-soft); color: #0b7a6e; }
.ec-badge--muted { background: var(--bg-2); color: var(--ink-soft); }
.ec-badge--navy { background: var(--navy-soft); color: var(--navy); }
.ec-badge--forest { background: var(--forest-soft); color: var(--forest); }

.pub { position: relative; z-index: 1; }
.pub-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 36px; background: color-mix(in srgb, #0b1024 88%, transparent);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(83, 71, 232, 0.28);
  color: #eef0ff;
  box-shadow: 0 10px 28px rgba(11, 16, 36, 0.22);
}
body.pub:not(.auth-page) > #main { padding-top: 76px; }
body.sc-page:has(.sc-mast) > #main { padding-top: 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 8px 18px rgba(20, 12, 8, 0.22); }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.brand small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.pub-nav .brand small { color: #2ee6d0; }
.pub-links { display: flex; gap: 22px; align-items: center; font-size: 14px; color: rgba(238, 240, 255, 0.72); font-weight: 600; }
.pub-links a:hover { color: #fff; }
.pub-links a[aria-current="page"],
.pub-links a[aria-current="location"],
.pub-links a.is-active {
  color: var(--gold);
}
.pub-nav .ec-icon-btn { background: rgba(251, 251, 255, 0.08); border-color: rgba(238, 240, 255, 0.18); color: #eef0ff; }
.sidebar .brand { color: #eef0ff; }
.pub-menu { display: none; }
body.auth-page .pub-nav,
body.auth-page .pub-foot { display: none; }
body.auth-page main { display: block; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pub-foot {
  padding: 36px 36px 48px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end;
  color: var(--ink-soft); font-size: 13px; background: var(--paper);
}
.pub-foot-legal { text-align: right; }
.sc-credit {
  margin: 8px 0 0;
  font-size: 12px; line-height: 1.55; color: var(--ink-soft);
}
.sc-credit a { font-weight: 700; color: inherit; text-decoration: none; }
.sc-credit a:hover { color: var(--ember); }
.sc-credit span { display: block; }
.sc-login .sc-credit {
  position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 10px;
  text-align: center; color: rgba(238, 240, 255, 0.58); margin: 0;
}
.sc-login .sc-credit a { color: #fff; }
.sc-join-sheet .sc-credit { text-align: center; margin-top: 18px; }
.sc-demo-page .sc-credit { text-align: center; margin-top: 28px; }

.ec-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ec-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.ec-field input, .ec-field select, .ec-field textarea {
  width: 100%; min-height: 50px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: var(--paper); padding: 10px 14px; transition: border-color .2s, box-shadow .2s;
}
.ec-field textarea { min-height: 110px; resize: vertical; }
.ec-field input:focus, .ec-field select:focus, .ec-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--gold) 60%, transparent); border-color: var(--gold);
}
.ec-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ec-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-soft); }

.app {
  position: relative; z-index: 1; min-height: 100vh;
  display: grid; grid-template-columns: var(--sidebar) 1fr;
}
.sidebar {
  background:
    radial-gradient(900px 240px at 0% -10%, rgba(83, 71, 232, 0.28), transparent 50%),
    var(--walnut);
  color: #cdd2f0; min-height: 100vh; position: sticky; top: 0;
  height: 100vh; display: flex; flex-direction: column; padding: 20px 14px 16px;
  overflow: auto; border-right: 1px solid rgba(83, 71, 232, 0.18);
}
.sidebar .brand small { color: #2ee6d0; }
.side-group { margin-top: 18px; }
.side-group h4 {
  font-family: var(--font); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #7a82a8; padding: 0 10px; margin-bottom: 6px; font-weight: 700;
}
.side-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px;
  color: #b8bfd9; font-size: 13.5px; font-weight: 500;
}
.side-link:hover, .side-link.is-on { background: rgba(83, 71, 232, 0.22); color: #fff; }
.side-link.is-on { box-shadow: inset 3px 0 0 var(--signal); }
.side-user {
  margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid rgba(83, 71, 232, 0.18);
  display: flex; gap: 10px; align-items: center;
}
.avatar {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ember); color: #fff; font-weight: 700; font-size: 12px; flex: 0 0 auto;
  background-size: cover; background-position: center;
}
.side-user .who { font-size: 13px; }
.side-user .who span { display: block; color: #9aa3c7; font-size: 11px; }
.sidebar .sc-credit {
  margin: 10px 10px 0;
  font-size: 10px;
  line-height: 1.45;
  color: #7a82a8;
}
.sidebar .sc-credit a { color: #cdd2f0; }
.sidebar .sc-credit a:hover { color: var(--gold); }

.workspace { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 20; min-height: var(--top);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.top-title { flex: 1; min-width: 0; }
.top-title h1 { font-size: 28px; }
.search-btn {
  display: flex; align-items: center; gap: 10px; min-width: min(280px, 36vw);
  height: 42px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); cursor: pointer; font-size: 13px;
}
.search-btn kbd {
  margin-left: auto; font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px;
}
.top-actions { display: flex; align-items: center; gap: 8px; }
.bell { position: relative; }
.bell .dot {
  position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 3px var(--paper);
}
.page { padding: 26px 26px 48px; display: flex; flex-direction: column; gap: 20px; }
.hamburger, .dock { display: none; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.kpi::after {
  content: ""; position: absolute; right: -20px; top: -28px; width: 90px; height: 90px;
  border-radius: 50%; background: radial-gradient(circle, var(--gold-soft), transparent 70%);
}
.kpi::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}
.kpi .lbl { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.kpi .val { font-family: var(--serif); font-size: 36px; margin: 6px 0 4px; }
.ec-delta { font-size: 12px; font-weight: 600; }
.ec-delta--up { color: var(--ok); }
.ec-delta--down { color: var(--danger); }

.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.panel-h {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap;
}
.panel-h h2 { font-size: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.g-8 { grid-column: span 8; }
.g-7 { grid-column: span 7; }
.g-6 { grid-column: span 6; }
.g-5 { grid-column: span 5; }
.g-4 { grid-column: span 4; }
.g-3 { grid-column: span 3; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .pill {
  border: 1px solid var(--line); background: var(--paper-2); border-radius: 999px;
  padding: 7px 12px; font-size: 13px; cursor: pointer; color: var(--ink-soft);
}
.chip.is-on, .pill.is-on { background: var(--walnut); color: #eef0ff; border-color: transparent; }

.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prop-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prop-card:hover img { transform: scale(1.05); }
.prop-media .tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.prop-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.prop-body .addr { color: var(--ink-soft); font-size: 13px; }
.prop-body .price { font-family: var(--serif); font-size: 28px; }
.meta-row { display: flex; gap: 12px; color: var(--ink-soft); font-size: 12px; flex-wrap: wrap; }

.table-wrap { overflow: auto; }
.ec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.ec-table th {
  text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line);
}
.ec-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ec-table tr:hover td { background: color-mix(in srgb, var(--gold) 8%, transparent); }
.who-cell { display: flex; gap: 10px; align-items: center; }
.who-cell b { display: block; font-weight: 600; }
.who-cell span { font-size: 12px; color: var(--ink-soft); }

.kanban { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px; overflow: auto; padding-bottom: 8px; }
.kan-col {
  background: var(--paper-2); border: 1px dashed color-mix(in srgb, var(--gold) 40%, var(--line));
  border-radius: 16px; padding: 10px; min-height: 280px;
}
.kan-col h3 { font-family: var(--font); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.deal {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  margin-bottom: 8px; cursor: grab; box-shadow: var(--shadow-sm);
}
.deal .amt { font-family: var(--serif); font-size: 22px; }
.deal-photo { width: 100%; height: 88px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }

.feed { display: flex; flex-direction: column; gap: 12px; }
.feed-item { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: start; }
.feed-item p { font-size: 13px; }
.feed-item .when { font-size: 11px; color: var(--ink-soft); }
.progress { height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--gold)); }
.notice { font-size: 13px; color: var(--ink-soft); }
.chart-box { position: relative; height: 240px; }
.usage { display: grid; gap: 10px; }
.usage-row { display: grid; grid-template-columns: 90px 1fr 48px; gap: 8px; align-items: center; font-size: 13px; }
.leader { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.bar { flex: 1; height: 6px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--gold); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; }

.overlay {
  position: fixed; inset: 0; background: rgba(11, 16, 36, 0.5); z-index: 50;
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
}
.overlay.is-open { display: flex; }
.palette {
  width: min(640px, 100%); background: var(--paper); border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden;
}
.palette input {
  width: 100%; border: 0; background: transparent; padding: 16px 18px; font-size: 16px; outline: none;
  border-bottom: 1px solid var(--line);
}
.palette a {
  display: flex; width: 100%; text-align: left; gap: 10px; padding: 12px 18px; color: inherit;
}
.palette a:hover { background: var(--paper-2); }
.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; min-width: 260px;
  background: var(--walnut); color: #eef0ff; padding: 14px 16px; border-radius: 14px;
  box-shadow: var(--shadow); display: none;
}
.toast.is-on { display: block; }
.flash { border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.flash-ok { background: var(--forest-soft); }
.flash-danger { background: var(--danger-soft); }
.flash-warn { background: var(--gold-soft); }

.drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--paper); border-radius: 24px 24px 0 0; max-height: 78vh;
  transform: translateY(110%); transition: transform .35s var(--ease);
  box-shadow: var(--shadow); padding: 10px 16px 24px; overflow: auto;
}
.drawer.is-open { transform: translateY(0); }
.drawer .grab { width: 42px; height: 4px; border-radius: 99px; background: var(--line-strong); margin: 6px auto 12px; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(11,16,36,.5); z-index: 45; display: none; }
.drawer-scrim.is-on { display: block; }

.dock {
  position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 30;
  background: color-mix(in srgb, var(--walnut) 92%, transparent);
  backdrop-filter: blur(16px); color: #eef0ff;
  display: none; grid-template-columns: repeat(5, 1fr);
  border-radius: 16px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}
.dock a, .dock button {
  background: none; border: 0; color: #9aa3c7; display: flex; flex-direction: column;
  align-items: center; gap: 4px; font-size: 10px; padding: 6px 0; cursor: pointer;
}
.dock a.is-on, .dock button.is-on { color: #fff; }
.fab {
  position: fixed; right: 16px; bottom: 96px; z-index: 25;
  width: 54px; height: 54px; border-radius: 16px; border: 0;
  background: var(--ember); color: #fff; display: none; place-items: center;
  box-shadow: var(--shadow);
}

.license-key {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; font-weight: 600;
  background: var(--paper-2); padding: 4px 8px; border-radius: 8px;
}
.mod-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; padding: 8px 0 4px; }
.empty { text-align: center; padding: 28px 12px; color: var(--ink-soft); }
.seg {
  display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap;
}
.seg a, .seg button {
  border: 0; background: transparent; padding: 8px 12px; border-radius: 999px; cursor: pointer; font-size: 13px;
}
.seg .is-on { background: var(--walnut); color: #eef0ff; }
.thread { display: grid; gap: 10px; }
.bubble {
  background: var(--paper-2); border-radius: 16px; padding: 12px 14px; max-width: 86%;
}
.bubble.is-agent { background: var(--ember-soft); margin-left: auto; }
.bubble.is-internal { background: var(--gold-soft); font-style: italic; }
.funnel { display: grid; gap: 8px; }
.funnel-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center;
}
.score-ring {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; border: 3px solid var(--ember);
}


/* Landing — Iris Orbit (all-services, unique layout) */
body.sc-page {
  background: var(--bg);
}
body.sc-page .pub-nav {
  background: color-mix(in srgb, #0b1024 78%, transparent);
  color: #eef0ff;
}
body.sc-page .pub-foot {
  background: #0b1024;
  color: #9aa3c7;
  border-top: 1px solid rgba(83, 71, 232, 0.28);
}
#industries, #modules, #roles, #pricing, #flow { scroll-margin-top: 88px; }

.sc-mast {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  color: #eef0ff;
}
.sc-mast-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.92) contrast(1.05);
}
.sc-mast-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 16, 36, 0.35) 0%, rgba(11, 16, 36, 0.55) 42%, rgba(11, 16, 36, 0.92) 100%),
    radial-gradient(700px 280px at 80% 20%, rgba(83, 71, 232, 0.35), transparent 60%);
}
.sc-mast-copy {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 108px 36px 56px;
}
.sc-mast-copy .ec-kicker { color: #2ee6d0; }
.sc-mast-copy h1 {
  font-size: clamp(44px, 7vw, 84px);
  max-width: 14ch;
  margin-top: 14px;
  color: #fff;
}
.sc-mast-copy .lead {
  margin-top: 18px; max-width: 46ch;
  color: rgba(238, 240, 255, 0.78);
  font-size: 18px; line-height: 1.65;
}
.sc-stat-pills {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.sc-stat-pills li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 14px;
  background: rgba(251, 251, 255, 0.08);
  border: 1px solid rgba(238, 240, 255, 0.14);
  border-radius: 12px; backdrop-filter: blur(10px);
}
.sc-stat-pills b { font-family: var(--serif); font-size: 22px; color: #fff; }
.sc-stat-pills span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(238, 240, 255, 0.62); }
.sc-mast .hero-actions .ec-btn--ghost {
  color: #fff; border-color: rgba(238, 240, 255, 0.28);
}
.sc-mast .hero-actions .ec-btn--ghost:hover {
  background: rgba(251, 251, 255, 0.12);
  color: #fff;
  border-color: rgba(238, 240, 255, 0.5);
}

.sc-wrap { max-width: 1180px; margin: 0 auto; padding: 64px 36px; }
.sc-wrap header h2,
.sc-section-h h1, .sc-section-h h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 8px; max-width: 18ch; }

.sc-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
  margin-top: 28px;
}
.sc-tile {
  position: relative; overflow: hidden; border-radius: 16px; margin: 0; color: #fff;
}
.sc-tile:first-child { grid-column: span 2; grid-row: span 2; }
.sc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sc-tile:hover img { transform: scale(1.06); }
.sc-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(11, 16, 36, 0.82));
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

.sc-live { background: var(--paper); border-block: 1px solid var(--line); }
.sc-pulse {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.sc-pulse li {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2);
}
.sc-pulse img { width: 88px; height: 72px; object-fit: cover; border-radius: 12px; }
.sc-pulse small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.sc-pulse b { display: block; font-size: 16px; margin: 4px 0 2px; font-family: var(--serif); }
.sc-pulse span { display: block; color: var(--ink-soft); font-size: 13px; }
.sc-pulse em {
  font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 8px;
}
.sc-pulse .is-ok { background: var(--forest-soft); color: var(--ok); }
.sc-pulse .is-low { background: var(--gold-soft); color: #0b7a6e; }
.sc-pulse .is-bad { background: var(--danger-soft); color: var(--danger); }

.sc-rail {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px;
}
.sc-seat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; text-align: left; box-shadow: var(--shadow-sm);
}
.sc-seat-card img { width: 100%; height: 180px; object-fit: cover; object-position: top; }
.sc-seat-card div { padding: 14px 14px 16px; }
.sc-seat-card b { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.sc-seat-card h3 { font-size: 18px; margin: 6px 0 6px; }
.sc-seat-card p { color: var(--ink-soft); font-size: 13px; }

.sc-catalog {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
  border-top: 1px solid var(--line-strong);
}
.sc-catalog li {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.sc-catalog img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.sc-catalog span { font-size: 11px; font-weight: 700; color: var(--ember); letter-spacing: 0.1em; }
.sc-catalog h3 { font-size: 18px; }
.sc-catalog p { color: var(--ink-soft); font-size: 13px; }

.sc-path { background: var(--walnut); color: #cdd2f0; }
.sc-path .ec-kicker { color: #2ee6d0; }
.sc-path h2 { color: #fff; }
.sc-spine {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 0; position: relative;
}
.sc-spine::before {
  content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--ember), var(--signal));
}
.sc-spine li {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 12px 0;
  position: relative;
}
.sc-spine b {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ember); color: #fff; font-size: 11px; z-index: 1;
}
.sc-spine h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.sc-spine p { color: #9aa3c7; font-size: 14px; }

.sc-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.sc-price {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 100%;
}
.sc-price.is-hot {
  background: linear-gradient(180deg, #1a1848 0%, #0b1024 100%);
  color: #eef0ff; border-color: rgba(83, 71, 232, 0.45);
  transform: translateY(-10px);
}
.sc-amt { font-family: var(--serif); font-size: 40px; }
.sc-amt small { font-size: 14px; font-weight: 500; opacity: 0.65; margin-left: 4px; }
.sc-amt--copy { font-size: 18px; line-height: 1.35; margin: 4px 0 12px; }
.sc-price ul { list-style: none; margin: 0; padding: 0; opacity: 0.88; flex: 1; }
.sc-price li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sc-price.is-hot li { border-top-color: rgba(238, 240, 255, 0.12); }
.sc-price .ec-btn { margin-top: 8px; width: 100%; }
.sc-price h2 { font-size: 26px; }

.sc-inner-page { padding-top: 24px; padding-bottom: 56px; }
.sc-inner-page .sc-section-h h1 { max-width: 22ch; }
.sc-inner-page .lead { max-width: 62ch; margin-top: 14px; color: var(--ink-soft); }
.sc-ind-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.sc-ind-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 168px;
}
.sc-ind-card img { width: 100%; height: 100%; object-fit: cover; }
.sc-ind-card div { padding: 20px 22px; }
.sc-ind-card h2 { font-size: 22px; margin-bottom: 8px; }
.sc-ind-card p { color: var(--ink-soft); font-size: 14px; }
.sc-price.is-hot .ec-btn--ghost { color: #fff; border-color: rgba(238, 240, 255, 0.22); }
.sc-price.is-hot .ec-btn--ghost:hover {
  background: rgba(251, 251, 255, 0.12);
  color: #fff;
  border-color: rgba(238, 240, 255, 0.5);
}

.sc-cta { position: relative; min-height: 420px; overflow: hidden; }
.sc-cta > img { width: 100%; height: 420px; object-fit: cover; }
.sc-cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 16, 36, 0.9) 0%, rgba(11, 16, 36, 0.45) 55%, rgba(11, 16, 36, 0.18) 100%);
}
.sc-cta-copy {
  position: absolute; inset: 0; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 36px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #eef0ff;
}
.sc-cta-copy .ec-kicker { color: #2ee6d0; }
.sc-cta-copy h2 { font-size: clamp(34px, 5vw, 58px); max-width: 14ch; margin: 8px 0 12px; color: #fff; }
.sc-cta-copy p { max-width: 42ch; color: rgba(238, 240, 255, 0.78); margin-bottom: 22px; }
.sc-cta-copy .hero-actions .ec-btn { min-height: 52px; padding: 0 26px; font-size: 15px; }
.sc-cta-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(238, 240, 255, 0.62);
}
.sc-cta-note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sc-cta-note a:hover { color: var(--gold); }
.sc-cta-note--mast {
  margin-top: 16px;
  color: rgba(238, 240, 255, 0.7);
}

/* Login — pin to viewport, never scroll the page */
html:has(body.auth-login),
html.auth-lock {
  height: 100% !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none;
}
html:has(body.auth-login) body,
html.auth-lock body,
body.auth-login {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  margin: 0;
}
body.auth-login::before { display: none; }
body.auth-login main {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}
body.auth-login .pub-nav,
body.auth-login .pub-foot,
body.auth-login .drawer,
body.auth-login .drawer-scrim { display: none !important; }

.sc-login {
  position: fixed;
  inset: 0;
  z-index: 5;
  height: auto;
  min-height: 0;
  max-height: none;
  display: grid;
  place-items: center;
  padding: 12px 12px 52px;
  overflow: hidden;
  background: #0b1024;
}
.sc-login-mesh {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(83, 71, 232, 0.45), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(255, 61, 138, 0.28), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(0, 201, 177, 0.08), transparent 48%);
}
.sc-login-mesh::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-radial-gradient(circle at 50% 40%, transparent 0 42px, rgba(238, 240, 255, 0.04) 43px 44px);
  opacity: 0.55;
}
.sc-login-card {
  position: relative; z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  background: color-mix(in srgb, #fbfbff 92%, transparent);
  border: 1px solid rgba(238, 240, 255, 0.18);
  border-radius: 18px; padding: 14px 16px 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}
.sc-login-card .brand { margin-bottom: 4px; }
.sc-login-card .brand img { width: 32px; height: 32px; }
.sc-login-card h1 { font-size: 22px; margin: 0 0 8px; }
.sc-login-card .ec-kicker { margin-bottom: 0; }
.sc-login-card .ec-field { margin-bottom: 8px; }
.sc-login-card .ec-field label { font-size: 11px; }
.sc-login-card .ec-field input { min-height: 38px; border-radius: 10px; }
.sc-login-card .ec-form-grid { grid-template-columns: 1fr; gap: 8px; margin-bottom: 0; }
.sc-login-card .ec-btn { min-height: 40px; margin-top: 4px; }
.sc-alt-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sc-alt-cta .ec-btn { width: 100%; }
.sc-alt-cta-label {
  width: 100%;
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.sc-alt-cta-label:first-child { margin-top: 0; }
.sc-alt-cta--dark {
  max-width: 420px;
  border-top-color: rgba(238, 240, 255, 0.18);
}
.sc-alt-cta--dark .sc-alt-cta-label { color: rgba(238, 240, 255, 0.72); }
.sc-mast-copy .sc-alt-cta { margin-top: 18px; }
.sc-cta-copy .sc-alt-cta {
  margin-top: 4px;
  padding-top: 16px;
  border-top-color: rgba(238, 240, 255, 0.18);
}
.sc-cta-copy .sc-alt-cta-label { color: rgba(238, 240, 255, 0.72); }
.sc-join-card .sc-alt-cta .ec-btn { min-height: 46px; }
.sc-login-card .ec-check { margin: 0; }
.sc-login-card .flash { margin-bottom: 8px; padding: 8px 10px; }
.auth-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin: 2px 0 8px;
}
.auth-tools a { font-size: 12px; font-weight: 700; color: var(--ember); }
.auth-tools a:hover { text-decoration: underline; }
.sc-seats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 10px;
}
.sc-seat {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; border: 1px solid var(--line); background: var(--paper);
  border-radius: 10px; padding: 6px 2px 5px; cursor: pointer;
}
.sc-seat:hover, .sc-seat.is-on { border-color: var(--ember); background: var(--ember-soft); }
.sc-seat img { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.sc-seat strong { display: block; font-size: 9px; letter-spacing: 0.01em; line-height: 1.15; }
.auth-foot { margin-top: 8px; font-size: 12px; }

/* Signup — industry chips + form (not film strip) */
.sc-join {
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.1fr);
  background: var(--bg);
}
.sc-join-aside {
  background: #0b1024; color: #cdd2f0;
  padding: 40px 32px; display: flex; flex-direction: column; justify-content: center;
}
.sc-join-aside h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin: 10px 0 14px; }
.sc-join-aside .ec-kicker { color: #2ee6d0; }
.sc-join-aside p { color: #9aa3c7; margin-bottom: 22px; max-width: 38ch; }
.sc-ind-chips {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.sc-ind-chips figure {
  margin: 0; position: relative; overflow: hidden; border-radius: 12px; height: 92px;
}
.sc-ind-chips img { width: 100%; height: 100%; object-fit: cover; }
.sc-ind-chips figcaption {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  text-shadow: 0 6px 16px rgba(0,0,0,.5);
}
.sc-join-sheet {
  padding: 40px 36px; display: flex; flex-direction: column; justify-content: center;
}
.sc-join-card {
  width: 100%; max-width: 560px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px; box-shadow: var(--shadow);
}
.sc-join-card h1 { font-size: clamp(28px, 3.2vw, 36px); margin: 8px 0; }

body.auth-login, body.auth-signup { background: #0b1024; }

@media (max-width: 1199px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .split, .grid-12 { grid-template-columns: 1fr; }
  .g-8, .g-7, .g-6, .g-5, .g-4, .g-3 { grid-column: span 1; }
  .prop-grid, .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .sc-tile:first-child { grid-column: span 2; grid-row: span 1; }
  .sc-rail { grid-template-columns: repeat(3, 1fr); }
  .sc-price.is-hot { transform: none; }
}
@media (max-width: 991px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .pub-links { display: none; }
  .pub-menu { display: grid; }
  .hamburger { display: grid; }
  .dock { display: grid; }
  .fab { display: grid; }
  .page { padding: 14px 14px 110px; }
  .topbar { padding: 10px 12px; }
  .search-btn { display: none; }
  .top-title h1 { font-size: 22px; }
  .kanban { grid-template-columns: 1fr; }
  .ec-form-grid { grid-template-columns: 1fr; }
  body.auth-login .ec-form-grid { grid-template-columns: 1fr; }
  .sc-join { grid-template-columns: 1fr; }
  .sc-join-aside { padding: 28px 20px 24px; }
  .sc-join-sheet { padding: 20px 16px 40px; }
  .sc-mast-copy, .sc-wrap, .sc-cta-copy { padding-left: 16px; padding-right: 16px; }
  .pub-foot-legal { text-align: left; }
  .sc-pulse { grid-template-columns: 1fr; }
  .sc-catalog, .sc-price-grid, .sc-ind-grid { grid-template-columns: 1fr; }
  .sc-ind-card { grid-template-columns: 120px 1fr; }
  .mod-checks { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .kpis, .prop-grid, .mod-grid { grid-template-columns: 1fr; }
  .kpi .val { font-size: 32px; }
  .ec-table { min-width: 0; }
  .ec-table thead { display: none; }
  .ec-table, .ec-table tbody, .ec-table tr, .ec-table td { display: block; width: 100%; }
  .ec-table tr {
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
    padding: 12px; margin-bottom: 10px;
  }
  .ec-table td {
    display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0;
  }
  .ec-table td::before {
    content: attr(data-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-soft); font-weight: 600; flex: 0 0 38%;
  }
  .sc-mosaic { grid-template-columns: 1fr 1fr; }
  .sc-rail { grid-template-columns: 1fr 1fr; }
  .sc-pulse li { grid-template-columns: 72px 1fr; }
  .sc-pulse em { grid-column: 2; justify-self: start; }
  .sc-ind-chips { grid-template-columns: 1fr 1fr; }
  .sc-join-card { padding: 22px 16px; width: min(560px, 100%); }
  .sc-login { width: 100%; }
  .sc-login-card { padding: 22px 16px; width: min(420px, calc(100% - 24px)); margin: 0 auto; }
  .hero-actions .ec-btn { width: 100%; justify-content: center; }
  .sc-catalog li { grid-template-columns: 52px 1fr; gap: 10px; }
  .fc .fc-toolbar { flex-wrap: wrap; gap: 8px; }
  .fc .fc-toolbar-title { font-size: 1.05rem; }
  .sc-enq-filters { flex-direction: column; align-items: stretch; }
  .sc-enq-filters input, .sc-enq-filters select { width: 100%; }
}
.sc-mast .hero-actions .ec-btn--gold {
  color: #0b1024;
}
.sc-cta-copy .ec-btn--ghost {
  color: #fff; border-color: rgba(238, 240, 255, 0.28);
}
.sc-cta-copy .ec-btn--ghost:hover {
  background: rgba(251, 251, 255, 0.12);
  color: #fff;
  border-color: rgba(238, 240, 255, 0.5);
}
.sc-cta-copy .hero-actions { margin-top: 4px; }
.sc-cta-copy h2 { max-width: 16ch; }

.hp {
  position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
}
.field-error { color: var(--danger); font-size: 12px; margin: 4px 0 0; }
.sc-subh { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 22px 0 8px; color: var(--ink-soft); }
.sc-ref {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: var(--paper-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.sc-ref span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.sc-ref strong { font-size: 22px; letter-spacing: 0.04em; }
.sc-demo-page { padding-top: 24px; }
.sc-demo-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.sc-demo-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.sc-demo-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.sc-demo-card > div { padding: 20px 22px 22px; }
.sc-demo-card h3 { margin: 4px 0 8px; font-size: 22px; }
.sc-demo-card p { color: var(--ink-soft); margin-bottom: 16px; }
.sc-enq-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sc-enq-filters input, .sc-enq-filters select {
  min-height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); padding: 0 12px;
}
body.auth-request-demo .sc-join-sheet,
body.auth-buy .sc-join-sheet,
body.auth-received .sc-join-sheet,
body.auth-signup .sc-join-sheet { overflow: auto; }

.ec-empty { margin: 0; }
.ec-empty h2 { margin: 6px 0 8px; }
img, video, canvas, svg { max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kanban { min-width: 0; }
.sc-mast .hero-actions { max-width: 100%; }

@media (max-width: 991px) {
  .sc-demo-grid { grid-template-columns: 1fr; }
  .sc-demo-card { grid-template-columns: 1fr; }
  .sc-demo-card img { height: 160px; min-height: 0; }
  .campaign .kpis, .split .kpis { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 575px) {
  .sc-login-card .ec-form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .sidebar, .topbar, .dock, .fab, .drawer, .overlay, .pub-nav, .ec-btn { display: none !important; }
  .app { display: block; }
  .page { padding: 0; }
  body { background: #fff; color: #111; }
}
