:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#26362e;background:#f2f4ef;font-synthesis:none;--paper:#fff;--line:#d5ddd2;--muted:#546354;--green:#365740;--soft:#e5eddf;--amber:#805321}
*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:3px}button,input,select{font:inherit}button,select,input{color:inherit}button,select,input[type=search]{border:1px solid #aebca9;border-radius:6px;background:#fff;min-height:36px}button{padding:7px 12px;cursor:pointer;line-height:1.35}button:hover:not(:disabled){background:var(--soft);border-color:#698463}button:disabled{cursor:default;color:#546354;background:#eef1eb;border-color:var(--line)}button[aria-pressed=true],button[aria-selected=true]{background:var(--green);color:#fff;border-color:var(--green)}button[aria-pressed=true]:hover:not(:disabled),button[aria-selected=true]:hover:not(:disabled){background:#284531;color:#fff;border-color:#284531}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b16b36;outline-offset:3px}input[type=search]{padding:8px 10px;min-width:0;width:100%;caret-color:var(--green)}input[type=range],input[type=checkbox]{accent-color:var(--green)}input[type=checkbox]{width:16px;height:16px;margin:0}select{padding:6px 26px 6px 8px;max-width:100%}::selection{color:#1e3526;background:#d9e7ce}*{scrollbar-color:#a4b49b #edf1e8;scrollbar-width:thin}[hidden]{display:none!important}
.page-header{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid var(--line);gap:20px;background:var(--paper)}.page-header>div{display:flex;gap:20px;align-items:baseline}.brand{text-decoration:none;font-size:18px;font-weight:750;white-space:nowrap}h1{font-size:22px;margin:0;font-weight:700;letter-spacing:-.02em}nav{display:flex;gap:5px;flex-wrap:wrap}nav a{padding:8px 12px;text-decoration:none;font-size:14px;border-radius:5px}nav a[aria-current]{background:var(--soft);font-weight:700}nav a:hover{background:#edf2e8}main{max-width:1720px;margin:auto;padding:18px 24px 24px}.page-intro{display:flex;gap:16px;justify-content:space-between;align-items:center}.page-intro p{margin:0;font-size:15px;line-height:1.65}.page-intro button{flex-shrink:0}.version-bar{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:12px;color:var(--muted);margin-top:10px}.status-line{font-size:13px;line-height:1.6;min-height:21px;margin:7px 0 14px;color:var(--muted)}.status-line.error{color:#8b3326}.section-tabs{display:flex;gap:4px;border-bottom:1px solid #b9c7b2;margin-bottom:16px;padding-bottom:8px}.section-tabs button{padding:9px 18px}.viewer-controls{display:flex;gap:12px 18px;flex-wrap:wrap;align-items:center;padding:14px;background:var(--paper);border:1px solid var(--line);margin-bottom:12px;border-radius:8px}.viewer-controls>label{display:flex;align-items:center;gap:9px;font-size:13px}.range-control{min-width:210px;flex:1;max-width:310px;flex-wrap:wrap}.range-control output{margin-left:auto;font-variant-numeric:tabular-nums;min-width:34px;text-align:right}.range-control input{flex-basis:100%;width:100%;margin:0;height:16px}.view-buttons{display:flex;gap:4px}.view-toggles{display:flex;gap:12px 20px;flex-wrap:wrap;flex-basis:100%;padding-top:8px;border-top:1px solid #e4e9df}.view-toggles label{display:flex;gap:7px;align-items:center;min-height:30px;font-size:13px}
.structure-grid{display:grid;grid-template-columns:240px minmax(320px,1fr) 288px;gap:12px;align-items:start}.part-sidebar,.detail-sidebar{padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:8px;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.section-heading h2{font-size:15px;margin:0}.section-heading>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.text-button{font-size:12px;background:none;color:var(--green);padding:4px 7px;border-color:transparent;min-height:32px}.search-label{display:block;font-size:12px;margin-bottom:6px;color:var(--muted)}.filter-row{display:flex;gap:8px;margin-top:8px}.filter-row label{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.filter-row select{width:100%;font-size:12px}.part-list{margin:10px -6px 8px;max-height:470px;overflow:auto;padding:0 6px}.part-row{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border:none;border-bottom:1px solid #e3e9dd;border-radius:0;padding:10px 8px;background:transparent}.part-row strong{font-size:13px;font-weight:600;line-height:1.5}.part-row small{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.part-row[aria-pressed=true] small{color:#e4eddf}.part-row.is-hidden{opacity:.6}.part-row:focus-visible{outline-offset:-3px}.viewer-column{min-width:0}.structure-canvas{height:560px;min-height:350px;background:#edf0e9;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:8px}.viewer-loading{position:absolute;inset:0;display:grid;place-items:center;z-index:5;background:#edf0e9;color:var(--muted);font-size:14px;text-align:center;padding:20px;pointer-events:none}.canvas-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:9px 2px;color:var(--muted);font-size:12px}.scope-note{font-size:12px;line-height:1.7;color:var(--muted);margin:5px 0}.empty{font-size:13px;line-height:1.75;color:var(--muted);padding:8px 0;margin:0}.detail-sidebar{max-height:700px;overflow:auto}.part-title{font-size:17px;line-height:1.5;margin:0 0 5px;overflow-wrap:anywhere}.part-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:0 0 12px}.badges{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:14px}.badge{font-size:12px;padding:3px 6px;background:#eef2e9;border:1px solid #dce4d6;border-radius:4px;display:inline-block;white-space:nowrap}.badge.confirmed,.badge.known{color:#315438;background:#e6f0de}.badge.candidate,.badge.envelope,.badge.unselected{color:#754b1d;background:#faf0dd}.badge.historical{color:#595c56;background:#eceee9}.detail-dimensions{font-size:21px;font-variant-numeric:tabular-nums;line-height:1.5;margin:4px 0}.small-note,.part-note{font-size:12px;color:var(--muted);line-height:1.75;overflow-wrap:anywhere}.part-actions{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.part-actions button{font-size:12px;flex:1 1 42%;padding:7px}.detail-subtitle{font-size:13px;margin:18px 0 8px;border-top:1px solid var(--line);padding-top:14px}.linked-component{display:block;text-align:left;width:100%;margin-bottom:6px;font-size:12px;background:#f5f8f0}.detail-list{padding-left:18px;margin:10px 0;font-size:12px;line-height:1.75;color:var(--muted)}
.records-header{display:flex;gap:20px;justify-content:space-between;align-items:start;margin:24px 0 18px}.records-header h2{font-size:21px;letter-spacing:-.02em;margin:0 0 8px}.records-header p{font-size:14px;line-height:1.7;color:var(--muted);margin:0;max-width:72ch}.records-header>button{flex-shrink:0}.records-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.records-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px}.records-filters label:first-child{flex:1;max-width:420px;min-width:220px}.records-filters>span{font-size:12px;color:var(--muted);padding-bottom:10px}.table-scroll{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;text-align:left;width:100%;font-size:13px;line-height:1.65}th{font-size:12px;color:#40553d;background:#e9efE3;font-weight:650;padding:11px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td{vertical-align:top;padding:16px 14px;border-bottom:1px solid #e0e6da}tbody tr:last-child td{border-bottom:none}.component-table th:nth-child(1){width:23%}.component-table th:nth-child(2){width:24%}.component-table th:nth-child(3){width:15%}.component-table td>strong{display:block;font-size:15px;margin-bottom:4px}.model-name{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.cell-note{display:block;font-size:12px;color:var(--muted);margin-top:6px}.spec-list{margin:0 0 8px;padding:0;list-style:none}.spec-list li{margin-bottom:3px}.source-note{font-size:12px;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}.source-note a{display:inline-block;margin-right:6px}.model-links{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.model-links button{font-size:12px;min-height:30px;padding:4px 7px}.source-details{margin-top:20px;background:#fff;border:1px solid var(--line);padding:14px;border-radius:8px}.source-details summary{cursor:pointer;font-size:14px;font-weight:600}.source-item{padding:12px 0;border-bottom:1px solid var(--line);scroll-margin-top:15px}.source-item:last-child{border:none}.source-item h3{font-size:14px;margin:0 0 5px}.source-item p{font-size:12px;line-height:1.7;margin:4px 0;color:var(--muted);overflow-wrap:anywhere}.connection-section{margin:28px 0}.connection-section h3{font-size:17px;margin:0 0 10px}.muted{font-size:13px;color:var(--muted);line-height:1.7}.route-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px}.route-item{border-bottom:1px solid var(--line);padding:13px 0}.route-item button{text-align:left;width:100%;background:#fff;font-size:13px;font-weight:600}.route-item p{font-size:12px;line-height:1.65;color:var(--muted);margin:6px 0}.assembly-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px}.assembly-item{padding-top:16px;border-top:1px solid var(--line)}.assembly-item h4{font-size:15px;margin:0 0 10px}.assembly-item ol{padding-left:22px;font-size:13px;line-height:1.8;margin:0}.assembly-item li{margin-bottom:8px}.page-footer{border-top:1px solid var(--line);padding:18px 28px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.structure-canvas{height:650px}.part-list{max-height:560px}}
@media(max-width:1150px){.structure-grid{grid-template-columns:210px minmax(300px,1fr) 240px}.structure-canvas{height:520px}.viewer-controls{gap:10px}.page-header{padding:14px 20px}main{padding:16px}.range-control{min-width:170px}.part-sidebar,.detail-sidebar{padding:12px}}
@media(max-width:960px){.structure-grid{grid-template-columns:minmax(0,1fr) 280px}.viewer-column{grid-column:1;grid-row:1}.detail-sidebar{grid-column:2;grid-row:1}.part-sidebar{grid-column:1/-1;grid-row:2}.part-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px;gap:0 12px}.filter-row{max-width:420px}.part-sidebar input[type=search]{max-width:420px}.route-list{grid-template-columns:repeat(2,minmax(0,1fr))}.component-table{min-width:760px}.connections-table{min-width:640px}.page-header{align-items:flex-start}.page-header>div{display:block}.page-header h1{margin-top:5px;font-size:20px}}
@media(max-width:640px){main{padding:12px}.page-header{padding:14px 12px;display:block}.page-header>div{display:flex;gap:12px;align-items:baseline}.page-header h1{font-size:19px;margin:0}.brand{font-size:16px}.page-header nav{margin-top:12px;gap:0;justify-content:space-between}.page-header nav a{padding:8px 10px;font-size:13px}.page-intro{align-items:flex-start;gap:12px}.page-intro p{font-size:13px}.page-intro button{font-size:12px;padding:7px}.version-bar{gap:6px 14px;font-size:12px}.status-line{font-size:12px}.section-tabs{gap:4px}.section-tabs button{flex:1;font-size:13px;padding:9px 5px}.viewer-controls{padding:10px;gap:12px}.viewer-controls>label:first-child{width:100%;justify-content:space-between}.viewer-controls>label:first-child select{min-width:60%}.view-buttons{flex:1}.view-buttons button{font-size:12px;flex:1}.range-control{flex-basis:100%;max-width:none;order:3}.view-toggles{order:4;gap:5px 14px}.view-toggles label{font-size:12px}.structure-grid{display:flex;flex-direction:column}.structure-grid>*{width:100%}.viewer-column{order:0}.detail-sidebar{order:1;max-height:none}.part-sidebar{order:2}.structure-canvas{height:390px;min-height:300px}.part-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:330px}.scope-note{font-size:12px}.detail-dimensions{font-size:20px}.records-header{display:block;margin-top:20px}.records-header h2{font-size:19px}.records-header p{font-size:13px}.records-header>button{margin-top:12px}.records-filters{gap:10px}.records-filters label:first-child{min-width:170px}.records-filters>span{padding:0}.component-table{min-width:680px}.route-list,.assembly-list{grid-template-columns:1fr}.page-footer{padding:16px 12px;flex-direction:column;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Component priority stays separate from procurement/selection status. */
.records-filters .required-filter{flex-direction:row;align-items:center;gap:8px;min-height:36px;font-size:13px;cursor:pointer}.priority-help{font-size:13px;line-height:1.75;color:var(--muted);margin:0 0 16px;max-width:90ch}.priority-help strong{color:#26362e}.component-priority{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.component-priority.required{display:inline-block;background:#dde9d4;border:1px solid #b9cdb0;color:#294b31;font-weight:750;padding:3px 7px;border-radius:4px}.component-table tr[data-priority=required]{background:#f3f8ed}.component-table tr[data-priority=required] td>strong{font-weight:750;color:#203d2a}.component-priority.deferred{color:#754b1d}
