/* TVO Build 13 Patch 22 — Advanced OCR 1.2 layout repair. */
.tvo22-add-menu{display:inline-block;position:relative;vertical-align:middle}.tvo22-add-menu>summary{cursor:pointer;list-style:none;border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:7px 10px;background:var(--panel,#fff);font-weight:700}.tvo22-add-menu>summary::-webkit-details-marker{display:none}.tvo22-add-pop{position:absolute;z-index:180;left:0;top:calc(100% + 5px);min-width:220px;display:grid;gap:6px;padding:8px;background:var(--panel,#fff);border:1px solid var(--line,#cbd5e1);border-radius:10px;box-shadow:0 14px 36px rgba(15,23,42,.18)}.cloud-file-actions .tvo22-add-menu{align-self:center}.cloud-file-actions .tvo22-add-pop{white-space:nowrap}
.tvo22-overlay[hidden]{display:none!important}.tvo22-overlay{position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.58);display:flex;align-items:stretch;justify-content:flex-end;overflow:hidden}.tvo22-panel{--tvo22-bg:var(--panel,#fff);--tvo22-line:var(--line,#d7dee8);--tvo22-soft:#f7f9fc;width:min(1460px,100vw);max-width:100vw;height:100vh;height:100dvh;min-height:0;overflow:hidden;background:var(--tvo22-bg);color:var(--ink,#172033);box-shadow:-18px 0 60px rgba(0,0,0,.22);display:grid;grid-template-rows:auto auto minmax(0,1fr);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.tvo22-panel>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid var(--tvo22-line);background:var(--tvo22-bg);z-index:2}.tvo22-panel .eyebrow{display:block;font:800 11px/1.2 ui-sans-serif,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#9a3412}.tvo22-panel h1{margin:4px 0 0;font:750 25px/1.1 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.02em}.tvo22-close{font-size:25px;line-height:1;min-width:44px;min-height:44px;border-radius:11px}.tvo22-controls{padding:10px 18px 11px;border-bottom:1px solid var(--tvo22-line);background:var(--tvo22-soft);max-height:42vh;overflow:auto}.tvo22-filename{margin-left:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.tvo22-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px 12px;margin-top:10px}.tvo22-grid label,.tvo22-save label,.tvo22-editors label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:750}.tvo22-grid input,.tvo22-grid select,.tvo22-save input{min-width:0}.tvo22-panel button,.tvo22-panel input,.tvo22-panel select,.tvo22-panel textarea{font:inherit}.tvo22-panel button{border-radius:9px}.tvo22-run{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:10px}.tvo22-consent{display:flex;align-items:flex-start;gap:6px;max-width:680px;font-size:12px;line-height:1.35}.tvo22-consent input{margin-top:2px;flex:none}.tvo22-hint{font-size:12px;line-height:1.35;opacity:.76;margin:7px 0 0}.tvo22-statusbox{margin-top:8px;border:1px solid var(--tvo22-line);border-left-width:4px;border-radius:9px;background:var(--tvo22-bg);padding:8px 10px;max-height:7.5em;overflow:auto}.tvo22-statusbox p{margin:0;font-size:13px;line-height:1.35}.tvo22-statusbox[data-kind="error"]{border-left-color:#b42318;background:#fff6f5}.tvo22-statusbox[data-kind="warning"]{border-left-color:#b45309;background:#fff8eb}.tvo22-statusbox[data-kind="success"]{border-left-color:#15803d;background:#f3fbf5}.tvo22-statusbox[data-kind="working"]{border-left-color:#1d4ed8;background:#f3f7ff}.tvo22-statusbox details{margin-top:6px;font-size:11px}.tvo22-statusbox summary{cursor:pointer;font-weight:700}.tvo22-statusbox pre{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace}.tvo22-body{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(430px,1.1fr);min-height:0;height:100%;overflow:hidden}.tvo22-source{border-right:1px solid var(--tvo22-line);min-height:0;background:#e8edf4;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:10px}.tvo22-source iframe{width:100%;height:100%;min-height:480px;border:0;background:white}.tvo22-source img{max-width:100%;height:auto;background:white;box-shadow:0 2px 14px rgba(0,0,0,.15)}.tvo22-review{padding:14px 16px 14px;min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}.tvo22-review h2{margin:0 0 6px;font:750 22px/1.2 ui-sans-serif,system-ui,sans-serif}.tvo22-flags{max-height:105px;overflow:auto;padding-left:20px;margin:6px 0 10px;font-size:12px;line-height:1.4}.tvo22-editors{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:0}.tvo22-editors label{min-height:0}.tvo22-editors textarea{flex:1}.tvo22-editors textarea{box-sizing:border-box;width:100%;min-height:0;height:100%;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.tvo22-save{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin-top:11px}.tvo22-save label{min-width:170px;flex:1}.tvo22-save button{min-height:36px}.tvo22-ai-suggest{outline:2px solid rgba(29,78,216,.28);outline-offset:2px}
@media(max-width:900px){.tvo22-panel{width:100vw}.tvo22-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tvo22-controls{max-height:46vh}.tvo22-body{grid-template-columns:1fr;overflow:auto}.tvo22-source{overflow:visible;border-right:0;border-bottom:1px solid var(--tvo22-line);min-height:340px}.tvo22-source iframe{min-height:420px;height:52vh}.tvo22-review{display:block;overflow:visible}.tvo22-editors{grid-template-columns:1fr}.tvo22-editors textarea{min-height:240px;height:auto}}
@media(max-height:720px) and (min-width:901px){.tvo22-panel>header{padding-top:10px;padding-bottom:10px}.tvo22-panel h1{font-size:22px}.tvo22-controls{max-height:45vh;padding-top:8px;padding-bottom:8px}.tvo22-flags{max-height:58px}}

.tvo22-pages-choice{display:grid;grid-template-columns:minmax(90px,1fr) auto;gap:8px;align-items:center}.tvo22-all-pages{display:flex!important;flex-direction:row!important;align-items:center;gap:4px;white-space:nowrap;font-weight:650!important}.tvo22-all-pages input{width:auto!important;margin:0}.tvo22-pages-choice>input:disabled{opacity:.58;background:#eef2f7}
