/* Shared usability corrections, 9 September 2026. */
:root{--ux-ink:#142b49;--ux-muted:#536985;--ux-line:#dce5ef;--ux-blue:#075bd9}
.main{min-width:0}.main>section,.route-content,.page{min-width:0}.primary-nav .nav-btn{font-size:14px;min-height:40px}.sidebar{overflow-y:auto}.nav-btn.active{color:#075bd9}.ws-header .ws-kicker,.ws-kicker{font-size:11px}.ws-header p,.page-header p{font-size:15px}.ws-tabs button{font-size:14px;min-height:42px}.ws-search input,.ws-tools select{font-size:15px}.ws-detail,.ws-queue,.ws-agenda,.ws-scope{min-width:0}
.record-workspace{color:var(--ux-ink);font-size:15px;min-width:0}.record-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.record-header h1{font-size:30px;letter-spacing:-.7px;margin:0 0 8px}.record-header p{margin:0;color:var(--ux-muted);line-height:1.6}.record-header-actions,.record-filter-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.record-header .btn{white-space:nowrap;display:inline-flex;align-items:center;gap:8px}.record-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;background:white;padding:18px 20px;border:1px solid var(--ux-line);border-radius:9px}.record-filters label{display:grid;gap:7px;min-width:170px;flex:0 1 230px}.record-filters label>span{font-size:12px;font-weight:600;color:#536781}.record-filters .record-search{flex:1 1 280px}.record-filters input,.record-filters select{width:100%;min-width:0;min-height:42px;font-size:15px;border:1px solid #c8d5e4;border-radius:6px;padding:9px 11px;background:#fff;color:#173654}.record-filter-actions{margin-left:auto;min-height:42px}.record-stages{display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid var(--ux-line);margin:18px 0 0}.record-stages button{display:flex;align-items:center;gap:9px;padding:12px 16px;font-size:14px;white-space:nowrap;border:0;border-bottom:3px solid transparent;background:none;color:#536985}.record-stages button[aria-pressed=true]{color:var(--ux-blue);border-bottom-color:var(--ux-blue);font-weight:650}.record-stages span{font-size:12px;background:#e9eff7;color:#365a7e;border-radius:5px;padding:1px 6px}.record-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px 0}.record-toolbar>[role=status]{margin-right:auto;font-weight:600}.record-toolbar label,.record-pagination label{display:flex;align-items:center;gap:8px;font-size:13px;color:#46617e}.record-toolbar select,.record-pagination select{min-height:36px;max-width:190px;border:1px solid #cfdae7;border-radius:6px;padding:6px 9px;background:#fff;font-size:13px}.record-view{display:flex;border:1px solid var(--ux-line);border-radius:6px;padding:3px;background:white}.record-view button{border:0;background:none;color:#526c88;padding:7px 12px;border-radius:4px;font-size:13px}.record-view button[aria-pressed=true]{color:#075bd9;background:#eaf3ff}.record-density input,.record-columns input{accent-color:#075bd9;width:16px;height:16px}.record-columns{position:relative;font-size:13px}.record-columns summary{padding:9px 12px;border:1px solid #cbd8e7;border-radius:6px;background:#fff;cursor:pointer;list-style:revert}.record-columns>div{position:absolute;right:0;top:44px;z-index:40;display:grid;gap:9px;width:250px;max-height:380px;overflow:auto;background:white;border:1px solid #ccd8e6;box-shadow:0 10px 30px #183b601f;border-radius:8px;padding:18px}.record-columns label{gap:10px;min-height:26px}.record-table{min-width:0}.record-table .table-card{margin:0;border:1px solid #d9e3ee;border-radius:8px;background:white;overflow:visible}.record-table .table-wrap{max-height:65vh;overflow:auto;border-radius:8px;overscroll-behavior:contain;scrollbar-gutter:stable}.record-table table{width:100%;min-width:960px;table-layout:auto;border-collapse:separate;border-spacing:0;font-size:14px}.record-table th,.record-table td{padding:15px 17px!important;border-bottom:1px solid #e5ebf2;vertical-align:middle;word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap;max-width:300px}.record-table th{position:sticky;top:0;z-index:3;background:#f2f6fb;color:#435f7d;font-size:12px;letter-spacing:.01em;text-transform:none;font-weight:650}.record-table td[data-col=title],.record-table td[data-col=description],.record-table td[data-col=fileName]{white-space:normal;min-width:230px;line-height:1.5;overflow-wrap:anywhere!important}.record-table td[data-col=projectId]{min-width:190px;white-space:normal}.record-table td[data-col=pointName]{font-weight:650;min-width:115px}.record-table td[data-col*=Residual],.record-table td[data-col=northing],.record-table td[data-col=easting],.record-table td[data-col=elevation]{font-variant-numeric:tabular-nums;text-align:right}.record-table .review-col{position:sticky;left:0;background:#fff;z-index:2;min-width:85px;box-shadow:1px 0 #e3eaf2}.record-table th.review-col{z-index:4;background:#f2f6fb}.record-table .menu-cell,.record-table .menu-col{position:sticky;right:0;background:white;z-index:2;min-width:58px;box-shadow:-1px 0 #e3eaf2}.record-table .menu-col{z-index:4;background:#f2f6fb}.record-table tbody tr:hover td{background:#f3f8ff}.record-table .text-link{font-size:14px}.record-table.compact td{padding-top:8px!important;padding-bottom:8px!important}.record-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0;font-size:13px;color:#526d86}.record-pagination>span{margin-right:auto}.record-pagination .btn{font-size:13px;min-height:36px;padding:7px 12px}.record-empty{text-align:center;padding:65px 20px;background:white;border:1px solid #dce5ef;border-radius:9px}.record-empty h2{font-size:22px}.record-empty p{color:#58718a}.record-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.record-drawing{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #dde6ee;border-radius:9px;background:white;padding:12px 12px 18px;font:inherit;color:#193b59;min-width:0;transition:border-color .12s}.record-drawing:hover{border-color:#699eee}.record-preview{width:100%;height:205px;background:#eef2f6;display:grid;place-items:center;margin-bottom:16px;border-radius:5px;overflow:hidden}.record-preview .pdf-thumb{height:100%;width:100%;border:0;border-radius:0;background:#f2f5f8;object-fit:contain}.record-preview canvas{max-width:100%;max-height:100%;object-fit:contain}.record-drawing>strong{font-size:17px;line-height:1.4;margin-bottom:6px}.record-drawing>span,.record-drawing>small{font-size:13px;margin:4px 0;color:#58718a}.record-drawing>em{color:#075bd9;margin-top:14px;font-style:normal;font-size:14px;font-weight:600}.record-no-preview{display:grid;gap:12px;justify-items:center;font-size:13px;color:#60758b}.record-dialog{position:fixed;inset:24px 24px 24px auto;width:min(680px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);margin:0;border:1px solid #d8e2ee;border-radius:12px;padding:0;color:#163450;box-shadow:0 24px 80px #18395530}.record-dialog::backdrop{background:#12294166}.record-dialog[open]{display:flex;flex-direction:column}.record-dialog>header{display:flex;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid #e0e7ef}.record-dialog h2{font-size:24px;margin:6px 0 0}.record-dialog small{font-size:13px;color:#58718a}.record-dialog-content{overflow:auto;padding:24px;min-height:0}.record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:12px 0}.record-facts>div{padding:15px 0;border-bottom:1px solid #e5ebf2;min-width:0}.record-facts dt{font-size:12px;color:#61748b;margin-bottom:6px}.record-facts dd{margin:0;font-size:15px;overflow-wrap:anywhere}.record-dialog>footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:18px 24px;border-top:1px solid #dfe7f0;background:#f9fbfe}.record-dialog>footer .btn{font-size:13px;display:inline-flex;align-items:center;gap:6px}.record-dialog .pdf-thumb{width:100%;height:220px;object-fit:contain}.record-note{white-space:pre-wrap;font-size:14px;line-height:1.6}.record-request-details .request-card{font-size:15px;max-width:1100px}.record-request-details .request-meta b{font-size:12px}.record-request-details .request-meta>span{font-size:15px}.record-workspace :is(button,input,select,summary):focus-visible{outline:3px solid #74a9ff;outline-offset:3px}.record-workspace .btn{line-height:1.4}
.ux-safety-summary{margin:0 0 20px;border:1px solid #e4d4b9;border-radius:8px;background:#fffcf6}.ux-safety-summary>summary{padding:16px 20px;cursor:pointer;font-size:15px;font-weight:600;color:#6f4e12}.ux-safety-summary[open]>summary{border-bottom:1px solid #eedfca}.ux-safety-summary .drawing-risk-panel{margin:16px;border:0}.ws-week button{padding:14px 8px;min-height:90px}.ws-week small{font-size:12px}.ws-booking{padding:20px 0}.ws-booking h3{font-size:17px}.ws-booking p,.ws-booking small{font-size:14px}.ws-queue-row{padding:16px 0}.ws-queue-row strong{font-size:15px}.ws-queue-row small,.ws-queue-row span{font-size:13px}.ws-people>article{padding:24px}.ws-people h2{font-size:20px}.ws-people p{font-size:14px}.ws-facts dt{font-size:12px}.ws-facts dd{font-size:14px}.table-wrap table{font-variant-numeric:tabular-nums}.table-wrap th{font-size:12px}.table-wrap td{font-size:14px}.ws-form-content input,.ws-form-content select,.ws-form-content textarea{font-size:15px!important;min-height:44px}.ws-form-content label,.ws-form-content .field-label{font-size:14px}.ws-form-section>header p{font-size:14px}.ws-form-section>header h3{font-size:20px}.modal-footer{gap:10px}.row-menu-trigger{min-width:38px;min-height:38px}.row-menu-popover button{font-size:14px}.sticky-ai-button{bottom:22px;right:22px}.record-workspace:has(.record-dialog[open]) .sticky-ai-button{display:none}.ops-workspace{grid-template-columns:minmax(0,1fr) 300px}.ops-section-head p{max-width:420px;font-size:14px}.ops-project-copy strong{font-size:18px}.ops-project-copy small{font-size:13px}.ops-brief-card p{font-size:15px;line-height:1.7}.ops-command-foot{border-radius:8px;margin-bottom:18px}.ops-command-foot span{font-size:13px}
@media(max-width:1100px){.record-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.record-header{align-items:flex-start}.record-header-actions{justify-content:flex-end}.ops-workspace{grid-template-columns:1fr}.record-table table{min-width:900px}}
@media(max-width:760px){.record-header{display:block;margin-bottom:20px}.record-header h1{font-size:26px}.record-header-actions{justify-content:flex-start;margin-top:16px}.record-filters{padding:14px;gap:12px}.record-filters label,.record-filters .record-search{min-width:0;flex:1 1 100%}.record-filter-actions{margin-left:0}.record-toolbar{gap:10px}.record-toolbar>[role=status]{flex-basis:100%}.record-toolbar label{font-size:12px}.record-columns>div{right:0;width:230px}.record-pagination{gap:9px}.record-pagination>span{flex-basis:100%}.record-gallery{grid-template-columns:1fr;gap:16px}.record-preview{height:220px}.record-dialog{inset:8px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.record-dialog>header,.record-dialog-content{padding:18px}.record-dialog>footer{padding:14px}.record-facts{grid-template-columns:1fr}.record-stages{margin-top:12px}.record-stages button{padding:10px 12px}.record-table .review-col{min-width:72px}.record-table th,.record-table td{padding:12px!important}.ws-week{gap:3px}.ws-week button{min-height:74px;padding:9px 3px}.ws-week small{font-size:10px}.ws-booking{grid-template-columns:65px minmax(0,1fr);gap:12px}.ws-booking>.btn{grid-column:2;justify-self:start}.ws-agenda-layout{gap:18px}.ws-field-layout{grid-template-columns:1fr}.ws-field-layout>.ws-queue{max-height:290px;overflow:auto}.ws-field-focus{padding:18px}.ux-safety-summary>summary{font-size:14px;padding:14px}.sticky-ai-button{display:none!important}}
@media(prefers-reduced-motion:reduce){.record-drawing{transition:none}}

/* Keep controls legible without letting inherited form widths compress labels. */
.record-toolbar label,.record-pagination label{width:auto;white-space:nowrap;flex-shrink:0}.record-toolbar select,.record-pagination select{width:auto}.record-dialog>header>button{align-self:flex-start;width:40px;height:40px;min-height:40px;padding:8px}.record-dialog dd:has(.pill){line-height:1.6}.record-dialog-content{overscroll-behavior:contain}.record-dialog[open]{height:calc(100dvh - 48px)}.record-dialog-content{flex:1}.record-dialog>header,.record-dialog>footer{flex-shrink:0}.ws-form-guide button{font-size:14px;line-height:1.45;min-height:44px}.ws-form-guide p{font-size:13px}.ws-form-guide strong{font-size:14px}.ws-form-section{scroll-margin-top:18px}.ux-safety-summary.has-stops{background:#fff5f4;border-color:#e8a49a}.ux-safety-summary.has-stops>summary{color:#9e291c}.ux-operations-body>.ops-brief-card{margin-bottom:24px;padding:24px 28px;border:1px solid #cfdef2;border-left:4px solid #377edf;background:#f4f8ff}.ux-operations-body>.ops-brief-card h2{font-size:23px;max-width:820px;line-height:1.35}.ux-operations-body>.ops-brief-card p{max-width:850px;margin:10px 0}.ux-operations-body>.ops-brief-card small{font-size:12px}.ops-decision-queue{padding:24px}.ops-project-command{border-radius:8px}.ops-project-command>summary{padding:18px}.ops-project-body{padding:0 18px 18px}.ops-project-body .drawing-risk-panel{border:0;box-shadow:none;padding:0}.ops-project-copy>span{font-size:11px}.ops-coverage-card{max-width:650px}.ws-disclosure>summary{font-size:14px;padding:15px;cursor:pointer}.ws-disclosure p{font-size:14px;line-height:1.6}
.copilot-chat-card:not(.drawer-chat){display:flex;flex-direction:column;height:clamp(480px,calc(100dvh - 285px),840px);min-height:0}.copilot-chat-card:not(.drawer-chat) .copilot-messages{height:auto;min-height:100px;flex:1;overflow:auto}.copilot-chat-head,.copilot-quick,.copilot-compose,.copilot-privacy{flex-shrink:0}.copilot-compose{background:#fff}.copilot-compose textarea{font-size:15px;line-height:1.5}.copilot-privacy{font-size:12px;color:#5b7089;line-height:1.5}.copilot-empty strong{font-size:21px;line-height:1.4}.copilot-empty span{font-size:15px;line-height:1.65}.copilot-quick button{font-size:13px;padding:9px 12px}.copilot-bubble{font-size:15px;line-height:1.7}.copilot-chat-head h2{font-size:22px}.copilot-refs button{font-size:13px;min-height:36px}.ws-team,.ws-time,.ws-revisions,.ws-audit,.ws-value,.ws-notifications{font-size:15px}.ws-record-row strong{font-size:16px}.ws-record-row small,.ws-row-meta{font-size:13px}.ws-footnote{font-size:14px;line-height:1.6}.ws-time .table-wrap{overflow:auto}.ws-time .table-wrap table{min-width:900px}.ws-time .table-wrap th,.ws-time .table-wrap td{white-space:nowrap;word-break:normal;overflow-wrap:normal}.ws-audit-scope label{font-size:13px}.ws-audit-scope input,.ws-audit-scope select{font-size:14px;min-height:42px}
@media(max-width:760px){.record-dialog[open]{height:calc(100dvh - 16px)}.record-columns>div{right:auto;left:0;max-width:calc(100vw - 50px)}.record-toolbar select{max-width:170px}.copilot-chat-card:not(.drawer-chat){height:calc(100dvh - 245px);min-height:450px}.copilot-empty{padding:14px}.copilot-empty strong{font-size:18px}.copilot-empty span{font-size:14px}.copilot-quick{flex-wrap:nowrap;overflow:auto}.copilot-quick button{white-space:nowrap}.ops-decision-queue{padding:16px}.ux-operations-body>.ops-brief-card{padding:20px}.ops-section-head{display:block}.ops-section-head p{margin-top:10px}.record-dialog>footer .btn{flex:1}.ws-form-guide button{font-size:13px}}

.main:has(.copilot-chat-card:not(.drawer-chat)) .sticky-ai-button{display:none}.copilot-chat-card:not(.drawer-chat){height:clamp(450px,calc(100dvh - 335px),800px)}.search-box input{border:0!important;box-shadow:none!important;background:transparent;min-width:0;width:100%;font-size:15px}.search-box:focus-within{outline:2px solid #79aaff;outline-offset:2px}.wd-work-description strong{font-size:14px}.wd-work-description>span,.wd-person,.wd-work-date,.wd-open-work,.wd-status{font-size:12px}.wd-work-row{padding-top:13px;padding-bottom:13px}.wd-work-description{min-width:0}.wd-schedule-info>span{font-size:13px}.ws-field-focus>p{font-size:15px;line-height:1.6}.field-job-card .btn{font-size:14px}.ops-project-command .ops-project-open>span{font-size:13px}.ops-project-command:not(.stop) .drawing-risk-symbol{background:#fff0d7;color:#99630f}

.record-filter-toggle{display:none}.record-extra-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;flex:0 1 auto}.record-extra-filters label{flex:1 1 170px;max-width:230px}.record-extra-filters .record-filter-actions:empty{display:none}.record-filters:has(.record-extra-filters){align-items:end}.ws-revisions .ws-browser{grid-template-columns:280px minmax(0,1fr)}.ws-revisions .revision-alert p{font-size:14px}.ws-revisions .ws-tools .ws-tabs button{font-size:14px}.notifications-page-list strong{font-size:15px}.notifications-page-list p,.notifications-page-list span{font-size:14px}.notifications-page-list small{font-size:12px}.ws-queue>p{font-size:14px;line-height:1.6}.audit-timeline strong{font-size:16px}.audit-timeline small,.audit-timeline p{font-size:13px}.audit-timeline summary{font-size:14px}.record-request-details .request-card h3{font-size:21px}.record-request-details .request-card .btn{font-size:14px;min-height:42px}
@media(max-width:760px){.record-filter-toggle{display:block;white-space:nowrap}.record-filters .record-search{flex:1 1 180px}.record-extra-filters{flex:1 1 100%;display:none}.record-extra-filters[data-open=true]{display:flex}.record-extra-filters label{max-width:none}.record-extra-filters .record-filter-actions{margin:0}.record-toolbar{padding:14px 0}.record-toolbar .record-density{margin-left:auto}.ws-revisions .ws-browser{grid-template-columns:1fr}.record-filters{align-items:end}.record-filter-toggle{min-height:42px}.record-header p{font-size:14px;line-height:1.5}}

.record-table .review-col{min-width:160px;max-width:240px;white-space:normal}.record-table .review-col button{font-weight:600;text-align:left;line-height:1.5;overflow-wrap:anywhere;white-space:normal}.record-table th.review-col{font-size:12px}.record-table th[data-col=projectId]{min-width:190px}@media(max-width:760px){.record-table .review-col{min-width:135px;max-width:190px}.record-table .review-col button{font-size:14px}}

.record-table td button:not(.row-menu-trigger){font-size:14px;min-height:36px}.record-table .pill,.record-table .field-release-badge{font-size:12px}.record-dialog .btn{min-height:40px}.record-table td[data-col=hResidual],.record-table td[data-col=vResidual],.record-table td[data-col=scaleFactor]{text-align:right;font-variant-numeric:tabular-nums}

.timesheet-table td small{font-size:12px!important;line-height:1.5}.timesheet-table td strong{font-size:14px}.timesheet-table td .action{font-size:14px;min-height:38px}.ws-plan-room .plan-room-header p,.ws-plan-room .plan-room-empty p{font-size:14px;line-height:1.6}.ws-plan-room .plan-level-button{font-size:14px}.ws-people .btn{font-size:14px}.ws-plan-room .ws-search input{min-width:0}.record-table:focus-within{scroll-margin-bottom:80px}

/* A grid child's automatic minimum was expanding the whole project page to table width. */
.project-workspace{grid-template-columns:minmax(0,1fr)}.project-workspace>*{min-width:0;max-width:100%}.project-tab-body{min-width:0}.project-primary-tabs{max-width:100%;overflow-x:auto}.project-title-line{min-width:0;flex-wrap:wrap}.project-title-line h1{overflow-wrap:anywhere}.project-actions{min-width:0;flex-wrap:wrap}.project-section-head p{white-space:normal}.project-tab-body .record-table{max-width:100%}

.auth-copy p{font-size:16px;line-height:1.7}.auth-card>p{font-size:15px;line-height:1.6}.auth-card input{font-size:16px}
