.ql-sim{--ql-navy:#16304f;--ql-acc:#2563a8;--ql-ink:#1b2532;--ql-mute:#69707e;--ql-line:#e2e6eb;--ql-soft:#f5f7f9;--ql-green:#17915a;--ql-amber:#c58500;--ql-red:#c73b2c;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ql-ink);max-width:800px;margin:32px auto;border:1px solid var(--ql-line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 24px rgba(22,48,79,.11);line-height:1.45}
.ql-sim *{box-sizing:border-box}
.ql-sim .ql-head{background:var(--ql-navy);color:#fff;padding:20px 22px;position:relative}
.ql-sim .ql-head:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,var(--ql-acc),#8fc2f0)}
.ql-sim .ql-kicker{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#8fc2f0;font-weight:700;margin:4px 0}
.ql-sim .ql-title{font-size:22px;font-weight:800;margin:0 0 4px;color:#fff;line-height:1.2}
.ql-sim .ql-sub{font-size:14px;color:#bdc8d6;margin:0}
.ql-sim .ql-inputs{padding:16px 22px 12px;background:var(--ql-soft);border-bottom:1px solid var(--ql-line)}
.ql-sim label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.ql-sim .ql-hint{font-weight:400;color:var(--ql-mute)}
.ql-sim input{width:100%;padding:9px 10px;border:1px solid #ccd3da;border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:var(--ql-ink)}
.ql-sim input:focus{outline:2px solid var(--ql-acc);outline-offset:0;border-color:var(--ql-acc)}
.ql-sim table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.ql-sim .ql-in th{text-align:left;font-size:12px;color:var(--ql-mute);font-weight:600;padding:5px 4px;border-bottom:1px solid var(--ql-line)}
.ql-sim .ql-in td{padding:4px;border-bottom:1px solid var(--ql-line)}
.ql-sim .ql-in tr:last-child td{border-bottom:0}
.ql-sim .ql-btn{background:var(--ql-navy);color:#fff;border:0;border-radius:8px;padding:8px 13px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;margin-top:10px}
.ql-sim .ql-x{background:none;border:0;color:var(--ql-mute);font-size:18px;cursor:pointer;padding:2px 6px;line-height:1}
.ql-sim .ql-tabs{display:flex;gap:4px;padding:14px 22px 0;overflow-x:auto;border-bottom:1px solid var(--ql-line)}
.ql-sim .ql-tab{background:transparent;border:0;border-bottom:3px solid transparent;color:var(--ql-mute);font-size:14px;font-weight:700;line-height:1.2;font-family:inherit;padding:10px 12px;cursor:pointer;white-space:nowrap}
.ql-sim .ql-tab[aria-selected="true"]{color:var(--ql-navy);border-bottom-color:var(--ql-acc)}
.ql-sim .ql-panel{padding:18px 22px 8px;display:none}
.ql-sim .ql-panel.ql-on{display:block}
.ql-sim .ql-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ql-sim .ql-stat{background:#fff;border:1px solid var(--ql-line);border-radius:8px;padding:10px 12px}
.ql-sim .ql-stat b{display:block;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
.ql-sim .ql-stat span{font-size:12px;color:var(--ql-mute)}
.ql-sim .ql-out th{text-align:left;font-size:12px;color:var(--ql-mute);font-weight:600;padding:8px 10px;background:var(--ql-soft);border-bottom:1px solid var(--ql-line)}
.ql-sim .ql-out td{padding:7px 10px;border-bottom:1px solid var(--ql-line);font-variant-numeric:tabular-nums}
.ql-sim .ql-out{margin-top:14px;border:1px solid var(--ql-line);border-radius:8px;overflow:hidden}
.ql-sim .ql-out tr:last-child td{border-bottom:0}
.ql-sim .ql-out td:first-child{font-variant-numeric:normal;font-weight:600}
.ql-sim .ql-num{text-align:right}
.ql-sim .ql-bar{height:7px;background:var(--ql-line);border-radius:4px;overflow:hidden;margin-top:5px;min-width:60px}
.ql-sim .ql-bar i{display:block;height:100%;background:var(--ql-acc);transition:width .3s}
.ql-sim .ql-tag{display:inline-block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;padding:2px 6px;border-radius:5px;color:#fff;background:var(--ql-mute)}
.ql-sim .ql-tag.ql-g{background:var(--ql-green)}.ql-sim .ql-tag.ql-a{background:var(--ql-amber)}.ql-sim .ql-tag.ql-r{background:var(--ql-red)}
.ql-sim .ql-spark{display:flex;align-items:flex-end;gap:2px;height:96px;margin:16px 0 4px}
.ql-sim .ql-spark i{flex:1;background:#cfe0f2;border-radius:2px 2px 0 0;min-height:1px;transition:height .25s}
.ql-sim .ql-spark i.ql-hot{background:var(--ql-acc)}
.ql-sim .ql-sparklab{font-size:12px;color:var(--ql-mute);display:flex;justify-content:space-between}
.ql-sim .ql-note{font-size:14px;margin:14px 0 0}
.ql-sim .ql-meta{font-size:12px;color:var(--ql-mute);margin:14px 0 0;padding-top:12px;border-top:1px solid var(--ql-line)}
.ql-sim .ql-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:14px 22px;border-top:1px solid var(--ql-line);background:#fafbfc}
.ql-sim .ql-cta{display:inline-block;background:var(--ql-acc);color:#fff!important;text-decoration:none!important;font-weight:700;font-size:14px;padding:11px 16px;border-radius:8px}
.ql-sim .ql-cta:hover{filter:brightness(1.07)}
.ql-sim .ql-rg{font-size:12px;color:var(--ql-mute);max-width:420px}
.ql-sim .ql-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:4px}
@media (max-width:560px){.ql-sim .ql-stats{grid-template-columns:1fr 1fr}.ql-sim .ql-grid3{grid-template-columns:1fr}.ql-sim .ql-title{font-size:19px}.ql-sim .ql-panel,.ql-sim .ql-head,.ql-sim .ql-inputs,.ql-sim .ql-tabs{padding-left:14px;padding-right:14px}.ql-sim table{font-size:13px}.ql-sim .ql-out th,.ql-sim .ql-out td{padding-left:6px;padding-right:6px}.ql-sim .ql-cta{width:100%;text-align:center}}

/* --- Einbettung & Mobile --- */
.ql-sim{contain:inline-size;width:100%;min-width:0;max-width:min(800px,100%)}
.ql-sim .ql-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.ql-sim .ql-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ql-sim .ql-stats>*,.ql-sim .ql-grid3>*{min-width:0}
.ql-sim .ql-stat b{overflow-wrap:anywhere}
.ql-sim .ql-tw{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ql-sim .ql-tw table{min-width:440px}
.ql-sim .ql-out{overflow-x:auto}
.ql-sim .ql-out table{min-width:480px}
.ql-sim .ql-in td input{min-width:0}
@media (max-width:560px){.ql-sim .ql-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ql-sim .ql-grid3{grid-template-columns:minmax(0,1fr)}}

/* --- Schutz vor Theme-Stilen (article * { color; font-family; font-weight … }) --- */
.ql-sim.ql-sim *{color:inherit;font-family:inherit;font-weight:inherit;letter-spacing:normal;text-transform:none;line-height:inherit}
.ql-sim.ql-sim{color:var(--ql-ink);font-weight:400;letter-spacing:normal;text-transform:none}
.ql-sim.ql-sim b,.ql-sim.ql-sim strong{font-weight:700}
.ql-sim .ql-head{color:#fff}
.ql-sim .ql-head .ql-title{color:#fff;font-weight:800}
.ql-sim .ql-head .ql-sub{color:#bdc8d6}
.ql-sim .ql-head .ql-kicker{color:#8fc2f0;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.ql-sim.ql-sim label{color:var(--ql-ink);font-weight:600}
.ql-sim.ql-sim .ql-hint{color:var(--ql-mute);font-weight:400}
.ql-sim.ql-sim th{color:var(--ql-mute);font-weight:600}
.ql-sim.ql-sim td,.ql-sim .ql-panel,.ql-sim .ql-note{color:var(--ql-ink)}
.ql-sim .ql-out td:first-child{font-weight:600}
.ql-sim .ql-tabs .ql-tab{color:var(--ql-mute);font-weight:700}
.ql-sim .ql-tabs .ql-tab[aria-selected="true"]{color:var(--ql-navy)}
.ql-sim .ql-stat b{font-weight:800}
.ql-sim .ql-stat span,.ql-sim .ql-sparklab,.ql-sim .ql-meta,.ql-sim .ql-foot .ql-rg,.ql-sim .ql-x{color:var(--ql-mute)}
.ql-sim .ql-inputs .ql-btn,.ql-sim .ql-foot .ql-cta{color:#fff;font-weight:700}
.ql-sim .ql-out .ql-tag{color:#fff;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.ql-sim.ql-sim input{color:var(--ql-ink);font-weight:400}