.room-table-dialog{position:fixed;inset:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;padding:0;margin:0;border:1px solid #d7e2f0;border-radius:14px;color:#29496e;background:#fff;box-shadow:0 22px 80px #17345438;overflow:hidden}
.room-table-dialog::backdrop{background:#132d4e66;backdrop-filter:blur(3px)}
.room-table-workbench{height:100%;display:flex;flex-direction:column;min-height:0}
.room-table-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px 14px;border-bottom:1px solid #e3eaf3;flex-shrink:0}
.room-table-header h2{margin:5px 0;font-size:23px}.room-table-header p{margin:4px 0 0;font-size:12px;color:#7b8da5}
.room-table-viewbar{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 24px;flex-wrap:wrap;flex-shrink:0}.room-table-viewbar .room-view-tabs{padding:0}
.table-legend{display:flex;gap:17px;flex-wrap:wrap;font-size:11px;color:#7b8da5}.table-legend span{display:flex;align-items:center;gap:6px}.table-legend span:before{content:'';width:8px;height:8px;border-radius:2px;background:#e6ebf2}.table-legend .input-legend:before{background:#bdd7f7}.table-legend .changed-legend:before{background:#efd090}
.room-table-bulk{padding:12px 24px;display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:#f7faff;border-top:1px solid #e7edf6;border-bottom:1px solid #e7edf6;flex-shrink:0}
.room-table-bulk>strong{font-size:12px;align-self:center;min-width:104px}.room-table-bulk label{display:grid;gap:6px;font-size:11px;color:#778da7}.room-table-bulk select,.room-table-bulk input{border:1px solid #d5e1f0;border-radius:7px;padding:9px 11px;height:38px;background:white;color:#30537f;font:inherit;font-size:12px;max-width:260px;min-width:145px}.room-table-bulk .button{font-size:12px;min-height:38px}
.room-table-help{font-size:11px;color:#7d8ea4;padding:10px 24px;margin:0;flex-shrink:0}
.room-table-dialog .room-table-scroll{overflow:auto;flex:1;min-height:120px;overscroll-behavior:contain;border-top:1px solid #e2e9f3;position:relative}
.room-edit-table{border-collapse:separate;border-spacing:0;font-size:12px;min-width:100%;width:max-content;table-layout:fixed}
.room-edit-table th{position:sticky;top:0;z-index:3;background:var(--navy,#244d86);border-bottom:1px solid var(--navy,#244d86);padding:12px;text-align:left;font-weight:600;min-width:145px;max-width:200px;color:#fff}
.room-edit-table th span{display:block;max-width:170px;white-space:normal;line-height:1.5}.room-edit-table th small{display:block;font-weight:400;font-size:10px;color:#dce8f8;margin-top:5px}
.room-edit-table td{border-bottom:1px solid #e5ebf4;border-right:1px solid #edf1f7;padding:6px;min-width:145px;background:white}
.room-edit-table .table-input-cell{background:#f6faff}.room-edit-table .table-result-cell{padding:12px 16px;max-width:200px;white-space:normal;color:#7d8da5}
.room-edit-table input:not([type=checkbox]),.room-edit-table select{width:100%;min-width:130px;max-width:235px;font:inherit;color:#284f80;border:1px solid transparent;padding:10px 8px;min-height:38px;border-radius:5px;background:transparent}
.room-edit-table [data-column=name]{min-width:230px}.room-edit-table [data-column=systemId]{min-width:170px}
.room-edit-table input:focus,.room-edit-table select:focus{outline:2px solid #4280c4;outline-offset:-1px;background:#fff}
.room-edit-table .cell-changed{background:#fff4d9}.room-edit-table .cell-error{background:#fff0ee;box-shadow:inset 0 0 0 1px #d89189}
.room-edit-table .table-select-cell{position:sticky;left:0;width:44px;min-width:44px;max-width:44px;text-align:center;z-index:2;background:#fff;box-shadow:1px 0 #dce5f1}
.room-edit-table .table-code-cell{position:sticky;left:44px;width:135px;min-width:135px;max-width:135px;z-index:2;box-shadow:1px 0 #dce5f1}
.room-edit-table th.table-code-cell,.room-edit-table th.table-select-cell{z-index:4;background:var(--navy,#244d86)}
.room-edit-table input[type=checkbox]{width:17px;height:17px;accent-color:#2d6bb2;cursor:pointer}.room-edit-table .has-changes .table-select-cell{box-shadow:inset 3px 0 #e9bc68,1px 0 #dce5f1}
.table-pending{font-size:11px;color:#8a99ac}.room-table-error{padding:10px 24px;background:#fff0ec;color:#9b4e43;font-size:12px;flex-shrink:0}.room-table-footer{padding:14px 24px;display:flex;align-items:flex-start;gap:12px;border-top:1px solid #dce5f1;flex-shrink:0;background:white}
.room-table-footer>div:first-child{margin-right:auto;min-width:160px}.room-table-footer strong{display:block;font-size:12px}.room-table-footer small{display:block;color:#8a99ac;font-size:10px;margin-top:5px}.room-table-footer .button{font-size:12px;white-space:nowrap}.table-refresh-group{display:flex;flex-direction:column;gap:4px;text-align:center}.table-refresh-group>span{font-size:10px;color:#8798af}.room-table-dialog button:disabled{opacity:.5;cursor:not-allowed}.room-table-dialog [hidden]{display:none!important}
.table-close-warning{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 24px;background:#fff4db;font-size:12px;flex-shrink:0}.is-refreshing svg{animation:table-spin 1s linear infinite}@keyframes table-spin{to{transform:rotate(360deg)}}
.room-register-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.room-register-actions .button{font-size:11px;padding:9px 12px}.room-register-heading:has(.room-register-actions){flex-wrap:wrap}
#roomTableEmpty{padding:30px;text-align:center;font-size:13px;color:#7b8da5}
@media(max-width:850px){.room-table-footer{flex-wrap:wrap;padding:12px 16px}.room-table-footer>div:first-child{flex:1 1 180px}.room-table-header{padding:16px}.room-table-viewbar,.room-table-bulk{padding:10px 16px}.table-legend{font-size:10px}.room-table-bulk{gap:9px}.room-table-help{padding:8px 16px}.room-table-bulk select{max-width:215px}.room-table-bulk input{max-width:165px}}
@media(max-width:540px){.room-table-dialog{inset:0;width:100vw;height:100dvh;border-radius:0;border:0}.room-table-header h2{font-size:20px}.room-table-header p{font-size:10px}.room-table-viewbar{gap:8px}.room-table-bulk>strong{width:100%}.room-table-bulk label{flex:1;min-width:0}.room-table-bulk select,.room-table-bulk input{max-width:100%;width:100%;min-width:0}.room-table-help{font-size:10px}.room-table-footer .button{font-size:11px;padding:9px 10px}.table-refresh-group>span{max-width:170px}.table-close-warning{flex-wrap:wrap;padding:10px 16px}.room-edit-table th{font-size:11px}.table-legend{gap:10px}}
@media(prefers-reduced-motion:reduce){.is-refreshing svg{animation:none}}
/* One heading contract for every editable register, including upcoming sections. */
.room-register-actions{margin-left:auto;justify-content:flex-end;flex-shrink:0}
.room-register-heading:has(.room-register-actions){flex-direction:row;align-items:center}
.room-table-viewbar .room-view-tabs{max-width:100%;overflow-x:auto;flex-shrink:0}
@media(max-width:600px){.room-register-actions{align-self:flex-end}.room-register-actions .button{white-space:nowrap}}

.transfer-table-editor td.table-code-cell:not(.cell-changed):not(.cell-error){background:#e5edf7}
.transfer-table-editor th.table-code-cell{background:var(--navy,#244d86)}
.room-edit-table .transfer-direction-cell{min-width:100px;width:100px;text-align:center}
.room-first-table-editor td.table-code-cell:not(.cell-changed):not(.cell-error){background:#e5edf7;box-shadow:1px 0 #c9d6e7}
.room-first-table-editor .table-code-cell{width:170px;min-width:170px;max-width:170px}
.room-first-table-editor [data-column=roomName]{min-width:210px;max-width:235px;font-weight:400}
