:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202942;
  background: #f7f8fc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --accent: #5046e5;
  --accent-dark: #4137c8;
  --accent-pale: #f1f0ff;
  --ink: #202942;
  --muted: #7a8599;
  --line: #e6e9f1;
  --radius: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #aca6ff; outline-offset: 2px; }
svg { display: block; }
.app-shell { max-width: 1236px; margin: 0 auto; padding: 0 32px; }
.site-header { height: 93px; border-bottom: 1px solid #e8eaf2; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: #202942; font-weight: 800; letter-spacing: -.8px; font-size: 23px; text-decoration: none; }
.brand-accent { color: var(--accent); }
.brand-mark { display: grid; place-items: center; background: var(--accent); color: white; border-radius: 11px; width: 37px; height: 37px; }
.brand-mark svg { width: 22px; height: 22px; }
.header-note { display: flex; align-items: center; gap: 9px; color: #68758d; font-size: 12.5px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #38bd96; box-shadow: 0 0 0 4px #e2f8ed; }
.hero { padding: 62px 0 43px; max-width: 760px; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: 1.55px; font-weight: 800; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow-line { width: 20px; height: 2px; background: var(--accent); border-radius: 20px; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 760; line-height: 1.15; letter-spacing: -2.2px; margin: 14px 0 16px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 16px; line-height: 1.7; color: #737f93; margin: 0; max-width: 630px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .86fr); gap: 23px; align-items: start; }
.card { background: #fff; border: 1px solid #e8eaf1; border-radius: var(--radius); box-shadow: 0 8px 35px rgba(40, 46, 89, .028); }
.search-card { padding: 30px 32px 28px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 33px; }
.card-title-wrap { display: flex; gap: 14px; align-items: center; }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; background: var(--accent-pale); color: var(--accent); }
.card-icon svg { width: 22px; height: 22px; }
h2 { margin: 0; font-size: 16px; letter-spacing: -.3px; font-weight: 750; }
.card-top p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.little-tag { font-size: 11px; font-weight: 750; padding: 6px 10px; border-radius: 7px; background: #f4f6f9; color: #6d788a; }
.field-label { display: block; font-weight: 700; font-size: 13px; margin: 0 0 11px; letter-spacing: -.1px; }
.field-label.small { font-size: 12px; margin-bottom: 8px; }
.required { color: var(--accent); }
.input-with-icon { position: relative; }
.input-icon { position: absolute; left: 15px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #8b94a7; pointer-events: none; }
input[type="search"], input[type="text"] { height: 48px; width: 100%; background: #fff; border: 1px solid #dfe3ed; border-radius: 9px; color: var(--ink); outline: none; padding: 0 15px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
input[type="search"] { padding-left: 43px; }
input[type="search"]:focus, input[type="text"]:focus { border-color: #918afc; box-shadow: 0 0 0 3px #5046e518; outline: none; }
input::placeholder { color: #a0a9b9; }
.field-hint { color: #939bae; font-size: 11px; margin: 8px 0 0; }
.section-divider { height: 1px; background: #edf0f5; margin: 29px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: start; }
.section-step { font-size: 11px; font-weight: 800; color: #c3c9d5; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: #f4f5f9; padding: 4px; border-radius: 10px; gap: 4px; margin-bottom: 25px; }
.segmented-option { border: none; background: transparent; border-radius: 7px; min-height: 42px; display: flex; justify-content: center; align-items: center; gap: 9px; color: #788397; font-size: 12.5px; font-weight: 700; padding: 7px; }
.segmented-option svg { width: 18px; height: 18px; }
.segmented-option.is-selected { background: white; color: #4d44d3; box-shadow: 0 2px 7px rgba(22, 35, 71, .085); }
.select-label { font-size: 12px; font-weight: 650; color: #7c8797; margin: 0 0 12px; }
.preset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.preset { padding: 14px 11px; text-align: left; border: 1px solid #e2e6ee; border-radius: 10px; background: white; display: flex; flex-direction: column; gap: 7px; min-height: 75px; position: relative; }
.preset:hover { border-color: #b7b2fa; background: #fbfaff; }
.preset.is-active { background: #f7f6ff; border-color: #756cf0; box-shadow: inset 0 0 0 1px #756cf0; }
.preset.is-active:after { content: ""; position: absolute; top: 12px; right: 11px; border: solid #5046e5; border-width: 0 1.75px 1.75px 0; display: block; padding: 3px; transform: rotate(45deg); }
.preset-name { color: #323b53; font-size: 13px; font-weight: 750; }
.preset.is-active .preset-name { color: #463ed1; }
.preset-sub { color: #9aa3b2; font-size: 11px; }
.preset.is-active .preset-sub { color: #746bd1; }
.custom-choice { border: none; background: none; color: #5147d9; font-size: 12px; font-weight: 750; padding: 15px 0 3px; display: inline-flex; gap: 7px; align-items: center; }
.custom-choice:hover { color: #262092; }
.custom-choice svg { width: 16px; height: 16px; }
.custom-choice.is-active { color: #2d278d; }
.custom-fields { margin-top: 15px; padding: 15px; background: #f8f9fc; border: 1px solid #e9ebf3; border-radius: 10px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.muted { color: #929cae; font-weight: 450; }
.settings-summary { display: flex; align-items: center; gap: 12px; border-radius: 10px; background: #f8f9fc; padding: 14px; }
.settings-icon { color: #758299; }
.settings-icon svg { width: 21px; height: 21px; }
.settings-summary div { min-width: 0; flex: 1; }
.settings-summary strong { font-size: 12px; font-weight: 700; }
.settings-summary p { font-size: 10.5px; color: #8994a4; line-height: 1.55; margin: 4px 0 0; }
.dot-sep { padding: 0 2px; color: #b1b9c6; }
.settings-check { width: 19px; height: 19px; color: #41a87d; }
.primary-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 23px; border: none; border-radius: 10px; background: var(--accent); color: white; font-size: 14px; font-weight: 750; min-height: 51px; box-shadow: 0 4px 10px rgba(80, 70, 229, .16); transition: background .15s, transform .15s; }
.primary-button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.primary-button svg { width: 19px; height: 19px; }
.primary-button .button-arrow { margin-left: auto; width: 19px; height: 19px; position: absolute; right: 20px; }
.primary-button { position: relative; }
.secondary-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; margin-top: 9px; background: transparent; border: 1px solid transparent; color: #58637b; border-radius: 9px; font-weight: 700; font-size: 12px; }
.secondary-button:hover { background: #f4f5fa; }
.secondary-button svg { width: 17px; height: 17px; }
.under-button-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #9da5b3; margin: 3px 0 0; }
.under-button-note svg { width: 13px; height: 13px; }
.error-message { color: #ae2f39; background: #fff1f2; padding: 11px 13px; border-radius: 8px; margin: 16px 0 -8px; font-size: 12px; }
.side-column { display: flex; flex-direction: column; gap: 20px; }
.side-card { padding: 25px; }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.side-heading { display: flex; align-items: center; gap: 10px; }
.side-heading h2 { font-size: 14px; }
.side-icon { color: #6660e7; }
.side-icon svg { width: 18px; height: 18px; }
.live-dot { font-size: 9px; color: #2da984; font-weight: 800; letter-spacing: .7px; }
.live-dot:before { content: ''; display: inline-block; width: 6px; height: 6px; background: #43c6a0; border-radius: 50%; vertical-align: 1px; margin-right: 6px; }
.location-preview { display: flex; align-items: center; gap: 14px; padding: 24px 0; }
.preview-flag { border-radius: 8px; width: 49px; height: 49px; display: grid; place-items: center; background: #f6f7fb; }
.preview-flag svg { width: 30px; height: 24px; box-shadow: 0 2px 5px #1b29351f; border-radius: 3px; }
.preview-area { display: block; font-size: 20px; letter-spacing: -.5px; font-weight: 760; }
.preview-subarea { display: block; color: #95a0af; font-size: 12px; margin-top: 3px; }
.preview-properties { border-top: 1px solid #edf0f4; display: flex; flex-direction: column; }
.preview-properties>div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #edf0f4; font-size: 12px; }
.preview-properties span { color: #929eaf; }
.preview-properties strong { color: #4c586e; font-weight: 700; }
.preview-tip { display: flex; gap: 10px; align-items: flex-start; padding: 14px; margin-top: 18px; background: #f3f2ff; border-radius: 9px; }
.preview-tip svg { min-width: 18px; width: 18px; height: 18px; color: #6860ce; margin-top: 1px; }
.preview-tip p { color: #7773a7; font-size: 11.5px; line-height: 1.65; margin: 0; }
.history-card { min-height: 248px; }
.history-count { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #f2f3f8; color: #818da1; font-size: 11px; font-weight: 750; }
.history-empty { padding: 28px 20px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.empty-orbit { background: #f5f5fa; border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; color: #abb4c5; margin-bottom: 11px; }
.empty-orbit svg { width: 20px; height: 20px; }
.history-empty strong { font-size: 12px; }
.history-empty p { color: #9aa4b4; font-size: 11.5px; line-height: 1.6; max-width: 225px; margin: 7px 0 0; }
.history-list { max-height: 332px; overflow: auto; padding-top: 13px; }
.history-item { display: flex; align-items: center; gap: 8px; width: 100%; background: #fff; border: 1px solid #edf0f5; border-radius: 9px; padding: 12px 10px; margin-bottom: 8px; text-align: left; }
.history-item:hover { border-color: #c6c1f5; background: #fbfaff; }
.history-item-text { flex: 1; min-width: 0; }
.history-item strong { display: block; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item small { display: block; color: #909bad; font-size: 11px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item svg { width: 17px; height: 17px; color: #9d99d8; flex: none; }
.history-footer { border-top: 1px solid #edf0f5; padding-top: 17px; margin-top: 7px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.toggle-label { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 11px; color: #7e899b; }
.switch { width: 31px; height: 19px; position: relative; display: inline-block; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch-track { position: absolute; inset: 0; border-radius: 15px; background: #c3cad6; transition: background .2s; }
.switch-track:after { content: ''; display: block; width: 13px; height: 13px; position: absolute; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--accent); }
.switch input:checked + .switch-track:after { transform: translateX(12px); }
.switch input:focus-visible + .switch-track { outline: 3px solid #aaa3f9; outline-offset: 2px; }
.clear-button { border: none; background: transparent; color: #7771c2; font-size: 11px; font-weight: 650; padding: 5px 0; }
.clear-button:hover { color: #3730aa; text-decoration: underline; }
.info-strip { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #e4e7f1; border-radius: 12px; background: #f2f4fa; margin-top: 25px; padding: 19px 21px; }
.info-strip-icon { color: #817bce; margin-top: 2px; }
.info-strip-icon svg { width: 21px; height: 21px; }
.info-strip strong { font-size: 12px; }
.info-strip p { color: #8994a7; font-size: 11.5px; line-height: 1.7; margin: 4px 0 0; }
.site-footer { border-top: 1px solid #e6e9f0; padding: 25px 0 36px; margin-top: 37px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #a0aaba; font-size: 11px; }
.footer-separator { margin: 0 6px; }
.toast { position: fixed; right: 25px; bottom: 24px; color: #fff; background: #26324e; box-shadow: 0 10px 30px #1b29352c; border-radius: 10px; padding: 12px 17px; font-size: 12px; font-weight: 650; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; pointer-events: none; z-index: 5; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 920px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .side-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; } .hero { padding-top: 49px; } .search-card { padding: 28px; } }
@media (max-width: 660px) { .app-shell { padding: 0 17px; } .site-header { height: 74px; } .brand { font-size: 21px; } .header-note { font-size: 0; } .status-dot { width: 9px; height: 9px; } .hero { padding: 39px 3px 29px; } .hero h1 { font-size: 37px; letter-spacing: -1.75px; } .hero p { font-size: 14px; line-height: 1.65; } .eyebrow { font-size: 10px; } .content-grid { gap: 17px; } .search-card { padding: 21px 18px 22px; } .card-top { margin-bottom: 27px; } .section-divider { margin: 24px 0; } .preset { padding: 12px 8px; min-height: 70px; } .preset-name { font-size: 12px; } .preset-sub { font-size: 10px; } .preset.is-active:after { right: 7px; top: 8px; } .segmented-option { font-size: 11px; gap: 6px; } .segmented-option svg { width: 16px; height: 16px; } .side-column { display: flex; } .side-card { padding: 22px; } .field-pair { grid-template-columns: 1fr; } .info-strip { padding: 16px; } .site-footer { flex-direction: column; gap: 8px; } }
@media (max-width: 355px) { .preset-grid { gap: 6px; } .preset-name { font-size: 10.5px; } .segmented-option svg { display: none; } .hero h1 { font-size: 33px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; scroll-behavior: auto !important; } }
