/* Iframe content stays inside its saved maximum width and the current column. */
.nc2-iframe { box-sizing:border-box; width:100%; min-width:0; margin-inline:auto; }
.nc2-iframe__frame { display:block; box-sizing:border-box; width:100%; max-width:100%; border:0; background:#fff; }
.nc2-iframe__frame--border { border:1px solid #7b8b9e; border-radius:4px; }
.nc2-iframe__toolbar { display:flex; justify-content:flex-end; margin-bottom:6px; }
.nc2-iframe__toolbar a { display:inline-flex; align-items:center; min-height:36px; padding:4px 8px; text-decoration:underline; }
.nc2-iframe__status,.nc2-iframe__help,.nc2-iframe-edit__hint { color:#455269; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.nc2-iframe__status { margin:4px 0 8px; }
.nc2-iframe__help { margin-top:10px; }
.nc2-iframe__help summary,.nc2-iframe-edit__options summary { cursor:pointer; min-height:36px; padding:5px 0; }
.nc2-iframe__warning,.nc2-iframe-edit__error { padding:12px; color:#8b2632; border:1px solid #b96d78; background:#fff2f3; overflow-wrap:anywhere; }
.nc2-iframe-edit { box-sizing:border-box; width:100%; max-width:800px; padding:14px; }
.nc2-iframe-edit label { color:inherit; }
.nc2-iframe-edit__url { display:grid; gap:6px; font-weight:bold; }
.nc2-iframe-edit input[type=text],.nc2-iframe-edit input[type=number] { box-sizing:border-box; min-width:0; min-height:40px; padding:7px; border:1px solid #7b8b9e; border-radius:4px; background:#fff; color:#253449; font:inherit; }
.nc2-iframe-edit input[type=text] { width:100%; }
.nc2-iframe-edit input[type=number] { width:110px; margin-inline:6px; }
.nc2-iframe-edit__dimensions { display:flex; flex-wrap:wrap; gap:12px; margin-block:8px; }
.nc2-iframe-edit__dimensions label { display:flex; align-items:center; }
.nc2-iframe-edit fieldset { margin:10px 0; padding:8px 12px; border:1px solid #c3ccd8; }
.nc2-iframe-edit fieldset label { display:inline-flex; align-items:center; min-height:36px; gap:5px; margin-right:18px; }
.nc2-iframe-edit__actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:16px; }
.nc2-iframe-edit__actions button { min-height:40px; }
.nc2-iframe-edit :focus-visible,.nc2-iframe :focus-visible { outline:2px solid #1b65a4; outline-offset:2px; }
@media(max-width:700px) { .nc2-iframe-edit { padding:8px; } .nc2-iframe__toolbar a,.nc2-iframe__help summary,.nc2-iframe-edit__options summary,.nc2-iframe-edit__actions button { min-height:44px; } }
@media print { .nc2-iframe__toolbar,.nc2-iframe__status,.nc2-iframe__help { display:none; } }
