:root{--bg: #f8fafc;--card: #ffffff;--text: #111827;--text-soft: #374151;--muted: #6b7280;--border: #e5e7eb;--border-strong: #d1d5db;--brand: #1d4ed8;--brand-600: #1e40af;--brand-100: #dbeafe;--shadow: 0 2px 10px rgba(0, 0, 0, .06);--radius-card: 16px;--radius-control: 10px;--topbar-height: 72px}*{box-sizing:border-box}html,body,#root{min-height:100%;width:100%;max-width:100%;overflow-x:hidden}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;width:100%;max-width:100%;overflow-x:hidden;background:var(--bg)}.topbar{background:#fff;border-bottom:1px solid var(--border)}.topbar--nav{min-height:76px;display:flex;align-items:center;gap:24px;padding:14px 24px}.brand{font-weight:700;font-size:22px;letter-spacing:.2px;color:var(--text);white-space:nowrap}.topbar-main{flex:1;min-width:0;margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:28px}.top-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.top-nav-item{border:1px solid #d7e3ff;background:#f8fbff;color:#1d4ed8;padding:10px 18px;border-radius:999px;font-size:14px;font-weight:600;cursor:default;display:inline-flex;align-items:center;justify-content:center;min-height:42px;transition:background .2s ease,border-color .2s ease,color .2s ease}.top-nav-item--active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.topbar-user{display:flex;align-items:center;gap:10px;flex-shrink:0}.topbar-user-icon{width:38px;height:38px;border:1px solid #d7e3ff;border-radius:999px;background:#fff;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:16px}.topbar-user-name{height:38px;padding:0 14px;border:1px solid #d7e3ff;border-radius:999px;background:#fff;color:#111827;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:600}.container{width:100%;max-width:100%;margin:0;padding:0;overflow-x:hidden}.footer{padding:12px 20px;border-top:1px solid var(--border);color:var(--muted);background:#fff}.jobs-page{padding:20px 24px 28px;background:var(--bg);min-height:calc(100vh - var(--topbar-height));width:100%;max-width:100%;overflow-x:hidden}.jobs-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.jobs-page-title{margin:0;font-size:30px;line-height:1.1;font-weight:700;color:var(--text)}.jobs-topbar-right{display:flex;align-items:center;gap:8px;min-width:0}.jobs-global-search-wrap{width:320px;max-width:100%}.jobs-global-search{width:100%;height:40px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:#f3f4f6;color:var(--text)}.jobs-global-search::placeholder{color:var(--muted)}.jobs-icon-button,.jobs-user-button,.jobs-secondary-button,.jobs-primary-button,.jobs-icon-text-button,.jobs-number-link{border:1px solid transparent;background:transparent;cursor:pointer}.jobs-icon-button{height:40px;min-width:40px;padding:0 10px;border-radius:10px;border-color:var(--border);background:#fff;color:var(--text-soft)}.jobs-icon-button:disabled{opacity:.45;cursor:not-allowed}.jobs-user-button{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 8px;border-radius:999px;border-color:var(--border);background:#fff;color:var(--text-soft);min-width:0}.jobs-avatar{width:28px;height:28px;border-radius:999px;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.jobs-user-name{font-weight:600;white-space:nowrap}.jobs-user-caret{color:var(--muted);font-size:12px}.jobs-tabs{display:flex;align-items:flex-end;gap:4px;border-bottom:1px solid var(--border);margin-bottom:18px;overflow-x:auto}.jobs-tab{border:none;border-bottom:3px solid transparent;background:transparent;color:var(--text-soft);padding:14px 4px;margin-right:22px;font-size:15px;font-weight:500;cursor:pointer;white-space:nowrap}.jobs-tab.active{color:var(--brand);border-bottom-color:var(--brand);font-weight:600}.jobs-toolbar-card,.jobs-table-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow)}.jobs-toolbar-card{padding:14px;margin-bottom:18px;overflow:hidden}.jobs-table-card{overflow:hidden;width:100%;max-width:100%}.jobs-toolbar-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.jobs-toolbar-left,.jobs-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.jobs-toolbar-left{flex:1 1 720px}.jobs-toolbar-right{flex:1 1 260px;justify-content:flex-end}.jobs-search-input,.jobs-select,.jobs-date-input{height:38px;border:1px solid var(--border-strong);border-radius:var(--radius-control);background:#fff;color:var(--text);padding:0 10px;min-width:0;font-size:14px}.jobs-search-input{width:150px}.jobs-select{width:135px}.jobs-date-input{width:170px}.jobs-search-input::placeholder,.jobs-date-input::placeholder{color:var(--muted)}.jobs-secondary-button{height:38px;padding:0 12px;border-radius:var(--radius-control);border-color:var(--border);background:#f9fafb;color:var(--text-soft);font-weight:600;white-space:nowrap}.jobs-icon-text-button{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 12px;border-radius:var(--radius-control);border-color:var(--border);background:#fff;color:var(--text-soft);font-weight:600;white-space:nowrap}.jobs-primary-button{height:38px;padding:0 14px;border-radius:var(--radius-control);border:1px solid var(--brand);background:var(--brand);color:#fff;font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}.jobs-primary-button:hover{background:var(--brand-600);border-color:var(--brand-600)}.jobs-checkbox{display:inline-flex;align-items:center;gap:6px;color:var(--text-soft);font-size:14px;white-space:nowrap}.jobs-checkbox input{margin:0;width:auto}.jobs-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.jobs-table{width:100%;border-collapse:collapse;background:#fff;table-layout:fixed}.jobs-table thead th{background:#f3f4f6;color:var(--text-soft);font-size:13px;font-weight:700;text-align:left;padding:12px 10px;border-bottom:1px solid var(--border);white-space:nowrap}.jobs-table tbody td{padding:12px 10px;border-bottom:1px solid #eef0f3;color:var(--text);font-size:14px;vertical-align:middle;white-space:nowrap}.jobs-table tbody tr:hover{background:#f8fbff}.jobs-cell-truncate{overflow:hidden;text-overflow:ellipsis}.jobs-number-link{padding:0;border:none;background:transparent;color:var(--brand);font-weight:700;white-space:nowrap}.jobs-number-link:hover{text-decoration:underline}.jobs-numeric-cell{text-align:right}.jobs-empty-state{text-align:center;color:var(--muted);padding:28px 16px!important}.jobs-status-pill{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent;white-space:nowrap}.jobs-status-pill.status-booked{background:var(--brand-100);color:var(--brand)}.jobs-status-pill.status-in-progress{background:#fef3c7;color:#92400e}.jobs-status-pill.status-completed{background:#dcfce7;color:#166534}.jobs-status-pill.status-cancelled{background:#e5e7eb;color:#4b5563}.jobs-status-pill.status-overdue{background:#fee2e2;color:#b91c1c}.jobs-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-top:1px solid var(--border);background:#fff}.jobs-pagination-left,.jobs-pagination-right{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:14px;min-width:0}.jobs-pagination-right{flex-wrap:wrap;justify-content:flex-end}.jobs-rows-select{height:36px;min-width:70px;padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:#fff;color:var(--text)}.col-select{width:44px}.col-number{width:110px}.col-customer{width:170px}.col-location{width:210px}.col-assigned{width:150px}.col-job-type,.col-start{width:120px}.col-status{width:140px}.col-in-status,.col-overall{width:90px}.col-updated-by,.col-updated-date{width:130px}.col-van{width:70px}.create-job-page{padding:24px;background:var(--bg);min-height:calc(100vh - var(--topbar-height))}.create-job-breadcrumb{display:flex;align-items:center;gap:10px;font-size:18px;margin-bottom:28px}.create-job-breadcrumb-link{color:var(--text)}.create-job-breadcrumb-link:hover{color:var(--brand)}.create-job-breadcrumb-sep{color:var(--brand);font-size:20px;font-weight:700}.create-job-breadcrumb-current{color:var(--brand);font-weight:600}.create-job-layout{display:grid;grid-template-columns:minmax(320px,760px) minmax(260px,1fr);gap:32px;align-items:start}.create-job-form-column{max-width:760px}.create-job-field{margin-bottom:18px}.create-job-label{font-size:16px;font-weight:600;color:var(--text);margin-bottom:8px}.create-job-select,.create-job-textarea{width:100%;border:1px solid var(--border-strong);border-radius:10px;background:#fff;color:var(--text)}.create-job-select{height:54px;padding:0 14px}.create-job-textarea{min-height:140px;padding:14px;resize:vertical}.create-job-submit{margin-top:18px;height:56px;min-width:160px;padding:0 22px;border-radius:10px;border:1px solid var(--brand);background:var(--brand);color:#fff;font-size:18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.create-job-submit:hover{background:var(--brand-600);border-color:var(--brand-600)}.create-job-history-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:40px;text-align:center;color:var(--muted)}.create-job-history-illustration{font-size:84px;margin-bottom:16px}.create-job-history-title{font-size:20px;font-weight:700;color:var(--text);margin-bottom:10px}.create-job-history-text{font-size:18px;line-height:1.5}@media(max-width:1500px){.col-van,.col-overall{display:none}}@media(max-width:1360px){.col-in-status,.col-updated-by{display:none}}@media(max-width:1220px){.col-assigned{display:none}}@media(max-width:1100px){.jobs-topbar,.jobs-toolbar-row{flex-direction:column;align-items:stretch}.jobs-topbar-right,.jobs-toolbar-right{justify-content:flex-start;flex-wrap:wrap}.jobs-global-search-wrap{width:100%}.jobs-search-input,.jobs-select,.jobs-date-input{width:100%;min-width:0}.col-location{width:170px}}@media(max-width:900px){.col-job-type,.col-updated-date{display:none}}@media(max-width:768px){.topbar--nav{flex-direction:column;align-items:flex-start;padding:14px 16px}.topbar-main{width:100%;flex-direction:column;align-items:flex-end;gap:16px}.top-nav{width:100%;justify-content:flex-end}.jobs-page,.create-job-page{padding:18px 16px 24px}.footer{padding:12px 16px}.jobs-page-title{font-size:28px}.jobs-pagination{flex-direction:column;align-items:flex-start}.col-start{display:none}.create-job-layout{grid-template-columns:1fr}}
