/* =====================================================================
   Seva — mobile-first theme on top of Vanilla Framework 4.61.2
   Baseline 360px · breakpoints 600 / 900 / 1100
   Every custom component sets its own margins/padding so it never
   inherits Vanilla's default button/input/list spacing (no overlaps).
   ===================================================================== */
:root {
  --brand: #E95420;
  --brand-dark: #C7431A;
  --brand-soft: #FDECE5;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --line: #e3e3e3;
  --bg: #f6f6f4;
  --card: #fff;
  --positive: #0e8420;
  --negative: #c7162b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05);
  --header-h: 60px;
  --bottomnav-h: 64px;
  --gap: 12px;
}

/* ---------------- Base ---------------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.seva-body { background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; margin: 0; }
body.has-bottomnav { padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); }
.seva-container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
.seva-main { flex: 1; padding-top: 16px; padding-bottom: 32px; outline: none; }
.seva-main h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .5rem; font-weight: 600; }
.seva-main h2 { font-size: 1.1875rem; line-height: 1.3; margin: 0 0 .5rem; font-weight: 600; }
.seva-main h3 { font-size: 1.0625rem; line-height: 1.35; margin: 0 0 .25rem; font-weight: 600; }
.seva-main p { max-width: none; }
.u-text--muted, .seva-muted { color: var(--muted); }
.seva-small { font-size: .875rem; line-height: 1.4; }
.seva-icon { flex-shrink: 0; vertical-align: middle; }
.seva-money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.seva-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.seva-skip:focus { left: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid #2b74c7; outline-offset: 2px;
}

/* ---------------- Header ---------------- */
.seva-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.seva-header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.seva-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink) !important; text-decoration: none !important; font-weight: 700; flex-shrink: 1; }
.seva-brand__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.seva-brand__logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; flex-shrink: 0; }
.seva-brand__name { font-size: 1.15rem; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.seva-header__nav { display: none; }
.seva-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.seva-header__actions form { margin: 0; display: inline-flex; }

/* header buttons — fully self-styled (independent from Vanilla's button styles) */
.seva-hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; min-height: 40px; margin: 0 !important; padding: 0 14px; box-sizing: border-box;
  border: 1px solid transparent; border-radius: 999px; background: transparent;
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--ink) !important; text-decoration: none !important; cursor: pointer;
}
.seva-hbtn--ghost:hover { background: #f1f1f1; }
.seva-hbtn--primary { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.seva-hbtn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.seva-iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink) !important; text-decoration: none !important; }
.seva-iconbtn:hover { background: #f1f1f1; }
.seva-badge { position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid #fff; }
.seva-header__avatar { text-decoration: none !important; }
.seva-only-desktop { display: none !important; }

/* desktop nav links */
.seva-navlink { display: inline-flex; align-items: center; height: var(--header-h); padding: 0 12px; color: var(--muted) !important; text-decoration: none !important; font-weight: 500; border-bottom: 3px solid transparent; box-sizing: border-box; white-space: nowrap; }
.seva-navlink:hover { color: var(--ink) !important; }
.seva-navlink.is-active { color: var(--ink) !important; border-bottom-color: var(--brand); font-weight: 600; }

/* admin secondary nav */
.seva-subnav { background: #fff; border-bottom: 1px solid var(--line); }
.seva-subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.seva-subnav__inner::-webkit-scrollbar { display: none; }
.seva-subnav a { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; background: #f3f3f3; color: var(--ink) !important; text-decoration: none !important; font-size: .875rem; white-space: nowrap; }
.seva-subnav a.is-active { background: var(--brand-soft); color: var(--brand-dark) !important; font-weight: 600; }

/* ---------------- Bottom navigation (mobile) ---------------- */
.seva-bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.05);
}
.seva-bottomnav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; color: var(--muted) !important; text-decoration: none !important; font-size: .75rem; line-height: 1; }
.seva-bottomnav__icon { display: grid; place-items: center; width: 52px; height: 28px; border-radius: 14px; transition: background .15s; }
.seva-bottomnav__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
.seva-bottomnav__item.is-active { color: var(--brand-dark) !important; font-weight: 600; }
.seva-bottomnav__item.is-active .seva-bottomnav__icon { background: var(--brand-soft); }

/* ---------------- Footer ---------------- */
.seva-footer { background: #fff; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.seva-footer .seva-container { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; padding-top: 14px; padding-bottom: 14px; }

/* ---------------- Buttons & action rows inside content ---------------- */
.seva-main [class*="p-button"], .seva-main button { margin-bottom: 0; }
.seva-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.seva-actions > *, .seva-actions [class*="p-button"], .seva-actions button { margin: 0 !important; }
.seva-actions form { margin: 0; display: inline-flex; }
.seva-actions--end { justify-content: flex-end; }
.seva-actions--stack > * { flex: 1 1 100%; }
.seva-actions--stack [class*="p-button"], .seva-actions--stack button { width: 100%; }
.seva-block { display: flex !important; width: 100%; justify-content: center; align-items: center; gap: 6px; }
.seva-btn-icon { display: inline-flex !important; align-items: center; gap: 6px; }
.seva-sticky-actions { position: sticky; bottom: calc(var(--bottomnav-h) + 10px + env(safe-area-inset-bottom)); z-index: 20; margin-top: 16px; padding: 10px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.seva-sticky-actions [class*="p-button"], .seva-sticky-actions button { width: 100%; margin: 0 !important; }
.is-bare .seva-sticky-actions { bottom: 10px; }

/* ---------------- Cards & layout ---------------- */
.seva-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 var(--gap); box-shadow: var(--shadow); box-sizing: border-box; min-width: 0; }
.seva-card > :last-child { margin-bottom: 0; }
.seva-card--flat { box-shadow: none; }
.seva-card--link { display: block; color: inherit !important; text-decoration: none !important; transition: transform .12s ease, box-shadow .12s ease, border-color .12s; }
.seva-card--link:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.08); border-color: #d4d4d4; }
.seva-card__title { margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.seva-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.seva-grid > .seva-card { margin: 0; }
.seva-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seva-stack > * + * { margin-top: var(--gap); }
.seva-section { margin: 24px 0; }
.seva-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.seva-section__head h2 { margin: 0; }
.seva-section__head a { font-size: .875rem; white-space: nowrap; }
.seva-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.seva-row--between { justify-content: space-between; }
.seva-row--wrap { flex-wrap: wrap; }
.seva-row--top { align-items: flex-start; }
.seva-grow { flex: 1; min-width: 0; }
.seva-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seva-page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.seva-page-head h1 { margin: 0; }
.seva-page-head .seva-crumb { font-size: .8125rem; color: var(--muted); margin: 0 0 2px; }
.seva-page-head .seva-crumb a { color: var(--muted); }
.seva-split, .seva-split--wide { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); align-items: start; }
.seva-kv { display: grid; grid-template-columns: minmax(7rem, 38%) minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: .9375rem; }
.seva-kv dt { color: var(--muted); }
.seva-kv dd { margin: 0; overflow-wrap: anywhere; }
.seva-divider { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.seva-list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #efefef; }
.seva-list-row:last-child { border-bottom: 0; padding-bottom: 0; }
.seva-list-row:first-child { padding-top: 0; }

/* ---------------- Hero & home ---------------- */
.seva-hero { margin: 4px 0 16px; }
.seva-hero h1 { font-size: 1.5rem; margin-bottom: 4px; }
.seva-hero p { margin: 0; color: var(--muted); }
.seva-hero__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seva-hero__cta [class*="p-button"] { margin: 0 !important; }
.seva-carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.seva-carousel__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.seva-carousel__track::-webkit-scrollbar { display: none; }
.seva-carousel__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; color: #fff !important; text-decoration: none !important; }
.seva-carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seva-carousel__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.seva-carousel__caption h2 { color: #fff; margin: 0; font-size: 1.125rem; line-height: 1.3; }
.seva-carousel__caption p { color: #eee; margin: 4px 0 0; font-size: .875rem; line-height: 1.35; }
.seva-carousel__dots { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.seva-carousel__dot { width: 9px; height: 9px; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 5px; background: rgba(255,255,255,.55) !important; cursor: pointer; transition: width .2s; }
.seva-carousel__dot[aria-current="true"] { background: #fff !important; width: 22px; }
.seva-cat { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; }
.seva-cat__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); }
.seva-cat__name { margin: 2px 0 0; font-weight: 600; }
.seva-cat__desc { margin: 0; font-size: .8125rem; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seva-cat__price { margin: auto 0 0; font-size: .8125rem; }
.seva-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.seva-stats > div + div { border-left: 1px solid var(--line); }
.seva-stat__value { font-size: 1.3rem; font-weight: 700; margin: 0; line-height: 1.2; }
.seva-stat__label { font-size: .75rem; color: var(--muted); margin: 2px 0 0; line-height: 1.25; }
.seva-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.seva-hscroll > * { scroll-snap-align: start; margin: 0 !important; }
.seva-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.seva-steps li { position: relative; padding: 0 0 14px 42px; margin: 0; counter-increment: step; }
.seva-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .875rem; }
.seva-steps h3 { margin: 2px 0 2px; font-size: 1rem; }
.seva-steps p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* ---------------- Chips, stars, avatars, skills ---------------- */
.seva-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .75rem; line-height: 1.2; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.seva-chip--positive { background: #e7f5e9; color: #0b5e17; border-color: #bfe3c4; }
.seva-chip--caution { background: #fff5d9; color: #7a5200; border-color: #f2da93; }
.seva-chip--negative { background: #fdeaec; color: #9b1022; border-color: #f4bfc6; }
.seva-chip--information { background: #e8f1fb; color: #1d4a78; border-color: #bed4ee; }
.seva-chip--neutral { background: #f0f0f0; color: #444; border-color: #e0e0e0; }
.seva-skill { display: inline-block; padding: 2px 8px; margin: 0 4px 4px 0; border-radius: 6px; background: #f2f2f2; font-size: .75rem; line-height: 1.5; }
.seva-skill.is-match { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.seva-stars { white-space: nowrap; }
.seva-stars__icon { color: #f5a623; }
.seva-avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #3a3a3a; color: #fff !important; font-weight: 700; font-size: .95rem; flex-shrink: 0; overflow: hidden; }
.seva-avatar img { width: 100%; height: 100%; object-fit: cover; }
.seva-avatar--sm { width: 36px; height: 36px; font-size: .8rem; }
.seva-avatar--lg { width: 64px; height: 64px; font-size: 1.25rem; }

/* ---------------- Tukang, recommendation, booking cards ---------------- */
.seva-person { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.seva-person__body { flex: 1; min-width: 0; }
.seva-person__name { margin: 0; font-weight: 600; }
.seva-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.seva-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.seva-match { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-dark); }
.seva-meter { height: 6px; background: #eee; border-radius: 3px; overflow: hidden; }
.seva-meter > span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.seva-breakdown { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 2.75rem; gap: 6px 8px; align-items: center; font-size: .8125rem; margin-top: 8px; }
.seva-reco { display: block; cursor: pointer; border-width: 2px; }
.seva-reco input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--brand); flex-shrink: 0; }
.seva-reco.is-selected { border-color: var(--brand); }
.seva-reco details summary { cursor: pointer; font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.seva-booking__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8125rem; color: var(--muted); }
.seva-booking__title { margin: 6px 0 4px; font-size: 1rem; font-weight: 600; }
.seva-booking__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .875rem; }

/* ---------------- Map & finder ---------------- */
.seva-map { height: 240px; border-radius: var(--radius-sm); border: 1px solid var(--line); z-index: 0; }
.seva-map--tall { height: 300px; }
.seva-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.seva-toolbar input, .seva-toolbar select, .seva-toolbar button, .seva-toolbar [class*="p-button"] { margin: 0 !important; }
.seva-toolbar input[type="search"], .seva-toolbar input[type="text"] { flex: 1 1 180px; min-width: 0; }
.seva-toolbar select { flex: 0 1 auto; width: auto; }
.seva-seg { display: inline-flex; padding: 3px; gap: 3px; background: #ececec; border-radius: 999px; }
.seva-seg button { margin: 0 !important; min-height: 34px !important; height: 34px; padding: 0 14px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--ink) !important; font-size: .875rem; font-weight: 500; cursor: pointer; line-height: 1; }
.seva-seg button[aria-pressed="true"] { background: #fff !important; box-shadow: 0 1px 3px rgba(0,0,0,.15); font-weight: 600; }
.seva-geo-results { list-style: none; margin: 6px 0 0; padding: 0; max-height: 220px; overflow-y: auto; }
.seva-geo-results li { margin: 0 0 4px; }
.seva-geo-results button { width: 100%; text-align: left; margin: 0 !important; font-size: .8125rem; line-height: 1.35; white-space: normal; height: auto !important; padding: 8px 10px !important; }
.seva-locbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.seva-locbar [class*="p-button"] { margin: 0 !important; }

/* ---------------- Tabs, timeline, pager ---------------- */
.seva-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 2px; scrollbar-width: none; }
.seva-tabs::-webkit-scrollbar { display: none; }
.seva-tabs a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; font-size: .875rem; white-space: nowrap; }
.seva-tabs a[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff !important; font-weight: 600; }
.seva-timeline { list-style: none; margin: 0; padding: 0; }
.seva-timeline li { position: relative; margin: 0; padding: 0 0 14px 22px; font-size: .9375rem; }
.seva-timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.seva-timeline li::after { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 2px; background: #e8e8e8; }
.seva-timeline li:last-child { padding-bottom: 0; }
.seva-timeline li:last-child::after { display: none; }
.seva-timeline small { display: block; color: var(--muted); font-size: .8125rem; }
.seva-pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 0; }
.seva-pager__link { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; text-decoration: none !important; font-size: .875rem; white-space: nowrap; }
.seva-pager__link.is-disabled { opacity: .45; }
.seva-pager__info { font-size: .8125rem; color: var(--muted); }

/* ---------------- Money / wallet / metrics ---------------- */
.seva-big { font-size: 1.6rem; line-height: 1.2; font-weight: 700; margin: 2px 0 0; }
.seva-wallet { background: linear-gradient(135deg, #2b2b2b, #111); color: #fff; border: 0; }
.seva-wallet .seva-muted, .seva-wallet .u-text--muted { color: #cfcfcf; }
.seva-amount--pos { color: var(--positive); }
.seva-amount--neg { color: var(--negative); }
.seva-metric { padding: 14px; }
.seva-metric__label { font-size: .8125rem; color: var(--muted); margin: 0; }
.seva-metric__value { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 2px 0 0; overflow-wrap: anywhere; }
.seva-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seva-table-wrap table { margin-bottom: 0; }

/* ---------------- Forms ---------------- */
.seva-form .p-form__group { margin-bottom: 4px; }
.seva-form label { font-weight: 500; }
.seva-form textarea { min-height: 110px; }
.seva-form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.seva-form legend { font-weight: 500; margin-bottom: 6px; padding: 0; }
.seva-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.seva-label-row label { margin: 0; }
.seva-linkbtn { margin: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; border: 0 !important; background: none !important; color: #0066cc !important; font: inherit; font-size: .8125rem; cursor: pointer; text-decoration: underline; }
.seva-otp { letter-spacing: .5em; font-size: 1.5rem !important; text-align: center; font-variant-numeric: tabular-nums; }
.seva-auth { max-width: 440px; margin: 8px auto 24px; }
.seva-auth .seva-hero { text-align: center; }
.seva-auth__foot { text-align: center; margin-top: 14px; font-size: .9375rem; }
.seva-choice { display: flex; flex-direction: column; gap: 8px; }
.seva-choice label { display: flex; align-items: flex-start; gap: 10px; padding: 12px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; }
.seva-choice input { margin: 3px 0 0 !important; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--brand); }
.seva-choice label:has(input:checked) { border-color: var(--brand); background: #fffaf7; }
.seva-role-option { display: flex !important; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px !important; margin: 0 0 10px !important; height: auto !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius-sm) !important; cursor: pointer; color: var(--ink) !important; font: inherit; line-height: 1.35; }
.seva-role-option:hover, .seva-role-option:focus-visible { border-color: var(--brand) !important; background: #fffaf7 !important; }
.seva-role-option .seva-cat__icon { width: 42px; height: 42px; }
.seva-skill-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.seva-skill-row label { margin: 0 !important; }
.seva-skill-row select { width: auto !important; min-width: 5.5rem; margin: 0 !important; }

/* ---------------- Modals (Vanilla p-modal) ---------------- */
.p-modal { z-index: 80; }
.p-modal__dialog { width: calc(100vw - 32px); max-width: 520px; box-sizing: border-box; }
.p-modal__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.p-modal__footer > * { margin: 0 !important; }

/* ---------------- Empty, skeleton, toasts, notifications ---------------- */
.seva-empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.seva-empty .seva-icon { color: #c4c4c4; margin-bottom: 6px; }
.seva-empty p { margin: 0 0 6px; }
.seva-empty [class*="p-button"] { margin: 8px 0 0 !important; }
.seva-skeleton { position: relative; overflow: hidden; background: #ececec; border-radius: 6px; height: 12px; margin: 8px 0; }
.seva-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: seva-shimmer 1.2s infinite; }
@keyframes seva-shimmer { 100% { transform: translateX(100%); } }
.seva-toasts { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bottomnav-h) + 12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.is-bare .seva-toasts { bottom: 12px; }
.seva-toast { pointer-events: auto; margin: 0 !important; box-shadow: 0 8px 28px rgba(0,0,0,.18); animation: seva-toast-in .18s ease-out; background: #fff; }
@keyframes seva-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.seva-main [class*="p-notification"] { margin-bottom: 12px; }
.seva-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 12px; border-radius: var(--radius-sm); border: 1px solid; font-size: .9375rem; line-height: 1.45; }
.seva-notice p { margin: 0; }
.seva-notice a { font-weight: 600; }
.seva-notice--info { background: #eef5fc; border-color: #c9dcf1; color: #183f66; }
.seva-notice--caution { background: #fff8e1; border-color: #f2dc9a; color: #5c3e00; }
.seva-notice--positive { background: #ecf7ee; border-color: #c3e4c8; color: #0b4d14; }
.seva-notice--negative { background: #fdeef0; border-color: #f2c3c9; color: #7d0d1b; }
.seva-notif.is-unread { border-left: 4px solid var(--brand); }
#swagger-ui { background: #fff; border-radius: var(--radius); padding: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seva-skeleton::after, .seva-toast { animation: none; }
  .seva-card--link { transition: none; }
}

/* ===================== ≥ 600px ===================== */
@media (min-width: 600px) {
  .seva-container { padding-left: 20px; padding-right: 20px; }
  .seva-main { padding-top: 20px; }
  .seva-grid--md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seva-grid--md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seva-grid--md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seva-hscroll { grid-auto-columns: 45%; }
  .seva-carousel { aspect-ratio: 16 / 6.5; }
  .seva-carousel__caption { padding: 56px 24px 22px; }
  .seva-carousel__caption h2 { font-size: 1.375rem; }
  .seva-map { height: 320px; }
  .seva-map--tall { height: 420px; }
  .seva-toasts { left: auto; right: 16px; width: 380px; }
  .seva-hero h1, .seva-main h1 { font-size: 1.75rem; }
  .seva-brand__name { max-width: 260px; }
  .seva-stat__value { font-size: 1.6rem; }
  .seva-stat__label { font-size: .8125rem; }
}

/* ===================== ≥ 900px : top navigation replaces bottom navigation ===================== */
@media (min-width: 900px) {
  body.has-bottomnav { padding-bottom: 0; }
  .seva-bottomnav { display: none; }
  .seva-header__nav { display: flex; align-items: stretch; gap: 2px; margin-left: 20px; height: var(--header-h); }
  .seva-only-desktop { display: inline-flex !important; }
  .seva-sticky-actions { bottom: 12px; }
  .seva-toasts { bottom: 16px; }
  .seva-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .seva-split--wide { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
  .seva-split > *, .seva-split--wide > * { min-width: 0; }
  .seva-sticky-col { position: sticky; top: calc(var(--header-h) + 16px); }
  .seva-main h1, .seva-hero h1 { font-size: 2rem; }
}

/* ===================== ≥ 1100px ===================== */
@media (min-width: 1100px) {
  .seva-grid--lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seva-grid--lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seva-hscroll { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .seva-carousel { aspect-ratio: 16 / 5.5; }
}

/* ---------------- Refinements ---------------- */
/* Brand-coloured primary buttons (Vanilla's positive is green; Seva uses orange) */
.seva-body .p-button--positive { background-color: var(--brand); border-color: var(--brand); color: #fff; }
.seva-body .p-button--positive:hover, .seva-body .p-button--positive:focus { background-color: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.seva-body .p-button--positive:disabled { background-color: #f0a487; border-color: #f0a487; }
.seva-body [class*="p-button"] { border-radius: 8px; }
.seva-grid { margin-bottom: var(--gap); }
.seva-grid:last-child { margin-bottom: 0; }
.seva-cat__price strong { white-space: nowrap; }
.seva-card > .seva-grid:last-child input, .seva-card > .seva-grid:last-child select { margin-bottom: 0; }
.seva-metric__value { font-size: 1.05rem; }
@media (max-width: 599px) {
  .seva-toolbar input[type="search"] { flex: 1 1 100%; }
  .seva-toolbar select { flex: 1 1 auto; }
}
@media (min-width: 600px) { .seva-metric__value { font-size: 1.2rem; } }
