.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.catalog-card{text-align:left;background:white;padding:24px;border:1px solid #dbe4eb;border-radius:12px;white-space:normal}.catalog-card h2{margin:12px 0;font-size:18px}.catalog-card p,.catalog-card small{color:#647789;overflow-wrap:anywhere}.review-layout{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(400px,1.4fr);gap:24px}.pdf-preview{max-height:70vh;overflow:auto;background:#edf2f6;padding:14px}.pdf-preview figure{margin:16px 0}.pdf-preview img{width:100%;height:auto}.pdf-preview pre,.review-layout pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto}.spec-table{min-width:600px}.spec-table input{width:100%;min-width:65px}.spec-table td{vertical-align:top}.spec-table small{display:block;max-width:200px;font-size:11px;white-space:normal}.spec-table th:nth-child(3){width:70px}.review-item{display:grid;grid-template-columns:24px 1fr 1fr 50px;gap:8px;margin:8px 0}.review-item input[type=checkbox]{width:18px}.review-layout h3{margin-top:24px}#modal:has(.review-layout){width:min(1450px,96vw);max-width:96vw}.calendar{display:grid;gap:1px;background:#dce5ec;border:1px solid #dce5ec;border-radius:8px;overflow:hidden}.calendar.seven{grid-template-columns:repeat(7,minmax(130px,1fr));overflow:auto}.calendar.three{grid-template-columns:repeat(3,1fr)}.calendar.single{grid-template-columns:1fr}.calendar-cell{background:white;min-height:130px;padding:12px}.calendar-cell.muted{background:#f5f7fa}.calendar-cell>strong{font-size:12px;color:#687c90}.calendar-event{display:block;width:100%;text-align:left;background:#ecf5f6;border-left:3px solid #228e97;padding:8px;margin:8px 0;font-size:12px;white-space:normal}.calendar-event small{display:block;color:#66798a}.calendar-event.late{border-left-color:#bb5252;background:#fff1ed}#nav{overflow:auto;max-height:calc(100vh - 240px)}@media(max-width:900px){.review-layout{grid-template-columns:1fr}.pdf-preview{max-height:35vh}.calendar.three{grid-template-columns:1fr}.filterbar{flex-wrap:wrap}}

.review-item{grid-template-columns:24px 1fr 1fr auto 50px}.pdf-preview img,.agreement-preview{cursor:zoom-in}
.image-float{position:fixed;z-index:1000;left:4vw;top:7vh;width:min(820px,88vw);height:78vh;min-width:280px;min-height:200px;max-width:96vw;max-height:94vh;resize:both;overflow:hidden;background:white;color:#243747;border:1px solid #a9bdc8;border-radius:10px;box-shadow:0 12px 48px #102e4066;display:flex;flex-direction:column}
.image-drag{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;background:#173e49;color:white;cursor:move;touch-action:none;user-select:none}.image-drag button{padding:2px 10px}.image-tools{display:flex;gap:6px;flex-wrap:wrap;padding:8px;align-items:center;font-size:12px}.image-tools button{padding:5px 8px}.image-scroll{overflow:auto;flex:1;min-height:0;background:#edf2f6}.image-size{width:100%;margin:0!important}.image-size img{display:block;width:100%;height:auto}.image-size.head-figure{aspect-ratio:1.82;overflow:hidden}.image-size.head-figure img{margin-top:-5%}.doc-types{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;margin:8px 0}

.image-specs{padding:10px 16px;background:#f5fafb;border-bottom:1px solid #dbe5eb;flex:none;max-height:30%;overflow:auto}.image-specs .dimension-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr) minmax(45px,.6fr));gap:7px 12px;margin:0;font-size:13px}.image-specs dt{color:#526d7e;white-space:normal}.image-specs dd{margin:0;font-weight:600;overflow-wrap:anywhere}@media(max-width:700px){.image-specs .dimension-values{grid-template-columns:repeat(2,minmax(0,1fr) minmax(45px,.6fr))}}

.calendar-navigation{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.calendar-navigation button{white-space:nowrap}

.calendar-summary{margin:18px 0}.calendar-stat-cards{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:10px;margin:12px 0}.calendar-stat-cards .card{padding:14px}.calendar-stat-cards span{display:block;color:#526d7e}.calendar-stat-cards strong{display:block;font-size:25px;margin-top:8px}.calendar-summary-table{margin:12px 0;padding:14px}.calendar-summary-table>summary{font-weight:700;cursor:pointer}.calendar-summary-table table{margin-top:12px}.calendar-late-count{color:#a52c2c;font-weight:700}.calendar-work-list{padding-left:18px;min-width:280px}.calendar-work-list li{margin:8px 0}.calendar-work-list span{display:block;font-size:12px;color:#526d7e}.calendar-work-list button{text-align:left;white-space:normal}.calendar-unscheduled{padding:14px}@media(max-width:950px){.calendar-stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:500px){.calendar-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

#nav .calendar-subnav{padding-left:18px;border-left:1px solid #47717d;margin:0 12px 8px 18px}#nav .calendar-subnav button{font-size:12px;padding:9px 8px}.calendar[hidden]{display:none}

.calendar-quick-work{padding:16px;margin:16px 0}.calendar-quick-work>summary{cursor:pointer;font-weight:700}.calendar-quick-work form{margin-top:14px}.calendar-quick-work .form-grid{margin-bottom:12px}

.calendar-date-add{padding:4px 6px;font-size:12px;color:#126d78;background:#eef8f8;border:1px solid #c9e3e5;text-align:left}.calendar-date-add:hover{background:#d9efef}.calendar-date-add:focus-visible{outline:2px solid #126d78;outline-offset:2px}

.quick-model-picker{min-width:0;border:1px solid #c9dce5;border-radius:8px;padding:12px}.quick-model-options{max-height:160px;overflow:auto;margin:8px 0}.quick-model-options label{display:flex;align-items:center;gap:8px;padding:5px}.quick-model-options label[hidden]{display:none}.quick-model-options input[type=checkbox]{width:16px;height:16px;margin:0}.quick-model-picker small{display:block;margin:8px 0;overflow-wrap:anywhere}
.work-report-toolbar{padding:18px;margin:18px 0}.work-report-toolbar input[type=checkbox]{width:16px;height:16px}.work-report-branch{padding:14px;margin:12px 0;border:1px solid #bfd2de;border-radius:8px;display:grid;gap:10px}.work-report-branch label{display:grid;gap:5px}.work-report-branch legend{font-weight:700}.work-report-branch textarea{min-height:75px}.work-report-toolbar .actions{flex-wrap:wrap}

.last-report-row{padding:12px;margin:12px 0;border:1px solid #b8cfd9;display:grid;gap:8px}.last-report-row input[type=checkbox]{width:16px;height:16px}.last-report-row label{display:block}.last-report-row select{width:100%}.last-report-row p{white-space:pre-wrap}.report-carryovers{margin-top:14px}.report-carryovers p{padding:10px;border-bottom:1px solid #dce8ec}

.office-helper-settings{padding:24px;margin-bottom:24px;border:2px solid #1975ad}
.office-purpose{font-weight:600;color:#175378}.office-version{padding:12px;background:#edf4f8;border-radius:8px}
.office-connection{margin:18px 0;padding:18px;border:1px solid #94b6d0;background:#f0f7fc;border-radius:8px}
.office-connection>strong{display:block;font-size:18px}.office-launch{display:inline-block;padding:14px 22px;background:#1268a1;color:white!important;border-radius:8px;font-weight:700;text-decoration:none;margin:8px 8px 8px 0}
.office-launch:hover{background:#094e80}.office-launch[hidden]{display:none}
.office-connection[data-state=ready]{background:#e8f7ee;border-color:#16875b;color:#105f40;font-weight:700}
.office-connection[data-state=unconfirmed],.office-connection[data-state=error]{background:#fff5e6;border-color:#bc7a20}
.office-window-guide{margin:20px 0}.office-window-example{max-width:430px;background:#fff;border:2px solid #7c94a5;border-radius:8px;box-shadow:0 4px 12px #173e4920}
.office-window-title{padding:10px 14px;background:#e8eef4;font-weight:700;border-bottom:1px solid #acbcc8}.office-window-title span{float:right;color:#667b8a;font-size:12px}
.office-window-body{padding:20px;line-height:1.8;overflow-wrap:anywhere}.office-example-ok{border:1px solid #9cabb7;background:#f4f6f8;border-radius:4px;margin:18px 0 0 auto;text-align:center;width:86px}

/* Schedule inputs must fit inside their grid cells, including focus outlines. */
.calendar-quick-work .form-grid,#work-item-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 28px;align-items:start}
.calendar-quick-work .field,#work-item-form .field,.schedule-filterbar .field{min-width:0}
.calendar-quick-work .quick-model-picker{margin:0;min-width:0;padding:14px}
.calendar-quick-work input:not([type=checkbox]),.calendar-quick-work select,.calendar-quick-work textarea,#work-item-form input,#work-item-form select,#work-item-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit}
.calendar-quick-work #quick-model-search{display:block;margin-top:8px;padding:10px 12px;border:1px solid #cdd9e0;border-radius:6px}
.calendar-quick-work input:focus,.calendar-quick-work select:focus,.calendar-quick-work textarea:focus,#work-item-form input:focus,#work-item-form select:focus,#work-item-form textarea:focus,.schedule-filterbar input:focus,.schedule-filterbar select:focus{outline:2px solid #168b88;outline-offset:1px}
.schedule-filterbar{column-gap:24px!important;row-gap:16px!important}
.schedule-filterbar .schedule-search-select{min-width:0;width:100%}
.schedule-filterbar .field:has(.schedule-search-select){flex:1 1 230px;max-width:360px}
@media(max-width:1100px){.calendar-quick-work .form-grid,#work-item-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.calendar-quick-work .form-grid,#work-item-form .form-grid{grid-template-columns:minmax(0,1fr)}.schedule-filterbar .field:has(.schedule-search-select){max-width:none}}

.order-ce-wrap{margin-top:7px}.order-ce-badge{display:inline-block;border:3px solid #164756;border-radius:4px;padding:2px 7px;font-family:Arial,sans-serif;font-size:15px;font-weight:800;line-height:1.15;letter-spacing:1px;color:#164756;background:#fff;white-space:nowrap}

.order-ce-badge img{display:block;width:40px;height:auto;max-width:100%;object-fit:contain}.order-ce-badge{padding:4px 6px}

/* Keep the CE mark compact and aligned with the order type above it. */
.order-ce-cell{text-align:center;vertical-align:middle}.order-ce-cell .order-ce-wrap{display:flex;justify-content:center;margin-top:4px}.order-ce-cell .order-ce-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-width:2px;border-radius:3px;padding:2px 4px;line-height:1}.order-ce-cell .order-ce-badge img{width:30px;height:auto}.order-ce-cell select[data-order-type]{max-width:100%}

.notice-view-tabs{display:flex;gap:10px;padding:12px 24px;border-bottom:1px solid #d9e5ea}.notice-html-panel{padding:20px 24px;overflow:auto}.notice-html-document table{width:100%;border-collapse:collapse}.notice-html-document th,.notice-html-document td{border:1px solid #bdcfd7;padding:9px;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.notice-html-document th{background:#eef5f7}.notice-html-panel[hidden]{display:none}

#modal-content .detail-grid[hidden],#modal-content .modal-body[hidden]{display:none}

.notice-html-panel{padding:16px 24px 24px;background:#f5f8fa}.notice-html-document{max-width:1100px;margin:16px auto 0;background:white;padding:20px;box-sizing:border-box;border:1px solid #d9e5ea;border-radius:6px}.notice-html-document h2{font-size:20px;margin:0 0 16px}.notice-html-document .notice-source-table{table-layout:fixed;min-width:600px;font-size:14px;line-height:1.6}.notice-html-document .notice-source-table th,.notice-html-document .notice-source-table td{padding:8px 10px;vertical-align:top;word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap}.notice-html-document .notice-source-table th{font-weight:600;background:#eaf2f6;color:#264b5b}.notice-html-document .notice-source-table td{background:#fff}.notice-view-tabs{flex-wrap:wrap}.notice-html-panel>label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notice-html-panel>label select{min-width:160px;padding:7px}.notice-html-panel .sub{margin:10px 0;font-size:12px;line-height:1.5}@media(max-width:760px){.notice-html-panel{padding:12px}.notice-html-document{padding:12px;overflow-x:auto}.notice-view-tabs{padding:10px 12px}}

.conflict-actions{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.conflict-actions button{font-size:12px;padding:5px 8px}.inline-conflict.conflict-resolved{background:#edf8f2;border-color:#2b8c65;color:#245941}

.overview-order-progress>.table-wrap{max-height:480px;max-height:min(56vh,520px);overflow:auto;scrollbar-gutter:stable}.overview-order-progress>.table-wrap thead th{position:sticky;top:0;z-index:2;background:#f3f7fa}.overview-order-progress>.table-wrap:focus-visible{outline:2px solid #159b90;outline-offset:-2px}@media(max-width:760px){.overview-order-progress>.table-wrap{max-height:420px}}

.stat-alert-link{text-align:left;font:inherit;cursor:pointer;color:inherit;white-space:normal}.stat-alert-link:hover{border-color:#27a89b;background:#f7fcfb}.stat-alert-link:focus-visible{outline:2px solid #159b90;outline-offset:3px}.alert-summary-table{max-height:65vh;overflow:auto}.alert-summary-table thead th{position:sticky;top:0;background:#edf4f7;z-index:1}.alert-summary-message{min-width:220px;max-width:420px;white-space:normal;overflow-wrap:anywhere}

.overview-order-progress>.table-wrap{max-height:none;box-sizing:border-box}

/* Align every order-type cell, including rows without CE. */
#content td.order-type-cell,#content th.order-type-heading{text-align:center;vertical-align:middle}#content td.order-type-cell .order-ce-wrap{display:flex;justify-content:center;margin:4px 0 0}#content td.order-type-cell select[data-order-type]{display:block;margin-left:auto;margin-right:auto}
