/* TurboGrading visual grading workflow: isolated, no dependency on site's Bootstrap or theme CSS. */
.tgvg {
  --tgvg-ink: #133047;
  --tgvg-muted: #587084;
  --tgvg-orange: #c94716;
  --tgvg-orange-strong: #d83d0c;
  --tgvg-line: #e9e8e5;
  --tgvg-cream: #fffcf9;
  background: radial-gradient(ellipse at 60% 2%, rgba(255,153,99,.25) 0, transparent 37%),
              radial-gradient(ellipse at 0% 95%, rgba(255,218,194,.32) 0, transparent 26%),
              linear-gradient(115deg, #fffcf8, #fffdfb 70%, #fff4ed);
  color: var(--tgvg-ink);
  font: 400 16px/1.45 Arial, Helvetica, sans-serif;
  padding: clamp(45px, 5vw, 76px) 0 clamp(46px, 4vw, 66px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-text-size-adjust: 100%;
  scroll-margin-top: 120px;
}
.tgvg, .tgvg *, .tgvg *::before, .tgvg *::after { box-sizing: border-box; }
.tgvg :is(h1, h2, h3, h4) { font-family: Arial, Helvetica, sans-serif; }
.tgvg .tgvg__container { width: min(calc(100% - 64px), 1530px); margin: 0 auto; }
.tgvg .tgvg__feature { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.52fr); gap: clamp(25px, 3.3vw, 68px); align-items: center; }
.tgvg .tgvg__story { z-index: 2; position: relative; min-width: 0; }
.tgvg .tgvg__message { min-width: 0; width: 100%; max-width: 445px; }
.tgvg .tgvg__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 0 0 26px; color: var(--tgvg-orange); font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.tgvg .tgvg__eyebrow span { flex: none; height: 1px; width: 64px; background: #efbd9e; }
.tgvg .tgvg__message h1 { font: 800 clamp(54px, 4.5vw, 70px)/1.025 Arial, Helvetica, sans-serif; letter-spacing: -.055em; margin: 0; color: var(--tgvg-ink); overflow-wrap: anywhere; }
/* Every language can use more than one line, including on a desktop. */
.tgvg .tgvg__message h1 em { font-style: normal; white-space: normal; }
/* The Arabic headline is a full sentence. Keep its hierarchy and line length
   balanced across phone, tablet and desktop layouts. */
html[lang="ar"] .tgvg .tgvg__message h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.25; }
@media (min-width: 1131px) {
  html[lang="ar"] .tgvg .tgvg__feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  html[lang="ar"] .tgvg .tgvg__message { max-width: 520px; }
  html[lang="ar"] .tgvg .tgvg__message h1 { text-wrap: balance; }
}
.tgvg .tgvg__intro { font-size: 18px; font-weight: 400; line-height: 1.36; color: #687a8d; letter-spacing: -.025em; margin: 22px 0 24px; }
.tgvg .tgvg__sources { display: grid; min-width: 0; gap: 14px; max-width: 384px; }
.tgvg .tgvg__source { display: flex; min-width: 0; align-items: center; gap: 15px; background: rgba(255,255,255,.96); border: 1px solid #ebebe8; border-radius: 16px; box-shadow: 0 9px 28px #213c4a0b; padding: 15px 17px; min-height: 92px; position: relative; }
.tgvg .tgvg__source > div { min-width: 0; }
.tgvg .tgvg__source::after { content: ''; position: absolute; top: 50%; inset-inline-end: -18px; width: 16px; height: 2px; background: var(--tgvg-orange); }
.tgvg .tgvg__source::before { content: ''; position: absolute; top: calc(50% - 4px); inset-inline-end: -22px; width: 8px; height: 8px; border-radius: 50%; background: var(--tgvg-orange); }
.tgvg .tgvg__source h3 { color: var(--tgvg-ink); font-size: 15px; line-height: 1.2; font-weight: 800; letter-spacing: -.025em; margin: 0 0 4px; }
.tgvg .tgvg__source p { margin: 0; color: #4f6274; font-size: 13px; line-height: 1.38; }
.tgvg .tgvg__lms-logos { display: flex; gap: 6px; flex: none; }
.tgvg .tgvg__d2l, .tgvg .tgvg__bb { display: grid; place-items: center; width: 40px; height: 43px; border-radius: 6px; color: white; font-weight: 800; box-shadow: 0 1px 5px #29435720; }
.tgvg .tgvg__d2l { background: #c94716; font: 800 17px/1 Georgia, serif; }
.tgvg .tgvg__bb { background: #262626; font: 700 24px/1 Georgia, serif; }
.tgvg .tgvg__file-icon { width: 76px; flex: none; display: grid; place-items: center; color: #73899b; }
.tgvg .tgvg__file-icon svg { width: 37px; height: 46px; }
.tgvg .tgvg__showcase { min-width: 0; position: relative; padding: 33px 0 3px; }
.tgvg .tgvg__peach-orbit { position: absolute; inset: 0 -22% 10% -12%; background: radial-gradient(ellipse at 71% 20%, #f4a8785c, transparent 54%), linear-gradient(160deg,#ffe9db90,transparent 45%); border-radius: 50%; transform: rotate(-10deg); z-index: 0; pointer-events: none; }
.tgvg .tgvg__app { position: relative; z-index: 1; border-radius: 21px; border: 1px solid #e6e6e4; background: #fff; box-shadow: 0 17px 52px #7444291e, 0 3px 13px #20394b14; transform: rotate(-1deg); overflow: hidden; }
.tgvg .tgvg__windowbar { min-height: 55px; padding: 6px 16px; display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; border-bottom: 1px solid #edeff1; background: linear-gradient(90deg,#fafcfd,#fff); color: #1e374c; }
.tgvg .tgvg__window-dots { display: flex; gap: 5px; flex: none; }
.tgvg .tgvg__window-dots i { display:block;width:7px;height:7px;border-radius:50%;background:#ffbca9; }
.tgvg .tgvg__window-dots i:nth-child(2) { background:#ffd07a; }
.tgvg .tgvg__window-dots i:nth-child(3) { background:#a9d8ad; }
.tgvg .tgvg__window-brand { display: flex; flex: none; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.tgvg .tgvg__window-brand img { display:block; width:110px; height:auto; }
.tgvg .tgvg__course { min-width: 0; flex: 1 1 140px; margin-inline-start: 5px; border: 1px solid #ecedef; border-radius: 6px; padding: 6px 9px; font-size: 10.5px; color: #4f6377; overflow-wrap: anywhere; max-width: 230px; }
.tgvg .tgvg__course span { padding-inline-start: 7px; }
.tgvg .tgvg__counter { margin-inline-start: auto; font-size: 10px; color: #6d7e8c; }
.tgvg .tgvg__next { display: inline-flex; max-width: 100%; gap: 7px; align-items: center; border: 1px solid #e6e8ea; border-radius: 6px; padding: 7px 9px; font-size: 10px; font-weight: 700; }
.tgvg .tgvg__next span { font-size: 13px; }
.tgvg .tgvg__app-body { display: grid; grid-template-columns: 77px minmax(0,1.02fr) minmax(0,1fr); background: #f8fafb; gap: 6px; padding: 8px; }
.tgvg .tgvg__sidebar { display: grid; align-content: start; gap: 8px; padding-top: 13px; }
.tgvg .tgvg__side-row { display: flex; min-width: 0; align-items: flex-start; gap: 6px; color:var(--tgvg-muted); font-size: 9px; padding: 8px 5px; overflow-wrap: anywhere; border-radius: 5px; }
html[lang="fr"] .tgvg .tgvg__side-row { overflow-wrap: normal; word-break: normal; }
.tgvg .tgvg__side-row--active { background: #fff0e8; color: #b83e14; font-weight: 700; border-left: 2px solid var(--tgvg-orange); }
.tgvg .tgvg__side-glyph { flex: none; font-size: 12px; width: 13px; text-align: center; }
.tgvg .tgvg__document, .tgvg .tgvg__assessment { min-width: 0; background: white; border: 1px solid #e6e9eb; border-radius: 11px; }
.tgvg .tgvg__document { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.tgvg .tgvg__document-head { display:flex; flex-wrap:wrap; align-items:center; gap: 6px; padding: 12px 12px 9px; font-size: 11px; color: #1c3345; }
.tgvg .tgvg__filemini { background:#eef4f8;color:#658095;padding: 4px 6px; border-radius:5px; }
.tgvg .tgvg__tabs { display: flex; flex-wrap: wrap; padding: 0 10px 7px; gap: 8px; border-bottom: 1px solid #eff1f3; }
.tgvg .tgvg__tabs button { min-width: 0; max-width: 100%; border: none; cursor: pointer; background: transparent; padding: 7px 3px; font: 700 10px/1.2 Arial,Helvetica,sans-serif; color: var(--tgvg-muted); border-bottom: 2px solid transparent; white-space: normal; overflow-wrap: anywhere; }
.tgvg .tgvg__tabs button[aria-selected="true"] { color: var(--tgvg-orange); border-bottom-color: var(--tgvg-orange); }
.tgvg .tgvg__tabs button:hover { color: #af380f; }
.tgvg .tgvg__tabs button:focus-visible { outline: 2px solid #0c6f9d; outline-offset: 3px; }
.tgvg .tgvg__paper { padding: 14px 14px 4px; flex: 1; min-height: 345px; background: repeating-linear-gradient(transparent,transparent 29px,#f9fbfc 30px); }
.tgvg .tgvg__paper[hidden] { display: none; }
.tgvg .tgvg__paper p { margin: 0 0 10px; }
.tgvg .tgvg__question { font: 700 13px/1.45 Georgia,Times New Roman,serif; color: #1d2b36; }
.tgvg .tgvg__question--second { margin-top: 19px !important; }
.tgvg .tgvg__handwritten { margin-left: 12px !important; font: italic 13px/1.53 'Trebuchet MS',Arial,sans-serif; color:#325a8e; }
.tgvg .tgvg__handwritten--highlight { background:#eaf6f2; padding:3px 5px; border-radius:3px; }
.tgvg .tgvg__handwritten--pink { background:#fff0f5; padding:3px 5px; border-radius:3px; color:#8a3665; }
.tgvg .tgvg__paper--summary h4 { font-size: 15px; color: var(--tgvg-ink); margin:0 0 14px; }
.tgvg .tgvg__paper--summary p { color:#405a70; font-size: 12px; line-height: 1.6; margin-bottom: 15px; }
.tgvg .tgvg__paper--summary .tgvg__summary-note { color:#ae4118; font-weight:700; }
.tgvg .tgvg__viewerbar { margin: 7px 8px 9px; min-height: 26px; color: #fff; background: #31414e; border-radius: 5px; font-size: 9px; display:flex; align-items:center; justify-content:space-between; padding: 0 8px; }
.tgvg .tgvg__assessment { overflow:hidden; padding: 11px 10px 10px; display:flex; flex-direction:column; }
.tgvg .tgvg__assessment-head { display:flex; flex-wrap:wrap; gap: 8px; align-items:center; justify-content:space-between; padding-bottom:9px; border-bottom:1px solid #e9edef; }
.tgvg .tgvg__assessment h3 { min-width:0; font:800 12px/1.2 Arial,Helvetica,sans-serif; margin:0; color:var(--tgvg-ink); overflow-wrap:anywhere; }
.tgvg .tgvg__assessment-head > span { font-size:9px; font-weight:700; }
.tgvg .tgvg__grid-icon { display:inline-grid;place-items:center; width:23px;height:23px;background:#dd5018;color:white;border-radius:5px;font-size:16px;margin-right:3px; }
.tgvg .tgvg__rubric { display:grid; }
.tgvg .tgvg__criterion { display:grid; grid-template-columns: minmax(0,1fr) 23% 38px; align-items:center; gap:8px; min-height:58px; border-bottom:1px solid #edf0f2; padding:8px 2px; }
.tgvg .tgvg__criterion strong { display:block; font:800 10px/1.2 Arial,Helvetica,sans-serif; color:var(--tgvg-ink); }
.tgvg .tgvg__criterion small { display:block; font-size:9px; line-height:1.25;color:var(--tgvg-muted); padding-top:3px; }
.tgvg .tgvg__progress { width:100%;height:7px;border-radius:12px;background:#e5e9eb;overflow:hidden; }
.tgvg .tgvg__progress--four i { width:80%; }
.tgvg .tgvg__progress--three i { width:60%; }
.tgvg .tgvg__progress i { display:block; height:100%; border-radius:inherit; background:#d94b14; }
.tgvg .tgvg__criterion b { font-size: 11px; white-space:nowrap; text-align:center; padding:5px 2px; border-radius:5px; background:#f7f8f8; }
.tgvg .tgvg__suggestion { display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;align-items:center;padding:12px 3px; border-bottom:1px solid #eceef0; }
.tgvg .tgvg__suggestion > span { display:flex;min-width:0;align-items:center;gap:6px;color:var(--tgvg-ink);font-size:11px;font-weight:800; }
.tgvg .tgvg__star { display:grid;flex:none;place-items:center; background:#d44817;color:white; width:26px;height:26px; border-radius:5px; font-size:19px; }
.tgvg .tgvg__suggestion strong { color:#cb3e0f;background:#fff2eb;border-radius:6px; padding:5px 12px; font:800 19px/1.2 Arial,Helvetica,sans-serif; white-space:nowrap; }
.tgvg .tgvg__feedback { padding-top:11px; }
.tgvg .tgvg__feedback-heading { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between; gap:8px;margin:0 2px 6px; }
.tgvg .tgvg__feedback-heading h3 { white-space:normal; }
.tgvg .tgvg__feedback-heading h3 span { display:inline-grid;place-items:center;background:#344e5b;color:white;border-radius:4px;width:21px;height:21px;margin-right:4px; }
.tgvg .tgvg__feedback-heading > span { max-width:100%; font-size: 9px; color:#bd451a;background:#fff3ed;border-radius:5px;padding:4px 5px;white-space:normal; }
.tgvg .tgvg__feedback-label { display:block;font-size:9px;color:#557489; margin-bottom:5px; }
.tgvg .tgvg__feedback textarea { display:block; width:100%; min-height:96px; max-height:200px; resize:vertical; border:1px solid #dfe6eb; border-radius:5px; background:#fff; color:#1c3449; padding:8px 9px; font:400 10.5px/1.5 Arial,Helvetica,sans-serif; }
.tgvg .tgvg__feedback textarea:focus { outline:2px solid #0b719e;outline-offset:2px; }
.tgvg .tgvg__feedback-actions { display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;margin-top:7px; }
.tgvg .tgvg__feedback-actions button { max-width:100%; font:700 10px/1.1 Arial,Helvetica,sans-serif; border-radius:5px; cursor:pointer; padding:8px 11px; white-space:normal; }
.tgvg .tgvg__reset { border:1px solid #d8dee2; background:#fff;color:#1b3950; }
.tgvg .tgvg__demo-save { border:1px solid #bb360b; background:var(--tgvg-orange-strong);color:#fff; }
.tgvg .tgvg__feedback-actions button:hover { filter:brightness(.95); }
.tgvg .tgvg__feedback-actions button:focus-visible { outline:2px solid #0c6897; outline-offset:3px; }
.tgvg .tgvg__demo-message { color:#1d5b54; min-height:0;margin:0;font-size:10px;line-height:1.35; }
.tgvg .tgvg__demo-message:not(:empty) { padding-top:6px; }
@media (max-width: 1430px) {
  .tgvg .tgvg__feature { grid-template-columns:minmax(0,.72fr) minmax(0,1.42fr);gap:34px; }
  .tgvg .tgvg__message h1 { font-size:clamp(51px,4.4vw,66px); }
  .tgvg .tgvg__app-body { grid-template-columns:63px minmax(0,1.05fr) minmax(0,1fr); }
  .tgvg .tgvg__side-row { font-size:8px;gap:2px;padding-inline:3px; }
  .tgvg .tgvg__source { padding:12px; }
}
@media (max-width: 1130px) {
  .tgvg .tgvg__feature { display:flex;flex-direction:column;align-items:stretch;gap:25px; }
  .tgvg .tgvg__story { display:grid;grid-template-columns: minmax(0,1fr) minmax(250px,340px);gap:18px 35px;align-items:end; }
  .tgvg .tgvg__message { max-width:none; }
  .tgvg .tgvg__message h1 { font-size:clamp(48px,7vw,77px); }
  .tgvg .tgvg__intro { margin-bottom:0; }
  .tgvg .tgvg__sources { align-self:end; }
  .tgvg .tgvg__source::after,.tgvg .tgvg__source::before { display:none; }
  .tgvg .tgvg__showcase { max-width:1040px;width:100%;margin:0 auto; }
  .tgvg .tgvg__app { transform:none; }
  .tgvg .tgvg__app-body { grid-template-columns:75px minmax(0,1.02fr) minmax(0,1fr); }
}
@media (min-width: 791px) {
  /* Keep French sidebar words intact without reducing their type size. */
  html[lang="fr"] .tgvg .tgvg__app-body { grid-template-columns:105px minmax(0,1.02fr) minmax(0,1fr); }
}
@media (max-width: 790px) {
  .tgvg .tgvg__container { width: min(calc(100% - 36px),720px); }
  /* Translated headlines must not impose their unbroken width on this track. */
  .tgvg .tgvg__story { grid-template-columns:minmax(0,1fr); }
  .tgvg .tgvg__sources { width:100%; max-width:600px;grid-template-columns:repeat(2,minmax(0,1fr)); align-self:stretch; }
  .tgvg .tgvg__source { align-items:flex-start;flex-direction:column; gap:8px; }
  .tgvg .tgvg__source .tgvg__lms-logos { align-self:flex-start; }
  .tgvg .tgvg__file-icon { width:60px;justify-content:start; }
  .tgvg .tgvg__app-body { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .tgvg .tgvg__sidebar { display:none; }
  .tgvg .tgvg__course { display:none; }
  .tgvg .tgvg__windowbar { justify-content:space-between; }
}
@media (max-width: 580px) {
  .tgvg { padding:35px 0 48px; }
  .tgvg .tgvg__container { width:calc(100% - 26px); }
  .tgvg .tgvg__eyebrow { font-size:12px;margin-bottom:17px; }
  .tgvg .tgvg__message h1 { font-size:clamp(44px,10.8vw,62px); }
  .tgvg .tgvg__intro { font-size:17px;margin-top:19px; }
  .tgvg .tgvg__sources { grid-template-columns:minmax(0,1fr);gap:10px; }
  .tgvg .tgvg__source { flex-direction:row;align-items:center; min-height:76px; }
  .tgvg .tgvg__source h3 { font-size:14px; }
  .tgvg .tgvg__source p { font-size:12px; }
  .tgvg .tgvg__showcase { padding-top:15px; }
  .tgvg .tgvg__windowbar { min-height:47px;gap:6px;padding:5px 9px; }
  .tgvg .tgvg__window-brand { font-size:11px; }
  .tgvg .tgvg__window-dots { display:none; }
  .tgvg .tgvg__next { display:none; }
  .tgvg .tgvg__app-body { grid-template-columns:minmax(0,1fr); gap:8px; padding:8px; }
  .tgvg .tgvg__document { max-height:290px; }
  .tgvg .tgvg__paper { min-height:0;max-height:196px;overflow:auto; }
  .tgvg .tgvg__handwritten { font-size:12px; }
  .tgvg .tgvg__document-head { padding:10px; }
  .tgvg .tgvg__document .tgvg__viewerbar { margin-top:5px; }
  .tgvg .tgvg__assessment { padding:10px; }
  .tgvg .tgvg__criterion { min-height:54px; }
  .tgvg .tgvg__criterion strong { font-size:11px; }
  .tgvg .tgvg__criterion small { font-size:10px; }
  .tgvg .tgvg__feedback textarea { min-height:90px; font-size:12px; }
}
@media (prefers-reduced-motion: reduce) { .tgvg *, .tgvg *::before, .tgvg *::after { transition:none !important; animation:none !important; } }

.tgvg .tgvg__actions { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; margin:0 0 30px; }
.tgvg .tgvg__actions .btn { font-size:15px; padding:13px 22px; }
.tgvg .tgvg__actions > a { max-width:100%; white-space:normal; }
.tgvg .tgvg__demo-link { color:var(--tgvg-ink); font-size:15px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.tgvg .tgvg__actions a:focus-visible { outline:3px solid #0c6f9d; outline-offset:4px; }

/* Arabic demo text is read at its actual display size, not as a miniature UI.
   Extra lines increase the panels' height instead of reducing the type. */
html[lang="ar"] .tgvg .tgvg__windowbar { gap:10px; padding:10px 14px; }
html[lang="ar"] .tgvg :is(.tgvg__course, .tgvg__counter, .tgvg__next) { font-size:14px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__course { flex-basis:200px; max-width:300px; }
html[lang="ar"] .tgvg .tgvg__app-body { gap:10px; padding:10px; }
html[lang="ar"] .tgvg .tgvg__side-row { font-size:14px; line-height:1.5; gap:6px; padding:8px; overflow-wrap:normal; }
html[lang="ar"] .tgvg .tgvg__document-head { font-size:16px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__tabs button { min-height:44px; font-size:14px; line-height:1.5; padding:8px 4px; }
html[lang="ar"] .tgvg .tgvg__paper { padding:16px; }
html[lang="ar"] .tgvg .tgvg__question { font-size:16px; line-height:1.65; }
html[lang="ar"] .tgvg .tgvg__handwritten { margin-inline-start:0 !important; margin-inline-end:12px !important; font-size:15px; line-height:1.75; }
html[lang="ar"] .tgvg .tgvg__paper--summary :is(h4, p) { font-size:15px; line-height:1.75; }
html[lang="ar"] .tgvg .tgvg__viewerbar { flex-wrap:wrap; gap:6px; min-height:36px; padding:6px 8px; font-size:13px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__assessment h3 { font-size:16px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__assessment-head > span { font-size:14px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__criterion { grid-template-columns:minmax(0,1fr) 54px; gap:6px 10px; min-height:84px; padding-block:12px; }
html[lang="ar"] .tgvg .tgvg__criterion > div { grid-column:1; grid-row:1; }
html[lang="ar"] .tgvg .tgvg__criterion strong { font-size:14px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__criterion small { font-size:13px; line-height:1.6; }
html[lang="ar"] .tgvg .tgvg__progress { grid-column:1; grid-row:2; max-width:160px; }
html[lang="ar"] .tgvg .tgvg__criterion b { grid-column:2; grid-row:1 / span 2; align-self:center; font-size:14px; }
html[lang="ar"] .tgvg .tgvg__suggestion > span { font-size:16px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__suggestion strong { font-size:24px; }
html[lang="ar"] .tgvg .tgvg__feedback-heading > span { font-size:13px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__feedback-label { font-size:14px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__feedback textarea { min-height:150px; max-height:320px; font-size:14px; line-height:1.75; }
html[lang="ar"] .tgvg .tgvg__feedback-actions button { flex:1 1 125px; min-height:44px; font-size:14px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__demo-message { font-size:14px; line-height:1.6; }
html[lang="ar"] .tgvg .tgvg__source h3 { font-size:18px; line-height:1.5; }
html[lang="ar"] .tgvg .tgvg__source p { font-size:16px; line-height:1.75; }
html[lang="ar"] .tgvg :is(.tgvg__demo-link > span, .tgvg__next > span, .tgvg__demo-save > span) { display:inline-block; transform:scaleX(-1); }
@media (min-width:1131px) {
  html[lang="ar"] .tgvg .tgvg__story { align-self:start; padding-block-start:32px; }
}
@media (min-width:791px) {
  html[lang="ar"] .tgvg .tgvg__app-body { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html[lang="ar"] .tgvg .tgvg__sidebar { grid-column:1 / -1; display:flex; flex-wrap:wrap; justify-content:center; gap:6px; padding-top:0; }
}
@media (max-width:580px) {
  html[lang="ar"] .tgvg .tgvg__document { max-height:none; }
  html[lang="ar"] .tgvg .tgvg__paper { min-height:0; max-height:300px; overflow:auto; }
}
