.systems-board{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;padding:0 23px 23px;align-items:start}
.systems-layout-list{display:grid;gap:12px;align-self:stretch;align-content:start;grid-auto-rows:max-content;contain:size;min-height:0;overflow-y:auto;padding:1px 5px 1px 1px}
.system-layout-card{border:1px solid #e0e8f3;border-radius:8px;background:#fff;overflow:hidden}
.system-card-main{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:0;background:none;text-align:left}
.system-card-main:hover{background:#f8fbff}
.system-card-plan{width:77px;height:83px;flex-shrink:0;border:1px solid #e5edf7;border-radius:5px;background:#f7faff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#a0b2cb;overflow:hidden}
.system-card-plan img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.system-card-plan .icon{width:25px;height:25px}.system-card-plan small{font-size:9px}
.system-card-text{min-width:0;display:grid;gap:7px}.system-card-text strong{font-size:13px;color:#42638c;overflow-wrap:anywhere}.system-card-text small{font-size:10px;color:#91a3bc}.system-card-text>span{font-size:10px;color:#7d98ba}
.system-card-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end;border-top:1px solid #edf2f8;padding:7px 11px;background:#fcfdff}
.system-card-actions>.text-button{margin-right:auto;font-size:10px;gap:5px;padding:6px 2px}.system-card-actions .icon-button{width:28px;height:28px;color:#87a3c7}.system-card-actions .icon{width:14px;height:14px}
.systems-details{min-width:0;border:1px solid #e2e9f2;border-radius:8px;overflow:hidden}.systems-table-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;gap:12px;background:#fff;margin:0;font-size:12px;color:#5578a3}.systems-table-heading>span{display:flex;align-items:center;gap:8px;font-weight:600}.systems-table-heading .icon{height:17px;width:17px;color:#92b0d7}.systems-table-heading small{font-size:10px;color:#93a7c1}
.systems-details .results-heading{border-top:1px solid #e7edf6;margin-top:12px}.systems-details .technical-table th{padding:12px 15px}.systems-details .technical-table td{padding:16px 15px}.systems-details .system-name{min-width:155px;max-width:220px}.systems-details .system-description-summary{max-width:185px}
.system-results-note{margin:0;padding:15px 18px;font-size:10px;line-height:1.6;color:#8da0bc;background:#fbfdff;border-top:1px solid #edf1f7}.result-not-available{color:#b3bfce}
.system-layout-upload{gap:10px}.layout-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.layout-label-row strong{font-size:12px;color:#52749e}.layout-label-row>span{font-size:10px;color:#95a9c2}
.layout-file-select{display:flex;align-items:center;gap:13px;padding:16px;position:relative;border:1px dashed #b9cce6;border-radius:7px;background:#f8fbff;cursor:pointer}.layout-file-select>span{display:flex;align-items:center;justify-content:center;background:#eaf2fd;width:39px;height:39px;border-radius:8px;color:#6f98cc;flex-shrink:0}.layout-file-select strong{font-size:12px;color:#5579a5;display:block;overflow-wrap:anywhere}.layout-file-select small{display:block;margin-top:5px;color:#93a7c1;font-size:10px}
.layout-file-select input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.layout-file-select:focus-within{outline:2px solid #6193d4;outline-offset:3px}.layout-upload-preview{border:1px solid #e4ecf7;border-radius:6px;background:#fafcff;padding:10px;max-height:320px;overflow:auto}.layout-upload-preview img{display:block;width:100%;height:auto;object-fit:contain}.system-layout-upload>.text-button{justify-content:flex-start;font-size:11px;gap:6px;align-self:start}.system-layout-upload>.text-button .icon{height:13px;width:13px}
.layout-change-note{margin:0;padding:12px 14px;border:1px solid #d2e1f5;background:#f3f7fd;color:#6688b3;border-radius:6px;font-size:11px;line-height:1.7}
.room-layout-section{grid-column:1/-1;border-top:1px solid #e6edf7;padding-top:21px;margin-top:8px;min-width:0}.room-layout-section h3{font-size:13px;font-weight:600;color:#4f739f;margin:0 0 12px}.room-layout-empty{display:flex;align-items:flex-start;gap:12px;border:1px dashed #ccd9ec;border-radius:7px;padding:17px;color:#98aecb;background:#f8fbff}.room-layout-empty>.icon{width:24px;height:24px;flex-shrink:0}.room-layout-empty strong{font-size:11px;color:#7092bb}.room-layout-empty p{font-size:11px;color:#91a7c2;margin:7px 0 0;line-height:1.6}
.pin-picker-help{display:flex;justify-content:space-between;align-items:start;gap:15px;margin:12px 0}.pin-picker-help p{font-size:11px;color:#879ebc;line-height:1.6;margin:0;max-width:390px}.pin-picker-help .text-button{font-size:10px;white-space:nowrap;gap:4px;padding:0}.pin-picker-help .icon{width:12px;height:12px}
.layout-pin-canvas,.layout-viewer-canvas{position:relative;display:block;padding:0;width:100%;background:white;border:0;border-radius:0;text-align:left;box-shadow:0 0 0 1px #dce7f5}.layout-pin-canvas{cursor:crosshair;touch-action:manipulation}.layout-pin-canvas:focus-visible{outline:3px solid #6398de;outline-offset:3px}.layout-pin-canvas img,.layout-viewer-canvas>img{display:block;width:100%;height:auto;pointer-events:none;user-select:none}.layout-pin-canvas>span{pointer-events:none}
.layout-existing-pin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;min-width:25px;min-height:25px;border-radius:20px;padding:3px 6px;border:2px solid white;background:#648abc;color:#fff;box-shadow:0 2px 7px #31588730;font-family:Consolas,monospace;font-size:9px;white-space:nowrap;line-height:1.2}.layout-active-pin{position:absolute;transform:translate(-50%,-83.333333%);display:block;color:#2462b1;filter:drop-shadow(0 2px 2px #244d8660)}.layout-active-pin .icon{width:30px;height:30px;fill:#eaf2ff;display:block}
.room-pin-status{font-size:10px;line-height:1.7;color:#6689b6;margin:10px 0 0}.layout-view-dialog{width:960px}.layout-view-dialog #workspaceEditorContent{padding:26px 30px 0}.layout-view-dialog .dialog-intro{margin-bottom:18px}.layout-viewer-info{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#8ca3c1;padding:0 0 13px}.layout-viewer-info>span{overflow-wrap:anywhere;min-width:0}.layout-viewer-info strong{font-size:11px;font-weight:500;color:#5c81b0;white-space:nowrap}.layout-existing-pin.interactive{cursor:pointer;background:#477bbd}.layout-existing-pin.interactive:hover,.layout-existing-pin.interactive:focus-visible{background:#1e5da9;outline:2px solid #84ace0;outline-offset:2px;z-index:2}.layout-viewer-caption{font-size:11px;color:#8ca3c1;line-height:1.6;margin:14px 0 20px}
@media(max-width:1200px){.systems-board{grid-template-columns:230px minmax(0,1fr);gap:15px}.system-card-main{padding:12px;gap:10px}.system-card-plan{width:60px;height:70px}}
@media(max-width:980px){.systems-board{grid-template-columns:1fr}.systems-layout-list{grid-template-columns:repeat(2,minmax(0,1fr));contain:none;padding:0}.system-design-table,.system-results-table{min-width:700px}}
@media(max-width:620px){.systems-board{padding:0 20px 20px}.systems-layout-list{grid-template-columns:1fr}.system-card-plan{width:75px;height:75px}.layout-label-row{align-items:start;flex-direction:column;gap:5px}.layout-view-dialog #workspaceEditorContent{padding:23px 23px 0}.layout-viewer-info{align-items:start;flex-direction:column;gap:6px}.pin-picker-help{flex-direction:column;gap:8px}.layout-active-pin .icon{width:25px;height:25px}.layout-existing-pin{font-size:8px;min-height:22px;min-width:22px}.layout-view-dialog .dialog-footer{margin-left:-23px;margin-right:-23px}.layout-view-dialog .dialog-footer>span{flex-basis:100%}}

.layout-viewer-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:20px 30px;background:#f7faff;border-top:1px solid #e5edf7;margin:0 -30px}
.system-card-actions>.text-button{margin-right:0;white-space:nowrap}
.system-card-actions>.text-button:nth-child(2){margin-right:auto}
.system-card-actions{gap:7px;flex-wrap:wrap}
.system-scheme-dialog{width:min(1200px,96vw);height:min(850px,94dvh);max-width:96vw;max-height:94dvh;border:1px solid #dce6f3;border-radius:14px;padding:0;color:#365777;background:#fff;box-shadow:0 20px 80px #20364b35}
.system-scheme-dialog[open]{display:flex;flex-direction:column}
.system-scheme-dialog::backdrop{background:#1d304b65;backdrop-filter:blur(3px)}
.scheme-heading{display:flex;justify-content:space-between;gap:20px;padding:24px 28px 16px}
.scheme-heading h2{font-size:21px;margin:8px 0}.scheme-heading p{font-size:12px;color:#8297b2;margin:0}
.scheme-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 28px;border-block:1px solid #e7edf5;gap:10px}
.scheme-toolbar .text-button{font-size:12px}
.scheme-stage{flex:1;min-height:150px;overflow:auto;padding:24px;background:#f6f9fd}
.scheme-empty{height:100%;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:#8199b9}
.scheme-empty>.icon{height:54px;width:54px;color:#7c9ecb;margin-bottom:12px}.scheme-empty h3{color:#527299;font-size:17px}.scheme-empty p{max-width:430px;font-size:13px;line-height:1.7;margin:0}
.scheme-footer{padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e7edf5}.scheme-footer p,.scheme-footer small{font-size:11px;color:#7d93af;max-width:540px;line-height:1.6;margin:0}.scheme-footer .button{white-space:nowrap}.scheme-footer button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:620px){.scheme-heading,.scheme-toolbar,.scheme-footer{padding:16px}.scheme-heading h2{font-size:17px}.scheme-footer{flex-wrap:wrap}.scheme-stage{padding:12px}}
@media(max-width:620px){.layout-viewer-footer{padding:17px 23px;margin:0 -23px;flex-wrap:wrap}.layout-viewer-footer .button{font-size:11px}}

.scheme-stage:has(iframe){padding:0;overflow:hidden}.scheme-stage>iframe{display:block;width:100%;height:100%;border:0;background:#fff;min-height:200px}.scheme-format{font-size:11px;font-weight:600;letter-spacing:.1em;color:#8098b8}

/* Both six-column tables share a fixed grid and one horizontal scroll area. */
.systems-tables-scroll{overflow-x:auto}.systems-tables-scroll>.technical-table-wrap{overflow:visible}
.systems-details .system-design-table,.systems-details .system-results-table{table-layout:fixed;width:100%;min-width:790px}
.systems-details .technical-table th,.systems-details .technical-table td{width:16.666667%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;text-align:left}
.systems-details .system-name{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.systems-tables-scroll>.systems-table-heading{min-width:790px;box-sizing:border-box}
