/* Data Inc. mobile: a compact touch interface for the existing workspace. */
:root {
  color-scheme: dark;
  --mi-bg: #080e16;
  --mi-panel: #111b27;
  --mi-panel-raised: #182533;
  --mi-line: #253342;
  --mi-text: #f1f7fb;
  --mi-muted: #a0b1c1;
  --mi-cyan: #00e5ff;
  --mi-green: #8de3bf;
  --mi-gold: #f7cf87;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #05090f;
  color: var(--mi-text);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100vh; min-height: 100dvh; background: radial-gradient(ellipse at 50% 0, #142738 0, #05090f 65%); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, select { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .48; }
button, a, select, input, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--mi-cyan); }
a { color: var(--mi-cyan); text-underline-offset: 4px; }
button { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
strong { font-weight: 650; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: #00e5ff38; color: white; }
.mi-app { position: relative; width: 100%; max-width: 560px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--mi-bg); padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 0 100px #0005; overflow-wrap: anywhere; }
.mi-header { padding: calc(26px + env(safe-area-inset-top, 0px)) 24px 20px; background: linear-gradient(160deg, #111e2b 0, var(--mi-bg) 85%); }
.mi-brand, .mi-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mi-brand { justify-content: flex-start; font-size: 18px; font-weight: 700; letter-spacing: -.5px; }
.mi-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mi-brand { color: var(--mi-text); text-decoration: none; font-size: 24px; }
.mi-brand-accent, .mi-auth h1 span { color: var(--mi-cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mi-status-demo { padding: 8px 24px; justify-content: space-between; background: #312a1e; }
.mi-status-demo button, .mi-section-head > button { background: transparent; border: 0; color: inherit; font-size: 12px; min-height: 44px; padding: 8px 4px; }
.mi-section-head > button { color: var(--mi-cyan); display: inline-flex; align-items: center; gap: 4px; }
.mi-section-head > button .mi-icon { width: 16px; }
.mi-search { display: flex; align-items: center; gap: 10px; }
.mi-search input { width: 100%; min-width: 0; background: transparent; border: 0; color: var(--mi-text); font-size: 16px; min-height: 24px; }
.mi-hero .mi-topline:last-child { font-size: 11px; color: #bbd9e1; margin-top: 24px; gap: 8px; }
.mi-hero .mi-topline:last-child .mi-icon { width: 14px; height: 14px; }
.mi-auth > .mi-button { width: 100%; margin-top: 16px; }
.mi-auth > .mi-note { text-align: center; }
.mi-note .mi-icon { width: 15px; height: 15px; margin-right: 5px; }
.mi-card .mi-usage { margin-top: 18px; padding: 14px; }
.mi-sync { text-align: center; }
.mi-brand img, .mi-logo { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; object-fit: contain; }
.mi-logo { color: var(--mi-cyan); display: grid; place-items: center; background: #00e5ff0c; border: 1px solid #00e5ff26; }
.mi-eyebrow { font-size: 10px; font-weight: 700; color: var(--mi-muted); letter-spacing: 2px; text-transform: uppercase; line-height: 1.6; }
.mi-avatar { display: grid; place-items: center; width: 42px; height: 42px; min-width: 42px; border-radius: 50%; background: #203545; border: 1px solid #365064; color: #d8f8ff; font-size: 12px; font-weight: 700; }
button.mi-avatar { min-width: 44px; min-height: 44px; }
.mi-title { font-size: clamp(28px, 7.7vw, 36px); line-height: 1.12; letter-spacing: -1.35px; font-weight: 650; margin-top: 26px; }
.mi-subtitle { color: var(--mi-muted); font-size: 14px; line-height: 1.65; margin-top: 10px; }
.mi-content { padding: 4px 24px 24px; }
.mi-content > * + * { margin-top: 22px; }
.mi-status { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: #a6c7d5; padding: 8px 0 0; line-height: 1.5; }
.mi-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: 0 0 6px; background: var(--mi-green); box-shadow: 0 0 0 4px #8de3bf0d; }
.mi-status-demo { color: var(--mi-gold); }
.mi-status-demo::before { background: var(--mi-gold); box-shadow: none; }
.mi-notice, .mi-banner { color: #d4f5fb; background: #0f2c39; padding: 14px 16px; border: 1px solid #245060; border-radius: 14px; font-size: 13px; line-height: 1.6; }
.mi-notice-error { background: #3b222a; border-color: #74404c; color: #ffdce2; }
.mi-banner { max-width: 512px; margin: 16px auto; }
.mi-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mi-toolbar .mi-select { flex: 1; min-width: 0; }
.mi-select, .mi-search, .mi-field input, .mi-field select, .mi-field textarea, .mi-form input, .mi-form select, .mi-form textarea { width: 100%; min-height: 48px; background: #111c29; border: 1px solid #2a3a4b; color: var(--mi-text); border-radius: 12px; padding: 12px 14px; font-size: 16px; line-height: 1.4; }
.mi-select { padding-right: 28px; }
input::placeholder, textarea::placeholder { color: #8fa1b4; opacity: 1; }
.mi-field textarea, .mi-form textarea { min-height: 144px; resize: vertical; }
.mi-button, .mi-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 1px solid #304354; border-radius: 12px; padding: 12px 18px; background: #1a2a38; color: var(--mi-text); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .15s ease, transform .15s ease; }
.mi-button-primary { background: var(--mi-cyan); color: #05202b; border-color: transparent; font-weight: 750; box-shadow: 0 4px 20px #00e5ff10; }
.mi-button-quiet { border-color: transparent; background: transparent; color: #b6d1df; }
.mi-icon-button { width: 48px; padding: 0; flex: 0 0 48px; }
.mi-button:active:not(:disabled), .mi-icon-button:active:not(:disabled) { transform: scale(.97); }
.mi-icon { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.mi-tabs { position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; justify-content: space-around; width: 100%; max-width: 560px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: #101a27f5; border-top: 1px solid #263747; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.mi-tab { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 6px; min-height: 54px; border: 0; background: transparent; color: #90a4b6; border-radius: 12px; font-size: 10px; font-weight: 600; text-decoration: none; letter-spacing: .1px; }
.mi-tab.is-active, .mi-tab[aria-current="page"], .mi-tab[aria-selected="true"] { color: var(--mi-cyan); background: #00e5ff0a; }
.mi-tab .mi-icon { width: 23px; height: 23px; }
.mi-hero { position: relative; overflow: hidden; padding: 24px; background: linear-gradient(125deg, #164452, #11313e 55%, #132331); border: 1px solid #286071; border-radius: 24px; box-shadow: inset 0 1px 0 #b2f4ff0b; }
.mi-hero::after { content: ""; position: absolute; pointer-events: none; right: -48px; top: -60px; width: 200px; height: 200px; border: 1px solid #6beaff12; border-radius: 50%; box-shadow: 0 0 0 24px #6beaff06, 0 0 0 49px #6beaff04; }
.mi-hero > * { position: relative; z-index: 1; }
.mi-hero .mi-eyebrow { color: #bbdce4; }
.mi-hero-value { font-size: clamp(42px, 13vw, 62px); font-weight: 650; letter-spacing: -2.8px; line-height: 1.1; margin: 18px 0 10px; font-variant-numeric: tabular-nums; }
.mi-hero p { line-height: 1.6; color: #bbd9e1; font-size: 13px; }
.mi-hero .mi-button { margin-top: 22px; width: 100%; background: #00e5ff; color: #07313d; border: 0; }
.mi-pill { display: inline-flex; align-items: center; gap: 6px; background: #07182055; border: 1px solid #a5f5ff26; border-radius: 100px; padding: 6px 10px; color: #bdebf1; font-size: 10px; font-weight: 650; letter-spacing: .4px; line-height: 1.4; }
.mi-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mi-metric { background: var(--mi-panel); border: 1px solid var(--mi-line); border-radius: 18px; padding: 18px; }
.mi-metric > .mi-icon { color: #87b8c8; margin-bottom: 15px; }
.mi-metric strong { display: block; font-size: 27px; letter-spacing: -1px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.mi-metric span, .mi-metric p, .mi-metric small { display: block; font-size: 11px; color: var(--mi-muted); line-height: 1.5; margin-top: 5px; }
.mi-metric .mi-eyebrow { font-size: 10px; letter-spacing: 1px; }
.mi-card { padding: 20px; border: 1px solid var(--mi-line); border-radius: 20px; background: var(--mi-panel); }
.mi-card h2, .mi-section-head h2 { font-size: 17px; line-height: 1.4; letter-spacing: -.35px; font-weight: 650; }
.mi-card h3 { font-size: 14px; line-height: 1.5; }
.mi-card > p { font-size: 13px; line-height: 1.65; color: var(--mi-muted); margin-top: 8px; }
.mi-card > .mi-button { margin-top: 16px; }
.mi-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mi-section-head .mi-button { padding: 8px; min-height: 44px; font-size: 12px; }
.mi-section-head small, .mi-section-head > span { font-size: 11px; color: var(--mi-muted); }
.mi-list { border: 1px solid var(--mi-line); border-radius: 18px; background: var(--mi-panel); overflow: hidden; }
.mi-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 80px; padding: 16px; text-align: left; background: transparent; border: 0; color: var(--mi-text); text-decoration: none; }
.mi-row + .mi-row { border-top: 1px solid #243241; }
button.mi-row:active, a.mi-row:active { background: #1a2d3c; }
.mi-row-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #00e5ff0c; color: #86e1ef; font-size: 14px; font-weight: 700; }
.mi-row-icon .mi-icon { width: 19px; height: 19px; }
.mi-row-main { flex: 1; min-width: 0; }
.mi-row-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.55; letter-spacing: -.1px; }
.mi-row-meta { display: block; margin-top: 5px; font-size: 11px; color: var(--mi-muted); line-height: 1.55; }
.mi-row-end { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; max-width: 34%; font-size: 12px; font-variant-numeric: tabular-nums; }
.mi-row-end > .mi-icon { width: 16px; height: 16px; color: #6e879a; }
.mi-badge { display: inline-block; border-radius: 6px; padding: 4px 7px; font-size: 9px; font-weight: 650; line-height: 1.4; letter-spacing: .2px; color: #b1c1d0; background: #263748; text-transform: capitalize; }
.mi-badge-draft { background: #303348; color: #c7c6ef; }
.mi-badge-sent, .mi-badge-delivered { background: #183c36; color: #99e2c6; }
.mi-badge-failed, .mi-badge-review_needed { background: #472d32; color: #ffc4c9; }
.mi-badge-scheduled, .mi-badge-queued, .mi-badge-prepared { background: #3e3527; color: #efcd93; }
.mi-empty { padding: 38px 20px; border: 1px dashed #304354; border-radius: 18px; text-align: center; color: #a8bbcb; font-size: 13px; line-height: 1.8; }
.mi-empty .mi-icon { display: block; width: 32px; height: 32px; margin: 0 auto 14px; color: #78a8b8; }
.mi-search { -webkit-appearance: none; appearance: none; background-color: var(--mi-panel); padding-left: 16px; }
.mi-field { display: block; }
.mi-field label, label.mi-field, .mi-form label { color: #c1d1dd; font-size: 12px; font-weight: 600; line-height: 1.5; }
.mi-field input, .mi-field select, .mi-field textarea { display: block; margin-top: 8px; }
.mi-form { display: grid; gap: 18px; }
.mi-form > .mi-button { width: 100%; }
.mi-auth { padding: calc(56px + env(safe-area-inset-top, 0px)) 28px 32px; }
.mi-auth-mark { width: 68px; height: 68px; display: grid; place-items: center; border: 1px solid #244957; border-radius: 22px; color: var(--mi-cyan); background: linear-gradient(135deg, #143e4a, #111c2a); margin-bottom: 30px; box-shadow: 0 20px 60px #00e5ff0c; overflow: hidden; }
.mi-auth-mark img { width: 68px; height: 68px; }
.mi-auth-mark .mi-icon { width: 32px; height: 32px; }
.mi-auth .mi-title { margin-top: 12px; font-size: 38px; letter-spacing: -1.4px; }
.mi-auth .mi-subtitle { margin-top: 16px; }
.mi-auth .mi-form { margin-top: 30px; }
.mi-auth .mi-segmented { margin-top: 28px; }
.mi-auth .mi-notice { margin: 22px 0; }
.mi-segmented { display: flex; align-items: stretch; gap: 4px; padding: 4px; background: #131f2c; border: 1px solid #263747; border-radius: 13px; }
.mi-segmented button { flex: 1; min-width: 0; border: 0; border-radius: 9px; min-height: 44px; background: transparent; color: #a6b8c8; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.mi-segmented button.is-active, .mi-segmented button[aria-pressed="true"] { background: #2a3b4b; color: #fff; box-shadow: 0 2px 8px #0002; }
.mi-note, .mi-muted { color: var(--mi-muted); font-size: 12px; line-height: 1.7; }
.mi-note { margin-top: 16px; }
.mi-login-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mi-login-links > * { min-height: 44px; display: inline-flex; align-items: center; padding: 8px; font-size: 12px; }
.mi-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; padding: 8px 0; cursor: pointer; }
.mi-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mi-cyan); flex-shrink: 0; }
.mi-check small { color: var(--mi-muted); font-size: 12px; }
.mi-note a { text-decoration: underline; text-underline-offset: 3px; }
.mi-legal { padding: 36px 24px 64px; line-height: 1.8; }
.mi-legal h1 { font-size: 34px; letter-spacing: -1px; line-height: 1.2; margin: 28px 0 18px; }
.mi-legal h2 { font-size: 21px; margin: 28px 0 10px; }
.mi-legal p, .mi-legal li { color: var(--mi-muted); font-size: 15px; }
.mi-legal p + p { margin-top: 14px; }
.mi-legal ul, .mi-legal ol { padding-left: 22px; }
.mi-legal li { margin: 9px 0; }
.mi-legal a { color: var(--mi-cyan); text-decoration: underline; text-underline-offset: 3px; }
.mi-legal .mi-button { text-decoration: none; margin-top: 20px; }
.mi-skeleton { border-radius: 12px; min-height: 72px; background: linear-gradient(100deg, #111b27 20%, #203343 48%, #111b27 75%); background-size: 250% 100%; animation: mi-shimmer 1.8s ease-in-out infinite; }
.mi-detail > * + * { margin-top: 20px; }
.mi-detail h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.7px; }
.mi-kv { display: grid; grid-template-columns: minmax(80px, .8fr) minmax(0, 1.5fr); gap: 12px; padding: 13px 0; font-size: 13px; line-height: 1.6; }
.mi-kv + .mi-kv { border-top: 1px solid var(--mi-line); }
.mi-kv > :first-child { color: var(--mi-muted); }
.mi-kv > :last-child { text-align: right; }
.mi-usage { background: var(--mi-panel); border: 1px solid var(--mi-line); border-radius: 18px; padding: 20px; }
.mi-usage-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.mi-usage-heading strong { color: var(--mi-text); }
.mi-usage-heading span { color: var(--mi-muted); font-size: 11px; }
.mi-usage p { font-size: 12px; line-height: 1.65; color: var(--mi-muted); margin-top: 9px; }
.mi-usage strong { font-variant-numeric: tabular-nums; }
.mi-progress, progress { display: block; width: 100%; height: 6px; border: none; border-radius: 10px; overflow: hidden; background: #263a4a; color: var(--mi-cyan); accent-color: var(--mi-cyan); margin: 14px 0; }
.mi-progress > span { display: block; height: 100%; background: var(--mi-cyan); border-radius: inherit; }
progress::-webkit-progress-bar { background: #263a4a; border-radius: 10px; }
progress::-webkit-progress-value { background: var(--mi-cyan); border-radius: 10px; }
progress::-moz-progress-bar { background: var(--mi-cyan); border-radius: 10px; }
.mi-usage .em-usage { display: grid; gap: 16px; }
.em-usage-meter { padding: 16px 0; border-bottom: 1px solid var(--mi-line); }
.em-usage-meter:last-child { border-bottom: 0; }
.em-usage-limit { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.em-usage-limit h3 { font-size: 13px; }
.em-usage-limit span, .em-usage-status { color: var(--mi-muted); font-size: 11px; }
.em-usage-value strong { font-size: 26px; margin-right: 9px; color: var(--mi-text); }
.em-usage-value span { font-size: 11px; }
.is-over-limit .em-usage-status, .is-at-limit .em-usage-status { color: var(--mi-gold); }
@keyframes mi-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (min-width: 600px) {
  .mi-app { border-left: 1px solid #253747; border-right: 1px solid #253747; }
  .mi-header { padding-top: 36px; }
  .mi-content { padding-left: 28px; padding-right: 28px; }
  .mi-tabs { border-left: 1px solid #253747; border-right: 1px solid #253747; }
}
@media (max-width: 359px) {
  .mi-header { padding-left: 18px; padding-right: 18px; }
  .mi-content { padding-left: 16px; padding-right: 16px; }
  .mi-auth { padding-left: 20px; padding-right: 20px; }
  .mi-auth .mi-title { font-size: 32px; }
  .mi-metric { padding: 14px; }
  .mi-row { padding: 13px; gap: 9px; }
  .mi-row-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.mi-review-banner{position:sticky;top:0;z-index:25;margin:0;padding:13px 20px;background:#fff3cd;color:#533f00;border-bottom:1px solid #d9be61;font-size:13px;line-height:1.6;text-align:center}.mi-review-banner strong{font-weight:700}
.mi-button-secondary{background:transparent;color:#00e5ff;border:1px solid #00e5ff70}.mi-button-danger{background:#a32b35;color:#fff;border-color:#a32b35}.mi-account-privacy{margin-top:24px}.mi-account-privacy .mi-form{margin-top:20px}

/* Connected tools share the live website workspace. */
.mi-list a.mi-row { color: inherit; text-decoration: none; }
.mi-install-help { margin-top: 24px; border: 1px solid #294353; border-radius: 14px; padding: 14px 16px; font-size: 1rem; line-height: 1.6; }
.mi-install-help summary { cursor: pointer; color: var(--mi-cyan); min-height: 28px; }
.mi-install-help p { margin: 12px 0 0; color: var(--mi-muted); }
