/* ============================================================================
   tools-glass.css - the Tools group in one design (founder 2026-11-02:
   "Make all the pages in the TOOL group in Tanix bigger and more beautiful",
   "clean up all the pages inside TOOL group", "Use the ultra premium glass design").

   The ten pages: Remove Background, Resize & Compress, PDF Tools, Passport Photo,
   Product Photo, Photo to Text, Sharpen Photo, Voice to Text, CV Writer, Video Downloader.

   WHY THIS FILE EXISTS. Each tool already shared tools-kit.css (and remove-background.css
   kept its own copy of the same ideas), but the look came from before the app had a glass
   layer: flat navy panels, a hard border, a grey checkerboard behind the upload area, small
   type, and a page header the app shell flattens to a bare line of text. This file is the
   one place the whole group is dressed, so a change lands on all ten at once.

   THE GLASS IS THE APP'S OWN. It is built from the --gl-* tokens app-shell.css already
   defines (copied into --tg-* here so this file still works if it is ever loaded alone),
   so a tool panel is the same material as every other panel in TaniX rather than a
   second look invented for one group.

   SQUARE CORNERS ARE DELIBERATE. square.css (founder 2026-10-06) squares every panel in
   the app with an !important rule, so nothing here sets a radius - the depth comes from
   the lit top edge, the layered fill and the shadow, not from rounding.

   PERFORMANCE IS THE DESIGN CONSTRAINT (the same rule app-shell.css sets out): real
   backdrop blur only on the few large surfaces that do not repeat - the page header, the
   upload area, the settings panel - never on a repeating row, and none of it below 700px,
   where most of our students are and where blur costs frames.

   LOAD ORDER. nginx injects app-shell.css and square.css AFTER a page's own stylesheets,
   so anything those two set is overridden here by naming one extra class (.tk-header on
   top of .page-header) and repeating !important. Everything else needs neither.
   ========================================================================== */

/* ---------- Tokens. Scoped to the tool pages: nothing global is touched. ---------- */
.tk-header, .tk-section, .rb-header, .rb-section {
  --tg-edge: rgba(255, 255, 255, .10);
  --tg-edge-hi: rgba(255, 255, 255, .20);
  --tg-dash: rgba(255, 255, 255, .22);
  --tg-edge-on: rgba(124, 208, 255, .50);
  --tg-fill: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .022) 46%, rgba(255, 255, 255, .012));
  --tg-fill-hi: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  --tg-sunk: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .10));
  --tg-lift: 0 18px 40px -32px rgba(0, 0, 0, .95);
  --tg-deep: 0 30px 70px -42px rgba(0, 0, 0, .92);
  --tg-glow: 0 0 46px -24px rgba(92, 200, 255, .60);
  --tg-sky: #5cc8ff;
  --tg-ink: #eaf1ff;
}
[data-theme="light"] .tk-header, [data-theme="light"] .tk-section,
[data-theme="light"] .rb-header, [data-theme="light"] .rb-section {
  --tg-edge: rgba(16, 24, 52, .11);
  --tg-edge-hi: rgba(255, 255, 255, .95);
  --tg-dash: rgba(16, 24, 52, .22);
  --tg-edge-on: rgba(91, 69, 255, .45);
  --tg-fill: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .70));
  --tg-fill-hi: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, .86));
  --tg-sunk: linear-gradient(180deg, rgba(16, 24, 52, .05), rgba(16, 24, 52, .02));
  --tg-lift: 0 14px 34px -28px rgba(16, 24, 52, .55);
  --tg-deep: 0 26px 60px -40px rgba(16, 24, 52, .45);
  --tg-glow: 0 0 40px -24px rgba(91, 69, 255, .45);
  --tg-ink: #11162c;
}

/* ============================ 1. The page header ============================
   The app shell turns a website banner into a plain left-aligned line and hides the
   intro sentence under it, which is right for a page whose title says everything.
   A tool is not that page: what it does, and what it will not do with your photo, is
   the first thing a student needs. So the ten tools get the header back as a designed
   glass hero - the same one Logos & icons and Remove Watermark already use - with the
   tool's own mark, a title a size and a half bigger, and its one sentence. */
html.taa-app main > .page-header.tk-header,
html.taa-app main > .page-header.rb-header { padding: clamp(14px, 1.6vw, 24px) 0 0 !important; }

/* The hero itself. The first rule is the design; the second repeats it with the one
   extra class and !important it takes to beat app-shell.css, which loads after this file
   and flattens hero panels to a plain line of text on every other page. Both are kept so
   the header still has a design if the shell is ever not there. */
.tk-header > .container, .rb-header > .container {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(22px, 2.3vw, 34px) clamp(20px, 2.4vw, 38px);
  background:
    radial-gradient(130% 190% at 100% 0%, rgba(92, 200, 255, .17), transparent 58%),
    radial-gradient(100% 160% at 0% 100%, rgba(139, 108, 255, .14), transparent 56%),
    var(--tg-fill);
  border: 1px solid var(--tg-edge);
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
}
.tk-header h1, .rb-header h1 {
  font-size: clamp(1.95rem, 1.15rem + 2.3vw, 3.05rem); line-height: 1.05; letter-spacing: -.022em; margin: 0 0 10px;
  background: linear-gradient(176deg, #ffffff 28%, #a8dbff 118%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* ONE ROW: no reading-measure cap here. A tool's one sentence is a label, not a paragraph,
   and a cap of 74ch broke the two longest ones (PDF Tools, Resize & Compress) onto a second
   row with 50px of the hero still empty beside them. The hero column is the cap. */
.tk-header .lede, .rb-header .lede { max-width: none; margin: 0; font-size: 1.04rem; line-height: 1.6; }

html.taa-app main > .page-header.tk-header > .container,
html.taa-app main > .page-header.rb-header > .container {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(22px, 2.3vw, 34px) clamp(20px, 2.4vw, 38px) !important;
  background:
    radial-gradient(130% 190% at 100% 0%, rgba(92, 200, 255, .17), transparent 58%),
    radial-gradient(100% 160% at 0% 100%, rgba(139, 108, 255, .14), transparent 56%),
    var(--tg-fill) !important;
  border: 1px solid var(--tg-edge) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
}
/* ::before is the one the shell switches off, so the lit top edge is drawn with ::after. */
html.taa-app main > .page-header.tk-header > .container::after,
html.taa-app main > .page-header.rb-header > .container::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124, 208, 255, .75) 22%, rgba(167, 139, 250, .55) 62%, transparent);
}
html.taa-app main > .page-header.tk-header h1,
html.taa-app main > .page-header.rb-header h1 {
  font-size: max(1.95rem, min(clamp(1.95rem, 1.15rem + 2.3vw, 3.05rem),
                              calc((100cqw - 6px) / var(--tg-h1-fit, .01)))) !important;
  line-height: 1.05 !important; letter-spacing: -.022em !important; margin: 0 0 10px !important;
  background: linear-gradient(176deg, #ffffff 28%, #a8dbff 118%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html[data-theme="light"].taa-app main > .page-header.tk-header h1,
html[data-theme="light"].taa-app main > .page-header.rb-header h1,
html[data-theme="light"] .tk-header h1, html[data-theme="light"] .rb-header h1 {
  background: linear-gradient(176deg, #141a33 28%, #4b3ad6 120%);
  -webkit-background-clip: text; background-clip: text;
}
html.taa-app .page-header.tk-header .lede,
html.taa-app .page-header.rb-header .lede {
  display: block !important; max-width: none !important; margin: 0 !important;
  font-size: 1.04rem !important; line-height: 1.6 !important;
}
/* ONE ROW, the title (founder 2026-11-07: "make the headers in one row if they can be").
   Two of the ten titles were breaking onto a second line on a laptop - "Make, join and shrink
   PDFs on your phone" by one pixel, "Make your product photos look professional" by 66 - while
   the rest fitted. A title is a fixed string, so the width it needs is a fixed multiple of its
   font size; that multiple is measured once per page, in the font it is really drawn in
   (tools/check/one-row.js prints it as k), and lives in --tg-h1-fit below.
   The hero is a query container, so 100cqw is exactly the room the title has, and the title is
   given the size that fills it in one row - but never larger than the size it had before, and
   never smaller than the phone size, because no title fits one row on a 390px phone and shrinking
   it to 19px to force one would be a worse answer than wrapping.
   An older browser that does not know cqw drops the line and keeps the clamp. */
html.taa-app main > .page-header.tk-header > .container,
html.taa-app main > .page-header.rb-header > .container { container-type: inline-size; }
/* Measured at 1024, 1100 and 1280px wide and taken at the widest, plus 2%. If a title is
   reworded, measure it again - the number is the title, not the page. */
body:has(#rbApp) { --tg-h1-fit: 19.20; }   /* Remove the background from any photo */
body:has(#rsApp) { --tg-h1-fit: 17.77; }   /* Resize photos and make them smaller */
body:has(#pdApp) { --tg-h1-fit: 19.68; }   /* Make, join and shrink PDFs on your phone */
body:has(#ppApp) { --tg-h1-fit: 18.49; }   /* Make a passport photo from any photo */
body:has(#prApp) { --tg-h1-fit: 21.07; }   /* Make your product photos look professional */
body:has(#otApp) { --tg-h1-fit: 11.03; }   /* Copy text from a photo */
body:has(#spApp) { --tg-h1-fit: 17.30; }   /* Make a small or blurry photo sharper */
body:has(#vtApp) { --tg-h1-fit: 12.34; }   /* Turn a voice note into text */
body:has(#cvApp) { --tg-h1-fit: 18.53; }   /* Write a professional CV and cover letter */
body:has(.dv-app) { --tg-h1-fit: 10.45; }  /* Download your videos */


/* ============================ 2. The upload area ============================
   It was a 300px box behind a grey checkerboard - the chequer said "transparent
   background" on the one tool that removes backgrounds and said nothing anywhere else.
   Now it is the biggest piece of glass on the page, lit from the top, and it answers
   the pointer and the drag with light rather than a jump. */
.tk-drop, .rb-drop {
  min-height: clamp(320px, 42vh, 460px) !important;
  padding: clamp(28px, 3vw, 46px) 24px !important;
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(92, 200, 255, .12), transparent 62%),
    var(--tg-fill) !important;
  border: 1.5px dashed var(--tg-dash) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.tk-drop:hover, .tk-drop:focus-visible, .rb-drop:hover, .rb-drop:focus-visible {
  border-color: var(--tg-edge-on) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep), var(--tg-glow);
}
.tk-drop.is-over, .rb-drop.is-over {
  border-color: var(--tg-sky) !important; border-style: solid !important; transform: none !important;
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(92, 200, 255, .26), transparent 66%),
    var(--tg-fill-hi) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep), 0 0 60px -18px rgba(92, 200, 255, .85);
}
.tk-drop-icon, .rb-drop-icon {
  width: 84px !important; height: 84px !important; color: #ffffff !important;
  background: linear-gradient(150deg, #1f7bff, #38b6ff 55%, #8b6cff) !important;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 20px 44px -22px rgba(56, 182, 255, .9);
}
.tk-drop-icon svg, .rb-drop-icon svg { width: 38px !important; height: 38px !important; }
.tk-drop-title, .rb-drop-title { font-size: clamp(1.3rem, 1.05rem + .7vw, 1.6rem) !important; margin: 20px 0 6px !important; }
/* ONE ROW: 46ch held five of these to two rows inside an upload area twice that wide. */
.tk-drop-sub, .rb-drop-sub { font-size: 1.01rem !important; margin-bottom: 22px !important; max-width: 72ch; margin-inline: auto; }
/* .tk-plain used to mean "no chequer". Every upload area is glass now, so it means nothing;
   the selector stays so the pages that carry the class keep working. */
.tk-drop.tk-plain { background: radial-gradient(90% 130% at 50% 0%, rgba(92, 200, 255, .12), transparent 62%), var(--tg-fill) !important; }

/* ============================ 3. Panels, stage, rows ============================ */
.tk-panel, .rb-panel {
  padding: clamp(20px, 1.7vw, 28px) !important;
  background: var(--tg-fill) !important;
  border: 1px solid var(--tg-edge) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-deep) !important;
  -webkit-backdrop-filter: blur(20px) saturate(145%); backdrop-filter: blur(20px) saturate(145%);
}
.tk-panel h2, .tk-panel .tk-h, .rb-panel h2, .cv-form legend {
  font-size: 1.02rem !important; letter-spacing: -.01em;
}
.tk-panel > * + h2, .tk-panel > * + .tk-h, .rb-panel h2 + * { margin-top: 20px; }
.tk-stage, .rb-stage .rb-viewer {
  background: var(--tg-sunk) !important;
  border: 1px solid var(--tg-edge) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-lift);
}
.tk-stage.tk-check { background: repeating-conic-gradient(var(--tk-check-a) 0 25%, var(--tk-check-b) 0 50%) 0 0 / 22px 22px !important; }
.tk-pad { padding: 18px; }
.tk-mb { margin-bottom: 14px; }
.tg-canvas { max-height: 64vh; width: auto; box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .6); }
.tg-grab { cursor: grab; touch-action: none; }
.tg-grab:active { cursor: grabbing; }
.tg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tg-pair figure { margin: 0; }
@media (max-width: 560px) { .tg-pair { grid-template-columns: minmax(0, 1fr); } }
/* The three-button rows under a result, which each page used to draw with an inline style. */
.tk-btnrow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.tk-m0 { margin: 0 !important; }
.tg-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tg-audio { width: 100%; margin-bottom: 12px; }

/* The settings column has room to breathe: a tool's choices are the page, not a sidebar. */
.tk-result { gap: 24px !important; grid-template-columns: minmax(0, 1fr) 340px; }
@media (min-width: 1500px) { .tk-result { grid-template-columns: minmax(0, 1fr) 400px; gap: 30px !important; } }
@media (max-width: 860px) { .tk-result { grid-template-columns: minmax(0, 1fr); } }

/* ============================ 4. Controls ============================ */
.tk-choice, .rb-bg {
  padding: 12px 13px !important; font-size: .92rem !important;
  background: var(--tg-fill-hi) !important; border: 1px solid var(--tg-edge) !important; color: var(--tg-ink) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.tk-choice small { font-size: .78rem !important; }
.tk-choice:hover, .rb-bg:hover { border-color: var(--tg-edge-on) !important; }
.tk-choice[aria-pressed="true"], .rb-bg[aria-pressed="true"] {
  border-color: var(--tg-sky) !important; color: #ffffff !important;
  background: linear-gradient(170deg, rgba(56, 182, 255, .26), rgba(139, 108, 255, .16)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 1px rgba(92, 200, 255, .32), 0 14px 32px -22px rgba(56, 182, 255, .9) !important;
}
[data-theme="light"] .tk-choice[aria-pressed="true"], [data-theme="light"] .rb-bg[aria-pressed="true"] { color: #11162c !important; }
.tk-field input, .tk-field select, .tk-field textarea, .dv-urlrow input {
  padding: 12px 14px !important; background: var(--tg-sunk) !important;
  border: 1px solid var(--tg-edge) !important; color: var(--tg-ink) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.tk-field input:focus, .tk-field select:focus, .tk-field textarea:focus, .dv-urlrow input:focus {
  outline: none; border-color: var(--tg-sky) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 0 0 3px rgba(92, 200, 255, .22);
}
.tk-field label { font-size: .88rem !important; }
.tk-text {
  min-height: 380px !important; font-size: 1.02rem !important;
  background: var(--tg-sunk) !important; border: 1px solid var(--tg-edge) !important; color: var(--tg-ink) !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
.tk-tabs {
  padding: 5px !important; margin-bottom: 20px !important;
  background: var(--tg-fill) !important; border: 1px solid var(--tg-edge) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-lift);
}
.tk-tab { padding: 11px 20px !important; font-size: .95rem !important; }
.tk-tab[aria-selected="true"] { box-shadow: 0 10px 26px -16px rgba(56, 182, 255, .95); }
.tk-again, .rb-again {
  padding: 12px !important; background: var(--tg-fill) !important;
  border: 1px dashed var(--tg-dash) !important; color: var(--tg-ink) !important;
}
.tk-again:hover, .rb-again:hover { border-color: var(--tg-edge-on) !important; background: var(--tg-fill-hi) !important; }
.tk-status, .rb-status {
  padding: 16px 18px !important; background: var(--tg-fill) !important;
  border: 1px solid var(--tg-edge) !important; box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-lift) !important;
}
.tk-error, .rb-error {
  padding: 14px 18px !important;
  background: linear-gradient(180deg, rgba(255, 107, 107, .16), rgba(255, 107, 107, .07)) !important;
  border: 1px solid rgba(255, 107, 107, .42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
/* A file row repeats, so it gets the same look from gradients alone - no blur. */
.tk-file {
  grid-template-columns: 64px minmax(0, 1fr) auto !important; padding: 10px !important;
  background: var(--tg-fill) !important; border: 1px solid var(--tg-edge) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi), var(--tg-lift);
}
.tk-file img, .tk-file canvas, .tk-file .tk-thumb { width: 64px !important; height: 64px !important; }
.tk-icon-btn {
  width: 38px !important; height: 38px !important;
  background: var(--tg-fill-hi) !important; border: 1px solid var(--tg-edge) !important; color: var(--tg-ink) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi);
}
.tk-icon-btn:hover:not(:disabled) { border-color: var(--tg-edge-on) !important; }
/* Secondary buttons inside a tool are glass; the primary keeps the brand blue. */
html.taa-app .tk-section .btn-secondary, html.taa-app .rb-section .btn-secondary {
  background: var(--tg-fill-hi) !important; border: 1px solid var(--tg-edge) !important; color: var(--tg-ink) !important;
  box-shadow: inset 0 1px 0 var(--tg-edge-hi) !important;
}
html.taa-app .tk-section .btn-secondary:hover:not(:disabled),
html.taa-app .rb-section .btn-secondary:hover:not(:disabled) { border-color: var(--tg-edge-on) !important; }

/* ============================ 5. Video Downloader ============================
   The form was one panel the full width of a laptop, so a single link box ran to
   1100px and the two quality choices were 540px each. It keeps a sensible width.
   ONE COLUMN since 2026-11-07 (founder: remove the two help panels beside it, and
   every tool's three facts with them). The grid stays, because it is what holds the
   form, the status line, the error and the result in one stack at one width - but a
   second track with nothing in it would leave the form squeezed against dead space. */
html.taa-app .dv-app { display: grid; grid-template-columns: minmax(0, min(760px, 100%)); gap: 24px; align-items: start; }
html.taa-app .dv-app > .tk-panel, html.taa-app .dv-app > .tk-status,
html.taa-app .dv-app > .tk-error, html.taa-app .dv-app > .dv-result { grid-column: 1; }
/* ONE ROW: side by side, each choice was 257px and both sentences wrapped - on a phone to
   three rows. One choice per row gives each its sentence in one row at every width. */
.dv-panel .tk-choices { grid-template-columns: minmax(0, 1fr) !important; }
.dv-sites span { background: var(--tg-fill-hi) !important; border: 1px solid var(--tg-edge) !important; }
.dv-urlrow { gap: 10px; }
@media (max-width: 1020px) {
  html.taa-app .dv-app { grid-template-columns: minmax(0, 1fr); }
}

/* ============================ 7. CV Writer ============================
   Two columns of panels on a grid left a hole under the shorter one. The panels are
   laid out in balanced columns instead, so each one starts where the last one ended. */
/* ONE ROW: the form was capped at 820px and then split into two columns, which left each
   field 171px wide - too narrow for its own label ("Job title you are applying for",
   "LinkedIn or portfolio (optional)"). In the app the page column is the cap, so the two
   columns are 477px and every label is one row. */
html.taa-app .cv-form { max-width: none; }
.cv-fields { columns: 2; column-gap: 24px; }
.cv-fields > fieldset { break-inside: avoid; margin: 0 0 24px !important; display: block; }
@media (max-width: 1100px) { .cv-fields { columns: 1; } }
.cv-row { padding: 16px !important; background: var(--tg-fill) !important; border: 1px solid var(--tg-edge) !important; box-shadow: inset 0 1px 0 var(--tg-edge-hi); }
.cv-submit { gap: 12px; }
.cv-paper { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .65) !important; }

/* ============================ 8. Phones and reduced motion ============================
   Below 700px the blur goes (it is what costs frames on a cheap Android), the upload
   area shrinks to a thumb-friendly height, and the hero loses its wide padding.
   Everything keeps its glass: the fill, the lit edge and the shadow are free. */
@media (max-width: 700px) {
  html.taa-app main > .page-header.tk-header > .container, html.taa-app main > .page-header.rb-header > .container,
  .tk-drop, .rb-drop, .tk-panel, .rb-panel { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.taa-app main > .page-header.tk-header > .container, html.taa-app main > .page-header.rb-header > .container { padding: 20px 18px !important; }
  /* ONE ROW: 18px of side padding either side held three of the upload lines to two rows on
     a 390px phone. The content inside is centred, so the room is better spent on the text. */
  .tk-drop, .rb-drop { min-height: 250px !important; padding: 26px 11px !important; }
  .tk-drop-icon, .rb-drop-icon { width: 68px !important; height: 68px !important; }
  .tk-drop-icon svg, .rb-drop-icon svg { width: 31px !important; height: 31px !important; }
  .tk-drop, .rb-drop { transition: none; }
  .tk-text { min-height: 300px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-drop, .rb-drop, .tk-choice, .rb-bg { transition: none; }
}

/* ============================ 9. The small ones ============================
   Each of these replaced a hand-written style="..." on one element in one page, so
   the ten pages now carry markup and nothing else. */
.tk-note-strong { color: var(--text) !important; }   /* pdf-tools: the "your PDF is ready" line */
.tk-center { text-align: center; }                   /* passport-photo: the head-size warning */
.tk-again-tight { margin-top: 4px !important; }      /* passport-photo Reset, photo-to-text Turn */
.tk-check-top { margin-top: 14px; }                  /* voice-to-text: Show times */
.tg-recbox { text-align: center; margin-top: 16px; } /* voice-to-text: "or record yourself here" */
.tg-inline { font-family: inherit; font-weight: 500; }
