.clgr{--rr-bg:#f4f7fb;--rr-card:#fff;--rr-ink:#17283b;--rr-muted:#465c71;--rr-line:#c6d2df;--rr-accent:#145eb0;--rr-soft:#e8f1fc;color:var(--rr-ink);background:var(--rr-bg);padding:clamp(16px,3vw,32px);border-radius:16px;font:16px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif;min-width:0;text-align:left}
.clgr-vin-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:12px}.clgr-vin-row label{flex:1 1 220px;margin-bottom:0}.clgr-vin-row button{margin-bottom:1px}.clgr .clgr-vin-status{padding:12px;border-radius:6px;background:#edf4fc;overflow-wrap:anywhere}.clgr .clgr-vin-status.clgr-vin-warning{background:#fff2df;border-left:4px solid #a75c00}.clgr .clgr-nhtsa-table{table-layout:fixed}.clgr .clgr-nhtsa-table :is(th,td){overflow-wrap:anywhere;word-break:normal}.clgr .clgr-nhtsa-table caption{text-align:left;color:inherit;font-weight:650;padding:8px 0}.clgr .clgr-nhtsa-table th{width:42%}
#clg-repairs .clgr-attachments{margin-top:24px;padding-top:20px;border-top:1px solid var(--rr-line)}#clg-repairs .clgr-attachment-actions{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}#clg-repairs .clgr-attachment-list{display:grid;gap:12px;list-style:none;margin:16px 0;padding:0}#clg-repairs .clgr-attachment-list li{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--rr-line);border-radius:8px;background:var(--rr-card)}#clg-repairs .clgr-attachment-list :is(img,.clgr-file-kind){width:64px;height:64px;object-fit:cover;border-radius:5px;background:var(--rr-raised)}#clg-repairs .clgr-file-kind{display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}#clg-repairs .clgr-attachment-list strong{display:block;font-size:14px;overflow-wrap:anywhere}#clg-repairs .clgr-file-meta{display:block;font-size:13px;overflow-wrap:anywhere}#clg-repairs .clgr-upload-progress{padding:16px;margin:18px 0;border:1px solid var(--rr-focus);border-radius:8px;background:var(--rr-info-bg);color:var(--rr-info-ink)}#clg-repairs .clgr-upload-progress progress{display:block;width:100%;height:16px;accent-color:var(--rr-primary)}html body #center #clg-repairs.clgr :is(.clgr-file-meta,.clgr-file-status){color:var(--rr-muted)!important}html body #center #clg-repairs.clgr .clgr-file-status.clgr-file-error{color:var(--rr-warning-ink)!important;background:var(--rr-warning-bg);padding:12px;border-radius:6px}#clg-repairs .clgr-upload-progress p{margin-bottom:0}@media(max-width:600px){#clg-repairs .clgr-attachment-actions button{width:100%}#clg-repairs .clgr-attachment-list li{grid-template-columns:52px minmax(0,1fr);gap:10px}#clg-repairs .clgr-attachment-list :is(img,.clgr-file-kind){width:52px;height:52px}#clg-repairs .clgr-attachment-list button{grid-column:2;justify-self:start}}
#clg-repairs-admin .clgr-block-day{min-width:34px;min-height:34px;padding:5px 9px;background:#fff;color:#134d88!important;border-color:#8aa6c6;font-size:13px}#clg-repairs-admin .clgr-block-day[aria-pressed=true]{background:#145eb0;color:#fff!important;border-color:#145eb0}#clg-repairs-admin .clgr-block-add-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-bottom:12px}#clg-repairs-admin .clgr-block-add-row label{flex:1 1 190px;margin:0}#clg-repairs-admin .clgr-block-add-row button{margin-bottom:1px}#clg-repairs-admin .clgr-block-dates{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:14px 0 20px}#clg-repairs-admin .clgr-block-dates li{display:flex;align-items:center;gap:10px;padding:6px 8px 6px 12px;background:#edf4fc;border:1px solid #a5bed8;border-radius:8px;max-width:100%}#clg-repairs-admin .clgr-block-dates li span{font-size:14px;overflow-wrap:anywhere}#clg-repairs-admin .clgr-block-dates button{min-height:32px;min-width:32px;padding:3px 8px;font-size:20px}#clg-repairs-admin .clgr-block-status{font-size:14px;color:#465c71}#clg-repairs-admin .clgr-block-status.error{color:#9a1723}
.clgr *{box-sizing:border-box}.clgr [hidden]{display:none!important}.clgr :is(h1,h2,h3,h4,p,label,span,dt,dd,summary,td,th){color:inherit}.clgr h1{font-size:clamp(27px,4vw,40px);line-height:1.15;margin:.3rem 0 1rem}.clgr h2{font-size:clamp(22px,3vw,28px);margin:0 0 1rem}.clgr h3{font-size:21px;margin:0 0 .7rem}.clgr h4{font-size:18px;margin:1rem 0 .5rem}.clgr p{margin:.5rem 0 1rem}.clgr a{color:#1258a0;text-decoration:underline;overflow-wrap:anywhere}.clgr a:hover{color:#073d78}.clgr .clgr-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#355472;margin:0 0 .5rem}.clgr-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:8px 0 24px}.clgr-heading p{max-width:750px}.clgr-top{display:flex;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--rr-line);padding-bottom:14px;margin-bottom:24px}.clgr-card{background:var(--rr-card);border:1px solid var(--rr-line);padding:clamp(16px,2.5vw,26px);border-radius:12px;margin:0 0 22px;min-width:0;box-shadow:0 3px 12px #15355506}.clgr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.clgr-grid>.clgr-card{margin-bottom:16px}.clgr label{display:flex;flex-direction:column;gap:7px;font-weight:650;margin:0 0 16px}.clgr :is(input:not([type=checkbox]):not([type=radio]),select,textarea){display:block;width:100%;max-width:100%;min-width:0;border:1px solid #7e94a9;border-radius:7px;padding:11px 12px;background:#fff!important;color:#17283b!important;font:400 16px/1.4 system-ui;box-shadow:none}.clgr input::placeholder,.clgr textarea::placeholder{color:#52667a;opacity:1}.clgr input[type=checkbox]{width:20px;height:20px;accent-color:#145eb0;flex:0 0 20px}.clgr .clgr-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px}.clgr :is(button,.clgr-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #145eb0;border-radius:8px;background:#145eb0;color:#fff!important;padding:10px 17px;font:700 15px/1.3 system-ui;text-decoration:none;cursor:pointer;white-space:normal}.clgr :is(button,.clgr-button):hover{background:#0b4587;color:#fff}.clgr :is(button,.clgr-button).secondary{background:#fff;color:#174c7e!important;border-color:#7191b2}.clgr button.danger{background:#fff2f2;color:#9a1723!important;border-color:#c97880}.clgr button:disabled{opacity:.5;cursor:not-allowed}.clgr :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #d68b0b;outline-offset:3px}.clgr .clgr-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.clgr-guide{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:20px;border-radius:12px;background:#e5eef8;margin:0 0 24px}.clgr-guide li{display:flex;flex-direction:column;gap:8px}.clgr-guide span{font-size:14px;color:#36506c}.clgr-steps{list-style:none;padding:0;display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}.clgr-steps li{padding:9px 12px;border-radius:30px;background:#e0e7ef;font-size:13px;color:#334d67;font-weight:700}.clgr-steps [aria-current]{background:#173d64;color:#fff}.clgr-form-nav{display:flex;align-items:center;gap:16px;justify-content:flex-end}.clgr-form-nav [data-back]{margin-right:auto}.clgr-form-nav span{font-size:13px;color:#465c71}.clgr-review{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:12px 22px}.clgr-review dt{font-weight:700}.clgr-review dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.clgr details{border:1px solid var(--rr-line);padding:14px;border-radius:8px;margin:16px 0}.clgr summary{font-weight:700;cursor:pointer;margin-bottom:10px}.clgr-alert,.clgr-notice{border:1px solid #8aa6c6;border-left:5px solid #145eb0;background:#e7f0fb;padding:16px;margin:16px 0;border-radius:6px}.clgr-notice.error,.clgr-alert{border-color:#b86b19;background:#fff2df;color:#69410f}.clgr-calendar{max-width:650px;margin:18px 0}.clgr-month-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.clgr-month-nav h3{margin:0;font-size:20px;text-align:center}.clgr-weekdays,.clgr-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.clgr-weekdays{font-size:12px;font-weight:700;text-align:center;margin-bottom:9px}.clgr-days button{padding:8px;min-height:48px;background:#fff;color:#134d88!important;border-color:#a5bed8}.clgr-days button[aria-pressed=true]{background:#145eb0;color:#fff!important;outline:2px solid #145eb0}.clgr-days button:disabled{background:#edf0f4;border-color:#e0e4eb;color:#73808d!important;opacity:1}.clgr-summary{background:#edf4fc;padding:16px;border-radius:8px;margin:16px 0}.clgr-summary:empty{display:none}.clgr-table-wrap{max-width:100%;overflow-x:auto}.clgr table{width:100%;border-collapse:collapse;margin:12px 0;background:transparent;color:inherit;font-size:14px}.clgr :is(th,td){padding:12px;text-align:left;border-bottom:1px solid var(--rr-line);background:transparent;color:inherit;vertical-align:top}.clgr th{background:#edf2f8;font-weight:750}.clgr .clgr-invoice{background:#fff;color:#17283b;padding:clamp(18px,4vw,40px);border:1px solid #bac7d3;border-radius:8px;margin:24px 0}.clgr-invoice-head{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.clgr .clgr-stamp{display:table;border:3px double #486079;border-radius:6px;color:#40566c;background:#f7f9fc;padding:10px 20px;letter-spacing:.06em;font-size:clamp(17px,3vw,26px);font-weight:900;text-transform:uppercase;margin:24px auto;text-align:center;break-inside:avoid}.clgr .clgr-stamp.paid{color:#bd1f2d;border-color:#bd1f2d;background:#fff8f8}.clgr-stage{font-weight:700;font-size:14px}.clgr-bill{border-top:1px solid #c6d2df;padding:18px 0}.clgr-totals{max-width:360px;margin:20px 0 20px auto}.clgr-totals div{display:flex;justify-content:space-between;gap:25px;padding:6px 0}.clgr-totals dd{margin:0;font-weight:750}.clgr-totals div:last-child{border-top:2px solid #355472;padding-top:12px;font-size:20px}.clgr-invoice footer{margin-top:30px;border-top:1px solid #c6d2df;padding-top:14px;font-size:13px}.clgr-invoice-chat{margin-top:30px;break-before:auto}.clgr-invoice p{white-space:normal;overflow-wrap:anywhere}.clgr-chat{display:flex;flex-direction:column;gap:16px;margin:16px 0;max-height:600px;overflow:auto}.clgr-chat article{padding:16px;border-radius:10px;background:#eef1f6;max-width:95%}.clgr-chat article.business{background:#e2edf9;align-self:flex-end}.clgr-chat header{display:flex;gap:20px;justify-content:space-between;font-size:13px;flex-wrap:wrap}.clgr-chat p{white-space:pre-wrap;margin:8px 0 0}.clgr-label{background:#fff;color:#17283b;border:2px dashed #66788a;padding:30px;max-width:650px}.clgr-label strong{font-size:26px}.clgr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.clgr-actions form{margin:0}.clgr-admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.clgr-sidebar{display:flex;flex-direction:column;gap:4px;align-self:start;position:sticky;top:80px}.clgr-sidebar a{padding:12px 14px;text-decoration:none;color:#244665;border-radius:8px;font-weight:650;font-size:14px}.clgr-sidebar a[aria-current]{background:#173d64;color:#fff}.clgr-sidebar a:hover{background:#dbe7f5;color:#143c62}.clgr-main{min-width:0}.clgr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.clgr-stats .clgr-card{display:flex;flex-direction:column}.clgr-stats strong{font-size:34px}.clgr-stats span{font-size:13px}.clgr-admin .clgr-inline{margin:0}.clgr-admin .clgr-inline button{min-height:36px;padding:7px 12px;font-size:13px}.clgr-admin-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#c6d2df;border:1px solid #c6d2df}.clgr-calendar-cell{min-height:110px;background:#fff;padding:7px;min-width:0}.clgr-calendar-cell>strong{font-size:13px}.clgr-calendar-cell .clgr-event{display:block;background:#e4effb;color:#164c80;padding:6px;margin-top:6px;border-radius:5px;text-decoration:none;font-size:12px;overflow-wrap:anywhere}.clgr-event small{display:block}.clgr-calendar-cell .clgr-event.pending{background:#fff0d5;color:#714513}.clgr-calendar-cell .clgr-event.cancelled{background:#f0f0f0;color:#626262;text-decoration:line-through}.clgr-blocked{display:block;background:#fbe6e6;color:#841e2a!important;font-size:11px;padding:4px}.clgr-edit-items{min-width:720px}.clgr-edit-items td:first-child{width:40%}.clgr-edit-items td input{min-width:85px}.clgr-message{border-bottom:1px solid #c6d2df;padding:16px 0}.clgr code{display:block;white-space:normal;word-break:break-all;color:#234a70;background:#eef3fa;padding:12px}
@media(max-width:1000px){.clgr-admin-layout{grid-template-columns:1fr}.clgr-sidebar{position:static;flex-direction:row;overflow-x:auto;flex-wrap:wrap;gap:4px}.clgr-sidebar a{padding:8px 12px}.clgr-admin{padding:16px}}
@media(max-width:600px){.clgr{padding:14px;border-radius:10px}.clgr-guide{grid-template-columns:1fr;gap:16px}.clgr-review{grid-template-columns:1fr;gap:4px}.clgr-review dd{margin-bottom:14px}.clgr-steps{gap:5px}.clgr-steps li{padding:6px 9px;font-size:11px}.clgr-card{padding:16px}.clgr-form-nav{gap:9px;flex-wrap:wrap}.clgr-days{gap:4px}.clgr-days button{min-height:42px;padding:5px}.clgr-invoice table{min-width:440px}.clgr .clgr-invoice{padding:16px}.clgr-admin-calendar{min-width:600px}.clgr-admin .clgr-card:has(.clgr-admin-calendar){overflow-x:auto}.clgr-month-nav a{font-size:12px;padding:8px}.clgr-top{gap:12px;font-size:14px}}
@media print{body *{visibility:hidden!important}#clg-repairs,#clg-repairs-admin,.clgr-invoice,.clgr-invoice *,.clgr-label,.clgr-label *{visibility:visible!important}.clgr .no-print,.clgr .no-print *{display:none!important;visibility:hidden!important}.clgr{background:white!important;padding:0!important}.clgr-invoice,.clgr-label{position:absolute;left:0;top:0;width:100%;max-width:none!important;margin:0!important;border:0!important;padding:10mm!important;color:#17283b!important;box-shadow:none}.clgr-invoice-head{break-inside:avoid}.clgr-invoice tr{break-inside:avoid}.clgr-invoice table{min-width:0!important}.clgr-invoice th,.clgr-invoice td{padding:8px}.clgr-invoice .clgr-stamp.paid{color:#bd1f2d!important;border-color:#bd1f2d!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.clgr-invoice .clgr-table-wrap{overflow:visible}.clgr-admin-layout{display:block}.clgr-invoice .clgr-invoice-chat p{break-inside:avoid}}
/* Public repair pages follow the CLG dark palette. Administrator screens retain their own palette. */
#clg-repairs.clgr {
 --rr-bg:var(--clg-bg,#0d141c); --rr-card:var(--clg-panel,#15212c);
 --rr-raised:var(--clg-raised,#1c2b38); --rr-input:var(--clg-input,#0b131c);
 --rr-ink:var(--clg-text,#edf3f8); --rr-muted:var(--clg-muted,#b2c2d0);
 --rr-line:var(--clg-border,#536e8b); --rr-accent:var(--clg-accent,#72d1ed);
 --rr-primary:#b6293d; --rr-primary-hover:#932135; --rr-primary-border:#f56a7b; --rr-on-primary:#ffffff;
 --rr-focus:#7dd3fc; --rr-disabled-bg:#263544; --rr-disabled-ink:#b9c8d8;
 --rr-info-bg:#19374a; --rr-info-ink:#d9f2ff;
 --rr-warning-bg:#3b291b; --rr-warning-ink:#ffdaad;
 color-scheme:dark;
}
html body #center #clg-repairs.clgr {color:var(--rr-ink)!important;background:linear-gradient(145deg,var(--rr-card),var(--rr-bg))!important;border:1px solid var(--rr-line);}
html body #center #clg-repairs.clgr :is(h1,h2,h3,h4,h5,h6,p,label,span,strong,em,small,legend,summary,dt,dd,th,td,time,caption){color:inherit!important;text-shadow:none!important;}
html body #center #clg-repairs.clgr .clgr-card {background:linear-gradient(145deg,var(--rr-raised),var(--rr-card));color:var(--rr-ink);border-color:var(--rr-line);box-shadow:0 8px 24px #0002;}
html body #center #clg-repairs.clgr a {color:var(--rr-accent);text-underline-offset:3px;}
html body #center #clg-repairs.clgr a:hover {color:var(--rr-ink);}
html body #center #clg-repairs.clgr .clgr-eyebrow {color:#ff9eaa!important;}
html body #center #clg-repairs.clgr .clgr-guide {background:var(--rr-raised);color:var(--rr-ink);border:1px solid var(--rr-line);}
html body #center #clg-repairs.clgr :is(.clgr-guide span,.clgr-form-nav span,.clgr-weekdays,.clgr-review dt) {color:var(--rr-muted)!important;}
html body #center #clg-repairs.clgr .clgr-steps li {background:var(--rr-raised);color:var(--rr-muted);border:1px solid var(--rr-line);}
html body #center #clg-repairs.clgr .clgr-steps [aria-current] {background:var(--rr-primary);border-color:var(--rr-primary);color:var(--rr-on-primary);}
html body #center #clg-repairs.clgr :is(select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=hidden])) {background:var(--rr-input)!important;color:var(--rr-ink)!important;border-color:var(--rr-line)!important;caret-color:var(--rr-ink);color-scheme:dark;}
html body #center #clg-repairs.clgr :is(select option,select optgroup) {background:var(--rr-input)!important;color:var(--rr-ink)!important;}
html body #center #clg-repairs.clgr :is(input,textarea)::placeholder {color:var(--rr-muted)!important;opacity:1;}
html body #center #clg-repairs.clgr input:-webkit-autofill {-webkit-text-fill-color:var(--rr-ink)!important;box-shadow:0 0 0 1000px var(--rr-input) inset!important;caret-color:var(--rr-ink);}
html body #center #clg-repairs.clgr :is(input[type=checkbox],input[type=radio]) {accent-color:var(--rr-primary);}
html body #center #clg-repairs.clgr :is(button,.clgr-button) {background:var(--rr-primary)!important;color:var(--rr-on-primary)!important;border-color:var(--rr-primary-border)!important;box-shadow:none!important;text-shadow:none!important;background-image:none!important;}
html body #center #clg-repairs.clgr :is(button,.clgr-button):is(:hover,:active) {background:var(--rr-primary-hover)!important;color:var(--rr-on-primary)!important;border-color:var(--rr-primary-border)!important;}
html body #center #clg-repairs.clgr :is(button,.clgr-button).secondary {background:var(--rr-raised)!important;color:var(--rr-ink)!important;border-color:var(--rr-line)!important;}
html body #center #clg-repairs.clgr :is(button,.clgr-button).secondary:is(:hover,:active) {background:var(--rr-input)!important;color:var(--rr-ink)!important;border-color:var(--rr-focus)!important;}
html body #center #clg-repairs.clgr input::file-selector-button {background:var(--rr-primary);color:var(--rr-on-primary);border:1px solid var(--rr-primary-border);border-radius:5px;padding:8px 12px;margin-right:12px;font:inherit;cursor:pointer;}
html body #center #clg-repairs.clgr :is(a,button,input,select,textarea,summary):focus-visible {outline:3px solid var(--rr-focus)!important;outline-offset:3px;}
html body #center #clg-repairs.clgr :is(input,textarea,select):user-invalid {border-color:#ff9eaa!important;}
html body #center #clg-repairs.clgr .clgr-days button {background:var(--rr-raised)!important;color:var(--rr-ink)!important;border:1px solid var(--rr-line)!important;}
html body #center #clg-repairs.clgr .clgr-days button:not(:disabled):is(:hover,:active) {background:var(--rr-input)!important;color:var(--rr-ink)!important;border-color:var(--rr-focus)!important;}
html body #center #clg-repairs.clgr .clgr-days button[aria-pressed=true] {background:var(--rr-primary)!important;color:var(--rr-on-primary)!important;border-color:var(--rr-primary)!important;outline:2px solid var(--rr-primary);}
html body #center #clg-repairs.clgr .clgr-days button[aria-pressed=true]:not(:disabled):is(:hover,:active) {background:var(--rr-primary-hover)!important;color:var(--rr-on-primary)!important;}
html body #center #clg-repairs.clgr .clgr-days button:disabled,
html body #center #clg-repairs.clgr .clgr-days button:disabled:is(:hover,:active,:focus-visible) {background:var(--rr-disabled-bg)!important;color:var(--rr-disabled-ink)!important;border-color:var(--rr-line)!important;border-style:dashed!important;outline:none!important;opacity:1!important;cursor:not-allowed;}
html body #center #clg-repairs.clgr :is(button:disabled,input:disabled,select:disabled,textarea:disabled) {background:var(--rr-disabled-bg)!important;color:var(--rr-disabled-ink)!important;border-color:var(--rr-line)!important;opacity:1!important;-webkit-text-fill-color:var(--rr-disabled-ink);cursor:not-allowed;}
html body #center #clg-repairs.clgr :is(.clgr-summary,.clgr-vin-status,.clgr-notice) {background:var(--rr-info-bg);color:var(--rr-info-ink)!important;border-color:var(--rr-focus);}
html body #center #clg-repairs.clgr :is(.clgr-alert,.clgr-notice.error,.clgr-vin-status.clgr-vin-warning) {background:var(--rr-warning-bg);color:var(--rr-warning-ink)!important;border-color:#d99950;}
html body #center #clg-repairs.clgr details {background:var(--rr-card);border-color:var(--rr-line);color:var(--rr-ink);}
html body #center #clg-repairs.clgr :is(table,th,td) {color:var(--rr-ink)!important;border-color:var(--rr-line);}
html body #center #clg-repairs.clgr :is(th,td) {background:transparent!important;}
html body #center #clg-repairs.clgr thead th {background:var(--rr-raised)!important;}
html body #center #clg-repairs.clgr :is(caption,[data-nhtsa-fetched]) {color:var(--rr-muted)!important;}
html body #center #clg-repairs.clgr .clgr-chat article {background:var(--rr-raised);color:var(--rr-ink);border:1px solid var(--rr-line);}
html body #center #clg-repairs.clgr .clgr-chat article.business {background:var(--rr-info-bg);color:var(--rr-info-ink);}
html body #center #clg-repairs.clgr code {background:var(--rr-input);color:var(--rr-ink);}
/* Invoice paper and address labels remain light on screen and when printed. */
html body #center #clg-repairs.clgr :is(.clgr-invoice,.clgr-label) {--rr-ink:#17283b;--rr-muted:#465c71;--rr-line:#c6d2df;--rr-card:#fff;--rr-raised:#edf2f8;--rr-accent:#1258a0;background:#fff!important;color:#17283b!important;color-scheme:light;}
html body #center #clg-repairs.clgr .clgr-invoice :is(th,td) {background:#fff!important;color:#17283b!important;}
html body #center #clg-repairs.clgr .clgr-invoice thead th {background:#edf2f8!important;}
html body #center #clg-repairs.clgr .clgr-invoice .clgr-stamp.paid {color:#bd1f2d!important;}
body:has(#clg-repairs) #right{display:none!important;}
body:has(#clg-repairs) #center{width:100%!important;max-width:100%!important;flex-basis:100%!important;}
/* Private draft and estimate controls stay within the public intake. */
#clg-repairs .clgr-draft{margin:1rem 0;padding:1rem;border:1px solid var(--rr-line);border-radius:12px;background:var(--rr-raised);color:var(--rr-ink);}
#clg-repairs .clgr-draft-actions{display:flex;flex-wrap:wrap;gap:12px;}
#clg-repairs .clgr-draft p{margin:.25rem 0 .6rem;}
#clg-repairs .clgr-estimate-preview{display:block;width:100%;height:40rem;max-height:75vh;border:2px solid var(--rr-line);border-radius:8px;background:#fff;margin:1rem 0;color-scheme:light;}
#clg-repairs .clgr-estimate-preview[hidden]{display:none;}
#clg-repairs .clgr-days button{position:relative;min-height:3.5rem;}
html body #center #clg-repairs.clgr .clgr-booking-count{display:inline-flex;align-items:center;gap:.2rem;font-size:.7rem;line-height:1;padding:2px 4px;margin-left:3px;border-radius:6px;background:#113b2b;color:#c3f9dc!important;white-space:nowrap;}
#clg-repairs .clgr-booking-count::before{content:'';width:6px;height:6px;border-radius:50%;background:#c3f9dc;flex:none;}
#clg-repairs .clgr-calendar-legend{font-size:.9rem;}
#clg-repairs [data-approved-times]{border-left:3px solid #c3f9dc;padding-left:.75rem;margin:1rem 0;}
html body #center #clg-repairs.clgr [data-draft-status].clgr-file-error{color:var(--rr-warning-ink)!important;background:var(--rr-warning-bg);padding:12px;border-radius:6px;}
@media(max-width:480px){#clg-repairs .clgr-days button{flex-direction:column;gap:4px;}#clg-repairs .clgr-booking-count{margin-left:0;}}
@media(max-width:600px){html body #center #clg-repairs.clgr{padding:10px;}#clg-repairs .clgr-card{padding:12px;}}
@media print{
 html body #center #clg-repairs.clgr {--rr-ink:#17283b;--rr-muted:#465c71;--rr-bg:#fff;--rr-card:#fff;--rr-raised:#edf2f8;background:#fff!important;color:#17283b!important;border:0;color-scheme:light;}
 .clgr{font-size:14px;line-height:1.4;}
 .clgr .clgr-invoice h2{font-size:22px;margin:0 0 8px;}
 .clgr .clgr-invoice h3{font-size:16px;margin:12px 0 6px;break-after:avoid;}
 .clgr .clgr-invoice p{margin:6px 0 10px;orphans:3;widows:3;}
 .clgr .clgr-invoice .clgr-stamp{font-size:22px;padding:8px 18px;margin:12px auto;}
 .clgr .clgr-invoice .clgr-bill{padding:12px 0;}
 .clgr .clgr-invoice table{font-size:12px;margin:8px 0;}
 .clgr .clgr-invoice th,.clgr .clgr-invoice td{padding:8px;}
 .clgr .clgr-invoice .clgr-totals{margin:12px 0 12px auto;break-inside:avoid;}
 .clgr .clgr-invoice .clgr-totals div{padding:3px 0;}
 .clgr .clgr-invoice .clgr-totals div:last-child{font-size:18px;padding-top:8px;}
 .clgr .clgr-invoice footer{font-size:12px;padding-top:8px;margin-top:14px;}
}
