:root{
  --bg:#f4f6f8;--card:#fff;--ink:#17202a;--muted:#667085;--line:#e2e7ec;--line-2:#edf1f4;
  --nav:#111827;--nav-2:#1f2937;--blue:#155bd7;--blue-2:#0f49b6;--green:#067647;--amber:#b54708;--red:#b42318;
  --shadow:0 3px 14px rgba(15,23,42,.045);--radius:14px;
}
*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{text-decoration:none;color:inherit}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:262px;background:var(--nav);color:#d8e0ea;padding:18px 14px;overflow:auto;z-index:50;display:flex;flex-direction:column}.main{margin-left:262px;min-height:100vh;padding:26px 34px 60px}.brand{display:flex;align-items:center;gap:11px;padding:3px 8px 20px}.brand-mark{width:40px;height:40px;border-radius:11px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:950;letter-spacing:-.03em}.brand strong,.brand span{display:block}.brand strong{font-size:14px;color:#fff}.brand span{font-size:11px;color:#8e9aac;margin-top:2px}.light-brand .brand strong{color:#101828}.light-brand .brand span{color:#667085}.nav-group{margin:8px 0 18px}.nav-label{font-size:9px;letter-spacing:.13em;color:#6c7a8e;font-weight:900;padding:0 10px 7px;text-transform:uppercase}.nav-btn{border:0;width:100%;background:transparent;color:#c9d3df;text-align:left;padding:9px 10px;border-radius:9px;margin:1px 0;font-size:13px;display:flex;align-items:center;gap:9px;position:relative}.nav-btn:hover,.nav-btn.active{background:var(--nav-2);color:#fff}.nav-btn em{margin-left:auto;min-width:20px;height:20px;border-radius:999px;background:#d92d20;color:#fff;font-style:normal;font-size:9px;font-weight:900;display:grid;place-items:center}.nav-icon{width:18px;text-align:center;font-size:13px}.nav-footer{border-top:1px solid #293445;padding-top:12px;margin-top:auto}.connection{font-size:9px;color:#91a0b2;padding:0 10px 8px;display:flex;align-items:center;gap:7px}.connection i{width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px rgba(18,183,106,.12)}
.mobile-bar{display:none}.nav-scrim{display:none}.top-session{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-bottom:18px}.top-session>div{text-align:right}.top-session strong,.top-session span{display:block}.top-session strong{font-size:12px}.top-session span{font-size:10px;color:var(--muted);margin-top:2px}.text-btn{border:0;background:none;color:#475467;font-weight:800;padding:5px 8px;font-size:11px}.text-btn:hover{color:var(--blue)}.text-btn.full{width:100%;margin-top:10px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:18px}.page-header h1{font-size:28px;margin:4px 0 0;letter-spacing:-.025em}.page-header p{font-size:11px;color:var(--muted);margin:5px 0 0}.eyebrow,.code{font-size:9px;letter-spacing:.12em;font-weight:950;color:#7c8797;text-transform:uppercase}.eyebrow.light{color:#93a4ba}.page-actions,.button-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn{border:0;border-radius:9px;background:var(--blue);color:#fff;padding:10px 14px;font-weight:850;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn:hover{background:var(--blue-2)}.btn.secondary{background:#fff;color:#344054;border:1px solid var(--line)}.btn.secondary:hover{background:#f8fafc;border-color:#cad2dc}.btn.small{padding:7px 10px;font-size:10px}.btn.ai-btn{background:#111827}.btn.full{width:100%;margin-top:14px}.action{border:0;background:none;color:var(--blue);font-weight:850;font-size:10px;padding:3px 4px}.action:hover{text-decoration:underline}.action.delete{color:var(--red)}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.search-box{display:flex;align-items:center;gap:8px;flex:1;max-width:500px;border:1px solid #d3dae2;background:#fff;border-radius:10px;padding:0 10px}.search-box span{color:#98a2b3}.search-box input{border:0;padding:10px 0;outline:0;background:transparent}.toolbar-meta{font-size:10px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #d0d7df;border-radius:9px;background:#fff;color:var(--ink);padding:10px 11px;font-size:12px}input:focus,select:focus,textarea:focus{outline:2px solid #bfdbfe;border-color:#60a5fa}textarea{resize:vertical}.field{display:block}.field>span{display:block;font-size:10px;font-weight:900;color:#475467;margin-bottom:6px}.field>span b{color:#d92d20;margin-left:2px}.field small{display:block;color:#7b8794;font-size:9px;margin-top:5px;line-height:1.45}.field.wide{grid-column:1/-1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.notice{font-size:10px;color:#475467;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:12px;line-height:1.5}.muted{color:#98a2b3}.block-muted{display:block;color:#98a2b3;margin-top:3px;font-weight:400}
.table-card{overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{font-size:8px;letter-spacing:.06em;color:#667085;text-transform:uppercase;text-align:left;background:#f8fafc;padding:11px 12px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:11px 12px;border-bottom:1px solid var(--line-2);vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}.actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;white-space:nowrap}.pill{display:inline-flex;border:1px solid #d7dee6;background:#f8fafc;border-radius:999px;padding:3px 8px;font-size:8px;font-weight:900;white-space:nowrap}.pill.complete,.pill.current,.pill.active,.pill.available,.pill.yes,.pill.issued,.pill.resolved,.pill.closed,.pill.company-owner,.pill.survey-manager{background:#ecfdf3;border-color:#abefc6;color:#067647}.pill.high,.pill.urgent,.pill.destroyed,.pill.faulty{background:#fff1f0;border-color:#fecdca;color:#b42318}.pill.scheduled,.pill.in-progress,.pill.in-use,.pill.collected,.pill.project-manager{background:#eff8ff;border-color:#b2ddff;color:#175cd3}.pill.waiting,.pill.outstanding,.pill.service-due,.pill.suspect,.pill.check-required,.pill.processing,.pill.foreman{background:#fffaeb;border-color:#fedf89;color:#b54708}.empty{padding:45px 20px;text-align:center}.empty-icon{font-size:23px;color:#98a2b3;margin-bottom:8px}.empty h3{margin:0 0 6px;font-size:14px}.empty p{margin:0;color:var(--muted);font-size:10px}.error-box{background:#fef3f2;border:1px solid #fecdca;color:#b42318;border-radius:9px;padding:9px 10px;font-size:10px;margin-top:10px}
.global-busy{position:fixed;inset:0;background:rgba(16,24,40,.16);backdrop-filter:blur(2px);display:grid;place-items:center;z-index:3000}.global-busy-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;min-width:310px;box-shadow:0 20px 60px rgba(16,24,40,.22)}.global-busy-card strong,.global-busy-card span{display:block}.global-busy-card strong{font-size:12px}.global-busy-card span{font-size:9px;color:var(--muted);margin-top:3px;max-width:360px}.spinner{display:inline-block;width:24px;height:24px;border-radius:50%;border:3px solid #dbeafe;border-top-color:#175cd3;animation:spin .75s linear infinite;flex:0 0 auto}.spinner.small{width:14px;height:14px;border-width:2px}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;right:22px;bottom:22px;background:#111827;color:#fff;border-radius:10px;padding:11px 14px;font-size:10px;font-weight:850;opacity:0;transform:translateY(10px);pointer-events:none;transition:.18s;z-index:4000}.toast.show{opacity:1;transform:none}.app-loading{min-height:100vh;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.app-loading strong{font-size:12px}
.auth-screen{min-height:100vh;background:#eef2f6;display:grid;place-items:center;padding:28px}.auth-layout{width:min(980px,100%);display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid #e1e6eb;border-radius:20px;overflow:hidden;box-shadow:0 25px 80px rgba(16,24,40,.12)}.auth-brand-panel{background:#111827;color:#fff;padding:32px;min-height:520px;display:flex;flex-direction:column}.auth-copy{margin:auto 0}.auth-copy h1{font-size:34px;line-height:1.06;max-width:430px;margin:12px 0}.auth-copy p{color:#aab5c4;font-size:12px;line-height:1.6;max-width:420px}.auth-version{margin-top:auto;font-size:9px;color:#738197}.auth-card{background:#fff;padding:34px;width:min(450px,100%)}.auth-layout .auth-card{width:auto;display:flex;flex-direction:column;justify-content:center}.auth-card h2{font-size:22px;margin:0 0 5px}.auth-card>.muted{font-size:10px;line-height:1.5;margin:0 0 18px}.auth-card form .field{margin-top:12px}.auth-tabs{display:flex;border:1px solid var(--line);border-radius:9px;padding:3px;margin-bottom:10px}.auth-tabs button{flex:1;border:0;background:transparent;border-radius:7px;padding:7px;font-size:10px;font-weight:850;color:#667085}.auth-tabs button.active{background:#eef4ff;color:#175cd3}.loading-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px;text-align:left;box-shadow:var(--shadow);transition:.15s}.project-card:hover{border-color:#b9c6d5;transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,23,42,.07)}.project-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.project-card h3{font-size:15px;margin:4px 0 4px}.project-card p{font-size:9px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.project-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:16px}.project-card-stats>div{background:#f8fafc;border-radius:9px;padding:9px}.project-card-stats strong,.project-card-stats span{display:block}.project-card-stats strong{font-size:17px}.project-card-stats span{font-size:7px;color:#98a2b3;text-transform:uppercase;font-weight:900;margin-top:2px}.project-card-stats .danger-stat strong{color:var(--red)}.project-card-open{font-size:9px;font-weight:850;color:var(--blue);margin-top:13px;display:flex;justify-content:space-between}
.control-groups{display:grid;gap:9px}.control-project{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.control-project>summary{list-style:none;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.control-project>summary::-webkit-details-marker{display:none}.control-project>summary>div{display:flex;align-items:center;gap:8px}.control-project[open]>summary{background:#f8fafc;border-bottom:1px solid var(--line)}.chevron{width:20px;height:20px;border-radius:6px;background:#eef2f6;display:grid;place-items:center;font-size:11px}.control-project[open] .chevron{transform:rotate(90deg)}.count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#eef2f6;color:#667085;font-size:8px;font-weight:900;padding:0 6px}
.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.calendar-toolbar h2{font-size:17px;margin:0}.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:12px;align-items:start}.calendar-card{overflow:hidden}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f8fafc;border-bottom:1px solid var(--line)}.calendar-weekdays div{padding:10px 8px;font-size:8px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#667085;text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-day{min-height:130px;padding:6px;border-right:1px solid var(--line-2);border-bottom:1px solid var(--line-2);background:#fff}.calendar-day:nth-child(7n){border-right:0}.calendar-day.other-month{background:#fafbfc;color:#98a2b3}.calendar-day.today{box-shadow:inset 0 0 0 2px #2563eb}.day-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.day-head>span{width:24px;height:24px;border-radius:999px;display:grid;place-items:center;font-size:10px;font-weight:900}.calendar-day.today .day-head>span{background:#2563eb;color:#fff}.day-head em{font-size:8px;font-style:normal;color:#98a2b3}.booking-card{border:1px solid #d8e1ea;background:#f8fafc;border-radius:7px;padding:6px;margin:4px 0;user-select:none}.booking-card.draggable{cursor:grab}.booking-card.high,.booking-card.urgent{border-left:3px solid #d92d20}.booking-card.normal{border-left:3px solid #2563eb}.booking-card.low{border-left:3px solid #98a2b3}.booking-card strong,.booking-card span,.booking-card small{display:block}.booking-card strong{font-size:9px;line-height:1.25}.booking-card span,.booking-card small{font-size:7px;color:#667085;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unscheduled{padding:13px;position:sticky;top:18px}.unscheduled .section-title{padding:0}.unscheduled>p{font-size:9px;color:var(--muted);line-height:1.45}.unscheduled-list{min-height:70px;border:1px dashed #cbd5e1;border-radius:9px;padding:6px;background:#fbfcfd}
.revision-summary{display:flex;align-items:center;gap:18px;padding:15px 17px;margin-bottom:12px}.revision-summary>div{min-width:95px}.revision-summary strong,.revision-summary span{display:block}.revision-summary strong{font-size:26px}.revision-summary span{font-size:8px;color:var(--muted);font-weight:900;text-transform:uppercase}.revision-summary p{font-size:10px;color:#475467;margin:0;line-height:1.5}.alert-list{display:grid;gap:9px}.revision-alert{padding:14px 16px;display:flex;justify-content:space-between;gap:16px;align-items:center}.revision-alert.open{border-left:3px solid #f04438}.revision-alert.acknowledged{border-left:3px solid #f79009}.revision-alert.resolved{opacity:.7}.revision-alert-top{display:flex;gap:8px;align-items:center}.revision-alert-top>span:last-child{font-size:9px;color:var(--muted)}.revision-alert h3{font-size:13px;margin:7px 0 4px}.revision-alert p{font-size:10px;color:#475467;margin:0}.exception-reason{font-size:9px;color:#b54708;background:#fffaeb;padding:7px 9px;border-radius:7px;margin-top:7px}.spaced{margin-top:12px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-title.padded{padding:13px 15px;border-bottom:1px solid var(--line)}.section-title h3{font-size:13px;margin:3px 0 0}
.drawing-ref strong{font-size:10px}.superseded-inline{display:block;color:#b42318;font-size:7px;font-weight:900;margin-top:2px}.file-link{border:0;background:none;color:var(--blue);font-weight:850;font-size:9px;padding:0}.file-existing{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:9px;padding:9px 10px;margin-bottom:7px}.file-existing strong,.file-existing small{display:block}.file-existing strong{font-size:10px}.file-existing small{font-size:8px;color:var(--muted);margin-top:2px}
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.52);display:flex;align-items:center;justify-content:center;padding:24px;z-index:2000}.modal{width:min(900px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 25px 80px rgba(0,0,0,.28)}.small-modal{width:min(680px,100%)}.modal-head{position:sticky;top:0;background:#fff;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:16px 19px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px;margin:3px 0 0}.modal-x{border:0;background:#f2f4f7;width:34px;height:34px;border-radius:9px;font-size:20px}.modal-body{padding:18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.revision-danger{background:#fff1f0;border:1px solid #fecdca;color:#7a271a;border-radius:9px;padding:10px 11px}.revision-danger strong,.revision-danger span{display:block}.revision-danger>strong{font-size:9px;color:#b42318;margin-bottom:4px}.revision-danger span{font-size:9px;line-height:1.5}.drawing-ai-box{margin-top:10px;border:1px solid #cfe0fb;border-radius:10px;overflow:hidden;background:#fff}.drawing-ai-head{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:#f7faff;border-bottom:1px solid #e1ebfa}.drawing-ai-head>div>span,.drawing-ai-head>div>strong{display:block}.drawing-ai-head>div>span{font-size:7px;letter-spacing:.08em;color:#175cd3;font-weight:900}.drawing-ai-head>div>strong{font-size:10px;margin-top:2px}.drawing-ai-status{display:flex;gap:9px;align-items:flex-start;padding:10px 11px}.drawing-ai-status>div>strong,.drawing-ai-status>div>span{display:block}.drawing-ai-status>div>strong{font-size:10px}.drawing-ai-status>div>span{font-size:8px;color:#667085;margin-top:3px;line-height:1.45}.drawing-ai-status.success{background:#f6fef9}.drawing-ai-status.warning{background:#fffaeb}.drawing-ai-status.error{background:#fef3f2}.drawing-ai-bits{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.drawing-ai-bits em{font-style:normal;font-size:7px;font-weight:850;border:1px solid #d0d5dd;border-radius:999px;padding:3px 6px;background:#fff}.drawing-ai-warning{font-size:8px;color:#b54708;margin-top:5px}.project-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.project-check{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:8px}.project-check input{width:auto}.project-check span{font-size:9px;font-weight:800}
.copilot-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}.copilot-chat-card{overflow:hidden}.copilot-chat-head,.copilot-side-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.copilot-chat-head h2,.copilot-side-head h3{font-size:15px;margin:3px 0 0}.project-ai-context{padding:8px 14px;background:#eef4ff;border-bottom:1px solid #d9e7ff;color:#344054;font-size:9px}.copilot-quick{display:flex;gap:6px;flex-wrap:wrap;padding:10px 13px;border-bottom:1px solid var(--line);background:#fafbfc}.copilot-quick button{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:6px 9px;font-size:8px;font-weight:800;color:#344054}.copilot-messages{height:min(56vh,560px);min-height:330px;overflow:auto;padding:16px;background:linear-gradient(#fff,#fbfcfd)}.copilot-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#667085;padding:28px}.ai-orb{width:42px;height:42px;border-radius:13px;background:#111827;color:#fff;display:grid;place-items:center;font-size:18px;margin-bottom:10px}.copilot-empty strong{font-size:13px;color:#1d2939}.copilot-empty span{font-size:9px;max-width:500px;line-height:1.55;margin-top:5px}.copilot-msg{display:flex;align-items:flex-start;gap:8px;margin-bottom:12px}.copilot-msg.user{flex-direction:row-reverse}.copilot-avatar{width:29px;height:29px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto;background:#111827;color:#fff;font-size:8px;font-weight:900}.copilot-msg.user .copilot-avatar{background:#eaf2ff;color:#145bd7}.copilot-bubble{max-width:min(82%,760px);background:#f2f4f7;border:1px solid #eaecf0;border-radius:11px;padding:10px 12px;font-size:10px;line-height:1.55;color:#1d2939}.copilot-msg.user .copilot-bubble{background:#145bd7;color:#fff;border-color:#145bd7}.copilot-text{white-space:pre-wrap}.copilot-refs{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.copilot-refs span{border:1px solid #d0d5dd;background:#fff;color:#475467;border-radius:999px;padding:3px 6px;font-size:7px;font-weight:850}.copilot-msg.user .copilot-refs{display:none}.copilot-bubble.typing{display:flex;align-items:center;gap:4px;color:#667085}.copilot-bubble.typing span{width:5px;height:5px;background:#98a2b3;border-radius:50%;animation:pulse 1s infinite alternate}.copilot-bubble.typing span:nth-child(2){animation-delay:.15s}.copilot-bubble.typing span:nth-child(3){animation-delay:.3s}@keyframes pulse{to{opacity:.25;transform:translateY(-2px)}}.copilot-compose{display:flex;gap:8px;padding:11px 13px;border-top:1px solid var(--line)}.copilot-compose textarea{min-height:45px;max-height:130px}.copilot-compose .btn{align-self:flex-end;white-space:nowrap}.copilot-privacy{padding:0 14px 10px;color:#98a2b3;font-size:7px}.knowledge-intro{font-size:9px;color:#667085;line-height:1.5;padding:11px 13px;margin:0}.knowledge-list{border-top:1px solid var(--line);max-height:520px;overflow:auto}.knowledge-item{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border-bottom:1px solid var(--line-2)}.knowledge-item strong{display:block;font-size:10px;margin:3px 0}.knowledge-item p{font-size:8px;color:#667085;line-height:1.45;margin:0}.knowledge-category{font-size:7px;font-weight:900;color:#145bd7;text-transform:uppercase;letter-spacing:.06em}.knowledge-actions{display:flex;align-items:flex-start;gap:5px}.copilot-action-card{margin-top:10px;border:1px solid #bfd4f8;background:#fff;border-radius:10px;overflow:hidden;color:#1d2939}.copilot-action-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:9px 10px;background:#f7faff;border-bottom:1px solid #e7eef9}.copilot-action-top span,.copilot-action-top strong{display:block}.copilot-action-top span{font-size:7px;font-weight:900;letter-spacing:.08em;color:#175cd3}.copilot-action-top strong{font-size:9px;margin-top:2px}.copilot-action-top em{font-style:normal;font-size:6px;font-weight:900;color:#175cd3;border:1px solid #b2ccf4;border-radius:999px;padding:3px 5px}.copilot-action-card>p{font-size:8px;color:#475467;padding:8px 10px 0;margin:0}.copilot-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#edf0f3;margin:8px 10px;border:1px solid #edf0f3;border-radius:7px;overflow:hidden}.copilot-action-grid>div{background:#fff;padding:7px 8px}.copilot-action-grid span,.copilot-action-grid strong{display:block}.copilot-action-grid span{font-size:6px;color:#98a2b3;text-transform:uppercase;font-weight:900}.copilot-action-grid strong{font-size:8px;margin-top:2px;overflow-wrap:anywhere}.copilot-action-buttons{display:flex;justify-content:flex-end;gap:6px;padding:0 10px 8px}.action-state{margin:0 10px 8px;border-radius:7px;padding:7px 8px;font-size:8px;background:#f2f4f7}.action-state.success{background:#ecfdf3;color:#067647}.action-state.danger{background:#fef3f2;color:#b42318}.copilot-action-foot{padding:7px 10px;border-top:1px solid var(--line-2);font-size:7px;color:#98a2b3;background:#fbfcfd}
.project-workspace{display:grid;gap:12px}.project-workspace-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;padding:16px 18px}.workspace-back{border:0;background:none;padding:0;color:#667085;font-size:9px;font-weight:850;margin-bottom:9px}.project-hero-title{display:flex;align-items:flex-start;gap:10px}.project-hero-title h2{font-size:20px;margin:3px 0 3px}.project-hero-title p{font-size:9px;color:var(--muted);margin:0}.project-hero-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;color:#667085;font-size:8px}.project-hero-fact{text-align:right}.project-hero-fact span,.project-hero-fact strong,.project-hero-fact small{display:block}.project-hero-fact span{font-size:7px;text-transform:uppercase;color:#98a2b3;font-weight:900}.project-hero-fact strong{font-size:23px;margin-top:3px}.project-hero-fact small{font-size:7px;color:#98a2b3}.project-tabs{display:flex;gap:4px;overflow:auto;padding:4px;background:#e9edf2;border:1px solid #dde3ea;border-radius:11px}.project-tab{border:0;background:transparent;border-radius:7px;padding:8px 10px;color:#475467;font-size:9px;font-weight:850;white-space:nowrap}.project-tab.active{background:#fff;color:#101828;box-shadow:0 1px 3px rgba(16,24,40,.08)}.project-tab span{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;border-radius:999px;background:#eef2f6;color:#667085;font-size:7px}.project-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.project-metric{text-align:left;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px;box-shadow:var(--shadow)}.project-metric span,.project-metric strong,.project-metric small{display:block}.project-metric span{font-size:7px;text-transform:uppercase;color:#667085;font-weight:900}.project-metric strong{font-size:17px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-metric small{font-size:7px;color:#98a2b3;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-metric.good{border-top:3px solid #12b76a}.project-metric.warning,.project-metric.attention{border-top:3px solid #f79009}.project-metric.danger{border-top:3px solid #f04438}.project-setup-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}.project-setup-strip>div{padding:11px 13px;border-right:1px solid var(--line-2)}.project-setup-strip>div:last-child{border-right:0}.project-setup-strip span,.project-setup-strip strong,.project-setup-strip small{display:block}.project-setup-strip span{font-size:7px;text-transform:uppercase;color:#98a2b3;font-weight:900}.project-setup-strip strong{font-size:10px;margin-top:3px}.project-setup-strip small{font-size:7px;color:#98a2b3;margin-top:2px}.project-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workspace-section{padding:13px}.rowline{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line-2)}.rowline:last-child{border-bottom:0}.rowline strong,.rowline span{display:block}.rowline strong{font-size:10px}.rowline div span{font-size:8px;color:var(--muted);margin-top:2px}.workspace-empty{font-size:9px;color:#98a2b3}.project-tab-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-end}.project-tab-head h3{font-size:16px;margin:3px 0}.project-tab-head p{font-size:9px;color:var(--muted);margin:0}.project-schedule-list{overflow:hidden}.project-schedule-row{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;padding:11px 13px;border-bottom:1px solid var(--line-2)}.project-schedule-row:last-child{border-bottom:0}.project-date-tile{width:44px;height:44px;border-radius:9px;background:#eef4ff;display:flex;flex-direction:column;align-items:center;justify-content:center}.project-date-tile strong{font-size:14px}.project-date-tile span{font-size:7px;color:#175cd3;text-transform:uppercase;font-weight:900}.muted-tile{background:#f2f4f7}.project-schedule-row>div:nth-child(2) strong,.project-schedule-row>div:nth-child(2) span{display:block}.project-schedule-row>div:nth-child(2) strong{font-size:10px}.project-schedule-row>div:nth-child(2) span{font-size:8px;color:#667085;margin-top:2px}.project-schedule-divider{padding:7px 13px;background:#f8fafc;border-bottom:1px solid var(--line);font-size:7px;color:#98a2b3;font-weight:900;letter-spacing:.08em}
@media(max-width:1250px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.project-setup-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.copilot-layout{grid-template-columns:1fr}.calendar-layout{grid-template-columns:1fr}.unscheduled{position:static}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.18s}.sidebar.open{transform:none}.main{margin-left:0;padding:18px 16px 45px}.mobile-bar{display:flex;height:62px;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 12px;position:sticky;top:0;z-index:40}.mobile-bar .brand{padding:0}.mobile-bar .brand-mark{width:31px;height:31px;border-radius:8px;font-size:10px}.mobile-bar .brand strong{font-size:11px}.mobile-bar .brand span{font-size:8px}.mobile-menu{border:0;background:#f2f4f7;border-radius:8px;width:34px;height:34px}.mobile-role{font-size:8px;color:#667085}.nav-scrim{display:block;position:fixed;inset:0;border:0;background:rgba(15,23,42,.35);z-index:45}.top-session{display:none}.page-header{margin-top:17px}.form-grid,.project-overview-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.project-workspace-hero,.project-tab-head{align-items:stretch;flex-direction:column}.project-hero-fact{text-align:left}.project-grid{grid-template-columns:1fr}.calendar-day{min-height:105px}.project-checks{grid-template-columns:1fr}}
@media(max-width:620px){.page-header{align-items:stretch;flex-direction:column}.page-actions,.button-row{justify-content:flex-start}.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-setup-strip{grid-template-columns:1fr}.project-schedule-row{grid-template-columns:45px 1fr}.project-schedule-row>.actions{grid-column:2;justify-content:flex-start}.calendar-day{min-height:90px;padding:4px}.booking-card span,.booking-card small{display:none}.copilot-action-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-card{padding:24px}.modal-backdrop{padding:10px}.modal{max-height:96vh}.project-card-stats{grid-template-columns:repeat(3,1fr)}}

/* =========================================================
   MAIN SITE UX / INFORMATION ARCHITECTURE REDESIGN
   ========================================================= */
:root{
  --bg:#f6f8fb;--card:#ffffff;--ink:#182230;--muted:#667085;--line:#e4e9ef;--line-2:#eef2f6;
  --nav:#111827;--nav-2:#1d2939;--blue:#155eef;--blue-2:#004eeb;--green:#067647;--amber:#b54708;--red:#b42318;
  --shadow:0 1px 2px rgba(16,24,40,.03),0 6px 18px rgba(16,24,40,.035);--radius:14px;
}
body{font-size:14px;line-height:1.45;background:var(--bg)}
.sidebar{width:240px;padding:16px 12px;background:#101828}
.main{margin-left:240px;padding:0 32px 72px;max-width:none}
.brand{padding:4px 8px 18px;gap:10px}.brand-mark{width:36px;height:36px;border-radius:10px;font-size:12px}.brand strong{font-size:13px}.brand span{font-size:10px}
.primary-nav{display:grid;gap:2px}.nav-btn{font-size:13px;min-height:40px;padding:9px 10px;border-radius:9px;gap:9px}.nav-icon{font-size:14px;width:19px}.nav-btn.active{background:#25324a}.nav-btn:hover{background:#1d2939}.nav-btn em{min-width:18px;height:18px;font-size:9px}.nav-divider{height:1px;background:#283548;margin:9px 7px}.nav-label.simple{font-size:9px;padding:14px 10px 5px;margin:0}.nav-footer{padding-top:10px}.connection{font-size:10px}
.nav-collapsible{display:grid;gap:2px}.nav-section-btn b{margin-left:auto;font-size:20px;line-height:1;color:#77869a;transition:.15s}.nav-section-btn b.rotated{transform:rotate(90deg)}.nav-section-btn.section-active{color:#fff}.nav-subitems{display:grid;gap:1px;margin:1px 0 4px 29px;padding-left:8px;border-left:1px solid #344054}.nav-btn.nav-sub{font-size:12px;min-height:34px;padding:7px 9px;color:#98a6b8}.nav-btn.nav-sub.active{color:#fff;background:#25324a}.ai-nav{margin-top:1px}.ai-nav .nav-icon{color:#8fb8ff}
.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px;position:sticky;top:0;z-index:35;background:rgba(246,248,251,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(228,233,239,.8);margin:0 -32px 28px;padding:0 32px}.top-account{display:flex;align-items:center;gap:12px;min-width:0}.top-account>div{text-align:right}.top-account strong,.top-account span{display:block}.top-account strong{font-size:13px}.top-account span{font-size:11px;color:var(--muted);margin-top:1px;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar-button{width:36px;height:36px;border-radius:50%;border:1px solid #d8dee7;background:#fff;color:#344054;font-weight:800}
.global-search{position:relative;width:min(620px,48vw)}.global-search-trigger{width:100%;height:40px;border:1px solid #d5dce5;background:#fff;border-radius:10px;display:flex;align-items:center;gap:9px;padding:0 11px;color:#667085;text-align:left;box-shadow:0 1px 2px rgba(16,24,40,.02)}.global-search-trigger>span:nth-child(2){font-size:12px;flex:1}.global-search-trigger kbd{font-family:inherit;font-size:10px;color:#98a2b3;background:#f8fafc;border:1px solid #e1e6eb;border-radius:5px;padding:2px 6px}.search-popover{position:absolute;top:48px;left:0;width:min(650px,75vw);background:#fff;border:1px solid #d8e0e8;border-radius:14px;box-shadow:0 18px 50px rgba(16,24,40,.16);overflow:hidden;z-index:150}.search-input-row{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.search-input-row input{border:0;outline:0;padding:4px 0;font-size:14px}.search-input-row input:focus{outline:0}.search-input-row button{border:1px solid var(--line);background:#f8fafc;color:#667085;border-radius:6px;font-size:10px;padding:4px 7px}.search-results{max-height:420px;overflow:auto;padding:6px}.search-results>button{width:100%;border:0;background:#fff;border-radius:9px;padding:10px 12px;display:grid;grid-template-columns:92px 1fr 24px;gap:2px 10px;text-align:left;align-items:center}.search-results>button:hover{background:#f5f8ff}.search-kind{grid-row:1/3;font-size:9px;font-weight:800;color:#175cd3;text-transform:uppercase;letter-spacing:.05em}.search-results strong{font-size:13px}.search-results small{font-size:11px;color:#667085}.search-results em{grid-column:3;grid-row:1/3;font-style:normal;color:#98a2b3}.search-hint{padding:24px 16px;color:#667085;font-size:12px;text-align:center}
.page-header{align-items:center;margin-bottom:22px}.page-header h1{font-size:30px;line-height:1.15;margin:5px 0 0}.page-header p{font-size:13px;margin-top:6px}.eyebrow,.code{font-size:10px}.btn{font-size:13px;padding:10px 14px;border-radius:9px}.btn.small{font-size:11px;padding:7px 10px}.btn.ai-soft{background:#eef4ff;color:#1849a9;border:1px solid #d1e0ff}.btn.ai-soft:hover{background:#e0eaff}.text-link{border:0;background:none;color:#175cd3;font-size:12px;font-weight:700;padding:4px}.text-link:hover{text-decoration:underline}
.card{border-color:var(--line);box-shadow:var(--shadow)}
input,select,textarea{font-size:13px;padding:10px 11px}.field>span{font-size:12px}.field small{font-size:11px}.notice{font-size:12px}.toolbar-meta,.result-count{font-size:12px;color:var(--muted)}.search-box{max-width:600px;height:42px}.search-box input{font-size:13px}.search-box.large{max-width:560px}
.pill{font-size:10px;padding:4px 8px}.action{font-size:12px}.empty{padding:42px 20px}.empty h3{font-size:15px}.empty p{font-size:12px}.error-box{font-size:12px}
table{font-size:13px}th{font-size:10px;padding:12px 14px}td{padding:13px 14px}.modern-table tbody tr.clickable-row{cursor:pointer}.modern-table tbody tr.clickable-row:hover{background:#f7f9fc}.menu-col{width:48px}.menu-cell{position:relative;text-align:right}.modern-table{overflow:visible}.modern-table .table-wrap{overflow:visible}
.row-menu{position:relative;display:inline-block}.row-menu>summary{list-style:none;width:34px;height:30px;border-radius:7px;border:0;display:grid;place-items:center;color:#667085;font-weight:900;letter-spacing:1px;cursor:pointer}.row-menu>summary::-webkit-details-marker{display:none}.row-menu>summary:hover,.row-menu[open]>summary{background:#f2f4f7;color:#101828}.row-menu>div{position:absolute;right:0;top:34px;min-width:150px;background:#fff;border:1px solid #d8e0e8;border-radius:10px;padding:5px;box-shadow:0 12px 28px rgba(16,24,40,.16);z-index:120}.row-menu>div button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:8px 9px;border-radius:7px;font-size:12px;color:#344054}.row-menu>div button:hover{background:#f5f7fa}.row-menu>div button.danger{color:#b42318}

/* Home */
.home-page{max-width:1460px;margin:0 auto}.home-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}.home-hero h1{font-size:34px;letter-spacing:-.03em;margin:5px 0}.home-hero p{font-size:14px;color:var(--muted);margin:0}.home-hero-actions{display:flex;gap:9px;flex-wrap:wrap}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.home-metric{position:relative;border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px;text-align:left;box-shadow:var(--shadow)}.home-metric:hover{border-color:#c7d2e0;box-shadow:0 8px 22px rgba(16,24,40,.06)}.home-metric span,.home-metric strong,.home-metric small{display:block}.home-metric span{font-size:11px;font-weight:800;color:#667085}.home-metric strong{font-size:28px;line-height:1;margin:8px 0 5px}.home-metric small{font-size:11px;color:#98a2b3}.home-metric em{position:absolute;right:15px;top:15px;font-style:normal;color:#98a2b3}.home-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:14px}.home-section{padding:18px;min-width:0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-title h2,.section-title h3{margin:3px 0 0}.section-title h2{font-size:18px}.section-title h3{font-size:16px}.today-list,.attention-list,.upcoming-list{display:grid;margin-top:12px}.today-card{border:0;border-top:1px solid var(--line-2);background:#fff;padding:14px 2px;display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;text-align:left}.today-card:first-child{border-top:0}.today-card:hover .today-main strong{color:#175cd3}.today-time{font-size:11px;font-weight:800;color:#475467}.today-main strong,.today-main span,.today-main small{display:block}.today-main strong{font-size:14px}.today-main span{font-size:12px;color:#475467;margin-top:3px}.today-main small{font-size:11px;color:#98a2b3;margin-top:2px}.today-status{display:flex;align-items:center;gap:12px;color:#98a2b3}.attention-item{width:100%;border:0;border-top:1px solid var(--line-2);background:#fff;padding:13px 2px;display:grid;grid-template-columns:32px 1fr 20px;gap:9px;text-align:left;align-items:center}.attention-item:first-child{border-top:0}.attention-item i{width:28px;height:28px;border-radius:8px;background:#fef3f2;color:#b42318;display:grid;place-items:center;font-style:normal}.attention-item.warning i{background:#fffaeb;color:#b54708}.attention-item strong,.attention-item span{display:block}.attention-item strong{font-size:12px}.attention-item span{font-size:11px;color:#667085;margin-top:2px}.attention-item em{font-style:normal;color:#98a2b3}.all-clear{margin-top:14px;border-radius:11px;background:#ecfdf3;padding:14px;display:flex;gap:10px;align-items:center}.all-clear>span{font-size:19px;color:#067647}.all-clear strong,.all-clear small{display:block}.all-clear strong{font-size:13px;color:#05603a}.all-clear small{font-size:11px;color:#4f8069;margin-top:2px}.upcoming-list>button{border:0;border-top:1px solid var(--line-2);background:#fff;padding:11px 1px;display:grid;grid-template-columns:42px 1fr 20px;gap:10px;align-items:center;text-align:left}.upcoming-list>button:first-child{border-top:0}.date-badge{width:38px;height:42px;border-radius:8px;background:#eef4ff;display:grid;place-items:center;align-content:center}.date-badge strong,.date-badge span{display:block}.date-badge strong{font-size:14px;line-height:1}.date-badge span{font-size:9px;color:#175cd3;text-transform:uppercase;font-weight:800}.upcoming-list>button>div:nth-child(2) strong,.upcoming-list>button>div:nth-child(2) span{display:block}.upcoming-list>button>div:nth-child(2) strong{font-size:12px}.upcoming-list>button>div:nth-child(2) span{font-size:11px;color:#667085;margin-top:2px}.upcoming-list em{font-style:normal;color:#98a2b3}.quick-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.quick-action-grid>button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px;text-align:left;display:grid;grid-template-columns:30px 1fr;column-gap:9px}.quick-action-grid>button:hover{border-color:#bfd0ea;background:#f9fbff}.quick-action-grid i{grid-row:1/3;width:28px;height:28px;border-radius:7px;background:#eef4ff;color:#175cd3;display:grid;place-items:center;font-style:normal;font-weight:800}.quick-action-grid strong,.quick-action-grid span{display:block}.quick-action-grid strong{font-size:12px}.quick-action-grid span{font-size:10px;color:#667085;margin-top:2px}

/* Survey requests */
.request-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.filter-chips{display:flex;gap:4px;padding:3px;background:#eef1f5;border-radius:9px}.filter-chips button,.segmented button{border:0;background:transparent;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700;color:#667085}.filter-chips button.active,.segmented button.active{background:#fff;color:#101828;box-shadow:0 1px 3px rgba(16,24,40,.08)}.result-count{margin-left:auto}.request-list{display:grid;gap:9px}.request-card{position:relative;border:1px solid var(--line);background:#fff;border-radius:13px;padding:14px 50px 14px 16px;box-shadow:0 1px 2px rgba(16,24,40,.02);transition:.12s}.request-card:hover{border-color:#c5d1df;box-shadow:0 7px 20px rgba(16,24,40,.05)}.request-project{display:flex;align-items:center;gap:9px;margin-bottom:8px}.request-project>span:first-child{font-size:11px;font-weight:800;color:#175cd3;text-transform:uppercase;letter-spacing:.03em}.request-body{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.request-body h3{font-size:15px;margin:0}.request-body p{font-size:12px;color:#667085;margin:3px 0 0}.request-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line-2)}.request-meta>span{font-size:11px;color:#475467;min-width:0}.request-meta b{display:block;font-size:9px;color:#98a2b3;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}.request-meta em{font-style:normal;color:#98a2b3}.request-meta .drawing-ref strong{font-size:11px}.request-arrow{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#b1bac6;font-size:18px}.request-card>.row-menu{position:absolute;right:10px;top:8px}.request-card>.row-menu+*{} .request-card:has(.row-menu) .request-arrow{right:48px}

/* Project workspace */
.project-workspace{max-width:1460px;margin:0 auto;gap:16px}.project-breadcrumb{display:flex;align-items:center;gap:8px;font-size:11px;color:#98a2b3}.project-breadcrumb button{border:0;background:none;padding:0;color:#475467;font-weight:700}.project-breadcrumb button:hover{color:#175cd3}.project-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}.project-title-line{display:flex;align-items:center;gap:10px}.project-title-line h1{font-size:32px;letter-spacing:-.03em;margin:0}.project-header>div>p{font-size:13px;color:#667085;margin:5px 0 0}.project-context-line{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.project-context-line span{font-size:10px;color:#667085;background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 8px}.project-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.project-more{position:relative}.project-more>summary{list-style:none}.project-more>summary::-webkit-details-marker{display:none}.project-more>div{position:absolute;right:0;top:44px;min-width:180px;background:#fff;border:1px solid #d8e0e8;border-radius:10px;padding:5px;box-shadow:0 12px 28px rgba(16,24,40,.16);z-index:120}.project-more>div button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px;border-radius:7px;font-size:12px}.project-more>div button:hover{background:#f5f7fa}.project-primary-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);overflow:auto}.project-primary-tabs button{position:relative;border:0;background:transparent;color:#667085;font-size:12px;font-weight:700;padding:10px 2px 12px;white-space:nowrap}.project-primary-tabs button.active{color:#175cd3}.project-primary-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#175cd3;border-radius:2px}.project-primary-tabs button span{display:inline-grid;place-items:center;margin-left:5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#eef2f6;font-size:9px}.project-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px}.project-section-head h2{font-size:21px;margin:3px 0}.project-section-head p{font-size:12px;color:#667085;margin:0}.segmented{display:inline-flex;gap:3px;padding:3px;background:#eef1f5;border-radius:9px;margin-bottom:12px}.segmented button span{display:inline-block;margin-left:4px;background:#e4e7ec;border-radius:999px;padding:1px 5px;font-size:9px}.segmented.data-segment{display:flex;width:max-content;max-width:100%;overflow:auto}.project-tab-head h3{font-size:20px}.project-tab-head p{font-size:12px}.project-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.project-metric{position:relative;padding:14px;border-radius:12px}.project-metric span{font-size:9px}.project-metric strong{font-size:20px;margin-top:6px}.project-metric small{font-size:10px;margin-top:4px}.project-metric em{position:absolute;right:12px;top:12px;font-style:normal;color:#b1bac6}.project-setup-strip>div{padding:13px 15px}.project-setup-strip span{font-size:9px}.project-setup-strip strong{font-size:12px}.project-setup-strip small{font-size:10px}.workspace-section{padding:16px}.rowline{padding:11px 0}.rowline strong{font-size:13px}.rowline div span{font-size:11px}.workspace-empty{font-size:12px}.project-schedule-row{padding:13px 15px}.project-schedule-row>div:nth-child(2) strong{font-size:13px}.project-schedule-row>div:nth-child(2) span{font-size:11px}.project-date-tile strong{font-size:15px}.project-date-tile span{font-size:9px}

/* Copilot + sticky drawer */
.copilot-chat-head h2{font-size:19px}.copilot-chat-card{overflow:hidden}.copilot-quick button{font-size:11px;padding:7px 9px}.copilot-bubble{font-size:12px;line-height:1.55}.copilot-avatar{font-size:10px}.copilot-refs span{font-size:9px}.copilot-privacy{font-size:9px;padding:0 14px 11px}.project-ai-context{font-size:11px}.copilot-empty strong{font-size:14px}.copilot-empty span{font-size:11px}.sticky-ai-button{position:fixed;right:24px;bottom:24px;z-index:220;border:0;border-radius:999px;background:#101828;color:#fff;padding:12px 17px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;box-shadow:0 12px 32px rgba(16,24,40,.24)}.sticky-ai-button span{color:#9ec1ff;font-size:15px}.sticky-ai-button:hover{transform:translateY(-1px);background:#1d2939}.ai-drawer{position:fixed;top:14px;right:14px;bottom:14px;width:min(470px,calc(100vw - 28px));background:#fff;border:1px solid #d8e0e8;border-radius:16px;box-shadow:0 24px 70px rgba(16,24,40,.2);z-index:230;display:flex;flex-direction:column;overflow:hidden}.ai-drawer-head{height:60px;padding:0 14px 0 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fbfcfe}.ai-drawer-head span,.ai-drawer-head strong{display:block}.ai-drawer-head span{font-size:12px;font-weight:800}.ai-drawer-head strong{font-size:10px;color:#667085;margin-top:2px}.ai-drawer-head>div:last-child{display:flex;gap:4px}.ai-drawer-head button{width:32px;height:32px;border:0;background:transparent;border-radius:7px;font-size:17px;color:#667085}.ai-drawer-head button:hover{background:#f2f4f7}.ai-drawer .drawer-chat{border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;flex:1;min-height:0}.ai-drawer .copilot-chat-head{padding:12px 14px 8px}.ai-drawer .copilot-chat-head h2{font-size:16px}.ai-drawer .copilot-quick{padding:0 14px 10px;overflow-x:auto;flex-wrap:nowrap}.ai-drawer .copilot-quick button{white-space:nowrap}.ai-drawer .copilot-messages{flex:1;min-height:0;overflow:auto;padding:12px 14px}.ai-drawer .copilot-bubble{max-width:88%}.ai-drawer .copilot-compose{padding:10px 12px}.ai-drawer .copilot-compose{display:grid;grid-template-columns:1fr auto}.ai-drawer .copilot-compose textarea{grid-column:1/-1}.ai-drawer .copilot-compose .btn{justify-self:end}.ai-drawer .project-ai-context{margin:0 14px 10px}

/* Drawing automation readability */
.drawing-ai-head span{font-size:9px}.drawing-ai-head strong{font-size:13px}.drawing-ai-status{font-size:11px}.drawing-ai-status strong{font-size:12px}.drawing-ai-status span{font-size:11px}.drawing-ai-bits em{font-size:10px;padding:4px 7px}

@media(max-width:1250px){.home-grid{grid-template-columns:1fr}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.topbar{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.global-search{width:min(560px,60vw)}.top-account>div{display:none}.request-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.main{margin-left:0;padding:0 16px 52px}.topbar{margin:0 -16px 18px;padding:0 16px;height:58px}.top-account{display:none}.global-search{width:100%}.global-search-trigger kbd{display:none}.mobile-bar{display:flex}.home-hero,.project-header,.project-section-head{align-items:stretch;flex-direction:column}.home-hero{margin-top:18px}.project-breadcrumb{margin-top:18px}.project-actions{justify-content:flex-start}.modern-table .table-wrap{overflow:auto}.project-overview-grid{grid-template-columns:1fr}.ai-drawer{top:0;right:0;bottom:0;width:100vw;border-radius:0;border:0}.sticky-ai-button{right:16px;bottom:16px}}
@media(max-width:650px){.page-header{align-items:stretch;flex-direction:column}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-metric{padding:13px}.home-metric strong{font-size:23px}.home-grid{display:block}.home-section{margin-bottom:10px}.quick-action-grid{grid-template-columns:1fr}.today-card{grid-template-columns:58px 1fr}.today-status{grid-column:2;justify-content:flex-start}.request-toolbar{align-items:stretch}.request-toolbar .search-box{flex-basis:100%}.filter-chips{overflow:auto}.result-count{margin-left:0}.request-card{padding:13px 42px 13px 13px}.request-meta{grid-template-columns:1fr 1fr}.request-arrow{display:none}.project-title-line h1{font-size:27px}.project-context-line{display:none}.project-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.project-primary-tabs{gap:14px}.project-actions .btn{flex:1}.segmented{width:100%;overflow:auto}.segmented button{flex:1;white-space:nowrap}.search-popover{position:fixed;top:62px;left:10px;right:10px;width:auto}.search-results>button{grid-template-columns:70px 1fr 18px}.form-grid{grid-template-columns:1fr}.project-setup-strip{grid-template-columns:1fr}.topbar{z-index:34}}
/* Keep quick AI available even while a record modal is open. */
.sticky-ai-button{z-index:2200}.ai-drawer{z-index:2300}

/* V6.8 Mobile / Field Experience + PWA */
.offline-banner{margin:0 0 14px;border:1px solid #f4d28f;background:#fff8e7;color:#7a4b00;border-radius:10px;padding:10px 12px;display:flex;gap:8px;align-items:center;font-size:12px}.offline-banner strong{font-size:12px}.nav-footer.connection.offline{color:#f5c26b}.nav-footer.connection.offline i{background:#f5c26b}.pwa-compact{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:11px}.pwa-compact strong{font-size:11px}.pwa-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px}.pwa-card>div:first-child{display:grid;gap:3px}.pwa-card strong{font-size:13px}.pwa-card span{font-size:11px;color:#667085}.ios-install-help{grid-column:1/-1;font-size:11px;color:#475467;background:#f2f4f7;border-radius:8px;padding:8px 10px}.installed-pill{font-size:10px;font-weight:800;color:#067647;background:#ecfdf3;border-radius:999px;padding:4px 7px}
.mobile-bottom-nav{display:none}.mobile-alert{position:relative;width:38px;height:38px;border:0;background:transparent;border-radius:9px;font-size:20px;color:#344054}.mobile-alert em{position:absolute;top:2px;right:0;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#d92d20;color:#fff;font-style:normal;font-size:9px;font-weight:800;display:grid;place-items:center}
.field-today-page{max-width:980px;margin:0 auto;display:grid;gap:14px}.field-today-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.field-today-hero h1{font-size:30px;margin:4px 0}.field-today-hero p{margin:0;color:#667085;font-size:12px}.field-offline-note{font-size:10px;color:#7a4b00;background:#fff8e7;border:1px solid #f4d28f;border-radius:999px;padding:5px 9px;width:max-content}.field-job-list{display:grid;gap:12px}.field-job-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 5px 18px rgba(16,24,40,.05)}.field-job-top{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:start}.field-job-time{font-size:13px;font-weight:900;color:#175cd3;background:#eff8ff;border-radius:10px;padding:10px 8px;text-align:center}.field-project{font-size:10px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.05em}.field-job-main h2{font-size:18px;margin:4px 0 3px}.field-job-main p{font-size:11px;color:#667085;margin:0}.field-job-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;padding-top:13px;border-top:1px solid var(--line-2)}.field-job-actions .btn{font-size:11px;padding:8px 10px}.field-next{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.field-next-row{width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 12px;text-align:left;border:0;border-top:1px solid var(--line-2);background:#fff;padding:11px 2px}.field-next-row:first-of-type{border-top:0}.field-next-row strong{font-size:12px}.field-next-row span{font-size:10px;color:#667085}.field-next-row em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;color:#98a2b3}.camera-capture{display:inline-flex;align-items:center;gap:6px;width:max-content;border:1px solid #cfd8e3;background:#f8fafc;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800;color:#344054;cursor:pointer}.camera-capture input{display:none}.camera-capture:hover{background:#f2f4f7}

/* V6.9 Notifications */
.notification-bell{position:relative;width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:9px;display:grid;place-items:center;color:#344054;font-size:19px}.notification-bell:hover{background:#f8fafc}.notification-bell em{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#d92d20;color:#fff;font-style:normal;font-size:9px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}.drawer-scrim{position:fixed;inset:0;border:0;background:rgba(16,24,40,.18);z-index:2280}.notification-drawer{position:fixed;top:14px;right:14px;bottom:14px;width:min(430px,calc(100vw - 28px));z-index:2290;background:#fff;border:1px solid #d8e0e8;border-radius:16px;box-shadow:0 24px 70px rgba(16,24,40,.2);display:flex;flex-direction:column;overflow:hidden}.notification-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px 12px;border-bottom:1px solid var(--line)}.notification-head h2{font-size:18px;margin:2px 0 0}.notification-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-bottom:1px solid var(--line-2);min-height:46px}.small-btn{padding:7px 9px;font-size:10px}.notification-list{flex:1;overflow:auto}.notification-item{position:relative;width:100%;display:grid;grid-template-columns:34px 1fr 8px;gap:10px;text-align:left;border:0;border-bottom:1px solid var(--line-2);background:#fff;padding:12px 14px}.notification-item:hover{background:#f8fafc}.notification-item.unread{background:#f5f9ff}.notification-item.unread:hover{background:#edf5ff}.notification-item>div{display:grid;gap:3px}.notification-item strong{font-size:12px}.notification-item span{font-size:10.5px;color:#475467;line-height:1.4}.notification-item small{font-size:9px;color:#98a2b3}.notification-item>em{width:7px;height:7px;border-radius:999px;background:#175cd3;align-self:center}.notify-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#eef4ff;color:#175cd3;font-style:normal;font-size:14px}.notify-icon.drawing-superseded{background:#fff1f0;color:#d92d20}.notify-icon.calibration-check,.notify-icon.control-check{background:#fff8e7;color:#b54708}.notifications-page-list{padding:0;overflow:hidden;max-width:920px}.notifications-page-list .notification-item{grid-template-columns:36px 1fr 8px;padding:14px 16px}.top-account{gap:9px}

@media(max-width:900px){
  .main{padding-bottom:92px}.mobile-bottom-nav{display:grid;position:fixed;left:0;right:0;bottom:0;height:68px;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.97);border-top:1px solid #dfe5ec;z-index:2100;backdrop-filter:blur(12px)}.mobile-bottom-nav button{position:relative;border:0;background:transparent;border-radius:9px;color:#667085;display:grid;place-items:center;align-content:center;gap:2px;min-width:0}.mobile-bottom-nav button>span{position:relative;font-size:18px;line-height:18px}.mobile-bottom-nav button small{font-size:9px;font-weight:800}.mobile-bottom-nav button.active{color:#175cd3;background:#f0f6ff}.mobile-bottom-nav button em{position:absolute;top:-8px;right:-10px;min-width:16px;height:16px;border-radius:999px;background:#d92d20;color:#fff;font-size:8px;font-style:normal;display:grid;place-items:center;padding:0 3px}.sticky-ai-button{bottom:82px}.notification-drawer{top:0;right:0;bottom:0;width:100vw;border:0;border-radius:0;padding-bottom:calc(68px + env(safe-area-inset-bottom))}.field-today-page{padding-top:8px}.field-today-hero{align-items:stretch;flex-direction:column}.field-today-hero .btn{width:max-content}.field-job-top{grid-template-columns:62px 1fr}.field-job-top>.pill{grid-column:2;width:max-content}.field-job-actions{display:grid;grid-template-columns:1fr 1fr}.field-job-actions .btn{width:100%}.pwa-compact{width:max-content;max-width:100%}
}
@media(max-width:520px){.field-job-actions{grid-template-columns:1fr}.field-job-main h2{font-size:16px}.field-job-card{padding:13px}.field-job-time{font-size:11px}.notification-actions{align-items:flex-start;flex-direction:column}.pwa-compact{align-items:flex-start;flex-direction:column}}
\n\n/* Demo environment */\n.demo-environment-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 28px 16px;padding:11px 14px;border:1px solid #b2ddff;background:#eff8ff;border-radius:12px;color:#175cd3}.demo-environment-banner>div{display:flex;align-items:center;gap:12px;min-width:0}.demo-environment-banner strong{font-size:12px;letter-spacing:.08em;white-space:nowrap}.demo-environment-banner span{font-size:13px;color:#344054}.demo-environment-banner em,.demo-lock-pill{font-style:normal;font-size:11px;font-weight:700;letter-spacing:.03em;border:1px solid #84caff;background:#fff;border-radius:999px;padding:5px 9px;white-space:nowrap;color:#175cd3}.demo-lock-pill{display:inline-flex;align-items:center}@media(max-width:760px){.demo-environment-banner{margin:0 14px 12px;align-items:flex-start}.demo-environment-banner>div{display:block}.demo-environment-banner strong{display:block;margin-bottom:3px}.demo-environment-banner em{display:none}}\n
.demo-upload-lock{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #f2c94c;background:#fffaf0;border-radius:10px;color:#694100}.demo-upload-lock strong{font-size:13px}.demo-upload-lock span{font-size:12px;line-height:1.45}

/* V6.10 Time, Capacity & Duration Learning */
.weekly-pulse{margin:0 0 16px;padding:16px 18px;border-left:4px solid #12b76a}.weekly-pulse.warning{border-left-color:#f79009}.weekly-pulse.danger{border-left-color:#d92d20}.weekly-pulse-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.weekly-pulse-head h2{margin:3px 0 0;font-size:17px}.weekly-pulse-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.weekly-pulse-metrics>div{background:#f8fafc;border:1px solid var(--line-2);border-radius:10px;padding:10px 11px}.weekly-pulse-metrics span,.weekly-pulse-metrics strong{display:block}.weekly-pulse-metrics span{font-size:9px;color:#667085;text-transform:uppercase;letter-spacing:.05em;font-weight:850}.weekly-pulse-metrics strong{font-size:19px;margin-top:4px}.weekly-pulse p{font-size:10.5px;color:#475467;line-height:1.55;margin:12px 0 0}
.week-label{font-size:11px;color:#667085;font-weight:800;margin:-6px 0 12px}.capacity-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.capacity-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 15px;box-shadow:var(--shadow)}.capacity-card span,.capacity-card strong,.capacity-card small{display:block}.capacity-card span{font-size:9px;color:#667085;text-transform:uppercase;letter-spacing:.055em;font-weight:900}.capacity-card strong{font-size:23px;margin:5px 0 3px}.capacity-card small{font-size:9.5px;color:#7c8797;line-height:1.35}.capacity-card.warning{border-color:#fedf89;background:#fffcf5}.capacity-card.danger{border-color:#fecdca;background:#fff8f7}.capacity-section{padding:15px 16px;margin-bottom:14px}.capacity-section .section-title{margin-bottom:10px}.capacity-table th,.capacity-table td{white-space:nowrap}.capacity-table td:first-child{min-width:210px}.capacity-two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.capacity-row,.learning-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px;border-top:1px solid var(--line-2)}.capacity-row:first-of-type,.learning-row:first-of-type{border-top:0}.capacity-row>div,.learning-row>div:first-child{display:grid;gap:2px}.capacity-row strong,.learning-row strong{font-size:11.5px}.capacity-row span,.learning-row span{font-size:9.5px;color:#667085}.capacity-row em{font-style:normal;font-size:10.5px;font-weight:850;color:#344054}.learning-row>div:last-child{text-align:right;display:grid;gap:1px}.learning-row b{font-size:12px}.learning-row small{font-size:9px;color:#667085}
.planning-insight{border:1px solid #b2ddff;background:#f5faff;border-radius:11px;padding:12px 13px}.planning-insight.neutral{border-color:#e4e7ec;background:#f9fafb;display:grid;gap:3px}.planning-insight>strong,.planning-insight.neutral>strong{font-size:11px}.planning-insight>span,.planning-insight.neutral>span{font-size:9.5px;color:#667085;line-height:1.45}.planning-insight-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.planning-insight-head>div{display:grid;gap:2px}.planning-insight-head strong{font-size:12px}.planning-insight-head span{font-size:10px;color:#175cd3;font-weight:800}.btn.compact{padding:7px 9px;font-size:10px}.planning-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}.planning-insight-grid span{background:#fff;border:1px solid #dbe9f7;border-radius:8px;padding:8px;font-size:10px}.planning-insight-grid b{display:block;font-size:8px;color:#667085;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}.planning-insight small{display:block;color:#667085;font-size:9px;line-height:1.45;margin-top:9px}
.running-time-bar{position:fixed;left:282px;right:28px;bottom:18px;z-index:2150;background:#101828;color:#fff;border:1px solid #253347;border-radius:14px;box-shadow:0 18px 50px rgba(16,24,40,.25);padding:11px 12px;display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:12px}.running-pulse{width:9px;height:9px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 5px rgba(18,183,106,.12);animation:pulseTimer 1.6s ease-in-out infinite}.running-time-copy{display:grid;gap:1px;min-width:0}.running-time-copy span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:900}.running-time-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.running-time-copy small{font-size:9px;color:#aab4c2}.running-clock{font-size:15px;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.running-actions{display:flex;gap:7px}.running-actions .btn{padding:8px 10px;font-size:10px}@keyframes pulseTimer{50%{opacity:.55;transform:scale(.88)}}
.condition-job{display:grid;gap:3px;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin-bottom:10px}.condition-job strong{font-size:12px}.condition-job span{font-size:10px;color:#667085}.condition-help{font-size:10px;color:#475467;line-height:1.5;margin:0 0 14px}.field-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.field-timer-btn{background:#175cd3}.time-running-note{display:inline-flex;align-items:center;border-radius:999px;background:#ecfdf3;color:#067647;font-size:10px;font-weight:850;padding:7px 9px}
.request-meta{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){.weekly-pulse-metrics,.capacity-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.capacity-two-col{grid-template-columns:1fr}.running-time-bar{left:276px}}
@media(max-width:900px){.weekly-pulse{margin-bottom:12px}.weekly-pulse-head{align-items:flex-start}.weekly-pulse-metrics{grid-template-columns:1fr 1fr}.capacity-metrics{grid-template-columns:1fr 1fr}.running-time-bar{left:10px;right:10px;bottom:78px;grid-template-columns:9px 1fr auto}.running-clock{grid-column:2}.running-actions{grid-column:3;grid-row:1/3}.running-actions .btn{max-width:145px;white-space:normal}.planning-insight-grid{grid-template-columns:1fr}.field-hero-actions .btn{width:auto}.request-meta{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.weekly-pulse-metrics,.capacity-metrics{grid-template-columns:1fr}.weekly-pulse-head{display:grid}.capacity-section{padding:12px}.running-time-bar{grid-template-columns:9px 1fr;padding:10px}.running-clock{grid-column:2}.running-actions{grid-column:1/-1;grid-row:auto}.running-actions .btn{width:100%;max-width:none}.request-meta{grid-template-columns:1fr}.field-hero-actions{display:grid;grid-template-columns:1fr 1fr}.field-hero-actions .btn{width:100%}}
.manual-condition-title{grid-column:1/-1;margin:6px 0 -3px;font-size:9px;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#667085}

/* --------------------------------------------------------------------------
   V6.11 · Project setup + drawing-based survey requests
   -------------------------------------------------------------------------- */
.project-setup-modal,.request-wizard-modal{width:min(1180px,96vw);max-height:94vh;overflow:hidden;display:flex;flex-direction:column}.project-setup-modal .modal-body,.request-wizard-modal .modal-body{overflow:auto}.wizard-steps{display:flex;gap:8px;padding:12px 24px;border-bottom:1px solid #eaecf0;background:#f9fafb;overflow:auto}.wizard-step{display:flex;align-items:center;gap:8px;border:0;background:transparent;color:#667085;font-weight:700;white-space:nowrap;padding:8px 10px;border-radius:10px}.wizard-step span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eaecf0;color:#475467;font-size:12px}.wizard-step.active{background:#fff;color:#101828;box-shadow:0 1px 2px rgba(16,24,40,.06)}.wizard-step.active span{background:#101828;color:#fff}.wizard-body{padding:22px 24px}.wizard-actions{justify-content:space-between}.wizard-actions>div{display:flex;gap:10px}.project-structure-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.setup-panel{border:1px solid #e4e7ec;border-radius:14px;padding:18px;background:#fff}.pm-selector{display:grid;gap:10px;margin-top:14px}.pm-select-card{display:flex;gap:12px;border:1px solid #e4e7ec;border-radius:12px;padding:12px;cursor:pointer;background:#fff}.pm-select-card:hover,.pm-select-card.selected{border-color:#98a2b3;background:#f9fafb}.pm-select-card input{margin-top:3px}.pm-select-card div{display:grid;gap:2px}.pm-select-card strong{color:#101828}.pm-select-card span,.pm-select-card small{color:#667085}.level-generator{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end;margin-top:14px}.level-generator>label{display:flex;align-items:center;gap:7px;font-size:13px;color:#475467}.level-generator .btn{justify-self:start}.level-list{display:grid;gap:8px;margin-top:16px}.level-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center}.level-row>span{font-size:11px;color:#98a2b3;font-weight:800}.drawing-library-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.drawing-library-intro h3{margin:4px 0}.drawing-library-intro p{margin:5px 0 0;color:#667085;max-width:720px}.drawing-queue{display:grid;gap:10px}.drawing-queue-row{display:grid;grid-template-columns:minmax(230px,1.4fr) minmax(150px,.7fr) minmax(170px,.8fr) auto;gap:10px;align-items:center;border:1px solid #e4e7ec;border-radius:12px;padding:12px;background:#fff}.drawing-queue-row>div{display:grid;gap:3px}.drawing-queue-row small{color:#667085}.pm-chip-row{display:flex;gap:7px;flex-wrap:wrap}.pm-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid #e4e7ec;border-radius:999px;background:#fff}.pm-chip strong{font-size:12px}.pm-chip small{font-size:11px;color:#667085}.request-context-card{border:1px solid #e4e7ec;border-radius:14px;padding:16px;background:#f9fafb;margin-bottom:16px}.request-context-card h3{margin:4px 0 10px}.request-context-card>small{display:block;color:#667085;margin-top:8px}.planning-conditions{border:1px solid #e4e7ec;border-radius:12px;padding:0;background:#fff}.planning-conditions summary{padding:12px 14px;cursor:pointer;font-weight:700;color:#344054}.planning-conditions[open] summary{border-bottom:1px solid #eaecf0}.planning-conditions .compact-grid{padding:14px}.markup-no-drawing{border:1px dashed #d0d5dd;border-radius:16px;padding:36px;text-align:center;background:#f9fafb}.markup-no-drawing strong{display:block;font-size:18px;color:#101828}.markup-no-drawing p{color:#667085;max-width:620px;margin:8px auto 0}.pdf-markup-editor{display:grid;gap:10px}.markup-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.markup-topbar>div:first-child{display:grid;gap:2px}.markup-topbar span{color:#667085;font-size:12px}.pdf-pages{display:flex;align-items:center;gap:8px}.pdf-pages button{border:1px solid #d0d5dd;background:#fff;border-radius:8px;width:32px;height:32px;cursor:pointer}.pdf-pages button:disabled{opacity:.4;cursor:not-allowed}.markup-toolbar{display:flex;flex-wrap:wrap;gap:6px;border:1px solid #e4e7ec;border-radius:12px;padding:8px;background:#fff}.markup-toolbar button{display:flex;align-items:center;gap:6px;border:1px solid transparent;background:#f9fafb;color:#344054;border-radius:8px;padding:8px 10px;cursor:pointer;font-weight:700}.markup-toolbar button:hover,.markup-toolbar button.active{border-color:#98a2b3;background:#fff}.markup-toolbar .finish-markup{background:#101828;color:#fff}.markup-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;align-items:start}.pdf-stage{min-height:420px;background:#525866;border-radius:14px;padding:12px;overflow:auto;position:relative}.pdf-loading{min-height:420px;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff}.pdf-canvas-wrap{position:relative;margin:0 auto;width:max-content;max-width:100%;box-shadow:0 6px 24px rgba(0,0,0,.24);background:#fff;touch-action:none}.pdf-canvas-wrap canvas{display:block;max-width:100%;height:auto}.markup-overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.markup-shape,.markup-preview{fill:rgba(255,255,255,.08);stroke:#ff3b30;stroke-width:4;vector-effect:non-scaling-stroke}.markup-shape{cursor:pointer}.markup-shape.selected{stroke-width:6;filter:drop-shadow(0 0 3px rgba(255,255,255,.9))}.markup-shape text{fill:#fff;stroke:none;font-size:22px;font-weight:800}.markup-preview{stroke-dasharray:10 7;pointer-events:none}.markup-comments{border:1px solid #e4e7ec;border-radius:14px;background:#fff;padding:12px;display:grid;gap:8px;max-height:70vh;overflow:auto}.markup-comment-item{display:grid;text-align:left;gap:2px;border:1px solid #eaecf0;background:#fff;border-radius:10px;padding:10px;cursor:pointer}.markup-comment-item:hover,.markup-comment-item.active{border-color:#98a2b3;background:#f9fafb}.markup-comment-item span{font-size:12px;color:#475467;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.markup-comment-item small{font-size:11px;color:#98a2b3}.markup-comment-editor{border-top:1px solid #eaecf0;margin-top:4px;padding-top:10px;display:grid;gap:8px}.markup-comment-editor label{font-weight:700;font-size:12px;color:#344054}.request-review{display:grid;gap:18px}.review-hero{border-bottom:1px solid #eaecf0;padding-bottom:14px}.review-hero h3{font-size:24px;margin:4px 0}.review-hero p{color:#667085;margin:0}.review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.review-grid>div{border:1px solid #e4e7ec;border-radius:12px;padding:12px;display:grid;gap:4px}.review-grid span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#667085;font-weight:800}.review-grid strong{color:#101828}.review-comments{display:grid;gap:8px}.review-comments>div{display:grid;grid-template-columns:90px 1fr;gap:10px;border-left:3px solid #d0d5dd;padding:8px 10px;background:#f9fafb;border-radius:0 8px 8px 0}.review-comments span{color:#475467}.project-setup-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.request-meta span b+*{margin-top:2px}

@media(max-width:900px){.project-structure-grid,.markup-workspace{grid-template-columns:1fr}.drawing-queue-row{grid-template-columns:1fr 1fr}.drawing-queue-row>div{grid-column:1/-1}.markup-comments{max-height:none}.review-grid{grid-template-columns:1fr 1fr}.project-setup-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.project-setup-modal,.request-wizard-modal{width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.wizard-body{padding:16px}.wizard-steps{padding:10px 14px}.drawing-library-intro{flex-direction:column}.pdf-stage{padding:6px;border-radius:10px}}
@media(max-width:560px){.level-generator,.review-grid,.drawing-queue-row,.project-setup-strip{grid-template-columns:1fr}.wizard-step{font-size:12px;padding:7px}.wizard-step span{width:21px;height:21px}.markup-toolbar button{padding:8px;font-size:12px}.review-comments>div{grid-template-columns:1fr}.modal-actions.wizard-actions{gap:8px}.modal-actions.wizard-actions .btn{min-height:44px}}


/* V6.12 — Project Plan Room + drawing zoom */
.project-overview-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 22px;background:linear-gradient(135deg,#101828,#1d2939);color:#fff;overflow:hidden;position:relative}.project-overview-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-130px;background:rgba(255,255,255,.06)}.project-overview-hero .overview-hero-copy{position:relative;z-index:1}.project-overview-hero .code{color:#b2ccff}.project-overview-hero h2{font-size:23px;margin:5px 0}.project-overview-hero p{margin:0;color:#d0d5dd;max-width:760px;line-height:1.55}.project-overview-hero .btn{position:relative;z-index:1;background:#fff;color:#101828;border-color:#fff;white-space:nowrap}
.overview-level-section{display:grid;gap:10px}.level-visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.level-visual-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto 20px;gap:12px;align-items:center;text-align:left;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;box-shadow:var(--shadow);cursor:pointer}.level-visual-card:hover{border-color:#98a2b3;transform:translateY(-1px)}.level-visual-card.has-risk{border-left:4px solid #f04438}.level-card-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#eef4ff;color:#175cd3;font-size:20px}.level-card-main{display:grid;gap:3px}.level-card-main strong{font-size:13px;color:#101828}.level-card-main span{font-size:10px;color:#667085}.level-card-stats{display:grid;gap:3px;text-align:right}.level-card-stats span{font-size:10px;color:#475467}.level-card-stats em{font-size:9px;color:#b42318;font-style:normal;font-weight:800}.level-card-stats em.clear{color:#027a48}.level-visual-card>b{color:#98a2b3}
.pm-contact-section{display:grid;gap:10px}.pm-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pm-contact-card{display:flex;gap:12px;padding:14px;align-items:flex-start}.pm-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef4ff;color:#175cd3;font-weight:900;flex:0 0 auto}.pm-contact-card>div:last-child,.plan-pm-card>div:last-child{display:grid;gap:2px;min-width:0}.pm-contact-card strong,.plan-pm-card strong{font-size:12px;color:#101828}.pm-contact-card span,.plan-pm-card span{font-size:10px;color:#667085}.pm-contact-card a,.plan-pm-card a{font-size:10px;color:#175cd3;text-decoration:none;overflow:hidden;text-overflow:ellipsis}.activity-line{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line-2)}.activity-line:last-child{border-bottom:0}.activity-line .activity-dot{width:7px;height:7px;border-radius:50%;background:#98a2b3}.activity-line.type-request .activity-dot{background:#2e90fa}.activity-line.type-drawing .activity-dot{background:#7f56d9}.activity-line.type-survey .activity-dot{background:#12b76a}.activity-line.type-issue .activity-dot{background:#f79009}.activity-line>div{display:grid;gap:2px}.activity-line strong{font-size:12px}.activity-line>div span,.activity-line small{font-size:10px;color:#667085}
.plan-room{display:grid;gap:12px;min-width:0}.plan-room.expanded{position:fixed;inset:0;z-index:90;background:#f4f6f8;padding:18px 20px;overflow:auto}.plan-room.expanded .plan-room-main{min-height:calc(100vh - 190px)}.plan-room-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.plan-room-header h2{font-size:24px;margin:4px 0}.plan-room-header p{margin:0;color:#667085;max-width:820px;line-height:1.45}.plan-room-actions{display:flex;gap:8px;white-space:nowrap}.plan-room-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.plan-room-summary>div{padding:11px 13px;border-right:1px solid var(--line-2);display:grid;gap:3px}.plan-room-summary>div:last-child{border-right:0}.plan-room-summary span{font-size:9px;color:#667085;text-transform:uppercase;font-weight:800}.plan-room-summary strong{font-size:17px;color:#101828}.plan-room-summary .risk{background:#fff5f5}.plan-room-summary .risk strong{color:#b42318}.plan-room-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px;min-width:0}.plan-room-sidebar{display:grid;align-content:start;gap:10px}.plan-side-block{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;display:grid;gap:8px}.plan-level-list{display:grid;gap:4px}.plan-level-list button{border:1px solid transparent;background:#fff;border-radius:8px;padding:9px;text-align:left;display:grid;gap:2px;cursor:pointer}.plan-level-list button:hover{background:#f8fafc}.plan-level-list button.active{background:#eef4ff;border-color:#b2ccff}.plan-level-list strong{font-size:11px}.plan-level-list span{font-size:9px;color:#667085}.plan-pm-cards{display:grid;gap:8px}.plan-pm-card{display:flex;gap:8px;padding:8px 0;border-top:1px solid var(--line-2)}.plan-pm-card:first-child{border-top:0}.plan-pm-card .pm-avatar{width:30px;height:30px;font-size:11px}.plan-pm-cards.compact .plan-pm-card a{font-size:9px}.plan-empty-contact{font-size:10px;color:#98a2b3}.plan-room-main{min-width:0;display:grid;align-content:start;gap:10px}.plan-drawing-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px}.plan-drawing-card{position:relative;display:grid;grid-template-columns:78px minmax(130px,1fr);gap:9px;align-items:center;min-width:270px;max-width:330px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px;cursor:pointer}.plan-drawing-card:hover{border-color:#98a2b3}.plan-drawing-card.active{border-color:#175cd3;box-shadow:0 0 0 2px rgba(23,92,211,.08)}.plan-drawing-card.superseded{border-color:#fda29b;background:#fffafa}.plan-drawing-card>div:nth-child(2){display:grid;gap:2px;min-width:0}.plan-drawing-card strong{font-size:12px;color:#101828}.plan-drawing-card span{font-size:10px;color:#475467}.plan-drawing-card small{font-size:9px;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.plan-drawing-card em{position:absolute;right:7px;top:7px;border-radius:999px;padding:2px 5px;font-size:7px;font-style:normal;font-weight:900;background:#ecfdf3;color:#027a48}.plan-drawing-card em.superseded{background:#fef3f2;color:#b42318}.pdf-thumb{width:78px;height:56px;border-radius:6px;background:#eef1f5;display:grid;place-items:center;overflow:hidden;color:#98a2b3;font-size:9px}.pdf-thumb canvas{max-width:100%;max-height:100%;display:block;background:#fff}.plan-empty-drawings{padding:14px;color:#667085;font-size:11px}.plan-revision-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;border-radius:11px;padding:11px 13px}.plan-revision-banner>div{display:grid;gap:2px}.plan-revision-banner strong{font-size:12px}.plan-revision-banner span{font-size:10px}.plan-revision-banner.danger{background:#fef3f2;border:1px solid #fecdca;color:#912018}.plan-revision-banner.warning{background:#fffaeb;border:1px solid #fedf89;color:#93370d}.plan-room-empty{min-height:520px;border:1px dashed #d0d5dd;border-radius:14px;background:#fff;display:grid;place-items:center;text-align:center;align-content:center;padding:30px}.plan-room-empty strong{font-size:18px}.plan-room-empty p{color:#667085;max-width:520px}.plan-linked-work{display:grid;gap:8px}.plan-linked-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.plan-linked-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer}.plan-linked-card>div{display:grid;gap:2px}.plan-linked-card strong{font-size:11px}.plan-linked-card span{font-size:9px;color:#667085}
.markup-view-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pdf-zoom{display:flex;align-items:center;border:1px solid #d0d5dd;border-radius:8px;background:#fff;overflow:hidden}.pdf-zoom button{border:0;background:#fff;height:32px;min-width:34px;padding:0 8px;cursor:pointer;color:#344054;font-weight:800}.pdf-zoom button+button{border-left:1px solid #eaecf0}.pdf-zoom button:disabled{opacity:.35;cursor:not-allowed}.pdf-zoom .zoom-value{min-width:58px;font-size:10px}.pdf-stage{overscroll-behavior:contain}.pdf-canvas-wrap{max-width:none!important;touch-action:none}.pdf-canvas-wrap canvas{max-width:none!important}.markup-status-legend{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:7px 9px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.markup-status-legend span{display:flex;align-items:center;gap:5px;font-size:9px;color:#667085}.markup-status-legend i{width:9px;height:9px;border-radius:50%;display:block;background:#98a2b3}.markup-status-legend .legend-requested i{background:#f79009}.markup-status-legend .legend-scheduled i{background:#2e90fa}.markup-status-legend .legend-in-progress i{background:#7f56d9}.markup-status-legend .legend-waiting i{background:#f04438}.markup-status-legend .legend-complete i{background:#12b76a}.markup-shape.status-requested{stroke:#f79009}.markup-shape.status-scheduled{stroke:#2e90fa}.markup-shape.status-in-progress{stroke:#7f56d9}.markup-shape.status-waiting{stroke:#f04438}.markup-shape.status-complete{stroke:#12b76a;opacity:.7}.markup-shape.status-cancelled{stroke:#98a2b3;opacity:.35}.markup-comment-item{padding:0;overflow:hidden}.markup-comment-main{display:grid;text-align:left;gap:2px;border:0;background:transparent;padding:10px;width:100%;cursor:pointer}.markup-comment-item:hover,.markup-comment-item.active{border-color:#98a2b3;background:#f9fafb}.markup-open-request{border:0;border-top:1px solid #eaecf0;background:#fff;color:#175cd3;font-size:10px;font-weight:800;text-align:left;padding:7px 10px;cursor:pointer}.markup-open-request:hover{background:#eef4ff}.plan-room .pdf-stage{min-height:610px}.plan-room .pdf-loading{min-height:610px}
.project-primary-tabs .risk-count{background:#fef3f2;color:#b42318}
@media(max-width:1180px){.level-visual-grid,.pm-contact-grid,.plan-linked-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-room-layout{grid-template-columns:190px minmax(0,1fr)}.plan-room-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-room-summary>div:nth-child(3n){border-right:0}}
@media(max-width:900px){.project-overview-hero,.plan-room-header{align-items:flex-start;flex-direction:column}.level-visual-grid,.pm-contact-grid{grid-template-columns:1fr 1fr}.plan-room-layout{grid-template-columns:1fr}.plan-room-sidebar{grid-template-columns:1fr 1fr}.plan-level-list{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-room.expanded{padding:12px}.plan-room .markup-workspace{grid-template-columns:1fr}.plan-room .pdf-stage{min-height:480px}.plan-room .pdf-loading{min-height:480px}}
@media(max-width:620px){.level-visual-grid,.pm-contact-grid,.plan-linked-grid,.plan-room-sidebar{grid-template-columns:1fr}.level-visual-card{grid-template-columns:40px minmax(0,1fr) 18px}.level-card-stats{grid-column:2;text-align:left}.plan-room-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-room-summary>div:nth-child(2n){border-right:0}.plan-level-list{grid-template-columns:1fr 1fr}.plan-room-actions{width:100%}.plan-room-actions .btn{flex:1}.markup-topbar{align-items:flex-start;flex-direction:column}.markup-view-controls{width:100%;justify-content:space-between}.pdf-pages{flex:1}.pdf-zoom{margin-left:auto}.plan-drawing-card{min-width:245px}.project-overview-hero h2{font-size:20px}}
