/* HTML TABLE GENERATOR v1.1.0 — locally scoped controls; other modules unchanged */
.ydl-w5-tg .ydl-w5-tg-title-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.ydl-w5-tg .ydl-w5-tg-editorbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:17px 0 0}
.ydl-w5-tg .ydl-w5-tg-editorbar strong{color:#fff;font-size:.91rem}
.ydl-w5-tg .ydl-w5-tg-editorbar span{font-size:.76rem;color:#b8d3de}
.ydl-w5-tg .ydl-w5-tg-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ydl-w5-tg .ydl-w5-tg-fieldset{min-width:0;margin:0;padding:14px;border:1px solid #355265;border-radius:13px;background:#081c29}
.ydl-w5-tg .ydl-w5-tg-fieldset legend{padding:0 6px;color:#9ee9f7;font-size:.86rem;font-weight:800}
.ydl-w5-tg .ydl-w5-tg-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ydl-w5-tg .ydl-w5-tg-controls label{display:grid;gap:6px;min-width:0;color:#d4eaf3;font-size:.8rem}
.ydl-w5-tg .ydl-w5-tg-controls select,.ydl-w5-tg .ydl-w5-tg-custom select{width:100%;padding:8px 9px;min-height:43px;background:#06141f!important;border:1px solid #416477!important;color:#fff!important;border-radius:9px}
.ydl-w5-tg .ydl-w5-tg-controls input[type=color]{min-height:43px;cursor:pointer}
.ydl-w5-tg .ydl-w5-tg-details{margin-top:18px;background:#0b2330;border:1px solid #355265;border-radius:13px;overflow:hidden}
.ydl-w5-tg .ydl-w5-tg-details summary{cursor:pointer;color:#e9f8fd;font-weight:800;padding:14px 16px;list-style-position:inside}
.ydl-w5-tg .ydl-w5-tg-details summary:hover{background:#123747}
.ydl-w5-tg .ydl-w5-tg-detail-body{padding:14px}
.ydl-w5-tg .ydl-w5-tg-current{display:inline-block;background:#194357;border:1px solid #497a8b;border-radius:9px;padding:8px 12px;color:#fff;font-size:.82rem;margin:0}
.ydl-w5-tg .ydl-w5-tg-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.ydl-w5-tg .ydl-w5-tg-custom{display:grid;grid-template-columns:18px minmax(0,1fr) 96px;gap:8px;align-items:center;color:#daeef5;font-size:.79rem;margin:11px 0}
.ydl-w5-tg .ydl-w5-tg-custom input[type=color]{min-width:0;width:96px}
.ydl-w5-tg .ydl-w5-tg-custom select{max-width:96px}
.ydl-w5-tg .ydl-w5-tg-reset{width:100%;margin-top:6px;font-size:.76rem!important}
.ydl-w5-tg .ydl-w5-edit-table{width:max-content;min-width:100%;table-layout:auto!important}
.ydl-w5-tg .ydl-w5-edit-table th.ydl-w5-tg-rownum{width:42px;min-width:42px;padding:8px!important;color:#cee7f0!important;background:#0d3346!important;text-align:center!important;font-size:.76rem!important;vertical-align:middle}
.ydl-w5-tg .ydl-w5-edit-table td{min-width:135px;position:relative;vertical-align:middle}
.ydl-w5-tg .ydl-w5-edit-table td.is-selected{background:#134257!important;box-shadow:inset 0 0 0 2px #74e8f8}
.ydl-w5-tg .ydl-w5-edit-table td.has-custom:after{content:'●';position:absolute;right:5px;top:1px;color:#78f4dc;font-size:8px;pointer-events:none}
.ydl-w5-tg .ydl-w5-edit-table input{display:block;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
.ydl-w5-tg .ydl-w5-tg-preview{border:1px solid #a2bdce;border-radius:11px;background:#fff;overflow:hidden;max-width:100%;min-height:225px}
.ydl-w5-tg .ydl-w5-tg-preview iframe{width:100%;height:300px;display:block;border:0;background:#fff;color:#1f3444}
@media(max-width:950px){.ydl-w5-tg .ydl-w5-tg-settings-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.ydl-w5-tg .ydl-w5-tg-title-row,.ydl-w5-tg .ydl-w5-tg-custom-grid,.ydl-w5-tg .ydl-w5-tg-controls{grid-template-columns:minmax(0,1fr)}.ydl-w5-tg .ydl-w5-tg-custom{grid-template-columns:18px minmax(0,1fr) 94px}.ydl-w5-tg .ydl-w5-tg-fieldset{padding:10px}.ydl-w5-tg .ydl-w5-tg-detail-body{padding:11px}.ydl-w5-tg .ydl-w5-tg-preview iframe{min-height:240px}}
