/* PawHandoff Pro portal: one design system for the signed-in pages (services.html, medications.html, reports.html).
   Tokens follow the redesign brief; spacing is an 8 px scale; breakpoints 1024 px (sidebar) and 640 px (phone). */
:root {
  --navy: #0B2344; --navy-2: #13305A; --navy-3: #1E3F6E; --orange: #F77A21; --orange-dark: #D9620F;
  --ivory: #FAF7F3; --card: #FFFFFF; --ink: #1F2633; --slate: #5B6578; --line: #E7E9EE; --line-2: #F0F1F4;
  --blue: #2F6FDB; --blue-tint: #E6EFFD; --green: #1E8E55; --green-tint: #E2F4EA; --orange-tint: #FDEDDF;
  --red: #D6453A; --red-tint: #FBE4E1; --amber: #8F6400; --amber-tint: #FCF1D6; --violet: #6E56CF; --violet-tint: #EEEAFB;
  --radius: 18px; --radius-sm: 12px; --shadow: 0 1px 2px rgba(11, 35, 68, .05), 0 4px 16px rgba(11, 35, 68, .06);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px;
  --sidebar: 264px; --focus: 0 0 0 3px rgba(247, 122, 33, .45);
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--ivory); }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
h1, h2, h3 { color: var(--navy); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
h2 { font-size: 19px; font-weight: 750; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--slate); } .small { font-size: 14px; } .tiny { font-size: 12.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- buttons and form controls ------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700;
       font-size: 15px; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 10px 16px; cursor: pointer;
       text-decoration: none; transition: background .15s, border-color .15s; min-height: 44px; }
.btn:hover { text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--orange); color: #fff; } .btn-accent:hover { background: var(--orange-dark); }
.btn-outline { background: var(--card); color: var(--navy); border-color: #F3B98E; }
.btn-outline:hover { background: var(--orange-tint); }
.btn-quiet { background: var(--line-2); color: var(--navy); } .btn-quiet:hover { background: var(--line); }
.btn-danger { background: var(--red-tint); color: var(--red); } .btn-danger:hover { background: #F8D3CE; }
.btn-link { background: none; border: 0; color: var(--orange-dark); padding: 6px 4px; min-height: 0; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
label { display: block; font-weight: 650; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.field { margin-bottom: var(--s2); }
.hint { color: var(--slate); font-size: 13px; margin-top: 4px; }
input, select, textarea { font: inherit; width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
                          background: #fff; color: var(--ink); min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: var(--focus); }
input[aria-invalid="true"] { border-color: var(--red); }
textarea { min-height: 88px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--navy); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; }

/* --- chips and avatars ---------------------------------------------------------------------------------------- */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; border-radius: 999px;
        padding: 3px 10px; white-space: nowrap; color: var(--slate); background: var(--line-2); }
.chip.blue { color: var(--blue); background: var(--blue-tint); } .chip.green { color: var(--green); background: var(--green-tint); }
.chip.orange { color: var(--orange-dark); background: var(--orange-tint); } .chip.red { color: var(--red); background: var(--red-tint); }
.chip.amber { color: var(--amber); background: var(--amber-tint); } .chip.violet { color: var(--violet); background: var(--violet-tint); }
.chip.test { color: var(--amber); background: var(--amber-tint); letter-spacing: .02em; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
          font-weight: 800; color: #fff; background: var(--navy-3); font-size: 20px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tile-icon .icon { width: 24px; height: 24px; }
.tint-blue { background: var(--blue-tint); color: var(--blue); } .tint-green { background: var(--green-tint); color: var(--green); }
.tint-orange { background: var(--orange-tint); color: var(--orange-dark); } .tint-violet { background: var(--violet-tint); color: var(--violet); }
.tint-red { background: var(--red-tint); color: var(--red); } .tint-navy { background: #E6EAF1; color: var(--navy); }

/* --- shell: sidebar, top bar, main ---------------------------------------------------------------------------- */
.shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--navy); color: #DCE3EE; display: flex; flex-direction: column; padding: var(--s3) var(--s2);
           position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 24px; height: 24px; fill: var(--orange); stroke: none; }
.brand .pro { color: var(--orange); }
.sidebar .brand { color: #fff; padding: 0 var(--s1) var(--s3); }
.sidebar .brand .mark { background: var(--orange); } .sidebar .brand .mark svg { fill: #fff; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 14px; color: #DCE3EE; font-weight: 600; font-size: 15px; padding: 11px 14px;
         border-radius: 12px; text-decoration: none; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 122, 33, .28); }
.nav .count { margin-left: auto; background: rgba(255, 255, 255, .16); color: #fff; font-size: 12px; font-weight: 800;
              border-radius: 999px; padding: 1px 8px; }
.nav a[aria-current="page"] .count { background: rgba(255, 255, 255, .28); }
.nav-sep { height: 1px; background: rgba(255, 255, 255, .1); margin: var(--s2) 6px; }
.alexa-card { margin-top: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: var(--s2); color: #DCE3EE; font-size: 14px; }
.alexa-card .head { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.alexa-ring { width: 30px; height: 30px; border-radius: 50%; border: 4px solid #3BC8F0; flex: none; }
.sidebar .signout { margin-top: var(--s2); color: #DCE3EE; background: none; border: 0; font: inherit; font-weight: 600;
                    display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 12px; cursor: pointer; }
.sidebar .signout:hover { background: var(--navy-2); color: #fff; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px);
          border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: var(--s2); padding: 12px var(--s4); min-height: 68px; }
.topbar .title { font-weight: 750; color: var(--navy); font-size: 18px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--navy); }
.menu-btn .icon { width: 26px; height: 26px; }
.account { position: relative; }
.account > button { display: flex; align-items: center; gap: 10px; background: none; border: 0; font: inherit; font-weight: 650;
                    color: var(--navy); cursor: pointer; padding: 4px 6px; border-radius: 999px; }
.account .initials { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.account .menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px;
                 box-shadow: var(--shadow); min-width: 220px; padding: 6px; display: none; }
.account .menu.open { display: block; }
.account .menu a, .account .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px;
                                          border-radius: 10px; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; }
.account .menu a:hover, .account .menu button:hover { background: var(--line-2); }
.account .menu .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.content { padding: var(--s4); max-width: 1800px; width: 100%; }  /* fills wide screens; very wide ones keep a readable line */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.page-head p { color: var(--slate); margin-top: 6px; max-width: 62ch; }
.scrim { display: none; }

/* --- cards and lists -------------------------------------------------------------------------------------------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); min-width: 0; }
.card + .card { margin-top: var(--s2); }
.grid > .card + .card, .grid > .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); margin-bottom: var(--s2); }
.card-head h2 { display: flex; align-items: center; gap: 10px; }
.card-head h2 .icon { color: var(--navy); }
.grid { display: grid; gap: var(--s3); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.list { display: flex; flex-direction: column; }
.item { display: flex; align-items: center; gap: var(--s2); padding: 14px 0; border-top: 1px solid var(--line-2); min-width: 0; }
.item:first-child { border-top: 0; padding-top: 0; } .item:last-child { padding-bottom: 0; }
.item .grow { flex: 1; min-width: 0; }
.item .name { font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.item .meta { color: var(--slate); font-size: 14px; overflow-wrap: anywhere; }
.item .side { display: flex; align-items: center; gap: var(--s1); flex-wrap: wrap; justify-content: flex-end; }
.datebox { width: 64px; flex: none; text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 6px 0; background: #fff; }
.datebox .m { font-size: 12px; font-weight: 800; color: var(--orange-dark); letter-spacing: .06em; }
.datebox .d { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.datebox .y { font-size: 12px; color: var(--slate); }
.empty { text-align: center; color: var(--slate); padding: var(--s4) var(--s2); }
.empty .icon { width: 36px; height: 36px; color: #B7BFCC; margin: 0 auto var(--s1); }
.empty strong { display: block; color: var(--navy); margin-bottom: 4px; }
.error-box { background: var(--red-tint); color: var(--red); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; }
.note-box { background: var(--amber-tint); color: var(--amber); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; font-size: 14px; }
.info-box { background: var(--blue-tint); color: var(--navy); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.loading { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--slate); padding: var(--s5); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); align-items: center; margin-bottom: var(--s2); }
.filters .seg { display: inline-flex; background: var(--line-2); border-radius: 12px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.filters .seg button { border: 0; background: none; font: inherit; font-weight: 650; font-size: 14px; padding: 7px 12px; border-radius: 9px; color: var(--slate); cursor: pointer; }
.filters .seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(11, 35, 68, .1); }
.filters .search { flex: 1; min-width: 200px; max-width: 360px; position: relative; }
.filters .search input { padding-left: 40px; }
.filters .search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate); }
.filters select { width: auto; min-width: 160px; }

/* --- dashboard ----------------------------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr minmax(240px, 42%); align-items: center; background: #FBF1E7; border-radius: var(--radius);
        overflow: hidden; margin-bottom: var(--s3); min-height: 200px; }
.hero .text { padding: var(--s4); }
.hero .text p { color: var(--slate); margin-top: 8px; font-size: 17px; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: var(--s3); }
.stat { display: flex; align-items: center; gap: var(--s2); padding: var(--s3); border-left: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.stat:first-child { border-left: 0; } .stat:hover { text-decoration: none; background: #FCFBF9; }
.stat .n { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1; }
.stat .l { color: var(--slate); font-size: 14px; margin-top: 4px; }
.pets-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s2); margin-bottom: var(--s3); }
.pet-card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px;
            border: 2px solid transparent; color: inherit; text-decoration: none; min-width: 0; }
.pet-card:hover { border-color: #F3B98E; text-decoration: none; }
.pet-card .pname { font-weight: 750; color: var(--navy); }
.pet-card .pmeta { color: var(--slate); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.quick a, .quick button { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; text-align: left; border: 0; font: inherit; font-weight: 700;
                          color: var(--navy); border-radius: 16px; padding: 16px; cursor: pointer; text-decoration: none; min-height: 112px; }
.quick a:hover, .quick button:hover { filter: brightness(.98); text-decoration: none; }
.quick .icon { width: 26px; height: 26px; }
.q-orange { background: var(--orange-tint); } .q-orange .icon { color: var(--orange-dark); }
.q-green { background: var(--green-tint); } .q-green .icon { color: var(--green); }
.q-violet { background: var(--violet-tint); } .q-violet .icon { color: var(--violet); }
.q-blue { background: var(--blue-tint); } .q-blue .icon { color: var(--blue); }
.q-navy { background: #E9EDF4; } .q-navy .icon { color: var(--navy); }
.utterances { display: flex; flex-direction: column; gap: 8px; margin-top: var(--s1); }
.utterances span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 14px; color: var(--navy); }
.alexa-panel { background: #FBF1E7; border-radius: var(--radius); padding: var(--s3); display: flex; gap: var(--s3); align-items: center; }
.alexa-panel .alexa-ring { width: 56px; height: 56px; border-width: 7px; }
.service-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.service-tile img { width: 100%; height: 132px; object-fit: cover; }
.service-tile .body { padding: var(--s2) var(--s3) var(--s3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s2); }
.kind-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s2) var(--s3) var(--s3); display: flex; flex-direction: column; gap: 10px; }
.kind-card .top { display: flex; align-items: center; gap: 12px; }
.kind-card .meta { color: var(--slate); font-size: 14px; }
.kind-card .actions .btn { min-height: 38px; padding: 7px 12px; font-size: 14px; }
.kind-card .say { font-size: 13.5px; color: var(--slate); background: var(--line-2); border-radius: 10px; padding: 8px 10px; }

/* --- overview v2: compact header, pet summaries, today, usage -------------------------------------------------- */
.hello { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.hello h1 { font-size: clamp(22px, 2vw, 28px); }
.hello .today-line { color: var(--slate); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hello .today-line .dot { width: 4px; height: 4px; border-radius: 50%; background: #C3C9D4; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: var(--s3) 0 12px; }
.section-title h2 { font-size: 17px; }
.pet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--s2); }
.pet-grid:has(> :only-child) { grid-template-columns: minmax(320px, 640px); }
.pet-summary { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); display: flex; flex-direction: column; gap: 14px;
               color: inherit; text-decoration: none; border: 1px solid transparent; }
a.pet-summary:hover { border-color: #F3B98E; text-decoration: none; }
.pet-summary .head { display: flex; gap: 14px; align-items: center; }
.pet-summary .head .avatar { width: 64px; height: 64px; font-size: 24px; }
.pet-summary .head .grow { flex: 1; min-width: 0; }
.pet-summary .pname { font-size: 18px; font-weight: 750; color: var(--navy); }
.pet-summary .pmeta { color: var(--slate); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { display: flex; flex-direction: column; gap: 6px; }
.progress .line { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); }
.progress .line strong { color: var(--navy); }
.progress .track { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.progress .track span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.progress .track.warn span { background: var(--orange); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: #FBFAF8; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.fact .k { font-size: 12.5px; color: var(--slate); display: flex; gap: 6px; align-items: center; }
.fact .k .icon { width: 14px; height: 14px; }
.fact .v { font-weight: 650; color: var(--navy); font-size: 14px; overflow-wrap: anywhere; }
.timeline .item .time { width: 76px; flex: none; font-weight: 700; color: var(--navy); font-size: 14px; }
.timeline .item .avatar { width: 36px; height: 36px; font-size: 14px; }
.usage { display: flex; flex-direction: column; gap: 16px; }
.usage .row { display: grid; grid-template-columns: minmax(140px, 220px) 1fr auto; gap: 16px; align-items: center; }
.usage .row .track { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.usage .row .track span { display: block; height: 100%; background: var(--navy-3); border-radius: 99px; }
.usage .row .n { font-variant-numeric: tabular-nums; color: var(--slate); font-size: 14px; white-space: nowrap; }
.photo-edit { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-edit .avatar { width: 96px; height: 96px; font-size: 36px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .usage .row { grid-template-columns: 1fr auto; } .usage .row .track { grid-column: 1 / -1; order: 3; } }

/* --- provider finder: a kind, your own, then Google Places within the search area ------------------------------ */
.finder .kind-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s2); }
.finder .pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: var(--s2); flex-wrap: wrap; color: var(--slate); font-size: 14px; }
.finder .pager .pages { display: flex; gap: 6px; flex-wrap: wrap; }
.finder .pager button { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700;
                        color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.finder .pager button .icon { width: 18px; height: 18px; } .finder .pager button.prev .icon { transform: rotate(180deg); }
.finder .pager button[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.finder .pager button[disabled] { opacity: .4; cursor: default; }
.finder .kind-pills button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--navy);
                             font: inherit; font-weight: 650; font-size: 14px; padding: 8px 14px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.finder .kind-pills button .icon { width: 18px; height: 18px; }
.finder .kind-pills button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.finder-area { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--slate); font-size: 14px; }
.finder-area .icon { width: 18px; height: 18px; color: var(--orange-dark); }
.finder-area select { width: auto; min-height: 36px; padding: 4px 8px; font-size: 14px; }
.finder-head { font-size: 15px; margin: var(--s2) 0 6px; }
.finder .facts-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.finder .search { position: relative; }
.finder .search input { padding-left: 40px; }
.finder .search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--slate); }
.finder.compact { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin-top: 8px; }
.finder.compact .list { max-height: 300px; overflow-y: auto; }
.btn-link .icon { width: 16px; height: 16px; }

/* --- dialog -------------------------------------------------------------------------------------------------------- */
dialog { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 24px 64px rgba(11, 35, 68, .25); }
dialog::backdrop { background: rgba(11, 35, 68, .45); }
dialog form { padding: var(--s3); overflow-y: auto; max-height: calc(100vh - 48px); }
dialog .dhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s2); }
dialog .close { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--slate); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px;
         border-radius: 14px; font-weight: 650; z-index: 50; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast.bad { background: var(--red); }

/* --- sign-in ------------------------------------------------------------------------------------------------------- */
.signin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; background: #fff; }
.signin .story { background: #F4EFE7; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.signin .story .copy { padding: var(--s5) var(--s5) var(--s3); position: relative; z-index: 1; }
.signin .story .tag { color: var(--navy); font-size: 15px; margin-top: 4px; font-weight: 500; }
.signin .story h1 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; margin: var(--s4) 0 var(--s2); font-weight: 850; letter-spacing: -.02em; }
.signin .story .lead { font-size: 19px; color: var(--ink); max-width: 30ch; }
.signin .features { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-direction: column; gap: 14px; }
.signin .features li { display: flex; align-items: center; gap: 16px; font-weight: 650; color: var(--navy); font-size: 17px; }
.signin .features .dot { width: 48px; height: 48px; border-radius: 50%; background: #4D6CC9; color: #fff; display: grid; place-items: center; flex: none; }
.signin .story { min-height: 100vh; }
.signin .story .photo { flex: 1 1 0; min-height: 300px; width: 100%; object-fit: cover; object-position: center 14%;
                        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
.signin .panel { display: flex; flex-direction: column; padding: var(--s4) var(--s5); }
.signin .panel .topline { text-align: right; color: var(--ink); font-size: 15px; }
.signin .form { width: 100%; max-width: 440px; margin: auto; padding: var(--s5) 0; text-align: center; }
.signin .form > .mark { width: 84px; height: 84px; border-radius: 22px; background: var(--navy); display: grid; place-items: center; margin: 0 auto var(--s3); }
.signin .form > .mark svg { width: 48px; height: 48px; fill: var(--orange); }
.signin .form h2 { font-size: clamp(30px, 3vw, 38px); font-weight: 850; }
.signin .form .sub { color: var(--slate); font-size: 17px; margin: 10px auto var(--s4); max-width: 34ch; }
.signin .form .btn-primary { min-height: 56px; font-size: 17px; border-radius: 14px; }
.signin .form .secondary { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s2); font-size: 15px; flex-wrap: wrap; }
.signin .form .divider { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 14px; margin: var(--s4) 0 var(--s2); }
.signin .form .divider::before, .signin .form .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin .form .info-box { text-align: left; }
.signin .form .info-box strong { color: var(--navy); display: block; margin-bottom: 2px; }
.signin .secure { font-size: 13.5px; color: var(--slate); margin-top: var(--s2); display: flex; gap: 8px; align-items: center; justify-content: center; }
.signin .footer { text-align: center; color: var(--slate); font-size: 14px; }
.signin .footer .paws { display: flex; gap: 10px; justify-content: center; margin: 12px 0 6px; }
.signin .footer .paws svg { width: 18px; height: 18px; fill: #F5A867; }
.signin .mobile-brand { display: none; }

/* --- responsive (wide first, then narrower) --- */
@media (min-width: 2200px) { .dash-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* --- responsive ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 1024px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 30; transform: translateX(-105%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; }
  .shell.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(11, 35, 68, .45); z-index: 25; }
  .menu-btn { display: inline-grid; place-items: center; }
  .topbar { padding: 10px var(--s2); }
  .content { padding: var(--s3) var(--s2); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signin { grid-template-columns: 1fr; }
  .signin .story { order: 2; }
  .signin .story .copy { padding: var(--s4) var(--s3) var(--s2); }
  .signin .story h1 { margin-top: var(--s3); }
  .signin .story { min-height: 0; } .signin .story .photo { flex: none; height: 380px; }
  .signin .panel { padding: var(--s3); }
  .signin .form { padding: var(--s3) 0 var(--s4); }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: var(--s2); gap: 12px; } .stat .n { font-size: 24px; }
  .stat .tile-icon { width: 40px; height: 40px; }
  .hero { grid-template-columns: 1fr; } .hero img { max-height: 170px; } .hero .text { padding: var(--s3) var(--s3) var(--s2); }
  .card { padding: var(--s2); }
  .item { flex-wrap: wrap; } .item .side { width: 100%; justify-content: flex-start; }
  .account .who-name { display: none; }
  .signin .story .copy { display: none; }
  .signin .mobile-brand { display: flex; justify-content: center; margin-bottom: var(--s2); }
  .signin .panel .topline { text-align: center; }
  .signin .form > .mark { display: none; }
  .filters .search { max-width: none; }
}

/* --- print (reports) ------------------------------------------------------------------------------------------------- */
@media print {
  .sidebar, .topbar, .noprint, .toast, .scrim { display: none !important; }
  .shell { display: block; } body { background: #fff; font-size: 11.5pt; } .content { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 1px solid #D5D9E0; break-inside: avoid; } h2 { break-after: avoid; }
  .bar > span { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- business portal (business.html): the business design, scoped to .biz so household pages don't change ------------ */
.biz, body:has(> .biz) { background: #F6F7FB; }
.biz .detail[hidden] { display: none; }
.biz .invite-banner { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: #FFF4EB; border: 1px solid #F3B98E; border-radius: 16px;
                      padding: 14px 18px; margin-bottom: var(--s3); color: var(--navy); }
.biz .invite-banner > .icon { width: 28px; height: 28px; color: var(--orange-dark); }
.biz .invite-banner strong { display: block; } .biz .invite-banner span { color: var(--slate); font-size: 14px; }
.biz .locked input, .biz .locked select, .biz .locked textarea { background: #F7F8FB; }
.biz .locked .btn[disabled], .biz .locked .toggle[disabled], .biz .locked .icon-btn[disabled] { opacity: .45; cursor: not-allowed; }
.biz .sidebar { overflow-x: hidden; padding-bottom: 0; }
.biz .brand small { display: block; font-size: 14px; font-weight: 600; color: #DCE3EE; letter-spacing: 0; margin-top: 1px; }
.biz .brand > span { line-height: 1.15; }
.biz .nav a { padding: 12px 16px; }
.biz .side-art { margin: auto calc(-1 * var(--s2)) 0; width: calc(100% + 2 * var(--s2)); max-width: none; height: 190px; object-fit: cover; flex: none;
                 object-position: center 30%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 45%); mask-image: linear-gradient(to bottom, transparent 0, #000 45%); }
.biz .topbar { background: rgba(246, 247, 251, .9); border-bottom: 0; padding: 14px var(--s4) 0; }
.biz .topbar .title { visibility: hidden; }
.biz .bell { position: relative; color: var(--navy); padding: 8px; border-radius: 12px; display: grid; place-items: center; }
.biz .bell:hover { background: #fff; text-decoration: none; }
.biz .bell .icon { width: 24px; height: 24px; }
.biz .bell .count { position: absolute; top: 2px; right: 0; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
                    min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #F6F7FB; }
.biz .bell .count[hidden] { display: none; }
.biz .account .initials { width: 44px; height: 44px; }
.biz .who-lines { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.biz .who-lines .who-name { font-weight: 750; }
.biz .who-role { font-size: 13px; color: var(--slate); font-weight: 500; }
.biz .content { padding-top: 0; }
.biz .card { border-radius: 16px; border: 1px solid #EEF0F4; box-shadow: 0 1px 2px rgba(11, 35, 68, .04), 0 6px 18px rgba(11, 35, 68, .05); }
.biz .page-head h1, .biz .hello h1 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 850; }
.biz .btn-primary { background: var(--orange); } .biz .btn-primary:hover { background: var(--orange-dark); }
.biz .btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.biz .link-more { color: var(--orange-dark); font-weight: 700; font-size: 15px; }
.biz .date-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #EEF0F4; border-radius: 14px;
                  padding: 10px 16px; font-weight: 650; color: var(--navy); box-shadow: 0 1px 2px rgba(11, 35, 68, .04); }
/* number tiles */
.biz .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s2); margin-bottom: var(--s3); }
.biz .tile { display: flex; align-items: center; gap: var(--s2); background: #fff; border: 1px solid #EEF0F4; border-radius: 16px; padding: 18px 20px;
             color: inherit; box-shadow: 0 1px 2px rgba(11, 35, 68, .04); min-width: 0; }
.biz a.tile:hover { text-decoration: none; border-color: #F3B98E; }
.biz .tile .tile-icon { width: 54px; height: 54px; border-radius: 50%; }
.biz .tile .n { font-size: 30px; font-weight: 850; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.biz .tile .l { color: var(--ink); font-size: 15px; margin-top: 6px; font-weight: 550; }
.biz .tile .delta { font-size: 13px; font-weight: 700; margin-left: 8px; } .biz .delta.up { color: var(--green); } .biz .delta.down { color: var(--red); }
/* overview layout */
.biz .row-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s3); margin-bottom: var(--s3); }
.biz .row-2.even { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.biz .row-2 > .card, .biz .row-2 > .card + .card { margin-top: 0; }
.biz .sched .item { padding: 12px 0; }
.biz .sched .time { width: 74px; font-weight: 750; color: var(--navy); font-variant-numeric: tabular-nums; flex: none; }
.biz .sched .avatar, .biz .mini .avatar { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
.biz .quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz .qa { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 16px; color: var(--navy); min-height: 92px; }
.biz .qa:hover { text-decoration: none; filter: brightness(.98); }
.biz .qa .icon { width: 30px; height: 30px; flex: none; }
.biz .qa strong { display: block; font-size: 16px; } .biz .qa span { color: var(--slate); font-size: 14px; }
.biz .mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.biz .mini { border: 1px solid #EEF0F4; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.biz .mini .top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.biz .mini .line { display: flex; gap: 8px; align-items: center; color: var(--slate); font-size: 14px; }
.biz .mini .line .icon { width: 16px; height: 16px; }
.biz .activity .item { align-items: flex-start; }
.biz .activity .initials-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.biz .activity .when { color: var(--slate); font-size: 13px; white-space: nowrap; }
/* bar charts: one series; today (or the peak) in orange; every bar has a hover/focus label */
.biz .bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 10px; height: 200px;
             border-bottom: 1px solid var(--line); padding-top: 24px; }
.biz .bars .bar { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.biz .bars .bar i { display: block; background: #C9C2F2; border-radius: 4px 4px 0 0; min-height: 2px; }
.biz .bars .bar.hl i { background: var(--orange); }
.biz .bars .bar b { position: absolute; left: 50%; transform: translate(-50%, -100%); margin-top: -4px; font-size: 13px; font-weight: 750; color: var(--navy); white-space: nowrap; }
.biz .bars .bar .tip { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff;
                       font-size: 12.5px; font-weight: 600; padding: 5px 8px; border-radius: 8px; white-space: nowrap; z-index: 2; pointer-events: none; }
.biz .bars .bar:hover .tip, .biz .bars .bar:focus-visible .tip { display: block; }
.biz .bars .bar:hover i { filter: brightness(.94); }
.biz .bar-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 8px; text-align: center;
                   font-size: 12.5px; color: var(--slate); line-height: 1.3; }
.biz .bar-labels span { white-space: nowrap; }
.biz .bar-labels span.hide { visibility: hidden; }
.biz .hbars { display: flex; flex-direction: column; gap: 14px; }
.biz .hbars .hb { display: grid; grid-template-columns: minmax(110px, 170px) 1fr auto auto; gap: 14px; align-items: center; font-size: 14.5px; }
.biz .hbars .hb .k { font-weight: 650; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz .hbars .track { height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.biz .hbars .track span { display: block; height: 100%; border-radius: 99px; background: var(--orange); }
.biz .hbars .v { color: var(--slate); font-variant-numeric: tabular-nums; white-space: nowrap; }
.biz .hbars .pct { font-weight: 700; color: var(--navy); width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
/* tabs, filters, table + detail panel */
.biz .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s2); }
.biz .tabs button { border: 0; background: #ECEEF3; color: var(--navy); font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 12px; cursor: pointer; }
.biz .tabs button[aria-pressed="true"] { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(247, 122, 33, .25); }
.biz .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: var(--s3); align-items: start; }
.biz .split > .card, .biz .split > .card + .card { margin-top: 0; }
.biz .split .detail { position: sticky; top: 84px; }
.biz table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.biz table.data th { text-align: left; font-size: 14px; color: var(--navy); font-weight: 750; padding: 12px 10px; background: #F7F8FB; white-space: nowrap; }
.biz table.data th:first-child { border-radius: 10px 0 0 10px; } .biz table.data th:last-child { border-radius: 0 10px 10px 0; }
.biz table.data td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.biz table.data tbody tr { cursor: pointer; } .biz table.data tbody tr:hover { background: #FCFBF9; }
.biz table.data tbody tr[aria-selected="true"] { background: #FFF4EB; }
.biz table.data .pet { display: flex; gap: 12px; align-items: center; min-width: 0; }
.biz table.data .pet .avatar { width: 42px; height: 42px; font-size: 16px; border-radius: 10px; }
.biz table.data .sub, .biz .sub { color: var(--slate); font-size: 13px; }
.biz table.data .ref { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.biz .svc { display: inline-flex; align-items: center; gap: 6px; background: var(--violet-tint); color: var(--violet); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.biz .svc .icon { width: 15px; height: 15px; }
.biz .pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: var(--s2); flex-wrap: wrap; color: var(--slate); font-size: 14px; }
.biz .pager .pages { display: flex; gap: 6px; }
.biz .pager button { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.biz .pager button .icon { width: 18px; height: 18px; }
.biz .pager button.prev .icon { transform: rotate(180deg); }
.biz .pager button[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.biz .pager button[disabled] { opacity: .4; cursor: default; }
.biz .detail-head { display: flex; gap: 14px; align-items: center; margin-bottom: var(--s2); }
.biz .detail-head .avatar { width: 84px; height: 84px; border-radius: 16px; font-size: 32px; }
.biz .detail-head .grow { flex: 1; min-width: 0; }
.biz .kv { display: flex; flex-direction: column; gap: 10px; padding: var(--s2) 0; border-top: 1px solid var(--line-2); }
.biz .kv .r { display: flex; gap: 10px; align-items: center; color: var(--ink); font-size: 15px; }
.biz .kv .r .icon { width: 18px; height: 18px; color: var(--slate); }
.biz .kv h3 { display: flex; gap: 8px; align-items: center; }
.biz .privacy { background: #F7F8FB; border-radius: 12px; padding: 12px 14px; color: var(--slate); font-size: 13.5px; }
.biz .detail .actions { margin-top: var(--s2); }
/* clients */
.biz .client-list .item { padding: 12px; border-radius: 14px; border-top: 0; cursor: pointer; margin-bottom: 4px; width: 100%; background: none; border: 0;
                          font: inherit; text-align: left; color: inherit; }
.biz .client-list .item:hover { background: #FCFBF9; } .biz .client-list .item[aria-pressed="true"] { background: #FFF4EB; }
.biz .client-list .avatar { width: 48px; height: 48px; font-size: 18px; }
.biz .pet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: var(--s2); }
.biz .pet-cards .mini { flex-direction: row; align-items: center; }
.biz .facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; background: #F7F8FB; border-radius: 14px; padding: 14px; margin: var(--s2) 0; }
.biz .facts-row .k { font-size: 13px; color: var(--slate); } .biz .facts-row .v { font-weight: 750; color: var(--navy); }
/* profile */
.biz .banner { position: relative; border-radius: 18px; overflow: hidden; background: linear-gradient(100deg, #0B2344 0%, #13305A 60%, #1E3F6E 100%);
               min-height: 168px; display: flex; align-items: center; margin-bottom: var(--s3); }
.biz .banner img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; z-index: 0;
                   -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%); mask-image: linear-gradient(to right, transparent 0, #000 40%); }
.biz .banner .copy { position: relative; z-index: 1; display: flex; gap: 18px; align-items: center; padding: var(--s3) var(--s4); color: #fff; }
.biz .banner .mark { width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.biz .banner .mark svg { width: 40px; height: 40px; fill: #fff; }
.biz .banner h2 { color: #fff; font-size: clamp(24px, 2.6vw, 36px); font-weight: 850; }
.biz .banner p { color: #DCE3EE; font-size: 16px; }
.biz .checks { display: flex; flex-direction: column; gap: 10px; }
.biz .checks .r { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.biz .checks .r .icon { width: 20px; height: 20px; color: var(--green); }
.biz .checks .r.first { background: var(--green-tint); border-radius: 10px; padding: 8px 10px; font-weight: 700; color: var(--green); }
.biz .listing-pick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s2); }
/* switch */
.biz .switch { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 14px 0; border-top: 1px solid var(--line-2); }
.biz .switch:first-of-type { border-top: 0; }
.biz .switch .t strong { display: block; color: var(--navy); } .biz .switch .t span { color: var(--slate); font-size: 14px; }
.biz .toggle { position: relative; width: 52px; height: 30px; min-height: 0; border-radius: 999px; border: 0; background: #C9CED8; cursor: pointer; flex: none; padding: 0; }
.biz .toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.biz .toggle[aria-checked="true"] { background: #1E9E5A; } .biz .toggle[aria-checked="true"]::after { transform: translateX(22px); }
@media (prefers-reduced-motion: reduce) { .biz .toggle::after { transition: none; } }
.biz .integ { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.biz .integ .alexa-ring { width: 36px; height: 36px; }
/* availability: the week, opening hours, closed days */
.biz .week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.biz .wday { background: #F7F8FB; border-radius: 12px; padding: 10px 8px; min-height: 260px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.biz .wday.today { box-shadow: inset 0 0 0 2px var(--orange); }
.biz .wday.closed { background: repeating-linear-gradient(135deg, #F1F2F6 0 8px, #E8EAF0 8px 16px); }
.biz .wtop { display: flex; flex-direction: column; align-items: center; color: var(--navy); line-height: 1.2; }
.biz .wtop span { font-size: 13px; color: var(--slate); }
.biz .whours { text-align: center; font-size: 12px; color: var(--slate); min-height: 16px; margin-bottom: 4px; overflow-wrap: anywhere; }
.biz .wday.closed .whours { font-weight: 700; color: var(--navy); }
.biz .wbook { display: flex; flex-direction: column; border-radius: 10px; padding: 7px 8px; font-size: 12.5px; line-height: 1.3; color: var(--navy); min-width: 0; }
.biz .wbook:hover { text-decoration: none; filter: brightness(.97); }
.biz .wbook strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz .wbook span { color: var(--slate); }
.biz .wbook.green { background: var(--green-tint); border-left: 3px solid var(--green); } .biz .wbook.violet { background: var(--violet-tint); border-left: 3px solid var(--violet); }
.biz .wnone { text-align: center; font-size: 12px; color: #A3ABB9; margin-top: 8px; }
.biz .legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.biz .hours-rows { display: flex; flex-direction: column; gap: 8px; }
.biz .hrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; }
.biz .htimes { display: flex; gap: 6px; align-items: center; min-width: 0; } .biz .htimes[hidden], .biz .hclosed[hidden] { display: none; }
.biz .htimes input { min-height: 38px; padding: 6px 8px; font-size: 14px; min-width: 0; }
.biz .hclosed { color: var(--slate); font-size: 14px; background: #F1F2F6; border-radius: 10px; padding: 8px 12px; }
@media (max-width: 760px) {
  .biz .week { grid-template-columns: 1fr; }
  .biz .wday { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .biz .wtop { flex-direction: row; gap: 6px; width: 100%; } .biz .whours { text-align: left; width: 100%; margin: 0; }
  .biz .wbook { width: 100%; } .biz .wnone { margin: 0; }
}
/* services & pricing: kinds | table | editor */
.biz .svc-grid { display: grid; grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(300px, 360px); gap: var(--s3); align-items: start; }
.biz .svc-grid > .card, .biz .svc-grid > .card + .card { margin-top: 0; }
.biz .svc-grid .detail { position: sticky; top: 84px; }
.biz .svc-grid h2 { font-size: 17px; margin-bottom: 12px; }
.biz .cat-list { display: flex; flex-direction: column; gap: 4px; }
.biz .cat { display: flex; align-items: center; gap: 12px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--navy);
            padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left; }
.biz .cat:hover { background: #FCFBF9; } .biz .cat[aria-pressed="true"] { background: #FFF4EB; color: var(--orange-dark); }
.biz .cat .n { color: var(--slate); font-size: 14px; }
.biz .alexa-says { margin-top: var(--s2); background: #F7F8FB; border-radius: 14px; padding: 14px; font-size: 14px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.biz .alexa-says strong { color: var(--navy); }
.biz .row-acts { display: flex; gap: 4px; justify-content: flex-end; }
.biz .icon-btn { border: 0; background: none; color: var(--slate); padding: 8px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.biz .icon-btn:hover { background: var(--line-2); color: var(--navy); } .biz .icon-btn .icon { width: 18px; height: 18px; }
.biz .detail textarea { min-height: 72px; }
@media (max-width: 1440px) { .biz .svc-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); } .biz .svc-grid > :first-child { grid-column: 1 / -1; }
  .biz .svc-grid .cat-list { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 1100px) { .biz .svc-grid { grid-template-columns: 1fr; } .biz .svc-grid .detail { position: static; } }
@media (max-width: 1280px) { .biz .split { grid-template-columns: 1fr; } .biz .split .detail { position: static; } }
@media (max-width: 1180px) { .biz .row-2, .biz .row-2.even { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .biz .topbar { padding: 10px var(--s2); background: #fff; border-bottom: 1px solid var(--line); }
  .biz .topbar .title { visibility: visible; }
  .biz .content { padding-top: var(--s3); }
  .biz .side-art { display: none; }
}
@media (max-width: 760px) {
  .biz table.data thead { display: none; }
  .biz table.data, .biz table.data tbody, .biz table.data tr, .biz table.data td { display: block; width: 100%; }
  .biz table.data tr { border: 1px solid var(--line-2); border-radius: 14px; padding: 6px 4px; margin-bottom: 10px; }
  .biz table.data td { border: 0; padding: 6px 10px; }
  .biz .quick-grid { grid-template-columns: 1fr; }
  .biz .hbars .hb { grid-template-columns: 1fr auto auto; } .biz .hbars .hb .track { grid-column: 1 / -1; order: 3; }
  .biz .facts-row { grid-template-columns: 1fr 1fr; }
  .biz .banner img { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .biz .banner .copy { padding: var(--s3); }
  .biz .who-lines { display: none; }
  .biz .bars { gap: 4px; } .biz .bar-labels { gap: 4px; font-size: 11px; }
  .biz .tabs button { padding: 8px 12px; font-size: 14px; }
  .biz .sched .avatar { display: none; } .biz .sched .time { width: 64px; }
  .biz .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .biz .tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .biz .tile .tile-icon { width: 40px; height: 40px; } .biz .tile .n { font-size: 24px; } .biz .tile .l { font-size: 14px; }
}
