@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#17233b;--muted:#738097;--line:#e5eaf2;--bg:#f4f7fb;--blue:#3559e8;--navy:#1e2b49;--green:#14866d;--shadow:0 8px 28px rgba(27,45,80,.055)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}.topbar{height:76px;padding:0 max(24px,calc((100% - 1440px)/2));background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-link{color:inherit}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#4569f5,#243fb6);display:grid;place-items:center;color:white;font-weight:800;font-size:14px;box-shadow:0 5px 12px #3559e833}.brand strong{display:block;font:800 17px Manrope,sans-serif;letter-spacing:-.4px}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.top-actions{display:flex;align-items:center;gap:18px}.today{font-size:12px;color:var(--muted)}.container{max-width:1440px;margin:0 auto;padding:34px 28px 24px}.narrow{max-width:960px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 26px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--blue);margin:0 0 8px}.welcome h1{font:800 29px Manrope,sans-serif;letter-spacing:-1px;margin:0 0 8px}.muted{color:var(--muted);margin:0;line-height:1.55}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:9px;padding:11px 15px;font:600 12px 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap;transition:.15s}.button:hover{transform:translateY(-1px);filter:brightness(.98)}.primary{background:var(--blue);color:white;box-shadow:0 5px 12px #3559e82b}.outline{border-color:#d9e0ec;background:#fff;color:#34415b}.dark{background:var(--navy);color:#fff}.light{background:#f2f5fa;color:#536079;border-color:#e8edf4}.danger{background:#fff1f1;color:#c33d4c;border-color:#ffd9dd}.small{padding:8px 10px;font-size:11px}.full{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:14px;padding:19px 21px;box-shadow:var(--shadow);min-height:130px}.stat-label{font-size:12px;color:#697790;font-weight:600}.stat-card strong{font:800 31px Manrope,sans-serif;letter-spacing:-1px;margin:8px 0 3px}.stat-foot{font-size:11px;color:#46536a}.stat-card.amber{border-top:3px solid #efb44a}.stat-card.blue{border-top:3px solid #5284ed}.stat-card.purple{border-top:3px solid #9b7be8}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);padding:23px;margin-bottom:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-heading h2{font:800 18px Manrope,sans-serif;margin:0 0 5px;letter-spacing:-.4px}.panel-heading .muted{font-size:12px}.text-link{color:var(--blue);font-size:12px;font-weight:700}.filters{display:flex;align-items:center;gap:9px;margin-bottom:18px}.searchbox{display:flex;align-items:center;gap:9px;flex:1;border:1px solid #e1e7f0;border-radius:9px;padding:0 12px;min-width:160px}.searchbox span{font-size:22px;color:#94a0b4}.searchbox input{border:0!important;outline:0!important;box-shadow:none!important;padding-left:0!important}.filters input,.filters select,.form-grid input,.form-grid select,.form-grid textarea{font:13px 'DM Sans',sans-serif;color:var(--ink);background:white;border:1px solid #dfe5ef;border-radius:8px;padding:11px 12px;min-width:0;width:100%;outline-color:#8da2ff}.filters select{width:auto;min-width:160px}.table-wrap{overflow-x:auto;width:100%}table{width:100%;border-collapse:collapse;min-width:1000px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#f7f9fc;font-weight:700;padding:12px 12px;background:#f8faff;border-top:1px solid #edf1f7;border-bottom:1px solid #edf1f7}td{padding:15px 12px;border-bottom:1px solid #edf1f7;vertical-align:top;font-size:12px}tbody tr:last-child td{border-bottom:0}.client-name{font-size:13px;font-weight:700;color:#25324c;margin-bottom:5px}.subline{font-size:10px;color:#4b586d;line-height:1.6;margin-top:3px}.status,.priority{display:inline-flex;align-items:center;border-radius:6px;padding:5px 7px;font-size:10px;font-weight:700;white-space:nowrap}.status-pending{background:#fff4db;color:#a56b0a}.status-in-progress{background:#e8f0ff;color:#315fc7}.status-waiting-on-client{background:#fff0e5;color:#b65b20}.status-ready-for-review{background:#f0eaff;color:#7753b7}.status-completed{background:#e2f7ef;color:#17775f}.priority-low{background:#f0f3f7;color:#4d596e}.priority-normal{background:#edf3ff;color:#4a69b8}.priority-high{background:#fff0db;color:#ae6a12}.priority-urgent{background:#ffe8eb;color:#c33b50}.progress-line{height:5px;background:#edf0f6;border-radius:8px;overflow:hidden;margin-top:9px;min-width:70px}.progress-line span{display:block;height:100%;background:linear-gradient(90deg,#4c6cf0,#50a2e8);border-radius:8px}.notes-preview{max-width:230px;color:#39465d;font-size:11px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.actions{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.inline{display:inline}.inline button{font-family:inherit}.mobile-jobs{display:none}.empty{text-align:center;padding:48px 15px}.empty-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e4f7f0;color:#178268;font-size:22px;margin:0 auto 14px}.empty h3{margin:0 0 7px;font:700 17px Manrope,sans-serif}.empty p{color:var(--muted);margin:0 0 18px}.notice{border-radius:9px;padding:12px 15px;margin-bottom:18px;font-size:12px}.notice.success{background:#e5f7ef;color:#167458}.notice.error{background:#fff0f0;color:#b63445}.form-panel{padding:27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#34415b}.form-grid input,.form-grid select,.form-grid textarea{font-weight:400}.form-grid textarea{resize:vertical;line-height:1.6}.full-span{grid-column:1/-1}.required{color:#df4c5a}.range-labels{display:flex;justify-content:space-between;color:#4b586d;font-size:10px;font-weight:400}.form-grid input[type=range]{padding:0;accent-color:var(--blue)}#progressValue{color:var(--blue);margin-left:5px}.hint{font-size:10px;color:#4f5b70;font-weight:400;line-height:1.5}.form-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf0f6;padding-top:20px;margin-top:24px}.delete-row{display:flex;align-items:center;gap:14px;padding:4px 2px 24px}.delete-row small{color:#4b586d;font-size:11px}.report-summary{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.report-summary div{display:flex;align-items:baseline;gap:9px}.report-summary strong{font:800 23px Manrope,sans-serif}.report-summary span{font-size:11px;color:var(--muted)}.report-notes{max-width:250px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;color:#64718a}footer{text-align:center;padding:18px;color:#4b586d;font-size:10px}.mobile-meta,.mobile-status{display:flex;justify-content:space-between;gap:10px;color:#3e4b61;font-size:11px;margin:13px 0}.job-card{border:1px solid #e7ecf4;border-radius:12px;padding:16px;margin-bottom:12px}.job-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.job-card .notes-preview{max-width:none;margin:13px 0}.job-card .button{margin-top:7px}
@media(max-width:900px){.container{padding:25px 18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap{display:none}.mobile-jobs{display:block}.panel{padding:18px}.welcome h1{font-size:25px}.filters{flex-wrap:wrap}.searchbox{flex-basis:100%;height:42px}.filters select{flex:1}.filters .button{flex:0 0 auto}.panel-heading{align-items:flex-start}.notes-preview{max-width:none}}
@media(max-width:560px){.topbar{height:67px;padding:0 15px}.brand-mark{width:36px;height:36px}.brand strong{font-size:15px}.brand small{font-size:10px}.topbar>.button{padding:9px 10px;font-size:11px}.today{display:none}.container{padding:23px 12px}.welcome{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:20px}.welcome h1{font-size:24px}.welcome .button{width:100%}.stats{gap:10px}.stat-card{min-height:112px;padding:14px;border-radius:11px}.stat-card strong{font-size:26px}.stat-label{font-size:11px}.stat-foot{font-size:10px}.panel{padding:15px 12px;border-radius:12px}.panel-heading h2{font-size:17px}.panel-heading .muted{font-size:11px}.panel-heading{gap:8px}.text-link{font-size:10px;text-align:right}.filters{gap:7px}.filters select{min-width:0;width:100%;flex-basis:100%}.filters .button{flex:1}.job-card{padding:14px}.form-grid{grid-template-columns:1fr;gap:16px}.full-span{grid-column:auto}.form-panel{padding:18px 14px}.form-footer{position:sticky;bottom:0;background:#fff;padding:12px 0 2px}.form-footer .button{flex:1}.delete-row{align-items:flex-start;flex-direction:column}.report-summary{align-items:flex-start;gap:10px;flex-direction:column}.report-summary div{gap:8px}}
@media print{body{background:white}.topbar{padding:0;height:55px}.container{max-width:none;padding:15px 0}.welcome .button,.filters,.topbar button,.actions,.mobile-jobs,footer{display:none!important}.panel{box-shadow:none;border:0;padding:0}.table-wrap{display:block!important;overflow:visible}table{min-width:0;font-size:9px}th,td{padding:7px 5px;font-size:9px}.report-notes{max-width:150px}.status,.priority{print-color-adjust:exact;-webkit-print-color-adjust:exact}.progress-line{min-width:35px}}

/* Darker heading and reporting theme */
:root{--ink:#172033;--muted:#657189;--line:#d9e0eb;--bg:#eef2f7;--navy:#17243d;--shadow:0 8px 28px rgba(20,34,58,.08)}
.topbar{background:#17243d;border-bottom:1px solid #263752;color:#fff}
.brand small,.today{color:#e0e6ef}
.welcome h1,.panel-heading h2,.empty h3{color:#17243d}
.eyebrow{color:#344fbd}
.panel{border-color:#dbe2ec}
th{background:#263752;color:#f3f6fb;border-top:1px solid #263752;border-bottom:1px solid #263752}
td{border-bottom-color:#e2e7ef}
.report-summary{background:#202f49;color:#fff;border-radius:12px;padding:17px 19px}
.report-summary strong{color:#fff}
.report-summary span{color:#d0d8e5}
.report-notes{color:#35435b}
.job-card-head strong,.client-name{color:#1b2942}
.form-grid label{color:#263752}
.outline{border-color:#cbd4e2;color:#24334e}
@media print{.topbar{background:#17243d!important;color:#fff!important}.report-summary{background:#202f49!important;color:#fff!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Refined typography: darker, bolder and more polished throughout */
:root{
  --ink:#101a2d;
  --muted:#303c52;
  --line:#c6d0df;
  --bg:#edf1f7;
}
body{color:#101a2d;font-family:'Manrope','DM Sans',Arial,sans-serif;font-weight:500;letter-spacing:.05px}
.brand strong{font-weight:800;letter-spacing:-.45px}
.brand small{color:#d4ddec;font-weight:600}
.welcome h1{color:#101a2d;font-weight:800;letter-spacing:-1.1px}
.eyebrow{color:#263fa8;font-weight:800;letter-spacing:1.6px}
.muted{color:#303c52}
.stat-label{color:#35435b;font-weight:700}
.stat-card strong{color:#111c32;font-weight:800}
.stat-foot{color:#3f4c63;font-weight:600}
.panel-heading h2{color:#101a2d;font-weight:800;letter-spacing:-.45px}
.panel-heading .muted{color:#3f4c63}
.text-link{font-weight:800}
.button{font-weight:700;letter-spacing:.05px}
th{color:#fff;font-weight:800;letter-spacing:.85px}
td{color:#202c42;font-weight:500}
.client-name{color:#111d33;font-weight:800}
.subline{color:#3f4c63;font-weight:600}
.status,.priority{font-weight:800;letter-spacing:.1px}
.notes-preview,.report-notes{color:#35435a;font-weight:500}
.form-grid label{color:#1c2b43;font-weight:800}
.form-grid input,.form-grid select,.form-grid textarea,.filters input,.filters select{color:#172238;font-weight:600}
.form-grid input::placeholder,.form-grid textarea::placeholder,.filters input::placeholder{color:#4d596e;opacity:1}
.report-summary strong{font-weight:800}
.report-summary span{color:#e0e6f0;font-weight:600}
.empty h3{color:#101a2d;font-weight:800}
.empty p,.hint,.range-labels{color:#3f4c63}
footer{color:#3f4c63;font-weight:600}
@media print{body,td,.client-name,.report-notes{color:#101a2d!important}.welcome h1,.panel-heading h2{color:#101a2d!important}}
.payment-badge{display:inline-flex;min-width:30px;justify-content:center;padding:4px 8px;border-radius:8px;font-weight:800;letter-spacing:.04em}.payment-yes{background:#dff4e7;color:#145c32}.payment-no{background:#f7e1e1;color:#7d1f1f}.mobile-payment{margin:8px 0;font-size:.92rem;color:#24324b}.report-switch{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.report-switch .button{min-width:145px;text-align:center}
@media print{.report-switch,.filters,.top-actions,.welcome .button{display:none!important}.topbar{background:#17243d!important}.payment-badge{border:1px solid #777}.table-wrap{overflow:visible}.container{max-width:none}}

/* High-contrast typography refinement */
body{color:#0b1426}
.muted,.stat-foot,.panel-heading .muted,.empty p,footer,.hint,.range-labels{color:#303c52!important}
.subline,.notes-preview,.report-notes,.mobile-meta,.mobile-status{color:#3a475d!important}
.stat-label{color:#26344c!important}
.searchbox span{color:#4a566b!important}
th{color:#ffffff!important}
.form-grid label{color:#18263d!important}
.form-grid input::placeholder,.form-grid textarea::placeholder,.filters input::placeholder{color:#4d596e!important}
