*{box-sizing:border-box}body{margin:0;background:#070606;color:#f7f5f5;font:16px Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;color:#f5f5f5;background:#211c1c;border:1px solid #3c3333;border-radius:10px;padding:14px;font-weight:700}button.red,.selected{background:#ed001c!important;border-color:#ed001c!important;color:white!important}button:disabled{opacity:.45}header{position:sticky;top:0;z-index:5;background:#090707;border-bottom:2px solid #84000e;padding:20px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:18px;align-items:center}.brand strong{font-size:22px;font-style:italic;font-weight:1000;letter-spacing:-1px}.logo{font-size:11px;text-align:center;border:2px solid #9d1420;border-radius:50%;padding:12px 7px;box-shadow:0 0 12px #9b0b1d;color:white;font-weight:900}.logo b{color:red}.menu{font-size:25px}nav{position:fixed;z-index:7;right:15px;top:80px;background:#191313;border:1px solid #443434;padding:12px;min-width:230px;border-radius:12px}nav button{display:block;width:100%;text-align:left;border:0;background:transparent}section{padding:22px;max-width:900px;margin:auto}.notice{background:#2b2021;border-left:5px solid #e5001d;padding:15px;margin:18px auto;max-width:900px}.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 0 24px;border-bottom:2px solid #6b0711}.tabs button{padding:17px 5px;font-size:15px}.tabs button:nth-child(5),.tabs button:nth-child(6){grid-column:span 2}.slot{border:2px dashed #352c2c;border-radius:18px;min-height:108px;margin:16px 0;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:24px}.slot strong{font-size:22px;color:#a9a4a4}.slot button{color:#ef142b;border:0;background:none;font-size:18px}h2{font-size:23px}h3{font-size:15px;color:#aaa;margin-top:28px}label{display:block;color:#a5a1a1;font-size:13px;font-weight:800;letter-spacing:.6px;margin:22px 0 10px}input,textarea,select{width:100%;background:#241e1e;color:white;border:1px solid #3b3131;border-radius:10px;padding:17px;margin-top:9px;outline:none}input:focus,textarea:focus,select:focus{border-color:#ee001c}textarea{min-height:110px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #362b2b}.formhead button{border:0;background:none}.outline{border:1px dashed #514040;background:transparent;color:#ed1731}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.footer{position:sticky;bottom:0;background:#140e0e;padding:15px 0;border-top:1px solid #332626}.footer .two button{font-size:19px}.total{display:flex;align-items:center;justify-content:space-between;color:#aaa;font-size:12px;margin-bottom:12px}.total b{font-size:25px;color:#f00}.item{border:1px solid #3b3131;border-radius:12px;padding:14px;margin:12px 0}.itemtop{display:flex;justify-content:space-between;align-items:center}.itemtop button{color:#f12c40;border:0;background:none}.itemgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.itemgrid input,.itemgrid select{padding:11px 6px;min-width:0}.itemgrid.three{grid-template-columns:repeat(3,1fr)}.item small{color:#aaa}.calnav{display:flex;align-items:center;justify-content:space-between;gap:8px}.calnav strong{text-align:center}#calgrid{display:grid;grid-template-columns:repeat(7,1fr);margin-top:20px;border-top:1px solid #453737;border-left:1px solid #453737}#calgrid>div{border-right:1px solid #453737;border-bottom:1px solid #453737;min-height:85px;padding:7px;font-size:13px;overflow:hidden}#calgrid .day{background:#241e1e;min-height:40px;font-weight:bold}#calgrid .hit{background:#4c1019;color:white;border-radius:4px;margin-top:4px;padding:3px}#board,#customer{min-height:70vh;text-align:center}h1 span{font-size:14px;color:#159d3c}.jobcard{padding:18px;background:#1b1515;border:1px solid #4c3636;border-radius:12px;margin:12px 0;text-align:left}.jobcard strong{font-size:20px}.jobcard button{margin:5px}.empty{text-align:center;color:#aaa;font-size:28px;font-weight:900;margin-top:24vh}#toast{position:fixed;bottom:16px;left:10px;right:10px;z-index:20;text-align:center;color:white;pointer-events:none}#toast:not(:empty){padding:14px;background:#5d1520;border-radius:10px}@media(max-width:500px){section{padding:16px}.tabs button{font-size:13px}.slot{padding:15px}.slot strong{font-size:18px}.brand strong{font-size:19px}.itemgrid{gap:3px}.itemgrid input,.itemgrid select{font-size:13px;padding:10px 3px}} 

.authlink{background:transparent;border:0;color:#ff5265;text-decoration:underline;padding:8px 0;font-weight:700}#resetMsg,#authmsg{line-height:1.5;overflow-wrap:anywhere}#recoveryHelp{color:#c5bdbd;line-height:1.5}

/* Lovable-inspired reception and workshop displays */
#board,#customer{max-width:1400px;text-align:left;padding:14px;min-height:75vh}
.live-title{font-size:clamp(19px,3vw,30px);font-weight:1000;letter-spacing:-.7px;border-bottom:2px solid #5d0b14;padding-bottom:14px;margin:4px 0 8px}
.live-title span{float:right;font-size:13px;color:#19a64a;letter-spacing:0}.live-sub{font-size:12px;letter-spacing:2px;color:#999;margin:0 0 18px}
.workshop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:12px}.workshop-card{background:#171213;border:1px solid #423537;border-radius:13px;padding:18px;min-height:340px;display:flex;flex-direction:column}.workshop-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.workshop-top strong{font-size:29px;line-height:1.06;overflow-wrap:anywhere}.workshop-top small{color:#a4a4a4}.workshop-card h3{font-size:15px;color:white;margin:16px 0 4px}.work-text{font-size:18px;font-weight:850;white-space:pre-wrap;overflow-wrap:anywhere}.workshop-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:end;gap:8px;flex-wrap:wrap}.state{font-size:12px;font-weight:900;padding:10px 12px;border-radius:9px;background:#646970;color:white;text-transform:uppercase}.state.progress{background:#0875c9}.state.ready{background:#188c37}.pay-status{font-size:11px;color:#aaa}
.reception-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:18px}.reception-card{background:#171213;border:2px solid #3d3234;border-radius:24px;padding:24px}.reception-top{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.numberplate{background:#ffd800;color:#080808;border-radius:9px;box-shadow:0 4px 0 #ae9700;font-size:clamp(24px,4vw,42px);letter-spacing:1px;padding:12px 18px;font-weight:1000}.reception-card h2{font-size:22px;text-transform:uppercase;margin:26px 0 20px}.customer-guidance{color:#d0cccc;font-size:18px;line-height:1.5;min-height:54px}.work-panel{border:1px solid #3e3535;border-radius:17px;padding:20px;margin:24px 0}.work-panel small{display:block;color:#999;font-weight:900;margin-bottom:14px}.work-panel strong{display:block;font-size:20px;white-space:pre-wrap;overflow-wrap:anywhere}.reception-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#999;font-size:13px}.reception-foot b{color:white}
@media(min-width:900px){#customer .reception-card{padding:32px}}

.whatsapp-contact{border:1px solid #42524a;border-radius:12px;padding:14px;margin:14px 0;background:#14231c}.wa-actions{display:flex;flex-wrap:wrap;gap:8px}.wa-button{background:#147d48!important;color:#fff!important;border:1px solid #36a66b!important;border-radius:8px;padding:10px 12px}.whatsapp-contact p{font-size:.9rem}

.stock-sale{border:1px solid #a33;border-radius:12px;padding:14px;margin:12px 0;background:#1b1b1b}.stock-sale select{max-width:100%;margin:8px 0}.stock-sale .item button{margin-left:8px}

.three-pay{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.three-pay input{min-width:0;padding:12px 6px}#paymentEditor{background:#171313;border:1px solid #4a3333;border-radius:12px;padding:16px;margin-top:20px}#paymentEditor button{margin:6px 4px 6px 0}@media(max-width:450px){.three-pay{grid-template-columns:1fr}}

.job-payment{margin:18px 0;padding:14px;border:1px solid #4a3333;border-radius:12px;background:#171313}.eodcards{display:grid;gap:10px;margin:14px 0}.eodcards>*{padding:12px;border:1px solid #4a3333;border-radius:10px;background:#171313}

/* Workshop Admin dashboard matched to the approved Lovable layout */
#dashboard{max-width:900px;padding-top:16px}.tabs{grid-template-columns:repeat(4,1fr);gap:12px}.tabs button{font-size:18px;background:#211b1b;border-color:#453838}.tabs button sup{color:#ff1732;margin-left:4px}.tabs button:nth-child(5){grid-column:span 2}.tabs button:nth-child(6){grid-column:span 2;border-style:dashed;color:#aaa}.lovable-job{border:3px solid #3b3031;border-radius:24px;background:#110e0e;margin:28px 0;padding-top:28px;overflow:hidden}.lovable-top{display:flex;justify-content:space-between;padding:0 30px 16px}.lovable-reg{font-size:40px;letter-spacing:1px}.lovable-vehicle{font-size:25px;letter-spacing:4px;margin:14px 0 3px}.lovable-customer{font-size:22px;color:#aaa;margin:0 0 14px}.slotnum{font-size:25px;color:#aaa}.phone{display:inline-block;text-decoration:none;background:#211c1c;border:1px solid #3b3131;border-radius:8px;color:#eee;padding:10px 14px;font-weight:800}.planned{margin:0 30px 18px;border:1px solid #352c2c;border-radius:16px;padding:20px}.planned>div{display:flex;justify-content:space-between;align-items:center}.planned small{font-size:16px;color:#aaa;font-weight:1000;letter-spacing:1px}.planned b{font-size:25px}.planned em{font-size:12px;color:#aaa;font-style:normal}.planned p{font-size:20px;margin-bottom:0;white-space:pre-wrap}.live-share{border-top:1px solid #352c2c;border-bottom:1px solid #352c2c;padding:18px 30px;font-size:20px;font-weight:800}.live-share p{font-size:14px;color:#aaa;font-weight:400}.card-pay{display:flex;align-items:center;gap:10px;padding:16px 30px;border-bottom:1px solid #352c2c}.card-pay span{font-size:14px;color:#aaa;font-weight:1000;margin-right:2px}.card-pay button{padding:13px 17px;font-size:17px}.card-actions{display:grid;grid-template-columns:repeat(5,1fr)}.card-actions button{border:0;border-right:1px solid #352c2c;border-radius:0;background:transparent;font-size:20px;padding:22px}.card-actions .clear{color:#ff2038}.lovable-empty{margin:22px 0;border-radius:20px;min-height:125px}.lovable-empty strong{font-size:26px}
@media(max-width:650px){.tabs{grid-template-columns:repeat(4,1fr)}.tabs button{font-size:14px;padding:16px 5px}.lovable-job{margin:24px 0}.lovable-top{padding:0 20px 14px}.lovable-reg{font-size:34px}.lovable-vehicle{font-size:22px}.lovable-customer{font-size:18px}.planned{margin:0 20px 15px;padding:17px}.planned p{font-size:17px}.card-pay{padding:14px 20px;gap:7px;overflow-x:auto}.card-pay button{padding:12px 14px;font-size:16px;white-space:nowrap}.live-share{padding:17px 20px}.card-actions button{font-size:18px}.lovable-empty strong{font-size:22px}}

.jobdone{font-weight:900}.lovable-job:has(.jobdone) .jobdone{border-color:#666}

.login-tabs{display:flex;gap:8px;margin:12px 0}.login-tabs button{flex:1}.login-tabs .selected{background:#d71920;color:#fff}.small{font-size:.85rem;opacity:.75}

.archive-day{border:1px solid #3a3030;border-radius:16px;margin:14px 0;background:#0b0b0b;overflow:hidden}.archive-day>summary{cursor:pointer;padding:18px;display:flex;justify-content:space-between;gap:12px;align-items:center}.archive-day>summary span{color:#bbb;font-size:.9rem}.archive-day-list{padding:0 14px 14px}.archive-day-list .jobcard{margin:10px 0}

.home-bottom-actions{margin:28px 0 90px;display:grid;gap:12px}.home-bottom-actions button{width:100%;padding:18px;border-radius:16px;font-weight:800;font-size:18px}.home-bottom-actions #homeArchiveBtn{border:1px solid #5a4a4a;background:#211b1b;color:#fff}.home-bottom-actions #homeStockBtn{background:#ef002b;color:#fff;border:0}#stockSummary{margin:12px 0 18px}#stockList .jobcard{margin:8px 0}

/* TYRES 4 YOU — WHOLE APP UPPERCASE */
html, body, body * { text-transform: uppercase; }
input, textarea, select, button, option, ::placeholder { text-transform: uppercase; }

.card-actions .delete{color:#ff2038;font-weight:900}.card-actions .delete:hover{background:#2a1115}
@media(max-width:650px){.card-actions{grid-template-columns:repeat(2,1fr)}.card-actions .clear{grid-column:span 2}}
/* MAKE / MODEL AUTOCOMPLETE */
input[list]{text-transform:uppercase}
/* MOBILE SEARCHABLE VEHICLE MAKE / MODEL PICKER */
.vehicle-picker-wrap{position:relative;overflow:visible!important}
.vehicle-picker-list{position:absolute;z-index:9999;left:0;right:0;top:100%;max-height:260px;overflow-y:auto;background:#171313;border:2px solid #e30022;border-radius:0 0 14px 14px;box-shadow:0 12px 28px rgba(0,0,0,.65);-webkit-overflow-scrolling:touch}
.vehicle-picker-list[hidden]{display:none!important}
.vehicle-picker-option{display:block;width:100%;padding:16px 18px;border:0;border-bottom:1px solid #3a2d2d;background:#171313;color:#fff;text-align:left;font:inherit;font-weight:800;text-transform:uppercase;touch-action:manipulation}
.vehicle-picker-option:last-child{border-bottom:0}
.vehicle-picker-option:active{background:#e30022}
/* ARCHIVE — MATCH REFERENCE */
.archive-shell{margin:18px 0;border:0;background:transparent}.archive-shell>summary{list-style:none;background:#1b1918;border:2px solid #352d2b;border-radius:28px;padding:26px 34px;font-size:2rem;font-weight:900;cursor:pointer;display:flex;justify-content:space-between}.archive-shell>summary::-webkit-details-marker{display:none}.archive-shell>summary:after{content:'▲';font-size:1.5rem}.archive-shell:not([open])>summary:after{content:'▼'}
.archive-pin-card{max-width:760px;margin:28px auto;background:#100f0e;border:2px solid #352d2b;border-radius:28px;padding:58px 70px;text-align:center}.archive-locked{letter-spacing:.45em;color:#999;font-size:1.45rem;margin-bottom:22px}.archive-pin-card h2{font-size:2rem;margin:0 0 45px}.pin-hidden{position:absolute;opacity:0;pointer-events:none}.pin-boxes{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;max-width:520px;margin:0 auto 48px}.pin-boxes span{height:110px;border:4px solid #3a312f;border-radius:18px;display:grid;place-items:center;font-size:2rem}.pin-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:650px;margin:auto}.pin-keypad button{min-height:130px;border:2px solid #3a312f;border-radius:20px;background:#1b1918;color:#fff;font-size:2.4rem;font-weight:800}.pin-keypad button[data-pin-clear]{font-size:1.55rem}
.archive-top{background:#1b1918;border:2px solid #352d2b;border-radius:26px;padding:26px;margin:28px 0}.archive-top input{width:100%;background:#070707;border:2px solid #3b3331;border-radius:18px;padding:25px 28px;color:#fff;font-size:1.25rem;text-transform:uppercase}.archive-top #lockArchive{float:right;margin-bottom:15px}.archive-select-tools{margin:22px 12px 30px;font-size:1.25rem;font-weight:800}.archive-select-tools input,.day-select input,.archive-invoice-row input{width:38px;height:38px;vertical-align:middle;accent-color:#f00019}.archive-action-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.archive-action-row button{min-height:100px;font-size:1.15rem;font-weight:900}.archive-action-row button:disabled{opacity:.45}
.archive-day{border:2px solid #352d2b;border-radius:22px;margin:18px 0;background:#11100f;overflow:hidden}.archive-day>summary{cursor:pointer;padding:20px 24px;display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(260px,1.4fr) 150px;gap:18px;align-items:center;list-style:none}.archive-day>summary::-webkit-details-marker{display:none}.day-title{font-size:1.55rem;font-weight:900}.day-title em{font-style:normal;color:#aaa;font-weight:500}.day-arrow{font-size:1.7rem}.archive-day[open] .day-arrow{transform:rotate(180deg)}.day-select{font-size:1.1rem;font-weight:800}.archive-export{font-size:1.2rem}.archive-day-list{padding:0 20px 20px}.archive-invoice-row{display:grid;grid-template-columns:50px 1fr auto auto;gap:12px;align-items:center;border-top:1px solid #332b29;padding:16px 4px}.archive-invoice-row strong{font-size:1.2rem}.archive-invoice-row p{margin:4px 0;color:#aaa}
@media(max-width:720px){.archive-pin-card{padding:40px 18px}.pin-boxes{gap:12px}.pin-boxes span{height:82px}.pin-keypad{gap:12px}.pin-keypad button{min-height:95px}.archive-day>summary{grid-template-columns:1fr auto;gap:12px}.day-select{grid-column:1/2}.archive-export{grid-column:2/3;grid-row:2}.archive-action-row{grid-template-columns:1fr 1fr 1fr}.archive-action-row button{font-size:.78rem;padding:10px 4px}.archive-invoice-row{grid-template-columns:40px 1fr}.archive-invoice-row button{grid-column:2}.archive-shell>summary{font-size:1.55rem}}

.archive-mode-help{text-align:center;font-weight:800;letter-spacing:.08em}.archive-mode-badge{display:inline-block;margin:0 0 14px;padding:8px 14px;border:1px solid #d71920;border-radius:8px;font-weight:900}.archive-mode-badge:empty{display:none}

/* LOGIN / PASSWORD SCREENS USE NORMAL LETTER CASE */
#login, #login *, #recovery, #recovery * { text-transform: none !important; }
#login input::placeholder, #recovery input::placeholder { text-transform: none !important; }

/* Compact typography update - keep login normal-sized and readable */
body{font-size:14px}
button{font-size:14px;padding:12px}
header{padding:16px}.brand strong{font-size:19px}.menu{font-size:22px}
h2{font-size:20px}h3{font-size:13px}label{font-size:11px;margin:18px 0 8px}
input,textarea,select{font-size:14px;padding:14px}.tabs button{font-size:14px;padding:14px 5px}
.slot strong{font-size:18px}.slot button{font-size:15px}.jobcard strong{font-size:17px}
.footer .two button{font-size:16px}.total b{font-size:21px}
.live-title{font-size:clamp(17px,2.5vw,25px)}.workshop-top strong{font-size:24px}.work-text{font-size:15px}
.reception-card h2{font-size:18px}.customer-guidance{font-size:15px}.work-panel strong{font-size:17px}
#dashboard .tabs button{font-size:15px}.lovable-reg{font-size:32px}.lovable-vehicle{font-size:20px}.lovable-customer{font-size:17px}.slotnum{font-size:20px}
.planned small{font-size:13px}.planned b{font-size:20px}.planned p{font-size:16px}.live-share{font-size:16px}.card-pay button{font-size:14px}.card-actions button{font-size:16px;padding:18px}.lovable-empty strong{font-size:21px}
.home-bottom-actions button{font-size:15px;padding:15px}
.archive-shell>summary{font-size:1.55rem;padding:20px 26px}.archive-locked{font-size:1.15rem}.archive-pin-card h2{font-size:1.6rem}.pin-keypad button{font-size:2rem}.archive-top input{font-size:1rem}.archive-select-tools{font-size:1rem}.archive-action-row button{font-size:.95rem}.day-title{font-size:1.25rem}.day-select{font-size:.9rem}.archive-export{font-size:1rem}.archive-invoice-row strong{font-size:1rem}
/* Login intentionally not reduced/capitalised */
#auth,#login,.auth-card,.login-card{font-size:16px}#auth input,#login input,.auth-card input,.login-card input{font-size:16px}
@media(max-width:650px){body{font-size:13px}button{font-size:13px}.brand strong{font-size:17px}#dashboard .tabs button{font-size:12px}.lovable-reg{font-size:28px}.lovable-vehicle{font-size:17px}.lovable-customer{font-size:15px}.planned p{font-size:14px}.card-pay button{font-size:12px}.card-actions button{font-size:14px;padding:15px 5px}.archive-shell>summary{font-size:1.3rem}.day-title{font-size:1.05rem}}
/* CLEAR VISUAL STATUS: COMPLETED JOB + RECORDED PAYMENT METHOD */
.lovable-job.is-done{border-color:#218838;box-shadow:0 0 0 1px rgba(33,136,56,.3)}
.lovable-job.is-done .jobdone{background:#198754!important;color:#fff!important;border-color:#2ebd68!important;font-weight:1000}
.card-pay button.pay-selected{background:#198754!important;color:#fff!important;border-color:#2ebd68!important;box-shadow:0 0 0 1px rgba(46,189,104,.25)}

.customer-contact-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #352c2c;border-bottom:1px solid #352c2c}.customer-contact-actions button{border:0;border-radius:0;padding:18px 20px;font-weight:900;font-size:16px}.share-customer{background:#211b1b;color:#fff;border-right:1px solid #352c2c!important}.wa-business{background:#147d48!important;color:#fff!important}.wa-business:active{filter:brightness(1.15)}
@media(max-width:650px){.customer-contact-actions button{padding:16px 10px;font-size:13px}}
.customer-single-job{max-width:760px;margin:24px auto}
.customer-single-job .numberplate{font-size:clamp(30px,8vw,52px)}

/* Archive compact typography */
.archive-shell{font-size:12px}
.archive-shell>summary{font-size:1.05rem;padding:14px 18px}
.archive-locked{font-size:.9rem}
.archive-pin-card h2{font-size:1.15rem}
.archive-pin-card p,.archive-pin-card label{font-size:.82rem}
.pin-keypad button{font-size:1.35rem;padding:10px}
.archive-top input{font-size:.82rem;padding:10px 12px}
.archive-select-tools{font-size:.8rem}
.archive-action-row button{font-size:.76rem;padding:10px 8px}
.day-title{font-size:.95rem}
.day-select{font-size:.75rem}
.archive-export{font-size:.78rem;padding:9px 11px}
.archive-invoice-row,.archive-invoice-row strong{font-size:.8rem}
.archive-invoice-row small,.archive-invoice-row p{font-size:.74rem}
@media(max-width:650px){.archive-shell{font-size:11px}.archive-shell>summary{font-size:1rem;padding:12px 14px}.day-title{font-size:.9rem}.archive-action-row button{font-size:.7rem}.archive-invoice-row,.archive-invoice-row strong{font-size:.76rem}}
/* ARCHIVE EXTRA-COMPACT MOBILE LAYOUT */
@media(max-width:650px){
 .archive-top{padding:14px;margin:14px 0;border-radius:18px}
 .archive-top #lockArchive{font-size:10px;padding:9px 12px;margin-bottom:9px}
 .archive-top input{font-size:10px;padding:9px 11px;border-radius:12px}
 .archive-select-tools{font-size:10px;margin:12px 6px 14px}
 .archive-select-tools input,.day-select input,.archive-invoice-row input{width:25px;height:25px}
 .archive-action-row{gap:8px;margin-top:10px}
 .archive-action-row button{min-height:58px;font-size:9px!important;line-height:1.15;padding:7px 3px;border-radius:10px}
 .archive-day{margin:10px 0;border-radius:16px}
 .archive-day>summary{padding:12px 14px;gap:7px}
 .day-title{font-size:12px!important}
 .day-arrow{font-size:13px}
 .day-select{font-size:9px!important}
 .archive-export{font-size:10px!important;padding:8px 10px;border-radius:9px}
 .archive-day-list{padding:0 10px 10px}
 .archive-invoice-row,.archive-invoice-row strong{font-size:10px!important}
 .archive-invoice-row small,.archive-invoice-row p{font-size:9px!important}
}
/* Extra compact archive PIN keypad on mobile */
@media(max-width:720px){
 .archive-pin-card{max-width:390px;margin:12px auto;padding:18px 14px;border-radius:18px}
 .archive-pin-card h2{font-size:.9rem;margin:0 0 16px}
 .archive-locked{font-size:.78rem;margin-bottom:10px;letter-spacing:.2em}
 .pin-boxes{gap:8px;max-width:280px;margin:0 auto 18px}
 .pin-boxes span{height:54px;border-width:2px;border-radius:12px;font-size:1.15rem}
 .pin-keypad{gap:8px;max-width:310px}
 .pin-keypad button{min-height:58px;border-width:1px;border-radius:12px;font-size:1.15rem;padding:5px}
 .pin-keypad button[data-pin-clear]{font-size:.82rem}
}
.invoice-state{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:6px;font-size:9px;font-weight:900;background:#7d0010;color:#fff}.archive-invoice-row.is-invoiced .invoice-state{background:#166534}.archive-invoice-row.is-uninvoiced{border-left:3px solid #d71920;padding-left:7px}

/* Empty workshop slots: whole card is tappable */
.lovable-empty{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:rgba(237,0,28,.18)}
.lovable-empty:active,.lovable-empty:focus-visible{border-color:#ed001c;background:#160d0e;outline:none}

/* NEW JOB SCREEN — MATCH MOBILE REFERENCE */
#form{max-width:720px;background:#120d0d;border:1px solid #392e2e;border-radius:24px;padding:0 30px 30px;margin-top:18px}
#form .formhead{margin:0 -30px;padding:22px 30px 16px}
#form .formhead h2{margin:0;color:#fff;text-transform:none;font-size:25px}
#form .formhead button{text-transform:none;color:#aaa;font-size:18px}
#form label{font-size:14px;margin-top:22px}
#form input,#form textarea{border-radius:14px;padding:18px 22px;font-size:18px}
#form textarea[name=work_required]{min-height:145px}
#form textarea[name=notes]{min-height:130px}
#form .outline{min-height:68px;border-radius:14px;font-size:16px}
#form h3{font-size:15px}
@media(max-width:650px){#form{margin:10px 10px 24px;padding:0 20px 24px;border-radius:22px}#form .formhead{margin:0 -20px;padding:20px 20px 14px}#form .formhead h2{font-size:22px}#form .formhead button{font-size:17px}#form label{font-size:13px}#form input,#form textarea{font-size:17px;padding:17px 18px}#form .two{gap:12px}#form .outline{font-size:15px;padding:12px 8px}}

/* Compact payment confirmation */
.confirm-payment-small{width:auto!important;display:inline-block!important;padding:8px 12px!important;font-size:12px!important;min-height:0!important;margin-top:6px!important}
#invoicePaymentMethods button.selected{background:#198754!important;color:#fff!important;border-color:#2ebd68!important}
.card-pay button.pay-pending{background:#5b4511!important;color:#fff!important;border-color:#d7a91e!important;box-shadow:0 0 0 1px rgba(215,169,30,.3)}
.card-pay .confirm-card-payment{font-size:10px!important;padding:8px 10px!important;line-height:1.1;background:#198754!important;border-color:#2ebd68!important;color:#fff!important;white-space:nowrap}
@media(max-width:650px){.card-pay{flex-wrap:wrap}.card-pay .confirm-card-payment{font-size:9px!important;padding:7px 8px!important}}

.card-pay .undo-card-payment{font-size:10px!important;padding:8px 10px!important;line-height:1.1;background:#3a3030!important;border-color:#756565!important;color:#fff!important;white-space:nowrap}
@media(max-width:650px){.card-pay .undo-card-payment{font-size:9px!important;padding:7px 8px!important}}

.absence-panel{padding:16px;border:1px solid #4d3434;border-radius:12px;background:#181414;margin:16px 0}.absence-panel label,#absence>label{display:block;margin:12px 0}.absence-panel input,.absence-panel select,.absence-panel textarea,#absenceFilter{display:block;width:100%;margin-top:6px;padding:12px;background:#252020;color:#fff;border:1px solid #625252;border-radius:8px}.absence-warning{color:#ffcb85}.absence-record{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;margin:10px 0;background:#201919;border:1px solid #443434;border-radius:10px}.absence-record p{margin:5px 0;overflow-wrap:anywhere}.absence-delete{background:#50202a}
/* Always-visible navigation boxes, positioned above the red divider */
header{position:relative;top:auto;border-bottom:0;padding-bottom:12px}
#menuBtn{display:none!important}
nav#menu,nav#menu[hidden]{display:grid!important;position:relative;inset:auto;top:auto;right:auto;left:auto;z-index:1;max-width:none;width:100%;margin:0;padding:12px 18px 18px;background:#090707;border:0;border-bottom:4px solid #b90019;border-radius:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
nav#menu button{display:flex;align-items:center;justify-content:center;min-height:57px;width:100%;padding:12px 8px;border:2px solid #ed001c;border-radius:12px;background:#ba0019;color:#fff;text-align:center;font-size:14px;font-weight:900;text-transform:uppercase;line-height:1.2;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 7px #45000b}
nav#menu button:hover,nav#menu button:focus-visible{background:#f00024;border-color:#ff6675;outline:2px solid #fff;outline-offset:1px}
nav#menu button:active{background:#850012}
@media(max-width:650px){nav#menu,nav#menu[hidden]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px 15px}nav#menu button{font-size:12px;min-height:54px;padding:9px 5px}}

/* Compact red menu: slim, evenly sized buttons above divider */
nav#menu,nav#menu[hidden]{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;padding:7px 12px 9px!important}
nav#menu button{min-height:34px!important;padding:6px 5px!important;border-width:1px!important;border-radius:6px!important;font-size:10px!important;line-height:1.15!important;box-shadow:none!important;letter-spacing:0!important}
header{padding-bottom:0!important}
@media(max-width:850px){nav#menu,nav#menu[hidden]{grid-template-columns:repeat(4,minmax(0,1fr))!important}nav#menu button{font-size:10px!important;min-height:36px!important}}
@media(max-width:550px){nav#menu,nav#menu[hidden]{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:6px 7px 8px!important}nav#menu button{font-size:9px!important;min-height:38px!important;padding:5px 3px!important}}

/* Reference photograph: horizontal top controls, charcoal full-width workshop cards */
body{background:#202329;color:#f5f5f5;font-size:14px}
header{background:#343b48!important;border:0!important;padding:9px 14px!important;min-height:65px}
.brand{gap:10px}.brand strong{font-size:15px;font-style:normal;letter-spacing:0}.logo{font-size:8px;padding:6px 5px;box-shadow:none;border-color:#8d6269}
nav#menu,nav#menu[hidden]{display:flex!important;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px!important;background:#343b48!important;border:0!important;padding:7px 12px!important}
nav#menu button{flex:0 1 auto!important;width:auto!important;min-height:34px!important;background:#4a4b50!important;border:1px solid #73747a!important;color:white!important;border-radius:5px!important;padding:7px 11px!important;text-transform:none!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
nav#menu button:hover,nav#menu button:focus-visible{background:#e73525!important;border-color:#f86455!important}
nav#menu button[data-view="customer"],nav#menu button[data-view="eod"]{background:#e83b28!important;border-color:#f95a4c!important}
main>section{max-width:1480px;width:100%;padding:10px 24px}
#app{max-width:none!important}#tabs{max-width:none}.tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding-bottom:10px;border-bottom:2px solid #bb2430}
.tabs button,.tabs button:nth-child(5),.tabs button:nth-child(6){grid-column:auto!important;min-height:39px!important;padding:7px 5px!important;font-size:12px!important;background:#51535a;border:1px solid #8d8e93;border-radius:5px}
.tabs button.selected{background:#ed3026!important;border-color:#fb564a!important}
.reference-card{padding:12px 16px;background:#3c3d42;border:1px solid #88878a;border-radius:8px;margin:10px 0;min-height:220px;text-align:left}
.reference-card .lovable-top{display:flex;justify-content:space-between;align-items:start}.reference-card .lovable-reg{font-size:22px;color:white}.reference-card .lovable-vehicle{font-size:13px;font-weight:800;margin:4px 0}.reference-card .lovable-customer{font-size:12px;margin:2px 0}.reference-card .phone{display:inline-block;background:#555760;padding:5px 9px;color:#fff;border-radius:4px;font-size:11px}.reference-card .slotnum{font-size:13px;color:white}
.reference-work{font-size:14px;font-weight:800;margin:10px 0}.reference-status{display:flex;align-items:center;gap:8px;margin:7px 0}.status-pill{background:#849b92;color:white;border-radius:4px;padding:5px 8px;font-size:11px;font-weight:800}.reference-status small{font-size:10px;color:#ccc}
.reference-status-actions{display:flex;flex-wrap:wrap;gap:5px}.reference-status-actions button,.reference-card .card-pay button{font-size:11px!important;padding:6px 9px!important;border-radius:4px!important;background:#55565d;border:1px solid #797a80;min-height:0!important}.reference-status-actions button:hover{background:#dd3c2f}
.reference-share{border-top:1px solid #88878a;margin-top:9px;padding-top:5px}.reference-share button{background:transparent;border:0;padding:4px 0;color:#f3f3f3;text-decoration:underline;font-size:12px}
.reference-card .card-pay{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:5px 0 7px}.reference-card .card-pay span{font-size:10px;margin-right:5px}.reference-card .card-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid #85858a}.reference-card .card-actions button{border:0;border-right:1px solid #85858a;border-radius:0;background:transparent;font-size:12px;padding:11px 4px}.reference-card .card-actions button.clear{color:#ff524b}.reference-card .card-actions button.delete{color:#d7a4a4}
.slot{min-height:85px;background:#383b40;border-color:#6a6a6d;border-radius:8px}.slot strong{font-size:16px}.slot button{font-size:13px}
@media(max-width:800px){nav#menu,nav#menu[hidden]{justify-content:center}.tabs{grid-template-columns:repeat(3,minmax(0,1fr))}main>section{padding:10px}.reference-card{padding:12px}.reference-card .card-actions{grid-template-columns:repeat(2,1fr)}}

/* Black, compact full-width workshop job cards; direct share and WhatsApp controls */
.reference-card{background:#111214!important;border:1px solid #52565c!important;box-shadow:none!important;color:#f7f7f7!important;min-height:210px!important}
.reference-card .lovable-reg{color:#fff!important}.reference-card .lovable-vehicle,.reference-card .lovable-customer,.reference-card .reference-work{color:#f5f5f5!important}
.reference-card .phone{background:#242629!important;border:1px solid #484c50!important}
.reference-card .reference-status-actions button,.reference-card .card-pay button{background:#232528!important;border-color:#53575d!important;color:#fff!important}
.reference-card .reference-share{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 14px;border-color:#484b50!important;padding:9px 0!important}
.reference-card .reference-share button{display:inline-flex!important;align-items:center;justify-content:center;min-height:34px!important;background:#202225!important;border:1px solid #62676d!important;border-radius:5px!important;padding:7px 11px!important;color:white!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
.reference-card .reference-share button[data-whatsapp-customer]{background:#14532d!important;border-color:#218a4a!important;color:#fff!important}
.reference-card .reference-share button:focus-visible{outline:3px solid #fff!important;outline-offset:2px!important}
.reference-card .card-actions{border-color:#51545a!important}.reference-card .card-actions button{color:#fff!important;border-color:#51545a!important}
.reference-card .card-actions button.clear{color:#ff5a52!important}
@media(max-width:600px){.reference-card .reference-share{gap:7px}.reference-card .reference-share button{flex:1 1 145px;font-size:11px!important;padding:8px 5px!important}}

/* TYRES 4 YOU: deep black theme, red highlights; keep all existing functionality */
html,body{background:#050505!important;color:#f7f7f7!important}
header{background:#090909!important;border-bottom:1px solid #252525!important}
nav#menu,nav#menu[hidden]{background:#090909!important;border-bottom:1px solid #b91b27!important}
nav#menu button{background:#151515!important;border:1px solid #3d3d3d!important;color:#fff!important}
nav#menu button[data-view="customer"],nav#menu button[data-view="eod"],nav#menu button.selected{background:#c91d23!important;border-color:#e53b3b!important}
nav#menu button:hover{background:#a51a22!important}
main,main>section,#app,#dashboard,#board,#customer{background:#050505!important}
.tabs button,.tabs button:nth-child(5),.tabs button:nth-child(6){background:#171717!important;border:1px solid #414141!important;color:#fff!important}
.tabs button.selected{background:#d82129!important;border-color:#e72b32!important}
.slot,.lovable-empty{background:#0b0b0b!important;border-color:#343434!important}
.slot strong{color:#d0d0d0!important}
.reference-card,.lovable-job,.jobcard,.workshop-card,.reception-card{background:#0c0c0c!important;border-color:#383838!important;color:#f7f7f7!important}
.reference-card .reference-status-actions button,.reference-card .card-pay button,.reference-card .reference-share button,.reference-card .phone{background:#191919!important;border-color:#444!important}
.reference-card .reference-share button[data-whatsapp-customer]{background:#14532d!important;border-color:#218a4a!important}
.reference-card .card-actions{border-color:#3b3b3b!important}
.reference-card .card-actions button{background:#101010!important;border-color:#393939!important}
.archive-shell>summary,.archive-top,.archive-day,.archive-pin-card,.archive-day>summary,.absence-panel,.absence-record,.eodcards>*,.job-payment,.stock-sale{background:#101010!important;border-color:#343434!important}
input,textarea,select,.absence-panel input,.absence-panel select,.absence-panel textarea{background:#141414!important;border-color:#424242!important;color:#fff!important}
button:not(.red):not(.selected):not(.clear):not([data-whatsapp-customer]){box-shadow:none}
@media(max-width:650px){nav#menu,nav#menu[hidden]{background:#080808!important}}

.booking-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.booking-actions button{padding:9px 16px;background:#181818;color:#fff;border:1px solid #444;border-radius:6px}.booking-actions button.red{background:#e22227}.cal-absence{color:#ff7878;font-weight:700}.absence-calendar{border-left:4px solid #e22227;background:#0b0b0b}

/* Full-width workshop job cards and explicit selection/confirmation */
#app,#board,#dashboard,#tabs,main,main>section{max-width:none!important;width:100%!important}
#board,#dashboard,main>section{margin-left:0!important;margin-right:0!important}
#board{padding:10px 16px!important}
#board .reference-card,#board .lovable-job,#board .slot,#board .lovable-empty{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
#board .reference-card{background:#080808!important;border-color:#333!important}
.reference-status-actions .status-picked{background:#e3222b!important;color:#fff!important;border:2px solid #ff6166!important;box-shadow:0 0 0 2px rgba(227,34,43,.24)!important}
.reference-status-actions .status-confirm{background:#e3222b!important;color:#fff!important;border:2px solid #ff6d73!important;font-weight:900!important;letter-spacing:.03em;min-width:150px!important}
.reference-status-actions .status-confirm:disabled{background:#1a1a1a!important;color:#888!important;border-color:#333!important;opacity:.8;cursor:not-allowed}
.reference-status-actions [data-status]:focus-visible,.reference-status-actions .status-confirm:focus-visible{outline:3px solid white!important;outline-offset:2px!important}
@media(max-width:650px){#board{padding:8px!important}.reference-status-actions .status-confirm{flex:1 1 100%!important}}

/* Calendar booking to workshop board */
#caljobs .move-board-btn{background:#e52926!important;color:#fff!important;border:1px solid #f33!important;font-weight:800;margin-top:10px;min-height:42px;padding:10px 16px;border-radius:8px}#caljobs .move-board-btn:disabled{opacity:.6;cursor:wait}

/* Saved status stays highlighted after refresh and on other devices. */
.reference-card .reference-status-actions button.status-saved{background:#13652e!important;color:#fff!important;border:2px solid #4ade80!important;box-shadow:0 0 0 2px rgba(74,222,128,.16)!important;font-weight:900!important}
.reference-card .status-confirmed-note{margin:7px 0 10px;padding:8px 12px;background:#0e2819;border:1px solid #287e47;border-radius:6px;color:#86efac;font-weight:850;font-size:13px;letter-spacing:.02em}
.reference-card .status-confirmed-note.pending{background:#291c0a;border-color:#a16207;color:#fbbf24}

#company{max-width:950px;margin:auto;padding:20px}#company .company-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#company .company-form h3,#company .company-next,#company .company-form>button{grid-column:1/-1}#company .company-form label{display:flex;flex-direction:column;gap:7px}#company input,#company textarea,#company select{background:#111;color:white;border:1px solid #555;border-radius:8px;padding:12px;max-width:100%;width:100%}#company input[type=checkbox]{width:24px;accent-color:#e11}#company .company-next{border:1px solid #555;border-radius:10px;padding:14px}#company .company-next strong{color:#f33}@media(max-width:600px){#company .company-form{grid-template-columns:1fr}}

/* Expanded archive cards matching the Workshop Admin archive reference */
.archive-day-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:14px;padding:14px!important}
.archive-job-card{background:#171313;border:1px solid #423737;border-radius:17px;padding:20px 18px;color:#f5f5f5;min-width:0}
.archive-job-title{display:flex;align-items:center;gap:15px;font-size:22px;font-weight:900}.archive-job-title input{width:28px;height:28px;flex:none}
.archive-job-vehicle{font-size:17px;font-weight:700;margin:10px 0 4px}.archive-job-customer{color:#a8a8a8;font-size:14px;margin-bottom:15px}
.archive-planned{border:1px solid #383030;background:#1b1818;border-radius:14px;padding:17px;margin:12px 0}.archive-planned-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:900}.archive-planned-head>span{color:#aaa;letter-spacing:1px;font-size:13px}.archive-planned-head b{white-space:nowrap;font-size:18px}.archive-planned-head small{font-size:10px;color:#aaa}.archive-planned p{font-size:15px!important;margin:14px 0 0;white-space:pre-wrap}.archive-job-meta{color:#a3a3a3;font-size:12px;margin:12px 0}.archive-job-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.archive-job-badges span{padding:9px 12px;border-radius:8px;border:1px solid #3e3434;font-size:12px;font-weight:700}.archive-job-invoice{width:100%;background:#ed0017!important;color:white!important;border:0!important;padding:17px!important;border-radius:8px;font-size:17px!important;font-weight:900}.archive-job-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.archive-job-buttons button{font-size:15px!important;padding:14px!important;border:1px solid #413939;border-radius:8px;background:#211b1b;color:#fff}.archive-job-buttons .archive-delete{color:#fa3646;border-color:#6d202b}.archive-day>summary{flex-wrap:wrap}.archive-day>summary .day-title{font-size:17px;font-weight:900}.archive-day>summary .day-select{font-size:12px}
@media(max-width:650px){.archive-day-list{grid-template-columns:1fr}.archive-job-card,.archive-job-card strong{font-size:16px!important}.archive-job-title strong{font-size:23px!important}.archive-job-vehicle{font-size:17px!important}.archive-planned p{font-size:15px!important}.archive-day>summary .day-title{font-size:16px!important}}

/* Workshop job cards — spacious black/red reference layout */
#slots .reference-card{background:#171313!important;border:2px solid #413737!important;border-radius:22px!important;padding:22px 24px 0!important;margin:18px 0 24px!important;overflow:hidden!important;box-shadow:none!important}
#slots .reference-card .lovable-top{padding:0 6px 8px!important;display:flex!important;justify-content:space-between!important}
#slots .reference-card .lovable-reg{font-size:38px!important;font-weight:1000!important;line-height:1.2!important}
#slots .reference-card .lovable-vehicle{font-size:22px!important;font-weight:800!important;margin:9px 0!important}
#slots .reference-card .lovable-customer{font-size:16px!important;color:#aaa!important;margin:7px 0!important}
#slots .reference-card .slotnum{font-size:17px!important;color:#aaa!important}
#slots .reference-card .phone{font-size:15px!important;font-weight:800!important;padding:9px 12px!important;border-radius:8px!important}
#slots .reference-planned{margin:14px 0 12px;padding:20px 22px;border:1px solid #342b2b;border-radius:16px;background:#141111}
#slots .reference-planned-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#slots .reference-planned-head span{font-size:14px;letter-spacing:1px;font-weight:1000;color:#aaa}
#slots .reference-planned-head b{font-size:24px;color:#fff;white-space:nowrap}
#slots .reference-planned-head small{font-size:11px;color:#aaa}
#slots .reference-planned p{font-size:19px;font-weight:650;white-space:pre-wrap;margin:12px 0 0}
#slots .reference-ready{font-size:14px;color:#aaa;margin:14px 6px 6px}
#slots .reference-status{margin:12px 6px!important}
#slots .reference-status .status-pill{background:#16a34a;color:#06150b;font-size:16px;font-weight:1000;padding:10px 16px;border-radius:7px}
#slots .reference-card:not(.is-done) .status-pill{background:#3b3b3b;color:#fff}
#slots .reference-status-actions{gap:8px!important;margin:10px 0!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:6px}
#slots .reference-status-actions button{font-size:15px!important;font-weight:850!important;padding:12px 14px!important;white-space:nowrap!important;border-radius:8px!important}
#slots .reference-status-actions .status-confirm{min-width:135px!important}
#slots .reference-share{display:block!important;border-top:1px solid #3a3030!important;border-bottom:1px solid #3a3030!important;margin:14px -24px 0!important;padding:0 24px!important}
#slots .reference-share summary{cursor:pointer;padding:17px 0;font-size:18px;font-weight:900;list-style:none;display:flex;justify-content:space-between}
#slots .reference-share summary:after{content:'▼';color:#aaa}
#slots .reference-share[open] summary:after{content:'▲'}
#slots .reference-share-options{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 14px}
#slots .reference-card .card-pay{padding:17px 0!important;gap:9px!important;overflow-x:auto!important}
#slots .reference-card .card-pay button{font-size:15px!important;font-weight:850!important;padding:12px 16px!important;border-radius:8px!important}
#slots .reference-card .card-pay button.pay-selected{background:#e60012!important;border-color:#e60012!important}
#slots .reference-card .card-actions{margin:0 -24px!important;border-top:1px solid #3a3030!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important}
#slots .reference-card .card-actions button{font-size:18px!important;font-weight:900!important;padding:19px 8px!important;border-right:1px solid #3a3030!important}
#slots .reference-card .card-actions .clear{color:#e60012!important}
#slots .reference-card .card-actions .delete{grid-column:span 2!important}
@media(max-width:650px){#slots .reference-card{padding:20px 18px 0!important}#slots .reference-card .lovable-reg{font-size:35px!important}#slots .reference-planned{padding:16px 17px}#slots .reference-planned-head b{font-size:21px}#slots .reference-planned p{font-size:17px}#slots .reference-share{margin-left:-18px!important;margin-right:-18px!important;padding:0 18px!important}#slots .reference-card .card-actions{margin:0 -18px!important}#slots .reference-card .card-actions button{font-size:16px!important}}

/* Compact job-card footer and payment reversal */
.lovable-job .card-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #332e2e!important}
.lovable-job .card-actions button{min-width:0!important;min-height:65px!important;padding:12px 5px!important;text-align:center!important;font-weight:800!important;text-transform:uppercase!important;font-size:clamp(12px,3.3vw,17px)!important;border-radius:0!important;background:#131111!important;color:white!important;border:1px solid #332e2e!important}
.lovable-job .card-actions button[data-act="delete"]{grid-column:1/-1!important;color:#ef2335!important;background:#100d0d!important}
.lovable-job .card-actions button[data-act="clear"]{color:white!important}
.lovable-job .card-pay .undo-confirmed-payment{background:#272222!important;color:#fff!important;border:1px solid #d33!important;flex-basis:100%!important;margin-top:6px!important}

.payment-date-confirm{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;border:1px solid #3d3434;border-radius:9px;background:#211c1c}
.payment-date-confirm[hidden]{display:none!important}
.payment-date-confirm label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:#aaa}
.payment-date-confirm input[type=date]{color:#fff;background:#100e0e;border:1px solid #484040;border-radius:6px;padding:10px;max-width:175px;color-scheme:dark}
.payment-date-confirm button[data-confirm-card-pay]{background:#e00019;color:white;font-weight:800}
.payment-date-confirm button[data-cancel-card-pay]{background:#151313;color:white}

.pin-unlock{max-width:420px;margin:40px auto;padding:26px;background:#171717;border:1px solid #4b3a3a;border-radius:14px;text-align:center}.pin-unlock h2{color:#fff}.pin-unlock input{font-size:30px;text-align:center;letter-spacing:12px;width:170px;max-width:100%;margin:18px auto;color:#fff;background:#111;border:1px solid #777;padding:12px}.pin-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.pin-actions button{padding:12px}.pin-unlock #pinError{color:#ff7777}
