/* Customer portal: one repair, one coherent overview. Scoped away from admin. */
.rr-customer { --font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; --blue:#205d49; --blue-hover:#174b3b; --blue-light:#e8f0eb; --black:#20382e; --gray:#617168; --light-gray:#f5f6f3; --mid-gray:#dce4de; font-family:var(--font); color:#20382e; background:#f5f6f3; }
.rr-customer button { font-family:inherit; }
.rr-customer button:focus-visible,.rr-customer a:focus-visible,.rr-customer summary:focus-visible { outline:3px solid #477962; outline-offset:4px; }
.rr-customer svg { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.rr-customer.customer-signed-in #nav { height:64px; min-height:64px; background:#fff; box-shadow:none; border-bottom:1px solid #e4e9e3; }
.rr-customer.customer-signed-in #nav .nav-inner { max-width:1000px; height:64px; padding:0 32px; }
.rr-customer.customer-signed-in .nav-logo-img { height:48px; width:64px; max-height:48px; object-fit:contain; }
.rr-customer.customer-signed-in .nav-links,.rr-customer.customer-signed-in .nav-hamburger { display:none; }
.rr-customer.customer-signed-in #navAvatarWrap { margin-left:auto; }
.rr-customer.customer-signed-in .nav-avatar { display:flex; align-items:center; gap:8px; min-width:44px; width:auto; min-height:44px; height:44px; padding:4px 0 4px 4px; border-radius:10px; background:transparent; color:#365848; font-size:13px; font-weight:500; box-shadow:none; }
.rr-customer #navAvatarInitial { display:flex; align-items:center; justify-content:center; height:34px; width:34px; border-radius:50%; background:#e9f0e8; color:#205d49; font-size:14px; font-weight:600; }
.rr-customer .nav-avatar svg { width:16px; height:16px; }
.rr-customer .nav-dropdown { border:1px solid #e1e7df; border-radius:16px; box-shadow:0 10px 32px #20382e12; }
.rr-customer .nav-dropdown-item { min-height:46px; font-size:14px; }
.rr-customer #dashScreen { padding-bottom:36px; min-height:calc(100vh - 64px); }
.rr-customer .customer-dashboard { width:100%; max-width:1000px; padding:40px 32px 32px; }
.rr-customer .customer-heading { margin-bottom:26px; }
.rr-customer .customer-greeting { color:#617168; font-size:14px; line-height:1.4; margin:0 0 6px; }
.rr-customer .customer-heading h1 { margin:0; font-size:34px; font-weight:650; line-height:1.15; letter-spacing:-1px; scroll-margin-top:90px; }
.rr-customer .customer-back { display:flex; align-items:center; gap:5px; min-height:44px; margin-top:10px; padding:6px 0; background:transparent; border:0; color:#355e49; font-size:13px; cursor:pointer; }
.rr-customer .customer-back[hidden] { display:none; }
.rr-customer .customer-back svg { width:18px; height:18px; }
.rr-customer .repair-overview { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); overflow:hidden; border-radius:26px; border:1px solid #dce5dd; background:#fff; box-shadow:0 4px 24px #20382e03; }
.rr-customer .repair-status-panel { padding:34px; background:#174b3b; color:#fff; display:flex; flex-direction:column; align-items:flex-start; }
.rr-customer .repair-state-label { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:500; color:#e1eee4; margin-bottom:30px; }
.rr-customer .repair-state-dot { width:7px; height:7px; border-radius:50%; background:#bddbc7; }
.rr-customer .repair-status-title { font-size:32px; line-height:1.12; letter-spacing:-.8px; font-weight:600; margin:0 0 12px; }
.rr-customer .repair-status-note { color:#d0e2d6; font-size:14px; line-height:1.6; margin:0; max-width:290px; }
.rr-customer .repair-progress-bars { width:100%; display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin-top:32px; }
.rr-customer .repair-progress-bars span { height:4px; border-radius:4px; background:#ffffff32; }
.rr-customer .repair-progress-bars .is-reached { background:#d8eddf; }
.rr-customer .repair-progress-caption { font-size:12px; color:#d0e2d6; margin-top:10px; }
.rr-customer .repair-tone-waiting { background:#e9eee6; color:#20382e; }
.rr-customer .repair-tone-waiting .repair-state-label,.rr-customer .repair-tone-waiting .repair-status-note,.rr-customer .repair-tone-waiting .repair-progress-caption { color:#4c6656; }
.rr-customer .repair-tone-waiting .repair-state-dot { background:#537662; }
.rr-customer .repair-tone-waiting .repair-progress-bars span { background:#c9d5c9; }
.rr-customer .repair-tone-waiting .repair-progress-bars .is-reached { background:#426e55; }
.rr-customer .repair-information { min-width:0; padding:30px 32px 18px; }
.rr-customer .repair-service { font-size:21px; line-height:1.3; font-weight:600; letter-spacing:-.4px; margin:0 0 24px; overflow-wrap:anywhere; scroll-margin-top:100px; }
.rr-customer .repair-facts { margin:0; display:grid; gap:22px; }
.rr-customer .repair-fact { position:relative; padding-left:34px; }
.rr-customer .repair-fact>div { min-width:0; }
.rr-customer .repair-fact-icon { position:absolute; left:0; top:1px; color:#6e8777; }
.rr-customer .repair-fact dt { color:#617168; font-size:12px; line-height:1.4; margin-bottom:5px; }
.rr-customer .repair-fact dd { margin:0; font-size:15px; line-height:1.5; color:#20382e; overflow-wrap:anywhere; }
.rr-customer .repair-fact dd>span { display:block; margin-top:2px; font-variant-numeric:tabular-nums; }
.rr-customer .repair-estimate { display:flex; justify-content:space-between; gap:16px; font-size:13px; margin:0; padding-top:16px; border-top:1px solid #e7ece6; }
.rr-customer .repair-estimate dt { color:#617168; }
.rr-customer .repair-estimate dd { margin:0; font-weight:600; }
.rr-customer .repair-progress-details,.rr-customer .repair-notes { margin-top:12px; }
.rr-customer .repair-progress-details summary,.rr-customer .repair-notes summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; cursor:pointer; color:#355e49; font-size:13px; font-weight:500; list-style:none; }
.rr-customer summary::-webkit-details-marker { display:none; }
.rr-customer summary>svg { width:18px; height:18px; }
.rr-customer details[open]>summary>svg { transform:rotate(180deg); }
.rr-customer .repair-progress-details ol { list-style:none; margin:4px 0 18px; padding:0; display:grid; gap:0; }
.rr-customer .repair-progress-details li { position:relative; display:flex; align-items:center; gap:12px; min-height:54px; padding:7px 0; font-size:14px; color:#617168; }
.rr-customer .repair-progress-details li:not(:last-child)::before { content:''; position:absolute; width:1px; background:#d7e1d7; left:13px; top:38px; bottom:-15px; }
.rr-customer .repair-step-mark { display:flex; align-items:center; justify-content:center; position:relative; width:28px; height:28px; border-radius:50%; border:1px solid #cbd7cc; font-size:12px; flex:none; background:#fff; }
.rr-customer .repair-step-mark svg { width:15px; height:15px; }
.rr-customer .step-finished .repair-step-mark { background:#e9f1e9; border-color:#e9f1e9; color:#205d49; }
.rr-customer .step-current { color:#174b3b!important; font-weight:600; }
.rr-customer .step-current .repair-step-mark { background:#205d49; border-color:#205d49; color:#fff; }
.rr-customer .repair-progress-details small { display:block; font-size:11px; font-weight:400; color:#617168; margin-top:3px; }
.rr-customer .repair-notes p { margin:0 0 12px; padding:14px; background:#f5f6f3; border-radius:10px; color:#50675a; font-size:13px; line-height:1.6; overflow-wrap:anywhere; white-space:pre-wrap; }
.rr-customer .customer-cancel { min-height:44px; padding:8px 0; color:#8b4037; background:transparent; border:0; font-size:12px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.rr-customer .customer-help { margin-top:24px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.rr-customer .customer-contact { display:flex; align-items:center; gap:12px; min-height:64px; color:#20382e; padding:6px 0; }
.rr-customer .customer-contact>span:nth-child(2)>span { display:block; font-size:12px; color:#617168; margin-top:4px; }
.rr-customer .customer-contact strong { font-size:14px; font-weight:600; }
.rr-customer .customer-help-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid #dce4dc; border-radius:50%; color:#51735e; }
.rr-customer .customer-chevron { width:17px; height:17px; margin-left:4px; color:#617168; }
.rr-customer .customer-book-secondary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:8px 0; font-size:13px; font-weight:500; color:#355e49; border:0; background:transparent; cursor:pointer; }
.rr-customer .customer-book-secondary>span { font-size:22px; font-weight:300; }
.rr-customer .customer-book-ready { padding:12px 18px; background:#205d49; border-radius:12px; color:#fff; }
.rr-customer .repair-history { margin-top:20px; border-bottom:1px solid #dce4de; }
.rr-customer .repair-history>summary { display:flex; align-items:center; gap:10px; min-height:56px; color:#355e49; font-size:14px; font-weight:500; cursor:pointer; list-style:none; }
.rr-customer .repair-history>summary>svg { margin-left:auto; }
.rr-customer .repair-count { font-size:12px; color:#617168; background:#e7ede6; border-radius:10px; padding:3px 7px; }
.rr-customer .repair-history-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; min-height:68px; width:100%; border:0; border-top:1px solid #e2e8e1; background:transparent; color:#20382e; text-align:left; cursor:pointer; }
.rr-customer .repair-history-row>span { min-width:0; }
.rr-customer .repair-history-row strong { display:block; font-size:14px; line-height:1.4; font-weight:500; overflow-wrap:anywhere; }
.rr-customer .repair-history-row span>span { display:block; color:#617168; font-size:12px; line-height:1.5; margin-top:5px; }
.rr-customer .repair-history-row>svg { width:17px; height:17px; }
.rr-customer .repair-empty { text-align:center; background:#fff; border:1px solid #dce5dd; border-radius:26px; padding:56px 28px; display:flex; flex-direction:column; align-items:center; }
.rr-customer .repair-empty-icon { color:#406f55; display:flex; align-items:center; justify-content:center; width:72px; height:72px; border-radius:22px; background:#ecf1e9; margin-bottom:26px; }
.rr-customer .repair-empty-icon svg { width:32px; height:32px; }
.rr-customer .repair-empty h2 { font-size:28px; line-height:1.2; letter-spacing:-.7px; font-weight:600; margin:0 0 12px; }
.rr-customer .repair-empty p { max-width:340px; margin:0; color:#617168; font-size:15px; line-height:1.6; }
.rr-customer .customer-primary { display:flex; align-items:center; justify-content:center; gap:16px; border:0; border-radius:12px; background:#205d49; color:#fff; padding:13px 20px; min-height:48px; font-size:14px; font-weight:500; margin-top:26px; cursor:pointer; }
.rr-customer .customer-primary svg { width:18px; height:18px; }
.rr-customer .repair-loading { padding:48px 24px; border:1px solid #dce5dd; border-radius:24px; background:#fff; font-size:15px; color:#617168; }
.rr-customer .modal input,.rr-customer .modal select { font-size:16px; }
@media(max-width:899px) {
 .rr-customer .customer-dashboard { max-width:650px; padding-top:32px; }
 .rr-customer .repair-overview { display:block; }
 .rr-customer .repair-status-panel { padding:26px 28px; }
 .rr-customer .repair-state-label { margin-bottom:20px; }
 .rr-customer .repair-status-title { font-size:29px; }
 .rr-customer .repair-status-note { max-width:none; }
 .rr-customer .repair-progress-bars { margin-top:24px; }
 .rr-customer .repair-information { padding:26px 28px 14px; }
}
@media(max-width:600px) {
 .rr-customer.customer-signed-in #nav,.rr-customer.customer-signed-in #nav .nav-inner { height:60px; min-height:60px; }
 .rr-customer.customer-signed-in #nav .nav-inner { padding:0 20px; }
 .rr-customer.customer-signed-in .nav-logo-img { width:56px; height:44px; max-height:44px; }
 .rr-customer .customer-dashboard { padding:26px 20px 24px; }
 .rr-customer .customer-heading { margin-bottom:22px; }
 .rr-customer .customer-greeting { font-size:13px; }
 .rr-customer .customer-heading h1 { font-size:30px; }
 .rr-customer .repair-overview { border-radius:24px; }
 .rr-customer .repair-status-panel { padding:22px; }
 .rr-customer .repair-state-label { font-size:12px; margin-bottom:17px; }
 .rr-customer .repair-status-title { font-size:28px; margin-bottom:9px; }
 .rr-customer .repair-status-note { font-size:13px; line-height:1.5; }
 .rr-customer .repair-progress-bars { margin-top:22px; }
 .rr-customer .repair-progress-caption { font-size:12px; margin-top:8px; }
 .rr-customer .repair-information { padding:22px 22px 12px; }
 .rr-customer .repair-service { font-size:20px; margin-bottom:20px; }
 .rr-customer .repair-facts { gap:18px; }
 .rr-customer .repair-fact { gap:10px; }
 .rr-customer .repair-fact dd { font-size:14px; }
 .rr-customer .repair-fact dt { font-size:12px; }
 .rr-customer .repair-help { margin-top:18px; }
 .rr-customer .customer-help { flex-wrap:wrap; row-gap:12px; margin-top:18px; }
 .rr-customer .customer-contact { width:100%; }
 .rr-customer .customer-contact .customer-chevron { margin-left:auto; }
 .rr-customer .customer-book-secondary { width:100%; min-height:48px; border-top:1px solid #dce4de; padding-top:14px; }
 .rr-customer .customer-book-ready { border:0; justify-content:center; padding:12px 18px; }
 .rr-customer .repair-empty { padding:38px 24px; border-radius:24px; }
 .rr-customer .repair-empty h2 { font-size:25px; }
 .rr-customer .repair-empty p { font-size:14px; }
}
@media(max-width:359px) {
 .rr-customer .customer-dashboard { padding-left:16px; padding-right:16px; }
 .rr-customer .repair-status-panel { padding:20px; }
 .rr-customer .repair-information { padding:20px 18px 12px; }
 .rr-customer .repair-status-title { font-size:26px; }
 .rr-customer .customer-account-label { display:none; }
}
@media(prefers-reduced-motion:reduce) { .rr-customer * { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }

/* Booking calendar, with the same quiet hierarchy as the repair overview. */
.rr-customer #bookingModal { padding:24px; background:#19352975; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.rr-customer #bookingModal .modal { max-width:480px; padding:28px; border:1px solid #e3e9e1; border-radius:28px; background:#fff; box-shadow:0 24px 80px #142e2926; }
.rr-customer #bookingModal .modal-close { top:16px; right:16px; width:44px; height:44px; border:0; background:#f0f3ed; color:#617168; font-size:26px; }
.rr-customer #bookingModal .bsn { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; padding-right:46px; margin:0 0 30px; min-height:34px; align-items:stretch; }
.rr-customer #bookingModal .bsn-div { display:none; }
.rr-customer #bookingModal .bsn-step { display:flex; align-items:center; justify-content:center; padding:8px 0; border-radius:0; border-bottom:2px solid #edf0eb; color:#67746b; font-size:12px; font-weight:500; background:transparent; }
.rr-customer #bookingModal .bsn-step.active { color:#174b3b; border-color:#205d49; font-weight:650; }
.rr-customer #bookingModal .bsn-step.done { color:#426b55; border-color:#b4c7b8; }
.rr-customer #bookingModal .modal-title { color:#20382e; font-size:28px; line-height:1.2; font-weight:650; letter-spacing:-.7px; margin-bottom:24px; }
.rr-customer #bookingModal [tabindex="-1"]:focus-visible { outline:2px solid #477962; outline-offset:4px; border-radius:4px; }
.rr-customer #bookingModal .cal-nav { align-items:center; margin:0 0 18px; gap:12px; }
.rr-customer #bookingModal #calLabel { margin:0; color:#20382e; font-size:17px; font-weight:600; letter-spacing:-.25px; }
.rr-customer #bookingModal .cal-month-controls { display:flex; gap:2px; }
.rr-customer #bookingModal .cal-arrow { width:44px; height:44px; border:0; border-radius:50%; color:#355e49; background:#f1f4ef; }
.rr-customer #bookingModal .cal-arrow svg { width:20px; height:20px; }
.rr-customer #bookingModal .cal-arrow:disabled { color:#c0c9c0; background:transparent; cursor:default; }
.rr-customer #bookingModal .cal-arrow:not(:disabled):hover { background:#e5eee3; }
.rr-customer #bookingModal .cal-weekdays { gap:0; margin-bottom:8px; }
.rr-customer #bookingModal .cal-weekdays span { color:#66736b; font-size:11px; font-weight:500; letter-spacing:0; text-transform:none; padding:0; line-height:24px; }
.rr-customer #bookingModal #calGrid { grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px 0; }
.rr-customer #bookingModal #calGrid .cal-day { aspect-ratio:auto; min-width:0; height:48px; min-height:48px; border-radius:12px; font-size:16px; font-weight:500; font-variant-numeric:tabular-nums; border:0; background:transparent!important; text-decoration:none; outline:none; box-shadow:none; color:#b0b8b1; }
.rr-customer #bookingModal #calGrid .cal-day>span { display:flex; align-items:center; justify-content:center; width:40px; height:40px; max-width:100%; border-radius:50%; }
.rr-customer #bookingModal #calGrid .cal-day.cal-available { color:#23533d; cursor:pointer; font-weight:600; }
.rr-customer #bookingModal #calGrid .cal-available>span { background:#eaf1e6; }
.rr-customer #bookingModal #calGrid .cal-available:not(.cal-selected):hover>span { background:#d9e7d5; }
.rr-customer #bookingModal #calGrid .cal-selected { color:#fff!important; }
.rr-customer #bookingModal #calGrid .cal-selected>span { background:#205d49; }
.rr-customer #bookingModal #calGrid .cal-available:focus-visible { outline:2px solid #477962; outline-offset:0; }
.rr-customer #bookingModal #calGrid .cal-disabled { cursor:default; }
.rr-customer #bookingModal .cal-feedback { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; margin:-8px 0 20px; padding:12px 14px; background:#f1f4ee; border-radius:12px; color:#526b5a; }
.rr-customer #bookingModal .cal-feedback p { font-size:13px; line-height:1.5; margin:0; flex:1 1 150px; }
.rr-customer #bookingModal .cal-feedback button,.rr-customer #bookingModal .cal-feedback a { min-height:44px; display:inline-flex; align-items:center; font-size:13px; font-weight:600; color:#205d49; background:transparent; border:0; padding:6px 0; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.rr-customer #bookingModal .cal-feedback-error { background:#fbf1ec; color:#8b4936; }
.rr-customer #bookingModal [hidden] { display:none!important; }
.rr-customer #bookingModal .cal-footer { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #e8ece6; margin-top:20px; padding-top:12px; }
.rr-customer #bookingModal .cal-back,.rr-customer #bookingModal .cal-refresh { display:flex; align-items:center; justify-content:center; gap:3px; min-height:44px; padding:6px 0; border:0; background:transparent; color:#426b55; cursor:pointer; font-size:14px; font-weight:500; }
.rr-customer #bookingModal .cal-back svg { width:18px; height:18px; }
.rr-customer #bookingModal .cal-refresh { width:44px; border-radius:50%; }
.rr-customer #bookingModal .cal-refresh svg { width:19px; height:19px; }
.rr-customer #bookingModal .cal-refresh:hover { background:#f1f4ef; }
.rr-customer #bookingModal .cal-refresh:disabled { color:#b0b8b1; cursor:default; }
@media(max-width:600px) {
 .rr-customer #bookingModal { padding:12px; }
 .rr-customer #bookingModal .modal { padding:24px 20px 18px; max-height:calc(100dvh - 24px); border-radius:26px; }
 .rr-customer #bookingModal .modal-close { top:12px; right:12px; }
 .rr-customer #bookingModal .bsn { margin-bottom:28px; padding-right:44px; }
 .rr-customer #bookingModal .bsn-step { font-size:11px; }
 .rr-customer #bookingModal .modal-title { font-size:27px; margin-bottom:22px; }
 .rr-customer #bookingModal .cal-nav { margin-bottom:14px; }
}
@media(max-width:359px) {
 .rr-customer #bookingModal { padding:8px; }
 .rr-customer #bookingModal .modal { padding:22px 14px 14px; max-height:calc(100dvh - 16px); }
 .rr-customer #bookingModal .modal-close { right:8px; top:10px; }
 .rr-customer #bookingModal .bsn { gap:2px; padding-right:42px; }
 .rr-customer #bookingModal #calGrid .cal-day>span { width:34px; height:34px; }
}
