/* Panel presentation: MHSanaei/3x-ui v3.9.0 colors; real Yekan Bakh font weights.
   These faces include Persian and Latin letters, so both panel languages share
   one family, weight hierarchy and readable text scale. */
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 100; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-100.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 200; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-200.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-300.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-400.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-500.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-700.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-800.woff2") format("woff2"); }
@font-face { font-family: "Yekan Bakh"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/yekan-bakh/YekanBakh-900.woff2") format("woff2"); }

/* Source: official useTheme.tsx, page-shell.css and AntD 6.6.5 tokens. */
:root.mx-ui, :root.mx-ui[dir="rtl"] {
 --mx-font: "Yekan Bakh", Tahoma, sans-serif;
 --mx-lh-body: 1.65;
 --mx-track-tight: 0;
 --mx-page: #e6e8ec;
 --mx-surface: #ffffff;
 --mx-surface-hi: #ffffff;
 --mx-raised: #fafafa;
 --mx-head: #fafafa;
 --mx-hover: #fafafa;
 --mx-hover-soft: #fafafa;
 --mx-active: #e6f4ff;
 --mx-press: #bae0ff;
 --mx-border: #f0f0f0;
 --mx-border-firm: #d9d9d9;
 --mx-row-rule: #f0f0f0;
 --mx-text: rgba(0,0,0,0.88);
 --mx-text-2: rgba(0,0,0,0.65);
 --mx-text-3: rgba(0, 0, 0, 0.58);
 --mx-placeholder: #767676;
 --mx-accent: #0958d9;
 --mx-accent-hi: #2468e5;
 --mx-accent-press: #073ea8;
 --mx-accent-lo: #e6f4ff;
 --mx-accent-ink: #0958d9;
 --mx-on-accent: #ffffff;
 --mx-ring: #1677ff;
 --mx-track: #f0f0f0;
 --mx-row-selected: #e6f4ff;
 --mx-neutral: #1f1f1f;
 --mx-nav: #ffffff;
 --mx-focus-border: #1677ff;
 --mx-nav-selected: color-mix(in srgb, #1677ff 20%, transparent);
 --mx-nav-hover: color-mix(in srgb, #1677ff 10%, transparent);
 --mx-glass: #ffffff;
 --mx-glass-strong: #ffffff;
 --mx-glass-brd: #f0f0f0;
 --mx-glass-hi: transparent;
 --mx-glow-a: transparent;
 --mx-glow-b: transparent;
 --mx-glow-c: transparent;
 --mx-shadow: 0 1px 2px rgba(0,0,0,.04);
 --mx-shadow-md: 0 6px 16px rgba(0,0,0,.08);
 --mx-shadow-lg: 0 12px 32px rgba(0,0,0,.16);
 --mx-bevel: none;
 --mx-scrim: rgba(0,0,0,0.45);
 --mx-chip-gray: #fafafa;
 --mx-chip-gray-ink: rgba(0,0,0,0.65);
 --mx-chip-accent: #e6f4ff;
 --mx-chip-accent-ink: #0958d9;
 --mx-ok: #237804;
 --mx-ok-lo: #f6ffed;
 --mx-ok-ink: #237804;
 --mx-chip-ok: #f6ffed;
 --mx-chip-ok-ink: #237804;
 --mx-warn: #ad6800;
 --mx-warn-lo: #fffbe6;
 --mx-warn-ink: #874d00;
 --mx-chip-warn: #fffbe6;
 --mx-chip-warn-ink: #874d00;
 --mx-bad: #cf1322;
 --mx-bad-lo: #ffe8e6;
 --mx-bad-ink: #cf1322;
 --mx-chip-bad: #ffe8e6;
 --mx-chip-bad-ink: #cf1322;
 --mx-info: #0958d9;
 --mx-info-lo: #e6f4ff;
 --mx-info-ink: #0958d9;
 --mx-chip-blue: #e6f4ff;
 --mx-chip-blue-ink: #0958d9;
 --mx-chip-plum: #f9f0ff;
 --mx-chip-plum-ink: #531dab;
 --mx-chip-rose: #fff0f6;
 --mx-chip-rose-ink: #c41d7f;
 --mx-chart-1: #1677ff;
 --mx-chart-2: #722ed1;
 --mx-chart-3: #ad6800;
 --mx-chart-4: #389e0d;
 --mx-chart-5: #cf1322;
 --mx-chart-6: #c41d7f;
 --mx-chart-bad: #cf1322;
 --mx-radius-lg: 14px;
 --mx-glass-gutter: clamp(12px,1.8vw,28px);
 --mx-header-h: 58px;
 --mx-row: 44px;
 --mx-row-dense: 38px;
 --mx-fs-title: clamp(22px,2vw,28px);
}
:root.mx-ui[data-theme="dark"] {
 --mx-font: "Yekan Bakh", Tahoma, sans-serif;
 --mx-page: #1a1b1f;
 --mx-surface: #23252b;
 --mx-surface-hi: #23252b;
 --mx-raised: #2d2f37;
 --mx-head: #2c2e33;
 --mx-hover: #2c2e33;
 --mx-hover-soft: #2c2e33;
 --mx-active: #15325b;
 --mx-press: #15417e;
 --mx-border: rgba(255,255,255,.06);
 --mx-border-firm: #50566e;
 --mx-row-rule: #414659;
 --mx-text: rgba(255,255,255,0.85);
 --mx-text-2: rgba(255,255,255,0.65);
 --mx-text-3: rgba(255,255,255,0.65);
 --mx-placeholder: rgba(255,255,255,0.65);
 --mx-accent: #1668dc;
 --mx-accent-hi: #1554ad;
 --mx-accent-press: #1554ad;
 --mx-accent-lo: #15325b;
 --mx-accent-ink: #65a9f3;
 --mx-on-accent: #ffffff;
 --mx-ring: #65a9f3;
 --mx-track: #414659;
 --mx-row-selected: #15325b;
 --mx-neutral: #1f1f1f;
 --mx-nav: #15161a;
 --mx-focus-border: #1668dc;
 --mx-nav-selected: color-mix(in srgb, #1668dc 20%, transparent);
 --mx-nav-hover: color-mix(in srgb, #1668dc 10%, transparent);
 --mx-glass: #23252b;
 --mx-glass-strong: #23252b;
 --mx-glass-brd: rgba(255,255,255,.06);
 --mx-glass-hi: transparent;
 --mx-glow-a: transparent;
 --mx-glow-b: transparent;
 --mx-glow-c: transparent;
 --mx-shadow: 0 1px 2px rgba(0,0,0,.22);
 --mx-shadow-md: 0 6px 16px rgba(0,0,0,.28);
 --mx-shadow-lg: 0 12px 32px rgba(0,0,0,.38);
 --mx-bevel: none;
 --mx-scrim: rgba(0,0,0,0.45);
 --mx-chip-gray: #2d2f37;
 --mx-chip-gray-ink: rgba(255,255,255,0.65);
 --mx-chip-accent: #15325b;
 --mx-chip-accent-ink: #65a9f3;
 --mx-ok: #237804;
 --mx-ok-lo: #162312;
 --mx-ok-ink: #6abe39;
 --mx-chip-ok: #162312;
 --mx-chip-ok-ink: #6abe39;
 --mx-warn: #ad6800;
 --mx-warn-lo: #2b2111;
 --mx-warn-ink: #e8b339;
 --mx-chip-warn: #2b2111;
 --mx-chip-warn-ink: #e8b339;
 --mx-bad: #cf1322;
 --mx-bad-lo: #2c1618;
 --mx-bad-ink: #f37370;
 --mx-chip-bad: #2c1618;
 --mx-chip-bad-ink: #f37370;
 --mx-info: #1668dc;
 --mx-info-lo: #111a2c;
 --mx-info-ink: #65a9f3;
 --mx-chip-blue: #15325b;
 --mx-chip-blue-ink: #65a9f3;
 --mx-chip-plum: #1a1325;
 --mx-chip-plum-ink: #ab7ae0;
 --mx-chip-rose: #291321;
 --mx-chip-rose-ink: #f37fb7;
 --mx-chart-1: #3c89e8;
 --mx-chart-2: #ab7ae0;
 --mx-chart-3: #e8b339;
 --mx-chart-4: #6abe39;
 --mx-chart-5: #f37370;
 --mx-chart-6: #f37fb7;
 --mx-chart-bad: #f37370;
 --mx-radius-lg: 14px;
 --mx-glass-gutter: clamp(12px,1.8vw,28px);
 --mx-header-h: 58px;
 --mx-row: 44px;
 --mx-row-dense: 38px;
 --mx-fs-title: clamp(22px,2vw,28px);
}
body.mx-glass { font-family: var(--mx-font); font-size: 15px; line-height: var(--mx-lh-body); font-synthesis-weight: none; }
/* A translated field or isolated mixed-language fragment must not reintroduce
   theme.css's older direction-specific Vazirmatn stack. Direction changes the
   reading order while the family and rhythm remain shared. */
body.mx-glass [dir] { --mx-font: "Yekan Bakh", Tahoma, sans-serif; --mx-lh-body: 1.65; --mx-track-tight: 0; }
body.mx-glass :is(button,input,select,textarea) { font-family: var(--mx-font); }
body.mx-glass :is(code,pre,kbd,textarea[data-cfg-json],.font-mono,.mx-input.is-mono,.mx-td.is-mono,.mx-monoval > span,.mx-detail .mx-dv.is-mono > span) { font-family: var(--mx-mono); }
body.mx-glass :is(h1,h2,h3,.mx-stat-val,.mx-leadfigs b) { font-weight: 700; }
/* The earlier shell zeroed tracking only in RTL. Yekan Bakh's Latin glyphs
   need the same natural spacing; the Inter-specific negative title/number
   tracking is unsuitable for this shared font. Icons keep their own faces. */
body.mx-glass :is(.mx-brand-name,.mx-header-title h1,.mx-card-title,.mx-stat-val,
 .mx-nav-heading,.mx-th,.mx-table thead th,.mx-dialog-head h2,.mx-palette-in input,
 .mx-shortcuts-h,.mx-palette-head,.hl-workspace .hl-title,.ds-workspace .ds-title,
 .mx-fb-word,.mx-label,.mx-btn,.mx-leadfigs b,.mx-figures b,
 .tracking-wide,.tracking-wider,.tracking-tight) { letter-spacing: 0 !important; }
body.mx-glass :is(.mx-card,.mx-stat,.mx-tablewrap,.mx-fleetband,.mx-exceptions,.mx-figures) { border-color: var(--mx-border); }
body.mx-glass .mx-card { padding: 18px; }
body.mx-glass .mx-card-title { padding-block-end: 10px; margin-block-end: 14px; }
body.mx-glass .mx-header { padding-block: 18px 12px; min-height: 70px; }
body.mx-glass .mx-leadfigs > li > a { padding: 16px 18px; gap: 6px; }
body.mx-glass .mx-leadfigs > li > a > b { font-size: 36px; }
body.mx-glass .mx-stat { padding: 14px 16px; gap: 12px; }
body.mx-glass .mx-stat-val { font-size: 28px; line-height: 1.35; }
body.mx-glass .mx-stat-name { font-size: 14px; line-height: 1.65; }
body.mx-glass .mx-stat-ico { background: var(--mx-raised); }
body.mx-glass a.mx-stat { text-decoration: none; }
body.mx-glass a.mx-stat:hover { background: var(--mx-hover-soft); border-color: var(--mx-accent); }
body.mx-glass :is(.mx-state,.mx-badge) { white-space: nowrap; word-break: normal; overflow-wrap: normal; line-height: 1.6; }
:root.mx-ui body.mx-glass :is(.mx-input,.mx-select,.mx-textarea,select,textarea,input[type="text"],input[type="search"],input[type="password"],input[type="email"],input[type="number"],input[type="url"],input[type="date"],input[type="datetime-local"],input[type="time"]):enabled { background: var(--mx-surface-hi) !important; border-color: var(--mx-border-firm); }
body.mx-glass .mx-field-head { margin-block-end: 5px; }
body.mx-glass :is(.mx-label,.mx-field-head) { font-size: 14px; }
body.mx-glass .mx-content :is(.mx-hint,.mx-help,.mx-field-help) { font-size: 13px; line-height: 1.65; }
body.mx-glass form[data-dirty-guard] { row-gap: 16px; }
body.mx-glass form[data-dirty-guard] :is(.space-y-8,.space-y-6,.space-y-4) > :not([hidden]) ~ :not([hidden]) { margin-block-start: 14px; }
body.mx-glass form[data-dirty-guard] :is(.gap-4,.gap-6,.gap-8) { gap: 14px 18px; }
body.mx-glass form[data-dirty-guard] :is(.pt-6,.py-6,.pt-8) { padding-block-start: 16px; }
body.mx-glass form[data-dirty-guard] .mx-field { min-width: 0; }
body.mx-glass :is(.mx-bar.is-link) { text-decoration: none; color: inherit; border-radius: 8px; padding: 5px; }
body.mx-glass :is(.mx-bar.is-link):hover { background: var(--mx-hover); }
/* Linked charts keep the same row grid as static charts; generic link targets
   must not collapse their proportional tracks into inline flex items. */
body.mx-glass .mx-bar.is-link { display: grid !important; min-width: 0; }
body.mx-glass .mx-bar-track { min-width: 0; }
body.mx-glass .mx-drill-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 14px; background: var(--mx-accent-lo); border: 1px solid var(--mx-border); border-radius: 10px; margin-block: 12px; }
body.mx-glass .mx-drill-filter a { text-decoration: underline; }
@media (max-width:639px) {
 body.mx-glass .mx-card { padding: 14px; }
 body.mx-glass .mx-stat { padding: 12px; gap: 8px; }
 body.mx-glass .mx-header { padding-block: 12px; }
 body.mx-glass :is(input,select,textarea) { font-size: 16px; }
 body.mx-glass .mx-stat-val { font-size: 25px; }
 body.mx-glass .mx-leadfigs > li > a { padding: 12px 10px; }
 body.mx-glass .mx-leadfigs > li > a > b { font-size: 29px; }
 body.mx-glass form[data-dirty-guard] :is(.gap-4,.gap-6,.gap-8) { gap: 12px; }
}
@media (pointer:coarse) { body.mx-glass :is(.mx-btn,.mx-input,.mx-select,.mx-iconbtn,.mx-chip) { min-height: 44px; } }
@media (forced-colors:active) { body.mx-glass :is(.mx-stat,.mx-card,.mx-tablewrap) { border: 1px solid CanvasText; } }

/* A linked traffic summary keeps its own full-width layout and inline sentence. */
body.mx-glass .mx-figures > li.mx-fig-meter > a { display:block !important; width:100%; padding:0 !important; min-height:0 !important; }
body.mx-glass .mx-fig-meter .mx-hint > a { display:inline !important; padding:0 !important; min-height:0 !important; line-height:inherit; text-underline-offset:3px; }

/* Control and navigation colors use the same roles as 3x-ui v3.9.0.
   Text uses readable steps from its blue/status ramps; the dark filled-button
   hover uses the reference active blue so white labels retain contrast. */
body.mx-glass :is(.mx-glass-topbar,.mx-glass-bottomnav) { background: var(--mx-nav) !important; box-shadow: none; }
body.mx-glass .mx-glass-tools { background: transparent !important; }
body.mx-glass .mx-plat { background: var(--mx-raised); color: var(--mx-text-2); }
body.mx-glass .mx-sub-dialog::backdrop { background: var(--mx-scrim); }
body.mx-glass .ds-workspace .ds-section-head code { background: var(--mx-raised); color: var(--mx-text-2); }
body.mx-glass pre.bg-slate-900 { color: var(--mx-on-accent) !important; }
::selection { background: var(--mx-accent); color: var(--mx-on-accent); }
:root.mx-ui body.mx-glass :is(.mx-input,.mx-select,.mx-textarea,select,textarea,input[type="text"],input[type="search"],input[type="password"],input[type="email"],input[type="number"],input[type="url"],input[type="date"],input[type="datetime-local"],input[type="time"]):focus:not(.is-invalid):not([aria-invalid="true"]) { border-color: var(--mx-focus-border) !important; }
:root.mx-ui body.mx-glass :is(input,textarea)::placeholder { color: var(--mx-placeholder) !important; opacity: 1; }
body.mx-glass :is(.mx-glass-nav-link,.mx-glass-nav-child,.mx-glass-bottomlink) { color: var(--mx-text-2); }
body.mx-glass .mx-glass-nav-ico { background: transparent !important; color: inherit !important; }
body.mx-glass :is(.mx-glass-nav-ico > span,.mx-glass-bottomlink > [class*="icon-"]) { color: inherit !important; }
body.mx-glass :is(.mx-glass-nav-link,.mx-glass-nav-child,.mx-glass-bottomlink):hover { background: var(--mx-nav-hover); color: var(--mx-accent-ink); }
body.mx-glass :is(.mx-glass-nav-link,.mx-glass-nav-child,.mx-glass-bottomlink):is(.is-active,[aria-current="page"]) { background: var(--mx-active) !important; color: var(--mx-accent-ink) !important; }
body.mx-glass :is(.mx-btn-primary,.mx-btn-cta,.mx-btn.bg-blue-600,.mx-btn.bg-indigo-600,.mx-glass-login button[type="submit"]) { background-image: none !important; box-shadow: 0 2px 0 rgba(0,0,0,.04); }
/* Layered important rules override old high-specificity color-mix hover rules. */
@layer mx-palette-states {
 :root.mx-ui body.mx-glass :is(input,select,textarea):is(.is-invalid,[aria-invalid="true"]) { border-color: var(--c-red-fg) !important; }
 :root.mx-ui body.mx-glass :is(input,select,textarea):is(.is-invalid,[aria-invalid="true"]):focus { outline-color: var(--c-red-fg) !important; }
 :root.mx-ui body.mx-glass :is(.mx-btn,.mx-btn-primary,.mx-btn-cta):is(:hover,:active) { filter: none !important; }
 :root.mx-ui body.mx-glass :is(.mx-btn-primary,.mx-btn-cta,.mx-btn.bg-blue-600,.mx-btn.bg-indigo-600,.mx-glass-login button[type="submit"]):hover { background-color: var(--mx-accent-hi) !important; background-image: none !important; }
 :root.mx-ui body.mx-glass :is(.mx-btn-primary,.mx-btn-cta,.mx-btn.bg-blue-600,.mx-btn.bg-indigo-600,.mx-glass-login button[type="submit"]):active { background-color: var(--mx-accent-press) !important; background-image: none !important; }
 :root.mx-ui body.mx-glass :is(.bg-lime-500,.bg-emerald-500,.bg-emerald-600) { background-color: var(--mx-ok) !important; color: var(--mx-on-accent) !important; }
 :root.mx-ui body.mx-glass :is(.bg-lime-500,.bg-emerald-500,.bg-emerald-600) * { color: var(--mx-on-accent) !important; }
 :root.mx-ui body.mx-glass .mx-btn:is(.bg-lime-500,.bg-emerald-500,.bg-emerald-600):is(:hover,:active) { background-color: #135200 !important; background-image: none !important; }
 :root.mx-ui body.mx-glass .mx-btn:is(.bg-red-500,.bg-red-600,.bg-rose-500,.bg-rose-600):is(:hover,:active) { background-color: #a8071a !important; background-image: none !important; }
 :root.mx-ui body.mx-glass .mx-btn:is(.bg-amber-500,.bg-amber-600):is(:hover,:active) { background-color: #874d00 !important; background-image: none !important; }
}
:root.mx-ui {
 --c-indigo: #0958d9; --c-indigo-fg: #0958d9;
 --c-blue: #0958d9; --c-blue-fg: #0958d9;
 --c-teal: #006d75; --c-teal-fg: #006d75;
 --c-green: #237804; --c-green-fg: #237804;
 --c-amber: #ad6800; --c-amber-fg: #874d00;
 --c-red: #cf1322; --c-red-fg: #cf1322;
 --c-plum: #531dab; --c-plum-fg: #531dab;
 --c-pink: #c41d7f; --c-pink-fg: #c41d7f;
 --c-gray: #1f1f1f; --c-gray-fg: rgba(0,0,0,0.65);
}
:root.mx-ui[data-theme="dark"] {
 --c-indigo: #0958d9; --c-indigo-fg: #65a9f3;
 --c-blue: #0958d9; --c-blue-fg: #65a9f3;
 --c-teal: #006d75; --c-teal-fg: #58d1c9;
 --c-green: #237804; --c-green-fg: #6abe39;
 --c-amber: #ad6800; --c-amber-fg: #e8b339;
 --c-red: #cf1322; --c-red-fg: #f37370;
 --c-plum: #531dab; --c-plum-fg: #ab7ae0;
 --c-pink: #c41d7f; --c-pink-fg: #f37fb7;
 --c-gray: #1f1f1f; --c-gray-fg: rgba(255,255,255,0.65);
}

/* Navigation: a group names its children; only the current destination is filled. */
body.mx-glass :is(.mx-glass-nav-link,.mx-glass-nav-label) {
 font-size: 14.5px; line-height: 1.7;
}
body.mx-glass .mx-glass-nav-label,
body.mx-glass .mx-glass-nav-label.is-active {
 min-height: 40px; padding: 7px 10px 5px;
 background: transparent !important; color: var(--mx-text) !important;
 border-radius: 0; font-weight: 500;
}
body.mx-glass .mx-glass-nav-children {
 display: flex; flex-direction: column; flex-wrap: nowrap; gap: 3px;
 margin-block: 2px 7px; padding: 0; padding-inline-start: 40px;
}
body.mx-glass .mx-glass-nav-child {
 width: 100%; min-width: 0; min-height: 38px; padding: 6px 11px;
 border-inline-start: 2px solid transparent; border-radius: 8px;
 font-size: 14px; font-weight: 400; line-height: 1.65;
}
body.mx-glass .mx-glass-nav-child:is(.is-active,[aria-current="page"]) {
 border-inline-start-color: var(--mx-accent-ink); font-weight: 700;
}
body.mx-glass .mx-glass-nav-link { border-radius: 8px; }
body.mx-glass :is(.mx-glass-nav-trigger,.mx-glass-mobile-group > h2) {
 font-size: 12.5px; font-weight: 700; line-height: 1.6; letter-spacing: 0;
}
body.mx-glass .mx-glass-bottomlink { font-size: 12px; line-height: 1.5; }
@media(max-width:1023px) {
 body.mx-glass .mx-glass-mobile-panel .mx-glass-nav-child { min-height: 44px; }
 body.mx-glass .mx-glass-nav-children { padding-inline-start: 36px; }
}

/* Readable operational text, with separate sizes for values and supporting detail. */
:root.mx-ui, :root.mx-ui[data-theme="dark"] {
 --mx-glass-input-fs: 15px;
 --mx-fs-title: clamp(24px,2vw,30px);
 --mx-fs-section: 17px;
}
body.mx-glass .mx-header-title h1 { font-weight: 700; line-height: 1.5; }
body.mx-glass .mx-card-title { font-size: 17px; line-height: 1.65; }
body.mx-glass :is(.mx-label,.mx-field-head,.mx-toggle-label) { font-size: 15px; font-weight: 500; line-height: 1.65; }
body.mx-glass .mx-content :is(.mx-hint,.mx-help,.mx-field-help,.mx-field-error,.mx-stat-sub) { font-size: 13.5px; line-height: 1.75; }
body.mx-glass .mx-btn { font-size: 14px; }
body.mx-glass .mx-btn-sm { font-size: 13px; }
body.mx-glass .mx-table > tbody > tr > td { font-size: 14px !important; line-height: 1.7; }
:root.mx-ui body.mx-glass .mx-content .mx-table > thead > tr > th { font-size: 13px !important; font-weight: 700 !important; line-height: 1.65; }
body.mx-glass .mx-list.is-cards .mx-table > tbody > tr > td::before { font-size: 13px; font-weight: 500; line-height: 1.65; }
body.mx-glass .mx-sub-usage { font-size: 13px; line-height: 1.7; }
body.mx-glass .mx-sub-lifetime { font-size: 12px; line-height: 1.7; }
body.mx-glass :is(.mx-sub-preview-fields dt,.mx-sub-dialog-header p) { font-size: 12.5px; }
body.mx-glass .mx-sub-preview-fields dd { font-size: 14px; line-height: 1.7; }
body.mx-glass :is(.mx-page-guide-body,.mx-prose) { font-size: 15px; line-height: 1.85; }
body.mx-glass .hl-workspace :is(p,li) { font-size: 15px; line-height: 1.85; }
body.mx-glass .hl-workspace .hl-lede { font-size: clamp(16px,1.2vw,18px); }
/* The operator's large-text setting remains a step above the standard scale. */
:root.mx-ui[data-text="lg"] { --mx-fs-title: clamp(26px,2.2vw,34px); --mx-glass-input-fs: 16px; }
@media(max-width:1023px) {
 :root.mx-ui, :root.mx-ui[data-theme="dark"] { --mx-glass-input-fs: 16px; }
}
html[data-text="lg"] body.mx-glass :is(.mx-glass-nav-link,.mx-glass-nav-label,.mx-glass-nav-child) { font-size: 16px; }
html[data-text="lg"] body.mx-glass :is(.mx-glass-nav-trigger,.mx-glass-mobile-group > h2) { font-size: 14px; }
html[data-text="lg"] body.mx-glass .mx-content :is(.mx-hint,.mx-help,.mx-field-help,.mx-sub-usage) { font-size: 14px; }
html[data-text="lg"] body.mx-glass .mx-sub-lifetime { font-size: 13px; }
html.mx-ui[data-text="lg"] body.mx-glass .mx-content .mx-table > thead > tr > th { font-size: 14px !important; }
html[data-text="lg"] body.mx-glass .mx-table > tbody > tr > td { font-size: 15px !important; }
