/* =====================================================================
   NIKO TRUSTED PET CARE — Hoja de estilos principal
   ===================================================================== */
:root{
  --brand:#4A4A35;
  --brand-dark:#2B2E1F;
  --brand-light:#ECE9DC;
  --brand-mid:#D5CFBB;
  --accent:#C29E67;
  --accent-light:#F4EAD8;
  --ink:#2B2E1F;
  --ink-2:#4D4530;
  --muted:#7A776A;
  --line:#E2D8C7;
  --line-2:#F0E8D9;
  --bg:#F4EAD8;
  --card:#FBF8F0;
  --ok:#536147;   --ok-bg:#E9ECDF;
  --warn:#927246; --warn-bg:#F7EFDF;
  --bad:#b3261e;  --bad-bg:#fdeceb;
  --info:#596247; --info-bg:#EDF0E5;
  --radius:14px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(43,46,31,.04), 0 8px 24px rgba(43,46,31,.06);
  --shadow-lg:0 20px 50px rgba(43,46,31,.18);
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--sans); background:var(--bg); color:var(--ink);
  font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
a{color:var(--brand); text-decoration:none}
a:hover{color:var(--brand-dark)}
h1,h2,h3,h4{margin:0 0 .4em; letter-spacing:-.02em; line-height:1.25}
h1{font-size:26px; font-weight:800}
h2{font-size:19px; font-weight:750}
h3{font-size:16px; font-weight:700}
p{margin:0 0 1em}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.88em; background:#F0ECE1; padding:.12em .35em; border-radius:5px}
.container{max-width:1160px; margin:0 auto; padding:0 22px}

/* ---------- Botones ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  font-family:inherit; font-size:14px; font-weight:650; line-height:1;
  padding:11px 16px; border-radius:11px; border:1px solid transparent;
  cursor:pointer; transition:.16s ease; white-space:nowrap; text-decoration:none;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--brand); color:#fff; box-shadow:0 1px 2px rgba(43,46,31,.25)}
.btn-primary:hover{background:var(--brand-dark); color:#fff}
.btn-accent{background:var(--accent); color:var(--ink)}
.btn-accent:hover{background:color-mix(in srgb,var(--accent) 86%,#000); color:var(--ink)}
.btn-outline{background:var(--card); color:var(--ink); border-color:#DED7C9}
.btn-outline:hover{border-color:#C8BFAE; background:#FBF8F0; color:var(--ink)}
.btn-danger{background:var(--card); color:var(--bad); border-color:#f0c9c6}
.btn-danger:hover{background:var(--bad-bg); color:var(--bad)}
.btn-ghost{background:transparent; color:var(--brand); border-color:transparent; padding:8px 10px}
.btn-ghost:hover{background:var(--brand-light)}
.btn-sm{padding:7px 11px; font-size:13px; border-radius:9px}
.btn-lg{padding:14px 22px; font-size:15px}
.btn-block{width:100%}
.btn[disabled]{opacity:.45; cursor:not-allowed}
.btn-row{display:flex; gap:8px; flex-wrap:wrap; align-items:center}

/* ---------- Formularios ---------- */
label.fl{display:block; font-size:13px; font-weight:650; margin-bottom:6px; color:var(--ink-2)}
label.fl .req{color:var(--bad)}
input[type=text],input[type=email],input[type=tel],input[type=number],
input[type=password],input[type=date],input[type=time],select,textarea{
  width:100%; font-family:inherit; font-size:14px; color:var(--ink);
  padding:11px 13px; border:1px solid #DED7C9; border-radius:var(--radius-sm);
  background:var(--card); transition:.15s;
}
input:focus,select:focus,textarea:focus{
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 18%,transparent);
}
input:disabled{background:#F4EAD8; color:var(--muted)}
textarea{min-height:88px; resize:vertical}
.fg{margin-bottom:14px}
.fgrid{display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.hint{font-size:12.5px; color:var(--muted); margin-top:5px}
fieldset{border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin:0 0 16px}
legend{font-weight:700; font-size:14px; padding:0 8px; color:var(--ink-2)}
.check{display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:var(--ink-2);
  background:#FBF8F0; border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px 14px; margin-bottom:10px}
.check input{margin:2px 0 0; width:17px; height:17px; accent-color:var(--brand); flex:0 0 auto}
.check b{display:block}

/* ---------- Tarjetas ---------- */
.card{background:linear-gradient(145deg,var(--card) 0%,#F4EAD8 100%); border:1px solid #E3DCCF; border-radius:var(--radius); box-shadow:var(--shadow)}
.card-pad{padding:20px}
.card-head{display:flex; justify-content:space-between; align-items:center; gap:14px; padding:16px 20px; border-bottom:1px solid #ECE7DB; background:#FBF8F0; border-radius:var(--radius) var(--radius) 0 0}
.card-head h2,.card-head h3{margin:0}
.card-body{padding:20px}
.card-foot{padding:14px 20px; border-top:1px solid var(--line-2); background:var(--card); border-radius:0 0 var(--radius) var(--radius)}
.grid{display:grid; gap:16px}
.g-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g-3{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.g-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.stack{display:flex; flex-direction:column; gap:16px}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.row-between{display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap}
.spacer{flex:1}

/* ---------- Tipografía auxiliar ---------- */
.muted{color:var(--muted)}
.tiny{font-size:12.5px}
.small{font-size:13.5px}
.b{font-weight:700}
.num{font-variant-numeric:tabular-nums}
.center{text-align:center}
.nowrap{white-space:nowrap}
.stars{color:var(--accent); letter-spacing:1.5px; font-size:13px}
.stars-num{font-weight:750; font-size:13px}
.tag{display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:650;
  padding:4px 10px; border-radius:999px; background:#F0ECE1; color:var(--ink-2)}
.chip{display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:680;
  padding:3px 9px; border-radius:999px; background:#F0ECE1; color:#4D5144; white-space:nowrap}
.chip-ok{background:var(--ok-bg); color:var(--ok)}
.chip-warn{background:var(--warn-bg); color:var(--warn)}
.chip-bad{background:var(--bad-bg); color:var(--bad)}
.chip-teal{background:var(--brand-light); color:var(--brand-dark)}
.chip-info{background:var(--info-bg); color:var(--info)}
.pill{display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px;
  font-size:12.5px; font-weight:650; background:#F0ECE1; color:var(--ink-2)}

/* ---------- Alertas ---------- */
.alert{display:flex; gap:11px; align-items:flex-start; padding:13px 16px; border-radius:var(--radius-sm);
  font-size:13.5px; margin-bottom:14px; border:1px solid transparent}
.alert-ico{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;
  font-weight:800; flex:0 0 auto; background:rgba(0,0,0,.08)}
.alert-ok,.alert-success{background:var(--ok-bg); color:#45513A; border-color:#DDE4D2}
.alert-error{background:var(--bad-bg); color:#8d1e18; border-color:#f3cfcc}
.alert-warn{background:var(--warn-bg); color:#665C3F; border-color:#DDD2B7}
.alert-info{background:var(--info-bg); color:#4A4A35; border-color:#D6D0BE}
.note{border-left:3px solid var(--accent); background:var(--accent-light); padding:12px 15px;
  border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-size:13.5px; color:#4D4530}
.note-info{border-color:var(--brand); background:var(--brand-light); color:#2B2E1F}
.note-bad{border-color:var(--bad); background:var(--bad-bg); color:#8d1e18}

/* ---------- Avatares ---------- */
.avatar{display:inline-grid; place-items:center; border-radius:12px; color:#fff; font-weight:800;
  flex:0 0 auto; object-fit:cover; background:var(--brand)}
.avatar-sm{width:32px;height:32px;font-size:12px;border-radius:9px}
.avatar-md{width:46px;height:46px;font-size:16px}
.avatar-lg{width:64px;height:64px;font-size:21px;border-radius:16px}
.avatar-xl{width:84px;height:84px;font-size:27px;border-radius:20px}

/* =====================================================================
   LANDING PÚBLICA
   ===================================================================== */
.site-header{position:sticky; top:0; z-index:60; background:rgba(244,234,216,.94);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.site-header .container{display:flex; align-items:center; gap:18px; height:68px}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; color:var(--ink); letter-spacing:-.3px}
.brand:hover{color:var(--ink)}
.brand-mark{width:36px;height:36px;border-radius:11px;background:var(--brand-light);color:var(--brand);
  display:grid;place-items:center;flex:0 0 auto}
.brand-mark-logo{overflow:visible;background:var(--card);border:1px solid var(--line);padding:2px}
.brand-mark-logo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}
.brand-txt{display:flex; flex-direction:column; line-height:1.1; min-width:0; max-width:180px}
.brand-txt b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand-txt b{font-size:16px}
.brand-txt small{font-size:10.5px; font-weight:650; color:var(--muted); letter-spacing:.6px; text-transform:uppercase}
.site-nav{display:flex; gap:4px; margin-left:auto}
.site-nav a{font-size:14px; font-weight:600; color:var(--muted); padding:8px 12px; border-radius:9px}
.site-nav a:hover{background:#F3EEE3; color:var(--ink)}
.header-cta{display:flex; gap:8px; align-items:center}

.hero{background:linear-gradient(145deg,var(--brand-dark) 0%,var(--brand) 100%); color:#fff; border-bottom:1px solid rgba(255,255,255,.08); padding:64px 0 72px; overflow:hidden}
.hero .container{display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:center}
.eyebrow{display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:750;
  letter-spacing:3px; text-transform:uppercase; color:var(--accent); background:transparent;
  border:0; padding:6px 0; border-radius:0; margin-bottom:18px}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.6rem,5vw,3.6rem);font-weight:500;line-height:1.05;letter-spacing:-.035em;margin-bottom:18px;color:#fff}
.hero h1 em{font-style:italic;color:var(--accent);position:relative}
.hero-lede{font-size:17px;color:#E7DFD0;max-width:33em;margin-bottom:24px}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:26px}
.hero-actions .btn-primary{background:var(--accent);color:var(--brand-dark);box-shadow:none}
.hero-actions .btn-primary:hover{background:color-mix(in srgb,var(--accent) 86%,#fff);color:var(--brand-dark)}
.hero-actions .btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.hero-actions .btn-outline:hover{background:rgba(255,255,255,.1);color:#fff}
.hero-note{max-width:40em;border-left:3px solid var(--accent);padding:8px 0 8px 16px;margin:18px 0 24px;color:#E7DFD0;font-size:14px;line-height:1.7}
.hero-proof{display:flex; gap:26px; flex-wrap:wrap; padding-top:22px; border-top:1px solid rgba(255,255,255,.22)}
.proof b{display:block; font-size:22px; font-weight:800; letter-spacing:-.5px;color:#fff}
.proof span{font-size:12.5px; color:#E7DECC; font-weight:600}

.hero-card{background:var(--card); border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-lg); padding:20px; position:relative}
.hero-card::before{content:""; position:absolute; inset:auto -18px -18px auto; width:120px; height:120px;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 24%,transparent),transparent 70%); border-radius:50%}
.hc-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px}
.hc-title{font-size:13px; font-weight:750; text-transform:uppercase; letter-spacing:.5px; color:var(--muted)}
.mini-cg{display:flex; gap:12px; align-items:center; padding:11px; border:1px solid var(--line-2); border-radius:12px; margin-bottom:9px; background:var(--card)}
.mini-cg .info{min-width:0; flex:1}
.mini-cg .nm{font-weight:700; font-size:14px}
.mini-cg .mt{font-size:12px; color:var(--muted)}
.mini-cg .pr{font-weight:800; font-size:14px; white-space:nowrap}
.hc-foot{display:flex; align-items:center; gap:8px; margin-top:12px; padding-top:12px; border-top:1px dashed var(--line); font-size:12.5px; color:var(--muted)}

.section{padding:64px 0}
.section-alt{background:var(--card); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section-head{text-align:center; max-width:660px; margin:0 auto 40px}
.section-head h2{font-size:31px; letter-spacing:-.03em; margin-bottom:10px}
.section-head p{color:var(--muted); font-size:16px}
.feature{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow)}
.feature-ico{width:48px;height:48px;border-radius:15px;background:var(--brand-light);color:var(--brand);
  display:grid;place-items:center;margin-bottom:14px;box-shadow:0 3px 9px rgba(43,46,31,.1)}
.feature-ico .ico{width:24px;height:24px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.14))}
.feature-ico-security{background:#E4F1E7;color:#378451}
.feature-ico-payment{background:#F7EFDA;color:#B78A24}
.feature-ico-cancellation{background:#E3F1F0;color:#397C80}
.feature-ico-banned{background:#F8E6E4;color:#B94D47}
.feature-ico-reviews{background:#FFF2CC;color:#D5A719}
.feature-ico-pet-record{background:#F6E6D6;color:#B97948}
.feature h3{font-size:16px; margin-bottom:6px}
.feature p{font-size:13.8px; color:var(--muted); margin:0}
.steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:22px; counter-reset:s}
.step{position:relative; padding-top:12px}
.step-n{width:38px;height:38px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;
  display:grid;place-items:center;margin-bottom:12px; font-size:15px}
.step h3{font-size:16px; margin-bottom:5px}
.step p{font-size:13.8px; color:var(--muted); margin:0}

.plans{display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px}
.plan{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:24px; position:relative}
.plan.highlight{border-color:var(--brand); box-shadow:0 12px 34px color-mix(in srgb,var(--brand) 16%,transparent)}
.plan .plan-tag{position:absolute; top:-11px; right:18px; background:var(--brand); color:#fff;
  font-size:11px; font-weight:750; padding:4px 11px; border-radius:999px; letter-spacing:.4px}
.plan h3{font-size:15px; text-transform:uppercase; letter-spacing:.5px; color:var(--muted)}
.plan .amount{font-size:34px; font-weight:800; letter-spacing:-1px; margin:6px 0 2px}
.plan ul{list-style:none; padding:0; margin:16px 0 0; font-size:13.6px}
.plan li{padding:7px 0 7px 26px; position:relative; color:var(--ink-2)}
.plan li::before{content:"✓"; position:absolute; left:0; color:var(--brand); font-weight:800}

.cta-band{background:linear-gradient(120deg,var(--brand-dark),var(--brand) 60%,#777A5D 100%);
  color:#fff; border-radius:20px; padding:44px; display:flex; justify-content:space-between;
  align-items:center; gap:28px; flex-wrap:wrap; margin:0 0 10px}
.cta-band h2{color:#fff; font-size:27px; margin:0 0 6px}
.cta-band p{color:rgba(255,255,255,.85); margin:0; font-size:15px}
.cta-band .btn-accent{box-shadow:0 8px 22px rgba(0,0,0,.18)}

/* ---------- Autenticación ---------- */
.login-header{background:var(--card);border-bottom:1px solid #E2D8C7;backdrop-filter:blur(10px)}
.login-header .brand-txt b{color:var(--brand-dark)}
.auth-wrap{min-height:calc(100vh - 68px); display:grid; grid-template-columns:1.1fr .9fr; background:var(--card); overflow:hidden}
.auth-side{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:56px 48px;display:flex;align-items:center;
  background-image:linear-gradient(105deg,rgba(43,46,31,.96) 0%,rgba(43,46,31,.90) 43%,rgba(43,46,31,.74) 76%,rgba(43,46,31,.52) 100%),url('../img/login-petcare-park.jpg');
  background-size:cover;background-position:center 52%}
.auth-side::after{content:"";position:absolute;z-index:1;pointer-events:none;inset:0 0 0 auto;width:180px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.58) 66%,#fff 100%)}
.auth-side-content{position:relative;z-index:2;width:100%;max-width:540px;padding-right:92px}
.auth-eyebrow{color:var(--accent);background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.26);padding:7px 12px;border-radius:999px;margin-bottom:22px}
.auth-side h2{color:#fff;font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.2vw,42px);font-weight:700;line-height:1.12;letter-spacing:-.025em;margin:0 0 16px}
.auth-side h2 em{color:var(--accent);font-style:normal;font-weight:700}
.auth-side-caregiver .auth-side-content{display:grid;grid-template-columns:minmax(200px,.9fr) minmax(240px,1.1fr);column-gap:32px;row-gap:8px;align-items:center;max-width:none}
.auth-side-caregiver h2{grid-column:1;margin:0}
.auth-side-caregiver p{grid-column:2;margin:0}
.auth-side-caregiver ul{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;margin:26px 0 0}
.auth-side-caregiver li{font-weight:600}
.auth-side p{color:rgba(255,255,255,.91);font-size:15px;max-width:30em}
.auth-side ul{list-style:none;padding:0;margin:24px 0 0}
.auth-side li{padding:8px 0 8px 32px;position:relative;color:rgba(255,255,255,.96);font-size:14px}
.auth-side li::before{content:"✓";position:absolute;left:0;top:7px;width:20px;height:20px;border-radius:50%;
  color:var(--brand-dark);background:var(--accent);display:grid;place-items:center;font-size:11px;font-weight:900}
.auth-main{position:relative;background:var(--card);padding:52px 48px;display:flex;flex-direction:column;justify-content:center}
.auth-card{width:100%;max-width:430px;margin:0 auto}
.auth-card h1{font-size:25px;margin-bottom:6px;color:var(--brand-dark)}
.auth-card .sub{color:var(--muted);font-size:14px;margin-bottom:24px}
.auth-alt{text-align:center;font-size:13.5px;color:var(--muted);margin-top:18px}
.auth-alt a{color:var(--brand);font-weight:700}
.demo-box{background:var(--brand-light);border:1px dashed var(--brand-mid);border-radius:var(--radius-sm);
  padding:13px 15px;font-size:12.8px;color:var(--brand-dark);margin-top:20px}
.demo-box b{display:block;margin-bottom:3px;color:var(--brand-dark)}
.demo-box code{background:var(--card);color:var(--brand-dark)}
@media(max-width:900px){
  .auth-wrap{grid-template-columns:1fr;min-height:calc(100vh - 68px)}
  .auth-side{min-height:245px;padding:30px 24px 34px;background-position:center 48%}
  .auth-side::after{inset:auto 0 0;height:72px;width:100%;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
  .auth-side-content{padding-right:0;max-width:620px}
  .auth-side-caregiver .auth-side-content{display:block}
  .auth-side ul{display:none}
  .auth-main{padding:34px 22px 42px}
}
@media(max-width:520px){
  .auth-side{min-height:215px;padding:24px 20px 32px}
  .auth-side h2{font-size:30px}
  .auth-eyebrow{margin-bottom:14px}
  .auth-main{padding:28px 20px 36px}
}

/* =====================================================================
   SHELL DE PORTAL
   ===================================================================== */
.shell{display:grid; grid-template-columns:252px minmax(0,1fr); min-height:100vh}
.sidebar{background:var(--brand-dark); color:var(--accent-light); display:flex; flex-direction:column;
  position:sticky; top:0; height:100vh; overflow-y:auto; z-index:70}
.sidebar-head{padding:18px 18px 12px; border-bottom:1px solid rgba(244,234,216,.14)}
.sidebar .brand{color:var(--accent-light)}
.sidebar .brand:hover{color:#FBF8F0}
.sidebar .brand-mark{background:rgba(244,234,216,.12); color:var(--accent)}
.sidebar .brand-mark-logo{overflow:visible;padding:0;border:0;border-radius:0;background:transparent}
.sidebar .brand-mark-logo img{object-fit:contain;border-radius:0}
.sidebar .brand-txt small{color:#D8CCB8}
.sidebar-user{display:flex; gap:11px; align-items:center; padding:16px 18px; border-bottom:1px solid rgba(244,234,216,.14)}
.sidebar-user>.avatar{width:52px;height:52px;flex:0 0 52px;border-radius:14px;font-size:17px}
.sidebar-user-txt{min-width:0}
.su-nombre{color:#FBF8F0; font-weight:700; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.su-rol{font-size:11.5px; color:#D8CCB8; text-transform:uppercase; letter-spacing:.5px; font-weight:650}
.sidebar-nav{padding:12px 10px; display:flex; flex-direction:column; gap:2px; flex:1}
.nav-item{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px;
  color:#E5DCCB; font-size:13.8px; font-weight:600; transition:.14s}
.nav-item:hover{background:rgba(244,234,216,.11); color:#FBF8F0}
.nav-item.on{background:var(--brand); color:#FBF8F0; box-shadow:0 2px 10px rgba(0,0,0,.2); border-left:2px solid var(--accent)}
.nav-item .ico{opacity:.95; flex:0 0 auto}
.nav-badge{margin-left:auto; background:var(--accent); color:var(--brand-dark); font-size:11px; font-weight:800;
  min-width:20px; height:20px; border-radius:999px; display:grid; place-items:center; padding:0 5px}
.sidebar-foot{padding:12px 12px 18px; border-top:1px solid rgba(244,234,216,.14)}
.api-hint{display:flex; gap:9px; align-items:flex-start; background:rgba(244,234,216,.09);
  border-radius:10px; padding:10px 11px; font-size:11.8px; color:#D8CCB8; margin-bottom:8px; line-height:1.4}
.api-hint b{display:block; color:#FBF8F0; font-size:12.2px; margin-bottom:1px}
.api-hint code{background:rgba(0,0,0,.25); color:var(--accent); font-size:11px}
.nav-logout{width:100%}

.main{display:flex; flex-direction:column; min-width:0}
.topbar{background:var(--card); border-bottom:1px solid var(--line); padding:15px 26px;
  display:flex; align-items:center; gap:16px; position:sticky; top:0; z-index:40}
.topbar-title{min-width:0; flex:1}
.topbar-title h1{font-size:20px; margin:0}
.topbar-sub{margin:2px 0 0; font-size:13px; color:var(--muted)}
.topbar-actions{display:flex; align-items:center; gap:12px}
.pill-rol{background:var(--brand-light); color:var(--brand-dark)}
.topbar-user{display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:650; color:var(--ink-2)}
.burger{display:none; background:#F0EADC; border:none; width:38px; height:38px; border-radius:10px;
  color:var(--ink-2); cursor:pointer; place-items:center}
.content{padding:26px; flex:1; max-width:1320px; width:100%}
.page-intro{margin-bottom:20px}
.page-intro h2{font-size:20px; margin-bottom:4px}
.page-intro p{margin:0; color:var(--muted); font-size:13.8px}
.overlay{display:none; position:fixed; inset:0; background:rgba(43,46,31,.45); z-index:65}

@media(max-width:1000px){
  .shell{grid-template-columns:minmax(0,1fr)}
  .sidebar{z-index:700;position:fixed; left:0; top:0; bottom:0; width:262px; transform:translateX(-100%);
    transition:transform .22s ease; box-shadow:var(--shadow-lg)}
  .sidebar.open{transform:none}
  .burger{display:grid}
  .overlay.show{display:block}
  .content{padding:18px}
  .topbar{padding:12px 16px}
  .topbar-title h1{font-size:17px}
  .topbar-user span{display:none}
}

/* =====================================================================
   COMPONENTES DE CONTENIDO
   ===================================================================== */
.kpis{display:grid; grid-template-columns:repeat(auto-fit,minmax(172px,1fr)); gap:14px; margin-bottom:20px}
.kpi{background:#F2EBDD; border:1px solid #E6DDCE; border-radius:var(--radius); padding:16px 18px; box-shadow:0 3px 14px rgba(43,46,31,.06); transition:transform .16s ease,box-shadow .16s ease}
.kpi:nth-child(4n+2){background:#F8F4EA;border-color:#ece7d8}
.kpi:nth-child(4n+3){background:#F7F2E8;border-color:#E6DDCE}
.kpi:nth-child(4n+4){background:#F5EFDF;border-color:#E2D8C7}
.kpi:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(43,46,31,.09)}
.kpi.kpi-ok{background:#EDF0E5;border-color:#EBEFE3}
.kpi.kpi-brand{background:#F3EEE3;border-color:#E2D9C7}
.kpi.kpi-warn{background:#F7EFDF;border-color:#E2D8C7}
.kpi-valor{font-size:25px; font-weight:800; letter-spacing:-.7px; line-height:1.15}
.kpi-label{font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); margin-top:3px}
.kpi-nota{font-size:12px; color:var(--muted); margin-top:6px}
.kpi-ok .kpi-valor{color:var(--ok)}
.kpi-brand .kpi-valor{color:var(--brand)}
.kpi-warn .kpi-valor{color:var(--warn)}

/* Tablas */
.tbl-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:12px; background:var(--card)}
table.tbl{width:100%; border-collapse:collapse; font-size:13.5px; min-width:680px}
table.tbl thead th{text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.5px;
  color:var(--muted); font-weight:700; padding:11px 14px; border-bottom:1px solid var(--line); background:var(--card); white-space:nowrap}
table.tbl tbody td{padding:12px 14px; border-bottom:1px solid var(--line-2); vertical-align:middle}
table.tbl tbody tr:last-child td{border-bottom:none}
table.tbl tbody tr:hover{background:#FBF8F0}
.td-main{font-weight:700; color:var(--ink)}
.td-sub{font-size:12px; color:var(--muted)}
.td-actions{white-space:nowrap; display:flex; gap:6px; justify-content:flex-end}
.tbl-empty{padding:34px; text-align:center; color:var(--muted); font-size:13.5px}

/* Tarjeta de cuidador */
.cg-grid{display:grid; gap:16px; grid-template-columns:repeat(auto-fill,minmax(322px,1fr))}
.cg-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  display:flex; flex-direction:column; overflow:hidden; transition:.16s; height:100%}
.cg-card:hover{box-shadow:0 10px 30px rgba(43,46,31,.1); transform:translateY(-1px)}
.cg-top{display:flex; gap:13px; padding:17px 17px 12px}
.cg-name{font-weight:750; font-size:15.5px; letter-spacing:-.2px}
.cg-meta{font-size:12.3px; color:var(--muted)}
.cg-body{padding:0 17px 14px; flex:1; display:flex; flex-direction:column; gap:9px}
.cg-bio{font-size:13.2px; color:var(--ink-2); display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden}
.cg-tags{display:flex; gap:5px; flex-wrap:wrap}
.cg-foot{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
  padding:12px 17px; border-top:1px solid var(--line-2); background:var(--card)}
.cg-price{font-weight:800; font-size:16px; letter-spacing:-.3px; white-space:nowrap}
.cg-price span{font-weight:600; font-size:11.5px; color:var(--muted)}
.avail-days{display:flex; gap:4px; flex-wrap:wrap}
.day{font-size:10.5px; font-weight:750; padding:4px 6px; border-radius:7px; min-width:34px; text-align:center;
  background:#F0EADC; color:#8C887C}
.day.on{background:var(--brand-light); color:var(--brand-dark)}

/* Filtros */
.filterbar{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px;
  box-shadow:var(--shadow); margin-bottom:18px}
.filter-grid{display:grid; grid-template-columns:1.2fr .9fr .8fr auto; gap:12px; align-items:end}
@media(max-width:820px){ .filter-grid{grid-template-columns:1fr 1fr} }
.serv-chips{display:flex; gap:6px; flex-wrap:wrap; margin-top:14px; padding-top:14px; border-top:1px solid var(--line-2)}
.serv-chip{font-size:12.5px; font-weight:650; padding:6px 12px; border-radius:999px; border:1px solid var(--line);
  background:var(--card); color:var(--ink-2)}
.serv-chip:hover{border-color:var(--brand-mid); color:var(--brand-dark)}
.serv-chip.on{background:var(--brand); border-color:var(--brand); color:#fff}

/* Detalle / perfil */
.profile-head{display:flex; gap:18px; align-items:flex-start; flex-wrap:wrap}
.profile-head .info{flex:1; min-width:220px}
.profile-name{font-size:21px; font-weight:800; letter-spacing:-.4px}
.dato-label{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--muted)}
.dato-valor{font-weight:650; font-size:14px}
.datos{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:16px}

/* Reseñas */
.review{padding:14px 0; border-bottom:1px solid var(--line-2)}
.review:last-child{border-bottom:none}
.review-head{display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:4px}
.review-txt{font-size:13.5px; color:var(--ink-2)}
.review-meta{font-size:12px; color:var(--muted); margin-top:4px}
.review-resp{margin-top:9px; padding:10px 13px; background:#F8F4EA; border-left:3px solid var(--brand-mid);
  border-radius:0 8px 8px 0; font-size:13px}

/* Tabs */
.tabs{display:flex; gap:4px; flex-wrap:wrap; margin-bottom:18px; border-bottom:1px solid var(--line); padding-bottom:0}
.tab{padding:9px 14px; font-size:13.5px; font-weight:650; color:var(--muted); border-bottom:2px solid transparent;
  margin-bottom:-1px; border-radius:8px 8px 0 0}
.tab:hover{color:var(--ink); background:#F8F4EA}
.tab.on{color:var(--brand-dark); border-bottom-color:var(--brand); background:var(--brand-light)}

/* Totales / resumen de pago */
.totales{background:#F8F4EA; border:1px solid var(--line); border-radius:var(--radius-sm); padding:14px 16px; font-size:13.5px}
.tot-linea{display:flex; justify-content:space-between; padding:4px 0}
.tot-linea.tot{border-top:1px dashed #D6CBB8; margin-top:7px; padding-top:9px; font-weight:800; font-size:15px}
.tot-linea .lbl{color:var(--ink-2)}

/* Empty state */
.empty{text-align:center; padding:46px 22px; color:var(--muted)}
.empty-ico{font-size:34px; margin-bottom:10px; opacity:.85}
.empty-title{font-weight:750; color:var(--ink-2); font-size:15px; margin-bottom:4px}
.empty-text{font-size:13.5px; max-width:36em; margin:0 auto}
.empty-cta{margin-top:16px}

/* Modal */
.modal-bg{position:fixed; inset:0; background:rgba(43,46,31,.5); backdrop-filter:blur(2px);
  display:grid; place-items:center; padding:18px; z-index:120}
.modal{background:var(--card); border-radius:16px; width:100%; max-width:600px; max-height:92vh;
  overflow:auto; box-shadow:var(--shadow-lg)}
.modal-lg{max-width:820px}
.modal-head{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:17px 22px;
  border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--card); z-index:2}
.modal-head h2{font-size:17px; margin:0}
.modal-body{padding:22px}
.modal-foot{padding:15px 22px; border-top:1px solid var(--line); display:flex; justify-content:flex-end;
  gap:9px; position:sticky; bottom:0; background:var(--card)}
.modal-x{background:#F0EADC; border:none; width:32px; height:32px; border-radius:9px; cursor:pointer;
  color:var(--muted); font-size:16px; line-height:1}
.modal-x:hover{background:#EDE7DA; color:var(--ink)}

/* Toast */
.toast{position:fixed; bottom:22px; left:50%; transform:translate(-50%,18px); background:var(--ink);
  color:#fff; padding:12px 20px; border-radius:11px; font-size:13.5px; font-weight:650; z-index:200;
  opacity:0; pointer-events:none; transition:.25s; box-shadow:var(--shadow-lg); max-width:92vw}
.toast.show{opacity:1; transform:translate(-50%,0)}
.toast-ok{background:var(--ok)}
.toast-err{background:var(--bad)}

/* Pasos de registro */
.steps-bar{display:flex; gap:7px; flex-wrap:wrap; margin-bottom:20px}
.step-pill{font-size:12px; font-weight:700; padding:6px 13px; border-radius:999px; background:#F0ECE1; color:var(--muted)}
.step-pill.on{background:var(--brand); color:#fff}
.step-pill.done{background:var(--ok-bg); color:var(--ok)}

/* Pie público */
.site-foot{background:var(--card); border-top:1px solid var(--line); padding:30px 0; margin-top:0}
.foot-inner{display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap}
.foot-brand{display:flex; align-items:center; gap:9px; font-weight:750; color:var(--ink)}
/* Pie: mostrar el archivo del logo completo sin redondear/recortar sus propias cuatro esquinas. */
.site-foot .brand-mark-logo{width:54px;height:54px;flex:0 0 54px;overflow:visible;padding:0;border:0;border-radius:0;background:transparent}
.site-foot .brand-mark-logo img{width:100%;height:100%;object-fit:contain;border-radius:0}
.foot-links{display:flex; gap:18px; flex-wrap:wrap}
.foot-links a{font-size:13px; color:var(--muted)}
.foot-links a:hover{color:var(--brand)}
.foot-copy{font-size:12.5px; color:var(--muted)}

/* Terminos */
.legal{max-width:820px}
.legal h2{font-size:17px; margin-top:26px}
.legal p,.legal li{font-size:14px; color:var(--ink-2)}
.legal ul{padding-left:22px}

@media(max-width:760px){
  .hero .container{grid-template-columns:1fr; gap:34px}
  .hero h1{font-size:38px;line-height:1.04}
  .hero{padding:40px 0 46px}
  .section{padding:44px 0}
  .section-head h2{font-size:25px}
  .site-nav{display:none}
  .header-cta{margin-left:auto}
  .cta-band{padding:30px; border-radius:16px}
  .cta-band h2{font-size:22px}
  h1{font-size:22px}
}

/* =====================================================================
   SELECTOR DE IDIOMA (arriba a la derecha)
   ===================================================================== */
.lang-switch{display:inline-flex; align-items:center; gap:2px; background:#F0ECE1; border:1px solid var(--line);
  border-radius:999px; padding:3px 4px; line-height:1; flex:0 0 auto}
.lang-switch .lang-globe{display:grid; place-items:center; color:var(--muted); padding:0 5px 0 4px}
.lang-switch .lang-opt{font-size:11.5px; font-weight:800; letter-spacing:.4px; color:var(--muted);
  padding:5px 9px; border-radius:999px; text-decoration:none; transition:.15s}
.lang-switch .lang-opt:hover{color:var(--brand-dark); background:var(--card)}
.lang-switch .lang-opt.on{background:var(--card); color:var(--brand-dark); box-shadow:0 1px 2px rgba(43,46,31,.12)}
.lang-switch.lang-oscuro{background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18)}
.lang-switch.lang-oscuro .lang-globe{color:#D0C8B8}
.lang-switch.lang-oscuro .lang-opt{color:#E7DECC}
.lang-switch.lang-oscuro .lang-opt.on{background:rgba(255,255,255,.16); color:#fff}
@media(max-width:560px){
  .lang-switch .lang-opt{padding:5px 7px; font-size:11px}
  .lang-switch .lang-globe{display:none}
  /* En móvil el selector siempre visible; se oculta el botón secundario */
  .site-header .header-cta .btn-outline{display:none}
  .site-header .container{gap:10px}
  .site-header .brand-txt small{display:none}
  .lang-switch{margin-left:auto}
}
@media(max-width:400px){
  .site-header .header-cta .btn{padding:7px 10px; font-size:12.5px}
  .site-header .brand-txt b{font-size:14.5px}
}

/* El selector de idioma siempre en la esquina superior derecha de la cabecera */
.site-header .container > .lang-switch{margin-left:auto; flex:0 0 auto}
.topbar-actions > .lang-switch{flex:0 0 auto}

/* ---------- Guía práctica para clientes ---------- */
.guide-band{padding:72px 0 78px;color:#fff;background:linear-gradient(132deg,var(--brand-dark) 0%,var(--brand) 72%,color-mix(in srgb,var(--brand) 82%,var(--accent)) 100%);overflow:hidden}
.guide-band .container{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr);gap:56px;align-items:center}
.guide-intro{max-width:520px}
.guide-kicker,.help-kicker{display:inline-block;color:var(--accent);font-size:11.5px;font-weight:800;letter-spacing:2.7px;text-transform:uppercase;margin-bottom:15px}
.guide-intro h2{font:500 clamp(32px,4vw,48px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:#fff;margin:0 0 16px}
.guide-intro p{max-width:36em;color:#E7DFD0;font-size:16px;line-height:1.7;margin-bottom:24px}
.guide-intro .btn-accent{color:var(--brand-dark);font-weight:750}
.guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.guide-step{display:flex;gap:14px;align-items:flex-start;padding:20px 18px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.16);border-radius:14px;min-height:145px;backdrop-filter:blur(4px)}
.guide-number{flex:0 0 auto;color:var(--accent);font:500 28px/1 Georgia,'Times New Roman',serif}
.guide-step h3{color:#fff;font:600 18px/1.25 Georgia,'Times New Roman',serif;margin:1px 0 8px}
.guide-step p{color:#E6DDCE;font-size:13.5px;line-height:1.6;margin:0}
.help-hero{padding:60px 0 56px;background:linear-gradient(135deg,var(--brand-dark),var(--brand) 72%);color:#fff}
.help-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:center}
.help-hero-grid>div{max-width:900px}
.help-hero h1{max-width:720px;color:#fff;font:500 clamp(36px,5vw,56px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:0 0 17px}
.help-hero p{max-width:650px;color:#E7DFD0;font-size:16px;line-height:1.7;margin:0 0 24px}
.help-section{padding:64px 0;background:var(--bg)}
.help-section-head{max-width:720px;margin-bottom:30px}
.help-kicker-light{margin-bottom:12px}
.help-section h2,.help-faq-intro h2{color:var(--brand-dark);font:500 clamp(29px,3.4vw,40px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.025em;margin:0 0 12px}
.help-section-head>p,.help-faq-intro>p{color:var(--muted);font-size:15px;line-height:1.65;margin:0}
.help-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.help-flow-card{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:13px;padding:22px;box-shadow:0 8px 24px rgba(43,46,31,.055)}
.help-flow-number{display:block;color:var(--accent);font:500 30px/1 Georgia,'Times New Roman',serif;margin-bottom:17px}
.help-flow-card h3{color:var(--brand-dark);font-size:17px;margin:0 0 9px}
.help-flow-card p{color:var(--muted);font-size:13.5px;line-height:1.65;margin:0}
.help-faq-section{background:var(--card);border-top:1px solid var(--line-2)}
.help-faq-layout{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr);gap:56px;align-items:start}
.help-faq-intro{position:sticky;top:90px}
.help-contact{display:inline-flex;margin-top:17px;color:var(--brand);font-weight:750;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}
.help-faq-list{border-top:1px solid var(--line)}
.help-faq-list details{border-bottom:1px solid var(--line);padding:0}
.help-faq-list summary{position:relative;list-style:none;cursor:pointer;padding:18px 42px 18px 0;color:var(--brand-dark);font-weight:700;font-size:15px}
.help-faq-list summary::-webkit-details-marker{display:none}
.help-faq-list summary::after{content:"+";position:absolute;right:5px;top:14px;color:var(--brand);font-size:23px;font-weight:400}
.help-faq-list details[open] summary::after{content:"−";color:var(--accent)}
.help-faq-list details p{color:var(--muted);font-size:14px;line-height:1.7;margin:0;padding:0 36px 18px 0}
.help-bottom-cta{padding:31px 0;background:var(--brand-light);border-top:1px solid var(--line)}
.help-bottom-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.help-bottom-inner h2{font:500 27px/1.15 Georgia,'Times New Roman',serif;color:var(--brand-dark);margin:0 0 5px}
.help-bottom-inner p{color:var(--muted);margin:0;font-size:14px}
.help-bottom-inner .btn{flex:0 0 auto}
.auth-help-link{text-align:center;color:var(--muted);font-size:13px;margin-top:12px}
.auth-help-link a{color:var(--brand);font-weight:750;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}
@media(max-width:900px){
  .guide-band .container{grid-template-columns:1fr;gap:30px}
  .guide-intro{max-width:700px}
  .help-hero-grid,.help-faq-layout{grid-template-columns:1fr;gap:28px}
  .help-faq-intro{position:static}
}
@media(max-width:640px){
  .guide-band{padding:54px 0 58px}
  .guide-steps,.help-flow{grid-template-columns:1fr}
  .guide-step{min-height:0;padding:17px}
  .help-hero{padding:43px 0 38px}
  .help-section{padding:48px 0}
  .help-bottom-inner{align-items:flex-start;flex-direction:column}
  .help-bottom-inner .btn{width:100%;justify-content:center}
  .help-faq-list summary{font-size:14px}
}

/* ---------- Preferencia de autoactualización para administración ---------- */
.admin-refresh-control{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;white-space:nowrap}
.admin-refresh-control select{width:78px;min-width:78px;padding:6px 7px;font-size:12px;border-radius:8px}
.admin-refresh-status{min-width:96px;color:var(--muted);font-size:10.5px;white-space:nowrap}
@media(max-width:1000px){
  .admin-refresh-status{display:none}
}
@media(max-width:700px){
  .admin-refresh-label{display:none}
  .admin-refresh-control select{width:70px;min-width:70px;padding:6px 5px}
  .topbar-actions .admin-refresh-control ~ .pill-rol{display:none}
  .topbar-actions{gap:7px}
}

/* ---------- Limpieza controlada de bitácora admin ---------- */
.audit-cleanup-body{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--line-2)}
.audit-cleanup-body>div:first-child{min-width:230px;flex:1}
.audit-cleanup-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
@media(max-width:650px){
  .audit-cleanup-body{align-items:flex-start}
  .audit-cleanup-form{width:100%;align-items:flex-start}
}

/* Balanced two-column caregiver profile: distribute account, status and security cards. */
.caregiver-profile-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "professional certifications"
    "status account"
    "security account";
  align-items:start;
}
.caregiver-profile-grid>.stack{display:contents}
.caregiver-professional-card{grid-area:professional}
.caregiver-cert-card{grid-area:certifications}
.caregiver-status-card{grid-area:status}
.caregiver-account-card{grid-area:account}
.caregiver-security-card{grid-area:security}
@media(max-width:800px){
  .caregiver-profile-grid{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:
      "professional"
      "certifications"
      "status"
      "account"
      "security";
  }
}

/* Aprobaciones: paleta coherente con la identidad crema y oliva. */
.approvals-page .note-info{
  color:var(--brand-dark);
  background:var(--brand-light);
  border-color:var(--brand);
}
.approvals-page .chip-ok,
.approvals-page .chip-teal{
  color:var(--brand-dark);
  background:var(--brand-light);
  border:1px solid var(--brand-mid);
}
.approvals-page .chip-warn{
  color:#665C3F;
  background:var(--accent-light);
  border:1px solid #DDD2B7;
}
.approvals-page .card{border-top:2px solid var(--accent)}
.approvals-page .btn-course{
  padding:11px 16px;
  font-size:14px;
  line-height:1;
  border-radius:11px;
  font-weight:750;
  color:var(--accent);
  background:var(--brand);
  border:1px solid var(--accent);
  box-shadow:0 2px 6px rgba(43,46,31,.16);
}
.approvals-page .btn-course:hover,
.approvals-page .btn-course:focus-visible{
  color:#F4EAD8;
  background:var(--brand-dark);
  border-color:#F4EAD8;
  box-shadow:0 0 0 3px rgba(194,158,103,.2);
  transform:translateY(-1px);
}
.approvals-page .avatar{background:var(--brand)!important}

/* Admin bookings: switchable card/list views using the cream and olive brand palette. */
.bookings-viewbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:-3px 0 16px}
.bookings-view-caption{color:var(--muted);font-size:13px;font-weight:700}
.bookings-view-toggle{display:inline-flex;gap:4px;padding:4px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px rgba(43,46,31,.04)}
.booking-view-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border-radius:9px;color:var(--ink-2);font-size:13px;font-weight:700;transition:.16s ease}
.booking-view-btn:hover{background:var(--brand-light);color:var(--brand-dark)}
.booking-view-btn.on{background:var(--brand);color:var(--accent);box-shadow:0 2px 7px rgba(43,46,31,.16)}
.booking-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:16px;align-items:stretch}
.booking-card{--booking-accent:var(--brand);display:flex;flex-direction:column;gap:13px;min-height:315px;padding:16px;background:linear-gradient(150deg,var(--card) 0%,var(--booking-tint,#F4EAD8) 100%);border:1px solid var(--line);border-top:3px solid var(--booking-accent);border-radius:16px;box-shadow:0 5px 18px rgba(43,46,31,.08);transition:transform .16s ease,box-shadow .16s ease}
.booking-card:hover{transform:translateY(-3px);box-shadow:0 12px 27px rgba(43,46,31,.13)}
.booking-card--requested{--booking-tint:#F8F4EA;--booking-accent:#B49D69}
.booking-card--confirmed{--booking-tint:#F0ECE1;--booking-accent:var(--brand)}
.booking-card--in-progress{--booking-tint:#F4EAD8;--booking-accent:#887B56}
.booking-card--completed{--booking-tint:#F0ECE1;--booking-accent:#7A806D}
.booking-card--cancelled,.booking-card--rejected{--booking-tint:#fff3f1;--booking-accent:#b3261e}
.booking-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:11px;border-bottom:1px solid rgba(43,46,31,.1)}
.booking-code{display:block;color:var(--brand-dark);font-size:14px;font-weight:850;letter-spacing:.02em}
.booking-date{margin-top:4px;color:var(--muted);font-size:12px;font-weight:600}
.booking-status{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}
.booking-status .chip{font-size:11px}
.booking-grid .chip-ok,.booking-grid .chip-teal{background:var(--brand-light);color:var(--brand-dark)}
.booking-people{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.booking-person{min-width:0;padding:9px 10px;background:rgba(255,255,255,.76);border:1px solid rgba(43,46,31,.08);border-radius:10px}
.booking-person>span,.booking-amounts span{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.booking-person b{display:block;margin-top:3px;overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.booking-person small{display:block;margin-top:2px;overflow:hidden;color:var(--muted);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}
.booking-service{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;background:rgba(255,255,255,.72);border-left:3px solid var(--booking-accent);border-radius:8px;color:var(--ink-2);font-size:12px}
.booking-service b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.booking-service span{color:var(--muted);font-size:11px;white-space:nowrap}
.booking-amounts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.booking-amounts>div{padding:8px 10px;background:rgba(255,255,255,.72);border:1px solid rgba(43,46,31,.08);border-radius:9px}
.booking-amounts b{display:block;margin-top:2px;color:var(--brand-dark);font-size:15px;font-variant-numeric:tabular-nums}
.booking-card-actions{display:flex;justify-content:flex-end;margin-top:auto;padding-top:2px}
@media(max-width:620px){
  .bookings-viewbar{align-items:flex-start}
  .bookings-view-toggle{width:100%}
  .booking-view-btn{flex:1}
  .booking-grid{grid-template-columns:1fr}
  .booking-card{min-height:0}
  .booking-card-actions .btn{width:100%}
}

/* Approval queue: two caregiver cards per row on desktop, compact full-width cards on mobile. */
.approvals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.approvals-grid .approval-card{min-width:0;height:100%;padding:16px}
.approvals-grid .approval-verifications{grid-template-columns:minmax(0,1fr)!important;gap:15px}
.approvals-grid .approval-card .btn-row{justify-content:flex-start}
.approvals-grid .approval-card .row-between{min-width:0}
@media(max-width:1150px){.approvals-grid{grid-template-columns:minmax(0,1fr)}}

/* Home discovery experience and public caregiver map */
.home-header .container,.home-hero .container,.home-proof-strip,.home-services-section .container{width:min(100% - 56px,1480px);max-width:1480px}
.home-header{position:sticky;top:0;z-index:90;isolation:isolate;background:transparent;border:0}
.home-header::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:#F4EAD8;clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),0 100%);filter:drop-shadow(0 2px 5px rgba(43,46,31,.1))}
.home-header-inner{position:relative;z-index:1;height:88px!important;gap:28px!important}
.home-logo{display:flex;align-items:center;justify-content:flex-start;flex:0 0 112px;width:112px;height:82px;overflow:hidden}
.home-logo .brand-mark-logo{width:82px;height:82px;flex:0 0 82px;border-radius:12px}
.home-logo .brand-mark-logo img{width:100%;height:100%;object-fit:contain}
.home-nav{gap:3px;margin-left:auto}
.home-nav a{color:#454638;padding:10px 14px;font-size:14px}
.home-header-actions{gap:10px}
.home-header-actions .btn-primary{background:#4A4A35;color:#F4EAD8}
.home-header .lang-switch{margin-left:0}

.home-hero{position:relative;isolation:isolate;min-height:clamp(650px,calc(100svh - 88px),850px);display:flex;align-items:flex-start;overflow:hidden;background:#EDE5D3;color:#2B2E1F;padding:72px 0 180px}
.home-hero-photo{position:absolute;z-index:-2;inset:0;background-image:linear-gradient(90deg,rgba(244,234,216,.99) 0%,rgba(244,234,216,.94) 31%,rgba(244,234,216,.67) 48%,rgba(244,234,216,.12) 68%,rgba(244,234,216,0) 82%,rgba(244,234,216,.24) 91%,rgba(244,234,216,.78) 100%),url('../img/home-petcare-branded-wide-v4.webp');background-size:cover;background-position:center 84%}
.home-hero::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(43,46,31,.15),transparent 22%);pointer-events:none}
.home-hero-inner{position:relative;z-index:1}
.home-hero-copy{max-width:650px;padding:16px 0 40px}
.home-kicker,.home-section-kicker{display:inline-block;color:#596247;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.home-kicker{margin-bottom:18px}
.home-hero h1{font:500 clamp(56px,7vw,92px)/.94 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#2B2E1F;margin:0 0 20px}
.home-hero-lede{font:400 17px/1.55 var(--sans);color:#454638;margin:0 0 22px;max-width:30em}
.home-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:26px}
.home-hero-actions .btn-primary{background:#4A4A35;color:#F4EAD8;border:1px solid #4A4A35;border-radius:10px;padding:13px 20px;box-shadow:0 5px 13px rgba(43,46,31,.15)}
.home-hero-actions .btn-primary:hover,.home-search-submit:hover{background:#2B2E1F;color:#fff}
.home-text-link{font-size:14px;font-weight:750;color:#2B2E1F;text-decoration:underline;text-underline-offset:4px}
.home-trust-points{display:flex;gap:18px;flex-wrap:wrap;color:#4D5144;font-size:12px;font-weight:700}
.home-trust-points span{display:inline-flex;align-items:center;gap:7px}
.home-trust-points .ico{width:21px;height:21px;flex:0 0 21px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.16))}
.home-trust-verified .ico{color:#378451}
.home-trust-rating .ico,.home-trust-rating-star{color:#f2bf28}
.home-trust-count .ico{color:#b97948}
.home-trust-rating-star{font-size:1.12em}
.home-search-dock{position:absolute!important;z-index:3;left:50%;bottom:20px;transform:translateX(-50%);padding:0!important}
.home-search-form{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(190px,1.05fr) minmax(150px,.72fr) minmax(150px,.72fr) auto;align-items:stretch;background:#FBF8F0;border:1px solid rgba(74,74,53,.14);border-radius:18px;padding:10px;box-shadow:0 16px 40px rgba(43,46,31,.17)}
.home-search-field{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:8px;min-width:0;padding:10px 18px;border-right:1px solid #DED7C9}
.home-search-icon{display:grid;place-items:center;grid-row:1/3;align-self:center;width:34px;height:34px;border-radius:11px}
.home-search-icon .ico{display:block;width:22px;height:22px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.13))}
.home-search-icon-location{background:#E4F1E7;color:#378451}
.home-search-icon-service{background:#F6E6D6;color:#B97948}
.home-search-icon-date{background:#E3F1F0;color:#397C80}
.home-search-label{font-size:11px;line-height:1.2;font-weight:800;color:#34382b}
.home-search-field input,.home-search-field select{width:100%;height:27px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;padding:1px 0!important;margin:0;color:#666658;font-size:13px;min-width:0}
.home-search-field input[type=date]{font:13px var(--sans);color:#666658}
.home-search-field select{appearance:auto;cursor:pointer}
.home-search-field input::placeholder{color:#858273;opacity:1}
.home-search-submit{display:flex;justify-content:center;align-items:center;gap:9px;min-width:205px;padding:0 22px;border-radius:12px;background:#4A4A35;color:#F4EAD8;font-weight:800;white-space:nowrap;box-shadow:0 4px 12px rgba(43,46,31,.15)}
.home-search-submit .ico{width:20px;height:20px}
.home-proof-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:min(100% - 56px,1480px);margin:0 auto;padding:22px 0;border-bottom:1px solid var(--line)}
.home-proof-strip>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 18px;border-right:1px solid var(--line);text-align:center}
.home-proof-strip>div:last-child{border:0}
.home-proof-icon{display:grid!important;place-items:center;width:44px;height:44px;margin-bottom:3px;border:1px solid rgba(65,68,49,.08);border-radius:50%;box-shadow:0 3px 8px rgba(48,49,35,.09)}
.home-proof-icon .ico{display:block;width:24px;height:24px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.14))}
.home-proof-icon.home-proof-caregivers{background:#F6E6D6;color:#B97948!important}
.home-proof-icon.home-proof-verification{background:#E4F1E7;color:#378451!important}
.home-proof-icon.home-proof-followup{background:#E3F1F0;color:#397C80!important}
.home-proof-icon.home-proof-payment{background:#F7EFDA;color:#B78A24!important}
.home-proof-strip b{color:#4A4A35;font-size:14px}
.home-proof-strip span:not(.home-proof-icon){color:var(--muted);font-size:12px;line-height:1.4}
.home-services-section{padding-top:72px;padding-bottom:76px;background:#F8F3E9}
.home-services-heading{margin-bottom:28px}
.home-services-heading h2{font:500 clamp(32px,4vw,48px)/1.05 Georgia,'Times New Roman',serif;color:#2B2E1F;margin:10px 0}
.home-services-heading p{font-size:14px}
.home-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}
.home-service-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;padding:16px;background:#FBF8F0;border:1px solid #E2D8C7;border-radius:14px;color:var(--ink);transition:transform .16s,box-shadow .16s,border-color .16s}
.home-service-card:hover{transform:translateY(-2px);border-color:#A7AA8D;box-shadow:0 10px 24px rgba(43,46,31,.08)}
.home-service-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(65,68,49,.08);border-radius:15px;box-shadow:0 3px 9px rgba(43,46,31,.09)}
.home-service-icon .ico{width:24px;height:24px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.14))}
.home-service-pin{background:#E4F1E7;color:#378451}
.home-service-home,.home-service-house{background:#F6E6D6;color:#B97948}
.home-service-star,.home-service-sun{background:#FFF2CC;color:#D5A719}
.home-service-clock{background:#E3F1F0;color:#397C80}
.home-service-moon{background:#E9E7F5;color:#6B63A6}
.home-service-heart,.home-service-paw{background:#F6E6D6;color:#B97948}
.home-service-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.home-service-text b{font-size:14px}
.home-service-text small{font-size:11px;line-height:1.35;color:var(--muted)}
.home-service-price{grid-column:2;color:#66704e;font-size:11px;font-weight:750}
.home-login-modal{display:none;background:rgba(28,31,22,.58);backdrop-filter:blur(5px);z-index:180}
.home-login-card{position:relative;width:min(100%,440px);max-height:90vh;overflow:auto;padding:36px;background:#FBF8F0;border:1px solid rgba(74,74,53,.18);border-radius:22px;box-shadow:0 30px 80px rgba(22,24,17,.3);animation:homeModalIn .2s ease-out}
@keyframes homeModalIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.home-login-close{position:absolute;top:15px;right:15px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #eadcc4;border-radius:12px;background:#F6E6D6;color:#B97948;font-size:24px;line-height:1;box-shadow:0 2px 7px rgba(43,46,31,.08);transition:background .15s,color .15s,transform .15s}
.home-login-close:hover{background:#B97948;color:#fff;transform:rotate(90deg)}
.home-login-brand{display:inline-flex;align-items:center;gap:9px;color:#376e43;background:#E4F1E7;border:1px solid #d2e7d7;border-radius:999px;padding:7px 12px 7px 8px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.home-login-brand>.ico{display:grid;place-items:center;box-sizing:border-box;width:30px;height:30px;padding:6px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:#378451;color:#fff;filter:drop-shadow(0 2px 4px rgba(43,46,31,.15))}
.home-login-card h2{margin:19px 0 6px;color:#2B2E1F;font:500 32px/1.1 Georgia,'Times New Roman',serif}
.home-login-card>p{margin-bottom:20px}
.home-login-form{display:grid;gap:9px}
.home-login-form input{margin:0 0 7px}
.home-login-form .btn{margin-top:7px}
.home-login-signup{margin:18px 0 4px!important;text-align:center;font-size:13px}
.home-login-signup a,.home-login-help{color:#4A4A35;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.home-login-help{display:block;text-align:center;font-size:12px}

/* Public search results: caregiver cards + interactive OpenStreetMap panel. */
.results-header{position:sticky;top:0;z-index:80;background:rgba(248,243,231,.97)}
.results-header-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.results-header-right{display:flex;align-items:center;gap:15px}
.results-trust{display:inline-flex;align-items:center;gap:6px;color:#596247;font-size:12px;font-weight:750}
.public-search-page{min-height:calc(100vh - 74px);background:#F7F2E8}
.public-search-top{padding:25px clamp(18px,4vw,56px) 17px;background:#F7F2E8}
.public-search-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;max-width:1600px;margin:0 auto 16px}
.back-home-link{display:inline-block;margin-bottom:8px;color:#6b7154;font-size:12px;font-weight:750}
.public-search-title h1{margin:0;color:#2B2E1F;font:500 clamp(26px,3vw,38px)/1.06 Georgia,'Times New Roman',serif}
.public-search-title h1 em{color:#596247;font-style:normal}
.public-search-title p{margin:7px 0 0;color:#777665;font-size:13px}
.public-search-safety{display:flex;align-items:center;gap:7px;max-width:320px;color:#6d7057;font-size:11px;text-align:right}
.results-filterbar{display:grid;grid-template-columns:1.15fr 1fr .72fr .72fr .68fr auto;gap:0;max-width:1600px;margin:0 auto;background:#FBF8F0;border:1px solid #E2D8C7;border-radius:14px;padding:7px;box-shadow:0 7px 20px rgba(43,46,31,.05)}
.result-filter-field{display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:7px;padding:8px 10px;border-right:1px solid #E2D8C7;min-width:0}
.result-filter-icon{display:grid;place-items:center;grid-row:1/3;align-self:center;width:30px;height:30px;border:1px solid rgba(65,68,49,.07);border-radius:10px;box-shadow:0 2px 6px rgba(43,46,31,.07)}
.result-filter-icon .ico{display:block;width:20px;height:20px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.12))}
.result-filter-icon-location{background:#E4F1E7;color:#378451}
.result-filter-icon-service{background:#F6E6D6;color:#B97948}
.result-filter-icon-date{background:#E3F1F0;color:#397C80}
.result-filter-icon-date-until{background:#FFF2CC;color:#D5A719}
.result-filter-icon-radius{background:#E9E7F5;color:#6B63A6}
.result-filter-field b{font-size:10px;color:#575849}
.result-filter-field input,.result-filter-field select{height:25px;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0;color:#626252;font-size:12px;min-width:0}
.results-submit{display:flex;align-items:center;justify-content:center;gap:7px;margin:3px;white-space:nowrap;padding:0 17px}
.results-submit .ico{width:20px;height:20px;color:inherit}
.results-trust .ico{width:19px;height:19px;color:#378451;filter:drop-shadow(0 1px 1px rgba(36,35,25,.12))}
.results-search-again .ico{color:#B97948}
.public-search-safety .ico{width:18px;height:18px;flex:0 0 18px;color:#B97948}
.results-view-switch .ico{width:17px;height:17px;color:#397C80}
.results-map-layout{display:grid;grid-template-columns:minmax(390px,.9fr) minmax(0,1.1fr);align-items:start;gap:0;max-width:1800px;margin:0 auto;padding:0 clamp(18px,3vw,40px) 32px}
.results-list-panel{min-width:0;padding:12px 20px 24px 0}
.results-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid #E2D8C7}
.results-list-heading>div:first-child{display:flex;flex-direction:column;gap:3px}
.results-list-heading b{color:#2B2E1F;font-size:15px}
.results-list-heading span{color:#777665;font-size:11px}
.results-view-switch{display:none;gap:4px;padding:3px;background:#ECE9DC;border-radius:9px}
.results-view-switch button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#64634f;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:750}
.results-view-switch button.on{background:#FBF8F0;color:#3d432e;box-shadow:0 1px 4px rgba(43,46,31,.1)}
.public-care-list{display:flex;flex-direction:column}
.public-care-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px;padding:17px 3px;border-bottom:1px solid #E2D8C7;transition:background .18s}
.public-care-card.is-map-active{background:rgba(194,158,103,.11)}
.public-care-photo{padding-top:2px}
.public-care-photo .avatar{width:76px;height:76px;border-radius:50%;border:2px solid #FBF8F0;box-shadow:0 2px 10px rgba(43,46,31,.12)}
.public-care-name-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.public-care-name-row h2{margin:0;color:#2B2E1F;font-size:16px;letter-spacing:-.02em}
.public-care-name-row p{margin:4px 0 0;color:#747363;font-size:11px}
.public-rating{display:inline-flex;align-items:center;gap:4px;color:#76653e;font-size:12px;font-weight:800;white-space:nowrap}
.public-rating .ico{color:#B49D69}
.public-rating small{color:#8d8977;font-size:10px;font-weight:600}
.public-care-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.public-care-badges span{display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:999px;background:#ECEFE4;color:#566047;font-size:10px;font-weight:750}
.public-care-bio{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0;color:#555648;font-size:12px;line-height:1.45}
.public-care-tags{display:flex;gap:5px;flex-wrap:wrap}
.public-care-tags span{padding:4px 7px;border:1px solid #E2D8C7;border-radius:999px;color:#62634e;font-size:10px}
.public-care-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:11px}
.public-care-bottom>b{color:#2B2E1F;font-size:17px}
.public-care-bottom>b small{color:#888675;font-size:10px;font-weight:600}
.public-care-bottom .btn{font-size:11px;padding:7px 10px}
.public-search-empty{padding:58px 20px;text-align:center;color:#747363}
.public-search-empty h2{color:#2B2E1F;font:500 26px Georgia,'Times New Roman',serif}
.public-search-empty p{max-width:440px;margin:8px auto 18px;font-size:13px;line-height:1.5}
.public-empty-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 13px;border-radius:18px;background:#ECE9DC;color:#596247}
.results-map-panel{position:sticky;top:88px;height:calc(100vh - 106px);min-height:520px;overflow:hidden;border:1px solid #D8D3C4;border-radius:16px;background:#E7E4D8;box-shadow:0 10px 28px rgba(43,46,31,.1)}
.caregiver-map{position:absolute;inset:0;z-index:1;background:#E4E3D7}
.map-overlay-label{position:absolute;z-index:500;top:64px;left:14px;display:inline-flex;align-items:center;gap:6px;background:#FBF8F0;border:1px solid #E2D8C7;border-radius:10px;padding:8px 11px;color:#34382b;font-size:12px;font-weight:800;box-shadow:0 3px 12px rgba(43,46,31,.14)}
.map-overlay-label .ico{color:#596247}
.map-overlay-label span{color:#777665;font-weight:600}
.map-location-note{position:absolute;z-index:500;left:12px;bottom:12px;max-width:270px;padding:7px 9px;border-radius:8px;background:rgba(251,248,240,.92);color:#686857;font-size:10px}
.map-fallback,.map-noscript{position:absolute;z-index:10;inset:0;display:grid;place-items:center;padding:28px;text-align:center;color:#596247;background:#e8e5d8}
.map-noscript{inset:45% 10px auto;height:auto;display:block;border-radius:10px}
.niko-map-icon{background:none;border:0}
.niko-map-icon span{display:grid;place-items:center;width:32px;height:36px;color:#FBF8F0;background:#4A4A35;border:2px solid #FBF8F0;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);box-shadow:0 3px 9px rgba(43,46,31,.35);font:800 12px var(--sans)}
.niko-map-icon span i{font-style:normal;transform:rotate(45deg)}
.leaflet-container{font-family:var(--sans);z-index:1}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#FBF8F0;color:#2B2E1F}
.leaflet-popup-content{font-size:12px;line-height:1.45}
.leaflet-control-zoom a{color:#4A4A35!important}

@media(max-width:1050px){
  .home-header .container,.home-hero .container,.home-proof-strip,.home-services-section .container{width:min(100% - 36px,1480px)}
  .home-header-inner{gap:14px!important}
  .home-nav a{padding:8px 9px;font-size:12px}
  .home-search-form{grid-template-columns:1fr 1fr;gap:0}
  .home-search-field:nth-child(2),.home-search-field:nth-child(4){border-right:0}
  .home-search-field:nth-child(3),.home-search-field:nth-child(4){border-top:1px solid #DED7C9}
  .home-search-submit{grid-column:1/-1;margin:8px;min-height:52px}
  .home-hero{padding-bottom:218px}
  .results-filterbar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .results-submit{grid-column:1/-1;min-height:42px}
  .result-date-from-field,.result-radius-field{border-right:0}
}
@media(max-width:760px){
  .home-header-inner{height:72px!important}
  .home-header .container,.home-hero .container,.home-proof-strip,.home-services-section .container{width:min(100% - 28px,1480px)}
  .home-logo{flex-basis:68px;width:68px;height:68px}
  .home-logo .brand-mark-logo{width:66px;height:66px;flex-basis:66px}
  .home-nav{display:none}
  .home-header-actions{margin-left:auto;gap:6px}
  .home-header-actions .btn{padding:8px 10px;font-size:11px}
  .home-header .lang-switch{transform:scale(.92);transform-origin:right center}
  .home-hero{min-height:850px;height:auto;padding:52px 0 0;display:block}
  .home-hero-photo{background-image:linear-gradient(90deg,rgba(244,234,216,.96) 0%,rgba(244,234,216,.82) 55%,rgba(244,234,216,.18) 100%),url('../img/home-petcare-branded.jpg');background-position:57% center}
  .home-hero-copy{padding:12px 0 255px}
  .home-hero h1{font-size:clamp(48px,14vw,72px)}
  .home-hero-lede{font-size:15px}
  .home-trust-points{gap:9px 15px;font-size:10px}
  .home-search-dock{position:absolute!important;bottom:13px;width:calc(100% - 28px)!important}
  .home-search-form{grid-template-columns:1fr;padding:8px;border-radius:15px}
  .home-search-field{min-height:62px;border-right:0;border-bottom:1px solid #DED7C9;padding:8px 9px}
  .home-search-field:nth-child(2),.home-search-field:nth-child(3),.home-search-field:nth-child(4){border-top:0}
  .home-search-field:nth-child(3){border-bottom:1px solid #DED7C9}
  .home-search-field:nth-child(4){border-bottom:0}
  .home-search-submit{margin:7px 0 0;min-height:48px}
  .home-proof-strip{grid-template-columns:1fr 1fr;gap:8px 14px;padding:18px 0}
  .home-proof-strip>div{padding:7px 9px;border-right:0;border-bottom:1px solid var(--line)}
  .home-proof-strip>div:first-child{padding-left:9px}
  .home-proof-strip>div:nth-last-child(-n+2){border-bottom:0}
  .home-services-section{padding:48px 0}
  .home-service-grid{grid-template-columns:1fr}
  .home-login-card{padding:30px 22px}
  .results-header-inner{height:66px}
  .results-header .brand-txt{display:none}
  .results-header-right{gap:8px}
  .results-trust{display:none}
  .public-search-top{padding:18px 14px 12px}
  .public-search-title{align-items:flex-start;flex-direction:column;gap:9px}
  .public-search-safety{text-align:left;max-width:none}
  .results-filterbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
  .result-filter-field{padding:7px;border-right:0;border-bottom:1px solid #E2D8C7}
  .result-filter-field:nth-child(2),.result-filter-field:nth-child(4){border-left:1px solid #E2D8C7}
  .result-filter-field:nth-child(5){border-bottom:0}
  .results-submit{grid-column:1/-1;min-height:42px;margin-top:5px}
  .results-map-layout{display:flex;flex-direction:column;padding:0 14px 22px}
  .results-list-panel{width:100%;padding:8px 0 18px}
  .results-map-panel{position:relative;top:auto;display:block;width:100%;height:55vh;min-height:360px}
  .results-view-switch{display:flex}
  .public-care-card{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:14px 0}
  .public-care-photo .avatar{width:56px;height:56px}
  .public-care-name-row h2{font-size:14px}
  .public-care-name-row p{font-size:10px}
  .public-care-bottom{align-items:flex-end}
  .public-care-bottom .btn{font-size:10px;padding:7px 8px}
  body.search-map-only .results-list-panel{display:none}
  body.search-map-only .results-map-panel{display:block;height:calc(100vh - 260px);min-height:400px}
}
@media(max-width:410px){
  .home-header-actions .home-sitter-link{display:none}
  .home-header-inner{gap:6px!important}
  .public-care-card{grid-template-columns:52px minmax(0,1fr)}
  .public-care-photo .avatar{width:46px;height:46px}
  .public-care-bio{font-size:11px}
}
.results-logo{display:flex;align-items:center;width:70px;height:70px;overflow:hidden;flex:0 0 auto}
.results-logo .brand-mark-logo{width:68px;height:68px;flex:0 0 68px;border-radius:12px}
.results-logo .brand-mark-logo img{width:100%;height:100%;object-fit:contain}
.map-mobile-switch{display:none}
@media(max-width:760px){.map-mobile-switch{position:absolute;right:12px;bottom:45px;z-index:510;display:flex;box-shadow:0 3px 14px rgba(43,46,31,.16)}}

/* Registration page: cohesive cream/olive layout, wide form and a separate lifestyle banner. */
.register-header{background:rgba(244,234,216,.98);border-bottom:1px solid #E2D8C7;backdrop-filter:blur(10px)}
.register-header-inner{height:78px!important;justify-content:space-between;gap:20px}
.register-brand .brand-mark{width:42px;height:42px;border-radius:12px}
.register-brand .brand-txt b{color:#2B2E1F;font-size:15px}
.register-brand .brand-txt small{color:#696757;font-size:10px}
.register-header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.register-home-link{font-size:13px;font-weight:750;color:#4A4A35;padding:8px 10px}
.register-header-actions .btn-primary{background:#4A4A35;color:#F4EAD8;border-radius:10px}
.register-page{min-height:calc(100vh - 78px);background:#F4EAD8}
.register-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:390px;overflow:hidden;background:#F4EAD8}
.register-hero::after{content:"";position:absolute;z-index:0;right:0;bottom:0;left:0;height:132px;pointer-events:none;background:linear-gradient(180deg,rgba(251,248,240,0) 0%,rgba(251,248,240,.22) 34%,rgba(251,248,240,.7) 72%,#FBF8F0 100%)}
.register-hero::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:min(calc(100% - 40px),1100px);transform:translateX(-50%);background-image:linear-gradient(90deg,#F4EAD8 0%,rgba(244,234,216,.96) 24%,rgba(244,234,216,.74) 43%,rgba(244,234,216,.2) 68%,rgba(244,234,216,0) 100%),url('../img/register-pets-hero.jpg');background-size:cover;background-position:center 52%;background-repeat:no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%)}

.register-hero-inner{position:relative;z-index:1;width:min(100% - 40px,1100px);max-width:1100px;margin:0 auto}
.register-hero-copy{max-width:680px;padding:48px 0 68px}
.register-hero-kicker,.register-form-step{display:inline-flex;align-items:center;color:#596247;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.register-hero-kicker{margin-bottom:15px;padding:7px 11px;background:rgba(251,248,240,.82);border:1px solid rgba(74,74,53,.11);border-radius:999px}
.register-hero-copy h1{max-width:650px;margin:0 0 12px;color:#2B2E1F;font:500 clamp(38px,4.4vw,60px)/1.03 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.register-hero-copy p{max-width:540px;margin:0 0 21px;color:#4D4E40;font-size:15px;line-height:1.55}
.register-benefits{display:flex;align-items:center;gap:9px 16px;flex-wrap:wrap;max-width:690px}
.register-benefits span{display:inline-flex;align-items:center;gap:6px;color:#414535;font-size:11px;font-weight:700}
.register-benefits .ico{color:#65704E}
.register-form-section{position:relative;z-index:2;padding:0 0 64px;background:#FBF8F0}
.register-form-container{position:relative;z-index:1;width:min(100% - 40px,1100px);max-width:1100px}
.register-form-card{position:relative;z-index:2;width:100%;max-width:none!important;margin:-38px auto 0;padding:clamp(22px,4vw,46px);background:#FBF8F0;border:0;border-radius:22px;box-shadow:none}
.register-form-heading{margin:0 0 25px;padding:0 0 19px;border-bottom:1px solid #E6DDCC}
.register-form-step{margin-bottom:7px;color:#7A6848}
.register-form-heading h2{margin:0 0 6px;color:#2B2E1F;font:500 32px/1.1 Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.register-form-heading p{margin:0;color:#777364;font-size:13.5px;line-height:1.5}
.register-form-card fieldset{margin:0 0 18px;padding:18px 20px;background:#FEFCF7;border-color:#E4DCCB}
.register-form-card legend{color:#4A4A35;font-size:13px;font-weight:800}
.register-form-card .fgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px}
.register-form-card .fg{margin-bottom:0}
.register-form-card input,.register-form-card select,.register-form-card textarea{background:#FBF8F0}
.register-form-card .check{background:#F8F4EA}
.register-form-card .alert{margin-bottom:18px}
.register-form-card .btn-block{min-height:50px;margin-top:10px;background:#4A4A35;color:#F4EAD8}
.register-form-card .auth-alt{padding-top:8px}
@media(max-width:760px){
  .register-header-inner{height:68px!important;gap:10px}
  .register-brand{gap:8px}
  .register-brand .brand-txt{max-width:152px}
  .register-header-actions{gap:7px}
  .register-header-actions .btn{padding:8px 10px;font-size:11px}
  .register-home-link{display:none}
  .register-hero{min-height:410px;align-items:flex-start}
  .register-hero::before{bottom:0;width:min(calc(100% - 24px),1100px);background-image:linear-gradient(90deg,#F4EAD8 0%,rgba(244,234,216,.96) 43%,rgba(244,234,216,.78) 64%,rgba(244,234,216,.2) 100%),url('../img/register-pets-hero.jpg');background-position:center 56%}
  .register-hero-inner{width:min(100% - 24px,1100px)}
  .register-hero-copy{max-width:560px;padding:36px 0 76px}
  .register-hero-copy h1{font-size:clamp(36px,9vw,48px);max-width:470px}
  .register-hero-copy p{max-width:430px;font-size:14px}
  .register-benefits{display:grid;gap:8px}
  .register-form-section{padding-bottom:42px}
  .register-form-container{width:min(100% - 24px,1100px)}
  .register-form-card{margin-top:-34px;padding:22px 18px;border-radius:18px}
  .register-form-heading h2{font-size:28px}
  .register-form-card fieldset{padding:15px 13px}
  .register-form-card .fgrid{grid-template-columns:1fr;gap:0}
}
@media(max-width:410px){
  .register-brand .brand-txt b{font-size:13px}
  .register-brand .brand-txt small{display:none}
  .register-header-actions .btn{padding:7px 8px;font-size:10px}
  .register-hero{min-height:430px}
  .register-hero-copy{padding-top:30px}
}

/* Public caregiver cards: photo, experience, reviews, and saved-heart action. */
.public-care-card{position:relative}
.public-care-info{position:relative;min-width:0;padding-right:32px}
.public-care-name-row{padding-right:0}
.public-care-favorite{position:absolute;z-index:5;top:-5px;right:0;margin:0}
.favorite-button{display:grid;place-items:center;width:34px;height:34px;padding:7px;border:1px solid #E5DDCE;border-radius:50%;background:#FBF8F0;color:#777665;cursor:pointer;transition:transform .16s,background .16s,color .16s,border-color .16s}
.favorite-button:hover{transform:scale(1.06);border-color:#CBA9A0;color:#A44F48}
.favorite-button svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.favorite-button.is-favorite{background:#FBEEEA;border-color:#E6C7C1;color:#AD514C}
.favorite-button.is-favorite svg{fill:currentColor}
.public-care-stats{display:flex;align-items:center;gap:7px 15px;flex-wrap:wrap;margin:7px 0 0;color:#5F604F;font-size:11px;font-weight:700}
.public-care-stats span{display:inline-flex;align-items:center;gap:5px}
.public-care-stats .ico{color:#707658}
.public-care-review{margin:9px 0;padding:8px 11px;border-left:2px solid #C29E67;border-radius:0 8px 8px 0;background:#F8F4EA;color:#5F5D4F;font-size:11px;line-height:1.45;font-style:italic}
.public-care-price{display:inline-flex;align-items:baseline;gap:5px;color:#646452;font-size:12px}
.public-care-price b{color:#2B2E1F;font-size:19px;letter-spacing:-.02em}
.public-care-bottom .btn{margin-left:auto}
@media(max-width:760px){
  .public-care-info{padding-right:27px}
  .public-care-favorite{top:-4px}
  .favorite-button{width:30px;height:30px;padding:6px}
  .public-care-name-row{padding-right:0}
  .public-care-stats{font-size:10px;gap:6px 9px}
  .public-care-price b{font-size:16px}
}

/* Caregiver profile photo uploader */
.caregiver-photo-card{display:flex;align-items:center;gap:20px;margin:0 0 18px;padding:18px 20px;background:#FBF8F0;border:1px solid #E2D8C7;border-radius:16px;box-shadow:var(--shadow)}
.caregiver-photo-preview .avatar{display:block;width:86px;height:86px;border:3px solid #FBF8F0;box-shadow:0 4px 15px rgba(43,46,31,.15);object-fit:cover}
.caregiver-photo-copy{flex:1;min-width:0}
.caregiver-photo-copy h3{margin:0 0 4px;color:#2B2E1F}
.caregiver-photo-copy p{margin:0 0 12px;color:#737162;font-size:12.5px}
.caregiver-photo-form .fl{margin-bottom:6px}
.caregiver-photo-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.caregiver-photo-controls input[type=file]{max-width:min(100%,430px);font:12px var(--sans);color:#666}
@media(max-width:620px){
  .caregiver-photo-card{align-items:flex-start;gap:13px;padding:15px}
  .caregiver-photo-preview .avatar{width:64px;height:64px}
  .caregiver-photo-controls{align-items:stretch;flex-direction:column}
  .caregiver-photo-controls input[type=file]{max-width:100%}
  .caregiver-photo-controls .btn{align-self:flex-start}
}
.public-search-flash:not(:empty){padding-top:12px}
.public-care-name-row{padding-right:42px}
@media(max-width:760px){.public-care-name-row{padding-right:36px}}

/* Caregiver public profile: editorial layout with real portfolio photography. */
.care-profile-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 15px;color:#65664f;font-size:13px;font-weight:750}
.care-profile-back:hover{color:var(--brand-dark)}
.care-profile-shell{max-width:1220px;margin:0 auto 28px}
.care-profile-identity{display:flex;align-items:center;gap:18px;padding:21px 24px;background:linear-gradient(115deg,#FBF8F0 0%,#F5F0E4 100%);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);margin-bottom:18px}
.care-profile-avatar .avatar{display:block;width:86px;height:86px;border:3px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 4px 16px rgba(43,46,31,.13)}
.care-profile-identity-copy{min-width:0;flex:1}
.care-profile-kicker,.care-profile-eyebrow{display:block;color:#727356;text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:850}
.care-profile-identity h1{margin:3px 0 3px;color:#2B2E1F;font:600 clamp(25px,3vw,34px) Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.care-profile-identity-copy>p{display:flex;align-items:center;gap:5px;margin:0;color:#747363;font-size:12px}
.care-profile-identity-copy>p .ico{color:#727958}
.care-profile-rating{display:flex;align-items:center;gap:7px;margin-top:7px;color:#77735f;font-size:11px}
.care-profile-rating .stars{color:#bd985a;letter-spacing:1px}
.care-profile-rating .stars-num{color:#3c4030;font-weight:800}
.care-profile-rating .muted{display:none}
.care-profile-rating i{font-style:normal;color:#b0a994}
.care-profile-identity-badge{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #dce1d1;border-radius:999px;background:#edf0e5;color:#536147;font-size:11px;font-weight:800;white-space:nowrap}
.care-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:20px;align-items:start}
.care-profile-main{display:flex;flex-direction:column;gap:17px;min-width:0}
.care-profile-section{padding:21px 22px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}
.care-profile-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.care-profile-section-heading h2,.care-profile-section>h2{margin:3px 0 0;color:#2B2E1F;font:600 23px Georgia,'Times New Roman',serif;letter-spacing:-.025em}
.care-profile-count{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eeecdf;color:#62654d;font-size:10px;font-weight:800;white-space:nowrap}
.care-profile-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:132px;gap:8px}
.care-gallery-photo{position:relative;display:block;min-width:0;min-height:0;padding:0;overflow:hidden;border:0;border-radius:11px;background:#e8e4d7;cursor:zoom-in;text-align:left}
.care-gallery-photo:first-child{grid-column:span 2;grid-row:span 2}
.care-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.care-gallery-photo:hover img{transform:scale(1.04)}
.care-gallery-caption{position:absolute;right:0;bottom:0;left:0;padding:23px 10px 9px;background:linear-gradient(transparent,rgba(24,27,19,.67));color:#fff;font-size:11px;font-weight:700;line-height:1.3}
.care-profile-gallery-count-1{grid-template-columns:1fr;grid-auto-rows:320px}
.care-profile-gallery-count-1 .care-gallery-photo:first-child{grid-column:1;grid-row:1}
.care-profile-gallery-empty{display:flex;align-items:center;gap:16px;min-height:155px;padding:20px;border:1px dashed #d8d1be;border-radius:13px;background:#f8f5ec}
.care-profile-gallery-empty-avatar .avatar{width:94px;height:94px;border-radius:50%;object-fit:cover}
.care-profile-gallery-empty b{color:#404431;font-size:13px}
.care-profile-gallery-empty p{margin:4px 0 0;color:#777665;font-size:12px}
.care-profile-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:15px 9px;border:1px solid #e4ddce;border-radius:14px;background:#f7f3e9}
.care-highlight{display:flex;align-items:center;gap:9px;min-width:0;padding:4px 11px;border-right:1px solid #e4ddce}
.care-highlight:last-child{border-right:0}
.care-highlight-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#e8ebdd;color:#68704f}
.care-highlight-star{background:#f5ead6;color:#a8874f}
.care-highlight>div{display:flex;flex-direction:column;min-width:0}
.care-highlight b{color:#333629;font-size:14px;line-height:1.15}
.care-highlight small{margin-top:3px;color:#777665;font-size:9px;line-height:1.25}
.care-profile-about .care-profile-bio{margin:13px 0 0;color:#555749;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.care-profile-muted{color:#818071!important}
.care-profile-credentials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}
.care-credential{display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid #e7e3d6;border-radius:11px;background:#fbfaf5;color:#697354}
.care-credential>span{display:flex;flex-direction:column;min-width:0}
.care-credential b{color:#414435;font-size:11px;line-height:1.35}
.care-credential small{margin-top:2px;color:#898778;font-size:9px;line-height:1.3}
.care-profile-certificate-note{margin-top:12px;padding:12px 14px;border-left:3px solid #c29e67;border-radius:0 9px 9px 0;background:#f7f1e5;color:#575747;font-size:11px}
.care-profile-certificate-note p{margin:5px 0 0;line-height:1.5}
.care-reviews-overall{display:flex;align-items:center;gap:5px;color:#ab884d}
.care-reviews-overall b{color:#34372a;font-size:17px}
.care-reviews-overall small{color:#827f70;font-size:10px}
.care-profile-no-reviews{display:flex;align-items:center;gap:13px;padding:15px;border-radius:12px;background:#f7f4ea;color:#a8884b}
.care-profile-no-reviews>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#efe6d1}
.care-profile-no-reviews b{color:#484a3b;font-size:12px}
.care-profile-no-reviews p{margin:3px 0 0;color:#858272;font-size:10px}
.care-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.care-review-card{min-width:0;padding:13px;border:1px solid #e7e1d4;border-radius:12px;background:#fffdf8}
.care-review-card-top{display:flex;align-items:center;gap:8px}
.care-review-avatar{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:50%;background:#e9ebdd;color:#50573f;font-size:10px;font-weight:850}
.care-review-card-top>div{display:flex;flex-direction:column;min-width:0}
.care-review-card-top b{color:#46483a;font-size:10px}
.care-review-card-top small{color:#929080;font-size:9px}
.care-review-stars{margin-top:8px;color:#b18d52;font-size:11px}
.care-review-card>p{margin:5px 0 0;color:#5c5c50;font-size:11px;line-height:1.55}
.care-review-response{display:flex;flex-direction:column;gap:3px;margin-top:9px;padding:8px;border-radius:8px;background:#f3f3eb;color:#666957;font-size:9px;line-height:1.45}
.care-review-response b{color:#505641}
.care-profile-sidebar{position:sticky;top:88px;display:flex;flex-direction:column;gap:12px}
.care-booking-card{padding:20px;border:1px solid #dfd7c6;border-radius:16px;background:#fffdf8;box-shadow:0 12px 32px rgba(43,46,31,.1)}
.care-booking-price{display:flex;align-items:baseline;gap:6px;color:#777665}
.care-booking-price>span{font-size:11px;font-weight:750}
.care-booking-price>b{color:#303326;font-size:26px;letter-spacing:-.04em}
.care-booking-price>small{font-size:10px}
.care-booking-divider{height:1px;margin:15px 0;background:#ece5d8}
.care-booking-card h2{margin:0 0 8px;color:#35382b;font-size:13px;letter-spacing:-.01em}
.care-booking-service{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #f0ebdf}
.care-booking-service:last-child{border-bottom:0}
.care-service-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#f1eee3;color:#68704f}
.care-booking-service>div{display:flex;flex-direction:column;min-width:0}
.care-booking-service b{color:#46483a;font-size:10px}
.care-booking-service small{color:#918e7d;font-size:9px}
.care-booking-service>strong{color:#414335;font-size:11px;white-space:nowrap}
.care-profile-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:10px 0 14px}
.care-profile-days span{display:grid;place-items:center;min-height:30px;border:1px solid #e6e1d5;border-radius:8px;color:#a19d8d;background:#f7f5ee;font-size:9px;font-weight:750}
.care-profile-days span.is-available{border-color:#d3dcc5;background:#e9efdf;color:#506044}
.care-profile-book{display:flex;justify-content:center;align-items:center;gap:7px;min-height:43px;border-radius:11px}
.care-booking-note{display:flex;align-items:center;justify-content:center;gap:5px;margin:9px 0 0;color:#838171;font-size:9px;text-align:center}
.care-booking-note .ico{color:#68704f}
.care-profile-safe-note{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #dfe4d6;border-radius:12px;background:#eef1e8;color:#697354}
.care-profile-safe-note span{display:flex;flex-direction:column;gap:3px}
.care-profile-safe-note b{color:#505740;font-size:10px}
.care-profile-safe-note small{color:#777b69;font-size:9px;line-height:1.45}
.care-gallery-lightbox{position:fixed;max-width:min(92vw,1050px);max-height:92vh;padding:14px;border:1px solid rgba(255,255,255,.25);border-radius:18px;background:#181a14;color:#fff;box-shadow:0 25px 100px rgba(0,0,0,.5)}
.care-gallery-lightbox::backdrop{background:rgba(20,22,17,.8);backdrop-filter:blur(4px)}
.care-gallery-lightbox img{display:block;max-width:min(88vw,980px);max-height:78vh;margin:auto;border-radius:10px;object-fit:contain}
.care-gallery-lightbox p{margin:9px 4px 1px;color:#f6f2e8;font-size:12px}
.care-lightbox-close{position:absolute;z-index:2;top:20px;right:20px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(20,20,18,.75);color:#fff;font-size:25px;line-height:1;cursor:pointer}

/* Caregiver portfolio manager */
.caregiver-portfolio-manager{margin:0 0 18px;border:1px solid #e2d8c7;border-radius:16px;background:#fbf8f0;box-shadow:var(--shadow)}
.caregiver-portfolio-head{align-items:center}
.caregiver-portfolio-head h2{margin:0;color:#2b2e1f;font-size:17px}
.caregiver-portfolio-head p{margin:3px 0 0;color:#797765;font-size:11px;font-weight:500}
.care-portfolio-count{display:grid;place-items:center;min-width:41px;height:34px;padding:0 9px;border-radius:11px;background:#ece9dc;color:#596247;font-size:11px;font-weight:850}
.care-portfolio-upload{display:grid;grid-template-columns:minmax(200px,1.1fr) minmax(170px,1fr) auto;gap:10px;align-items:end;padding:13px;border:1px dashed #d5cbb7;border-radius:12px;background:#f8f5eb}
.care-portfolio-upload label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#63634f;font-size:10px;font-weight:800}
.care-portfolio-upload input[type=file],.care-portfolio-upload input[type=text]{width:100%;min-width:0;min-height:37px;padding:8px;border:1px solid #ded8ca;border-radius:8px;background:#fffdf8;color:#4c4d40;font:11px var(--sans)}
.care-portfolio-upload input[type=file]{padding:5px}
.care-portfolio-upload>button{min-height:37px;white-space:nowrap}
.care-portfolio-upload>small{grid-column:1/-1;color:#838171;font-size:9px}
.care-portfolio-manage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}
.care-portfolio-manage-item{min-width:0;overflow:hidden;border:1px solid #e5decf;border-radius:11px;background:#fffdf8}
.care-portfolio-manage-item>img{display:block;width:100%;aspect-ratio:1.35;object-fit:cover}
.care-portfolio-manage-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 8px}
.care-portfolio-manage-meta>span{overflow:hidden;color:#555647;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.care-portfolio-delete{margin:0}
.care-portfolio-delete button{display:grid;place-items:center;width:24px;height:24px;border:1px solid #e7d7d1;border-radius:50%;background:#fbf1ed;color:#a64f44;font-size:17px;line-height:1;cursor:pointer}
.care-portfolio-empty{display:flex;align-items:center;gap:10px;margin-top:13px;padding:12px;border-radius:10px;background:#f5f2e8;color:#848170}
.care-portfolio-empty>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e8ebde;color:#68704f}
.care-portfolio-empty p{margin:0;font-size:11px}
@media(max-width:1040px){
 .care-profile-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
 .care-highlight{gap:7px;padding:4px 7px}
 .care-highlight-icon{flex-basis:30px;width:30px;height:30px}
}
@media(max-width:820px){
 .care-profile-layout{grid-template-columns:1fr}
 .care-profile-sidebar{position:static;order:-1}
 .care-booking-card{padding:17px}
 .care-booking-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
 .care-booking-service:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:620px){
 .care-profile-shell{margin-bottom:16px}
 .care-profile-identity{align-items:flex-start;gap:12px;padding:15px;border-radius:14px}
 .care-profile-avatar .avatar{width:62px;height:62px}
 .care-profile-identity h1{font-size:24px}
 .care-profile-identity-copy>p{font-size:10px}
 .care-profile-rating{flex-wrap:wrap;gap:5px;font-size:9px}
 .care-profile-identity-badge{align-self:flex-start;padding:7px;font-size:0}
 .care-profile-identity-badge .ico{width:18px;height:18px}
 .care-profile-section{padding:16px 14px;border-radius:13px}
 .care-profile-section-heading h2,.care-profile-section>h2{font-size:20px}
 .care-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:118px;gap:6px}
 .care-gallery-photo:first-child{grid-column:span 2;grid-row:span 2}
 .care-profile-gallery-count-1{grid-auto-rows:245px}
 .care-profile-gallery-empty{min-height:125px;padding:14px}
 .care-profile-gallery-empty-avatar .avatar{width:68px;height:68px}
 .care-profile-highlights{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
 .care-highlight{padding:8px;border-right:0}
 .care-highlight:nth-child(odd){border-right:1px solid #e4ddce}
 .care-highlight:nth-child(-n+2){border-bottom:1px solid #e4ddce}
 .care-profile-credentials,.care-review-grid{grid-template-columns:1fr}
 .care-reviews-overall{gap:3px}
 .care-profile-days{gap:3px}
 .care-profile-days span{min-height:27px;font-size:8px}
 .care-booking-services{grid-template-columns:1fr}
 .care-booking-service:nth-last-child(-n+2){border-bottom:1px solid #f0ebdf}
 .care-booking-service:last-child{border-bottom:0}
 .care-portfolio-upload{grid-template-columns:1fr;align-items:stretch}
 .care-portfolio-upload>small{grid-column:1}
 .care-portfolio-upload>button{justify-self:start}
 .care-portfolio-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.care-profile-favorite-form{flex:0 0 auto;margin:0 0 0 2px}
.care-profile-favorite-form .favorite-button{width:42px;height:42px;background:#fffdf8;color:#747464;box-shadow:0 2px 8px rgba(43,46,31,.08)}
.care-profile-favorite-form .favorite-button svg{width:22px;height:22px}
.care-profile-rating-score{color:#34372a;font-size:11px;font-weight:850}
@media(max-width:620px){
 .care-profile-favorite-form{margin-left:auto}
 .care-profile-favorite-form .favorite-button{width:36px;height:36px}
 .care-profile-identity-badge{display:none}
}
.care-profile-gallery-count-2 .care-gallery-photo:nth-child(2){grid-column:3;grid-row:span 2}
@media(max-width:620px){.care-profile-gallery-count-2 .care-gallery-photo:nth-child(2){grid-column:span 2;grid-row:span 1}}
.public-care-card-hitarea{position:absolute;z-index:1;inset:0;border-radius:10px;color:transparent;cursor:pointer}
.public-care-card-hitarea:focus-visible{outline:3px solid #c29e67;outline-offset:2px}
.public-care-photo,.public-care-info{position:relative;z-index:2;pointer-events:none}
.public-care-favorite{pointer-events:auto;z-index:5}
.public-care-bottom .btn{position:relative;z-index:6;pointer-events:auto}
.care-profile-public-page{padding:18px 0 42px}
.care-profile-public-flash:not(:empty){margin-bottom:12px}
.results-header-right .back-home-link{margin:0;white-space:nowrap}
@media(max-width:620px){
 .care-profile-public-page{padding:12px 0 28px}
 .results-header-right .back-home-link{display:none}
}

/* Public caregiver availability calendar and manual date overrides */
.care-calendar-intro{margin:6px 0 0;color:#777665;font-size:12px;line-height:1.5}
.care-calendar-legend{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0;color:#68695a;font-size:11px}
.care-calendar-legend span{display:inline-flex;align-items:center;gap:7px}
.care-calendar-legend-paw{display:inline-block;width:15px;height:15px;flex:0 0 15px;fill:#788052}
.care-calendar-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;background:#b9e5c8;border:1px solid #a6d7b8}
.care-calendar-legend i.is-closed{background:repeating-linear-gradient(135deg,#f2f0e8 0 3px,#fff 3px 6px);border-color:#ded9ca}
.care-calendar-toolbar{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin:14px 0 10px}
.care-calendar-toolbar>[data-calendar-range]{color:#3f4333;text-align:center;text-transform:capitalize;font-weight:800;font-size:12px}
.care-calendar-nav{display:grid;place-items:center;width:36px;height:36px;border:1px solid #ded9ca;border-radius:50%;background:#fffdf8;color:#555a45;font-size:24px;line-height:1;cursor:pointer}
.care-calendar-nav:hover:not(:disabled){background:#eef1e8;border-color:#cbd4bc}
.care-calendar-nav:disabled{opacity:.35;cursor:not-allowed}
.care-calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.care-calendar-month h3{margin:4px 0 10px;color:#34372a;text-align:center;text-transform:capitalize;font-size:13px}
.care-calendar-weekdays,.care-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.care-calendar-weekdays{margin-bottom:6px}
.care-calendar-weekdays span{color:#878575;text-align:center;font-size:9px;font-weight:800;text-transform:uppercase}
.care-calendar-empty{min-height:36px}
.care-calendar-day{display:grid;place-items:center;min-width:0;min-height:36px;padding:0;border:1px solid #dedacd;border-radius:7px;background:repeating-linear-gradient(135deg,#f4f2eb 0 3px,#fffdf8 3px 6px);color:#999583;font:inherit;font-size:10px;font-weight:700}
button.care-calendar-day{border-color:#acdbbc;background:#bce8cc;color:#31533f;cursor:pointer;transition:transform .12s,box-shadow .12s,background .12s}
button.care-calendar-day:hover{background:#a8ddb9;transform:translateY(-1px);box-shadow:0 3px 8px #36543b22}
button.care-calendar-day:focus-visible{outline:3px solid #78835d;outline-offset:2px}
button.care-calendar-day.is-selected{border-color:#596a45;background:#62734c;color:#fff;box-shadow:0 0 0 2px #dfe8d8}
.care-calendar-day.is-closed{cursor:not-allowed}
.care-calendar-selection{min-height:18px;margin:12px 0 8px;color:#5d624c;font-size:11px;font-weight:700}
.care-calendar-book{display:flex;justify-content:center;align-items:center;gap:7px;width:max-content;min-height:40px;padding:0 17px;border-radius:10px}
.care-calendar-book[hidden]{display:none!important}
.care-exception-form{display:grid;gap:10px}
.care-exception-form .fg{margin:0}
.care-exception-list{border-top:1px solid var(--line-2)}
.care-exception-list h3{margin:0 0 8px;color:var(--ink);font-size:12px}
.care-exception-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid var(--line-2)}
.care-exception-row:last-child{border-bottom:0}
.care-exception-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:#d7d3c7}
.care-exception-dot.is-open{background:#82c799;box-shadow:0 0 0 3px #e6f3e9}
.care-exception-dot.is-closed{background:#cbbf9f;box-shadow:0 0 0 3px #f2eee3}
.care-exception-row>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
.care-exception-row b{color:#424536;font-size:11px}
.care-exception-row small{overflow-wrap:anywhere;color:#818071;font-size:10px}
.care-exception-remove{margin:0}
@media(max-width:700px){.care-calendar-months{grid-template-columns:1fr;gap:16px}.care-calendar-day,.care-calendar-empty{min-height:40px}.care-calendar-grid,.care-calendar-weekdays{gap:6px}}
.care-home-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.care-home-checks .check{margin:0;min-height:40px}
.care-home-subheading{margin:20px 0 5px;color:#3e4233;font-size:13px}
.care-home-max-pets{max-width:260px;margin-top:10px}
.care-profile-home-details .care-home-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
.care-home-public-grid>div{min-width:0;padding:14px;border:1px solid #ebe5d9;border-radius:12px;background:#fffdf8}
.care-home-public-grid h3{margin:0 0 8px;color:#464a3b;font-size:12px}
.care-home-public-grid p{margin:0;color:#666758;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.care-home-public-facts{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.care-home-public-facts li{position:relative;padding-left:18px;color:#5f624f;font-size:11px;line-height:1.45}
.care-home-public-facts li:before{position:absolute;left:0;color:#71825e;content:'✓';font-weight:900}
.care-home-pet-tags{display:flex;flex-wrap:wrap;gap:7px}
.care-home-pet-tags span{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid #d9e4d4;border-radius:999px;background:#eff4eb;color:#53654a;font-size:10px;font-weight:750}
@media(max-width:620px){.care-home-checks,.care-profile-home-details .care-home-public-grid{grid-template-columns:1fr}}
.care-profile-accordions{border-top:1px solid #cfd5d8;border-bottom:1px solid #cfd5d8}
.care-profile-accordion{border-bottom:1px solid #cfd5d8}
.care-profile-accordion:last-child{border-bottom:0}
.care-profile-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:12px 0;list-style:none;color:#292b2c;font-size:clamp(18px,2vw,23px);font-weight:650;cursor:pointer}
.care-profile-accordion>summary::-webkit-details-marker{display:none}
.care-accordion-chevron{width:12px;height:12px;flex:0 0 auto;border-right:2px solid #66715b;border-bottom:2px solid #66715b;transform:rotate(45deg) translateY(-3px);transition:transform .15s}
.care-profile-accordion[open] .care-accordion-chevron{transform:rotate(225deg) translate(-2px,-1px)}
.care-profile-accordion>summary:focus-visible{outline:3px solid #89966d;outline-offset:4px;border-radius:4px}
.care-accordion-content{padding:10px 0 22px;color:#46483e;font-size:14px;line-height:1.7}
.care-accordion-content>p{margin:0;white-space:normal}
.care-accordion-content .care-home-pet-tags{margin:0 0 15px}
.care-host-weight{display:flex;flex-direction:column;gap:1px;margin:8px 0 14px 4px;color:#282b2d}
.care-host-weight b{font-size:17px}
.care-host-weight small{color:#787c80;font-size:12px}
.care-host-rules{display:grid;gap:8px;margin:10px 0 16px;padding:0;list-style:none}
.care-host-rules li{display:flex;align-items:center;gap:9px;color:#46483e;font-size:13px}
.care-host-rules .ico,.care-host-capacity .ico{flex:0 0 auto;color:#6d795b}
.care-host-capacity{display:flex;align-items:center;gap:9px;margin:12px 0 0;color:#46483e;font-size:13px}
.care-service-list-full{padding-top:0}
.care-service-full-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #d6dbde}
.care-service-full-row:last-child{border-bottom:0}
.care-service-full-icon{display:grid;place-items:center;color:#626e55}
.care-service-full-copy,.care-service-full-price{display:flex;flex-direction:column;gap:3px}
.care-service-full-copy b{color:#30332b;font-size:16px}
.care-service-full-copy small,.care-service-full-price small{color:#777b7d;font-size:12px}
.care-service-full-price{align-items:flex-end;text-align:right;white-space:nowrap}
.care-service-full-price b{color:#30332b;font-size:16px}
.care-profile-report{display:inline-flex;align-items:center;gap:9px;margin-top:6px;color:#68727a;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.care-profile-report:hover{color:#343b32}
.care-report-flag{font-size:20px;line-height:1}
.care-profile-report{padding:0;border:0;background:transparent;font:inherit;cursor:pointer}
.care-profile-report:focus-visible{outline:3px solid #a4ad81;outline-offset:4px;border-radius:5px}
.care-report-modal{width:min(610px,calc(100vw - 28px));max-width:none;max-height:min(92vh,820px);padding:0;overflow:hidden;border:1px solid #e4dccb;border-radius:20px;background:#fffdf8;color:#303327;box-shadow:0 28px 90px rgba(25,30,20,.28)}
.care-report-modal::backdrop{background:rgba(35,40,30,.62);backdrop-filter:blur(3px)}
.care-report-shell{display:flex;max-height:min(92vh,820px);flex-direction:column}
.care-report-header{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;gap:14px;align-items:start;padding:22px 24px 18px;border-bottom:1px solid #e9e2d6;background:linear-gradient(135deg,#f7f1e4,#fffdf8)}
.care-report-heading-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e9ecdf;color:#586447;font-size:22px}
.care-report-eyebrow{color:#7b805f;font-size:9px;font-weight:850;letter-spacing:.15em}
.care-report-header h2{margin:3px 0 4px;color:#303327;font:600 24px/1.15 Georgia,'Times New Roman',serif}
.care-report-header p{margin:0;color:#777568;font-size:13px;line-height:1.45}
.care-report-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e3ddcf;border-radius:50%;background:#fffdf8;color:#585a4a;font-size:23px;line-height:1;cursor:pointer}
.care-report-close:hover{background:#f1eddf}
.care-report-form{overflow:auto;padding:19px 24px 22px;overscroll-behavior:contain}
.care-report-form .fg{margin-bottom:13px}
.care-report-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.care-report-contact-grid .fg{min-width:0}
.care-report-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.care-report-privacy{margin:3px 0 16px;padding:11px 13px;border-left:3px solid #78835c;border-radius:0 9px 9px 0;background:#eef0e7;color:#5e614f;font-size:12px;line-height:1.5}
.care-report-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:4px}
@media(max-width:620px){.care-profile-accordion>summary{min-height:58px;font-size:18px}.care-accordion-content{font-size:13px}.care-service-full-row{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;padding:14px 0}.care-service-full-copy b,.care-service-full-price b{font-size:13px}.care-service-full-copy small,.care-service-full-price small{font-size:10px}}
@media(max-width:520px){.care-report-modal{width:calc(100vw - 22px);max-height:93vh;border-radius:16px}.care-report-header{grid-template-columns:36px minmax(0,1fr) 31px;gap:10px;padding:17px 16px 14px}.care-report-heading-icon{width:36px;height:36px;border-radius:11px;font-size:19px}.care-report-header h2{font-size:21px}.care-report-header p{font-size:12px}.care-report-close{width:31px;height:31px}.care-report-form{padding:16px}.care-report-contact-grid{grid-template-columns:minmax(0,1fr);gap:0}.care-report-actions{display:grid;grid-template-columns:1fr 1fr}.care-report-actions .btn{width:100%;padding:11px 9px;font-size:13px}}

/* Profile rating link, city map tile, and complete reviews dialog */
.care-profile-rating-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#626451;font:inherit;cursor:pointer}
.care-profile-rating-link{text-decoration:underline;text-decoration-color:#aaa58f;text-underline-offset:2px}
.care-profile-rating-link:hover{text-decoration-color:#58684a;text-underline-offset:3px}
.care-profile-rating-link:focus-visible,.care-profile-rating-tile:focus-visible{outline:3px solid #879367;outline-offset:3px;border-radius:6px}
.care-profile-gallery-layout{display:grid;grid-template-columns:minmax(0,1fr) 218px;gap:10px;align-items:stretch}
.care-profile-gallery-photo-area{min-width:0}
.care-profile-gallery-location{display:flex;min-width:0;flex-direction:column;gap:9px}
.care-profile-rating-tile{display:flex;width:100%;flex-direction:column;align-items:stretch;padding:13px 14px;border:1px solid #e7dfd0;border-radius:13px;background:#faf6ec;color:#34372a;text-align:left;cursor:pointer}
.care-rating-tile-score{font-size:23px;font-weight:850;line-height:1.15}
.care-rating-tile-score i{color:#bd985a;font-style:normal}
.care-rating-tile-count{margin-top:2px;color:#757463;font-size:10px}
.care-rating-bars{display:grid;gap:4px;margin-top:9px}
.care-rating-bars>span,.care-rating-bars>div{display:grid;grid-template-columns:14px minmax(0,1fr);gap:5px;align-items:center;color:#68695c;font-size:9px;line-height:1}
.care-rating-bars i{display:block;height:7px;overflow:hidden;border-radius:99px;background:#e2e3e0}
.care-rating-bars em{display:block;height:100%;border-radius:inherit;background:#c4a04d}
.care-rating-tile-link{margin-top:9px;color:#61724e;font-size:10px;font-weight:800;text-decoration:underline;text-underline-offset:2px}
.care-rating-tile-empty{min-height:148px;justify-content:center;gap:6px;cursor:default}
.care-rating-tile-empty small{color:#787968;font-size:10px;line-height:1.5}
.care-city-map{position:relative;min-height:150px;flex:1;overflow:hidden;border:1px solid #ddd9c9;border-radius:13px;background:#e8eee2}
.care-city-map-fallback{position:absolute;inset:0;overflow:hidden;background:linear-gradient(30deg,transparent 0 30%,#d2e5d4 30.4% 37%,transparent 37.4%),linear-gradient(145deg,transparent 0 57%,#d4e6d5 57.4% 64%,transparent 64.4%),#e9eee3}
.care-map-road{position:absolute;display:block;height:8px;border:2px solid #fff;background:#e8dcb8;box-shadow:0 0 0 1px #d2c7a8}
.care-map-road-one{top:28%;left:-15%;width:135%;transform:rotate(-18deg)}
.care-map-road-two{top:65%;left:-10%;width:130%;transform:rotate(24deg)}
.care-map-road-three{top:-5%;left:53%;width:120%;transform:rotate(70deg)}
.care-map-pin{position:absolute;top:43%;left:52%;display:grid;place-items:center;width:37px;height:37px;border:3px solid #fff;border-radius:50% 50% 50% 3px;background:#596b4b;color:#fff;box-shadow:0 3px 10px #2225;transform:translate(-50%,-50%) rotate(-45deg)}
.care-map-pin .ico{transform:rotate(45deg)}
.care-city-map iframe{position:absolute;z-index:2;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.care-city-map-label{position:absolute;z-index:3;bottom:8px;left:8px;max-width:calc(100% - 16px);overflow:hidden;padding:5px 8px;border-radius:6px;background:#fffdf0e8;color:#303427;font-size:10px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 1px 5px #2222}
.care-city-map-caption{display:flex;flex-direction:column;gap:2px;padding:0 3px 2px}
.care-city-map-caption b{color:#404332;font-size:12px}
.care-city-map-caption small{color:#838171;font-size:9px}
.care-reviews-modal{width:min(790px,calc(100vw - 28px));max-width:none;max-height:92vh;padding:0;overflow:hidden;border:0;border-radius:16px;background:#fffdf9;color:#33362b;box-shadow:0 24px 90px #171a1744}
.care-reviews-modal::backdrop{background:#20241e88;backdrop-filter:blur(2px)}
.care-reviews-modal-shell{display:flex;max-height:92vh;flex-direction:column}
.care-reviews-modal-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid #e8e2d7;background:#fffdf9}
.care-reviews-modal-header h2{margin:0;color:#303327;font:650 22px Georgia,'Times New Roman',serif}
.care-reviews-close{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e3deD2;border-radius:50%;background:#fff;color:#606354;font-size:24px;line-height:1;cursor:pointer}
.care-reviews-modal-body{overflow-y:auto;padding:22px 25px 26px;overscroll-behavior:contain}
.care-reviews-modal-summary{padding:0 0 24px;border-bottom:1px solid #e7e1d6}
.care-reviews-modal-score{display:flex;align-items:center;gap:10px;color:#303327}
.care-reviews-modal-score b{font-size:38px;line-height:1}
.care-reviews-modal-score span{color:#c39838;font-size:38px;line-height:1}
.care-reviews-modal-summary>p{margin:7px 0 15px;color:#77766a;font-size:13px}
.care-rating-bars-modal{max-width:100%;gap:6px;margin-top:0}
.care-rating-bars-modal>div{grid-template-columns:18px minmax(0,1fr) 30px;gap:7px;font-size:11px}
.care-rating-bars-modal i{height:12px;background:#e5e6e3}
.care-rating-bars-modal small{color:#818173;text-align:right;font-size:10px}
.care-review-modal-card{padding:21px 0;border-bottom:1px solid #e9e4da}
.care-review-modal-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.care-review-modal-person{display:flex;min-width:0;align-items:center;gap:10px}
.care-review-modal-person .avatar{width:42px;height:42px;border-radius:50%;object-fit:cover}
.care-review-modal-person>span{display:flex;min-width:0;flex-direction:column;gap:3px}
.care-review-modal-person b{color:#35382c;font-size:14px}
.care-review-modal-person small{color:#79786d;font-size:11px}
.care-review-modal-stars{flex:0 0 auto;color:#bd985a;font-size:15px;letter-spacing:1px}
.care-review-modal-card>p{margin:13px 0 0;color:#4a4c41;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.care-review-modal-response{margin-top:12px;padding:11px 13px;border-left:3px solid #a9b493;border-radius:0 8px 8px 0;background:#f2f3ed}
.care-review-modal-response b{color:#58634b;font-size:11px}
.care-review-modal-response p{margin:4px 0 0;color:#5d5f53;font-size:12px;line-height:1.55}
.care-reviews-modal-footer{flex:0 0 auto;padding:12px 20px 17px;border-top:1px solid #e7e1d6;background:#fffdf9}
@media(max-width:760px){.care-profile-gallery-layout{grid-template-columns:1fr}.care-profile-gallery-location{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.care-profile-rating-tile{min-height:160px}.care-city-map{min-height:160px}}
@media(max-width:520px){.care-profile-gallery-location{grid-template-columns:1fr}.care-profile-rating-tile{min-height:0}.care-city-map{min-height:175px}.care-reviews-modal-header{padding:14px 17px}.care-reviews-modal-body{padding:17px}.care-reviews-modal-footer{padding:10px 14px 14px}.care-reviews-modal-score b,.care-reviews-modal-score span{font-size:33px}.care-review-modal-card>p{font-size:13px}}
/* Keep the public gallery at full profile width; place the city map above the booking card. */
.care-profile-gallery-section .care-profile-gallery{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:150px}
.care-profile-gallery-section .care-profile-gallery-count-1{grid-template-columns:1fr;grid-auto-rows:320px}
.care-profile-gallery-section .care-profile-gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:240px}
.care-profile-gallery-section .care-profile-gallery-count-2 .care-gallery-photo:nth-child(2){grid-column:auto;grid-row:auto}
.care-profile-gallery-section .care-profile-gallery-count-3{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:205px}
.care-profile-gallery-section .care-profile-gallery-count-4{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:180px}
.care-profile-gallery-section .care-profile-gallery-count-5{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:155px}
.care-profile-sidebar-map{padding:0 0 2px}
.care-profile-sidebar-map .care-city-map{min-height:190px}
.care-profile-sidebar-map .care-city-map-caption{padding:7px 3px 4px}
@media(max-width:900px){.care-profile-gallery-section .care-profile-gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:140px}.care-profile-gallery-section .care-profile-gallery-count-5{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:145px}}
@media(max-width:620px){.care-profile-gallery-section .care-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:125px}.care-profile-gallery-section .care-profile-gallery-count-1{grid-template-columns:1fr;grid-auto-rows:240px}.care-profile-gallery-section .care-profile-gallery-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:145px}.care-profile-gallery-section .care-profile-gallery-count-3,.care-profile-gallery-section .care-profile-gallery-count-4,.care-profile-gallery-section .care-profile-gallery-count-5{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:125px}.care-profile-gallery-section .care-profile-gallery-count-2 .care-gallery-photo:nth-child(2){grid-column:auto;grid-row:auto}.care-profile-sidebar-map .care-city-map{min-height:180px}}
.care-reviews-empty-state{display:flex;min-height:250px;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}
.care-reviews-empty-state>span{margin-bottom:9px;color:#c2a05b;font-size:36px;line-height:1}
.care-reviews-empty-state>b{color:#3c4033;font-size:16px}
.care-reviews-empty-state>p{max-width:330px;margin:6px 0 0;color:#77776b;font-size:13px;line-height:1.5}

/* Calendario público crema/oliva con huella integrada en días laborables */
.care-calendar-day{grid-auto-rows:min-content;align-content:center;gap:2px;min-height:46px;padding:4px 2px}
.care-calendar-number{display:block;line-height:1;font-size:11px}
.care-calendar-day svg{width:12px;height:12px;display:block;fill:currentColor}
button.care-calendar-day{border-color:#ded4bd;background:#f7f0df;color:#575a43}
button.care-calendar-day:hover{background:#eee3c8;border-color:#c9b98e;box-shadow:0 3px 8px #5e57301c}
button.care-calendar-day.is-selected{border-color:#657047;background:#69764d;color:#fff;box-shadow:0 0 0 2px #e8e2d2}
.care-calendar-day.is-closed{background:repeating-linear-gradient(135deg,#f4f1e8 0 3px,#fffdf8 3px 6px);border-color:#e1ddcf;color:#aaa694}
.care-calendar-occupancy{display:block;width:22px;height:3px;border-radius:2px;background:#ece6d6;overflow:hidden;margin-top:2px}
.care-calendar-occupancy i{display:block;height:100%;background:#7aa06a;border-radius:2px}
.care-calendar-day.is-booked .care-calendar-occupancy{background:#f0ddd4}
.care-calendar-day.is-booked .care-calendar-occupancy i{background:#d6b8a8}
button.care-calendar-day.is-selected .care-calendar-occupancy{background:#ffffff55}
button.care-calendar-day.is-selected .care-calendar-occupancy i{background:#fff}
.slot-grid button{padding:7px 10px;border-radius:8px;border:1px solid #ded8c9;background:#fffdf8;color:#3d3f2f;font-size:12px;font-weight:650;cursor:pointer}
.slot-grid button:hover{border-color:#c9b98e;background:#f7f0df}
.slot-grid button.is-selected{border-color:#62734c;background:#62734c;color:#fff}
.ag-booking-widget{border:1px solid #e2d8c7;border-radius:12px;background:#fffdf8;padding:14px 14px 12px}
.ag-widget-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#4a4a35}
.ag-widget-head h3{margin:0;font-size:16px;font-weight:800;letter-spacing:-.02em}
.ag-widget-step{font-size:11px;color:#8a8678;font-weight:700;background:#f4ead8;border:1px solid #e2d8c7;padding:4px 8px;border-radius:20px;white-space:nowrap}
.ag-calendar-legend{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-left:auto;margin-right:auto}
.ag-calendar-legend-item{display:inline-flex;align-items:center;gap:5px;color:#62614f;font-size:10px;font-weight:700;white-space:nowrap}
.ag-calendar-legend-swatch{box-sizing:border-box;width:27px;height:27px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #ded4bd;border-radius:6px;background:#f7f0df;color:#575a43}
.ag-calendar-legend-swatch svg{display:block;width:10px;height:10px;fill:currentColor}
.ag-calendar-legend-swatch i{display:block;width:15px;height:3px;border-radius:2px;background:#7aa06a}
.ag-calendar-legend-swatch.is-unavailable{background:repeating-linear-gradient(135deg,#f4f1e8 0 3px,#fffdf8 3px 6px);border-color:#e1ddcf}
@media(max-width:700px){.ag-widget-head{flex-wrap:wrap;justify-content:flex-start;gap:8px}.ag-widget-step{margin-left:auto}.ag-calendar-legend{order:3;width:100%;justify-content:flex-start;margin:0}}
.ag-calendar .care-calendar-toolbar{margin:6px 0 8px}
.ag-selected-banner{margin:10px 0 8px;padding:8px 10px;border-radius:8px;background:#2b2e1f;color:#fff;font-size:12px;font-weight:700;text-align:center}
.ag-timebar{margin-top:10px;padding-top:10px;border-top:1px solid #e2d8c7}
.ag-timebar-head{font-size:12px;font-weight:700;color:#4a4a35;margin-bottom:8px;text-align:center}
.ag-timebar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}
.ag-time-slot{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;border-radius:8px;border:1px solid #ded8c9;background:#fff;cursor:pointer;font-size:11px;font-weight:650}
.ag-time-slot small{font-size:9px;color:#8a8678;font-weight:600}
.ag-time-slot.is-free{border-color:#b9d8b9;background:#eaf6e8;color:#2f4a2e}
.ag-time-slot.is-free:hover{background:#d6edc8;border-color:#a8cfa8}
.ag-time-slot.is-busy{border-color:#e8c4c4;background:#fdecea;color:#9a5a5a;cursor:not-allowed;opacity:.7}
.ag-time-slot.is-past{opacity:.35;cursor:not-allowed;background:repeating-linear-gradient(135deg,#f4f2eb 0 3px,#fffdf8 3px 6px)}
.ag-time-slot.is-selected{border-color:#2b2e1f;background:#2b2e1f;color:#fff;box-shadow:0 2px 8px rgba(43,46,31,.2)}
.ag-modal{border:0;padding:14px;background:transparent;max-width:420px;width:calc(100% - 28px)}
.ag-modal::backdrop{background:rgba(43,46,31,.45);backdrop-filter:blur(2px)}
.ag-modal-card{position:relative;background:#fffdf8;border:1px solid #e2d8c7;border-radius:14px;padding:20px 18px 16px;box-shadow:0 18px 40px rgba(43,46,31,.18);text-align:center}
.ag-modal-x{position:absolute;top:8px;right:10px;width:28px;height:28px;border:0;background:transparent;color:#8a8678;font-size:20px;cursor:pointer}
.ag-modal-icon{width:42px;height:42px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:#f4ead8;font-size:20px}
.ag-modal-card h3{margin:0 0 6px;color:#2b2e1f;font-size:15px}
.ag-ok-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0;text-align:left}
.ag-ok-grid div{padding:10px 11px;border:1px solid #e2d8c7;border-radius:10px;background:#fbf8f0}
.ag-ok-grid small{display:block;color:#8a8678;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ag-ok-grid b{display:block;margin-top:2px;color:#2b2e1f;font-size:12px}
.ag-modal-card--success{max-width:520px}
.ag-modal-card p{margin:0;color:#6b6a5e;font-size:12px;line-height:1.5}
.ag-modal-actions{display:flex;gap:8px;justify-content:center;margin-top:14px}
.slot-grid button:disabled{opacity:.35;cursor:not-allowed;background:repeating-linear-gradient(135deg,#f4f2eb 0 3px,#fffdf8 3px 6px)}

/* Portal: calendario mensual editable, coherente con la paleta crema y oliva */
.caregiver-edit-calendar-card{overflow:hidden}
.caregiver-edit-calendar-toolbar{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:12px;padding:14px 20px 8px;color:#474a37;text-align:center;text-transform:capitalize}
.caregiver-edit-calendar-nav{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ded8c9;border-radius:50%;background:#fffdf8;color:#555a42;font-size:25px;line-height:1;text-decoration:none}
.caregiver-edit-calendar-nav:hover{background:#f0ead9;border-color:#c9c0a8}
.caregiver-edit-calendar-nav.is-disabled{opacity:.35;pointer-events:none}
.caregiver-edit-calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:10px 20px 20px}
.caregiver-edit-month h3{margin:3px 0 12px;color:#474a37;text-align:center;text-transform:capitalize;font-size:14px}
.caregiver-edit-weekdays,.caregiver-edit-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.caregiver-edit-weekdays{margin-bottom:7px}
.caregiver-edit-weekdays span{text-align:center;color:#888473;text-transform:uppercase;font-size:10px;font-weight:800}
.caregiver-edit-empty{min-height:52px}
.caregiver-edit-day-form{margin:0;min-width:0}
.caregiver-edit-day{width:100%;height:52px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:3px 1px;border:1px solid #e0dacb;border-radius:10px;background:#faf8f1;color:#85816f;font:inherit;font-size:12px;line-height:1;cursor:default}
button.caregiver-edit-day{cursor:pointer;transition:transform .12s,background .12s,border-color .12s}
button.caregiver-edit-day:hover{transform:translateY(-1px);border-color:#c5b88f;background:#f3ead2}
button.caregiver-edit-day:focus-visible{outline:3px solid #7b855e;outline-offset:2px}
.caregiver-edit-day.is-open{border-color:#d8c89f;background:#f5edd8;color:#5f6245}
.caregiver-edit-day.is-closed{background:repeating-linear-gradient(135deg,#f2f0e8 0 4px,#fbfaf6 4px 8px);color:#8f8c7e}
.caregiver-edit-day.is-booked{border-color:#dac6bb;background:#efe6df;color:#927464}
.caregiver-edit-paw{width:13px;height:13px;fill:currentColor;color:#788052}
.caregiver-edit-legend{display:flex;flex-wrap:wrap;gap:15px;padding:0 20px 18px;color:#676652;font-size:11px}
.caregiver-edit-legend span{display:inline-flex;align-items:center;gap:6px}
.caregiver-edit-legend i{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;border:1px solid #d8c89f;border-radius:5px;background:#f5edd8;color:#788052;font-style:normal}
.caregiver-edit-legend i.is-closed{border-color:#e0dacb;background:repeating-linear-gradient(135deg,#f2f0e8 0 3px,#fbfaf6 3px 6px);color:#9b988a}
.caregiver-edit-legend i.is-booked{border-color:#dac6bb;background:#efe6df;color:#927464}
.caregiver-edit-legend i svg{display:block;width:12px;height:12px;fill:currentColor}
.caregiver-service-list{display:grid;gap:13px}
.caregiver-service-edit-row{padding:12px;border:1px solid #e7e2d7;border-radius:12px;background:#fffdf8}
.caregiver-service-enable{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:#4c503c;font-size:12px;font-weight:700}
.caregiver-service-enable input{width:auto}
.caregiver-service-edit-fields{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(110px,.8fr) minmax(110px,.8fr);gap:10px}
.caregiver-service-edit-fields input{min-width:0}
@media(max-width:760px){.caregiver-edit-calendar-months{grid-template-columns:1fr;gap:20px;padding:8px 12px 16px}.caregiver-edit-calendar-toolbar{padding-inline:12px}.caregiver-edit-day,.caregiver-edit-empty{height:48px;min-height:48px}.caregiver-edit-weekdays,.caregiver-edit-days{gap:4px}.caregiver-manage-grid{grid-template-columns:1fr!important}.caregiver-service-edit-fields{grid-template-columns:1fr 1fr}.caregiver-service-edit-fields>.fg:first-child{grid-column:1/-1}}
.care-calendar-legend i.is-booked{background:#efe6df;border-color:#dac6bb}
.care-calendar-day.is-booked{background:repeating-linear-gradient(135deg,#eee4dc 0 3px,#faf7f3 3px 6px);border-color:#dac6bb;color:#927464;cursor:not-allowed}
/* Expediente de mascota en formato de dos columnas: foto grande a la izquierda, ficha a la derecha. */
.pet-record-list{display:grid;grid-template-columns:1fr;gap:14px}
.pet-record-card{padding:0;overflow:hidden;border:1px solid #e2d8c7;background:#fffdf8}
.pet-record-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:22px}
.pet-record-photo-column{display:flex;flex-direction:column;align-items:center;gap:9px}
.pet-record-photo{display:block;width:200px;height:200px;max-width:100%;object-fit:cover;border:1px solid #e2d8c7;border-radius:18px;background:#f5efdf;color:#69764d;box-shadow:0 5px 16px rgba(43,46,31,.09)}
.pet-record-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#69764d;font-size:12px;font-weight:750}
.pet-record-photo-caption{color:#8b8778;font-size:11px;font-weight:700;text-align:center}
.pet-record-main{min-width:0}
.pet-record-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:16px;border-bottom:1px solid #e9e3d6}
.pet-record-eyebrow{color:#8a856e;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.pet-record-name{margin:3px 0 2px;color:#303425;font-size:25px;line-height:1.15}
.pet-record-subtitle{margin:0;color:#777566;font-size:13px}
.pet-record-badges{margin-top:8px}
.pet-record-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.pet-record-actions form{margin:0}
.pet-record-health{padding:15px 0 13px}
.pet-record-health h3,.pet-record-info h3{margin:0 0 9px;color:#50543d;font-size:12px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.pet-record-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pet-record-fact{min-width:0;padding:11px 12px;border:1px solid #e9e2d4;border-radius:10px;background:#f8f4eb}
.pet-record-fact span{display:block;margin-bottom:4px;color:#8b8778;font-size:10px;font-weight:750;text-transform:uppercase}
.pet-record-fact b{display:block;overflow-wrap:anywhere;color:#383c2b;font-size:12px}
.pet-record-care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:2px}
.pet-record-info{min-width:0;padding:13px 14px;border-left:3px solid #b9ad83;border-radius:0 10px 10px 0;background:#f7f3e9}
.pet-record-info:nth-child(2){border-left-color:#657047;background:#f3f3eb}
.pet-record-info p{margin:0;color:#565748;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.pet-record-empty{color:#949080;font-style:italic}
@media(max-width:900px){.pet-record-layout{grid-template-columns:175px minmax(0,1fr);gap:18px;padding:18px}.pet-record-photo{width:165px;height:165px}.pet-record-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pet-record-layout{grid-template-columns:1fr;gap:14px;padding:15px}.pet-record-photo{width:160px;height:160px}.pet-record-header{flex-direction:column;gap:11px}.pet-record-actions{width:100%}.pet-record-care-grid{grid-template-columns:1fr}.pet-record-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Guías detalladas dentro de los portales de clientes y cuidadores */
.portal-manual{max-width:1180px;margin:0 auto}
.manual-hero{padding:24px;background:linear-gradient(135deg,#fffdf8,#f5efdf);border:1px solid #e2d8c7}
.manual-eyebrow{color:#7a7c5d;font-size:10px;font-weight:850;letter-spacing:.12em}
.manual-hero h2{margin:6px 0 8px;color:#303425;font-size:26px}
.manual-hero>p{max-width:780px;margin:0;color:#6e6c5e;line-height:1.6}
.manual-quick-title{margin:18px 0 8px;color:#50543d;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.manual-quick-links{display:flex;flex-wrap:wrap;gap:8px}
.manual-notice{margin:14px 0;padding:14px 16px;line-height:1.55}
.manual-toc{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 16px}
.manual-toc a{padding:7px 10px;border:1px solid #e2d8c7;border-radius:999px;background:#fffdf8;color:#555943;font-size:11px;font-weight:700}
.manual-toc a:hover{background:#f4ead8;border-color:#c9b98e}
.manual-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.manual-chapter{display:grid;grid-template-columns:35px minmax(0,1fr);gap:12px;scroll-margin-top:20px}
.manual-chapter-number{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e9ebdd;color:#596447;font-size:12px;font-weight:900}
.manual-chapter h3{margin:2px 0 5px;color:#363a2a;font-size:15px}
.manual-chapter p{margin:0 0 8px;color:#777466;font-size:12px;line-height:1.5}
.manual-chapter ol{margin:0;padding-left:19px;color:#4f5042;font-size:12px;line-height:1.55}
.manual-chapter li{padding-left:2px;margin:0 0 7px}
.manual-support{margin-top:14px;display:flex;flex-wrap:wrap;gap:5px;align-items:center;background:#f8f4eb}
.manual-support a{color:#596447;font-weight:800;text-decoration:underline}
@media(max-width:800px){.manual-chapters{grid-template-columns:1fr}}
@media(max-width:560px){.manual-hero{padding:18px}.manual-hero h2{font-size:22px}.manual-toc{gap:5px}.manual-toc a{font-size:10px;padding:6px 8px}.manual-chapter{grid-template-columns:28px minmax(0,1fr);gap:9px}.manual-chapter-number{width:27px;height:27px}}

/* Selección de rango para servicios por día */
.booking-unit-control,.booking-range-control,.booking-pets-count{margin:12px 0}
.booking-range-control input[type=date]{width:100%}
.care-calendar-day.is-booking-range{background:#e8ecd9;border-color:#9da77e;color:#38412f}
.care-calendar-day.is-booking-range.is-selected{background:#596447;border-color:#596447;color:#fff}

/* Formulario de servicios propios del cuidador */
.caregiver-custom-service-form{grid-column:1/-1}
.caregiver-custom-service-form .caregiver-service-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.caregiver-custom-service-form .caregiver-service-edit-fields{grid-template-columns:1fr}}

/* Booking form: keep calendar/details left and pet, notes, and payment in a balanced right rail. */
.booking-layout{display:block;width:100%}
.booking-form-card{width:100%;min-width:0}
.booking-form-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.9fr);gap:22px;align-items:start}
.booking-main-column,.booking-side-column{min-width:0}
.booking-side-column{display:flex;flex-direction:column;gap:12px}
.booking-side-column>.fg{margin:0}
.booking-side-column .booking-payment-card{margin:0;background:#fffdf8}
.booking-date-range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.booking-date-range-fields .fg{margin:0}
.booking-date-range-fields input[type=date]{width:100%;min-height:44px}
.booking-range-control>.hint{margin-top:7px}
.booking-submit-row{display:grid;gap:10px;margin-top:auto;padding-top:4px}
.booking-submit-row .btn{width:100%;justify-content:center}
@media(max-width:900px){
  .booking-form-columns{grid-template-columns:minmax(0,1fr);gap:16px}
  .booking-side-column{gap:11px}
}
@media(max-width:520px){
  .booking-date-range-fields{grid-template-columns:minmax(0,1fr)}
}

/* Portal mobile repair: avoid forced desktop columns and keep the caregiver header readable. */
@media(max-width:760px){
  .content{min-width:0;overflow-x:hidden}
  .content>.grid[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
  .content .grid>*,.content .stack,.content .card{min-width:0}
  .content .card-head{flex-wrap:wrap}
  .content .tbl-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .content .td-actions{flex-wrap:wrap;white-space:normal}
}
@media(max-width:620px){
  .topbar{display:grid;grid-template-columns:40px minmax(0,1fr);gap:7px 11px;align-items:center;padding:11px 14px}
  .topbar .burger{grid-column:1;grid-row:1;align-self:start}
  .topbar-title{grid-column:2;grid-row:1;min-width:0;width:100%}
  .topbar-title h1{font-size:17px;line-height:1.2;overflow-wrap:anywhere}
  .topbar-sub{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
  .topbar-actions{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px;width:100%;min-width:0}
  .topbar-actions>.pill-rol{font-size:11px;padding:5px 8px}
  .topbar-actions>.topbar-user{display:flex}
  .topbar-actions>.topbar-user span{display:none}
  .topbar-actions>.lang-switch{margin-left:0}
  .content{padding:14px 12px}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .kpi{padding:13px 12px;min-width:0}
  .kpi-valor{font-size:21px;overflow-wrap:anywhere}
  .card-head{padding:14px}
  .card-body,.card-pad{padding:15px}
}
@media(max-width:380px){
  .topbar{padding-inline:10px;column-gap:8px}
  .topbar-actions>.pill-rol{max-width:145px;white-space:normal;line-height:1.2}
  .content{padding-inline:10px}
  .kpi-label{font-size:10px}
}

/* Disputes and claims: submission, private user history, and administrator review. */
.claims-page{padding-top:34px;padding-bottom:48px}
.claims-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}
.claims-heading h1{margin:4px 0 7px;color:#303425;font:500 clamp(30px,4vw,42px)/1.1 Georgia,'Times New Roman',serif}
.claims-heading p{margin:0;color:#727061}
.claims-kicker{color:#777b59;font-size:10px;font-weight:850;letter-spacing:.15em}
.claims-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr);gap:18px;align-items:start}
.claims-form-card,.claims-side,.claims-admin-card{min-width:0}
.claims-form .fg:last-of-type{margin-bottom:10px}
.claims-account-note{margin:10px 0 16px;padding:12px 14px;border-left:3px solid #727b59;border-radius:0 9px 9px 0;background:#eef0e6;color:#525744;font-size:13px}
.claims-steps{padding-left:20px;color:#595a4b;font-size:13px}
.claims-steps li{padding:0 0 9px 3px}
.claims-support{margin-top:12px;color:#676655}
.claims-support a{font-weight:750;text-decoration:underline}
.claims-history{margin-top:28px}
.claims-history-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}
.claims-case{padding:17px 19px;margin-bottom:11px}
.claims-case-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.claims-case-top b{overflow-wrap:anywhere}
.claims-message{margin:12px 0 0;color:#555647;white-space:normal;overflow-wrap:anywhere}
.claims-reply{margin-top:13px;padding:12px 14px;border-radius:10px;background:#eef0e6;color:#4c513e}
.claims-reply p{margin:5px 0 0;white-space:normal;overflow-wrap:anywhere}
.claims-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.status-pendiente{background:#f7efdf;color:#80673c}.status-en_revision{background:#e9ecdf;color:#4f5c3d}.status-resuelto{background:#e5eee2;color:#365a39}.status-cerrado{background:#eeece6;color:#706d61}
.claims-admin-list{display:grid;gap:14px}
.claims-admin-card{padding:18px}
.claims-admin-code{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:5px;font-size:16px;font-weight:800}
.claims-admin-body{margin:14px 0;padding:14px 15px;border-radius:10px;background:#f8f4eb}
.claims-admin-body h3{margin:0 0 7px}.claims-admin-body p{margin:0;color:#565748;overflow-wrap:anywhere}
.claims-admin-form{border-top:1px solid #e6dfd1;padding-top:13px}
.claims-admin-fields{grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);gap:12px}
.claims-admin-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.claims-admin-actions .hint{margin:0}
@media(max-width:760px){
  .claims-page{padding:22px 14px 36px}
  .claims-heading{align-items:flex-start;flex-direction:column;gap:12px}
  .claims-layout{grid-template-columns:minmax(0,1fr)}
  .claims-admin-fields{grid-template-columns:minmax(0,1fr)}
  .claims-case,.claims-admin-card{padding:14px}
  .claims-history-head{align-items:flex-start;flex-direction:column;gap:3px}
}

/* Temporary preview environment notice. */

/* Public search wizard and caregiver-profile icon refresh. */
.care-profile-location-icon{display:inline-grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:9px;background:#F6E6D6;color:#B97948;vertical-align:middle}
.care-profile-location-icon .ico{display:block;width:17px;height:17px;color:#B97948;filter:drop-shadow(0 1px 1px rgba(36,35,25,.12))}
.care-profile-identity-badge .care-profile-badge-check{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#2f9857;color:#fff;box-shadow:0 2px 5px rgba(33,112,64,.2)}
.care-profile-identity-badge .care-profile-badge-check .ico{display:block;width:14px;height:14px;color:#fff}
.care-profile-highlights .care-highlight-icon{flex:0 0 38px;width:38px;height:38px;border-radius:12px;box-shadow:0 3px 8px rgba(43,46,31,.09)}
.care-profile-highlights .care-highlight-icon .ico{width:21px;height:21px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.13))}
.care-profile-highlights .care-highlight-star{background:#FFF2CC;color:#D5A719}
.care-profile-highlights .care-highlight-clock{background:#E3F1F0;color:#397C80}
.care-profile-highlights .care-highlight-completed{background:#E4F1E7;color:#378451}
.care-profile-credentials .care-credential>.ico{display:block;box-sizing:border-box;flex:0 0 34px;width:34px;height:34px;padding:7px;border-radius:11px;background:#E4F1E7;color:#378451;filter:drop-shadow(0 2px 4px rgba(43,46,31,.1))}
.care-profile-credentials .care-credential>.ico-doc{background:#F6E6D6;color:#B97948}
.care-profile-credentials .care-credential>.ico-check{background:#E3F1F0;color:#397C80}
.care-booking-service{grid-template-columns:38px minmax(0,1fr) auto}
.care-service-icon{width:36px;height:36px;border:1px solid rgba(65,68,49,.08);border-radius:11px;background:#F6E6D6;color:#B97948;box-shadow:0 2px 6px rgba(43,46,31,.08)}
.care-service-icon .ico{width:22px;height:22px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.13))}
.care-service-full-row{grid-template-columns:50px minmax(0,1fr) auto}
.care-service-full-icon{width:44px;height:44px;border:1px solid rgba(65,68,49,.08);border-radius:14px;background:#F6E6D6;color:#B97948;box-shadow:0 3px 8px rgba(43,46,31,.08)}
.care-service-full-icon .ico{width:27px;height:27px;filter:drop-shadow(0 1px 1px rgba(36,35,25,.13))}
.care-profile-safe-note>.ico{box-sizing:border-box;flex:0 0 30px;width:30px;height:30px;padding:5px;border-radius:10px;background:#DCEBDD;color:#378451}
.care-host-rules .ico,.care-host-capacity .ico{color:#378451;filter:drop-shadow(0 1px 1px rgba(36,35,25,.12))}
.search-control-strip{display:none!important}
@media(max-width:620px){.care-profile-highlights .care-highlight-icon{flex-basis:34px;width:34px;height:34px}.care-service-full-row{grid-template-columns:38px minmax(0,1fr) auto}.care-service-full-icon{width:36px;height:36px}.care-service-full-icon .ico{width:23px;height:23px}}

/* Homepage account entry: make client signup easy to find; the caregiver link remains in the hero on small screens. */
.home-create-account-link{border-color:#9da486;background:#FBF8F0;color:#4A4A35}
.home-create-account-link:hover{border-color:#596247;background:#E4F1E7;color:#315a39}
@media(max-width:760px){.home-header-actions .home-sitter-link{display:none}}

/* Caregiver quick sign-out and admin city distribution */
.topbar-caregiver-logout{display:none;align-items:center;gap:6px;color:var(--brand-dark);font-size:12px;font-weight:750;padding:8px 9px;border:1px solid var(--line);border-radius:10px;white-space:nowrap}
.topbar-caregiver-logout:hover{background:var(--brand-light)}
@media(max-width:1000px){.topbar-caregiver-logout{display:inline-flex}.topbar-caregiver-logout .ico{width:16px;height:16px}}\n@media(max-width:520px){.topbar{gap:9px}.topbar-actions{gap:7px}.topbar-actions .pill-rol{display:none}.topbar-caregiver-logout{padding:8px}.topbar-caregiver-logout span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}
.caregiver-client-name{margin-left:.35em}.caregiver-client-profile-label{margin-right:.35em;vertical-align:middle}
.kpi-geography-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.kpi-geography-link:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(43,46,31,.12)}
.admin-caregiver-geography{margin:0 0 20px;scroll-margin-top:95px}
.admin-city-bars{display:grid;gap:13px}
.admin-city-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px;font-size:13px}
.admin-city-label span{color:var(--muted);white-space:nowrap}
.admin-city-track{height:9px;border-radius:99px;background:#eee8dc;overflow:hidden}
.admin-city-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7b8a62,#c39f68)}
.admin-caregiver-map-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 10px;font-size:12px;color:var(--muted)}
.admin-caregiver-map-summary b{font-size:15px;color:var(--ink)}
.admin-caregiver-map-wrap{position:relative;height:430px;overflow:hidden;border:1px solid #d8d3c4;border-radius:14px;background:#e4e3d7;box-shadow:0 5px 18px rgba(43,46,31,.08)}
.admin-caregiver-map{position:absolute;inset:0;z-index:1;background:#e4e3d7}
.admin-map-overlay-label{position:absolute;z-index:500;top:12px;left:12px;display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #e2d8c7;border-radius:10px;background:#fbf8f0;color:#34382b;font-size:12px;font-weight:800;box-shadow:0 3px 12px rgba(43,46,31,.14)}
.admin-map-overlay-label .ico{color:#596247}
.admin-map-location-note{position:absolute;z-index:500;left:11px;bottom:11px;max-width:320px;padding:7px 9px;border-radius:8px;background:rgba(251,248,240,.94);color:#686857;font-size:10px}
.admin-map-fallback{position:absolute;z-index:10;inset:0;display:grid;place-items:center;padding:28px;text-align:center;color:#596247;background:#e8e5d8}
.admin-city-breakdown-title{margin:20px 0 12px;font-size:15px}
@media(max-width:760px){.admin-caregiver-map-wrap{height:360px}.admin-map-location-note{max-width:240px}.admin-caregiver-map-summary{display:grid;gap:4px}}

/* Mobile-only homepage composition matching the supplied NikoPetCare reference. Desktop keeps its existing layout. */
.home-mobile-headline,.home-hero-lede-mobile,.home-mobile-pets-photo{display:none}
@media(max-width:640px){
  .home-header{position:relative;top:auto;z-index:90;height:165px;background:transparent;border:0;overflow:hidden}
  .home-header::before{
    background-color:#83b8d7;
    background-image:url('../img/paw-pattern.svg'),linear-gradient(180deg,#91c3dc 0%,#7eb5d3 100%);
    background-size:96px 72px,100% 100%;
    background-repeat:repeat,no-repeat;
    background-position:left top,center;
    clip-path:none;
    filter:none;
  }
  .home-header::after{content:"";position:absolute;z-index:1;pointer-events:none;left:-10%;bottom:-1px;width:120%;height:52px;border-radius:50% 50% 0 0 / 100% 100% 0 0;background:#FDF5EB;}
  .home-header-inner{z-index:2!important}
  .home-header-inner{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:56px 48px;align-content:start;align-items:start;gap:5px 12px!important;width:calc(100% - 36px)!important;height:148px!important;padding-top:38px}
  .home-logo{grid-column:1;grid-row:1/3;align-self:start;width:110px;height:110px;flex:none;overflow:visible}
  .home-logo .brand-mark-logo{width:102px;height:102px;flex:0 0 102px;padding:2px;border:1px solid rgba(43,46,31,.18);border-radius:24px;background:#FBF8F0;box-shadow:0 4px 14px rgba(24,63,87,.13)}
  .home-logo .brand-mark-logo img{width:100%;height:100%;object-fit:contain;border-radius:21px}
  .home-nav{display:none!important}
  .home-header-actions{display:contents!important}
  .home-header-actions .home-sitter-link,.home-header-actions .home-create-account-link{display:none!important}
  .home-header-actions>button{grid-column:2;grid-row:2;justify-self:end;align-self:start;width:160px;min-height:44px;padding:10px 16px!important;border:0;border-radius:999px;background:#30391D!important;color:#fff!important;font-size:14px!important;font-weight:800;box-shadow:0 3px 9px rgba(36,47,23,.18)}
  .home-header .lang-switch{grid-column:2;grid-row:1;justify-self:end;align-self:start;margin:1px 4px 0 0!important;transform:none!important;gap:2px;padding:4px;border:0;background:#F5F0E5;border-radius:999px;box-shadow:0 2px 7px rgba(31,57,72,.1)}
  .home-header .lang-switch .lang-globe{display:none}
  .home-header .lang-switch .lang-opt{min-width:40px;padding:8px 10px;border-radius:999px;color:#777568;font-size:12px;font-weight:800;text-align:center}
  .home-header .lang-switch .lang-opt.on{background:#fff;color:#25291D;box-shadow:none}

  .home-hero{display:block;min-height:0;height:auto;overflow:hidden;padding:27px 0 28px;background:#FDF5EB;color:#2B2E1F}
  .home-hero::after{display:none}
  .home-hero::before{content:"";position:absolute;z-index:0;inset:0;display:block;pointer-events:none;background-image:url('../img/paw-trail-mobile.svg');background-repeat:repeat;background-size:104px 144px;opacity:.75;animation:mobile-paw-fall 18s linear infinite}
  @keyframes mobile-paw-fall{from{background-position:0 0}to{background-position:0 144px}}
  .home-hero .container{width:calc(100% - 40px)!important;max-width:520px}
  .home-hero-photo{display:none}
  .home-mobile-pets-photo{display:block;position:absolute;z-index:0;top:205px;right:0;left:0;width:100%;max-width:none;height:auto;margin:0;overflow:visible;border-radius:0;box-shadow:none}
  .home-mobile-pets-photo img{display:block;width:100%;height:auto;object-fit:contain;object-position:center;border-radius:0}
  .home-mobile-photo-spacer{display:block;height:max(145px,calc(75vw - 106px))}
  .home-hero-inner{z-index:1}
  .home-hero-copy{width:58%;max-width:280px;padding:0;margin:0;transform:translateY(-36px)}
  .home-kicker{max-width:100%;margin:0 0 10px;color:#596247;font-size:6.8px;line-height:1.35;letter-spacing:.09em}
  .home-desktop-headline{display:none}
  .home-hero .home-mobile-headline{display:block;width:100%;max-width:100%;margin:0 0 9px;color:#2B2E1F;font:500 clamp(34px,9vw,39px)/.96 Georgia,'Times New Roman',serif;letter-spacing:-.04em;white-space:normal}
  .home-mobile-headline span{display:block}
  .home-hero-lede-desktop{display:none}
  .home-hero-lede-mobile{display:block;max-width:100%;margin:0 0 11px;color:#454638;font:400 14px/1.32 var(--sans)}
  .home-hero-actions{display:grid;grid-template-columns:1fr;justify-items:start;gap:8px;align-items:start;margin:0}
  .home-hero-actions .btn-primary{display:flex;align-items:center;justify-content:center;width:85%;max-width:215px;min-height:48px;padding:10px 12px;border:0;border-radius:15px;background:#3C491D;color:#fff;font-size:13.5px;font-weight:800;box-shadow:0 4px 12px rgba(43,46,31,.15)}
  .home-hero-actions .btn-primary:hover{background:#2B2E1F;color:#fff}
  .home-text-link{justify-self:start;margin-left:4px;color:#25291D;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px}
  .home-trust-points{display:none}

  .home-search-dock{position:relative!important;z-index:3;left:auto;bottom:auto;transform:none;width:calc(100% - 28px)!important;max-width:500px;margin:0 auto;padding:0!important}
  .home-search-form{grid-template-columns:1fr;gap:0;padding:10px 11px 11px;border:1px solid rgba(74,74,53,.12);border-radius:25px;background:#FFFCF5;box-shadow:0 12px 30px rgba(43,46,31,.17)}
  .home-search-field{grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;min-height:60px;padding:5px 6px;border-right:0;border-bottom:1px solid #E6E1D6}
  .home-location-field,.home-search-field:nth-child(2){min-height:54px;padding-top:2px;padding-bottom:2px}
  .home-search-field:last-of-type{border-bottom:0}
  .home-search-icon{width:44px;height:44px;border-radius:14px}
  .home-search-icon .ico{width:24px;height:24px}
  .home-search-label{align-self:end;color:#292D21;font-size:14px;line-height:1.2;font-weight:850}
  .home-search-field input,.home-search-field select{align-self:start;height:27px;font-size:14px;color:#77766C}
  .home-search-field input[type=date]{font-size:13px}
  .home-search-field input::placeholder{color:#77766C}
  .home-search-submit{grid-column:1/-1;min-width:0;width:100%;min-height:53px;margin:11px 0 0;border-radius:15px;background:#3C491D;color:#fff;font-size:15px;font-weight:800}
  .home-proof-strip{width:calc(100% - 32px);padding:22px 0 18px}
  .home-proof-strip>div{background:#FBF8F0;border-radius:14px}
  .home-services-section{background:#FBF6EC}
}
@media(max-width:410px){
  .home-header-inner{width:calc(100% - 30px)!important;gap:4px 8px!important}
  .home-logo{width:98px;height:100px}
  .home-logo .brand-mark-logo{width:94px;height:94px;flex-basis:94px;border-radius:22px}
  .home-logo .brand-mark-logo img{border-radius:19px}
  .home-header-actions>button{width:146px;min-height:42px;font-size:13px!important}
  .home-header .lang-switch .lang-opt{min-width:36px;padding:7px 8px}
  .home-hero .container{width:calc(100% - 36px)!important}
  .home-hero .home-mobile-headline{font-size:clamp(32px,9vw,36px)}
  .home-mobile-photo-spacer{height:max(145px,calc(75vw - 106px))}
}

/* PWA installation guide and mobile install shortcuts. */
.mobile-install-footer-link,.pwa-side-tab{display:none}
.install-page-header{position:relative;z-index:2}
.install-page-header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.install-home-link,.install-app-back a{color:#3C491D;font-weight:800;text-decoration:none}
.install-app-page{min-height:calc(100vh - 150px);padding:44px 0 58px;background:#FDF5EB;color:#2B2E1F}
.install-app-container{max-width:900px}
.install-app-intro{max-width:700px;margin:0 auto 24px;text-align:center}
.install-app-mark{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;border-radius:15px;background:#E4F1E7;color:#378451;font-size:31px;font-weight:500;line-height:1}
.install-app-intro .home-section-kicker{margin:0 0 8px}
.install-app-intro h1{margin:0 0 12px;color:#2B2E1F;font:500 clamp(32px,5vw,48px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.install-app-intro>p:not(.home-section-kicker):not(.install-app-status){max-width:610px;margin:0 auto 16px;color:#5B5B4D;font-size:16px;line-height:1.55}
.install-now-button{min-height:48px;padding:11px 24px;border:0;border-radius:14px;background:#3C491D;color:#fff;font-size:15px;font-weight:850;box-shadow:0 5px 13px rgba(43,46,31,.15);cursor:pointer}
.install-now-button[hidden]{display:none}
.install-now-button:disabled{opacity:.65;cursor:wait}
.install-app-status{min-height:20px;margin:12px auto 0;color:#6D7057;font-size:13px}
.install-app-steps{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.install-step-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:21px;border:1px solid rgba(74,74,53,.14);border-radius:19px;background:#FFFCF5;box-shadow:0 8px 24px rgba(43,46,31,.06);scroll-margin-top:92px}
.install-step-device{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#E4F1E7;color:#3C491D;font-size:17px;font-weight:850}
.install-step-card:nth-child(2) .install-step-device{font-size:9px;letter-spacing:.04em}
.install-step-card h2{margin:1px 0 8px;color:#2B2E1F;font-size:18px}
.install-step-card p,.install-step-card li{color:#5B5B4D;font-size:13px;line-height:1.5}
.install-step-card p{margin:0 0 8px}
.install-step-card ol{margin:0;padding-left:20px}
.install-step-card li{padding:0 0 5px 2px}
.install-step-card .install-step-note{margin:8px 0 0;padding:9px 10px;border-radius:10px;background:#F5F0E5;color:#686857;font-size:12px}
.install-app-back{margin:22px 0 0;text-align:center}
@media(max-width:640px){
  .pwa-install-widget{position:fixed;z-index:120;top:42vh;right:0}
  .pwa-side-tab{position:relative;z-index:2;display:flex;width:42px;height:94px;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:9px 6px;border:1px solid rgba(74,74,53,.24);border-right:0;border-radius:23px 0 0 23px;background:linear-gradient(180deg,#FFFCF5 0%,#FBF8F0 60%,#E3E9D1 100%);box-shadow:0 5px 17px rgba(43,46,31,.18);text-decoration:none;backdrop-filter:blur(5px);appearance:none;font:inherit;cursor:pointer}
  .pwa-side-tab img{display:block;width:25px;height:25px;object-fit:contain;border:1px solid rgba(74,74,53,.16);border-radius:9px;background:#FBF8F0}
  .pwa-side-tab svg{display:block;width:21px;height:21px;fill:none;stroke:#3C491D;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .pwa-install-choices{position:absolute;z-index:1;top:0;right:calc(100% - 3px);display:grid;width:208px;gap:7px;overflow:hidden;padding:10px 12px 11px;border:1px solid rgba(74,74,53,.2);border-radius:22px;background:#FFFCF5;box-shadow:0 7px 22px rgba(43,46,31,.2)}
  .pwa-install-choices::before,.pwa-install-choices::after{content:"";position:absolute;z-index:0;bottom:-22px;pointer-events:none}
  .pwa-install-choices::before{left:-15px;width:122px;height:61px;background:#DDE3B3;clip-path:ellipse(76% 72% at 22% 75%)}
  .pwa-install-choices::after{right:-25px;width:78px;height:55px;background:#E5EBD3;clip-path:ellipse(74% 70% at 69% 77%)}
  .pwa-install-choices[hidden]{display:none!important}
  .pwa-install-choices-heading{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-height:40px;margin-bottom:2px;color:#292D21;font-size:14px;font-weight:850;white-space:nowrap}
  .pwa-install-choices-heading img{display:block;width:36px;height:36px;flex:0 0 36px;object-fit:contain;border:1px solid rgba(74,74,53,.16);border-radius:11px;background:#FBF8F0}
  .pwa-install-choice{position:relative;z-index:1;display:grid;place-items:center;width:134px;min-height:34px;margin-left:auto;margin-right:auto;border:1px solid rgba(74,74,53,.2);border-radius:999px;color:#30391D;font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 2px 5px rgba(43,46,31,.08)}
  .pwa-choice-iphone{background:#3C491D;color:#fff}
  .pwa-choice-android{background:rgba(255,252,245,.94);color:#30391D}
  .pwa-install-choice:active{transform:translateY(1px)}
  .pwa-install-choices a:focus-visible,.pwa-side-tab:focus-visible{outline:3px solid #83B8D7;outline-offset:2px}
  .mobile-install-footer-link{display:inline;color:var(--muted)!important;font-weight:inherit!important;text-decoration:none}
  .install-app-page{padding:28px 0 40px}
  .install-app-intro{margin-bottom:18px}
  .install-app-intro h1{font-size:34px}
  .install-app-intro>p:not(.home-section-kicker):not(.install-app-status){font-size:14px}
  .install-app-steps{grid-template-columns:1fr;gap:11px}
  .install-step-card{grid-template-columns:42px minmax(0,1fr);gap:11px;padding:16px;border-radius:16px}
  .install-step-device{width:40px;height:40px;border-radius:12px}
  .install-step-card h2{font-size:16px}
  .install-step-card p,.install-step-card li{font-size:12.5px}
}
@media(max-width:640px) and (prefers-reduced-motion:reduce){.home-hero::before{animation:none}}

/* Homepage portals redesign: client + caregiver, with lifestyle imagery. */
.home-portals-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#F8F3E8 0%,#F2EEDF 100%)}
.portals-section-heading{max-width:760px;margin:0 auto 34px;text-align:center}
.portals-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:#596247;font-size:10px;font-weight:850;letter-spacing:.17em}
.portals-eyebrow::before,.portals-eyebrow::after{content:"";width:22px;height:1px;background:#B4B894}
.portals-section-heading h2{margin:0 0 10px;color:#2B2E1F;font:500 clamp(30px,4vw,43px)/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.portals-section-heading p{max-width:610px;margin:0 auto;color:#6C6B5D;font-size:15px;line-height:1.55}
.portal-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px}
.portal-feature-card{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(190px,.75fr);min-height:390px;overflow:hidden;border:1px solid rgba(74,74,53,.14);border-radius:25px;background:#FFFCF5;box-shadow:0 14px 34px rgba(43,46,31,.08)}
.portal-feature-caregiver{background:#F7F8EF;border-color:rgba(77,96,58,.2)}
.portal-feature-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:25px 15px 23px 25px}
.portal-role-label{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;padding:6px 10px;border:1px solid rgba(74,74,53,.1);border-radius:999px;background:#E8F0E2;color:#46552F;font-size:9px;font-weight:850;letter-spacing:.105em}
.portal-feature-caregiver .portal-role-label{background:#E6F0F1;color:#397C80}
.portal-role-label i{width:7px;height:7px;border-radius:50%;background:#6D8A49}
.portal-feature-caregiver .portal-role-label i{background:#579195}
.portal-feature-copy h3{max-width:330px;margin:0 0 10px;color:#2B2E1F;font:600 clamp(23px,2.4vw,30px)/1.06 var(--sans);letter-spacing:-.045em}
.portal-feature-copy>p{margin:0 0 11px;color:#666657;font-size:13px;line-height:1.48}
.portal-feature-list{display:grid;gap:7px;width:100%;margin:0;padding:0;list-style:none}
.portal-feature-list li{position:relative;padding-left:20px;color:#4E5144;font-size:12px;line-height:1.35}
.portal-feature-list li::before{content:"✓";position:absolute;left:0;top:0;color:#657A42;font-size:13px;font-weight:900}
.portal-feature-caregiver .portal-feature-list li::before{color:#438589}
.portal-feature-cta{display:inline-flex;align-items:center;gap:11px;margin-top:auto;padding:10px 14px;border-radius:999px;background:#3C491D;color:#fff;font-size:12px;font-weight:850;text-decoration:none;box-shadow:0 4px 10px rgba(43,46,31,.12)}
.portal-feature-cta span{font-size:17px;line-height:.8;transition:transform .18s ease}
.portal-feature-cta:hover{background:#2B2E1F;color:#fff}
.portal-feature-cta:hover span{transform:translateX(3px)}
.portal-feature-caregiver .portal-feature-cta{background:#397C80}
.portal-feature-caregiver .portal-feature-cta:hover{background:#2C666A}
.portal-feature-photo{position:relative;min-width:0;min-height:100%;overflow:hidden;background:#E7E1D1}
.portal-feature-photo::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,252,245,.26),transparent 32%),linear-gradient(0deg,rgba(31,39,27,.25),transparent 32%)}
.portal-feature-caregiver .portal-feature-photo::before{background:linear-gradient(90deg,rgba(247,248,239,.22),transparent 32%),linear-gradient(0deg,rgba(31,39,27,.25),transparent 32%)}
.portal-feature-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center;transition:transform .55s ease}
.portal-photo-caregiver img{object-position:70% center}
.portal-feature-card:hover .portal-feature-photo img{transform:scale(1.035)}
.portal-photo-caption{position:absolute;z-index:2;right:12px;bottom:12px;max-width:calc(100% - 24px);padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(251,248,240,.92);color:#3B432C;font-size:9px;font-weight:800;white-space:nowrap;backdrop-filter:blur(6px)}
@media(max-width:900px){
  .portal-feature-grid{grid-template-columns:1fr;gap:16px}
  .portal-feature-card{grid-template-columns:minmax(0,1.35fr) minmax(220px,.75fr);min-height:350px}
}
@media(max-width:640px){
  .home-portals-section{padding:48px 0}
  .portals-section-heading{margin-bottom:23px}
  .portals-eyebrow{font-size:9px;letter-spacing:.13em}
  .portals-section-heading h2{font-size:31px}
  .portals-section-heading p{font-size:13px}
  .portal-feature-grid{gap:14px}
  .portal-feature-card{grid-template-columns:minmax(0,1.35fr) minmax(112px,.75fr);min-height:365px;border-radius:21px}
  .portal-feature-copy{padding:18px 10px 17px 17px}
  .portal-role-label{gap:5px;margin-bottom:11px;padding:5px 8px;font-size:8px;letter-spacing:.07em}
  .portal-feature-copy h3{font-size:22px;margin-bottom:8px}
  .portal-feature-copy>p{font-size:11.5px;line-height:1.4;margin-bottom:9px}
  .portal-feature-list{gap:7px}
  .portal-feature-list li{padding-left:17px;font-size:10.5px;line-height:1.3}
  .portal-feature-cta{gap:7px;padding:9px 11px;font-size:10.5px}
  .portal-photo-caption{right:7px;bottom:8px;max-width:calc(100% - 14px);padding:6px 7px;font-size:8px;white-space:normal;text-align:center}
}

.help-verified-example{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;border:1px solid #e7dfd0;border-radius:12px;background:#faf6ec;color:#596247;font-size:13px;font-weight:700}.help-verified-example .care-profile-identity-badge{position:static;display:inline-flex;box-shadow:none}

/* Floating back-to-top button using the dog portrait. */
.back-to-top{position:fixed;z-index:120;right:22px;bottom:calc(22px + env(safe-area-inset-bottom,0px));display:grid;place-items:center;width:68px;height:68px;padding:3px;border:2px solid #C29E67;border-radius:50%;background:#FBF8F0;box-shadow:0 5px 16px rgba(43,46,31,.25);cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px) scale(.92);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.back-to-top img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.back-to-top:hover{box-shadow:0 8px 22px rgba(43,46,31,.3);transform:translateY(-2px) scale(1.04)}
.back-to-top:focus-visible{outline:3px solid #4A4A35;outline-offset:4px}
@media(max-width:760px){.back-to-top{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}
