/* Verba Pro: additive presentation layer. Keep this LAST in the cascade. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
:root{--pro-purple:#6936d8;--pro-ink:#171923;--pro-muted:#667085;--pro-line:#dce1e9;--pro-soft:#f7f8fa;--pro-tint:#f3effc;--pro-green:#149766;--pro-yellow:#e4b51b;--pro-orange:#ed8b20;--pro-red:#d93946}
html{background:#fff!important;scroll-behavior:smooth}body{background:#fff!important;color:var(--pro-ink)!important;font-family:Inter,'Noto Sans Thai',sans-serif!important;margin:0}*{box-sizing:border-box}button,input,select,textarea{font-family:inherit!important}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bba3ec!important;outline-offset:3px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #9568e0!important;outline-offset:1px}
body [hidden]{display:none!important}.shell{display:block!important;max-width:none!important;min-height:100dvh}.shell>aside{position:static!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:#fff!important;overflow:visible!important}.side-label,.side-bottom,.eyebrow,.decor,.below,.result-label,.language-flag,.mini-icon{display:none!important}.brand{position:absolute!important;left:28px!important;top:10px!important;margin:0!important;padding:0!important;width:140px!important;height:46px!important;z-index:20}.brand img{display:block!important;position:static!important;width:140px!important;height:46px!important;object-fit:contain!important}.vb-premium-badge,#vbPremiumBadge,.vb-premium{display:none!important}.shell>main{min-width:0!important;margin:0!important;padding:0!important;width:100%!important}.shell>main>header{height:68px!important;min-height:68px!important;padding:0 28px 0 190px!important;border-bottom:1px solid var(--pro-line)!important;background:#fff!important;position:relative!important;gap:16px!important;display:flex!important;align-items:center!important}.breadcrumb{display:none!important}.header-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important}.header-actions .account,.ui-language select{border:0!important;background:transparent!important;color:var(--pro-ink)!important;box-shadow:none!important;border-radius:6px!important;min-height:40px!important;font-size:14px!important}.ui-language{margin:0!important}.header-actions #account{max-width:210px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:6px 10px!important}.vb-coin-top{background:#fff!important;border:1px solid var(--pro-line)!important;color:var(--pro-muted)!important;border-radius:6px!important;min-height:36px!important}#adminLink{font-size:12px!important}
.pro-tools{position:relative;flex:0 0 auto}.pro-tools>summary{min-height:40px;padding:9px 14px;border:1px solid var(--pro-line);border-radius:6px;cursor:pointer;list-style:none;color:#344054;font-size:14px}.pro-tools>summary::-webkit-details-marker{display:none}.pro-tools[open]>summary{background:var(--pro-tint);border-color:#c3adeb}.pro-tools #nav{position:absolute!important;top:48px!important;left:0!important;width:290px!important;max-height:72dvh!important;overflow:auto!important;display:flex!important;flex-direction:column!important;padding:8px!important;margin:0!important;border:1px solid var(--pro-line)!important;border-radius:8px!important;background:#fff!important;box-shadow:0 8px 28px #14213d14!important;z-index:100!important;gap:2px!important}.pro-tools #nav button{width:100%!important;min-height:44px!important;display:flex!important;justify-content:flex-start!important;text-align:left!important;gap:10px!important;flex:none!important;padding:10px 12px!important;border:0!important;border-radius:5px!important;background:transparent!important;font-size:14px!important;color:#344054!important;white-space:normal!important}.pro-tools #nav button.active{background:var(--pro-tint)!important;color:var(--pro-purple)!important;font-weight:600!important}.pro-tools #nav button span{display:inline!important;font-size:14px!important}.pro-tools #nav button i{display:none!important}.pro-tools #nav button em{margin-left:auto!important;font-size:9px!important}.pro-tools #nav button:hover{background:var(--pro-soft)!important}
.page{max-width:1600px!important;padding:30px 28px 52px!important;margin:auto!important;width:100%!important}.heading{margin:0 0 28px!important;display:block!important}.heading h1,#proHeading h1{font-size:30px!important;line-height:1.35!important;letter-spacing:-.6px!important;font-weight:700!important;font-family:inherit!important;color:var(--pro-ink)!important;margin:0 0 8px!important}.heading p,#proHeading p{font-size:14px!important;line-height:1.7!important;color:var(--pro-muted)!important;margin:0!important}#proHeading{margin-bottom:28px}.toolbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;padding:0!important;border:0!important;background:#fff!important;box-shadow:none!important;border-radius:0!important;gap:18px!important;margin:0 0 20px!important}.mode-label{display:none!important}.modes{display:flex;flex-wrap:wrap!important;width:100%!important;flex:1 1 100%!important;max-width:none!important;overflow:visible!important;gap:4px!important;background:var(--pro-soft)!important;border:1px solid var(--pro-line)!important;border-radius:6px!important;padding:5px!important}.modes button{flex:1 0 auto!important;font-size:13px!important;padding:10px 12px!important;border:0!important;min-height:40px!important;border-radius:4px!important;color:#475467!important;background:transparent!important;font-weight:500!important}.modes button.selected,.modes .vb-light.selected{background:var(--pro-purple)!important;color:white!important}.modes .vb-light{border:0!important;margin:0!important;background:transparent!important;color:#237451!important}.settings{padding:0!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:20px!important;margin:0!important}.settings label{font-size:13px!important;color:#475467!important}.settings input[type=range]{accent-color:var(--pro-purple);width:140px!important}.vb-light-hint{font-size:13px!important;padding:10px 12px!important;border-radius:6px!important}.editors{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}.panel{border:1px solid var(--pro-line)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;min-width:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.panel-head{padding:17px 20px!important;border-bottom:1px solid var(--pro-line)!important;min-height:64px!important;gap:10px!important}.panel-head b{font-size:16px!important;font-weight:600!important;color:var(--pro-ink)!important;letter-spacing:0!important}.panel-head button{font-size:12px!important;color:var(--pro-muted)!important;white-space:nowrap!important;padding:6px!important}.panel-head svg{width:17px!important;height:17px!important}.input-actions{margin-left:auto!important;gap:8px!important}#input{width:100%!important;min-height:360px!important;flex:1!important;padding:24px!important;border:0!important;border-radius:0!important;background:#fff!important;line-height:1.9!important;font-size:16px!important;color:var(--pro-ink)!important;resize:vertical!important;box-shadow:none!important}#output{padding:24px!important;min-height:360px!important;font-size:16px!important;line-height:1.9!important;color:var(--pro-ink)!important;overflow-wrap:anywhere!important}.output.has-text{text-align:left!important;display:block!important;white-space:pre-wrap!important}.input-help{top:120px!important;max-width:85%!important;pointer-events:none!important}.input-help button{pointer-events:auto!important}.help-icon,.empty-art{display:none!important}.input-help strong,.output>strong{font-size:16px!important;font-weight:500!important;color:#667085!important}.input-help p,.output>p{color:#98a2b3!important;font-size:14px!important}.panel-foot{padding:15px 18px!important;min-height:74px!important;border-top:1px solid var(--pro-line)!important;gap:12px!important;background:#fff!important;flex-wrap:wrap!important;margin-top:auto!important;font-size:12px!important}.panel-foot>div{display:flex;gap:8px;flex-wrap:wrap}.panel-foot button{font-size:12px!important;min-height:38px!important;border-radius:5px!important}.cache-actions{margin-left:auto!important}.primary,#run,.vck-go,.vbm-go{background:var(--pro-purple)!important;color:#fff!important;border:1px solid var(--pro-purple)!important;border-radius:6px!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important;min-height:44px!important;padding:10px 18px!important}.secondary,.vck-sec,#sample,.ocr-actions button,.vbm-tools button{background:#fff!important;border:1px solid var(--pro-line)!important;color:#344054!important;border-radius:6px!important;box-shadow:none!important;min-height:40px!important;padding:9px 13px!important;font-size:13px!important}.primary:hover,#run:hover,.vck-go:hover,.vbm-go:hover{background:#5729bb!important}.compact-cache,.compact-privacy{background:var(--pro-soft)!important;color:var(--pro-muted)!important;border:0!important;border-radius:4px!important;font-size:11px!important}.compact-cache{margin:12px 18px 0!important}.compact-cache summary{padding:8px 10px!important}.cache-info{background:transparent!important}select,input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),textarea:not(#input):not(#output){border-color:var(--pro-line)!important;border-radius:6px!important;color:var(--pro-ink)!important;background:#fff!important;font-size:14px!important;box-shadow:none!important}select{padding:9px 12px;min-height:40px}input[type=checkbox]{accent-color:var(--pro-purple);width:17px;height:17px;flex-shrink:0}textarea{line-height:1.75!important}button svg{flex-shrink:0}.contact-support{border-top:1px solid var(--pro-line)!important;margin-top:40px!important;padding-top:20px!important;background:none!important;color:var(--pro-muted)!important;font-size:12px!important}.contact-support h2{font-size:14px!important}.contact-support a{color:var(--pro-purple)!important}
/* Grammar and email retain the original event targets and review engine. */
[data-pro-tool=grammar] .editors{grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr)!important}.grammar-review{padding:18px!important;background:white!important}.grammar-card{box-shadow:none!important;border:1px solid var(--pro-line)!important;border-radius:6px!important}.grammar-scores{background:var(--pro-soft)!important;box-shadow:none!important}.grammar-scores>div{box-shadow:none!important}.grammar-review button{min-height:40px}.grammar-language{display:flex!important;flex-wrap:wrap!important}.grammar-language label{font-size:12px!important}.grammar-issue{border-color:var(--pro-line)!important}.email-options{margin:0 0 18px!important;padding:18px!important;border:1px solid var(--pro-line)!important;border-radius:6px!important;background:var(--pro-soft)!important}.email-options label{font-size:13px!important}.email-options textarea{min-height:100px!important}.email-options p{font-size:12px!important;color:var(--pro-muted)!important}
/* Chat */
.chat-view{padding:20px!important;border:1px solid var(--pro-line)!important;border-radius:6px!important;box-shadow:none!important}.chat-top h2{font-family:inherit!important;font-size:22px!important}.chat-messages{background:#fff!important;border:0!important;border-top:1px solid var(--pro-line)!important;border-bottom:1px solid var(--pro-line)!important;border-radius:0!important;min-height:340px!important;max-height:58dvh!important;padding:20px 0!important}.chat-message{border:0!important;border-radius:6px!important;font-size:15px!important;line-height:1.8!important;max-width:88%!important}.chat-message.user{background:#f0f2f5!important}.chat-message:not(.user){background:#fff!important}.chat-message strong{color:var(--pro-purple)!important;font-size:12px!important}.chat-form{border:1px solid var(--pro-line)!important;border-radius:6px!important}.chat-form textarea{min-height:90px!important;font-size:15px!important}.compact-summary{border-radius:6px!important;border-color:var(--pro-line)!important}.chat-limits{line-height:1.6!important}.vbm-attach{border:1px solid var(--pro-line)!important;border-radius:6px!important;background:#fff!important;color:#475467!important;padding:9px 12px!important;min-height:40px!important}.chat-mode-note{font-size:12px!important}
/* Shared feature surfaces */
.vck-card,.vck-panel,.vck-refs,.vck-sum,.vt2-card,.vbm-form,.vbm-stage{border:1px solid var(--pro-line)!important;border-radius:6px!important;box-shadow:none!important;background:#fff!important;padding:20px!important}.vck-head h2,.vt2-card h2{color:var(--pro-ink)!important;font-size:24px!important}.vck-sub,.vt2-sub{color:var(--pro-muted)!important;font-size:14px!important;line-height:1.7!important;margin:8px 0 20px!important}.vck-note,.vck-cost,.vbm-muted{color:var(--pro-muted)!important;line-height:1.7!important}.vck-note{font-size:12px!important}.vck-tabs{gap:0!important;border:1px solid var(--pro-line)!important;border-radius:6px!important;background:var(--pro-soft)!important;padding:3px!important;flex-wrap:wrap!important}.vck-tabs button{border:0!important;border-radius:4px!important;background:transparent!important;color:#475467!important;padding:10px 14px!important;min-height:40px!important;flex:1 1 auto!important}.vck-tabs button.on{background:var(--pro-purple)!important;color:#fff!important}.vck-how{background:#fff!important;color:var(--pro-muted)!important;border:1px solid var(--pro-line)!important;border-radius:5px!important;min-height:36px!important}.vck-opts{gap:18px!important;margin:14px 0!important}.vck-src{background:var(--pro-soft)!important;border-radius:5px!important;color:#475467!important;padding:14px!important;margin:0!important}.vck-src label{font-size:13px!important}#vckText{font-size:16px!important;padding:20px!important;min-height:340px!important}.pro-check-settings{border-top:1px solid var(--pro-line);margin-top:18px;padding-top:16px}.pro-check-settings>summary{cursor:pointer;font-size:16px;font-weight:600;min-height:40px}.pro-check-settings .vck-src{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.pro-check-settings .vck-src[hidden]{display:none!important}.vck-sums{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.vck-sum{padding:18px!important;display:flex!important;align-items:flex-start;gap:8px!important}.vck-sum small{font-size:12px!important;color:var(--pro-muted)!important}.pro-gauge{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.pro-gauge canvas{width:104px;height:104px;flex-shrink:0}.pro-gauge strong{font-size:28px;font-weight:700;color:var(--pro-ink)}.pro-gauge-caption{font-size:13px!important;color:var(--pro-muted)}.pro-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#667085}.pro-legend span{display:inline-flex;align-items:center;gap:5px}.pro-legend canvas{width:9px;height:9px}.vck-out{display:flex;flex-direction:column;gap:16px}.pro-result-panel{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)!important;padding:0!important;gap:0!important;align-items:start!important}.pro-result-panel>.vck-text{grid-column:1;grid-row:1 / span 4;padding:28px!important;border-right:1px solid var(--pro-line);min-height:360px;font-family:Georgia,'Noto Sans Thai',serif!important;font-size:17px!important;line-height:1.9!important}.pro-result-panel>ol.vck-src{grid-column:2;grid-row:1;display:block!important;list-style:decimal!important;background:#fff!important;padding:18px 22px 18px 40px!important}.pro-result-panel>.vbm-muted,.pro-result-panel>.vck-ok{grid-column:2;padding:12px 20px!important}.pro-result-panel .vck-src li{border-bottom:1px solid var(--pro-line);padding:10px 0;line-height:1.6}.pro-result-panel .vck-src small{display:block;color:var(--pro-muted)!important}.pro-result-panel .vck-src a{font-size:13px!important;color:var(--pro-ink)!important}.vck-pop{border-color:#c8b6e8!important;border-radius:6px!important;box-shadow:0 3px 14px #18223012!important}.vck-text{color:var(--pro-ink)!important}.vck-m{box-decoration-break:clone}.pro-check-results .vck-card{margin-bottom:8px!important}
/* Research and citations */
.vt2-grid{gap:14px!important}.vt2-grid label{color:#475467!important;font-size:13px!important;gap:7px!important}.vt2 input{min-height:42px!important}.vt2-out,.vt2-refs{border-radius:5px!important;background:var(--pro-soft)!important;padding:18px!important}.vt2-ref,.vt2-ans{color:var(--pro-ink)!important;font-size:15px!important;line-height:1.9!important}.vt2-list li{border-color:var(--pro-line)!important;padding-top:14px!important;padding-bottom:14px!important}.pro-cite-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:20px}.pro-cite-layout>.vt2-card{min-width:0}.pro-cite-layout .vt2-grid{grid-template-columns:1fr!important}.pro-cite-layout .vt2-out{margin:0 0 24px!important;background:#fff!important;border:1px solid var(--pro-line)}.pro-cite-layout #ctStyles{margin-bottom:18px!important}#citeView>.pro-cite-top{border:0!important;padding:0!important}#citeView .vt2-sub{margin-bottom:16px!important}.pro-research-turn{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:12px 28px}.pro-research-turn>.vt2-q{grid-column:1/-1;border-bottom:1px solid var(--pro-line);padding-bottom:16px}.pro-research-turn>.vt2-ans{grid-column:1;grid-row:2 / span 3;border-right:1px solid var(--pro-line);padding-right:28px}.pro-research-turn>h4,.pro-research-turn>.vt2-src,.pro-research-turn>.vt2-refs{grid-column:2}.vt2-src{margin:0!important}.vt2-src li{border-bottom:1px solid var(--pro-line);padding:12px 0}.vt2-src a{color:var(--pro-ink)!important}.vt2-src small{display:block!important;color:var(--pro-muted)!important}.vt2-q{color:var(--pro-ink)!important;font-size:17px!important}#rsOut{display:flex;flex-direction:column;gap:20px}
/* Image maker retains canvas/drag controls and samples. */
.vbm-gen{grid-template-columns:minmax(300px,.65fr) minmax(0,1.35fr)!important;gap:20px!important}.vbm-form{gap:8px!important}.vbm-l{color:#344054!important;font-size:13px!important}.vbm-stage{padding:0!important}.vbm-stage.vbm-start{padding:18px!important}.vbm-empty{background:var(--pro-soft)!important}.vbm-ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vbm-ex-card{border-color:var(--pro-line)!important;border-radius:5px!important;padding:6px!important}.vbm-ex-card img{border-radius:3px!important}.vbm-ex-card small{color:var(--pro-muted)!important}.vbm-chip-b{border-radius:5px!important;border-color:var(--pro-line)!important;color:#475467!important;min-height:38px!important}.vbm-chip-b.on{background:var(--pro-tint)!important;color:var(--pro-purple)!important;border-color:#bca3e5!important}.vbm-coins{border-color:var(--pro-line)!important;background:#fff!important;color:var(--pro-muted)!important;border-radius:5px!important}.vbm-out{order:0!important}.vbm-layer{font-family:inherit}.vbm-gallery img{border-radius:5px!important}
/* Local history: keep restore/delete handlers and backup import/export. */
.history-intro{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}.history-icon{display:none!important}.history-intro h2{font-size:24px!important;color:var(--pro-ink)!important}.history-intro p{font-size:12px!important;color:var(--pro-muted)!important;line-height:1.7!important}.history-actions{margin:20px 0!important;gap:10px!important}.pro-history-layout{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);gap:20px}.pro-history-browser{border:1px solid var(--pro-line);border-radius:6px;padding:16px;min-width:0}.pro-history-search{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}.pro-history-search input,.pro-history-search select{width:100%;min-height:44px;padding:10px}.history-row{padding:16px 0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--pro-line)!important;border-radius:0!important;box-shadow:none!important;display:block!important}.history-row p{font-size:13px!important;line-height:1.65!important;color:#344054!important}.history-row small{font-size:11px!important;color:var(--pro-muted)!important}.history-row .row-actions{justify-content:flex-start!important;gap:8px!important}.history-row button{min-height:38px!important;font-size:12px!important}.history-row.pro-selected{background:var(--pro-tint)!important;padding-left:12px!important;padding-right:12px!important;border-radius:5px!important}.pro-history-detail{border:1px solid var(--pro-line);border-radius:6px;padding:24px;min-width:0;align-self:start}.pro-history-detail h3{font-size:18px;margin:0 0 20px}.pro-history-detail h4{font-size:14px;margin:24px 0 12px}.pro-history-detail p{white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere;font-size:15px}.pro-history-detail small{color:var(--pro-muted)}
/* OCR is a full-page surface, using the original form and handlers. */
body.pro-ocr .heading{display:none!important}#ocrDialog.pro-ocr-page{position:static!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;overflow:visible!important;background:#fff!important;color:var(--pro-ink)!important}#ocrDialog.pro-ocr-page:not([open]){display:none!important}#ocrDialog.pro-ocr-page[open]{display:block!important}.pro-ocr-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-top:20px}.pro-ocr-input,.pro-ocr-output{padding:22px;border:1px solid var(--pro-line);border-radius:6px;min-width:0}.pro-ocr-page .ocr-head h2{font-size:30px!important;margin:0!important}.pro-ocr-page #ocrClose{font-size:14px!important;border:1px solid var(--pro-line)!important;border-radius:6px!important;padding:8px 12px!important;color:#475467!important;min-height:40px!important}.pro-ocr-page #ocrNote{font-size:12px!important;color:var(--pro-muted)!important;line-height:1.7!important;max-width:900px}.pro-ocr-page #ocrForm{display:flex;flex-direction:column;gap:16px}.pro-ocr-page #ocrPreview{width:100%!important;max-height:420px!important;object-fit:contain;background:var(--pro-soft);border-radius:5px}.pro-ocr-page #ocrResult{display:block;width:100%!important;min-height:360px!important;padding:18px!important;margin-top:16px!important;font-size:16px!important;line-height:1.9!important}.ocr-actions{flex-wrap:wrap!important}.ocr-actions button{flex:1 1 auto!important}dialog:not(#ocrDialog){border:1px solid var(--pro-line)!important;border-radius:8px!important;box-shadow:0 20px 80px #1018282b!important}dialog::backdrop{background:#10182866!important}#toast{border-radius:6px!important;background:#202735!important;max-width:calc(100vw - 28px)!important}.pro-demo-banner{padding:8px 24px;background:#f5f1fc;border-bottom:1px solid #e5dbf4;color:#5c348e;font-size:12px;text-align:center}.pro-demo-banner~.shell .brand{top:44px!important}
@media(min-width:1200px){.page{padding-top:34px!important}.editors .panel{min-height:550px}.pro-check-results #vckText{min-height:220px!important}}
@media(max-width:1000px){.page{padding:26px 20px 40px!important}.vbm-gen{grid-template-columns:minmax(270px,.8fr) minmax(0,1.2fr)!important}.pro-result-panel{grid-template-columns:minmax(0,1.1fr) minmax(230px,1fr)!important}.header-actions{gap:5px!important}.header-actions #account{max-width:160px!important}.pro-research-turn{grid-template-columns:minmax(0,1.25fr) minmax(240px,1fr)}.pro-cite-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:760px){.shell>main>header{height:64px!important;min-height:64px!important;padding:0 14px 0 118px!important;gap:6px!important}.brand{left:12px!important;top:12px!important;width:98px!important;height:38px!important}.brand img{width:98px!important;height:38px!important}.pro-tools>summary{padding:9px 10px;font-size:12px;min-height:40px}.header-actions{gap:2px!important}.ui-language select{font-size:12px!important;padding:4px!important;max-width:60px!important}.header-actions #account{font-size:11px!important;max-width:108px!important;padding:4px!important}.header-actions #adminLink{display:none!important}#installApp{display:none!important}.vb-coin-top{padding:5px!important;font-size:11px!important;margin:0!important;min-height:36px!important}.vb-coin-top svg{display:none!important}.pro-tools #nav{left:auto!important;right:-100px!important;width:min(310px,calc(100vw - 24px))!important;max-height:70dvh!important}.page{padding:24px 14px 40px!important}.heading{margin-bottom:22px!important}.heading h1,#proHeading h1{font-size:25px!important}.heading p,#proHeading p{font-size:13px!important}.editors,[data-pro-tool=grammar] .editors{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.toolbar{gap:14px!important;margin-bottom:16px!important}.modes{gap:3px!important;padding:4px!important}.modes button{font-size:12px!important;min-height:42px!important;padding:9px!important;flex:1 0 26%!important}.settings{width:100%!important;gap:12px!important;justify-content:space-between!important}.settings label{font-size:12px!important;gap:8px!important;max-width:100%!important}.settings input[type=range]{width:110px!important}.settings select{max-width:150px!important}.panel-head{padding:14px 16px!important;min-height:58px!important}.panel-head b{font-size:15px!important}#input,#output{padding:18px!important;font-size:16px!important;min-height:260px!important;line-height:1.85!important}.panel-foot{padding:12px 14px!important;gap:10px!important}.panel-foot>div{max-width:100%;flex-wrap:wrap}.panel-foot .primary{min-height:44px!important}.cache-actions{gap:6px!important}.compact-cache{margin:10px 14px 0!important}.email-options{padding:16px!important}.email-options label{width:100%!important}.email-options select{width:100%!important}.grammar-language{width:100%!important}.chat-view{padding:14px!important}.chat-top h2{font-size:20px!important}.chat-messages{min-height:300px!important;max-height:55dvh!important}.chat-message{max-width:96%!important;font-size:14px!important;padding:10px!important}.chat-form textarea{font-size:16px!important}.chat-form-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}.chat-toolbar{grid-template-columns:1fr!important}.vck-card,.vck-panel,.vck-refs,.vck-sum,.vt2-card,.vbm-form{padding:16px!important}.vck-sums{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.vck-sum{padding:12px!important}.pro-gauge{gap:8px}.pro-gauge canvas{width:76px;height:76px}.pro-gauge strong{font-size:23px}.vck-sum small{font-size:11px!important}.pro-legend{font-size:10px;gap:8px}.pro-legend canvas{width:8px;height:8px}.pro-result-panel{display:flex!important;flex-direction:column!important;padding:0!important}.pro-result-panel>.vck-text{border-right:0!important;border-bottom:1px solid var(--pro-line);padding:20px!important;min-height:240px!important;font-size:16px!important;width:100%}.pro-result-panel>ol.vck-src{width:100%;padding:14px 20px 14px 38px!important;order:1}.pro-result-panel>.vbm-muted{order:2}.vck-head h2,.vt2-card h2{font-size:23px!important}.vck-head{align-items:flex-start!important}.vck-sub,.vt2-sub{font-size:13px!important}.vck-opts{font-size:13px!important;gap:12px!important}#vckText{min-height:280px!important;font-size:16px!important;padding:16px!important}.vck-src label{min-height:36px!important}.vck-go,.vck-sec{min-height:44px!important}.pro-cite-layout,.pro-research-turn,.pro-history-layout,.pro-ocr-grid,.vbm-gen{grid-template-columns:minmax(0,1fr)!important}.pro-cite-layout{gap:16px}.vt2-grid{grid-template-columns:1fr!important}.vt2-row{flex-direction:column!important;align-items:stretch!important}.vt2-row input{min-height:44px!important}.pro-research-turn{gap:18px}.pro-research-turn>.vt2-q,.pro-research-turn>.vt2-ans,.pro-research-turn>h4,.pro-research-turn>.vt2-src,.pro-research-turn>.vt2-refs{grid-column:auto!important;grid-row:auto!important;border-right:0!important;padding-right:0!important}.vt2-ans{font-size:15px!important}.vt2-list{font-size:13px!important}.vbm-form{order:0!important}.vbm-out{order:1!important}.vbm-stage.vbm-start{padding:12px!important}.vbm-tools button{min-height:44px!important}.vbm-ex-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pro-history-browser,.pro-history-detail{padding:16px}.pro-ocr-page .ocr-head h2{font-size:25px!important}.pro-ocr-input,.pro-ocr-output{padding:16px}.pro-ocr-page #ocrResult{min-height:280px!important}.pro-ocr-page #ocrFile{max-width:100%;font-size:12px}.contact-support{margin-top:28px!important}.pro-demo-banner{padding:8px 12px;font-size:11px}.pro-demo-banner~.shell .brand{top:46px!important}}
.shell .brand .vb-premium{display:none!important}.header-actions #account.vb-profile{border:0!important;box-shadow:none!important}.header-actions .vb-crown{display:none!important}.panel .panel-head #copyTop,.panel .panel-head #clearResult{background:#fff!important;border:0!important;color:#667085!important;min-height:36px!important;padding:6px!important;width:auto!important}.pro-grammar-review:not(.pro-grammar-edit) #input,.pro-grammar-edit .input-panel #output{display:none!important}.pro-grammar-review .input-panel #output{flex:1;min-height:360px!important}.pro-grammar-review .output-panel #grammarReview{flex:1}.pro-edit-original{margin-left:8px;font-size:11px!important;white-space:nowrap}.pro-grammar-review #grammarReview{min-height:340px}.pro-grammar-review .input-help{display:none!important}.pro-grammar-review #output.grammar-output{white-space:pre-wrap!important;text-align:left!important}.grammar-mark{font-family:inherit!important;font-size:inherit!important;min-height:0!important;border-radius:2px!important;padding:0 2px!important;background:transparent!important;border:0!important;text-decoration:underline wavy #d93946!important;text-underline-offset:5px!important;color:inherit!important}.grammar-mark.suggestion{text-decoration-color:#d7a320!important}.pro-grammar-review .input-panel #output{font-size:17px!important;line-height:1.95!important}
@media(max-width:760px){.pro-grammar-review .input-panel #output{min-height:240px!important;font-size:16px!important}.pro-edit-original{padding:6px!important;min-height:36px!important}.input-actions{gap:2px!important}.pro-grammar-review .input-actions #pasteTop{display:none!important}.header-actions #account{max-width:82px!important}.header-actions #account .vb-name{max-width:60px!important;overflow:hidden!important;text-overflow:ellipsis!important}}
body.vb-logged .shell aside .brand .vb-premium.vb-placed{display:none!important}
body[data-pro-tool=research] .heading,body[data-pro-tool=cite] .heading,body[data-pro-tool=history] .heading,body[data-pro-tool=chat] .heading{display:none!important}
.pro-check-results #vckOut{order:0}.pro-check-editor{order:1;border:1px solid var(--pro-line);border-radius:6px;background:#fff}.pro-check-editor>summary{padding:16px 20px;cursor:pointer;font-size:15px;font-weight:600;color:#344054;min-height:48px}.pro-check-editor>.vck-card{border:0!important;border-top:1px solid var(--pro-line)!important;border-radius:0!important}.pro-check-editor[open]>summary{background:var(--pro-soft)}
.pro-report-title{font-size:30px;margin:0 0 10px;color:var(--pro-ink)}.pro-check-results{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:20px!important;align-items:start!important}.pro-check-results .pro-report-title{grid-column:1/-1}.pro-check-results #vckOut,.pro-report-layout{display:contents!important}.pro-report-layout>.pro-result-panel{grid-column:1;grid-row:2 / span 2;display:block!important;min-height:620px;padding:0!important}.pro-report-layout>.pro-result-panel>.vck-text{border:0!important;min-height:600px!important;padding:32px!important;font-size:18px!important}.pro-report-sidebar{grid-column:2;grid-row:2;border:1px solid var(--pro-line);border-radius:6px;background:#fff;padding:18px;min-width:0}.pro-report-sidebar .vck-sums{display:block!important}.pro-report-sidebar .vck-sum{border:0!important;padding:18px 0!important;gap:12px!important}.pro-report-sidebar .pro-gauge{gap:22px}.pro-report-sidebar .pro-gauge canvas{width:112px;height:112px}.pro-report-sidebar .pro-gauge strong{font-size:34px}.pro-report-sidebar>ol.vck-src{display:block!important;background:#fff!important;padding:0 0 0 22px!important}.pro-report-sidebar>ol.vck-src li{padding:13px 0;border-bottom:1px solid var(--pro-line);font-size:13px;line-height:1.7}.pro-report-sidebar>ol.vck-src a{color:var(--pro-ink)!important}.pro-report-sidebar>ol.vck-src small{display:block;color:var(--pro-muted)!important}.pro-report-sidebar>.vbm-muted{font-size:12px!important;margin-top:16px!important}.pro-check-results>.pro-check-editor{grid-column:2;grid-row:3}.pro-check-results #vckOut>.vck-refs,.pro-check-results #vckOut>.vck-tips{grid-column:1/-1}.pro-report-sidebar .vck-vtabs{margin:0!important}
@media(max-width:760px){.pro-check-results{display:flex!important;flex-direction:column!important;gap:16px!important}.pro-check-results #vckOut,.pro-report-layout{display:flex!important;flex-direction:column!important;gap:16px!important;width:100%}.pro-report-layout>.pro-result-panel{min-height:0!important;width:100%;order:1}.pro-report-layout>.pro-result-panel>.vck-text{min-height:240px!important;padding:20px!important;font-size:16px!important}.pro-report-sidebar{width:100%;order:0;padding:16px}.pro-check-results>.pro-check-editor{width:100%}.pro-report-title{font-size:25px}.pro-report-sidebar .pro-gauge canvas{width:94px;height:94px}}
@media(max-width:760px){.header-actions .install-app-button{display:none!important}.header-actions{min-width:0!important}.header-actions #account .vb-name,.header-actions #account .vb-count{display:none!important}.header-actions #account{width:36px!important;min-width:36px!important;max-width:36px!important;padding:0!important;justify-content:center!important}.header-actions #account .vb-av{width:30px!important;height:30px!important;margin:0!important}.shell>main>header{padding-right:12px!important}.pro-tools{min-width:0!important}.pro-tools>summary{white-space:nowrap!important}}
.pro-history-privacy{color:var(--pro-muted);font-size:12px;margin-top:8px}.pro-history-privacy summary{cursor:pointer;min-height:30px}.pro-history-cache{margin-top:24px;border-top:1px solid var(--pro-line);padding:16px 0;color:var(--pro-muted);font-size:13px}.pro-history-cache>summary{cursor:pointer;min-height:36px}.pro-history-cache .local-cache-section{border:0!important;background:var(--pro-soft)!important;padding:16px!important;border-radius:6px!important}.cache-history-row{box-shadow:none!important;border-color:var(--pro-line)!important}.pro-ocr-page .ocr-head{align-items:center!important}.pro-ocr-page #ocrNote{margin-bottom:18px!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Frontend polish 2026-11-12. CSS only; scoped to the customer app. */
html.verba-pro{background:#f8f9fc!important}
html.verba-pro body{background:#f8f9fc!important;color:#1d2433!important}
html.verba-pro .shell>main{background:#f8f9fc!important}
html.verba-pro .shell>main>header{background:#fff!important;border-bottom:1px solid #e7e9f0!important;box-shadow:0 2px 12px #17244803!important}
html.verba-pro .page{max-width:1480px!important;padding:30px 32px 44px!important}
html.verba-pro .heading{margin:0 0 24px!important}
html.verba-pro .heading h1{font-size:29px!important;letter-spacing:-.5px!important}
html.verba-pro .heading p{color:#738096!important;font-size:14px!important;line-height:1.7!important}
html.verba-pro .pro-tools>summary{border-color:#e2e5ee!important;border-radius:9px!important;background:#fff!important;padding:10px 15px!important}
html.verba-pro .pro-tools #nav{border-color:#e4e6ee!important;border-radius:13px!important;padding:8px!important;box-shadow:0 12px 40px #1f23451a!important}
html.verba-pro .pro-tools #nav button{border-radius:8px!important}
html.verba-pro .toolbar{gap:16px!important;margin-bottom:20px!important}
html.verba-pro .modes{background:#fff!important;border:1px solid #e1e5ee!important;border-radius:12px!important;padding:6px!important;gap:4px!important}
html.verba-pro .modes button{border-radius:8px!important;min-height:40px!important;padding:10px 12px!important;font-size:13px!important}
html.verba-pro .modes button.selected{background:#6936d8!important;box-shadow:0 3px 8px #6936d824!important}
html.verba-pro .settings{padding:0 2px!important;gap:22px!important}
html.verba-pro .settings label{font-size:13px!important;color:#657187!important}
html.verba-pro .settings select,html.verba-pro .mobile-mode-select select{border:1px solid #e2e6ef!important;border-radius:9px!important;background:#fff!important;min-height:42px!important;padding:9px 12px!important}
html.verba-pro .editors{gap:22px!important;align-items:stretch!important}
html.verba-pro .panel{border:1px solid #e1e5ee!important;border-radius:14px!important;box-shadow:0 3px 14px #22304b04!important;background:#fff!important;min-height:0!important}
html.verba-pro .panel:focus-within{border-color:#b6a0e0!important;box-shadow:0 0 0 3px #6936d80b!important}
html.verba-pro .panel-head{padding:14px 20px!important;min-height:62px!important;border-color:#edf0f5!important;background:#fff!important;flex-wrap:wrap!important}
html.verba-pro .panel-head b{font-size:15px!important;color:#293245!important}
html.verba-pro .panel .panel-head button{border-radius:8px!important;border:1px solid transparent!important;background:#fff!important;color:#738096!important;padding:7px 9px!important;min-height:36px!important}
html.verba-pro .panel .panel-head button:hover{background:#f5f3fa!important;color:#6936d8!important}
html.verba-pro #input,html.verba-pro #output{padding:24px!important;min-height:260px!important;font-size:16px!important;line-height:1.9!important;color:#293245!important;box-shadow:none!important}
html.verba-pro #input{height:310px!important;resize:vertical!important}
html.verba-pro #input:focus-visible{outline:0!important}
html.verba-pro #output{flex:1 1 auto!important}
html.verba-pro .pro-grammar-review .input-panel #output{min-height:310px!important}
html.verba-pro .panel-foot{border-top:1px solid #edf0f5!important;background:#fff!important;min-height:70px!important;padding:13px 18px!important;gap:10px!important;align-items:center!important}
html.verba-pro .panel-foot button{border-radius:8px!important;min-height:38px!important}
html.verba-pro .primary,html.verba-pro #run,html.verba-pro .vck-go,html.verba-pro .vbm-go{border-radius:9px!important;background:#6936d8!important;border-color:#6936d8!important;min-height:43px!important;box-shadow:0 2px 5px #6936d818!important;padding:10px 18px!important}
html.verba-pro .secondary,html.verba-pro .vck-sec,html.verba-pro .ocr-actions button,html.verba-pro .vbm-tools button{border-radius:8px!important;border-color:#e2e6ee!important;background:#fff!important;color:#526078!important;box-shadow:none!important}
html.verba-pro .compact-cache{background:#f7f8fb!important;border-radius:8px!important;margin:12px 18px 0!important;color:#8993a5!important}
html.verba-pro .compact-cache>summary{padding:8px 11px!important;font-size:11px!important}
html.verba-pro .vr-change{margin:12px 18px 2px!important;border:0!important;background:#f7f5fc!important;border-radius:11px!important;padding:12px 14px!important;gap:12px!important;flex-wrap:wrap!important}
html.verba-pro .vr-change .vr-ring{flex:0 0 54px;width:54px!important;height:54px!important}
html.verba-pro .vr-change .vr-ring canvas{width:54px!important;height:54px!important}
html.verba-pro .vr-change p{flex:1 1 150px!important;min-width:0!important;font-size:12px!important;line-height:1.65!important;overflow-wrap:anywhere!important}
html.verba-pro .output-panel #output,html.verba-pro .output-panel #grammarReview{order:1!important}
html.verba-pro .output-panel .vr-change{order:0!important}
html.verba-pro .output-panel .vfb{order:2!important}
html.verba-pro .output-panel .panel-foot{order:3!important}
html.verba-pro .grammar-review{padding:16px 18px!important}
html.verba-pro .grammar-card{border-radius:10px!important;border-color:#e7eaf1!important;box-shadow:none!important;padding:16px!important}
html.verba-pro .grammar-scores.vr-rings>div{border-radius:10px!important;background:#f6f7fb!important}
html.verba-pro .grammar-intro{font-size:12px!important;color:#8a94a5!important;line-height:1.65!important}
html.verba-pro .email-options,html.verba-pro .chat-view,html.verba-pro .vck-card,html.verba-pro .vck-panel,html.verba-pro .vck-refs,html.verba-pro .vck-sum,html.verba-pro .vt2-card,html.verba-pro .vbm-form,html.verba-pro .vbm-stage,html.verba-pro .pro-history-browser,html.verba-pro .pro-history-detail,html.verba-pro .pro-ocr-input,html.verba-pro .pro-ocr-output,html.verba-pro .pro-report-sidebar,html.verba-pro .pro-check-editor{border-color:#e1e5ee!important;border-radius:14px!important;box-shadow:0 3px 14px #22304b04!important;background:#fff!important}
html.verba-pro .vck-tabs{border-radius:10px!important;border-color:#e7e9f0!important;padding:4px!important;background:#f7f8fb!important}
html.verba-pro .vck-tabs button{border-radius:7px!important}
html.verba-pro #vckText,html.verba-pro #vckUrl,html.verba-pro .vt2 input,html.verba-pro .vt2 textarea,html.verba-pro .vbm-form textarea,html.verba-pro .vbm-form input:not([type=color]):not([type=checkbox]),html.verba-pro .vbm-form select{border-radius:9px!important;border-color:#e0e5ed!important}
html.verba-pro .pro-check-editor>summary{border-radius:13px!important}
html.verba-pro .pro-check-editor>.vck-card{border-radius:0 0 13px 13px!important}
html.verba-pro .pro-report-layout>.pro-result-panel{min-height:520px!important}
html.verba-pro .pro-report-layout>.pro-result-panel>.vck-text{min-height:500px!important;padding:28px!important;line-height:1.9!important}
html.verba-pro .pro-cite-layout .vt2-out{border-color:#e7eaf1!important;border-radius:10px!important}
html.verba-pro .pro-history-search input{border:1px solid #e1e5ee!important;border-radius:9px!important;box-shadow:none!important}
html.verba-pro .contact-support{margin-top:32px!important;padding:22px 4px 0!important;border:0!important;border-top:1px solid #e5e8ef!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html.verba-pro .contact-support p{color:#929aaa!important;font-size:12px!important}
html.verba-pro #ocrDialog.pro-ocr-page{background:transparent!important}
html.verba-pro .chat-messages{background:#fff!important;border-color:#edf0f5!important}
html.verba-pro .chat-form{border-radius:12px!important;border-color:#dce2ec!important}
html.verba-pro .chat-message.user{border-radius:12px!important;background:#f1f0f8!important}
@media(min-width:1100px){html.verba-pro .page{padding-top:30px!important}html.verba-pro .modes button{flex:1 1 auto!important}}
@media(max-width:1000px){html.verba-pro .page{padding:26px 22px 40px!important}html.verba-pro .editors{gap:18px!important}html.verba-pro .panel-head{padding:13px 16px!important}html.verba-pro .panel-foot{padding:12px 14px!important}.pro-grammar-review .panel-head{gap:6px!important}}
@media(max-width:760px){
 html.verba-pro .page{padding:22px 16px 36px!important}
 html.verba-pro .heading{margin-bottom:22px!important}
 html.verba-pro .heading h1{font-size:25px!important;line-height:1.4!important}
 html.verba-pro .heading p{font-size:12px!important;line-height:1.7!important}
 html.verba-pro .shell>main>header{padding-left:116px!important;padding-right:14px!important;min-height:66px!important}
 html.verba-pro .pro-tools>summary{padding:9px 10px!important;min-height:40px!important;border-radius:8px!important}
 html.verba-pro .header-actions{gap:5px!important}
 html.verba-pro .toolbar{gap:12px!important;margin-bottom:18px!important}
 html.verba-pro .mobile-mode-select{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:0!important;min-width:0!important;background:transparent!important;border:0!important}
 html.verba-pro .mobile-mode-select select{width:100%!important;max-width:none!important;min-width:0!important}
 html.verba-pro .settings{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:0!important}
 html.verba-pro .settings label{font-size:12px!important;gap:7px!important}
 html.verba-pro .settings input[type=range]{width:92px!important}
 html.verba-pro .settings #language{max-width:135px!important;font-size:12px!important;padding:9px!important}
 html.verba-pro .panel{border-radius:13px!important}
 html.verba-pro .panel-head{padding:12px 14px!important;min-height:58px!important;gap:6px!important}
 html.verba-pro .panel-head b{font-size:14px!important}
 html.verba-pro .panel .panel-head button{font-size:11px!important;padding:7px!important}
 html.verba-pro #input,html.verba-pro #output{padding:20px 17px!important;min-height:220px!important;font-size:16px!important;line-height:1.9!important}
 html.verba-pro #input{height:250px!important}
 html.verba-pro .panel-foot{padding:12px 14px!important;min-height:70px!important;gap:10px!important}
 html.verba-pro .panel-foot .cache-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;margin:0!important}
 html.verba-pro .cache-actions #run{flex:1 1 125px!important;order:1!important;width:auto!important;min-height:44px!important;font-size:13px!important}
 html.verba-pro .cache-actions #regenerateResult{flex:1 1 125px!important;order:0!important;width:auto!important;min-height:44px!important;font-size:11px!important;padding:9px 8px!important}
 html.verba-pro .output-panel .panel-foot>div{display:flex!important;flex-direction:row!important;gap:7px!important;flex-wrap:wrap!important;width:100%!important}
 html.verba-pro .output-panel .panel-foot button{flex:1 1 auto!important;min-height:42px!important;font-size:11px!important;padding:8px!important}
 html.verba-pro .compact-cache{margin:10px 13px 0!important}
 html.verba-pro .vr-change{margin:10px 13px 0!important;padding:11px 12px!important;gap:10px!important}
 html.verba-pro .pro-grammar-review .input-panel #output{min-height:230px!important}
 html.verba-pro .pro-report-layout>.pro-result-panel{min-height:0!important}
 html.verba-pro .pro-report-layout>.pro-result-panel>.vck-text{min-height:260px!important;padding:22px 18px!important;font-size:16px!important}
 html.verba-pro .vck-card,html.verba-pro .vt2-card,html.verba-pro .vbm-form,html.verba-pro .pro-ocr-input,html.verba-pro .pro-ocr-output{padding:17px!important}
 html.verba-pro .chat-view{padding:16px!important}
 html.verba-pro .contact-support{margin-top:26px!important;padding-top:20px!important}
}
@media(max-width:380px){html.verba-pro .page{padding-left:12px!important;padding-right:12px!important}html.verba-pro .settings #language{max-width:100%!important}html.verba-pro .settings{flex-wrap:wrap!important}html.verba-pro .settings #synonymLabel{flex:1 1 100%!important}html.verba-pro .shell>main>header{padding-left:108px!important;padding-right:10px!important}html.verba-pro .header-actions{gap:2px!important}.pro-grammar-review .panel-head{flex-wrap:wrap!important}}

/* On desktop, the source panel sets the row height. Keep the review scrollable
   within the available space without letting a long list stretch the row. */
@media (min-width: 761px) {
  .pro-grammar-review .output-panel > #grammarReview:not([hidden]) {
    flex: 1 1 0;
    contain: size;
    max-height: none;
  }
}

/* The editor panels stack at 760px. Let the page scroll through the review. */
@media (max-width: 760px) {
  .pro-grammar-review .output-panel > #grammarReview:not([hidden]) {
    max-height: none;
    overflow: visible;
  }
}
