
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#f5f4f0;background:#101315}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}header{display:flex;align-items:center;justify-content:space-between;padding:18px max(5%,calc((100% - 1100px)/2));border-bottom:1px solid #343638;background:#141719}header img{width:65px;height:65px;object-fit:contain}nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.btn,button{border:0;background:#cda85b;color:#181715;padding:12px 20px;border-radius:9px;font-weight:750;cursor:pointer}.outline{background:transparent;border:1px solid #b89a61;color:#f7e1ad}.wrap{max-width:1100px;margin:auto;padding:35px 20px}.hero{padding:75px 0 50px;max-width:760px}h1{font-size:clamp(38px,6vw,68px);line-height:1.08;margin:15px 0}h2{font-size:30px}.muted,p{color:#c5c8c9;line-height:1.6}.eyebrow{color:#d5b56c;text-transform:uppercase;letter-spacing:2px;font-size:12px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.card{background:#1b2022;border:1px solid #353b3c;border-radius:15px;padding:22px}.card h3{margin-top:0}label{display:block;margin:12px 0 5px;font-size:13px;color:#e8d8b3}input,textarea,select{width:100%;background:#111719;color:#fff;border:1px solid #505759;border-radius:8px;padding:12px;font:inherit}textarea{min-height:95px}input[type=checkbox]{width:auto}.two{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.notice{padding:12px;border-radius:8px;background:#27332c;margin:15px 0;color:#d8f3de}.bad{background:#452626;color:#ffd9d9}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 24px}.tabs button{background:#252b2d;color:#eee}.tabs button.active{background:#cda85b;color:#111}.hidden{display:none!important}footer{border-top:1px solid #343638;padding:35px 5%;color:#b9bfc0;text-align:center}small{color:#b9bfc0}table{width:100%;border-collapse:collapse}td,th{text-align:left;border-bottom:1px solid #343a3c;padding:12px 8px;vertical-align:top}.pill{border-radius:30px;background:#34342a;color:#eac983;padding:5px 10px;font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#111719;padding:18px;border-radius:10px}@media(max-width:600px){header{padding:12px 16px}nav{gap:9px;font-size:13px}.two{grid-template-columns:1fr}.wrap{padding:20px 15px}.hero{padding-top:45px}table{font-size:12px}}

textarea{min-height:95px}button:disabled{opacity:.6;cursor:wait}

/* Private, role-targeted welcome message for Amber */
.amber-love-note{position:relative;margin:18px 0 24px;padding:22px 24px;border-radius:18px;border:1px solid rgba(229,174,157,.42);background:linear-gradient(125deg,#38252d 0%,#29232c 58%,#22262a 100%);box-shadow:0 12px 35px rgba(0,0,0,.15)}
.amber-love-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.amber-love-kicker{color:#f4c4c6;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.amber-love-note h2{font-size:clamp(24px,4vw,33px);margin:12px 0 9px;color:#fff2ee}
.amber-love-note p{font-size:16px;color:#ffe5df;margin:0 0 14px;max-width:740px}
.amber-love-signoff{display:block;color:#f3c5c2;font-size:13px;font-weight:600}
button.amber-love-close{background:transparent;color:#ffe6e4;border:1px solid rgba(255,230,228,.3);padding:3px 11px;font-size:23px;line-height:1.2;border-radius:10px}

/* v7 CRM and analytics */
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0}
.section-heading h2,.section-heading h3{margin:0}
.section-heading p{margin:4px 0 8px}
.lead-toolbar{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr);gap:12px;margin:18px 0}
.enquiry-card{margin:12px 0}
.enquiry-title{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.enquiry-title strong{font-size:19px}
.enquiry-value{color:#e7c479;font-weight:750}
.compact{margin:7px 0}
.enquiry-card a{text-decoration:underline;text-underline-offset:3px;color:#f1d79f}
.enquiry-card details{border-top:1px solid #404749;margin-top:17px;padding-top:14px}
.enquiry-card summary{cursor:pointer;font-weight:750;color:#f0d39c;padding:5px 0}
.enquiry-card details .two{margin-top:14px}
.enquiry-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.enquiry-actions button{flex:1 1 135px}
.danger-button{border-color:#d48d8d;color:#ffc9c9}
.archived-pill{background:#3d4546;color:#d4dadd}
.analytics-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:14px;margin:20px 0}
.kpi-card{padding:18px;display:flex;flex-direction:column;gap:8px}
.kpi-card strong{font-size:clamp(24px,3vw,31px);color:#f3d38d;line-height:1.1}
.kpi-card small{line-height:1.4}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.analytics-grid .card h3{margin-top:0;font-size:18px}
.bar-row{margin:13px 0}
.bar-caption{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:6px}
.bar-caption span{overflow-wrap:anywhere}
.bar-track{height:9px;border-radius:99px;background:#323b3d;overflow:hidden}
.bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#a88441,#f0cf86)}
.follow-up-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #3a4041}
.follow-up-row:last-child{border-bottom:0}
.follow-up-row small{display:block;margin-top:5px}
.follow-up-row button{white-space:nowrap}
@media(max-width:700px){.analytics-grid{grid-template-columns:1fr}.lead-toolbar{grid-template-columns:1fr}.enquiry-actions button{flex:1 1 100%}.kpi-card{padding:15px}.follow-up-row{align-items:start;flex-direction:column}}

/* v8 jobs, customer approvals, private media, and project studio */
.action-row{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.action-row button{flex:1 1 175px}
.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;border-radius:99px;background:#8b362f;color:#fff;font-size:12px;margin-left:3px}
.job-card{margin:12px 0}.job-card h3{margin:0 0 7px}.job-card .job-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.job-card .job-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.job-status{font-size:12px;border-radius:99px;padding:5px 9px;background:#333b3c;color:#f5deb1}.job-status.needs_booking{background:#503521;color:#ffe0a1}
.photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:13px;margin:16px 0}.photo-tile{background:#111719;border:1px solid #384043;border-radius:12px;padding:9px;min-width:0}
.photo-tile img{width:100%;height:135px;object-fit:cover;border-radius:8px;display:block}.photo-tile small{display:block;overflow-wrap:anywhere;margin:7px 0}
.photo-tile .outline{font-size:12px;padding:8px 9px}.photo-tile button{font-size:12px;padding:8px 9px;margin-top:7px;width:100%}
.check-inline,.quote-check{display:flex;align-items:start;gap:10px;margin:16px 0;color:#e8e1d2;line-height:1.45}.check-inline input,.quote-check input{width:20px;height:20px;flex:none;margin:1px 0}
.quote-scope{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;padding:18px;background:#101517;border-radius:10px;margin:16px 0}
.quote-total{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:18px 0;border-top:1px solid #454a4c;border-bottom:1px solid #454a4c;margin:15px 0}.quote-total strong{font-size:27px;color:#edc978}
#offerUrl{font-size:13px}.job-card textarea{min-height:75px}
@media(max-width:650px){.job-card .job-controls{grid-template-columns:1fr}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.action-row button{flex:1 1 100%}}
/* v8 pricing assistant and job-cost tracking */
.estimator{border:1px solid #ad8c51;background:linear-gradient(160deg,#202729,#1a2022)}
.estimator .section-heading{align-items:flex-start}.estimator h3{margin:0}
#estResults{margin:15px 0}#estResults table{width:100%;border-collapse:collapse;font-size:13px}#estResults th,#estResults td{padding:9px 7px;border-bottom:1px solid #465054;text-align:left}#estResults td:last-child,#estResults th:last-child{text-align:right}
#estResults .estimate-total{font-size:24px;color:#edc978;font-weight:750;text-align:right;margin:15px 0}
.pricing-settings{margin:18px 0}.pricing-settings summary{cursor:pointer;color:#f2d59b;padding:8px 0}.pricing-settings .two{margin-top:15px}.pricing-settings label{font-size:13px}
.pricing-settings input{font-size:16px}.estimate-warn{padding:12px 14px;margin:12px 0;background:#403020;border:1px solid #876438;border-radius:10px;color:#ffe3b6}
.job-cost-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #465054;padding:10px 0}.job-cost-row button{font-size:12px}
#jobCalendar .follow-up-row{padding:13px 0}
@media(max-width:650px){#estResults table{font-size:12px}#estResults th,#estResults td{padding:7px 4px}.job-cost-row{flex-wrap:wrap}}

/* v9 — integrated jobs, financial reporting, service recipes, reviews */
.recipe-item{padding:12px 0;border-bottom:1px solid #3e4749;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.recipe-item:last-child{border-bottom:0}.recipe-item button{font-size:12px;padding:7px 10px}
#jobQuickSelect{flex:2 1 260px;min-width:0}#openSelectedJob{flex:1 1 140px}
.scroll-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.scroll-table table{min-width:680px}.scroll-table th{font-size:12px;color:#f0d18d}
#staffReviewsList .card p{overflow-wrap:anywhere}
#aiEstimateOutput{max-height:500px;overflow:auto}
@media(max-width:650px){.recipe-item{align-items:flex-start}.scroll-table{margin:0 -8px;padding:0 8px}}
