.account-dialog {
  --account-ink: var(--ink, #152b3a);
  --account-muted: #69797d;
  --account-lime: var(--lime, #b5f563);
  --account-paper: #fbfcf9;
  --account-pale: #eff5f2;
  width: min(540px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--account-paper);
  color: var(--account-ink);
  overflow: auto;
  overscroll-behavior: contain;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  scrollbar-width: thin;
}
.account-dialog::backdrop {
  background: rgb(17 35 43 / 48%);
  backdrop-filter: blur(7px);
}
.account-dialog[open] { animation: account-enter .35s cubic-bezier(.22,.68,0,1); }
.account-dialog-inner { position: relative; padding: 38px 42px 32px; }
.account-dialog * { box-sizing: border-box; }
.account-dialog button, .account-dialog input { font: inherit; }
.account-dialog button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.account-dialog button:focus-visible, .account-dialog input:focus-visible {
  outline: 2px solid #52813a;
  outline-offset: 4px;
}
.account-dialog [hidden] { display: none !important; }
.account-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.account-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--account-ink);
  transition: background .25s, transform .25s;
}
.account-close:hover { background: #e9f0e9; transform: rotate(8deg); }
.account-auth-header { text-align: center; }
.account-emblem { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 17px; background: var(--account-lime); border-radius: 18px; }
.account-emblem .account-icon { width: 26px; height: 26px; }
.account-dialog .account-overline { margin: 0 0 11px; color: #61726a; font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: .16em; }
.account-dialog h2 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: clamp(34px, 6vw, 43px); font-weight: 750; letter-spacing: -.055em; line-height: 1.06; }
.account-dialog h2 span { color: #5c803b; }
.account-dialog .account-intro { margin: 16px 0 0; color: var(--account-muted); font-size: 13px; line-height: 1.65; }
.account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 28px 0 25px; padding: 5px; border-radius: 13px; background: #eaf0eb; }
.account-auth-tabs button { min-height: 44px; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--account-muted); font-size: 13px; font-weight: 600; transition: color .25s, background .25s; }
.account-auth-tabs button:hover { color: var(--account-ink); }
.account-auth-tabs button[aria-selected="true"] { background: var(--account-paper); color: var(--account-ink); }
.account-form { display: grid; gap: 20px; margin: 0; }
.account-field { display: flex; flex-direction: column; gap: 8px; color: var(--account-ink); font-size: 12px; font-weight: 550; }
.account-field > span:first-child, .account-field > label { display: flex; flex-wrap: wrap; gap: 5px; justify-content: space-between; }
.account-field small { color: var(--account-muted); font-size: 12px; font-weight: 400; }
.account-field > input, .account-input-shell {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  border: 1px solid #d9e3dd;
  border-radius: 12px;
  background: #fff;
  color: var(--account-ink);
  transition: border-color .25s, background .25s;
}
.account-field > input { padding: 14px 16px; font-size: 14px; font-weight: 400; }
.account-input-shell { display: flex; align-items: center; gap: 11px; padding: 0 15px; }
.account-input-shell > .account-icon { color: #799087; width: 19px; height: 19px; }
.account-input-shell:focus-within, .account-field > input:focus { border-color: #68954a; background: #fff; }
.account-input-shell input { width: 100%; min-width: 0; min-height: 52px; padding: 13px 0; outline: 0; border: 0; border-radius: 12px; background: transparent; color: var(--account-ink); font-size: 14px; font-weight: 400; }
.account-input-shell input:focus-visible { outline: 0; }
.account-dialog input::placeholder { color: #91a09b; opacity: 1; }
.account-password-shell { gap: 0; padding-right: 5px; }
.account-password-toggle { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border: 0; border-radius: 9px; background: transparent; color: #6d8379; transition: background .25s; }
.account-password-toggle:hover { background: var(--account-pale); }
.account-password-toggle .account-icon { width: 20px; height: 20px; }
.account-dialog .account-field-help { margin: 0; color: var(--account-muted); font-size: 12px; font-weight: 400; }
.account-recovery-toggle { align-self: flex-end; border: 0; padding: 2px 0; background: transparent; color: #5c803b; font-size: 12px; font-weight: 500; text-underline-offset: 4px; }
.account-recovery-toggle:hover { text-decoration: underline; }
.account-recovery { margin-top: 5px; padding: 16px; border-radius: 12px; background: #eaf0e9; font-size: 12px; font-weight: 400; }
.account-recovery p { margin: 0 0 8px; }
.account-recovery button { padding: 5px 0; border: 0; background: transparent; color: #486c2c; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.account-consent { display: flex; align-items: flex-start; gap: 10px; color: #718078; font-size: 12px; line-height: 1.6; font-weight: 400; }
.account-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #6b963d; flex-shrink: 0; }
.account-primary { display: inline-flex; justify-content: center; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 15px 22px; border: 0; border-radius: 12px; background: var(--account-lime); color: var(--account-ink); font-size: 13px; line-height: 1.5; font-weight: 650; transition: transform .3s, background .3s; }
.account-primary:hover { background: #a5e650; transform: scale(1.02); }
.account-primary:active { transform: scale(.99); }
.account-primary .account-icon { width: 18px; height: 18px; }
.account-dialog .account-auth-footer { margin: 24px 0 0; text-align: center; color: #87958d; font-size: 12px; line-height: 1.65; }
.account-dashboard-header { padding-top: 7px; }
.account-dashboard-header h2 { max-width: 100%; overflow-wrap: anywhere; }
.account-dashboard-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 14px; background: #eaf0eb; margin: 27px 0 23px; }
.account-dashboard-tabs button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 10px; padding: 10px 8px; background: transparent; color: var(--account-muted); font-size: 12px; font-weight: 600; transition: background .25s, color .25s; }
.account-dashboard-tabs .account-icon { width: 17px; height: 17px; }
.account-dashboard-tabs button[aria-selected="true"] { background: var(--account-paper); color: var(--account-ink); }
.account-cleanings { text-align: center; }
.account-empty-scene { display: flex; align-items: center; justify-content: center; margin: -3px 0 4px; }
.account-home-scene { width: 206px; height: 143px; color: #6d8c66; }
.account-scene-wash { fill: #e7f0e2; }
.account-dialog .account-cleanings h3 { margin: 0; font-family: Manrope, Inter, sans-serif; font-size: 29px; line-height: 1.13; font-weight: 700; letter-spacing: -.045em; }
.account-dialog .account-empty-copy { margin: 13px 0 23px; color: var(--account-muted); font-size: 13px; line-height: 1.65; }
.account-current-choice { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding: 17px 15px; border-radius: 14px; background: var(--account-pale); text-align: left; }
.account-choice-icon { width: 37px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 11px; background: #e2ebdf; color: #5c803b; }
.account-choice-icon .account-icon { width: 20px; height: 20px; }
.account-current-choice > div:nth-child(2) { flex: 1; min-width: 0; }
.account-dialog .account-choice-label { margin: 0 0 4px; color: #7a8a81; font-size: 12px; font-weight: 500; }
.account-dialog .account-current-choice h4 { margin: 0; font-size: 12px; line-height: 1.4; font-weight: 650; }
.account-dialog .account-choice-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 0; color: #6b7d73; font-size: 12px; line-height: 1.5; }
.account-choice-change { padding: 10px 0 10px 7px; border: 0; background: transparent; color: #527733; font-size: 12px; font-weight: 600; text-underline-offset: 4px; }
.account-choice-change:hover { text-decoration: underline; }
.account-profile { padding-top: 4px; }
.account-profile-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.account-avatar { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; border-radius: 16px; background: #e3ecdd; color: #5c803b; }
.account-dialog .account-profile-heading h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }
.account-dialog .account-profile-heading p { margin: 5px 0 0; color: var(--account-muted); font-size: 12px; line-height: 1.5; }
.account-logout { display: inline-flex; gap: 9px; align-items: center; margin-top: 25px; padding: 9px 0; border: 0; background: transparent; color: #748177; font-size: 12px; font-weight: 500; transition: color .25s; }
.account-logout:hover { color: var(--account-ink); }
.account-logout .account-icon { width: 18px; height: 18px; }
.account-status { display: flex; align-items: center; gap: 9px; margin-top: 20px; padding: 13px 15px; border-radius: 11px; background: #eaf3e4; color: #506f3a; font-size: 12px; }
.account-status .account-icon { width: 17px; height: 17px; }
@keyframes account-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 540px) {
  .account-dialog { max-height: calc(100dvh - 24px); border-radius: 23px; }
  .account-dialog-inner { padding: 30px 24px 26px; }
  .account-close { top: 10px; right: 10px; }
  .account-emblem { margin-bottom: 15px; width: 49px; height: 49px; border-radius: 16px; }
  .account-dialog h2 { font-size: 37px; }
  .account-dialog .account-overline { font-size: 12px; }
  .account-auth-tabs { margin-top: 24px; margin-bottom: 22px; }
  .account-dialog .account-intro { font-size: 12px; }
  .account-form { gap: 18px; }
  .account-field, .account-dialog .account-field-help, .account-consent, .account-dialog .account-auth-footer { font-size: 12px; }
  .account-field small { font-size: 12px; }
  .account-field > input, .account-input-shell input { font-size: 16px; }
  .account-dashboard-header { padding-top: 16px; }
  .account-dashboard-tabs { margin-top: 24px; }
  .account-home-scene { width: 187px; height: 130px; }
  .account-current-choice { padding: 15px 12px; gap: 10px; flex-wrap: wrap; }
  .account-choice-change { margin-left: 47px; padding: 0; font-size: 12px; }
  .account-dialog .account-choice-label, .account-dialog .account-choice-meta, .account-dialog .account-profile-heading p { font-size: 12px; }
  .account-dialog .account-current-choice h4 { font-size: 13px; }
}
@media (max-width: 359px) {
  .account-dialog-inner { padding-inline: 19px; }
  .account-dialog h2 { font-size: 33px; }
  .account-auth-tabs button { font-size: 12px; }
  .account-dialog .account-cleanings h3 { font-size: 27px; }
  .account-dashboard-tabs { gap: 3px; }
  .account-dashboard-tabs button { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-dialog[open] { animation: none; }
  .account-dialog *, .account-dialog *::before, .account-dialog *::after { transition: none !important; }
  .account-primary:hover, .account-close:hover { transform: none; }
}

/* Live account and booking states keep the established quiet visual language. */
.account-dialog select,.account-dialog textarea{font:inherit}
.account-dialog select:focus-visible,.account-dialog textarea:focus-visible{outline:2px solid #52813a;outline-offset:4px}
.account-field>select,.account-field>textarea{width:100%;min-width:0;min-height:54px;padding:14px 16px;border:1px solid #d9e3dd;border-radius:12px;background:#fff;color:var(--account-ink);font-size:14px;font-weight:400;line-height:1.5}
.account-field>textarea{min-height:86px;resize:vertical}
.account-field>input[readonly]{background:#f2f5ef;color:#637569}
.account-feedback{margin-top:20px;padding:14px 16px;border-radius:11px;background:#eaf3e4;color:#45683b;font-size:12px;line-height:1.65;text-align:left}
.account-feedback.is-error{background:#f8eee7;color:#855842}
.account-dialog button:disabled{opacity:.62;transform:none}
.account-loading{padding:28px 0 45px}
.account-recovery a{color:#486c2c;text-decoration:underline;text-underline-offset:4px}
.account-back{padding:6px 0;margin:0 0 22px;background:none;color:#617969!important;font-size:12px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}
.account-order-heading{margin-bottom:26px}
.account-order-form{gap:19px}
.account-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
.account-form-grid input{padding-inline:10px}
.account-time-help{margin-top:-9px!important;line-height:1.6}
.account-order-extras{padding:0;margin:0;border:0}
.account-order-extras legend{margin-bottom:14px;font-size:12px;font-weight:550}
.account-order-extras label{display:flex;align-items:center;gap:10px;min-height:32px;margin-bottom:9px;font-size:12px;color:#4b6357}
.account-order-extras input{width:18px;height:18px;accent-color:#6b963d;flex-shrink:0}
.account-order-extras small{margin-left:auto;color:#758477;font-size:11px}
.account-order-estimate{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-top:1px solid #e0e8dd;border-bottom:1px solid #e0e8dd}
.account-order-estimate>span{max-width:150px;color:#6b7e70;font-size:12px;line-height:1.5}
.account-order-estimate strong{font-family:Manrope,Arial,sans-serif;font-size:28px;line-height:1.2;letter-spacing:-.04em;color:#315a41;white-space:nowrap}
.account-order-estimate strong small{font-family:Inter,Arial,sans-serif;font-size:12px;font-weight:500;letter-spacing:0}
.account-availability-note{color:#8a7156!important;line-height:1.6}
.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px;text-align:left}
.account-dialog .account-section-heading h3{font-size:22px;line-height:1.25}
.account-secondary{padding:8px 0;background:none;color:#608348!important;font-size:11px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.account-bookings{display:grid;gap:17px}
.account-booking-card{padding:22px;border:1px solid #dce7d7;border-radius:16px;background:linear-gradient(145deg,#f5f9f1,#edf5ec);text-align:left}
.account-booking-top{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#658450;margin-bottom:22px}
.account-booking-top>.account-icon{width:23px;height:23px}
.account-booking-status{font-size:10px;font-weight:550;line-height:1.45;text-align:right}
.account-booking-date-label{margin:0 0 7px!important;color:#75846f;font-size:10px;line-height:1.4}
.account-dialog .account-cleanings .account-booking-card h3{margin:0 0 20px;font-size:25px;line-height:1.22;letter-spacing:-.035em}
.account-booking-card h3>span{display:block;margin-top:7px;font-size:21px}
.account-booking-card h3 small{font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:400;letter-spacing:0;color:#72836e}
.account-booking-card h4{margin:0 0 7px;font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1.4;letter-spacing:-.02em}
.account-booking-specs,.account-booking-comment{margin:0!important;color:#71816d;font-size:11px;line-height:1.65}
.account-booking-address{display:flex;align-items:flex-start;gap:8px;margin:16px 0 0!important;font-size:12px;line-height:1.6;color:#415d4a;overflow-wrap:anywhere}
.account-booking-address .account-icon{width:16px;height:16px;margin-top:1px}
.account-booking-comment{margin-top:10px!important;white-space:pre-wrap;overflow-wrap:anywhere}
.account-booking-price{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:20px;padding-top:16px;border-top:1px solid #d6e3d1}
.account-booking-price>span{font-size:10px;color:#7b8c74}
.account-booking-price strong{font-family:Manrope,Arial,sans-serif;font-size:24px;font-weight:750;line-height:1.2;letter-spacing:-.04em;color:#315a41}
.account-booking-price small{font-family:Inter,Arial,sans-serif;font-size:10px;font-weight:450;letter-spacing:0}
.account-manager-note{margin:16px 0 22px!important;color:#798974;font-size:11px;line-height:1.65;text-align:left}
.account-previous{margin-top:28px;text-align:left;display:grid;gap:15px}
.account-previous>h4{margin:0;font-size:12px;font-weight:550;color:#7b8b77}
#booking-dialog textarea{display:block;width:100%;padding:14px 16px;min-height:80px;margin-top:8px;border:1px solid #d9e3dd;border-radius:10px;background:white;font:inherit;color:var(--ink);resize:vertical}
#booking-dialog label>small{font-size:11px;font-weight:400;color:var(--muted)}
.booking-account-link{display:block;min-height:38px;padding:10px 0 0;margin:6px auto 0;background:none;color:#527342!important;font-size:11px;line-height:1.6;text-decoration:underline;text-underline-offset:4px}
.booking-result.is-error{color:#855842}
@media(max-width:540px){.account-field>select,.account-field>textarea{font-size:16px}.account-booking-card{padding:20px}.account-dialog .account-section-heading h3{font-size:20px}.account-booking-status{font-size:10px}.account-form-grid input{font-size:16px}.account-dialog .account-cleanings .account-booking-card h3{font-size:23px}.account-order-estimate strong{font-size:26px}}
@media(max-width:359px){.account-form-grid{grid-template-columns:1fr}.account-section-heading{align-items:flex-start;flex-direction:column;gap:4px}.account-booking-card{padding:17px}}
