:root{font-family:system-ui,sans-serif;color:#243d36;background:#f7f8f4;line-height:1.6}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1120px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:16px;align-items:center}.brand{font-size:1.5rem;font-weight:750;text-decoration:none}a{color:#245d49}h1{font-size:clamp(2.2rem,6vw,4rem);line-height:1.1}h2{line-height:1.25}h3{margin-top:0}section{margin-bottom:32px}.hero{padding:40px 0}.hero p{max-width:660px;font-size:1.15rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:20px}article,.panel{padding:22px;background:white;border:1px solid #d7dfd7;border-radius:14px;min-width:0;margin-bottom:16px}form{display:grid;gap:14px}label{display:grid;gap:5px;font-weight:600}input,select,textarea,button,.button{font:inherit;min-height:44px;border:1px solid #9caea2;border-radius:7px;padding:10px 12px;max-width:100%;width:100%}textarea{min-height:80px}button,.button{background:#245d49;color:white;cursor:pointer;text-align:center;text-decoration:none;width:auto;display:inline-block}button:disabled{opacity:.6;cursor:wait}.secondary{background:white;color:#245d49}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.hint{color:#53665f;font-size:.9rem}.status{display:inline-block;background:#e6eee4;padding:3px 10px;border-radius:6px;font-weight:650}#notice{position:sticky;top:0;background:#fff9db;padding:12px;z-index:5;border-radius:8px}#notice:empty{display:none}[hidden]{display:none!important}p,article{overflow-wrap:anywhere}input[type=checkbox]{width:22px;height:22px;min-height:22px}.checkbox{display:flex;align-items:center;gap:10px;min-height:44px}.calendar-wrap{overflow:hidden}.fc{font-size:.9rem}.fc .fc-toolbar{flex-wrap:wrap;gap:8px}.fc .fc-toolbar-title{font-size:1.2rem}.fc .fc-button{min-height:44px}.fc .fc-daygrid-day-frame{min-height:70px}.fc-event{white-space:normal}.blocked-event{background:#a63838;border-color:#a63838}.occupied-event{background:#325985;border-color:#325985}@media(max-width:500px){header,main,footer{padding:16px}.panel,article{padding:16px}.hero{padding:20px 0}.actions>*{flex:1}.fc .fc-toolbar{display:block}.fc .fc-toolbar-chunk{margin:8px 0}.fc{font-size:.8rem}}
/* Invite-to-booking growth loop: contextual, lightweight and shareable. */
.invite-landing,.invite-management{max-width:760px;margin-inline:auto}
.invite-landing{padding-block:32px 18px}
.invite-lead{max-width:650px;font-size:1.12rem;color:var(--pet-muted)}
.invite-person{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.invite-person>div{display:grid;gap:1px}
.invite-person .hint{display:block}
.invite-avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--pet-green-dark);color:#fff;font-weight:700;font-size:1.15rem}
.invite-action,.invite-state,.invite-next{max-width:760px;margin-inline:auto}
.invite-action{background:var(--pet-soft);border-color:#b9dfca}
.invite-action h2,.invite-next h2{margin-top:0}
.invite-management>p:not(.eyebrow){max-width:620px;color:var(--pet-muted)}
.invite-choice{display:flex;flex-wrap:wrap;gap:10px}
.invite-choice button{width:auto}
.invite-share{margin-top:24px;padding:20px;background:var(--pet-soft);border:1px solid #b9dfca;border-radius:16px;overflow-wrap:anywhere}
.invite-share h2{margin-top:0}
.invite-share .actions{align-items:stretch}
.invite-share .actions button{width:auto}
.invite-dialog{width:min(680px,calc(100vw - 32px));max-width:none;padding:0;border:0;background:transparent;overflow:visible}
.invite-dialog::backdrop{background:rgb(36 61 54 / 28%)}
.invite-dialog .invite-share{margin:0;box-shadow:0 20px 60px rgb(36 61 54 / 18%)}
.invite-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:16px}
.invite-dialog-head h2{margin-top:0}
.dialog-close{width:44px!important;min-width:44px;padding:6px!important;font-size:1.4rem;line-height:1}
.invite-share .actions button{white-space:nowrap}
.invite-qr{width:min(260px,100%);margin:18px auto 4px;padding:14px;background:#fff;border-radius:12px}
.invite-qr svg{display:block;width:100%;height:auto}
.invite-list-item{max-width:760px}
.invite-next{display:grid;gap:10px}
.invite-next .button{width:max-content}
@media(max-width:500px){.invite-choice{display:grid}.invite-choice button,.invite-share .actions button,.invite-next .button{width:100%}.invite-share{padding:16px}.invite-avatar{width:48px;height:48px}.invite-dialog{width:calc(100vw - 24px)}}
/* Direct requests keep the existing account components, with the request first. */
.account-entry,.onboarding{max-width:460px;margin:0 auto 32px;padding:8px 0;background:transparent;border:0}
body[data-account-page] #heading{font-size:clamp(1.8rem,5vw,2.6rem);text-align:center;margin:16px 0}
body[data-account-page] #logout{display:none!important}
.account-intro{text-align:center;color:var(--pet-muted)}
.google-button{width:100%;background:white;color:var(--pet-charcoal);border:1px solid var(--pet-border);font-weight:500;min-height:48px}
.google-button:disabled{cursor:not-allowed}
.auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0;color:var(--pet-muted);font-size:.9rem}
.auth-divider::before,.auth-divider::after{content:'';height:1px;flex:1;background:var(--pet-border)}
.text-button{display:block;background:transparent;color:var(--pet-green-dark);border:0;padding:8px 0}
.intent-options, .onboarding fieldset{border:1px solid var(--pet-border);border-radius:16px;padding:12px;min-width:0}
.intent-options label{display:flex;align-items:center;gap:10px;min-height:52px}
.intent-options input{width:22px;min-height:22px;height:22px}
.onboarding progress{width:100%;height:6px;accent-color:var(--pet-green-dark)}
.onboarding fieldset:not(.intent-options){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 10px}
.onboarding fieldset .checkbox{font-size:.95rem;gap:8px}.onboarding fieldset input{flex-shrink:0}
.onboarding h2{font-size:1.7rem}.onboarding .eyebrow{color:var(--pet-muted);font-size:.9rem}
.area-suggestions{display:grid;gap:4px}.area-suggestions:empty{display:none}
.account-actions{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin:24px 0}
.profile-preview h3{margin-top:12px}
body[data-account-page] input:focus-visible,body[data-account-page] button:focus-visible,body[data-account-page] a:focus-visible{outline:3px solid var(--pet-green-dark);outline-offset:3px}
.direct-request-grid{grid-template-columns:minmax(0,1fr);max-width:540px;margin:auto;align-items:start}
@media(max-width:700px){.direct-request-grid{grid-template-columns:minmax(0,1fr)}}
#series-builder{min-width:0;border:1px solid var(--pet-border);border-radius:12px;padding:12px;display:grid;gap:12px}
#series-builder fieldset{min-width:0;border:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#series-builder fieldset legend{grid-column:1/-1}#series-preview ol{padding-left:22px}#series-preview li{margin:8px 0}
.role-banner{display:block;max-width:max-content;margin:4px auto 0;padding:6px 18px;border-radius:999px;background:var(--pet-soft);color:var(--pet-green-dark);font-weight:600;letter-spacing:.02em}
#profile-form h3{margin:18px 0 6px;font-size:1.05rem;color:var(--pet-green-dark)}
#profile-form h3:first-child{margin-top:4px}

/* Structured profile cards remain inline and use native disclosure. */
.structured-profile { min-width:0; }
.structured-profile fieldset { min-width:0; margin:1rem 0; border:1px solid var(--pet-border); border-radius:1rem; padding:1rem; }
.structured-profile details, #workspace details { margin-block:.75rem; }
.structured-profile summary { cursor:pointer; padding:.5rem 0; }
.structured-profile [hidden] { display:none; }
.profile-media-row { display:grid; gap:10px; margin:12px 0; padding:12px; border:1px solid var(--pet-border); border-radius:12px; background:var(--pet-background); }
.profile-media-row label { min-width:0; }
.profile-media-row button { width:max-content; }

/* Modern Liesl & WhatsApp inspired inbox and chat, styled with PetTogether corporate design. */
.message-workspace { margin:var(--pet-space-3) 0 var(--pet-space-4); min-width:0; scroll-margin-top:1rem; }
.message-inbox-grid { display:grid; grid-template-columns:minmax(280px,340px) minmax(0,1fr); gap:var(--pet-space-3); align-items:stretch; min-width:0; min-height:600px; height:calc(100vh - 180px); max-height:780px; }
.message-inbox,.message-thread { min-width:0; overflow:hidden; background:#fff; border:1px solid var(--pet-border); border-radius:16px; box-shadow:0 2px 10px rgba(20,114,83,0.04); height:100%; display:flex; flex-direction:column; padding:0; }
.message-section-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px 14px; border-bottom:1px solid var(--pet-border); background:#fff; flex-shrink:0; }
.message-section-heading h2 { margin:0; font-size:1.45rem; font-weight:700; color:var(--pet-charcoal); line-height:1.2; }
.message-unread-summary { font-size:0.8rem; font-weight:700; color:var(--pet-green-dark); background:#eaf5ee; padding:3px 10px; border-radius:999px; white-space:nowrap; }
.message-inbox-list { flex:1; overflow-y:auto; overscroll-behavior:contain; padding:8px 10px; display:flex; flex-direction:column; gap:4px; min-width:0; }
.message-inbox-row { display:grid; grid-template-columns:44px minmax(0,1fr) auto; gap:12px; align-items:center; width:100%; min-height:68px; padding:10px 12px; border:1px solid transparent; border-radius:12px; background:transparent; color:var(--pet-charcoal); text-align:left; cursor:pointer; transition:background 0.15s ease,border-color 0.15s ease; }
.message-inbox-row:hover,.message-inbox-row:focus-visible { background:#f4f8f5; border-color:#dbe8e0; outline:none; }
.message-inbox-row.is-selected { background:#eaf5ee; border-color:#b9dfca; }
.message-inbox-avatar { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#e0f0e6; color:var(--pet-green-dark); font-weight:700; font-size:0.95rem; border:1.5px solid #c2e0cf; flex-shrink:0; }
.message-inbox-row.is-selected .message-inbox-avatar { background:var(--pet-green-dark); color:#fff; border-color:var(--pet-green-dark); }
.message-inbox-copy { min-width:0; display:flex; flex-direction:column; gap:2px; }
.message-inbox-top { display:flex; justify-content:space-between; align-items:baseline; gap:8px; width:100%; }
.message-inbox-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:0.95rem; font-weight:700; color:var(--pet-charcoal); }
.message-inbox-top time { font-size:0.74rem; color:var(--pet-muted); white-space:nowrap; flex-shrink:0; }
.message-inbox-sub { font-size:0.78rem; color:var(--pet-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.message-inbox-preview { font-size:0.84rem; color:#3d4a43; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:1px; }
.message-unread-dot { display:inline-grid; place-items:center; min-width:20px; height:20px; padding-inline:5px; border-radius:999px; background:var(--pet-green); color:#fff; font-size:0.72rem; font-weight:700; flex-shrink:0; }

.message-thread-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 18px; border-bottom:1px solid var(--pet-border); background:#fff; flex-shrink:0; min-height:64px; }
.chat-header-user { display:flex; align-items:center; gap:12px; min-width:0; flex:1; }
.chat-header-avatar { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#e0f0e6; color:var(--pet-green-dark); font-weight:700; font-size:0.95rem; border:1.5px solid #c2e0cf; flex-shrink:0; }
.chat-header-user h2 { margin:0; font-size:1.15rem; font-weight:700; color:var(--pet-charcoal); line-height:1.2; }
.chat-header-sub { margin:2px 0 0; font-size:0.82rem; color:var(--pet-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; display:inline-flex; align-items:center; gap:4px; transition:color 0.15s ease; }
.chat-header-sub:hover { color:var(--pet-green-dark); text-decoration:underline; }
.message-back { display:none; align-items:center; gap:4px; padding:6px 12px; border-radius:8px; font-size:0.9rem; font-weight:600; min-height:38px; width:auto; }
.message-thread-header .status { cursor:pointer; transition:transform 0.15s ease, box-shadow 0.15s ease; }
.message-thread-header .status:hover { transform:scale(1.03); }
.message-thread-header .status.completed { background:#dff0e6; color:#147253; border:1px solid #bfe3cc; font-weight:700; }

/* Chat Timeline Booking Cards (integrated directly in message flow) */
.chat-timeline-booking { width:100%; max-width:min(90%,540px); margin:8px auto; align-self:center; box-sizing:border-box; transition:transform 0.2s ease,box-shadow 0.2s ease; }
.chat-timeline-booking.is-past { border:1px solid #dbe3dd; border-radius:14px; background:#f6f8f6; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,0.02); transition:background 0.15s ease,border-color 0.15s ease,box-shadow 0.15s ease; }
.chat-timeline-booking.is-past:hover { border-color:#c2d1c7; background:#eef3ef; }
.chat-timeline-booking.is-past.is-open { background:#fff; border-color:#b9dfca; box-shadow:0 2px 8px rgba(20,114,83,0.06); }
.chat-past-booking-summary { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:10px 14px; background:transparent; border:none; font-size:0.84rem; color:#55665d; cursor:pointer; text-align:left; min-height:40px; }
.chat-past-info { display:flex; align-items:center; gap:8px; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-past-icon { font-size:0.95rem; opacity:0.8; flex-shrink:0; }
.chat-past-title { font-weight:600; color:#3a4b41; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:0.84rem; }
.chat-past-pet { color:var(--pet-muted); font-size:0.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-past-meta { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.chat-past-status { font-size:0.72rem; font-weight:600; padding:2px 8px; border-radius:6px; background:#e6ece8; color:#586960; white-space:nowrap; }
.chat-past-status.is-completed { background:#dff0e6; color:#147253; }
.chat-past-status.is-cancelled { background:#fbf0f0; color:#8e3232; }
.chat-past-chevron { width:15px; height:15px; color:#76877e; flex-shrink:0; transition:transform 0.2s ease; }
.chat-timeline-booking.is-open .chat-past-chevron { transform:rotate(180deg); }
.chat-past-booking-details { padding:10px 14px 12px; border-top:1px dashed #dbe3dd; background:#fafcfa; font-size:0.86rem; color:#37463e; }

.chat-timeline-booking.is-active { padding:14px 18px; border-radius:16px; background:#fff; border:1.5px solid #bce6ce; box-shadow:0 2px 8px rgba(20,114,83,0.06); }
.chat-booking-card-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.chat-booking-title { display:flex; justify-content:space-between; align-items:center; width:100%; flex-wrap:wrap; gap:8px; }
.chat-booking-title strong { font-size:1rem; font-weight:700; color:var(--pet-charcoal); }
.chat-booking-badge { font-size:0.76rem; font-weight:600; padding:3px 10px; border-radius:999px; background:#eef4f0; color:var(--pet-muted); }
.chat-booking-badge.is-confirmed { background:#dff0e6; color:#147253; font-weight:700; }
.chat-booking-details { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:6px 14px; padding-top:8px; border-top:1px dashed var(--pet-border); font-size:0.85rem; color:#37473f; }
.chat-booking-detail { display:flex; align-items:center; gap:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-detail-icon { width:15px; height:15px; flex-shrink:0; color:var(--pet-green-dark); }
.chat-detail-emoji { font-size:0.95rem; flex-shrink:0; }
.chat-booking-action { margin-top:10px; padding-top:8px; border-top:1px solid var(--pet-border); }
.chat-booking-action button { width:100%; font-size:0.92rem; font-weight:700; padding:9px; border-radius:10px; }

@keyframes chatCardPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(20, 114, 83, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(20, 114, 83, 0.15); }
  100% { transform: scale(1); box-shadow: 0 2px 8px rgba(20, 114, 83, 0.06); }
}
.chat-timeline-booking.is-highlighted { animation: chatCardPulse 0.8s ease-in-out; }

/* WhatsApp & Liesl inspired message scroll & speech bubbles */
.message-scroll { flex:1; overflow-y:auto; overscroll-behavior:contain; padding:14px 18px; display:flex; flex-direction:column; gap:8px; background:#fbfaf6; }
.message-older { width:max-content; align-self:center; font-size:0.84rem; padding:6px 14px; margin-bottom:8px; border-radius:999px; }

.chat-date-chip { display:flex; justify-content:center; margin:12px 0 6px; }
.chat-date-chip span { display:inline-block; padding:4px 14px; border-radius:999px; background:rgba(255,255,255,0.95); border:1px solid var(--pet-border); font-size:0.76rem; font-weight:600; color:var(--pet-muted); box-shadow:0 1px 3px rgba(0,0,0,0.04); letter-spacing:0.02em; }

.chat-bubble { position:relative; max-width:min(78%,520px); padding:8px 12px 6px; margin-block:2px; font-size:0.94rem; box-shadow:0 1px 2px rgba(0,0,0,0.04); display:flex; flex-direction:column; gap:2px; }
.chat-bubble.is-mine { align-self:flex-end; background:#daf3e4; border:1px solid #bce6ce; border-radius:14px 14px 3px 14px; }
.chat-bubble.is-theirs { align-self:flex-start; background:#fff; border:1px solid var(--pet-border); border-radius:14px 14px 14px 3px; }
.chat-bubble-text { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; line-height:1.45; color:var(--pet-charcoal); }
.chat-bubble-footer { display:flex; align-items:center; justify-content:flex-end; gap:4px; font-size:0.72rem; color:var(--pet-muted); user-select:none; margin-top:2px; }
.chat-bubble.is-mine .chat-bubble-footer { color:#3b6b55; }
.chat-check { color:var(--pet-green-dark); font-weight:700; letter-spacing:-1px; font-size:0.8rem; }

.chat-event-chip { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; align-self:center; max-width:min(90%,540px); margin:6px auto; padding:8px 16px; border-radius:12px; background:#fff; border:1px solid #e1e8e3; font-size:0.84rem; color:#37463f; text-align:center; box-shadow:0 1px 3px rgba(0,0,0,0.03); }
.chat-event-chip.is-success { background:#ebf7ee; border-color:#bce6ce; color:#12573d; font-weight:500; }
.chat-event-chip time { font-size:0.72rem; opacity:0.75; font-weight:normal; }

/* Legacy / fallback message entry & event compatibility */
.message-entry { max-width:min(78%,520px); padding:8px 12px; border:1px solid var(--pet-border); border-radius:14px 14px 14px 4px; background:#fff; }
.message-entry.is-mine { align-self:flex-end; border-color:#bce6ce; border-radius:14px 14px 4px 14px; background:#daf3e4; }
.message-entry-meta { display:flex; gap:8px; align-items:baseline; color:var(--pet-muted); font-size:0.74rem; }
.message-entry-meta strong { color:var(--pet-charcoal); }
.message-entry p { margin:0.25rem 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.message-event { display:grid; gap:2px; justify-items:center; padding:5px 8px; color:var(--pet-muted); font-size:0.78rem; text-align:center; }
.message-event span { font-weight:600; color:var(--pet-green-dark); }

/* Offer cards inside message thread */
.message-offer { display:grid; gap:6px; padding:14px; border:1px solid #abd7be; border-radius:16px; background:var(--pet-soft); max-width:min(88%,540px); align-self:center; margin:6px 0; }
.message-offer strong { font-size:1.2rem; color:var(--pet-green-dark); }
.message-offer p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.message-offer small { color:var(--pet-muted); }
.message-offer button { justify-self:start; width:auto; }
.message-offer-price-row { display:flex; align-items:baseline; gap:8px; margin:4px 0; }
.message-offer-label { font-size:0.95rem; font-weight:600; color:var(--pet-charcoal); }
.message-offer-price { font-size:1.35rem; font-weight:700; color:var(--pet-green-dark); }
.message-offer-breakdown { margin:6px 0; font-size:0.88rem; }
.message-offer-breakdown summary { cursor:pointer; color:var(--pet-green-dark); font-weight:600; }
.offer-breakdown-lines { margin-top:6px; display:grid; gap:4px; padding-left:8px; border-left:2px solid var(--pet-border); }
.offer-breakdown-line { display:flex; justify-content:space-between; gap:12px; }
.offer-breakdown-line strong { font-size:0.95rem; color:var(--pet-charcoal); }
.offer-suggestion-box { padding:10px 12px; border-radius:12px; margin-bottom:12px; }
.offer-suggestion-box.calculated { background:rgba(50, 165, 121, 0.08); border:1px solid rgba(50, 165, 121, 0.25); }
.offer-suggestion-box.incomplete-warning { background:#fff8eb; border:1px solid #fed7aa; }
.offer-suggestion-box .warning-text { color:#b45309; margin:0 0 4px; font-weight:700; }
.offer-calc-details { margin-top:6px; font-size:0.86rem; }
.offer-calc-details summary { cursor:pointer; color:var(--pet-green-dark); font-weight:600; }
.sitter-geo-confirmation-box { padding:12px; border-radius:12px; margin-bottom:14px; background:#fff8eb; border:1px solid #fed7aa; }
.sitter-geo-confirmation-box .warning-text { color:#b45309; margin:0 0 6px; font-weight:700; }
.sitter-geo-confirmation-box .sitter-geo-confirm-check { display:flex; align-items:flex-start; gap:8px; margin-top:10px; font-weight:600; color:#374151; cursor:pointer; font-size:0.9rem; line-height:1.4; }
.sitter-geo-confirmation-box .sitter-geo-confirm-check input { margin-top:3px; flex-shrink:0; }
.message-offer-geo-confirmed { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:8px; background:rgba(50, 165, 121, 0.08); border:1px solid rgba(50, 165, 121, 0.25); color:#065f46; font-size:0.875rem; font-weight:500; margin:6px 0; }

/* WhatsApp-style capsule composer */
.chat-composer { padding:12px 18px; border-top:1px solid var(--pet-border); background:#fff; flex-shrink:0; }
.chat-composer-row { display:flex; align-items:flex-end; gap:10px; width:100%; }
.chat-composer-row textarea { flex:1; min-height:44px; max-height:130px; padding:10px 18px; border-radius:22px; border:1.5px solid var(--pet-border); background:#fbfaf6; font-size:0.95rem; line-height:1.4; resize:none; color:var(--pet-charcoal); transition:border-color 0.15s ease,background 0.15s ease,box-shadow 0.15s ease; width:100%; }
.chat-composer-row textarea:focus { outline:none; border-color:var(--pet-green-dark); background:#fff; box-shadow:0 0 0 3px rgba(20,114,83,0.12); }
.chat-send-btn { width:44px; height:44px; min-width:44px; min-height:44px; border-radius:50%; border:none; background:var(--pet-green-dark); color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; flex-shrink:0; box-shadow:0 2px 6px rgba(20,114,83,0.25); transition:transform 0.1s ease,background 0.15s ease; }
.chat-send-btn:hover { background:#0f5b42; transform:scale(1.05); }
.chat-send-btn:active { transform:scale(0.96); }
.chat-send-btn .send-icon { width:20px; height:20px; transform:translate(1px,-1px); }

.message-thread-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; min-height:380px; padding:32px 20px; text-align:center; }
.chat-empty-illustration { font-size:3rem; margin-bottom:10px; }
.message-thread-empty h2 { margin:0 0 8px; font-size:1.5rem; font-weight:700; color:var(--pet-charcoal); }
.message-error { min-height:1.4em; margin:8px 0 0; color:#8e3232; font-size:0.88rem; padding:0 18px; }

@media(max-width:900px){.message-inbox-grid{grid-template-columns:minmax(260px,300px) minmax(0,1fr);}}
@media(max-width:680px){
  .message-inbox-grid{display:block;height:auto;max-height:none;min-height:0;}
  .message-inbox{display:flex;height:calc(100vh - 160px);min-height:480px;}
  .message-thread{display:none;height:calc(100vh - 160px);min-height:480px;}
  .message-workspace.has-selection .message-inbox{display:none;}
  .message-workspace.has-selection .message-thread{display:flex;}
  .message-back{display:inline-flex;}
  .message-back span{display:none;}
  .chat-booking-details{grid-template-columns:1fr;}
}

body[data-account-page] #heading[hidden] { display: none !important; }
.workspace-header { margin-bottom: 20px; }
.workspace-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.workspace-mode-badge { font-size: .8rem; font-weight: 600; color: #245d49; background: #eef4f0; padding: 4px 10px; border-radius: 999px; }
.account-tabs { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-bottom: 2px solid #e1e7e3; padding-bottom: 0; margin: 0 0 24px 0; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.tab-btn { background: transparent; border: none; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; padding: 10px 16px; font-weight: 600; font-size: .95rem; color: #5f7166; cursor: pointer; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: all 160ms ease; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; }
.tab-btn:hover { color: #245d49; background: rgba(36,93,73,.05); }
.tab-btn.active { color: #243d36; border-bottom-color: #245d49; background: rgba(36,93,73,.05); font-weight: 700; }
.tab-btn:focus-visible { outline: 2px solid #245d49; outline-offset: -2px; }
.tab-pane[hidden] { display: none !important; }
.account-overview-header { margin: 0 0 20px 0; }
.account-overview-title { font-size: clamp(1.4rem, 2.8vw, 1.85rem); font-weight: 700; text-align: left; margin: 0 0 4px 0; color: var(--pet-charcoal, #243d36); line-height: 1.25; }
.account-overview-subtitle { font-size: .95rem; color: #5f7166; margin: 0; }
.overview-status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; width: fit-content; }
.overview-status-pill.is-active { background: #e6eee4; color: #245d49; }
.overview-status-pill.is-private { background: #f0f3f1; color: #5f7166; }
.overview-status-pill.is-verified { background: #eef5f1; color: #1f5642; border: 1px solid #c2e0cf; }
.recent-message-item { padding: 8px 10px; border-radius: 8px; background: #f7f9f7; border: 1px solid #e2ebe4; font-size: .88rem; margin-bottom: 6px; }
.recent-message-item strong { display: block; color: #243d36; }
.recent-message-preview { margin: 2px 0 0 0; color: #53665f; font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-booking-info { background: #f7f9f7; border: 1px solid #e2ebe4; border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.next-booking-info p { margin: 2px 0; }
.dual-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 24px; }
.dual-summary-card { background: white; border: 1px solid #d7dfd7; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dual-summary-card .card-header { display: flex; align-items: center; gap: 10px; }
.dual-summary-card .card-header h3 { margin: 0; font-size: 1.25rem; color: #243d36; }
.card-icon { font-size: 1.4rem; }
.stats-row { display: flex; gap: 24px; margin-block: 4px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 1.8rem; font-weight: 750; color: #245d49; line-height: 1.1; }
.stat-label { font-size: .85rem; color: #5f7166; font-weight: 500; }
.sitter-status-hint { font-size: .85rem; color: #5f7166; margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.requests-section { margin-bottom: 32px; }
.requests-section h2 { border-bottom: 2px solid #e1e7e3; padding-bottom: 8px; margin-bottom: 12px; }
.btn-sitter-activate { background: #eef4f0; border: 1px solid #245d49; color: #245d49; font-weight: 600; cursor: pointer; padding: 8px 14px; border-radius: 8px; }
.btn-sitter-activate:hover { background: #245d49; color: white; }
@media (max-width: 640px) {
  .account-tabs { gap: 2px; margin-bottom: 16px; }
  .dual-dashboard { grid-template-columns: 1fr; gap: 16px; }
  .dual-summary-card { padding: 16px; }
  .tab-btn { padding: 8px 11px; font-size: .88rem; min-height: 38px; }
}

.account-success-box{background:var(--pet-soft,#eef5f1);border:1px solid #b9dfca;border-radius:12px;padding:16px;color:var(--pet-green-dark,#243d36);font-size:.95rem;line-height:1.5;margin:16px 0}
.account-error-box{background:#fdf2f2;border:1px solid #f5c6c6;border-radius:12px;padding:16px;color:#8a2424;font-size:.95rem;line-height:1.5;margin:16px 0}

/* PT-SITTER-201: Meine Dienstleistungen & Service Settings */
.services-settings-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 24px;
}

.service-setting-card {
  border: 1px solid var(--pet-border);
  border-radius: var(--pet-radius-sm);
  background: var(--pet-surface);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-setting-card.is-active {
  border-color: #b9dfca;
}

.service-setting-card.is-paused {
  background: #fafaf8;
  opacity: 0.9;
}

.service-setting-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--pet-surface);
  border-bottom: 1px solid transparent;
  gap: 12px;
}

.service-setting-card.is-active .service-setting-card-header {
  border-bottom-color: rgba(215, 227, 220, 0.6);
  background: var(--pet-soft);
}

.service-setting-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.service-setting-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--pet-border);
  flex-shrink: 0;
}

.service-setting-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-setting-title-wrap h4 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--pet-charcoal);
  font-weight: 600;
}

.service-setting-unit-hint {
  font-size: 0.82rem;
  color: var(--pet-muted);
}

.service-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.service-status-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.service-status-pill.is-active {
  background: #d4ebd9;
  color: var(--pet-green-dark);
}

.service-status-pill.is-paused {
  background: #ecefe8;
  color: var(--pet-muted);
}

.service-toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
  margin: 0;
}

.service-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.service-toggle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5ce;
  border-radius: 26px;
  transition: 0.2s;
}

.service-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.service-toggle-switch input:checked + .service-toggle-slider {
  background-color: var(--pet-green);
}

.service-toggle-switch input:checked + .service-toggle-slider:before {
  transform: translateX(22px);
}

.service-setting-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-animals-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-section-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pet-charcoal);
}

.service-animals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-animal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--pet-border);
  border-radius: 999px;
  background: var(--pet-surface);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  user-select: none;
  transition: all 0.15s ease;
  margin: 0;
}

.service-animal-chip input {
  accent-color: var(--pet-green-dark);
  margin: 0;
}

.service-animal-chip:has(input:checked) {
  border-color: var(--pet-green);
  background: var(--pet-soft);
  color: var(--pet-green-dark);
}

.service-animal-chip img,
.service-animal-chip .service-animal-chip-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-animal-chip img {
  object-fit: contain;
}

.service-animal-chip-icon svg,
.bird-mini-icon svg {
  display: block;
  stroke: var(--pet-green-dark);
}

.bird-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.service-capacity-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-capacity-row label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.service-capacity-row input {
  max-width: 220px;
}

.service-pricing-row {
  border-top: 1px dashed var(--pet-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-base-hint {
  margin-top: -4px;
}

.service-pricing-details {
  border: 1px solid var(--pet-border);
  border-radius: 10px;
  background: #fafbf9;
  padding: 10px 14px;
  margin-top: 4px;
}

.service-pricing-summary {
  cursor: pointer;
  color: var(--pet-green-dark);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 4px 0;
  user-select: none;
}

.service-pricing-options-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-option-group {
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8e0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-option-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-group-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 0.94rem;
}

.pricing-group-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--pet-green);
  margin: 0;
}

.pricing-group-content {
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--pet-border);
  border-radius: 8px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-mode-selector {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.pricing-mode-selector label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pricing-mode-selector input {
  width: auto;
  accent-color: var(--pet-green);
  margin: 0;
}

.pricing-mode-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing-field-wrap label {
  flex: 1;
  min-width: 220px;
}

.dog-size-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.dog-size-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}

.rate-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rate-input-wrap input {
  flex: 1;
  min-width: 0;
}

.rate-input-wrap select {
  width: auto;
  min-width: 65px;
  padding: 8px 6px;
}

.unit-addon {
  font-weight: 600;
  color: var(--pet-charcoal);
  padding: 0 4px;
}

.chip-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pet-soft);
  color: var(--pet-green-dark);
  border: 1px solid var(--pet-green);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
  transition: all 0.15s ease;
}

.chip-suggestion:hover {
  background: var(--pet-green);
  color: white;
}

.chip-suggestion[hidden] {
  display: none !important;
}

.extra-pets-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extra-pet-card {
  background: white;
  border: 1px solid var(--pet-border);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.extra-pet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.extra-pet-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--pet-charcoal);
}

.extra-pet-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra-pet-field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.extra-pet-field-wrap label {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
}

.pricing-subfields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.date-rules-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.date-rule-row {
  background: #f7f9f6;
  border: 1px solid #d4dfd2;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-rule-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 8px;
  align-items: flex-end;
}

.date-rule-fields label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  font-weight: 600;
}

.date-rule-fields input,
.date-rule-fields select {
  font-size: 0.86rem;
  min-height: 38px;
  padding: 6px 8px;
}

.date-rule-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.date-rule-remove {
  padding: 4px 10px;
  font-size: 0.82rem;
  min-height: 32px;
  color: #a63838;
  border-color: #e0b4b4;
  background: white;
}

.date-rule-remove:hover {
  background: #fdf2f2;
}

.date-rules-add-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}

.date-rules-add-actions button {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.86rem;
}

.date-conflict-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Live-Preisvorschau Widget */
.service-preview-widget {
  margin-top: 14px;
  border: 1px solid #bcd3c7;
  border-radius: 12px;
  background: linear-gradient(180deg, #f4f8f6 0%, #ffffff 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.service-preview-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-preview-tag {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--pet-green-dark);
}

.service-preview-subtitle {
  font-size: 0.82rem;
  color: #53665f;
}

.service-preview-calc-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  min-height: 36px;
  border-radius: 6px;
  border-color: var(--pet-green);
  color: var(--pet-green-dark);
}

.service-preview-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: flex-end;
}

.preview-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 600;
}

.preview-control select,
.preview-control input {
  font-size: 0.88rem;
  min-height: 38px;
  padding: 6px 10px;
}

.preview-checkbox-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 38px;
  cursor: pointer;
}

.preview-checkbox-control input {
  width: 18px;
  height: 18px;
  accent-color: var(--pet-green);
  margin: 0;
}

.preview-custom-dates {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: #eaf1ec;
  padding: 8px 12px;
  border-radius: 8px;
}

.preview-custom-dates label {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  font-weight: 600;
}

.service-preview-result-box {
  background: white;
  border: 1px solid var(--pet-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.preview-placeholder {
  font-size: 0.88rem;
  color: #6a7c72;
}

.preview-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-status-bar {
  display: flex;
  justify-content: flex-start;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.preview-badge.is-calculated {
  background: #dff0d8;
  color: #2e6634;
  border: 1px solid #c3e6cb;
}

.preview-badge.is-quote {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.preview-badge.is-incomplete {
  background: #ffe8d6;
  color: #a74900;
  border: 1px solid #ffd4b2;
}

.preview-badge.is-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.preview-lines-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px dashed #d7dfd7;
  padding-bottom: 8px;
}

.preview-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 10px;
}

.preview-line-label {
  color: var(--pet-charcoal);
  font-weight: 500;
}

.preview-line-calc {
  color: #4a5c53;
  white-space: nowrap;
}

.preview-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pet-green-dark);
  padding-top: 4px;
}

.preview-total-row.is-quote {
  color: #856404;
}

.preview-total-row.is-incomplete {
  color: #a74900;
}

.preview-info-notice {
  background: #fff8f0;
  border-left: 3px solid #e06d10;
  padding: 8px 12px;
  font-size: 0.84rem;
  color: #7a3a00;
  border-radius: 4px;
  margin-top: 4px;
}

.preview-disclaimer {
  font-size: 0.78rem;
  color: #6e8076;
  margin: 0;
  margin-top: 4px;
}

.preview-error-state {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.money-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.money-label input {
  max-width: 220px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

@media (max-width: 540px) {
  .service-setting-card-header {
    padding: 10px 12px;
    gap: 8px 10px;
  }
  .service-setting-lead {
    gap: 10px;
    min-width: 0;
  }
  .service-setting-icon {
    width: 36px;
    height: 36px;
    padding: 2px;
  }
  .service-setting-title-wrap h4 {
    font-size: 1.02rem;
    white-space: nowrap;
  }
  .service-setting-unit-hint {
    font-size: 0.76rem;
  }
  .service-toggle-wrap {
    gap: 6px;
  }
  .service-status-pill {
    font-size: 0.72rem;
    padding: 2px 6px;
  }
  .date-rule-fields {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .service-preview-controls-grid {
    grid-template-columns: 1fr;
  }
  .dog-size-rules-grid {
    grid-template-columns: 1fr;
  }
  .pricing-field-wrap label {
    min-width: 100%;
  }
  .pricing-mode-selector {
    flex-direction: column;
    gap: 8px;
  }
  .service-preview-header {
    flex-direction: column;
    align-items: stretch;
  }
  .service-preview-calc-btn {
    width: 100%;
  }
  .preview-line-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .preview-total-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 1.05rem;
  }
  .service-radius-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .radius-input-inline {
    max-width: 100%;
    width: 100%;
  }
  .radius-input-inline input {
    flex: 1;
  }
}

/* PT-SITTER-203: Dynamic Service Areas & Service Availability in Sitter Settings */
.service-area-group,
.service-availability-group {
  background: #fbfdfc;
  border: 1px solid var(--pet-border);
  border-radius: var(--pet-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-origin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--pet-charcoal);
}

.service-origin-tag {
  background: rgba(50, 165, 121, 0.12);
  color: var(--pet-green-dark);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.service-radius-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-radius-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pet-charcoal);
  flex-wrap: wrap;
  gap: 8px;
}

.radius-input-inline {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--pet-border);
  border-radius: 10px;
  background: var(--pet-surface);
  overflow: hidden;
  max-width: 140px;
}

.radius-input-inline input {
  width: 75px;
  border: none;
  padding: 8px 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--pet-charcoal);
  text-align: right;
  outline: none;
}

.radius-input-inline .unit-addon {
  padding: 8px 10px 8px 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pet-muted);
  background: var(--pet-soft);
}

.service-radius-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.radius-chip-btn {
  background: var(--pet-surface);
  border: 1px solid var(--pet-border);
  color: var(--pet-charcoal);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.radius-chip-btn:hover {
  border-color: var(--pet-green);
  background: var(--pet-soft);
}

.radius-chip-btn.is-selected {
  background: var(--pet-green-dark);
  border-color: var(--pet-green-dark);
  color: #ffffff;
}

.service-area-explanation {
  font-size: 0.82rem;
  color: var(--pet-muted);
  line-height: 1.35;
}

.service-travel-modes-wrap,
.timed-service-windows-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.service-sublabel {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pet-muted);
}

.travel-modes-chips-grid,
.time-windows-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.travel-mode-chip,
.time-window-chip,
.weekday-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--pet-border);
  border-radius: 999px;
  background: var(--pet-surface);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  user-select: none;
  transition: all 0.15s ease;
  margin: 0;
}

.travel-mode-chip input,
.time-window-chip input,
.weekday-chip input {
  accent-color: var(--pet-green-dark);
  margin: 0;
}

.travel-mode-chip.is-selected,
.time-window-chip.is-selected,
.weekday-chip.is-selected {
  border-color: var(--pet-green);
  background: var(--pet-soft);
  color: var(--pet-green-dark);
  font-weight: 600;
}

.service-area-home-note {
  background: #f7faf8;
  border: 1px dashed var(--pet-border);
}

.service-area-home-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pet-muted);
  line-height: 1.4;
}

.weekly-days-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.weekly-days-selector .weekday-chip {
  min-width: 38px;
  justify-content: center;
  text-align: center;
  padding: 6px 10px;
}

/* Canonical Private Sitter Address Styles (PT-SITTER-203.4) */
.address-privacy-note {
  font-size: 0.9rem;
  color: var(--pet-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.address-completion-warning {
  background: #fff8e6;
  border: 1px solid #f2c037;
  color: #795548;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.4;
}

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

@media (min-width: 600px) {
  .address-grid {
    grid-template-columns: 3fr 1fr 1fr 2fr;
  }
}

.address-status-wrap {
  margin: 6px 0 16px 0;
}

.address-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
}

.address-status-pill.is-resolved {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}

.address-status-pill.is-warning {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #f57f17;
}

.address-status-pill.is-error {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  color: #c62828;
}

/* Swiss Address Autocomplete Widget */
.address-autocomplete-widget {
  margin: 10px 0 16px 0;
}

.address-search-container {
  position: relative;
  margin-bottom: 8px;
}

.address-search-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--pet-charcoal, #1f2937);
}

.address-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.address-search-input-wrap .address-pin-icon {
  position: absolute;
  left: 12px;
  color: var(--pet-green, #166534);
  pointer-events: none;
}

.address-search-input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  border: 1.5px solid var(--pet-border, #d1d5db);
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.address-search-input:focus {
  outline: none;
  border-color: var(--pet-green, #166534);
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.15);
}

.address-search-spinner {
  position: absolute;
  right: 12px;
  font-size: 0.9rem;
  animation: spin 1s infinite linear;
}

.address-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}

.address-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s ease;
}

.address-suggestion-item:last-child {
  border-bottom: none;
}

.address-suggestion-item:hover,
.address-suggestion-item.is-highlighted {
  background: #f0fdf4;
}

.address-suggestion-item .suggestion-pin-icon {
  color: var(--pet-green, #166534);
  flex-shrink: 0;
}

.address-suggestion-item .suggestion-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.address-suggestion-item .suggestion-primary {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.address-suggestion-item .suggestion-secondary {
  font-size: 0.82rem;
  color: #4b5563;
}

.address-no-suggestions {
  padding: 14px;
  font-size: 0.88rem;
  color: #6b7280;
  text-align: center;
}

/* Selected Address Card */
.selected-address-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 8px;
}

.selected-address-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.selected-address-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #16a34a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.selected-address-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.selected-address-line {
  font-size: 1.02rem;
  font-weight: 700;
  color: #14532d;
}

.selected-address-sub {
  font-size: 0.9rem;
  color: #166534;
}

.selected-address-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
  margin-top: 2px;
}

.btn-change-address {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.manual-address-toggle-row {
  margin-top: 6px;
}

.btn-toggle-manual {
  background: none;
  border: none;
  padding: 4px 0;
  color: #6b7280;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.btn-toggle-manual:hover {
  color: #374151;
}

.address-grid-wrap {
  margin-top: 10px;
}
