:root {
  --teal: #4AA3A2;
  --blue: #4A919E;
  --ink: #17313a;
  --ink-2: #294b54;
  --cream: #f7f1df;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #d9e5e4;
  --muted: #6b7d82;
  --success: #2f7f66;
  --warning: #b67931;
  --danger: #ae4d4d;
  --shadow: 0 24px 70px rgba(22, 49, 58, .16);
  --radius: 18px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
html.dashboard-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
input, textarea, select { color-scheme: light; caret-color: var(--ink); }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]), textarea { cursor: text; }
select, input[type="checkbox"], input[type="radio"], input[type="range"] { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.promo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  height: 30px;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 30px;
  z-index: 50;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 3.2vw;
  background: rgba(23,49,58,.97);
  color: white;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { justify-self: center; width: 200px; }
.brand img { width: 100%; filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 24px; justify-self: start; }
.main-nav a {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -8px;
  height: 2px;
  background: var(--teal);
  transition: right .2s ease;
}
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 9px; align-items: center; justify-self: end; }
.icon-button, .account-button {
  position: relative;
  border: 1px solid rgba(255,255,255,.17);
  color: white;
  background: transparent;
  border-radius: 999px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.icon-button { width: 42px; }
.icon-button svg, .account-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-button { gap: 8px; padding: 0 15px; font-weight: 800; font-size: 12px; }
.icon-button:hover, .account-button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.notification-dot { position: absolute; right: 4px; top: 4px; width: 9px; height: 9px; background: #f3c86a; border: 2px solid var(--ink); border-radius: 50%; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  /* margin: 14px; */
  min-height: calc(100vh - 126px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: saturate(.75) contrast(.95); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,42,.79) 0%, rgba(11,34,42,.48) 45%, rgba(11,34,42,.06) 72%), linear-gradient(0deg, rgba(11,34,42,.33), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(670px, 80%); margin-left: clamp(28px, 7vw, 110px); color: white; padding: 80px 0 120px; }
.eyebrow { margin: 0 0 16px; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #b7efec; }
.eyebrow.dark { color: var(--blue); }
.hero h1 { margin: 0; max-width: 680px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 7vw, 105px); line-height: .92; letter-spacing: -.045em; font-weight: 500; }
.hero-content > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; color: rgba(255,255,255,.88); }
.hero-actions { margin-top: 34px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.button {
  border: 0;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .065em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--cream); box-shadow: 4px 4px 0 var(--blue); }
.button-primary { color: white; background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 12px 30px rgba(74,163,162,.25); }
.button-ghost { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.button.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 850; }
.text-link span, .card-link span { transition: transform .2s ease; }
.text-link:hover span, .card-link:hover span { transform: translateX(5px); }
.light { color: white; }
.hero-trust { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 50px; padding: 16px 22px; color: white; background: rgba(16,42,50,.82); backdrop-filter: blur(14px); font-size: 12px; font-weight: 800; letter-spacing: .035em; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.intro { padding: 110px 0 120px; }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading h2, .process-copy h2, .cta-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.section-heading > p:last-child, .process-copy > p { max-width: 660px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 520px; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .32s ease, box-shadow .32s ease; }
.service-card:hover, .service-card:focus-within { z-index: 2; transform: translateY(-7px) scale(1.035); box-shadow: 0 22px 50px rgba(12, 36, 44, .22); }
.service-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover img, .service-card:focus-within img { transform: scale(1.07); }
.service-card-image:nth-child(1) img { object-position: 45% center; }
.service-card-image:nth-child(2) img { object-position: center; }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,36,44,.92), rgba(12,36,44,.05) 68%); }
.service-card-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; color: white; }
.service-number { display: block; margin-bottom: 20px; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.service-card h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.title-detail { display: block; margin-top: 5px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-card p { margin: 0 0 22px; line-height: 1.65; opacity: .88; }
.card-link { padding: 0; border: 0; background: transparent; color: inherit; display: inline-flex; align-items: center; gap: 10px; font-weight: 850; }
.service-card .card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-link:focus-visible { outline: none; }
.service-card:has(.card-link:focus-visible) { outline: 3px solid var(--teal); outline-offset: 5px; }
.service-card-accent { padding: 38px; background: linear-gradient(145deg, var(--teal), var(--blue)); color: white; display: flex; flex-direction: column; }
.service-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 25px; margin-bottom: auto; }
.service-card-accent ul { margin: 8px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.service-card-accent li::before { content: "✓"; margin-right: 10px; font-weight: 900; }
.dark-link { color: white; }

/* Pages de service */
.service-page .site-header { position: sticky; }
.service-page .brand { justify-self: start; }
.service-header-back { justify-self: end; color: #b7efec; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.service-hero { position: relative; width: min(1040px, calc(100% - 48px)); min-height: 430px; margin: 72px auto 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 24px; background: var(--ink); color: white; box-shadow: var(--shadow); }
.service-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.service-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,42,50,.82), rgba(15,42,50,.18)); }
.service-hero-content { position: relative; z-index: 1; width: min(820px, calc(100% - 44px)); padding: 60px 20px; text-align: center; }
.service-hero h1 { margin: 10px 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 82px); line-height: .98; font-weight: 500; letter-spacing: -.045em; }
.service-hero p:last-child { margin: 0; font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.92); }
.service-detail { padding: 100px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: start; }
.service-copy h2, .pricing-section h2 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; font-weight: 500; }
.service-copy > p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.included-card { padding: 34px; border-radius: var(--radius); background: var(--cream); }
.included-card h3 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.included-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.included-card li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; line-height: 1.55; }
.included-card li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: white; font-size: 12px; font-weight: 900; }
.pricing-section { padding: 100px 0; background: var(--cream); }
.pricing-intro { max-width: 690px; margin: -10px 0 42px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-grid.single-price-grid { grid-template-columns: minmax(280px, 520px); justify-content: center; }
.price-card { display: flex; flex-direction: column; min-height: 300px; padding: 32px; border: 1px solid rgba(74,145,158,.2); border-radius: var(--radius); background: white; }
.price-card.featured { color: white; background: linear-gradient(145deg, var(--teal), var(--blue)); transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 500; }
.price-card p { margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.price-card.featured p { color: rgba(255,255,255,.8); }
.education-price-card { padding: 0; overflow: hidden; }
.education-price-card > img { width: 100%; height: 180px; display: block; object-fit: cover; }
.education-price-body { min-height: 250px; padding: 28px 32px 32px; display: flex; flex: 1; flex-direction: column; }
.price { margin-top: auto; font-family: Georgia, "Times New Roman", serif; font-size: 46px; }
.price small { font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; opacity: .75; }
.service-cta { padding: 70px 0; }
.service-cta h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5vw, 58px); font-weight: 500; }
.service-cta p { margin: 0; max-width: 620px; color: rgba(255,255,255,.72); line-height: 1.65; }
.appointment-panel { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 50px 54px; border-radius: 22px; color: white; background: var(--ink); box-shadow: 0 20px 55px rgba(23,49,58,.16); }
.appointment-kicker { display: block; margin-bottom: 12px; color: #b7efec; font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.appointment-button { min-width: 260px; min-height: 82px; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 18px; border-radius: 12px; color: var(--ink); background: var(--cream); box-shadow: 5px 5px 0 var(--teal); transition: transform .2s ease, box-shadow .2s ease; }
.appointment-button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--teal); }
.appointment-button span { align-self: end; font-size: 15px; font-weight: 900; }
.appointment-button small { align-self: start; color: var(--muted); font-size: 11px; }
.appointment-button b { grid-column: 2; grid-row: 1 / span 2; font-size: 26px; transition: transform .2s ease; }
.appointment-button:hover b { transform: translateX(4px); }

.process { padding: 110px 0; background: var(--cream); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.process-copy .button { margin-top: 20px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px; border: 1px solid rgba(74,145,158,.2); background: rgba(255,255,255,.72); border-radius: 14px; }
.steps li > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.steps strong { display: block; margin-bottom: 6px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.6; }

.quote-section { padding: 110px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.quote-photo { min-height: 540px; overflow: hidden; border-radius: var(--radius); }
.quote-photo img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; object-position: center; }
blockquote { margin: 0; }
blockquote p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.1; letter-spacing: -.035em; }
blockquote footer { margin-top: 24px; color: var(--blue); font-weight: 850; }

.cta-section { min-height: 270px; padding: 45px clamp(28px, 7vw, 100px); display: grid; grid-template-columns: 120px 1fr auto; gap: 42px; align-items: center; background: var(--cream); }
.cta-section img { width: 115px; }
.cta-section h2 { font-size: clamp(38px, 4.5vw, 65px); }

.site-footer { background: var(--ink); color: white; }
.footer-main { padding: 80px 0; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 65px; }
.footer-brand img { width: 220px; filter: brightness(0) invert(1); margin-bottom: 22px; }
.footer-main h3 { margin: 0 0 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #b7efec; }
.footer-main p, .footer-main a, .footer-link { display: block; margin: 0 0 11px; color: rgba(255,255,255,.72); line-height: 1.6; font-size: 14px; }
[data-site-optional][hidden] { display: none !important; }
.footer-link { padding: 0; border: 0; background: transparent; }
.footer-main a:hover, .footer-link:hover { color: white; }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); font-size: 12px; }

.modal-backdrop, .app-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(9,27,34,.72); backdrop-filter: blur(10px); padding: 22px; overflow-y: auto; }
.modal-backdrop[hidden], .app-overlay[hidden] { display: none; }
.modal-backdrop, .booking-details-modal, .dashboard-main, .dashboard-content, .dog-tabs, html { scrollbar-width: thin; scrollbar-color: #4aa3a2 #e7efed; }
.modal-backdrop::-webkit-scrollbar, .booking-details-modal::-webkit-scrollbar, .dashboard-main::-webkit-scrollbar, .dashboard-content::-webkit-scrollbar, .dog-tabs::-webkit-scrollbar, html::-webkit-scrollbar { width: 10px; height: 8px; }
.modal-backdrop::-webkit-scrollbar-track, .booking-details-modal::-webkit-scrollbar-track, .dashboard-main::-webkit-scrollbar-track, .dashboard-content::-webkit-scrollbar-track, .dog-tabs::-webkit-scrollbar-track, html::-webkit-scrollbar-track { border-radius: 999px; background: #e7efed; }
.modal-backdrop::-webkit-scrollbar-thumb, .booking-details-modal::-webkit-scrollbar-thumb, .dashboard-main::-webkit-scrollbar-thumb, .dashboard-content::-webkit-scrollbar-thumb, .dog-tabs::-webkit-scrollbar-thumb, html::-webkit-scrollbar-thumb { min-height: 42px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(180deg,#64bbb2,#2f8584); background-clip: padding-box; }
.modal-backdrop::-webkit-scrollbar-thumb:hover, .booking-details-modal::-webkit-scrollbar-thumb:hover, .dashboard-main::-webkit-scrollbar-thumb:hover, .dashboard-content::-webkit-scrollbar-thumb:hover, .dog-tabs::-webkit-scrollbar-thumb:hover, html::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,#4fa9a2,#236e70); background-clip: padding-box; }
.modal { position: relative; width: min(570px, 100%); margin: 40px auto; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: 40px; }
#bookingModal { padding: 12px; overflow: hidden; }
.booking-modal { width: 100%; max-width: none; height: calc(100vh - 24px); min-height: 0; margin: 0 auto; padding: 20px 24px; display: flex; flex-direction: column; overflow: hidden; }
.modal-close { position: absolute; right: 18px; top: 14px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 28px; }
.auth-brand { width: 86px; margin: 0 auto 12px; }
.auth-modal h2, .booking-header h2 { margin: 0; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 500; }
.modal-lead, .booking-header > p:last-child { text-align: center; color: var(--muted); line-height: 1.55; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 5px; margin: 26px 0; background: #eaf1f0; border-radius: 10px; }
.tab { min-height: 42px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-weight: 850; }
.tab.active { color: var(--ink); background: white; box-shadow: 0 4px 14px rgba(30,60,68,.08); }
.auth-form, .booking-form { display: grid; gap: 17px; }
.auth-form[hidden] { display: none; }
label { display: grid; gap: 8px; color: var(--ink-2); font-size: 12px; font-weight: 850; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; background: white; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74,163,162,.13); }
.check-row { grid-template-columns: auto 1fr; align-items: center; font-weight: 600; color: var(--muted); }
.check-row input { width: 17px; height: 17px; accent-color: var(--teal); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { margin: 0; min-height: 18px; color: var(--danger); font-size: 12px; font-weight: 700; }
.password-requirements { margin: -8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.password-requirements li, .password-match { position: relative; margin: 0; padding-left: 21px; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.4; }
.password-requirements li::before, .password-match::before { content: "○"; position: absolute; left: 0; top: 0; font-weight: 900; }
.password-requirements li.is-valid, .password-match.is-valid { color: var(--success); }
.password-requirements li.is-valid::before, .password-match.is-valid::before { content: "✓"; }
.password-requirements li.is-invalid, .password-match.is-invalid { color: var(--danger); }
.password-requirements li.is-invalid::before, .password-match.is-invalid::before { content: "×"; }
.account-activation-notice { padding: 14px 16px; border: 1px solid #9ccfc2; border-radius: 11px; color: #245f52; background: #eaf7f2; }
.account-activation-notice strong, .account-activation-notice span { display: block; }
.account-activation-notice strong { font-size: 12px; }
.account-activation-notice span { margin-top: 4px; font-size: 10px; line-height: 1.5; }
.booking-header { flex: 0 0 auto; margin-bottom: 14px; }
.booking-header .eyebrow { text-align: center; }
.booking-modal .booking-header h2 { font-size: 23px; }
.booking-modal .booking-header .eyebrow { margin: 0 0 6px; }
.booking-modal .booking-header > p:last-child { margin: 3px 0 0; font-size: 10px; }
.booking-modal .booking-form { min-height: 0; flex: 1; overflow: hidden; }
.booking-form:has(.booking-how-it-works) { grid-template-rows: auto minmax(0,1fr); gap: 10px; }
.booking-how-it-works { min-width: 0; padding: 5px 7px 5px 11px; display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,.55fr); align-items: center; gap: 10px; overflow: hidden; border: 1px solid #d5e7e3; border-radius: 11px; color: var(--muted); background: #f1f8f6; font-size: 9px; }
.booking-guide-copy { min-width: 0; display: flex; align-items: center; gap: 8px 14px; overflow: hidden; white-space: nowrap; }
.booking-guide-copy > strong { flex: 0 0 auto; color: var(--ink); font-size: 10px; }
.booking-guide-copy span { display: inline-flex; align-items: center; gap: 5px; }
.booking-guide-copy b { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; border-radius: 50%; color: white; background: var(--teal); font-size: 8px; }
.booking-how-it-works > .dog-profile-bar { width: 100%; min-height: 36px; padding: 0 4px 0 10px; grid-template-columns: minmax(0,1fr) auto; gap: 7px; border: 0; border-left: 1px solid #c9dfda; border-radius: 0; background: transparent; box-shadow: none; }
.booking-how-it-works > .dog-profile-bar .dog-tabs button { min-height: 32px; }
.booking-how-it-works > .dog-profile-bar .dog-profile-actions button { width: 32px; height: 32px; background: rgba(255,255,255,.72); }
.booking-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 15px; }
.booking-form legend { width: 100%; padding: 20px 0 12px; border-top: 1px solid var(--line); font-family: Georgia, "Times New Roman", serif; font-size: 24px; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-card { display: block; position: relative; }
.choice-card input { position: absolute; opacity: 0; }
.choice-card span { display: grid; gap: 4px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; transition: border .2s, background .2s, transform .2s; }
.choice-card input:checked + span { border: 2px solid var(--teal); background: rgba(74,163,162,.07); transform: translateY(-2px); }
.choice-card small { color: var(--muted); font-weight: 600; }
.booking-total { padding: 20px; background: var(--cream); border-radius: 12px; }
.booking-total > div { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.booking-total strong { font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.booking-total strong:has(del) { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 9px; }
.booking-total strong del { color: #8b9a9d; font-family: Inter,ui-sans-serif,system-ui,sans-serif; font-size: .48em; font-weight: 700; text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.booking-total strong > span { color: #24735f; }
.admin-client-final-total b:has(del) { display: flex; align-items: baseline; gap: 8px; }
.admin-client-final-total b del { color: var(--muted); font-size: 12px; text-decoration-color: var(--danger); text-decoration-thickness: 2px; }
.admin-client-final-total b span { color: #24735f; }
.booking-total small { color: var(--muted); }

.booking-builder { width: 100%; height: auto; min-height: 0; display: grid; grid-template-columns: minmax(250px,.72fr) minmax(380px,1.28fr) minmax(250px,.7fr); grid-template-rows: auto auto; gap: 12px 14px; align-items: start; }
.booking-builder-services, .booking-builder-dogs, .booking-builder-options { min-width: 0; min-height: 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfc; overflow: visible; }
.booking-builder-services { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.booking-builder-dogs { position: relative; grid-column: 2; grid-row: 2; background: #f4f8f7; }
.booking-builder-options { position: sticky; top: 12px; grid-column: 3; grid-row: 1 / span 2; align-self: start; display: grid; grid-template-rows: auto auto auto auto auto auto; align-content: start; gap: 12px; }
.booking-builder:has(> .admin-client-picker) > .admin-client-picker { grid-row: 1; }
.booking-builder:has(> .admin-client-picker) > .dog-profile-bar { grid-row: 2; }
.booking-builder:has(> .admin-client-picker) > .booking-builder-services { grid-row: 2 / span 2; }
.booking-builder:has(> .admin-client-picker) > .booking-builder-dogs { grid-row: 3; }
.booking-builder:has(> .admin-client-picker) > .booking-builder-options { grid-row: 2 / span 2; }
.dog-profile-bar { grid-column: 2; grid-row: 1; min-width: 0; min-height: 48px; padding: 5px 8px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 5px 18px rgba(18,43,51,.05); }
.dog-profile-bar-title { display: none; }
.dog-profile-bar-title strong, .dog-profile-bar-title small { display: block; }
.dog-profile-bar-title strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 500; }
.dog-profile-bar-title small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.dog-profile-bar .dog-tabs { align-self: stretch; justify-content: flex-start; }
.dog-profile-actions { display: flex; align-items: center; gap: 6px; }
.dog-profile-actions button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #f8fbfa; }
.dog-profile-actions button:hover { color: var(--teal); border-color: var(--teal); background: white; }
.dog-profile-actions button.remove-dog { color: var(--danger); }
.dog-profile-actions button:disabled { opacity: .35; cursor: not-allowed; }
.dog-profile-actions svg, .dog-profile-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.builder-heading { margin-bottom: 16px; display: flex; align-items: center; gap: 11px; }
.builder-heading > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--ink); font-size: 10px; font-weight: 900; }
.builder-heading strong, .builder-heading small { display: block; }
.builder-heading strong { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.builder-heading small { margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 650; }
.service-visual-list { min-height: 0; flex: 1; display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(138px,auto)); gap: 10px; }
.service-visual-card { position: relative; display: block; min-width: 0; min-height: 118px; }
.service-visual-card > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.service-visual-preview { position: relative; width: 100%; height: 100%; min-height: 0; padding: 0; display: block; overflow: hidden; border: 2px solid transparent; border-radius: 13px; color: white; background: var(--ink); text-align: left; box-shadow: 0 8px 20px rgba(18,43,51,.09); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-visual-card img, .service-visual-card i { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-visual-card img { max-width: none; object-fit: cover; object-position: center; }
.service-visual-card:nth-child(2) img { object-position: center 42%; }
.service-visual-card:nth-child(3) img { object-position: 62% center; }
.service-visual-card:nth-child(4) img { object-position: 35% center; }
.service-visual-card i { background: linear-gradient(0deg, rgba(11,34,42,.94), rgba(11,34,42,.08) 78%); }
.service-visual-copy { position: absolute; z-index: 1; inset: auto 0 0; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.service-visual-card b, .service-visual-card small, .service-visual-card em { position: relative; z-index: 1; }
.service-visual-card b { font-size: 13px; }
.service-visual-card small { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 600; line-height: 1.35; }
.service-visual-card em { margin-top: 5px; color: #c8f3ed; font-size: 9px; font-style: normal; font-weight: 900; }
.service-visual-card:hover .service-visual-preview { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18,43,51,.17); }
.service-visual-card.is-selected .service-visual-preview { border-color: #83ddd2; box-shadow: 0 0 0 3px rgba(74,163,162,.18), 0 12px 26px rgba(18,43,51,.15); }
.service-visual-card.is-open .service-visual-preview { border-color: white; box-shadow: 0 0 0 3px rgba(42,107,126,.35), 0 12px 26px rgba(18,43,51,.18); }
.service-visual-card.is-open .service-visual-preview::before { content: "Fiche affichée"; position: absolute; z-index: 3; left: 10px; top: 10px; min-height: 27px; padding: 0 9px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.94); font-size: 8px; font-weight: 950; }
.service-selection-toggle { position: absolute; z-index: 4; right: 10px; top: 10px; min-height: 29px; padding: 0 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; color: white; background: rgba(12,36,44,.78); backdrop-filter: blur(6px); font-size: 8px; font-weight: 950; letter-spacing: .01em; box-shadow: 0 4px 12px rgba(0,0,0,.13); }
.service-selection-toggle:hover, .service-selection-toggle:focus-visible { color: var(--ink); border-color: #c8f3ed; background: white; outline: none; }
.service-visual-card.is-selected .service-selection-toggle { color: var(--ink); border-color: #c8f3ed; background: #c8f3ed; }
.service-visual-card.is-selected .service-selection-toggle:hover, .service-visual-card.is-selected .service-selection-toggle:focus-visible { color: #8f3030; border-color: #f1c6c6; background: #fff1f1; }
.service-visual-preview:focus-visible { outline: 3px solid rgba(74,163,162,.34); outline-offset: 2px; }
.default-stay-dates { margin-bottom: 12px; padding: 11px 13px; display: grid; grid-template-columns: minmax(130px,.7fr) 1.3fr; gap: 12px; align-items: end; border: 1px solid #d9e8e5; border-radius: 12px; background: #eff7f5; }
.default-stay-dates strong, .default-stay-dates small { display: block; }
.default-stay-dates strong { font-size: 12px; }
.default-stay-dates small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.dog-tabs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.dog-tabs { min-width: 0; display: flex; gap: 3px; overflow-x: auto; }
.dog-tabs button { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 11px; font-weight: 850; }
.dog-tabs button img { width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; opacity: .55; transition: opacity .2s ease, transform .2s ease; }
.dog-tabs button.active { color: var(--ink); border-bottom-color: var(--teal); }
.dog-tabs button.active img { opacity: 1; transform: scale(1.06); }
.add-dog-button { min-height: 34px; padding: 0 11px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 10px; font-weight: 850; }
.add-dog-button span { margin-right: 4px; color: var(--teal); font-size: 16px; }
.add-dog-button:hover { border-color: var(--teal); }
.add-dog-button:disabled { opacity: .45; cursor: not-allowed; }
.dog-panel { position: relative; display: none; padding-top: 10px; }
.dog-panel.active { display: grid; gap: 9px; }
.active-dog-summary { padding: 8px 10px; display: flex; align-items: center; gap: 9px; border-radius: 10px; background: #edf6f4; }
.active-dog-summary > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 50%; color: white; background: var(--teal); font-size: 9px; font-weight: 900; }
.active-dog-summary strong, .active-dog-summary small { display: block; }
.active-dog-summary strong { font-size: 11px; }
.active-dog-summary small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.dog-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dog-panel-header strong, .dog-panel-header small { display: block; }
.dog-panel-header strong { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.dog-panel-header small { margin-top: 3px; color: var(--teal); font-size: 10px; font-weight: 800; }
.dog-panel-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.dog-panel-actions button, .dog-custom-dates > button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: white; font-size: 9px; font-weight: 850; }
.dog-panel-actions .remove-dog { color: var(--danger); }
.booking-modal .dog-panel input, .dashboard-content.booking-view .dog-panel input { padding-top: 9px; padding-bottom: 9px; }
.booking-modal .dog-panel textarea, .dashboard-content.booking-view .dog-panel textarea { min-height: 58px; max-height: 70px; padding-top: 9px; padding-bottom: 9px; resize: none; }
.dog-custom-dates { position: absolute; z-index: 8; top: 48px; right: 0; width: min(520px, 100%); padding: 13px; border: 1px solid rgba(74,163,162,.25); border-radius: 11px; background: #f3faf8; box-shadow: 0 16px 35px rgba(18,43,51,.16); }
.dog-custom-dates[hidden] { display: none; }
.dog-custom-dates-note { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--teal); color: var(--ink-2); background: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; line-height: 1.5; }
.dog-custom-dates > button { margin-top: 10px; }
.service-data-empty { min-height: 88px; padding: 18px; display: flex; flex-direction: column; justify-content: center; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); background: #fbfdfc; text-align: center; }
.service-data-empty[hidden], .service-specific-data[hidden] { display: none; }
.education-package-field { padding: 13px; display: grid; gap: 7px; border: 1px solid #c8dce3; border-radius: 10px; color: var(--ink); background: #f1f7f8; font-weight: 850; }
.education-package-field select { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font: inherit; }
.education-package-field small { color: var(--muted); font-size: 9px; font-weight: 650; }
.education-package-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.education-package-card { position: relative; min-width: 0; min-height: 170px; padding: 0; overflow: hidden; display: flex; align-items: flex-end; border: 2px solid transparent; border-radius: 13px; color: white; background: var(--ink); text-align: left; box-shadow: 0 7px 18px rgba(20,52,59,.12); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.education-package-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: transform .25s ease, opacity .2s ease; }
.education-package-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(11,39,46,.96)); }
.education-package-card span { position: relative; z-index: 1; min-width: 0; padding: 14px 12px; display: block; }
.education-package-card b, .education-package-card small { display: block; }
.education-package-card b { font-family: Georgia,"Times New Roman",serif; font-size: 18px; font-weight: 500; }
.education-package-card small { margin-top: 4px; color: rgba(255,255,255,.82); font-size: 9px; line-height: 1.4; }
.education-package-card em { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 6px 9px; border-radius: 999px; color: var(--ink); background: #fff5dd; font-size: 11px; font-style: normal; font-weight: 950; box-shadow: 0 4px 10px rgba(0,0,0,.16); }
.education-package-card:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20,52,59,.18); }
.education-package-card:hover img { transform: scale(1.04); opacity: .76; }
.education-package-card.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74,163,162,.2),0 10px 24px rgba(20,52,59,.16); }
.education-package-card.active::before { content: "✓"; position: absolute; z-index: 3; top: 10px; left: 10px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 13px; font-weight: 950; }
.education-schedule-fields[hidden], .education-schedule-pending[hidden] { display: none !important; }
.education-schedule-pending { padding: 16px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #b9d8d1; border-radius: 11px; color: #285b55; background: #edf8f5; }
.education-schedule-pending::before { content: "i"; width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-family: Georgia,serif; font-weight: 800; }
.education-schedule-pending strong, .education-schedule-pending span { display: block; }
.education-schedule-pending strong { font-size: 12px; }
.education-schedule-pending span { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.schedule-pending-label { padding: 5px 8px; display: inline-flex; border-radius: 999px; color: #356a61; background: #e6f4f0; font-size: 8px; font-weight: 850; white-space: nowrap; }
.price-breakdown-row b del { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 650; }
.service-data-empty strong, .service-data-empty span { display: block; }
.service-data-empty strong { color: var(--ink); }
.service-data-empty span { margin-top: 5px; font-size: 10px; line-height: 1.55; }
.service-specific-data { display: grid; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.dog-panel .service-specific-data + .service-specific-data { margin-top: 2px; }
.service-specific-heading { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid #d7e7e4; }
.service-specific-heading > div { min-width: 0; }
.service-specific-heading > div > strong, .service-specific-heading > div > span { display: block; }
.service-specific-heading > div > strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; }
.service-specific-heading > div > span { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; line-height: 1.45; }
.service-specific-heading > b { padding: 6px 8px; border-radius: 999px; color: #28685c; background: #dcf1eb; font-size: 8px; font-weight: 950; white-space: nowrap; }
.service-specific-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--teal); }
.service-specific-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-unselected-notice { padding: 11px 12px; display: grid; gap: 3px; border: 1px dashed #c99b56; border-radius: 10px; color: #664618; background: #fff8e9; }
.service-unselected-notice[hidden] { display: none; }
.service-unselected-notice strong { font-size: 10px; }
.service-unselected-notice span { color: #7a684e; font-size: 9px; line-height: 1.5; }
.service-specific-data.is-preview-only { border: 0; background: transparent; }
.service-specific-data.is-preview-only .service-specific-heading > b { color: #79531e; background: #f8e4bd; }
.service-specific-data.is-preview-only > :not(.service-specific-heading):not(.service-unselected-notice) { opacity: 1; }
.service-specific-data.is-preview-only input, .service-specific-data.is-preview-only select, .service-specific-data.is-preview-only textarea, .service-specific-data.is-preview-only button { cursor: auto; }
.service-specific-data label { gap: 6px; font-size: 11px; }
.service-specific-data > label:not(.service-area-check), .service-specific-data > .field-pair > label, .service-specific-data .service-field-grid > label { padding: 10px 11px; border: 1px solid #c9dcd8; border-radius: 10px; background: #eaf2f0; }
.service-specific-data input, .service-specific-data select, .service-specific-data textarea { padding-top: 9px; padding-bottom: 9px; border-color: #c4d7d3; background: white; font-size: 12px; font-weight: 650; }
.service-specific-data input:hover, .service-specific-data select:hover, .service-specific-data textarea:hover { border-color: #9fc8c1; }
.service-textareas { gap: 9px; }
.booking-datetime-block { padding: 11px; display: grid; gap: 8px; border: 1px solid #c9dcd8; border-radius: 11px; background: #eaf2f0; }
.booking-datetime-block > strong { color: var(--ink); font-size: 12px; }
.booking-datetime-fields { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(150px,.85fr); gap: 10px; }
.booking-datetime-fields > label { min-width: 0; gap: 5px; color: var(--ink-2); font-size: 9px; text-transform: uppercase; letter-spacing: .035em; }
.service-specific-data > .booking-datetime-block > .booking-datetime-fields > label { padding: 0; border: 0; border-radius: 0; background: transparent; }
.service-area-check { grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; color: var(--ink-2); font-size: 10px; font-weight: 750; }
.service-area-check input { width: 16px; height: 16px; padding: 0; accent-color: var(--teal); }
.profile-location { padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #c9dcd8; border-radius: 8px; background: #eaf2f0; }
.profile-location span { color: var(--ink-2); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.profile-location strong { max-width: 65%; font-size: 10px; text-align: right; }
.profile-location strong.missing { color: var(--danger); }
.alternate-location-fields { display: grid; gap: 7px; padding: 9px; border-left: 3px solid var(--teal); background: #eaf2f0; }
.alternate-location-fields[hidden] { display: none; }
.slot-availability { margin: 0; padding: 7px 9px; border-radius: 7px; color: var(--muted); background: #eaf2f0; font-size: 10px; font-weight: 750; line-height: 1.4; }
.slot-availability[hidden] { display: none; }
.slot-availability.checking { color: var(--blue); }
.slot-availability.available { color: var(--success); background: #e1f2ec; }
.slot-availability.unavailable { color: var(--danger); background: #f7e4e4; }
.walk-schedule-notice { padding: 11px 13px; display: grid; gap: 4px; border-left: 4px solid var(--teal); border-radius: 8px; color: var(--ink); background: #e4f1ee; }
.walk-schedule-notice strong { font-size: 11px; }
.walk-schedule-notice span { color: #4f686e; font-size: 10px; line-height: 1.5; }
.walk-eligibility { margin: 0; padding: 9px 11px; display: grid; gap: 3px; border: 1px solid #cbdcd9; border-radius: 8px; color: #536d72; background: #f3f7f6; font-size: 9px; line-height: 1.45; }
.walk-eligibility strong, .walk-eligibility span { display: block; }
.walk-eligibility.checking { color: #336f7f; border-color: #a8ced3; background: #edf7f8; }
.walk-eligibility.available { color: #245f4e; border-color: #9bcdbd; background: #e7f5f0; }
.walk-eligibility.unavailable { color: #8a3d42; border-color: #e0b6b8; background: #fff1f1; }
.appointment-ranges { display: grid; gap: 8px; }
.appointment-range { position: relative; padding: 9px 38px 9px 9px; display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 8px; align-items: end; border: 1px solid #c9dcd8; border-radius: 10px; background: #eaf2f0; }
.appointment-range label { min-width: 0; }
.appointment-range [hidden], .appointment-end-toggle[hidden] { display: none !important; }
.appointment-range label small { color: var(--muted); font-size: 9px; font-weight: 650; }
.appointment-end-toggle { min-height: 42px; padding: 0 10px; border: 1px dashed #8bbdb2; border-radius: 8px; color: var(--teal); background: #f4faf8; font-size: 10px; font-weight: 850; }
.remove-appointment-range { position: absolute; right: 7px; top: 7px; width: 26px; height: 26px; border: 0; border-radius: 7px; color: var(--danger); background: #fff1f1; font-size: 17px; }
.appointment-range:only-child .remove-appointment-range { display: none; }
.add-appointment-range { justify-self: start; min-height: 34px; padding: 0 11px; border: 1px dashed var(--teal); border-radius: 8px; color: var(--blue); background: #f3faf8; font-size: 10px; font-weight: 850; }
.dog-profile-dialog { position: fixed; z-index: 320; inset: 0; display: grid; place-items: center; padding: 20px; }
.dog-profile-dialog[hidden] { display: none; }
.dog-profile-dialog-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8,29,36,.62); backdrop-filter: blur(3px); }
.dog-profile-card { position: relative; z-index: 1; width: min(620px,100%); padding: 28px; display: grid; gap: 15px; border: 1px solid rgba(255,255,255,.5); border-radius: 18px; background: white; box-shadow: 0 30px 80px rgba(8,29,36,.3); }
.dog-profile-card h3 { margin: -8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.dog-profile-card > p:not(.eyebrow) { margin: -8px 0 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.dog-profile-close { position: absolute; right: 15px; top: 15px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; }
.dog-profile-dialog-actions { margin-top: 4px; display: flex; justify-content: flex-end; gap: 8px; }
.dog-profile-dialog-actions .button { min-height: 38px; }
.booking-modal .booking-builder-dogs, .dashboard-content.booking-view .booking-builder-dogs { padding-top: 12px; padding-bottom: 12px; }
.booking-modal .booking-builder-dogs > .builder-heading, .dashboard-content.booking-view .booking-builder-dogs > .builder-heading { margin-bottom: 8px; }
.booking-modal .default-stay-dates, .dashboard-content.booking-view .default-stay-dates { margin-bottom: 6px; padding: 6px 9px; grid-template-columns: 110px 1fr; gap: 9px; }
.booking-modal .default-stay-dates small, .dashboard-content.booking-view .default-stay-dates small { display: none; }
.booking-modal .default-stay-dates label, .dashboard-content.booking-view .default-stay-dates label { gap: 3px; font-size: 9px; }
.booking-modal .default-stay-dates input, .dashboard-content.booking-view .default-stay-dates input { padding: 7px 9px; }
.booking-modal .dog-tabs button, .dashboard-content.booking-view .dog-tabs button { min-height: 34px; }
.booking-modal .add-dog-button, .dashboard-content.booking-view .add-dog-button { min-height: 30px; }
.booking-modal .dog-panel, .dashboard-content.booking-view .dog-panel { padding-top: 6px; }
.booking-modal .dog-panel.active, .dashboard-content.booking-view .dog-panel.active { gap: 5px; }
.booking-modal .dog-panel-header strong, .dashboard-content.booking-view .dog-panel-header strong { font-size: 18px; }
.booking-modal .dog-panel-header small, .dashboard-content.booking-view .dog-panel-header small { margin-top: 1px; font-size: 8px; }
.booking-modal .dog-panel-actions button, .dashboard-content.booking-view .dog-panel-actions button { min-height: 28px; }
.booking-modal .dog-panel > .field-pair, .dashboard-content.booking-view .dog-panel > .field-pair { gap: 9px; }
.booking-modal .dog-panel > .field-pair label, .dashboard-content.booking-view .dog-panel > .field-pair label { gap: 3px; font-size: 9px; }
.booking-modal .dog-panel input, .dashboard-content.booking-view .dog-panel input { padding-top: 6px; padding-bottom: 6px; }
.booking-modal .service-specific-data, .dashboard-content.booking-view .service-specific-data { gap: 10px; padding: 0; }
.booking-modal .service-specific-heading > div > span, .dashboard-content.booking-view .service-specific-heading > div > span { margin-top: 2px; }
.booking-modal .service-specific-data input, .booking-modal .service-specific-data select, .dashboard-content.booking-view .service-specific-data input, .dashboard-content.booking-view .service-specific-data select { min-height: 39px; padding-top: 8px; padding-bottom: 8px; }
.booking-modal .service-specific-data textarea, .dashboard-content.booking-view .service-specific-data textarea { min-height: 52px; max-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.booking-builder-options .booking-total { padding: 16px; }
.booking-builder-options .booking-total > div { align-items: flex-end; }
.booking-builder-options .booking-total span { font-size: 10px; font-weight: 800; }
.booking-builder-options .booking-total strong { font-size: 29px; }
.price-breakdown { min-height: 0; padding-right: 0; display: grid; align-content: start; gap: 8px; overflow: visible; }
.booking-builder-options > .button { position: relative; z-index: 2; min-height: 46px; box-shadow: 0 9px 22px rgba(41,104,125,.18); }
.price-breakdown-empty { padding: 22px 14px; color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; text-align: center; font-size: 10px; line-height: 1.5; }
.promo-bar.discount-active { color: white; background: linear-gradient(90deg,#267b68,#3f9f82); font-weight: 900; letter-spacing: .035em; }
.promo-code-field { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.promo-code-field input { min-height: 42px; padding: 0 12px; border: 1px dashed #82b7a9; border-radius: 9px; color: var(--ink); background: #f2faf7; font: inherit; text-transform: uppercase; }
.booking-discount-notice { padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #8cc8b7; border-radius: 10px; color: #205f50; background: linear-gradient(135deg,#e7f7f1,#f5fcf9); box-shadow: 0 6px 16px rgba(47,143,114,.08); }
.booking-discount-notice[hidden] { display: none; }
.booking-discount-notice > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; color: white; background: #2f8f72; font-size: 16px; font-weight: 950; }
.booking-discount-notice strong, .booking-discount-notice small { display: block; }
.booking-discount-notice strong { font-size: 11px; }
.booking-discount-notice small { margin-top: 3px; color: #47796d; font-size: 9px; line-height: 1.45; }
.price-breakdown-row { min-width: 0; padding: 12px; display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 5px 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.price-breakdown-row div { min-width: 0; }
.price-breakdown-row strong, .price-breakdown-row span { display: block; }
.price-breakdown-row strong { font-size: 11px; }
.price-breakdown-row span, .price-breakdown-row small { color: var(--muted); font-size: 9px; }
.price-breakdown-row b { grid-column: 2; grid-row: 1 / span 2; max-width: 100%; font-family: Georgia, "Times New Roman", serif; font-size: clamp(15px,1.3vw,18px); white-space: nowrap; }
.admin-dog-details { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 10px; }
.admin-dog-detail { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc; }
.admin-dog-detail > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-dog-detail span { color: var(--teal); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.admin-dog-detail p, .admin-dog-detail small { display: block; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.app-overlay { z-index: 120; padding: 0; overflow-x: hidden; background: var(--paper); overscroll-behavior: contain; }
.dashboard-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.dashboard-sidebar { position: sticky; z-index: 20; top: 0; height: 100vh; padding: 30px 20px; background: var(--ink); color: white; display: flex; flex-direction: column; }
.dashboard-brand { width: 180px; margin: 0 auto 45px; }
.dashboard-brand img { filter: brightness(0) invert(1); }
.dashboard-sidebar nav { min-width: 0; min-height: 0; display: grid; gap: 6px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.admin-only[hidden] { display: none !important; }
.dash-nav[hidden] { display: none !important; }
.dash-nav { position: relative; z-index: 1; width: 100%; min-width: 0; min-height: 48px; flex: 0 0 48px; display: block; border: 0; border-radius: 9px; padding: 0 14px; background: transparent; color: rgba(255,255,255,.69); text-align: left; font-weight: 750; transition: background .2s ease, color .2s ease, transform .2s ease; }
.dash-nav:hover, .dash-nav.active { background: rgba(255,255,255,.1); color: white; }
.dash-nav:hover, .dash-nav:focus-visible, .dash-nav.active { z-index: 2; transform: translateX(2px); }
.dash-nav-icon { position: absolute; left: 50%; top: 50%; width: 21px; height: 21px; display: grid; place-items: center; transform: translate(-50%,-50%); transition: left .28s cubic-bezier(.22,.7,.25,1), transform .28s cubic-bezier(.22,.7,.25,1); }
.dash-nav:hover .dash-nav-icon, .dash-nav:focus-visible .dash-nav-icon, .dash-nav.active .dash-nav-icon { left: 14px; transform: translate(0,-50%); }
.dash-nav-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dash-nav-label { position: absolute; left: 47px; right: 12px; top: 50%; opacity: 0; overflow: hidden; white-space: nowrap; transform: translate(-8px,-50%); transition: opacity .2s ease .04s, transform .28s cubic-bezier(.22,.7,.25,1); pointer-events: none; }
.dash-nav.active .dash-nav-label, .dash-nav:hover .dash-nav-label, .dash-nav:focus-visible .dash-nav-label { opacity: 1; transform: translate(0,-50%); }
.dash-nav b { position: absolute; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #f3c86a; }
.sidebar-user { margin-top: auto; padding: 15px 7px 0; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 11px; border-top: 1px solid rgba(255,255,255,.12); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--cream); font-weight: 900; }
.sidebar-user small { display: block; margin-top: 3px; color: rgba(255,255,255,.5); }
.sidebar-user button { border: 0; background: transparent; color: white; font-size: 21px; }
.sidebar-user button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: color .2s ease, transform .2s ease; }
.sidebar-user button:hover svg, .sidebar-user button:focus-visible svg { color: #f3c86a; transform: translateX(2px); }
.mobile-logout-button { display: none; }
.dashboard-main { min-width: 0; background: #f3f6f5; }
.dashboard-topbar { min-height: 120px; padding: 30px 42px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; background: white; border-bottom: 1px solid var(--line); }
.dashboard-topbar h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.dashboard-booking-cta { min-height: 48px; padding: 0 18px 0 9px; display: inline-flex; align-items: center; gap: 11px; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--ink), var(--ink-2)); box-shadow: 0 10px 24px rgba(23,49,58,.16); text-transform: none; letter-spacing: 0; font-size: 12px; }
.dashboard-booking-cta:hover { box-shadow: 0 14px 30px rgba(23,49,58,.23); }
.dashboard-booking-cta-icon { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 9px; color: white; background: rgba(255,255,255,.12); }
.dashboard-booking-cta-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #f8fbfa; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.dashboard-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dashboard-close:hover { color: var(--danger); border-color: rgba(174,77,77,.28); background: #fff5f5; transform: translateY(-1px); }
.dashboard-close:focus-visible, .dashboard-booking-cta:focus-visible { outline: 3px solid rgba(74,163,162,.22); outline-offset: 2px; }
.dashboard-content { padding: 34px 42px 60px; }
.dashboard-content.booking-view { height: auto; min-height: calc(100vh - 120px); padding-top: 20px; padding-bottom: 20px; overflow: visible; }
.dashboard-booking-panel { width: 100%; max-width: none; margin: 0; }
.dashboard-content.booking-view .dashboard-booking-panel { height: auto; display: flex; flex-direction: column; overflow: visible; }
.dashboard-content.booking-view .dashboard-booking-heading { margin-bottom: 10px; padding-bottom: 10px; }
.dashboard-content.booking-view #dashboardBookingFormHost { min-height: 0; flex: 1; }
.dashboard-content.booking-view .booking-form { height: auto; min-height: 0; overflow: visible; }
.dashboard-booking-heading { align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dashboard-booking-heading p { max-width: 620px; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
#dashboardBookingFormHost { margin-top: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.stat-card, .panel { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.stat-card strong { display: block; margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-top: 18px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 18px; }
.panel h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.booking-list, .message-thread-list { display: grid; gap: 18px; }
.client-bookings-panel { padding: clamp(18px,3vw,30px); background: linear-gradient(145deg,#fff 0%,#f9fbfa 100%); box-shadow: 0 12px 34px rgba(24,54,60,.055); }
.client-bookings-panel > .panel-header { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.booking-section-description { max-width: 650px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.booking-item { padding: 0; overflow: hidden; border: 1px solid #d8e4e1; border-radius: 17px; background: white; box-shadow: 0 9px 25px rgba(24,54,60,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.booking-item:hover { border-color: #bfd2ce; box-shadow: 0 14px 32px rgba(24,54,60,.11); transform: translateY(-2px); }
.booking-item-header { position: relative; padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 0; color: white; background: linear-gradient(125deg,#173d43 0%,#245a60 72%,#307075 100%); }
.booking-item-header::after { content: ""; position: absolute; right: -45px; bottom: -85px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; pointer-events: none; }
.booking-item-header-main { position: relative; z-index: 1; min-width: 0; }
.booking-item-header h3 { margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px,2.3vw,27px); font-weight: 500; line-height: 1.1; }
.booking-item-header small { color: rgba(255,255,255,.66); font-size: 8px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.booking-item-header p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 11px; }
.booking-header-side { position: relative; z-index: 1; display: grid; justify-items: end; gap: 10px; }
.booking-header-side > .status { border: 1px solid rgba(255,255,255,.28); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.booking-header-actions { display: flex; justify-content: flex-end; gap: 7px; }
.booking-header-icon { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: white; background: rgba(255,255,255,.09); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.booking-header-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booking-header-icon:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.18); transform: translateY(-1px); }
.booking-header-icon.deletion { color: #ffd1d1; }
.booking-header-icon.deletion.pending { color: #ffe3a0; background: rgba(160,112,26,.23); }
.booking-header-icon:focus-visible { outline: 3px solid rgba(255,255,255,.24); outline-offset: 2px; }
.booking-item-meta { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.booking-item-meta span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.08); font-size: 9px; font-weight: 760; }
.booking-item-meta span:first-child::before { content: "•"; margin-right: 6px; color: #85d3c5; font-size: 14px; line-height: 0; }
.admin-row-actions { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.admin-chat { padding-left: 9px; border-left: 1px solid var(--line); }
.admin-booking-action { position: relative; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--blue); background: #f5fafb; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.admin-booking-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-booking-action:hover, .admin-booking-action:focus-visible { color: white; border-color: var(--blue); background: var(--blue); transform: translateY(-1px); }
.admin-booking-action.chat { color: var(--teal); background: #f1f9f7; }
.admin-booking-action.chat:hover, .admin-booking-action.chat:focus-visible { color: white; border-color: var(--teal); background: var(--teal); }
.admin-booking-action.delete { color: var(--danger); background: #fff6f6; }
.admin-booking-action.delete:hover, .admin-booking-action.delete:focus-visible { color: white; border-color: var(--danger); background: var(--danger); }
.admin-booking-action::after { content: attr(data-action-label); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); width: max-content; max-width: 180px; padding: 6px 8px; border-radius: 6px; color: white; background: var(--ink); box-shadow: 0 5px 15px rgba(9,31,38,.18); font-size: 9px; font-weight: 800; line-height: 1.25; opacity: 0; pointer-events: none; transform: translate(-50%,4px); transition: opacity .16s ease, transform .16s ease; }
.admin-booking-action:hover::after, .admin-booking-action:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
.admin-payment-cell { min-width: 82px; }
.admin-payment-cell strong, .admin-payment-cell small { display: block; white-space: nowrap; }
.admin-payment-cell strong { color: var(--ink); font-size: 13px; }
.admin-payment-cell small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 800; }
.booking-dog-summary { padding: 20px 22px; display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 14px; background: #f5f8f7; }
.booking-dog-overview { position: relative; min-width: 0; padding: 19px 16px 16px; border: 1px solid #d5e3e0; border-top: 4px solid var(--teal); border-radius: 12px; background: white; box-shadow: 0 5px 14px rgba(24,71,78,.045); }
.booking-dog-overview:nth-child(3n+2) { border-color: #d7deeb; border-top-color: var(--blue); }
.booking-dog-overview:nth-child(3n) { border-color: #e5dbc8; border-top-color: #b88632; }
.booking-dog-number { position: absolute; top: -9px; right: 12px; padding: 4px 9px; border-radius: 999px; color: white; background: var(--teal); font-size: 8px; font-weight: 950; letter-spacing: .09em; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.booking-dog-overview:nth-child(3n+2) .booking-dog-number { background: var(--blue); }
.booking-dog-overview:nth-child(3n) .booking-dog-number { background: #a97522; }
.booking-dog-overview > header { display: flex; align-items: center; gap: 10px; }
.booking-dog-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 3px solid #e4f0ed; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--teal), var(--blue)); font-size: 10px; font-weight: 900; }
.booking-dog-overview header strong, .booking-dog-overview header small { display: block; }
.booking-dog-overview header strong { color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 17px; font-weight: 500; }
.booking-dog-overview header small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.booking-dog-dates { margin-top: 13px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 8px; color: #3d6268; background: #edf5f3; font-size: 9px; font-weight: 800; }
.booking-card-services { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.booking-card-services i { padding: 6px 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: white; font-style: normal; }
.booking-card-services b { color: var(--ink); font-size: 10px; }
.booking-card-services em { padding: 3px 6px; border-radius: 999px; color: var(--warning); background: #fff4dc; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.booking-card-services em.accepted { color: var(--success); background: #e1f2ec; }
.booking-card-services em.rejected, .booking-card-services em.not_completed { color: var(--danger); background: #f7e4e4; }
.booking-card-services em.completed { color: white; background: var(--success); }
.booking-card-services em.completion.pending { color: var(--blue); background: #e7f2f5; }
.booking-item > .booking-progress-notice { margin: 0 16px 14px; }
.booking-item-footer { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: white; }
.booking-item-total { min-width: 210px; padding-left: 13px; border-left: 3px solid var(--teal); }
.booking-item-total span, .booking-item-total strong { display: block; }
.booking-item-total span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.booking-item-total strong { margin-top: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.booking-card-payment { display: block; margin-top: 5px; color: #8a5c12; font-size: 8px; font-weight: 800; }
.booking-card-payment.paid { color: #256552; }
.booking-item-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.booking-details-button { color: white; border-color: var(--blue); background: var(--blue); box-shadow: 0 5px 12px rgba(25,74,85,.16); }
.booking-chat-button { color: var(--ink); border: 1px solid #cbdad7; background: #f7faf9; }
.booking-details-button:hover, .booking-chat-button:hover { transform: translateY(-1px); }
.small-button.request-delete { color: var(--danger); background: #fff; border: 1px solid rgba(174,77,77,.28); }
.small-button.request-delete:hover { background: #fff5f5; }
.small-button.deletion-requested { color: var(--warning); background: #fff4dc; opacity: 1; cursor: default; }
.small-button.cancel-delete-request { color: #805b16; background: #fff7df; border: 1px solid rgba(160,112,26,.3); }
.small-button.booking-date-button { color: var(--blue); background: #eef5f7; border: 1px solid rgba(25,74,85,.18); }
.booking-date-modal { max-width: 540px; }
.booking-date-form { display: grid; gap: 18px; padding-top: 8px; }
.booking-date-form > p { margin: 0; color: var(--muted); line-height: 1.6; }
.booking-date-form label { display: grid; gap: 8px; font-weight: 800; }
.booking-date-form input { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; font: inherit; }
.deletion-request-label { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 5px 8px; border: 1px solid rgba(174,77,77,.38); border-radius: 999px; color: #962f2f; background: #ffe7e7; font-size: 9px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.deletion-request-label::before { content: "!"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: white; background: var(--danger); font-size: 10px; line-height: 1; }
.admin-deletion-summary { margin: 0 0 18px; padding: 15px 17px; display: flex; align-items: center; gap: 13px; border: 2px solid rgba(174,77,77,.72); border-radius: 12px; color: #8e2929; background: linear-gradient(135deg, #fff0f0, #fff8f8); box-shadow: 0 7px 20px rgba(174,77,77,.1); }
.admin-deletion-summary-icon, .deletion-request-notice > b { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; color: white; background: var(--danger); font-size: 21px; font-weight: 900; }
.admin-deletion-summary strong, .admin-deletion-summary small { display: block; }
.admin-deletion-summary strong { font-size: 14px; }
.admin-deletion-summary small { margin-top: 3px; color: #755050; font-size: 11px; }
.deletion-request-detail { border: 2px solid rgba(174,77,77,.68); box-shadow: 0 0 0 4px rgba(174,77,77,.07); }
.deletion-request-notice { margin: -2px 0 20px; padding: 14px 16px; display: flex; align-items: center; justify-content: flex-start; gap: 13px; border: 2px solid rgba(174,77,77,.55); border-radius: 10px; color: var(--danger); background: #fff0f0; }
.deletion-request-notice strong, .deletion-request-notice span { display: block; }
.deletion-request-notice span { color: var(--muted); font-size: 12px; }
.inline-booking-cta { display: none; }
.status { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.status.pending { background: #fff4dc; color: var(--warning); }
.status.partial { background: #fff0d8; color: #9a6215; }
.status.partial_confirmed { background: #def3ed; color: #176c59; }
.status.confirmed { background: #e1f2ec; color: var(--success); }
.status.cancelled { background: #f7e4e4; color: var(--danger); }
.status.completed { color: white; background: var(--success); }
.booking-progress-notice { margin: 15px 0 0; padding: 12px 14px; display: flex; align-items: flex-start; gap: 7px 12px; border: 1px solid; border-radius: 9px; }
.booking-progress-notice strong, .booking-progress-notice span { display: block; }
.booking-progress-notice strong { flex: 0 0 auto; font-size: 11px; }
.booking-progress-notice span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.booking-progress-notice.partial { color: #8a5b17; border-color: #e9c37d; background: #fff8e9; }
.booking-progress-notice.completed { color: var(--success); border-color: #a9d6c7; background: #edf8f4; }
.booking-progress-notice.client-approved { color: #176c59; border-color: #8fcabb; background: #eaf7f3; }
.booking-progress-notice.client-validation { align-items: center; justify-content: space-between; }
.booking-progress-notice.client-validation > div { min-width: 0; }
.booking-progress-notice.client-validation button { flex: 0 0 auto; min-height: 36px; padding: 0 13px; border: 0; border-radius: 8px; color: white; background: var(--teal); box-shadow: 0 5px 13px rgba(65,156,161,.2); font-size: 10px; font-weight: 900; white-space: nowrap; }
.booking-progress-notice.client-validation button:hover { background: var(--blue); }
.booking-progress-notice.client-validation button:disabled { opacity: .58; cursor: wait; }
.booking-progress-notice.client-validation em { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; color: #8a5b17; background: #fff0d8; font-size: 10px; font-style: normal; font-weight: 850; white-space: nowrap; }
.booking-section-description { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.booking-history-section { margin-top: 18px; }
.booking-history-section .eyebrow { margin: 0 0 5px; }
.booking-history-section.archived { background: #fafcfb; }
.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); }
.quick-actions { display: grid; gap: 10px; }
.quick-actions button { min-height: 55px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc; color: var(--ink); text-align: left; padding: 0 16px; font-weight: 850; }
.quick-actions button:hover { border-color: var(--teal); }
.admin-overview-grid { grid-template-columns: minmax(0,1.45fr) minmax(250px,.55fr); }
.admin-next-day-list { display: grid; gap: 10px; }
.admin-next-task { width: 100%; min-height: 72px; padding: 10px 14px; display: grid; grid-template-columns: 78px 42px minmax(0,1fr) 24px; align-items: center; gap: 12px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 11px; color: var(--ink); background: #fbfdfc; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.admin-next-task:hover { border-color: #a9c9c3; box-shadow: 0 8px 20px rgba(24,54,60,.08); transform: translateY(-1px); }
.admin-next-task.task-arrival, .admin-next-task.task-departure { color: #7a5ba7; border-color: #d8caec; background: #f3eef9; }
.admin-next-task.task-walk { color: #2f8f72; border-color: #b9dfd1; background: #ebf7f2; }
.admin-next-task.task-education { color: #c46a2e; border-color: #edc7a9; background: #fff2e8; }
.admin-next-task-time { color: var(--blue); font-size: 12px; font-weight: 900; white-space: nowrap; }
.admin-next-task > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--teal); }
.admin-next-task.task-arrival > i { background: #4f9b79; box-shadow: 0 3px 8px rgba(79,155,121,.25); }
.admin-next-task.task-departure > i { background: #a65d68; box-shadow: 0 3px 8px rgba(166,93,104,.25); }
.admin-next-task.task-walk > i { background: #2f8f72; }
.admin-next-task.task-education > i { background: #c46a2e; }
.admin-next-task > i svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-next-task-copy strong, .admin-next-task-copy small { display: block; }
.admin-next-task-copy strong { font-size: 13px; }
.admin-next-task-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.admin-next-task-arrow { color: var(--muted); font-size: 18px; }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
th { background: #f7faf9; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
td button.link-button { padding: 0; border: 0; background: transparent; color: var(--blue); font-weight: 850; }
#adminTableBody tr.deletion-request-row td { border-top: 2px solid var(--danger); border-bottom: 2px solid var(--danger); background: #fff4f4; }
#adminTableBody tr.deletion-request-row td:first-child { border-left: 2px solid var(--danger); }
#adminTableBody tr.deletion-request-row td:last-child { border-right: 2px solid var(--danger); }
#adminTableBody tr.deletion-request-row .admin-open { padding: 7px 10px; border: 1px solid rgba(174,77,77,.42); border-radius: 7px; color: #962f2f; background: white; white-space: nowrap; }
#adminTableBody tr.deletion-request-row .admin-open:hover { color: white; background: var(--danger); }
.dashboard-content.message-view { height: calc(100vh - 120px); height: calc(100dvh - 120px); min-height: 0; padding-top: 20px; padding-bottom: 20px; overflow: hidden; }
.message-layout { height: 100%; min-height: 0; display: grid; grid-template-columns: 320px minmax(0,1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; }
.thread-sidebar { min-height: 0; border-right: 1px solid var(--line); padding: 14px; overflow-y: auto; overscroll-behavior: contain; background: #f8fbfa; }
.thread-button { width: 100%; padding: 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; }
.thread-button:hover, .thread-button.active { background: white; box-shadow: 0 4px 14px rgba(30,60,68,.07); }
.thread-button strong, .thread-button small { display: block; }
.thread-button small { margin-top: 4px; color: var(--muted); }
.chat-area { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; }
.chat-header { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.chat-header > div { min-width: 0; }
.chat-header h3 { margin: 0 0 4px; }
.chat-header small { color: var(--muted); }
.chat-details-button { min-height: 38px; padding: 0 14px; flex: 0 0 auto; border: 1px solid rgba(41,104,125,.22); border-radius: 9px; color: var(--blue); background: #f5fafb; font-size: 11px; font-weight: 850; }
.chat-details-button:hover { color: white; border-color: var(--blue); background: var(--blue); }
.messages { min-height: 0; padding: 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; display: flex; flex-direction: column; gap: 12px; }
.message-bubble { max-width: 74%; padding: 12px 14px; border-radius: 14px; background: #edf3f2; line-height: 1.5; font-size: 13px; }
.message-bubble.mine { align-self: flex-end; color: white; background: linear-gradient(135deg, var(--teal), var(--blue)); border-bottom-right-radius: 4px; }
.message-bubble.theirs { align-self: flex-start; border-bottom-left-radius: 4px; }
.message-bubble time { display: block; margin-top: 6px; opacity: .62; font-size: 9px; }
.chat-form { padding: 15px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.chat-form input { min-width: 0; }
.profile-form { max-width: 720px; }
.profile-form .panel { display: grid; gap: 16px; }
.profile-address-block { padding: 16px; display: grid; gap: 12px; border: 1px solid #d9e8e5; border-radius: 11px; background: #f2f8f6; }
.profile-address-block > div:first-child strong, .profile-address-block > div:first-child small { display: block; }
.profile-address-block > div:first-child small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.referral-profile-card { margin-top: 18px; display: grid; gap: 16px; background: linear-gradient(135deg,#f3fbf8,#fff); }
.referral-page-card { max-width: 850px; margin: 0 auto; }
.referral-help { padding: 14px 16px; display: grid; gap: 5px; border-radius: 10px; color: #315f58; background: #eaf5f2; }
.referral-help strong { font-size: 11px; }
.referral-help span { font-size: 10px; line-height: 1.5; }
.referral-profile-card > div:first-child p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.referral-share-line { padding: 11px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid #bcded4; border-radius: 10px; background: white; }
.referral-share-line label, .referral-share-line strong { min-width: 0; display: block; }
.referral-share-line label { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.referral-share-line strong { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; text-transform: none; }
.referral-share-line button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; color: white; background: var(--teal); font-size: 9px; font-weight: 900; }
.profile-dogs-panel { max-width: 720px; margin-top: 18px; }
.profile-dogs-panel .panel-header p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.profile-dog-list { display: grid; gap: 9px; }
.profile-dog-card { padding: 12px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc; }
.profile-dog-card > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 10px; font-weight: 900; }
.profile-dog-card strong, .profile-dog-card small { display: block; }
.profile-dog-card small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.profile-dog-card-actions { display: flex; gap: 6px; }
.profile-dog-card-actions button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: white; }
.profile-dog-card-actions button.delete { color: var(--danger); }
.profile-dog-card-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-dog-editor { position: fixed; z-index: 330; inset: 0; padding: 20px; display: grid; place-items: center; }
.profile-dog-editor[hidden] { display: none; }
.profile-dog-editor-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8,29,36,.62); backdrop-filter: blur(3px); }
.profile-dog-editor-card { position: relative; z-index: 1; width: min(620px,100%); padding: 28px; display: grid; gap: 15px; border-radius: 18px; background: white; box-shadow: 0 30px 80px rgba(8,29,36,.3); }
.profile-dog-editor-card h3 { margin: -7px 0 2px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.admin-toolbar { display: grid; grid-template-columns: repeat(3, minmax(135px,.7fr)) repeat(2, minmax(145px,.8fr)) minmax(210px,1.2fr); gap: 9px; align-items: end; margin-bottom: 10px; }
.admin-filter-field { min-width: 0; display: grid; gap: 5px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.admin-filter-field input, .admin-filter-field select { min-width: 0; width: 100%; padding: 9px 10px; color: var(--ink); background: white; font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.admin-sort-field { grid-column: span 2; }
.admin-search-field { grid-column: span 3; }
.admin-filter-reset { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); background: #f8fbfa; font-size: 9px; font-weight: 850; }
.admin-filter-reset:hover { border-color: var(--teal); background: white; }
.admin-filter-summary { margin: 0 0 10px; color: var(--muted); font-size: 10px; text-align: right; }
.admin-filter-summary strong { color: var(--ink); }
#adminTableBody > tr > td:first-child { white-space: nowrap; }
#adminTableBody > tr > td:first-child small { color: var(--muted); font-size: 9px; }
.admin-tabs { margin-bottom: 18px; padding: 5px; display: flex; align-items: center; gap: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #eaf1f0; }
.admin-tabs button { min-height: 42px; padding: 0 20px; flex: 0 0 auto; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 850; white-space: nowrap; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.admin-tabs button:hover { color: var(--ink); }
.admin-tabs button.active { color: var(--ink); background: white; box-shadow: 0 5px 16px rgba(30,60,68,.09); }
.admin-tabs button.active::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--teal); }
.reservation-subtabs { width: fit-content; max-width: 100%; margin: 0 0 14px; padding: 4px; display: flex; gap: 4px; border-radius: 11px; background: #eaf1ef; }
.reservation-subtabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.reservation-subtabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(12,36,44,.08); }
.reservation-subtabs span { margin-left: 5px; padding: 2px 6px; border-radius: 99px; color: white; background: var(--teal); font-size: 8px; }
.admin-walk-groups-panel { display: grid; gap: 18px; }
.walk-groups-heading { align-items: end; }
.walk-groups-heading h2 { margin: 3px 0 4px; }
.walk-groups-heading > div > span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.walk-group-generate { display: flex; align-items: end; gap: 8px; }
.walk-group-generate label { display: grid; gap: 5px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.walk-group-generate input { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 10px; font-weight: 750; }
.walk-group-list { display: grid; gap: 13px; }
.walk-group-card { overflow: hidden; border: 1px solid #cbdcd9; border-radius: 14px; background: #fbfdfc; box-shadow: 0 6px 18px rgba(20,51,58,.05); }
.walk-group-card.status-in_progress { border-color: #62ad9d; box-shadow: inset 4px 0 #3b9b87, 0 6px 18px rgba(20,51,58,.06); }
.walk-group-card.status-returning { border-color: #d29ba1; box-shadow: inset 4px 0 #b25b66, 0 6px 18px rgba(20,51,58,.06); }
.walk-group-card-header { padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: var(--ink); }
.walk-group-date span, .walk-group-date strong { display: block; }
.walk-group-date span { font-size: 12px; font-weight: 900; text-transform: capitalize; }
.walk-group-date strong { margin-top: 3px; color: #9fd5ca; font-size: 10px; }
.walk-group-status { padding: 6px 9px; border-radius: 999px; color: #235f53; background: #dff2ec; font-size: 8px; font-weight: 950; text-transform: uppercase; }
.status-returning .walk-group-status { color: #8c3944; background: #f6dfe2; }
.status-completed .walk-group-status { color: #58686b; background: #e7eceb; }
.walk-group-location { margin: 13px 14px 4px; padding: 12px 13px; display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 10px; border: 1px solid #acd2ca; border-radius: 10px; background: #ecf7f4; }
.walk-group-location svg { width: 27px; fill: none; stroke: #318b79; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.walk-group-location span, .walk-group-location strong, .walk-group-location small, .walk-group-location em { display: block; }
.walk-group-location span { color: var(--teal); font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.walk-group-location strong { margin-top: 2px; color: var(--ink); font-size: 11px; }
.walk-group-location small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.walk-group-location em { width: fit-content; margin-top: 6px; padding: 4px 6px; border-radius: 5px; color: #6d4d1e; background: #fff0cf; font-size: 7px; font-style: normal; font-weight: 850; }
.walk-group-location em.sent { color: #246654; background: #d9eee7; }
.walk-group-members { padding: 7px 14px; display: grid; gap: 7px; }
.walk-group-member { padding: 10px; display: grid; grid-template-columns: 38px minmax(150px,1fr) minmax(190px,.75fr) 38px; align-items: center; gap: 10px; border: 1px solid #dce7e5; border-radius: 10px; background: white; }
.walk-group-member-order { width: 38px; height: 38px; display: grid; place-content: center; justify-items: center; border-radius: 10px; color: #23715f; background: #dff2ec; }
.walk-group-member-order.return { color: #9a414c; background: #f6e2e4; }
.walk-group-member-order b { font-size: 13px; line-height: 1; }
.walk-group-member-order small { margin-top: 3px; font-size: 5px; font-weight: 950; }
.walk-group-member > div:nth-child(2) > strong, .walk-group-member > div:nth-child(2) > span, .walk-group-member > div:nth-child(2) > small { display: block; }
.walk-group-member > div:nth-child(2) > strong { color: var(--ink); font-size: 11px; }
.walk-group-member > div:nth-child(2) > span { margin-top: 2px; color: var(--teal); font-size: 9px; font-weight: 800; }
.walk-group-member > div:nth-child(2) > small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.walk-group-member p { margin: 4px 0 0; font-size: 8px; }
.walk-group-member p a { color: #286e62; text-decoration: none; }
.walk-group-member-times { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.walk-group-member-times span { padding: 7px 8px; border-radius: 7px; color: var(--muted); background: #f1f6f4; font-size: 7px; }
.walk-group-member-times b { display: block; margin-top: 3px; color: var(--ink); font-size: 9px; }
.walk-group-actions { padding: 11px 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.walk-group-actions > div { display: flex; flex-wrap: wrap; gap: 6px; }
.walk-group-actions a { padding: 8px 10px; border: 1px solid #b9d5cf; border-radius: 8px; color: #276f61; background: white; font-size: 8px; font-weight: 850; text-decoration: none; }
.walk-group-actions .button { min-height: 38px; padding: 0 16px; font-size: 9px; }
.walk-group-actions .button.return { background: #a94d59; }
.walk-groups-empty { min-height: 190px; place-content: center; }
.business-panel { display: grid; gap: 24px; }
.business-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.business-header h2 { margin: 0; }
.business-header > div:first-child > p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.business-controls { display: grid; justify-items: end; gap: 9px; }
.business-mode { padding: 4px; display: flex; gap: 3px; border-radius: 9px; background: #eaf1f0; }
.business-mode button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 850; }
.business-mode button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(30,60,68,.09); }
.business-subtabs { padding: 5px; display: flex; gap: 5px; width: fit-content; max-width: 100%; overflow-x: auto; border-radius: 10px; background: #eaf1f0; }
.discount-admin-layout { margin-top: 22px; display: grid; grid-template-columns: minmax(280px,.7fr) minmax(360px,1.3fr); gap: 20px; }
.discount-admin-form, .discount-admin-list { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfc; }
.discount-admin-form { display: grid; gap: 13px; }
.discount-admin-form h3, .discount-admin-list h3 { margin: 0 0 5px; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 500; }
.discount-admin-form label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.discount-admin-form input, .discount-admin-form select { min-height: 43px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font: inherit; }
.discount-admin-form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.discount-admin-form .checkbox-line { display: flex; align-items: center; gap: 8px; text-transform: none; }
.discount-admin-form .checkbox-line input { min-height: 0; }
.discount-admin-list { display: grid; align-content: start; gap: 9px; }
.discount-admin-row { min-width: 0; padding: 13px; display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.discount-admin-row strong, .discount-admin-row span { display: block; }
.discount-admin-row span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.discount-admin-row b { color: var(--teal); font-family: Georgia,"Times New Roman",serif; font-size: 19px; }
.discount-admin-row em { padding: 5px 7px; border-radius: 999px; color: var(--muted); background: #edf1f0; font-size: 8px; font-style: normal; font-weight: 900; }
.discount-admin-row em.active { color: #256552; background: #e1f2ec; }
.discount-admin-row > div:last-child { display: flex; gap: 5px; }
.discount-admin-row button { width: 28px; height: 28px; border: 0; border-radius: 7px; color: var(--danger); background: #fff0f0; font-size: 16px; }
.discount-admin-row button[data-edit-discount] { color: var(--blue); background: #eef5f7; }
.affiliation-dashboard { margin-top: 22px; display: grid; gap: 18px; }
.affiliation-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.affiliation-summary article { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdfc; }
.affiliation-summary span, .affiliation-summary strong { display: block; }
.affiliation-summary span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.affiliation-summary strong { margin-top: 7px; font-family: Georgia,"Times New Roman",serif; font-size: 30px; font-weight: 500; }
.affiliation-columns { display: grid; grid-template-columns: minmax(260px,.55fr) minmax(0,1.45fr); gap: 18px; }
.affiliation-ranking, .affiliation-tree-panel { padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdfc; }
.affiliation-ranking h3, .affiliation-tree-panel h3 { margin: 0 0 15px; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 500; }
.affiliation-ranking { display: grid; align-content: start; gap: 7px; }
.affiliation-ranking button { padding: 9px; display: grid; grid-template-columns: minmax(90px,1fr) minmax(60px,.8fr) 22px; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; color: var(--ink); background: white; text-align: left; font-size: 9px; }
.affiliation-ranking button.active { border-color: #8bc5b6; background: #edf8f4; }
.affiliation-ranking i { height: 6px; overflow: hidden; border-radius: 999px; background: #e5edeb; }
.affiliation-ranking i b { height: 100%; display: block; border-radius: inherit; background: var(--teal); }
.affiliation-ranking button > strong { text-align: right; }
.affiliation-tree-panel > .panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.affiliation-tree-panel select { max-width: 220px; min-height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.affiliation-tree, .affiliation-tree ul { margin: 0; padding: 0; display: flex; justify-content: center; gap: 18px; list-style: none; }
.affiliation-tree { overflow-x: auto; padding: 10px 5px 20px; }
.affiliation-tree li { position: relative; display: grid; justify-items: center; align-content: start; }
.affiliation-tree ul { position: relative; padding-top: 28px; }
.affiliation-tree ul::before { content:""; position:absolute; top:0; left:50%; width:1px; height:28px; background:#b9d3cd; }
.affiliation-tree ul > li::before { content:""; position:absolute; top:-14px; left:0; right:0; height:1px; background:#b9d3cd; }
.affiliation-tree ul > li:first-child::before { left:50%; }
.affiliation-tree ul > li:last-child::before { right:50%; }
.affiliation-person { min-width: 155px; padding: 10px; display: flex; align-items: center; gap: 9px; border: 1px solid #bdd8d2; border-radius: 11px; background: white; box-shadow: 0 5px 14px rgba(24,54,60,.06); }
.affiliation-person > span, .affiliation-person > img { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg,var(--teal),var(--blue)); object-fit: cover; font-size: 10px; font-weight: 900; }
.affiliation-person strong, .affiliation-person small { display: block; }
.affiliation-person strong { font-size: 10px; }
.affiliation-person small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.business-subtabs button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 850; white-space: nowrap; }
.business-subtabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(30,60,68,.09); }
.business-subtabs span { margin-left: 5px; padding: 2px 6px; border-radius: 99px; color: white; background: var(--teal); }
.business-controls .calendar-navigation strong { min-width: 150px; text-align: center; text-transform: capitalize; font-size: 11px; }
.business-kpi-groups { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 16px; align-items: stretch; }
.business-kpi-group { padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #f5f9f8; }
.business-kpi-group-title { margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.business-kpi-group-title span { color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.business-kpi-group-title small { color: var(--muted); font-size: 9px; text-transform: capitalize; }
.business-kpi-group .business-kpis { height: calc(100% - 27px); }
.business-general-stats .business-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
.business-general-stats .business-kpis article:last-child { grid-column: 1 / -1; }
.business-payment-stats .business-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
.business-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.business-kpis article { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg,#fbfdfc,white); }
.business-kpis span, .business-kpis small { display: block; color: var(--muted); }
.business-kpis span { font-size: 9px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.business-kpis strong { display: block; margin: 8px 0 4px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(22px,2.5vw,32px); font-weight: 500; }
.business-kpis small { font-size: 9px; }
.business-charts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.business-chart { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.business-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.business-chart-heading h3 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: 18px; font-weight: 500; }
.business-chart-heading > div { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 9px; font-weight: 800; }
.business-chart-heading span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--teal); }
.business-chart-heading span.series-2::before { background: #b67931; }
.business-chart-heading span.series-3::before { background: #6878b8; }
.business-chart-heading span.series-4::before { background: #8c5c77; }
.business-chart-heading span.series-5::before { background: #477a55; }
.business-chart svg { width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.business-grid line { stroke: #dfe9e7; stroke-width: 1; }
.business-grid text, .business-chart .axis-title { fill: var(--muted); font-size: 11px; }
.business-series polyline { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.business-series circle { fill: white; stroke: var(--teal); stroke-width: 2; }
.business-series.series-2 polyline { stroke: #b67931; }
.business-series.series-2 circle { stroke: #b67931; }
.business-series.series-3 polyline { stroke: #6878b8; }
.business-series.series-3 circle { stroke: #6878b8; }
.business-series.series-4 polyline { stroke: #8c5c77; }
.business-series.series-4 circle { stroke: #8c5c77; }
.business-series.series-5 polyline { stroke: #477a55; }
.business-series.series-5 circle { stroke: #477a55; }

.manual-invoice-business { display: grid; gap: 18px; }
.manual-invoice-intro { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #c8ddda; border-radius: 13px; background: linear-gradient(135deg,#eff8f6,#fbfaf4); }
.manual-invoice-intro .eyebrow { margin: 0 0 5px; }
.manual-invoice-intro h3 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: 26px; font-weight: 500; }
.manual-invoice-intro p { max-width: 720px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.manual-invoice-intro > span { padding: 8px 11px; flex: 0 0 auto; border-radius: 999px; color: #27755e; background: #dff1e8; font-size: 9px; font-weight: 900; }
.manual-invoice-form { display: grid; gap: 14px; }
.manual-invoice-form fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfa; }
.manual-invoice-form legend, .manual-invoice-lines-heading h4 { padding: 0 7px; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 19px; font-weight: 500; }
.manual-invoice-lines-heading h4 { margin: 0; padding: 0; }
.manual-invoice-form label { min-width: 0; display: grid; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .035em; }
.manual-invoice-form input, .manual-invoice-form select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #cadbd8; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 12px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.manual-invoice-form input:focus, .manual-invoice-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74,163,162,.12); outline: none; }
.manual-invoice-client-select { margin-bottom: 15px; }
.manual-invoice-client-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.manual-invoice-client-grid .wide { grid-column: 1 / -1; }
.manual-invoice-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.manual-invoice-lines-fieldset { display: grid; gap: 13px; }
.manual-invoice-lines-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.manual-invoice-lines-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.manual-invoice-lines { display: grid; gap: 9px; }
.manual-invoice-line { position: relative; min-width: 0; padding: 12px 50px 12px 42px; display: grid; grid-template-columns: minmax(210px,1.8fr) minmax(90px,.45fr) minmax(125px,.6fr) minmax(105px,.45fr); align-items: end; gap: 10px; border: 1px solid #d5e3e0; border-radius: 11px; background: white; }
.manual-invoice-line-number { position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; color: white; background: var(--ink); font-size: 9px; font-weight: 900; transform: translateY(-50%); }
.manual-invoice-line-total { min-height: 40px; display: grid; align-content: center; justify-items: end; gap: 2px; }
.manual-invoice-line-total span { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.manual-invoice-line-total strong { color: var(--ink); font-size: 14px; }
.manual-invoice-remove { position: absolute; right: 10px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #edc9cc; border-radius: 8px; color: var(--danger); background: #fff7f7; transform: translateY(-50%); }
.manual-invoice-remove:hover:not(:disabled) { color: white; border-color: var(--danger); background: var(--danger); }
.manual-invoice-remove:disabled { cursor: not-allowed; opacity: .35; }
.manual-invoice-remove svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.manual-invoice-form .form-error:empty { display: none; }
.manual-invoice-submit { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #c5d9d5; border-radius: 12px; background: #173d43; box-shadow: 0 12px 30px rgba(18,43,51,.13); }
.manual-invoice-submit > div { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 14px; color: white; }
.manual-invoice-submit span { font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.manual-invoice-submit strong { font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 500; }
.manual-invoice-submit small { grid-column: 1 / -1; color: rgba(255,255,255,.62); font-size: 9px; }
.booking-payments-section { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfa; }
.booking-payment-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 10px; align-items: stretch; }
.booking-payment-summary > div { padding: 12px; border-radius: 9px; background: white; }
.booking-payment-summary span, .booking-payment-summary strong { display: block; }
.booking-payment-summary span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.booking-payment-summary strong { margin-top: 5px; font-size: 17px; }
.payment-status { align-self: center; padding: 7px 10px; border-radius: 99px; color: #8a5c12; background: #fff0cc; font-size: 9px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.payment-status.paid { color: #256552; background: #dcefe8; }
.booking-payments-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 20px; }
.booking-payments-grid h3, .manual-income-layout h3 { margin: 0 0 12px; }
.booking-payment-row { padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.booking-payment-row span, .booking-payment-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.booking-payment-row button { border: 0; color: var(--teal); background: transparent; font-size: 9px; font-weight: 800; }
.booking-payment-row button.delete, .link-button.delete { color: #9b4242; }
.payment-empty { color: var(--muted); font-size: 10px; }
.payment-form { padding: 17px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.payment-form label { display: grid; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.payment-form input, .payment-form select, .payment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font: inherit; text-transform: none; }
.payment-form > div { display: flex; justify-content: flex-end; gap: 8px; }
.manual-income-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1.35fr); gap: 20px; align-items: start; }
.manual-income-list { min-width: 0; }
.manual-income-list table { min-width: 700px; }
.manual-income-list td small { display: block; max-width: 280px; margin-top: 4px; color: var(--muted); }
.admin-clients-panel .panel-header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.admin-clients-panel .panel-header input { width: min(290px, 100%); }
.clients-table { width: 100%; min-width: 0; table-layout: auto; }
.clients-table th, .clients-table td { padding-left: 10px; padding-right: 10px; }
.client-dogs-cell { min-width: 90px; display: flex; flex-wrap: wrap; gap: 5px; }
.client-dogs-cell span { padding: 5px 8px; border-radius: 999px; color: var(--teal-dark); background: rgba(74, 163, 162, .12); font-size: 10px; font-weight: 850; }
.client-dogs-cell small { color: var(--muted); font-size: 10px; }
.client-booking-counts { min-width: 110px; display: flex; gap: 6px; }
.client-booking-counts span { padding: 7px 9px; display: grid; gap: 2px; border-radius: 7px; background: #f2f6f5; }
.client-booking-counts strong { font-size: 13px; }
.client-booking-counts small { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.client-finance-summary { display: grid; grid-template-columns: repeat(3,minmax(82px,1fr)); gap: 6px; }
.client-money-cell { min-width: 82px; padding: 8px 9px; border-radius: 8px; background: #f4f8f7; }
.client-money-cell strong, .client-money-cell small { display: block; }
.client-money-cell strong { color: var(--ink); font-size: 13px; }
.client-money-cell small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.client-money-cell.paid { background: #e7f4ef; }
.client-money-cell.paid strong, .client-money-cell.due.settled strong { color: var(--success); }
.client-money-cell.due.outstanding { background: #fff1e7; }
.client-money-cell.due.outstanding strong { color: #ad522e; }
.diagnostics-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.diagnostics-header .eyebrow { margin-bottom: 8px; }
.diagnostics-header h2 { margin: 0; }
.diagnostics-header p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.diagnostics-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.diagnostics-feedback { margin: 20px 0 0; padding: 13px 15px; border-radius: 9px; font-size: 12px; font-weight: 800; }
.diagnostics-feedback.success { color: var(--success); background: #e1f2ec; }
.diagnostics-feedback.error { color: var(--danger); background: #f7e4e4; }
.diagnostics-loading { margin-top: 22px; padding: 35px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 11px; }
.diagnostic-counters { margin: 22px 0 12px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.diagnostic-counters article { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfc; }
.diagnostic-counters span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.diagnostic-counters strong { display: block; margin-top: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.diagnostic-counters .ok strong { color: var(--success); }
.diagnostic-counters .warning strong { color: var(--warning); }
.diagnostic-counters .error strong { color: var(--danger); }
.diagnostic-checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.diagnostic-check { min-width: 0; padding: 14px; display: grid; grid-template-columns: 30px 1fr; gap: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.diagnostic-check-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--success); font-weight: 900; }
.diagnostic-check.warning .diagnostic-check-icon { background: var(--warning); }
.diagnostic-check.error .diagnostic-check-icon { background: var(--danger); }
.diagnostic-check strong { font-size: 12px; }
.diagnostic-check p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.diagnostics-date { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.diagnostics-mail-block { margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.diagnostics-mail-block h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.diagnostics-mail-block .mail-diagnostic-result { min-height: 20px; }
.admin-calendar-panel { margin-bottom: 18px; }
.planning-view-tabs { width: fit-content; margin: 0 0 22px; padding: 4px; display: flex; gap: 4px; border-radius: 11px; background: #eaf1ef; }
.planning-view-tabs button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 900; cursor: pointer; }
.planning-view-tabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(12,36,44,.08); }

/* Planning des itinéraires de balade */
.walk-route-panel { overflow: hidden; }
.route-planner-header { align-items: stretch; }
.route-planner-header > div:first-child { max-width: 720px; }
.route-planner-header > div:first-child > p:last-child { max-width: 680px; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.route-base-card { width: min(360px,100%); padding: 15px 17px; display: grid; align-content: center; gap: 4px; border: 1px solid #bcd6d1; border-radius: 12px; background: linear-gradient(135deg,#e9f5f2,#f8fbfa); }
.route-base-card span, .route-base-card strong, .route-base-card small { display: block; }
.route-base-card span { color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.route-base-card strong { color: var(--ink); font-size: 12px; line-height: 1.45; }
.route-base-card small { color: var(--muted); font-size: 9px; }
.route-api-usage { margin-top: 18px; padding: 15px 17px; display: grid; grid-template-columns: minmax(180px,.7fr) minmax(280px,1.3fr) auto; align-items: center; gap: 18px; border: 1px solid #bfd5d1; border-radius: 13px; background: linear-gradient(135deg,#f0f8f6,#fff); }
.route-api-usage-main span, .route-api-usage-main strong, .route-api-usage-main small { display: block; }
.route-api-usage-main span { color: var(--teal); font-size: 7px; font-weight: 950; letter-spacing: .09em; }
.route-api-usage-main strong { margin-top: 2px; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 500; }
.route-api-usage-main small { color: var(--muted); font-size: 7px; }
.route-api-usage-main i { height: 5px; margin-top: 8px; display: block; overflow: hidden; border-radius: 99px; background: #dce8e5; }
.route-api-usage-main i b { height: 100%; display: block; border-radius: inherit; background: var(--teal); }
.route-api-usage-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.route-api-usage-details span { min-width: 0; padding: 8px 9px; border-radius: 8px; color: var(--muted); background: #f2f6f5; font-size: 7px; line-height: 1.4; }
.route-api-usage-details b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; overflow-wrap: anywhere; }
.route-api-usage-links { display: grid; gap: 6px; }
.route-api-usage-links a { padding: 8px 10px; border: 1px solid #b7d4ce; border-radius: 8px; color: #236f60; background: white; font-size: 8px; font-weight: 850; text-align: center; text-decoration: none; white-space: nowrap; }
.route-api-usage-links a:last-child { color: white; border-color: var(--ink); background: var(--ink); }
.route-api-usage > p { grid-column: 1 / -1; margin: -8px 0 0; color: #788b8e; font-size: 7px; line-height: 1.4; }
.walk-route-form { margin-top: 24px; }
.walk-route-layout { display: grid; grid-template-columns: minmax(340px,.76fr) minmax(0,1.24fr); gap: 18px; align-items: start; }
.route-planner-inputs, .route-planner-result { min-width: 0; border: 1px solid var(--line); border-radius: 15px; }
.route-planner-inputs { padding: 19px; display: grid; gap: 14px; background: #f7faf9; }
.route-step-heading { display: flex; align-items: center; gap: 11px; }
.route-step-heading > span { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--ink); font-size: 10px; font-weight: 950; }
.route-step-heading strong, .route-step-heading small { display: block; }
.route-step-heading strong { font-family: Georgia,"Times New Roman",serif; font-size: 19px; font-weight: 500; }
.route-step-heading small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.route-date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route-planner-inputs label { display: grid; gap: 6px; color: var(--ink-2); font-size: 9px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.route-planner-inputs input, .route-planner-inputs select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #c9d9d6; border-radius: 9px; color: var(--ink); background: white; font: inherit; font-size: 11px; font-weight: 700; text-transform: none; }
.route-walk-location { padding: 12px; border: 1px solid #a8cec7; border-radius: 11px; background: #eaf5f2; }
.route-walk-location small { color: #58756f; font-size: 8px; font-weight: 650; line-height: 1.45; letter-spacing: 0; text-transform: none; }
.route-manual-walk-location[hidden] { display: none !important; }
.route-location-directory { overflow: hidden; border: 1px solid #c8d9d6; border-radius: 11px; background: white; }
.route-location-directory summary { padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); cursor: pointer; list-style: none; }
.route-location-directory summary::-webkit-details-marker { display: none; }
.route-location-directory summary span { font-size: 10px; font-weight: 900; }
.route-location-directory summary b { color: var(--teal); font-size: 8px; }
.route-location-directory[open] summary { border-bottom: 1px solid #dde7e5; background: #f6faf9; }
.route-location-directory > div { max-height: 260px; padding: 7px 11px; display: grid; gap: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #82aaa3 transparent; }
.route-location-directory article { padding: 8px 3px; display: grid; grid-template-columns: minmax(0,1fr) 25px; align-items: center; gap: 8px; border-bottom: 1px solid #edf2f1; }
.route-location-directory article:last-child { border-bottom: 0; }
.route-location-directory article.closed { opacity: .48; }
.route-location-directory article strong, .route-location-directory article small { display: block; }
.route-location-directory article strong { font-size: 9px; }
.route-location-directory article small { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.4; }
.route-location-directory article a { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #bdd7d2; border-radius: 7px; color: var(--teal); text-decoration: none; }
.route-location-directory > p { margin: 0; padding: 9px 12px; border-top: 1px solid #dde7e5; color: #715b37; background: #fff8e9; font-size: 7px; line-height: 1.5; }
.route-booked-heading, .route-manual-heading { padding-top: 3px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.route-booked-heading strong, .route-booked-heading small, .route-manual-heading strong, .route-manual-heading small { display: block; }
.route-booked-heading strong, .route-manual-heading strong { color: var(--ink); font-size: 11px; }
.route-booked-heading small, .route-manual-heading small { margin-top: 2px; color: var(--teal); font-size: 9px; font-weight: 800; }
.route-booked-heading > span { color: var(--muted); font-size: 8px; text-align: right; }
.route-booking-stops, .manual-route-stops { display: grid; gap: 7px; }
.route-booking-stop { position: relative; padding: 10px 70px 10px 11px; display: grid !important; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 9px !important; border: 1px solid #c8d9d6; border-radius: 10px; background: white; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.route-booking-stop:has(input:checked) { border-color: #78b8aa; background: #eef8f5; box-shadow: inset 3px 0 #4aa392; }
.route-booking-stop.missing-address { border-color: #dfb2aa; background: #fff3ef; cursor: not-allowed; }
.route-booking-stop.missing-address em { color: var(--danger); }
.route-booking-stop input { width: 17px; min-height: 17px; height: 17px; padding: 0; accent-color: var(--teal); }
.route-booking-stop b, .route-booking-stop small { display: block; }
.route-booking-stop b { color: var(--ink); font-size: 10px; }
.route-booking-stop small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.route-booking-stop em { position: absolute; right: 10px; top: 50%; color: var(--teal); font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; transform: translateY(-50%); }
.route-empty { padding: 16px; display: grid; gap: 4px; border: 1px dashed #c4d5d2; border-radius: 10px; color: var(--muted); background: white; text-align: center; }
.route-empty strong { color: var(--ink); font-size: 10px; }
.route-empty span { font-size: 8px; line-height: 1.5; }
.route-manual-heading .small-button { min-height: 31px; padding: 0 10px; }
.manual-route-stop { position: relative; padding: 9px 39px 9px 38px; display: grid; grid-template-columns: minmax(110px,.65fr) minmax(170px,1.35fr); align-items: end; gap: 8px; border: 1px dashed #bdcfcc; border-radius: 10px; background: white; }
.manual-route-stop > span { position: absolute; left: 9px; top: 50%; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: white; background: #78928f; font-size: 8px; font-weight: 900; transform: translateY(-50%); }
.manual-route-stop button { position: absolute; right: 7px; top: 50%; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #e7c5c7; border-radius: 7px; color: var(--danger); background: #fff5f5; transform: translateY(-50%); }
.manual-route-stop button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-privacy-note { margin: 0; padding: 9px 11px; border-left: 3px solid #9ab7b2; color: #657b7f; background: #eef3f2; font-size: 8px; line-height: 1.5; }
.route-privacy-note.warning { border-left-color: #d39a4d; color: #7d5520; background: #fff5e2; }
.route-calculate-button { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.route-calculate-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-test-launch { width: 100%; min-height: 48px; padding: 8px 13px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #afcec8; border-radius: 10px; color: #286f62; background: #eef8f5; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.route-test-launch:hover { border-color: #64a899; background: #e3f3ef; transform: translateY(-1px); }
.route-test-launch:disabled { opacity: .55; cursor: wait; transform: none; }
.route-test-launch svg { width: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-test-launch span, .route-test-launch b, .route-test-launch small { display: block; text-align: left; }
.route-test-launch b { font-size: 10px; }
.route-test-launch small { margin-top: 2px; color: #68817c; font-size: 7px; font-weight: 650; }
.route-planner-inputs .form-error:empty { display: none; }
.route-planner-result { min-height: 580px; padding: 20px; background: white; }
.route-result-empty, .route-result-loading { min-height: 540px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }
.route-result-empty svg { width: 52px; margin-bottom: 5px; fill: none; stroke: #82aaa3; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.route-result-empty strong, .route-result-loading strong { color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 20px; font-weight: 500; }
.route-result-empty span, .route-result-loading span { max-width: 360px; font-size: 10px; line-height: 1.55; }
.route-result-empty.error strong { color: var(--danger); }
.route-result-loading i { width: 32px; height: 32px; margin-bottom: 6px; border: 3px solid #dce9e6; border-top-color: var(--teal); border-radius: 50%; animation: route-spin .75s linear infinite; }
@keyframes route-spin { to { transform: rotate(360deg); } }
.route-result-content { display: grid; gap: 17px; }
.route-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.route-result-heading span { color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.route-result-heading h3 { margin: 4px 0 2px; font-family: Georgia,"Times New Roman",serif; font-size: 25px; font-weight: 500; }
.route-result-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.route-navigation-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.route-navigation-links a { padding: 8px 10px; border: 1px solid #b7d4ce; border-radius: 8px; color: #236f60; background: #eff8f5; font-size: 9px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.route-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.route-kpis article { padding: 11px 12px; border: 1px solid #d7e2e0; border-radius: 9px; background: #f7faf9; }
.route-kpis span, .route-kpis strong { display: block; }
.route-kpis span { color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; }
.route-kpis strong { margin-top: 4px; color: var(--ink); font-size: 17px; }
.route-selected-location { padding: 12px 14px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; border: 1px solid #a9d1c8; border-radius: 11px; background: linear-gradient(135deg,#e8f6f2,#f8fbfa); }
.route-selected-location > span { color: #247565; font-size: 7px; font-weight: 950; letter-spacing: .08em; }
.route-selected-location strong, .route-selected-location small { display: block; }
.route-selected-location strong { color: var(--ink); font-size: 11px; }
.route-selected-location small { margin-top: 3px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.route-selected-location a { padding: 7px 9px; border: 1px solid #b7d4ce; border-radius: 8px; color: #236f60; background: white; font-size: 8px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.google-route-view { overflow: hidden; border: 1px solid #d3e1de; border-radius: 14px; background: #eef4f2; }
.google-route-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #d3e1de; }
.google-route-tabs button { min-width: 0; min-height: 64px; padding: 10px 15px; display: grid; grid-template-columns: 30px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; column-gap: 10px; border: 0; color: #617477; background: #f2f6f5; text-align: left; cursor: pointer; transition: color .2s ease, background .2s ease; }
.google-route-tabs button:hover { background: white; }
.google-route-tabs button.active { color: #236f60; background: white; box-shadow: inset 0 -3px #3a9c88; }
.google-route-tabs button[data-google-route-tab="return"].active { color: #9e4652; box-shadow: inset 0 -3px #b45b65; }
.google-route-tabs button > span { grid-row: 1 / 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: white; background: #738b87; font-size: 9px; font-weight: 950; }
.google-route-tabs button.active > span { background: #2f8f7d; }
.google-route-tabs button[data-google-route-tab="return"].active > span { background: #b45b65; }
.google-route-tabs b { align-self: end; color: inherit; font-size: 11px; }
.google-route-tabs small { align-self: start; overflow: hidden; font-size: 8px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.google-route-panel { padding: 9px; background: white; }
.google-route-map { width: 100%; height: 410px; overflow: hidden; border-radius: 10px; background: #e9efed; }
.google-route-map-error { height: 100%; padding: 24px; display: grid; place-content: center; gap: 5px; color: var(--danger); text-align: center; }
.google-route-map-error strong, .google-route-map-error span { display: block; }
.google-route-map-error strong { font-family: Georgia,"Times New Roman",serif; font-size: 20px; font-weight: 500; }
.google-route-map-error span { color: var(--muted); font-size: 10px; }
.route-sketch { margin: 0; padding: 10px; border: 1px solid #d7e3e1; border-radius: 12px; background: linear-gradient(145deg,#f3f8f7,#e8f2ef); }
.route-sketch svg { width: 100%; max-height: 280px; display: block; }
.route-sketch polyline { fill: none; stroke: #315f67; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.route-sketch g circle { fill: white; stroke-width: 3; }
.route-sketch g text { fill: var(--ink); font-size: 8px; font-weight: 900; text-anchor: middle; }
.route-sketch g.base circle { stroke: #193940; }
.route-sketch g.pickup circle { stroke: #3f9e84; }
.route-sketch g.walk circle { stroke: #d19743; fill: #fff6e7; }
.route-sketch g.dropoff circle { stroke: #a85d66; }
.route-sketch figcaption { margin-top: 5px; color: var(--muted); font-size: 8px; text-align: center; }
.route-orders { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.route-orders > section { padding: 12px; border: 1px solid #d5e2df; border-radius: 11px; background: #fbfdfc; }
.route-orders header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.route-orders header > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: white; background: var(--ink); font-size: 8px; font-weight: 900; }
.route-orders header strong, .route-orders header small { display: block; }
.route-orders header strong { font-size: 10px; }
.route-orders header small { color: var(--muted); font-size: 7px; }
.route-orders article { padding: 7px 0; display: grid; grid-template-columns: 23px minmax(0,1fr); gap: 8px; border-top: 1px solid #e7eeec; }
.route-orders article i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: #287261; background: #dcf0e9; font-size: 8px; font-style: normal; font-weight: 900; }
.route-orders article strong, .route-orders article span { display: block; }
.route-orders article strong { font-size: 9px; }
.route-orders article span { margin-top: 2px; color: var(--muted); font-size: 7px; line-height: 1.35; }
.route-orders .route-stop-contact { display: block; margin-top: 4px; color: #247463; font-size: 7px; font-weight: 800; }
.route-orders article.route-order-destination { margin-top: 4px; padding: 9px 8px; border: 1px solid #e1bd7d; border-radius: 8px; background: #fff7e8; }
.route-orders article.route-order-destination i { color: white; background: #c78d35; }
.route-orders article.route-order-destination strong { color: #6f4b17; }
.route-orders article.route-order-destination em { display: inline-block; margin-top: 5px; padding: 3px 6px; border-radius: 5px; color: #8b5f1e; background: #f4dfb6; font-size: 6px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.route-orders > section:last-child article.route-order-destination { border-color: #b9d1cd; background: #eef6f4; }
.route-orders > section:last-child article.route-order-destination i { background: var(--ink); }
.route-orders > section:last-child article.route-order-destination strong { color: var(--ink); }
.route-orders > section:last-child article.route-order-destination em { color: #315f58; background: #dcebe7; }
.route-full-sequence { margin: 0; padding: 13px; display: flex; gap: 5px; overflow-x: auto; border-radius: 10px; background: var(--ink); scrollbar-color: #6fa99e transparent; scrollbar-width: thin; }
.route-full-sequence li { min-width: 105px; display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 6px; color: white; }
.route-full-sequence li > i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #dff1ec; font-size: 7px; font-style: normal; font-weight: 900; }
.route-full-sequence span, .route-full-sequence strong, .route-full-sequence small { display: block; }
.route-full-sequence span { color: #83c6b8; font-size: 6px; font-weight: 900; text-transform: uppercase; }
.route-full-sequence strong { margin-top: 2px; font-size: 8px; }
.route-full-sequence small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 6px; line-height: 1.35; }
.route-attribution { margin: -8px 0 0; color: var(--muted); font-size: 7px; text-align: right; }
.route-test-suite[hidden] { display: none !important; }
.route-test-suite { margin-top: 18px; padding: 20px; border: 1px solid #bfd5d1; border-radius: 15px; background: linear-gradient(145deg,#f0f8f6,#fbfdfc); }
.route-test-suite-heading { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.route-test-suite-heading span { color: var(--teal); font-size: 8px; font-weight: 950; letter-spacing: .1em; }
.route-test-suite-heading h3 { margin: 3px 0; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 500; }
.route-test-suite-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.route-test-suite-heading > strong { padding: 8px 11px; border-radius: 8px; color: #256e60; background: #dff1ec; font-size: 9px; white-space: nowrap; }
.route-test-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.route-test-card { min-width: 0; padding: 13px; display: grid; gap: 10px; border: 1px solid #d4e1de; border-radius: 11px; background: white; }
.route-test-card.success { border-color: #94c9bc; box-shadow: inset 3px 0 #4a9f8d; }
.route-test-card.error { border-color: #e0b4b5; box-shadow: inset 3px 0 #bd6268; }
.route-test-card.running { border-color: #e0bd82; box-shadow: inset 3px 0 #d19a42; }
.route-test-card header { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.route-test-card header > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--ink); font-size: 8px; font-weight: 950; }
.route-test-card header strong, .route-test-card header small { display: block; }
.route-test-card header strong { color: var(--ink); font-size: 10px; }
.route-test-card header small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.route-test-card header em { color: var(--teal); font-size: 7px; font-style: normal; font-weight: 950; text-transform: uppercase; }
.route-test-card.error header em { color: var(--danger); }
.route-test-card.running header em { color: #a46c18; }
.route-test-progress { display: flex; align-items: center; gap: 8px; color: #8b6a32; font-size: 8px; }
.route-test-progress i { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid #ead9bd; border-top-color: #c38d39; border-radius: 50%; animation: route-spin .75s linear infinite; }
.route-test-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.route-test-kpis span { min-width: 0; padding: 7px; border-radius: 7px; color: var(--muted); background: #f3f7f6; font-size: 7px; overflow-wrap: anywhere; }
.route-test-kpis b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 9px; }
.route-test-order, .route-test-error { margin: 0; padding: 8px 9px; border-radius: 7px; color: #627579; background: #f5f8f7; font-size: 7px; line-height: 1.5; }
.route-test-error { color: #963f47; background: #fff0f0; }
.route-test-actions { display: flex; justify-content: flex-end; gap: 6px; }
.route-test-actions button { min-height: 29px; padding: 0 9px; border: 1px solid #bed4d0; border-radius: 7px; color: #286f62; background: white; font-size: 7px; font-weight: 900; cursor: pointer; }
.route-test-actions button.primary { color: white; border-color: var(--teal); background: var(--teal); }

@media (max-width: 1120px) {
  .walk-route-layout { grid-template-columns: 1fr; }
  .route-api-usage { grid-template-columns: 1fr 1fr; }
  .route-api-usage-links { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .route-planner-result { min-height: 420px; }
  .route-result-empty, .route-result-loading { min-height: 380px; }
}

@media (max-width: 700px) {
  .reservation-subtabs { width: 100%; }
  .reservation-subtabs button { min-width: 0; flex: 1; padding: 0 8px; }
  .walk-groups-heading, .walk-group-actions { align-items: stretch; flex-direction: column; }
  .walk-group-generate { display: grid; grid-template-columns: 1fr; }
  .walk-group-generate .small-button { width: 100%; }
  .walk-group-member { grid-template-columns: 34px minmax(0,1fr) 34px; align-items: start; }
  .walk-group-member-order { width: 34px; height: 34px; }
  .walk-group-member-times { grid-column: 1 / -1; grid-row: 2; }
  .walk-group-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .walk-group-actions a { text-align: center; }
  .walk-group-actions .button { width: 100%; }
  .route-planner-header, .route-result-heading { align-items: stretch; flex-direction: column; }
  .route-base-card { width: 100%; }
  .route-api-usage, .route-api-usage-details, .route-api-usage-links { grid-template-columns: 1fr; }
  .route-api-usage-links { grid-column: auto; }
  .route-date-fields, .route-kpis, .route-orders { grid-template-columns: 1fr; }
  .route-booked-heading, .route-manual-heading { align-items: flex-start; flex-direction: column; }
  .route-booked-heading > span { text-align: left; }
  .route-manual-heading .small-button { width: 100%; }
  .manual-route-stop { padding: 38px 39px 9px 9px; grid-template-columns: 1fr; }
  .manual-route-stop > span { left: 9px; top: 9px; transform: none; }
  .manual-route-stop button { top: 8px; transform: none; }
  .route-navigation-links { justify-content: flex-start; }
  .route-navigation-links a { flex: 1; text-align: center; }
  .google-route-map { height: 320px; }
  .route-selected-location { grid-template-columns: 1fr; }
  .route-selected-location a { width: fit-content; }
  .route-planner-result { padding: 12px; }
  .route-test-suite { padding: 13px; }
  .route-test-suite-heading { align-items: flex-start; flex-direction: column; }
  .route-test-grid, .route-test-kpis { grid-template-columns: 1fr; }
  .route-test-card header { grid-template-columns: 30px minmax(0,1fr); }
  .route-test-card header em { grid-column: 2; }
}
.admin-calendar-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.document-period-controls { display: flex; align-items: center; gap: 12px; }
.business-period-switch { padding: 4px; display: flex; gap: 3px; border-radius: 10px; background: #eaf1ef; }
.business-period-switch button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 900; }
.business-period-switch button.active { color: var(--ink); background: white; box-shadow: 0 2px 8px rgba(12,36,44,.08); }
.document-loading { padding: 60px 20px; color: var(--muted); text-align: center; }
.admin-calendar-add { min-height: 34px; margin-left: auto; padding: 7px 12px; white-space: nowrap; font-size: 11px; }
.calendar-title-actions { display: flex; align-items: center; gap: 14px; }
.admin-manual-service-modal { width: min(760px, 100%); }
.admin-manual-service-form { display: grid; gap: 18px; margin-top: 24px; }
.admin-manual-service-form > label, .admin-manual-service-form .field-pair > label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 850; }
.admin-manual-service-form input, .admin-manual-service-form select, .admin-manual-service-form textarea { width: 100%; }
.admin-manual-dog-fields { display: grid; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f6f9f8; }
.admin-manual-price-field { display: grid; grid-template-columns: minmax(190px, 240px) 1fr; align-items: end; gap: 16px; padding: 17px; border: 1px solid rgba(74, 163, 162, .35); border-radius: 14px; background: rgba(74, 163, 162, .08); }
.admin-manual-price-field label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 850; }
.admin-manual-price-field p { margin: 0 0 11px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.admin-client-booking-modal { width: min(1500px, calc(100vw - 30px)); max-width: none; padding: 34px; }
.admin-client-booking-host { margin-top: 25px; }
.admin-client-booking-host .booking-builder { align-items: start; }
.admin-client-picker { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(250px, .7fr) 1fr; align-items: end; gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #f5f9f8; }
.admin-client-picker .builder-heading { margin: 0; }
.admin-client-picker > label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 850; }
.admin-client-discount { display: grid; gap: 12px; margin-top: 15px; padding: 16px; border: 1px solid rgba(74, 163, 162, .35); border-radius: 14px; background: rgba(74, 163, 162, .08); }
.admin-client-discount > label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 850; }
.admin-client-discount label > div { position: relative; }
.admin-client-discount label > div span { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 850; }
.admin-client-discount [hidden] { display: none !important; }
.admin-client-final-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(74, 163, 162, .25); }
.admin-client-final-total span { color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.admin-client-final-total b { color: var(--ink); font-size: 21px; }
.admin-client-header-actions, .admin-client-row-actions { display: flex; align-items: center; gap: 9px; }
.admin-client-row-actions { width: 171px; max-width: 100%; flex: 0 0 171px; flex-wrap: wrap; min-width: 171px; overflow: visible; }
.admin-client-action { position: relative; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--teal); background: #f8fbfa; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.admin-client-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-client-action:hover, .admin-client-action:focus-visible { z-index: 4; color: white; border-color: var(--teal); background: var(--teal); transform: translateY(-2px); outline: none; }
.admin-client-action::after { content: attr(data-action-label); position: absolute; right: 0; bottom: calc(100% + 8px); padding: 7px 9px; border-radius: 7px; color: white; background: var(--ink); box-shadow: 0 8px 20px rgba(12,36,44,.18); font-size: 10px; font-weight: 800; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; pointer-events: none; }
.admin-client-action:hover::after, .admin-client-action:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(0); }
.admin-client-action.delete { color: var(--danger); }
.admin-client-action.delete:hover, .admin-client-action.delete:focus-visible { color: white; border-color: var(--danger); background: var(--danger); }
.admin-client-action.document { color: var(--blue); background: #f3f8fa; }
.admin-client-action.document:hover, .admin-client-action.document:focus-visible { color: white; border-color: var(--blue); background: var(--blue); }
.admin-client-action.pricing { color: #27755e; background: #edf8f3; }
.admin-client-action.pricing:hover, .admin-client-action.pricing:focus-visible { color: white; border-color: #27755e; background: #27755e; }
.admin-client-action.pricing::after { width: 290px; max-width: min(290px, 80vw); white-space: normal; text-align: left; line-height: 1.45; }
.client-prices-modal { width: min(760px, 100%); }
.client-prices-form { margin-top: 22px; display: grid; gap: 18px; }
.client-prices-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.client-prices-grid label { min-width: 0; padding: 14px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; font-size: 11px; font-weight: 850; }
.client-prices-grid label small { color: var(--muted); font-size: 9px; font-weight: 650; }
.custom-price-input { display: grid; grid-template-columns: 1fr 38px; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.custom-price-input input { width: 100%; min-width: 0; padding: 11px 12px; border: 0; color: var(--ink); background: transparent; font: inherit; }
.custom-price-input span { height: 100%; display: grid; place-items: center; color: var(--teal); background: #edf7f5; font-weight: 900; }
.admin-client-editor-modal { width: min(720px, 100%); }
.client-document-modal { width: min(720px, 100%); }
.client-document-form { margin-top: 22px; display: grid; gap: 16px; }
.client-document-form label { min-width: 0; display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 850; }
.client-document-form input, .client-document-form select, .client-document-form textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font: inherit; }
.client-document-form textarea { resize: vertical; line-height: 1.5; }
.document-missing-alert { padding: 12px 14px; display: grid; gap: 4px; border: 1px solid #e6bd77; border-radius: 10px; color: #7f5418; background: #fff7e7; }
.document-missing-alert[hidden] { display: none; }
.document-missing-alert strong { font-size: 11px; }
.document-missing-alert span { font-size: 10px; line-height: 1.45; }
.booking-document-status { padding: 9px 11px; border-radius: 8px; font-size: 10px; font-weight: 850; }
.booking-document-status[hidden] { display: none; }
.booking-document-status.created { color: #27755e; background: #dff1e8; }
.booking-document-status.missing { color: #8a5a16; background: #f7e7c8; }
.booking-document-status.warning { color: #76551f; background: #fff0cf; }
.booking-document-status button { margin-left: 7px; padding: 4px 7px; border: 1px solid currentColor; border-radius: 6px; color: inherit; background: rgba(255,255,255,.65); font-size: 9px; font-weight: 900; }
.admin-client-documents-modal { width: min(820px, 100%); }
.admin-client-documents-list { max-height: min(62vh, 650px); margin-top: 22px; overflow-y: auto; padding-right: 4px; }
.document-delete-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid #edc9cc; border-radius: 9px; color: var(--danger); background: #fff7f7; }
.document-delete-icon:hover, .document-delete-icon:focus-visible { color: white; border-color: var(--danger); background: var(--danger); outline: none; }
.document-delete-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.document-delete-overlay { z-index: 460; }
.document-delete-modal { width: min(520px, 100%); }
.document-delete-modal h2 { margin: 8px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.document-delete-modal > p:not(.eyebrow):not(.form-error) { color: var(--muted); font-size: 12px; line-height: 1.6; }
.document-delete-modal > label { margin-top: 20px; display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 800; }
.document-delete-modal > label input { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font: inherit; text-transform: uppercase; }
.danger-button { color: white; border-color: var(--danger); background: var(--danger); }
.danger-button:disabled { opacity: .38; cursor: not-allowed; }
.document-preview-save { color: #27755e; border-color: #b9dfd1; background: #edf8f3; }
.client-documents-list { display: grid; gap: 11px; }
.client-document-card { min-width: 0; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfc; }
.client-document-card.pending_signature { border-color: #e9c488; background: #fffaf0; }
.client-document-card.signed { border-color: #aed8c8; background: #f2faf6; }
.client-document-open { min-width: 0; flex: 1; padding: 0; display: flex; align-items: center; gap: 12px; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.client-document-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 11px; color: var(--blue); background: #eaf3f6; }
.client-document-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.client-document-open > span:last-child { min-width: 0; display: grid; gap: 3px; }
.client-document-open small, .client-document-open em { color: var(--muted); font-size: 9px; font-style: normal; }
.client-document-open strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.client-document-open em { color: var(--teal); font-weight: 850; }
.client-document-status { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.client-document-status > span { padding: 6px 9px; border-radius: 999px; color: #43676f; background: #eaf1f1; font-size: 9px; font-weight: 900; }
.client-document-status > span.pending_signature { color: #8a5a16; background: #f7e7c8; }
.client-document-status > span.signed { color: #27755e; background: #dff1e8; }
.client-document-status .button { min-height: 38px; padding: 0 14px; font-size: 10px; }
.signature-modal { width: min(760px, 100%); }
.signature-pad-wrap { margin: 23px 0 16px; display: grid; gap: 8px; }
.signature-pad-wrap canvas { width: 100%; height: 230px; display: block; border: 2px dashed #9dbdbc; border-radius: 13px; background: white; cursor: crosshair; touch-action: none; }
.signature-pad-wrap small { color: var(--muted); font-size: 10px; text-align: center; }
.admin-client-editor-form, .admin-client-dog-form { display: grid; gap: 16px; margin-top: 24px; }
.admin-client-editor-form > label, .admin-client-editor-form .field-pair > label, .admin-client-dog-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 850; }
.admin-client-editor-form [hidden] { display: none !important; }
.admin-password-change { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfa; }
.admin-password-change div { display: grid; gap: 4px; }
.admin-password-change small { color: var(--muted); font-size: 11px; }
.admin-client-dog-list { display: grid; gap: 9px; margin-top: 22px; }
.admin-client-dog-list article { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfa; }
.admin-client-dog-list article div { display: grid; gap: 4px; }
.admin-client-dog-list article div:last-child { display: flex; }
.admin-client-dog-list article span { color: var(--muted); font-size: 11px; }
.admin-client-dog-list article button { border: 0; color: var(--teal); background: transparent; font-size: 11px; font-weight: 850; }
.admin-client-dog-list article button.delete { color: var(--danger); }
.admin-service-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; border: 0; }
.admin-service-choice legend { grid-column: 1 / -1; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 850; }
.admin-service-choice label { position: relative; cursor: pointer; }
.admin-service-choice input { position: absolute; opacity: 0; pointer-events: none; }
.admin-service-choice span { display: grid; gap: 7px; min-height: 92px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.admin-service-choice b { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.admin-service-choice small { color: var(--muted); font-weight: 750; }
.admin-service-choice label:hover span { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12, 36, 44, .08); }
.admin-service-choice input:checked + span { border-color: var(--teal); background: rgba(74, 163, 162, .09); box-shadow: inset 0 0 0 1px var(--teal); }
.admin-service-choice input:focus-visible + span { outline: 3px solid rgba(74, 163, 162, .28); outline-offset: 3px; }
.admin-pricing-card { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: end; gap: 18px; padding: 20px; border: 1px solid rgba(74, 163, 162, .35); border-radius: 16px; background: rgba(74, 163, 162, .08); }
.admin-pricing-card > div:first-child, .admin-final-price { display: grid; gap: 5px; }
.admin-pricing-card span { color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.admin-pricing-card strong { color: var(--ink); font-size: 23px; }
.admin-pricing-card small { color: var(--muted); line-height: 1.4; }
.admin-discount-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.admin-discount-fields label { position: relative; display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 850; }
.admin-discount-fields label span { position: absolute; right: 13px; bottom: 13px; }
.admin-discount-fields [hidden] { display: none !important; }
.admin-final-price { min-width: 120px; padding-left: 18px; border-left: 1px solid rgba(74, 163, 162, .3); }
.admin-bulk-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 12px 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #f7faf9; }
.admin-bulk-actions label { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.admin-bulk-actions input, .admin-booking-select-cell input { width: 17px; height: 17px; accent-color: var(--teal); cursor: pointer; }
.admin-bulk-actions strong { color: var(--muted); font-size: 12px; }
.admin-booking-select-cell { display: flex; align-items: center; gap: 10px; min-width: 135px; }
.admin-calendar-header .eyebrow { margin-bottom: 8px; }
.admin-calendar-header h2 { margin: 0; }
.calendar-navigation { display: flex; align-items: center; gap: 7px; }
.calendar-navigation button { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #f8fbfa; font-size: 11px; font-weight: 850; }
.calendar-navigation button:first-child, .calendar-navigation button:last-child { width: 38px; padding: 0; font-size: 17px; }
.calendar-navigation button:hover { color: var(--teal); border-color: var(--teal); background: white; }
.admin-finance-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.admin-finance-grid article { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: linear-gradient(145deg, #fbfdfc, white); }
.admin-finance-grid span, .admin-finance-grid small { display: block; color: var(--muted); }
.admin-finance-grid span { font-size: 10px; font-weight: 850; letter-spacing: .055em; text-transform: uppercase; }
.admin-finance-grid strong { display: block; margin: 8px 0 4px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.admin-finance-grid small { font-size: 10px; }
.calendar-title-row { margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.calendar-title-row h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; text-transform: capitalize; }
.calendar-legend { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 10px; font-weight: 750; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.calendar-legend .pension { color: #7a5ba7; }
.calendar-legend .walk { color: #2f8f72; }
.calendar-legend .education { color: #c46a2e; }
.calendar-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.calendar-weekdays, .calendar-grid { min-width: 840px; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.calendar-weekdays { color: var(--muted); background: #f5f9f8; border-bottom: 1px solid var(--line); }
.calendar-weekdays span { padding: 10px 12px; text-align: center; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.calendar-day { min-height: 128px; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.outside { background: #f8faf9; opacity: .48; }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--teal); }
.calendar-day-heading { min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.calendar-day-heading > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: 11px; font-weight: 850; }
.calendar-day.today .calendar-day-heading > span { color: white; background: var(--teal); }
.calendar-day-heading strong { color: var(--muted); font-size: 8px; font-weight: 850; white-space: nowrap; }
.calendar-dogs { margin-top: 7px; display: grid; gap: 5px; }
.calendar-dog { width: 100%; min-width: 0; padding: 6px 7px; display: flex; align-items: center; gap: 6px; overflow: hidden; border: 1px solid transparent; border-left-width: 4px; border-radius: 6px; color: var(--ink-2); background: #f0f6f4; text-align: left; white-space: nowrap; font-size: 9px; font-weight: 800; }
.calendar-dog span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: currentColor; }
.calendar-dog-icon { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 7px; font-style: normal; }
.calendar-dog-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.calendar-dog b { min-width: 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; }
.calendar-dog em { margin-left: auto; flex: 0 0 auto; font-size: 7px; font-style: normal; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.calendar-dog.service-pension { color: #7a5ba7; border-color: #d8caec; background: #f3eef9; }
.calendar-dog.service-walk { color: #2f8f72; border-color: #b9dfd1; background: #ebf7f2; }
.calendar-dog.service-education { color: #c46a2e; border-color: #edc7a9; background: #fff2e8; }
.calendar-dog.service-other { color: var(--blue); border-color: #c8dce3; background: #eef5f7; }
.calendar-dog.event-arrival .calendar-dog-icon { color: white; background: #4f9b79; box-shadow: 0 3px 8px rgba(79,155,121,.25); }
.calendar-dog.event-arrival em::before { content: "ARR. "; color: #477f68; }
.calendar-dog.event-departure .calendar-dog-icon { color: white; background: #a65d68; box-shadow: 0 3px 8px rgba(166,93,104,.25); }
.calendar-dog.event-departure em::before { content: "DÉP. "; color: #92515b; }
.calendar-dog:hover { filter: brightness(.97); transform: translateY(-1px); }
.calendar-hover-card { position: fixed; z-index: 500; max-width: 310px; padding: 12px 14px; border: 1px solid rgba(74,145,158,.3); border-radius: 10px; color: white; background: rgba(23,49,58,.97); box-shadow: 0 14px 35px rgba(8,29,36,.28); font-size: 11px; line-height: 1.65; pointer-events: none; }
.calendar-dogs small { color: var(--muted); font-size: 8px; font-weight: 750; }
.calendar-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.document-calendar-day { min-height: 145px; }
.document-day-list { margin-top: 7px; display: grid; gap: 5px; }
.document-calendar-item { width: 100%; min-width: 0; padding: 7px; display: flex; align-items: center; gap: 7px; overflow: hidden; border: 1px solid #c8dce3; border-radius: 7px; color: #315f70; background: #eef5f7; text-align: left; cursor: pointer; }
.document-calendar-item:hover { border-color: var(--teal); background: #e5f2f1; transform: translateY(-1px); }
.document-calendar-item svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.document-calendar-item span { min-width: 0; display: grid; gap: 2px; }
.document-calendar-item b, .document-calendar-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-calendar-item b { color: var(--ink); font-size: 9px; }
.document-calendar-item small { color: var(--muted); font-size: 8px; }
.document-year-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.document-year-grid article { min-width: 0; min-height: 160px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfdfc; }
.document-year-grid article header { margin-bottom: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.document-year-grid article h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; text-transform: capitalize; }
.document-year-grid article header span, .document-year-grid article > div > small { color: var(--muted); font-size: 9px; }
.document-year-grid article > div { display: grid; gap: 6px; }
.admin-detail { margin-top: 18px; }
.admin-booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-list { display: grid; gap: 10px; }
.detail-list div { display: grid; grid-template-columns: 150px 1fr; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-list span { color: var(--muted); font-size: 12px; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.admin-booking-details-section { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.admin-booking-details-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.admin-booking-details-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.mail-diagnostic { margin-top: 18px; }
.mail-diagnostic .panel-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.mail-diagnostic-result { color: var(--muted); font-size: 13px; }
.mail-diagnostic-status { margin-bottom: 14px; padding: 13px 15px; border-radius: 9px; font-weight: 750; }
.mail-diagnostic-status.success { color: var(--success); background: #e1f2ec; }
.mail-diagnostic-status.error { color: var(--danger); background: #f7e4e4; }
.mail-diagnostic dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.mail-diagnostic dl div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfdfc; }
.mail-diagnostic dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.mail-diagnostic dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.small-button { min-height: 38px; border: 0; border-radius: 8px; padding: 0 14px; font-size: 11px; font-weight: 850; }
.small-button.confirm { color: white; background: var(--success); }
.small-button.cancel { color: white; background: var(--danger); }
.small-button.pending { color: var(--ink); background: #f2d497; }

.booking-details-overlay { position: fixed; z-index: 420; inset: 0; padding: 24px; display: grid; place-items: center; }
.booking-details-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(8,29,36,.68); backdrop-filter: blur(4px); }
.booking-details-modal { position: relative; z-index: 1; width: min(1080px, 100%); max-height: calc(100vh - 48px); padding: 30px; overflow-y: auto; border: 1px solid rgba(255,255,255,.45); border-radius: 20px; background: #f5f8f7; box-shadow: 0 35px 100px rgba(8,29,36,.38); }
.invoice-preview-overlay { padding: 0; }
.invoice-preview-overlay .booking-details-backdrop { display: none; }
.invoice-preview-modal { width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 0; display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: 0; background: white; box-shadow: none; }
.invoice-preview-modal .booking-details-header { min-height: 64px; padding: 10px 72px 10px 20px; flex: 0 0 auto; align-items: center; border-bottom: 1px solid var(--line); background: white; }
.invoice-preview-modal .booking-details-header > div:first-child { display: none; }
.invoice-preview-modal .dog-profile-close { top: 12px; right: 16px; }
.invoice-preview-actions { display: flex; align-items: center; gap: 10px; }
.invoice-preview-download { position: static; left: auto; transform: none; min-width: 190px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.invoice-preview-email { min-width: 190px; color: var(--ink); border: 1px solid var(--line); background: white; }
.invoice-preview-email:hover, .invoice-preview-email:focus-visible { color: white; border-color: var(--ink); background: var(--ink); }
.document-action-feedback { position: absolute; z-index: 30; left: 50%; top: 50%; width: min(360px, calc(100vw - 32px)); padding: 28px 24px; display: grid; justify-items: center; gap: 9px; border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: 0 24px 70px rgba(8,29,36,.28); text-align: center; transform: translate(-50%,-50%) scale(.72); opacity: 0; animation: document-feedback-in .42s cubic-bezier(.2,.9,.25,1.25) forwards; }
.document-action-feedback > span { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: white; transform: scale(.5) rotate(-12deg); animation: document-feedback-icon .38s .16s cubic-bezier(.2,.9,.25,1.3) forwards; }
.document-action-feedback.success > span { background: #3f9b77; box-shadow: 0 12px 28px rgba(63,155,119,.3); }
.document-action-feedback.error > span { background: #c85d68; box-shadow: 0 12px 28px rgba(200,93,104,.3); }
.document-action-feedback svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: document-feedback-draw .4s .3s ease forwards; }
.document-action-feedback strong { margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; }
.document-action-feedback small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.document-action-feedback.leaving { animation: document-feedback-out .3s ease forwards; }
@keyframes document-feedback-in { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes document-feedback-icon { to { transform: scale(1) rotate(0); } }
@keyframes document-feedback-draw { to { stroke-dashoffset: 0; } }
@keyframes document-feedback-out { to { opacity: 0; transform: translate(-50%,-46%) scale(.94); } }
.invoice-preview-email:disabled { cursor: wait; opacity: .72; }
.invoice-preview-frame { width: calc(100% + 20px); min-height: 0; flex: 1 1 auto; margin: 0 -20px 0 0; border: 0; border-radius: 0; background: white; }
.booking-details-header { padding: 0 52px 22px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.booking-details-header .eyebrow { margin: 0 0 7px; }
.booking-details-header h2 { margin: 0 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 39px); font-weight: 500; }
.booking-details-header small { color: var(--muted); font-size: 11px; }
.booking-details-overview { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.booking-details-overview > div { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.booking-details-overview span, .booking-details-overview strong, .booking-details-overview small { display: block; }
.booking-details-overview span { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.booking-details-overview strong { color: var(--ink); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.booking-details-overview small { margin-top: 4px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.booking-details-dogs { margin-top: 18px; display: grid; gap: 16px; }
.booking-dog-detail-card { padding: 19px; border: 1px solid #d7e3e1; border-radius: 14px; background: white; box-shadow: 0 7px 22px rgba(25,61,70,.05); }
.booking-dog-detail-card > header { display: flex; align-items: center; gap: 12px; }
.booking-dog-detail-card > header > span { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--teal), var(--blue)); font-size: 11px; font-weight: 900; }
.booking-dog-detail-card > header small, .booking-dog-detail-card > header h3, .booking-dog-detail-card > header p { display: block; margin: 0; }
.booking-dog-detail-card > header small { color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.booking-dog-detail-card > header h3 { margin-top: 2px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 500; }
.booking-dog-detail-card > header p { margin-top: 2px; color: var(--muted); font-size: 12px; }
.booking-service-details-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 12px; }
.booking-service-detail { padding: 16px; border: 1px solid var(--line); border-top-width: 4px; border-radius: 11px; background: #fbfdfc; }
.booking-service-detail.pension { border-top-color: #d29e43; }
.booking-service-detail.walk { border-top-color: var(--teal); }
.booking-service-detail.education { border-top-color: var(--blue); }
.booking-service-detail > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.booking-service-detail > header > div:last-child { display: grid; justify-items: end; gap: 7px; }
.service-schedule-edit { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(74,145,158,.28); border-radius: 9px; color: var(--blue); background: #f2f8f8; transition: transform .18s ease, background .18s ease; }
.service-schedule-edit:hover { transform: translateY(-1px); background: white; }
.service-schedule-edit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.booking-service-detail > header small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.booking-service-detail h4 { margin: 2px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; }
.booking-service-rate { padding: 5px 8px; border-radius: 999px; color: var(--ink); background: var(--cream); font-size: 10px; font-weight: 900; white-space: nowrap; }
.booking-service-states { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.service-state { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 900; white-space: nowrap; }
.service-state.decision.pending { color: var(--warning); background: #fff4dc; }
.service-state.decision.accepted { color: var(--success); background: #e1f2ec; }
.service-state.decision.rejected, .service-state.completion.not_completed { color: var(--danger); background: #f7e4e4; }
.service-state.completion.pending { color: var(--blue); background: #e7f2f5; }
.service-state.completion.completed { color: white; background: var(--success); }
.booking-service-detail dl { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.booking-service-detail dl > div { min-width: 0; padding: 10px; border-radius: 8px; background: white; }
.booking-service-detail dl > div.wide { grid-column: 1 / -1; }
.booking-service-detail dt { margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.booking-service-detail dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.service-admin-controls { margin-top: 14px; padding-top: 13px; display: grid; gap: 12px; border-top: 1px dashed var(--line); }
.service-admin-controls > div > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.service-admin-controls > div > small { display: block; padding: 9px 10px; border-radius: 7px; color: var(--muted); background: #f1f5f4; font-size: 10px; line-height: 1.45; }
.service-admin-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.service-admin-buttons button { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: white; font-size: 9px; font-weight: 850; }
.service-admin-buttons button:hover { color: var(--ink); border-color: var(--teal); }
.service-admin-buttons button.active.accept, .service-admin-buttons button.active.complete { color: white; border-color: var(--success); background: var(--success); }
.service-admin-buttons button.active.reject { color: white; border-color: var(--danger); background: var(--danger); }
.service-admin-buttons button.active.pending { color: var(--ink); border-color: #e2c06f; background: #f6dda6; }
.service-admin-buttons button:disabled { opacity: .58; cursor: wait; }

.toast-region { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.toast { width: min(380px, calc(100vw - 40px)); padding: 15px 18px; border-radius: 10px; color: white; background: var(--ink); box-shadow: var(--shadow); animation: toast-in .25s ease; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }

/* La largeur utile du tableau de bord est plus petite que celle de la fenêtre à cause de la barre latérale. */
@media (max-width: 1100px) {
  .booking-builder { height: auto; grid-template-columns: minmax(235px,.7fr) minmax(0,1.3fr); grid-template-rows: auto auto auto; }
  .booking-builder-services { grid-column: 1; grid-row: 2; }
  .booking-builder-dogs { grid-column: 2; grid-row: 2; }
  .booking-builder-options { position: static; grid-column: 1 / -1; grid-row: 3; grid-template-columns: minmax(0,1fr) minmax(240px,300px); grid-template-rows: auto; }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-services, .booking-builder:has(> .admin-client-picker) > .booking-builder-dogs { grid-row: 3; }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-options { grid-row: 4; }
  .booking-builder-options .builder-heading, .booking-builder-options .form-error { grid-column: 1 / -1; }
  .booking-builder-options > .button { grid-column: 2; }
  #bookingModal { overflow-y: auto; }
  .booking-modal { height: auto; min-height: calc(100vh - 24px); overflow: visible; }
  .booking-modal .booking-form, .booking-builder-services, .booking-builder-dogs, .booking-builder-options, .price-breakdown { overflow: visible; }
  .dashboard-content.booking-view { height: auto; min-height: calc(100vh - 120px); overflow: visible; }
  .dashboard-content.booking-view .dashboard-booking-panel, .dashboard-content.booking-view .booking-form { height: auto; overflow: visible; }
  .service-visual-list { grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(135px,auto)); }
}

@media (max-height: 760px) and (min-width: 761px) {
  #bookingModal { overflow-y: auto; }
  .booking-modal { height: auto; min-height: calc(100vh - 24px); overflow: visible; }
  .booking-modal .booking-form, .booking-builder { height: auto; overflow: visible; }
  .booking-builder-services, .booking-builder-dogs, .booking-builder-options, .price-breakdown { overflow: visible; }
  .dashboard-content.booking-view { height: auto; overflow: visible; }
  .dashboard-content.booking-view .dashboard-booking-panel, .dashboard-content.booking-view .booking-form { height: auto; overflow: visible; }
  .service-visual-list { grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(128px,auto)); }
}

@media (max-width: 1050px) {
  .discount-admin-layout { grid-template-columns: 1fr; }
  .affiliation-columns { grid-template-columns: 1fr; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: center; width: 170px; }
  .main-nav { position: fixed; left: 14px; right: 14px; top: 80px; padding: 20px; display: none; flex-direction: column; align-items: flex-start; background: var(--ink); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .mobile-menu { display: inline-flex; flex-direction: column; gap: 4px; }
  .mobile-menu span { width: 18px; height: 2px; background: currentColor; }
  .service-page .site-header { grid-template-columns: 1fr auto; }
  .service-page .main-nav { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { gap: 50px; }
  .dashboard-shell { grid-template-columns: 220px 1fr; }
  .dashboard-content, .dashboard-topbar { padding-left: 25px; padding-right: 25px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-finance-grid { grid-template-columns: 1fr 1fr; }
  .business-kpis { grid-template-columns: 1fr 1fr; }
  .business-charts { grid-template-columns: 1fr; }
  .business-kpi-groups { grid-template-columns: 1fr; }
  .manual-income-layout { grid-template-columns: 1fr; }
  .booking-payments-grid { grid-template-columns: 1fr; }
  .admin-toolbar { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .booking-details-overview { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-sort-field { grid-column: span 2; }
  .admin-search-field { grid-column: span 2; }
  .booking-builder { grid-template-columns: 250px minmax(0,1fr); }
  .booking-builder-options { position: static; grid-column: 1 / -1; grid-template-columns: 1fr 280px; grid-template-rows: auto; }
  .booking-builder-options .builder-heading, .booking-builder-options .form-error { grid-column: 1 / -1; }
  .booking-builder-options > .button { grid-column: 2; }
  #bookingModal { overflow-y: auto; }
  .booking-modal { height: auto; min-height: calc(100vh - 24px); overflow: visible; }
  .booking-modal .booking-form { overflow: visible; }
  .booking-builder { height: auto; }
  .booking-builder-services, .booking-builder-dogs, .booking-builder-options, .price-breakdown { overflow: visible; }
  .dashboard-content.booking-view { height: auto; min-height: calc(100vh - 120px); overflow: visible; }
  .dashboard-content.booking-view .dashboard-booking-panel, .dashboard-content.booking-view .booking-form { height: auto; overflow: visible; }
}

@media (max-width: 760px) {
  .booking-how-it-works { padding: 10px; grid-template-columns: 1fr; overflow: visible; }
  .booking-guide-copy { flex-wrap: wrap; overflow: visible; white-space: normal; }
  .booking-guide-copy > strong { width: 100%; }
  html, body { max-width: 100%; overflow-x: hidden; }
  .app-overlay { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .dashboard-shell, .dashboard-main, .dashboard-content { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
  .affiliation-summary { grid-template-columns: 1fr; }
  .referral-share-line { grid-template-columns: 1fr; }
  .referral-share-line button { justify-self: start; }
  :root { --header-height: 68px; }
  .promo-bar { font-size: 9px; }
  .site-header { padding: 0 15px; }
  .brand { width: 140px; }
  .account-button { width: 42px; padding: 0; }
  .account-button span { display: none; }
  #messageShortcut { display: none; }
  .hero { min-height: 730px; align-items: flex-end; }
  .hero-image { object-position: 55% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(11,34,42,.93) 0%, rgba(11,34,42,.52) 62%, rgba(11,34,42,.16)); }
  .hero-content { width: auto; margin: 0; padding: 50px 26px 122px; }
  .hero h1 { font-size: 58px; }
  .hero-trust { justify-content: flex-start; overflow-x: auto; gap: 24px; white-space: nowrap; }
  .section-shell { width: min(100% - 30px, 1180px); }
  .intro, .quote-section { padding: 75px 0; }
  .service-grid, .process-grid, .quote-section, .cta-section, .footer-main { grid-template-columns: 1fr; }
  .service-card { min-height: 470px; }
  .service-hero { width: min(100% - 30px, 1040px); min-height: 360px; margin-top: 38px; border-radius: 18px; }
  .service-hero-content { padding: 48px 10px; }
  .service-detail, .pricing-section { padding: 70px 0; }
  .service-detail-grid, .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-detail-grid { gap: 35px; }
  .price-card.featured { transform: none; }
  .appointment-panel { grid-template-columns: 1fr; gap: 30px; padding: 38px 26px; }
  .appointment-button { width: 100%; min-width: 0; }
  .process { padding: 75px 0; }
  .quote-photo, .quote-photo img { min-height: 390px; }
  .cta-section { grid-template-columns: 75px 1fr; padding: 32px 24px; gap: 20px; }
  .cta-section img { width: 72px; }
  .cta-section .button { grid-column: 1 / -1; }
  .footer-main { gap: 36px; padding: 60px 0; }
  .footer-bottom { flex-direction: column; }
  .modal { padding: 34px 20px 24px; margin: 15px auto; }
  .booking-modal { padding: 28px 14px 18px; }
  .field-pair, .choice-grid { grid-template-columns: 1fr; }
  .booking-builder { grid-template-columns: 1fr; }
  .booking-builder > .admin-client-picker, .booking-builder > .dog-profile-bar, .booking-builder > .booking-builder-services, .booking-builder > .booking-builder-dogs, .booking-builder > .booking-builder-options { grid-column: 1; grid-row: auto; }
  .dog-profile-bar { grid-template-columns: 1fr auto; gap: 8px; }
  .dog-profile-bar-title { grid-column: 1 / -1; }
  .dog-profile-bar .dog-tabs { min-height: 38px; }
  .dog-profile-actions button { width: 36px; height: 36px; }
  .booking-builder-options { position: static; grid-column: auto; grid-template-columns: 1fr; }
  .booking-builder-options .builder-heading, .booking-builder-options .form-error, .booking-builder-options > .button { grid-column: auto; }
  .service-visual-list { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .education-package-picker { grid-template-columns: 1fr; }
  .education-package-card { min-height: 145px; }
  .service-visual-preview { min-height: 145px; }
  .appointment-range { grid-template-columns: 1fr; }
  .booking-builder-options .booking-total > div { flex-wrap: wrap; }
  .booking-builder-options .booking-total strong { white-space: nowrap; }
  .default-stay-dates { grid-template-columns: 1fr; }
  .dog-tabs-toolbar { align-items: stretch; flex-direction: column-reverse; border-bottom: 0; }
  .dog-tabs { border-bottom: 1px solid var(--line); }
  .add-dog-button { align-self: flex-start; }
  .dog-panel-header { align-items: flex-start; flex-direction: column; }
  .dog-panel-actions { justify-content: flex-start; }
  .dog-custom-dates { position: static; width: 100%; box-shadow: none; }
  .dashboard-shell { display: block; }
  .dashboard-sidebar { z-index: 10; left: 0; right: 0; bottom: 0; top: auto; height: 70px; padding: 7px 8px; flex-direction: row; }
  .dashboard-brand, .sidebar-user { display: none; }
  .dashboard-sidebar nav { width: 100%; min-width: 0; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 4px; overflow-x: hidden; overflow-y: hidden; }
  .mobile-logout-button { width: 48px; height: 55px; flex: 0 0 48px; display: grid; place-items: center; margin-left: 4px; padding: 0; border: 0; color: #ef6868; background: transparent; }
  .mobile-logout-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-logout-button:hover, .mobile-logout-button:focus-visible { color: #ff8a8a; background: transparent; }
  .mobile-logout-button:active { color: #ff4f4f; background: transparent; transform: scale(.92); }
  .dash-nav, .dash-nav.active { min-height: 55px; justify-content: center; padding: 0 3px; flex-direction: column; gap: 3px; font-size: 9px; }
  .dash-nav:hover:not(.active), .dash-nav:focus-visible:not(.active) { justify-content: center; gap: 3px; }
  .dash-nav-label, .dash-nav:hover:not(.active) .dash-nav-label, .dash-nav:focus-visible:not(.active) .dash-nav-label { display: none; }
  .dash-nav.active .dash-nav-label { display: none; }
  .dash-nav:hover .dash-nav-icon, .dash-nav:focus-visible .dash-nav-icon, .dash-nav.active .dash-nav-icon { left: 50%; transform: translate(-50%,-50%); }
  .dash-nav b { right: calc(50% - 16px); top: 6px; }
  .dash-nav.admin-only:not([hidden]) { display: flex; }
  .dashboard-main { padding-bottom: 78px; }
  .dashboard-topbar { min-height: 100px; padding: 22px 16px; }
  .dashboard-topbar .button { display: none; }
  .dashboard-topbar h1 { font-size: 30px; }
  .dashboard-content { padding: 20px 14px 45px; }
  .stats-grid, .dashboard-grid, .admin-booking-grid { grid-template-columns: 1fr; }
  .admin-calendar-header { align-items: stretch; flex-direction: column; }
  .document-period-controls { align-items: stretch; flex-direction: column; }
  .business-period-switch button { flex: 1; }
  .document-year-grid { grid-template-columns: 1fr; }
  .business-header { flex-direction: column; }
  .business-controls { width: 100%; justify-items: stretch; }
  .business-mode { justify-content: stretch; }
  .business-mode button { flex: 1; }
  .business-controls .calendar-navigation { justify-content: space-between; }
  .business-kpis { grid-template-columns: 1fr; }
  .business-general-stats .business-kpis, .business-payment-stats .business-kpis { grid-template-columns: 1fr; }
  .business-general-stats .business-kpis article:last-child { grid-column: auto; }
  .admin-service-choice, .admin-pricing-card { grid-template-columns: 1fr; }
  .admin-client-booking-modal { width: calc(100vw - 16px); padding: 22px 12px; }
  .client-document-modal { width: calc(100vw - 16px); padding: 22px 14px; }
  .client-document-form .field-pair { grid-template-columns: 1fr; }
  .client-document-card { align-items: stretch; flex-direction: column; }
  .client-document-status { justify-content: space-between; }
  .signature-modal { width: calc(100vw - 16px); padding: 22px 14px; }
  .signature-pad-wrap canvas { height: 180px; }
  .admin-client-picker { grid-template-columns: 1fr; padding: 14px; }
  .admin-final-price { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(74, 163, 162, .3); }
  .booking-payment-summary { grid-template-columns: 1fr 1fr; }
  .admin-toolbar { grid-template-columns: 1fr 1fr; }
  .admin-sort-field, .admin-search-field { grid-column: 1 / -1; }
  .admin-clients-panel .panel-header { align-items: stretch; flex-direction: column; }
  .admin-clients-panel .panel-header input { width: 100%; }
  .diagnostics-header { flex-direction: column; }
  .diagnostics-actions { width: 100%; justify-content: flex-start; }
  .diagnostic-counters, .diagnostic-checks { grid-template-columns: 1fr; }
  .calendar-navigation { justify-content: space-between; }
  .admin-finance-grid { grid-template-columns: 1fr 1fr; }
  .calendar-title-row { align-items: flex-start; flex-direction: column; }
  .calendar-title-row .admin-calendar-add { margin-left: 0; }
  .mail-diagnostic dl { grid-template-columns: 1fr; }
  .dashboard-content.message-view { height: calc(100vh - 178px); height: calc(100dvh - 178px); min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .message-layout { grid-template-columns: 1fr; grid-template-rows: minmax(90px,28%) minmax(0,1fr); }
  .chat-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .chat-details-button { width: 100%; }
  .thread-sidebar { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); max-height: none; overflow-y: auto; }
  .message-bubble { max-width: 88%; }
  .topbar-actions { gap: 4px; }
  .inline-booking-cta { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 9px; color: white; background: var(--ink); font-size: 11px; font-weight: 850; white-space: nowrap; }
  .inline-booking-cta span { font-size: 17px; font-weight: 500; line-height: 1; }
  .detail-list div { grid-template-columns: 1fr; gap: 4px; }
  .booking-details-overlay { width: 100%; max-width: 100vw; padding: 8px; overflow-x: hidden; }
  .booking-details-modal { width: 100%; max-width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 22px 14px; overflow-x: hidden; border-radius: 15px; }
  .invoice-preview-modal { width: 100vw; max-width: none; height: 100dvh; max-height: none; padding: 0; overflow: hidden; border-radius: 0; }
  .invoice-preview-modal .booking-details-header { min-height: 58px; padding: 8px 58px 8px 10px; align-items: center; }
  .invoice-preview-download { width: auto; min-width: 180px; max-width: calc(100% - 58px); justify-content: center; text-align: center; white-space: nowrap; }
  .invoice-preview-actions { max-width: calc(100vw - 68px); gap: 6px; }
  .invoice-preview-download, .invoice-preview-email { min-width: 0; padding-inline: 12px; font-size: 10px; white-space: nowrap; }
  .booking-details-header { padding-right: 44px; flex-direction: column; gap: 11px; }
  .booking-details-overview { grid-template-columns: 1fr 1fr; }
  .booking-progress-notice { flex-direction: column; }
  .booking-progress-notice.client-validation { align-items: stretch; }
  .booking-progress-notice.client-validation button { width: 100%; }
  .booking-progress-notice.client-validation em { align-self: flex-start; white-space: normal; }
  .booking-service-details-grid, .booking-service-detail dl { grid-template-columns: 1fr; }
  .booking-service-detail dl > div.wide { grid-column: auto; }
  .booking-details-dogs, .booking-dog-detail-card, .booking-service-details-grid, .booking-service-detail { width: 100%; max-width: 100%; min-width: 0; }
  .booking-dog-detail-card { padding: 15px 12px; }
  .booking-service-detail { padding: 13px 11px; overflow: hidden; }
  .booking-service-detail > header { min-width: 0; align-items: flex-start; flex-direction: column; }
  .booking-service-detail > header > div { width: 100%; min-width: 0; }
  .booking-service-detail > header > div:last-child { justify-items: start; }
  .booking-service-rate { width: 100%; max-width: 100%; border-radius: 8px; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
  .booking-service-states { width: 100%; justify-content: flex-start; }
  .booking-service-detail dd { word-break: break-word; }
  .booking-item { grid-template-columns: 1fr; align-items: flex-start; }
  .client-bookings-panel { padding: 14px; border-radius: 12px; }
  .booking-item-header { padding: 17px 15px; flex-direction: column; gap: 13px; }
  .booking-header-side { width: 100%; justify-items: start; }
  .booking-header-actions { justify-content: flex-start; }
  .booking-item-meta { margin-top: 10px; }
  .booking-item-meta span { white-space: normal; }
  .booking-item-actions { justify-content: flex-start; }
  .booking-dog-summary { grid-template-columns: 1fr; padding: 12px; }
  .booking-item > .booking-progress-notice { margin-left: 12px; margin-right: 12px; }
  .booking-item-footer { align-items: stretch; flex-direction: column; }
  .booking-item-total { min-width: 0; }
  .booking-item-actions .small-button { flex: 1 1 auto; }
  .client-bookings-panel > .panel-header { align-items: stretch; flex-direction: column; }
  .client-bookings-panel > .panel-header .inline-booking-cta { width: 100%; justify-content: center; }
  .booking-item-header { position: relative; padding-right: 14px; }
  .booking-item-header-main { width: 100%; padding-right: 0; }
  .booking-item-header h3 { font-size: 23px; }
  .booking-header-side { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .booking-header-actions { margin-left: auto; }
  .booking-item-meta { display: grid; grid-template-columns: 1fr; }
  .booking-item-meta span { width: fit-content; max-width: 100%; }
  .booking-dog-overview { padding: 18px 13px 14px; }
  .booking-dog-dates { align-items: flex-start; flex-direction: column; gap: 4px; }
  .booking-card-services i { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .booking-item-footer { padding: 14px 15px; }
  .booking-item-total { padding-left: 10px; }
  .booking-item-actions { width: 100%; }
  .booking-item-actions .booking-details-button { width: 100%; flex-basis: 100%; }

  .admin-reservations-table, .clients-table,
  .admin-reservations-table tbody, .clients-table tbody,
  .admin-reservations-table tr, .clients-table tr,
  .admin-reservations-table td, .clients-table td { display: block; width: 100%; min-width: 0; }
  .admin-reservations-table, .clients-table { padding: 10px; }
  .admin-reservations-table thead, .clients-table thead { display: none; }
  .admin-reservations-table tbody, .clients-table tbody { display: grid; gap: 12px; }
  .admin-reservations-table tr, .clients-table tr { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 5px 14px rgba(24,54,60,.06); }
  .admin-reservations-table td, .clients-table td { min-height: 43px; padding: 10px 12px; display: grid; grid-template-columns: minmax(82px,32%) minmax(0,1fr); align-items: center; gap: 10px; border-bottom: 1px solid #edf2f0; overflow-wrap: anywhere; }
  .admin-reservations-table td:last-child, .clients-table td:last-child { border-bottom: 0; }
  .admin-reservations-table td::before, .clients-table td::before { content: attr(data-label); color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
  .admin-reservations-table td[colspan], .clients-table td[colspan] { display: block; }
  .admin-reservations-table td[colspan]::before, .clients-table td[colspan]::before { content: none; }
  .admin-reservations-table .admin-booking-select-cell { display: grid; grid-template-columns: minmax(82px,32%) auto minmax(0,1fr); }
  .admin-reservations-table .admin-row-actions, .clients-table .admin-client-row-actions { justify-content: flex-start; flex-wrap: wrap; }
  .admin-booking-action::after { display: none; }
  .clients-table .client-booking-counts, .clients-table .client-finance-summary { width: 100%; min-width: 0; }
  .data-table-wrap:has(> .admin-reservations-table), .data-table-wrap:has(> .clients-table) { overflow-x: hidden; border: 0; background: transparent; }
  .admin-bulk-actions { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 8px; padding: 12px; }
  .admin-bulk-actions label { min-width: 0; margin: 0; align-items: center; }
  .admin-bulk-actions label input { flex: 0 0 17px; margin: 0; }
  .admin-bulk-actions strong { text-align: right; white-space: normal; }
  .admin-bulk-actions .small-button { width: 100%; grid-column: 1 / -1; white-space: normal; }
}

@media (min-width: 950px) {
  #bookingModal { overflow-x: hidden; overflow-y: auto; }
  .booking-modal { height: auto; min-height: calc(100dvh - 24px); overflow: visible; }
  .booking-modal .booking-form { min-height: 0; overflow: visible; }
  .booking-modal .booking-builder { height: auto; min-height: 0; overflow: visible; }
  .booking-modal .booking-builder-services,
  .booking-modal .booking-builder-dogs,
  .booking-modal .booking-builder-options { min-height: 0; overflow: visible; }
}

@media (min-width: 761px) and (max-width: 949px) {
  #bookingModal { overflow-x: hidden; overflow-y: auto; }
  .booking-modal { height: auto; min-height: calc(100dvh - 24px); overflow: visible; }
  .booking-modal .booking-form { min-height: 0; overflow: visible; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .booking-builder, .booking-modal .booking-builder { grid-template-columns: minmax(215px,.65fr) minmax(0,1.35fr); grid-template-rows: auto auto auto; }
  .booking-builder > .booking-builder-services, .booking-modal .booking-builder-services { grid-column: 1; grid-row: 2; }
  .booking-builder > .booking-builder-dogs, .booking-modal .booking-builder-dogs { grid-column: 2; grid-row: 2; }
  .booking-builder > .booking-builder-options, .booking-modal .booking-builder-options { position: static; grid-column: 1 / -1; grid-row: 3; grid-template-columns: minmax(0,1fr) minmax(240px,280px); }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-services, .booking-builder:has(> .admin-client-picker) > .booking-builder-dogs { grid-row: 3; }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-options { grid-row: 4; }
  .booking-builder-options .builder-heading, .booking-builder-options .form-error { grid-column: 1 / -1; }
  .booking-builder-options > .button { grid-column: 2; }
  .service-visual-list { grid-template-columns: 1fr; grid-template-rows: repeat(3,minmax(128px,auto)); }
}

@media (max-width: 760px) {
  .client-prices-grid { grid-template-columns: 1fr; }
}

.rover-reviews { padding: 86px 0 92px; overflow: hidden; background: #f4f8f7; }
.rover-reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.rover-reviews-heading h2 { margin: 7px 0 0; }
.rover-reviews-heading a { color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.rover-carousel { width: 100%; overflow: hidden; padding: 4px 0 14px; }
.rover-reviews-track { display: flex; width: max-content; animation: roverReviewsScroll 70s linear infinite; }
.rover-carousel:hover .rover-reviews-track, .rover-carousel:focus-within .rover-reviews-track { animation-play-state: paused; }
.rover-reviews-set { display: flex; gap: 20px; padding-right: 20px; }
.rover-review-card { display: flex; flex-direction: column; width: min(390px, calc(100vw - 42px)); min-height: 300px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(22, 55, 61, .07); }
.rover-review-card:first-child { margin-left: 20px; }
.rover-review-card header { display: flex; align-items: center; gap: 13px; }
.rover-review-card header img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; object-fit: cover; background: #e6efed; }
.rover-review-card header div { display: grid; gap: 4px; }
.rover-review-card header strong { color: var(--ink); font-size: 16px; }
.rover-review-stars { color: #e4a628; font-size: 17px; letter-spacing: 2px; line-height: 1; }
.rover-review-card > p { flex: 1; margin: 22px 0 20px; color: #38545a; font-size: 14px; line-height: 1.7; }
.rover-review-card footer { color: #71878b; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rover-reviews-loading { width: 100%; padding: 35px 20px; color: #71878b; text-align: center; }
@keyframes roverReviewsScroll { to { transform: translateX(-50%); } }
.scroll-reveal { --reveal-offset: 30px; --reveal-delay: 0ms; opacity: 0; transform: translate3d(0,var(--reveal-offset),0) scale(.985); filter: blur(2px); transition: opacity .6s ease var(--reveal-delay), transform .7s cubic-bezier(.22,.7,.25,1) var(--reveal-delay), filter .55s ease var(--reveal-delay); will-change: opacity, transform; }
.scroll-reveal.reveal-from-top { --reveal-offset: -30px; }
.scroll-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .rover-reviews-track { animation-play-state: paused; }
  .scroll-reveal, .scroll-reveal.reveal-from-top, .scroll-reveal.is-visible { opacity: 1; transform: none; filter: none; transition: none; }
}

@media (max-width: 760px) {
  .rover-reviews { padding: 62px 0 68px; }
  .rover-reviews-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .rover-review-card { min-height: 320px; padding: 21px; }
}

@media (max-width: 520px) {
  .admin-next-task { grid-template-columns: 1fr 38px; gap: 7px 10px; }
  .admin-next-task-time { grid-column: 1; grid-row: 1; }
  .admin-next-task > i { width: 38px; height: 38px; grid-column: 2; grid-row: 1 / span 2; }
  .admin-next-task-copy { grid-column: 1; grid-row: 2; }
  .admin-next-task-arrow { display: none; }
  #bookingModal { padding: 0; }
  .booking-modal { min-height: 100vh; margin: 0; padding: 24px 10px 18px; border-radius: 0; }
  .booking-modal .booking-header h2 { padding: 0 34px; font-size: 27px; }
  .service-visual-list { grid-template-columns: 1fr; }
  .service-visual-card, .service-visual-preview { min-height: 165px; }
  .service-specific-heading { grid-template-columns: 34px minmax(0,1fr); }
  .service-specific-icon { width: 34px; height: 34px; }
  .service-specific-heading > b { grid-column: 2; justify-self: start; }
  .booking-builder-services, .booking-builder-dogs, .booking-builder-options { padding: 12px; border-radius: 12px; }
  .price-breakdown-row { grid-template-columns: minmax(0,1fr) auto; padding: 10px; gap: 4px 7px; }
  .price-breakdown-row b { font-size: 16px; }
  .booking-builder-options > .button { width: 100%; }
}

/* Réservation : chiens sur toute la largeur, aperçu sous les services. */
.service-preview-guidance { margin-top: 10px; padding: 9px 10px; display: grid; gap: 3px; border: 1px dashed #c99b56; border-radius: 10px; color: #664618; background: #fff8e9; }
.service-preview-guidance[hidden] { display: none; }
.service-preview-guidance strong { font-size: 10px; }
.service-preview-guidance span { color: #7a684e; font-size: 8px; line-height: 1.4; }
.booking-builder-dogs > .builder-heading strong { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.active-service-title { color: var(--muted); font-family: inherit; font-size: .72em; font-style: normal; font-weight: 500; white-space: nowrap; }

@media (min-width: 761px) {
  .booking-builder > .booking-builder-services { grid-column: 1; grid-row: 1; }
  .booking-builder > .booking-builder-dogs { grid-column: 2; grid-row: 1; }
  .booking-builder > .booking-builder-options { grid-column: 3; grid-row: 1; }
  .booking-builder:has(> .admin-client-picker) > .admin-client-picker { grid-row: 1; }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-services,
  .booking-builder:has(> .admin-client-picker) > .booking-builder-dogs,
  .booking-builder:has(> .admin-client-picker) > .booking-builder-options { grid-row: 2; }
  .booking-builder-dogs > .builder-heading { min-height: 40px; padding-right: 0; }
  .dog-panel.active > .active-dog-summary { display: none; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .booking-how-it-works { grid-template-columns: minmax(0,1fr) minmax(300px,.55fr); }
  .booking-guide-copy { flex-wrap: wrap; gap: 5px 9px; overflow: visible; white-space: normal; line-height: 1.25; }
  .booking-builder, .booking-modal .booking-builder { grid-template-columns: minmax(215px,.65fr) minmax(0,1.35fr); grid-template-rows: auto auto; }
  .booking-builder > .booking-builder-services, .booking-modal .booking-builder-services { grid-column: 1; grid-row: 1; }
  .booking-builder > .booking-builder-dogs, .booking-modal .booking-builder-dogs { grid-column: 2; grid-row: 1; }
  .booking-builder > .booking-builder-options, .booking-modal .booking-builder-options { position: static; grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0,1fr) minmax(240px,280px); }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-services,
  .booking-builder:has(> .admin-client-picker) > .booking-builder-dogs { grid-row: 2; }
  .booking-builder:has(> .admin-client-picker) > .booking-builder-options { grid-row: 3; }
}

@media (min-width: 950px) and (min-height: 761px) {
  #bookingModal { overflow: hidden; }
  #bookingModal .booking-modal { height: calc(100dvh - 24px); min-height: 0; padding: 12px 18px; overflow: hidden; }
  #bookingModal .booking-header { margin-bottom: 8px; }
  #bookingModal .booking-form { min-height: 0; overflow: hidden; }
  #bookingModal .booking-builder { height: 100%; min-height: 0; grid-template-columns: minmax(210px,.6fr) minmax(410px,1.4fr) minmax(220px,.62fr); grid-template-rows: minmax(0,1fr); align-items: stretch; overflow: hidden; }
  #bookingModal .booking-builder-services { grid-column: 1; grid-row: 1; }
  #bookingModal .booking-builder-dogs { grid-column: 2; grid-row: 1; }
  #bookingModal .booking-builder-options { position: static; grid-column: 3; grid-row: 1; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto auto; }
  #bookingModal .booking-builder-options .builder-heading,
  #bookingModal .booking-builder-options .form-error,
  #bookingModal .booking-builder-options > .button { grid-column: auto; }
  #bookingModal .booking-builder-services,
  #bookingModal .booking-builder-dogs,
  #bookingModal .booking-builder-options { height: 100%; max-height: 100%; overflow: hidden; }
  #bookingModal .service-visual-list { grid-template-rows: repeat(3,minmax(0,1fr)); }
  #bookingModal .builder-heading { margin-bottom: 8px; }
  #bookingModal .booking-builder-dogs { padding: 10px 12px; }
  #bookingModal .dog-panel.active { gap: 6px; }
  #bookingModal .service-specific-data { gap: 7px; padding: 0; }
  #bookingModal .service-specific-data > label:not(.service-area-check),
  #bookingModal .service-specific-data > .field-pair > label,
  #bookingModal .service-specific-data .service-field-grid > label { padding: 7px 8px; }
  #bookingModal .service-specific-data input,
  #bookingModal .service-specific-data select { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
  #bookingModal .service-specific-data textarea { min-height: 44px; max-height: 52px; padding-top: 6px; padding-bottom: 6px; }
  #bookingModal .appointment-range { padding-top: 6px; padding-bottom: 6px; }
  #bookingModal .appointment-end-toggle { min-height: 34px; }
  #bookingModal .education-package-card { min-height: 128px; }
  #bookingModal .education-package-card span { padding: 10px; }
  #bookingModal .education-package-card b { font-size: 14px; }
  #bookingModal .education-schedule-pending { padding: 10px; }
  #bookingModal .booking-builder-options { gap: 8px; }
  #bookingModal .booking-builder-options .booking-total { padding: 12px; }
  #bookingModal .booking-builder-options > .button { min-height: 42px; }
}

@media (min-width: 950px) and (min-height: 761px) and (max-height: 820px) {
  #bookingModal .booking-builder-dogs > .builder-heading { min-height: 34px; }
  #bookingModal .service-specific-data { gap: 6px; padding: 0; }
  #bookingModal .education-package-card { min-height: 96px; }
  #bookingModal .education-package-card span { padding: 8px; }
  #bookingModal .education-package-card small { display: none; }
  #bookingModal .service-specific-data textarea { min-height: 34px; max-height: 38px; }
  #bookingModal .service-preview-guidance { padding: 6px 8px; }
}

@media (min-width: 950px) and (max-width: 1000px) and (min-height: 761px) and (max-height: 820px) {
  #bookingModal .booking-builder-dogs > .builder-heading strong { font-size: 17px; }
  #bookingModal .service-specific-data { padding-bottom: 0; }
  #bookingModal .profile-location strong { max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 760px) {
  .dog-profile-bar-title { display: block; }
  .booking-how-it-works > .dog-profile-bar { width: 100%; grid-column: 1; padding: 8px 0 0; border-left: 0; border-top: 1px solid #c9dfda; }
  .dog-panel.active > .active-dog-summary { position: static; width: auto; }
  .booking-datetime-fields { grid-template-columns: 1fr; }
}

/* Pages juridiques et liens de pied de page. */
.footer-legal-links { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.footer-legal-links a { padding: 5px 8px; border-radius: 6px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; }
.footer-legal-links a:hover, .footer-legal-links a[aria-current="page"] { color: white; background: rgba(255,255,255,.1); }
.legal-page { background: #f3f7f6; }
.legal-main { min-height: 70vh; }
.legal-hero { padding: 74px 0 62px; border-bottom: 1px solid #d4e3e0; background: linear-gradient(135deg,#e6f2ef 0%,#f9f7ef 100%); }
.legal-hero .section-shell { max-width: 980px; }
.legal-hero h1 { max-width: 850px; margin: 9px 0 12px; font-family: Georgia,"Times New Roman",serif; font-size: clamp(38px,5vw,62px); font-weight: 500; line-height: 1.03; }
.legal-hero p:not(.eyebrow) { max-width: 740px; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.legal-hero span { margin-top: 18px; display: inline-flex; padding: 6px 9px; border: 1px solid #c5d9d5; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; }
.legal-layout { max-width: 1180px; padding-top: 46px; padding-bottom: 70px; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 28px; align-items: start; }
.legal-summary { position: sticky; top: calc(var(--header-height) + 46px); padding: 18px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 24px rgba(18,43,51,.05); }
.legal-summary strong { margin-bottom: 8px; font-family: Georgia,"Times New Roman",serif; font-size: 18px; font-weight: 500; }
.legal-summary a { padding: 8px 9px; border-radius: 7px; color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.35; }
.legal-summary a:hover { color: var(--ink); background: #edf6f4; }
.legal-content { padding: clamp(24px,4vw,54px); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 38px rgba(18,43,51,.06); }
.legal-content > section { position: relative; padding: 34px 0; scroll-margin-top: 110px; border-bottom: 1px solid #e1eae8; }
.legal-content > section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-content > section:first-of-type { padding-top: 12px; }
.legal-content > section > span { margin-bottom: 8px; display: inline-flex; color: var(--teal); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.legal-content h2 { margin: 0 0 15px; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: clamp(24px,3vw,32px); font-weight: 500; line-height: 1.15; }
.legal-content h3 { margin: 22px 0 8px; color: var(--ink); font-size: 14px; }
.legal-content p, .legal-content li { color: #435e64; font-size: 13px; line-height: 1.75; }
.legal-content p { margin: 10px 0; }
.legal-content ul { margin: 13px 0; padding-left: 21px; display: grid; gap: 7px; }
.legal-content a { color: #247d7b; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(36,125,123,.3); text-underline-offset: 3px; }
.legal-alert, .legal-missing { padding: 17px 18px; border: 1px solid #deb776; border-radius: 11px; color: #654715; background: #fff7e6; }
.legal-alert[hidden] { display: none !important; }
.legal-alert { margin-bottom: 26px; }
.legal-alert strong, .legal-missing strong { display: block; font-size: 12px; }
.legal-alert p, .legal-missing p { margin: 5px 0 0; color: #755b31; font-size: 11px; line-height: 1.55; }
.legal-identity { margin: 18px 0; padding: 15px 17px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; border-left: 4px solid var(--teal); background: #edf6f4; }
.legal-identity p { margin: 0; font-size: 11px; }
.legal-placeholder { display: inline-flex; padding: 2px 6px; border-radius: 5px; color: #8a5312; background: #ffe8bd; font-style: normal; font-weight: 900; }
.legal-placeholder.is-filled { padding: 0; color: inherit; background: transparent; }
.withdrawal-model { margin-top: 16px; padding: 15px 17px; border: 1px dashed #8bbdb2; border-radius: 10px; background: #f1f8f6; }
.withdrawal-model strong { font-size: 12px; }
.withdrawal-model p { margin-bottom: 0; font-style: italic; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-summary strong { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .footer-bottom { align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-legal-links { order: 3; width: 100%; }
  .legal-hero { padding: 48px 0 42px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-hero p:not(.eyebrow) { font-size: 13px; }
  .legal-layout { padding-top: 24px; padding-bottom: 42px; gap: 16px; }
  .legal-summary { padding: 12px; }
  .legal-content { padding: 22px 17px; border-radius: 14px; }
  .legal-content > section { padding: 27px 0; }
  .legal-content p, .legal-content li { font-size: 12px; }
  .legal-identity { grid-template-columns: 1fr; }
}

/* Informations publiques et juridiques centralisées dans l’administration. */
.site-settings-panel { display: grid; gap: 20px; }
.site-settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.site-settings-header .eyebrow { margin: 0 0 8px; }
.site-settings-header h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: clamp(27px,3vw,38px); font-weight: 500; }
.site-settings-header > div:first-child > p:last-child { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.site-settings-completion { min-width: 210px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f5f9f8; }
.site-settings-completion span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.site-settings-completion strong { color: var(--ink); font-size: 18px; }
.site-settings-completion i { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 99px; background: #dce8e5; }
.site-settings-completion i b { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.site-settings-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-settings-links a { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--teal); background: #f8fbfa; font-size: 10px; font-weight: 850; }
.site-settings-links a:hover { color: white; border-color: var(--teal); background: var(--teal); }
.site-settings-form { display: grid; gap: 15px; }
.site-settings-form fieldset { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbfa; }
.site-settings-form legend { padding: 0 8px; color: var(--ink); font-family: Georgia,"Times New Roman",serif; font-size: 20px; font-weight: 500; }
.site-settings-form fieldset > p { margin: 0 0 16px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.site-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.site-settings-grid label { min-width: 0; display: grid; gap: 7px; color: var(--ink); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .035em; }
.site-settings-grid label.wide { grid-column: 1 / -1; }
.site-settings-grid input, .site-settings-grid textarea { width: 100%; min-width: 0; border-color: #cadbd8; background: white; color: var(--ink); font-size: 12px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.site-settings-grid textarea { min-height: 74px; resize: vertical; line-height: 1.5; }
.site-settings-grid input:focus, .site-settings-grid textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74,163,162,.12); outline: none; }
.site-settings-form .form-error:empty { display: none; }
.site-settings-actions { position: sticky; bottom: 0; z-index: 2; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(18,43,51,.07); backdrop-filter: blur(10px); }
.site-settings-actions span { color: var(--muted); font-size: 10px; }
.site-settings-actions .button { min-width: 230px; }

@media (max-width: 760px) {
  .site-settings-header { flex-direction: column; }
  .site-settings-completion { width: 100%; min-width: 0; }
  .site-settings-form fieldset { padding: 16px 13px; }
  .site-settings-grid { grid-template-columns: 1fr; }
  .site-settings-grid label.wide { grid-column: auto; }
  .site-settings-actions { position: static; align-items: stretch; flex-direction: column; }
  .site-settings-actions .button { width: 100%; min-width: 0; }
}

@media (max-width: 760px) {
  .manual-invoice-intro { align-items: flex-start; flex-direction: column; }
  .manual-invoice-intro > span { white-space: normal; }
  .manual-invoice-form fieldset { padding: 15px 12px; }
  .manual-invoice-client-grid, .manual-invoice-meta { grid-template-columns: 1fr; }
  .manual-invoice-client-grid .wide { grid-column: auto; }
  .manual-invoice-lines-heading { align-items: stretch; flex-direction: column; }
  .manual-invoice-lines-heading .small-button { width: 100%; }
  .manual-invoice-line { padding: 45px 12px 12px; grid-template-columns: 1fr; align-items: stretch; }
  .manual-invoice-line-number { left: 12px; top: 12px; transform: none; }
  .manual-invoice-remove { right: 12px; top: 8px; transform: none; }
  .manual-invoice-line-total { min-height: 0; justify-items: start; }
  .manual-invoice-submit { align-items: stretch; flex-direction: column; }
  .manual-invoice-submit .button { width: 100%; }
}
