:root{--sitemd-bg:#f5f7fb;--sitemd-sidebar:#101827;--sitemd-sidebar-2:#182235;--sitemd-card:#fff;--sitemd-text:#111827;--sitemd-muted:#6b7280;--sitemd-line:#e5e7eb;--sitemd-primary:#6366f1;--sitemd-primary-dark:#4f46e5;--sitemd-green:#10b981;--sitemd-amber:#f59e0b;--sitemd-blue:#3b82f6;--sitemd-purple:#8b5cf6;--sitemd-red:#ef4444;--sitemd-radius:18px;--sitemd-shadow:0 18px 45px rgba(15,23,42,.08)}
.sitemd-app{display:flex;min-height:82vh;background:var(--sitemd-bg);border-radius:24px;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sitemd-text);box-shadow:var(--sitemd-shadow)}
.sitemd-sidebar{width:274px;background:linear-gradient(180deg,var(--sitemd-sidebar),var(--sitemd-sidebar-2));padding:22px 16px;color:#fff;flex:0 0 274px}.sitemd-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;padding:8px}.sitemd-logo{width:42px;height:42px;border-radius:14px;background:#fff;color:var(--sitemd-primary);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;box-shadow:0 10px 30px rgba(99,102,241,.35)}.sitemd-brand strong{display:block;font-size:19px;line-height:1}.sitemd-brand span{display:block;color:#9ca3af;font-size:12px;margin-top:4px}.sitemd-sidebar nav{display:flex;flex-direction:column;gap:7px}.sitemd-sidebar a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:14px;color:#cbd5e1;text-decoration:none;font-weight:650;transition:.18s ease}.sitemd-sidebar a:hover,.sitemd-sidebar a.active{background:rgba(255,255,255,.11);color:#fff}.sitemd-sidebar svg{width:20px;height:20px;stroke-width:2;fill:none;stroke:currentColor}
.sitemd-main{flex:1;padding:26px;overflow:auto}.sitemd-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.sitemd-eyebrow{margin:0 0 3px;color:var(--sitemd-primary);font-size:12px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}.sitemd-topbar h1{font-size:30px;line-height:1.15;margin:0;font-weight:850}.sitemd-user-pill{display:flex;align-items:center;gap:9px;padding:10px 14px;background:#fff;border:1px solid var(--sitemd-line);border-radius:999px;box-shadow:0 8px 25px rgba(15,23,42,.05);font-weight:700}.sitemd-user-pill svg{width:18px;height:18px;fill:none;stroke:currentColor}
.sitemd-card{background:var(--sitemd-card);border:1px solid rgba(226,232,240,.9);border-radius:var(--sitemd-radius);box-shadow:var(--sitemd-shadow);padding:22px;margin-bottom:20px}.sitemd-card h2{font-size:22px;margin:0 0 7px;font-weight:850}.sitemd-card p{color:var(--sitemd-muted);line-height:1.55}.sitemd-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.sitemd-grid{display:grid;gap:16px}.sitemd-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.sitemd-stat{padding:21px;border-radius:22px;color:#fff;box-shadow:0 16px 40px rgba(15,23,42,.10)}.sitemd-stat span{display:block;opacity:.9;font-weight:700}.sitemd-stat strong{font-size:34px;display:block;margin-top:8px}.sitemd-stat.purple{background:linear-gradient(135deg,#8b5cf6,#6366f1)}.sitemd-stat.amber{background:linear-gradient(135deg,#f59e0b,#f97316)}.sitemd-stat.blue{background:linear-gradient(135deg,#3b82f6,#06b6d4)}
.sitemd-job-list{display:flex;flex-direction:column;gap:16px}.sitemd-job-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:18px}.sitemd-job-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}.sitemd-job-card h3,.sitemd-material-card h3,.sitemd-vehicle-card h3,.sitemd-rate-card h3{margin:0 0 5px;font-size:17px;font-weight:850}.sitemd-job-card p{margin:0;color:var(--sitemd-muted)}.sitemd-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:850;text-transform:capitalize}.sitemd-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sitemd-mini-panel{background:#fff;border:1px solid var(--sitemd-line);border-radius:18px;padding:15px}.sitemd-mini-panel h4{font-size:14px;text-transform:uppercase;letter-spacing:.06em;color:#334155;margin:0 0 12px}.sitemd-check-row,.sitemd-material-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #f1f5f9}.sitemd-check-row:first-of-type,.sitemd-material-row:first-of-type{border-top:0}.sitemd-check-row div{flex:1}.sitemd-check-row strong,.sitemd-material-row strong{display:block;font-size:14px}.sitemd-check-row span,.sitemd-material-row span{display:block;color:var(--sitemd-muted);font-size:12px;margin-top:3px}.sitemd-check{width:32px;height:32px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.sitemd-check.done{background:#dcfce7;color:#15803d;border-color:#86efac}.sitemd-check svg{width:16px;height:16px;fill:none;stroke:currentColor}.sitemd-text-danger{border:0;background:#fee2e2;color:#b91c1c;border-radius:10px;padding:7px 10px;cursor:pointer}
.sitemd-inline-form,.sitemd-filterbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.sitemd-inline-form input,.sitemd-filterbar input,.sitemd-quote-form input,.sitemd-quote-form select,.sitemd-quote-form textarea,.sitemd-rate-card input,.sitemd-fuel-form input{border:1px solid #dbe3ee;border-radius:12px;padding:10px 12px;background:#fff;min-height:42px}.sitemd-inline-form button,.sitemd-filterbar button,.sitemd-quote-form button,.sitemd-rate-card button,.sitemd-fuel-form button,.sitemd-material-row button{border:0;background:var(--sitemd-primary);color:#fff;border-radius:12px;padding:10px 14px;font-weight:850;cursor:pointer}.sitemd-material-row button{background:#111827;padding:8px 11px}
.sitemd-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.sitemd-tabs a{padding:9px 14px;border-radius:999px;border:1px solid #dbe3ee;background:#fff;color:#334155;text-decoration:none;font-weight:800}.sitemd-tabs a.active{background:#111827;color:#fff;border-color:#111827}.sitemd-material-grid,.sitemd-fleet-grid,.sitemd-rate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sitemd-material-card,.sitemd-vehicle-card,.sitemd-rate-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:17px}.sitemd-fuel-form{display:grid;gap:8px;margin-top:14px}.sitemd-fuel-form h4{margin:0;font-size:14px}.sitemd-fuel-form small{color:var(--sitemd-muted)}.sitemd-quote-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:16px}.sitemd-quote-form label{display:grid;gap:6px;font-weight:800}.sitemd-quote-form textarea{grid-column:1/-1;min-height:100px}.sitemd-quote-form button{grid-column:1/-1}.sitemd-rate-card{display:grid;gap:12px}.sitemd-rate-row{display:grid;grid-template-columns:110px 1fr 1fr;gap:8px;align-items:center}.sitemd-toolbox .sitemd-tagline{font-size:17px;font-weight:850;color:#111827;background:#eef2ff;border:1px solid #c7d2fe;border-radius:16px;padding:13px 15px}.sitemd-muted{color:var(--sitemd-muted)!important}.sitemd-login-required{padding:20px;background:#fff;border:1px solid #e5e7eb;border-radius:16px}
@media(max-width:1000px){.sitemd-app{display:block}.sitemd-sidebar{width:auto;position:relative}.sitemd-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sitemd-stats,.sitemd-two-col,.sitemd-material-grid,.sitemd-fleet-grid,.sitemd-rate-list,.sitemd-quote-form{grid-template-columns:1fr}.sitemd-main{padding:18px}.sitemd-topbar{align-items:flex-start;gap:12px;flex-direction:column}.sitemd-rate-row{grid-template-columns:1fr}}
/* SiteMD 5.0.1 requested refinements */
.sitemd-top-actions{display:flex;align-items:center;gap:12px}.sitemd-bell{position:relative;width:44px;height:44px;border-radius:999px;background:#fff;border:1px solid var(--sitemd-line);display:flex;align-items:center;justify-content:center;color:#111827;text-decoration:none;box-shadow:0 8px 25px rgba(15,23,42,.05)}.sitemd-bell svg{width:20px;height:20px;fill:none;stroke:currentColor}.sitemd-bell span{position:absolute;top:-6px;right:-4px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center}.sitemd-job-create-panel{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:20px;padding:16px;margin:16px 0}.sitemd-job-create-panel h3,.sitemd-quote-materials h3,.sitemd-recent-quotes h3,.sitemd-password-form h3{margin:0 0 8px;font-size:17px;font-weight:850}.sitemd-job-create-panel label,.sitemd-password-form label{display:grid;gap:6px;font-weight:800}.sitemd-job-create-panel input,.sitemd-job-create-panel select,.sitemd-password-form input{border:1px solid #dbe3ee;border-radius:12px;padding:10px 12px;background:#fff;min-height:42px}.sitemd-quote-materials{grid-column:1/-1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:15px}.sitemd-add-quote-material,.sitemd-small-button{border:0;background:#111827;color:#fff;border-radius:12px;padding:10px 14px;font-weight:850;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.sitemd-quote-material-row{display:grid;grid-template-columns:1.4fr 1fr .45fr .7fr auto;gap:8px;margin-top:9px}.sitemd-quote-material-row select,.sitemd-quote-material-row input{border:1px solid #dbe3ee;border-radius:12px;padding:10px 12px;background:#fff}.sitemd-remove-row{border:0;background:#fee2e2;color:#b91c1c;border-radius:12px;padding:10px 12px;font-weight:800;cursor:pointer}.sitemd-recent-quotes{grid-column:1/-1;margin-top:18px;display:grid;gap:10px}.sitemd-recent-quote{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:13px}.sitemd-recent-quote span{color:var(--sitemd-muted);font-size:13px;display:block;margin-top:3px}.sitemd-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:18px}.sitemd-flow-step{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:14px;min-height:92px}.sitemd-flow-step span{width:30px;height:30px;border-radius:999px;background:#6366f1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:10px}.sitemd-flow-step strong{font-size:14px}.sitemd-enquiry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.sitemd-profile-card{display:flex;align-items:center;gap:14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:15px;margin:14px 0}.sitemd-user-avatar{width:54px;height:54px;border-radius:18px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px}.sitemd-password-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:15px}.sitemd-password-form h3{grid-column:1/-1}.sitemd-password-form button{border:0;background:var(--sitemd-primary);color:#fff;border-radius:12px;padding:12px 16px;font-weight:850;cursor:pointer}.sitemd-notification-list{display:grid;gap:10px}.sitemd-notification-item{padding:13px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}.sitemd-notification-item.unread{background:#eef2ff;border-color:#c7d2fe}.sitemd-notification-item span{display:block;color:var(--sitemd-muted);margin-top:4px}.gizzi-calendar-title h2,.gizzi-calendar-day-number,.gizzi-calendar-job-title,.gizzi-week-job strong{font-size:115%!important}/* v5.4.6: restored calendar switch + engineer calendar visibility */.gizzi-admin-sidebar a[href*="notifications"],.gizzi-engineer-sidebar a[href*="notifications"]{display:none!important}
@media(max-width:1000px){.sitemd-quote-material-row,.sitemd-flow,.sitemd-enquiry-grid,.sitemd-password-form{grid-template-columns:1fr}.sitemd-recent-quote{align-items:flex-start;flex-direction:column}}

/* SiteMD 5.0.4 - Base44 enquiry/job workflow clone */
:root{
  --b44-bg:#f6f8fb;
  --b44-card:#ffffff;
  --b44-text:#111827;
  --b44-muted:#64748b;
  --b44-line:#e2e8f0;
  --b44-red:#f94144;
  --b44-red-soft:#fee2e2;
  --b44-blue:#3b82f6;
  --b44-blue-soft:#dbeafe;
  --b44-green:#16a34a;
  --b44-green-soft:#dcfce7;
  --b44-yellow:#d97706;
  --b44-yellow-soft:#fef3c7;
  --b44-purple:#7c3aed;
  --b44-purple-soft:#ede9fe;
  --b44-navy:#0f172a;
}
.sitemd-app{background:var(--b44-bg)!important;border-radius:0!important;box-shadow:none!important;min-height:100vh!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}.sitemd-main{padding:24px 34px!important}.sitemd-sidebar{background:#111!important;width:288px!important;flex-basis:288px!important;border-right:1px solid #272727!important;padding:22px 18px!important}.sitemd-brand{border-bottom:1px solid #292929;margin:0 -18px 22px!important;padding:2px 22px 22px!important}.sitemd-logo{border-radius:8px!important;background:#fff!important;color:#111!important;box-shadow:none!important;font-size:17px!important;width:52px!important;height:52px!important}.sitemd-brand strong{color:#ffd400!important;letter-spacing:.08em;text-transform:uppercase;font-size:17px!important}.sitemd-brand span{color:#a3a3a3!important;letter-spacing:.18em;text-transform:uppercase;font-size:13px!important}.sitemd-sidebar a{border-radius:0!important;color:#a8b0bd!important;text-transform:uppercase;font-weight:800!important;font-size:13px!important;letter-spacing:.02em;padding:12px 16px!important}.sitemd-sidebar a.active,.sitemd-sidebar a:hover{background:#202020!important;color:#fff!important}.sitemd-sidebar svg{width:18px!important;height:18px!important}.sitemd-topbar{display:none!important}
.sitemd-b44-page{max-width:none;margin:0 auto;color:var(--b44-text)}.sitemd-b44-title-card,.sitemd-b44-card,.sitemd-b44-stepper{background:var(--b44-card);border:1px solid var(--b44-line);border-radius:14px;box-shadow:0 4px 12px rgba(15,23,42,.08);}.sitemd-b44-title-card{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 28px;margin-bottom:28px}.sitemd-b44-title-card h1{margin:0;color:#0f172a;font-size:30px;line-height:1.1;font-weight:900}.sitemd-b44-title-card span{display:block;margin:18px 0 8px;color:#94a3b8;font-size:12px;font-weight:900;letter-spacing:.08em}.sitemd-b44-title-card p{margin:0;font-size:16px;color:#475569}.sitemd-b44-divider{height:1px;background:#e5e7eb;margin-top:20px}.sitemd-b44-edit{display:inline-flex;gap:8px;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:9px 14px;font-weight:800;color:#111827}.sitemd-b44-edit svg{width:16px;height:16px}
.sitemd-b44-stepper{display:flex;align-items:flex-start;justify-content:center;gap:20px;margin-bottom:28px;padding:26px 34px}.sitemd-b44-step{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;text-decoration:none;color:#94a3b8;min-width:90px;font-size:12px;font-weight:800;line-height:1.15}.sitemd-b44-step strong{margin-top:8px;font-size:12px;color:inherit}.sitemd-b44-circle{width:34px;height:34px;border-radius:999px;background:#e8eef6;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-weight:900;box-shadow:none}.sitemd-b44-step.done .sitemd-b44-circle,.sitemd-b44-step.active .sitemd-b44-circle{background:var(--b44-red);color:#fff}.sitemd-b44-step.active .sitemd-b44-circle{box-shadow:0 0 0 8px rgba(249,65,68,.18)}.sitemd-b44-step.done,.sitemd-b44-step.active{color:#111827}.sitemd-b44-step.done svg{width:16px;height:16px;stroke:#fff}.sitemd-b44-line{height:4px;background:#e5ebf3;border-radius:999px;width:38px;margin-top:16px}.sitemd-b44-line.done{background:var(--b44-red)}
.sitemd-b44-card{padding:26px 28px;margin-bottom:20px}.sitemd-b44-card h2{font-size:20px;font-weight:900;margin:0 0 9px;color:#111827}.sitemd-b44-card h3{font-size:15px;font-weight:900;margin:22px 0 8px;color:#111827}.sitemd-b44-card p{margin:0 0 12px;color:#64748b;font-size:14px}.sitemd-b44-small{font-size:12px!important;color:#94a3b8!important}.sitemd-b44-button-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 18px}.sitemd-b44-btn{display:inline-flex;align-items:center;gap:8px;border-radius:7px;border:1px solid #e2e8f0;background:#fff;color:#111827;padding:11px 18px;font-weight:900;text-decoration:none;box-shadow:0 2px 4px rgba(15,23,42,.05);cursor:pointer}.sitemd-b44-btn.primary{background:var(--b44-red);border-color:var(--b44-red);color:#fff;box-shadow:0 4px 8px rgba(249,65,68,.18)}.sitemd-b44-btn.orange{background:#fdba74;border-color:#fdba74;color:#fff}.sitemd-b44-btn.ghost{background:#fff;color:#111827}.sitemd-b44-actions{display:flex;justify-content:space-between;align-items:center;margin-top:22px}
.sitemd-b44-calendar-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px}.sitemd-b44-calendar-head strong{font-size:17px;color:#0f172a}.sitemd-b44-calendar-head button{background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:9px 12px;font-weight:800;color:#111827;box-shadow:0 2px 4px rgba(15,23,42,.05);margin-left:5px}.sitemd-b44-calendar{display:grid;grid-template-columns:100px repeat(7,1fr);border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff}.sitemd-b44-calendar .head{background:#f8fafc;color:#111827;font-weight:900;text-align:center;padding:12px 8px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;min-height:52px}.sitemd-b44-calendar .head.name{text-align:left;color:#64748b}.sitemd-b44-calendar .head span{color:#ef4444}.sitemd-b44-calendar .engineer{font-weight:900;color:#111827;padding:14px 8px;border-right:1px solid #e5e7eb;border-bottom:1px solid #f1f5f9;background:#fff;white-space:nowrap}.sitemd-b44-calendar .engineer::first-letter{color:#94a3b8}.sitemd-b44-calendar .cell{min-height:48px;border-right:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9;padding:5px;background:#fff}.sitemd-b44-calendar .cell.selected{background:#e7f0ff;outline:2px solid #60a5fa;outline-offset:-2px}.sitemd-b44-calendar .pill{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:5px;border:1px solid;margin-bottom:4px;padding:5px 7px;font-size:12px;font-weight:800}.sitemd-b44-calendar .pill.red{background:#fee2e2;border-color:#fca5a5;color:#991b1b}.sitemd-b44-calendar .pill.blue{background:#dbeafe;border-color:#93c5fd;color:#1e40af}.sitemd-b44-calendar .pill.yellow{background:#fef3c7;border-color:#fcd34d;color:#92400e}.sitemd-b44-calendar .pill.green{background:#dcfce7;border-color:#86efac;color:#166534}.sitemd-b44-time-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.sitemd-b44-time-row label{display:grid;gap:8px;font-weight:800;color:#111827}.sitemd-b44-time-row input{height:40px;border:1px solid #e2e8f0;border-radius:7px;padding:0 12px}.sitemd-b44-selected{margin-top:18px;border:1px solid #86efac;background:#dcfce7;border-radius:10px;color:#047857;font-weight:700;padding:13px 16px}
.sitemd-b44-textarea{width:100%;min-height:190px;border:1px solid #dfe7f1;border-radius:7px;padding:14px 16px;resize:vertical;box-shadow:inset 0 1px 2px rgba(15,23,42,.03);font-size:14px;color:#334155}.sitemd-b44-textarea.small{min-height:120px}.sitemd-b44-textarea.tiny{min-height:72px}.sitemd-b44-upload{border:2px dashed #cbd5e1;border-radius:8px;color:#64748b;font-weight:700;margin:16px 0;padding:14px 18px;background:#fafcff}.sitemd-b44-add-row,.sitemd-b44-material-row{display:grid;gap:8px;margin:10px 0 18px}.sitemd-b44-add-row{grid-template-columns:1fr 54px}.sitemd-b44-material-row{grid-template-columns:100px 90px 1fr 1fr 54px}.sitemd-b44-add-row input,.sitemd-b44-material-row input{height:40px;border:1px solid #e2e8f0;border-radius:7px;padding:0 12px}.sitemd-b44-add-row button,.sitemd-b44-material-row button{border:1px solid #e2e8f0;background:#fff;border-radius:7px;font-size:22px}.sitemd-b44-estimate{border:1px solid #dbeafe;background:#f8fbff;border-radius:9px;padding:18px 20px;margin-top:16px}.sitemd-b44-estimate>div{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.sitemd-b44-estimate label{font-size:12px;color:#64748b;font-weight:800}.sitemd-b44-estimate input{height:38px;border:1px solid #e2e8f0;border-radius:7px;padding:0 10px;max-width:100px}.sitemd-b44-estimate button{height:38px;width:36px;background:#fff;border:1px solid #dbe3ee}
.sitemd-b44-jobtype{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:18px;margin:18px 0;display:flex;gap:18px;align-items:center}.sitemd-b44-jobtype strong{display:block;width:100%;max-width:70px}.sitemd-b44-jobtype label{font-weight:800;color:#334155}.sitemd-b44-ai{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:16px 18px;margin-bottom:16px}.sitemd-b44-ai h3{margin-top:0;color:#b45309}.sitemd-b44-ai p{color:#c2410c}.sitemd-b44-file{background:#fff;border:1px solid #fde68a;border-radius:7px;padding:10px 22px;font-weight:800;margin-right:8px}.sitemd-b44-quote-layout{display:grid;grid-template-columns:290px 1fr;gap:18px}.sitemd-b44-material-picker{border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;background:#fff}.sitemd-b44-material-picker h3{margin:14px}.sitemd-b44-material-picker input{margin:0 14px 8px;width:calc(100% - 28px);height:38px;border:1px solid #e2e8f0;border-radius:7px;padding:0 12px}.sitemd-b44-material-picker ul{list-style:none;margin:0;padding:0;max-height:520px;overflow:auto}.sitemd-b44-material-picker li{position:relative;border-top:1px solid #e2e8f0;padding:10px 42px 10px 14px;font-size:12px;font-weight:900;color:#334155;line-height:1.25}.sitemd-b44-material-picker li::after{content:'ACEL AC35103 · ELECTRIC CENTER';display:block;color:#94a3b8;font-weight:700;margin-top:3px}.sitemd-b44-material-picker li.active{background:#fff1f2}.sitemd-b44-material-picker b{float:right;color:#334155}.sitemd-b44-material-picker li button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;border:1px solid #dbe3ee;background:#fff;color:#94a3b8}.sitemd-b44-selected-materials h3{margin-top:4px}.sitemd-b44-quote-line,.sitemd-b44-labour-row{border:1px solid #e2e8f0;border-radius:8px;padding:13px 16px;margin:10px 0 16px;display:flex;align-items:center;gap:14px;justify-content:space-between}.sitemd-b44-quote-line strong,.sitemd-b44-labour-row strong{flex:1}.sitemd-b44-quote-line span{color:#94a3b8;font-size:12px}.sitemd-b44-quote-line input,.sitemd-b44-labour-row input{height:36px;width:76px;border:1px solid #e2e8f0;border-radius:7px;padding:0 10px}.sitemd-b44-quote-line label,.sitemd-b44-labour-row label{font-size:12px;color:#64748b}.sitemd-b44-quote-line button,.sitemd-b44-labour-row button{border:1px solid #e2e8f0;background:#fff;border-radius:7px;padding:8px 10px}.sitemd-b44-labour-row button.active{background:var(--b44-red);border-color:var(--b44-red);color:#fff}.sitemd-b44-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.sitemd-b44-chip-row button{border:1px solid #dbe3ee;background:#fff;border-radius:999px;padding:9px 14px;color:#475569;font-weight:800}.sitemd-b44-chip-row button.active{background:var(--b44-red);border-color:var(--b44-red);color:#fff}.sitemd-b44-summary{background:#0f172a;color:#fff;border-radius:10px;padding:20px 22px;margin:18px 0;box-shadow:0 4px 10px rgba(15,23,42,.25)}.sitemd-b44-summary h3{color:#fff;margin-top:0}.sitemd-b44-summary p{display:flex;justify-content:space-between;color:#e2e8f0!important;margin:8px 0}.sitemd-b44-summary hr{border:0;border-top:1px solid rgba(255,255,255,.14);margin:12px 0}.sitemd-b44-summary .total{font-size:18px;font-weight:900;color:#fff!important}
.sitemd-b44-quote-summary{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:18px 20px;margin:22px 0;color:#b45309}.sitemd-b44-quote-summary span{display:block}.sitemd-b44-quote-summary b{font-size:18px}.sitemd-b44-info{background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;padding:17px;color:#1e40af;margin-bottom:24px}.sitemd-b44-status-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.sitemd-b44-status-row button{height:42px;border:1px solid #e2e8f0;border-radius:7px;background:#fff;font-weight:900;color:#111827}.sitemd-b44-status-row button.active{background:#64748b;color:#fff;border-color:#64748b}.sitemd-b44-success{background:#dcfce7;border:1px solid #86efac;color:#047857;border-radius:9px;padding:18px;font-weight:900;margin:18px 0}
@media(max-width:1100px){.sitemd-b44-stepper{overflow:auto;justify-content:flex-start}.sitemd-b44-quote-layout{grid-template-columns:1fr}.sitemd-b44-material-row,.sitemd-b44-time-row,.sitemd-b44-status-row{grid-template-columns:1fr}.sitemd-sidebar{width:auto!important;flex-basis:auto!important}.sitemd-b44-calendar{min-width:1000px}.sitemd-b44-card{overflow:auto}}

/* SiteMD 5.0.5 — closer Base44 enquiry workflow clone */
:root{--b44-red:#f94144;--b44-slate:#0f172a;--b44-muted:#64748b;--b44-border:#e2e8f0;--b44-bg:#f8fafc;--b44-sidebar:#111111;}
.sitemd-app{border-radius:0;box-shadow:none;background:var(--b44-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh;}
.sitemd-sidebar{width:286px!important;flex:0 0 286px!important;background:#111!important;background-image:none!important;border-right:1px solid #242424;padding:20px 16px 0;position:relative;}
.sitemd-brand{padding:0 8px 20px;margin:0 0 20px;border-bottom:1px solid #252525;gap:14px;}
.sitemd-logo{width:48px;height:48px;border-radius:11px;background:#fff!important;color:#111!important;box-shadow:none;font-size:18px;font-weight:900;}
.sitemd-brand strong{font-size:18px;line-height:1.05;letter-spacing:.08em;color:#ffd400;font-weight:950;}
.sitemd-brand span{font-size:13px;letter-spacing:.18em;color:#b8bec8;margin-top:2px;font-weight:700;}
.sitemd-sidebar nav{gap:4px;}
.sitemd-sidebar a{height:42px;border-radius:8px;padding:0 16px;color:#aeb6c2;font-size:13px;text-transform:uppercase;letter-spacing:.035em;font-weight:850;}
.sitemd-sidebar a.active{background:#191919;color:#f3f4f6;}
.sitemd-sidebar a:hover{background:#191919;color:#fff;}
.sitemd-sidebar svg{width:18px;height:18px;stroke-width:2;}
.sitemd-main{padding:0 32px 32px;background:var(--b44-bg);}
.sitemd-topbar{display:none!important;}
.sitemd-b44-page{max-width:none;margin:0;padding:24px 0 0;}
.sitemd-b44-page *{box-sizing:border-box;}
.sitemd-b44-top-actions{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px;gap:16px;}
.sitemd-b44-top-actions>div{display:flex;gap:14px;align-items:center;}
.sitemd-b44-back,.sitemd-b44-close,.sitemd-b44-delete{height:48px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#111827;display:inline-flex;align-items:center;gap:10px;padding:0 20px;font-size:15px;font-weight:850;text-decoration:none;box-shadow:0 2px 5px rgba(15,23,42,.04);}
.sitemd-b44-close{border-color:#111827;background:#fff;font-size:16px;}
.sitemd-b44-delete{border-color:#fecaca;color:#ef4444;background:#fff;}
.sitemd-b44-back svg,.sitemd-b44-delete svg{width:16px;height:16px;stroke:currentColor;fill:none;}
.sitemd-b44-customer-card,.sitemd-b44-card,.sitemd-b44-stepper-card{background:#fff;border:1px solid #dfe7f1;border-radius:12px;box-shadow:0 2px 4px rgba(15,23,42,.05),0 10px 26px rgba(15,23,42,.035);}
.sitemd-b44-customer-card{padding:26px 28px;margin-bottom:26px;}
.sitemd-b44-customer-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;}
.sitemd-b44-customer-card h1{font-size:28px;line-height:1.1;color:#0f172a;font-weight:950;margin:0 0 16px;}
.sitemd-b44-customer-card span{display:block;color:#94a3b8;font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;margin:0 0 10px;}
.sitemd-b44-customer-card p{font-size:16px;color:#334155;margin:0;}
.sitemd-b44-divider{height:1px;background:#e2e8f0;margin:0 0 16px;}
.sitemd-b44-edit{height:38px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#111827;padding:0 15px;font-weight:850;display:inline-flex;align-items:center;gap:8px;}
.sitemd-b44-edit svg{width:16px;height:16px;}
.sitemd-b44-stepper-card{padding:26px 28px;margin-bottom:26px;overflow-x:auto;}
.sitemd-b44-stepper{display:flex;align-items:flex-start;justify-content:center;min-width:820px;gap:0;}
.sitemd-b44-step{width:92px;min-width:92px;display:flex;flex-direction:column;align-items:center;text-align:center;text-decoration:none;color:#94a3b8;font-size:12px;font-weight:750;line-height:1.15;}
.sitemd-b44-step strong{margin-top:8px;color:inherit;font-weight:850;}
.sitemd-b44-circle{width:36px;height:36px;border-radius:50%;background:#e8eef6;color:#94a3b8;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:950;}
.sitemd-b44-step.done .sitemd-b44-circle,.sitemd-b44-step.active .sitemd-b44-circle{background:#f94144;color:#fff;}
.sitemd-b44-step.active .sitemd-b44-circle{box-shadow:0 0 0 8px rgba(249,65,68,.16);}
.sitemd-b44-step.done,.sitemd-b44-step.active{color:#0f172a;}
.sitemd-b44-step.done svg{width:16px;height:16px;stroke:#fff;fill:none;}
.sitemd-b44-line{width:40px;height:4px;background:#e6edf5;border-radius:20px;margin:16px 8px 0;flex:0 0 40px;}
.sitemd-b44-line.done{background:#f94144;}
.sitemd-b44-card{padding:26px 28px;margin-bottom:20px;}
.sitemd-b44-card h2{font-size:20px;line-height:1.2;font-weight:900;color:#111827;margin:0 0 8px;}
.sitemd-b44-card h3{font-size:16px;line-height:1.2;font-weight:900;color:#111827;margin:24px 0 9px;}
.sitemd-b44-card p{font-size:14px;color:#64748b;margin:0 0 14px;line-height:1.55;}
.sitemd-b44-btn{height:42px;border-radius:7px;padding:0 18px;font-size:14px;font-weight:900;box-shadow:0 2px 5px rgba(15,23,42,.05);}
.sitemd-b44-btn.primary{background:#f94144!important;border-color:#f94144!important;color:#fff!important;}
.sitemd-b44-actions{margin-top:24px;display:flex;align-items:center;justify-content:space-between;}
.sitemd-b44-calendar-head{margin:22px 0 12px;}
.sitemd-b44-calendar-head strong{font-size:18px;font-weight:900;color:#111827;}
.sitemd-b44-calendar-head button{height:38px;border-radius:7px;background:#fff;border:1px solid #e2e8f0;font-size:13px;font-weight:850;padding:0 12px;}
.sitemd-b44-calendar{grid-template-columns:100px repeat(7,minmax(130px,1fr));border-radius:8px;border-color:#e2e8f0;}
.sitemd-b44-calendar .head{min-height:54px;background:#f8fafc;color:#111827;font-size:14px;font-weight:900;padding:10px 8px;}
.sitemd-b44-calendar .head.name{text-align:left;color:#475569;display:flex;align-items:center;}
.sitemd-b44-calendar .engineer{font-size:14px;font-weight:900;color:#111827;padding:14px 8px;}
.sitemd-b44-calendar .cell{min-height:48px;padding:5px;background:#fff;}
.sitemd-b44-calendar .cell.selected{background:#dbeafe!important;outline:2px solid #60a5fa;outline-offset:-2px;}
.sitemd-b44-calendar .pill{font-size:12px;font-weight:850;border-radius:5px;padding:5px 7px;height:26px;line-height:14px;}
.sitemd-b44-time-row{grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;}
.sitemd-b44-time-row label{font-size:14px;font-weight:850;color:#111827;}
.sitemd-b44-time-row input{height:42px;border-radius:7px;border-color:#e2e8f0;background:#fff;}
.sitemd-b44-selected{background:#dcfce7;border-color:#86efac;color:#047857;border-radius:10px;padding:14px 16px;margin-top:20px;font-size:14px;}
.sitemd-b44-textarea{border-radius:7px;border-color:#dfe7f1;min-height:190px;background:#fff;font-size:14px;color:#334155;padding:14px 16px;}
.sitemd-b44-upload{border:2px dashed #cbd5e1;border-radius:8px;background:#fbfdff;color:#64748b;padding:14px 18px;font-size:14px;font-weight:750;}
.sitemd-b44-add-row{grid-template-columns:1fr 54px;margin-bottom:24px;}
.sitemd-b44-material-row{grid-template-columns:100px 84px 1fr 1fr 54px;}
.sitemd-b44-add-row input,.sitemd-b44-material-row input{height:40px;border-radius:7px;border:1px solid #e2e8f0;background:#fff;font-size:14px;color:#334155;}
.sitemd-b44-add-row button,.sitemd-b44-material-row button{height:40px;border-radius:7px;border:1px solid #e2e8f0;background:#fff;color:#111827;font-size:24px;line-height:1;}
.sitemd-b44-estimate{background:#f8fbff;border:1px solid #dbeafe;border-radius:9px;padding:18px 20px;}
.sitemd-b44-jobtype{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:18px;margin:18px 0;min-height:86px;align-items:center;}
.sitemd-b44-ai{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;padding:16px 18px;margin-bottom:16px;}
.sitemd-b44-ai h3{color:#b45309;font-size:16px;margin:0 0 8px;}
.sitemd-b44-ai p{color:#c2410c;font-size:13px;}
.sitemd-b44-quote-layout{grid-template-columns:290px minmax(0,1fr);gap:18px;}
.sitemd-b44-material-picker{border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(15,23,42,.04);}
.sitemd-b44-material-picker h3{font-size:16px;margin:14px;}
.sitemd-b44-material-picker li{min-height:52px;font-size:12px;font-weight:900;color:#334155;padding:10px 42px 10px 14px;}
.sitemd-b44-quote-line,.sitemd-b44-labour-row{border-radius:8px;border:1px solid #e2e8f0;background:#fff;padding:13px 16px;min-height:58px;}
.sitemd-b44-chip-row button{height:34px;border-radius:999px;padding:0 14px;background:#fff;border:1px solid #dbe3ee;font-size:13px;font-weight:800;color:#475569;}
.sitemd-b44-chip-row button.active{background:#f94144;color:#fff;border-color:#f94144;}
.sitemd-b44-summary{background:#0f172a;border-radius:10px;color:#fff;padding:20px 22px;box-shadow:0 4px 10px rgba(15,23,42,.28);}
.sitemd-b44-summary h3{font-size:18px;color:#fff;margin:0 0 16px;}
.sitemd-b44-summary p{font-size:15px;color:#e2e8f0!important;margin:8px 0;}
.sitemd-b44-summary .total{font-size:18px;color:#fff!important;font-weight:950;}
.sitemd-b44-quote-summary{background:#fffbeb;border:1px solid #fcd34d;border-radius:10px;color:#b45309;min-height:84px;}
.sitemd-b44-info{background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;color:#1e40af;padding:17px;font-size:14px;}
.sitemd-b44-status-row button{height:42px;border-radius:7px;font-size:14px;}
.sitemd-b44-status-row button.active{background:#64748b;color:#fff;border-color:#64748b;}
@media(max-width:1200px){.sitemd-main{padding:0 18px 24px}.sitemd-sidebar{width:250px!important;flex-basis:250px!important}.sitemd-b44-quote-layout{grid-template-columns:1fr}.sitemd-b44-calendar{min-width:1100px}.sitemd-b44-card{overflow:auto}.sitemd-b44-material-row,.sitemd-b44-time-row,.sitemd-b44-status-row{grid-template-columns:1fr}}

/* SiteMD 5.0.6 exact Base44 workflow overrides */
.gizzi-site-notes-card.sitemd-exact-workflow-card,
.sitemd-exact-workflow-card{background:#fff!important;border:1px solid #dfe7f1!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(15,23,42,.05),0 8px 18px rgba(15,23,42,.035)!important;padding:24px 28px 32px!important;margin:0 0 22px!important;color:#0f172a!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
.sitemd-exact-workflow-card h3{font-size:20px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:-.02em!important;color:#0f172a!important;margin:0 0 8px!important;display:block!important;}
.sitemd-exact-workflow-card>p{font-size:14px!important;line-height:1.5!important;color:#64748b!important;font-weight:600!important;margin:0 0 28px!important;}
.sitemd-exact-form{display:block!important;margin:0!important;padding:0!important;}
.sitemd-exact-label{display:block!important;margin:0 0 28px!important;color:#0f172a!important;}
.sitemd-exact-label strong,.sitemd-exact-upload-wrap>strong,.sitemd-exact-section-title{display:block!important;font-size:16px!important;font-weight:900!important;color:#0f172a!important;line-height:1.3!important;margin:0 0 12px!important;}
.sitemd-exact-label span,.sitemd-exact-upload-wrap>span{display:block!important;font-size:14px!important;font-weight:500!important;color:#64748b!important;line-height:1.5!important;margin:-4px 0 14px!important;}
.sitemd-exact-label textarea,.sitemd-exact-label select,.sitemd-exact-label input,.sitemd-exact-form textarea,.sitemd-exact-form select,.sitemd-exact-form input[type=text],.sitemd-exact-form input[type=number],.sitemd-exact-form input[type=search]{width:100%!important;border:1px solid #dbe3ee!important;border-radius:7px!important;background:#fff!important;color:#334155!important;font-size:14px!important;font-weight:500!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;outline:none!important;}
.sitemd-exact-label textarea,.sitemd-exact-form textarea{min-height:220px!important;padding:16px 17px!important;resize:vertical!important;}
.sitemd-exact-label textarea::placeholder,.sitemd-exact-form input::placeholder,.sitemd-exact-form textarea::placeholder{color:#94a3b8!important;font-weight:600!important;}
.sitemd-exact-upload-wrap{margin:0 0 52px!important;}
.sitemd-exact-upload{position:relative!important;display:flex!important;align-items:center!important;gap:14px!important;height:60px!important;padding:0 24px!important;border:2px dashed #cbd8e7!important;border-radius:8px!important;background:#fbfdff!important;color:#64748b!important;font-size:14px!important;font-weight:650!important;cursor:pointer!important;}
.sitemd-exact-upload .gizzi-svg-icon{width:22px!important;height:22px!important;color:#94a3b8!important;}
.sitemd-exact-upload input[type=file]{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important;}
.sitemd-exact-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0!important;padding:0!important;gap:18px!important;}
.sitemd-exact-prev,.sitemd-exact-next{height:46px!important;border-radius:7px!important;padding:0 24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;font-size:14px!important;font-weight:850!important;text-decoration:none!important;line-height:1!important;}
.sitemd-exact-prev{background:#fff!important;border:1px solid #e2e8f0!important;color:#0f172a!important;box-shadow:0 1px 3px rgba(15,23,42,.05)!important;}
.sitemd-exact-next{background:#f94144!important;border:1px solid #f94144!important;color:#fff!important;box-shadow:0 4px 8px rgba(249,65,68,.22)!important;}
.sitemd-exact-next .gizzi-svg-icon,.sitemd-exact-prev .gizzi-svg-icon{width:16px!important;height:16px!important;}
.sitemd-exact-job-spec-card>p{margin-bottom:26px!important;}
.sitemd-exact-job-spec-card .sitemd-exact-label:first-of-type{margin-bottom:22px!important;}
.sitemd-exact-label select{height:40px!important;padding:0 14px!important;}
.sitemd-exact-subcard{border:1px solid #dfe7f1!important;background:#f8fafc!important;border-radius:7px!important;padding:18px!important;margin:0 0 24px!important;}
.sitemd-exact-subcard .sitemd-exact-label{margin:0 0 16px!important;}
.sitemd-exact-subcard textarea{min-height:120px!important;background:#fff!important;}
.sitemd-exact-subcard .sitemd-exact-upload{height:52px!important;background:#fff!important;}
.sitemd-exact-check-title{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 12px!important;color:#0f172a!important;}
.sitemd-exact-check-title .gizzi-svg-icon{width:20px!important;height:20px!important;}
.sitemd-exact-check-title strong{font-size:14px!important;font-weight:900!important;}
.sitemd-exact-add-row{display:grid!important;grid-template-columns:1fr 48px!important;gap:8px!important;margin:0 0 26px!important;}
.sitemd-exact-add-row input,.sitemd-exact-add-row button{height:40px!important;border-radius:7px!important;border:1px solid #dfe7f1!important;background:#fff!important;padding:0 14px!important;font-size:14px!important;}
.sitemd-exact-add-row button{font-size:22px!important;font-weight:500!important;color:#0f172a!important;padding:0!important;}
.sitemd-exact-section-title{font-size:14px!important;margin-bottom:12px!important;}
.sitemd-exact-yn{display:flex!important;gap:14px!important;margin:0 0 16px!important;}
.sitemd-exact-yn button{height:40px!important;border-radius:7px!important;border:1px solid #dfe7f1!important;background:#fff!important;color:#0f172a!important;padding:0 20px!important;font-size:14px!important;font-weight:850!important;}
.sitemd-exact-yn button.active{background:#f94144!important;border-color:#111827!important;color:#fff!important;box-shadow:0 2px 3px rgba(15,23,42,.1)!important;}
.sitemd-exact-material-add{display:grid!important;grid-template-columns:90px 74px 1fr 1fr 48px!important;gap:8px!important;margin:0 0 22px!important;}
.sitemd-exact-material-add input,.sitemd-exact-material-add button{height:40px!important;border-radius:7px!important;border:1px solid #dfe7f1!important;background:#fff!important;font-size:14px!important;padding:0 12px!important;}
.sitemd-exact-material-add button{padding:0!important;font-size:22px!important;}
.sitemd-exact-estimate{background:#f8fbff!important;border:1px solid #dbe5f0!important;border-radius:7px!important;padding:18px 18px 20px!important;margin:0 0 42px!important;}
.sitemd-exact-estimate h4{font-size:16px!important;font-weight:900!important;margin:0 0 16px!important;color:#0f172a!important;}
.sitemd-exact-estimate>div{display:flex!important;align-items:end!important;gap:8px!important;flex-wrap:wrap!important;}
.sitemd-exact-estimate label{font-size:11px!important;font-weight:800!important;color:#64748b!important;display:flex!important;flex-direction:column!important;gap:6px!important;}
.sitemd-exact-estimate label.check{flex-direction:row!important;align-items:center!important;color:#0f172a!important;font-size:13px!important;margin-bottom:10px!important;}
.sitemd-exact-estimate input[type=text],.sitemd-exact-estimate input:not([type]){width:96px!important;height:38px!important;padding:0 12px!important;}
.sitemd-exact-estimate span{display:inline-flex!important;}
.sitemd-exact-estimate button{height:38px!important;width:36px!important;border:1px solid #dbe3ee!important;background:#fff!important;color:#64748b!important;font-size:15px!important;}
.sitemd-exact-jobtype-box{background:#f8fafc!important;border:1px solid #dfe7f1!important;border-radius:8px!important;min-height:86px!important;padding:18px!important;margin:26px 0 16px!important;display:flex!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important;}
.sitemd-exact-jobtype-box strong{display:block!important;flex-basis:100%!important;font-size:13px!important;color:#334155!important;font-weight:900!important;margin-bottom:2px!important;}
.sitemd-exact-jobtype-box label{font-size:14px!important;font-weight:700!important;color:#334155!important;display:inline-flex!important;align-items:center!important;gap:8px!important;}
.sitemd-exact-ai{background:#fffbeb!important;border:1px solid #fcd34d!important;border-radius:9px!important;padding:16px 18px!important;margin:0 0 16px!important;}
.sitemd-exact-ai h4{margin:0 0 10px!important;font-size:16px!important;line-height:1.25!important;color:#b45309!important;font-weight:900!important;}
.sitemd-exact-ai p{margin:0 0 12px!important;color:#c2410c!important;font-size:13px!important;font-weight:500!important;}
.sitemd-exact-ai>div{display:flex!important;gap:8px!important;align-items:center!important;}
.sitemd-exact-file{width:330px!important;height:38px!important;border:1px solid #f3dfb0!important;background:#fffaf0!important;border-radius:7px!important;display:flex!important;align-items:center!important;padding:0 18px!important;font-size:14px!important;font-weight:800!important;color:#111827!important;position:relative!important;overflow:hidden!important;}
.sitemd-exact-file input{position:absolute!important;inset:0!important;opacity:0!important;}
.sitemd-exact-ai button{height:38px!important;border-radius:7px!important;border:0!important;background:#fdba74!important;color:#fff!important;font-size:13px!important;font-weight:900!important;padding:0 16px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;}
.sitemd-exact-quote-grid{display:grid!important;grid-template-columns:290px minmax(0,1fr)!important;gap:22px!important;margin-top:0!important;}
.sitemd-exact-material-list{border:1px solid #dfe7f1!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important;height:max-content!important;box-shadow:0 1px 3px rgba(15,23,42,.05)!important;}
.sitemd-exact-material-list h4,.sitemd-exact-selected h4{font-size:16px!important;font-weight:900!important;color:#334155!important;margin:14px 14px 10px!important;}
.sitemd-exact-material-list input{width:calc(100% - 28px)!important;height:38px!important;margin:0 14px 8px!important;border:1px solid #dfe7f1!important;border-radius:7px!important;padding:0 12px!important;font-size:14px!important;}
.sitemd-exact-material-list ul{margin:0!important;padding:0!important;list-style:none!important;}
.sitemd-exact-material-list li{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto 24px!important;gap:8px!important;align-items:center!important;min-height:54px!important;border-top:1px solid #edf2f7!important;padding:8px 8px 8px 14px!important;background:#fff!important;}
.sitemd-exact-material-list li.active{background:#fff1f2!important;}
.sitemd-exact-material-list li strong{display:block!important;font-size:12px!important;line-height:1.15!important;color:#334155!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.sitemd-exact-material-list li em{display:block!important;font-style:normal!important;font-size:11px!important;line-height:1.2!important;color:#94a3b8!important;text-transform:uppercase!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.sitemd-exact-material-list li b{font-size:12px!important;color:#334155!important;font-weight:900!important;}
.sitemd-exact-material-list li button{width:22px!important;height:22px!important;border-radius:50%!important;border:1px solid #dbe3ee!important;background:#fff!important;color:#94a3b8!important;font-size:15px!important;line-height:18px!important;padding:0!important;}
.sitemd-exact-material-list li.active button{background:#f94144!important;border-color:#f94144!important;color:#fff!important;}
.sitemd-exact-selected h4{margin:0 0 10px!important;}
.sitemd-exact-selected-line{display:grid!important;grid-template-columns:minmax(0,1fr) 80px 95px 74px 28px!important;gap:10px!important;align-items:center!important;min-height:58px!important;border:1px solid #dfe7f1!important;border-radius:8px!important;background:#fff!important;padding:10px 12px 10px 16px!important;margin-bottom:18px!important;}
.sitemd-exact-selected-line strong{font-size:13px!important;color:#334155!important;font-weight:950!important;}
.sitemd-exact-selected-line em{display:block!important;font-style:normal!important;color:#94a3b8!important;font-size:12px!important;text-transform:uppercase!important;font-weight:600!important;}
.sitemd-exact-selected-line label,.sitemd-exact-labour label{display:flex!important;align-items:center!important;gap:6px!important;color:#64748b!important;font-size:12px!important;font-weight:700!important;}
.sitemd-exact-selected-line input,.sitemd-exact-labour input{height:36px!important;border:1px solid #dfe7f1!important;border-radius:6px!important;background:#fff!important;padding:0 12px!important;font-size:14px!important;}
.sitemd-exact-selected-line b,.sitemd-exact-labour b{font-size:14px!important;color:#334155!important;font-weight:950!important;text-align:right!important;}
.sitemd-exact-selected-line>button,.sitemd-exact-labour>button{border:0!important;background:transparent!important;color:#f94144!important;padding:0!important;}
.sitemd-exact-chips{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 14px!important;}
.sitemd-exact-chips button{height:32px!important;border-radius:999px!important;border:1px solid #dbe3ee!important;background:#fff!important;color:#475569!important;padding:0 14px!important;font-size:12px!important;font-weight:800!important;}
.sitemd-exact-chips button.active{background:#f94144!important;border-color:#f94144!important;color:#fff!important;}
.sitemd-exact-labour{display:grid!important;grid-template-columns:minmax(0,1fr) auto 90px 110px 80px 28px!important;gap:10px!important;align-items:center!important;min-height:58px!important;border:1px solid #dfe7f1!important;border-radius:8px!important;background:#fff!important;padding:10px 12px 10px 16px!important;margin-bottom:18px!important;}
.sitemd-exact-labour strong{font-size:14px!important;font-weight:900!important;color:#334155!important;}
.sitemd-exact-labour .toggles{display:inline-flex!important;border:1px solid #dbe3ee!important;border-radius:6px!important;overflow:hidden!important;}
.sitemd-exact-labour .toggles button{height:28px!important;border:0!important;background:#fff!important;color:#64748b!important;padding:0 9px!important;font-size:12px!important;font-weight:850!important;}
.sitemd-exact-labour .toggles button.active{background:#f94144!important;color:#fff!important;}
.sitemd-exact-summary{background:#0f172a!important;border-radius:9px!important;color:#fff!important;padding:20px 22px!important;margin:0 0 20px!important;box-shadow:0 2px 5px rgba(15,23,42,.18)!important;}
.sitemd-exact-summary h4{font-size:18px!important;color:#fff!important;font-weight:950!important;margin:0 0 18px!important;}
.sitemd-exact-summary p{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:10px 0!important;color:#e2e8f0!important;font-size:14px!important;font-weight:500!important;}
.sitemd-exact-summary b{font-size:14px!important;color:#fff!important;font-weight:900!important;}
.sitemd-exact-summary hr{border:0!important;border-top:1px solid rgba(255,255,255,.13)!important;margin:14px 0!important;}
.sitemd-exact-summary .total{font-size:16px!important;font-weight:900!important;color:#fff!important;}
.sitemd-exact-summary .total b{font-size:22px!important;}
.sitemd-exact-label.quote-notes{margin:0!important;}
.sitemd-exact-label.quote-notes textarea{min-height:78px!important;}
.sitemd-exact-quote-card .sitemd-exact-actions{margin-top:24px!important;}
@media(max-width:1200px){.sitemd-exact-quote-grid{grid-template-columns:1fr!important}.sitemd-exact-material-add,.sitemd-exact-selected-line,.sitemd-exact-labour{grid-template-columns:1fr!important}.sitemd-exact-actions{align-items:stretch!important}.sitemd-exact-prev,.sitemd-exact-next{width:auto!important}}

/* SiteMD 5.0.9 workflow fixes */
.sitemd-exact-checklist-list{display:flex!important;flex-direction:column!important;gap:8px!important;margin:-14px 0 24px!important;}
.sitemd-checklist-pill{display:flex!important;align-items:center!important;gap:10px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:10px 12px!important;color:#0f172a!important;font-size:14px!important;font-weight:700!important;}
.sitemd-checklist-pill:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#dcfce7;color:#16a34a;font-size:12px;font-weight:900;}
.sitemd-material-choice-actions{display:flex!important;gap:12px!important;margin:12px 0 12px!important;}
.sitemd-material-choice-actions[hidden],.sitemd-js-general-material[hidden]{display:none!important;}
.sitemd-material-choice-actions button{height:42px!important;border-radius:8px!important;border:1px solid #dfe7f1!important;background:#fff!important;color:#0f172a!important;font-weight:800!important;padding:0 16px!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;}
.sitemd-material-choice-actions button:first-child{background:#f8fbff!important;color:#2563eb!important;border-color:#bfdbfe!important;}
.sitemd-exact-material-list{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0 0 18px!important;}
.sitemd-material-pill{display:grid!important;grid-template-columns:80px 80px 1fr 1fr!important;gap:8px!important;align-items:center!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:10px 12px!important;font-size:13px!important;color:#334155!important;}
.sitemd-bulk-material-modal{position:fixed!important;inset:0!important;background:rgba(15,23,42,.55)!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;}
.sitemd-bulk-material-modal[hidden]{display:none!important;}
.sitemd-bulk-material-panel{position:relative!important;background:#fff!important;border-radius:14px!important;border:1px solid #e2e8f0!important;box-shadow:0 20px 60px rgba(15,23,42,.24)!important;width:min(560px,100%)!important;padding:24px!important;}
.sitemd-bulk-close{position:absolute!important;right:14px!important;top:12px!important;border:0!important;background:transparent!important;font-size:26px!important;line-height:1!important;color:#64748b!important;}
.sitemd-bulk-material-panel h3{margin:0 0 16px!important;font-size:20px!important;font-weight:900!important;color:#0f172a!important;}
.sitemd-bulk-search{width:100%!important;height:42px!important;border:1px solid #dfe7f1!important;border-radius:8px!important;padding:0 14px!important;margin-bottom:12px!important;}
.sitemd-bulk-list{max-height:280px!important;overflow:auto!important;border:1px solid #e2e8f0!important;border-radius:10px!important;margin-bottom:16px!important;}
.sitemd-bulk-list label{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;border-bottom:1px solid #eef2f7!important;font-weight:700!important;color:#334155!important;}
.sitemd-bulk-add-selected{height:44px!important;border:0!important;border-radius:8px!important;background:#ef4444!important;color:#fff!important;font-weight:900!important;padding:0 18px!important;}
.sitemd-exact-estimate{background:#f8fbff!important;border:1px solid #dbe5f0!important;border-radius:8px!important;padding:16px 18px 18px!important;margin:0 0 42px!important;overflow:hidden!important;}
.sitemd-exact-estimate h4{font-size:16px!important;line-height:1.2!important;margin:0 0 16px!important;}
.sitemd-exact-estimate>div{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;}
.sitemd-exact-estimate label{min-width:0!important;}
.sitemd-exact-estimate label.duration{width:110px!important;flex:0 0 110px!important;}
.sitemd-exact-estimate label.duration input{width:100%!important;height:36px!important;border:1px solid #dfe7f1!important;border-radius:8px!important;font-size:14px!important;font-weight:700!important;}
.sitemd-exact-estimate label.check{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;width:auto!important;flex:0 0 auto!important;margin:0 0 4px!important;font-size:13px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;color:#0f172a!important;}
.sitemd-exact-estimate label.check input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:16px!important;height:16px!important;min-width:16px!important;margin:0!important;padding:0!important;border-radius:3px!important;display:inline-block!important;vertical-align:middle!important;}
.sitemd-exact-estimate label.check span{display:inline!important;width:auto!important;}
.sitemd-exact-estimate label.role-control{display:flex!important;flex-direction:column!important;gap:6px!important;flex:0 0 auto!important;font-size:12px!important;font-weight:800!important;color:#64748b!important;}
.sitemd-exact-estimate label.role-control>span{display:inline-flex!important;gap:0!important;}
.sitemd-exact-estimate label.role-control button{width:38px!important;height:36px!important;border:1px solid #dbe3ee!important;background:#fff!important;color:#0f172a!important;font-size:17px!important;font-weight:800!important;border-radius:0!important;}
.sitemd-exact-estimate label.role-control button:first-child{border-radius:7px 0 0 7px!important;}
.sitemd-exact-estimate label.role-control button:last-child{border-radius:0 7px 7px 0!important;border-left:0!important;}
@media(max-width:900px){.sitemd-exact-estimate>div{flex-wrap:wrap!important}.sitemd-material-choice-actions{flex-direction:column!important}.sitemd-material-pill{grid-template-columns:1fr!important}}

/* SiteMD 5.0.9: real materials stock modal + job estimation CSS fix */
.sitemd-bulk-material-panel{width:min(720px,calc(100vw - 48px))!important;max-height:calc(100vh - 96px)!important;display:flex!important;flex-direction:column!important;}
.sitemd-bulk-list{max-height:420px!important;overflow:auto!important;background:#fff!important;}
.sitemd-bulk-material-option{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;padding:14px 16px!important;min-height:72px!important;cursor:pointer!important;}
.sitemd-bulk-material-option input[type=checkbox]{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.sitemd-bulk-material-check{width:22px!important;height:22px!important;border:2px solid #cbd5e1!important;border-radius:6px!important;background:#fff!important;display:block!important;}
.sitemd-bulk-material-option input[type=checkbox]:checked + .sitemd-bulk-material-check{background:#ef4444!important;border-color:#ef4444!important;box-shadow:inset 0 0 0 4px #fff!important;}
.sitemd-bulk-material-main{min-width:0!important;display:block!important;}
.sitemd-bulk-material-main strong{display:block!important;font-size:14px!important;font-weight:900!important;color:#0f172a!important;line-height:1.2!important;}
.sitemd-bulk-material-main small{display:block!important;margin-top:3px!important;color:#94a3b8!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.sitemd-bulk-material-stock{font-size:13px!important;font-weight:900!important;color:#334155!important;white-space:nowrap!important;}
.sitemd-bulk-empty{padding:24px!important;color:#64748b!important;font-weight:800!important;text-align:center!important;}
.sitemd-material-pill{position:relative!important;}
.sitemd-remove-material-pill{margin-left:auto!important;border:0!important;background:transparent!important;color:#ef4444!important;font-size:18px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;}
.sitemd-exact-estimate{padding:16px 18px 18px!important;}
.sitemd-exact-estimate>div{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
.sitemd-exact-estimate label.check{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;line-height:1!important;width:auto!important;min-width:auto!important;margin:0 0 7px!important;}
.sitemd-exact-estimate label.check span{display:inline-block!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;}
.sitemd-exact-estimate label.role-control{white-space:nowrap!important;}
.sitemd-exact-estimate label.role-control>span{display:inline-flex!important;white-space:nowrap!important;}
@media(max-width:1100px){.sitemd-exact-estimate>div{flex-wrap:wrap!important}.sitemd-exact-estimate label.role-control{flex:0 0 auto!important}}

/* SiteMD 5.0.10: compact selected materials + quantity controls */
.sitemd-exact-material-list{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:12px 0 18px!important;
}
.sitemd-material-pill{
  display:grid!important;
  grid-template-columns:150px 80px minmax(220px,1fr) 150px 42px!important;
  gap:12px!important;
  align-items:center!important;
  width:100%!important;
  min-height:54px!important;
  background:#f8fafc!important;
  border:1px solid #dfe7f1!important;
  border-radius:10px!important;
  padding:10px 12px!important;
  box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
  color:#334155!important;
  font-size:14px!important;
}
.sitemd-material-qty-control{
  display:inline-grid!important;
  grid-template-columns:34px 58px 34px!important;
  align-items:center!important;
  width:max-content!important;
  overflow:hidden!important;
  border:1px solid #dbe3ee!important;
  border-radius:8px!important;
  background:#fff!important;
}
.sitemd-material-qty-control button{
  width:34px!important;
  height:34px!important;
  border:0!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  padding:0!important;
  cursor:pointer!important;
}
.sitemd-material-qty-control input{
  width:58px!important;
  height:34px!important;
  border:0!important;
  border-left:1px solid #edf2f7!important;
  border-right:1px solid #edf2f7!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#0f172a!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
}
.sitemd-material-pill-unit{font-weight:800!important;color:#475569!important;}
.sitemd-material-pill-desc{font-weight:800!important;color:#334155!important;line-height:1.25!important;}
.sitemd-material-pill-notes{font-style:italic!important;color:#475569!important;text-align:left!important;}
.sitemd-remove-material-pill{
  width:36px!important;
  height:36px!important;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0f172a!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  margin:0!important;
}
.sitemd-bulk-material-panel{width:min(820px,calc(100vw - 48px))!important;}
.sitemd-bulk-material-option{
  grid-template-columns:28px minmax(0,1fr) auto 92px!important;
  gap:14px!important;
}
.sitemd-bulk-material-qty{
  width:78px!important;
  height:36px!important;
  border:1px solid #dfe7f1!important;
  border-radius:8px!important;
  background:#fff!important;
  padding:0 8px!important;
  text-align:center!important;
  font-size:14px!important;
  font-weight:800!important;
  color:#0f172a!important;
}
.sitemd-exact-estimate{
  max-width:100%!important;
  overflow:visible!important;
}
.sitemd-exact-estimate h4{
  font-size:16px!important;
  font-weight:900!important;
  color:#0f172a!important;
}
.sitemd-exact-estimate>div{
  display:flex!important;
  align-items:flex-end!important;
  gap:9px!important;
  flex-wrap:wrap!important;
}
.sitemd-exact-estimate label.duration{flex:0 0 112px!important;width:112px!important;}
.sitemd-exact-estimate label.check{
  flex:0 0 auto!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
  margin:0 6px 8px 0!important;
  white-space:nowrap!important;
  font-size:13px!important;
}
.sitemd-exact-estimate label.check input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;}
.sitemd-exact-estimate label.role-control{
  flex:0 0 120px!important;
  min-width:120px!important;
  max-width:130px!important;
  white-space:nowrap!important;
  font-size:12px!important;
  color:#64748b!important;
}
.sitemd-exact-estimate label.role-control>span{display:inline-flex!important;width:78px!important;}
@media(max-width:900px){
  .sitemd-material-pill{grid-template-columns:1fr!important;align-items:stretch!important;}
  .sitemd-bulk-material-option{grid-template-columns:28px minmax(0,1fr)!important;}
  .sitemd-bulk-material-stock,.sitemd-bulk-material-qty{grid-column:2!important;}
}


/* SiteMD 5.0.11 bulk materials + workflow fixes */
.sitemd-bulk-material-option{
display:grid!important;
grid-template-columns:22px 22px minmax(0,1fr) auto auto!important;
align-items:center!important;
gap:14px!important;
padding:14px 16px!important;
}
.sitemd-bulk-material-main{
min-width:0!important;
}
.sitemd-bulk-material-stock{
white-space:nowrap!important;
font-weight:700!important;
color:#0f172a!important;
}
.sitemd-bulk-material-qty{
width:72px!important;
height:38px!important;
border:1px solid #dbe3ef!important;
border-radius:10px!important;
text-align:center!important;
font-weight:700!important;
margin-left:auto!important;
}
.sitemd-checklist-pill{
display:flex!important;
align-items:center!important;
gap:8px!important;
background:#f8fafc!important;
border:1px solid #dbe3ef!important;
border-radius:10px!important;
padding:10px 14px!important;
margin-top:10px!important;
font-weight:600!important;
color:#0f172a!important;
}
.sitemd-js-checklist-list{
display:flex!important;
flex-direction:column!important;
margin-top:10px!important;
}


/* SiteMD 5.0.12: Base44-style bulk material selector rows + live-search support */
.sitemd-bulk-material-panel{
  width:min(960px,calc(100vw - 48px))!important;
  max-height:calc(100vh - 72px)!important;
  padding:28px!important;
  border-radius:14px!important;
  background:#fff!important;
}
.sitemd-bulk-material-panel h3{
  margin:0 0 24px!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:900!important;
  color:#0f172a!important;
}
.sitemd-bulk-close{
  top:24px!important;
  right:24px!important;
  width:32px!important;
  height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#000!important;
  font-size:32px!important;
  font-weight:400!important;
}
.sitemd-bulk-search{
  height:50px!important;
  margin:0 0 16px!important;
  border:1px solid #dbe3ef!important;
  border-radius:10px!important;
  padding:0 18px!important;
  font-size:16px!important;
  font-weight:500!important;
  color:#0f172a!important;
}
.sitemd-bulk-list{
  max-height:560px!important;
  border:1px solid #dbe3ef!important;
  border-radius:10px!important;
  overflow:auto!important;
  background:#fff!important;
  margin-bottom:28px!important;
}
.sitemd-bulk-material-option,
.sitemd-bulk-list label.sitemd-bulk-material-option{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) auto 120px!important;
  column-gap:16px!important;
  align-items:center!important;
  min-height:92px!important;
  padding:18px 18px!important;
  border-bottom:1px solid #e8eef6!important;
  cursor:pointer!important;
  background:#fff!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.sitemd-bulk-material-option:last-child{border-bottom:0!important;}
.sitemd-bulk-material-option input[type=checkbox]{
  position:absolute!important;
  opacity:0!important;
  pointer-events:none!important;
}
.sitemd-bulk-material-check{
  grid-column:1!important;
  width:24px!important;
  height:24px!important;
  border:2px solid #cbd5e1!important;
  border-radius:7px!important;
  background:#fff!important;
  display:block!important;
}
.sitemd-bulk-material-option input[type=checkbox]:checked + .sitemd-bulk-material-check{
  background:#2563eb!important;
  border-color:#2563eb!important;
  box-shadow:inset 0 0 0 4px #fff!important;
}
.sitemd-bulk-material-main{
  grid-column:2!important;
  min-width:0!important;
  display:block!important;
}
.sitemd-bulk-material-main strong{
  display:block!important;
  max-width:100%!important;
  font-size:20px!important;
  line-height:1.05!important;
  font-weight:900!important;
  color:#0f172a!important;
  white-space:normal!important;
  word-break:normal!important;
}
.sitemd-bulk-material-main small{
  display:block!important;
  margin-top:8px!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  color:#94a3b8!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.sitemd-bulk-material-stock{
  grid-column:3!important;
  justify-self:end!important;
  white-space:nowrap!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#0f172a!important;
}
.sitemd-bulk-material-qty{
  grid-column:4!important;
  justify-self:end!important;
  width:92px!important;
  max-width:92px!important;
  min-width:92px!important;
  height:50px!important;
  border:1px solid #dbe3ef!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:0 10px!important;
  text-align:center!important;
  font-size:18px!important;
  line-height:50px!important;
  font-weight:500!important;
  color:#0f172a!important;
  box-shadow:none!important;
}
.sitemd-bulk-add-selected{
  display:block!important;
  margin:0 auto!important;
  height:auto!important;
  border:0!important;
  background:transparent!important;
  color:#0f172a!important;
  padding:12px 18px!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:900!important;
  box-shadow:none!important;
}
@media(max-width:720px){
  .sitemd-bulk-material-panel{width:calc(100vw - 24px)!important;padding:20px!important;}
  .sitemd-bulk-material-option,
  .sitemd-bulk-list label.sitemd-bulk-material-option{
    grid-template-columns:34px minmax(0,1fr) 86px!important;
    row-gap:10px!important;
  }
  .sitemd-bulk-material-stock{grid-column:2!important;justify-self:start!important;font-size:15px!important;}
  .sitemd-bulk-material-qty{grid-column:3!important;grid-row:1 / span 2!important;width:76px!important;min-width:76px!important;max-width:76px!important;}
}


/* SiteMD 5.1.0: robust live bulk-material search */
.sitemd-bulk-no-results{padding:34px 20px!important;text-align:center!important;color:#64748b!important;font-weight:800!important;font-size:16px!important;}
.sitemd-bulk-material-option[hidden]{display:none!important;}

/* SiteMD 5.1.1 live quote/workflow polish */
.sitemd-b44-select{width:100%;height:42px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;padding:0 12px;color:#334155;font-weight:600;margin:6px 0 24px;}
.sitemd-b44-inner-panel{background:#f8fafc;border:1px solid #dbe3ef;border-radius:10px;padding:16px;margin:14px 0 20px;}
.sitemd-checklist-visible-list{display:grid;gap:8px;margin:10px 0 18px;}
.sitemd-checklist-pill{background:#ecfdf5;border:1px solid #a7f3d0;color:#0f766e;border-radius:10px;padding:12px 14px;font-weight:700;}
.sitemd-material-choice-actions{display:flex;gap:12px;margin:12px 0 14px;}
.sitemd-material-pill-list{display:grid;gap:8px;margin:12px 0 18px;}
.sitemd-material-pill{display:grid;grid-template-columns:auto 60px minmax(0,1fr) minmax(120px,.35fr) auto;gap:10px;align-items:center;border:1px solid #dbe3ef;border-radius:10px;padding:10px;background:#fff;}
.sitemd-material-qty-control{display:flex;align-items:center;border:1px solid #dbe3ef;border-radius:8px;overflow:hidden;background:#fff;}
.sitemd-material-qty-control button{width:32px;height:34px;border:0;background:#f8fafc;font-weight:900;cursor:pointer;}
.sitemd-material-qty-control input{width:54px;height:34px;border:0;text-align:center;font-weight:700;}
.sitemd-material-pill-unit{font-weight:800;color:#64748b;}
.sitemd-material-pill-desc{color:#0f172a;}
.sitemd-material-pill-notes{color:#94a3b8;font-style:normal;font-size:12px;}
.sitemd-remove-material-pill{border:0;background:transparent;color:#ef4444;font-size:20px;cursor:pointer;}
.sitemd-role-count{width:34px;height:34px;text-align:center;border:1px solid #dbe3ef;border-left:0;border-right:0;font-weight:800;background:#fff;}
.sitemd-role-minus,.sitemd-role-plus{width:36px!important;height:36px!important;}
.sitemd-b44-quote-builder .sitemd-b44-chip-row button.active,.sitemd-quote-engineer-pill.active{background:#ef4444!important;color:#fff!important;border-color:#ef4444!important;box-shadow:0 8px 18px rgba(239,68,68,.18);}
.sitemd-exact-material-list li{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;}
.sitemd-exact-material-list li[hidden]{display:none!important;}
.sitemd-exact-material-list li span{min-width:0;overflow:hidden;text-overflow:ellipsis;}
.sitemd-exact-material-list li em{display:block;color:#94a3b8;font-size:11px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;}
.sitemd-quote-selected-materials,.sitemd-quote-selected-engineers{display:grid;gap:10px;margin:8px 0 18px;}
.sitemd-quote-line-controls{display:flex;align-items:center;gap:8px;margin-left:auto;}
.sitemd-quote-material-minus,.sitemd-quote-material-plus{width:28px;height:28px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;font-weight:900;cursor:pointer;}
.sitemd-b44-quote-line input,.sitemd-b44-labour-row input{height:34px;border:1px solid #dbe3ef;border-radius:8px;padding:0 10px;max-width:86px;text-align:center;}
.sitemd-b44-quote-line label,.sitemd-b44-labour-row label{display:flex;align-items:center;gap:6px;color:#64748b;font-size:12px;font-weight:700;}
.sitemd-quote-trash{border:0;background:transparent;color:#ef4444;cursor:pointer;font-size:16px;}
.sitemd-labour-mode{height:30px;border:1px solid #dbe3ef;background:#fff;border-radius:7px;padding:0 10px;font-weight:800;cursor:pointer;}
.sitemd-labour-mode.active{background:#ef4444;color:#fff;border-color:#ef4444;}
.sitemd-quote-spinner{display:inline-block;width:14px;height:14px;margin-left:8px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:sitemd-spin .7s linear infinite;vertical-align:middle;}
@keyframes sitemd-spin{to{transform:rotate(360deg)}}
.sitemd-b44-summary .sitemd-quote-spinner[hidden]{display:none;}

/* SiteMD 5.1.2 quote workflow behaviour polish */
.sitemd-quote-engineer-pill.active,
.sitemd-quote-engineer-pill.selected,
.sitemd-quote-engineer-pill.is-selected{
  background:#ef4444!important;
  color:#fff!important;
  border-color:#ef4444!important;
  box-shadow:0 8px 18px rgba(239,68,68,.18)!important;
}
.sitemd-quote-duration-panel{margin:0 0 16px!important;}
.sitemd-quote-duration-panel h3{margin:0 0 10px!important;}
.sitemd-quote-duration-panel > div{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important;}
.sitemd-quote-duration-panel label{font-weight:800!important;color:#334155!important;display:flex!important;align-items:center!important;gap:8px!important;}
.sitemd-quote-duration-panel input[type=number]{height:38px!important;width:90px!important;border:1px solid #dbe3ef!important;border-radius:8px!important;padding:0 10px!important;}
.sitemd-quote-line-controls{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important;}
.sitemd-quote-trash{color:#ef4444!important;}

/* SiteMD 5.2.0 quote live states */
.sitemd-quote-engineer-pill.active,
.sitemd-quote-engineer-pill.selected,
.sitemd-quote-engineer-pill.is-selected {
  background: #f04444 !important;
  color: #fff !important;
  border-color: #f04444 !important;
  box-shadow: 0 8px 18px rgba(240, 68, 68, .18) !important;
}
.sitemd-labour-mode.active {
  background: #f04444 !important;
  color: #fff !important;
  border-color: #f04444 !important;
}
.sitemd-quote-spinner:not([hidden])::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 999px;
  animation: sitemdQuoteSpin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes sitemdQuoteSpin { to { transform: rotate(360deg); } }
.sitemd-quote-duration-panel-520 { margin: 16px 0; }

/* SiteMD 5.2.2 quote fixes */
.sitemd-b44-quote-builder .sitemd-exact-material-list ul,
.sitemd-exact-quote-grid .sitemd-exact-material-list ul {
  max-height: 720px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sitemd-quote-engineer-pill.active,
.sitemd-quote-engineer-pill.selected,
.sitemd-quote-engineer-pill.is-selected {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #fff !important;
}
.sitemd-labour-mode.active {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
}
.sitemd-quote-spinner[hidden] { display: none !important; }
.sitemd-quote-spinner:not([hidden]) {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: -2px;
  animation: sitemdQuoteSpin .75s linear infinite;
}
@keyframes sitemdQuoteSpin { to { transform: rotate(360deg); } }
/* SiteMD 5.3.1 estimate role controls */
.sitemd-exact-estimate .role-control span{display:inline-flex;align-items:center;border:1px solid #0f172a;border-radius:10px;overflow:hidden;background:#fff;height:44px}
.sitemd-exact-estimate .role-control button{width:42px;height:44px;border:0;background:#fff;font-size:22px;font-weight:900;line-height:1;cursor:pointer}
.sitemd-exact-estimate .role-control .sitemd-role-count{width:44px;height:44px;border:0;border-left:1px solid #0f172a;border-right:1px solid #0f172a;text-align:center;font-weight:900;background:#fff;padding:0;color:#0f172a}
.sitemd-exact-estimate .role-control .sitemd-role-count::-webkit-outer-spin-button,.sitemd-exact-estimate .role-control .sitemd-role-count::-webkit-inner-spin-button{appearance:none;margin:0}
.sitemd-exact-estimate .check input[type=radio]{width:24px;height:24px;accent-color:#1a73e8}
.sitemd-quote-engineer-pill.active,.sitemd-quote-engineer-pill.selected,.sitemd-quote-engineer-pill.is-selected{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important;box-shadow:0 8px 18px rgba(239,68,68,.2)}


/* SiteMD 5.3.1 - hide job estimate role controls for now */
.sitemd-exact-estimate label.role-control{display:none!important;}
.sitemd-exact-estimate[data-sitemd-estimate-controls] h4{margin-bottom:18px!important;}

/* SiteMD 5.3.1 - clearer quote status buttons */
.gizzi-quote-status-card .gizzi-quote-response-button-waiting.is-active{background:#64748b!important;border-color:#64748b!important;color:#fff!important;}
.gizzi-quote-status-card .gizzi-quote-response-button-accepted.is-active{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;}
.gizzi-quote-status-card .gizzi-quote-response-button-rejected.is-active{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important;}
.gizzi-quote-status-card .gizzi-quote-booking-wrap{margin-top:18px!important;}
.gizzi-quote-status-card .gizzi-quote-booking-wrap .gizzi-red-action{display:inline-flex!important;align-items:center!important;gap:8px!important;}

/* SiteMD 5.3.2 schedule job stage polish */
.sitemd-schedule-job-stage .sitemd-schedule-accepted-banner{background:#ecfdf3;border:1px solid #bbf7d0;color:#047857;border-radius:14px;padding:18px 20px;margin-bottom:22px;font-weight:700;line-height:1.6}.sitemd-schedule-job-stage .gizzi-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0 16px}.sitemd-schedule-job-stage .gizzi-calendar-nav-actions{display:flex;align-items:center;gap:8px}.sitemd-schedule-date-grid{grid-template-columns:1fr 1fr!important;margin-top:22px}.sitemd-schedule-engineers{margin:20px 0}.sitemd-schedule-engineers>strong{display:block;margin-bottom:10px}.sitemd-schedule-engineer-pills{display:flex;flex-wrap:wrap;gap:8px}.sitemd-schedule-engineer-pill{border:1px solid white;background:#fff;border-radius:999px;padding:8px 14px;font-weight:700;color:#334155;cursor:pointer}.sitemd-schedule-engineer-pill.is-active{background:#f04444;border-color:#f04444;color:#fff;box-shadow:0 8px 18px rgba(240,68,68,.18)}


/* SiteMD 5.3.8 schedule job engineer calendar */
.sitemd-schedule-board{margin:22px 0 22px;background:#fff;border:1px solid #e5eaf3;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px rgba(15,23,42,.04)}
.sitemd-schedule-board-head{display:flex;align-items:center;justify-content:space-between;padding:16px 0 12px;border-bottom:0;background:#fff}
.sitemd-schedule-board-head h4{margin:0 0 0 0;font-size:16px;line-height:1.2;color:#101828;font-weight:800}
.sitemd-schedule-board-nav{display:flex;gap:8px;align-items:center;margin-right:4px}
.sitemd-schedule-nav,.sitemd-schedule-this-week{display:inline-flex;align-items:center;justify-content:center;height:36px;border:1px solid #dde6f2;background:#fff;color:#111827;border-radius:8px;text-decoration:none;font-weight:700;font-size:13px;box-shadow:0 1px 3px rgba(15,23,42,.06)}
.sitemd-schedule-nav{width:36px}.sitemd-schedule-this-week{padding:0 14px}
.sitemd-schedule-grid{display:grid;grid-template-columns:96px repeat(var(--sitemd-schedule-cols),minmax(120px,1fr));border:1px solid #e5eaf3;border-radius:10px;overflow:hidden;background:#fff}
.sitemd-schedule-corner,.sitemd-schedule-day-head{min-height:48px;background:#f8fafc;border-right:1px solid #e9edf5;border-bottom:1px solid #e9edf5;color:#475569;font-weight:800;display:flex;align-items:center;padding:0 10px}
.sitemd-schedule-day-head{justify-content:center;flex-direction:column;gap:1px;color:#111827}.sitemd-schedule-day-head span{font-size:13px;color:#475569}.sitemd-schedule-day-head strong{font-size:16px}.sitemd-schedule-day-head.is-weekend span,.sitemd-schedule-day-head.is-weekend strong{color:#ef4444}
.sitemd-schedule-engineer{min-height:48px;border-right:1px solid #edf1f7;border-bottom:1px solid #edf1f7;background:#fff;display:flex;gap:6px;align-items:center;padding:0 8px;color:#111827;font-weight:800;font-size:14px}.sitemd-schedule-engineer i{width:6px;height:6px;border-radius:999px;background:#a8b2c1;flex:0 0 auto}.sitemd-schedule-engineer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sitemd-schedule-cell{min-height:48px;border:0;border-right:1px solid #f1f4f8;border-bottom:1px solid #edf1f7;background:#fff;display:flex;align-items:flex-start;gap:3px;flex-direction:column;padding:5px;text-align:left;cursor:pointer}.sitemd-schedule-cell:hover{background:#eff6ff}.sitemd-schedule-cell.is-selected{background:#dbeafe!important;outline:2px solid #60a5fa;outline-offset:-2px}
.sitemd-schedule-job-chip{display:block;width:100%;max-width:100%;border:1px solid color-mix(in srgb,var(--chip-color,#fecaca) 80%,#ef4444);background:color-mix(in srgb,var(--chip-color,#fecaca) 72%,#fff);color:#7f1d1d;border-radius:4px;padding:3px 5px;font-size:12px;font-weight:700;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sitemd-schedule-date-grid{margin-top:14px}
@media (max-width: 980px){.sitemd-schedule-board{overflow-x:auto}.sitemd-schedule-grid{min-width:980px}.sitemd-schedule-board-head{min-width:980px}}

/* SiteMD 5.3.9: Schedule Job stage exact Base44-style calendar */
.sitemd-schedule-job-stage{padding:28px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.06)!important;}
.sitemd-schedule-accepted-banner{background:#ecfdf3!important;border:1px solid #bbf7d0!important;color:#047857!important;border-radius:8px!important;padding:18px 20px!important;margin-bottom:26px!important;font-size:14px!important;line-height:1.55!important;}
.sitemd-schedule-accepted-banner strong{font-weight:900!important;color:#047857!important;display:block!important;margin-bottom:2px!important;}
.sitemd-schedule-help{margin:0 0 18px!important;color:#64748b!important;font-size:13px!important;line-height:1.55!important;}
.sitemd-schedule-help strong{color:#1f2937!important;font-size:14px!important;font-weight:900!important;}
.sitemd-schedule-help span{color:#94a3b8!important;font-size:12px!important;}
.sitemd-schedule-calendar-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:10px 0 14px!important;}
.sitemd-schedule-calendar-head>strong{font-size:18px!important;line-height:1!important;font-weight:950!important;color:#111827!important;}
.sitemd-schedule-calendar-head>div{display:flex!important;align-items:center!important;gap:6px!important;}
.sitemd-schedule-calendar-head a{height:36px!important;min-width:36px!important;padding:0 12px!important;border-radius:7px!important;border:1px solid #e2e8f0!important;background:#fff!important;color:#111827!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:850!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;}
.sitemd-exact-schedule-calendar{display:grid!important;grid-template-columns:100px repeat(7,minmax(122px,1fr))!important;border:1px solid #e5eaf1!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 1px 3px rgba(15,23,42,.04)!important;}
.sitemd-exact-schedule-calendar .sitemd-cal-head{height:56px!important;background:#f8fafc!important;border-right:1px solid #edf1f7!important;border-bottom:1px solid #e5eaf1!important;color:#111827!important;font-weight:950!important;font-size:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;line-height:1.1!important;}
.sitemd-exact-schedule-calendar .sitemd-cal-head.sitemd-cal-name{align-items:flex-start!important;padding-left:8px!important;color:#475569!important;font-size:14px!important;}
.sitemd-exact-schedule-calendar .sitemd-cal-head.is-weekend{color:#dc2626!important;}
.sitemd-exact-schedule-calendar .sitemd-cal-head span{font-size:15px!important;font-weight:950!important;}
.sitemd-exact-schedule-calendar .sitemd-cal-head strong{font-size:18px!important;font-weight:950!important;color:inherit!important;}
.sitemd-cal-engineer{min-height:72px!important;border-right:1px solid #edf1f7!important;border-bottom:1px solid #edf1f7!important;background:#fff!important;display:flex!important;align-items:center!important;gap:6px!important;padding:8px!important;font-size:14px!important;font-weight:950!important;color:#111827!important;}
.sitemd-cal-engineer span{width:7px!important;height:7px!important;border-radius:999px!important;background:#9ca3af!important;flex:0 0 7px!important;}
.sitemd-cal-cell{min-height:72px!important;border:0!important;border-right:1px solid #f1f4f8!important;border-bottom:1px solid #edf1f7!important;background:#fff!important;padding:5px!important;text-align:left!important;display:flex!important;align-items:stretch!important;gap:3px!important;flex-direction:column!important;cursor:pointer!important;transition:background .12s ease,outline .12s ease!important;overflow:hidden!important;}
.sitemd-cal-cell:hover{background:#eff6ff!important;}
.sitemd-cal-cell.is-selected{background:#bfdbfe!important;outline:2px solid #60a5fa!important;outline-offset:-2px!important;}
.sitemd-cal-pill{display:block!important;height:26px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;border-radius:5px!important;padding:5px 7px!important;font-size:12px!important;line-height:14px!important;font-weight:900!important;}
.sitemd-cal-pill.red{background:#fee2e2!important;border:1px solid #fca5a5!important;color:#991b1b!important;}
.sitemd-cal-pill.blue{background:#dbeafe!important;border:1px solid #93c5fd!important;color:#1e3a8a!important;}
.sitemd-cal-pill.green{background:#dcfce7!important;border:1px solid #86efac!important;color:#166534!important;}
.sitemd-cal-pill.yellow{background:#fef3c7!important;border:1px solid #facc15!important;color:#92400e!important;}
.sitemd-cal-pill.purple{background:#f3e8ff!important;border:1px solid #d8b4fe!important;color:#6b21a8!important;}
.sitemd-schedule-selected-box{background:#fff1f2!important;border:1px solid #fecaca!important;border-radius:8px!important;padding:18px 20px!important;margin:24px 0 20px!important;color:#dc2626!important;min-height:74px!important;}
.sitemd-schedule-selected-box strong{display:block!important;font-size:15px!important;font-weight:950!important;margin-bottom:10px!important;color:#dc2626!important;}
.sitemd-schedule-selected-box [data-sitemd-selected-list]{display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.sitemd-selected-tag{display:inline-flex!important;align-items:center!important;gap:8px!important;border:1px solid #fca5a5!important;color:#dc2626!important;background:#fff!important;border-radius:999px!important;padding:7px 12px!important;font-size:13px!important;font-weight:800!important;}
.sitemd-selected-tag button{border:0!important;background:transparent!important;color:#dc2626!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;padding:0!important;}
.sitemd-schedule-date-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;margin-top:18px!important;}
.sitemd-schedule-date-grid label,.sitemd-schedule-repeat{display:block!important;color:#111827!important;font-size:13px!important;font-weight:900!important;}
.sitemd-schedule-date-grid input,.sitemd-schedule-repeat select{display:block!important;width:100%!important;height:42px!important;margin-top:8px!important;border:1px solid #e2e8f0!important;border-radius:7px!important;background:#fff!important;color:#111827!important;padding:0 14px!important;font-size:14px!important;}
.sitemd-schedule-engineers{margin:18px 0 18px!important;}
.sitemd-schedule-engineers>strong{display:block!important;font-size:13px!important;font-weight:950!important;color:#111827!important;margin-bottom:9px!important;}
.sitemd-schedule-engineer-pills{display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.sitemd-schedule-engineer-pill{height:30px!important;border:0px solid #dbe4ef!important;background:#fff!important;border-radius:999px!important;padding:0 12px!important;color:#334155!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;}
.sitemd-schedule-engineer-pill.is-active{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important;box-shadow:0 8px 18px rgba(239,68,68,.18)!important;}
.sitemd-schedule-repeat{margin-bottom:22px!important;}
.sitemd-schedule-final-actions{display:grid!important;grid-template-columns:auto 1fr auto auto!important;align-items:center!important;gap:12px!important;margin-top:0!important;}
.sitemd-schedule-final-actions .sitemd-b44-btn{height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:7px!important;font-weight:900!important;text-decoration:none!important;}
.sitemd-schedule-final-actions .sitemd-link-existing-job{border:1px solid #f59e0b!important;color:#b45309!important;background:#fff!important;}
@media(max-width:1200px){.sitemd-exact-schedule-calendar{min-width:1120px!important}.sitemd-schedule-job-stage{overflow:auto!important}.sitemd-schedule-date-grid{grid-template-columns:1fr!important}.sitemd-schedule-final-actions{grid-template-columns:1fr!important}}


/* SiteMD 5.3.11 - schedule calendar closer to Base44 reference: softer/no visible grid borders, red selected pills */
.sitemd-schedule-job-stage .sitemd-exact-schedule-calendar{
  border:1px solid #e8edf5!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(15,23,42,.04)!important;
  column-gap:0!important;
  row-gap:0!important;
}
.sitemd-schedule-job-stage .sitemd-exact-schedule-calendar .sitemd-cal-head{
  border-right:0!important;
  border-bottom:1px solid #edf1f7!important;
  background:#f8fafc!important;
}
.sitemd-schedule-job-stage .sitemd-cal-engineer{
  border-right:0!important;
  border-bottom:1px solid #f1f4f8!important;
  background:#fff!important;
  min-height:72px!important;
  padding:0 8px!important;
}
.sitemd-schedule-job-stage .sitemd-cal-cell{
  border:0!important;
  border-bottom:1px solid #f1f4f8!important;
  background:#fff!important;
  min-height:72px!important;
  padding:6px 4px!important;
}
.sitemd-schedule-job-stage .sitemd-cal-cell:nth-child(8n),
.sitemd-schedule-job-stage .sitemd-cal-engineer:nth-child(8n){
  border-right:0!important;
}
.sitemd-schedule-job-stage .sitemd-cal-cell:hover{background:#f8fbff!important;}
.sitemd-schedule-job-stage .sitemd-cal-cell.is-selected{
  background:#bfdbfe!important;
  outline:2px solid #60a5fa!important;
  outline-offset:-2px!important;
}
.sitemd-schedule-job-stage .sitemd-cal-pill{
  height:27px!important;
  border-radius:5px!important;
  padding:5px 7px!important;
  margin:0!important;
  box-shadow:none!important;
}
.sitemd-schedule-job-stage .sitemd-schedule-selected-box{
  background:#fff1f2!important;
  border:1px solid #fecaca!important;
  color:#b91c1c!important;
  border-radius:10px!important;
}
.sitemd-schedule-job-stage .sitemd-schedule-selected-box strong{color:#b91c1c!important;}
.sitemd-schedule-job-stage .sitemd-selected-tag{
  background:#ef4444!important;
  border-color:#ef4444!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(239,68,68,.15)!important;
}
.sitemd-schedule-job-stage .sitemd-selected-tag button{color:#fff!important;opacity:.95!important;}
.sitemd-schedule-job-stage .sitemd-schedule-engineer-pill.is-active{
  background:#ef4444!important;
  border-color:#ef4444!important;
  color:#fff!important;
}


/* SiteMD 5.3.16 - mobile schedule board scroll fix */
.sitemd-schedule-board{max-width:100%;}
.sitemd-schedule-grid{max-height:70vh;overflow:auto;-webkit-overflow-scrolling:touch;}
.sitemd-schedule-corner,.sitemd-schedule-day-head{position:sticky;top:0;z-index:3;}
.sitemd-schedule-corner,.sitemd-schedule-engineer{position:sticky;left:0;z-index:2;}
.sitemd-schedule-corner{z-index:4;}
@media (max-width: 980px){
  .sitemd-schedule-board{overflow:auto!important;max-height:72vh!important;-webkit-overflow-scrolling:touch!important;}
  .sitemd-schedule-grid{min-width:980px!important;max-height:none!important;}
  .sitemd-site-visit-calendar-stage,.sitemd-schedule-job-stage{overflow:visible!important;}
}

/* SiteMD 5.3.17 - keep the new Site Visit calendar contained on mobile */
@media (max-width: 980px){
  .gizzi-enquiry-detail-page,
  .gizzi-enquiry-calendar-section,
  .sitemd-site-visit-calendar-stage{
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  .sitemd-site-visit-calendar-stage .sitemd-schedule-board{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:68vh!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    box-sizing:border-box!important;
  }
  .sitemd-site-visit-calendar-stage .sitemd-schedule-grid{
    width:max-content!important;
    min-width:880px!important;
    max-height:none!important;
  }
  .sitemd-site-visit-calendar-stage .gizzi-site-visit-form,
  .sitemd-site-visit-calendar-stage .gizzi-form-grid,
  .sitemd-site-visit-calendar-stage label,
  .sitemd-site-visit-calendar-stage input,
  .sitemd-site-visit-calendar-stage select{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

/* SiteMD 5.3.24 - Job checklist visual parity with enquiry/materials checklist */
.sitemd-job-checklist-card .sitemd-job-checklist-list{
  display:grid;
  gap:12px;
  margin:16px 0 18px;
}
.sitemd-job-checklist-card .gizzi-job-checklist-row{
  width:100%;
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px !important;
  margin:0;
  background:#f8fafc;
  border:1px solid #e2e8f0 !important;
  border-radius:16px;
  box-shadow:none;
}
.sitemd-job-checklist-card .gizzi-job-checklist-row.is-done{
  background:#f8fafc;
  border-color:#e2e8f0 !important;
}
.sitemd-job-checklist-card .sitemd-check{
  appearance:none;
  -webkit-appearance:none;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:999px !important;
  border:2px solid #cbd5e1 !important;
  background:#fff !important;
  color:transparent !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  box-shadow:none !important;
}
.sitemd-job-checklist-card .sitemd-check svg{
  width:18px !important;
  height:18px !important;
  stroke:currentColor !important;
  fill:none !important;
  opacity:0;
}
.sitemd-job-checklist-card .sitemd-check.done{
  background:#dcfce7 !important;
  border-color:#dcfce7 !important;
  color:#16a34a !important;
}
.sitemd-job-checklist-card .sitemd-check.done svg{opacity:1;}
.sitemd-job-checklist-card .sitemd-check-copy{min-width:0;}
.sitemd-job-checklist-card .sitemd-check-copy strong{
  display:block;
  font-size:18px;
  line-height:1.25;
  font-weight:850;
  color:#0f172a;
  word-break:break-word;
}
.sitemd-job-checklist-card .sitemd-check-copy span{
  display:block;
  margin-top:4px;
  font-size:13px;
  color:#64748b;
}
.sitemd-job-checklist-card .sitemd-text-danger{
  border:0 !important;
  background:transparent !important;
  color:#ef4444 !important;
  padding:6px 0 !important;
  font-weight:800;
  box-shadow:none !important;
}
.sitemd-job-checklist-card .sitemd-add-checklist-form{
  display:grid !important;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:end;
  padding:16px;
  margin-top:14px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}
.sitemd-job-checklist-card .sitemd-add-checklist-form label{
  margin:0 !important;
  font-weight:850;
  color:#334155;
}
.sitemd-job-checklist-card .sitemd-add-checklist-form input{
  width:100%;
  margin-top:8px;
}
.sitemd-job-checklist-card .sitemd-add-checklist-form .gizzi-admin-button{
  min-height:48px;
  padding:12px 18px !important;
  white-space:nowrap;
}
@media (max-width:640px){
  .sitemd-job-checklist-card .gizzi-job-checklist-row{
    grid-template-columns:auto minmax(0,1fr);
    gap:12px;
  }
  .sitemd-job-checklist-card .sitemd-text-danger{
    grid-column:2;
    justify-self:start;
  }
  .sitemd-job-checklist-card .sitemd-add-checklist-form{
    grid-template-columns:1fr;
  }
  .sitemd-job-checklist-card .sitemd-add-checklist-form .gizzi-admin-button{
    width:100%;
  }
}


/* SiteMD 5.3.24 - no-reload checklist toggles */
.sitemd-job-checklist-card .gizzi-job-checklist-row{cursor:pointer;transition:opacity .16s ease, transform .16s ease, border-color .16s ease;}
.sitemd-job-checklist-card .gizzi-job-checklist-row.is-loading{opacity:.62;pointer-events:none;}
.sitemd-job-checklist-card .gizzi-job-checklist-row.is-done .sitemd-check-copy strong{opacity:.72;}
.sitemd-job-checklist-card .sitemd-check{transition:background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;}
.sitemd-job-checklist-card .sitemd-check:active{transform:scale(.94);}

/* SiteMD 5.3.32: paste-and-review material entry */
.sitemd-line-material-box{margin-top:16px!important;border-top:1px solid #e5e7eb!important;padding-top:16px!important;}
.sitemd-line-material-panel{margin-top:14px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:16px!important;display:block!important;}
.sitemd-line-material-panel[hidden]{display:none!important;}
.sitemd-line-material-panel label{display:block!important;font-weight:900!important;color:#0f172a!important;margin-bottom:10px!important;}
.sitemd-line-material-panel textarea{width:100%!important;min-height:120px!important;border:1px solid #dbe3ef!important;border-radius:14px!important;padding:12px 14px!important;background:#fff!important;font:inherit!important;font-weight:700!important;color:#0f172a!important;box-sizing:border-box!important;}
.sitemd-line-material-review{display:grid!important;gap:10px!important;margin:14px 0!important;}
.sitemd-line-material-review:empty{display:none!important;}
.sitemd-line-material-review-row{display:grid!important;grid-template-columns:90px 90px minmax(0,1fr)!important;gap:10px!important;align-items:end!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:14px!important;padding:12px!important;}
.sitemd-line-material-review-row label{margin:0!important;font-size:12px!important;color:#64748b!important;}
.sitemd-line-material-review-row input{width:100%!important;border:1px solid #dbe3ef!important;border-radius:12px!important;padding:10px!important;font:inherit!important;font-weight:800!important;box-sizing:border-box!important;}
.sitemd-line-material-help,.sitemd-line-material-empty{font-size:13px!important;font-weight:800!important;color:#64748b!important;margin:8px 0 0!important;}
.sitemd-material-choice-actions .sitemd-open-line-materials{border:1px solid #0f172a!important;background:#fff!important;color:#0f172a!important;border-radius:12px!important;padding:12px 16px!important;font-weight:900!important;}
@media (max-width:700px){.sitemd-line-material-review-row{grid-template-columns:1fr 1fr!important}.sitemd-line-material-review-row label:nth-child(3){grid-column:1 / -1!important}.sitemd-line-material-panel{padding:14px!important;border-radius:16px!important}}

/* SiteMD 5.3.36: Add/Parse material chooser */
.sitemd-material-add-choice{
  background:#f8fafc!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  padding:16px!important;
  margin:0 0 16px!important;
}
.sitemd-material-add-choice[hidden],
.sitemd-material-manual-section[hidden],
.sitemd-material-parse-section[hidden]{display:none!important;}
.sitemd-material-add-choice p{margin:0 0 12px!important;font-weight:900!important;color:#0f172a!important;}
.sitemd-material-add-choice > div{display:flex!important;gap:10px!important;flex-wrap:wrap!important;align-items:center!important;}
.sitemd-material-add-choice button{min-height:44px!important;border-radius:12px!important;font-weight:900!important;}
.sitemd-material-enquiry-actions{display:block!important;}
.sitemd-material-enquiry-actions > .sitemd-enquiry-add-materials-toggle{margin-bottom:12px!important;}
.sitemd-enquiry-stock-link{margin-top:10px!important;}
.sitemd-enquiry-stock-link button{width:auto!important;}
@media (max-width:700px){
  .sitemd-material-add-choice > div{display:grid!important;grid-template-columns:1fr!important;}
  .sitemd-material-add-choice button,
  .sitemd-material-enquiry-actions > .sitemd-enquiry-add-materials-toggle{width:100%!important;justify-content:center!important;}
}


/* v5.4.6 - Restore second calendar option on admin/engineer calendar screens.
   Older SiteMD CSS hid the Google/engineer calendar and its switch button globally. */
.gizzi-calendar-section .gizzi-admin-calendar-mode-switch button[data-gizzi-calendar-layout="week"],
.gizzi-enquiry-calendar-section .gizzi-admin-calendar-mode-switch button[data-gizzi-calendar-layout="week"]{
  display:inline-flex!important;
}
.gizzi-calendar-section .gizzi-google-style-calendar,
.gizzi-enquiry-calendar-section .gizzi-google-style-calendar{
  display:block;
}
.gizzi-calendar-section .gizzi-google-style-calendar[hidden],
.gizzi-calendar-section .gizzi-week-calendar-app[hidden],
.gizzi-calendar-section .gizzi-month-calendar-app[hidden],
.gizzi-enquiry-calendar-section .gizzi-google-style-calendar[hidden],
.gizzi-enquiry-calendar-section .gizzi-week-calendar-app[hidden],
.gizzi-enquiry-calendar-section .gizzi-month-calendar-app[hidden]{
  display:none!important;
}
.gizzi-calendar-section .gizzi-admin-calendar-mode-switch button.is-active,
.gizzi-enquiry-calendar-section .gizzi-admin-calendar-mode-switch button.is-active{
  display:inline-flex!important;
}


/* v9.4.0 desktop density pass for SiteMD legacy shell */
@media (min-width: 901px) {
  .sitemd-app {
    zoom: .86;
    width: 116.2791%;
    max-width: 116.2791%;
    transform-origin: top left;
  }
  .sitemd-main { padding: 22px; }
  .sitemd-topbar h1 { font-size: 26px; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .sitemd-app {
    zoom: .9;
    width: 111.1111%;
    max-width: 111.1111%;
  }
}

/* SiteMD 9.4.28 - Stage 5 quote importer / Base44 quote UI refinements */
.sitemd-quote-preflight{display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:16px!important;margin:0 0 16px!important;align-items:stretch!important}
.sitemd-quote-site-notes-card{background:#eef6ff!important;border:1px solid #bfdbfe!important;border-radius:13px!important;padding:14px!important;box-shadow:0 4px 14px rgba(15,23,42,.04)!important}
.sitemd-quote-site-notes-card h4{margin:0 0 9px!important;color:#1e3a8a!important;font-size:16px!important;font-weight:900!important}
.sitemd-quote-site-notes-card textarea{width:100%!important;border:1px solid #dbeafe!important;border-radius:9px!important;background:#fff!important;color:#334155!important;padding:12px 14px!important;font-size:15px!important;line-height:1.45!important;resize:vertical!important;min-height:92px!important}
.sitemd-quote-job-spec-card{background:#fffbeb!important;border:1px solid #fde68a!important;border-radius:13px!important;padding:14px 16px!important;box-shadow:0 4px 14px rgba(15,23,42,.04)!important}
.sitemd-quote-job-spec-card span{display:block!important;color:#92400e!important;font-size:14px!important;font-weight:900!important;margin-bottom:10px!important}
.sitemd-quote-job-spec-card p{margin:0!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;color:#78350f!important;font-size:15px!important;font-weight:800!important}
.sitemd-quote-job-spec-card b{display:inline-flex!important;align-items:center!important;background:#fde68a!important;color:#78350f!important;border-radius:999px!important;padding:6px 10px!important;font-size:14px!important;font-weight:950!important}
.sitemd-exact-ai-upload{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
.sitemd-exact-ai .sitemd-exact-file{display:inline-flex!important;align-items:center!important;gap:10px!important;border:1px dashed #f59e0b!important;border-radius:9px!important;background:#fff7ed!important;color:#92400e!important;padding:10px 14px!important;font-weight:900!important;cursor:pointer!important}
.sitemd-exact-ai .sitemd-exact-file input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.sitemd-exact-ai .sitemd-exact-file em{font-style:normal!important;color:#b45309!important;font-weight:700!important;max-width:320px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.sitemd-exact-ai button.sitemd-extract-materials-btn.is-loading{opacity:.7!important;cursor:wait!important}
.sitemd-exact-ai-result{margin-top:12px!important;border-radius:10px!important;padding:12px 14px!important;font-size:14px!important;line-height:1.4!important}
.sitemd-exact-ai-result strong{display:block!important;margin-bottom:4px!important;font-weight:950!important}
.sitemd-exact-ai-result span{display:block!important;color:inherit!important;opacity:.85!important}
.sitemd-exact-ai-result.is-success{background:#ecfdf5!important;border:1px solid #bbf7d0!important;color:#166534!important}
.sitemd-exact-ai-result.is-error{background:#fef2f2!important;border:1px solid #fecaca!important;color:#991b1b!important}
.sitemd-exact-ai-result.is-loading{background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1d4ed8!important}
.sitemd-exact-ai-result ul{margin:10px 0 0!important;padding:0!important;list-style:none!important;display:grid!important;gap:8px!important}
.sitemd-exact-ai-result li{display:grid!important;grid-template-columns:1fr auto!important;gap:4px 12px!important;background:#fff!important;border:1px solid rgba(22,101,52,.16)!important;border-radius:8px!important;padding:9px 10px!important}
.sitemd-exact-ai-result li b{font-size:14px!important;color:#0f172a!important}
.sitemd-exact-ai-result li span{font-size:12px!important;color:#64748b!important;grid-column:1!important}
.sitemd-exact-ai-result li em{font-style:normal!important;color:#166534!important;font-weight:900!important;grid-column:2!important;grid-row:1 / span 2!important;align-self:center!important;white-space:nowrap!important}
@media(max-width:900px){.sitemd-quote-preflight{grid-template-columns:1fr!important}.sitemd-quote-job-spec-card p{display:grid!important;gap:8px!important}.sitemd-exact-ai-result li{grid-template-columns:1fr!important}.sitemd-exact-ai-result li em{grid-column:auto!important;grid-row:auto!important}}

/* SiteMD 9.4.30 - manual material entry in Stage 5 quote generator */
.sitemd-exact-material-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:14px 14px 0!important;
}
.sitemd-exact-material-head h4,
.sitemd-exact-material-head h3{
    margin:0!important;
}
.sitemd-manual-material-toggle{
    width:34px!important;
    height:34px!important;
    border-radius:999px!important;
    border:0!important;
    background:#f94144!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-shadow:0 8px 18px rgba(249,65,68,.22)!important;
    cursor:pointer!important;
    flex:0 0 auto!important;
}
.sitemd-manual-material-toggle svg{
    width:16px!important;
    height:16px!important;
}
.sitemd-manual-material-panel{
    margin:12px 14px 10px!important;
    padding:12px!important;
    border:1px solid #e2e8f0!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    display:grid!important;
    gap:10px!important;
}
.sitemd-manual-material-panel[hidden]{display:none!important;}
.sitemd-manual-material-panel label{
    display:grid!important;
    gap:5px!important;
    margin:0!important;
    color:#334155!important;
    font-size:12px!important;
    font-weight:900!important;
}
.sitemd-manual-material-panel input{
    width:100%!important;
    height:38px!important;
    margin:0!important;
    border:1px solid #dbe3ee!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#0f172a!important;
    padding:0 11px!important;
    font-size:14px!important;
    font-weight:700!important;
}
.sitemd-manual-material-add{
    height:40px!important;
    border:0!important;
    border-radius:10px!important;
    background:#111827!important;
    color:#fff!important;
    font-size:13px!important;
    font-weight:950!important;
    cursor:pointer!important;
}
.sitemd-manual-material-feedback{
    margin:0!important;
    padding:9px 10px!important;
    border-radius:9px!important;
    font-size:12px!important;
    font-weight:900!important;
}
.sitemd-manual-material-feedback.is-success{
    background:#ecfdf5!important;
    border:1px solid #bbf7d0!important;
    color:#166534!important;
}
.sitemd-manual-material-feedback.is-error{
    background:#fef2f2!important;
    border:1px solid #fecaca!important;
    color:#991b1b!important;
}

body > div > div > div > div > main > section > div.gizzi-detail-card.gizzi-check-card.gizzi-modern-check-card > p > button{
    background: var(--gizzi-red) !important;
}

div > div.sitemd-material-manual-section > div.gizzi-base44-field-block > div > div.gizzi-job-material-scan-row > button{
    background: var(--gizzi-red) !important;
}

/* SiteMD v11 Job Task List - standalone component */
.sitemd-tasklist-shell{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid #dbe4ee;
  border-radius:22px;
  box-shadow:0 14px 36px rgba(15,23,42,.08);
  padding:18px;
  margin:18px 0;
}
.sitemd-tasklist-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px;}
.sitemd-tasklist-icon{width:42px;height:42px;border-radius:14px;background:#eef6ff;color:#2563eb;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.sitemd-tasklist-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;}
.sitemd-tasklist-header h2{margin:0;color:#0f172a;font-size:20px;font-weight:900;line-height:1.15;}
.sitemd-tasklist-header p{margin:4px 0 0;color:#64748b;font-size:13px;line-height:1.4;}
.sitemd-tasklist-parser-form{background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:14px;margin:0 0 14px;display:flex;flex-direction:column;gap:10px;}
.sitemd-tasklist-parser-label{display:flex;flex-direction:column;gap:6px;color:#0f172a;font-size:14px;font-weight:800;}
.sitemd-tasklist-parser-label span{color:#64748b;font-size:12px;font-weight:600;}
.sitemd-tasklist-parser-label textarea{width:100%;min-height:116px;border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#f8fafc;color:#0f172a;font-size:14px;line-height:1.45;resize:vertical;}
.sitemd-tasklist-parser-label textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);background:#fff;}
.sitemd-tasklist-replace-option{display:flex;align-items:center;gap:8px;color:#475569;font-size:13px;font-weight:700;}
.sitemd-tasklist-parse-button{align-self:flex-start;border:0;border-radius:14px;background:#0f172a;color:#fff;padding:10px 15px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.16);}
.sitemd-tasklist-parse-button:hover{background:#1e293b;}
.sitemd-tasklist-items{display:flex;flex-direction:column;gap:10px;}
.sitemd-tasklist-item{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px;transition:opacity .16s ease,transform .16s ease,border-color .16s ease,background-color .16s ease;cursor:pointer;}
.sitemd-tasklist-item:hover{border-color:#bfdbfe;background:#f8fbff;}
.sitemd-tasklist-item.is-loading{opacity:.62;pointer-events:none;}
.sitemd-tasklist-item.is-done{background:#f0fdf4;border-color:#bbf7d0;box-shadow:0 8px 20px rgba(34,197,94,.08);}
.sitemd-tasklist-toggle{
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:999px;
  border:2px solid #cbd5e1;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  color:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
  box-shadow:inset 0 0 0 4px #f1f5f9,0 2px 7px rgba(15,23,42,.06);
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.sitemd-tasklist-toggle:hover{border-color:#94a3b8;transform:scale(1.04);}
.sitemd-tasklist-toggle:active{transform:scale(.94);}
.sitemd-tasklist-toggle.done{
  background:#22c55e;
  color:#fff;
  border-color:#22c55e;
  box-shadow:0 8px 18px rgba(34,197,94,.24);
}
.sitemd-tasklist-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:3;opacity:0;transform:scale(.78);transition:opacity .16s ease,transform .16s ease;}
.sitemd-tasklist-toggle.done svg{opacity:1;transform:scale(1);}
.sitemd-tasklist-toggle:not(.done) svg{display:none;}
.sitemd-tasklist-copy{flex:1;min-width:0;}
.sitemd-tasklist-copy strong{display:block;color:#0f172a;font-size:14px;font-weight:850;line-height:1.3;}
.sitemd-tasklist-item.is-done .sitemd-tasklist-copy strong{text-decoration:line-through;opacity:.72;}
.sitemd-tasklist-copy span{display:block;color:#64748b;font-size:12px;font-weight:650;margin-top:3px;}
.sitemd-tasklist-remove{border:0;background:#fee2e2;color:#b91c1c;border-radius:12px;padding:8px 10px;font-weight:850;cursor:pointer;}
.sitemd-tasklist-remove:hover{background:#fecaca;}
.sitemd-tasklist-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:16px;text-align:center;color:#64748b;font-size:14px;font-weight:700;}
.sitemd-enquiry-tasklist-box{background:#f8fafc;border:1px solid #dbe4ee;border-radius:18px;padding:14px;margin:14px 0;}
.sitemd-enquiry-tasklist-label{display:flex;flex-direction:column;gap:7px;color:#0f172a;font-size:14px;font-weight:850;}
.sitemd-enquiry-tasklist-label span{color:#64748b;font-size:12px;font-weight:600;}
.sitemd-enquiry-tasklist-label textarea{width:100%;min-height:120px;border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#fff;color:#0f172a;font-size:14px;line-height:1.45;resize:vertical;}
.sitemd-enquiry-tasklist-label textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
@media(max-width:640px){
  .sitemd-tasklist-shell{padding:14px;border-radius:18px;}
  .sitemd-tasklist-item{align-items:flex-start;gap:10px;}
  .sitemd-tasklist-remove{padding:7px 9px;font-size:12px;}
}

/* SiteMD v11.0.1 task parser drawer polish */
.sitemd-tasklist-parser-drawer{
  margin:0 0 16px;
  border:0;
}
.sitemd-tasklist-parser-drawer > summary,
.sitemd-enquiry-tasklist-box > summary{
  list-style:none;
}
.sitemd-tasklist-parser-drawer > summary::-webkit-details-marker,
.sitemd-enquiry-tasklist-box > summary::-webkit-details-marker{
  display:none;
}
.sitemd-tasklist-parser-toggle,
.sitemd-enquiry-tasklist-toggle{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  cursor:pointer;
  user-select:none;
  border:1px solid #dbe4ee;
  border-radius:18px;
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);
  color:#fff;
  padding:13px 15px;
  box-shadow:0 12px 26px rgba(15,23,42,.16);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.sitemd-tasklist-parser-toggle:hover,
.sitemd-enquiry-tasklist-toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 32px rgba(15,23,42,.2);
  border-color:#93c5fd;
}
.sitemd-tasklist-parser-toggle-icon,
.sitemd-enquiry-tasklist-toggle-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  background:rgba(255,255,255,.13);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.sitemd-tasklist-parser-toggle-icon svg,
.sitemd-enquiry-tasklist-toggle-icon svg{
  width:17px;
  height:17px;
  stroke:currentColor;
  fill:none;
  transition:transform .18s ease;
}
.sitemd-tasklist-parser-toggle strong,
.sitemd-enquiry-tasklist-toggle strong{
  display:block;
  font-size:14px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.01em;
}
.sitemd-tasklist-parser-toggle em,
.sitemd-enquiry-tasklist-toggle em{
  display:block;
  margin-top:3px;
  font-size:12px;
  color:#cbd5e1;
  font-style:normal;
  font-weight:700;
}
.sitemd-tasklist-parser-drawer[open] .sitemd-tasklist-parser-toggle,
.sitemd-enquiry-tasklist-box[open] .sitemd-enquiry-tasklist-toggle{
  border-radius:18px 18px 12px 12px;
}
.sitemd-tasklist-parser-drawer[open] .sitemd-tasklist-parser-toggle-icon svg,
.sitemd-enquiry-tasklist-box[open] .sitemd-enquiry-tasklist-toggle-icon svg{
  transform:rotate(45deg);
}
.sitemd-tasklist-parser-drawer .sitemd-tasklist-parser-form{
  margin:0;
  border-radius:0 0 18px 18px;
  border-top:0;
  padding:16px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}
.sitemd-enquiry-tasklist-box{
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  margin:16px 0 !important;
}
.sitemd-enquiry-tasklist-box .sitemd-enquiry-tasklist-label{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
  border:1px solid #dbe4ee;
  border-top:0;
  border-radius:0 0 18px 18px;
  padding:16px;
}
.sitemd-tasklist-parser-label textarea,
.sitemd-enquiry-tasklist-label textarea{
  box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
}
.sitemd-tasklist-parse-button{
  background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);
  border-radius:999px;
  padding:11px 18px;
}
.sitemd-tasklist-parse-button:hover{
  background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);
}

.sitemd-tasklist-save-form{margin-top:12px;}
.sitemd-tasklist-save-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:12px 14px;box-shadow:0 10px 22px rgba(249,115,22,.08);}
.sitemd-tasklist-save-box strong{display:block;color:#9a3412;font-size:14px;font-weight:900;}
.sitemd-tasklist-save-box span{display:block;color:#c2410c;font-size:12px;font-weight:650;margin-top:2px;}
.sitemd-tasklist-save-button{border:0;border-radius:999px;background:#16a34a;color:#fff;padding:10px 15px;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(22,163,74,.18);white-space:nowrap;}
.sitemd-tasklist-save-button:hover{background:#15803d;}
.sitemd-tasklist-save-form.is-saving .sitemd-tasklist-save-button{opacity:.7;pointer-events:none;}
@media (max-width:640px){.sitemd-tasklist-save-box{align-items:stretch;flex-direction:column}.sitemd-tasklist-save-button{width:100%;}}

/* v12.0.9 checklist/task icon controls + Stage 4 autosave cleanup */
.sitemd-item-admin-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap;}
.sitemd-inline-edit,.sitemd-pill-edit,.sitemd-pill-delete,.sitemd-remove-checklist-pill{border:0;border-radius:10px;padding:7px 10px;font-weight:850;cursor:pointer;font-size:12px;line-height:1;background:#eef2ff;color:#3730a3;}
.sitemd-inline-edit:hover,.sitemd-pill-edit:hover{background:#e0e7ff;}
.sitemd-pill-delete,.sitemd-remove-checklist-pill{background:#fee2e2;color:#b91c1c;}
.sitemd-pill-delete:hover,.sitemd-remove-checklist-pill:hover{background:#fecaca;}
.sitemd-checklist-pill{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;}
.sitemd-enquiry-task-items{display:flex;flex-direction:column;gap:8px;margin:12px 0 0;}
.sitemd-enquiry-task-item{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;}
.sitemd-enquiry-task-item span{flex:1;font-weight:800;color:#0f172a;}
.sitemd-item-modal[hidden]{display:none!important;}
.sitemd-item-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;}
.sitemd-item-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(3px);}
.sitemd-item-modal-panel{position:relative;z-index:1;width:min(520px,calc(100vw - 30px));background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.32);border:1px solid #e5e7eb;}
.sitemd-item-modal-x{position:absolute;right:16px;top:14px;border:0;background:#f8fafc;border-radius:10px;width:34px;height:34px;font-size:24px;line-height:1;cursor:pointer;color:#475569;}
.sitemd-item-modal h3{margin:0 38px 8px 0;font-size:22px;font-weight:950;color:#0f172a;}
.sitemd-item-modal-copy{margin:0 0 16px;color:#64748b;font-weight:700;}
.sitemd-item-modal textarea{width:100%;min-height:110px;border:1px solid #dbe3ef;border-radius:12px;padding:13px 14px;font-size:16px;box-sizing:border-box;resize:vertical;}
.sitemd-item-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;}
.sitemd-item-modal-actions button{border:0;border-radius:12px;padding:12px 16px;font-weight:900;cursor:pointer;}
.sitemd-item-modal-cancel{background:#f1f5f9;color:#0f172a;}
.sitemd-item-modal-primary{background:#ef4444;color:#fff;}
.sitemd-item-modal-primary.is-danger{background:#b91c1c;}
@media(max-width:640px){.sitemd-item-admin-actions{width:100%;justify-content:flex-end}.sitemd-enquiry-task-item{align-items:flex-start;flex-wrap:wrap}.sitemd-item-modal-panel{padding:20px}.sitemd-item-modal-actions{display:grid;grid-template-columns:1fr}.sitemd-item-modal-primary{order:1}.sitemd-item-modal-cancel{order:2}}

/* v12.1.0: self-contained inline SVG edit/delete controls */
.sitemd-icon-action{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;font-size:0!important;line-height:1!important;}
.sitemd-icon-action svg{width:16px!important;height:16px!important;stroke:currentColor!important;}
.sitemd-icon-action-danger{background:#fee2e2!important;color:#b91c1c!important;}
.sitemd-icon-action-danger:hover{background:#fecaca!important;color:#991b1b!important;}
.sitemd-inline-edit.sitemd-icon-action,.sitemd-pill-edit.sitemd-icon-action{background:#eef2ff!important;color:#3730a3!important;}
.sitemd-inline-edit.sitemd-icon-action:hover,.sitemd-pill-edit.sitemd-icon-action:hover{background:#e0e7ff!important;color:#312e81!important;}
.sitemd-exact-job-spec-card .sitemd-section-save-row{display:none!important;}

/* v12.1.0: make checklist/task action SVGs render without icon fonts */
.sitemd-icon-action .gizzi-svg-icon{display:none!important;}
.sitemd-icon-action .sitemd-action-svg{display:block!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;max-height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.25!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important;visibility:visible!important;pointer-events:none!important;}
.sitemd-icon-action{color:#3730a3!important;background:#eef2ff!important;border:1px solid #c7d2fe!important;}
.sitemd-icon-action-danger{color:#b91c1c!important;background:#fee2e2!important;border-color:#fecaca!important;}
.sitemd-icon-action:hover{background:#e0e7ff!important;color:#312e81!important;}
.sitemd-icon-action-danger:hover{background:#fecaca!important;color:#991b1b!important;}
.sitemd-action-svg{display:inline-block;width:1.05em;height:1.05em;vertical-align:-0.15em;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;}

/* v12.1.1 Stage 4 labour roles + copy materials button */
.sitemd-exact-job-spec-card .sitemd-exact-estimate label.role-control{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:150px!important;white-space:normal!important;}
.sitemd-exact-job-spec-card .sitemd-exact-estimate label.role-control>span{display:inline-flex!important;width:auto!important;align-items:center!important;border:1px solid #dbe3ee!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;height:44px!important;}
.sitemd-exact-job-spec-card .sitemd-exact-estimate label.role-control button{width:42px!important;height:44px!important;border:0!important;background:#fff!important;color:#0f172a!important;font-size:22px!important;font-weight:900!important;line-height:1!important;cursor:pointer!important;}
.sitemd-exact-job-spec-card .sitemd-exact-estimate label.role-control .sitemd-role-count{width:54px!important;height:44px!important;border:0!important;border-left:1px solid #dbe3ee!important;border-right:1px solid #dbe3ee!important;text-align:center!important;font-weight:900!important;background:#fff!important;padding:0!important;color:#0f172a!important;}
.sitemd-exact-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:22px 0 10px!important;}
.sitemd-exact-section-head .sitemd-exact-section-title{margin:0!important;}
.sitemd-copy-stage4-materials{display:inline-flex!important;align-items:center!important;gap:8px!important;border:1px solid #dbeafe!important;background:#eff6ff!important;color:#1d4ed8!important;border-radius:12px!important;padding:10px 13px!important;font-weight:900!important;cursor:pointer!important;}
.sitemd-copy-stage4-materials svg{width:17px!important;height:17px!important;}
.sitemd-copy-stage4-materials.is-copied{background:#dcfce7!important;border-color:#bbf7d0!important;color:#15803d!important;}
@media(max-width:700px){.sitemd-exact-section-head{align-items:flex-start!important;flex-direction:column!important}.sitemd-copy-stage4-materials{width:100%!important;justify-content:center!important}.sitemd-exact-job-spec-card .sitemd-exact-estimate label.role-control{min-width:100%!important}}

/* v12.1.4 - admin-only material edit/delete controls on job pages */
.sitemd-job-material-admin-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:8px 0 10px!important;}
.sitemd-job-material-admin-delete-form{display:inline-flex!important;margin:0!important;padding:0!important;}
.sitemd-job-material-edit-modal .gizzi-modal-panel{max-width:560px!important;}
.sitemd-job-material-edit-form{display:grid!important;gap:14px!important;}
.sitemd-job-material-edit-form label{display:grid!important;gap:6px!important;font-weight:800!important;color:#111827!important;}
.sitemd-job-material-edit-form input,.sitemd-job-material-edit-form textarea{width:100%!important;border:1px solid #dbe3ef!important;border-radius:12px!important;padding:10px 12px!important;background:#fff!important;color:#111827!important;box-sizing:border-box!important;}
.sitemd-material-edit-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}
@media(max-width:640px){.sitemd-material-edit-grid{grid-template-columns:1fr!important}.sitemd-job-material-admin-actions{justify-content:flex-start!important}}

/* v12.1.4 - job material edit/delete persistence status */
.sitemd-job-material-admin-status{margin:10px 0 0!important;font-size:13px!important;font-weight:800!important}.sitemd-job-material-admin-status.is-success{color:#15803d!important}.sitemd-job-material-admin-status.is-error{color:#b91c1c!important}.sitemd-job-stock-card{transition:opacity .18s ease,transform .18s ease!important}

/* v12.1.5 job material quantity-only edit modal */
.sitemd-material-edit-readonly{display:grid!important;gap:4px!important;padding:12px 14px!important;border:1px solid #e5e7eb!important;border-radius:14px!important;background:#f8fafc!important;color:#111827!important;}
.sitemd-material-edit-readonly strong{font-size:15px!important;}
.sitemd-material-edit-readonly span,.sitemd-material-edit-help{font-size:12px!important;color:#64748b!important;margin:0!important;}
