/* v9 additions */
html body .qvs-note{font:500 12px/1.6 Cairo,sans-serif;color:var(--qi-mut,#5c6f73);padding:2px 2px 4px}
html body #qvsMeaningLayer text{font-family:inherit}
html body .qvs13-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
html body .qvs13-chip{border:1px solid var(--v5-line,#cfdde0);background:transparent;color:inherit;border-radius:999px;padding:4px 10px;font:600 12px Cairo,sans-serif;cursor:pointer}
html body .qvs13-chip.on{background:var(--qi-acc,#0e6b73);color:var(--qi-on,#fff);border-color:transparent}
html body .qvs13-res{display:flex;flex-direction:column;gap:2px;max-height:210px;overflow:auto}
html body .qvs13-res button{text-align:start;border:0;background:transparent;color:inherit;padding:7px 8px;border-radius:8px;font:500 13px Cairo,sans-serif;cursor:pointer}
html body .qvs13-res button:hover,html body .qvs13-res button:focus{background:rgba(14,107,115,.12)}
html body .qvs13-star{border:1px solid var(--v5-line,#cfdde0);background:transparent;color:inherit;border-radius:10px;padding:6px 10px;font:700 15px Cairo,sans-serif;cursor:pointer}
html body .qvs13-star.on{color:#e8a400}
/* review notice badge beside the site name (moved out of the export strip) */
html body .brand > .ai-review-notice{position:static!important;display:inline-flex!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;width:auto!important;flex:0 0 auto}
html body .brand > .ai-review-notice #aiNoticeMessage{display:none!important}
html body .brand > .ai-review-notice #toggleAiNotice{width:28px;height:28px;min-width:28px;padding:0!important;border-radius:999px;border:1px solid #e8b94a!important;background:#fff3cd!important;color:#7a5200!important;font-size:0!important;line-height:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}
html body .brand > .ai-review-notice #toggleAiNotice::before{content:'\26A0';font:700 15px/1 system-ui,sans-serif;color:#7a5200}
html body[data-theme=dark] .brand > .ai-review-notice #toggleAiNotice{background:#3a2e0c!important;border-color:#b8902c!important}
html body[data-theme=dark] .brand > .ai-review-notice #toggleAiNotice::before{color:#ffd77a}
/* English interface: generated text and direction */
html[lang=en] body #qvsElementBar::before{content:"Pick an element"}
html[lang=en] body .panel.preview #prevWordBtn::before{content:'◂ Word'}
html[lang=en] body .panel.preview #nextWordBtn::before{content:'Word ▸'}
html[lang=en] body .qvs-note,html[lang=en] body #qvs13Lang,html[lang=en] body #qvs13Ed{direction:ltr;text-align:left}
html[lang=en] body .qvs13-res button{text-align:left}
html[lang=en] body .panel.preview #stopBtn::before{content:'■ Stop'}

html body .brand > .ai-review-notice{margin-inline-start:8px!important;align-self:center}
@media (max-width:820px){
 html body .site-header .brand{flex:0 0 auto;gap:4px;min-width:0}
 html body .site-header .brand .brand-mark{flex:0 0 28px;width:28px;height:28px;min-width:28px}
 html body .site-header .brand .qvs12-bn{font-size:15px;margin-inline-start:2px}
 html body .brand > .ai-review-notice{margin-inline-start:4px!important}
 html body .brand > .ai-review-notice #toggleAiNotice{width:26px;height:26px;min-width:26px}
 html body .site-header .header-actions{gap:2px;min-width:0}
 html[lang=en] body .site-header .qvs10-xtoggle{min-width:0;width:auto;padding-inline:6px}
}
@media (max-width:820px){
 html body .site-header .header-actions>.icon-btn,html body .site-header .header-actions>select{width:29px!important;min-width:29px!important;padding-inline:0!important}
 html body .site-header .header-actions .qvs10-xtoggle{width:auto!important;min-width:0!important;padding-inline:5px!important}
 html body .site-header .brand .qvs12-bn{font-size:14px}
}
@media (max-width:820px){
 html body .site-header #undoBtn,html body .site-header #redoBtn,html body .site-header #qvs11Menu,html body .site-header #themeSelect,html body .site-header #interfaceLanguage{width:28px!important;min-width:28px!important;max-width:28px!important;padding:0!important}
 html body .site-header #qvs10Xtoggle{width:48px!important;min-width:48px!important;max-width:48px!important;padding:0 2px!important}
 html body .site-header #qvs10Xtoggle .qvs12-xl{font-size:10px}
}
@media (max-width:820px){
 html body[data-theme] header.site-header #undoBtn,html body[data-theme] header.site-header #redoBtn,html body[data-theme] header.site-header #qvs11Menu,html body[data-theme] header.site-header #themeSelect,html body[data-theme] header.site-header #interfaceLanguage{width:28px!important;min-width:28px!important;max-width:28px!important;padding:0!important}
 html body[data-theme] header.site-header #qvs10Xtoggle{width:48px!important;min-width:48px!important;max-width:48px!important;padding:0 2px!important}
 html body[data-theme] header.site-header #qvs10Xtoggle .qvs12-xl{font-size:10px}
}
html[dir=ltr] body .qvs12-pgrid,html[dir=ltr] body .qvs12-fbar,html[dir=ltr] body .qvs10-tpl,html[dir=ltr] body .qvs10-tpl *{direction:ltr}
html[dir=ltr] body .qvs10-tpl{text-align:left}
html[dir=ltr] body .qvs9-modal,html[dir=ltr] body .qvs9-modal *,html[dir=ltr] body .qvs9-sheet-body{direction:ltr}
