:root{color-scheme:light;--bg:#f3f6fa;--panel:#fff;--text:#263951;--muted:#61738c;--line:#dfe6ef;--blue:#275e9a;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);background:var(--panel);border-radius:6px;padding:8px 13px}button:hover{background:#edf3fa}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--blue);color:white;border:0}input,select,textarea{width:100%;padding:9px 11px;border:1px solid #cfd8e5;border-radius:6px;background:white}input[type=checkbox]{width:auto}input[type=color]{height:42px;padding:4px}label{display:block;color:var(--muted);font-size:12px}label input,label select,label textarea{margin-top:5px}h1,h2,h3{color:var(--text);font-weight:600;margin:0}h1{font-size:20px}h2{font-size:24px}h3{font-size:16px;margin-bottom:14px}small,.muted{font-size:12px;color:var(--muted)}header{padding:16px 24px;background:#e6edf6;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}header img{width:170px;display:block;margin-bottom:3px}.account{text-align:right;overflow-wrap:anywhere}.shell{display:grid;grid-template-columns:188px minmax(0,1fr)}nav{background:var(--panel);border-right:1px solid var(--line);padding:20px 10px}nav button{display:block;width:100%;text-align:left;border:0;margin-bottom:5px}nav button.active{color:var(--blue);background:#e8eff9;font-weight:600}main{padding:24px;min-width:0}.head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:16px}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wide{grid-column:1/-1}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.checks{display:flex;flex-wrap:wrap;gap:12px}.checks label{display:flex;gap:6px;align-items:center;color:var(--text)}.checks input{margin:0}.item{display:flex;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.item:last-child{border:0}.scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:500;color:var(--muted);background:#f7f9fc}td button{white-space:nowrap}.badge{display:inline-block;font-size:12px;padding:3px 8px;background:#e9eff7;border-radius:5px}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin-bottom:16px}.gantt{min-width:1520px}.gantt-row{display:grid;grid-template-columns:270px minmax(0,1fr);border-bottom:1px solid var(--line)}.project{position:sticky;left:0;z-index:2;background:var(--panel);padding:12px 15px;border-right:1px solid var(--line)}.months{display:grid;background:#e8eef7}.months strong{padding:10px 12px;border-right:2px solid #bccddd}.days,.track{display:grid}.days span{text-align:center;font-size:11px;padding:8px 0;border-right:1px solid var(--line)}.days b{display:block;font-size:12px}.weekend{background:#eff3f7}.daycell{border-right:1px solid var(--line)}.boundary{border-left:2px solid #94abc8!important}.bar{align-self:center;z-index:1;padding:6px 3px;min-width:0;white-space:nowrap;overflow:hidden;border:0;border-radius:4px;color:white;font-size:11px}.bar:hover{filter:brightness(.9)}.login{max-width:440px;margin:55px auto;padding:28px}.login img{width:240px;max-width:100%;margin-bottom:20px}.login label{margin-top:15px}#notice{position:fixed;bottom:20px;right:20px;max-width:440px;background:#17334f;color:#fff;border-radius:8px;padding:14px 20px;display:none;z-index:10;box-shadow:0 4px 20px #0002}.error{color:#9c2f32;margin-top:12px}.empty{padding:24px;text-align:center;color:var(--muted)}.asset{padding:12px;background:#f6f8fc;margin-bottom:10px;border-radius:6px}.required{color:#a13737}.phone{color:var(--blue)}.attachments a{display:block;margin:8px 0;color:var(--blue)}[hidden]{display:none!important}@media(max-width:760px){.shell{grid-template-columns:1fr}nav{display:flex;flex-wrap:wrap;border-right:0;border-bottom:1px solid var(--line);padding:8px}nav button{width:auto;margin:0;font-size:12px}main{padding:15px}header{padding:14px;flex-wrap:wrap}.account{text-align:left}.form{grid-template-columns:1fr}.panel{padding:16px}}@media(pointer:coarse){button{min-height:44px}input,select,textarea{font-size:16px}}@media(prefers-color-scheme:dark){:root{--bg:#121e30;--panel:#1a2a41;--text:#e2ebf8;--muted:#aabbd1;--line:#34485f;--blue:#92c2ff}header{background:#243b56}input,select,textarea{background:#13233a;color:var(--text);border-color:#49627d}button.primary{background:#80b7f0;color:#14253a}button:hover,nav button.active{background:#2a4261}th,.asset{background:#223750}.badge,.months{background:#2a4160}.weekend{background:#21354e}.project{background:var(--panel)}}

.compact-gantt{min-width:1490px}.compact-gantt .gantt-row{grid-template-columns:235px minmax(0,1fr)}.compact-gantt .project{padding:6px 10px}.compact-gantt .project button{padding:0;border:0;background:transparent;font-weight:600;text-align:left;font-size:12px;min-height:0}.job-reference{font-size:11px;line-height:1.5;overflow-wrap:anywhere}.compact-gantt .track{min-height:64px}.compact-gantt .days span{padding:4px 0;font-size:9px}.compact-gantt .days b{font-size:11px}.compact-gantt .team-bar{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:1px 4px;padding:3px 1px;white-space:normal;font-size:10px;font-weight:700;line-height:12px;margin:3px 0;min-height:24px;overflow:visible}.team-bar span{white-space:nowrap}.compact-gantt .travel-bar{align-self:end;padding:0 2px;min-height:16px;font-size:9px;margin-bottom:1px}

.sheet-gantt{min-width:1750px}.sheet-gantt .gantt-row{grid-template-columns:550px minmax(0,1fr)}.sheet-gantt .project{padding:0}.sheet-gantt .sheet-fields{display:grid;grid-template-columns:190px 125px 120px 115px;align-items:stretch;font-size:11px}.sheet-fields>*{padding:4px 6px!important;border-right:1px solid var(--line)!important;display:flex;align-items:center;overflow-wrap:anywhere;line-height:1.3}.sheet-gantt .sheet-fields button{border-radius:0;font-weight:400;font-size:11px}.sheet-gantt .sheet-heading,.sheet-gantt .months,.sheet-gantt .sheet-top{background:#2d4f77;color:white;font-weight:700}.sheet-gantt .sheet-heading span{justify-content:center}.sheet-gantt .sheet-top{padding:8px 10px}.sheet-gantt .track{min-height:28px}.sheet-gantt .team-bar{height:18px;min-height:18px;margin:3px 0}.sheet-gantt .employee-cell{justify-content:flex-start;font-weight:600!important}.sheet-gantt .inspection-date{justify-content:flex-end}.sheet-gantt .sheet-refs{display:block;text-align:left}.sheet-gantt .gantt-row:nth-child(2n+3) .project{background:#f5f8fc}.sheet-gantt .sheet-refs b{font-weight:600}.sheet-gantt .project{position:static}.sheet-gantt .days span{padding:3px 0}@media(prefers-color-scheme:dark){.sheet-gantt .gantt-row:nth-child(2n+3) .project{background:#21354e}}

.dash-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}.dash-stat{text-align:center;padding:18px 10px;background:#d6e3f8;color:#294d75;border-radius:6px}.dash-stat span{display:block;font-size:11px;font-weight:700;text-transform:uppercase}.dash-stat strong{display:block;font-size:30px;margin-top:8px}.dash-stat.tone-1{background:#d7e7df}.dash-stat.tone-3{background:#ece5cc}.dash-stat.tone-4{background:#ead5df}.dash-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.dash-panel{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel);min-width:0}.dash-panel h3{background:#2d4f77;color:white;margin:0;padding:9px 12px;font-size:12px;text-transform:uppercase}.dash-chart-body{padding:14px}.dash-chart-body p{margin:0 0 12px}.dash-donut{width:165px;height:165px;border-radius:50%;margin:5px auto 18px;display:grid;place-items:center}.dash-donut>div{width:105px;height:105px;border-radius:50%;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center}.dash-donut strong{font-size:27px}.dash-donut span{font-size:12px;color:var(--muted)}.dash-key{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;font-size:11px}.dash-key i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:4px}.dash-columns{display:flex;gap:10px;align-items:flex-end;height:195px;border-bottom:1px solid var(--line)}.dash-column{flex:1;min-width:0;text-align:center;font-size:10px}.dash-column>div{background:#527fe7;border-radius:3px 3px 0 0;margin:4px 0}.dash-column strong{font-size:12px}.dash-column span{display:block;white-space:nowrap;padding-bottom:5px}.dash-workload{max-height:210px;overflow:auto}.dash-work-row{display:grid;grid-template-columns:25px minmax(0,1fr) 25px;gap:8px;align-items:center;font-size:11px;margin:9px 0}.dash-work-row>div{height:15px;background:var(--bg)}.dash-work-row i{display:block;height:100%;border-radius:2px}.dash-bottom{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,1fr);gap:16px}.dash-bottom td,.dash-bottom th{padding:8px;font-size:11px}.dash-highlights{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.dash-footnote{font-size:11px;color:var(--muted);padding:0 14px 10px}@media(max-width:1100px){.dash-charts{grid-template-columns:1fr 1fr}.dash-bottom{grid-template-columns:1fr}}@media(max-width:650px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-charts{grid-template-columns:1fr}.dash-stat{padding:12px}.dash-stat strong{font-size:24px}}
