:root{color:#102333;font-synthesis:none;background:#f4f7fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.login-shell{background:radial-gradient(circle at 0 0,#0e7490,#082f49 60%,#041f30);place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border-radius:22px;width:min(420px,92vw);padding:38px;box-shadow:0 28px 80px #00172666}.brand-mark{color:#fff;background:#059669;border-radius:18px;place-items:center;width:64px;height:64px;font-weight:900;display:grid}.login-card h1{margin:18px 0 5px}.login-card p{color:#64748b}.login-card label,.panel label{gap:7px;margin:15px 0;font-weight:700;display:grid}.login-card input,.panel input,.panel select{border:1px solid #cbd5e1;border-radius:10px;width:100%;padding:12px}.login-card button,.panel button{color:#fff;cursor:pointer;background:#059669;border:0;border-radius:10px;width:100%;padding:13px;font-weight:800}.app-shell{grid-template-columns:250px 1fr;min-height:100vh;display:grid}aside{color:#fff;background:#082f49;flex-direction:column;height:100vh;padding:22px;display:flex;position:sticky;top:0}.portal-brand{border-bottom:1px solid #fff2;align-items:center;gap:10px;padding-bottom:25px;display:flex}.portal-brand strong{background:#10b981;border-radius:10px;padding:10px}.portal-brand span{font-weight:800}nav{gap:8px;margin-top:25px;display:grid}nav a{color:#cde6ef;border-radius:10px;padding:12px 14px;font-weight:700;text-decoration:none}nav a.active,nav a:hover{color:#fff;background:#ffffff18}.user-box{border-top:1px solid #fff2;gap:5px;margin-top:auto;padding-top:20px;display:grid}.user-box span{color:#9cc5d4;font-size:12px}.user-box button{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff4;border-radius:8px;margin-top:10px;padding:8px}main{min-width:0}header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:86px;padding:17px 30px;display:flex}header h1{margin:0;font-size:18px}header p{color:#64748b;margin:4px 0;font-size:13px}.live-dot{color:#047857;font-weight:800}.live-dot:before{content:"";background:#10b981;border-radius:50%;width:9px;height:9px;margin-right:7px;display:inline-block}main>section{padding:28px 30px}.page-title{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.page-title h2{margin:0;font-size:27px}.page-title p{color:#64748b;margin:5px 0}.count{color:#0369a1;background:#e0f2fe;border-radius:20px;padding:8px 12px;font-weight:800}.job-list{gap:14px;display:grid}.job-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;grid-template-columns:105px 1fr;display:grid;overflow:hidden;box-shadow:0 4px 18px #0f172a0a}.job-time{color:#047857;background:#ecfdf5;align-content:start;padding:20px;display:grid}.job-time strong{font-size:22px}.job-time span{font-size:12px}.job-body{padding:18px 22px}.job-heading{justify-content:space-between;gap:15px;display:flex}.job-heading h3{margin:0}.address{font-weight:700}.job-meta{color:#64748b;flex-wrap:wrap;gap:15px;font-size:13px;display:flex}.notes{background:#fff7ed;border-left:3px solid #f97316;padding:10px}.job-actions{gap:8px;margin-top:15px;display:flex}.secondary{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px}.status{background:#e2e8f0;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:900;display:inline-block}.status.assigned{color:#1d4ed8;background:#dbeafe}.status.en_route{color:#92400e;background:#fef3c7}.status.on_site{color:#6d28d9;background:#ede9fe}.status.completed{color:#166534;background:#dcfce7}.status.cancelled{color:#991b1b;background:#fee2e2}.empty,.panel{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:25px}.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:14px}th{text-transform:uppercase;color:#64748b;background:#f8fafc;font-size:12px}td small{color:#64748b;margin-top:4px;display:block}.calendar-nav{align-items:center;gap:12px;display:flex}.calendar-nav button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:7px 12px}.calendar{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:hidden}.weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.weekdays div{text-align:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px;font-weight:800}.day{border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;min-height:135px;padding:8px}.day.blank{background:#f8fafc}.day-number{font-weight:800}.cal-job{background:#dbeafe;border-radius:6px;margin-top:7px;padding:6px;font-size:11px}.cal-job small{display:block}.two-panel{grid-template-columns:370px 1fr;gap:20px;display:grid}.panel h3{margin-top:0}.engineer-row{border-bottom:1px solid #e2e8f0;gap:12px;padding:12px 0;display:flex}.avatar{color:#fff;background:#0e7490;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.engineer-row div:nth-child(2){display:grid}.engineer-row span,.engineer-row small{color:#64748b}.alert{border-radius:10px;margin:10px 0;padding:12px 14px}.alert.error{color:#991b1b;background:#fee2e2}@media (width<=850px){.app-shell{grid-template-columns:1fr}aside{height:auto;padding:12px;position:static}nav{margin-top:10px;display:flex;overflow:auto}.user-box{display:none}header{padding:14px 16px}main>section{padding:20px 14px}.job-card{grid-template-columns:80px 1fr}.two-panel{grid-template-columns:1fr}.day{min-height:90px;padding:4px}.cal-job{font-size:9px}.weekdays div{font-size:11px}}.alert.success{color:#166534;background:#dcfce7}.pending-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:18px;display:grid}.pending-card{background:#fff;border:1px solid #dbe4ec;border-radius:16px;padding:20px;box-shadow:0 5px 18px #0f172a0b}.pending-head{justify-content:space-between;align-items:start;gap:15px;display:flex}.pending-head h3{margin:4px 0 0}.pending-head small,.muted{color:#64748b}.approval-form{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.approval-form label{gap:6px;font-size:13px;font-weight:750;display:grid}.approval-form label:first-child,.approval-form .full{grid-column:1/-1}.approval-form input,.approval-form select,.approval-form textarea{background:#fff;border:1px solid #cbd5e1;border-radius:9px;width:100%;padding:10px}.approve-btn{color:#fff;cursor:pointer;background:#059669;border:0;border-radius:10px;width:100%;margin-top:15px;padding:12px;font-weight:850}@media (width<=650px){.pending-grid,.approval-form{grid-template-columns:1fr}.approval-form label{grid-column:1/-1}}
