.table-page{max-width:1600px;margin:auto;padding:24px;min-width:0}.table-actions,.table-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.table-tabs{margin-bottom:12px}.table-tabs [aria-selected=true]{background:#063957;color:white;border:3px solid #00c7db}.table-scroll{overflow:auto;max-height:65vh;min-height:180px;border:2px solid #0796bc;border-radius:12px;background:white;overscroll-behavior:contain}#questionTable{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;white-space:nowrap}#questionTable th{position:sticky;top:0;z-index:2;background:#063957;color:white;text-align:left;padding:12px}#questionTable td{border-bottom:1px solid #c5d8e2;border-right:1px solid #dce7ef;padding:5px;white-space:nowrap}#questionTable tr:nth-child(even){background:#edf8ff}#questionTable textarea,#questionTable select{margin:0;width:240px;height:44px;min-height:44px;max-height:44px;padding:8px;resize:none;font:inherit;white-space:pre;overflow:auto;overflow-wrap:normal;word-break:normal;line-height:24px;border:1px solid #b9ccd8;border-radius:5px}#questionTable textarea:focus{outline:3px solid #00a9c5}#questionTable td[data-changed=true]{background:#fff2a9}#tableStatus[data-error=true]{color:#a51c3b;font-weight:700}#tablePreview{width:min(850px,90vw);max-height:85vh;overflow:auto;border:3px solid #00baca;border-radius:16px}#tablePreview img{max-width:100%;height:auto}#tablePreviewBody{overflow-wrap:anywhere}@media(max-width:700px){.table-page{padding:12px}.table-scroll{max-height:60vh}.table-actions button{width:100%}}
#questionTable td:nth-child(3) textarea,#questionTable td:nth-last-child(3) textarea{width:400px}
#questionTable textarea{line-height:30px} .table-page>header{display:block} .table-page>header h1{margin:16px 0}

/* Keep the one-line cells readable; the outer table retains its scrollbars. */
#questionTable textarea{scrollbar-width:none;padding:8px;line-height:26px}#questionTable textarea::-webkit-scrollbar{display:none}

#questionTable tbody tr{cursor:pointer}#tableRowEditor{width:min(760px,92vw);max-height:85vh;overflow:auto;border:3px solid #00baca;border-radius:16px;padding:24px}#tableRowEditor::backdrop{background:#05283d99}#tableRowEditor label{display:block;font-weight:700;margin-top:14px}#tableRowEditor textarea{display:block;width:100%;min-height:44px;resize:vertical;line-height:1.5}#tableRowEditor select{width:100%}#tableRowEditor h2{margin-top:0}
