/* AdeptWrite design system — ported from design/artifact-markup.html (inline styles → classes).
   Mobile-first. Light/dark via [data-theme] on <html>. Unminified (build.mjs has no minifier by design).
   Font files are referenced as /assets/fonts/font-NN.woff2; build.mjs rewrites these to the
   content-hashed names it emits (so a re-subsetted font never hits a stale immutable cache).
   v2 (docs/ARCHITECTURE.md §8): every horizontal property is logical (margin-inline, padding-inline, inset-inline,
   border-inline, text-align:start) so right-to-left pages mirror without extra rules; [dir="rtl"] only flips
   directional glyphs (.arrow, breadcrumb separators). Font stacks come from :root[data-script] (src/data/locales.mjs
   FONTS — scripts/generator-pages.test.mjs keeps this file in sync with it). */

/* ---------- Fonts (self-hosted Google Fonts subsets; same 11 files as the design)
   file           family             weight  subset
   font-01.woff2  Lora               600     cyrillic-ext
   font-02.woff2  Lora               600     cyrillic
   font-03.woff2  Lora               600     math
   font-04.woff2  Lora               600     symbols
   font-05.woff2  Lora               600     vietnamese
   font-06.woff2  Lora               600     latin-ext
   font-07.woff2  Lora               600     latin            ← preloaded
   font-08.woff2  Plus Jakarta Sans  400+700 cyrillic-ext     (variable file, serves both weights)
   font-09.woff2  Plus Jakarta Sans  400+700 vietnamese
   font-10.woff2  Plus Jakarta Sans  400+700 latin-ext
   font-11.woff2  Plus Jakarta Sans  400+700 latin            ← preloaded */
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-01.83e1cb177d.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-02.b2592496f6.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-03.96e28a6f4d.woff2) format('woff2');unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-209F,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-04.5372030395.woff2) format('woff2');unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AE,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F8D0-1F8D8,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FAC6,U+1FAC8,U+1FACC-1FADD,U+1FADF-1FAEB,U+1FAEF-1FAFA,U+1FB00-1FBFF}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-05.5b60447923.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-06.b784e8d2d5.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/font-07.73354e49fa.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/font-08.a6b4e8f690.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/font-09.5c1c43e016.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/font-10.e59d136be1.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/font-11.069be307c1.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Tokens */
:root,[data-theme="light"]{--bg:#FAFAF7;--surface:#FFFFFF;--surface2:#F1F0FB;--ink:#15142B;--muted:#5B5A74;--line:#E4E3EE;--primary:#3B2BD9;--primary-soft:#ECEAFB;--amber:#F2A516;--amber-soft:#FFF3D6;--amber-ink:#6B4A00;--green:#DDF5E4;--green-ink:#146C3A;--red:#C5322A;--red-soft:#FDE8E6;--line-strong:#8281A0;--shadow:0 8px 30px rgba(27,20,90,.08);--on-primary:#fff;--on-amber:#1A1200;--on-red:#fff;--focus:#3B2BD9;color-scheme:light}
[data-theme="dark"]{--bg:#0F0F1A;--surface:#17172A;--surface2:#1F1F36;--ink:#F2F1FA;--muted:#A9A7C4;--line:#2B2B45;--primary:#8B7EF7;--primary-soft:#262457;--amber:#F5B544;--amber-soft:#3A2E12;--amber-ink:#F5D08A;--green:#17442C;--green-ink:#9BE6B8;--red:#F07D74;--red-soft:#3C1A17;--line-strong:#74739A;--shadow:0 8px 30px rgba(0,0,0,.45);--on-primary:#15142B;--on-amber:#1A1200;--on-red:#15142B;--focus:#F5B544;color-scheme:dark}
/* Contrast (design review 2026-12-01, scripts/layout-rules.test.mjs): --red 4.62:1 on --red-soft (was 4.49); --line-strong is the border of inputs, selects and
   chips, at least 3:1 against every ground they sit on (white, page, surface2, primary-soft in light; surface, surface2, page in dark);
   --line stays for decorative dividers.
   Dark theme: the lighter primary (#8B7EF7) only reaches 3.3:1 with white text, so every filled
   primary/red element uses --on-primary/--on-red (dark ink, ≥ 6.6:1) instead of hard-coded #fff. */
:root{--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--r-sm:8px;--r:12px;--r-lg:16px;--r-xl:20px;--max:1200px;--header-h:64px;--ls-tight:-.02em;--ls-wide:.08em;--lh-body:1.55;--lh-head:1.2}

/* ---------- Font stacks by script (<html data-script> from src/data/locales.mjs; one value per FONTS entry).
   Latin and Cyrillic use the self-hosted Lora (+ Plus Jakarta Sans for Latin); every other script uses system stacks. */
:root,:root[data-script="latin"]{--serif:'Lora', Georgia, 'Times New Roman', serif;--sans:'Plus Jakarta Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif}
:root[data-script="cyrillic"]{--serif:'Lora', Georgia, 'Times New Roman', serif;--sans:'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif}
:root[data-script="greek"]{--serif:'Noto Serif', Georgia, 'Times New Roman', serif;--sans:'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif}
:root[data-script="arabic"]{--serif:'Noto Naskh Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'Geeza Pro', serif;--sans:'Noto Sans Arabic', 'Segoe UI', Tahoma, 'Geeza Pro', Arial, sans-serif}
:root[data-script="arabic"]:lang(fa){--serif:'Vazirmatn', 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, serif;--sans:'Vazirmatn', 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'Iranian Sans', Arial, sans-serif}
:root[data-script="arabic"]:lang(ur){--serif:'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', 'Noto Sans Arabic', serif;--sans:'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', 'Noto Sans Arabic', Tahoma, sans-serif}
:root[data-script="hebrew"]{--serif:'Noto Serif Hebrew', David, 'Times New Roman', serif;--sans:'Noto Sans Hebrew', 'Segoe UI', Arial, 'Arial Hebrew', sans-serif}
:root[data-script="devanagari"]{--serif:'Noto Serif Devanagari', 'Noto Sans Devanagari', Mangal, 'Nirmala UI', 'Kohinoor Devanagari', serif;--sans:'Noto Sans Devanagari', 'Nirmala UI', Mangal, 'Kohinoor Devanagari', 'Devanagari Sangam MN', sans-serif}
:root[data-script="bengali"]{--serif:'Noto Serif Bengali', 'Noto Sans Bengali', Vrinda, 'Nirmala UI', serif;--sans:'Noto Sans Bengali', 'Nirmala UI', Vrinda, 'Bangla Sangam MN', sans-serif}
:root[data-script="gurmukhi"]{--serif:'Noto Serif Gurmukhi', 'Noto Sans Gurmukhi', Raavi, 'Nirmala UI', serif;--sans:'Noto Sans Gurmukhi', 'Nirmala UI', Raavi, 'Gurmukhi MN', sans-serif}
:root[data-script="gujarati"]{--serif:'Noto Serif Gujarati', 'Noto Sans Gujarati', Shruti, 'Nirmala UI', serif;--sans:'Noto Sans Gujarati', 'Nirmala UI', Shruti, 'Gujarati Sangam MN', sans-serif}
:root[data-script="tamil"]{--serif:'Noto Serif Tamil', 'Noto Sans Tamil', Latha, 'Nirmala UI', serif;--sans:'Noto Sans Tamil', 'Nirmala UI', Latha, 'Tamil Sangam MN', sans-serif}
:root[data-script="telugu"]{--serif:'Noto Serif Telugu', 'Noto Sans Telugu', Gautami, 'Nirmala UI', serif;--sans:'Noto Sans Telugu', 'Nirmala UI', Gautami, 'Telugu Sangam MN', sans-serif}
:root[data-script="kannada"]{--serif:'Noto Serif Kannada', 'Noto Sans Kannada', Tunga, 'Nirmala UI', serif;--sans:'Noto Sans Kannada', 'Nirmala UI', Tunga, 'Kannada Sangam MN', sans-serif}
:root[data-script="malayalam"]{--serif:'Noto Serif Malayalam', 'Noto Sans Malayalam', Kartika, 'Nirmala UI', serif;--sans:'Noto Sans Malayalam', 'Nirmala UI', Kartika, 'Malayalam Sangam MN', sans-serif}
:root[data-script="thai"]{--serif:'Noto Serif Thai', 'Leelawadee UI', Thonburi, 'Angsana New', serif;--sans:'Noto Sans Thai', 'Leelawadee UI', Thonburi, Tahoma, sans-serif}
:root[data-script="han"]{--serif:'Noto Serif SC', 'Songti SC', SimSun, serif;--sans:'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', 'Noto Sans SC', 'Source Han Sans SC', sans-serif}
:root[data-script="han"]:lang(zh-Hant){--serif:'Noto Serif TC', 'Songti TC', PMingLiU, serif;--sans:'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', 'Noto Sans TC', 'Source Han Sans TC', sans-serif}
:root[data-script="japanese"]{--serif:'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif;--sans:'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, 'Noto Sans JP', sans-serif}
:root[data-script="hangul"]{--serif:'Noto Serif KR', 'Nanum Myeongjo', Batang, serif;--sans:'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', 'Nanum Gothic', sans-serif}
/* Tracking: letter-spacing breaks Arabic joining and the Indic headline stroke, and is meaningless for CJK/Thai. */
:root:not([data-script="latin"]):not([data-script="cyrillic"]):not([data-script="greek"]){--ls-tight:0;--ls-wide:0}
/* Taller line boxes for scripts with stacked marks (Thai, Indic) and Nastaliq, whose glyphs need far more height. */
:root[data-script="thai"],:root[data-script="devanagari"],:root[data-script="bengali"],:root[data-script="gurmukhi"],:root[data-script="gujarati"],:root[data-script="tamil"],:root[data-script="telugu"],:root[data-script="kannada"],:root[data-script="malayalam"]{--lh-body:1.75;--lh-head:1.4}
:root[data-script="arabic"]{--lh-body:1.75;--lh-head:1.45}
:root[data-script="arabic"]:lang(ur){--lh-body:2.1;--lh-head:1.8}
:root[data-script="han"],:root[data-script="japanese"],:root[data-script="hangul"]{--lh-body:1.75;--lh-head:1.35}

/* ---------- Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:var(--lh-body);-webkit-font-smoothing:antialiased}
a{color:var(--primary)}a:hover{color:var(--primary)}/* hover never turns the text amber (2.07:1 on white): plain links get a heavier underline, components set their own hover */
a:not([class]):hover{text-decoration-thickness:2px;text-underline-offset:3px}
img,svg{max-width:100%;height:auto;vertical-align:middle}
textarea,button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
:where(button,textarea,input,select,summary,a):focus-visible{outline:3px solid var(--focus);outline-offset:2px;box-shadow:0 0 0 2px var(--surface),0 0 0 7px var(--surface);border-radius:4px}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:var(--lh-head);letter-spacing:var(--ls-tight);text-wrap:pretty;overflow-wrap:anywhere}
p{margin:0 0 1em}
hr.rule{border:0;border-top:1px solid var(--line);margin:32px 0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;inset-inline-start:8px;top:-60px;z-index:100;background:var(--primary);color:var(--on-primary);padding:10px 14px;border-radius:var(--r);font-weight:700}
.skip:focus{top:8px}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.container--narrow{max-width:800px}
.muted{color:var(--muted)}.small{font-size:13px}
.h1{font-family:var(--serif);font-size:clamp(28px,4vw,42px);margin:0 0 8px}
.h2{font-family:var(--serif);font-size:clamp(26px,3.4vw,34px);margin:0 0 8px}
.h2--sm{font-size:26px;margin-bottom:16px}
.lead{color:var(--muted);font-size:17px;margin:0;text-wrap:pretty}
.tagline{color:var(--muted);font-size:17px;max-width:720px;margin:0 0 24px}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--muted);font-weight:700;margin:0 0 10px}
.eyebrow--primary{color:var(--primary);margin-bottom:6px}
[data-mobile-nav]{display:none}

/* ---------- Buttons, pills, chips, inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:var(--r);padding:11px 18px;font-weight:700;text-decoration:none;line-height:1.2;white-space:nowrap;transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn--primary{background:var(--primary);color:var(--on-primary)}.btn--primary:hover{color:var(--on-primary);box-shadow:var(--shadow)}
.btn--amber{background:var(--amber);color:var(--on-amber)}.btn--amber:hover{color:var(--on-amber);box-shadow:var(--shadow)}
.btn--ghost{background:none;border-color:var(--line);color:var(--ink);font-weight:400}.btn--ghost:hover{background:var(--surface2);color:var(--ink)}
.btn--sm{padding:8px 14px;border-radius:10px;font-size:14px;min-height:40px}
.btn--lg{padding:14px 26px;font-size:16px}
/* phones: a long call to action wraps inside its button instead of pushing the page sideways (review 2026-12-01: bg, fi, uk …) */
@media(max-width:640px){.btn--lg{white-space:normal;max-width:100%;text-align:center}}
/* every button label wraps inside its button on phones and inside a full-width card button (design review 2026-12-01: ru passkey button 366 px on a 360 screen, de privacy 414 px, Team waitlist button spilling 3-10 px in id, de, fi, he, ja, ru, tr) */
@media(max-width:480px){.btn{white-space:normal;max-width:100%;text-align:center}}
.plan__cta .btn,.plan__form .btn{white-space:normal;text-align:center}
.btn[disabled]{opacity:.5;cursor:not-allowed;transform:none}
.pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:6px 10px;font-size:13px;font-weight:700;color:var(--ink);text-decoration:none;min-height:36px}
.pill:hover{background:var(--surface2);color:var(--ink)}
.pill--icon{width:36px;height:36px;padding:0;font-size:15px}
.theme-icon--light{display:none}[data-theme="dark"] .theme-icon--light{display:inline}[data-theme="dark"] .theme-icon--dark{display:none}
.chip{display:inline-flex;align-items:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:700;text-decoration:none;line-height:1.3;min-height:36px;cursor:pointer}
.chip:hover{border-color:var(--primary);color:var(--ink)}
.chip.is-active,.chip[aria-selected="true"],.chip[aria-checked="true"]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chips--center{justify-content:center}
.input{border:1px solid var(--line);background:var(--surface);border-radius:var(--r);padding:12px 16px;width:100%}
.input--search{flex:0 1 320px;min-width:220px}
.field{display:flex;flex-direction:column;gap:4px;flex:1 1 160px}
.field label{font-size:13px;font-weight:700;color:var(--muted)}
.field input,.field select{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 12px;width:100%}
.field-row{display:flex;gap:10px;flex-wrap:wrap}

/* ---------- Popular tools row (home hero; src/templates/popular-tools.mjs): plain links. Desktop: centred, wraps (some locale names are long);
   phone: ONE line that scrolls sideways (fixed height, nothing moves; auto margins keep the first chip reachable) */
.popular{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 20px}
.popular__label{font-size:13px;font-weight:700;color:var(--muted);margin-inline-end:4px}
.popular__chip{background:var(--surface)}
.hero__head+.popular{margin-top:-16px}
@media(max-width:760px){.popular{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;margin:-20px -16px 16px;padding:2px 16px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.popular::-webkit-scrollbar{display:none}.popular__label{display:none}.popular__chip{flex:0 0 auto;white-space:nowrap}}

/* ---------- Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--line)}
.site-header__row{height:var(--header-h);display:flex;align-items:center;gap:8px}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);padding:4px;min-height:40px}
.brand__name{font-weight:700;font-size:19px;letter-spacing:var(--ls-tight)}
.nav{display:flex;gap:2px;margin-inline-start:16px;align-items:center}
.nav__link{display:inline-block;padding:8px 12px;border-radius:10px;color:var(--ink);text-decoration:none;cursor:pointer;list-style:none}
.nav__link:hover{background:var(--surface2);color:var(--ink)}
.nav__link--strong{font-weight:700}
.nav__mega summary::-webkit-details-marker{display:none}
.nav__mega[open]>summary{background:var(--surface2)}
.mega{position:absolute;inset-inline:0;top:var(--header-h);border-top:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);z-index:49}
.mega__grid{padding:24px 20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.mega__col{display:flex;flex-direction:column;gap:2px}
.mega__link{display:block;padding:6px 8px;border-radius:8px;color:var(--ink);font-size:14px;text-decoration:none}
.mega__link:hover{background:var(--surface2);color:var(--ink)}
.mega__link--all{font-weight:700;color:var(--primary)}
.site-header__actions{margin-inline-start:auto;display:flex;align-items:center;gap:8px}
.site-header__actions .btn{padding:10px 16px}
/* Tablet and small laptop headers (design review 2026-12-01: 9 of 13 locales overflowed or wrapped between 761 and ~940 px, 40 of 60 locale folders needed more than 1000 px to fit): nav labels never wrap;
   from 761 to 1279 px the amber button leaves the header (the editor is on the page), the nav labels get tighter padding, and from 761 to 859 px the mark stands alone as it does at 360 px.
   Measured over every locale folder with scripts in the sweep: every header fits from 764 px up. */
.nav__link{white-space:nowrap}
@media(min-width:761px) and (max-width:1279px){.site-header__actions .btn[data-desktop-only]{display:none}.nav{margin-inline-start:8px}.nav__link{padding:8px 10px}}
@media(min-width:761px) and (max-width:859px){.brand__name{display:none}}

/* ---------- Hero */
.hero{background:linear-gradient(180deg,var(--primary-soft) 0%,var(--bg) 100%)}
.hero .container{padding-top:56px;padding-bottom:64px}
.hero__head{text-align:center;max-width:760px;margin:0 auto 36px}
.badge{display:inline-flex;gap:8px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:13px;color:var(--muted);margin-bottom:20px}
.badge__dot{width:8px;height:8px;border-radius:50%;background:var(--green-ink);display:inline-block}
.hero__title{font-family:var(--serif);font-size:clamp(34px,5vw,56px);line-height:1.1;margin:0 0 16px}
.hero__sub{font-size:18px;color:var(--muted);margin:0;text-wrap:pretty}

/* ---------- Editor (§5) */
.editor{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow);overflow:hidden;min-width:0}
.editor__bar{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px;border-bottom:1px solid var(--line);align-items:center}
.editor__bar:not(:has(.editor__modes)){padding:10px 16px}
.editor__label{font-size:13px;color:var(--muted);font-weight:700;margin-inline-end:4px}
.editor__modes{display:contents}/* chips wrap together with the Mode label inside the bar, as in the design */
.editor__hint{font-size:12px;color:var(--muted)}
.editor__hint--row{margin-inline-start:auto}
.editor__bar .editor__meta{margin-inline-start:auto}
.editor__bar .editor__toggle{margin-inline-start:0}
.editor__settings>summary{padding:10px 16px;border-bottom:1px solid var(--line);font-weight:600;cursor:pointer}
@media(min-width:641px){.editor__settings>summary{display:none}}
.editor__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.editor__form{padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0}
@media(min-width:720px){.editor__form{border-inline-end:1px solid var(--line)}}
.editor textarea{width:100%;min-height:240px;resize:vertical;border:0;background:transparent;padding:4px;font-size:16px;line-height:1.6;outline:none}
.editor textarea:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--focus);border-radius:8px}
.editor--hero textarea{min-height:200px}
.editor__row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.editor__row .btn--primary{padding:12px 22px}
.editor__meta{font-size:13px;color:var(--muted);margin-inline-start:auto}
.editor__meta.is-over{color:var(--red);font-weight:600}
.editor__side{padding:16px;background:var(--surface2);min-height:300px;display:flex;flex-direction:column;gap:12px;min-width:0}
.editor--hero .editor__side{min-height:280px}
.editor__out{flex:1;font-size:16px;line-height:1.7;color:var(--ink);white-space:pre-wrap;word-wrap:break-word}
.editor__out:empty::before,.editor__out.is-empty{color:var(--muted);font-size:15px}
.editor__out mark.chg,.editor__out .chg{background:var(--green);color:inherit;border-radius:3px;cursor:pointer}
.editor__out .alert,.editor__alert{background:var(--red-soft);color:var(--red);border-radius:var(--r);padding:14px;font-size:14px;display:flex;flex-direction:column;gap:8px;white-space:normal}
.editor__out .notice{background:var(--amber-soft);color:var(--amber-ink);border-radius:var(--r);padding:10px 14px;font-size:13px;white-space:normal}
.editor__actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;position:sticky;bottom:12px}
.editor__actions .btn--amber{box-shadow:var(--shadow)}
.editor__actions .btn--ghost{background:var(--surface)}
.editor__legend{font-size:12px;color:var(--muted);margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px}
.editor__privacy{margin:0;padding:10px 16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
@keyframes pulse{0%{opacity:.45}50%{opacity:1}100%{opacity:.45}}

/* ---------- Sections, grids, cards */
.section{padding:72px 0}
.section--surface{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{margin-bottom:28px}
.section-head--row{display:flex;flex-wrap:wrap;gap:16px;align-items:end;justify-content:space-between}
.section__block{margin-top:56px}
.section__more{margin:28px 0 0;font-weight:700}.section__more a{display:inline-block;padding:8px 0}
.grid{display:grid;gap:14px}
.grid--cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.grid--cards-sm{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.grid--features{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-bottom:40px}
.grid--personas{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid--gap-lg{gap:48px}
.tool-groups{display:flex;flex-direction:column;gap:36px}
.tool-group .eyebrow{font-size:14px;margin-bottom:14px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px;color:var(--ink);display:flex;flex-direction:column;gap:6px;text-decoration:none;min-width:0}
.card--tool{transition:transform .15s,box-shadow .15s,border-color .15s}
.card--tool:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:var(--primary);color:var(--ink)}
.card--flat{background:var(--bg);padding:22px}
.card--surface{background:var(--surface)}
.card--sm{padding:16px;border-radius:14px}
.card__title{font-weight:700;font-size:16px}
.card__text{font-size:14px;color:var(--muted);line-height:1.45}
.card__path{font-size:12px;color:var(--primary);font-family:var(--mono)}
.linkrow{margin-top:24px;font-size:15px;display:flex;gap:6px;flex-wrap:wrap}

/* ---------- Steps, before/after, answer box, lists */
.steps{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.steps li{display:flex;gap:14px;align-items:flex-start}
.steps__num{width:32px;height:32px;border-radius:50%;background:var(--primary);color:var(--on-primary);display:grid;place-items:center;font-weight:700;flex:none}
.steps__title{font-weight:700}
.steps--compact{gap:10px}.steps--compact .steps__num{width:28px;height:28px;font-size:14px}
.ba{display:flex;flex-direction:column;gap:10px}
.ba__box{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px;font-size:15px}
.ba__box>div:not(.ba__label){white-space:pre-line}
.ba__box--after{background:var(--green);border-color:var(--green-ink)}
.ba__label{font-size:12px;color:var(--muted);font-weight:700;margin-bottom:4px}
.ba__box--after .ba__label{color:var(--green-ink)}
.ba__note{font-size:14px;margin:4px 0 0}
.answer{margin-top:40px;background:var(--primary-soft);border-radius:var(--r-lg);padding:22px 24px;max-width:860px}
.answer__text{margin:0;font-size:17px;line-height:1.6}
.list{margin:0;padding-inline-start:22px;display:flex;flex-direction:column;gap:8px}
.list--check{list-style:none;padding-inline-start:0}
.list--check li{padding-inline-start:26px;position:relative}
.list--check li::before{content:"✓";position:absolute;inset-inline-start:0;top:0;color:var(--green-ink);font-weight:700}

/* ---------- Tables */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r-lg);margin:0 0 10px}
.table-wrap table,.prose table{width:100%;border-collapse:collapse;font-size:15px}
.table-wrap--cmp table{min-width:640px}
.cmp--compact{font-size:14px;min-width:0}
th,td{padding:12px 16px;text-align:start;vertical-align:top}
.cmp--compact th,.cmp--compact td{padding:10px 12px}
thead tr{background:var(--surface2)}
thead th{text-align:center}thead th:first-child{text-align:start}
tbody tr{border-top:1px solid var(--line)}
tbody th{font-weight:700}
.cmp td{text-align:center}
.cmp thead .cmp__us{color:var(--primary)}
.cmp tbody .cmp__us{background:var(--primary-soft)}
/* Comparison facts (src/lib/compare-facts.mjs): fixed column widths, group headings, ✓ / ✗ / — marks; the scroll stays inside .table-wrap */
.table-wrap--facts{position:relative;-webkit-overflow-scrolling:touch} /* position:relative keeps the .sr-only words inside the scroll box (absolute boxes are not clipped by a static scroller) */
.table-wrap--facts:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.table-wrap--facts table{min-width:600px;table-layout:fixed;font-size:14px}
.table-wrap--facts th,.table-wrap--facts td{padding:10px 12px;overflow-wrap:anywhere}
.cmp--facts thead th:first-child,.cmp--facts tbody th[scope="row"]{width:34%;font-weight:600}
.cmp--facts td{text-align:center}
.cmp--facts .cmp__group th{background:var(--surface2);text-align:start;font-size:12px;letter-spacing:var(--ls-wide);text-transform:uppercase;color:var(--muted)}
.cmp__v{font-weight:700}.cmp__v--yes{color:var(--green-ink)}.cmp__v--no{color:var(--red)}.cmp__v--unknown{color:var(--muted)}
.cmp--speed td strong{font-size:16px}
.cmp-speed__title{margin:24px 0 10px}
.cmp-note,.cmp-brands,.cmp-correct{margin:6px 0 0;max-width:72ch}
@media(max-width:640px){
  .table-wrap--facts table{min-width:520px;font-size:13px}
  .cmp--facts thead th:first-child,.cmp--facts tbody th[scope="row"]{position:sticky;inset-inline-start:0;z-index:1;background:var(--surface);width:38%}
  .cmp--facts thead th:first-child{background:var(--surface2)}
  /* five columns (compare-facts.mjs cmp--wide): the same ~200 px sticky label and ~110 px per brand as a four-column table, so brand names,
     prices and ordinary words stay whole (adversarial check 2026-12-01: at 520 px each brand had ~57 px of text: "AdeptW|rite") */
  .table-wrap--facts table.cmp--wide{min-width:640px}
  .cmp--wide thead th:first-child,.cmp--wide tbody th[scope="row"]{width:31%}
}

/* ---------- FAQ (<details>) */
.faq__list{display:flex;flex-direction:column;gap:8px}
.faq__item{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.faq__item summary{list-style:none;cursor:pointer;padding:16px 18px;font-weight:700;display:flex;justify-content:space-between;gap:12px;align-items:center}
.faq__item summary::-webkit-details-marker{display:none}
.faq__icon::before{content:"+";color:var(--muted);font-weight:400;font-size:18px}
.faq__item[open] .faq__icon::before{content:"−"}
.faq__answer{padding:0 18px 16px;color:var(--muted);font-size:15px}
.faq__answer p{margin:0}

/* ---------- CTA, byline */
.cta{margin:0 0 80px;background:var(--primary);color:var(--on-primary);border-radius:24px;padding:48px 32px;text-align:center}
.cta__title{font-family:var(--serif);font-size:clamp(26px,3.4vw,34px);color:var(--on-primary);margin:0 0 10px}
.cta__sub{margin:0 0 24px;opacity:.9}
.cta-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;box-shadow:var(--shadow)}
.cta-card__body{flex:1;min-width:200px}.cta-card__title{font-weight:700}
.byline{margin-top:48px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:18px 20px;max-width:860px}
.byline__avatar{width:48px;height:48px;border-radius:50%;background:repeating-linear-gradient(45deg,var(--line) 0 4px,var(--surface2) 4px 8px);flex:none}
.byline__body{flex:1;min-width:200px}.byline__name{font-weight:700}.byline a{display:inline-block;padding:6px 0}

/* ---------- "Get the app" section (owner 2026-11-29; src/templates/components.mjs appSection / appSectionCompact).
   Logical properties only, so right-to-left pages mirror; every image has width/height (no layout shift); tokens only. */
.app-promo{--phone:#15142B}
[data-theme="dark"] .app-promo{--phone:#06060D}
.app-promo__panel{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:end;gap:8px 40px;padding:48px 48px 0;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:radial-gradient(60% 80% at 90% 100%,var(--amber-soft),transparent 70%),linear-gradient(135deg,var(--primary-soft),var(--surface))}
.app-promo__copy{align-self:center;padding-bottom:48px;min-width:0}
.app-promo__lead{margin:0 0 20px;max-width:520px;color:var(--ink)}
.app-promo__points{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-direction:column;gap:12px;max-width:520px}
.app-promo__points li{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:1.5}
.app-promo__tick{flex:0 0 20px;width:20px;height:20px;margin-block-start:2px}
.app-promo__tick circle{fill:var(--primary)}.app-promo__tick path{stroke:var(--on-primary)}
.app-promo__stores{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-block-start:20px;margin-inline-start:-15px}/* the Google PNG carries its own clear space (≈ 15 px at this size): the badge itself lines up with the text */
.store-badge{display:inline-flex;border-radius:12px;line-height:0;text-decoration:none}
.store-badge:focus-visible{outline:3px solid var(--focus);outline-offset:-4px}
.store-badge--play img{display:block;height:90px;width:auto}/* 90 px with the clear space = a 60 px badge */
.store-badge--ios{margin-inline-start:15px}
.store-badge--ios img{display:block;height:60px;width:auto}
.store-soon{display:inline-flex;align-items:center;min-height:60px;margin-inline-start:15px;padding:0 18px;border:1px dashed var(--line);border-radius:10px;background:var(--surface);color:var(--muted);font-size:14px;font-weight:600;line-height:1.3}
.app-promo__visual{display:flex;justify-content:center;align-self:end;min-width:0;line-height:0}
.app-phone{display:block;width:min(100%,300px);height:auto}
[dir="rtl"] .app-phone{transform:scaleX(-1)}
.ap-body{fill:var(--phone)}.ap-screen{fill:var(--bg)}
.ap-card,.ap-sheet{fill:var(--surface);stroke:var(--line);stroke-width:1.5}
.ap-faint{fill:var(--line)}.ap-ink{fill:var(--ink);opacity:.82}
.ap-primary{fill:var(--primary)}.ap-soft{opacity:.5}.ap-amber{fill:var(--amber)}.ap-green{fill:var(--green-ink)}
.ap-chip{fill:var(--primary-soft)}.ap-sel{fill:var(--primary);opacity:.22}
.ap-pill{fill:var(--ink)}.ap-pillbar{fill:var(--bg);opacity:.55}.ap-onprimary{fill:var(--on-primary)}
.ap-result{fill:var(--green);stroke:var(--line);stroke-width:1.5}
.app-promo--compact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;margin:24px 0;padding:14px 20px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);box-shadow:var(--shadow)}
.app-promo--compact .app-promo__copy{flex:1 1 260px;align-self:center;padding:0}
.app-promo__name{font-weight:700}.app-promo__same{margin:2px 0 0;color:var(--muted);font-size:14px}
.app-promo--compact .app-promo__stores{margin-block:-12px;margin-inline-end:-15px}
.app-promo--compact .store-badge--play img{height:75px}
.app-promo--compact .store-badge--ios img{height:50px}
.app-promo--compact .store-badge--ios,.app-promo--compact .store-soon{margin-inline-start:10px}
.app-promo--compact .store-soon{min-height:50px}
.site-footer__apps{display:flex;flex-wrap:wrap;gap:0 18px}
@media(max-width:860px){.app-promo__panel{grid-template-columns:1fr;padding:32px 24px 0;gap:0}.app-promo__copy{padding-bottom:24px}.app-phone{width:min(70%,240px)}}
@media(max-width:560px){/* phones: the store buttons span the width (bigger tap targets); the phone drawing is a short peek */
  .app-promo__panel{padding:28px 20px 0}.app-promo__stores{flex-direction:column;align-items:stretch;margin-inline-start:0;gap:0}
  .store-badge{justify-content:center}.store-badge--play img{height:92px}.store-badge--ios,.store-soon{margin-inline-start:0;justify-content:center}.store-badge--ios{margin-block-start:4px}
  .store-soon{margin-block-start:6px;margin-inline:auto;width:100%}
  .app-promo--compact .app-promo__stores{margin-inline:0;margin-block:0}.app-promo--compact .store-badge--play img{height:84px}
  .app-phone{width:min(68%,220px)}}

/* ---------- Page shells */
.page-tool,.page-hub,.page-404{padding-top:24px;padding-bottom:80px}
.page-404{text-align:center;padding-top:72px;max-width:720px}
.big-404{font-family:var(--serif);font-size:96px;font-weight:600;color:var(--primary);line-height:1}
.crumbs{font-size:13px;color:var(--muted);display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.crumbs a{color:var(--primary);display:inline-block;padding:7px 2px}
.hub__filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:28px}
.hub__filters .input--search{flex:1 1 260px}

/* ---------- Article typography (guides, deep-dive bodies, policies) */
.prose{max-width:860px;font-size:17px;line-height:1.7;min-width:0;overflow-wrap:break-word}
.prose h2{font-family:var(--serif);font-size:26px;margin:32px 0 10px}
.prose h3{font-size:20px;margin:24px 0 8px}
.prose p,.prose ul,.prose ol{margin:0 0 14px}
.prose li{margin-bottom:6px}
.prose blockquote{margin:0 0 14px;padding:14px 20px;border-inline-start:4px solid var(--primary);background:var(--primary-soft);border-start-start-radius:0;border-end-start-radius:0;border-start-end-radius:var(--r);border-end-end-radius:var(--r)}
.prose blockquote p{margin:0}
.prose blockquote p+p{margin-top:10px}
.prose code{font-family:var(--mono);font-size:.9em;background:var(--surface2);padding:2px 6px;border-radius:6px}
.prose pre{background:#15142B;color:#E9E7FF;border-radius:var(--r-lg);padding:20px;font-size:13px;line-height:1.6;overflow-x:auto;font-family:var(--mono)}
.prose .table-wrap{font-size:15px}
.prose table th,.prose table td{padding:10px 14px}
.prose img{border-radius:var(--r)}
.prose hr{border:0;border-top:1px solid var(--line);margin:28px 0}
.callout{background:var(--amber-soft);border:1px solid var(--amber);border-radius:14px;padding:18px 20px;margin:0 0 28px}

/* ---------- Footer */
.site-footer{background:var(--surface);border-top:1px solid var(--line);padding:56px 0 32px}
.site-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:28px}
.site-footer__links{display:flex;flex-direction:column;gap:4px;font-size:14px;align-items:flex-start}
.site-footer__links a{color:var(--ink);text-decoration:none;display:inline-block;padding:8px 0;line-height:1.3}/* ≥ 34 px tall + 4 px gap: WCAG 2.5.8 */.site-footer__links a:hover{color:var(--primary)}
.site-footer__bottom{border-top:1px solid var(--line);margin-top:40px;padding-top:20px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:13px;color:var(--muted)}
.site-footer__social{display:flex;gap:12px;flex-wrap:wrap}
.site-footer__bottom a{color:var(--muted);display:inline-block;padding:8px 0}
/* "Get it on Google Play" (owner 2026-11-29): our own text badge — never Google's artwork; fixed icon size, nothing moves */
.app-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:var(--r);padding:7px 12px;font-size:13px;font-weight:600;line-height:1.2;color:var(--ink);text-decoration:none;white-space:nowrap}
.app-badge:hover,.app-badge:focus-visible{border-color:var(--primary);color:var(--ink)}
.app-badge__icon{flex:0 0 16px;width:16px;height:16px}
.site-footer__bottom a.app-badge{display:inline-flex;padding:7px 12px;color:var(--muted)}
.app-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:16px 0 0;font-size:14px;color:var(--muted)}

/* ---------- Mobile bottom nav (< 760px) */
.mnav{position:fixed;bottom:0;inset-inline:0;background:var(--surface);border-top:1px solid var(--line);display:none;justify-content:space-around;align-items:center;padding:6px 0 max(10px,env(safe-area-inset-bottom));z-index:60}
.mnav__item{min-width:56px;min-height:44px;color:var(--ink);font-size:12px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.mnav__icon{font-size:18px;line-height:1}
.mnav__cta{background:var(--amber);color:var(--on-amber);border-radius:14px;min-width:64px;min-height:44px;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 12px;text-decoration:none}

/* ---------- Responsive */
@media(max-width:760px){
  [data-mobile-nav].mnav{display:flex}
  [data-desktop-only]{display:none!important}
  body{padding-bottom:72px}
  .section{padding:48px 0}
  .hero .container{padding-top:36px;padding-bottom:40px}
  .cta{padding:36px 20px}
  .editor__side{min-height:200px}
  .editor--hero .editor__side{min-height:160px}
  .answer{padding:18px}
  .grid--gap-lg{gap:32px}
  .section__block{margin-top:40px}
  .site-footer{padding:40px 0 24px}
}
@media(max-width:640px){
  .hero .container{padding-top:18px}
  .hero__head{margin-bottom:24px}
  .hero__title{margin-bottom:10px}
  .hero__sub{font-size:16px}
  .page-tool{padding-top:12px}
}
@media print{.site-header,.site-footer,.mnav,.editor__actions,.cta,.cta-card{display:none!important}body{background:#fff;color:#000}}

/* ---------- Page types added by generator-pages (pricing, guides, kata baku, glossary, API docs, policies)
   Appended as a self-contained block; tokens and base classes above are reused. */
.page-doc,.page-guide,.page-list{padding-top:24px;padding-bottom:80px}
.doc{max-width:960px}.doc__meta{margin:-8px 0 20px}.doc__cards{margin:8px 0 28px}.doc__contact{margin-top:28px;max-width:860px}
.small{font-size:13px}
.tag{display:inline-block;background:var(--amber-soft);color:var(--amber-ink);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;vertical-align:middle}
.tag--primary{background:var(--primary-soft);color:var(--primary)}
.tag--green{background:var(--green);color:var(--green-ink)}
/* pricing */
.plans{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));max-width:860px;margin:32px 0 20px}
.plan{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:28px;display:flex;flex-direction:column;gap:16px}
.plan--pro{border:2px solid var(--primary);box-shadow:var(--shadow)}
.plan__head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.plan__name{font-weight:700;font-size:18px}
.plan__price{font-size:36px;font-weight:700;line-height:1.1;margin:8px 0 2px}
.plan__per{font-size:15px;color:var(--muted);font-weight:400}
.plan__note{color:var(--muted);font-size:14px}
.plan .list{font-size:15px}.plan .btn,.plan__soon{margin-top:auto}
.plan__soon{background:var(--surface2);color:var(--muted);border-radius:12px;padding:12px;text-align:center;font-weight:700;font-size:14px}
/* guides */
.article-layout{display:grid;gap:40px;grid-template-columns:minmax(0,1fr) 280px;align-items:start}
.article-aside{position:sticky;top:calc(var(--header-h) + 16px);display:flex;flex-direction:column;gap:16px}
.toc{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:16px 18px}
.toc__title{font-size:12px;text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--muted);font-weight:700;margin-bottom:8px}
.toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:14px}
.toc li.toc--h3{padding-inline-start:14px;font-size:13px}
.toc a{color:var(--ink);text-decoration:none}.toc a:hover{color:var(--primary)}
.toc--inline{display:none;margin:0 0 24px}
.meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--muted);margin:0 0 24px}
.meta__avatar{width:28px;height:28px;border-radius:50%;background:var(--primary);display:inline-block}
.callout__title{font-weight:700;margin-bottom:8px}.callout ul{margin:0;padding-inline-start:20px}
.prose .cta-card{margin:28px 0}
.tool-hint{align-items:center;margin:0 0 24px}.tool-hint__label{font-weight:700;font-size:14px;color:var(--muted)}
.guide-list{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.card__eyebrow{font-size:12px;color:var(--primary);font-weight:700;text-transform:uppercase;letter-spacing:var(--ls-wide)}
.card__meta{font-size:13px;color:var(--muted)}
/* kata baku */
.alpha{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 24px}
.alpha a{min-width:34px;text-align:center;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);text-decoration:none;font-weight:700;font-size:14px}
.alpha a:hover{border-color:var(--primary);color:var(--primary)}
.kb-group{margin:0 0 28px}.kb-letter{font-family:var(--serif);font-size:24px;margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.kb-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.kb-item a{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:var(--ink);text-decoration:none}
.kb-item a:hover{border-color:var(--primary)}
.kb-item__ok{font-weight:700;color:var(--green-ink)}.kb-item__no{color:var(--muted);text-decoration:line-through}
.pair{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin:0 0 24px;max-width:860px}
.pair__box{border-radius:var(--r-lg);padding:18px 20px;border:1px solid var(--line);background:var(--surface)}
.pair__box--ok{background:var(--green);border-color:var(--green-ink)}.pair__box--no{background:var(--red-soft);border-color:var(--red)}
.pair__label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:var(--ls-wide);margin-bottom:4px}
.pair__box--ok .pair__label{color:var(--green-ink)}.pair__box--no .pair__label{color:var(--red)}
.pair__word{font-family:var(--serif);font-size:30px;font-weight:600;line-height:1.1}
.pair__box--no .pair__word{text-decoration:line-through;text-decoration-thickness:2px}
.dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 18px;margin:0 0 20px;font-size:16px}.dl dt{font-weight:700;color:var(--muted)}.dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:32px;font-size:15px}.pager a{display:inline-block;padding:8px 0}
/* glossary */
.terms{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin:28px 0}
.term{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px;scroll-margin-top:calc(var(--header-h) + 16px)}
.term h2{font-family:var(--serif);font-size:22px;margin:0 0 6px}.term h2 small{font-family:var(--sans);font-size:14px;color:var(--muted);font-weight:400}
.term p{margin:0 0 10px;font-size:15px;line-height:1.6}.term__links{font-size:14px;display:flex;flex-wrap:wrap;gap:6px 12px}
/* api docs */
.api{max-width:960px}
.api pre{background:#15142B;color:#E9E7FF;border-radius:var(--r-lg);padding:18px 20px;font-size:13px;line-height:1.6;overflow-x:auto;font-family:var(--mono);margin:0 0 16px}
.method{display:inline-block;font-family:var(--mono);font-size:13px;font-weight:700;background:var(--primary-soft);color:var(--primary);border-radius:8px;padding:3px 8px;margin-inline-end:8px}
.api h2 code,.api h3 code{font-family:var(--mono);font-size:.85em;background:var(--surface2);padding:2px 8px;border-radius:8px}
.api .table-wrap{margin:0 0 20px}
.compare-tabs{margin:0 0 20px}
@media(max-width:900px){.article-layout{grid-template-columns:minmax(0,1fr)}/* minmax(0,…): a plain 1fr is minmax(auto,…), so one wide child stretched the whole column past a 360 px screen (design review 2026-12-01) */.article-aside{position:static}.article-aside .toc{display:none}.toc--inline{display:block}}
@media(max-width:760px){.plan{padding:22px}.plan__price{font-size:30px}.pair__word{font-size:24px}.dl{grid-template-columns:minmax(0,1fr);gap:2px 0}.dl dt{margin-top:8px}}

/* ---------- Editor output markup created at runtime by app.js ----------
   These rules are the ONLY styles for the runtime classes (app.js injects nothing), mapped onto the
   same tokens as the static editor styles above. */
[hidden]{display:none!important}
.editor__out:focus-visible{outline:none}
.editor__result{margin:0;font-size:16px;line-height:1.7;white-space:pre-wrap;word-wrap:break-word}
.editor__result mark.chg{background:var(--green);color:inherit;border-radius:3px}
.editor__empty{margin:0;color:var(--muted);font-size:15px;white-space:normal}
.tok{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;border-radius:3px;line-height:inherit}
.tok--issue{border-bottom:2px solid var(--red)}.tok.is-sel{background:var(--amber-soft)}
.editor__skel{display:flex;flex-direction:column;gap:10px;padding-top:4px}
.editor__skel span{display:block;height:14px;border-radius:6px;background:var(--line);animation:pulse 1.2s infinite}
.editor__skel span:nth-child(1){width:92%}.editor__skel span:nth-child(2){width:84%;animation-delay:.1s}.editor__skel span:nth-child(3){width:70%;animation-delay:.2s}
@media(prefers-reduced-motion:reduce){.editor__skel span{animation:none}}
.editor__alert{align-items:flex-start}
.editor__alert .btn--retry{background:var(--red);color:var(--on-red);border-color:var(--red);padding:6px 12px;font-size:13px;border-radius:8px;min-height:36px}
.editor__alert--nojs{margin:0 0 4px}
.editor__notice{background:var(--amber-soft);color:var(--amber-ink);border-radius:var(--r);padding:10px 14px;font-size:13px;margin-bottom:10px;white-space:normal}
.editor__ok{background:var(--green);color:var(--green-ink);border-radius:var(--r);padding:10px 12px;font-size:14px;font-weight:700;margin-bottom:10px;white-space:normal}
.editor__issues{display:flex;flex-direction:column;gap:6px;margin-top:12px;white-space:normal}
.editor__issues-h{font-size:13px;font-weight:700;color:var(--muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.editor__issue{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 12px;font-size:14px}
.editor__issue.is-sel{border-color:var(--amber)}.editor__issue del{color:var(--red)}.editor__issue strong{color:var(--green-ink)}.editor__issue small{color:var(--muted);font-size:12px}
.editor__issue .btn--apply,.editor__issues-h .btn--apply{margin-inline-start:auto;background:var(--primary);color:var(--on-primary,#fff);border:0;border-radius:8px;padding:5px 10px;cursor:pointer;font-size:13px;font-weight:700}
.editor__pop{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:14px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px;white-space:normal}
.editor__pop .btn--chip,.editor__syn-group .btn--chip{margin:0;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:999px;padding:3px 10px;font-size:13px;font-weight:400;cursor:pointer}
.editor__pop .btn--chip:hover,.editor__syn-group .btn--chip:hover{background:var(--primary-soft)}
.editor__pop .pop-close{margin-inline-start:auto;background:none;border:0;cursor:pointer;color:var(--muted);font-size:16px}
.editor__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;white-space:normal}
.editor__stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px}
.editor__stat b{display:block;font-size:24px;font-weight:700;line-height:1.2}.editor__stat span{font-size:13px;color:var(--muted)}
.editor__table{width:100%;border-collapse:collapse;font-size:14px;margin-top:12px;white-space:normal}
.editor__table th,.editor__table td{text-align:start;padding:6px 8px;border-bottom:1px solid var(--line)}
.editor__table tr.is-sel{background:var(--amber-soft);font-weight:700}
.editor__cases{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;white-space:normal}
.editor__cases button{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font:inherit;font-size:13px;cursor:pointer}
.editor__cases button[aria-pressed="true"]{background:var(--primary);color:var(--on-primary,#fff);border-color:var(--primary);font-weight:700}
.editor__diff ins{background:var(--green);text-decoration:none;color:var(--green-ink)}.editor__diff del{background:var(--red-soft);color:var(--red)}
.editor__compare-wrap{display:grid;grid-template-columns:1fr 1fr;gap:12px;white-space:normal}
.editor__compare-wrap h3{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--muted)}
@media(max-width:700px){.editor__compare-wrap{grid-template-columns:1fr}}
.editor__toggle{display:inline-flex;align-items:center;gap:6px;font-size:14px;cursor:pointer;margin-inline-start:auto}
.editor__syn-group{margin-bottom:10px;white-space:normal}.editor__syn-group b{display:block;margin-bottom:4px}
.editor__pop--flush{margin:0}
.editor__legend i{display:inline-block;width:10px;height:10px;background:var(--green);border:1px solid var(--green-ink);border-radius:2px;vertical-align:middle;margin-inline-end:4px}
.h3--sub{font-size:18px;margin-top:20px}
/* Citation generator: app.js hides the textarea form and mounts citation.js in the side column,
   so that column becomes the whole editor width (docs/handoff/citation-module.md §1). */
.editor[data-task="citation"] .editor__grid{grid-template-columns:1fr}
.editor[data-task="citation"] .editor__side{background:var(--surface2)}
.editor__citation{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px;white-space:normal}

/* ---------- Citation generator form (built at runtime by citation.js; no styles are injected) */
.cite{display:grid;gap:12px;font-size:14px}.cite .cite__field{display:flex;flex-direction:column;gap:4px;min-width:0}
.cite label{font-size:12px;font-weight:700;color:var(--muted)}.cite__hint--label{font-weight:700}
.cite input,.cite select{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:9px 11px;min-width:0;width:100%;box-sizing:border-box;min-height:40px}
.cite__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}.cite__row--2{grid-template-columns:2fr 1fr}
.cite__people{display:grid;gap:8px}.cite__person{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center}
.cite__check{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);white-space:nowrap;min-height:40px}.cite__check input{width:auto;min-height:0}
.cite__hint{font-size:12px;color:var(--muted);margin:0}
.cite__btn{font:inherit;cursor:pointer;border:1px solid var(--line);background:var(--surface);color:inherit;border-radius:10px;padding:8px 12px;font-weight:700;font-size:13px;min-height:40px}
.cite__btn--primary{background:var(--primary);color:var(--on-primary);border-color:transparent}.cite__btn--amber{background:var(--amber);color:var(--on-amber);border-color:transparent}.cite__btn--sm{padding:5px 9px;font-size:12px;min-height:36px}
.cite__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cite__out{display:grid;gap:14px}.cite__out h3{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--muted)}
.cite__entry{padding-inline-start:2em;text-indent:-2em;line-height:1.7;overflow-wrap:anywhere}.cite__entry--flat{padding-inline-start:0;text-indent:0}
.cite__block{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}.cite__block .cite__actions{margin-top:8px}
.cite__list{display:grid;gap:10px;margin-top:4px}.cite__list ol{margin:0;padding:0;list-style:none;display:grid;gap:8px}.cite__list li{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start;background:var(--surface2);border-radius:10px;padding:10px 12px}
.cite__list-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.cite__list-head h3{margin:0;font-size:14px}
.cite__empty{color:var(--muted);font-size:14px}
@media (max-width:600px){.cite__row--2{grid-template-columns:1fr}.cite__person{grid-template-columns:1fr auto auto}}

/* ---------- Touch targets (WCAG 2.5.8 / Lighthouse): 44 px on phones and coarse pointers */
@media(max-width:760px),(pointer:coarse){
  .pill{min-height:44px;padding:8px 12px}.pill--icon{width:44px;height:44px}
  .chip{min-height:40px}.btn--sm{min-height:44px}.alpha a{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
  .site-footer__links a{padding:11px 0}.site-footer__bottom a{padding:11px 0}.crumbs a{padding:10px 0}.mega__link{padding:10px 8px}
  .editor__cases button,.editor__pop .btn--chip,.editor__syn-group .btn--chip{min-height:40px}
}

/* Home: breathing room between the FAQ list and the CTA band */
.page--home .faq{margin:24px 0 72px}
@media(max-width:760px){.editor__toggle{display:none}}/* side-by-side view collapses to one column on phones anyway */

/* ======================================================================================================
   v2 components (generator-pages-v2): editor options row, language switcher, account link, hubs, pagination,
   native-engine box, honest limits, pricing (4 plans), contact, enterprise form, account shells, extension,
   translate pairs, spelling cluster, RTL. Tokens and base classes above are reused; no inline styles anywhere.
   ====================================================================================================== */

/* ---------- RTL: logical properties above mirror the layout; only directional glyphs need a flip */
/* "→"/"←" are not Bidi_Mirrored, so they are flipped here; "›" (breadcrumbs) is mirrored by the bidi algorithm itself. */
[dir="rtl"] .arrow{display:inline-block;transform:scaleX(-1)}
.card__path,.contact-card__email,kbd{unicode-bidi:isolate}

/* ---------- Header: language switcher + account link */
.lang-switch{position:relative}
.lang-switch__btn{gap:6px;list-style:none;cursor:pointer;min-width:0;padding-inline:10px 12px}
.lang-switch__btn::-webkit-details-marker{display:none}
.lang-switch__icon{flex:none;display:block}
.lang-switch__name{display:none;font-weight:700;max-width:11.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lang-switch__code{font-weight:700;letter-spacing:.02em;white-space:nowrap}
.lang-switch__caret{font-size:11px;line-height:1}
/* globe + code on phones from 401 px, code alone at 400 px and below (review 2026-12-01: with the globe the row ran 4 px past a
   375 px screen in ca, hu and pt-pt) and on tablets (the nav row is tight there), globe + native name on wide screens */
@media(min-width:641px) and (max-width:1159px){.lang-switch__icon{display:none}.lang-switch__btn{padding-inline:10px}}
@media(min-width:1160px){.lang-switch__name{display:inline}.lang-switch__code{display:none}}
@media(max-width:420px){.lang-switch__btn{gap:4px;padding-inline:10px}}
@media(max-width:400px){.lang-switch__icon{display:none}}
.lang-switch[open]>.lang-switch__btn{background:var(--surface2)}
/* the panel is an anchored popover under the button (owner 2026-12-01), not the full-width sheet of the Tools menu */
.lang-switch__menu{inset-inline:auto;inset-inline-end:0;top:calc(100% + 8px);width:min(720px,calc(100vw - 32px));max-height:min(calc(100vh - 84px),800px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--r-lg)}
/* tablets: the button sits far from the screen's edge, so a 720 px panel anchored to it ran off-screen (review 2026-12-01: up to
   174 px at 768 px, the RTL pages on the other side). Like the Tools menu, the panel hangs from the header instead, at its inline
   end with a 16 px gutter on both sides */
@media(min-width:641px) and (max-width:1159px){
  .lang-switch{position:static}
  .lang-switch__menu{inset-inline:16px;top:calc(100% + 6px);width:auto;max-width:720px;margin-inline-start:auto}
}
.lang-switch__menu .mega__grid{display:block;columns:3 190px;column-gap:20px;padding:16px 16px 8px;max-width:none;margin:0;width:auto}
.lang-switch__menu .mega__col{break-inside:avoid;margin-bottom:12px}
.lang-switch__menu .eyebrow{font-size:11px;letter-spacing:.04em;margin:0 0 4px;padding-inline:8px}
.lang-switch__menu .mega__link{padding:4px 8px}
.lang-switch__menu .mega__link,.site-footer__lang{text-align:start;direction:inherit;unicode-bidi:isolate;line-height:1.3}
.lang-switch__menu .mega__link[aria-current="page"]{background:var(--primary-soft);color:var(--primary);font-weight:700}
/* Indic scripts look small beside Latin at the same size (fallback fonts): a touch larger */
:is(.lang-switch__menu .mega__link,.site-footer__lang):is([lang="bn"],[lang="te"],[lang="kn"],[lang="ml"],[lang="gu"],[lang="pa"],[lang="ta"],[lang="mr"],[lang="hi"],[lang="ne"],[lang="th"]){font-size:15px}
@media(max-width:640px){
  .lang-switch{position:static}
  .lang-switch__menu{position:fixed;inset-inline:8px;top:calc(var(--header-h) + 6px);bottom:76px;width:auto;max-height:none;border-radius:var(--r)}
  .lang-switch__menu .mega__grid{columns:2 140px;column-gap:12px;padding:12px 8px 4px}
  .lang-switch__menu .mega__link{padding:11px 8px}
  .lang-switch__menu .eyebrow{white-space:normal;line-height:1.3}
}
.account-link{white-space:nowrap}
/* the last footer line (2026-11-29): copyright and the app badge on one row, the ads notice on its own row under them */
.site-footer__bottom{align-items:center;row-gap:8px}
.site-footer__ads{order:3;flex:1 1 100%;max-width:none}
/* the footer's Languages block (owner 2026-12-01): the header's region groups in a <details>, closed by default; every link stays in the HTML */
.site-footer__col--langs{grid-column:1/-1;padding-top:16px;border-top:1px solid var(--line)}
.site-footer__langs-summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:44px;width:max-content;max-width:100%;padding-inline:4px}
.site-footer__langs-summary::-webkit-details-marker{display:none}
.site-footer__langs-summary .eyebrow{margin:0}
.site-footer__langs-current{font-size:14px;font-weight:700;color:var(--ink);padding:4px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.site-footer__langs-caret{font-size:11px;color:var(--muted);transition:transform .15s}
.site-footer__langs[open] .site-footer__langs-caret{transform:rotate(180deg)}
.site-footer__langs-grid{columns:5 170px;column-gap:24px;padding-top:12px}
.site-footer__langs-col{break-inside:avoid;margin-bottom:16px}
.site-footer__langs-col .eyebrow{font-size:11px;letter-spacing:.04em;line-height:1.3;margin:0 0 4px;overflow-wrap:anywhere}
.site-footer__lang{display:block;padding:6px 0;font-size:14px;color:var(--ink);text-decoration:none}
.site-footer__lang:hover{color:var(--primary)}
.site-footer__lang[aria-current="page"]{color:var(--primary);font-weight:700}
@media(max-width:640px){.site-footer__langs-grid{columns:2 130px;column-gap:16px}.site-footer__lang{padding:11px 0}}
@media(prefers-reduced-motion:reduce){.site-footer__langs-caret{transition:none}}
.site-footer__ads a{color:var(--muted)}
@media(max-width:420px){.brand__name{font-size:17px}.site-header__row{gap:6px}.site-header__actions{gap:6px}.lang-switch__btn{min-width:0;padding-inline:10px}}
@media(max-width:360px){.brand__name{display:none}}

/* ---------- Editor options row (§5): text language, translator from ⇄ to, spelling variety, deep analysis */
.editor__options{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--surface)}
.editor__opt{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.editor__opt label{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.editor__opt-label{font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap}
.editor__opt[data-provider-opt]{flex:1 1 100%;flex-wrap:wrap}
.editor__provider-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.editor__opt select,.field select{min-height:38px;max-width:min(100%,260px);border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding-block:6px;padding-inline:10px 28px;font-size:14px}
.editor__options .editor__hint{flex:1 1 220px}
.editor__swap{min-width:40px;min-height:38px;padding:6px 10px;font-size:18px;line-height:1}
.editor__check{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);cursor:pointer;min-height:36px}
.editor__check input{width:18px;height:18px;accent-color:var(--primary);margin:0}
.editor__checks{display:flex;flex-wrap:wrap;gap:4px 18px}
.editor__fields{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.editor__fields .field{flex:none}
.field textarea{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 12px;width:100%;min-height:auto;font-size:15px;line-height:1.5;resize:vertical}
.editor .field textarea{min-height:72px}
.editor__form .field input{min-height:40px}
@media(max-width:560px){.editor__opt{flex:1 1 100%}.editor__opt select{flex:1;max-width:none}.editor__opt select[data-provider]{min-width:0!important}.editor__swap{order:0}}
/* Runtime output markup of app.js (docs/handoff/editor-v2.md §site.css) */
.editor__note .editor__legend{display:block;margin:0}
ol.editor__list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;white-space:normal}
ol.editor__list>li{display:flex;gap:10px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
ol.editor__list>li>.editor__result{flex:1;margin:0}
ol.editor__list>li>.btn--chip{flex:none;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:999px;padding:3px 10px;font-size:13px;cursor:pointer}
mark.ai{background:var(--amber-soft);color:inherit;border-bottom:2px solid var(--amber);border-radius:2px}
.editor__note meter,.editor__out meter{width:8rem;vertical-align:middle}
progress{accent-color:var(--primary)}
/* Plagiarism report (src/assets/plagiarism.js, docs/handoff/plagiarism-v2.md) */
.plag__meter{display:block;width:100%;height:10px;margin-top:8px}
.plag__summary,.plag__about p{margin:10px 0 0}
.plag__passage{flex-basis:100%}
.plag__excerpt{margin:4px 0 0;padding-block:6px;padding-inline:10px;border-inline-start:3px solid var(--line);font-size:13px;line-height:1.55}
.plag__hit{background:var(--amber);color:var(--on-amber);border-radius:3px}
.plag__mine{margin-top:14px}.plag__notes p{margin:8px 0 0}

/* ---------- Hubs: category chips as links, guide cards, tool counts */
.chips--nav{margin:0}
.chips--nav .chip{text-decoration:none}
.h1__sub{font-family:var(--sans);font-size:.55em;color:var(--muted);font-weight:400}
.card--guide .card__title{font-size:17px;line-height:1.35}
.tool-group .eyebrow a{color:inherit;text-decoration:none}.tool-group .eyebrow a:hover{color:var(--primary)}
a.card__eyebrow{display:inline-block;text-decoration:none;padding-block:4px}
a.card__eyebrow:hover{text-decoration:underline}
.section__block--tight{margin-top:28px}

/* ---------- Pagination */
.pages{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:32px}
.pages__list{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}
.pages__num{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-weight:700;text-decoration:none}
a.pages__num:hover{border-color:var(--primary);color:var(--primary)}
.pages__num.is-current{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
.pages__gap{align-self:center;color:var(--muted);padding:0 4px}
.pages__step{min-width:96px;font-weight:700;text-decoration:none;padding:10px 0}
.pages__step--next{text-align:end}

/* ---------- Native-engine box (§3) and honest limits */
.native{background:var(--surface);border:1px solid var(--line);border-inline-start:4px solid var(--green-ink);border-radius:var(--r-lg);padding:20px 22px;max-width:860px}
.native__head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.native__badge{width:28px;height:28px;border-radius:50%;background:var(--green);color:var(--green-ink);display:grid;place-items:center;font-weight:700;flex:none}
.native__title{margin:0}
.native__facts{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0 0 10px;font-size:15px}
.native__facts dt{font-weight:700;color:var(--muted)}.native__facts dd{margin:0;min-width:0;overflow-wrap:anywhere}
.native__note{margin:0 0 8px}.native__foot{margin:0}.native__more{margin:8px 0 0;font-weight:700}
.limits{background:var(--amber-soft);border:1px solid var(--amber);border-radius:var(--r-lg);padding:20px 22px;max-width:860px}
.limits .h2{margin-bottom:10px}
.limits__body{font-size:16px}
.limits__notes{margin:10px 0 0;padding-inline-start:20px;display:flex;flex-direction:column;gap:6px;font-weight:700;color:var(--amber-ink)}
.callout--info{background:var(--primary-soft);border-color:var(--primary)}
@media(max-width:560px){.native__facts{grid-template-columns:1fr;gap:2px 0}.native__facts dd{margin-bottom:8px}}

/* the editor's upgrade line and the trial link (app.js) */
.editor__upsell{margin:10px 0 0;font-size:14px;color:var(--muted)}.editor__upsell a{font-weight:600}
.editor__trial a{font-weight:600;white-space:nowrap}
/* ---------- Pricing page (redesign 2026-11-29; pages/pricing.mjs, components.mjs planCards / periodSwitch / planCard).
   One content width for the whole page (the container): every block below spans it, so the left and right edges never jump.
   Order: hero (h1, sub line, social proof, ONE offer banner) · billing switch · main row Free | Pro | Business (subgrid: the five
   parts of every card line up) · quiet trust line · second row Team | Enterprise · fine print · app slot · free plan + Pro vs Free
   · before you upgrade · full comparison · summary · text sections · FAQ · CTA. */
.page-pricing .h2{font-size:clamp(24px,3vw,30px);margin:0 0 18px}
.page-pricing .section__block{margin-top:64px}
.pricing-hero{text-align:center;max-width:820px;margin:4px auto 28px}
.pricing-hero .h1{margin-bottom:10px}
.pricing-hero .tagline{margin:0 auto 8px;max-width:720px}
.pricing__signups{color:var(--muted);margin:0;font-weight:600;min-height:1.55em}
.pricing__soon{color:var(--muted);margin:8px 0 0;font-size:14px}
/* the "coming soon" line may change to another plan set after GET /api/v1/price (site.js soonLine): two lines kept on phones, so a
   shorter or longer sentence does not move the page (the script's own line height: Arabic, Indic, CJK and Thai are taller) */
@media(max-width:480px){.pricing__soon{min-height:calc(2em * var(--lh-body))}}
/* the social-proof line keeps its room while it waits for GET /api/v1/social-proof (no layout shift; empty without a number) */
.pricing__signups[hidden]{display:block!important;visibility:hidden}
@media(max-width:480px){.pricing__signups{min-height:3.1em}}
/* the honest purchase notice (site.config purchaseNotice, shipped OFF; pages/pricing.mjs): one quiet line under the "joined" line, its
   room kept while it waits for GET /api/v1/social-proof (no layout shift; empty unless the Worker says recent === true) */
.pricing__recent{color:var(--muted);margin:0;min-height:1.55em}
.pricing__recent[hidden]{display:block!important;visibility:hidden}
@media(max-width:480px){.pricing__recent{min-height:3.1em}}
/* the viewer's own countdown of the one-hour Adept Pro offer (site.js renderTimed): tabular digits (every digit the same width, mm:ss
   always five characters), so a ticking second never moves the words around it; no fixed box wider than the digits (review 2026-12-04:
   that left a gap before them). An atomic box, so right-to-left text never reorders the digits. */
.aw-timer{font-variant-numeric:tabular-nums;display:inline-block;white-space:nowrap}
/* a grid cell whose items share one place (site.js swapIn: at the hour's end the after-the-hour words are painted in the hour's place and
   the hour's stay laid out but hidden — the cell keeps its height, nothing moves; the pricing banner's words, the checkout lines) */
.aw-cell{display:grid}
.aw-cell>*{grid-area:1/1;min-inline-size:0}
.aw-cell--inline{display:inline-grid}   /* inside a line of the editor (app.js upgrade lines and cards): the words keep their own box */
/* the one offer banner (the Adept Pro offer from site.js, or a seasonal promotion from the inline script): never an overlay */
.page-pricing .pricing-offer{display:flex;align-items:center;justify-content:center;text-align:center;max-width:820px;min-height:48px;margin:16px auto 0;padding:10px 20px;border:1px solid var(--green-ink);border-radius:var(--r-lg);background:var(--green);color:var(--green-ink);font-weight:600;font-size:15px;line-height:1.45}
/* room for the Adept Pro banner before site.js fills it, while pages/pricing.mjs OFFER_SCRIPT expects the offer (class aw-offer on
   <html>) — laid out but not painted, so the cards do not move when it appears */
html.aw-offer .pricing-offer[data-aw-claude-bonus][hidden]{display:flex!important;visibility:hidden;min-height:68px}
@media(max-width:699px){html.aw-offer .pricing-offer[data-aw-claude-bonus][hidden]{min-height:124px}.page-pricing .pricing-offer{font-size:14px;padding:10px 14px}}
/* the one-hour offer's words (owner 2026-12-04) in a build that serves it (<body data-offer-hour="1">, layout.mjs): the banner is a grid
   whose one cell holds the live words (.aw-cell, site.js) over its room — the longest words, the hour's and the batches' benefit line,
   drawn invisibly from its data-room attributes (pages/pricing.mjs, components.mjs offerRoom; review 2026-12-04) —, so it is as tall
   before it is filled as after, in every language and at every width, and a shorter text never pulls the cards up */
html.aw-offer [data-offer-hour] .pricing-offer[data-aw-claude-bonus][hidden]{display:grid!important;min-height:48px}
[data-offer-hour] .page-pricing .pricing-offer[data-aw-claude-bonus][data-room]{display:grid;align-items:center}
[data-offer-hour] .pricing-offer[data-aw-claude-bonus][data-room]::before{content:attr(data-room);grid-area:1/1;visibility:hidden}
[data-offer-hour] .pricing-offer[data-aw-claude-bonus][data-room]::after{content:attr(data-room-batch);grid-area:1/1;visibility:hidden}
[data-offer-hour] .pricing-offer[data-aw-claude-bonus][data-room]>.aw-cell{grid-area:1/1}
[data-aw-pro-pending]>p{margin:0}
[data-aw-pro-pending] .btn{width:100%;min-height:48px;white-space:normal;text-align:center}
.pricing__trust:empty{display:none}

/* the billing-period switch: one segmented control that drives the cards (its radios are real, keyboard-operable inputs) */
.billing-switch{border:0;margin:0 0 28px;padding:0;min-width:0;display:flex;justify-content:center}
.billing-switch__track{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;max-width:100%;background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:0 1px 2px rgba(27,20,90,.06)}
/* an option is never narrower than its own words (review 2026-12-01: three options with badges overlapped): it wraps instead */
.billing-switch__opt{position:relative;display:flex;min-width:min-content}
.billing-switch__opt input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.billing-switch__pill{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 18px;border-radius:999px;font-size:15px;font-weight:700;line-height:1.2;color:var(--muted);white-space:nowrap;transition:background .15s,color .15s}
.billing-switch__opt:hover .billing-switch__pill{color:var(--ink)}
.billing-switch__opt input:checked+.billing-switch__pill{background:var(--primary);color:var(--on-primary)}
.billing-switch__opt input:focus-visible+.billing-switch__pill{outline:3px solid var(--focus);outline-offset:2px}
.billing-switch__save{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--green);color:var(--green-ink);font-size:12px;font-weight:700}
@media(max-width:700px){
  /* equal options while their words fit; an option never narrower than its longest word (review 2026-12-01: "Ежеквартально",
     "Vierteljährlich" and "Neljännesvuosittain" ran into the next option), so the options wrap onto a second row instead; up to
     700 px (was 560: between 561 and ~680 px the one-line options of ru, tl, fi, el and pl overlapped on the pricing page) */
  .billing-switch__track{display:flex;flex-wrap:wrap;width:100%;border-radius:16px}
  .billing-switch__opt{flex:1 1 0;min-width:min-content}
  .billing-switch__pill{flex:1;flex-direction:column;gap:3px;padding:6px 6px;border-radius:12px;font-size:14px;white-space:normal;text-align:center;overflow-wrap:break-word}
  .billing-switch__save{font-size:11px;padding:1px 6px}
}

/* the cards: the main row shares five row tracks (subgrid), so names, taglines, prices, feature lists and buttons line up */
.pricing-plans .plans{max-width:none;margin:0}
.page-pricing .plan{padding:28px 26px;gap:16px;min-width:0}
.page-pricing .plan__head{min-height:28px}
.page-pricing .plan__name{font-size:20px}
.plan__badge{flex:none;padding:4px 10px;border-radius:999px;background:var(--primary);color:var(--on-primary);font-size:12px;font-weight:700;line-height:1.3}
.page-pricing .plan__note{margin:0;font-size:15px}
.plan__pricing{display:flex;flex-direction:column;gap:6px;padding-block-end:18px;border-block-end:1px solid var(--line);min-width:0}
.page-pricing .plan__price{margin:0;font-size:40px;letter-spacing:var(--ls-tight);overflow-wrap:anywhere}
.page-pricing .plan__price--custom{font-size:32px}
.plan__was{color:var(--muted);font-weight:400;font-size:.55em;text-decoration:line-through;margin-inline-end:4px}
.plan__planned{margin:0;color:var(--muted)}
/* a card's own period radios (driven by the switch) show only the chosen option's line: what is billed and the saving */
.plan__periods{border:0;margin:0;padding:0;min-width:0}
.plan__periods-legend{display:none}
.plan__periods .period{display:none}
.plan__periods[data-sel="month"]>.period[data-period="month"],.plan__periods[data-sel="quarter"]>.period[data-period="quarter"],.plan__periods[data-sel="year"]>.period[data-period="year"]{display:block}
.plan__periods input,.plan__periods .period__price,.plan__periods [data-aw-best],.plan__periods .period__name{display:none}
.plan__periods[data-sel="month"] .period__name{display:inline}
.period__body{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:24px;color:var(--muted);font-size:14px;line-height:1.4}
.period__head{display:contents}
.period__billed{order:1;font-size:14px}
.plan__periods [data-aw-save]{order:2}
.period__promo{order:3;flex-basis:100%;color:var(--green-ink);font-weight:600}
.plan__body{display:flex;flex-direction:column;gap:14px;min-width:0}
.plan__body .plan__model{margin:0;padding:10px 12px;border-radius:var(--r);background:var(--primary-soft);color:var(--primary);font-weight:600;line-height:1.45}
.page-pricing .plan .list{font-size:15px;gap:10px}
.plan__all{align-self:flex-start;display:inline-block;padding:6px 0;font-size:14px;font-weight:700;text-decoration:none}
.plan__all::after{content:" \2192"}
[dir="rtl"] .plan__all::after{content:" \2190"}
.plan__all:hover{text-decoration:underline}
.plan__cta{display:flex;flex-direction:column;gap:12px;min-width:0}
.page-pricing .plan__cta .btn{margin-top:0}
.plan__cta>.btn{width:100%;min-height:48px;font-size:16px}
.plan__cta [data-aw-form-status]{margin:0}
.plan__cta .plan__form{margin:0}
.plan__cta .plan__form .btn{width:100%;min-height:48px}
/* the ONE button account.js puts in place of the waitlist form (owner 2026-12-01: it leads to the checkout page): full width */
.plan__form[hidden]+p{display:flex;flex-direction:column;gap:8px;margin:0}
.plan__form[hidden]+p .btn{width:100%;min-height:48px;white-space:normal;text-align:center}
.plan__form[hidden]+p .btn--primary{font-size:16px}
/* the small print under the pay buttons in one compact block (checkout page: order notice, refund line, Android line; pricing: the Android line) */
.plan__fine{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12.5px;line-height:1.45}
.plan__fine p,.plan__fine .small{margin:0;font-size:12.5px}
.plan__fine [data-aw="app-play"] a{font-weight:600}
/* the Business card's extra words (owner 2026-12-01; components.mjs bizSaveLine / bizMore): the yearly saving in the price block, then
   under the button three trust lines, a closed "See an example" and the help address as selectable text — static, nothing moves on load */
.plan__biz-save{margin:0;color:var(--green-ink);font-weight:600;line-height:1.45}
.plan__biz-more{display:flex;flex-direction:column;gap:10px;min-width:0}
.plan__trust{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;color:var(--muted);line-height:1.45}
.plan__trust li{position:relative;padding-inline-start:20px}
.plan__trust li::before{content:"\2713";position:absolute;inset-inline-start:0;color:var(--green-ink);font-weight:700}
.plan__sample{min-width:0;font-size:14px}
.plan__sample>summary{cursor:pointer;font-weight:700;color:var(--primary);padding-block:2px}
.plan__sample-note{margin:6px 0;color:var(--muted)}
.plan__sample-label{margin:8px 0 2px;font-weight:700;color:var(--muted)}
.plan__sample-text{margin:0;padding:8px 10px;border-inline-start:3px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface2);font-size:13.5px;line-height:1.5;overflow-wrap:anywhere}
.plan__ask{margin:0;color:var(--muted)}
.plan__mail{-webkit-user-select:all;user-select:all;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.page-pricing .plan--pro{border:2px solid var(--primary);box-shadow:var(--shadow);background:linear-gradient(180deg,var(--primary-soft) 0,var(--surface) 160px)}
.page-pricing .plan--business{grid-column:auto;border:1px solid var(--line)}
@media(min-width:900px){
  .plans--main{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:0;align-items:stretch}
  .plans--main.plans--n2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;margin-inline:auto}
  .plans--main>.plan{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:16px;align-content:start}
}
@media(max-width:899px){
  .plans--main{grid-template-columns:minmax(0,1fr);max-width:560px;margin-inline:auto;gap:20px}
  .plans--main>.plan--pro{order:-1}   /* on a phone Pro comes first: the free plan is the one every visitor already has */
}
/* the quiet trust line under the main row */
.pricing__trust{display:flex;align-items:center;justify-content:center;gap:8px;max-width:820px;margin:20px auto 0;color:var(--muted);text-align:center;font-size:14px}
.pricing__trust::before{content:"";flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 1 1 6 0v3H9z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a5 5 0 0 0-5 5v3H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 1 1 6 0v3H9z'/%3E%3C/svg%3E") center/contain no-repeat}
/* the second, calmer row: Team (planned, waitlist) and Enterprise (contact) */
.pricing-plans .plans--more{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:20px;margin-top:40px}
.plans--more .plan{background:var(--surface);box-shadow:none;padding:24px}
.plans--more .plan__pricing{padding-block-end:0;border:0}
.plans--more .plan__price{font-size:30px}
.plans--more .plan__price--custom{font-size:26px}
.plans--more .plan .list{font-size:14px;gap:8px}
@media(min-width:900px){
  .plans--more .plan{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:auto auto auto 1fr;grid-template-areas:"head body" "note body" "price body" "cta body";gap:12px 28px;align-content:start}
  .plans--more .plan__head{grid-area:head}.plans--more .plan__note{grid-area:note}.plans--more .plan__pricing{grid-area:price}
  .plans--more .plan__body{grid-area:body;padding-inline-start:28px;border-inline-start:1px solid var(--line)}
  .plans--more .plan__cta{grid-area:cta;align-self:end}
}
.plans--more .plan__form .small{font-size:12.5px}
/* the fine print under all cards and the app slot (pages/pricing.mjs appSlot) */
.pricing__fine{max-width:820px;margin:28px auto 0;text-align:center}
.pricing__fine p{margin:0 0 4px}
.pricing__app{display:flex;justify-content:center}
.pricing__app .app-line{justify-content:center;margin:14px 0 0}

/* the free plan next to the dated competitor facts, and Pro vs Free: two even cards side by side */
.pricing-duo{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:stretch}
@media(min-width:980px){.pricing-duo{grid-template-columns:repeat(2,minmax(0,1fr))}}
.free-highlight{display:flex;flex-direction:column;background:var(--primary-soft);border:1px solid var(--line);border-radius:var(--r-xl);padding:28px;margin:0}
.free-highlight__title{font-family:var(--serif);font-weight:600;font-size:clamp(24px,3vw,30px);line-height:var(--lh-head);margin:0 0 14px}
.free-highlight__text{margin:0 0 12px;font-size:17px;font-weight:600;line-height:1.5}
.free-highlight__compare{margin:0 0 14px;font-size:16px}
.free-highlight .small{margin:auto 0 0;padding-top:12px;border-top:1px solid var(--line);line-height:1.5}
.free-highlight p:last-child{margin-bottom:0}
.pro-vs-free{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:28px;min-width:0}
.pricing-duo .pro-vs-free{margin-top:0}
.pro-vs-free .table-wrap{border:0;border-radius:0;margin:0}
.pro-vs-free .cmp{min-width:0}
.pro-vs-free thead tr{background:none;border-bottom:2px solid var(--line)}
.pro-vs-free th,.pro-vs-free td{padding:11px 12px}
.pro-vs-free tbody tr:last-child{border-bottom:0}
@media(max-width:560px){.free-highlight,.pro-vs-free{padding:20px 16px}.pro-vs-free table{font-size:14px}.pro-vs-free th,.pro-vs-free td{padding:10px 8px}.page-pricing .plan{padding:24px 20px}}

/* one table component for the full comparison; on wide screens its header row stays under the sticky site header */
.pricing-compare .table-wrap{margin:0;background:var(--surface)}
.table-wrap--plans table{min-width:720px}
.cmp--plans td{font-size:14px}
.cmp--plans tbody tr:nth-child(even) th,.cmp--plans tbody tr:nth-child(even) td:not(.cmp__us){background:color-mix(in srgb,var(--surface2) 45%,transparent)}
@media(min-width:900px){
  .pricing-compare .table-wrap--plans{overflow:visible}
  .pricing-compare .table-wrap--plans thead th{position:sticky;top:var(--header-h);z-index:2;background:var(--surface2);box-shadow:inset 0 -1px 0 var(--line)}
  .pricing-compare .table-wrap--plans thead th:first-child{border-start-start-radius:var(--r-lg)}
  .pricing-compare .table-wrap--plans thead th:last-child{border-start-end-radius:var(--r-lg)}
  .pricing-compare .table-wrap--plans thead .cmp__us{background:var(--primary-soft)}
}

/* text: the summary, the text sections (two columns on wide screens) and the FAQs (two columns) all span the same width */
.page-pricing .answer{max-width:none;margin-top:64px;padding:26px 28px}
.page-pricing .answer__text{max-width:75ch}
.pricing-topics{max-width:none;font-size:16px;line-height:1.65}
@media(min-width:900px){.pricing-topics{columns:2;column-gap:56px}}
.pricing-topic{min-width:0;break-inside:avoid;margin:0 0 28px}
.pricing-topic>h2:first-child{margin-top:0;font-size:22px}
.pricing-topic>:last-child{margin-bottom:0}
@media(min-width:900px){.pricing-faq .faq__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;align-items:start}}
.page-pricing .faq__answer{font-size:15px;line-height:1.6}
.page-pricing .cta{margin-bottom:0}

/* ---------- Contact */
.contact-card{display:grid;gap:14px 24px;grid-template-columns:1fr auto;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:22px 24px;box-shadow:var(--shadow);max-width:860px}
.contact-card__label{font-family:var(--sans);font-size:13px;text-transform:uppercase;letter-spacing:var(--ls-wide);color:var(--muted);margin:0 0 4px}
.contact-card__email{font-size:clamp(20px,3vw,26px);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.contact-card__actions{display:flex;gap:8px;flex-wrap:wrap}
.contact-card__time{grid-column:1/-1;margin:0;color:var(--muted)}
.topics{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.topic{gap:8px}
.topic .card__title{font-family:var(--sans);font-size:17px;margin:0}
.topic .card__text{margin:0}
.topic__include{margin:0;color:var(--muted);border-inline-start:3px solid var(--primary-soft);padding-inline-start:10px}
.topic__mail{align-self:flex-start;margin-top:auto}
@media(max-width:640px){.contact-card{grid-template-columns:1fr}}

/* ---------- Enterprise lead form, account shells, forms */
.lead-card{max-width:860px;padding:24px;gap:10px}
.lead-form{display:flex;flex-direction:column;gap:14px}
.lead-form .field-row .field{min-width:200px}
fieldset{border:1px solid var(--line);border-radius:var(--r);padding:12px 14px;margin:0}
fieldset legend{padding:0 6px;color:var(--muted);font-weight:700}
.chip--check{gap:8px;font-weight:400;cursor:pointer}
.chip--check input{width:16px;height:16px;margin:0;accent-color:var(--primary)}
.chip--check:has(input:checked){border-color:var(--primary);background:var(--primary-soft)}
.page-account .account-root{min-height:120px;display:flex;flex-direction:column;gap:14px}
.page-account .account-root>.muted:only-child{padding:18px 0}
/* the account dashboard (owner 2026-12-01, package 8; src/assets/dashboard.js): five tabs. Phone: a scrollable tab bar under the title;
   from 900px a tab list on the left (sticky) and the panel beside it. The root keeps a screen's height while /me loads, so the footer
   never jumps up and back (the signed-out shells' measured CLS defect); a tab switch only swaps the panel under the visitor's own click. */
.page-dash.container--narrow{max-width:1040px}
.page-dash .account-root{min-height:100vh;min-height:100svh}
.dash{display:grid;gap:14px;min-width:0}
.dash__tabs{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 6px;min-width:0}
.dash__tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:8px 14px;min-height:40px;font:inherit;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap;cursor:pointer;text-align:start}
.dash__tab:hover{border-color:var(--primary)}
.dash__tab[aria-selected="true"]{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.dash__tab:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.dash__dot{inline-size:8px;block-size:8px;border-radius:50%;background:var(--amber);flex:0 0 auto}
.dash__panel{display:flex;flex-direction:column;gap:14px;min-width:0}
.dash__panel:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:var(--r)}
.dash__panel [data-aw-hist-slot]:empty{display:none}
.dash__panel .unpaid .btn{white-space:normal;max-inline-size:100%;text-align:center}
.dash__hello{display:flex;flex-direction:column;gap:6px;padding:4px 2px 2px}
.dash__hello .h2{margin:0;overflow-wrap:anywhere}
.dash__plan{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.dash__plan .tag{font-size:13px;padding:4px 12px}
.dash__recent{list-style:none;padding:0;margin:0}.dash__recent li{padding:6px 0;border-top:1px solid var(--line)}.dash__recent li:first-child{border-top:0}
.dash__recent a{text-decoration:none;color:var(--ink)}.dash__recent a:hover strong{text-decoration:underline}
.chip--all{border-style:dashed}
@media(min-width:900px){
  .dash{grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}
  .dash__tabs{flex-direction:column;overflow:visible;padding:0;position:sticky;top:calc(var(--header-h) + 16px)}
  .dash__tab{border-radius:var(--r);white-space:normal;padding:10px 14px;justify-content:space-between}
  .dash__tab:not([aria-selected="true"]){border-color:transparent;background:transparent}
  .dash__tab:not([aria-selected="true"]):hover{background:var(--surface2)}
}
/* checkout page (owner 2026-12-01, account.js pageCheckout): the order summary left, the payment box right; one column on phones */
.page-checkout.container--narrow{max-width:1040px}
.checkout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}
.checkout--cart{grid-template-columns:minmax(0,660px)}
.checkout .card{padding:24px;gap:10px}
.checkout .card p{margin:0}
.checkout__pay{position:sticky;top:calc(var(--header-h) + 16px)}
.checkout__name{font-size:22px;line-height:1.2}
.checkout__periods{justify-content:flex-start;margin:6px 0 2px}
/* the summary card is narrow beside the payment box (861–1100 px) and on phones: its options wrap onto a new row rather than squeeze
   (review 2026-12-01: overlapping options in ru, de and fi) */
.checkout__periods .billing-switch__track{display:flex;flex-wrap:wrap;width:100%;border-radius:16px}
.checkout__periods .billing-switch__opt{flex:1 1 auto;min-width:min-content}
.checkout__periods .billing-switch__pill{flex:1;border-radius:12px}
.checkout__dl{margin:2px 0 0}
.checkout__list{margin:0}
.checkout__list li{margin:4px 0}
/* the one-hour Adept Pro offer's lines on the order summary (account.js pageCheckout; the countdown is an .aw-timer) */
.checkout__offer{margin:8px 0 0;padding:8px 12px;border-radius:var(--r);background:var(--primary-soft)}
.checkout__offer p{margin:4px 0}
.checkout__total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding-top:14px;margin-top:6px;font-weight:700}
.checkout__total strong{font-size:28px;letter-spacing:var(--ls-tight);text-align:end}
.checkout__who{color:var(--muted);overflow-wrap:anywhere}
.checkout__buttons{display:flex;flex-direction:column;gap:10px;margin:6px 0 2px}
.checkout__btn{width:100%;justify-content:center;text-align:center;white-space:normal}
.checkout__qr-show{width:100%;white-space:normal}
.checkout__qr{inline-size:min(28rem, calc(100% - 2rem));max-block-size:calc(100% - 2rem);padding:1.25rem;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);color:var(--ink)}
.checkout__qr[open]{display:grid;gap:12px}
.checkout__qr::backdrop{background:rgb(0 0 0 / .45)}
.checkout__qr-head,.checkout__qr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.checkout__qr-head{justify-content:space-between}
.checkout__qr-price{font-size:1.5rem}
.checkout__qr-code{display:block;inline-size:min(240px, 100%);block-size:auto;justify-self:center;image-rendering:pixelated;background:#fff}
.checkout__btn--card{background:#c6fe1e;color:#0d0d0d;border-color:#c6fe1e;border-radius:4px;min-height:45px;padding:8px 14px;font-weight:600;gap:10px}
.checkout__btn--card:hover,.checkout__btn--card:focus-visible{background:#b2e80f;color:#0d0d0d}
.checkout__btn--card::before{content:"";flex:none;width:24px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath d='M2 0h20a2 2 0 0 1 2 2v2H0V2a2 2 0 0 1 2-2zM0 7h24v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm3 5v2h6v-2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath d='M2 0h20a2 2 0 0 1 2 2v2H0V2a2 2 0 0 1 2-2zM0 7h24v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm3 5v2h6v-2z'/%3E%3C/svg%3E") center/contain no-repeat}
.checkout__secure{padding:10px 12px;border-radius:var(--r);background:var(--bg);border:1px solid var(--line)}
.checkout__msg{padding:24px}
.checkout__pp{width:100%;position:relative;z-index:0;display:flex;flex-direction:column}   /* flex: PayPal's inline-block container gets no line-box gap (52 → 45 px) */
.checkout__pp:empty{display:none}
/* account.js / checkout.js (owner 2026-12-01: PayPal's own buttons first, ours only as the fallback): the box keeps the final height from
   the start (caption + PayPal's 45 px button), a quiet skeleton shows while PayPal draws invisibly, never two buttons stacked */
.checkout__ppbox{display:flex;flex-direction:column;gap:6px}
.checkout__ppcap{font-weight:600;margin:0}
.checkout__choice{border:0;margin:0;padding:0;min-inline-size:0;display:flex;flex-direction:column;gap:6px}   /* Dodo's two choices: one per line (review 2026-12-02) */
.checkout__choice legend{padding:0;margin:0 0 2px}
.checkout__choiceopt{display:flex;align-items:flex-start;gap:8px;cursor:pointer}
.checkout__choiceopt input{flex:none;margin:.2em 0 0}
.checkout__choicetext{display:flex;flex-direction:column}
.checkout__ppstage{position:relative;min-height:45px}
.checkout__ppstage--order{min-height:73px}   /* PayPal's standalone card button: 45 px + its "Powered by PayPal" line (measured 73 px) */
.checkout__ppbox[aria-busy] .checkout__ppstage::before{content:'';position:absolute;inset-block-start:0;inset-inline:0;height:45px;border-radius:4px;background:var(--line);animation:pulse 1.2s infinite}
.checkout__pp--wait{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.checkout__ppstage::before{animation:none}}
/* Dodo's card form on the checkout page (stage 2, 2026-12-02; checkout.js awDodo): at the press a box of the final height takes the lime button's place; Dodo's frame draws invisibly in it under "Opening…" and a quiet skeleton, and shows once really drawn */
.checkout--dodo .checkout__pay{position:static}
.checkout__dodo{position:relative;display:flex;flex-direction:column;gap:8px;outline:none}
.checkout__dodoslot{min-height:440px}
.checkout__dodo[aria-busy] .checkout__dodoslot{opacity:0;pointer-events:none}
.checkout__dodo[aria-busy]::before{content:'';position:absolute;inset-block-start:0;inset-inline:0;height:440px;box-sizing:border-box;border-radius:8px;background:var(--surface2);border:1px solid var(--line);animation:pulse 1.2s infinite}
.checkout__dodowait{position:absolute;inset-block-start:18px;inset-inline:18px;margin:0;z-index:1;font-weight:600}
.checkout__dodo:not([aria-busy]) .checkout__dodowait{display:none}
.checkout__dodo[aria-busy] .checkout__dodoesc{visibility:hidden}
.checkout__dodoesc,.checkout__dodomsg{margin:0}
@media(prefers-reduced-motion:reduce){.checkout__dodo::before{animation:none}}
.checkout__done{grid-column:1/-1;padding:28px}
@media(max-width:860px){.checkout{grid-template-columns:1fr}.checkout__pay{position:static}.checkout .card{padding:18px}}
/* the checkout page's root starts as one loading line and grows to the summary and the payment box (desktop 700-900 px, phones 1,300 px
   and more), which pushed the footer down (CLS 0.21 at 1440, 0.52 at 768; review 2026-12-01). As on the sign-in shell, while account.js
   works the box keeps one screen of height (at most 900 px), so the footer is past the fold in both states; only with scripting on. */
@media (scripting:enabled){.page-checkout .account-root{min-height:min(100vh,900px)}}
[data-aw-form-status]{font-size:14px}

/* ---------- Browser extension landing page */
.ext-browsers{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:16px}
.ext-browser{gap:10px}
.ext-browser .card__title{font-family:var(--sans);font-size:18px;margin:0}
.ext-browser .btn{align-self:flex-start}
.ext-steps{font-size:14px;margin:0}
.ext-soon{margin:0;background:var(--surface2);border-radius:var(--r);padding:12px 14px;font-size:14px;color:var(--ink)}
kbd{font-family:var(--mono);font-size:.85em;background:var(--surface2);border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;padding:1px 6px;white-space:nowrap}
.dl--stack{grid-template-columns:minmax(0,1fr);gap:2px 0}.dl--stack dt{margin-top:10px;color:var(--ink)}.dl--stack dd{color:var(--muted)}
.dl--facts{max-width:860px;margin:20px 0 0;font-size:15px}

/* ---------- Translation pairs, language lists */
.pair-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.tx-table td:first-child,.tx-table td:nth-child(2){min-width:180px}
.lang-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.lang-list li{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:4px 12px;font-size:14px}
.lang-list a{text-decoration:none;color:var(--ink)}.lang-list a:hover{color:var(--primary)}

/* ---------- Spelling cluster (generic successor of the v1 kata-baku pages) */
.kb-item__vs{color:var(--muted);font-size:13px}
.kb-item__term{font-weight:700;color:var(--ink)}
.pair__word--long{font-family:var(--sans);font-size:17px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.pair__box--no .pair__word--long{text-decoration:none;color:var(--red)}
.about-cluster{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:20px 22px;max-width:860px}
.about-cluster p{margin:0 0 10px}.about-cluster p:last-child{margin:0}

/* ---------- 404 */
.page-404__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:24px}
.page-404 .chips{margin-top:20px}

@media print{.lang-switch,.account-link,.pages,.editor__options{display:none!important}}

/* ---------- refinements after visual review */
.page-doc .ba,.page-doc .pair{max-width:860px}
.entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;overflow-wrap:anywhere}
.entry-meta__sep{color:var(--line)}
.plan__per{display:inline-block}
.plan__price--custom{font-size:28px}
.hub__cta{margin-top:16px}
.mnav__item{flex:1 1 0;min-width:0;max-width:96px;padding:0 2px;text-align:center;line-height:1.2;overflow-wrap:anywhere}
@media(max-width:640px){
  .table-wrap--plans table{min-width:560px;font-size:13px}
  .table-wrap--plans th[scope="row"],.table-wrap--plans thead th:first-child{position:sticky;inset-inline-start:0;z-index:1;min-width:150px;max-width:170px;white-space:normal}
  .table-wrap--plans th[scope="row"]{background:var(--surface)}
  .table-wrap--plans thead th:first-child{background:var(--surface2)}
  .table-wrap--plans th,.table-wrap--plans td{padding:10px 12px}
}

/* Markdown task lists */
li.task{list-style:none;margin-inline-start:-1.2em}
.task__box{display:inline-block;inline-size:1.2em}

/* ---------- marketing consent (docs/handoff/marketing-consent-v1.md): the sign-in checkbox, the account switch, the one-time question */
.consent{margin:8px 0 0}.consent label{display:inline-flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.45;cursor:pointer}
.consent input[type="checkbox"]{flex:0 0 auto;inline-size:18px;block-size:18px;margin:2px 0 0;accent-color:var(--primary)}
.mkt-prompt{position:fixed;inset-inline-end:16px;bottom:16px;z-index:70;max-width:360px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);padding-block:16px 14px;padding-inline:16px 44px}
.mkt-prompt__title{font-weight:700;margin:0 0 6px}
.mkt-prompt__text{font-size:14px;margin:0 0 12px;color:var(--muted)}
.mkt-prompt__actions{display:flex;flex-wrap:wrap;gap:8px}
.mkt-prompt__status{margin:10px 0 0}
.mkt-prompt__close{position:absolute;inset-inline-end:6px;top:6px;min-width:36px;min-height:36px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.mkt-prompt__close:hover{background:var(--surface2);color:var(--ink)}
/* v2 (marketing-consent-v2.md): the welcome part of the question card and the free-account invitation (.mkt-prompt--join, same place) */
.mkt-prompt__welcome:not([hidden])+.mkt-prompt__ask{border-block-start:1px solid var(--line);padding-block-start:10px}
.mkt-prompt__trial{display:inline-block;margin:0 0 8px;padding:3px 10px;border-radius:999px;background:var(--amber-soft);color:var(--amber-ink);font-weight:600}
.mkt-prompt--join .mkt-prompt__title{font-size:17px}
@media(max-width:760px){.mkt-prompt{inset-inline:12px;max-width:none;bottom:calc(84px + env(safe-area-inset-bottom));max-height:calc(100vh - 160px);overflow-y:auto;padding-block:12px 10px}.mkt-prompt__title,.mkt-prompt--join .mkt-prompt__title{font-size:15px;margin-block-end:4px}.mkt-prompt__text{font-size:13px;line-height:1.45;margin-block-end:10px}.mkt-prompt__welcome .mkt-prompt__text{margin-block-end:8px}}
@media print{.mkt-prompt{display:none!important}}
/* the editor's invitation for a signed-out visitor's AI run (app.js joinHtml): friendly, never the red error box */
.editor__join{background:var(--primary-soft);color:var(--ink);border-radius:var(--r);padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:14px;white-space:normal}
.editor__join p{margin:0}.editor__join-title{font-weight:700;font-size:16px}.editor__join .btn{margin-block-start:4px}

/* ---------- Pro offers for signed-in free accounts (docs/handoff/pro-offers-v1.md): the slim strip, the card under an AI result,
   the note under the character counter. All inline and small, never a pop-up or an overlay. */
/* div.aw-strip, never bare .aw-strip: <html> itself carries the class "aw-strip" (head script), and a bare selector hid the
   whole page for signed-in free accounts (2026-11-26 → 27 incident). scripts/proffer.test.mjs guards it. */
div.aw-strip{display:none}
/* the head script of layout.mjs puts class "aw-strip" on <html> before first paint: the strip is then laid out but invisible, its
   empty cells reserve lines for the live text at each breakpoint before hydration. Same visual language as the promo block under the header (.aw-promo): the accent bar, the bold lead in
   the brand colour, a real button. The whole strip is one link: the button's ::after covers it (the close button sits above it). */
html.aw-strip .aw-strip{display:block;visibility:hidden;position:relative;background:var(--primary-soft);color:var(--ink);border-block-end:1px solid var(--line);border-inline-start:4px solid var(--primary);font-size:13px;line-height:1.4}
html.aw-strip .aw-strip.is-on{visibility:visible}
.aw-strip__row{display:grid;grid-template-columns:minmax(0,1fr) fit-content(46%) auto;grid-template-areas:"lead btn close" "facts facts facts";align-items:center;column-gap:8px;padding-block:6px}
.aw-strip__lead,.aw-strip__facts{display:grid;margin:0;min-inline-size:0}
.aw-strip__lead{grid-area:lead}.aw-strip__facts{grid-area:facts}
.aw-strip__lead>*,.aw-strip__facts>*{grid-area:1/1;min-inline-size:0}
.aw-strip__reserve{visibility:hidden;pointer-events:none}
.aw-strip__reserve-head{min-block-size:2lh}
.aw-strip__reserve-facts{min-block-size:2lh}
@media(max-width:640px){.aw-strip__reserve-head{min-block-size:3lh}}
/* a build that serves the one-hour offer (<body data-offer-hour="1">, layout.mjs; review 2026-12-04): on small screens the strip draws
   its short words (the short slot, layout.mjs proStrip), like the promo block; the live words sit centred over the room of the longest
   words (the reserve spans' data-room, drawn invisibly further down: "the room of the one-hour offer's words") */
[data-aw-strip-short]{display:none}
[data-offer-hour] .aw-strip__facts{align-items:center}
@media(max-width:640px){[data-offer-hour] [data-aw-strip-text]{display:none}[data-offer-hour] [data-aw-strip-short]{display:inline}}
.aw-strip__head{color:var(--primary);font-weight:700}
.aw-strip__until,.aw-strip__price{display:none}
.aw-strip__price{color:var(--muted);white-space:nowrap}
.aw-strip__btn{grid-area:btn;white-space:normal;text-align:center;line-height:1.25;transform:none!important}
.aw-strip__btn::after{content:"";position:absolute;inset:0}
.aw-strip__btn:focus-visible::after{outline:2px solid var(--focus);outline-offset:-2px}
.aw-strip__close{grid-area:close;position:relative;z-index:1;min-inline-size:36px;min-block-size:36px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.aw-strip__close:hover{background:var(--surface);color:var(--ink)}
/* from 700 px: the end date and the price line join the text; from 1000 px everything sits in one row (lead | facts | button | close) */
@media(min-width:700px){html.aw-strip .aw-strip{font-size:14px}.aw-strip__btn{white-space:nowrap}.aw-strip__until,.aw-strip__price{display:inline}}
@media(min-width:1000px){.aw-strip__row{grid-template-columns:fit-content(32%) minmax(0,1fr) auto auto;grid-template-areas:"lead facts btn close";column-gap:12px;padding-block:4px}}
@media print{div.aw-strip{display:none!important}}
/* the card under an AI result (app.js offerCard) */
.editor__offer{position:relative;margin:12px 0 0;padding:12px 44px 12px 14px;background:var(--primary-soft);color:var(--ink);border-radius:var(--r);font-size:14px;line-height:1.45}
[dir="rtl"] .editor__offer{padding:12px 14px 12px 44px}
.editor__offer p{margin:0 0 6px}.editor__offer-bonus{color:var(--muted)}
.editor__offer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-block-start:8px}
.editor__offer-close{position:absolute;inset-inline-end:4px;top:4px;min-inline-size:40px;min-block-size:40px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.editor__offer-close:hover{background:var(--surface);color:var(--ink)}
.editor__thanks p{margin:0}.card>.editor__thanks{margin-block-start:14px}
@media print{.editor__offer{display:none!important}}
/* Writing history (docs/handoff/writing-history-v1.md): the question under the editor (an .editor__offer box, inline) and the account page card */
.hist-prompt .consent{margin:2px 0 4px}
.history-item{padding:10px 0;border-top:1px solid var(--line)}.history-item:first-child{border-top:0}
.history-item p{margin:0 0 4px}.history-item__meta{font-size:13px;color:var(--muted)}.history-item__preview{overflow-wrap:anywhere}
.history-text{margin:4px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:14px;line-height:1.55;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;max-block-size:24em;overflow:auto}
/* the note under the character counter while a free account's text is over the free limit (app.js longNote) */
.editor__longnote{margin:6px 0 0;padding:8px 12px;background:var(--amber-soft);color:var(--amber-ink);border-radius:var(--r);font-size:13px;line-height:1.45}
.editor__longnote a{color:var(--amber-ink);font-weight:700}
/* the counter lives in the editor's flex bar: the note takes a row of its own there */
.editor__bar .editor__longnote{flex:1 0 100%;margin:2px 0 0}

/* The Pro promo block (layout.mjs proPromo, shown by site.js initProPromo to signed-out visitors while the premium model / bonus runs):
   AT THE TOP, in normal flow directly under the header (owner 2026-11-29), never fixed or sticky; hidden until JavaScript shows it.
   No layout shift: the head script puts class "aw-promo-on" on <html> before first paint; the block is then laid out but invisible
   (visibility). An empty cell reserves lines in the live text's grid area. */
.aw-promo[hidden]{display:none}
html.aw-promo-on .aw-promo[hidden]{display:block!important;visibility:hidden}   /* beats the global [hidden]{display:none!important}: laid out, not painted */
.aw-promo{margin:16px 0;padding:0}
.aw-promo__row{display:flex;align-items:center;gap:8px;padding:10px 8px 10px 16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-inline-start:4px solid var(--primary);border-radius:var(--r);box-shadow:var(--shadow);font-size:15px;line-height:1.45}
.aw-promo__text{flex:1;min-inline-size:0;display:grid}
.aw-promo__text>*{grid-area:1/1;margin:0;min-inline-size:0}
.aw-promo__reserve{visibility:hidden;pointer-events:none;min-block-size:3lh}
[data-offer-hour] .aw-promo__text{align-items:center}   /* the one-hour offer's words, centred in their room (rooms below) */
.aw-promo__cta{font-weight:600;color:var(--primary);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.aw-promo__cta::after{content:" \2192"}
[dir="rtl"] .aw-promo__cta::after{content:" \2190"}
.aw-promo__close{flex:none;min-inline-size:40px;min-block-size:40px;border:0;border-radius:10px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.aw-promo__close:hover{background:var(--surface2);color:var(--ink)}
@media(max-width:699px){.aw-promo{margin-block:12px}.aw-promo__row{padding:8px 4px 8px 12px;font-size:14px}}
[data-aw-pro-promo-short]{display:none}
/* small screens: the short words (home and tool pages; guide pages too in a build with the one-hour offer — review 2026-12-04: its full
   words with the countdown need far more lines there) */
@media(max-width:640px){
  :is(.page--home,.page--tool,[data-offer-hour].page--guide) .aw-promo{margin-block:6px}
  :is(.page--home,.page--tool,[data-offer-hour].page--guide) .aw-promo__row{font-size:13px;line-height:1.3}
  :is(.page--home,.page--tool,[data-offer-hour].page--guide) :is([data-aw-pro-promo-text],.aw-promo__detail){display:none}
  :is(.page--home,.page--tool,[data-offer-hour].page--guide) [data-aw-pro-promo-short]{display:inline}
}
@media print{.aw-promo{display:none!important}}
/* the room of the one-hour offer's words (review 2026-12-04, R2-F6 / P3; layout.mjs proStrip / proPromo, components.mjs offerRoom): in a
   build that serves the offer, each reserve span of the strip and the promo block carries the placement's longest words with sample
   numbers (the hour's and the batches': one span each) and draws them INVISIBLY as generated content (never text of the page: not
   indexed, not read aloud) in the same grid cell as the live words — the full words, the short slot's words on small screens (where the
   page shows them), the strip's price from 700 px (nowrap, as live), the promo block's link (bold, nowrap, with its arrow) — so the cell is
   exactly as tall as the live words will be, in every language, with the device's own fonts, at every width: no layout shift when they
   arrive. The digits are the page's own (tabular digits can be NARROWER than the font's default ones: measured), and every room ends with
   a margin of about one em (offerRoom). scripts/offer-room.e2e.mjs measures every locale. */
[data-offer-hour] :is(.aw-strip__reserve,.aw-promo__reserve)[data-room]::before{content:attr(data-room) " "}
[data-offer-hour] .aw-strip__reserve-head[data-room]::before{font-weight:700}
[data-offer-hour] .aw-strip__reserve[data-price]::after{content:attr(data-price);display:none;white-space:nowrap}
@media(min-width:700px){[data-offer-hour] .aw-strip__reserve[data-price]::after{display:inline}}
[data-offer-hour] .aw-promo__reserve[data-cta]::after{content:attr(data-cta) " \2192";font-weight:600;white-space:nowrap}
[dir="rtl"] [data-offer-hour] .aw-promo__reserve[data-cta]::after{content:attr(data-cta) " \2190"}
@media(max-width:640px){[data-offer-hour] :is(.aw-strip__reserve,.aw-promo__reserve)[data-room-short]::before{content:attr(data-room-short) " "}}
.plan__model{margin:6px 0 0;color:var(--primary);font-weight:600}

/* The free trial badge next to the model picker ("Free trial: 2 of 2 left today"): small, inline, in the options row (app.js initModelPicker). */
.editor__opt[data-model-opt]{flex-wrap:wrap}
.editor__opt-note{font-size:13px;font-weight:600;color:var(--primary)}
/* phones (review of 2026-12-02): the badge takes its own line under the select, so the chosen model's name stays readable (beside it the
   select shrank to about 100 px at 390 px and showed "Claud") */
@media(max-width:560px){.editor__opt[data-model-opt] .editor__opt-note{flex:1 1 100%}}
.editor__opt-soon{flex:1 1 100%;margin:0;font-size:13px;color:var(--muted)}
/* the "payment not completed" card (site.js initUnpaid): inline, closable, never an overlay */
.unpaid{position:relative;padding-inline-end:52px}.unpaid p{margin:0 0 8px}.unpaid fieldset{border:0;padding:0;margin:4px 0 8px}.unpaid legend{font-weight:600;margin:0 0 4px;padding:0}.unpaid .consent{margin:4px 0 0}.unpaid textarea{inline-size:100%;min-block-size:4.5em}.unpaid select{max-inline-size:100%}

/* The premium-model limit bar (site.js limitBar; owner 2026-12-01): one bar per plan, said in words as well as drawn; the two message
   layers share one grid cell, so the hidden one reserves its height and reaching the limit never moves the page. Logical properties: RTL. */
.aw-limit{flex:1 1 100%;display:grid;gap:4px;max-width:440px;margin-block:2px 0}
.aw-limit__head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px}
.aw-limit__name{font-weight:700;color:var(--ink)}
.aw-limit__pct{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.aw-limit__track{height:8px;border-radius:999px;background:var(--surface2);border:1px solid var(--line);overflow:hidden}
.aw-limit__fill{height:100%;width:0;background:var(--primary);border-start-end-radius:999px;border-end-end-radius:999px;transition:width .3s ease}
.aw-limit.is-full .aw-limit__fill{background-color:var(--amber);background-image:repeating-linear-gradient(45deg,transparent 0 4px,rgba(0,0,0,.18) 4px 8px)}
.aw-limit__msgs{display:grid}
.aw-limit__layer{grid-area:1/1;margin:0;min-width:0}
.aw-limit__meta{margin:0;font-size:12px;color:var(--muted)}
.aw-limit__full{font-size:13px;color:var(--amber-ink)}
.aw-limit__warn{color:var(--amber-ink)}
.aw-limit.is-low .aw-limit__fill{background-color:var(--amber)}
.aw-limit__low,.aw-limit__full{visibility:hidden}
.aw-limit.is-low .aw-limit__low,.aw-limit.is-full .aw-limit__full{visibility:visible}
.aw-limit.is-low .aw-limit__ok,.aw-limit.is-full .aw-limit__ok{visibility:hidden}
.card .aw-limit{max-width:none;margin-block:8px 4px}
/* The editor's slot for the bar (components.mjs data-aw-limit-slot, app.js): a band under the options row. While layout.mjs LIMIT_SCRIPT has
   put "aw-limit-on" on <html> (this browser showed the bar lately), the empty slot is laid out invisibly at the bar's height before first
   paint and keeps that height once filled, so the bar arriving after /api/v1/me never moves the editor. The height: --aw-limit-h, what the
   filled slot took last time in this language and viewport width (app.js limitSlot); else the English bar with the Standard sentence
   (measured in Chrome 158, review 2026-12-01: 113 px from 600 px wide, 118 px on a 360 px phone) and a little room for other fonts. */
.aw-limit-slot{box-sizing:border-box;padding:8px 16px 10px;border-bottom:1px solid var(--line);background:var(--surface)}
.aw-limit-slot[hidden]{display:none}
html.aw-limit-on .aw-limit-slot{min-block-size:var(--aw-limit-h,116px)}
html.aw-limit-on .aw-limit-slot[hidden]{display:block!important;visibility:hidden}
@media(max-width:599px){html.aw-limit-on .aw-limit-slot{min-block-size:var(--aw-limit-h,124px)}}
@media print{.aw-limit-slot{display:none!important}}
@media (prefers-reduced-motion:reduce){.aw-limit__fill{transition:none}}

/* ======================================================================================================
   Design review 2026-12-01 (measured in Chromium over 11 locales x 6 widths, scripts/layout-rules.test.mjs keeps the rules below)
   ====================================================================================================== */

/* Four- and six-card grids never leave one card alone (3 + 1 at 768-1440 px, 4 + 2 on the extension page and the spelling lists): two columns
   from 561 px, and only where the grid has the whole page width (not inside another grid's half column, not in the narrow container)
   four across from 1240 px (six: three across from 900 px). Not inside .account-root: the sign-in grid holds 3 visible cards and 1 hidden status child, so it stays one column */
@media(min-width:561px){:is(.grid,.kb-list):not(.account-root *):is(:has(>:nth-child(4):last-child),:has(>:nth-child(6):last-child)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1240px){.container:not(.container--narrow) :is(.grid,.kb-list):not(.grid *):has(>:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px){.container:not(.container--narrow) :is(.grid,.kb-list):not(.grid *):has(>:nth-child(6):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Pricing: in the three-column row the "per month" unit sits under the amount in every card, so US$3,74 and US$165,83 line up at 1024 px */
@media(min-width:900px){.plans--main .plan__per{display:block}.plans--main .plan__price{overflow-wrap:normal}}

/* Language menu: group headings wrap instead of being cut off (ru "Central and Eastern Europe"); on phones each group is one full-width
   heading over its two-column list, so no heading breaks over two lines; touch-sized rows on tablets */
.lang-switch__menu .eyebrow{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
@media(min-width:641px) and (max-width:1159px){.lang-switch__menu .mega__link{display:flex;align-items:center;min-height:40px}.site-footer__lang{min-height:40px;display:flex;align-items:center}}
@media(max-width:640px){
  .lang-switch__menu .mega__grid{columns:auto}
  .lang-switch__menu .mega__col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px;margin-bottom:6px}
  .lang-switch__menu .mega__col>.eyebrow{grid-column:1/-1}
  .site-footer__langs-grid{columns:auto}
  .site-footer__langs-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
  .site-footer__langs-col>.eyebrow{grid-column:1/-1}
}

/* Touch targets: 40 px tall on phones and coarse pointers (the "related tools" chips were 23-26 px, glossary links 22-25, the "Lost your
   passkey?" line 25-28, the spelling tags 25, "See all features" 34-37, the editor selects and the swap button 38; second round: the guide's table of contents links, the
   tool-group headings' links, the author link, the lone "all guides" / privacy links, links inside table cells and the editor's side-by-side toggle) */
@media(max-width:760px),(pointer:coarse){
  .linkrow a,.term__links a,.muted.small>a,a.card__eyebrow,.plan__all,.pager a,.site-footer__links a,.crumbs a,.toc--inline a,.tool-group .eyebrow a,.meta a,.section__block>p>a,p.section__block>a,td>a{display:inline-flex;align-items:center;min-height:40px}
  .editor__toggle{min-height:40px}
  .linkrow{gap:6px 8px}
  a.tag{display:inline-flex;align-items:center;min-height:40px;padding-inline:14px;font-size:13px}
  details.card>summary{cursor:pointer;padding-block:10px}
  .editor__opt select,.field select,.editor__swap,.mkt-prompt__close{min-height:40px}
  .mkt-prompt__close{min-width:40px}
  .editor__options>.btn{min-height:40px}
}

/* Contrast: borders of inputs, selects and chips reach 3:1 against their ground; the error box text reaches 4.5:1 (--red above) */
.chip,.input,.field input,.field select,.field textarea,.cite input,.cite select,.editor__opt select,.editor__pop .btn--chip,.editor__syn-group .btn--chip,ol.editor__list>li>.btn--chip{border-color:var(--line-strong)}
/* the logo's tile (#3B2BD9) is only 2.1:1 on the dark header: a ring in the dark primary (5.4:1) gives it an edge, the fills never change */
.logo-mark{border-radius:31.25%}
[data-theme="dark"] .logo-mark{box-shadow:0 0 0 1.5px var(--primary)}

/* Long words in the plan table's first column (de "Auftragsverarbeitungsvertrag (AVV)" spilled 32 px into the next cell at 360 px). Only break-word:
   it never shrinks the column's minimum width, so ordinary words and numbers ("Included", "10,000") are never split in the middle, and the value cells
   never split at all. */
.cmp--plans th{overflow-wrap:break-word}
.cmp--plans td{overflow-wrap:normal;word-break:normal;hyphens:manual}

/* Sign-in shell (/login/ and every signed-out visit to /account/, /team/, /checkout/, which end there): the form is 1,000-1,250 px tall but the
   page first shows one line, so the FAQ and the footer jumped (CLS 0.29 at 360 px, 0.15 at 1440). While account.js works, the box keeps one
   screen of height (at most 900 px: the settled one-column form is 892-1,010 px tall from 561 px up, 1,080-1,200 px on phones, so no blank band is left),
   which pushes everything below it past the fold in both states; only with scripting on (no script = no gap). */
@media (scripting:enabled){.page--login .account-root{min-height:min(100vh,900px)}}

/* Second round of the design review (2026-12-01): long words in cards, the Enterprise list at 940-975 px, the editor's selects in right-to-left phones,
   dark-theme links on the soft primary ground */
.grid--personas .card{min-width:0}
.grid--personas .card__title,.grid--personas .card__text{overflow-wrap:anywhere;hyphens:auto}
@media(max-width:459px){.grid--personas{grid-template-columns:minmax(0,1fr)}}
.plan .list li{overflow-wrap:anywhere}
.editor__opt select{min-width:0}
[data-theme="dark"] :is(.answer,.callout--info,.free-highlight,.hero) a:not([class]),[data-theme="dark"] :is(.answer,.callout--info,.free-highlight,.hero) a:not([class]):hover{color:var(--ink)}

.ai-survey {
  border: 1px solid var(--border, #aaa6c1);
  border-radius: .75rem;
  margin-block: .75rem;
  padding: .875rem;
  min-inline-size: 0;
  text-align: start;
}
.ai-survey p { margin-block: .35rem; }
.ai-survey__question { display: block; font-weight: 700; }
.ai-survey textarea {
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 5rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--border, #aaa6c1);
  padding: .5rem;
  margin-block: .5rem;
  border-radius: .5rem;
  resize: vertical;
}
.ai-survey__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ai-survey__actions [aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: 2px; }
.ai-survey__status:empty { display: none; }
.ai-survey--balance bdi { white-space: nowrap; }
[data-ai-survey-remove-status] { min-block-size: 1.5em; }
[data-ai-survey-slot] { display: none; }
html[data-ai-survey-visit] [data-ai-survey-slot] {
  display: block;
  block-size: 27rem;
  overflow: auto;
  scrollbar-gutter: stable;
}

.editor__locked:not([hidden]), .cite__lookup:not([hidden]) {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.editor__locked label { font-size: .875rem; font-weight: 700; }
.editor__locked input, .cite__lookup [data-cite-identifier] { min-width: 0; flex: 1 1 10rem; }
.editor__locked input {
  padding: 8px 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  background: var(--surface);
  font: inherit;
}
.editor__locked-list:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.editor__locked-list li { min-width: 0; max-width: 100%; }
.editor__locked-list button { white-space: normal; overflow-wrap: anywhere; }
.cite__preview:not([hidden]) { display: grid; gap: 8px; overflow-wrap: anywhere; }
.cite__preview p { margin: 0; }
