.auth-form[hidden]{display:none!important}
@media(min-width:861px){.nav-inner{height:auto;min-height:58px;padding:8px 0;flex-wrap:wrap;overflow:visible;gap:4px}.nav-button{flex:1 0 auto;justify-content:center;padding:0 10px}}
@media(min-width:861px) and (max-width:1199px){.nav-inner{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.nav-button{width:100%;padding:0 6px}}
.profile-identity{display:flex;align-items:center;gap:22px;padding:28px;margin-bottom:20px}
.profile-identity .avatar{width:64px;height:64px;font-size:1.4375rem;flex-shrink:0}
.profile-identity h2{margin-bottom:8px}.profile-identity .eyebrow{margin-bottom:8px}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.profile-grid h2,.profile-security h2{font-size:1.5rem}
.profile-grid .content-card{min-width:0}.profile-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.profile-count{color:var(--red);font-size:1.375rem;font-weight:700}.profile-wide{grid-column:1/-1}
.profile-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.profile-row:last-child{border-bottom:0}.profile-row strong,.profile-row small{display:block}.profile-row small{margin-top:5px;font-size:.875rem;color:var(--muted)}
.profile-row .status-badge{flex-shrink:0;font-size:.8125rem}.profile-empty,.profile-hint{color:var(--muted);font-size:.9375rem;line-height:1.5;margin-top:12px}
.profile-empty:empty{display:none}.profile-order .record-card{border:0;padding:16px 0;box-shadow:none}.profile-order .record-card h2{font-size:1.3125rem}
.profile-security{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.field-label{display:block;margin-bottom:8px;font-size:.875rem;font-weight:600}.booking-date-field{min-width:0}
.date-shortcuts{display:flex;gap:8px;margin-bottom:10px}.date-shortcuts button{min-height:44px;flex:1;border:1px solid var(--line);border-radius:12px;background:white;font-weight:600}
.date-shortcuts button[aria-pressed=true],.calendar-days button[aria-pressed=true]{background:var(--red);border-color:var(--red);color:white}
.booking-calendar{border:1px solid var(--line);border-radius:12px;padding:12px}.booking-calendar summary{cursor:pointer;min-height:24px;font-size:1rem}
.calendar-header{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.calendar-header strong{text-transform:capitalize}
.calendar-header button{width:44px;height:38px;border:0;border-radius:9px;background:var(--soft)}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.calendar-weekdays{font-size:.8125rem;color:var(--muted);margin-bottom:6px}.calendar-days button{min-height:40px;border:1px solid transparent;background:var(--soft);border-radius:9px}
.calendar-days button:disabled,.calendar-header button:disabled{color:#96999f;background:transparent;cursor:default}.calendar-days button:not(:disabled):hover{border-color:var(--red)}
.date-selection{font-size:.875rem;color:var(--muted);margin-top:8px;min-height:20px}.profile-security .text-link{font-size:1rem}
button:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(max-width:680px){.profile-grid{grid-template-columns:1fr}.profile-wide{grid-column:auto}.profile-identity{padding:22px;align-items:flex-start;gap:14px}.profile-identity .avatar{width:48px;height:48px;font-size:1.125rem}.profile-security{align-items:flex-start;flex-direction:column}.profile-row{align-items:flex-start;flex-wrap:wrap;gap:10px}.profile-section-head{flex-wrap:wrap}.calendar-days button{min-height:38px}}
.password-dialog{width:min(520px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid #ddd;border-radius:22px;padding:30px;color:#111318;box-shadow:0 24px 80px #11131830}
.password-dialog::backdrop{background:#11131880;backdrop-filter:blur(4px)}
@media(prefers-reduced-motion:no-preference){
 .auth-shell{animation:bazil-arrive .55s cubic-bezier(.22,.75,.18,1) both}
 /* A screen is there at once: only a quick fade, no slide, no staggered cards. */
 .view.active{animation:bazil-fade .16s ease-out both}
 .modal:not([hidden]) .modal-dialog,.password-dialog[open]{animation:bazil-arrive .25s cubic-bezier(.22,.75,.18,1) both}
 .button,.quick-action,.nav-button,.profile-button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,scale .12s ease-out}
 /* Lifting on hover is for a mouse; on a phone a tap would leave the button lifted. */
 @media(hover:hover) and (pointer:fine){.button:hover{transform:translateY(-2px);box-shadow:0 7px 16px #e306131a}}
 /* A press is answered the moment the finger lands and lets go as quickly. `scale` is a property of its own, so
    buttons that place themselves with a transform are left undisturbed. */
 :where(button,[role="button"],summary,.quick-action){transition:scale .12s ease-out}
 :is(button,[role="button"],summary,a.button,.quick-action):not(:disabled,[aria-disabled="true"],.session-pin-key,.motion-bead,.pcar-nav,.sale-nav,.photo-viewer-close):active{scale:.98}
 .auth-form button:disabled,#requestSubmit:disabled:not([disabled=""]){opacity:.75}
 @keyframes bazil-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
 @keyframes bazil-fade{from{opacity:0}to{opacity:1}}
 /* Windows leave the way they came (dialog-motion.js adds `.is-leaving` and closes them when the exit is over). */
 .is-leaving{pointer-events:none}
 dialog.is-leaving[open]{animation:bazil-leave .15s cubic-bezier(.4,0,1,1) both}
 dialog.is-leaving::backdrop{animation:bazil-fade-out .15s ease-in both}
 .modal.is-leaving:not([hidden]){animation:bazil-fade-out .15s ease-in both}
 .modal.is-leaving:not([hidden]) .modal-dialog{animation:bazil-sink .15s cubic-bezier(.4,0,1,1) both}
 @keyframes bazil-leave{to{opacity:0;transform:translateY(12px)}}
 @keyframes bazil-sink{to{transform:translateY(12px)}}
 @keyframes bazil-fade-out{to{opacity:0}}
}
@media(max-width:680px){.profile-actions{gap:2px}.profile-actions .text-link{font-size:.75rem}.password-dialog{padding:22px}}
