:root{color:#0f172a;font-synthesis:none;background:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}.splash{color:#475569;place-items:center;min-height:100vh;display:grid}.login-shell{background:radial-gradient(circle at 100% 0,#dbeafe,#0000 35%),linear-gradient(135deg,#eff6ff,#f8fafc 55%,#fff7ed);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fffffff0;border:1px solid #dbe3ee;border-radius:24px;width:min(100%,430px);padding:36px;box-shadow:0 28px 80px #0f172a1f}.brand-mark,.side-brand span{color:#fff;background:#2563eb;border-radius:14px;place-items:center;width:46px;height:46px;font-size:24px;font-weight:900;display:grid}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:#2563eb;margin:20px 0 6px;font-size:11px;font-weight:800}.login-card h1,.page-header h2,.detail-heading h3{margin:0;font-size:32px}.muted{color:#64748b}.form-stack{gap:16px;margin-top:28px;display:grid}.form-stack label,.search-label{gap:7px;font-size:13px;font-weight:700;display:grid}.form-stack input,.search-label input{background:#fff;border:1px solid #cbd5e1;border-radius:12px;outline:none;height:48px;padding:0 14px}.form-stack input:focus,.search-label input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.form-stack button,.primary-action{color:#fff;background:#2563eb;border:0;border-radius:12px;height:48px;font-weight:800}.form-stack button:disabled,.primary-action:disabled{opacity:.48;cursor:not-allowed}.error{color:#be123c;background:#fff1f2;border-radius:10px;margin:0;padding:12px;font-size:13px}.security-note{color:#64748b;margin:20px 0 0;font-size:12px;line-height:1.55}.app-shell{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.app-shell aside{color:#e2e8f0;background:#0f172a;flex-direction:column;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.side-brand{align-items:center;gap:12px;padding:0 8px 24px;display:flex}.side-brand span{border-radius:10px;width:36px;height:36px;font-size:18px}.app-shell nav{gap:5px;display:grid}.app-shell nav button{color:#94a3b8;text-align:left;background:0 0;border:0;border-radius:10px;height:44px;padding:0 14px}.app-shell nav button.active{color:#fff;background:#1e3a8a;font-weight:700}.app-shell nav button:disabled{cursor:default;opacity:.48}.user-card{border:1px solid #334155;border-radius:14px;gap:4px;margin-top:auto;padding:14px;display:grid}.user-card span{color:#94a3b8;font-size:12px}.user-card button,.mobile-bar button{color:#93c5fd;background:0 0;border:0;justify-self:start;margin-top:8px;padding:0}.app-shell>main{min-width:0}.mobile-bar{display:none}.workspace{padding:38px clamp(20px,4vw,64px)}.page-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px;display:flex}.page-header .eyebrow{margin-top:0}.page-header .muted{margin:8px 0 0}.primary-action{padding:0 20px}.customer-grid{grid-template-columns:minmax(300px,420px) minmax(420px,1fr);gap:22px;display:grid}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;min-height:480px;padding:22px;box-shadow:0 10px 30px #0f172a0a}.search-label input{margin-top:2px}.hint{color:#64748b;margin:9px 0 18px;font-size:12px}.result-list{gap:8px;display:grid}.customer-row{text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:13px;display:flex}.customer-row:hover{background:#eff6ff;border-color:#93c5fd}.customer-row span{gap:4px;display:grid}.customer-row small{color:#64748b}.customer-row em{color:#166534;background:#dcfce7;border-radius:999px;padding:4px 7px;font-size:11px;font-style:normal}.empty{text-align:center;color:#94a3b8;padding:28px 12px}.detail-panel{min-height:580px}.detail-empty{text-align:center;color:#64748b;place-content:center;min-height:500px;display:grid}.detail-empty strong{color:#334155;font-size:20px}.detail-empty p{max-width:340px}.detail-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.detail-heading .eyebrow{margin-top:0}.status{color:#166534;background:#dcfce7;border-radius:999px;padding:5px 9px;font-size:12px}dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}dl div{background:#f8fafc;border-radius:12px;padding:14px}dt{color:#64748b;font-size:11px}dd{overflow-wrap:anywhere;margin:6px 0 0;font-weight:700}dd a{color:#1d4ed8}.detail-panel h4{margin:26px 0 12px}.history{gap:10px;display:grid}.history article{border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:1fr auto;gap:4px 12px;padding:14px;display:grid}.history article span{color:#64748b;font-size:12px}.history article small{color:#94a3b8;grid-column:1/-1}@media (max-width:960px){.app-shell{grid-template-columns:1fr}.app-shell aside{display:none}.mobile-bar{color:#fff;background:#0f172a;justify-content:space-between;align-items:center;height:58px;padding:0 18px;display:flex}.mobile-bar button{margin:0}.workspace{padding:22px 16px}.page-header{align-items:start}.customer-grid{grid-template-columns:1fr}.panel{min-height:auto}.detail-panel{min-height:420px}}@media (max-width:600px){.page-header{display:block}.primary-action{width:100%;margin-top:16px}.login-card{padding:26px 20px}.login-card h1,.page-header h2{font-size:28px}dl,.history article{grid-template-columns:1fr}.history article small{grid-column:auto}}
select,textarea{font:inherit}.header-actions{gap:10px;display:flex}.secondary{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:12px;height:48px;padding:0 18px;font-weight:700}.back-link,.link-button{color:#1d4ed8;background:0 0;border:0;padding:0}.back-link{margin-bottom:18px;font-weight:700}.customer-grid.single{grid-template-columns:minmax(300px,620px)}.detail-layout{max-width:980px}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:20px;width:min(100%,680px);max-height:calc(100vh - 40px);padding:24px;overflow:auto;box-shadow:0 28px 90px #0f172a4d}.modal>header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.modal h3{margin:0;font-size:23px}.icon-button{color:#475569;background:#f1f5f9;border:0;border-radius:10px;width:38px;height:38px;font-size:25px}.entity-form{grid-template-columns:1fr 1fr;gap:15px;display:grid}.entity-form label{gap:7px;font-size:13px;font-weight:700;display:grid}.entity-form input,.entity-form select,.entity-form textarea{background:#fff;border:1px solid #cbd5e1;border-radius:11px;outline:none;width:100%;padding:12px 14px}.entity-form input,.entity-form select{height:48px}.entity-form textarea{resize:vertical}.entity-form input:focus,.entity-form select:focus,.entity-form textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.entity-form .wide{grid-column:1/-1}.entity-form footer{justify-content:flex-end;gap:10px;margin-top:6px;display:flex}.entity-form footer button:not(.secondary),.reminder-list button{color:#fff;background:#2563eb;border:0;border-radius:12px;height:48px;padding:0 18px;font-weight:800}.table-panel{min-height:180px;padding:0;overflow:hidden}.card-table{display:grid}.card-table article{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(220px,1.7fr) minmax(180px,1fr) 130px 150px;align-items:center;gap:16px;padding:18px 22px;display:grid}.card-table article:last-child{border-bottom:0}.card-table article>div,.card-table .link-button{text-align:left;gap:4px;display:grid}.card-table strong{font-size:15px}.card-table span,.card-table small,.card-table time{color:#64748b;font-size:12px}.job-status{color:#075985;background:#e0f2fe;border-radius:999px;justify-self:start;padding:6px 9px;font-size:11px;font-style:normal}.status-closed,.status-cancelled{color:#64748b;background:#f1f5f9}.status-ready{color:#166534;background:#dcfce7}.reminder-list{display:grid}.reminder-list article{border-bottom:1px solid #e2e8f0;grid-template-columns:180px 1fr auto;align-items:center;gap:18px;padding:18px 22px;display:grid}.reminder-list article:last-child{border-bottom:0}.reminder-list article>div{gap:4px;display:grid}.reminder-list span,.reminder-list small,.reminder-list time{color:#64748b;font-size:12px}.reminder-list article.overdue{background:#fff7f7;border-left:4px solid #ef4444}.reminder-list button{background:#15803d;height:40px}.switch{color:#475569;align-items:center;gap:8px;font-size:13px;display:flex}.nav-badge,.bell b{color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;font-size:11px;display:inline-grid}.mobile-bar>div{align-items:center;gap:14px;display:flex}.mobile-bar .bell{color:#bfdbfe;margin:0;font-size:14px;position:relative}.mobile-bar .bell b{position:absolute;top:-9px;right:-11px}.app-shell nav button{justify-content:space-between;align-items:center;display:flex}@media (max-width:900px){.card-table article{grid-template-columns:1fr 1fr}.reminder-list article{grid-template-columns:1fr auto}.reminder-list article>time{grid-column:1/-1}.detail-layout{max-width:none}}@media (max-width:600px){.header-actions{margin-top:16px;display:grid}.header-actions .primary-action{margin:0}.entity-form{grid-template-columns:1fr}.entity-form label,.entity-form .wide{grid-column:1}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:20px 20px 0 0;max-height:92vh}.card-table article,.reminder-list article{grid-template-columns:1fr;gap:10px;padding:16px}.reminder-list article>time{grid-column:auto}.reminder-list button{width:100%}}.job-title{text-align:left;color:inherit;background:0 0;border:0;gap:4px;padding:0;display:grid}.job-detail{gap:18px;display:grid}.job-detail .detail-heading select{background:#fff;border:1px solid #cbd5e1;border-radius:10px;height:42px;padding:0 10px}.job-description,.job-customer{background:#f8fafc;border-radius:12px;padding:14px}.job-customer{justify-content:space-between;gap:12px;display:flex}.job-customer a{color:#1d4ed8;font-weight:700}.section-heading{justify-content:space-between;align-items:center;display:flex}.section-heading h4{margin:0}.note-form{gap:10px;display:grid}.note-form textarea,.note-form input{font:inherit;border:1px solid #cbd5e1;border-radius:10px;padding:12px}.note-form>button{color:#fff;background:#2563eb;border:0;border-radius:10px;height:44px;font-weight:800}.notes{gap:8px;display:grid}.notes article{border:1px solid #e2e8f0;border-radius:10px;padding:12px}.notes p{margin:0 0 5px}.notes time{color:#64748b;font-size:11px}.mobile-nav{display:none}@media (max-width:960px){.workspace{padding-bottom:92px}.mobile-nav{z-index:35;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border:1px solid #cbd5e1;border-radius:16px;grid-template-columns:repeat(3,1fr);padding:6px;display:grid;position:fixed;bottom:10px;left:10px;right:10px;box-shadow:0 12px 36px #0f172a2e}.mobile-nav button{color:#64748b;background:0 0;border:0;border-radius:11px;height:48px;font-size:12px;font-weight:700;position:relative}.mobile-nav button.active{color:#1d4ed8;background:#dbeafe}.mobile-nav b{color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;display:grid;position:absolute;top:3px;right:8px}}@media (max-width:600px){.job-detail .detail-heading,.job-customer{display:grid}.mobile-nav{bottom:6px;left:6px;right:6px}.mobile-nav button{font-size:11px}}.suggest-wrap{position:relative}.suggestions{z-index:20;background:#fff;border-radius:11px;max-height:240px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 16px 42px #0f172a33}.suggestions:empty{display:none}.suggestions button{text-align:left;background:#fff;border:0;border-bottom:1px solid #e2e8f0;padding:11px 13px;font-size:12px}.suggestions button:hover{background:#eff6ff}.suggestions button:last-child{border-bottom:0}
