.inline-conflict{color:#a63630;background:#fff2ee;border-left:3px solid #c65e4c;padding:8px 10px;margin-top:8px;font-size:12px;line-height:1.6;white-space:normal;min-width:210px;max-width:480px}.simple-more{margin:16px 0;padding:12px;background:#f5f8fa;border-radius:8px}.simple-more summary{cursor:pointer}.engineering-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.engineering-layout aside.dimension-panel{position:sticky;top:15px;width:auto;height:auto;display:block;background:white;color:#193c50;border:1px solid #dce5ec;border-radius:10px;padding:18px;overflow:auto;max-height:80vh}.dimension-panel h3{font-size:16px}.dimension-panel small{display:block;color:#647585}.dimension-reference{width:100%;height:auto;margin:10px 0}.dimension-values{display:grid;grid-template-columns:1.2fr 1fr;font-size:12px;gap:10px}.dimension-values dd{margin:0;font-weight:bold;overflow-wrap:anywhere}.engineering-table table{min-width:960px}.engineering-table td{vertical-align:top;white-space:normal}.engineering-table td:nth-child(3){min-width:180px}.engineering-table td:nth-child(4){min-width:170px}.engineering-table td:last-child{min-width:150px;position:sticky;right:0;background:white;box-shadow:-2px 0 4px #dce5ec}.engineering-table td small{display:block;max-width:190px;overflow-wrap:anywhere}.selected-spec td{background:#edf7f8}.engineering-table details{min-width:140px;font-size:12px}.engineering-table details p{margin:7px 0}.agreement-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.agreement-preview{width:100%;max-height:550px;object-fit:contain;background:#eef3f7}.template-pages{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}@media(max-width:1050px){.engineering-layout,.agreement-layout{grid-template-columns:1fr}.engineering-layout aside.dimension-panel{position:static;max-height:350px}.dimension-reference{max-width:260px;float:left;margin-right:20px}.dimension-values{min-width:250px}.inline-conflict{max-width:100%}}
.source-details{padding:12px 16px;margin-bottom:14px;background:#f2f7fa;border-radius:8px}.source-details summary{cursor:pointer}.source-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.7 sans-serif;max-height:400px;overflow:auto}.detail-grid small{display:block;color:#687b8a;margin-top:5px}
.head-figure{width:100%;aspect-ratio:1.9;overflow:hidden;background:white}.head-figure img{display:block;width:100%;height:auto}.own-pdf{margin:14px 0;padding:10px 0;border-bottom:1px solid #e0e8ec}.spec-filters{align-items:end;flex-wrap:wrap}.spec-filters .field{min-width:140px;max-width:240px}.engineering-table td{cursor:pointer}.engineering-table td .small{display:block;margin-top:8px}.spindle-layout{grid-template-columns:350px minmax(0,1fr)}.dimension-panel svg{width:100%;display:block;margin:12px 0;background:#f7fafb;border-radius:8px}.dimension-panel svg text{font:10px sans-serif;fill:#526676}.curve-legend{display:flex;gap:25px;font-size:12px}.curve-legend span:first-child{color:#127aa0}.curve-legend span:last-child{color:#d97835}@media(max-width:1050px){.spindle-layout{grid-template-columns:1fr}.spindle-layout aside.dimension-panel{max-height:none}}
.review-cell{cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}.review-cell:hover{background:#e4f4f6}.pending-inline button{margin:4px}.direct-review{color:#a85412!important;background:#fff5e6!important}#curve-canvas{display:block;width:100%;height:auto;border:1px solid #bdcdd8;cursor:crosshair;touch-action:none}.curve-sample-list{max-height:130px;overflow:auto;font:12px/1.6 monospace}.pdf-preview .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-preview button{margin:3px}.pdf-preview #curve-guide{color:#185d73;font-size:13px}
.dimension-panel .head-figure{cursor:zoom-in;border:1px solid #e0e8ec;border-radius:8px}.head-figure{aspect-ratio:1.72}.head-figure img{margin-top:-2%;width:100%}.dimension-panel .head-figure:focus-visible{outline:3px solid #1687a7}.diagram-zoom-controls{display:flex;gap:8px;align-items:center;margin:12px 0}.diagram-zoom-scroll{overflow:auto;max-height:65vh;background:#fff;border:1px solid #d8e2e8}.large-head-figure{width:100%;flex:none}.zoom-dimensions{display:flex;flex-wrap:wrap;gap:16px;padding:12px;background:#f0f7fa}.zoom-dimensions>div{min-width:95px}.zoom-dimensions dt{font-size:13px}.zoom-dimensions dd{margin:5px 0;font-weight:700}
.head-figure{aspect-ratio:1.82}.head-figure img{margin-top:-5%}

/* Browsing and settings have separate controls and clear focus states. */
.icon-settings{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:0;border:1px solid #cbd9e2;border-radius:10px;background:#fff;color:#34566a;cursor:pointer;font-size:24px;line-height:1}
.icon-settings:hover{background:#eaf5f4;border-color:#008b80;color:#006d64}
.icon-settings.is-active{background:#e0f3ef;border-color:#008b80;color:#00685f;box-shadow:inset 0 0 0 1px #008b80}
.icon-settings:focus-visible{outline:3px solid #36a99f;outline-offset:3px}
.page-settings-panel{margin:0 0 18px;padding:16px 20px;background:#f0f8f7;border:1px solid #c7e1dc;border-radius:12px}
.page-settings-panel[hidden]{display:none}
.settings-panel-title{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;margin-bottom:14px}
.settings-panel-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.settings-panel-controls label{display:flex;align-items:center;gap:10px}
#content>.heading{gap:20px;align-items:center;margin-bottom:24px}
#content>.heading .actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
#content>.filterbar{padding:14px 16px;background:#fff;border:1px solid #dce5ec;border-radius:12px;gap:12px;margin-bottom:18px;align-items:center;flex-wrap:wrap}
#content>.spec-filters{align-items:flex-end}
.spec-filters .field{margin-bottom:0;flex:0 1 190px;min-width:150px}
.spec-filters .search{flex:1 1 220px;min-width:180px;max-width:480px}
.dimension-panel h3{margin-top:0;line-height:1.5;overflow-wrap:anywhere}
.dimension-panel figure{margin:16px 0}
.dimension-panel figcaption{font-size:12px;color:#607b8b;margin-bottom:8px}
.dimension-panel [data-original-page]{border:1px solid #dce5ec;border-radius:8px;overflow:hidden;background:#fff}
.engineering-table .selected-spec td{background:#eaf7f5}
.engineering-table tbody tr:hover td{background:#f1f8fa}
@media(max-width:700px){#content>.heading{align-items:flex-start;flex-direction:column}#content>.filterbar .search{width:100%;max-width:none}.settings-panel-controls{align-items:stretch;flex-direction:column}.settings-panel-controls label{align-items:flex-start;flex-direction:column}.spec-filters .field{flex:1 1 140px}.icon-settings{width:44px;height:44px}}

.pdf-upload-slot{display:flex;flex-direction:column;gap:8px;min-width:175px;padding:10px 0}.pdf-upload-slot+.pdf-upload-slot{border-top:1px solid #dce5ec;margin-top:10px}.pdf-upload-slot strong{font-size:12px}.pdf-upload-slot button{align-self:flex-start}

/* Compact spindle comparison: keep each numeric value intact and file actions collapsed. */
.spindle-layout{grid-template-columns:300px minmax(0,1fr);gap:16px}
.spindle-layout .engineering-table table{table-layout:fixed;width:100%;min-width:1320px}
.spindle-layout .engineering-table th,.spindle-layout .engineering-table td{padding:12px 10px;box-sizing:border-box;line-height:1.5}
.spindle-layout .engineering-table th{white-space:normal;font-size:12px}
.spindle-layout .engineering-table td{min-width:0;overflow-wrap:normal}
.spindle-layout .engineering-table th:nth-child(-n+4){width:86px}
.spindle-layout .engineering-table th:nth-child(3){width:100px}
.spindle-layout .engineering-table th:nth-child(n+5):nth-child(-n+7){width:94px}
.spindle-layout .engineering-table td:nth-child(-n+7){white-space:nowrap;font-variant-numeric:tabular-nums}
.spindle-layout .engineering-table td:nth-child(-n+4) small{display:none}
.spindle-layout .engineering-table th:nth-child(8){width:200px}
.spindle-layout .engineering-table th:nth-child(9){width:70px}
.spindle-layout .engineering-table th:nth-child(10){width:112px}
.spindle-layout .engineering-table th:nth-child(11){width:102px}

.spindle-layout .engineering-table th:last-child{width:136px}
.spindle-layout .engineering-table td:nth-child(8) .link{text-align:left;overflow-wrap:anywhere;line-height:1.5;padding:0}
.spindle-layout .engineering-table td:last-child{position:static;min-width:0;box-shadow:none}
.spindle-layout .engineering-table details{min-width:0}
.spindle-layout .engineering-table td .small{margin-top:6px;padding:4px 9px}
.pdf-actions-menu>summary{cursor:pointer;border:1px solid #d6e3e9;border-radius:6px;padding:6px 9px;background:#fff;color:#244757;white-space:nowrap;list-style:none}
.pdf-actions-menu>summary::-webkit-details-marker{display:none}
.pdf-actions-menu[open]>summary{background:#e5f2f0;border-color:#98c6be}
.pdf-actions-body{padding-top:6px}
.spindle-layout .pdf-upload-slot{min-width:0;gap:5px;padding:8px 0}
.spindle-layout .pdf-upload-slot+.pdf-upload-slot{margin-top:4px}
.spindle-layout .pdf-upload-slot strong,.spindle-layout .pdf-upload-slot small{font-size:11px}
@media(max-width:1050px){.spindle-layout{grid-template-columns:1fr}}

/* Reserve room for source precision and rounded reference, e.g. 95.5(96). */
.spindle-layout .engineering-table table{min-width:1406px}
.spindle-layout .engineering-table th:nth-child(-n+4){width:120px}
.spindle-layout .engineering-table th:nth-child(3){width:160px}
.spindle-layout .engineering-table th:nth-child(n+5):nth-child(-n+7){width:116px}

.duty-group+.duty-group{margin-top:8px}.duty-group strong{display:block;font-size:11px;color:#617e8c;font-weight:500;white-space:normal}.duty-more{margin-top:8px}.duty-more summary{cursor:pointer;color:#087e82;font-size:11px}.duty-more .duty-group{margin-top:8px}

/* PDF-only notice must occupy its own block rather than inline label fragments. */
#review-form .review-pdf-only{display:block;box-sizing:border-box;width:100%;margin:16px 0;padding:14px 16px;white-space:normal}
#review-form .review-pdf-only>label{display:flex;align-items:flex-start;gap:8px;margin:0;line-height:1.6}
#review-form .review-pdf-only input{flex:0 0 auto;width:16px;height:16px;margin:4px 0 0}
#review-form .review-pdf-only>small{display:block;margin:6px 0 0 24px;line-height:1.6;overflow-wrap:anywhere}
#review-form .review-layout>div{min-width:0}
#review-form .modal-foot{flex-wrap:wrap;gap:8px}

.duty-maximum{margin-top:6px;padding-top:5px;border-top:1px solid #dce5ec;font-weight:600}

.inline-task-editor-row>td{padding:8px 12px 16px;background:#f3f8f9;white-space:normal}.inline-task-editor-row .task-editor{margin:0}.inline-task-editor-row .form-grid{min-width:0}tr[data-edit-task][aria-expanded="true"]{background:#e7f4f3}

.task-completion{display:grid;grid-template-columns:auto minmax(145px,1fr) auto;gap:6px;align-items:center;max-width:360px;white-space:normal}.task-completion label{display:flex;align-items:center;gap:5px;margin:0;white-space:nowrap}.task-completion input[type="checkbox"]{width:auto;margin:0}.task-completion input[type="date"]{width:100%;padding:5px}.task-completion small,.task-completion .task-done-reason,.task-completion .error{grid-column:1/-1}.task-completion .task-done-save{grid-column:3;grid-row:1}

.task-assignee{display:grid;gap:6px;min-width:145px;max-width:210px;white-space:normal}.task-assignee select,.task-assignee input{width:100%;padding:6px}.task-assignee button{justify-self:start}
