.account-type-choices{border:0;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.account-type-choices legend{font-size:.875rem;font-weight:500;margin-bottom:8px}
.account-type-choices label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;padding:14px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.account-type-choices label:has(:checked){border-color:var(--green);background:#f4f8ff}
.account-type-choices input{width:16px;height:16px;min-height:0;padding:0;border:0;background:transparent;margin:2px 0 0;accent-color:var(--green);flex:0 0 auto}
.account-type-choices strong,.account-type-choices small{display:block}.account-type-choices small{font-size:.75rem;line-height:1.5;color:var(--muted);margin-top:5px}
.account-profile-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:24px 0}.account-profile-settings h3{font-size:1rem;margin:0 0 8px}.account-profile-settings .button{margin-top:14px}
.account-type-choices label>span{min-width:0}.account-type-choices label:focus-within{outline:2px solid var(--green);outline-offset:3px}.account-type-choices strong{font-size:.875rem;font-weight:600}.account-type-choices label:hover{border-color:#a9bfe2;background:#f8faff}.account-type-choices label:has(:checked):hover{background:#f4f8ff}
dialog:has(.signup-panel){max-width:640px;border-radius:16px}
.modal-inner.signup-panel{padding:30px 32px 18px;min-height:0}
.signup-panel h2{margin-bottom:22px;padding-right:44px;font-size:1.625rem;line-height:1.25}
.signup-panel .form-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.signup-panel .form-stack>label{min-width:0;gap:6px;font-size:.875rem}
.signup-panel .form-stack>label>input{width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:1rem;line-height:24px}
.signup-panel .auth-password,.signup-panel .account-type-choices,.signup-panel .form-stack>.button{grid-column:1/-1}
.signup-panel .account-type-choices{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.signup-panel .account-type-choices legend{margin-bottom:8px}
.signup-panel .account-type-choices label{min-width:0;min-height:64px;padding:12px 10px;gap:7px;align-items:center}
.signup-panel .account-type-choices input{margin:0}
.signup-panel .account-type-choices small{margin-top:2px;line-height:1.35;font-weight:400}
.signup-panel .form-stack>.button{min-height:46px;margin-top:2px;padding:10px 16px}
.signup-panel .form-footnote{margin-top:8px}
.signup-panel .form-footnote button{min-height:44px;padding:8px 3px}
.signup-panel .form-error{margin-bottom:16px}
@media(max-width:600px){
  dialog:has(.signup-panel){width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:14px}
  .modal-inner.signup-panel{padding:22px 16px 10px}
  .signup-panel h2{font-size:1.375rem;margin-bottom:18px}
  .signup-panel .form-stack{grid-template-columns:minmax(0,1fr);gap:12px}
  .signup-panel .form-stack>label{gap:4px;font-size:.8125rem}
  .signup-panel .form-stack>label>input{min-height:44px;padding:9px 11px}
  .signup-panel .account-type-choices{gap:6px}
  .signup-panel .account-type-choices legend{font-size:.8125rem;margin-bottom:6px}
  .signup-panel .account-type-choices label{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:5px;min-height:64px;padding:10px 7px}
  .signup-panel .account-type-choices input{margin-top:2px}
  .signup-panel .account-type-choices strong{font-size:.8125rem}
  .signup-panel .account-type-choices small{font-size:.6875rem;line-height:1.4}
  .signup-panel .form-footnote{margin-top:4px;font-size:.75rem}
  .signup-panel .form-error{margin-bottom:12px}
}
.account-type-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.account-type-option{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:116px;padding:16px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);text-align:left;transition:border-color .15s,background .15s,box-shadow .15s}
.account-type-option strong{font-size:.875rem;line-height:1.4;font-weight:600}.account-type-option>span{font-size:.75rem;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.account-type-option:not(:disabled):hover{border-color:#a9bfe2;background:#f8faff}.account-type-option.selected{border-color:var(--green);background:#f1f6ff;box-shadow:inset 0 0 0 1px var(--green)}.account-type-option.selected strong{color:var(--green)}.account-type-option:disabled{opacity:1;cursor:default}.account-type-option:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.wishlist-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:0;border-radius:7px;background:transparent;box-shadow:none;color:var(--ink);font:inherit;font-size:.8125rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:color .16s ease,text-shadow .16s ease}
.wishlist-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;flex-shrink:0;transition:filter .16s ease,transform .16s ease}.wishlist-button.saved{color:var(--green);background:transparent}.wishlist-button.saved svg{fill:currentColor}.wishlist-button:hover{background:transparent;color:var(--green)}.wishlist-button:focus-visible{outline:2px solid var(--green);outline-offset:3px}.wishlist-button:disabled{opacity:1;cursor:wait}
.card-media>.wishlist-button{position:absolute;right:12px;top:12px;z-index:5;box-shadow:none}.card-media>.wishlist-button.compact{padding:8px 10px;min-height:40px}
.listing-nav-actions{display:flex;align-items:center;gap:16px}.listing-nav-actions .wishlist-button svg{width:20px;height:20px}
.dashboard-profile-label{font-size:.8125rem;color:var(--muted);margin-top:5px}
.dashboard-property-list{display:grid;gap:14px}.dashboard-property{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:9px;padding:14px}.dashboard-property>a{display:flex;align-items:center;gap:16px;min-width:0;flex:1;color:inherit;text-decoration:none}.dashboard-property img{width:100px;height:84px;object-fit:cover;border-radius:5px}.dashboard-property h3{font-size:1rem;line-height:1.45;margin-bottom:6px}.dashboard-property p,.dashboard-property>a span{color:var(--muted);font-size:.8125rem;line-height:1.6}.dashboard-property .row-actions{flex-wrap:wrap}.past-stay .row-actions a{font-size:.8125rem;color:var(--green)}
@media(max-width:640px){.dashboard-property{flex-wrap:wrap;gap:12px}.dashboard-property>a{flex-basis:100%}.dashboard-property img{width:76px;height:76px}.dashboard-property>.wishlist-button{margin-left:auto}.listing-nav{gap:12px;flex-wrap:wrap}.listing-nav-actions{margin-left:auto;gap:12px}.account-type-choices label{padding:12px 9px}.account-type-choices{gap:8px}}
@media(max-width:640px){.account-type-switches{grid-template-columns:minmax(0,1fr);gap:9px}.account-type-option{min-height:0;padding:15px 16px;gap:4px}}
@media(prefers-reduced-motion:reduce){.account-type-option{transition:none}}

.wishlist-button:is(:hover,:focus-visible):not(:disabled){background:transparent;color:#0967e5;text-shadow:0 0 8px #7fb5ff80}
.wishlist-button:is(:hover,:focus-visible):not(:disabled) svg{filter:drop-shadow(0 0 5px #7fb5ffb3);transform:scale(1.1)}
.card-media>.wishlist-button{color:#fff;text-shadow:0 1px 3px #0c182bf2,0 0 1px #0c182bcc}
.card-media>.wishlist-button svg{filter:drop-shadow(0 1px 2px #0c182be6) drop-shadow(0 0 1px #0c182bb3)}
.card-media>.wishlist-button.saved{color:#d6eaff}
.card-media>.wishlist-button:is(:hover,:focus-visible):not(:disabled){color:#d6eaff;text-shadow:0 1px 2px #0c182be6,0 0 7px #8dc2ffff}
.card-media>.wishlist-button:is(:hover,:focus-visible):not(:disabled) svg{filter:drop-shadow(0 1px 2px #0c182be6) drop-shadow(0 0 7px #8dc2ffff)}
.card-media>.wishlist-button:focus-visible{outline-color:#b8d9ff}
@media(prefers-reduced-motion:reduce){.wishlist-button,.wishlist-button svg{transition:none}.wishlist-button:is(:hover,:focus-visible):not(:disabled) svg{transform:none}}

.card-media:has(.browse-image-progress)>.wishlist-button{color:var(--ink);text-shadow:none}
.card-media:has(.browse-image-progress)>.wishlist-button.saved{color:var(--green)}
.card-media:has(.browse-image-progress)>.wishlist-button svg{filter:none}
.card-media:has(.browse-image-progress)>.wishlist-button:is(:hover,:focus-visible):not(:disabled){color:#0967e5;text-shadow:0 0 8px #7fb5ff80}
.card-media:has(.browse-image-progress)>.wishlist-button:is(:hover,:focus-visible):not(:disabled) svg{filter:drop-shadow(0 0 5px #7fb5ffb3)}

/* Consistent account popup spacing; content remains scrollable on short screens. */
#modal:has(.auth-panel){max-width:440px;border-radius:14px}
#modal:has(.signup-panel){max-width:640px}
#modal .modal-inner.auth-panel{padding:28px;min-height:0}
#modal .auth-panel h2{padding-right:38px;margin:0 0 20px;font-size:1.5rem;line-height:1.25}
#modal .auth-panel .modal-intro{margin:0 0 20px;font-size:.875rem;line-height:1.6}
#modal .auth-panel .form-stack{gap:16px}
#modal .auth-panel .form-stack>label{gap:6px;font-size:.875rem;line-height:1.5}
#modal .auth-panel .form-stack>label>input{min-height:46px;padding:10px 12px;font-size:1rem;line-height:24px}
#modal .auth-panel .form-stack>.button{min-height:46px;padding:10px 16px;margin-top:2px}
#modal .auth-panel .form-error{margin-bottom:16px;padding:10px 12px;font-size:.875rem;line-height:1.5}
#modal .auth-panel .form-footnote{margin:10px 0 0;font-size:.8125rem;line-height:1.5}
#modal .auth-panel .form-footnote .text-button{min-height:44px;padding:8px 3px}
#modal .signup-panel .account-type-choices small{font-size:.75rem;line-height:1.4}
#modal .signup-panel .account-type-choices label{min-height:66px}
#modal .verification-panel .verification-digits{gap:8px}
#modal .verification-panel .verification-digits input{height:52px;min-height:52px;font-size:1.375rem}
#modal .verification-panel #verification-result{margin:10px 0 0;font-size:.8125rem;line-height:1.5}
#modal .verification-panel .verification-support{margin-top:20px;padding-top:0}
#modal .verification-panel .verification-resend-row{padding-top:16px;gap:8px 12px}
#modal .verification-panel .verification-resend-row p{font-size:.8125rem;line-height:1.5}
#modal .verification-panel .verification-settings{margin-top:6px;font-size:.8125rem}
#modal .mfa-enrollment .mfa-qr{margin-bottom:16px;padding:8px}
#modal .mfa-enrollment .mfa-qr svg{width:200px}
#modal .mfa-enrollment .mfa-manual{margin-bottom:18px}
#modal .mfa-enrollment #mfa-code-help{margin:0;font-size:.8125rem;line-height:1.5}
#modal #mfa-recovery-codes{margin-bottom:12px;font-size:.875rem;line-height:1.6}
#modal #mfa-recovery-form{margin-top:16px}
.dashboard-content .settings-section{gap:18px}
.dashboard-content .settings-card{padding:24px;border-radius:12px}
.dashboard-content .settings-card .form-stack{gap:16px}
.dashboard-content .settings-card h3{margin-bottom:10px}
.dashboard-content .settings-card .help{font-size:.875rem;line-height:1.6}
.dashboard-content .settings-card .account-type-option{padding:14px 12px;min-height:104px;gap:6px}
.dashboard-content .settings-card .account-type-option>span{font-size:.8125rem;line-height:1.5}
.dashboard-content .settings-card .settings-account{gap:14px}
.dashboard-content .settings-card .settings-account p{overflow-wrap:anywhere}
@media(max-width:600px){
  #modal:has(.auth-panel){width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:14px}
  #modal .modal-inner.auth-panel{padding:24px 20px 16px}
  #modal .modal-inner.signup-panel{padding:22px 16px 10px}
  #modal .auth-panel h2{font-size:1.375rem;margin-bottom:18px}
  #modal .auth-panel .modal-intro{margin-bottom:18px}
  #modal .auth-panel .form-stack{gap:12px}
  #modal .auth-panel .form-stack>label{font-size:.875rem;gap:5px}
  #modal .auth-panel .form-stack>label>input{min-height:44px;padding:9px 11px}
  #modal .auth-panel .form-stack>.button{min-height:44px}
  #modal .signup-panel .account-type-choices{gap:6px}
  #modal .signup-panel .account-type-choices label{padding:10px 7px;min-height:66px}
  #modal .signup-panel .account-type-choices strong{font-size:.8125rem}
  #modal .signup-panel .account-type-choices small{font-size:.75rem}
  #modal .verification-panel .verification-digits{gap:6px}
  #modal .verification-panel .verification-digits input{height:48px;min-height:48px}
  #modal .verification-panel .verification-support{margin-top:18px}
  #modal .mfa-enrollment .mfa-qr svg{width:184px}
  .dashboard-content .settings-section{gap:14px}
  .dashboard-content .settings-card{padding:20px 18px}
  .dashboard-content .settings-card .account-type-option{min-height:0;padding:14px}
}
