.rhc-public-form,.rhc-status-page{max-width:900px;margin:24px auto;padding:28px;border:1px solid #dbe1e8;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(20,35,59,.08)}.rhc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rhc-public-form label{font-weight:600}.rhc-public-form input:not([type=checkbox]),.rhc-public-form select,.rhc-public-form textarea{box-sizing:border-box;width:100%;padding:11px;border:1px solid #aeb8c5;border-radius:5px;margin-top:6px}.rhc-submit{background:#15233b;color:#fff;border:0;border-radius:5px;padding:13px 20px;font-weight:700;cursor:pointer}.rhc-hp{position:absolute!important;left:-9999px!important}.rhc-insurance{display:none}.rhc-gallery{display:flex;gap:10px;flex-wrap:wrap}.rhc-gallery img{width:160px;height:120px;object-fit:cover;border-radius:5px}.rhc-timeline{border-left:3px solid #dbe1e8;padding-left:22px}.rhc-timeline li{margin:0 0 15px}.rhc-message{padding:18px;background:#f3f4f6}.rhc-error{background:#fee2e2}@media(max-width:700px){.rhc-grid{grid-template-columns:1fr}.rhc-public-form,.rhc-status-page{padding:18px}}
.rhc-quote{margin:2rem 0;padding:1.5rem;border:1px solid #dcdcde;background:#fff}.rhc-quote table{width:100%;border-collapse:collapse}.rhc-quote td,.rhc-quote th{padding:.55rem;border-bottom:1px solid #e5e5e5;text-align:left}.rhc-quote td:last-child,.rhc-quote th:last-child{text-align:right}.rhc-print-actions{text-align:right}@media print{body *{visibility:hidden}.rhc-quote,.rhc-quote *{visibility:visible}.rhc-quote{position:absolute;left:0;top:0;width:100%;border:0}.rhc-print-actions{display:none}}
.rhc-multi{margin:18px 0;padding:16px;border:1px solid #d8dee8;border-radius:8px}.rhc-checkbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 16px;margin-top:12px}.rhc-checkbox-grid label{display:block}.rhc-checkbox-grid input{margin-right:7px}

/* Repairer Portal */
.rhc-repairer-portal{max-width:1180px;margin:30px auto;font-family:Arial,sans-serif;color:#16233b}.rhc-portal-header{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#16233b;color:#fff;padding:28px;border-radius:14px}.rhc-portal-header h2{color:#fff;margin:4px 0}.rhc-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#ff9d2e}.rhc-portal-logout{color:#fff;border:1px solid rgba(255,255,255,.45);padding:9px 14px;border-radius:8px;text-decoration:none}.rhc-portal-nav{display:flex;gap:8px;flex-wrap:wrap;background:#fff;padding:12px;margin:16px 0;border:1px solid #e5e8ee;border-radius:12px}.rhc-portal-nav a{color:#16233b;text-decoration:none;padding:10px 13px;border-radius:8px;font-weight:700}.rhc-portal-nav a:hover{background:#f2f5f8}.rhc-portal-nav span{background:#ff9d2e;color:#16233b;border-radius:99px;padding:2px 7px;font-size:12px}.rhc-portal-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.rhc-portal-cards a{background:#fff;border:1px solid #e5e8ee;border-radius:12px;padding:20px;text-decoration:none;color:#16233b;box-shadow:0 5px 18px rgba(14,31,53,.06)}.rhc-portal-cards strong{display:block;font-size:30px;color:#f28a14}.rhc-portal-cards span{font-weight:700}.rhc-portal-panel{background:#fff;border:1px solid #e5e8ee;border-radius:14px;padding:24px;margin-top:16px}.rhc-request-row,.rhc-message-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 4px;border-bottom:1px solid #edf0f4;text-decoration:none;color:#16233b}.rhc-request-row>div,.rhc-message-row span{display:flex;flex-direction:column;gap:4px}.rhc-request-row small,.rhc-message-row small{color:#667085}.rhc-status{display:inline-block;padding:5px 9px;border-radius:99px;background:#eef2f6;font-size:12px;font-weight:700}.rhc-status-offered{background:#fff0dc;color:#8a4c00}.rhc-status-accepted{background:#e6f6ed;color:#17683a}.rhc-status-quoted{background:#e8efff;color:#234c9c}.rhc-detail-grid,.rhc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rhc-form-grid label{display:flex;flex-direction:column;gap:6px}.rhc-quote-form input,.rhc-quote-form textarea,.rhc-repairer-portal textarea{width:100%;padding:10px;border:1px solid #cfd6df;border-radius:7px}.rhc-action-row{display:flex;gap:10px;margin:18px 0}.rhc-secondary{padding:12px 18px;border-radius:7px;border:1px solid #9aa6b2;background:#fff}.rhc-thread{display:flex;flex-direction:column;gap:10px;margin:12px 0}.rhc-thread-message{max-width:76%;padding:12px 14px;background:#f2f5f8;border-radius:12px}.rhc-thread-message.mine{align-self:flex-end;background:#e8efff}.rhc-thread-message p{margin:5px 0}.rhc-portal-notice{padding:12px 15px;background:#e6f6ed;border:1px solid #b6dfc7;border-radius:9px}.rhc-back{display:inline-block;margin:10px 0;text-decoration:none}.rhc-portal-login{max-width:650px;margin:40px auto;text-align:center;padding:30px;border:1px solid #e5e8ee;border-radius:14px}
@media(max-width:760px){.rhc-portal-header{align-items:flex-start;flex-direction:column}.rhc-portal-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rhc-detail-grid,.rhc-form-grid{grid-template-columns:1fr}.rhc-request-row,.rhc-message-row{align-items:flex-start;flex-direction:column}.rhc-thread-message{max-width:92%}}
.rhc-quote-actions{margin-top:24px;padding-top:18px;border-top:1px solid #dbe1e8}.rhc-quote-actions form{display:block}.rhc-quote-actions textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #aeb8c5;border-radius:6px}.rhc-quote-actions .rhc-secondary{margin:6px 4px 6px 0}

/* RepairHub v1.5.2 Beta */
.rhc-portal-head{display:flex;align-items:center;gap:18px;padding:22px;background:#14233b;color:#fff;border-radius:14px;margin-bottom:20px}.rhc-portal-head h2{color:#fff;margin:0}.rhc-repairer-logo,.rhc-profile-logo{max-width:120px;max-height:120px;object-fit:contain;background:#fff;border-radius:12px;padding:8px}.rhc-job-list,.rhc-quote-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.rhc-quote-card,.rhc-job,.rhc-public-profile,.rhc-arrange,.rhc-messages{background:#fff;border:1px solid #dfe5ec;border-radius:14px;padding:22px;margin:18px 0;box-shadow:0 6px 20px rgba(20,35,59,.06)}.rhc-price{font-size:2rem;font-weight:800;color:#e56e00}.rhc-thread{display:flex;flex-direction:column;gap:12px;margin:16px 0}.rhc-msg{max-width:82%;padding:12px 15px;border-radius:12px;background:#eef2f7}.rhc-msg-repairer{margin-left:auto;background:#fff2e5}.rhc-msg-customer{margin-right:auto}.rhc-msg strong,.rhc-msg small{display:block}.rhc-msg small{font-size:.78rem;color:#667085;margin-top:2px}.rhc-arrange{border-left:5px solid #e56e00;background:#fffaf5}.rhc-profile-grid{display:grid;grid-template-columns:2fr 1fr;gap:28px}.rhc-public-profile h1{margin-top:10px}.rhc-quote-card details{margin:12px 0}.rhc-quote-card summary{cursor:pointer;font-weight:700}.rhc-status-page textarea,.rhc-repairer-portal textarea{width:100%}@media(max-width:700px){.rhc-profile-grid{grid-template-columns:1fr}.rhc-msg{max-width:100%}}


/* SMART Repairs Hub v1.6 public platform branding */
:root{--rhc-orange:#f97316;--rhc-orange-dark:#d95f08;--rhc-charcoal:#111827;--rhc-border:#e5e7eb}
.rhc-platform-brand{background:#fff;border:1px solid var(--rhc-border);border-radius:14px;padding:16px 22px;margin-bottom:14px;text-align:center;box-shadow:0 8px 24px rgba(17,24,39,.06)}
.rhc-platform-brand img{width:440px;max-width:100%;height:auto;display:block;margin:auto}
.rhc-portal-head{background:var(--rhc-charcoal);border-top:5px solid var(--rhc-orange)}
.rhc-submit{background:var(--rhc-orange)!important;color:#fff!important;border:1px solid var(--rhc-orange-dark)!important;border-radius:8px!important;font-weight:700;transition:background .18s ease,transform .18s ease}.rhc-submit:hover{background:var(--rhc-orange-dark)!important;transform:translateY(-1px)}
.rhc-repairer-portal .rhc-card{border-radius:14px;box-shadow:0 8px 24px rgba(17,24,39,.06)}.rhc-repairer-portal .rhc-card strong{color:var(--rhc-orange)}
.rhc-price{color:var(--rhc-orange)}.rhc-arrange{border-left-color:var(--rhc-orange)}

/* v1.6.1 Founding Partner Update */
.rhc-success-panel{margin:18px 0;padding:18px 20px;border-left:5px solid #2e9b58;background:#eef9f1;border-radius:6px}.rhc-success-panel h3{margin:0 0 6px}.rhc-status-chip{display:inline-block;padding:8px 12px;border-radius:999px;font-weight:700;margin:0 0 10px}.rhc-status-success{background:#e8f7ed;color:#176c37}.rhc-template-buttons{padding:12px;background:#f5f6f8;border-radius:8px;margin:16px 0}.rhc-template{border:1px solid #f36f21;background:#fff;color:#a8420d;border-radius:5px;padding:7px 10px;margin:4px;cursor:pointer}.rhc-line-items{border:1px solid #dfe5ec;border-radius:8px;overflow:hidden}.rhc-line-head,.rhc-line-item{display:grid;grid-template-columns:140px minmax(220px,1fr) 80px 120px 100px 44px;gap:8px;align-items:center;padding:10px}.rhc-line-head{background:#15233b;color:#fff;font-weight:700}.rhc-line-item{border-top:1px solid #edf0f4;background:#fff}.rhc-line-item input,.rhc-line-item select{width:100%;box-sizing:border-box}.rhc-line-total{font-weight:700;text-align:right}.rhc-remove-line{border:0;background:#fff0eb;color:#b33b12;font-size:22px;border-radius:5px;cursor:pointer}.rhc-estimate-totals{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:16px;background:#f5f6f8;border-radius:8px;margin:16px 0}.rhc-estimate-totals p{text-align:right;margin:0;line-height:1.8}.rhc-grand-total-live{font-size:1.25em;color:#f36f21}.rhc-estimate-document{background:#fff;color:#222;padding:24px;border:1px solid #dfe5ec;border-radius:8px}.rhc-estimate-head{display:flex;justify-content:space-between;gap:24px;border-bottom:4px solid #f36f21;padding-bottom:16px}.rhc-estimate-head img{max-width:180px;max-height:80px;object-fit:contain}.rhc-estimate-business{text-align:right;line-height:1.5}.rhc-estimate-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;background:#f5f6f8;padding:16px;margin:20px 0}.rhc-estimate-table{width:100%;border-collapse:collapse}.rhc-estimate-table th,.rhc-estimate-table td{padding:9px;border-bottom:1px solid #ddd}.rhc-estimate-table th:nth-child(n+2),.rhc-estimate-table td:nth-child(n+2){text-align:right}.rhc-estimate-table .rhc-category th{text-align:left;background:#eef1f5}.rhc-estimate-table .rhc-grand-total{font-size:1.1em;color:#f36f21}.rhc-estimate-document footer{margin-top:28px;border-top:1px solid #ddd;padding-top:10px;font-size:12px;color:#687386}@media(max-width:800px){.rhc-line-head{display:none}.rhc-line-item{grid-template-columns:1fr 1fr}.rhc-line-item input[name="item_description[]"]{grid-column:1/-1}.rhc-estimate-head{display:block}.rhc-estimate-business{text-align:left;margin-top:16px}.rhc-estimate-meta{grid-template-columns:1fr}.rhc-estimate-totals{display:block}.rhc-estimate-totals p{text-align:left;margin-top:12px}}
@media print{body *{visibility:hidden}.rhc-estimate-document,.rhc-estimate-document *{visibility:visible}.rhc-estimate-document{position:absolute;left:0;top:0;width:100%;border:0}.rhc-submit,.rhc-secondary,form{display:none!important}}

/* v1.7.2 Area Repairer / Location Hub cards */
.rhc-area-repairers{margin:28px 0}.rhc-area-repairers>h2{margin-bottom:16px}.rhc-directory-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:18px 0}.rhc-directory-results .rhc-card{background:#fff;border:1px solid #dfe5ec;border-radius:14px;padding:20px;box-shadow:0 6px 20px rgba(20,35,59,.06)}.rhc-directory-results .rhc-card h3{margin:10px 0 8px;color:#15233b}.rhc-directory-results .rhc-card p{margin:8px 0}.rhc-directory-results .rhc-card a{font-weight:700}.rhc-area-cta{margin-top:18px}


/* RepairHub v1.8.1 — branded repairer authentication */
.rhc-repairer-login{max-width:620px;margin:32px auto;padding:0 16px}
.rhc-repairer-login .rhc-platform-brand{text-align:center;margin-bottom:18px}
.rhc-repairer-login .rhc-platform-brand img{max-width:340px;width:100%;height:auto}
.rhc-login-card{background:#fff;border:1px solid #e1e5e9;border-radius:14px;padding:28px;box-shadow:0 8px 30px rgba(21,35,59,.08)}
.rhc-login-card h2{margin:0 0 10px;color:#15233b}
.rhc-login-card>p{color:#56606b;line-height:1.55}
.rhc-login-card .login-username label,.rhc-login-card .login-password label{display:block;font-weight:600;color:#15233b;margin:0 0 6px}
.rhc-login-card input[type="text"],.rhc-login-card input[type="password"]{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #cbd2d9;border-radius:7px;font-size:16px}
.rhc-login-card .login-remember{margin:14px 0}
.rhc-login-card .login-submit{margin:16px 0 0}
.rhc-login-card #rhc_repairer_wp_submit{width:100%;padding:13px 18px;border:0;border-radius:7px;background:#f36b21;color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.rhc-login-card #rhc_repairer_wp_submit:hover{filter:brightness(.95)}
.rhc-login-help{text-align:center;margin-top:16px!important}
.rhc-login-help a{font-weight:600}
.rhc-login-security{font-size:13px;text-align:center;border-top:1px solid #eef0f2;padding-top:16px;margin-top:18px!important}


/* RepairHub v1.8.2 — Customer confirmation, mobile estimating & full repairer branding */
.rhc-submission-confirmation{display:flex;gap:18px;align-items:flex-start;margin:0 0 26px;padding:24px;background:#fff;border:1px solid #dfe5ec;border-top:5px solid var(--rhc-orange);border-radius:14px;box-shadow:0 8px 24px rgba(17,24,39,.07)}
.rhc-confirm-check{flex:0 0 48px;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8f7ed;color:#176c37;font-size:28px;font-weight:800}
.rhc-submission-confirmation h2{margin:0 0 6px;color:#15233b}.rhc-confirm-ref{margin-top:0;color:#56606b}
.rhc-junk-warning{margin:18px 0;padding:16px 18px;background:#fff7e8;border:2px solid #f2b84b;border-radius:10px;color:#5d4308}.rhc-junk-warning>strong{display:block;font-size:1.08em;color:#4b3607}.rhc-junk-warning p{margin:7px 0 0}
.rhc-next-steps{margin:18px 0;padding:16px;background:#f6f8fa;border-radius:10px}.rhc-next-steps ol{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.rhc-next-steps li{display:flex;align-items:center;gap:10px}.rhc-next-steps li span{flex:0 0 28px;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#15233b;color:#fff;font-size:13px;font-weight:800}.rhc-next-steps li:first-child span{background:#2e9b58}.rhc-confirm-note{margin-bottom:0;font-weight:600;color:#384250}

/* Keep full uploaded business marks visible rather than thumbnail-cropping them. */
.rhc-repairer-logo-dashboard{width:auto!important;height:auto!important;max-width:220px!important;max-height:100px!important;object-fit:contain!important;background:#fff;padding:8px;border-radius:10px}
.rhc-repairer-logo-customer{display:block;width:auto!important;height:auto!important;max-width:240px!important;max-height:110px!important;object-fit:contain!important;margin:0 0 12px;background:#fff;padding:6px;border-radius:8px}
.rhc-line-field{min-width:0}.rhc-line-field>span{display:none}.rhc-line-field input,.rhc-line-field select{width:100%;box-sizing:border-box}

@media(max-width:800px){
  .rhc-submission-confirmation{display:block;padding:19px}.rhc-confirm-check{margin-bottom:12px}.rhc-junk-warning{padding:14px}.rhc-next-steps{padding:14px}
  .rhc-template-buttons{display:flex;gap:8px;overflow-x:auto;align-items:center;white-space:nowrap;padding:10px;-webkit-overflow-scrolling:touch}.rhc-template-buttons strong{flex:0 0 auto}.rhc-template{flex:0 0 auto;margin:0!important;min-height:42px}
  .rhc-line-items{border:0;overflow:visible;background:transparent}.rhc-line-head{display:none!important}
  .rhc-line-item{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;margin:0 0 14px;padding:16px!important;border:1px solid #dfe5ec!important;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(17,24,39,.05)}
  .rhc-line-field{display:block!important}.rhc-line-field>span{display:block!important;margin:0 0 5px;color:#4d5967;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
  .rhc-line-category,.rhc-line-description{grid-column:1/-1}.rhc-line-qty{grid-column:1}.rhc-line-unit{grid-column:2}.rhc-line-total-wrap{grid-column:1;display:flex!important;flex-direction:column;justify-content:flex-end}.rhc-line-total{display:block;text-align:left!important;font-size:18px;line-height:42px;color:#15233b}
  .rhc-remove-line{grid-column:2;width:100%;min-height:44px;font-size:16px!important;font-weight:700}.rhc-remove-line::after{content:' Remove line';font-size:14px}
  .rhc-estimate-totals{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px}.rhc-estimate-totals label{display:flex;align-items:center;justify-content:space-between;gap:12px}.rhc-estimate-totals .rhc-vat-rate{max-width:100px}.rhc-estimate-totals p{text-align:left!important;margin:0!important;padding-top:10px;border-top:1px solid #dfe5ec}.rhc-grand-total-live{font-size:1.35em}
  .rhc-estimate-builder>p label{display:block;font-weight:700}.rhc-estimate-builder>p input,.rhc-estimate-builder>p textarea{margin-top:6px;width:100%;box-sizing:border-box}.rhc-estimate-builder>.rhc-submit{display:block;width:100%;min-height:50px;font-size:17px}
  .rhc-repairer-logo-dashboard{max-width:min(260px,100%)!important;max-height:110px!important}.rhc-repairer-logo-customer{max-width:min(280px,100%)!important;max-height:120px!important}
}


/* RepairHub v1.9 — Jobs, Diary & Business Operations Foundation */
.rhc-portal-nav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 10px}
.rhc-portal-nav a,.rhc-quick-add a{display:inline-block;padding:10px 14px;border-radius:8px;background:#15233b;color:#fff!important;text-decoration:none;font-weight:700}
.rhc-quick-add{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#f6f7f9;border:1px solid #e4e7eb;padding:12px;border-radius:10px;margin:10px 0 18px}
.rhc-quick-add a{background:#f36b21}
.rhc-operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.rhc-operations-grid article{background:#fff;border:1px solid #e2e6ea;border-radius:12px;padding:18px}
.rhc-operations-grid strong{display:block;font-size:28px;color:#15233b}.rhc-operations-grid span{color:#65707c}
.rhc-upcoming{background:#fff;border:1px solid #e2e6ea;border-radius:12px;padding:18px;margin:16px 0}.rhc-upcoming>div{display:grid;grid-template-columns:150px 1fr auto;gap:12px;padding:10px 0;border-top:1px solid #eef0f2}.rhc-upcoming small{color:#65707c}
.rhc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rhc-form-grid label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.rhc-own-work,.rhc-jobs-view,.rhc-diary{background:#fff;border:1px solid #e2e6ea;border-radius:14px;padding:22px}
.rhc-job-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:18px;border:1px solid #e2e6ea;border-radius:12px;padding:18px;margin:12px 0;background:#fff}
.rhc-job-card form label{display:block;margin:6px 0}.rhc-inline-status{grid-column:1/-1;display:flex;gap:8px;align-items:center}
.rhc-warning-text{color:#a45a00}
.rhc-diary-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rhc-diary-list{display:grid;gap:10px;margin-top:16px}.rhc-diary-item{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:14px;border-left:5px solid #f36b21;background:#f8f9fa;border-radius:8px}.rhc-booking-provisional{border-left-color:#d89b18}.rhc-booking-confirmed{border-left-color:#2f8f5b}
.rhc-customer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rhc-customer-card{background:#fff;border:1px solid #e2e6ea;border-radius:10px;padding:16px}
.rhc-customer-booking{background:#fff;border:2px solid #e7ebef;border-radius:14px;padding:22px;margin:20px 0}.rhc-booking-date{font-size:24px;font-weight:800;color:#f36b21}.rhc-repair-journey{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.rhc-repair-journey span{background:#eef1f4;padding:8px 10px;border-radius:20px;font-size:13px}.rhc-repair-journey .done{background:#e8f4ec;color:#256b42}
@media(max-width:768px){
 .rhc-form-grid,.rhc-operations-grid,.rhc-customer-list{grid-template-columns:1fr}
 .rhc-job-card{grid-template-columns:1fr}.rhc-upcoming>div,.rhc-diary-item{grid-template-columns:1fr}
 .rhc-portal-nav{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.rhc-portal-nav a{white-space:nowrap}
 .rhc-quick-add{position:relative}.rhc-own-work,.rhc-jobs-view,.rhc-diary{padding:16px}
}


/* v1.9.1 Diary UX */
.rhc-view-switch,.rhc-calendar-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rhc-view-switch a,.rhc-calendar-nav>a{padding:9px 12px;border:1px solid #d9dee5;border-radius:7px;text-decoration:none;font-weight:700}
.rhc-view-switch a.active{background:#15233b;color:#fff!important}
.rhc-calendar-nav{justify-content:space-between;margin:16px 0}.rhc-calendar-nav form{display:flex;gap:6px}
.rhc-diary-title{display:block;color:#65707c;margin-top:2px}
.rhc-day-view{display:grid;gap:10px}
.rhc-cal-job{background:#fff;border:1px solid #e2e6ea;border-left:4px solid #f36b21;border-radius:7px;padding:9px;display:flex;flex-direction:column;gap:2px;min-width:0}
.rhc-cal-job time{font-weight:800;color:#15233b}.rhc-cal-job span,.rhc-cal-job small{font-size:12px;color:#667085}
.rhc-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.rhc-week-day{background:#f7f8fa;border:1px solid #e1e5ea;border-radius:9px;padding:8px;min-height:180px}.rhc-week-day header{display:flex;justify-content:space-between;border-bottom:1px solid #dfe4e9;padding-bottom:7px;margin-bottom:8px}.rhc-week-day .rhc-cal-job{margin-bottom:7px}.rhc-empty-day{color:#98a2b3}
.rhc-month-weekdays,.rhc-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.rhc-month-weekdays span{text-align:center;font-weight:800;padding:8px}.rhc-month-cell{min-height:125px;border:1px solid #e2e6ea;padding:7px;background:#fff}.rhc-month-cell.rhc-today{box-shadow:inset 0 0 0 2px #f36b21}.rhc-month-cell.rhc-outside{background:#f7f8fa}.rhc-date-number{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;font-weight:800;text-decoration:none}.rhc-today .rhc-date-number{background:#f36b21;color:#fff!important}.rhc-job-count{display:block;font-size:11px;color:#667085;margin:3px 0}.rhc-month-cell .rhc-cal-job{padding:5px;margin-top:4px}.rhc-month-cell .rhc-cal-job span,.rhc-month-cell .rhc-cal-job small{display:none}.rhc-more-jobs{font-size:11px}
.rhc-business-quote-fields{background:#f7f8fa;border:1px solid #e2e6ea;border-radius:10px;padding:14px;margin:14px 0}
@media(max-width:900px){.rhc-week-grid{grid-template-columns:1fr}.rhc-week-day{min-height:auto}.rhc-month-cell{min-height:95px}.rhc-month-cell .rhc-cal-job strong{font-size:11px}}
@media(max-width:620px){.rhc-month-weekdays{display:none}.rhc-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rhc-month-cell.rhc-outside{display:none}.rhc-calendar-nav{align-items:stretch}.rhc-calendar-nav form{width:100%}.rhc-calendar-nav form input{flex:1}}


/* v1.9.2 Customer correction + quotation lifecycle */
.rhc-customer-edit-form,.rhc-customer-summary{background:#fff;border:1px solid #e2e6ea;border-radius:10px;padding:16px;margin:14px 0}
.rhc-customer-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.rhc-customer-company{display:block;color:#667085;font-size:13px;margin-top:2px}
.rhc-quote-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.rhc-resend-quote{margin:10px 0}
.rhc-status-warning{background:#fff4e5!important;color:#8a4b00!important}
@media(max-width:650px){.rhc-customer-card{display:block}.rhc-customer-card .rhc-secondary{display:inline-block;margin-top:10px}.rhc-quote-actions button{width:100%}}


/* RepairHub v1.9.3 — Dashboard & Diary UX */
.rhc-persistent-nav{position:relative;z-index:2}
.rhc-persistent-nav a.active{background:#f36b21!important;color:#fff!important}
.rhc-live-diary{background:#fff;border:1px solid #e2e6ea;border-radius:14px;padding:18px;margin:16px 0 18px;box-shadow:0 2px 10px rgba(15,35,59,.04)}
.rhc-live-diary-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}
.rhc-live-diary-head h2{margin:2px 0 0}.rhc-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f36b21}
.rhc-live-diary-switch{display:flex;gap:6px}.rhc-live-diary-switch a{padding:8px 12px;border:1px solid #dce1e6;border-radius:8px;text-decoration:none;font-weight:800}.rhc-live-diary-switch a.active{background:#15233b;color:#fff!important}
.rhc-live-diary-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.rhc-live-diary-nav a{padding:7px 10px;border:1px solid #e0e4e8;border-radius:7px;text-decoration:none;font-weight:700}.rhc-live-diary-nav .rhc-open-diary{margin-left:auto;background:#15233b;color:#fff!important}
.rhc-dash-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.rhc-dash-week-day{background:#f8f9fb;border:1px solid #e4e7eb;border-radius:9px;padding:8px;min-height:132px}.rhc-dash-week-day.today{box-shadow:inset 0 0 0 2px #f36b21}.rhc-dash-week-day header{display:flex;justify-content:space-between;gap:5px;border-bottom:1px solid #e1e5e9;padding-bottom:6px;margin-bottom:6px}.rhc-dash-week-day small{color:#98a2b3}
.rhc-dash-cal-job{display:block;background:#fff;border-left:3px solid #f36b21;border-radius:6px;padding:6px;margin:5px 0;text-decoration:none!important;color:#15233b!important;overflow:hidden}.rhc-dash-cal-job time{display:block;font-size:11px;font-weight:800}.rhc-dash-cal-job strong,.rhc-dash-cal-job span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rhc-dash-cal-job strong{font-size:12px}.rhc-dash-cal-job span{font-size:10px;color:#667085}
.rhc-dash-month-weekdays,.rhc-dash-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.rhc-dash-month-weekdays span{text-align:center;font-weight:800;font-size:11px;padding:5px}.rhc-dash-month-cell{min-height:92px;border:1px solid #e5e8ec;padding:5px;background:#fff}.rhc-dash-month-cell.outside{background:#f7f8fa}.rhc-dash-month-cell.today{box-shadow:inset 0 0 0 2px #f36b21}.rhc-dash-date{font-weight:900;text-decoration:none}.rhc-dash-job-count{display:block;font-size:10px;text-decoration:none;color:#667085;margin:2px 0}.rhc-dash-month-cell .rhc-dash-cal-job span{display:none}
.rhc-action-card,.rhc-operation-card{display:block;text-decoration:none!important;color:inherit!important;transition:transform .15s ease,box-shadow .15s ease}.rhc-action-card:hover,.rhc-operation-card:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(15,35,59,.08)}
.rhc-operations-grid .rhc-operation-card{background:#fff;border:1px solid #e2e6ea;border-radius:12px;padding:18px}.rhc-operation-card strong{display:block;font-size:28px;color:#15233b}.rhc-operation-card span{color:#65707c}
.rhc-quote-readonly{background:#fff;border:1px solid #e1e5e9;border-radius:12px;padding:18px;margin:14px 0}.rhc-quote-readonly-block{padding:14px 0;border-bottom:1px solid #edf0f2}.rhc-quote-readonly-block:last-child{border-bottom:0}.rhc-quote-readonly-block h4{margin:4px 0}.rhc-readonly-lines{display:grid;gap:8px;margin-top:10px}.rhc-readonly-line{display:flex;justify-content:space-between;gap:14px;padding:10px;background:#f7f8fa;border-radius:8px}.rhc-readonly-line small{display:block;color:#667085;margin-top:2px}.rhc-readonly-totals{display:grid;gap:6px;margin-top:12px}.rhc-readonly-totals span{display:flex;justify-content:space-between}.rhc-readonly-totals .grand{font-size:18px;color:#f36b21;border-top:1px solid #dfe4e8;padding-top:8px;margin-top:3px}.rhc-quote-view-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}.rhc-quote-view-actions form{margin:0}.rhc-editing-banner{display:flex;gap:10px;justify-content:space-between;align-items:center;background:#fff4e8;border:1px solid #f5c493;border-radius:8px;padding:10px 12px;margin:10px 0;color:#7a4300}
.rhc-section-head{display:flex;justify-content:space-between;gap:14px;align-items:center}
@media(max-width:900px){
 .rhc-dash-week{grid-template-columns:1fr}.rhc-dash-week-day{min-height:auto}
 .rhc-live-diary-nav .rhc-open-diary{margin-left:0}
}
@media(max-width:650px){
 .rhc-live-diary{padding:14px}.rhc-live-diary-head{align-items:flex-start;flex-direction:column}.rhc-live-diary-switch{width:100%}.rhc-live-diary-switch a{flex:1;text-align:center}
 .rhc-live-diary-nav{display:grid;grid-template-columns:repeat(3,1fr)}.rhc-live-diary-nav a{text-align:center}.rhc-live-diary-nav .rhc-open-diary{grid-column:1/-1}
 .rhc-dash-month-weekdays{display:none}.rhc-dash-month{grid-template-columns:repeat(2,minmax(0,1fr))}.rhc-dash-month-cell.outside{display:none}.rhc-dash-month-cell{min-height:78px}
 .rhc-readonly-line{display:block}.rhc-readonly-line>strong{display:block;margin-top:5px}.rhc-editing-banner{display:block}.rhc-editing-banner span{display:block;margin-top:3px}
 .rhc-section-head{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   RepairHub v1.9.4 Beta — Public Submission Form Visual Polish
   Presentation only. Scoped to .rhc-public-form-shell.
   ========================================================= */
.rhc-public-form-shell{
    --rhc-navy:#111d32;
    --rhc-navy-soft:#1b2a45;
    --rhc-orange:#ef762f;
    --rhc-orange-deep:#d85f1f;
    --rhc-paper:#ffffff;
    --rhc-canvas:#f5f7f9;
    --rhc-border:#dfe5eb;
    --rhc-muted:#667085;
    --rhc-text:#17233a;
    max-width:1040px;
    margin:24px auto;
    color:var(--rhc-text);
}
.rhc-form-brand-header{
    display:grid;
    grid-template-columns:minmax(220px,330px) 1fr;
    gap:30px;
    align-items:center;
    background:var(--rhc-navy);
    border-top:6px solid var(--rhc-orange);
    border-radius:18px 18px 12px 12px;
    padding:34px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(17,29,50,.10);
}
.rhc-form-brand-logo{
    background:#fff;
    border-radius:14px;
    padding:18px;
}
.rhc-form-brand-logo img{
    display:block;
    width:100%;
    height:auto;
    max-height:150px;
    object-fit:contain;
}
.rhc-form-brand-copy{color:#fff}
.rhc-form-kicker{
    display:block;
    margin-bottom:8px;
    color:var(--rhc-orange);
    font-size:13px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.12em;
}
.rhc-form-brand-copy h2{
    margin:0 0 10px!important;
    color:#fff!important;
    font-size:clamp(28px,4vw,42px)!important;
    line-height:1.08!important;
}
.rhc-form-brand-copy p{
    margin:0;
    color:#dbe3ef;
    font-size:17px;
    line-height:1.55;
}
.rhc-form-steps{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:14px;
    background:#fff;
    border:1px solid var(--rhc-border);
    border-top:0;
    border-radius:0 0 14px 14px;
    margin-bottom:18px;
}
.rhc-form-steps span{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    color:#4d5a6e;
    font-size:13px;
    font-weight:700;
}
.rhc-form-steps b{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 28px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#fff3eb;
    color:var(--rhc-orange-deep);
    font-size:13px;
}
.rhc-public-form-shell .rhc-direct-request{
    border-left:5px solid var(--rhc-orange);
    border-radius:12px;
    background:#fff8f3;
    margin:18px 0;
    padding:16px 18px;
}
.rhc-public-form-shell .rhc-public-form{
    background:var(--rhc-canvas);
    border:1px solid var(--rhc-border);
    border-radius:16px;
    padding:20px;
}
.rhc-public-form-shell .rhc-public-form > .rhc-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin:0 0 18px;
}
.rhc-public-form-shell .rhc-public-form > .rhc-grid > div,
.rhc-public-form-shell .rhc-public-form > .rhc-grid > section,
.rhc-public-form-shell .rhc-leisure-eligibility{
    background:#fff;
    border:1px solid var(--rhc-border);
    border-radius:14px;
    padding:22px;
    box-shadow:0 3px 12px rgba(17,29,50,.035);
}
.rhc-public-form-shell .rhc-public-form h2{
    margin:0 0 16px!important;
    color:var(--rhc-navy)!important;
    font-size:22px!important;
    line-height:1.25!important;
    padding-bottom:10px;
    border-bottom:2px solid #f0f2f5;
}
.rhc-public-form-shell .rhc-public-form > h2{
    margin-top:18px!important;
    background:#fff;
    border:1px solid var(--rhc-border);
    border-bottom:0;
    border-radius:14px 14px 0 0;
    padding:20px 22px 12px!important;
}
.rhc-public-form-shell .rhc-public-form > h2 + p{
    margin:0!important;
    padding:0 22px 22px;
    background:#fff;
    border-left:1px solid var(--rhc-border);
    border-right:1px solid var(--rhc-border);
}
.rhc-public-form-shell .rhc-public-form > h2 + p textarea{
    min-height:150px;
}
.rhc-public-form-shell .rhc-public-form > h2 + p + h2{
    margin-top:18px!important;
}
.rhc-public-form-shell .rhc-public-form p{
    margin:0 0 14px;
}
.rhc-public-form-shell .rhc-public-form label{
    display:block;
    color:#29364b;
    font-weight:700;
    font-size:14px;
    line-height:1.4;
}
.rhc-public-form-shell .rhc-public-form input[type="text"],
.rhc-public-form-shell .rhc-public-form input[type="email"],
.rhc-public-form-shell .rhc-public-form input[type="tel"],
.rhc-public-form-shell .rhc-public-form input:not([type]),
.rhc-public-form-shell .rhc-public-form select,
.rhc-public-form-shell .rhc-public-form textarea{
    width:100%;
    box-sizing:border-box;
    min-height:48px;
    margin-top:7px;
    border:1px solid #cfd6df;
    border-radius:9px;
    background:#fff;
    color:#17233a;
    padding:11px 13px;
    font:inherit;
    font-weight:500;
    box-shadow:none;
    transition:border-color .15s ease,box-shadow .15s ease;
}
.rhc-public-form-shell .rhc-public-form textarea{
    resize:vertical;
    line-height:1.5;
}
.rhc-public-form-shell .rhc-public-form select[multiple]{
    min-height:230px;
    padding:8px;
}
.rhc-public-form-shell .rhc-public-form select[multiple] option{
    padding:8px 9px;
    border-radius:5px;
}
.rhc-public-form-shell .rhc-public-form input:focus,
.rhc-public-form-shell .rhc-public-form select:focus,
.rhc-public-form-shell .rhc-public-form textarea:focus{
    outline:none;
    border-color:var(--rhc-orange);
    box-shadow:0 0 0 3px rgba(239,118,47,.14);
}
.rhc-public-form-shell .rhc-public-form label:has(input[type="checkbox"]){
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-weight:600;
}
.rhc-public-form-shell .rhc-public-form input[type="checkbox"]{
    width:20px;
    height:20px;
    min-width:20px;
    margin:1px 0 0;
    accent-color:var(--rhc-orange);
}
.rhc-public-form-shell .rhc-insurance{
    border-top:4px solid var(--rhc-orange)!important;
}
.rhc-public-form-shell .rhc-insurance h2::after{
    content:"Optional";
    float:right;
    margin-top:2px;
    padding:4px 8px;
    border-radius:999px;
    background:#fff3eb;
    color:var(--rhc-orange-deep);
    font:700 11px/1 sans-serif;
}
.rhc-public-form-shell .rhc-leisure-eligibility{
    grid-column:1/-1;
    margin:8px 0 18px;
    border-left:5px solid var(--rhc-orange);
    background:#fffaf6;
}
.rhc-public-form-shell .rhc-leisure-eligibility .rhc-notice{
    margin-top:12px;
    border-radius:9px;
}
.rhc-public-form-shell .rhc-public-form input[type="file"]{
    width:100%;
    box-sizing:border-box;
    padding:20px;
    border:2px dashed #c9d2dc;
    border-radius:12px;
    background:#fff;
    color:#4f5d70;
}
.rhc-public-form-shell .rhc-public-form input[type="file"]::file-selector-button{
    margin-right:12px;
    border:0;
    border-radius:7px;
    background:var(--rhc-navy);
    color:#fff;
    padding:10px 14px;
    font-weight:800;
    cursor:pointer;
}
.rhc-public-form-shell .rhc-public-form .description,
.rhc-public-form-shell .rhc-public-form small{
    color:var(--rhc-muted);
    font-size:13px;
    line-height:1.45;
}
.rhc-form-submit-panel{
    margin-top:20px;
    padding:24px;
    border-radius:14px;
    background:var(--rhc-navy);
    color:#fff;
}
.rhc-form-submit-copy{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-bottom:16px;
}
.rhc-form-submit-copy strong{
    font-size:22px;
    color:#fff;
}
.rhc-form-submit-copy span{
    color:#dbe3ef;
    font-size:14px;
}
.rhc-public-form-shell .rhc-form-consent{
    padding:14px;
    border-radius:9px;
    background:rgba(255,255,255,.08);
}
.rhc-public-form-shell .rhc-form-consent label{
    color:#fff;
}
.rhc-public-form-shell .rhc-form-submit-panel .rhc-submit{
    width:100%;
    min-height:56px;
    border:0;
    border-radius:9px;
    background:var(--rhc-orange);
    color:#fff!important;
    font-size:18px;
    font-weight:900;
    letter-spacing:.02em;
    cursor:pointer;
    box-shadow:0 5px 0 var(--rhc-orange-deep);
}
.rhc-public-form-shell .rhc-form-submit-panel .rhc-submit:hover{
    transform:translateY(1px);
    box-shadow:0 4px 0 var(--rhc-orange-deep);
}
.rhc-public-form-shell .rhc-form-submit-panel > small{
    display:block;
    margin-top:14px;
    color:#dbe3ef;
    text-align:center;
}
@media(max-width:760px){
    .rhc-public-form-shell{margin:12px auto}
    .rhc-form-brand-header{
        grid-template-columns:1fr;
        gap:18px;
        padding:22px;
        border-radius:14px 14px 10px 10px;
    }
    .rhc-form-brand-logo{max-width:100%;padding:14px}
    .rhc-form-brand-copy h2{font-size:30px!important}
    .rhc-form-brand-copy p{font-size:15px}
    .rhc-form-steps{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px 6px;
        padding:12px;
    }
    .rhc-public-form-shell .rhc-public-form{
        padding:12px;
        border-radius:12px;
    }
    .rhc-public-form-shell .rhc-public-form > .rhc-grid{
        grid-template-columns:1fr;
        gap:12px;
        margin-bottom:12px;
    }
    .rhc-public-form-shell .rhc-public-form > .rhc-grid > div,
    .rhc-public-form-shell .rhc-public-form > .rhc-grid > section,
    .rhc-public-form-shell .rhc-leisure-eligibility{
        padding:17px;
        border-radius:11px;
    }
    .rhc-public-form-shell .rhc-public-form h2{font-size:20px!important}
    .rhc-public-form-shell .rhc-public-form select[multiple]{min-height:200px}
    .rhc-form-submit-panel{padding:18px}
}
@media(max-width:420px){
    .rhc-form-steps{grid-template-columns:1fr 1fr}
    .rhc-form-steps span{font-size:12px}
    .rhc-form-steps b{width:25px;height:25px;flex-basis:25px}
}
