/* Everjoy base styles */

/* ── Poppins ── */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/poppins-400.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/poppins-500.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins-600.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/poppins-700.woff2') format('woff2')}
@font-face{font-family:Poppins;font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/poppins-800.woff2') format('woff2')}

:root{
  --blue:#1274cd; --blue-dark:#0f63b4; --blue-deep:#0d539b;
  --ink:#0e2a47; --muted:#55738f; --soft:#6b829b; --faint:#8ea3ba;
  --line:#e3eaf3; --line-soft:#eef3f9; --bg:#f4f7fb; --chip:#f0f5fb; --chip-ink:#41618a;
  --shadow-card:0 6px 20px rgba(14,42,71,.07);
  --shadow-card-hover:0 14px 34px rgba(14,42,71,.14);
  --gold:#d69a1d; --green:#16a34a; --blue-tint:#9dc4f5;
  --grad-brand:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 55%,var(--blue-deep) 100%);
  --shadow-pill:0 2px 8px rgba(14,42,71,.07);
  --shadow-modal:0 24px 60px rgba(14,42,71,.26);
  --scrim:rgba(6,32,63,.5);
  --hover-tint:#f2f7fd;
  --hover-tint-on-blue:#eaf3ff;
  --t-fast:.12s; --t-base:.15s; --t-slow:.22s;
  --gutter:max(24px,10vw);
  --topbar-h:64px;
  --catbar-h:76px;
  --gallery-h:420px;
}
@media (max-width:900px){ :root{--gutter:22px} }
@media (max-width:680px){ :root{--gutter:18px} }
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0}
h1,h2,h3,h4,h5,h6,p{margin:0}
body{background:var(--bg);color:var(--ink);font-family:Poppins,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.55}
img{display:block;max-width:100%}
a{color:var(--blue);text-decoration:none}
a:hover{color:#0d4f96}
input::placeholder{color:var(--soft)}
::selection{background:#cfe3fa}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* ── welcome ── */
@keyframes ej-drift{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(1.5%,-1.5%,0)}
}
.wordmark{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:24px;letter-spacing:-.02em;color:#fff}
.wordmark img{width:1.15em;height:1.15em;flex:none}
.btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap;border:0}
.btn-white{background:#fff;color:var(--blue-dark);padding:15px 26px;box-shadow:0 10px 24px rgba(6,42,80,.22)}
.btn-white:hover{background:var(--hover-tint-on-blue)}
.social{display:flex;gap:10px}
.social a{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.14);display:grid;place-items:center;color:#fff}
.social a:hover{background:rgba(255,255,255,.26);color:#fff}
.phone{border-radius:34px;background:#0b2c50;padding:9px;box-shadow:0 26px 60px rgba(5,32,63,.4)}
.phone .screen{width:100%;height:100%;border-radius:26px;overflow:hidden;background:#123a63}
.phone .screen picture{display:block;width:100%;height:100%}
.phone .screen img{width:100%;height:100%;object-fit:cover}
.phone-left{position:absolute;left:2%;top:70px;width:250px;height:510px;transform:rotate(-9deg)}
.phone-right{position:absolute;right:4%;top:40px;width:250px;height:510px;transform:rotate(9deg)}
.phone-center{position:relative;z-index:2;width:272px;height:558px;border-radius:38px;padding:10px;box-shadow:0 34px 80px rgba(5,32,63,.5)}
.phone-center .screen{border-radius:29px}

/* ── browse ── */
.topbar{position:sticky;top:0;z-index:6;background:linear-gradient(100deg,var(--blue),var(--blue-dark));color:#fff;
  display:flex;align-items:center;gap:28px;padding:0 var(--gutter);height:var(--topbar-h)}
.topbar .wordmark{font-size:20px}
.topnav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:500;white-space:nowrap}
.topnav a{color:rgba(255,255,255,.85)}
.topnav a:hover,.topnav a.active{color:#fff;font-weight:600}
.topbar-right{margin-left:auto;display:flex;align-items:center;gap:14px;white-space:nowrap}
.search{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.16);border-radius:999px;padding:8px 14px;min-width:240px}
.search input{flex:1;background:transparent;border:0;outline:none;color:#fff;font-family:inherit;font-size:13px}
.search input::placeholder{color:rgba(255,255,255,.7)}
.partner{color:rgba(255,255,255,.9);font-size:13px;font-weight:600}
.partner:hover{color:#fff}
.btn-signin{background:#fff;color:var(--blue-dark);border:0;border-radius:999px;padding:9px 22px;font-size:14px;font-weight:600;cursor:pointer}
.btn-signin:hover{background:var(--hover-tint-on-blue)}
.catbar{position:sticky;top:var(--topbar-h);z-index:5;background:#fff;border-bottom:1px solid var(--line);
  display:flex;align-items:center;gap:10px;padding:0 var(--gutter);min-height:var(--catbar-h);flex-wrap:wrap}
.cat{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:9px 18px;
  font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;box-shadow:var(--shadow-pill)}
.cat:hover{background:var(--hover-tint)}
.cat.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.catbar-actions{ margin-left:auto; display:flex; align-items:center; gap:10px;}
.view-saved{ display:flex; align-items:center; gap:8px; background:#fff; color:var(--ink); border:1px solid var(--line);
  border-radius:999px; padding:9px 15px; font-size:13px; font-weight:600; cursor:pointer; box-shadow:var(--shadow-pill);}
.view-saved svg{ color:var(--blue);}
.view-saved:hover{ background:var(--hover-tint);}
.view-saved.active{ background:var(--blue); border-color:var(--blue); color:#fff;}
.view-saved.active svg{ color:#fff;}
.province{ display:flex; align-items:center; gap:9px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:5px 14px; box-shadow:var(--shadow-pill);}
.province .label{ font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--soft); font-weight:600;}
.province .value{ font-size:13px; font-weight:600;}
.layout{display:grid;grid-template-columns:230px 1fr;align-items:start;padding:0 var(--gutter)}
.layout.no-rail{grid-template-columns:1fr}
.rail{padding:22px 20px 50px 0;position:sticky;top:calc(var(--topbar-h) + var(--catbar-h))}
.filters{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-card)}
.filters h3{margin:0;font-size:15px;font-weight:600}
.filters-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.filters-head a{font-size:12px;font-weight:600}
.flabel{font-size:12px;font-weight:600;margin-bottom:9px}
.finput{width:100%;border:1px solid var(--line);border-radius:11px;padding:9px 11px;font-family:inherit;
  font-size:12px;background:#f7fafd;outline:none;color:inherit}
.frow{display:flex;gap:8px;margin-bottom:18px}
.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.chip{display:inline-flex;align-items:center;white-space:nowrap;background:var(--chip);color:var(--chip-ink);
  border:0;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:500;cursor:pointer}
.chip:hover{background:#dfeaf8}
.chip.on{background:var(--blue);color:#fff}
.filters .chips:last-of-type{margin-bottom:0}
.results{padding:22px 0 60px 0px}
.results-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.results-head h2{margin:0;font-size:24px;font-weight:700;letter-spacing:-.02em}
.results-head .count{font-size:13px;margin-top:5px;color:var(--muted)}
.sorts{display:flex;align-items:center;gap:9px}
.sorts .lbl{font-size:12px;color:var(--soft);font-weight:500}
.pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 15px;font-size:13px;font-weight:600;cursor:pointer}
.pill-with-icon{display:inline-flex;align-items:center;gap:7px}
.pill-with-icon svg{color:var(--blue);flex:none}
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-card);
  cursor:pointer;display:flex;flex-direction:column;color:inherit;transition:box-shadow .18s ease,transform .18s ease}
.card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px);color:inherit}
.card .media{position:relative;width:100%;aspect-ratio:5/3;background:#dfe8f2;overflow:hidden}
.card .media img,.card .media .ph{width:100%;height:100%;object-fit:cover;object-position:center}
.badge{position:absolute;top:10px;left:10px;display:inline-flex;align-items:center;white-space:nowrap;
  max-width:calc(100% - 56px);overflow:hidden;text-overflow:ellipsis;background:rgba(22,163,74,.82);color:#fff;
  border-radius:999px;padding:5px 11px;font-size:11px;font-weight:600;box-shadow:0 4px 12px rgba(14,90,50,.25)}
.badge.badge-soon{background:rgba(14,42,71,.8);box-shadow:0 4px 12px rgba(14,42,71,.25)}
.fav{position:absolute;top:9px;right:9px;width:30px;height:30px;border:0;border-radius:50%;
  background:rgba(11,44,80,.55);display:grid;place-items:center;color:#fff;cursor:pointer}
.fav:hover{background:rgba(11,44,80,.75)}
.fav.on{background:var(--blue)}

/* ── sign-in prompt + saved toast ── */
.ej-prompt{position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;
  padding:20px;background:var(--scrim);backdrop-filter:blur(2px)}
.ej-prompt-card{position:relative;width:min(370px,100%);background:#fff;border:1px solid var(--line);
  border-radius:20px;padding:28px 24px 20px;text-align:center;box-shadow:var(--shadow-modal)}
.ej-prompt-close{position:absolute;top:10px;right:12px;width:32px;height:32px;border:0;border-radius:50%;
  background:transparent;color:var(--soft);font-size:24px;line-height:1;cursor:pointer}
.ej-prompt-close:hover{background:var(--chip);color:var(--ink)}
.ej-prompt-icon{width:52px;height:52px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;
  background:var(--chip);color:var(--blue)}
.ej-prompt-card h3{margin:0;font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.ej-prompt-card p{margin:8px auto 20px;max-width:290px;font-size:13px;line-height:1.55;color:var(--muted)}
.ej-prompt-signin{display:flex;align-items:center;justify-content:center;width:100%;padding:12px 18px;
  border-radius:999px;background:var(--blue);color:#fff;font-size:14px;font-weight:600}
.ej-prompt-signin:hover{background:var(--blue-dark);color:#fff}
.ej-prompt-dismiss{display:block;width:100%;margin-top:6px;padding:10px;border:0;background:none;
  font-family:inherit;font-size:13px;font-weight:600;color:var(--soft);cursor:pointer}
.ej-prompt-dismiss:hover{color:var(--ink)}
body.ej-prompt-lock{overflow:hidden}

.ej-toast{position:fixed;left:50%;bottom:26px;z-index:150;display:flex;align-items:center;gap:9px;
  max-width:calc(100vw - 32px);padding:11px 20px 11px 16px;border-radius:999px;
  background:var(--ink);color:#fff;font-size:13.5px;font-weight:600;letter-spacing:-.005em;
  box-shadow:0 16px 36px rgba(6,32,63,.34);
  opacity:0;visibility:hidden;transform:translate(-50%,14px)}
.ej-toast.is-on{opacity:1;visibility:visible;transform:translate(-50%,0)}
.ej-toast svg{flex:none;color:var(--blue-tint)}
@media (prefers-reduced-motion: no-preference){
  .ej-toast{transition:opacity .22s ease,transform .22s ease,visibility .22s}
}
@media (max-width:680px){
  .ej-toast{bottom:calc(18px + env(safe-area-inset-bottom,0px));font-size:13px}
}
.card .body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px}
.card .kind{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:600}
.card .name{font-size:15px;font-weight:600;line-height:1.25;letter-spacing:-.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .meta{font-size:12.5px;line-height:1.4;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card .foot{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:10px;
  border-top:1px solid var(--line-soft)}
.card .price{display:flex;align-items:baseline;gap:4px}
.card .price .from,.card .price .unit{font-size:11.5px;color:var(--soft)}
.card .price .amount{font-size:16px;font-weight:700;letter-spacing:-.02em}
.card .rating{font-size:11px;font-weight:600;color:var(--gold)}
.card .stars{position:relative;display:inline-block;font-size:13px;line-height:1;letter-spacing:1px}
.card .stars .stars-bg{color:#dde5ee}
.card .stars .stars-fg{position:absolute;inset:0;overflow:hidden;white-space:nowrap;width:var(--pct,0%)}
.card .stars + .rating-text{display:none}
@media (max-width:680px){
  .card .stars{display:none}
  .card .stars + .rating-text{display:inline}
}
.more{display:flex;justify-content:center;margin-top:30px}
.btn-more{background:#fff;border:1px solid var(--line);border-radius:999px;padding:12px 26px;font-size:13.5px;
  font-weight:600;color:var(--blue-dark);cursor:pointer;box-shadow:var(--shadow-card)}
.btn-more:hover{background:var(--hover-tint-on-blue)}
.empty{padding:60px 0;color:var(--muted)}

/* ── loading skeletons + spinner ── */
.sk{position:relative;overflow:hidden;background:var(--chip);border-radius:6px}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent)}
@media (prefers-reduced-motion: no-preference){
  .sk::after{animation:ej-shimmer 1.4s ease-in-out infinite}
}
@keyframes ej-shimmer{100%{transform:translateX(100%)}}

.sk-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column}
.sk-card .sk-media{width:100%;aspect-ratio:5/3;border-radius:0}
.sk-card .sk-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px}
.sk-line{height:10px}
.sk-line.is-title{height:14px}
.sk-card .sk-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-top:4px;padding-top:12px;border-top:1px solid var(--line-soft)}
.hrow .sk-card{flex:0 0 auto}

.sk-tile{display:flex;flex-direction:column;gap:9px}
.sk-tile .sk-thumb{width:100%;aspect-ratio:1/1;border-radius:18px}
.ej-spinner{width:20px;height:20px;flex:none;border-radius:50%;
  border:2px solid var(--line);border-top-color:var(--blue)}
@media (prefers-reduced-motion: no-preference){
  .ej-spinner{animation:ej-spin .7s linear infinite}
}
@keyframes ej-spin{100%{transform:rotate(360deg)}}
.ej-loading{display:flex;align-items:center;justify-content:center;gap:11px;
  padding:44px 0;font-size:13.5px;font-weight:500;color:var(--muted)}
.ej-loading.is-inline{padding:20px 0}
.detail-skeleton{display:none}
.detail-page.is-loading .detail-skeleton{display:block}
.detail-page.is-loading > :not(.crumbs):not(.detail-skeleton),
.detail-page.is-loading .biz-hero,
.detail-page.is-loading .detail-layout{display:none}
.sk-band{height:var(--gallery-h);border-radius:20px;margin-bottom:26px}
.sk-panel{height:220px;border-radius:18px}
.sk-panel.is-short{height:130px;margin-top:18px}
.sk-panel.is-aside{height:320px}
.detail-skeleton-cols{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
@media (max-width:1100px){
  .detail-skeleton-cols{grid-template-columns:1fr}
  .sk-panel.is-aside{height:220px}
}
@media (max-width:900px){
  .sk-band{height:300px}
}

@media (max-width:1600px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:1300px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){
  .layout{grid-template-columns:1fr}
  .rail{position:static;padding-right:0}
  .results{padding-left:0}
  .topnav{display:none}
  .search{min-width:0}
}
@media (max-width:680px){
  .grid{grid-template-columns:1fr}
  .catbar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    gap:7px;min-height:0;padding-top:10px;padding-bottom:10px}
  .catbar::-webkit-scrollbar{display:none}
  .cat{flex:none;padding:7px 13px;font-size:12.5px;box-shadow:none}
  .catbar-actions{flex:none;margin-left:6px;gap:7px;padding-right:2px}
  .view-saved{flex:none;padding:7px 12px;font-size:12.5px;box-shadow:none}
  .view-saved svg{width:15px;height:15px}
  .province{flex:none;padding:6px 12px;gap:7px;box-shadow:none}
  .province .label{display:none}
  .province .value{font-size:12.5px}
  .province svg{width:15px;height:15px}
  .results-head{gap:12px}
  .results-head h2{font-size:21px}
  .sorts{flex-wrap:wrap;gap:8px}
  .sorts .pill{padding:7px 13px;font-size:12.5px}
}

/* ── home ── */
.wrap{padding-left:var(--gutter);padding-right:var(--gutter)}
.home{padding-top:32px;padding-bottom:72px}
.home-head{margin-bottom:20px}
.eyebrow-label{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);margin-bottom:8px}
.home-title{margin:0;font-size:32px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.home-catrow{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}

.ph{background:repeating-linear-gradient(135deg,var(--line) 0 12px,var(--line-soft) 12px 24px);
  display:flex;align-items:center;justify-content:center;text-align:center;padding:0 14px;
  font-size:10.5px;font-weight:600;letter-spacing:.03em;color:var(--faint)}

.btn-sm{padding:11px 22px;font-size:14px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.section-head h2{margin:0 0 4px;font-size:22px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.section-head p{margin:0;font-size:13.5px;color:var(--muted)}
.more-link{font-size:13.5px;font-weight:600;white-space:nowrap}
.home-section{margin-bottom:48px}

.hrow{display:flex;gap:16px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x mandatory}
.hrow::-webkit-scrollbar{height:6px}
.hrow::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px}
.hrow::-webkit-scrollbar-track{background:transparent}
.hrow > *{scroll-snap-align:start;flex:0 0 auto}
.card-sm{width:262px}
.card-lg{width:320px}

/* inspirations grid */
.insp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:52px}
.insp{position:relative;border-radius:16px;overflow:hidden;min-height:220px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff}
.insp:hover{opacity:.94;color:#fff}
.insp .ph{position:absolute;inset:0}
.insp-img{position:absolute;inset:0;background:#dfe8f2 center/cover no-repeat}
.insp-info{position:relative;padding:16px;background:linear-gradient(to top,rgba(14,42,71,.9),rgba(14,42,71,0))}
.insp-info .title{font-size:15px;font-weight:600;margin-bottom:3px}
.insp-info .meta{font-size:12.5px;color:rgba(255,255,255,.78)}

/* why everjoy panel */
.why-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:40px 44px;margin-bottom:44px;box-shadow:var(--shadow-card)}
.why-grid{display:grid;grid-template-columns:.85fr 1.6fr;gap:44px;align-items:start}
.why-grid h2{margin:0 0 12px;font-size:26px;font-weight:700;line-height:1.2;color:var(--ink)}
.why-lede{margin:0;font-size:14.5px;color:var(--muted);line-height:1.6}
.why-items{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.why-icon{width:36px;height:36px;border-radius:10px;background:var(--chip);margin-bottom:14px;
  display:grid;place-items:center;color:var(--blue)}
.why-items h3{margin:0 0 7px;font-size:16px;font-weight:600;color:var(--ink)}
.why-items p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.6}

/* ── auth-state flash guard ──
   auth-boot.js sets auth-user / auth-guest / auth-snap before the first paint,
   so these apply from frame one rather than after the deferred scripts run.

   auth-user, no snapshot: we know they are signed in but not who they are yet,
   so the Sign In button becomes a neutral pill of roughly the chip's size.
   auth-snap: topbar-auth.js draws the real chip synchronously, so the static
   button is simply hidden for the frame or two before that happens. */
html.auth-user:not(.auth-ready) .topbar .btn-signin{
  color:transparent;background:rgba(255,255,255,.16);box-shadow:none;
  pointer-events:none;user-select:none;
  min-width:132px;height:38px;border-radius:999px;padding:5px 13px 5px 5px}
html.auth-user:not(.auth-ready) .topbar .account-menu{opacity:1}
/* Fixed slot height so the bar never changes size as the chip and bell land. */
.topbar-right{min-height:38px}

/* ── home hero ── */
.hhero{position:relative;overflow:hidden;color:#fff;
  background:var(--grad-brand)}
.hhero-blob{position:absolute;border-radius:50%;pointer-events:none}
.hhero-blob-1{top:-280px;left:-220px;width:680px;height:680px;background:rgba(255,255,255,.07)}
.hhero-blob-2{bottom:-320px;left:40px;width:620px;height:620px;background:rgba(255,255,255,.05)}
.hhero-blob-3{top:10%;right:-200px;width:780px;height:780px;background:rgba(255,255,255,.04)}
@media (prefers-reduced-motion: no-preference){
  .hhero-blob{animation:ej-drift 30s ease-in-out infinite alternate;will-change:transform}
  .hhero-blob-2{animation-duration:26s;animation-delay:-8s}
  .hhero-blob-3{animation-duration:34s;animation-delay:-16s}
}
.hhero-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;
  gap:40px;padding:52px var(--gutter) 60px}
.hhero-copy h1{margin:0;font-size:clamp(36px,4.4vw,58px);line-height:1.05;
  letter-spacing:-.03em;font-weight:700}
.hhero-copy h1 span{color:rgba(255,255,255,.55)}
.hhero-lede{margin:20px 0 0;font-size:16px;line-height:1.6;max-width:52ch;
  color:rgba(255,255,255,.9);text-wrap:pretty}
.hhero-cta{display:flex;align-items:center;gap:14px;margin-top:30px;flex-wrap:wrap}
.btn-hero{padding:15px 30px;font-size:16px}
.hhero-phones{position:relative;height:580px;display:flex;align-items:center;justify-content:center}
.phone .screen{background:linear-gradient(160deg,#1a4c85,#0e3260)}

/* ── how it works ── */
.how-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px 40px;
  margin-bottom:44px;box-shadow:var(--shadow-card)}
.how-panel h2{margin:0 0 26px;font-size:26px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.how-step{display:flex;gap:14px;align-items:flex-start}
.how-step .step-n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--blue);
  color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700}
.how-step h3{margin:3px 0 6px;font-size:16px;font-weight:600;color:var(--ink)}
.how-step p{margin:0;font-size:13.5px;color:var(--muted);line-height:1.6}

/* ── row scroll arrows ── */
.row-tools{display:flex;align-items:center;gap:8px}
.row-nav{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;
  color:var(--ink);cursor:pointer;display:grid;place-items:center;flex:none}
.row-nav:hover{background:var(--chip);color:var(--blue)}
.row-tools .more-link{margin-left:6px}

/* ── app download band ── */
.appband{position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(135deg,var(--blue-dark) 0%,var(--blue-deep) 60%,#0b4585 100%)}
.ab-blob{position:absolute;border-radius:50%;pointer-events:none}
.ab-blob-1{top:-220px;right:-160px;width:560px;height:560px;background:rgba(255,255,255,.06)}
.ab-blob-2{bottom:-260px;left:-120px;width:520px;height:520px;background:rgba(255,255,255,.05)}
.appband-inner{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;
  gap:40px;padding:56px var(--gutter)}
.ab-kicker{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(255,255,255,.75)}
.appband-copy h2{margin:12px 0 0;font-size:clamp(26px,3vw,38px);line-height:1.12;
  letter-spacing:-.025em;font-weight:700}
.appband-copy p{margin:15px 0 0;font-size:16px;line-height:1.6;max-width:48ch;
  color:rgba(255,255,255,.88)}
.app-badges.app-badges-row{flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}
.ab-foot{display:flex;align-items:center;gap:14px;margin-top:24px;flex-wrap:wrap;
  font-size:12.5px;color:rgba(255,255,255,.78)}
.ab-note{display:inline-flex;align-items:center;gap:8px}
.ab-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;flex:none}
.ab-sep{width:1px;height:14px;background:rgba(255,255,255,.28)}
.ab-link{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ab-link:hover{color:#fff;opacity:.85}
.appband-phones{position:relative;height:430px;display:flex;align-items:center;justify-content:center}
.ab-phone-left{position:absolute;left:8%;top:34px;width:186px;height:376px;transform:rotate(-8deg)}
.ab-phone-main{position:relative;z-index:2;width:206px;height:418px;transform:rotate(4deg)}

/* ── footer extras ── */
.footer-brand{max-width:330px}
@media (max-width:1000px){
  .hhero-inner,.appband-inner{grid-template-columns:1fr;gap:28px}
  .hhero-phones,.appband-phones{display:none}
  .how-grid{grid-template-columns:1fr;gap:22px}
}
@media (max-width:680px){
  .hhero-inner{padding-top:36px;padding-bottom:40px}
  .how-panel{padding:26px 20px}
  .row-tools .more-link{display:none}
}

/* ── footer ── */
.site-footer{border-top:1px solid var(--line);background:#fff;margin-top:auto}
.footer-main{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px;
  padding-top:48px;padding-bottom:40px}
.footer-logo{display:inline-flex;align-items:center;gap:10px;color:var(--ink)}
.footer-logo:hover{color:var(--ink)}
.footer-logo img{filter:brightness(0) saturate(100%) invert(29%) sepia(69%) saturate(1747%) hue-rotate(190deg) brightness(93%) contrast(90%)}
.footer-name{display:block;font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.footer-tag{display:block;font-size:12px;color:var(--soft);font-weight:500}
.footer-copy{margin:16px 0 0;font-size:13.5px;line-height:1.65;color:var(--muted);max-width:34ch}
.footer-col h4{margin:0 0 14px;font-size:12px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink)}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.footer-col a{font-size:13.5px;color:var(--muted)}
.footer-col a:hover{color:var(--blue)}
.footer-app{align-items:flex-start}
.footer-pill{display:inline-flex;align-items:center;gap:7px;background:var(--chip);color:var(--chip-ink);
  border-radius:999px;padding:5px 13px;font-size:11.5px;font-weight:600;margin-bottom:14px}
.footer-pill-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}
.app-badges{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.app-badge{display:block;line-height:0;border-radius:9px;overflow:hidden;opacity:.92;
  transition:opacity .15s ease,transform .15s ease}
.app-badge:hover{opacity:1;transform:translateY(-1px)}
.app-badge svg{display:block;max-width:100%;height:auto}

.footer-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding-top:18px;padding-bottom:26px;border-top:1px solid var(--line-soft);
  font-size:12.5px;color:var(--soft)}
.footer-bar p{margin:0}
.footer-legal{display:flex;align-items:center;gap:14px}
.footer-legal a{color:var(--muted)}
.footer-legal a:hover{color:var(--blue)}
.footer-dot{width:3px;height:3px;border-radius:50%;background:var(--line);display:inline-block}
.footer-social{display:flex;align-items:center;gap:12px;margin-left:6px}
.footer-social a{color:var(--soft);display:grid;place-items:center}
.footer-social a:hover{color:var(--blue)}

@media (max-width:1100px){
  .footer-main{grid-template-columns:1fr 1fr;gap:34px}
}
@media (max-width:680px){
  .footer-main{grid-template-columns:1fr;gap:30px;padding-top:36px}
  .footer-bar{flex-direction:column;align-items:flex-start;gap:12px}
}

@media (max-width:1100px){
  .why-grid{grid-template-columns:1fr}
  .insp-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .insp-grid,.why-items{grid-template-columns:1fr}
}

/* ── inspirations ── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

.insp-page{padding-top:32px;padding-bottom:72px}
.insp-lede{margin:10px 0 0;font-size:14.5px;color:var(--muted);max-width:56ch;line-height:1.6}

.insp-search{display:flex;align-items:center;gap:10px;margin:24px 0 20px;flex-wrap:wrap}
.insp-search-field{display:flex;align-items:center;gap:9px;flex:1 1 320px;max-width:520px;
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 18px;
  color:var(--soft);box-shadow:var(--shadow-card)}
.insp-search-field input{flex:1;min-width:0;background:transparent;border:0;outline:none;
  color:var(--ink);font-family:inherit;font-size:13.5px}
.insp-search-field input::placeholder{color:var(--soft)}

.btn-solid{background:var(--blue);color:#fff;box-shadow:0 6px 18px rgba(18,116,205,.28)}
.btn-solid:hover{background:var(--blue-dark);color:#fff}
.insp-masonry{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.insp-tile{display:flex;flex-direction:column;gap:9px;color:inherit}
.insp-tile:hover{color:inherit}
.insp-tile .thumb{width:100%;aspect-ratio:1/1;border-radius:18px;overflow:hidden;
  background:#dfe8f2 center/cover no-repeat;box-shadow:var(--shadow-card);
  transition:transform .18s ease,box-shadow .18s ease}
.insp-tile .thumb .ph{width:100%;height:100%}
.insp-tile:hover .thumb{transform:translateY(-4px);box-shadow:var(--shadow-card-hover)}
.insp-tile-body{display:flex;flex-direction:column;gap:7px;padding:0 2px}
.insp-tile-body .title{font-size:14.5px;font-weight:600;line-height:1.35;letter-spacing:-.01em;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tagrow{display:flex;flex-wrap:wrap;gap:6px}
.tag{display:inline-flex;align-items:center;white-space:nowrap;background:var(--chip);color:var(--chip-ink);
  border-radius:999px;padding:4px 10px;font-size:11px;font-weight:500;text-transform:capitalize}
.dotrow{display:flex;align-items:center;gap:6px}
.dotrow .dot{width:13px;height:13px;border-radius:50%;display:inline-block;
  border:1px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px var(--line)}

.pager{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:34px}
.pager .btn-more[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.pager-status{font-size:12.5px;color:var(--soft);font-weight:500;min-width:110px;text-align:center}

.insp-fab{display:none;position:fixed;right:18px;bottom:22px;width:54px;height:54px;border:0;
  border-radius:50%;background:var(--blue);color:#fff;font-size:24px;line-height:1;cursor:pointer;
  align-items:center;justify-content:center;box-shadow:0 14px 32px rgba(14,42,71,.32);z-index:60}
.insp-fab:hover{background:var(--blue-dark)}

@media (max-width:1300px){
  .insp-masonry{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .insp-masonry{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .insp-masonry{gap:14px}
  .insp-tile{gap:7px}
  .insp-tile .thumb{border-radius:14px}
  .insp-tile-body{gap:5px}
  .insp-tile-body .title{font-size:13px;line-height:1.3}
  .tag{font-size:10px;padding:3px 8px}
  .insp-tile .tagrow .tag:nth-child(n+3){display:none}
  .dotrow .dot{width:11px;height:11px}

  .insp-page{padding-bottom:56px}
  .insp-lede{font-size:13.5px}
  .insp-search{gap:8px;margin:20px 0 16px}
  .insp-search-field{flex-basis:100%;max-width:none;padding:9px 15px}
  .insp-search > .btn,.insp-search > .pill{flex:1 1 0;justify-content:center;text-align:center}
  .home-catrow{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;gap:7px;margin-bottom:20px}
  .home-catrow::-webkit-scrollbar{display:none}
  .home-catrow .cat{flex:none}
  .insp-fab{display:flex;right:14px;bottom:16px;width:48px;height:48px;font-size:21px}
  .pager{gap:10px;margin-top:26px;padding-right:58px}
  .pager .btn-more{padding:10px 18px;font-size:13px}
  .pager-status{min-width:0}
}

/* ── detail pages (inspiration, listing) ── */
.detail-page{padding-top:24px;padding-bottom:72px}

.crumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin-bottom:20px}
.crumbs a{color:var(--muted);font-weight:500}
.crumbs a:hover{color:var(--blue)}
.crumbs .sep{color:var(--faint)}
.crumbs .current{color:var(--ink);font-weight:600}

.detail-head{margin-bottom:24px}
.detail-title{margin:0;font-size:34px;font-weight:700;letter-spacing:-.025em;line-height:1.15;color:var(--ink)}
.detail-sub{margin:10px 0 0;font-size:15px;color:var(--muted);line-height:1.6;max-width:70ch}

.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.detail-main{min-width:0;display:flex;flex-direction:column;gap:24px}
.detail-aside{position:sticky;top:calc(var(--topbar-h) + 20px);display:flex;flex-direction:column;gap:18px}
.detail-layout[data-solo-aside]{grid-template-columns:minmax(0,420px)}
.detail-layout[data-solo-aside] .detail-main{display:none}
.detail-layout[data-solo-aside] .detail-aside{position:static}

.card.pad{cursor:default;padding:20px 22px;gap:10px}
.card.pad:hover{transform:none;box-shadow:var(--shadow-card)}
.card-title{margin:0;font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.body-text{margin:0;font-size:14px;line-height:1.7;color:var(--muted);white-space:pre-line}

.aside-actions{display:flex;flex-direction:column;gap:9px;align-items:stretch}
.aside-actions .btn,.aside-actions .pill{justify-content:center;text-align:center}
.aside-note{margin:14px 0 0;font-size:12.5px;color:var(--soft);line-height:1.6}

@media (max-width:1100px){
  .detail-layout{grid-template-columns:1fr}
  .detail-aside{position:static}
}
@media (max-width:680px){
  .detail-title{font-size:26px}
}

/* ── legal pages (terms.html, privacy.html) ── */
.legal-page{padding-top:26px;padding-bottom:56px}
.legal-head{margin-bottom:26px}
.legal-title{margin:0;font-size:34px;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.legal-eff{margin:8px 0 0;font-size:13px;color:var(--soft)}
.legal-tabs{display:inline-flex;gap:4px;margin-top:18px;padding:4px;
  background:#fff;border:1px solid var(--line);border-radius:999px}
.legal-tab{padding:8px 18px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--muted)}
.legal-tab:hover{color:var(--ink)}
.legal-tab.is-on{background:var(--blue);color:#fff}
.legal-tab.is-on:hover{color:#fff}

.legal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;align-items:start}
.legal-toc{position:sticky;top:calc(var(--topbar-h) + 20px);background:#fff;border:1px solid var(--line);
  border-radius:18px;box-shadow:var(--shadow-card);padding:18px 16px;
  max-height:calc(100vh - var(--topbar-h) - 48px);overflow-y:auto}
.legal-toc-title{margin:0 0 10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  font-weight:600;color:var(--faint)}
.legal-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.legal-toc a{display:block;padding:6px 8px;border-radius:9px;font-size:12.5px;line-height:1.45;color:var(--muted)}
.legal-toc a:hover{background:var(--chip);color:var(--blue)}

.legal-body{background:#fff;border:1px solid var(--line);border-radius:22px;
  box-shadow:var(--shadow-card);padding:34px 40px 30px;min-width:0}
.legal-section{scroll-margin-top:calc(var(--topbar-h) + 20px)}
.legal-section + .legal-section{margin-top:34px;padding-top:30px;border-top:1px solid var(--line-soft)}
.legal-body h2{margin:0 0 14px;font-size:20px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.legal-body h3{margin:22px 0 10px;font-size:15px;font-weight:600;color:var(--ink)}
.legal-body h3:first-of-type{margin-top:0}
.legal-body p{margin:0 0 13px;font-size:14px;line-height:1.75;color:var(--muted)}
.legal-body ul{margin:0 0 15px;padding-left:20px;display:flex;flex-direction:column;gap:7px}
.legal-body li{font-size:14px;line-height:1.7;color:var(--muted)}
.legal-body a{color:var(--blue);font-weight:600}
.legal-foot{margin:34px 0 0;padding-top:22px;border-top:1px solid var(--line-soft);
  font-size:13px;color:var(--soft)}

@media (max-width:980px){
  .legal-layout{grid-template-columns:1fr}
  .legal-toc{position:static;max-height:none}
}
@media (max-width:680px){
  .legal-title{font-size:26px}
  .legal-body{padding:24px 20px 22px;border-radius:18px}
  .legal-tabs{display:flex;width:100%}
  .legal-tab{flex:1;text-align:center;padding:9px 10px}
}

/* ── business profile (business.html) ── */
.biz-hero{background:#fff;border:1px solid var(--line);border-radius:22px;
  box-shadow:var(--shadow-card);padding:24px 26px;margin:0 0 26px}
.biz-hero-top{display:flex;align-items:center;gap:18px}
.biz-logo{width:72px;height:72px;border-radius:50%;flex:none;overflow:hidden;background:var(--chip);
  display:grid;place-items:center}
.biz-logo img{width:100%;height:100%;object-fit:cover;display:block}
.biz-logo.is-text{font-size:24px;font-weight:700;letter-spacing:.01em;color:var(--blue)}
.biz-hero-text{min-width:0;flex:1}
.biz-name{margin:0;font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.15;color:var(--ink)}
.biz-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:9px}
.biz-kind{background:var(--chip);color:var(--blue);border-radius:999px;padding:4px 12px;
  font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.biz-city{font-size:13.5px;color:var(--muted)}
.biz-share{flex:none;display:inline-flex;align-items:center;gap:7px}
.biz-share .pill-icon{flex:none}
.biz-about{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line-soft);
  font-size:14px;line-height:1.7;color:var(--muted);white-space:pre-line}
.biz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;margin-top:4px}
.biz-empty{margin:4px 0 0;font-size:13.5px;color:var(--muted)}
.biz-web{display:flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--blue);
  padding:2px 0 12px;margin-bottom:10px;border-bottom:1px solid var(--line-soft)}
.biz-web:hover{color:var(--blue-dark)}
.biz-web svg{flex:none}
.biz-web-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.biz-note{margin:14px 0 0;font-size:12.5px;line-height:1.6;color:var(--soft)}
.biz-trust{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.biz-trust li{display:flex;gap:11px;align-items:flex-start}
.biz-trust svg{width:19px;height:19px;flex:none;color:var(--blue);margin-top:1px}
.biz-trust span{display:flex;flex-direction:column;gap:3px;font-size:12.5px;line-height:1.55;color:var(--muted)}
.biz-trust strong{font-size:13.5px;font-weight:600;color:var(--ink)}

@media (max-width:680px){
  .biz-hero{padding:20px}
  .biz-hero-top{gap:14px}
  .biz-logo{width:58px;height:58px}
  .biz-logo.is-text{font-size:19px}
  .biz-name{font-size:23px}
  .biz-share .pill-label{display:none}
  .biz-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

/* ── listing detail ── */
.listing-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.listing-head-main{min-width:0}
.listing-subline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:10px;font-size:13px}
.rating-inline{display:inline-flex;align-items:center;gap:6px;color:var(--gold);font-weight:600}
.rating-inline .stars{font-size:14px;letter-spacing:1px;position:relative;display:inline-block;line-height:1}
.rating-inline .stars-bg{color:#dde5ee}
.rating-inline .stars-fg{position:absolute;inset:0;overflow:hidden;white-space:nowrap;width:var(--pct,0%)}
.rating-inline .rating-text{color:var(--gold)}
.muted-inline{color:var(--muted)}
.head-actions{display:flex;gap:9px;flex-shrink:0}
.head-actions .pill{display:inline-flex;align-items:center;gap:7px}
.head-actions .pill-icon{flex:none}
.head-actions .pill.on{background:var(--blue);border-color:var(--blue);color:#fff}
.head-actions .pill.on .save-icon{fill:currentColor}
.gallery{display:grid;grid-template-columns:1.55fr 1fr;gap:12px;margin:22px 0 28px;
  height:var(--gallery-h,420px)}
.gallery[data-photos="1"]{grid-template-columns:1fr}
.gallery .g-main{margin:0;border-radius:20px;overflow:hidden;background:#dfe8f2;
  box-shadow:var(--shadow-card);cursor:zoom-in}
.gallery .g-main img{width:100%;height:100%;object-fit:cover;display:block}
.g-side{display:grid;gap:12px;min-height:0}
.gallery[data-photos="2"] .g-side{grid-template-rows:1fr}
.gallery[data-photos="3"] .g-side{grid-template-rows:1fr 1fr}
.gallery[data-photos="4"] .g-side,
.gallery[data-photos="5"] .g-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.gallery[data-photos="4"] .g-side > :first-child{grid-column:span 2}
.g-cell{position:relative;border-radius:16px;overflow:hidden;background:#dfe8f2;
  box-shadow:var(--shadow-card);cursor:zoom-in;min-height:0}
.g-cell img{width:100%;height:100%;object-fit:cover;display:block}
.view-photos{position:absolute;inset:0;width:100%;height:100%;border:0;cursor:pointer;
  background:rgba(11,44,80,.55);color:#fff;font-family:inherit;font-size:13px;font-weight:600;
  display:grid;place-items:center;letter-spacing:.01em}
.view-photos:hover{background:rgba(11,44,80,.68)}

.chip-list{display:flex;flex-wrap:wrap;gap:8px}
.chip-list .chip{cursor:default}

.specs{margin:0;display:flex;flex-direction:column}
.spec-row{display:flex;align-items:baseline;justify-content:space-between;gap:20px;
  padding:11px 0;border-bottom:1px solid var(--line-soft)}
.spec-row:last-child{border-bottom:0}
.spec-row dt{font-size:13px;color:var(--muted);flex:none}
.spec-row dd{margin:0;font-size:13.5px;font-weight:600;text-align:right;color:var(--ink)}
.spec-note{margin-top:16px;padding-top:16px;border-top:1px solid var(--line-soft)}
.spec-note-label{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px}

.inline-link{background:none;border:0;padding:0;font-family:inherit;font-size:13px;font-weight:600;
  color:var(--blue);cursor:pointer;align-self:flex-start}
.inline-link:hover{color:var(--blue-dark)}

.map-ph{margin-top:14px;border-radius:14px;overflow:hidden;background:#dfe8f2;aspect-ratio:16/9}
.map-ph iframe{width:100%;height:100%;border:0;display:block}
.price-card{padding:0;gap:0;display:flex;flex-direction:column}
.price-top{padding:18px 20px 14px}
.price-row{display:flex;align-items:baseline;gap:6px}
.price-amount{font-size:27px;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.price-per{font-size:13px;color:var(--soft)}
.price-sub{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:7px;min-height:20px}
.price-rating{font-size:12.5px;color:var(--gold);font-weight:600}
.price-deal{flex:none}

.price-facts{list-style:none;margin:0;padding:14px 20px;display:flex;flex-direction:column;gap:10px;
  border-top:1px solid var(--line-soft);background:#fbfcfe}
.price-facts li{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--muted)}
.price-facts svg{flex:none;color:var(--blue)}
.price-facts span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.price-cta{padding:16px 20px 18px;border-top:1px solid var(--line-soft);
  display:flex;flex-direction:column;gap:11px}
.price-cta .btn{width:100%;justify-content:center;padding:13px 22px;font-size:14.5px}
.price-assure{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:11.5px;
  line-height:1.5;color:var(--soft)}
.price-assure svg{flex:none;margin-top:1px;color:var(--green)}
.price-card .btn-solid[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}
.verified-badge{flex:none;display:inline-block;vertical-align:-2px;color:var(--blue);margin-left:1px}

.host-row{display:flex;gap:13px;align-items:flex-start;color:inherit;
  margin:-6px -8px;padding:6px 8px;border-radius:14px;transition:background .15s ease}
.host-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none;background:var(--chip)}
.host-text{min-width:0;flex:1}
.host-name{display:block;font-size:14.5px;font-weight:600;color:var(--ink);margin-bottom:4px}
.host-bio{margin:0;font-size:12.5px;line-height:1.6;color:var(--muted)}
.host-chev{display:none;flex:none;align-self:center;color:var(--faint)}
.host-row.is-link{cursor:pointer}
.host-row.is-link .host-chev{display:block}
.host-row.is-link:hover{background:var(--chip);color:inherit}
.host-row.is-link:hover .host-name{color:var(--blue)}
.host-row.is-link:hover .host-chev{color:var(--blue)}
.host-row.is-link:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

/* photo carousel */
.photo-modal{border:0;padding:0;background:transparent;max-width:min(1100px,94vw);max-height:94vh;overflow:visible}
.photo-modal::backdrop{background:rgba(9,26,45,.86)}
.photo-modal .pm_img{display:block;max-width:100%;max-height:70vh;margin:0 auto;border-radius:16px;
  background:#0b2c50;object-fit:contain}
.photo-modal .pm_nav,.photo-modal .pm_close{position:absolute;border:0;background:rgba(255,255,255,.92);
  color:var(--ink);border-radius:50%;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 6px 18px rgba(0,0,0,.3);font-family:inherit}
.photo-modal .pm_nav{top:35vh;width:44px;height:44px;font-size:26px;line-height:1}
.photo-modal .pm_prev{left:-8px}
.photo-modal .pm_next{right:-8px}
.photo-modal .pm_close{top:-14px;right:-14px;width:36px;height:36px;font-size:20px;line-height:1}
.photo-modal .pm_count{text-align:center;color:#fff;font-size:12.5px;font-weight:600;margin-top:12px}
.photo-modal .pm_strip{display:flex;gap:8px;overflow-x:auto;padding:12px 2px 2px;justify-content:center}
.photo-modal .pm_thumb{border:2px solid transparent;background:none;padding:0;border-radius:10px;
  overflow:hidden;cursor:pointer;flex:0 0 auto;line-height:0}
.photo-modal .pm_thumb.on{border-color:#fff}
.photo-modal .pm_thumb img{width:64px;height:46px;object-fit:cover;display:block}

@media (max-width:900px){
  .gallery{grid-template-columns:1fr;grid-template-rows:1fr auto;height:auto}
  .gallery .g-main{height:300px}
  .gallery .g-side,
  .gallery[data-photos="2"] .g-side,
  .gallery[data-photos="3"] .g-side,
  .gallery[data-photos="4"] .g-side,
  .gallery[data-photos="5"] .g-side{grid-template-columns:repeat(4,1fr);grid-template-rows:1fr;height:88px}
  .gallery[data-photos="4"] .g-side > :first-child{grid-column:auto}
}
@media (max-width:680px){
  .listing-head{align-items:flex-start}
  .spec-row{gap:12px}
  .photo-modal .pm_prev{left:4px}
  .photo-modal .pm_next{right:4px}
}

/* ── search ── */
.result-group{margin-bottom:44px}
.result-group:last-of-type{margin-bottom:0}
.group-head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px;
  padding-bottom:10px;border-bottom:1px solid var(--line)}
.group-head h3{margin:0;font-size:17px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.group-count{font-size:12.5px;color:var(--soft);font-weight:500}
.filter-note{margin:16px 0 0;font-size:11.5px;line-height:1.5;color:var(--soft)}
select.finput{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%237d93ab' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 11px center;padding-right:28px}
.page-hero{padding-top:44px;padding-bottom:8px}
.page-title{margin:6px 0 0;font-size:38px;font-weight:700;letter-spacing:-.03em;line-height:1.12;color:var(--ink)}
.page-sub{margin:14px 0 0;font-size:16px;line-height:1.65;color:var(--muted);max-width:62ch}
.hero-cta-row{margin-top:22px}
.page-body{padding-top:12px;padding-bottom:80px}
.page-section{padding:34px 0;border-top:1px solid var(--line)}
.page-section:first-child{border-top:0}
.page-section h2{margin:0 0 14px;font-size:23px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.page-section p{margin:0 0 12px;font-size:14.5px;line-height:1.7;color:var(--muted);max-width:68ch}
.page-section p:last-child{margin-bottom:0}
.page-lead{font-size:15px !important;margin-bottom:22px !important}
.split{display:grid;grid-template-columns:1.35fr 1fr;gap:32px;align-items:start}

.tick-list{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:9px}
.tick-list li{position:relative;padding-left:24px;font-size:13.5px;line-height:1.6;color:var(--muted)}
.tick-list li::before{content:"";position:absolute;left:0;top:.5em;width:13px;height:7px;
  border-left:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg)}

.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.value-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.value-ico{width:38px;height:38px;border-radius:11px;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;margin-bottom:12px}

.note-card{display:flex;gap:14px;background:var(--chip);border-radius:18px;padding:22px}
.note-ico{flex:none;color:var(--blue)}
.note-card p{margin:0;font-size:14px;line-height:1.65;color:var(--chip-ink)}

.founder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.founder{cursor:default;flex-direction:row;align-items:stretch;gap:0}
.founder:hover{transform:none;box-shadow:var(--shadow-card)}
.founder img{width:168px;height:auto;object-fit:cover;flex:none;align-self:stretch}
.founder-body{padding:22px 24px;display:flex;flex-direction:column;gap:7px;min-width:0}
.founder-role{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
.founder-links{display:flex;gap:14px;margin-top:4px;font-size:13px;font-weight:600}

.cta-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  background:var(--grad-brand);color:#fff;
  border-radius:22px;padding:30px 34px;margin-top:34px}
.cta-panel h3{margin:0 0 6px;font-size:21px;font-weight:700;letter-spacing:-.015em}
.cta-panel p{margin:0;font-size:14px;color:rgba(255,255,255,.85);max-width:52ch}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn-ghost{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.45)}
.btn-ghost:hover{background:rgba(255,255,255,.26);color:#fff}
.cta-panel .btn-solid{background:#fff;color:var(--blue-dark);box-shadow:0 8px 20px rgba(6,42,80,.22)}
.cta-panel .btn-solid:hover{background:var(--hover-tint-on-blue);color:var(--blue-dark)}

/* contact */
.contact-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding-top:26px}
.contact-card{gap:8px}
.contact-card .card-title{font-size:14px}
.contact-ico{width:38px;height:38px;border-radius:11px;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;margin-bottom:4px}

/* faqs */
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-card);
  padding:0 18px}
.faq summary{list-style:none;cursor:pointer;padding:16px 0;font-size:14.5px;font-weight:600;
  color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid var(--soft);
  border-bottom:2px solid var(--soft);transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}
.faq[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.faq p{margin:0;padding:0 0 18px;font-size:14px;line-height:1.7;color:var(--muted);max-width:70ch}

/* partners */
.pill-row{display:flex;gap:9px;flex-wrap:wrap;padding-top:22px}
.stat-pill{display:inline-flex;align-items:center;background:var(--chip);color:var(--chip-ink);
  border-radius:999px;padding:7px 15px;font-size:12.5px;font-weight:600}
.step-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.step-list li{display:flex;gap:14px;align-items:flex-start}
.step-n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;
  display:grid;place-items:center;font-size:13px;font-weight:700}
.price-panel{display:flex;align-items:center;gap:26px;flex-wrap:wrap;background:#fff;
  border:1px solid var(--line);border-radius:20px;padding:26px 30px;box-shadow:var(--shadow-card)}
.price-part{min-width:180px}
.price-big{font-size:38px;font-weight:700;letter-spacing:-.03em;color:var(--ink)}
.price-unit{font-size:13.5px;color:var(--soft);margin-left:6px}
.price-part .body-text{margin-top:6px}
.price-was{text-decoration:line-through;text-decoration-thickness:2px;color:var(--faint)}
.price-free{display:inline-block;background:#e7f6ec;color:#166534;border-radius:999px;padding:4px 12px;
  font-size:13px;font-weight:700;letter-spacing:0}
.price-part .price-free{margin-bottom:6px}
.bill-price-amount .price-was,.subgate-plan-price .price-was{font-size:.75em;font-weight:600;margin-right:6px}
.price-plus{font-size:24px;font-weight:600;color:var(--faint)}
.who-tag{display:inline-flex;background:var(--chip);color:var(--chip-ink);border-radius:999px;
  padding:4px 11px;font-size:11px;font-weight:600;letter-spacing:.04em;margin-bottom:10px}

@media (max-width:1100px){
  .split,.founder-grid,.step-list{grid-template-columns:1fr}
  .contact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .value-grid,.value-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .page-title{font-size:28px}
  .value-grid,.value-grid-4,.contact-cards{grid-template-columns:1fr}
  .founder{flex-direction:column}
  .founder img{width:100%;height:220px}
  .cta-panel{padding:24px}
  .price-panel{gap:16px}
}

/* ── auth pages ── */
.auth-page{min-height:100vh}
.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}

.auth-aside{position:relative;overflow:hidden;color:#fff;display:flex;align-items:center;
  background:var(--grad-brand)}
.auth-blob{position:absolute;border-radius:50%;pointer-events:none}
.auth-blob-1{top:-200px;left:-160px;width:560px;height:560px;background:rgba(255,255,255,.07)}
.auth-blob-2{bottom:-240px;right:-120px;width:520px;height:520px;background:rgba(255,255,255,.05)}
@media (prefers-reduced-motion: no-preference){
  .auth-blob{animation:ej-drift 30s ease-in-out infinite alternate;will-change:transform}
  .auth-blob-2{animation-duration:26s;animation-delay:-8s}
}
.auth-aside-inner{position:relative;padding:56px 56px;max-width:520px}
.auth-aside h2{margin:34px 0 0;font-size:33px;font-weight:700;letter-spacing:-.025em;line-height:1.15}
.auth-aside p{margin:14px 0 0;font-size:15px;line-height:1.65;color:rgba(255,255,255,.86)}
.auth-points{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:11px}
.auth-points li{position:relative;padding-left:26px;font-size:14px;color:rgba(255,255,255,.9)}
.auth-points li::before{content:"";position:absolute;left:0;top:.45em;width:13px;height:7px;
  border-left:2px solid rgba(255,255,255,.85);border-bottom:2px solid rgba(255,255,255,.85);
  transform:rotate(-45deg)}

.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:48px var(--gutter);background:var(--bg)}
.auth-card{width:100%;max-width:420px}
.auth-title{margin:0;font-size:27px;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.auth-sub{margin:9px 0 24px;font-size:14px;line-height:1.6;color:var(--muted)}
.auth-foot{margin:26px 0 0;font-size:13px}
.auth-foot a{color:var(--muted);font-weight:500}
.auth-foot a:hover{color:var(--blue)}

#loginForm,#signupForm,#resetForm,#updateForm{display:flex;flex-direction:column;gap:15px}
.field{display:flex;flex-direction:column;gap:6px}
.field-label{font-size:12.5px;font-weight:600;color:var(--ink)}
.field-opt{font-weight:500;color:var(--faint);text-transform:none;letter-spacing:0}
.field-input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;
  font-family:inherit;font-size:14px;background:#fff;color:inherit;outline:none}
.field-input:focus{border-color:var(--blue-tint);box-shadow:0 0 0 3px rgba(18,116,205,.12)}
.field-hint{font-size:11.5px;color:var(--soft)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.pw-wrap{position:relative;display:block}
.pw-wrap .field-input{padding-right:44px}
.pw-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;
  border:0;background:none;color:var(--faint);cursor:pointer;display:grid;place-items:center;border-radius:8px}
.pw-toggle:hover{color:var(--muted);background:var(--chip)}
.pw-toggle.on{color:var(--blue)}

.check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.55;color:var(--muted)}
.check input{margin-top:2px;flex:none;width:15px;height:15px;accent-color:var(--blue)}

.auth-row{display:flex;justify-content:flex-end;margin-top:-4px}
.auth-link{font-size:12.5px;font-weight:600}
.auth-submit{justify-content:center;width:100%;padding:13px 22px;font-size:14.5px;margin-top:4px}
.auth-alt{margin:20px 0 0;font-size:13.5px;color:var(--muted);text-align:center}
.auth-alt a{font-weight:600}

.auth-alert,.auth-ok{margin:0 0 16px;border-radius:12px;padding:11px 14px;font-size:13px;line-height:1.55}
.auth-alert{background:#fdecec;color:#9e2226;border:1px solid #f6d4d4}
.auth-ok{background:#e9f7ee;color:#166534;border:1px solid #cfeada}

/* ── partner application ── */
/* ── partner application form ── */
.apply-page{background:var(--bg);min-height:100vh}
.apply-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px var(--gutter);border-bottom:1px solid var(--line);background:#fff}
.apply-topbar .wordmark{color:var(--ink);font-size:19px}
.apply-topbar .wordmark img{filter:brightness(0) saturate(100%) invert(29%) sepia(69%)
  saturate(1747%) hue-rotate(190deg) brightness(93%) contrast(90%)}
.apply-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.apply-back:hover{color:var(--blue)}

.apply-wrap{padding:34px 24px 64px;max-width:1080px;margin:0 auto}
.apply-loading{display:flex;align-items:center;justify-content:center;gap:11px;padding:80px 0;
  font-size:13.5px;font-weight:500;color:var(--muted)}
.apply-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.apply-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px 32px;
  box-shadow:var(--shadow-card)}
.apply-aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:24px}

.apply-title{margin:0;font-size:26px;font-weight:700;letter-spacing:-.025em;color:var(--ink)}
.apply-sub{margin:9px 0 0;font-size:14px;line-height:1.6;color:var(--muted)}

.apply-identity{display:flex;align-items:center;gap:11px;margin-top:20px;padding:12px 14px;
  background:var(--chip);border-radius:14px}
.apply-identity-avatar{width:34px;height:34px;flex:none;border-radius:50%;background:var(--blue);
  color:#fff;display:grid;place-items:center;font-size:12.5px;font-weight:700}
.apply-identity-label{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.apply-identity-value{font-size:13.5px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.apply-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line-soft)}
.apply-section-title{margin:0;font-size:16px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.apply-section-hint{margin:5px 0 0;font-size:12.5px;color:var(--soft);line-height:1.5}
.apply-section .acct-grid,.apply-section .apply-types{margin-top:16px}

.apply-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.apply-type{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;text-align:left;
  cursor:pointer;font-family:inherit;transition:border-color .15s ease,background .15s ease}
.apply-type:hover{border-color:var(--blue-tint);background:#fbfdff}
.apply-type-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;
  background:var(--chip);color:var(--blue);margin-bottom:5px}
.apply-type-name{font-size:13.5px;font-weight:700;color:var(--ink)}
.apply-type-desc{font-size:11.5px;line-height:1.4;color:var(--soft)}
.apply-type.active{border-color:var(--blue);background:rgba(18,116,205,.05);box-shadow:0 0 0 1px var(--blue)}
.apply-type.active .apply-type-icon{background:var(--blue);color:#fff}
.apply-type.active::after{content:"";position:absolute;top:11px;right:11px;width:17px;height:17px;
  border-radius:50%;background:var(--blue) no-repeat center/9px 9px;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")}

.apply-counter{display:block;margin-top:6px;text-align:right;font-size:11.5px;color:var(--faint)}
.apply-submit-row{margin-top:28px;padding-top:22px;border-top:1px solid var(--line-soft)}
.apply-submit{width:100%;justify-content:center;padding:14px 22px;font-size:15px}
.apply-hint{margin-top:10px;text-align:center}

.apply-steps-title{margin:0 0 16px;font-size:13px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--soft)}
.apply-step-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.apply-step-list li{display:flex;gap:12px;align-items:flex-start}
.apply-step-n{flex:none;width:24px;height:24px;border-radius:50%;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;font-size:12px;font-weight:700}
.apply-step-list h3{margin:2px 0 3px;font-size:13.5px;font-weight:600;color:var(--ink)}
.apply-step-list p{margin:0;font-size:12.5px;line-height:1.5;color:var(--muted)}
.apply-steps,.apply-note{padding:22px 24px}
.apply-note p{margin:0;font-size:12.5px;line-height:1.6;color:var(--muted)}
.apply-status{max-width:520px;margin:0 auto;text-align:center}
.apply-status .apply-sub{margin-bottom:22px}
.apply-gate-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.apply-gate-actions .btn{min-width:150px;justify-content:center}
.apply-status-icon{width:52px;height:52px;border-radius:50%;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;margin:0 auto 16px}

@media (max-width:1000px){
  .apply-layout{grid-template-columns:1fr}
  .apply-aside{position:static;order:-1}
  .apply-step-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
}
@media (max-width:760px){
  .apply-types{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .apply-wrap{padding-top:24px}
  .apply-panel{padding:22px 20px;border-radius:18px}
  .apply-step-list{grid-template-columns:1fr}
  .apply-title{font-size:22px}
  .apply-gate-actions .btn{width:100%}
}
@media (max-width:520px){
  .apply-types{grid-template-columns:repeat(2,1fr)}
}

/* ── partner onboarding (onboarding.html) ── */
.ob-card{max-width:480px;text-align:center}
.ob-card .field,.ob-card .acct-hero{text-align:left}
.ob-dots{display:flex;justify-content:center;gap:5px;margin-bottom:18px}
.ob-dot{width:6px;height:6px;border-radius:3px;background:rgba(18,116,205,.18)}
.ob-dot.active{width:20px;background:var(--blue)}
.ob-hero{width:72px;height:72px;border-radius:50%;background:var(--blue);display:grid;place-items:center;
  margin:0 auto 16px}
.ob-approved-info{background:rgba(18,116,205,.05);border:1px solid rgba(18,116,205,.14);border-radius:12px;
  padding:10px 14px;margin:14px 0;font-size:13.5px;font-weight:600;color:var(--blue);text-align:left}
.ob-feature-list{list-style:none;margin:22px 0;padding:0;display:flex;flex-direction:column;gap:9px;text-align:left}
.ob-feature-list li{border:1px solid var(--line);border-radius:12px;padding:11px 14px;font-size:13.5px;
  font-weight:600;color:var(--ink);background:#fff}
.ob-pricing-card{border:1px solid var(--line);border-radius:16px;padding:22px 20px;margin:20px 0;text-align:center}
.ob-pricing-badge{display:inline-block;background:var(--chip);border-radius:999px;padding:5px 14px;
  font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--blue);margin-bottom:14px}
.ob-pricing-amount{font-size:34px;font-weight:700;letter-spacing:-.03em;color:var(--ink)}
.ob-pricing-amount span{font-size:14px;font-weight:500;color:var(--muted)}
.ob-pricing-features{list-style:none;margin:16px 0;padding:14px 0 0;border-top:1px solid var(--line-soft);
  display:flex;flex-direction:column;gap:9px;text-align:left;font-size:13.5px;color:var(--ink)}
.ob-pricing-features li::before{content:"✓ ";color:#15803d;font-weight:700}
.ob-pricing-note{font-size:12px;color:var(--soft);line-height:1.55;background:var(--chip);border-radius:10px;
  padding:10px 12px;text-align:left;margin:0}

/* ── partner dashboard (partner/index.html) ── */
.pdash-week{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}
.pdash-dot{flex:1;min-width:36px;display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:10px 4px;border-radius:12px;background:var(--chip)}
.pdash-dot.is-today{background:rgba(18,116,205,.1);outline:1.5px solid var(--blue)}
.pdash-dot-day{font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--soft)}
.pdash-dot-date{font-size:14.5px;font-weight:700;color:var(--ink)}
.pdash-dot-mark{width:5px;height:5px;border-radius:3px;background:#c8351d}
.pdash-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}
.pdash-quick-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 8px;
  background:#fff;border:1px solid var(--line);border-radius:16px;font-size:12.5px;font-weight:600;color:var(--ink)}
.pdash-quick-item:hover{box-shadow:var(--shadow-card-hover);color:inherit}
.pdash-quick-item svg{color:var(--blue)}
.pdash-browse{display:flex;align-items:center;gap:10px;padding:13px 16px;background:#fff;
  border:1px solid var(--line);border-radius:14px;font-size:13.5px;font-weight:600;color:var(--ink)}
.pdash-browse:hover{background:var(--chip);color:inherit}
@media (max-width:640px){
  .pdash-quick{grid-template-columns:repeat(2,1fr)}
}

/* ── partner business profile ── */
.bp-summary{padding:22px 24px}
.bp-summary-top{display:flex;gap:14px;align-items:flex-start}
.bp-avatar{flex:none;width:52px;height:52px;border-radius:15px;background:rgba(18,116,205,.1);
  border:1px solid rgba(18,116,205,.18);display:grid;place-items:center;font-size:16px;font-weight:700;color:var(--blue)}
.bp-name{font-size:18px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.bp-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:8px;font-size:12.5px;color:var(--muted)}
.bp-dot{width:4px;height:4px;border-radius:2px;background:var(--faint)}
.bp-rating{color:#b45309;font-weight:600}
.bp-progress-row{display:flex;align-items:center;gap:10px;margin-top:12px}
.bp-progress-track{flex:1;height:8px;border-radius:99px;background:var(--chip);overflow:hidden}
.bp-progress-fill{height:100%;border-radius:99px;background:var(--blue)}
.bp-progress-label{font-size:11.5px;font-weight:600;color:var(--soft);white-space:nowrap}
.bp-tip{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line-soft);font-size:12.5px;
  color:var(--muted);line-height:1.55}
.bp-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;
  border-top:1px solid var(--line-soft)}
.bp-row-label{font-size:12px;color:var(--muted)}
.bp-row-value{font-size:14px;font-weight:600;color:var(--ink);text-align:right}
.bp-toggle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.bp-toggle-title{font-size:14.5px;font-weight:600;color:var(--ink)}
.bp-toggle-sub{font-size:12.5px;color:var(--muted);margin-top:4px;line-height:1.55;max-width:52ch}

/* ── partner listings (listings.html) ── */
.lst-manager-list{display:flex;flex-direction:column;gap:10px}
.lst-manager-list .cd-row{cursor:pointer;border:1px solid var(--line);border-radius:14px;
  padding:12px 16px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}
.lst-manager-list .cd-row:last-child{border-bottom:1px solid var(--line)}
.lst-manager-list .cd-row:hover{border-color:var(--blue);box-shadow:var(--shadow-card)}
.lst-manager-list .cd-row:hover .cd-row-title{color:var(--blue)}
.lst-thumb{flex:none;width:52px;height:52px;border-radius:12px;object-fit:cover;background:var(--chip)}
.lst-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.lst-photo-tile{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--chip);
  border:2px solid transparent;cursor:pointer}
.lst-photo-tile img{width:100%;height:100%;object-fit:cover;display:block}
.lst-photo-tile.is-cover{border-color:var(--blue)}
.lst-photo-cover-badge{position:absolute;top:6px;left:6px;background:var(--blue);color:#fff;font-size:10px;
  font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:2px 7px;border-radius:999px}
.lst-photo-remove{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;border:0;
  background:rgba(15,23,42,.6);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:14px;line-height:1}
.lst-service-grid{display:flex;flex-wrap:wrap;gap:8px}
.lst-service-chip{border:1px solid var(--line);border-radius:999px;padding:7px 14px;background:#fff;
  font-size:13px;font-weight:600;color:var(--muted);cursor:pointer}
.lst-service-chip:hover{background:var(--chip)}
.lst-service-chip.active{border-color:var(--blue);background:var(--blue);color:#fff}
.lst-week-toggle{display:flex;gap:8px;flex-wrap:wrap}
.lst-week-day{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:#fff;
  font-size:12.5px;font-weight:700;color:var(--muted);cursor:pointer}
.lst-week-day.active{border-color:var(--blue);background:var(--blue);color:#fff}
.lst-row-card{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:10px;position:relative}
.lst-row-remove{position:absolute;top:10px;right:10px;background:none;border:0;color:var(--faint);
  cursor:pointer;font-size:16px;line-height:1;padding:4px}
.lst-row-remove:hover{color:#dc2626}
body[data-page="calendar"] .cs-body > .acct-card{max-width:600px}
.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.cal-nav{display:flex;align-items:center;gap:6px}
.cal-nav-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink);flex:none}
.cal-nav-btn:hover{background:var(--chip)}
.cal-month-label{font-size:16px;font-weight:700;color:var(--ink);min-width:150px;text-align:center}
.cal-legend{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.cal-legend-item{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted)}
.cal-legend-dot{width:8px;height:8px;border-radius:50%;flex:none}
.cal-legend-dot.booked{background:#15803d}
.cal-legend-dot.hold{background:#c98a12}
.cal-legend-dot.blackout{background:#c8351d}
.cal-weekday-row{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:0 auto 6px;max-width:420px}
.cal-weekday{text-align:center;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--faint)}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;max-width:420px;margin:0 auto}
.cal-cell{aspect-ratio:1/1;border-radius:10px;border:1px solid var(--line);background:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  padding:2px;cursor:pointer;position:relative}
.cal-cell:hover{background:var(--chip)}
.cal-cell.is-outside{opacity:.35}
.cal-cell.is-today{border-color:var(--blue);border-width:1.5px}
.cal-cell.is-blackout{background:#fdf2f0}
.cal-cell-date{font-size:12px;font-weight:700;color:var(--ink)}
.cal-cell-dots{display:flex;gap:3px;height:6px}
.cal-dot{width:6px;height:6px;border-radius:50%}
.cal-dot.booked{background:#15803d}
.cal-dot.hold{background:#c98a12}
.cal-dot.blackout{background:#c8351d}
.cal-day-section{margin-bottom:16px}
.cal-day-section:last-child{margin-bottom:0}
.cal-day-section-label{font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
  color:var(--faint);margin-bottom:8px}
.cal-day-note{font-size:13px;color:var(--muted);line-height:1.5}
.cal-blocked-list{display:flex;flex-direction:column;gap:8px}
.cal-blocked-row{display:flex;align-items:center;justify-content:space-between;gap:10px;
  border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.cal-blocked-date{font-size:13.5px;font-weight:600;color:var(--ink)}
.acct-card-foot.cal-week-foot{justify-content:flex-end;padding:22px 0 0;margin-top:8px;
  background:none;border-radius:0;border-top:1px solid var(--line-soft)}
@media (max-width:680px){
  .acct-card-foot.cal-week-foot{padding:20px 0 0}
}

@media (max-width:900px){
  .auth-shell{grid-template-columns:1fr}
  .auth-aside{display:none}
  .auth-main{min-height:100vh}
}

/* ── account menu in the topbar ── */
/* ── notifications: bell, dropdown, list ── */
.topbar-account{display:flex;align-items:center;gap:8px}

.nt-bell-wrap{position:relative;flex:none}
.nt-bell{position:relative;width:38px;height:38px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.16);color:#fff;display:grid;place-items:center;padding:0}
.nt-bell:hover{background:rgba(255,255,255,.26)}
.nt-bell:focus-visible{outline:2px solid #fff;outline-offset:2px}
.nt-badge{position:absolute;top:2px;right:1px;min-width:17px;height:17px;padding:0 4px;
  border-radius:999px;background:#dc2626;color:#fff;font-size:10px;font-weight:700;line-height:17px;
  text-align:center;box-shadow:0 0 0 2px var(--blue)}

.nt-pop{position:absolute;right:0;top:calc(100% + 10px);width:340px;background:#fff;
  border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-card-hover);
  z-index:40;overflow:hidden}
.nt-pop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 15px;border-bottom:1px solid var(--line-soft);
  font-size:13.5px;font-weight:600;color:var(--ink)}
.nt-readall{border:0;background:none;padding:0;font-family:inherit;font-size:12px;font-weight:600;
  color:var(--blue);cursor:pointer}
.nt-readall:hover{color:var(--blue-dark)}
.nt-pop-list{max-height:360px;overflow-y:auto}
.nt-viewall{display:block;padding:12px;text-align:center;border-top:1px solid var(--line-soft);
  font-size:13px;font-weight:600;color:var(--blue);background:var(--bg)}
.nt-viewall:hover{background:var(--chip);color:var(--blue-dark)}
.nt-empty{margin:0;padding:26px 20px;text-align:center;font-size:12.5px;line-height:1.6;color:var(--soft)}
.nt-item,.nt-row{display:flex;align-items:flex-start;gap:11px;color:inherit;
  border-bottom:1px solid var(--line-soft)}
.nt-item{padding:12px 14px}
.nt-item:last-child,.nt-row:last-child{border-bottom:0}
.nt-item:hover,.nt-row:hover{background:var(--chip);color:inherit}
.nt-item.is-unread,.nt-row.is-unread{background:#f4f9ff}
.nt-item.is-unread:hover,.nt-row.is-unread:hover{background:#e9f2fd}
.nt-icon{width:32px;height:32px;flex:none;border-radius:50%;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;margin-top:1px}
.nt-text{min-width:0;flex:1;display:block;white-space:normal}
.nt-title{display:block;font-size:13px;font-weight:600;color:var(--ink);line-height:1.4;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nt-body{display:-webkit-box;margin-top:2px;font-size:12.5px;line-height:1.5;color:var(--muted);
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:calc(1.5em * 2)}
.nt-time{display:block;margin-top:4px;font-size:11px;color:var(--faint)}
.nt-dot{width:7px;height:7px;border-radius:50%;background:var(--blue);flex:none;
  margin:12px 0 0 4px}

/* full page */
.nt-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-bottom:16px}
.nt-filters{display:flex;gap:7px}
.nt-filter{background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 15px;
  font-family:inherit;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer}
.nt-filter:hover{color:var(--ink)}
.nt-filter.active{background:var(--ink);border-color:var(--ink);color:#fff}
.nt-group + .nt-group{margin-top:24px}
.nt-group-title{margin:0 0 10px;font-size:11.5px;letter-spacing:.09em;text-transform:uppercase;
  font-weight:600;color:var(--faint)}
.nt-list{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:var(--shadow-card)}
.nt-row{padding:14px 16px}
.nt-more-wrap{display:flex;justify-content:center;margin-top:22px}
.cs-badge{margin-left:auto;min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  background:#dc2626;color:#fff;font-size:10.5px;font-weight:700;line-height:19px;text-align:center}
.cs-link.active .cs-badge{background:var(--blue);color:#fff}

@media (max-width:520px){
  .nt-pop{position:fixed;right:12px;left:12px;top:calc(var(--topbar-h) + 8px);width:auto}
}

.account-menu{position:relative}
.account-btn{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.16);border:0;
  border-radius:999px;padding:5px 13px 5px 5px;color:#fff;font-family:inherit;font-size:13.5px;
  font-weight:600;cursor:pointer;max-width:210px}
.account-btn:hover{background:rgba(255,255,255,.26)}
.account-avatar{width:28px;height:28px;border-radius:50%;flex:none;object-fit:cover;
  background:rgba(255,255,255,.28);display:grid;place-items:center;font-size:11px;font-weight:700;
  letter-spacing:.02em;color:#fff}
.account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-caret{font-size:10px;opacity:.85}
.account-pop{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;background:#fff;
  border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-card-hover);
  padding:8px;z-index:40;display:flex;flex-direction:column}
.account-head{padding:10px 12px 12px;border-bottom:1px solid var(--line-soft);margin-bottom:6px}
.account-head-name{font-size:13.5px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-head-email{font-size:11.5px;color:var(--soft);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-pop a,.account-signout{display:block;width:100%;text-align:left;border:0;background:none;
  border-radius:10px;padding:9px 12px;font-family:inherit;font-size:13.5px;font-weight:500;
  color:var(--ink);cursor:pointer}
.account-pop a:hover,.account-signout:hover{background:var(--chip);color:var(--blue)}
.account-sep{height:1px;background:var(--line-soft);margin:4px 6px 6px}
.account-partner-link{font-weight:700;color:var(--blue)}
.account-partner-link:hover{background:var(--chip)}
.account-signout{margin-top:6px;border-top:1px solid var(--line-soft);border-radius:0 0 10px 10px;
  padding-top:12px;color:var(--muted)}
.account-signout:hover{color:#9e2226;background:#fdecec}

/* ── topbar on tablet and phone ── */
.search-toggle{display:none;width:38px;height:38px;flex:none;border:0;border-radius:50%;padding:0;
  background:rgba(255,255,255,.16);color:#fff;cursor:pointer;place-items:center}
.search-toggle:hover{background:rgba(255,255,255,.26)}
.search-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}

@media (max-width:900px){
  .topbar{gap:12px}
  .topbar-right{gap:8px}
  .search-toggle{display:grid}
  .topbar .search{position:absolute;left:0;right:0;top:100%;z-index:6;display:none;
    margin:0;padding:10px var(--gutter);border-radius:0;min-width:0;
    background:linear-gradient(100deg,var(--blue),var(--blue-dark));
    box-shadow:0 12px 24px rgba(6,32,63,.22)}
  .topbar.search-open .search{display:flex;align-items:center;gap:10px}
  .topbar.search-open .search input{background:rgba(255,255,255,.18);border-radius:999px;
    padding:10px 16px;font-size:14px;min-width:0}
  .topbar.search-open .search > svg{flex:none;margin-left:2px}
  .search-toggle.is-open{background:rgba(255,255,255,.32)}
  .account-name,.account-caret{display:none}
  .account-btn{padding:5px;max-width:none}
}
@media (max-width:680px){
  .topbar{gap:10px}
  .topbar .wordmark{font-size:18px}
  .topbar-right{gap:6px}
  .nt-bell,.search-toggle{width:36px;height:36px}
}

/* ── client area shell ── */
.client-page{background:var(--bg)}
.cs-shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh}

.cs-sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column;
  gap:6px;padding:20px 16px;color:#fff;
  background:linear-gradient(165deg,var(--blue) 0%,var(--blue-dark) 45%,var(--blue-deep) 100%)}
.cs-brand{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:700;font-size:19px;
  letter-spacing:-.02em;padding:4px 8px 14px}
.cs-brand:hover{color:#fff;opacity:.9}

.cs-user{display:flex;align-items:center;gap:10px;padding:12px 10px;margin-bottom:10px;
  background:rgba(255,255,255,.12);border-radius:14px}
.cs-avatar{width:36px;height:36px;border-radius:50%;flex:none;object-fit:cover;
  background:rgba(255,255,255,.26);display:grid;place-items:center;font-size:12.5px;font-weight:700;color:#fff}
.cs-user-text{min-width:0}
.cs-user-name{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-user-email{font-size:11px;color:rgba(255,255,255,.72);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.cs-nav{display:flex;flex-direction:column;gap:3px}
.cs-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:11px;
  color:rgba(255,255,255,.84);font-size:13.5px;font-weight:500}
.cs-link:hover{background:rgba(255,255,255,.14);color:#fff}
.cs-link.active{background:#fff;color:var(--blue-dark);font-weight:600}
.cs-link svg{flex:none}
.cs-nav-label{margin:14px 4px 6px;font-size:10.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:rgba(255,255,255,.44)}

.cs-foot{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;gap:7px}
.cs-ghost{display:block;width:100%;text-align:center;border:1px solid rgba(255,255,255,.4);
  background:transparent;color:#fff;border-radius:999px;padding:9px 14px;font-family:inherit;
  font-size:13px;font-weight:600;cursor:pointer}
.cs-ghost:hover{background:rgba(255,255,255,.16);color:#fff}
.cs-signout{border-color:rgba(255,255,255,.24);color:rgba(255,255,255,.82)}

.cs-main{min-width:0;display:flex;flex-direction:column}
.cs-topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:16px;
  background:rgba(244,247,251,.92);backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);padding:0 32px;height:var(--topbar-h)}
.cs-title{margin:0;font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.cs-cta{margin-left:auto}
.cs-toggle{display:none;flex-direction:column;gap:4px;width:36px;height:36px;border:0;background:none;
  cursor:pointer;align-items:center;justify-content:center}
.cs-toggle span{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px}
.cs-body{padding:26px 32px 60px;display:flex;flex-direction:column;gap:22px}

/* ── dashboard ── */
.cd-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cd-tile{display:flex;flex-direction:column;gap:4px;background:#fff;border:1px solid var(--line);
  border-radius:18px;padding:18px 20px;box-shadow:var(--shadow-card);color:inherit;
  transition:box-shadow .18s ease,transform .18s ease}
.cd-tile:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-2px);color:inherit}
.cd-tile-label{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
.cd-tile-value{font-size:32px;font-weight:700;letter-spacing:-.03em;color:var(--ink);line-height:1.1}
.cd-tile-note{font-size:12px;color:var(--muted)}

.cd-panel{background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:20px 22px 8px;box-shadow:var(--shadow-card)}
.cd-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding-bottom:14px;border-bottom:1px solid var(--line-soft)}
.cd-panel-head h2{margin:0;font-size:16px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}

.cd-list{list-style:none;margin:0;padding:0}
.cd-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line-soft)}
.cd-row:last-child{border-bottom:0}
.cd-row-date{flex:none;width:50px;height:50px;border-radius:13px;background:var(--chip);
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.1}
.cd-day{font-size:17px;font-weight:700;color:var(--ink)}
.cd-mon{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--chip-ink)}
.cd-row-main{flex:1;min-width:0}
.cd-row-title{display:block;font-size:14.5px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.cd-row-title:hover{color:var(--blue)}
.cd-row-meta{font-size:12.5px;color:var(--muted);margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-row-side{flex:none;display:flex;align-items:center;gap:10px}
.cd-countdown{font-size:12px;font-weight:600;color:var(--soft);white-space:nowrap}

.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 11px;
  font-size:11px;font-weight:600;text-transform:capitalize;white-space:nowrap}
.pill-good{background:#e9f7ee;color:#166534}
.pill-warn{background:#fef4e3;color:#8a5a09}
.pill-off{background:#f1f3f6;color:#64748b}
.pill-neutral{background:var(--chip);color:var(--chip-ink)}

.cd-empty{padding:26px 0 30px;text-align:center}
.cd-empty p{margin:0 0 14px;font-size:13.5px;color:var(--muted)}

@media (max-width:1100px){
  .cd-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .cs-shell{grid-template-columns:1fr}
  .cs-sidebar{position:fixed;top:0;left:0;bottom:0;width:248px;z-index:60;
    transform:translateX(-100%);transition:transform .22s ease}
  .cs-shell.cs-open .cs-sidebar{transform:translateX(0);box-shadow:0 0 40px rgba(6,32,63,.35)}
  .cs-shell::before{content:"";position:fixed;inset:0;z-index:59;background:rgba(6,32,63,.42);
    opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
  .cs-shell.cs-open::before{opacity:1;visibility:visible}
  .cs-toggle{display:flex}
  .cs-topbar,.cs-body{padding-left:20px;padding-right:20px}
}
@media (max-width:680px){
  .cd-tiles{grid-template-columns:1fr}
  .cs-cta{display:none}
  .cd-row{flex-wrap:wrap}
  .cd-row-side{width:100%;padding-left:66px}
}

/* ── messages (inbox + conversation) ── */
.msg-page .cs-body{display:none}
.msg-page,.msg-page .cs-shell{height:100vh;min-height:0;overflow:hidden}
.msg-page .cs-main{min-height:0;overflow:hidden}
.msg-page .cs-topbar{flex:none}
.msg-layout{display:grid;grid-template-columns:360px 1fr;flex:1;min-height:0;overflow:hidden}

.msg-inbox{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#fff;
  border-right:1px solid var(--line)}
.msg-inbox-head{flex:none;padding:14px 16px 10px;border-bottom:1px solid var(--line-soft)}
.msg-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:10px 12px;color:var(--soft);box-shadow:var(--shadow-pill)}
.msg-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;
  font-family:inherit;font-size:13.5px;color:var(--ink)}
.msg-search input::placeholder{color:rgba(15,23,42,.62)}
.msg-filter-row{ display:flex; align-items:center; gap:8px; position:relative;}
.msg-filter-row .msg-search{ flex:1; min-width:0;}
.msg-filter{ position:relative; flex:0 0 42px;}
.msg-filter summary{ list-style:none;}
.msg-filter summary::-webkit-details-marker{ display:none;}
.msg-filter-btn{width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:14px; background:#fff;
  color:var(--muted); cursor:pointer; box-shadow:var(--shadow-pill);}
.msg-filter-btn:hover{ background:var(--chip); color:var(--blue);}
.msg-filter[open] .msg-filter-btn{ background:var(--blue); border-color:var(--blue); color:#fff;}
.msg-filter-menu{ position:absolute; top:calc(100% + 8px); right:0;width:230px; padding:12px; background:#fff;
  border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-card-hover); z-index:30;}
.msg-filter-title{ padding:2px 4px 9px; font-size:11px; font-weight:700; color:var(--soft); text-transform:uppercase; letter-spacing:.08em;}
.msg-pills{ display:flex; flex-direction:column; gap:5px;}
.msg-pill{ display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; white-space:nowrap;
  border-radius:9px; padding:8px 10px; border:1px solid transparent; background:transparent; cursor:pointer; font-family:inherit; font-size:12.5px;
  font-weight:500; color:var(--muted); text-align:left;}
.msg-pill:hover{ background:var(--chip);}
.msg-pill.active{ background:var(--blue); border-color:var(--blue); color:#fff; font-weight:600;}
.msg-pill-count{ min-width:18px; height:18px; border-radius:9px; padding:0 4px; display:grid; place-items:center; background:rgba(15,23,42,.08);
  font-size:10px; font-weight:700; color:var(--muted) }
.msg-pill.active .msg-pill-count{ background:rgba(255,255,255,.28); color:#fff;}
@media (min-width:901px){
  .msg-page .cs-main{ display:grid; grid-template-columns:360px minmax(0,1fr);grid-template-rows:var(--topbar-h) minmax(0,1fr); min-height:0; overflow:hidden;}
  .msg-page .cs-topbar{ grid-column:1; grid-row:1; width:auto;min-width:0; border-right:1px solid var(--line);}
  .msg-page .msg-layout{ display:contents;}
  .msg-page .msg-inbox{ grid-column:1; grid-row:2; min-height:0;}
  .msg-page .msg-pane{ grid-column:2; grid-row:1 / 3; min-height:0;}
}
.msg-threads{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.msg-row{position:relative;display:flex;align-items:center;gap:13px;width:100%;text-align:left; padding:13px 16px;border:0;border-bottom:1px solid rgba(15,23,42,.07);background:#fff;cursor:pointer;
  font-family:inherit}
.msg-row:hover{background:#fafcfe}
.msg-row.active{background:var(--chip)}
.msg-row.unread{background:#F5F9FF}
.msg-row.unread::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--blue)}
.msg-avatar{position:relative;flex:none;width:50px;height:50px;border-radius:50%;display:grid;
  place-items:center;background:var(--chip);border:1px solid rgba(15,23,42,.08);
  font-size:16px;font-weight:600;color:var(--blue);letter-spacing:-.3px}
.msg-dot{position:absolute;bottom:1px;right:1px;width:11px;height:11px;border-radius:50%;border:2px solid #fff}
.msg-row-body{flex:1;min-width:0;display:block}
.msg-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:2px}
.msg-row-title{font-size:14.5px;font-weight:600;color:var(--ink);letter-spacing:-.1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-row.unread .msg-row-title{font-weight:700}
.msg-row-right{flex:none;display:flex;align-items:center;gap:6px}
.msg-row-time{font-size:11.5px;color:var(--muted)}
.msg-row.unread .msg-row-time{font-weight:600;color:var(--blue)}
.msg-badge{min-width:20px;height:20px;border-radius:10px;padding:0 6px;display:grid;place-items:center;
  background:var(--blue);color:#fff;font-size:10px;font-weight:700}
.msg-chip{display:inline-flex;align-items:center;border-radius:6px;padding:3px 8px;
  font-size:11px;font-weight:600;letter-spacing:.1px;white-space:nowrap}
.msg-row-preview{display:block;font-size:13px;color:var(--muted);line-height:18px;margin-bottom:4px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-row.unread .msg-row-preview{font-weight:500;color:var(--ink)}
.msg-row-meta{display:block;font-size:11.5px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.msg-pane{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--bg)}
.msg-blank{flex:1;display:grid;place-items:center;padding:40px}
.msg-blank-inner{text-align:center;max-width:340px;color:var(--soft)}
.msg-blank-inner h3{margin:14px 0 6px;font-size:17px;font-weight:700;color:var(--ink)}
.msg-blank-inner p{margin:0 0 18px;font-size:13.5px;color:var(--muted);line-height:1.6}

.msg-convo{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.msg-head{flex:none;display:flex;align-items:center;gap:10px;padding:11px 18px;
  background:var(--blue);color:#fff}
.msg-back{ display:grid; flex:none;width:34px; height:34px; border:0; border-radius:50%; cursor:pointer; background:rgba(255,255,255,.16); color:#fff;
  place-items:center;}
.msg-back:hover{
  background:rgba(255,255,255,.28);
}
.msg-head-avatar{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.22);font-size:13px;font-weight:600;letter-spacing:-.2px}
.msg-head-text{flex:1;min-width:0}
.msg-head-title{font-size:15px;font-weight:600;letter-spacing:-.2px;line-height:20px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-head-sub{font-size:12px;color:rgba(255,255,255,.78);margin-top:1px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-head .msg-chip{background:rgba(255,255,255,.2)!important;color:#fff!important}
.msg-head-btn{flex:none;width:34px;height:34px;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.16);color:#fff;display:grid;place-items:center}
.msg-head-btn:hover{background:rgba(255,255,255,.28);color:#fff}
.msg-head-btn:disabled{opacity:.4;cursor:not-allowed}
.msg-head-btn:disabled:hover{background:rgba(255,255,255,.16)}
.msg-context{flex:none;background:#fff;border-bottom:1px solid var(--line-soft);padding:10px 16px}
.msg-context-info{display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;
  padding:0 0 10px;margin:0;cursor:pointer;text-align:left;font:inherit}
.msg-context-pill{flex:none;display:inline-flex;align-items:center;border-radius:999px;
  padding:3px 9px;background:#eff6ff;color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.02em}
.msg-context-value{flex:1;min-width:0;font-size:13px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg-context-status{flex:none}
.msg-context-actions{display:flex;gap:8px}
.msg-context-btn{flex:1;display:flex;align-items:center;justify-content:center;height:36px;
  border-radius:10px;background:var(--bg);border:1px solid var(--line);color:var(--ink);
  font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;font-family:inherit}
.msg-context-btn:hover{background:var(--chip)}
.msg-context-btn.is-disabled{opacity:.5;pointer-events:none}

.msg-error{flex:none;margin:8px 16px 0;padding:9px 12px;border-radius:12px;background:#FEF2F2;
  border:1px solid rgba(220,38,38,.18);font-size:12px;font-weight:500;color:#b91c1c}

.msg-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:20px 18px 12px;display:flex;flex-direction:column}
.msg-day{display:flex;align-items:center;justify-content:center;margin:10px 0 16px}
.msg-day span{background:rgba(15,23,42,.06);color:var(--muted);border-radius:999px;
  padding:4px 12px;font-size:11.5px;font-weight:600}
.msg-note{width:100%;text-align:center;padding:16px 20px;font-size:12.5px;font-weight:500;
  color:var(--muted);line-height:18px}

/* ── cancellation / refund system card ── */
.msg-cancel-wrap{width:100%;display:flex;justify-content:center;margin:2px 0 16px}
.msg-cancel-card{width:min(420px,92%);background:#fff;border:1px solid rgba(15,23,42,.09);
  border-radius:18px;padding:14px 16px;box-shadow:0 4px 16px rgba(15,23,42,.07);text-align:center}
.msg-cancel-card.tone-amber{border-color:rgba(245,158,11,.26)}
.msg-cancel-card.tone-green{border-color:rgba(22,163,74,.22)}
.msg-cancel-card.tone-slate{border-color:rgba(15,23,42,.14)}
.msg-cancel-top{display:flex;align-items:center;justify-content:center;gap:8px}
.msg-cancel-icon{font-size:14px}
.msg-cancel-title{font-size:13px;font-weight:700;color:var(--ink)}
.msg-cancel-sub{margin-top:8px;font-size:12.5px;font-weight:600;color:var(--muted);line-height:18px}
.msg-cancel-actions{display:flex;gap:10px;margin-top:12px}
.msg-cancel-actions .btn{flex:1;justify-content:center}
/* ── booking request card ── */

.msg-request-wrap{ width:100%; display:flex; justify-content:center; margin:2px 0 16px;}
.msg-request-card{ width:min(460px,92%); background:#fff; border:1px solid rgba(15,23,42,.09); border-radius:18px; padding:16px; box-shadow:0 4px 16px rgba(15,23,42,.07);}
.msg-request-card.cancelled{ opacity:.65; border-color:rgba(148,163,184,.4);}
.msg-request-top{ display:flex; align-items:center; gap:8px; margin-bottom:12px;}
.msg-request-pill{ display:inline-flex; align-items:center; border-radius:999px; padding:5px 10px; background:#eff6ff; color:var(--blue); font-size:10px; line-height:1;
  font-weight:700; letter-spacing:.07em;}
.msg-request-updated{ display:inline-flex; align-items:center; border-radius:999px; padding:5px 9px; background:#eff6ff; color:#2563eb;
  font-size:10.5px; line-height:1; font-weight:600}
.msg-request-title{ font-size:17px; line-height:1.3; font-weight:700; color:var(--ink); margin-bottom:7px;}
.msg-request-date-row{ display:flex; align-items:center; gap:7px; flex-wrap:wrap; color:var(--blue); font-size:12.5px; font-weight:600;}
.msg-request-sep{ color:var(--faint); font-weight:400;}
.msg-request-meta{ display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:12px;}
.msg-request-meta-chip{ display:inline-flex; align-items:center; min-width:0; max-width:100%; padding:5px 9px; border-radius:999px; background:var(--chip); color:var(--muted); font-size:11.5px;font-weight:500;}
.msg-request-location{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.msg-request-note{ margin-top:13px; padding:10px 11px; border-radius:12px; background:#f6f9fd; border:1px solid var(--line-soft);}
.msg-request-note-label{ margin-bottom:3px; color:var(--blue); font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;}
.msg-request-note-text{ color:var(--muted); font-size:12.5px; line-height:1.55; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;}
.msg-request-budget{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:14px; padding-top:12px; border-top:1px solid var(--line-soft);
  color:var(--muted); font-size:12px;}
.msg-request-budget strong{ color:var(--ink); font-size:14px; font-weight:700;}
.msg-request-stamp{ margin-top:9px; text-align:right; color:var(--soft); font-size:10px;}
.msg-request-edited{ padding-top:10px; padding-bottom:10px; font-size:11.5px; color:var(--soft);}
@media (max-width:680px){
  .msg-request-card{
    width:94%;
    padding:14px;
  }

  .msg-request-title{
    font-size:16px;
  }
}
/* ── booking offer card ── */

.msg-offer-wrap{ width:100%; display:flex; justify-content:center; margin:4px 0 16px;}
.msg-offer-card{ width:min(460px,92%); padding:16px; background:#fff;border:1px solid rgba(15,23,42,.09); border-radius:18px; box-shadow:0 4px 16px rgba(15,23,42,.07);}
.msg-offer-card.cancelled{ background:#fffafa; border-color:rgba(220,38,38,.22);}
.msg-offer-top{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:12px;}
.msg-offer-status{ display:inline-flex; align-items:center; padding:5px 10px; border-radius:999px; border:1px solid rgba(15,23,42,.12);
  background:rgba(15,23,42,.06); color:var(--muted); font-size:11px; font-weight:700; white-space:nowrap;}
.msg-offer-status.info{ background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.26); color:#1d4ed8;}
.msg-offer-status.success{ background:rgba(16,185,129,.12); border-color:rgba(16,185,129,.28); color:#047857;}
.msg-offer-status.warn{ background:rgba(245,158,11,.14); border-color:rgba(245,158,11,.30); color:#92400e;}
.msg-offer-status.cancelled{ background:rgba(220,38,38,.10); border-color:rgba(220,38,38,.25);color:#991b1b;}
.msg-offer-amount{color:var(--ink); font-size:20px; line-height:1; font-weight:700; letter-spacing:-.03em; white-space:nowrap;}
.msg-offer-card.cancelled .msg-offer-amount{ color:var(--soft); text-decoration:line-through;}
.msg-offer-date{ margin-top:4px; padding:9px 12px; border:1px solid rgba(18,116,205,.12); border-radius:12px; background:rgba(18,116,205,.06); color:var(--blue); font-size:12.5px; font-weight:600;}
.msg-offer-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:9px;}
.msg-offer-meta-chip{ display:inline-flex; align-items:center; max-width:100%; padding:5px 10px; border:1px solid rgba(15,23,42,.07); border-radius:999px; background:rgba(15,23,42,.05); color:var(--muted); font-size:11.5px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.msg-offer-payment{ margin-top:12px; padding-top:11px; border-top:1px solid var(--line-soft); color:var(--muted); font-size:11.5px; line-height:1.5;}
.msg-offer-state{ margin-top:10px; padding:9px 11px; border-radius:10px; background:var(--chip); color:var(--ink); font-size:12px; font-weight:600;}
.msg-offer-time{margin-top:8px; text-align:right; color:var(--soft); font-size:10px;}
@media (max-width:680px){
  .msg-offer-card{
    width:94%;
    padding:14px;
  }

  .msg-offer-amount{
    font-size:18px;
  }
}
.msg-line{display:flex;width:100%;margin-bottom:12px}
.msg-line.mine{justify-content:flex-end}
.msg-line.theirs{justify-content:flex-start}
.msg-wrap{display:flex;flex-direction:column;max-width:min(82%,520px)}
.msg-line.mine .msg-wrap{align-items:flex-end}
.msg-bubble{padding:10px 14px;font-size:14.5px;line-height:21px;word-wrap:break-word;overflow-wrap:anywhere}
.msg-line.mine .msg-bubble{background:var(--blue);color:#fff;border-radius:20px 20px 4px 20px}
.msg-line.theirs .msg-bubble{background:#fff;color:var(--ink);border-radius:20px 20px 20px 4px;
  border:1px solid rgba(15,23,42,.08);box-shadow:0 3px 10px rgba(15,23,42,.06)}
.msg-time{display:block;font-size:10px;margin-top:4px}
.msg-line.mine .msg-time{color:rgba(255,255,255,.82);text-align:right}
.msg-line.theirs .msg-time{color:var(--muted)}
.msg-read{font-size:11px;color:var(--muted);margin:3px 4px 0 0}

.msg-img{position:relative;width:220px;min-height:160px;border-radius:20px;overflow:hidden;
  background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.07);border:1px solid rgba(15,23,42,.08);
  cursor:zoom-in;display:grid;place-items:center}
.msg-img img{width:100%;display:block;max-height:290px;object-fit:cover;background:#0f172a}
.msg-img-load{width:26px;height:26px;border-radius:50%;border:2px solid var(--line);
  border-top-color:var(--blue);animation:msg-spin .7s linear infinite}
@keyframes msg-spin{to{transform:rotate(360deg)}}
.msg-img.failed{min-height:0;padding:14px;font-size:12px;color:var(--soft);cursor:default}
.msg-img.failed .msg-img-load{display:none}
.msg-img.failed::after{content:"Photo unavailable"}
.msg-img-time{position:absolute;right:10px;bottom:10px;padding:4px 8px;border-radius:999px;
  background:rgba(15,23,42,.55);color:#fff;font-size:10px;font-weight:600}

.msg-typing{align-self:flex-start;display:flex;align-items:center;gap:4px;background:#fff;
  border:1px solid rgba(15,23,42,.08);border-radius:20px 20px 20px 4px;padding:12px 14px;
  box-shadow:0 3px 10px rgba(15,23,42,.06);margin-bottom:12px}
.msg-typing span{width:6px;height:6px;border-radius:50%;background:rgba(15,23,42,.35);
  animation:msg-bounce 1.2s infinite}
.msg-typing span:nth-child(2){animation-delay:.12s}
.msg-typing span:nth-child(3){animation-delay:.24s}
@keyframes msg-bounce{0%,100%{transform:translateY(0)}25%{transform:translateY(-5px)}}

.msg-composer{flex:none;background:#fff;border-top:1px solid rgba(15,23,42,.08);padding:10px 14px 14px;
  box-shadow:0 -3px 8px rgba(15,23,42,.04)}
.msg-composer-row{display:flex;align-items:flex-end;gap:8px}
.msg-side-btn{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid rgba(15,23,42,.09);
  background:var(--bg);color:rgba(15,23,42,.5);cursor:pointer;display:grid;place-items:center}
.msg-side-btn:hover{background:var(--chip);color:var(--blue)}
.msg-input{flex:1;min-width:0;min-height:40px;max-height:120px;resize:none;overflow-y:auto;
  border:1px solid rgba(15,23,42,.10);border-radius:22px;padding:10px 16px;background:#fff;
  font-family:inherit;font-size:14.5px;line-height:20px;color:var(--ink);outline:none;
  box-shadow:0 1px 4px rgba(15,23,42,.03)}
.msg-input:focus{border-color:var(--blue-tint)}
.msg-input::placeholder{color:rgba(15,23,42,.62)}
.msg-send{flex:none;width:38px;height:38px;border-radius:50%;border:0;cursor:pointer;
  background:var(--blue);color:#fff;display:grid;place-items:center}
.msg-send:hover:not(:disabled){background:var(--blue-dark)}
.msg-send:disabled{background:rgba(15,23,42,.12);cursor:not-allowed}

.msg-attach{display:flex;align-items:center;gap:10px;padding:8px 10px;margin-bottom:8px;
  border-radius:14px;background:var(--bg);border:1px solid rgba(15,23,42,.08);position:relative}
.msg-attach img{width:44px;height:44px;border-radius:12px;object-fit:cover;background:#E5EDF7;flex:none}
.msg-attach-name{font-size:13px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:280px}
.msg-attach-hint{font-size:12px;color:var(--muted);margin-top:2px}
.msg-attach-x{margin-left:auto;width:26px;height:26px;border-radius:50%;border:1px solid rgba(15,23,42,.1);
  background:#fff;color:var(--ink);font-size:16px;line-height:1;cursor:pointer;flex:none}

.msg-blocked{flex:none;background:#F8FAFC;border-top:1px solid rgba(15,23,42,.08);padding:14px 18px;
  font-size:12.5px;color:rgba(15,23,42,.55);line-height:18px}

.msg-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:34px 18px;
  font-size:13px;font-weight:500;color:var(--muted)}
.msg-state{padding:44px 26px;text-align:center}
.msg-state h3{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--ink)}
.msg-state p{margin:0 0 18px;font-size:13px;color:var(--muted);line-height:19px}

.msg-lightbox{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.92);
  display:grid;place-items:center;cursor:zoom-out;padding:24px}
.msg-lightbox img{max-width:100%;max-height:100%;object-fit:contain}

@media (max-width:900px){
  .msg-layout{grid-template-columns:1fr}
  .msg-pane{display:none}
  .msg-layout.msg-open .msg-inbox{display:none}
  .msg-layout.msg-open .msg-pane{display:flex}
  .msg-back{display:grid}
  .msg-wrap{max-width:86%}
  .msg-page .cs-main:has(.msg-layout.msg-open) .cs-topbar{display:none}
}
.btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}

/* ── bookings ── */
.bk-sub{font-size:12.5px;color:var(--muted);margin:-8px 0 2px}

.bk-tabs{display:flex;gap:6px;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:6px;box-shadow:var(--shadow-card)}
.bk-tab{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 8px;
  border-radius:12px;border:0;background:transparent;cursor:pointer;font-family:inherit;
  font-size:12.5px;font-weight:600;color:var(--muted)}
.bk-tab:hover{background:var(--chip)}
.bk-tab.active{background:var(--blue);color:#fff}
.bk-tab-count{min-width:18px;height:18px;border-radius:9px;padding:0 5px;display:grid;
  place-items:center;background:rgba(15,23,42,.08);font-size:10px;font-weight:700;color:var(--muted)}
.bk-tab.active .bk-tab-count{background:rgba(255,255,255,.28);color:#fff}

.bk-section{margin-top:4px}
.bk-section-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;
  color:var(--soft);text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.bk-section-dot{width:6px;height:6px;border-radius:50%;background:var(--blue);opacity:.6}

.bk-list{display:flex;flex-direction:column;gap:10px;margin-bottom:22px}
.bk-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:13px;box-shadow:var(--shadow-card);color:inherit;
  transition:box-shadow .16s ease,transform .16s ease}
.bk-card:hover{color:inherit;box-shadow:var(--shadow-card-hover);transform:translateY(-1px)}
.bk-chev{flex:none;color:var(--faint)}
.bk-card:hover .bk-chev{color:var(--blue)}
.bk-thumb{flex:none;width:52px;height:52px;border-radius:13px;display:grid;place-items:center;
  overflow:hidden;background:var(--chip);color:var(--chip-ink)}
.bk-thumb img{width:100%;height:100%;object-fit:cover}
.bk-body{flex:1;min-width:0}
.bk-title-row{display:flex;align-items:center;gap:8px}
.bk-title{flex:1;min-width:0;font-size:14.5px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk-kind{font-size:12px;color:var(--muted);margin-top:2px}
.bk-meta{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin-top:5px}

.bk-pill{display:inline-flex;align-items:center;flex:none;border-radius:6px;padding:3px 8px;
  font-size:10px;font-weight:700;letter-spacing:.03em;white-space:nowrap}
.bk-pill-new{background:var(--blue);color:#fff}
.bk-pill-booked{background:#e9f7ee;color:#166534}
.bk-pill-cancelled{background:#fdecec;color:#9e2226}

.bk-empty{padding:70px 10px;text-align:center}
.bk-empty h3{margin:0 0 8px;font-size:12.5px;font-weight:700;color:var(--soft);
  text-transform:uppercase;letter-spacing:.05em}
.bk-empty p{margin:0 0 20px;font-size:13px;color:var(--muted);line-height:1.6;max-width:38ch;
  margin-left:auto;margin-right:auto}

@media (max-width:680px){
  .bk-tab{font-size:11.5px;padding:9px 4px}
  .bk-thumb{width:44px;height:44px;border-radius:11px}
}

/* ── offer actions (inside the message thread) ── */
.msg-offer-actions{display:flex;gap:8px;margin-top:14px}
.msg-offer-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:0;border-radius:12px;padding:11px 14px;font-family:inherit;font-size:13px;font-weight:600;
  cursor:pointer;white-space:nowrap;text-align:center}
.msg-offer-btn.primary{background:var(--blue);color:#fff;box-shadow:0 6px 16px rgba(18,116,205,.24)}
.msg-offer-btn.primary:hover{background:var(--blue-dark);color:#fff}
.msg-offer-btn.ghost{flex:0 0 auto;background:#fff;color:var(--ink);
  border:1px solid rgba(15,23,42,.12);padding:11px 18px}
.msg-offer-btn.ghost:hover{background:var(--chip);color:var(--ink)}
.msg-offer-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.msg-offer-sentback{margin-top:11px;padding:10px 12px;border-radius:12px;
  background:rgba(220,38,38,.06);border:1px solid rgba(220,38,38,.2);
  font-size:12.5px;line-height:1.55;color:#991b1b}
.msg-offer-sentback strong{display:block;font-size:11.5px;margin-bottom:3px}

/* ── saved ── */
.sv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sv-filters{display:flex;gap:7px;flex-wrap:wrap}
.sv-filter{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;
  font-family:inherit;font-size:12.5px;font-weight:600;color:var(--muted);cursor:pointer}
.sv-filter:hover{background:var(--chip);color:var(--blue)}
.sv-filter.active{background:var(--blue);border-color:var(--blue);color:#fff}
.sv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px;margin-top:4px}
.bkm{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px}
body.bkm-lock{overflow:hidden}
.bkm-backdrop{position:absolute;inset:0;background:var(--scrim);backdrop-filter:blur(2px)}
.bkm-panel{position:relative;display:flex;flex-direction:column;width:min(880px,100%);
  max-height:min(88vh,900px);background:#fff;border-radius:24px;overflow:hidden;
  box-shadow:0 28px 70px rgba(6,32,63,.34)}
.bkm-panel:focus{outline:none}

.bkm-head{flex:none;display:flex;align-items:flex-start;gap:16px;padding:20px 24px;
  border-bottom:1px solid var(--line-soft)}
.bkm-head-text{flex:1;min-width:0}
.bkm-head h2{margin:0;font-size:18px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.bkm-head p{margin:3px 0 0;font-size:13px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bkm-close{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);
  background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center}
.bkm-close:hover{background:var(--chip);color:var(--blue)}
.reqinfo{position:fixed;inset:0;z-index:130;display:flex;align-items:flex-end;justify-content:center}
.reqinfo-backdrop{position:absolute;inset:0;background:var(--scrim)}
.reqinfo-panel{position:relative;width:min(460px,100%);max-height:85vh;overflow-y:auto;
  background:#fff;border-radius:22px 22px 0 0;padding:10px 20px 22px;
  box-shadow:0 -12px 40px rgba(6,32,63,.22)}
.reqinfo-handle{width:38px;height:4px;border-radius:2px;background:rgba(15,23,42,.14);margin:2px auto 12px}
.reqinfo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.reqinfo-head h3{margin:0;font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.reqinfo-close{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);
  background:var(--bg);color:var(--muted);cursor:pointer;display:grid;place-items:center}
.reqinfo-close:hover{background:var(--chip);color:var(--blue)}
.reqinfo-body{border:1px solid var(--line-soft);border-radius:14px;background:var(--bg);padding:2px 14px}
.reqinfo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--line-soft)}
.reqinfo-row:last-child{border-bottom:0}
.reqinfo-row.multiline{align-items:flex-start}
.reqinfo-key{flex:none;width:88px;font-size:13px;font-weight:500;color:var(--muted)}
.reqinfo-val{flex:1;text-align:right;font-size:13px;font-weight:600;color:var(--ink);line-height:1.4}
@media (max-width:680px){
  .reqinfo-panel{border-radius:18px 18px 0 0;padding:10px 16px 20px}
}
#calDaySheet{align-items:center}
#calDaySheet .reqinfo-panel{border-radius:20px;box-shadow:var(--shadow-card-hover)}
#calDaySheet .reqinfo-handle{display:none}

.bkm-body{flex:1;min-height:0;overflow-y:auto;display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;padding:22px 24px}

/* ── calendar ── */
.bkm-cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bkm-cal-title{font-size:14.5px;font-weight:700;color:var(--ink)}
.bkm-cal-hint{margin:4px 0 14px;font-size:12.5px;color:var(--muted)}
.bkm-nav{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;
  color:var(--ink);cursor:pointer;display:grid;place-items:center;flex:none}
.bkm-nav:hover:not(:disabled){background:var(--chip);color:var(--blue)}
.bkm-nav:disabled{opacity:.35;cursor:not-allowed}

.bkm-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:6px}
.bkm-dow span{text-align:center;font-size:10.5px;font-weight:700;color:var(--faint);letter-spacing:.04em}
.bkm-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}

.bkm-day{position:relative;aspect-ratio:1;border:1.5px solid transparent;background:none;
  border-radius:12px;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:3px;padding:0}
.bkm-day-n{font-size:13.5px;font-weight:700;color:var(--ink);line-height:1}
.bkm-dot{width:5px;height:5px;border-radius:50%;background:transparent}

.bkm-available:hover{background:var(--chip)}
.bkm-available .bkm-dot{background:var(--green)}

.bkm-booked{cursor:not-allowed;background:rgba(220,38,38,.07)}
.bkm-booked .bkm-day-n{color:#b91c1c;opacity:.75}
.bkm-booked .bkm-dot{background:#dc2626}

.bkm-unavailable{cursor:not-allowed}
.bkm-unavailable .bkm-day-n{color:#9ca3af}
.bkm-unavailable .bkm-dot{background:#9ca3af}

.bkm-past{cursor:not-allowed}
.bkm-past .bkm-day-n{color:rgba(15,23,42,.22)}

.bkm-deal{background:rgba(245,158,11,.14);border-color:#f59e0b}
.bkm-deal:hover{background:rgba(245,158,11,.24)}
.bkm-deal .bkm-day-n{color:#92400e}
.bkm-deal .bkm-dot{background:#f59e0b}
.bkm-day-deal{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;
  background:#d97706;color:#fff;font-size:8px;font-weight:700;line-height:14px;text-align:center}

.bkm-sel{background:var(--blue);border-color:var(--blue)}
.bkm-sel .bkm-day-n{color:#fff}
.bkm-sel .bkm-dot{background:rgba(255,255,255,.85)}
.bkm-sel .bkm-day-deal{background:#fff;color:#b45309}
.bkm-inrange{background:#e8f1fc}
.bkm-inrange .bkm-day-n{color:var(--blue-deep)}
.bkm-blank{visibility:hidden;cursor:default;border:0}

.bkm-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.bkm-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted)}
.bkm-key{width:8px;height:8px;border-radius:50%;display:inline-block}
.bkm-key-available{background:var(--green)}
.bkm-key-booked{background:#dc2626}
.bkm-key-unavailable{background:#9ca3af}
.bkm-key-deal{background:#f59e0b}
.bkm-legend-note{margin:9px 0 0;font-size:11.5px;color:var(--soft);line-height:1.5}

/* details */
.bkm-fields{display:flex;flex-direction:column;gap:14px}
.bkm-datebar{display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:var(--chip);border-radius:14px;padding:11px 13px}
.bkm-datebar-label{display:block;font-size:10.5px;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;color:var(--soft)}
.bkm-datebar-value{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-top:2px}
.bkm-datebar:not(.on) .bkm-datebar-value{color:var(--muted);font-weight:500}
.bkm-clear{border:0;background:none;padding:0;font-family:inherit;font-size:12px;font-weight:600;
  color:var(--blue);cursor:pointer;text-decoration:underline;flex:none}
.bkm-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bkm-fields .field-input{padding:10px 12px;font-size:13.5px;border-radius:11px}
.bkm-msg{min-height:90px;resize:vertical}
.bkm-error{margin:0;font-size:12.5px}

/* footer + estimate */
.bkm-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:16px 24px;background:#fbfcfe;border-top:1px solid var(--line-soft)}
.bkm-total{flex:1;min-width:0}
.bkm-total-empty{font-size:13px;color:var(--muted)}
.bkm-lines{display:flex;flex-direction:column;gap:4px}
.bkm-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  font-size:12.5px;color:var(--muted)}
.bkm-line-deal{color:#166534;font-weight:600}
.bkm-line-total{margin-top:3px;padding-top:6px;border-top:1px solid var(--line-soft);
  font-size:13px;color:var(--ink);font-weight:600}
.bkm-line-total strong{font-size:17px;letter-spacing:-.02em}
.bkm-total-note{margin:5px 0 0;font-size:11px;color:var(--faint)}
.bkm-submit{flex:none;justify-content:center;padding:13px 26px;font-size:14.5px}

@media (max-width:860px){
  .bkm{padding:0}
  .bkm-panel{width:100%;max-height:100vh;height:100vh;border-radius:0}
  .bkm-body{grid-template-columns:1fr;gap:22px}
  .bkm-foot{flex-direction:column;align-items:stretch;gap:12px}
  .bkm-submit{width:100%}
}
@media (max-width:620px){
  .bkm-field-row{grid-template-columns:1fr}
  .bkm-day-n{font-size:13px}
}

/* ── booking detail ── */
.bd-head{display:flex;align-items:center;gap:16px;padding:20px 24px}
.bd-thumb{flex:none;width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--chip);
  color:var(--chip-ink);display:grid;place-items:center}
.bd-thumb img{width:100%;height:100%;object-fit:cover}
.bd-head-text{flex:1;min-width:0}
.bd-kind{display:block;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--soft)}
.bd-head-text h2{margin:3px 0 0;font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bd-head-text p{margin:2px 0 0;font-size:13px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.bd-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 24px 20px;
  border-top:1px solid var(--line-soft);padding-top:16px;margin-top:2px}

.bd-when{display:flex;align-items:center;gap:18px;background:var(--chip);border-radius:16px;
  padding:16px 18px;margin-bottom:18px}
.bd-datebox{flex:none;width:66px;text-align:center;background:#fff;border-radius:13px;padding:9px 0;
  box-shadow:var(--shadow-pill)}
.bd-mon{display:block;font-size:10.5px;font-weight:700;letter-spacing:.08em;color:var(--blue)}
.bd-day{display:block;font-size:24px;font-weight:700;letter-spacing:-.03em;color:var(--ink);line-height:1.1}
.bd-year{display:block;font-size:10.5px;font-weight:600;color:var(--soft)}
.bd-when-text{min-width:0}
.bd-weekday{font-size:15px;font-weight:700;color:var(--ink);letter-spacing:-.015em}
.bd-time{font-size:13px;color:var(--muted);margin-top:3px}
.bd-duration{font-size:12px;font-weight:600;color:var(--blue);margin-top:5px}

.bd-specs .spec-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding:11px 0;border-top:1px solid var(--line-soft)}
.bd-specs .spec-row:first-child{border-top:0;padding-top:0}
.bd-specs dt{font-size:13px;color:var(--muted)}
.bd-specs dd{margin:0;font-size:13.5px;font-weight:600;color:var(--ink);text-align:right}
.bd-specs dd.bd-accent{font-size:16px;font-weight:700;letter-spacing:-.02em}
.bd-notes{margin:0;font-size:13.5px;line-height:1.7;color:var(--muted);white-space:pre-wrap}

.bk-pill-pending{background:#fef4e3;color:#8a5a09}
.bd-cancel-pending{background:#fef4e3;border:1px solid rgba(245,158,11,.3);border-radius:14px;
  padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.bd-cancel-pending strong{font-size:13.5px;color:#8a5a09}
.bd-cancel-pending span{font-size:12.5px;color:#92400e;line-height:1.55}

/* document viewer (invoice / itinerary) */
.bdoc{position:fixed;inset:0;z-index:130;display:grid;place-items:center;padding:24px}
.bdoc-backdrop{position:absolute;inset:0;background:var(--scrim);backdrop-filter:blur(2px)}
.bdoc-panel{position:relative;display:flex;flex-direction:column;width:min(820px,100%);
  height:min(90vh,1000px);background:#fff;border-radius:22px;overflow:hidden;
  box-shadow:0 28px 70px rgba(6,32,63,.34)}
.bdoc-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 20px;border-bottom:1px solid var(--line-soft)}
.bdoc-head h2{margin:0;font-size:16px;font-weight:700;color:var(--ink)}
.bdoc-head-actions{display:flex;align-items:center;gap:10px}
.bdoc-frame{flex:1;width:100%;border:0;background:var(--bg)}

@media (max-width:680px){
  .bd-head{flex-wrap:wrap;padding:18px}
  .bd-actions{padding:16px 18px 18px}
  .bd-actions .btn{flex:1;justify-content:center}
  .bdoc{padding:0}
  .bdoc-panel{width:100%;height:100vh;border-radius:0}
}

/* ── settings ── */
.set-row{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line-soft)}
.set-row:first-child{border-top:0;padding-top:0}
.set-row:last-child{padding-bottom:0}
.set-icon{flex:none;width:36px;height:36px;border-radius:11px;background:var(--chip);
  display:grid;place-items:center;color:var(--blue)}
.set-text{flex:1;min-width:0}
.set-label{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.set-sub{display:block;font-size:12px;color:var(--muted);margin-top:2px;line-height:1.5}

.switch{position:relative;flex:none;width:44px;height:26px}
.switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
.switch span{position:absolute;inset:0;border-radius:999px;background:rgba(15,23,42,.17);
  transition:background .18s ease;pointer-events:none}
.switch span::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.28);transition:transform .18s ease}
.switch input:checked + span{background:var(--blue)}
.switch input:checked + span::after{transform:translateX(18px)}
.switch input:disabled{cursor:progress}
.switch input:disabled + span{opacity:.55}
.switch input:focus-visible + span{outline:2px solid var(--blue);outline-offset:2px}

.set-link{display:flex;align-items:center;gap:14px;padding:14px 0;
  border-top:1px solid var(--line-soft);color:inherit}
.set-link:first-child{border-top:0;padding-top:0}
.set-link:hover{color:inherit}
.set-link:hover .set-label{color:var(--blue)}
.set-chev{flex:none;color:var(--faint)}

.set-blocked{display:flex;align-items:center;gap:13px;padding:13px 0;border-top:1px solid var(--line-soft)}
.set-blocked:first-child{border-top:0;padding-top:0}
.set-avatar{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--chip);
  display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--blue);overflow:hidden}
.set-avatar img{width:100%;height:100%;object-fit:cover}
.set-empty{padding:8px 0 4px;font-size:13px;color:var(--muted)}

/* ── payment return pages ── */
.pay-wrap{min-height:100vh;display:grid;place-items:center;padding:40px 24px;background:var(--bg)}
.pay-card{width:100%;max-width:440px;background:#fff;border:1px solid var(--line);
  border-radius:24px;box-shadow:var(--shadow-card);padding:34px 32px;text-align:center}
.pay-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px}
.pay-icon.good{background:#e9f7ee;color:#166534}
.pay-icon.warn{background:var(--chip);color:var(--chip-ink)}
.pay-card h1{margin:0 0 8px;font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.pay-card p{margin:0 0 6px;font-size:13.5px;line-height:1.65;color:var(--muted)}
.pay-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}
.pay-actions .btn{justify-content:center;width:100%}
.pay-spinner{width:26px;height:26px;border-radius:50%;border:2.5px solid var(--line);
  border-top-color:var(--blue);animation:msg-spin .7s linear infinite;margin:0 auto 18px}

/* ── account ── */
.acct-wrap{width:100%;max-width:880px;display:flex;flex-direction:column;gap:18px}

.acct-card{background:#fff;border:1px solid var(--line);border-radius:20px;
  box-shadow:var(--shadow-card)}
.acct-card-head{padding:20px 24px 0}
.acct-card-head h2{margin:0;font-size:16px;font-weight:700;letter-spacing:-.015em;color:var(--ink)}
.acct-card-head p{margin:5px 0 0;font-size:12.5px;color:var(--muted);line-height:1.55}
.acct-card-body{padding:18px 24px 22px}
.acct-card-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:14px 24px;background:#fbfcfe;border-top:1px solid var(--line-soft);
  border-radius:0 0 20px 20px}
.acct-foot-note{font-size:12px;color:var(--faint);line-height:1.5}
.acct-card-foot .btn{flex:none}

.acct-hero{display:flex;align-items:center;gap:20px;padding:22px 24px}
.acct-avatar{position:relative;flex:none;width:84px;height:84px;border-radius:50%;overflow:hidden;
  background:var(--chip);border:2px solid #BFDBFE;display:grid;place-items:center;cursor:pointer;padding:0}
.acct-avatar img{width:100%;height:100%;object-fit:cover}
.acct-avatar-initials{font-size:27px;font-weight:700;color:var(--blue);letter-spacing:-.02em}
.acct-avatar-badge{position:absolute;right:2px;bottom:2px;width:26px;height:26px;border-radius:50%;
  background:var(--blue);border:2px solid #fff;display:grid;place-items:center;color:#fff}
.acct-hero-text{flex:1;min-width:0}
.acct-hero-name{font-size:20px;font-weight:700;letter-spacing:-.025em;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-hero-email{font-size:13px;color:var(--muted);margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-hero-hint{font-size:11.5px;color:var(--faint);margin-top:8px}

.acct-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.acct-grid .field-wide{grid-column:1 / -1}
.field-input:disabled{background:var(--chip);color:var(--muted);cursor:not-allowed}
.acct-about{min-height:104px;resize:vertical}
.acct-charcount{font-size:11px;color:var(--faint);text-align:right;margin-top:6px}

.acct-danger-row{display:flex;align-items:center;gap:13px;width:100%;padding:0;background:none;
  border:0;text-align:left;font-family:inherit;cursor:pointer}
.acct-danger-icon{flex:none;width:36px;height:36px;border-radius:11px;background:#FFF5F5;
  display:grid;place-items:center;color:#dc2626}
.acct-danger-label{display:block;font-size:14.5px;font-weight:600;color:#dc2626}
.acct-danger-sub{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.acct-danger-chev{flex:none;color:var(--faint)}
.acct-danger-panel{margin-top:18px;padding-top:18px;border-top:1px solid var(--line-soft)}
.acct-danger-panel p{margin:0 0 14px;font-size:12.5px;color:var(--muted);line-height:1.6}
.acct-danger-panel textarea.field-input{resize:vertical;min-height:74px}
.acct-danger-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}

.btn-danger{background:#dc2626;color:#fff;box-shadow:0 6px 18px rgba(220,38,38,.22)}
.btn-danger:hover{background:#b91c1c;color:#fff}
.btn-ghost-line{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn-ghost-line:hover{background:var(--chip);color:var(--ink)}

/* ── partner deals ── */
.deal-sub{margin:-8px 0 0;font-size:12.5px;color:var(--muted)}

.deal-empty-card{background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:36px 24px;text-align:center;box-shadow:var(--shadow-card)}
.deal-empty-icon{width:48px;height:48px;border-radius:16px;background:var(--chip);color:var(--blue);
  display:grid;place-items:center;margin:0 auto 14px}
.deal-empty-card h3{margin:0 0 6px;font-size:15px;font-weight:700;color:var(--ink)}
.deal-empty-card p{margin:0 0 18px;font-size:13px;color:var(--muted);line-height:1.6;
  max-width:38ch;margin-left:auto;margin-right:auto}

.deal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.deal-card{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid var(--line);
  border-radius:18px;overflow:hidden;box-shadow:var(--shadow-card);cursor:pointer;padding:0;
  font-family:inherit;transition:box-shadow .16s ease,transform .16s ease}
.deal-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-1px)}
.deal-cover{position:relative;display:block;height:104px;background-size:cover;background-position:center}
.deal-cover-blank{background-image:linear-gradient(135deg,#0a4a8c,#1a8fe3)}
.deal-badge{position:absolute;top:10px;left:10px;background:#fff;border-radius:999px;
  padding:4px 10px;font-size:10.5px;font-weight:700;letter-spacing:.02em;color:var(--blue)}
.deal-body{display:flex;flex-direction:column;gap:3px;padding:13px 14px}
.deal-top-row{display:flex;align-items:center;gap:8px}
.deal-label{flex:1;min-width:0;font-size:14.5px;font-weight:600;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deal-status-chip{flex:none;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:700;letter-spacing:.02em}
.deal-status-chip.is-live{background:rgba(22,163,74,.14);color:#166534}
.deal-status-chip.is-scheduled{background:rgba(18,116,205,.10);color:var(--blue)}
.deal-status-chip.is-expired{background:rgba(14,42,71,.07);color:var(--soft)}
.deal-status-chip.is-draft{background:rgba(214,154,29,.16);color:#8a5f0d}
.deal-status-chip.is-rejected{background:rgba(220,38,38,.10);color:#dc2626}
.deal-listing{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deal-dates{font-size:12px;color:var(--muted)}

/* ── partner billing / subscriptions / payouts ── */
.bill-section-title{margin:6px 0 -6px;font-size:11px;font-weight:700;color:var(--soft);
  text-transform:uppercase;letter-spacing:.08em}

.bill-plan-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 24px;background:var(--chip);border-bottom:1px solid var(--line-soft);
  border-radius:20px 20px 0 0}
.bill-current-badge{background:transparent;color:var(--blue);padding:0;font-size:12px;font-weight:700}
.bill-status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;
  padding:5px 11px;font-size:11.5px;font-weight:700;border:1px solid transparent}
.bill-status-pill.is-active{background:rgba(22,163,74,.12);color:#166534;border-color:rgba(22,163,74,.22)}
.bill-status-pill.is-pastdue{background:rgba(230,126,0,.10);color:#a15400;border-color:rgba(230,126,0,.22)}
.bill-status-pill.is-inactive{background:var(--chip);color:var(--soft);border-color:var(--line)}
.bill-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}

.bill-price-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.bill-plan-name{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em}
.bill-price{display:flex;align-items:baseline;gap:2px}
.bill-price-amount{font-size:24px;font-weight:700;color:var(--ink);letter-spacing:-.02em}
.bill-price-per{font-size:12.5px;color:var(--faint)}

.bill-renewal{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:12.5px;color:var(--muted)}
.bill-inactive-notice{display:flex;align-items:flex-start;gap:7px;margin:10px 0 0;padding:10px 12px;
  border-radius:12px;background:rgba(230,126,0,.08);border:1px solid rgba(230,126,0,.2);
  font-size:12.5px;color:#a15400;line-height:1.5}

.bill-meta-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.bill-meta-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;
  background:rgba(18,116,205,.07);border:1px solid rgba(18,116,205,.15);font-size:12px;
  font-weight:600;color:var(--blue)}

.bill-feature-list{display:flex;flex-direction:column;gap:10px}
.bill-feature-row{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink)}
.bill-feature-icon{flex:none;width:20px;height:20px;border-radius:6px;background:var(--chip);
  color:var(--blue);display:grid;place-items:center}

.bill-link-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:14px;box-shadow:var(--shadow-card);color:inherit}
a.bill-link-card:hover{color:inherit;box-shadow:var(--shadow-card-hover)}
.bill-link-icon{flex:none;width:38px;height:38px;border-radius:12px;background:var(--chip);
  color:var(--blue);display:grid;place-items:center}
.bill-link-text{flex:1;min-width:0}
.bill-link-title{font-size:14.5px;font-weight:600;color:var(--ink)}
.bill-link-sub{margin:2px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5}
.bill-link-chevron{flex:none;width:26px;height:26px;border-radius:8px;background:var(--bg);
  display:grid;place-items:center;color:var(--faint)}

.bill-card-visual{margin:12px;border-radius:14px;padding:18px;min-height:104px;background:var(--ink);
  position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}
.bill-card-chip{width:30px;height:22px;border-radius:5px;background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.14)}
.bill-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;margin-top:16px}
.bill-card-number{font-size:14.5px;font-weight:600;color:rgba(255,255,255,.92);letter-spacing:1.5px}
.bill-card-exp{font-size:11.5px;color:rgba(255,255,255,.55)}
.bill-card-brand{position:absolute;top:14px;right:14px;padding:4px 9px;border-radius:8px;
  background:rgba(255,255,255,.12);font-size:11px;font-weight:700;color:rgba(255,255,255,.82);
  letter-spacing:.03em}
.bill-card-actions{display:flex;border-top:1px solid var(--line-soft)}
.bill-card-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;
  padding:12px;font-size:13px;font-weight:600;color:var(--blue);background:none;border:0;
  border-radius:0 0 20px 20px;cursor:pointer;font-family:inherit}
.bill-card-action-btn:hover{background:var(--chip)}

.bill-detail-row{display:flex;align-items:center;gap:12px;padding:13px 24px;border-bottom:1px solid var(--line-soft)}
.bill-detail-row:last-child{border-bottom:0}
.bill-detail-icon{flex:none;width:32px;height:32px;border-radius:10px;background:var(--chip);
  color:var(--blue);display:grid;place-items:center}
.bill-detail-label{font-size:11px;color:var(--faint);text-transform:none}
.bill-detail-value{margin-top:2px;font-size:13.5px;font-weight:600;color:var(--ink)}

.bill-sub-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 24px;
  border-bottom:1px solid var(--line-soft)}
.bill-sub-row:last-child{border-bottom:0}
.bill-sub-left{display:flex;align-items:center;gap:12px}
.bill-sub-status-row{display:flex;align-items:center;gap:6px;margin-top:3px}
.bill-sub-status-dot{width:6px;height:6px;border-radius:50%}
.bill-toggle-btn{padding:7px 14px;border-radius:10px;border:1px solid var(--line);
  background:#fff;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;min-width:80px;text-align:center}
.bill-toggle-btn.tone-red{background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.2);color:#dc2626}
.bill-toggle-btn.tone-green{background:rgba(22,163,74,.10);border-color:rgba(22,163,74,.22);color:#166534}
.bill-toggle-btn.tone-blue{background:rgba(18,116,205,.08);border-color:rgba(18,116,205,.2);color:var(--blue)}
.bill-toggle-btn:disabled{opacity:.6;cursor:not-allowed}

.bill-invoice-row{display:flex;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid var(--line-soft);
  cursor:pointer;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left;font-family:inherit}
.bill-invoice-row:last-child{border-bottom:0}
.bill-invoice-row:hover{background:var(--bg)}
.bill-invoice-icon{flex:none;width:32px;height:32px;border-radius:10px;background:var(--bg);
  border:1px solid var(--line-soft);display:grid;place-items:center;color:var(--faint)}
.bill-invoice-date{font-size:13.5px;font-weight:600;color:var(--ink)}
.bill-invoice-amt{margin-top:2px;font-size:12.5px;color:var(--muted)}
.bill-invoice-pill{flex:none;border-radius:8px;padding:4px 9px;font-size:11px;font-weight:700}
.bill-invoice-pill.is-paid{background:rgba(22,163,74,.12);color:#166534}
.bill-invoice-pill.is-pending{background:rgba(230,126,0,.10);color:#a15400}
.bill-invoice-pill.is-failed{background:rgba(220,38,38,.10);color:#dc2626}

/* payouts */
.bill-summary-card{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;justify-content:space-between;
  padding:18px 24px}
.bill-summary-value{font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em;margin-top:4px}
.bill-summary-meta{margin-top:6px;font-size:12.5px;color:var(--muted)}
/* Partner page swap progress */
@keyframes ej-nav-bar{from{transform:scaleX(0)}to{transform:scaleX(.85)}}
html.ej-nav-loading::before{content:"";position:fixed;top:0;left:0;right:0;height:2px;z-index:9999;
  background:var(--blue);transform-origin:left;animation:ej-nav-bar 1.2s cubic-bezier(.2,.7,.3,1) .12s both}
/* Info tip */
.bill-label-tip{display:flex;align-items:center;gap:6px;position:relative}
.info-tip{display:inline-flex}
.info-tip:not(.bill-label-tip .info-tip){position:relative}
.info-tip-btn{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--blue);background:#fff;color:var(--blue);
  font:700 11px/1 Poppins,system-ui,sans-serif;display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;padding:0;transition:background .15s,color .15s}
.info-tip-btn:hover,.info-tip-btn:focus-visible,.info-tip.is-open .info-tip-btn{background:var(--blue);color:#fff;outline:none}
.info-tip-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:290px;max-width:calc(100vw - 48px);
  background:#fff;border:1px solid #dbe6f1;border-radius:12px;box-shadow:0 10px 30px rgba(14,42,71,.14);
  padding:14px 16px;display:flex;flex-direction:column;gap:8px;font-size:12.5px;line-height:1.5;color:var(--muted);
  text-align:left;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s}
.info-tip-pop strong{font-size:13.5px;font-weight:600;color:var(--ink)}
.info-tip:hover .info-tip-pop,.info-tip:focus-within .info-tip-pop,.info-tip.is-open .info-tip-pop{opacity:1;visibility:visible;transform:none}
.bill-connect-status{align-items:flex-end;display:flex;flex-direction:column;gap:6px}
.addslot-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;
  background:var(--scrim);padding:20px}
.addslot-card{width:100%;max-width:400px;background:#fff;border-radius:22px;padding:24px;position:relative;
  box-shadow:var(--shadow-modal)}
.addslot-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;
  background:var(--chip);border:0;display:grid;place-items:center;cursor:pointer;color:var(--soft)}
.addslot-icon{width:56px;height:56px;border-radius:18px;background:rgba(18,116,205,.10);
  display:grid;place-items:center;margin:0 auto 14px;color:var(--blue)}
.addslot-title{margin:0 0 6px;font-size:18px;font-weight:700;color:var(--ink);text-align:center;letter-spacing:-.01em}
.addslot-sub{margin:0 0 16px;font-size:13px;color:var(--muted);text-align:center;line-height:1.5}
.addslot-price-card{border-radius:16px;background:rgba(18,116,205,.05);border:1px solid rgba(18,116,205,.14);
  padding:16px;text-align:center;margin-bottom:16px;min-height:80px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:4px}
.addslot-price-label{font-size:12px;color:var(--muted)}
.addslot-price-amount{font-size:26px;font-weight:700;color:var(--ink);letter-spacing:-.02em}
.addslot-price-note{font-size:11.5px;color:var(--faint);line-height:1.4;margin-top:4px}
.addslot-price-error{font-size:13px;color:#dc2626;text-align:center;line-height:1.5}
.addslot-card-el{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:16px;background:#fff}
.addslot-error{font-size:12.5px;color:#dc2626;text-align:center;margin:-8px 0 14px}
.addslot-confirm-btn{width:100%;border-radius:999px;background:var(--blue);color:#fff;border:0;
  padding:14px;font-size:14.5px;font-weight:700;cursor:pointer;font-family:inherit;margin-bottom:10px;
  box-shadow:0 6px 18px rgba(18,116,205,.28)}
.addslot-confirm-btn:disabled{opacity:.6;cursor:not-allowed}
.addslot-skip-btn{width:100%;text-align:center;background:none;border:0;padding:6px;font-size:13px;
  color:var(--faint);cursor:pointer;font-family:inherit}
.subgate-plan{border-radius:16px;background:rgba(18,116,205,.05);border:1px solid rgba(18,116,205,.14);
  padding:16px 18px;margin-bottom:16px}
.subgate-plan-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding-bottom:13px;border-bottom:1px solid rgba(18,116,205,.14)}
.subgate-plan-name{font-size:15px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.subgate-plan-price{font-size:21px;font-weight:700;color:var(--blue);letter-spacing:-.02em}
.subgate-plan-per{font-size:12px;font-weight:500;color:var(--soft)}
.subgate-included{margin:13px 0 11px;font-size:11px;font-weight:600;letter-spacing:.09em;
  text-transform:uppercase;color:var(--faint)}
.subgate-benefit{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink);line-height:1.4}
.subgate-benefit+.subgate-benefit{margin-top:10px}
.subgate-benefit-icon{flex:none;width:26px;height:26px;border-radius:9px;display:grid;place-items:center;
  background:rgba(18,116,205,.10);color:var(--blue)}

/* ── partner account closure ── */
.close-gate-banner{display:flex;gap:10px;align-items:flex-start;background:#fffbeb;color:#92400e;
  border:1px solid #fde68a;border-radius:16px;padding:14px;font-size:12.5px;line-height:1.6;margin-bottom:18px}
.close-gate-banner svg{flex:none;margin-top:1px}
.close-booking-row{display:flex;align-items:center;gap:10px;padding:13px 0}
.close-booking-row+.close-booking-row{border-top:1px solid var(--line-soft)}
.close-booking-title{font-size:13.5px;font-weight:700;color:var(--ink)}
.close-booking-sub{font-size:12px;color:var(--muted);margin-top:2px}
.close-resolve-btn{flex:none;display:inline-flex;align-items:center;gap:5px;background:var(--blue);
  color:#fff;border:0;border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:700;
  cursor:pointer;font-family:inherit;text-decoration:none}
.close-reason-row{display:flex;gap:10px;align-items:flex-start;padding:13px 0}
.close-reason-row+.close-reason-row{border-top:1px solid var(--line-soft)}
.close-reason-icon{flex:none;width:32px;height:32px;border-radius:10px;background:var(--chip);
  display:flex;align-items:center;justify-content:center;color:var(--ink)}
.close-reason-text{font-size:13.5px;color:var(--ink);line-height:1.5}
.close-confirm-word{color:#dc2626;font-weight:700}

@media (max-width:680px){
  .acct-grid{grid-template-columns:1fr}
  .acct-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 16px;padding:20px}
  .acct-hero .btn{grid-column:1 / -1;width:100%;justify-content:center}
  .acct-hero-hint{display:none}
  .acct-card-body,.acct-card-head{padding-left:18px;padding-right:18px}
  .acct-card-foot{flex-direction:column;align-items:stretch;gap:12px;padding:14px 18px}
  .acct-card-foot .btn{width:100%;justify-content:center}
  .acct-foot-note{text-align:center}
}

/* ── admin console (admin/) ── */
.ad-brand-tag{margin-left:auto;font-size:10px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;background:rgba(255,255,255,.2);color:#fff;
  border-radius:999px;padding:3px 8px}

.ad-hello h2{margin:0;font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--ink)}
.ad-hello p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.ad-hello-flags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ad-hello-flags:empty{margin-top:0}
.ad-flag{display:inline-flex;align-items:center;border-radius:999px;padding:6px 13px;
  font-size:12.5px;font-weight:600;background:#e8f4ff;color:var(--blue-dark)}
.ad-flag:hover{background:#d9ecff;color:var(--blue-deep)}
.ad-flag-warn{background:#fdecec;color:#9e2226}
.ad-flag-warn:hover{background:#f9dcdc;color:#8a1c20}

.ad-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
.ad-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.ad-amount{font-size:13px;font-weight:600;color:var(--ink)}
.ad-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ad-count{margin:0;font-size:12.5px;color:var(--muted)}
.ad-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:0 14px;height:38px;width:min(320px,100%);color:var(--soft)}
.ad-search:focus-within{border-color:var(--blue-tint);box-shadow:0 0 0 3px rgba(18,116,205,.12)}
.ad-search input{border:0;outline:none;background:none;font-family:inherit;font-size:13.5px;
  color:var(--ink);width:100%;padding:0}
.ad-search input::-webkit-search-cancel-button{cursor:pointer}

.ad-tabs{flex-wrap:wrap;justify-content:flex-start}
.ad-tabs .bk-tab{flex:0 0 auto;padding:9px 15px}
.ad-tabs-sub .bk-tab{font-size:12px;padding:7px 13px}
.ad-views{margin-bottom:2px}

.ad-banner-btn{display:block;width:100%;text-align:left;border:1px solid #f4dcae;
  background:#fef8ec;color:#8a5a09;border-radius:14px;padding:12px 16px;font-family:inherit;
  font-size:13px;font-weight:600;cursor:pointer}
.ad-banner-btn:hover{background:#fdf2dd}
.ad-banner-info{border-color:#cfe2f8;background:#eff6ff;color:var(--blue-dark)}
.ad-banner-info:hover{background:#e4efff}

/* paid front page placement */
.ad-featured{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 10px;
  font-size:11px;font-weight:600;background:#fdf3d8;color:#8a5a09}
.ad-featured svg{flex:none}
.ad-featured.is-ended{background:var(--chip);color:var(--soft);font-weight:500}
.ad-showcase-block{margin-top:12px;border:1px solid var(--line);border-radius:14px;
  padding:4px 14px 14px;background:#fcfdff}
.ad-showcase-block .set-row{margin-top:0}
.ad-showcase-until{margin-top:4px}

/* rows */
.ad-list .cd-row{border:1px solid var(--line);border-radius:14px;padding:14px 16px;
  background:#fff;margin-bottom:10px;align-items:flex-start;gap:14px}
.ad-list .cd-row:last-child{border-bottom:1px solid var(--line)}
.ad-list .cd-row-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px}
.ad-list .cd-row-side{align-self:center;flex-wrap:wrap;justify-content:flex-end}
.ad-row-dim{opacity:.62}
.ad-dim{color:var(--soft);font-size:12.5px}
.ad-chev{color:var(--faint);flex:none}

.ad-avatar{flex:none;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;background:var(--blue);color:#fff;font-size:13px;font-weight:700}
.ad-avatar-admin{background:#7c3aed}
.ad-avatar-partner{background:var(--blue-deep)}
.ad-avatar-client{background:#2563eb}

.ad-icon-square{flex:none;width:38px;height:38px;border-radius:12px;display:flex;
  align-items:center;justify-content:center;background:var(--chip);color:var(--chip-ink)}
.ad-icon-square.is-flagged{background:#fdecec;color:#9e2226}

.ad-tag{display:inline-flex;align-items:center;border-radius:6px;padding:2px 7px;
  font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  background:var(--chip);color:var(--chip-ink)}
.ad-tag-warn{background:#fdecec;color:#9e2226}

.ad-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ad-chip{display:inline-flex;align-items:center;border-radius:999px;padding:3px 10px;
  font-size:11.5px;font-weight:500;background:var(--chip);color:var(--chip-ink)}

.ad-discount{flex:none;width:52px;height:52px;border-radius:14px;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:1px;
  background:#e8f4ff;color:var(--blue-dark)}
.ad-discount-n{font-size:14px;font-weight:700;line-height:1}
.ad-discount-off{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--blue)}

.ad-row-actions{gap:4px}
.ad-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;
  border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);cursor:pointer}
.ad-icon-btn:hover{background:var(--chip);color:var(--ink)}
.ad-icon-danger:hover{background:#fdecec;color:#9e2226;border-color:#f6d4d4}

.ad-approve-strip{display:block;width:100%;margin-top:10px;border:0;border-radius:10px;
  background:#e9f7ee;color:#166534;padding:9px 12px;font-family:inherit;font-size:12.5px;
  font-weight:600;cursor:pointer;text-align:center}
.ad-approve-strip:hover{background:#dcf1e4}

.ad-more{display:flex;justify-content:center}

/* detail pages */
.ad-detail{max-width:760px}
.ad-banner{display:flex;align-items:center;gap:14px;padding-top:18px}
.ad-banner-main{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ad-banner-date{margin:0;font-size:12.5px;color:var(--muted)}

.ad-rows{margin:0;display:flex;flex-direction:column}
.ad-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:10px 0;
  border-bottom:1px solid var(--line-soft)}
.ad-row:last-child{border-bottom:0}
.ad-row dt{margin:0;font-size:12.5px;font-weight:600;color:var(--muted)}
.ad-row dd{margin:0;font-size:13.5px;color:var(--ink);word-break:break-word}
.ad-row dd a{color:var(--blue-dark);text-decoration:underline}
.ad-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--muted)}

.ad-desc{margin-top:16px;border-top:1px solid var(--line-soft);padding-top:14px}
.ad-desc h3{margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--muted)}
.ad-desc p{margin:0;font-size:13.5px;line-height:1.65;white-space:pre-wrap}

.ad-actions{display:flex;flex-wrap:wrap;gap:10px}
.ad-actions .btn{flex:1 1 180px;justify-content:center}
.ad-approve{background:#15803d;box-shadow:0 6px 18px rgba(21,128,61,.22)}
.ad-approve:hover{background:#126432;color:#fff}
.ad-reviewed{margin:0;font-size:13.5px;color:var(--muted);text-align:center}
.ad-target-actions{margin-top:14px}
.ad-target-actions:empty{margin-top:0}

/* reported conversation transcript */
.ad-thread{display:flex;flex-direction:column;gap:10px}
.ad-msg{max-width:82%;align-self:flex-start;border:1px solid var(--line);border-radius:14px;
  padding:10px 13px;background:#fff}
.ad-msg.is-right{align-self:flex-end;background:var(--chip);border-color:var(--line-soft)}
.ad-msg.is-flagged{border-color:#eabe6a;background:#fef8ec}
.ad-msg-who{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;
  color:var(--muted);margin-bottom:4px}
.ad-msg-body{font-size:13.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.ad-msg-att{margin-top:6px;font-size:12px;color:var(--blue-dark)}
.ad-msg-time{margin-top:5px;font-size:11px;color:var(--faint)}

/* dialogs and edit sheets */
.ad-dialog{max-width:420px;text-align:left}
.ad-dialog .addslot-title{margin:0 0 8px;text-align:left}
.ad-dialog .addslot-sub{margin:0 0 18px;text-align:left}
.ad-dialog-actions{display:flex;gap:10px;justify-content:flex-end}
.ad-dialog-actions .btn{flex:0 0 auto}

.ad-sheet{align-items:center}
.ad-sheet .reqinfo-panel{width:min(560px,100%);border-radius:20px;max-height:88vh}
.ad-sheet .reqinfo-handle{display:none}
.ad-sheet-sub{margin:0 0 14px;font-size:12.5px;color:var(--muted);word-break:break-word}
.ad-sheet-grid{gap:14px}
.ad-sheet-switch{margin-top:16px}
.ad-sheet-info{margin-top:16px;border-top:1px solid var(--line-soft);padding-top:6px}
.ad-sheet-info .ad-row{grid-template-columns:110px minmax(0,1fr);padding:8px 0}
.ad-sheet-hint{margin-top:10px}
.ad-sheet-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}

@media (max-width:1100px){
  .ad-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-cols{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:680px){
  .ad-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ad-toolbar{align-items:stretch;flex-direction:column;gap:10px}
  .ad-search{width:100%}
  .ad-list .cd-row{flex-wrap:wrap;padding:12px 14px}
  .ad-list .cd-row-side{width:100%;justify-content:flex-start;margin-top:8px}
  .ad-row{grid-template-columns:minmax(0,1fr);gap:3px}
  .ad-sheet-info .ad-row{grid-template-columns:minmax(0,1fr)}
  .ad-actions .btn{flex:1 1 100%}
  .ad-dialog-actions{flex-direction:column-reverse}
  .ad-dialog-actions .btn{width:100%;justify-content:center}
  .ad-sheet-foot{flex-direction:column-reverse}
  .ad-sheet-foot .btn{width:100%;justify-content:center}
  .ad-msg{max-width:94%}
}

/* ── press feedback ── */
.btn,.btn-signin,.cat,.chip,.pill,.fav,.view-saved,.btn-more,
.bk-tab,.sv-filter,.nt-filter,.msg-pill,.msg-filter-btn,.ad-icon-btn,
.cal-nav-btn,.row-nav,.bkm-nav,.lst-service-chip,.lst-week-day,
.msg-head-btn,.msg-back,.msg-side-btn,.social a{
  transition:background var(--t-base) ease,border-color var(--t-base) ease,
             color var(--t-base) ease,box-shadow var(--t-base) ease,
             transform var(--t-fast) ease}

@media (prefers-reduced-motion: no-preference){
  .btn:active,.btn-signin:active,.cat:active,.chip:active,.pill:active,
  .fav:active,.view-saved:active,.btn-more:active,.bk-tab:active,
  .sv-filter:active,.nt-filter:active,.msg-pill:active,.ad-icon-btn:active,
  .cal-nav-btn:active,.row-nav:active,.bkm-nav:active,
  .lst-service-chip:active,.lst-week-day:active,
  .msg-head-btn:active,.msg-back:active,.social a:active{transform:scale(.96)}
  .card:active,.cd-tile:active,.bk-card:active,.deal-card:active,
  .pdash-quick-item:active,.ad-list .cd-row:active{
    transform:translateY(0);transition-duration:.08s}
}
.btn:active,.btn-signin:active,.btn-more:active{filter:brightness(.96)}

/* ── button transitions ── */
.btn-solid,
  .btn-ghost,
  .btn-ghost-line,
  .btn-danger,
  .btn-white{
  transition:background var(--t-base) ease,border-color var(--t-base) ease,
             color var(--t-base) ease,box-shadow var(--t-base) ease,
             transform var(--t-fast) ease}
.pill:hover{background:var(--hover-tint);border-color:#cfdcec}
.pill.on:hover{background:var(--hover-tint)}
.ad-list .cd-row{transition:border-color var(--t-base) ease,box-shadow var(--t-base) ease}
.ad-list .cd-row:hover{border-color:var(--blue-tint);box-shadow:var(--shadow-card)}
.pdash-quick-item,.pdash-browse{
  transition:box-shadow .18s ease,transform .18s ease,background var(--t-base) ease}
@media (prefers-reduced-motion: no-preference){
  .pdash-quick-item:hover{transform:translateY(-2px)}
}
.insp{transition:opacity var(--t-base) ease,transform .18s ease,box-shadow .18s ease}
@media (prefers-reduced-motion: no-preference){
  .insp:hover{transform:translateY(-3px)}
}
.msg-row{transition:background var(--t-base) ease}
.nt-row,.nt-item,.cd-row{transition:background var(--t-base) ease}

/* ── focus ── */
.search:focus-within,
.insp-search-field:focus-within,
.msg-search:focus-within{box-shadow:0 0 0 3px rgba(255,255,255,.35)}
.insp-search-field:focus-within,
.msg-search:focus-within{border-color:var(--blue-tint);box-shadow:0 0 0 3px rgba(18,116,205,.12)}

.finput:focus,select.finput:focus{
  outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(18,116,205,.12)}
.finput,select.finput,.field-input,.msg-input{
  transition:border-color var(--t-base) ease,box-shadow var(--t-base) ease}
.topbar :focus-visible,
  .hhero :focus-visible,
  .cs-sidebar :focus-visible,
  .cs-topbar :focus-visible,
  .msg-head :focus-visible,
  .cta-panel :focus-visible,
  .auth-aside :focus-visible,
  .appband :focus-visible,
  .btn-danger:focus-visible{outline-color:#fff}
.nt-list .nt-row:focus-visible,
.nt-pop .nt-item:focus-visible,
.nt-pop .nt-viewall:focus-visible,
.msg-inbox .msg-row:focus-visible{
  outline:none;box-shadow:inset 0 0 0 2px var(--blue)}

/* ── form validation ── */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"],
.field-input.is-error,
.finput.is-error{
  border-color:#d64545;background:#fffafa}
input[aria-invalid="true"]:focus,
select[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus,
.field-input.is-error:focus,
.finput.is-error:focus{
  border-color:#d64545;box-shadow:0 0 0 3px rgba(214,69,69,.14)}
input[type="checkbox"][aria-invalid="true"],
input[type="radio"][aria-invalid="true"]{
  outline:2px solid #d64545;outline-offset:2px;background:transparent}

/* ── the save heart ── */
.fav{transition:background var(--t-base) ease,transform var(--t-fast) ease}
.fav.is-pending{opacity:.75}
@media (prefers-reduced-motion: no-preference){
  .fav.on{animation:ej-pop .22s ease}
}
@keyframes ej-pop{
  0%{transform:scale(1)}
  45%{transform:scale(1.22)}
  100%{transform:scale(1)}
}

/* ── image fade ── */
.js-fade .card .media img,
.js-fade .insp-tile .thumb img,
.js-fade .bk-thumb img,
.js-fade .lst-thumb img,
.js-fade .gallery img{opacity:0}
.js-fade .card .media img.is-loaded,
.js-fade .insp-tile .thumb img.is-loaded,
.js-fade .bk-thumb img.is-loaded,
.js-fade .lst-thumb img.is-loaded,
.js-fade .gallery img.is-loaded{opacity:1}
@media (prefers-reduced-motion: no-preference){
  .js-fade .card .media img,
  .js-fade .insp-tile .thumb img,
  .js-fade .bk-thumb img,
  .js-fade .lst-thumb img,
  .js-fade .gallery img{transition:opacity .3s ease}
}
@media (prefers-reduced-motion: reduce){
  .js-fade .card .media img,
  .js-fade .insp-tile .thumb img,
  .js-fade .bk-thumb img,
  .js-fade .lst-thumb img,
  .js-fade .gallery img{opacity:1}
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce){
  .msg-img-load,.pay-spinner,.msg-typing span{animation:none}
  .msg-img-load,.pay-spinner{border-color:var(--line);border-top-color:var(--blue)}
  .msg-typing span{opacity:.55}
  .msg-typing span:nth-child(2){opacity:.75}
  .msg-typing span:nth-child(3){opacity:.95}
}

/* ── touch targets ── */
.lst-photo-remove,.lst-row-remove,.msg-attach-x,.bkm-clear,.nt-readall,
.inline-link{position:relative}
.lst-photo-remove::after,.lst-row-remove::after,.msg-attach-x::after,
.bkm-clear::after,.nt-readall::after,.inline-link::after{
  content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:max(100%,44px);height:max(100%,44px)}

@media (max-width:680px){
  .fav{width:36px;height:36px}
  .msg-back{width:40px;height:40px}
  .nt-bell,.search-toggle{width:40px;height:40px}
  .msg-cancel-card{width:94%;padding:14px}
}

/* ── loading placeholders ── */
.cal-cell.is-skeleton{
  background:var(--chip);border-color:transparent;pointer-events:none;
  min-height:44px;border-radius:10px}
.cd-row.is-skeleton{pointer-events:none}
.cd-row.is-skeleton .cd-row-main{display:flex;flex-direction:column;gap:8px;flex:1}
.sk-row-date{width:44px;height:44px;flex:none;border-radius:12px}
.ad-tile.is-skeleton .ad-tile-value{color:transparent}

/* ── actionable empty states ── */
.empty-actionable{
  grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:44px 20px;text-align:center;color:var(--muted);font-size:14px}
.empty-actionable p{margin:0}

/* ── loading text ── */
.bk-empty p .ej-spinner,
.empty .ej-spinner,
.set-empty .ej-spinner{
  display:inline-block;vertical-align:-4px;margin-right:9px;
  width:15px;height:15px;border-width:2px}

/* ── protected page chrome ── */
html.cs-guarding body.client-page:not(.cs-ready) .cs-main,
html.cs-guarding body.client-page:not(.cs-ready) .cs-sidebar{visibility:hidden}

/* ── delete account panel ── */
.da-panel{margin:4px 0 26px;padding:24px;border:1px solid var(--line);
  border-radius:18px;background:var(--chip)}
.da-title{margin:0 0 10px;font-size:16px;font-weight:700;color:var(--ink)}
.da-panel p{margin:0 0 12px;font-size:14px;line-height:1.7;color:var(--muted)}
.da-muted{color:var(--soft)}
.da-who{font-weight:600;color:var(--ink)}
.da-label{display:block;margin:14px 0 6px;font-size:13px;font-weight:600;color:var(--ink)}
.da-input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;
  background:#fff;font:inherit;font-size:14px;color:var(--ink);resize:vertical}
.da-input:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:transparent}
.da-btn{width:100%;justify-content:center;margin-top:16px}
.da-btn-danger{background:#b3261e;border-color:#b3261e}
.da-btn-danger:hover:not(:disabled){background:#9a1f19;border-color:#9a1f19}
.da-btn:disabled{opacity:.55;cursor:not-allowed}
.da-alt{margin:14px 0 0;font-size:13px;color:var(--soft)}
.da-panel .auth-alert{margin-top:14px}

/* ── launch free period note ── */
.subgate-free-note{margin:14px 0 0;font-size:12px;line-height:1.6}

/* ── app store badges while the app is unreleased ── */
.app-badge.is-soon{cursor:default;opacity:.62;filter:grayscale(.4)}
.app-badge.is-soon:hover{opacity:.62;transform:none}
.ab-soon{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;
  background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);
  border-radius:999px;padding:5px 13px;font-size:11.5px;font-weight:600}
.ab-soon-dot{width:6px;height:6px;border-radius:50%;background:#4ade80}

/* ── Social sign-in ────────────────────────────────────────────────────────── */
.btn-google{justify-content:center;width:100%;gap:11px;padding:12px 22px;font-size:14.5px;
  background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow-pill);
  transition:background var(--t-base),border-color var(--t-base),box-shadow var(--t-base)}
.btn-google:hover:not(:disabled){background:var(--hover-tint);border-color:#cfdbe9}
.btn-google:disabled{opacity:.6;cursor:default}
.btn-google.is-busy span::after{content:'…'}
.btn-google svg{flex:0 0 auto}

.auth-or{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--faint);
  font-size:12.5px;font-weight:600;text-transform:lowercase}
.auth-or::before,.auth-or::after{content:'';flex:1;height:1px;background:var(--line)}
