/* V19 isolated styles - no global selectors altering V18.2 */
.ym19-studio{--ym19-main:#075f62;--ym19-ink:#19324b;--ym19-line:#d7e3e5;--ym19-bg:#f5fafa;color:var(--ym19-ink);font-family:inherit;display:grid;gap:17px;direction:rtl}
.ym19-studio *{box-sizing:border-box}
.ym19-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;background:linear-gradient(110deg,#11304b,#087d76);color:#fff;border-radius:20px;padding:25px 28px;box-shadow:0 12px 30px #053f551c}
.ym19-hero h2{color:#fff;font-size:clamp(1.4rem,2.5vw,2.1rem);margin:5px 0 7px}.ym19-hero p{margin:0;color:#e2f5f3}.ym19-eyebrow{font-size:.78rem;color:#c1e7d2;font-weight:700;letter-spacing:.5px}
.ym19-pill{border:1px solid #ffffff6a;background:#ffffff22;padding:8px 13px;border-radius:100px;font-size:.8rem;font-weight:700;white-space:nowrap}
.ym19-notice{background:#f1f8f1;border:1px solid #cae7cf;border-right:4px solid #379576;border-radius:12px;line-height:1.85;padding:11px 16px}
.ym19-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;border:1px solid var(--ym19-line);padding:15px;border-radius:16px;background:white}
.ym19-controls label,.ym19-card label{display:grid;gap:6px;font-weight:700;font-size:.9rem}.ym19-controls input,.ym19-controls select,.ym19-card textarea,.ym19-card select,.ym19-card input:not([type="checkbox"]):not([type="color"]):not([type="range"]):not([type="file"]){padding:10px;border:1px solid #cddcde;background:#fff;border-radius:10px;min-width:0;font:inherit;color:#1b354a;max-width:100%;width:100%}
.ym19-controls select{min-height:45px}.ym19-digits-preview{font-weight:800;color:#076962;direction:auto;display:block;grid-column:1/-1;font-size:1.05rem}
.ym19-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--ym19-line);padding-bottom:10px}
.ym19-tabs button{font:inherit;border:1px solid #cfdee2;background:#fff;color:#28506a;padding:10px 15px;border-radius:12px;cursor:pointer;font-weight:750;transition:background .12s,border-color .12s}
.ym19-tabs button:hover{border-color:#08746d}.ym19-tabs button.is-active{background:#076e65;color:#fff;border-color:#076e65}
.ym19-card{border:1px solid var(--ym19-line);border-radius:17px;background:#fff;padding:clamp(14px,2.8vw,27px);box-shadow:0 4px 24px #081b2611;display:grid;gap:14px}.ym19-card h3{font-size:1.35rem;margin:0;color:#16435b}.ym19-card>p{line-height:1.8;margin:0}.ym19-muted{color:#65788b;font-size:.89rem}
.ym19-card textarea{resize:vertical;min-height:85px;line-height:1.85}.ym19-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ym19-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:2px 0}.ym19-actions button{min-height:39px}.ym19-actions label{display:inline-flex;gap:8px;align-items:center}.ym19-actions input[type="color"]{width:38px;height:30px;vertical-align:middle}.ym19-actions input[type="range"]{width:86px}
.ym19-card #v19Status{padding:8px 0;color:#007168;font-weight:600}.ym19-list{display:grid;gap:8px;max-height:430px;overflow-y:auto}.ym19-question{border:1px solid #dde8ea;background:#fcffff;padding:12px;border-radius:12px;display:flex!important;align-items:flex-start;gap:12px;cursor:pointer}.ym19-question input{margin-top:5px;flex-shrink:0}.ym19-question span{display:grid;gap:6px}.ym19-question small{font-size:.8rem;color:#697c8d;font-weight:400;line-height:1.7}
.ym19-symbols{display:flex;flex-wrap:wrap;gap:7px}.ym19-symbols button,.ym19-mini-math button{cursor:pointer;background:#eef8f7;border:1px solid #beddd9;border-radius:8px;padding:7px 13px;color:#075d64;min-width:38px;font:600 1rem Arial,Tahoma,sans-serif}.ym19-symbols button:hover,.ym19-mini-math button:hover{background:#d9f0eb}.ym19-math-preview{background:#f7fbfe;border:1px solid #d7e8ec;padding:16px;border-radius:12px;min-height:65px;white-space:pre-wrap;direction:auto;font-size:1.25rem;font-family:Arial,Tahoma,sans-serif}
.ym19-canvas-wrap{border:1px dashed #a9c7cb;border-radius:14px;overflow:hidden;background:#fafafa;max-width:100%;padding:4px}.ym19-canvas-wrap canvas{display:block;max-width:100%;width:100%;height:auto;background:#fff;cursor:crosshair;touch-action:none}.ym19-canvas-wrap #v19PdfHint{padding:5px;font-size:.85rem;color:#567}.ym19-crop-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px;border:1px solid #e2e8ef;border-radius:9px}
.ym19-report pre{overflow:auto;white-space:pre-wrap;direction:ltr;text-align:left;background:#f6f9fa;padding:14px;border-radius:10px;font-size:.82rem}.ym19-mini-math{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:7px 0}.ym19-mini-math strong{font-size:.75rem;margin-inline-end:5px}
@media(max-width:780px){.ym19-controls{grid-template-columns:1fr}.ym19-two{grid-template-columns:1fr}.ym19-tabs button{flex:1 1 auto}.ym19-card{padding:14px}.ym19-hero{padding:18px}.ym19-hero h2{font-size:1.5rem}}
/* Safe local thumbnail review for manually cropped questions */
.ym19-crop-preview{max-width:148px;max-height:84px;object-fit:contain;background:#fff;border:1px solid #e3e8ec;border-radius:8px;flex:0 0 auto}
@media(max-width:620px){.ym19-crop-item{flex-wrap:wrap}.ym19-crop-preview{max-width:100%;width:110px}}
