@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --mota-ink: #0d0d0d;
  --mota-graphite: #151515;
  --mota-panel: #1d1b19;
  --mota-panel-soft: #26221f;
  --mota-line: rgba(244, 241, 235, 0.11);
  --mota-line-strong: rgba(232, 118, 74, 0.28);
  --mota-paper: #f7f2e9;
  --mota-muted: #a99f91;
  --mota-dim: #746d63;
  --mota-copper: #c45d2c;
  --mota-copper-bright: #e8764a;
  --mota-copper-soft: rgba(196, 93, 44, 0.16);
  --mota-mint: #67d6bd;
  --mota-mint-soft: rgba(103, 214, 189, 0.15);
  --mota-amber: #f3b24b;
  --mota-amber-soft: rgba(243, 178, 75, 0.16);
  --mota-red: #e76666;
  --mota-radius-lg: 28px;
  --mota-radius-md: 18px;
  --mota-radius-sm: 12px;
  --mota-serif: 'Playfair Display', Georgia, serif;
  --mota-sans: 'DM Sans', system-ui, sans-serif;
  --mota-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--mota-sans); background: var(--mota-ink); color: var(--mota-paper); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
::selection { background: rgba(232, 118, 74, 0.35); color: var(--mota-paper); }

.mota-shell { min-height: 100vh; background:
  radial-gradient(circle at 82% 8%, rgba(196,93,44,0.2), transparent 34%),
  radial-gradient(circle at 12% 42%, rgba(103,214,189,0.08), transparent 35%),
  linear-gradient(135deg, #0b0b0b 0%, #14100e 48%, #0b0b0b 100%);
}

.mota-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 1240px; margin: 0 auto; padding: 20px 28px; background: rgba(13,13,13,0.76); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(244,241,235,0.07); }
.mota-brand { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--mota-serif); font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: var(--mota-paper); }
.mota-brand i { width: 7px; height: 7px; border-radius: 50%; background: var(--mota-copper-bright); box-shadow: 0 0 18px rgba(232,118,74,0.7); display: inline-block; }
.mota-brand span { color: var(--mota-muted); font-family: var(--mota-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mota-nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.mota-nav-links a { color: var(--mota-muted); font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 999px; transition: 0.2s ease; }
.mota-nav-links a:hover { color: var(--mota-paper); background: rgba(244,241,235,0.06); }
.mota-nav-links .nav-demo { color: var(--mota-copper-bright); border: 1px solid var(--mota-line-strong); background: rgba(196,93,44,0.1); }
.mota-cta { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 12px 18px; color: var(--mota-ink); background: var(--mota-copper-bright); font-size: 13px; font-weight: 800; box-shadow: 0 12px 34px rgba(196,93,44,0.22); transition: 0.2s ease; }
.mota-cta:hover { transform: translateY(-1px); background: #f08a61; }
.mota-ghost { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 18px; color: var(--mota-paper); border: 1px solid var(--mota-line); background: rgba(244,241,235,0.035); font-size: 13px; font-weight: 800; transition: 0.2s ease; }
.mota-ghost:hover { border-color: var(--mota-line-strong); color: var(--mota-copper-bright); }

.mota-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.mota-hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr); align-items: center; gap: 54px; padding: 76px 28px 92px; }
.mota-hero h1 { font-family: var(--mota-serif); font-size: clamp(48px, 7vw, 96px); line-height: 0.92; letter-spacing: -0.065em; max-width: 850px; }
.mota-hero h1 em { color: var(--mota-copper-bright); font-style: italic; font-weight: 600; }
.mota-hero p { margin-top: 24px; color: var(--mota-muted); font-size: clamp(17px, 1.55vw, 22px); max-width: 660px; }
.mota-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.mota-proof-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; color: var(--mota-muted); font-size: 13px; }
.mota-proof-line b { color: var(--mota-paper); }
.mota-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mota-mint); box-shadow: 0 0 14px rgba(103,214,189,0.55); }

.department-preview { position: relative; min-height: 560px; border: 1px solid var(--mota-line); border-radius: 34px; background: linear-gradient(145deg, rgba(29,27,25,0.95), rgba(13,13,13,0.94)); box-shadow: 0 28px 90px rgba(0,0,0,0.42); overflow: hidden; }
.department-preview::before { content: ''; position: absolute; inset: -30% -15% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232,118,74,0.22), transparent 66%); }
.preview-top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--mota-line); }
.preview-client { display: flex; align-items: center; gap: 12px; }
.preview-logo { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--mota-copper-bright), #f5c27c); color: var(--mota-ink); display: grid; place-items: center; font-family: var(--mota-mono); font-weight: 800; }
.preview-client small { display: block; font-family: var(--mota-mono); color: var(--mota-dim); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.preview-client strong { color: var(--mota-paper); font-size: 14px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; color: var(--mota-mint); background: var(--mota-mint-soft); font-family: var(--mota-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.preview-body { position: relative; padding: 24px; display: grid; gap: 16px; }
.preview-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.preview-kpi, .preview-panel, .preview-task, .preview-agent { border: 1px solid var(--mota-line); border-radius: 18px; background: rgba(244,241,235,0.035); }
.preview-kpi { padding: 16px; min-height: 110px; }
.preview-kpi span { color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.preview-kpi b { display: block; margin-top: 12px; font-size: 30px; line-height: 1; letter-spacing: -0.04em; color: var(--mota-paper); }
.preview-kpi small { display: block; margin-top: 10px; color: var(--mota-mint); font-family: var(--mota-mono); font-size: 10px; }
.preview-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
.preview-panel { padding: 18px; }
.preview-panel h3 { font-size: 15px; margin-bottom: 14px; color: var(--mota-paper); }
.preview-task { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px; margin-top: 9px; }
.preview-task .num { color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 11px; font-weight: 800; }
.preview-task p { margin: 0; color: var(--mota-muted); font-size: 13px; line-height: 1.35; }
.preview-task button { border-radius: 999px; background: var(--mota-amber); color: #15100a; padding: 7px 10px; font-size: 11px; font-weight: 800; }
.preview-agents { display: grid; gap: 10px; }
.preview-agent { padding: 14px; }
.preview-agent span { font-family: var(--mota-mono); color: var(--mota-dim); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.preview-agent strong { display: block; color: var(--mota-paper); margin-top: 6px; }
.preview-progress { height: 8px; border-radius: 999px; background: rgba(244,241,235,0.08); overflow: hidden; margin-top: 14px; }
.preview-progress i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--mota-copper-bright), var(--mota-mint)); }

.mota-section { padding: 98px 0; border-top: 1px solid rgba(244,241,235,0.065); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--mota-serif); font-size: clamp(36px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.055em; max-width: 760px; }
.section-head p { color: var(--mota-muted); max-width: 450px; font-size: 16px; }
.mota-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mota-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mota-card { position: relative; overflow: hidden; border: 1px solid var(--mota-line); border-radius: var(--mota-radius-md); background: linear-gradient(145deg, rgba(244,241,235,0.052), rgba(244,241,235,0.025)); padding: 24px; min-height: 240px; }
.mota-card::after { content: ''; position: absolute; inset: auto -60px -80px auto; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(196,93,44,0.11), transparent 68%); pointer-events: none; }
.card-num { font-family: var(--mota-mono); color: var(--mota-copper-bright); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.mota-card h3 { margin-top: 22px; font-size: 22px; line-height: 1.1; color: var(--mota-paper); letter-spacing: -0.03em; }
.mota-card p { margin-top: 14px; color: var(--mota-muted); font-size: 14px; }

.offer-card { min-height: 470px; display: flex; flex-direction: column; padding: 30px; }
.offer-card.featured { border-color: rgba(232,118,74,0.45); background: radial-gradient(circle at top right, rgba(196,93,44,0.2), transparent 34%), linear-gradient(145deg, rgba(43,31,25,0.95), rgba(18,18,18,0.96)); }
.offer-label { font-family: var(--mota-mono); color: var(--mota-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.offer-card h3 { font-family: var(--mota-serif); font-size: 35px; line-height: 1; letter-spacing: -0.05em; margin-top: 16px; }
.offer-price { margin-top: 24px; font-family: var(--mota-serif); font-size: 42px; line-height: 1; letter-spacing: -0.055em; color: var(--mota-copper-bright); }
.offer-price small { display: block; margin-top: 8px; font-family: var(--mota-sans); color: var(--mota-muted); font-size: 13px; letter-spacing: 0; }
.offer-list { list-style: none; display: grid; gap: 11px; margin: 24px 0 28px; }
.offer-list li { color: var(--mota-muted); font-size: 14px; padding-left: 22px; position: relative; }
.offer-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mota-copper-bright); box-shadow: 0 0 12px rgba(232,118,74,0.48); }
.offer-card .mota-ghost, .offer-card .mota-cta { margin-top: auto; width: 100%; }

.demo-band { border: 1px solid var(--mota-line); border-radius: 34px; background: linear-gradient(135deg, rgba(244,241,235,0.075), rgba(244,241,235,0.03)); padding: 34px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: center; }
.demo-shot { border-radius: 24px; border: 1px solid var(--mota-line); background: #111; padding: 18px; min-height: 360px; box-shadow: 0 24px 70px rgba(0,0,0,0.34); }
.demo-mini-top { display: flex; gap: 8px; margin-bottom: 16px; }
.demo-mini-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--mota-copper-bright); opacity: 0.75; }
.demo-shot-grid { display: grid; grid-template-columns: 0.65fr 1fr; gap: 12px; height: 295px; }
.demo-side { border-radius: 18px; background: rgba(244,241,235,0.045); padding: 14px; display: grid; gap: 10px; }
.demo-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.demo-line { height: 12px; border-radius: 999px; background: rgba(244,241,235,0.13); }
.demo-line.short { width: 58%; }
.demo-box { border-radius: 18px; background: rgba(244,241,235,0.05); border: 1px solid rgba(244,241,235,0.08); padding: 14px; }
.demo-box b { display: block; font-size: 24px; color: var(--mota-paper); }
.demo-box span { display: block; margin-top: 8px; color: var(--mota-muted); font-size: 12px; }

.final-cta { padding: 92px 0 120px; }
.final-cta-box { border-radius: 38px; padding: 58px; background: radial-gradient(circle at 78% 18%, rgba(232,118,74,0.22), transparent 36%), linear-gradient(135deg, rgba(244,241,235,0.07), rgba(244,241,235,0.03)); border: 1px solid var(--mota-line); text-align: center; }
.final-cta-box h2 { font-family: var(--mota-serif); font-size: clamp(42px, 6vw, 86px); line-height: 0.96; letter-spacing: -0.06em; max-width: 880px; margin: 0 auto; }
.final-cta-box p { color: var(--mota-muted); font-size: 18px; max-width: 620px; margin: 24px auto 34px; }

/* Dashboard */
.dashboard-body { overflow: hidden; background: var(--mota-ink); }
.dashboard-app { height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); background:
  radial-gradient(circle at 90% 0%, rgba(196,93,44,0.14), transparent 38%),
  linear-gradient(135deg, #0b0b0b, #11100f 52%, #0a0a0a);
}
.dash-sidebar { border-right: 1px solid var(--mota-line); background: rgba(13,13,13,0.92); padding: 20px 14px; display: flex; flex-direction: column; min-height: 0; }
.dash-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 22px; }
.dash-brand strong { font-family: var(--mota-serif); font-size: 25px; letter-spacing: -0.05em; }
.dash-brand strong i { color: var(--mota-copper-bright); font-style: normal; }
.dash-version { font-family: var(--mota-mono); color: var(--mota-dim); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.dash-section-label { padding: 14px 12px 7px; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.dash-nav { display: grid; gap: 3px; }
.dash-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--mota-muted); background: transparent; text-align: left; font-size: 13px; font-weight: 700; transition: 0.18s ease; }
.dash-nav button:hover, .dash-nav button.active { color: var(--mota-paper); background: rgba(244,241,235,0.06); }
.dash-nav button.active { box-shadow: inset 2px 0 0 var(--mota-copper-bright); }
.dash-nav .badge { margin-left: auto; min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; background: var(--mota-amber-soft); color: var(--mota-amber); font-family: var(--mota-mono); font-size: 10px; }
.dash-account { margin-top: auto; border-top: 1px solid var(--mota-line); padding-top: 16px; }
.dash-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(244,241,235,0.04); }
.dash-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--mota-copper-bright), var(--mota-amber)); color: var(--mota-ink); display: grid; place-items: center; font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.dash-user b { display: block; color: var(--mota-paper); font-size: 13px; }
.dash-user span { display: block; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; }
.dash-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.dash-topbar { height: 62px; border-bottom: 1px solid var(--mota-line); display: flex; align-items: center; gap: 14px; padding: 0 26px; background: rgba(13,13,13,0.62); }
.dash-crumb { color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.dash-search { flex: 1; max-width: 420px; margin-left: auto; }
.dash-search input { width: 100%; border: 1px solid var(--mota-line); border-radius: 999px; background: rgba(244,241,235,0.045); color: var(--mota-paper); padding: 10px 14px; outline: none; font-size: 13px; }
.dash-select, .dash-mode { border: 1px solid var(--mota-line); border-radius: 999px; color: var(--mota-paper); background: var(--mota-panel); padding: 10px 12px; font-size: 13px; font-weight: 800; outline: none; }
.dash-mode { color: var(--mota-copper-bright); }
.dash-content { overflow: auto; padding: 26px; }
.dash-title-row { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 22px; }
.dash-title h1 { font-family: var(--mota-serif); font-size: clamp(36px, 4.4vw, 66px); line-height: 0.96; letter-spacing: -0.058em; }
.dash-title h1 em { color: var(--mota-copper-bright); font-style: italic; }
.dash-title p { margin-top: 10px; color: var(--mota-muted); font-size: 15px; }
.dash-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.dash-btn { border-radius: 999px; padding: 10px 13px; background: rgba(244,241,235,0.055); color: var(--mota-paper); border: 1px solid var(--mota-line); font-size: 12px; font-weight: 900; }
.dash-btn.primary { background: var(--mota-copper-bright); color: var(--mota-ink); border-color: transparent; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.dash-card { border: 1px solid var(--mota-line); border-radius: 20px; background: rgba(244,241,235,0.045); box-shadow: 0 18px 54px rgba(0,0,0,0.18); }
.kpi-card { padding: 17px; min-height: 124px; }
.kpi-card span, .dash-label { color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.kpi-card strong { display: block; margin-top: 14px; font-size: 34px; line-height: 1; color: var(--mota-paper); letter-spacing: -0.05em; }
.kpi-card small { display: block; margin-top: 11px; color: var(--mota-mint); font-family: var(--mota-mono); font-size: 10px; }
.panel { padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel h2, .panel h3 { color: var(--mota-paper); font-size: 16px; letter-spacing: -0.02em; }
.status-pill { border-radius: 999px; padding: 6px 9px; background: rgba(244,241,235,0.07); color: var(--mota-muted); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; }
.status-pill.ok { color: var(--mota-mint); background: var(--mota-mint-soft); }
.status-pill.warn { color: var(--mota-amber); background: var(--mota-amber-soft); }
.approval-list, .activity-list, .client-list { display: grid; gap: 9px; }
.approval-row, .activity-row, .client-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid rgba(244,241,235,0.075); background: rgba(13,13,13,0.22); }
.row-index { color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.row-main b { display: block; color: var(--mota-paper); font-size: 13px; line-height: 1.25; }
.row-main span { display: block; color: var(--mota-muted); font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.approve-btn { padding: 8px 11px; border-radius: 999px; background: var(--mota-amber); color: #1a1208; font-size: 11px; font-weight: 900; }
.readonly-lock,
.readonly-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(103,214,189,0.24);
  background: rgba(103,214,189,0.1);
  color: var(--mota-mint);
  font-family: var(--mota-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.readonly-lock { padding: 10px 13px; }
.readonly-chip { padding: 7px 9px; }
.readonly-note {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(103,214,189,0.2);
  background: rgba(103,214,189,0.08);
  color: var(--mota-muted);
  padding: 14px;
  font-size: 13px;
  line-height: 1.55;
}
.dashboard-side { display: grid; gap: 14px; align-content: start; }
.progress-bars { display: grid; gap: 10px; }
.progress-item { display: grid; gap: 6px; }
.progress-item div { display: flex; justify-content: space-between; gap: 10px; color: var(--mota-muted); font-size: 12px; }
.progress-track { height: 8px; border-radius: 999px; background: rgba(244,241,235,0.08); overflow: hidden; }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mota-copper-bright), var(--mota-mint)); }
.strategy-note { color: var(--mota-muted); font-size: 13px; line-height: 1.65; }
.strategy-note b { color: var(--mota-paper); }
.calendar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cal-day { min-height: 240px; border-radius: 16px; border: 1px solid var(--mota-line); padding: 12px; background: rgba(13,13,13,0.22); }
.cal-day h4 { color: var(--mota-paper); font-size: 13px; }
.cal-day small { color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; }
.cal-event { margin-top: 10px; padding: 10px; border-radius: 12px; background: rgba(244,241,235,0.055); border-left: 3px solid var(--mota-copper-bright); }
.cal-event b { display: block; color: var(--mota-paper); font-size: 12px; }
.cal-event span { color: var(--mota-muted); font-size: 11px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px; border-bottom: 1px solid var(--mota-line); }
.table td { color: var(--mota-muted); font-size: 13px; padding: 13px 10px; border-bottom: 1px solid rgba(244,241,235,0.06); }
.table td strong { color: var(--mota-paper); }
.automation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.automation-card { padding: 18px; min-height: 170px; }
.automation-card h3 { margin: 12px 0 8px; }
.automation-card p { color: var(--mota-muted); font-size: 13px; }
.view-hidden { display: none !important; }

@media (max-width: 1100px) {
  .mota-hero, .demo-band, .dash-grid { grid-template-columns: 1fr; }
  .mota-grid-4, .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .department-preview { min-height: auto; }
  .dashboard-body { overflow: auto; }
  .dashboard-app { height: auto; min-height: 100vh; grid-template-columns: 1fr; }
  .dash-sidebar { position: relative; }
  .dash-nav { grid-template-columns: repeat(4, 1fr); }
  .dash-account { display: none; }
}
@media (max-width: 760px) {
  .mota-nav { position: relative; align-items: start; }
  .mota-nav-links { width: 100%; justify-content: flex-start; }
  .mota-hero { padding-top: 42px; }
  .preview-kpis, .preview-grid, .mota-grid-3, .mota-grid-4, .demo-shot-grid, .dash-kpis, .automation-grid, .calendar-grid { grid-template-columns: 1fr; }
  .section-head, .dash-title-row, .dash-topbar { flex-direction: column; align-items: stretch; height: auto; padding-top: 16px; padding-bottom: 16px; }
  .final-cta-box { padding: 34px 22px; }
  .dash-nav { grid-template-columns: repeat(2, 1fr); }
  .dash-content { padding: 18px; }
  .approval-row, .activity-row, .client-row { grid-template-columns: 26px 1fr; }
  .approval-row .approve-btn, .client-row .status-pill { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .dashboard-app { display: flex; flex-direction: column; }
  .dash-sidebar { min-height: auto; padding-bottom: 10px; }
  .dash-sidebar .dash-section-label.master-only,
  .dash-sidebar .client-list.master-only { display: none !important; }
  .dash-brand { padding-bottom: 10px; }
  .dash-section-label { padding-top: 8px; }
  .dash-nav { gap: 4px; }
  .dash-nav button { padding: 9px 10px; }
  .dash-title h1 { font-size: clamp(34px, 12vw, 48px); }
}

/* RM-reference pass: tighter department/product feel */
.department-page { background:
  radial-gradient(circle at 76% 18%, rgba(196,93,44,0.18), transparent 34%),
  radial-gradient(circle at 16% 10%, rgba(103,214,189,0.055), transparent 28%),
  linear-gradient(180deg, #0a0a0a 0%, #12100f 46%, #080808 100%); }
.department-nav { max-width: 1320px; border-bottom-color: rgba(244,241,235,0.06); }
.dept-hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: minmax(390px, 0.78fr) minmax(620px, 1.22fr); gap: 36px; align-items: center; padding-top: 64px; padding-bottom: 76px; }
.dept-kicker { font-family: var(--mota-mono); color: var(--mota-copper-bright); font-size: 11px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.dept-hero h1 { margin-top: 18px; font-family: var(--mota-serif); font-size: clamp(50px, 6.5vw, 92px); line-height: 0.93; letter-spacing: -0.065em; }
.dept-hero h1 em, .dept-dashboard-band h2 em { color: var(--mota-copper-bright); font-style: italic; }
.dept-sub { margin-top: 22px; color: var(--mota-muted); font-size: 18px; max-width: 620px; }
.dept-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dept-signal-row { display: grid; gap: 10px; margin-top: 28px; color: var(--mota-muted); font-size: 13px; }
.dept-signal-row span { padding-left: 18px; position: relative; }
.dept-signal-row span::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--mota-mint); box-shadow: 0 0 12px rgba(103,214,189,.5); }
.dept-signal-row b { color: var(--mota-paper); }
.dept-price-wall { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.dept-plan { min-height: 520px; display: flex; flex-direction: column; padding: 26px 24px; border: 1px solid var(--mota-line); background: rgba(244,241,235,0.035); border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); position: relative; overflow: hidden; }
.dept-plan::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: rgba(244,241,235,0.12); }
.dept-plan.featured { background: radial-gradient(circle at top, rgba(103,214,189,0.12), transparent 38%), linear-gradient(180deg, rgba(25,36,34,0.72), rgba(17,17,17,0.86)); border-color: rgba(103,214,189,0.45); transform: translateY(-14px); }
.dept-plan.featured::before { background: var(--mota-mint); box-shadow: 0 0 26px rgba(103,214,189,.45); }
.plan-tier { font-family: var(--mota-mono); color: var(--mota-copper-bright); font-size: 11px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.plan-fit { margin-top: 10px; color: var(--mota-muted); font-family: var(--mota-serif); font-style: italic; font-size: 15px; }
.plan-price { margin-top: 34px; font-family: var(--mota-serif); font-size: 48px; line-height: 0.9; letter-spacing: -0.06em; color: var(--mota-paper); }
.plan-price span { display: block; margin-top: 10px; font-family: var(--mota-mono); color: var(--mota-dim); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.plan-monthly { margin-top: 22px; padding: 11px 13px; border-radius: 4px; color: var(--mota-copper-bright); background: rgba(244,241,235,0.055); font-family: var(--mota-mono); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.dept-plan ul { list-style: none; display: grid; gap: 12px; margin: 28px 0 28px; }
.dept-plan li { color: var(--mota-muted); font-size: 13px; padding-left: 22px; position: relative; }
.dept-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--mota-mint); font-size: 12px; }
.dept-plan a { margin-top: auto; text-align: center; border: 1px solid var(--mota-line); border-radius: 999px; padding: 12px; color: var(--mota-paper); font-size: 13px; font-weight: 900; transition: .2s ease; }
.dept-plan.featured a { color: #071411; background: var(--mota-mint); border-color: transparent; }
.dept-plan a:hover { transform: translateY(-1px); border-color: var(--mota-line-strong); }
.dept-proof-strip { border-top: 1px solid var(--mota-line); border-bottom: 1px solid var(--mota-line); background: rgba(244,241,235,0.026); }
.dept-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-top: 24px; padding-bottom: 24px; }
.dept-proof-grid div { padding: 18px; border-left: 1px solid rgba(244,241,235,.06); }
.dept-proof-grid strong { display:block; color: var(--mota-paper); font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.dept-proof-grid span { display:block; margin-top: 8px; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.compact-head { margin-bottom: 30px; }
.compact-head h2 { max-width: 810px; }
.dept-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dept-steps article { border: 1px solid var(--mota-line); background: rgba(244,241,235,.035); border-radius: 2px; padding: 22px; min-height: 150px; }
.dept-steps span { color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.dept-steps b { display:block; margin-top: 12px; color: var(--mota-paper); font-size: 17px; }
.dept-steps p { margin-top: 8px; color: var(--mota-muted); font-size: 13px; }
.dept-dashboard-band { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; align-items: center; border: 1px solid var(--mota-line); background: radial-gradient(circle at right, rgba(103,214,189,.1), transparent 38%), rgba(244,241,235,.035); border-radius: 3px; padding: 34px; }
.dept-dashboard-band h2 { margin-top: 12px; font-family: var(--mota-serif); font-size: clamp(38px, 5vw, 66px); line-height: .97; letter-spacing: -.055em; }
.dept-dashboard-band p { margin-top: 18px; color: var(--mota-muted); }
.dept-dashboard-mini { min-height: 410px; display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--mota-line); background: #0b0b0b; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.34); }
.mini-sidebar { padding: 18px; border-right: 1px solid var(--mota-line); display: grid; gap: 13px; align-content:start; }
.mini-sidebar b { font-family: var(--mota-serif); font-size: 22px; color: var(--mota-paper); }
.mini-sidebar span { color: var(--mota-muted); font-size: 12px; font-weight: 800; }
.mini-main { padding: 22px; }
.mini-main h3 { font-family: var(--mota-serif); font-size: 36px; line-height: .98; letter-spacing: -.05em; color: var(--mota-paper); }
.mini-main h3 em { color: var(--mota-copper-bright); }
.mini-kpis { display:grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.mini-kpis span { padding: 15px; border-radius: 14px; border: 1px solid var(--mota-line); color: var(--mota-paper); font-size: 24px; font-weight: 900; }
.mini-kpis small { color: var(--mota-muted); font-size: 10px; font-family: var(--mota-mono); text-transform: uppercase; }
.mini-card { height: 74px; margin-top: 14px; border-radius: 14px; border: 1px solid var(--mota-line); background: rgba(244,241,235,.045); }
.mini-card.short { width: 72%; }
.package-compare .mota-card { min-height: 230px; }
.final-cta-box.refined { border-radius: 6px; }

/* Dashboard refinements */
.dashboard-app { grid-template-columns: 236px minmax(0,1fr); }
.dash-sidebar { background: rgba(10,10,10,.96); padding: 18px 14px; }
.dash-topbar { height: 54px; padding: 0 26px; }
.dash-content { padding: 24px 26px 34px; }
.rm-title { margin-bottom: 18px; }
.rm-title .rm-date { color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.rm-title .dash-title h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: .98; letter-spacing: -.058em; max-width: 900px; }
.rm-title .dash-title p { margin-top: 8px; max-width: 830px; }
.rm-kpis { gap: 10px; margin-bottom: 14px; }
.rm-kpis .kpi-card { min-height: 104px; padding: 16px 17px; background: linear-gradient(135deg, rgba(244,241,235,.05), rgba(196,93,44,.045)); }
.rm-kpis .kpi-card strong { font-size: 30px; }
.rm-overview { grid-template-columns: minmax(0,1fr) 330px; gap: 16px; }
.priority-panel .approval-row { min-height: 56px; }
.onboarding-panel .segmented { height: 7px; background: repeating-linear-gradient(90deg, rgba(244,241,235,.11) 0 34px, transparent 34px 42px); }
.milestone-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.milestone-grid div { padding: 12px; border: 1px solid rgba(244,241,235,.075); border-radius: 12px; background: rgba(13,13,13,.22); }
.milestone-grid span { display:block; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.milestone-grid b { display:block; margin-top: 5px; color: var(--mota-paper); font-size: 12px; line-height:1.25; }
.note-actions { margin-top: 14px; color: var(--mota-dim); font-family: var(--mota-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.inbox-panel .activity-row { grid-template-columns: 32px minmax(0,1fr) auto; }

@media (max-width: 1180px) {
  .dept-hero, .dept-dashboard-band { grid-template-columns: 1fr; }
  .dept-price-wall { grid-template-columns: 1fr; }
  .dept-plan.featured { transform: none; }
}
@media (max-width: 760px) {
  .dept-hero { min-height: auto; padding-top: 42px; }
  .dept-hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .dept-proof-grid, .dept-steps, .dept-dashboard-mini, .mini-kpis { grid-template-columns: 1fr; }
  .dept-dashboard-band { padding: 22px; }
  .rm-title .dash-title h1 { font-size: clamp(34px, 11vw, 46px); }
  .rm-overview { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .dash-topbar { gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--mota-line); }
  .dash-search { width: 100%; max-width: none; margin-left: 0; }
  .dash-search input { width: 100%; }
  .dash-select, .dash-mode { width: 100%; min-height: 42px; }
  .dash-content { padding-top: 28px; }
  .rm-title { margin-top: 0; }
  .rm-title .rm-date { margin-bottom: 12px; }
  .rm-title .dash-title h1 { line-height: 0.94; }
}

@media (max-width: 760px) {
  .dash-topbar .dash-search,
  .dash-topbar .dash-select,
  .dash-topbar .dash-mode { display: none; }
  .dash-topbar { display: block; padding: 14px 24px; }
  .dash-crumb { white-space: normal; line-height: 1.5; }
  .dash-content { padding-top: 34px; }
}

.dash-logout {
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  border-radius: 14px;
  padding: 11px 14px;
  font-family: var(--mota-sans);
  font-weight: 700;
  cursor: pointer;
}

.dash-logout:hover { border-color: rgba(95,232,210,.4); color: #fff; }

.client-login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 15%, rgba(95,232,210,.16), transparent 34%),
    radial-gradient(circle at 78% 20%, rgba(196,93,44,.18), transparent 30%),
    #070910;
  color: #f5f1ea;
  font-family: var(--mota-sans);
}

.client-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.client-login-card {
  width: min(100%, 480px);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(145deg, rgba(13,16,26,.94), rgba(16,22,33,.86));
  border-radius: 30px;
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.client-login-card h1 {
  margin: 16px 0 10px;
  font-size: clamp(36px, 7vw, 62px);
  line-height: .9;
  letter-spacing: -.07em;
}

.client-login-card p {
  color: rgba(245,241,234,.66);
  line-height: 1.6;
}

.client-login-error { min-height: 22px; margin-top: 14px; color: #ffb4a4; font-size: 14px; font-weight: 700; }

@media (max-width: 760px) {
  .dash-logout { display: none; }
}

.google-login-btn {
  width: 100%;
  justify-content: center;
  margin-top: 28px;
  text-align: center;
}

/* Production Z Client OS reference-dashboard rebuild */
.pz-dashboard-body { overflow: hidden; background: #0a0b0f; color: var(--mota-paper); }
.pz-app { height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); background: #0a0b0f; font-family: var(--mota-sans); }
.pz-sidebar { background: radial-gradient(circle at 0 0, rgba(232,118,74,.10), transparent 34%), #12141b; border-right: 1px solid #262a36; display: flex; flex-direction: column; padding: 22px 14px 18px; min-height: 0; }
.pz-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; }
.pz-mark { font-family: var(--mota-serif); font-size: 27px; line-height: 1; letter-spacing: -0.08em; color: #f8f9fb; }
.pz-mark span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mota-copper-bright); margin-left: 4px; box-shadow: 0 0 14px rgba(232,118,74,.75); vertical-align: 4px; }
.pz-brand-meta { margin-left: auto; text-align: right; font-family: var(--mota-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: #8b8fa3; line-height: 1.45; }
.pz-brand-meta b { color: #d6d9e0; font-weight: 700; }
.pz-section-label { padding: 14px 12px 6px; color: #5a5e72; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.pz-nav { display: grid; gap: 4px; }
.pz-nav button { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border-radius: 8px; color: #8b8fa3; background: transparent; text-align: left; font-size: 13.5px; font-weight: 600; transition: .18s ease; }
.pz-nav button:hover, .pz-nav button.active { color: #f8f9fb; background: rgba(232,118,74,.10); }
.pz-nav button.active::before { content: ''; position: absolute; left: -14px; top: 50%; width: 2px; height: 18px; border-radius: 0 2px 2px 0; transform: translateY(-50%); background: var(--mota-copper-bright); }
.pz-nav-icon { width: 18px; color: var(--mota-copper-bright); font-family: var(--mota-mono); text-align: center; }
.pz-nav b { margin-left: auto; min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 999px; color: var(--mota-copper-bright); background: rgba(232,118,74,.13); font-family: var(--mota-mono); font-size: 10px; }
.pz-master-block { display: none; }
.pz-master-block.is-hidden { display: none; }
.pz-client-rail { display: grid; gap: 7px; overflow: auto; padding-right: 2px; }
.pz-client-row { display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; width: 100%; padding: 10px; border-radius: 10px; border: 1px solid transparent; background: rgba(26,29,38,.62); color: #d6d9e0; text-align: left; transition: .18s ease; }
.pz-client-row:hover, .pz-client-row.active { border-color: rgba(232,118,74,.28); background: rgba(232,118,74,.09); }
.pz-client-row span { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #0a0b0f; background: linear-gradient(135deg, var(--mota-copper-bright), var(--mota-amber)); font-family: var(--mota-mono); font-size: 9px; font-weight: 900; }
.pz-client-row b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-client-row small { color: #8b8fa3; font-size: 10.5px; }
.pz-account { margin-top: auto; padding-top: 14px; border-top: 1px solid #262a36; }
.pz-user { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; background: transparent; color: #d6d9e0; text-align: left; }
.pz-user:hover { background: #1a1d26; }
.pz-user-av, .pz-avatar { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--mota-copper), var(--mota-amber)); color: #0a0b0f; font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.pz-user-meta { min-width: 0; display: grid; }
.pz-user-meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #f8f9fb; font-size: 12.5px; }
.pz-user-meta small { color: #8b8fa3; font-family: var(--mota-mono); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.pz-live-dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--mota-mint); box-shadow: 0 0 8px rgba(103,214,189,.65); }
.pz-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pz-topbar { position: relative; min-height: 56px; flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 0 28px; border-bottom: 1px solid #262a36; background: #0a0b0f; }
.pz-crumb { display: flex; align-items: center; gap: 10px; color: #5a5e72; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.pz-crumb b { color: #d6d9e0; }
.pz-crumb i { color: #2f3442; font-style: normal; }
.pz-search { flex: 1; max-width: 420px; margin-left: 12px; height: 34px; display: flex; align-items: center; gap: 8px; border: 1px solid #262a36; border-radius: 9px; background: #12141b; padding: 0 12px; color: #8b8fa3; }
.pz-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #d6d9e0; font-size: 12.5px; }
.pz-search kbd { padding: 1px 5px; border-radius: 4px; border: 1px solid #262a36; background: #1a1d26; color: #8b8fa3; font-family: var(--mota-mono); font-size: 9px; }
.pz-client-select { height: 34px; max-width: 250px; border: 1px solid #262a36; border-radius: 9px; background: #12141b; color: #d6d9e0; padding: 0 10px; outline: 0; font-size: 12px; font-weight: 800; }
.pz-top-right { margin-left: auto; display: flex; align-items: center; gap: 13px; }
.pz-status { display: inline-flex; align-items: center; gap: 8px; color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.pz-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--mota-mint); box-shadow: 0 0 8px rgba(103,214,189,.65); }
.pz-lang { display: flex; padding: 2px; border: 1px solid #262a36; border-radius: 999px; background: #12141b; }
.pz-lang button { padding: 4px 10px; border-radius: 999px; color: #8b8fa3; background: transparent; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .11em; }
.pz-lang button.on { background: rgba(232,118,74,.14); color: var(--mota-copper-bright); }
.pz-icon-btn { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: #8b8fa3; background: transparent; }
.pz-icon-btn:hover { background: #1a1d26; color: #d6d9e0; }
.pz-icon-btn i { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--mota-amber); border: 2px solid #0a0b0f; }
.pz-notifications { position: absolute; top: 48px; right: 54px; z-index: 10; width: 280px; display: none; padding: 14px; border: 1px solid #262a36; border-radius: 14px; background: #12141b; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.pz-notifications.open { display: grid; gap: 10px; }
.pz-notifications b { color: #f8f9fb; }
.pz-notifications p { padding: 10px; border-radius: 10px; background: #1a1d26; color: #d6d9e0; font-size: 12.5px; }
.pz-page { flex: 1; overflow: auto; padding: 28px 32px 48px; background: #0a0b0f; }
.pz-page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.pz-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.pz-kicker i { flex: 1; max-width: 260px; height: 1px; background: linear-gradient(90deg, #262a36, transparent); }
.pz-page-header h1 { max-width: 980px; color: #f8f9fb; font-family: var(--mota-serif); font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.03; letter-spacing: -.04em; }
.pz-page-header h1 em { color: var(--mota-copper-bright); font-style: italic; }
.pz-page-header p { max-width: 650px; margin-top: 10px; color: #8b8fa3; font-size: 13.5px; line-height: 1.55; }
.pz-actions { display: flex; align-items: center; gap: 10px; }
.pz-btn { position: relative; height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 0 16px; color: #d6d9e0; background: #1a1d26; border: 1px solid #262a36; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.pz-btn.primary { background: var(--mota-copper-bright); border-color: transparent; color: #0a0b0f; }
.pz-btn.ghost:hover, .pz-btn:hover { border-color: #2f3442; transform: translateY(-1px); }
.pz-btn-badge { min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0 6px; color: #f8f9fb; background: #0a0b0f; font-family: var(--mota-mono); font-size: 10px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pz-readonly { display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 12px; border: 1px solid rgba(103,214,189,.2); background: rgba(103,214,189,.08); color: var(--mota-mint); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pz-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.pz-kpi { position: relative; overflow: hidden; min-height: 132px; padding: 18px 20px 16px; border: 1px solid #262a36; border-radius: 14px; background: #12141b; }
.pz-kpi div { color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.pz-kpi strong { display: flex; align-items: baseline; gap: 5px; margin-top: 14px; color: #f8f9fb; font-family: var(--mota-mono); font-size: 32px; font-weight: 700; letter-spacing: -.04em; }
.pz-kpi strong small { color: var(--mota-copper-bright); font-size: 15px; }
.pz-kpi footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: #8b8fa3; font-family: var(--mota-mono); font-size: 10.5px; }
.pz-kpi footer em { font-style: normal; }
.pz-kpi footer b { font-weight: 900; }
.pz-kpi footer b.mint { color: var(--mota-copper-bright); }
.pz-kpi footer b.amber { color: var(--mota-amber); }
.pz-kpi svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34px; opacity: .6; }
.pz-kpi path { fill: none; stroke: var(--mota-copper-bright); stroke-width: 2; }
.pz-overview-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 18px; }
.pz-span { grid-column: 1 / 2; }
.pz-card { border: 1px solid #262a36; border-radius: 14px; background: #12141b; overflow: hidden; }
.pz-card > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #262a36; }
.pz-card h2, .pz-card h3 { color: #f8f9fb; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.pz-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 9px; color: #8b8fa3; background: #1a1d26; font-family: var(--mota-mono); font-size: 9.5px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.pz-pill.mint { color: var(--mota-copper-bright); background: rgba(232,118,74,.13); }
.pz-pill.amber { color: var(--mota-amber); background: rgba(243,178,75,.13); }
.pz-pill.alert { color: var(--mota-red); background: rgba(231,102,102,.12); }
.pz-priority-list { display: grid; }
.pz-priority-row { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid #262a36; }
.pz-priority-row:last-child { border-bottom: 0; }
.pz-priority-row span { color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.pz-priority-row p { color: #d6d9e0; font-size: 13.5px; line-height: 1.45; }
.pz-priority-row button { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--mota-amber); color: #0a0b0f; font-size: 11.5px; font-weight: 900; }
.pz-priority-row small { color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; text-transform: uppercase; }
.pz-side-stack { display: grid; align-content: start; gap: 18px; }
.pz-compact { padding-bottom: 16px; }
.pz-compact header { padding: 15px 18px; }
.pz-compact header span { color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; }
.pz-segments { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 16px 18px 6px; }
.pz-segments i { height: 4px; border-radius: 999px; background: #262a36; }
.pz-segments i.on { background: var(--mota-copper-bright); box-shadow: 0 0 12px rgba(232,118,74,.28); }
.pz-two-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 18px 0; }
.pz-two-mini p { padding: 11px; border: 1px solid #262a36; border-radius: 10px; background: #1a1d26; }
.pz-two-mini small { display: block; color: #5a5e72; font-family: var(--mota-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.pz-two-mini b { display: block; margin-top: 5px; color: #d6d9e0; font-size: 12px; line-height: 1.25; }
.pz-note { padding: 16px 18px 8px; color: #d6d9e0; font-size: 13.2px; line-height: 1.6; }
.pz-note b { color: #f8f9fb; }
.pz-card-foot { display: block; padding: 0 18px; color: #5a5e72; font-family: var(--mota-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }.pz-activity-row { display: grid; grid-template-columns: 60px 28px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 11px 20px; border-bottom: 1px solid #262a36; }
.pz-activity-row:last-child { border-bottom: 0; }
.pz-activity-row time { color: #5a5e72; font-family: var(--mota-mono); font-size: 11px; }
.pz-agent { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #0a0b0f; background: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 9px; font-weight: 900; }
.pz-agent.mint { background: var(--mota-copper-bright); }
.pz-agent.amber { background: var(--mota-amber); }
.pz-agent.alert { background: var(--mota-red); }
.pz-activity-row p { min-width: 0; color: #d6d9e0; font-size: 13px; }
.pz-calendar-card { padding: 0; }
.pz-calendar { display: grid; grid-template-columns: 84px repeat(7, minmax(116px, 1fr)); gap: 1px; background: #262a36; overflow: auto; }
.pz-cal-corner, .pz-cal-head, .pz-cal-lane, .pz-cal-cell { background: #12141b; }
.pz-cal-corner, .pz-cal-head { min-height: 62px; padding: 11px 12px; color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.pz-cal-head { text-align: center; }
.pz-cal-head.today { color: var(--mota-copper-bright); background: #1a1d26; }
.pz-cal-head b { display: block; margin-top: 4px; color: #f8f9fb; font-family: var(--mota-sans); font-size: 15px; letter-spacing: 0; }
.pz-cal-lane { min-height: 108px; display: grid; place-items: center; color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pz-cal-cell { min-height: 108px; padding: 8px; display: grid; align-content: start; gap: 6px; }
.pz-cal-cell.today { background: #1a1d26; }
.pz-cal-cell article { border: 1px solid #262a36; border-left: 2px solid #2f3442; border-radius: 7px; background: #1a1d26; padding: 7px 8px; }
.pz-cal-cell article.mint { border-left-color: var(--mota-copper-bright); }
.pz-cal-cell article.amber { border-left-color: var(--mota-amber); }
.pz-cal-cell time { display: block; color: #8b8fa3; font-family: var(--mota-mono); font-size: 9px; margin-bottom: 2px; }
.pz-cal-cell span { color: #d6d9e0; font-size: 11px; line-height: 1.25; }
.pz-table { width: 100%; border-collapse: collapse; }
.pz-table th { position: sticky; top: 0; z-index: 1; padding: 11px 14px; border-bottom: 1px solid #262a36; background: #12141b; color: #5a5e72; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.pz-table td { padding: 13px 14px; border-bottom: 1px solid #262a36; color: #d6d9e0; font-size: 13px; }
.pz-table tr:last-child td { border-bottom: 0; }
.pz-table b { color: #f8f9fb; }
.pz-table-count { display: block; margin-top: 5px; color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pz-client-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.pz-full { grid-column: 1 / -1; }
.pz-client-registry-card { min-width: 0; }
.pz-client-table td { vertical-align: middle; }
.pz-connector-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.pz-client-form { display: grid; gap: 12px; padding: 16px 18px 18px; }
.pz-form-intro { margin: 0; color: #8b8fa3; font-size: 12.5px; line-height: 1.55; }
.pz-client-form label { display: grid; gap: 7px; }
.pz-client-form label span { color: #5a5e72; font-family: var(--mota-mono); font-size: 9.5px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.pz-client-form input,
.pz-client-form textarea { width: 100%; border: 1px solid #262a36; border-radius: 9px; outline: 0; color: #f8f9fb; background: #0f1117; padding: 11px 12px; font-size: 12.5px; }
.pz-client-form textarea { min-height: 82px; resize: vertical; }
.pz-client-form input:focus,
.pz-client-form textarea:focus { border-color: rgba(232,118,74,.55); box-shadow: 0 0 0 3px rgba(232,118,74,.10); }
.pz-advanced-map { border: 1px solid #262a36; border-radius: 12px; background: #0f1117; }
.pz-advanced-map summary { cursor: pointer; padding: 12px 13px; color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pz-advanced-map > div,
.pz-advanced-map > label { margin: 0 13px 12px; }
.pz-form-grid { display: grid; grid-template-columns: .58fr 1fr; gap: 10px; }
.pz-form-message { border-radius: 9px; padding: 10px 12px; font-size: 12.5px; font-weight: 800; }
.pz-form-message.ok { color: var(--mota-mint); background: rgba(103,214,189,.10); border: 1px solid rgba(103,214,189,.20); }
.pz-form-message.error { color: var(--mota-red); background: rgba(231,102,102,.10); border: 1px solid rgba(231,102,102,.20); }
.pz-detected-list { display: grid; gap: 10px; padding: 16px 18px 18px; }
.pz-detected-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #262a36; border-radius: 13px; background: linear-gradient(135deg, rgba(232,118,74,.08), rgba(18,20,27,.72)); padding: 14px 15px; }
.pz-detected-card b { display: block; color: #f8f9fb; font-size: 14px; }
.pz-detected-card span { display: block; margin-top: 4px; color: #8b8fa3; font-size: 12px; }
.pz-detected-card em { flex-shrink: 0; border-radius: 999px; padding: 6px 10px; color: var(--mota-amber); background: rgba(243,178,75,.13); font-family: var(--mota-mono); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pz-detected-card em.ready { color: var(--mota-mint); background: rgba(103,214,189,.11); }
.pz-detection-empty { display: grid; gap: 7px; margin: 16px 18px 18px; border: 1px dashed rgba(232,118,74,.28); border-radius: 13px; background: rgba(232,118,74,.06); padding: 18px; }
.pz-detection-empty b { color: #f8f9fb; font-size: 14px; }
.pz-detection-empty span { color: #8b8fa3; font-size: 12.5px; line-height: 1.55; }
.pz-connection-list { display: grid; }
.pz-connection-list article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-bottom: 1px solid #262a36; }
.pz-connection-list article:last-child { border-bottom: 0; }
.pz-connection-list b { display: block; color: #f8f9fb; font-size: 13px; }
.pz-connection-list span { display: block; margin-top: 4px; color: #8b8fa3; font-size: 12px; }
.pz-connection-list em { flex-shrink: 0; border-radius: 999px; padding: 5px 9px; color: var(--mota-amber); background: rgba(243,178,75,.13); font-family: var(--mota-mono); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pz-connection-list article.ok em { color: var(--mota-copper-bright); background: rgba(232,118,74,.13); }
.pz-sync-stack { display: grid; gap: 10px; padding: 16px 18px 18px; }
.pz-sync-stack button { height: 34px; border-radius: 999px; color: #8b8fa3; background: #1a1d26; border: 1px solid #262a36; font-family: var(--mota-mono); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pz-sync-stack small { color: #8b8fa3; font-size: 12px; line-height: 1.45; }
.pz-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-top: 1px solid #262a36; background: #0f1117; }
.pz-page-size, .pz-page-buttons { display: flex; align-items: center; gap: 8px; }
.pz-page-size span, .pz-page-status { color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pz-page-size select { height: 32px; min-width: 72px; border: 1px solid #262a36; border-radius: 8px; outline: 0; color: #f8f9fb; background: #1a1d26; padding: 0 10px; font-family: var(--mota-mono); font-size: 11px; font-weight: 900; }
.pz-page-btn { height: 32px; min-width: 92px; border: 1px solid #262a36; border-radius: 999px; color: #d6d9e0; background: #1a1d26; font-size: 11.5px; font-weight: 900; }
.pz-page-btn:hover:not(:disabled) { border-color: var(--mota-copper-bright); color: var(--mota-copper-bright); transform: translateY(-1px); }
.pz-page-btn:disabled { cursor: not-allowed; opacity: .42; }
.pz-analytics-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; }
.pz-pipeline { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; overflow: auto; }
.pz-pipe-col { min-height: 360px; border: 1px solid #262a36; border-radius: 12px; background: #12141b; padding: 14px; }
.pz-pipe-col header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pz-pipe-col header b { color: #8b8fa3; font-family: var(--mota-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pz-pipe-col header span { padding: 2px 8px; border-radius: 999px; background: #1a1d26; color: #f8f9fb; font-family: var(--mota-mono); font-size: 11px; }
.pz-pipe-col.won header b { color: var(--mota-mint); }
.pz-pipe-col article { margin-bottom: 9px; padding: 12px; border: 1px solid #262a36; border-radius: 9px; background: #1a1d26; }
.pz-pipe-col article strong { display: block; color: #f8f9fb; font-size: 13px; }
.pz-pipe-col article small { display: block; margin-top: 4px; color: var(--mota-mint); font-family: var(--mota-mono); font-size: 10px; }
.pz-pipe-col article i { display: block; height: 3px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #262a36; }
.pz-pipe-col article em { display: block; height: 100%; background: var(--mota-copper-bright); }
.pz-leads-card { margin-top: 18px; }
.pz-error-main { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 78% 18%, rgba(232,118,74,.12), transparent 34%), #0a0b0f; }
.pz-state-error { width: min(100%, 620px); display: grid; gap: 18px; border: 1px solid #262a36; border-radius: 18px; background: #12141b; padding: clamp(24px, 5vw, 42px); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.pz-state-error .pz-brand { padding: 0 0 8px; border-bottom: 1px solid #262a36; }
.pz-state-error h1 { color: #f8f9fb; font-family: var(--mota-serif); font-size: clamp(34px, 5vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.pz-state-error p { color: #8b8fa3; max-width: 520px; line-height: 1.6; }
.pz-state-error code { display: block; padding: 13px 14px; border: 1px solid #262a36; border-radius: 10px; background: #0a0b0f; color: var(--mota-copper-bright); font-family: var(--mota-mono); font-size: 12px; white-space: pre-wrap; }
.pz-state-error .pz-btn { width: fit-content; }

@media (max-width: 1180px) {
  .pz-app { grid-template-columns: 220px minmax(0,1fr); }
  .pz-kpis { grid-template-columns: repeat(2, 1fr); }
  .pz-overview-grid, .pz-analytics-grid, .pz-client-admin-grid { grid-template-columns: 1fr; }
  .pz-span { grid-column: auto; }
  .pz-topbar { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .pz-search { order: 5; width: 100%; max-width: none; margin-left: 0; }
}
@media (max-width: 760px) {
  .pz-dashboard-body { overflow: auto; }
  .pz-app { height: auto; min-height: 100vh; grid-template-columns: 1fr; }
  .pz-sidebar { min-height: auto; }
  .pz-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pz-account { display: none; }
  .pz-page { padding: 20px 16px 34px; }
  .pz-page-header { display: grid; }
  .pz-page-header h1 { font-size: clamp(32px, 11vw, 44px); }
  .pz-kpis, .pz-two-mini { grid-template-columns: 1fr; }
  .pz-pipeline { grid-template-columns: 1fr; }
  .pz-calendar { grid-template-columns: 74px repeat(7, 116px); }
  .pz-pagination { align-items: stretch; flex-direction: column; }
  .pz-page-size, .pz-page-buttons { justify-content: space-between; }
  .pz-page-btn { flex: 1; }
}
