/* A táblázat a cikk szélességén belül marad, mobilon görgethető. */
.nd-table-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;margin:1.2rem auto;overscroll-behavior-x:contain}
.nd-table{border-collapse:collapse;width:100%;margin:0 auto;color:inherit;font-size:inherit;line-height:1.55}
.nd-table caption{caption-side:top;text-align:center!important;font-size:1.25em;font-weight:700;padding:0 0 16px;color:inherit}
.nd-table th,.nd-table td{border:1px solid #64748b66;padding:12px 16px;min-width:120px;vertical-align:top;overflow-wrap:anywhere}
.nd-table th{text-align:center!important;background:#64748b22;font-weight:700}
.nd-table td{text-align:left}.nd-table td p{margin:0 0 .5em}.nd-table td p:last-child{margin-bottom:0}
.nd-table tbody tr:nth-child(even){background:#64748b0d}
a[data-nd-quest]{color:#d5b66c!important;text-decoration:underline dotted;text-underline-offset:4px;cursor:pointer}
.nd-table-scroll:focus-visible,a[data-nd-quest]:focus-visible{outline:2px solid #d5b66c;outline-offset:3px}
.nd-quest-popup{position:fixed;z-index:2147483000;box-sizing:border-box;width:440px;max-width:calc(100vw - 24px);max-height:min(70vh,600px);overflow:auto;padding:42px 22px 22px;border:1px solid #b99c56;border-radius:12px;background:#17212c;color:#f0f2f5;box-shadow:0 12px 50px #0009;font:16px/1.65 system-ui,sans-serif;text-align:left}
.nd-quest-popup[hidden]{display:none!important}.nd-quest-text{white-space:pre-wrap;overflow-wrap:anywhere}
.nd-quest-close{position:absolute;right:6px;top:3px;width:38px;height:38px;border:0;border-radius:6px;background:transparent;color:#fff;font:30px/1 system-ui;cursor:pointer}
.nd-quest-close:hover,.nd-quest-close:focus-visible{background:#ffffff22}
.nd-table-editor label{display:block;margin:8px 0;font-weight:600}.nd-table-editor input{max-width:100%;box-sizing:border-box}
.nd-table-editor .nd-table-title{width:100%;text-align:center}.nd-table-editor .nd-table th input{width:100%;min-width:90px;text-align:center}
.nd-table-editor .nd-table td{padding:5px}.nd-table-cell{min-height:46px;padding:8px;outline-offset:-2px;white-space:normal}
.nd-table-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.nd-table-controls input[type=number]{width:85px}
.nd-table-editor button,.nd-quest-editor button{cursor:pointer;padding:8px 12px;border-radius:6px}
.nd-table-help{font-size:13px;opacity:.8;line-height:1.5}.nd-table-editor .nd-remove{font-size:11px;padding:3px 6px;margin-top:6px}
.nd-table-editor .nd-table th.nd-row-tools,.nd-table-editor .nd-table td.nd-row-tools{min-width:42px;width:42px;padding:4px;text-align:center}
.nd-quest-editor{box-sizing:border-box;width:560px;max-width:calc(100vw - 24px);max-height:90vh;overflow:auto;padding:24px;background:#17212c;color:#f0f2f5;border:1px solid #b99c56;border-radius:12px;font:16px/1.5 system-ui;z-index:2147483001}
.nd-quest-editor::backdrop{background:#0009}.nd-quest-editor label{display:block;margin:12px 0}.nd-quest-editor input,.nd-quest-editor textarea{box-sizing:border-box;display:block;width:100%;background:#0b121a;color:#fff;border:1px solid #64748b;padding:10px;border-radius:5px;font:inherit}.nd-quest-editor textarea{min-height:230px;resize:vertical}.nd-quest-actions{display:flex;gap:8px;flex-wrap:wrap}.nd-quest-error{color:#ffb6b6}
@media(max-width:600px){.nd-table th,.nd-table td{padding:9px 11px;min-width:115px}.nd-quest-popup{max-height:75vh}.nd-table-controls{gap:6px}}

.nd-table-wrap{width:100%;max-width:100%;min-width:0;margin:1.2rem auto}.nd-table-wrap .nd-table-scroll{margin:0 auto}.nd-table-caption{text-align:center!important;font-size:1.25em;font-weight:700;padding-bottom:16px;overflow-wrap:anywhere}.nd-table caption.nd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.nd-table-editor input{display:block;background:#10171f;color:#e8edf3;border:1px solid #3e4b5b;border-radius:6px;padding:9px 10px;font:inherit;line-height:1.35;margin-top:6px}.nd-table-editor input:focus{outline:2px solid #c8a95f;outline-offset:1px}.nd-table-editor button,.nd-quest-editor button{background:#222d39;color:#f0f2f5;border:1px solid #596676;font:inherit;font-size:13px;line-height:1.35}.nd-table-editor button:hover,.nd-quest-editor button:hover{background:#344152;border-color:#c8a95f}.nd-table-controls label{font-size:13px;margin:6px 0}.nd-table-editor .nd-remove{font-size:11px}.nd-quest-actions button:first-child{background:#c8a95f;color:#10171f;border-color:#c8a95f;font-weight:700}

#article-builder-canvas .nd-table-cell{user-select:text!important;-webkit-user-select:text!important;pointer-events:auto!important;cursor:text;position:relative}
#article-builder-canvas .nd-table-cell:focus{outline:2px solid #c8a95f!important;background:#c8a95f0a}
.ab-rich-toolbar{max-width:calc(100vw - 16px);flex-wrap:wrap}

/* NERDIUM_MOBILE_TABLE_V3 */
.nd-table-swipe-hint,.nd-table-expand{display:none}
@media(max-width:650px){
 .nd-mobile-table{min-width:0;max-width:100%;scroll-margin-top:80px}
 .nd-mobile-table .nd-table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .nd-mobile-table .nd-table{font-size:14px;line-height:1.45;width:max-content;min-width:100%;table-layout:auto}
 .nd-mobile-table .nd-table th,.nd-mobile-table .nd-table td{padding:8px 10px!important;min-width:100px;max-width:260px;overflow-wrap:normal;word-break:normal}
 .nd-mobile-table .nd-table th:nth-child(1),.nd-mobile-table .nd-table td:nth-child(1),.nd-mobile-table .nd-table th:nth-child(2),.nd-mobile-table .nd-table td:nth-child(2){min-width:155px}
 .nd-mobile-table.nd-table-collapsed .nd-table tbody>tr:nth-child(n+4){display:none}
 .nd-table-swipe-hint.nd-has-overflow{display:block;margin:0 0 10px;text-align:center;color:#c8a95f;font-size:12px;line-height:1.4}
 .nd-table-expand{display:block;min-height:44px;width:100%;margin:12px 0 0;padding:10px 14px;border:1px solid #c8a95f;border-radius:7px;background:#17212c;color:#e8edf3;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
 .nd-table-expand:focus-visible{outline:2px solid #c8a95f;outline-offset:3px}
}
