:root {
  --ink: #10215c;
  --blue: #1f6ee9;
  --blue-dark: #164ab4;
  --mint: #dff3ed;
  --cloud: #f4f7fc;
  --line: #dce4f2;
  --muted: #687492;
  --white: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #e9edf6;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }

.app-shell {
  width: min(100%, 470px);
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: 92px;
  background: var(--white);
  box-shadow: 0 0 48px rgba(32, 48, 101, .12);
}

.hero {
  min-height: 310px;
  padding: 26px 22px 75px;
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(255,255,255,.96) 15%, rgba(245,249,255,.82) 48%, rgba(211,235,255,.58)),
    radial-gradient(circle at 79% 31%, #fee1ad 0 8%, transparent 8.5%),
    radial-gradient(circle at 85% 66%, #a5c695 0 6%, transparent 6.5%),
    linear-gradient(145deg, #dcecf5, #fff5e9);
}
.hero__top, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--ink); font-size: 2.15rem; font-weight: 850; letter-spacing: -2.5px; text-decoration: none; }
.brand span, h1 em { color: var(--blue); font-style: normal; }
.icon-button { position: relative; border: 0; background: transparent; color: var(--ink); font-size: 1.65rem; }
.notification-dot { position: absolute; top: 3px; right: 3px; width: 7px; height: 7px; border-radius: 99px; background: #e54252; }
.location { display: flex; align-items: center; gap: 8px; margin: 25px 0 20px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; }
.location > span:first-child { color: var(--blue); font-size: 1.5rem; }
.location strong, .location small { display: block; }
.location strong { font-size: .88rem; }.location small { color: var(--muted); font-size: .68rem; margin-top: 2px; }
.eyebrow { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 300px; margin: 6px 0 2px; font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: -1.7px; line-height: 1.02; }
.hero__description { margin: 7px 0 0; color: #4d5b80; font-size: 1rem; }

.search-panel { position: relative; z-index: 1; margin: -54px 16px 22px; padding: 12px; border-radius: 23px; background: var(--white); box-shadow: 0 12px 24px rgba(31, 60, 130, .13); }
.search-box { display: flex; align-items: center; gap: 9px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--blue); }
.search-box > span { font-size: 1.75rem; }.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: .92rem; }.search-box input::placeholder { color: #99a3b9; }
.search-box button { width: 42px; height: 42px; flex: 0 0 42px; border: 0; border-radius: 13px; background: var(--blue); color: white; font-size: 1.25rem; }
.quick-filters { display: flex; gap: 7px; overflow-x: auto; padding: 11px 2px 1px; scrollbar-width: none; }.quick-filters::-webkit-scrollbar { display: none; }
.quick-filters button { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 7px 10px; background: var(--cloud); color: #52617e; font-size: .74rem; }.quick-filters button.is-active { border-color: #bdd6ff; background: #e8f1ff; color: var(--blue-dark); font-weight: 750; }

.content-section, .results { padding: 0 20px; }.section-heading { margin-bottom: 13px; }.section-heading h2 { margin: 2px 0 0; font-size: 1.26rem; letter-spacing: -.5px; }.text-button { border: 0; padding: 4px 0; background: none; color: var(--blue); font-weight: 750; font-size: .85rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }.category-card { min-height: 90px; border: 1px solid #edf1f8; border-radius: 16px; padding: 10px 4px 8px; background: #fbfcff; color: var(--ink); font-size: .7rem; line-height: 1.1; }.category-card span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 1.75rem; line-height: 1; }.category-card:hover, .category-card:focus-visible { outline: 2px solid #91b8ff; background: #f1f6ff; }.category-card--urgent { background: var(--blue); color: white; }.category-card--urgent span { color: #fff; }

.trust-card { display: flex; align-items: center; gap: 12px; margin: 24px 20px 0; padding: 15px; border-radius: 18px; background: linear-gradient(110deg, #edf9f4, #d9f2e8); }.trust-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #159873; color: white; font-size: 1.3rem; font-weight: 900; }.trust-card strong { display: block; font-size: .92rem; }.trust-card p { margin: 3px 0 0; color: #50716c; font-size: .75rem; line-height: 1.25; }.trust-card > span { margin-left: auto; color: #159873; font-size: 1.5rem; }

.results { margin-top: 26px; }.results__summary { margin: -5px 0 15px; color: var(--muted); font-size: .84rem; }.result-list { display: grid; gap: 10px; }.result-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #e5efff; color: var(--blue-dark); font-size: 1.25rem; font-weight: 850; }.result-card strong { display: block; font-size: .9rem; }.result-card small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }.result-card .rating { color: #e79516; font-size: .78rem; font-weight: 700; }.result-card button { border: 0; border-radius: 10px; padding: 8px 9px; background: var(--blue); color: white; font-size: .72rem; font-weight: 700; }

.bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 117.5px)); justify-content: center; margin: auto; width: min(100%, 470px); padding: 10px 10px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }.bottom-nav button { display: grid; gap: 3px; justify-items: center; border: 0; background: transparent; color: #8490a7; font-size: .67rem; }.bottom-nav span { font-size: 1.4rem; line-height: 1; }.bottom-nav button.is-active { color: var(--blue); font-weight: 800; }

dialog { width: min(calc(100% - 32px), 430px); border: 0; border-radius: 22px; padding: 0; box-shadow: 0 20px 60px rgba(20, 31, 70, .28); }dialog::backdrop { background: rgba(11, 22, 52, .42); }.dialog-card { position: relative; padding: 27px 22px 22px; }.dialog-card h2 { margin: 5px 0 20px; font-size: 1.48rem; }.dialog-close { position: absolute; top: 11px; right: 14px; border: 0; background: transparent; color: var(--muted); font-size: 1.8rem; }.dialog-card label { display: block; margin: 11px 0; color: var(--ink); font-size: .86rem; font-weight: 700; }.dialog-card input:not([type="radio"]):not([type="checkbox"]) { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 11px; padding: 12px; color: var(--ink); }.dialog-card fieldset { margin: 13px 0; border: 0; padding: 0; }.dialog-card legend { margin-bottom: 7px; font-weight: 800; }.dialog-card fieldset label { font-weight: 500; }.primary-button { width: 100%; margin-top: 12px; border: 0; border-radius: 12px; padding: 13px; background: var(--blue); color: white; font-weight: 800; }

@media (min-width: 640px) { body { padding: 20px 0; }.app-shell { min-height: calc(100dvh - 40px); border-radius: 28px; overflow: hidden; }.bottom-nav { bottom: 20px; border-radius: 0 0 28px 28px; } }
