:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  font-synthesis: none;
  color: #211827;
  background: #f7f5f8;
  --ink: #211827;
  --deep: #1d1425;
  --deep-soft: #2a1b35;
  --violet: #6928b8; /* avoid-ai-design-ignore: C2 — requested ProsperTá brand color. */
  --violet-dark: #4e1d88;
  --violet-pale: #f0e9f7;
  --muted: #675e6d;
  --line: #ded8e2;
  --paper: #fff;
  --surface: #f7f5f8;
  --radius: 6px;
  --serif: Georgia, "Times New Roman", serif;
}
/* avoid-ai-design-ignore-file: C2 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--surface); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: wait; }
a { color: var(--violet-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
:focus-visible { outline: 3px solid #874bc4; outline-offset: 3px; }
input, select { outline: none; }
input:focus-visible, select:focus-visible { border-color: var(--violet) !important; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.live-dot { display: inline-block; flex: none; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #7c44b5; vertical-align: 1px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border: 1px solid transparent; border-radius: 8px; font-weight: 650; text-decoration: none; transition: background-color .24s ease, border-color .24s ease, color .24s ease, box-shadow .24s ease; }
.button-arrow { display: inline-block; font-size: 17px; font-weight: 400; line-height: 1; }
.button:active { transform: scale(.985); }
.button.primary { background: var(--violet); color: white; box-shadow: 0 2px 5px #3d17601f; }
.button.primary:hover { background: var(--violet-dark); box-shadow: 0 4px 11px #3d17602b; }
.button.secondary { border-color: #d1c3de; background: var(--violet-pale); color: var(--violet-dark); }
.button.secondary:hover { border-color: #a88ac4; background: #e9ddf2; }
.button.outline, .button.more { border-color: #c9c1cf; background: white; color: var(--violet-dark); }
.button.outline:hover, .button.more:hover { border-color: var(--violet); background: var(--violet-pale); }
.button.full { width: 100%; }
.text-button { min-height: 40px; padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; transition: background-color .18s, border-color .18s, color .18s; }
.text-button:hover { border-color: var(--line); background: white; color: var(--violet-dark); }
.icon-button { min-height: 38px; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: inherit; font-size: 12px; font-weight: 650; }
.icon-button:hover { border-color: currentColor; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: min(420px, calc(100vw - 40px)); padding: 14px 18px; border: 1px solid #5c4968; border-radius: var(--radius); background: var(--deep); color: white; opacity: 0; pointer-events: none; transition: opacity .18s; }
.toast.show { opacity: 1; }

/* Login: a restrained editorial split between the product and the access form. */
.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); background: #fbfafc; }
.login-visual { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; padding: clamp(30px, 5.2vw, 76px); background: var(--deep); color: white; }
.brand-lockup { display: flex; align-items: center; gap: 15px; }
.brand-logo { display: block; height: auto; object-fit: contain; background: white; border-radius: 3px; }
.login-brand-logo { width: 132px; }
.product-name { color: white; font-size: 27px; font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.product-name small { display: block; margin-top: 6px; color: #d7c5e6; font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.login-copy { max-width: 680px; }
.eyebrow { margin: 0 0 15px; color: var(--violet-dark); font-size: 10px; font-weight: 750; letter-spacing: .14em; line-height: 1.5; }
.eyebrow span { padding: 0 5px; color: #9a87a6; }
.login-copy .eyebrow { color: #cbb1e4; }
.login-copy h1 { max-width: 650px; margin: 0 0 19px; color: white; font-family: var(--serif); font-size: clamp(46px, 5.2vw, 76px); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
.login-copy > p:not(.eyebrow) { max-width: 500px; margin: 0 0 38px; color: #e0d9e6; font-size: 15px; line-height: 1.65; }
.searchable-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 32px; max-width: 550px; margin: 0; padding-top: 22px; border-top: 1px solid #51415c; }
.searchable-fields div { min-width: 0; }
.searchable-fields dt { margin-bottom: 6px; color: white; font-size: 12px; font-weight: 700; }
.searchable-fields dd { margin: 0; color: #d0c6d8; font-size: 12px; line-height: 1.45; }
.login-foot { margin: 0; color: #d0c6d8; font-size: 11px; letter-spacing: .04em; }
.login-panel { display: grid; place-items: center; padding: clamp(30px, 6vw, 92px); background: #fbfafc; }
.login-form-wrap { width: min(100%, 420px); }
.mobile-brand { display: none; }
.login-form-wrap h2 { margin: 0 0 9px; font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
.login-form-wrap > .muted { max-width: 350px; margin-bottom: 30px; font-size: 14px; line-height: 1.6; }
.stack { display: grid; gap: 18px; }
.stack label, .user-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; }
.stack input, .user-form input, .user-form select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #c9c1cf; border-radius: 4px; background: white; color: var(--ink); }
.stack input::placeholder, .user-form input::placeholder { color: #77707e; opacity: 1; }
.stack button { margin-top: 4px; min-height: 50px; }
.login-help { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.login-switch { margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.link-button { padding: 0; border: 0; background: none; color: var(--violet-dark); font-size: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.signup-wrap { width: min(100%, 590px); }
.signup-wrap h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 36px; font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
.signup-wrap > .muted { max-width: 450px; margin: 0 0 17px; font-size: 12px; line-height: 1.5; }
.signup-form { gap: 11px; }
.signup-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0 0 4px; padding: 0; border: 0; }
.signup-plans legend { grid-column: 1 / -1; margin-bottom: 0; color: var(--ink); font-size: 11px; font-weight: 750; }
.signup-plan { position: relative; display: flex !important; align-items: flex-start; gap: 12px !important; min-width: 0; padding: 11px 13px; border: 1px solid #ded6e4; border-radius: 8px; background: white; cursor: pointer; transition: border-color .16s, background-color .16s, box-shadow .16s; }
.signup-plan-selected, .signup-plan:has(input:checked) { border-color: #a87bca; background: #faf7fd; box-shadow: 0 0 0 2px #6928b80c; }
.signup-plan-disabled { align-items: flex-start !important; cursor: default; background: #f8f7f9; }
.signup-plan-disabled input { pointer-events: none; }
.signup-plan input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.signup-plan:focus-within { outline: 3px solid #874bc4; outline-offset: 2px; }
.signup-radio { position: relative; flex: none; width: 16px; height: 16px; margin-top: 2px; border: 1px solid #aea2b7; border-radius: 50%; }
.signup-plan-selected .signup-radio::after, .signup-plan:has(input:checked) .signup-radio::after { position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); content: ""; }
.signup-plan-copy { display: grid; gap: 4px; min-width: 0; }
.signup-plan-copy strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: var(--ink); font-size: 11px; font-weight: 750; }
.signup-plan-copy small { color: var(--muted); font-size: 10px; font-weight: 450; line-height: 1.45; }
.signup-plan-copy strong em { padding: 3px 6px; border-radius: 999px; background: #eee9f1; color: #6f6674; font-size: 8px; font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.signup-plan-copy strong em { color: #fff; background: #6b2db7; }
.signup-plan-disabled .signup-plan-copy strong em { color: #665d6c; background: #eee9f1; }
.signup-form > label { display: grid; gap: 6px; font-size: 11px; font-weight: 700; }
.signup-form input:not([type="radio"]) { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #c9c1cf; border-radius: 5px; background: white; color: var(--ink); font-weight: 400; }
.signup-form input::placeholder { color: #77707e; opacity: 1; }
.signup-form button { min-height: 46px; margin-top: 4px; }
.signup-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.upgrade-wrap { width: min(100%, 500px); }
.upgrade-wrap h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.04em; }
.upgrade-wrap > .muted { margin: 0 0 16px; font-size: 12px; line-height: 1.55; }
.upgrade-plan-list { display: grid; gap: 8px; margin: 16px 0 10px; }
.upgrade-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; border: 1px solid #ded6e4; border-radius: 7px; background: #fff; }
.upgrade-plan-featured { border-color: #b99bd2; background: #faf7fd; }
.upgrade-plan > div { display: grid; gap: 4px; min-width: 0; }
.upgrade-plan strong { color: var(--ink); font-size: 12px; }
.upgrade-price { color: var(--violet-dark); font-size: 12px; font-weight: 750; }
.upgrade-price small { color: var(--muted); font-size: 10px; font-weight: 500; }
.upgrade-plan p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.upgrade-status { flex: none; color: var(--muted); font-size: 9px; font-weight: 700; text-align: right; }
.upgrade-plan-featured .button { flex: none; min-height: 40px; padding: 8px 12px; font-size: 10px; }
.upgrade-plan-featured .button:disabled { background: #eee9f1; color: #665d6c; box-shadow: none; opacity: 1; cursor: not-allowed; }
.upgrade-wrap > .button { margin-top: 14px; }
.trial-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px clamp(17px, 3.5vw, 42px); border-bottom: 1px solid #e2d8eb; background: #f0e9f7; color: #4e1d88; font-size: 11px; font-weight: 650; line-height: 1.5; }
.trial-banner .button { min-height: 32px; padding: 5px 10px; font-size: 10px; white-space: nowrap; }
.trial-banner .button:disabled { cursor: not-allowed; }
.trial-banner.trial-ending { border-color: #ead9b9; background: #fff8ec; color: #795a25; }
.trial-banner.trial-expired { border-color: #f0d9dc; background: #fff5f5; color: #963943; }

@media (max-width: 560px) {
  .signup-plans { grid-template-columns: 1fr; }
  .upgrade-plan { align-items: flex-start; }
  .trial-banner { align-items: flex-start; flex-direction: column; }
}

/* Workspace navigation, with a strong frame and a quiet document canvas. */
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: sticky; top: 0; z-index: 12; display: flex; flex: 0 0 258px; flex-direction: column; height: 100vh; padding: 19px 15px 16px; overflow: auto; border-right: 1px solid #33253c; background: var(--deep); color: white; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; min-height: 77px; padding: 0 2px 15px; border-bottom: 1px solid #493951; }
.sidebar-brand-lockup { gap: 10px; }
.sidebar-brand-logo { width: 80px; border-radius: 5px; }
.sidebar .product-name { font-size: 21px; }
.sidebar .product-name small { max-width: none; margin-top: 5px; font-size: 7px; letter-spacing: .11em; line-height: 1.3; white-space: nowrap; }
.sidebar nav { display: grid; gap: 4px; padding-top: 21px; }
.sidebar-section-label { margin: 0 0 7px 11px; color: #a99bb2; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 45px; width: 100%; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #d8cedf; font-size: 12px; font-weight: 550; text-align: left; transition: background-color .18s, color .18s, border-color .18s; }
.nav-icon { display: block; flex: none; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.nav-item:hover { background: #292031; color: white; }
.nav-item.active { border-color: #4a3856; background: #30243a; color: white; }
.nav-item.active::before { position: absolute; top: 10px; bottom: 10px; left: -1px; width: 2px; border-radius: 2px; background: #bd8ce8; content: ""; }
.nav-item.active .nav-icon { color: #d7b4f4; opacity: 1; }
.sidebar-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid #493951; }
.dataset-card { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 3px 5px 15px; }
.dataset-indicator { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #64c78b; box-shadow: 0 0 0 4px #64c78b1c; }
.dataset-card div { min-width: 0; }
.dataset-card strong, .dataset-card div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dataset-card strong { color: #f1ebf4; font-size: 11px; font-weight: 650; }
.dataset-card div span { margin-top: 3px; color: #cfc5d5; font-size: 10px; font-variant-numeric: tabular-nums; }
.profile { display: flex; align-items: center; gap: 10px; padding-top: 13px; border-top: 1px solid #493951; }
.avatar { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border: 1px solid #725d82; border-radius: 9px; background: #33243e; color: white; font-size: 12px; font-weight: 700; }
.profile-text { min-width: 0; flex: 1; }
.profile-text strong, .profile-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-text strong { font-size: 12px; }
.profile-text span { margin-top: 3px; color: #cfc5d5; font-size: 10px; }
.logout-button { display: grid; flex: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #cfc5d5; }
.logout-button:hover { border-color: #584560; background: #30243a; color: white; }
.logout-button svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.content { min-width: 0; flex: 1; }
.topbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4.2vw, 66px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumb strong { color: var(--deep); font-size: 14px; }
.topbar-caption { color: #756b7b; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.topbar-caption span { padding: 0 7px; color: #ad9db6; }
.page { width: min(100%, 1500px); margin: 0 auto; padding: 48px clamp(26px, 5vw, 74px) 90px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.intro-copy { max-width: 800px; }
.page-intro .eyebrow { margin-bottom: 12px; }
.page-intro h1 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.title-period { color: var(--violet); }
.page-intro p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.quick-start { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 46px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-start-intro { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.quick-start-actions { display: flex; flex: 1; flex-wrap: wrap; gap: 7px; }
.quick-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px 11px; border: 1px solid #e1d9e7; border-radius: 999px; background: #fff; color: #4e1d88; font-size: 11px; font-weight: 650; text-align: left; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.quick-button svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.quick-button:hover { border-color: #b99bd0; background: #f5eff9; color: #41166f; box-shadow: 0 2px 6px #30203d0d; }
.quick-button:active { background: #ece1f4; }
.quick-symbol { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; font-size: 7px; font-weight: 750; letter-spacing: -.06em; }
.search-builder { padding: 25px 27px 27px; border: 1px solid #e3d7ed; border-radius: 14px; background: #f0e9f7; }
.search-builder .filter-section-heading { margin-bottom: 16px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 16px; }
.section-heading h2 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.035em; }
.filter-section-heading h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.045em; }
.filter-section-heading .eyebrow, .result-head .eyebrow { margin-bottom: 5px; }
.hint { max-width: 520px; margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.filter-section-heading .hint b { color: var(--violet-dark); font-weight: 750; }
.filter-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.filter-guide b { display: inline-block; margin-right: 4px; padding: 3px 6px; border: 1px solid #e4daeb; border-radius: 999px; background: #fff; color: var(--violet-dark); font-size: 8px; letter-spacing: .08em; }
.filter-guide span:last-child { margin-left: auto; color: #766c7b; font-variant-numeric: tabular-nums; }
.filter-groups { --group-rail: clamp(150px, 18vw, 218px); display: grid; border-bottom: 1px solid #d8d1dd; }
.filter-group { display: grid; grid-template-columns: var(--group-rail) minmax(0,1fr); gap: 0 24px; margin: 0; padding: 22px 0 20px; border-top: 1px solid #d8d1dd; }
.group-join { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: 100%; height: 32px; margin: 0; padding-left: calc(var(--group-rail) + 24px); color: var(--violet-dark); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.group-join span { width: 100%; height: 1px; background: #d8d1dd; }
.group-join b { font-weight: 800; }
.group-head { grid-column: 1; grid-row: 1 / span 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; align-items: start; gap: 8px; margin: 0; }
.group-heading { display: grid; min-width: 0; gap: 8px; }
.group-copy { display: grid; min-width: 0; gap: 5px; }
.group-index { color: var(--violet-dark); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.group-title { color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: -.02em; }
.group-description { color: var(--muted); font-size: 10px; line-height: 1.45; }
.rule-remove { display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; align-self: start; margin-top: 6px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #b42336; font-size: 19px; font-weight: 500; line-height: 1; transition: border-color .16s, background-color .16s, color .16s; }
.rule-remove:hover, .rule-remove:focus-visible { border-color: #e7a8b0; background: #fff0f2; color: #8f1728; }
.rules { display: grid; gap: 6px; }
.filter-group > .rules { grid-column: 2; grid-row: 1; }
.rule-row { display: grid; grid-template-columns: minmax(0,1fr) 36px; gap: 12px; align-items: start; margin: 0; }
.rule-controls { display: grid; grid-template-columns: minmax(190px,260px) minmax(180px,1fr); min-width: 0; border: 1px solid #cfc5d6; border-radius: 8px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.rule-controls:focus-within { border-color: var(--violet); outline: 2px solid #874bc4; outline-offset: 2px; box-shadow: none; }
.rule-row select, .rule-row input { width: 100%; min-height: 46px; padding: 10px 13px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 13px; transition: background-color .16s; }
.rule-row select { border-right: 1px solid #e7e0eb; border-radius: 7px 0 0 7px; background-color: #fbf9fc; }
.rule-row select:hover { background-color: #f6f1f9; }
.rule-row input:hover { background: #fdfcfe; }
.rule-row select:focus, .rule-row input:focus { border-color: transparent; outline: none; background-color: #fff; box-shadow: none; }
.value-wrap { position: relative; min-width: 0; }
.money-input { position: relative; }
.money-input > span { position: absolute; z-index: 1; top: 50%; left: 13px; color: var(--muted); font-size: 12px; transform: translateY(-50%); pointer-events: none; }
.rule-row .money-input input { padding-left: 39px; }
.rule-help { display: block; margin: 5px 2px 0; color: #716879; font-size: 10px; line-height: 1.4; }
.rule-row:not(:focus-within) .rule-help { display: none; }
.rules .or-label { display: flex; align-items: center; gap: 9px; width: max-content; margin: 0 0 0 8px; color: var(--violet-dark); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.rules .or-label::before { width: 13px; height: 1px; background: #cbbbd7; content: ""; }
.add-or { grid-column: 2; grid-row: 2; justify-self: start; margin: 12px 0 0; padding: 7px 10px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--violet-dark); font-size: 11px; font-weight: 700; text-align: left; transition: border-color .18s, background-color .18s; }
.add-or:hover { border-color: #e1d4ea; background: #f3edf8; }
.suggestions { position: absolute; z-index: 8; top: 48px; right: 0; left: 0; max-height: 260px; overflow: auto; border: 1px solid #c6b8d0; border-radius: 8px; background: white; box-shadow: 0 10px 26px #2118271c; }
.suggestions button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; font-size: 12px; }
.suggestions button:hover, .suggestions button:focus-visible { background: #f5eff9; }
.suggestion-main { display: grid; gap: 4px; min-width: 0; }
.suggestion-main strong { overflow: hidden; font-weight: 650; text-overflow: ellipsis; }
.suggestions .suggestion-code { flex: 0 0 auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.suggestions .suggestion-reason { color: var(--violet-dark); font-size: 10px; font-style: normal; font-weight: 650; }
.suggestion-status { display: block; padding: 12px; color: var(--muted); font-size: 12px; }
.filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 13px 0 21px; }
.exclude-exports { margin: -4px 0 18px; border-bottom: 1px solid var(--line); }
.exclude-exports > summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 2px; color: var(--ink); cursor: pointer; list-style: none; }
.exclude-exports > summary::-webkit-details-marker { display: none; }
.exclude-exports > summary::after { color: var(--violet-dark); font-size: 17px; content: "+"; }
.exclude-exports[open] > summary::after { content: "−"; }
.exclude-exports > summary > span:first-child { display: grid; gap: 4px; }
.exclude-exports > summary strong { font-size: 12px; font-weight: 700; }
.exclude-exports > summary small { color: var(--muted); font-size: 10px; }
.exclude-export-count { color: var(--violet-dark); font-size: 10px; font-weight: 700; white-space: nowrap; }
.exclude-exports-content { padding: 0 0 15px; }
.exclude-exports-content > p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.exclude-exports-list { display: grid; }
.exclude-export-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.exclude-export-option:hover { background: #fff; }
.exclude-export-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--violet); }
.exclude-export-copy { display: grid; gap: 4px; min-width: 0; }
.exclude-export-copy strong { color: var(--ink); font-size: 11px; font-weight: 700; }
.exclude-export-copy small { color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.exclude-exports-empty { margin: 0; padding: 11px 0; color: var(--muted); font-size: 11px; }
.search-error { margin: 0 0 13px; padding: 12px 14px; border: 1px solid #b53548; border-radius: 4px; background: #fff4f5; color: #8c1e31; font-size: 13px; }
.search-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 0 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.search-actions > span { color: var(--muted); font-size: 11px; }
.search-actions .live-dot { background: var(--violet); }
.search-actions .button { min-width: 190px; border-radius: 9px; box-shadow: none; }
.search-actions .button::after { display: none; }
.search-actions .button { min-width: 198px; padding-right: 18px; padding-left: 18px; box-shadow: 0 2px 6px #3d17601c; }
.search-actions .button-arrow { margin-left: 5px; }
.results-section { margin-top: 52px; }
.result-head { align-items: flex-end; margin-bottom: 0; padding-bottom: 15px; border-bottom: 1px solid #bdb4c4; }
.result-head h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.045em; }
.result-tools { display: flex; align-items: center; gap: 14px; }
.result-tools span { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.result-tools .button { min-height: 38px; padding: 7px 12px; font-size: 11px; }
.empty-state { padding: 23px 0; border-bottom: 1px solid var(--line); }
.empty-state h3 { margin-bottom: 5px; font-size: 15px; font-weight: 650; }
.empty-state p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.results-list { display: grid; }
.lead-card { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; align-items: center; padding: 19px 14px; border-bottom: 1px solid var(--line); background: transparent; transition: background-color .28s ease, padding .28s ease; }
.lead-card:hover { padding-right: 18px; padding-left: 18px; background: white; }
.lead-content { min-width: 0; }
.lead-overline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin-bottom: 7px; }
.lead-status { color: #4d3b5b; font-size: 10px; font-weight: 700; }
.lead-status .live-dot { width: 6px; height: 6px; margin-right: 5px; background: #6a9b63; }
.lead-cnpj { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.lead-name { margin: 0 0 6px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.lead-meta, .lead-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; font-size: 11px; line-height: 1.5; }
.lead-meta { color: var(--muted); }
.lead-location { color: #39303e; }
.lead-location b { padding: 0 3px; color: #9b8ca3; font-weight: 500; }
.lead-cnae { color: var(--violet-dark); font-weight: 700; font-variant-numeric: tabular-nums; }
.lead-description { margin: 4px 0 0; color: #554b5b; font-size: 11px; line-height: 1.5; }
.lead-contact { gap: 6px 24px; margin-top: 11px; color: #38313c; }
.lead-contact span { display: flex; flex-wrap: wrap; gap: 0 7px; min-width: min(100%, 190px); overflow-wrap: anywhere; }
.lead-contact small { color: #7b7181; font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.lead-card button { min-height: 39px; padding: 8px 11px; border: 1px solid #c7b5d6; border-radius: 6px; background: white; color: var(--violet-dark); font-size: 11px; font-weight: 700; white-space: nowrap; transition: background-color .16s, border-color .16s; }
.lead-card button:hover { border-color: var(--violet); background: var(--violet-pale); }
.button.more { display: flex; min-width: 210px; margin: 22px auto 0; }

/* Search history, exports and team share the same type and spacing system. */
.view:not(#search-view) .page-intro { display: block; margin-bottom: 32px; }
.view:not(#search-view) .page-intro h1 { margin-bottom: 12px; }
.simple-list { display: grid; }
.simple-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 10px; border-bottom: 1px solid var(--line); background: transparent; transition: background-color .16s, padding .16s; }
.simple-row:hover { padding-right: 14px; padding-left: 14px; background: white; }
.simple-row strong { color: var(--ink); font-size: 13px; }
.simple-row p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.simple-row .button { min-height: 38px; padding: 8px 12px; font-size: 11px; }
.export-row { align-items: center; }
.export-copy { flex: 1; min-width: 0; }
.export-summary { display: grid; gap: 7px; margin-top: 11px; }
.export-summary-title { color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.export-summary .history-query { gap: 6px; }
.export-summary .history-requirement-label { padding-top: 7px; }
.export-summary .history-filter { padding: 6px 9px; }
.export-excluded-note { margin: 7px 0 0; color: var(--violet-dark); font-size: 10px; line-height: 1.5; }
.export-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 26px; padding: 21px 23px; border: 1px solid #e1d9e6; border-left: 3px solid #c8addb; border-radius: 11px; background: #fff; box-shadow: 0 2px 8px #25162f05; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.export-list { gap: 12px; }
.export-card:hover { border-color: #c8b2d9; border-left-color: var(--violet); box-shadow: 0 6px 20px #25162f0d; transform: translateY(-1px); }
.export-card-main { min-width: 0; }
.export-card-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 11px; }
.export-number { color: #716778; font-size: 10px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.export-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid #e9e1ed; border-radius: 999px; background: #faf8fb; color: #6e6473; font-size: 9px; font-weight: 700; }
.export-status i { width: 6px; height: 6px; border-radius: 50%; background: #897f90; }
.export-card-ready .export-status { border-color: #d7eadf; background: #f2faf5; color: #286343; }
.export-card-ready .export-status i { background: #31865a; }
.export-card-expired .export-status { border-color: #eee1ce; background: #fff9ef; color: #846027; }
.export-card-expired .export-status i { background: #c58c31; }
.export-card-failed { border-left-color: #d69a9f; }
.export-card-failed .export-status { border-color: #f0d9dc; background: #fff5f5; color: #963943; }
.export-card-failed .export-status i { background: #bd3845; }
.export-count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.export-limit { padding: 4px 7px; border-radius: 5px; background: #f4eff8; color: #655175; font-size: 9px; font-weight: 650; letter-spacing: 0; }
.export-card .export-summary { margin-top: 16px; }
.export-card .export-summary-title { color: #786b80; font-size: 9px; }
.export-date { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.export-download { display: inline-flex; min-width: 143px; min-height: 43px; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1px solid #d7c7e2; border-radius: 8px; background: #fff; color: var(--violet-dark); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease; }
.export-download:hover { border-color: var(--violet); background: var(--violet-dark); color: #fff; transform: translateY(-1px); }
.export-download svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.export-card-expired .export-date, .export-card-failed .export-date { max-width: 650px; }
.history-list { gap: 12px; }
.history-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 20px 21px; border: 1px solid #e1d9e6; border-left: 3px solid #c8addb; border-radius: 11px; background: white; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.history-row:hover { border-color: #c8b2d9; border-left-color: var(--violet); box-shadow: 0 5px 18px #25162f0c; transform: translateY(-1px); }
.history-entry { min-width: 0; }
.history-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; margin-bottom: 13px; }
.history-number { padding: 4px 8px; border-radius: 999px; background: #f2eaf8; color: var(--violet-dark); font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.history-date { display: inline-flex; align-items: center; gap: 5px; margin: 0; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.history-date svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.history-query { display: grid; gap: 8px; }
.history-requirement { display: grid; grid-template-columns: 118px minmax(0,1fr); align-items: start; gap: 11px; }
.history-requirement-label { justify-self: start; margin-top: 2px; padding: 5px 8px; border: 1px solid #e8deef; border-radius: 5px; background: #faf7fc; color: #5f4771; font-size: 8px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.history-filter-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.history-filter { display: inline-grid; gap: 4px; max-width: 100%; min-width: 124px; padding: 8px 11px; border: 1px solid #e8e0ec; border-radius: 8px; background: #fdfcfe; }
.history-filter small { color: #75697d; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.history-filter strong { color: var(--ink); font-size: 11px; font-weight: 650; overflow-wrap: anywhere; }
.history-operator { padding: 4px 7px; border: 1px solid #e7dcef; border-radius: 999px; background: #f5eff9; color: var(--violet-dark); font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.history-and { display: flex; align-items: center; gap: 8px; width: max-content; margin: 1px 0 1px 129px; color: var(--violet-dark); font-size: 8px; font-weight: 800; letter-spacing: .09em; }
.history-and::before, .history-and::after { width: 15px; height: 1px; background: #cbb8d8; content: ""; }
.history-row > .button { min-height: 40px; gap: 9px; padding: 8px 13px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.history-row > .button .button-arrow { margin-left: 1px; }
.history-unavailable { margin: 0; color: var(--muted); font-size: 12px; }
.user-form { display: grid; grid-template-columns: 1fr 1.5fr 150px minmax(200px,1.1fr) auto; gap: 13px; align-items: end; margin-bottom: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.user-form input, .user-form select { min-height: 46px; }
.user-plan-hint { margin: 0 0 26px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.user-account-row { align-items: center; }
.user-account-info { min-width: 220px; flex: 1; }
.user-plan-status { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: var(--ink); font-size: 11px; }
.user-plan-status b { padding: 5px 8px; border-radius: 999px; background: #f1eafa; color: var(--violet-dark); font-size: 10px; }
.user-plan-status i { color: var(--muted); font-size: 10px; font-style: normal; }
.user-account-actions { display: flex; align-items: end; gap: 8px; }
.user-plan-control { display: grid; min-width: 210px; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.user-plan-control select { min-height: 38px; max-width: 250px; padding: 8px 10px; border: 1px solid #c9c1cf; border-radius: 5px; background: white; color: var(--ink); font-size: 11px; }
.user-account-actions .button { min-height: 38px; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.execution-section { margin-top: 50px; }
.execution-heading { align-items: center; margin-bottom: 14px; }
.execution-heading h2 { font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: -.035em; }
.execution-tools { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; }
.execution-tools .button { min-height: 36px; padding: 7px 11px; font-size: 11px; }
.execution-current { display: flex; align-items: center; gap: 15px; min-height: 64px; padding: 15px 17px; border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: 4px; background: white; }
.execution-state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.execution-state i, .execution-marker { width: 8px; height: 8px; border-radius: 50%; background: #887b91; }
.execution-current-detail { color: var(--muted); font-size: 11px; line-height: 1.5; }
.state-ready i, .state-done i, .execution-marker.state-ready, .execution-marker.state-done { background: #258353; }
.state-error i, .execution-marker.state-error { background: #bd3845; }
.state-indexing i, .state-downloading i, .state-validating i, .state-partitioning i, .state-running i, .state-pending i, .execution-marker.state-indexing, .execution-marker.state-downloading, .execution-marker.state-validating, .execution-marker.state-partitioning, .execution-marker.state-running, .execution-marker.state-pending { background: var(--violet); }
.execution-list { display: grid; margin: 0; padding: 0; list-style: none; }
.execution-item { display: flex; gap: 13px; padding: 15px 12px; border-bottom: 1px solid var(--line); }
.execution-marker { flex: 0 0 auto; margin-top: 5px; }
.execution-copy { flex: 1; min-width: 0; }
.execution-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.execution-line strong { color: var(--ink); font-size: 12px; font-weight: 700; }
.execution-line time, .execution-copy small { color: var(--muted); font-size: 10px; }
.execution-copy p { margin: 5px 0 0; color: #554b5b; font-size: 11px; line-height: 1.5; }
.execution-copy small { display: block; margin-top: 4px; }
.execution-empty { padding: 25px 12px; color: var(--muted); font-size: 12px; }
.mobile-only { display: none; }
.menu-scrim { display: none; }

/* Data sheets and account dialogs. */
dialog { max-height: 90vh; padding: 0; border: 1px solid #cfc7d4; border-radius: 7px; background: white; color: var(--ink); box-shadow: 0 22px 90px #160f1e40; }
dialog::backdrop { background: #17111bb8; }
.detail-dialog { width: min(1020px, calc(100vw - 28px)); }
.small-dialog { width: min(460px, calc(100vw - 28px)); padding: 26px; }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px 18px; border-bottom: 1px solid var(--line); }
.small-dialog .dialog-head { padding: 0 0 18px; }
.dialog-head h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: -.03em; }
.dialog-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.detail-body { max-height: calc(90vh - 130px); overflow: auto; padding: 24px 26px 30px; }
.detail-section { margin-bottom: 27px; }
.detail-section h3 { margin-bottom: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--violet-dark); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.data-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px 22px; }
.data-item { min-width: 0; font-size: 12px; }
.data-item span, .data-item strong { display: block; overflow-wrap: anywhere; }
.data-item span { margin-bottom: 5px; color: var(--muted); font-size: 10px; }
.data-item strong { color: #342e38; font-size: 12px; font-weight: 600; }
.partner-card { margin-bottom: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.partner-card strong { font-size: 12px; }
.partner-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.small-dialog .stack { margin-top: 19px; }
.secret-value { margin: 18px 0; padding: 14px; border: 1px solid #c3afd2; border-radius: 4px; background: var(--violet-pale); color: var(--violet-dark); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 1120px) {
  .sidebar { flex-basis: 232px; }
  .sidebar-brand-logo { width: 72px; }
  .sidebar .product-name { font-size: 19px; }
  .page { padding-right: 34px; padding-left: 34px; }
  .filter-groups { --group-rail: 155px; }
  .filter-group { grid-template-columns: var(--group-rail) minmax(0,1fr); gap: 0 14px; }
  .rule-row { grid-template-columns: minmax(0,1fr) 32px; gap: 7px; }
  .rule-controls { grid-template-columns: minmax(120px,.8fr) minmax(0,1fr); }
  .filter-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .filter-section-heading .hint { max-width: none; margin: 0; text-align: left; }
  .quick-start { align-items: flex-start; flex-direction: column; gap: 5px; }
  .user-form { grid-template-columns: 1fr 1.4fr; }
  .user-account-actions { align-items: end; flex-wrap: wrap; }
  .user-plan-control { flex: 1 1 220px; }
}
@media (max-width: 960px) and (min-width: 761px) {
  .search-builder { padding: 21px 19px 20px; }
  .filter-groups { --group-rail: 0px; }
  .filter-group { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 18px 0 16px; }
  .group-head { grid-column: 1; grid-row: auto; display: flex; align-items: flex-start; }
  .filter-group > .rules, .add-or { grid-column: 1; grid-row: auto; }
  .group-join { padding-left: 0; }
  .rule-controls { grid-template-columns: minmax(145px,.72fr) minmax(0,1.28fr); }
}
@media (max-width: 760px) {
  .login-view { display: block; min-height: 100vh; }
  .login-visual { display: none; }
  .login-panel { min-height: 100vh; padding: 25px; }
  .mobile-brand { display: block; margin-bottom: 48px; }
  .mobile-brand-logo { width: 104px; }
  .mobile-brand .product-name { color: var(--ink); }
  .mobile-brand .product-name small { color: var(--muted); }
  .login-form-wrap h2 { font-size: 34px; }
  .sidebar { position: fixed; left: -270px; width: 250px; min-width: 250px; height: 100dvh; transition: left .2s ease; }
  .sidebar.open { left: 0; }
  .menu-scrim { position: fixed; inset: 0; z-index: 11; display: block; background: #17111b99; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .app-shell.menu-open .menu-scrim { opacity: 1; pointer-events: auto; }
  .mobile-only { display: inline-flex; align-items: center; justify-content: center; }
  .topbar { min-height: 58px; justify-content: flex-start; gap: 13px; padding: 0 15px; }
  .topbar-caption { display: none; }
  .page { padding: 30px 17px 58px; }
  .page-intro { align-items: flex-start; margin-bottom: 25px; }
  .page-intro h1 { font-size: clamp(39px, 11vw, 52px); }
  .page-intro p:not(.eyebrow) { font-size: 13px; }
  .quick-start { margin-bottom: 35px; }
  .search-builder { padding: 18px 15px 17px; border-radius: 12px; }
  .quick-start-actions { gap: 6px; }
  .quick-button { min-height: 36px; padding: 7px 10px; font-size: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .section-heading h2 { font-size: 19px; }
  .hint { max-width: none; margin: 0; text-align: left; }
  .filter-guide { gap: 7px 13px; }
  .filter-guide span:last-child { width: 100%; margin-left: 0; }
  .filter-groups { --group-rail: 0px; }
  .filter-group { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 17px 0 15px; }
  .group-head { grid-column: 1; grid-row: auto; display: flex; align-items: flex-start; margin: 0; }
  .group-heading { gap: 5px; }
  .group-copy { display: grid; gap: 4px; }
  .group-title { font-size: 16px; }
  .filter-group > .rules, .add-or { grid-column: 1; grid-row: auto; }
  .rule-row { grid-template-columns: minmax(0,1fr) 38px; gap: 8px 6px; }
  .rule-controls { grid-template-columns: minmax(0,1fr); grid-column: 1; grid-row: 1; }
  .rule-row .rule-remove { grid-column: 2; grid-row: 1; }
  .rule-row select, .rule-row input { min-height: 46px; font-size: 16px; }
  .rule-row select { border-right: 0; border-bottom: 1px solid #e7e0eb; border-radius: 7px 7px 0 0; }
  .group-join { margin-left: 0; padding-left: 0; }
  .filter-actions { align-items: stretch; }
  .filter-actions .button, .filter-actions .text-button { font-size: 11px; }
  .search-actions { align-items: stretch; flex-direction: column; padding: 14px 0 0; border-radius: 0; }
  .search-actions .button { width: 100%; }
  .results-section { margin-top: 38px; }
  .result-head { align-items: flex-start; }
  .result-head h2 { font-size: 29px; }
  .result-tools { width: 100%; justify-content: space-between; gap: 8px; }
  .lead-card { grid-template-columns: 1fr; gap: 12px; padding: 16px 5px; }
  .lead-card:hover { padding-right: 8px; padding-left: 8px; }
  .lead-card button { justify-self: start; min-width: 120px; min-height: 42px; }
  .lead-contact { gap: 9px; flex-direction: column; align-items: flex-start; }
  .lead-contact span { min-width: 0; }
  .view:not(#search-view) .page-intro { margin-bottom: 25px; }
  .user-form { grid-template-columns: 1fr; padding: 15px; }
  .user-account-row { align-items: stretch; flex-direction: column; }
  .user-account-actions { align-items: stretch; }
  .user-plan-control { min-width: 0; }
  .user-plan-control select { max-width: none; }
  .execution-section { margin-top: 38px; }
  .execution-heading { align-items: flex-start; }
  .execution-tools { align-self: stretch; justify-content: space-between; }
  .execution-current { align-items: flex-start; flex-direction: column; gap: 6px; }
  .execution-line { align-items: flex-start; flex-direction: column; gap: 4px; }
  .simple-row { align-items: flex-start; flex-direction: column; }
  .export-card { grid-template-columns: minmax(0,1fr); gap: 17px; padding: 17px; }
  .export-download { width: 100%; }
  .history-row { grid-template-columns: minmax(0,1fr); gap: 15px; padding: 16px; }
  .history-requirement { grid-template-columns: minmax(0,1fr); gap: 7px; }
  .history-requirement-label { margin-top: 0; }
  .history-and { margin-left: 0; }
  .history-row > .button { justify-self: start; }
  .data-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .detail-body { padding: 17px; }
  .dialog-head { padding: 17px; }
}
@media (max-width: 390px) {
  .page { padding-right: 13px; padding-left: 13px; }
  .quick-button { font-size: 10px; }
  .data-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
