/* generated by build_auth.py: tokens.css, fonts.css, then auth.css */
/* Muwasafa design tokens. Values are the owner's approved master files
   (Dashboard v2 and v4, FROM_CLAUDE_DESIGN/master_files_final_2026-10-03),
   lifted out of their inline styles, 2026-10-03 (ITEM 89, phase 1). The names
   are Design System v1.0.0's; a value the master files changed is changed
   here, and a value they added has a new name. */

:root {
  /* Brand */
  --mw-color-brand-950: #071D20;
  --mw-color-brand-900: #0D393F;
  --mw-color-brand-700: #0A6874;
  --mw-color-lime-100: #F4FCD9;
  --mw-color-lime-500: #D6F670;
  --mw-color-action-primary: #D6F670;
  --mw-color-active-soft: #EAFFB8;
  --mw-color-mint-500: #3EDBAE;
  --mw-color-lime-600: #C6EB4F;
  --mw-color-tint-soft: #F1F8F7;
  --mw-color-tint-sky: #E3F1F0;
  --mw-color-amber-bg: #FFF4DB;
  --mw-color-amber-text: #8A5300;
  --mw-color-amber-line: #F2CF85;
  --mw-color-success-600: #0B7556;
  --mw-color-on-dark-soft: #C9DADA;
  --mw-color-on-dark-muted: #A9C2C3;
  --mw-color-on-dark-faint: #7E9A9C;
  --mw-color-on-dark-hover: rgba(255, 255, 255, 0.07);
  --mw-color-on-dark-active: rgba(255, 255, 255, 0.09);
  --mw-color-on-dark-line: rgba(255, 255, 255, 0.12);
  --mw-color-lime-line: rgba(214, 246, 112, 0.45);
  --mw-color-lime-wash: rgba(214, 246, 112, 0.08);
  --mw-color-lime-ring: rgba(214, 246, 112, 0.22);
  --mw-color-error-line-on-dark: rgba(253, 162, 155, 0.4);
  --mw-color-error-wash-on-dark: rgba(253, 162, 155, 0.08);
  --mw-series-1: #0D393F;
  --mw-series-2: #0A6874;
  --mw-series-3: #3EDBAE;
  --mw-series-4: #AFD63A;
  --mw-series-5: #7FB8BD;

  /* Surfaces */
  --mw-color-surface-page: #F4F6F4;
  --mw-color-surface-card: #FFFFFF;
  --mw-color-surface-subtle: #EEF2F0;

  /* Text */
  --mw-color-text-primary: #071D20;
  --mw-color-text-secondary: #4F6164;
  --mw-color-text-muted: #677679;

  /* Borders */
  --mw-color-border-default: #DCE3E0;
  --mw-color-border-strong: #C3CFCB;
  --mw-color-border-subtle: #EEF2F0;

  /* Semantic */
  --mw-color-error-600: #B42318;
  --mw-color-error-50: #FEF3F2;
  --mw-color-error-border: #FDA29B;

  /* Typography */
  --mw-font-family: "Qatar", sans-serif;
  --mw-font-weight-regular: 400;
  --mw-font-weight-medium: 500;
  --mw-font-family-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --mw-font-size-micro: 11px;
  --mw-font-size-meta: 12px;
  --mw-font-size-label: 13px;
  --mw-font-size-ui: 14px;
  --mw-font-size-body: 15px;
  --mw-font-size-body-lg: 16px;
  --mw-font-size-card-title: 17px;
  --mw-font-size-section-title: 20px;
  --mw-font-size-page-title: 24px;
  --mw-font-size-display: 34px;

  --mw-line-meta: 1.5;
  --mw-line-ui: 1.55;
  --mw-line-body: 1.7;
  --mw-line-title: 1.4;
  --mw-line-display: 1.25;

  /* Spacing */
  --mw-space-1: 4px;
  --mw-space-2: 8px;
  --mw-space-3: 12px;
  --mw-space-6px: 6px;
  --mw-space-10px: 10px;
  --mw-space-14px: 14px;
  --mw-space-18px: 18px;
  --mw-space-22px: 22px;
  --mw-space-26px: 26px;
  --mw-space-28px: 28px;
  --mw-space-36px: 36px;
  --mw-space-4: 16px;
  --mw-space-5: 20px;
  --mw-space-6: 24px;
  --mw-space-8: 32px;
  --mw-space-10: 40px;
  --mw-space-12: 48px;
  --mw-space-16: 64px;

  /* Radius */
  --mw-radius-xs: 6px;
  --mw-radius-sm: 8px;
  --mw-radius-md: 10px;
  --mw-radius-lg: 14px;
  --mw-radius-xl: 16px;
  --mw-radius-12: 12px;
  --mw-radius-2xl: 20px;
  --mw-radius-3xl: 24px;
  --mw-radius-pill: 999px;

  /* Shadow */
  --mw-shadow-sm: 0 2px 8px rgba(7, 29, 32, 0.035);
  --mw-shadow-md: 0 4px 12px rgba(7, 29, 32, 0.055);

  /* Layout */
  --mw-sidebar-width: 264px;
  --mw-header-height: 72px;
  --mw-header-height-compact: 64px;
  --mw-page-padding-desktop: 32px;
  --mw-page-max-width: 1240px;
  --mw-page-padding-tablet: 20px;
  --mw-page-padding-mobile: 16px;
  --mw-grid-gap: 20px;
  --mw-section-gap: 28px;
  --mw-task-max-width: 960px;
  --mw-evidence-width: 460px;
  --mw-dialog-width: 460px;

  /* Controls */
  --mw-control-height: 44px;
  --mw-control-radius: 12px;
  --mw-touch-target-min: 44px;

  /* Icons */
  --mw-icon-inline: 16px;
  --mw-icon-button: 18px;
  --mw-icon-ui: 20px;
  --mw-icon-nav: 22px;
  --mw-icon-feature: 24px;

  /* Component sizes */
  --mw-table-header-height: 48px;
  --mw-table-row-height: 60px;
  --mw-service-card-min-height: 236px;
  --mw-service-card-feature-min-height: 250px;
  --mw-upload-min-height: 180px;

  /* Motion */
  --mw-motion-fast: 160ms;
  --mw-motion-easing: ease-out;

  /* Z-index */
  --mw-z-base: 0;
  --mw-z-sticky: 100;
  --mw-z-dropdown: 200;
  --mw-z-drawer: 300;
  --mw-z-dialog: 400;
  --mw-z-toast: 500;
}

/*
Font-face implementation contract:
- Qatar2022Arabic-Book.ttf   => 400
- Qatar2022Arabic-Medium.ttf => 500
Reference project-local font asset paths when integrating into V2.
Do not bundle/share the font files outside the project.
*/

.mw-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.mw-focus-ring:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 104, 116, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Phase 1 compatibility: existing V2 selectors keep their old variable names
   until their components migrate. Values resolve only to approved MW tokens. */
:root {
  --c-text: var(--mw-color-text-primary);
  --c-text-2: var(--mw-color-text-secondary);
  --c-canvas: var(--mw-color-surface-page);
  --c-surface: var(--mw-color-surface-card);
  --c-panel: var(--mw-color-border-default);
  --c-select: var(--mw-color-tint-soft);
  --c-primary: var(--mw-color-brand-700);
  --c-on-primary: var(--mw-color-surface-card);
  --c-focus: var(--mw-color-brand-700);
  --c-location: var(--mw-color-brand-700);
  --c-location-text: var(--mw-color-brand-700);
  --c-here: var(--mw-color-active-soft);
  --c-rule: var(--mw-color-border-default);
  --c-select-line: var(--mw-color-brand-700);
  --sel-line: inset 0 0 0 1px var(--c-select-line);
  /* the design system has no card shadow (DS:470): cards and rows are flat; only dialogs, drawers and toasts float */
  --shadow-1: none;

  --font: var(--mw-font-family);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --w-book: var(--mw-font-weight-regular);
  --w-bold: var(--mw-font-weight-medium);
  --fs-1: var(--mw-font-size-page-title);
  --fs-2: var(--mw-font-size-section-title);
  --fs-3: var(--mw-font-size-body);
  --fs-4: var(--mw-font-size-ui);
  --fs-5: var(--mw-font-size-meta);
  --lh-body: var(--mw-line-body);
  --lh-head: var(--mw-line-title);
  --lh-ui: var(--mw-line-ui);

  --s-1: var(--mw-space-1);
  --s-2: var(--mw-space-2);
  --s-3: var(--mw-space-3);
  --s-4: var(--mw-space-4);
  --s-5: var(--mw-space-6);
  --s-6: var(--mw-space-8);
  --s-7: var(--mw-space-12);
  --r-1: var(--mw-radius-xs);
  --r-2: var(--mw-radius-md);

  /* Existing shell dimensions stay fixed until the approved Phase 2 layout. */
  --measure: 72ch;
  --page: var(--mw-page-max-width);
}

/* Design System v4 values that the approved export block above does not name, and its font fallback chain (DS:28).
   They are listed here, after the approved block, so that block stays byte-for-byte the approved export. */
:root {
  --mw-font-family: "Qatar", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mw-color-lime-700: #AFD63A;
  --mw-color-teal-800: #0F4A51;
  --mw-color-teal-600: #12808C;
  --mw-color-amber-ink: #5C3A00;
  --mw-color-tint-line: #A8D3D6;
  --mw-color-text-pane: #2E3F42;
  --mw-color-success-wash: #E2F7EF;
  --mw-color-success-line: #A9E3CC;
  --mw-color-error-700: #7A1A12;
  --mw-shadow-toast: 0 12px 28px -8px rgba(7, 29, 32, 0.18);
  --mw-shadow-overlay: 0 24px 48px -12px rgba(7, 29, 32, 0.28);
  /* the sign-in pages' illustration (Public & Auth master): its drawn sizes */
  --mw-art-ring-lg: 640px;
  --mw-art-ring-md: 460px;
  --mw-art-ring-sm: 280px;
  --mw-art-cards-w: 320px;
  --mw-art-cards-h: 300px;
  --mw-art-card-w: 210px;
  --mw-art-card-h: 250px;
  --mw-art-list-w: 150px;
  --mw-art-pin: 62px;
  --mw-art-pin-inset: 30px;
  --mw-art-dot: 5px;
  --mw-art-stroke: 1.6px;
  --mw-art-radius-head: 4px;
  --mw-art-radius-line: 3px;
  --mw-auth-logo-height: 42px;
  --mw-auth-scan-start: 45px;
  --mw-auth-scan-top: 72px;
  --mw-auth-scan-height: 50px;
  --mw-auth-scan-end: 82px;
  --mw-auth-panel-deep: #0A2F34;
  --mw-auth-panel-bar: rgba(255, 255, 255, 0.25);
  --mw-auth-ring-1: rgba(214, 246, 112, 0.10);
  --mw-auth-ring-2: rgba(214, 246, 112, 0.16);
  --mw-auth-ring-3: rgba(214, 246, 112, 0.24);
  --mw-auth-focus: rgba(10, 104, 116, 0.15);
  --mw-auth-scan-clear: rgba(62, 219, 174, 0);
  --mw-auth-scan-wash: rgba(62, 219, 174, 0.30);
  --mw-shadow-auth-focus: 0 0 0 3px var(--mw-auth-focus);
  --mw-shadow-auth-focus-contrast: 0 0 0 2px var(--mw-color-surface-card), 0 0 0 4px var(--mw-color-brand-700);
}

/* The company sign-in page's two font faces, served from its own manifest. (The trial pages get the same faces as
   data URLs from the server, so this file is not part of their sheet.) */
@font-face {
  font-family: "Qatar";
  font-weight: 400;
  font-display: swap;
  src: url("/auth/assets/fonts/Qatar2022Arabic-Book.ttf") format("truetype");
}

@font-face {
  font-family: "Qatar";
  font-weight: 500;
  font-display: swap;
  src: url("/auth/assets/fonts/Qatar2022Arabic-Medium.ttf") format("truetype");
}

/* The Public & Auth pages (C-00..C-04, C-20..C-23, C-41), written against the values Muwasafa Public & Auth (v17)
   renders -- its computed styles at 1440 and 375, Arabic and English -- not copied from the design's own style layers.
   One sheet for the company sign-in page and the four trial pages (build_auth.py and build_trial_pages.py both read
   this file). Every colour is a token declared once in the :root block below; the rules use only those tokens. Only
   logical properties are used, so the page mirrors with its dir attribute. */

:root {
  --mw-color-auth-ink: #081D20;
  --mw-color-auth-dark: #11393F;
  --mw-color-auth-deep: #264B50;
  --mw-color-auth-teal: #0A6874;
  --mw-color-auth-lime: #D5F677;
  --mw-color-auth-mint: #3EDBAE;
  --mw-color-auth-white: #FFFFFF;
  --mw-color-auth-muted: #506164;
  --mw-color-auth-subtle: #677679;
  --mw-color-auth-line: #DCE3E0;
  --mw-color-auth-wash: #F4F6F4;
  --mw-color-auth-help: #F4F7EF;
  --mw-color-auth-symbol: #EFF5E8;
  --mw-color-auth-error-ink: #99500F;
  --mw-color-auth-error-wash: #FFF7EB;
  --mw-color-auth-error-line: #E8C99F;
  --mw-color-auth-invalid-line: #B45309;
  --mw-color-auth-invalid-wash: #FFFCF7;
  --mw-color-auth-shadow: rgba(7, 29, 32, 0.06);
  --mw-color-auth-tag-wash: rgba(38, 75, 80, 0.5);
  --mw-color-auth-tag-line: rgba(213, 246, 119, 0.17);
  --mw-color-auth-rule-dark: rgba(213, 246, 119, 0.1);
  --mw-color-auth-ring-line: rgba(213, 246, 119, 0.043);
  --mw-color-auth-ring-wash: rgba(213, 246, 119, 0.016);
  --mw-color-auth-motion-wash: rgba(255, 255, 255, 0.024);
  --mw-color-auth-motion-line: rgba(213, 246, 119, 0.16);
  --mw-color-auth-art-soft: #EEF2EF;
  --mw-color-auth-art-muted: #B9CECC;
  --mw-color-auth-skip: #0D393F;
  --mw-color-auth-disabled: #4F6164;
  --mw-auth-play-state: running;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-ink); font-family: Qatar, Arial, sans-serif; font-size: 13px; line-height: 1.8; }

.mw-skip { position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 999999; padding: 10px 16px; border-radius: 10px; background: var(--mw-color-auth-skip); color: var(--mw-color-auth-white); font-size: 14px; line-height: 1.8; text-decoration: underline; }
.mw-skip:focus-visible { inset-block-start: 12px; outline: 2px solid var(--mw-color-auth-teal); outline-offset: 3px; }

.au-app { display: flow-root; text-align: right; font: 400 14px/1.65 Qatar; font-synthesis: none; color: var(--mw-color-auth-ink); min-height: 0; }
.au-app *, .au-app *::before, .au-app *::after { box-sizing: border-box; }
.au-app button, .au-app input, .au-app select, .au-app textarea { font-family: Qatar; }
:where(.au-app button) { font-size: 14px; line-height: normal; }
.au-app button, .au-app a { touch-action: manipulation; text-decoration: none; }
.au-app button { cursor: pointer; }
.au-app button:disabled { cursor: not-allowed; opacity: .55; }
.au-app p, .au-app h1, .au-app h2 { margin: 0; }
.au-app h1 { font-size: 24px; font-weight: 500; letter-spacing: -.2px; line-height: 1.4; }
.au-app h2 { font-size: 19px; font-weight: 500; line-height: 1.4; }
.au-app svg { display: block; flex-shrink: 0; }
.au-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.au-app a:focus-visible, .au-app button:focus-visible { outline: 2px solid var(--mw-color-auth-teal); outline-offset: 3px; }
.au-app .au-eye:focus-visible { outline: 3px none; outline-offset: 3px; }
.au-app .au-account-switch button:focus-visible { box-shadow: none; }
.au-app .au-main:focus, .au-app .au-main:focus-visible { outline-style: none; box-shadow: none; }
.au-app h1[tabindex="-1"]:focus, .au-app h1[tabindex="-1"]:focus-visible { outline: 0; box-shadow: none; }

/* shell: the form on one side, the dark art panel on the other */
.au-shell { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); min-height: calc(100dvh - 32px); max-width: 1600px; margin: 16px auto; gap: 16px; padding-inline: 16px; align-items: stretch; }
.au-form-side { display: flex; flex-direction: column; min-width: 0; padding: 18px clamp(30px, 3.8vw, 62px) 14px; background: var(--mw-color-auth-white); border-radius: 26px; }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.au-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.au-logo img { width: 126px; height: 44px; object-fit: contain; }
.au-top-actions { display: flex; align-items: center; gap: 8px; direction: ltr; }
.au-language { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-deep); font-size: 13px; font-weight: 500; line-height: 1.5; direction: rtl; }
.au-back { display: grid; place-items: center; flex-shrink: 0; min-width: 31px; height: 31px; padding: 6px; border: 1px solid var(--mw-color-auth-line); border-radius: 9px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-muted); }
.au-back .au-icon { width: 17px; height: 17px; }
.au-main { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; padding: 28px 0; }
.au-content { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
.au-content.au-dense { max-width: 440px; gap: 20px; }
.au-login-content { min-height: 472px; }
.au-intro { display: flex; flex-direction: column; gap: 10px; margin-block-end: 22px; }
.au-login-content .au-intro { min-height: 100px; }
.au-intro.is-empty > * { display: none; }
.au-intro p { font-size: 14px; line-height: 1.75; color: var(--mw-color-auth-muted); max-width: 430px; }

/* account switch (company / trial) */
.au-account-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--mw-color-auth-wash); border: 1px solid var(--mw-color-auth-line); border-radius: 12px; }
.au-account-switch a, .au-account-switch button { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 35px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--mw-color-auth-muted); font-size: 13px; line-height: 1.5; }
.au-account-switch [aria-current="page"] { background: var(--mw-color-auth-white); color: var(--mw-color-auth-dark); box-shadow: 0 1px 4px var(--mw-color-auth-shadow); }
.au-account-switch .au-icon { width: 15px; height: 15px; }

/* a page group that adds no box of its own */
.au-stage { display: contents; }

/* form */
.au-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.au-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: start; }
.au-field { min-width: 0; grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.au-field.is-half { grid-column: auto; }
.au-label-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 20px; }
.au-label-row label { font-size: 13px; font-weight: 500; color: var(--mw-color-auth-dark); line-height: 1.5; }
.au-label-row small { font-size: 10px; color: var(--mw-color-auth-subtle); font-weight: 400; line-height: 1.5; }
.au-inline-action { display: inline-flex; align-items: center; gap: 5px; min-height: 25px; padding: 3px 7px; border: 0; border-radius: 6px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-teal); font-size: 11.5px; line-height: 1.5; white-space: nowrap; }
.au-inline-action .au-icon { width: 12px; height: 12px; }
.au-control { position: relative; display: flex; align-items: center; gap: 0; min-width: 0; min-height: 46px; padding: 0 12px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-subtle); }
.au-control:focus-within { border: 2px solid var(--mw-color-auth-teal); padding-inline: 11px; background: var(--mw-color-auth-wash); }
.au-control.is-invalid { border-color: var(--mw-color-auth-invalid-line); background: var(--mw-color-auth-invalid-wash); }
.au-control.is-invalid:focus-within { border-color: var(--mw-color-auth-invalid-line); }
.au-control.is-readonly { background: var(--mw-color-auth-wash); color: var(--mw-color-auth-subtle); }
.au-control .au-field-icon { width: 17px; height: 17px; pointer-events: none; }
.au-control input, .au-control select, .au-control textarea { flex: 1; width: 100%; min-width: 0; min-height: 0; max-width: 100%; height: 44px; margin: 0; padding: 8px 0; padding-inline-start: 12px; border: 0; border-radius: 0; outline: 3px none; outline-offset: 3px; box-shadow: none; background: transparent; color: var(--mw-color-auth-dark); font-size: 14px; font-weight: 400; font-style: normal; line-height: 1.65; }
.au-control input:-webkit-autofill,
.au-control input:-webkit-autofill:hover,
.au-control input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--mw-color-auth-white) inset;
  -webkit-text-fill-color: var(--mw-color-auth-dark);
  caret-color: var(--mw-color-auth-dark);
  transition: background-color 600000s 0s;
}
.au-control:has(input:-webkit-autofill) { background: var(--mw-color-auth-white); }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--mw-color-auth-white) inset !important;
  box-shadow: 0 0 0 1000px var(--mw-color-auth-white) inset !important;
  -webkit-text-fill-color: var(--mw-color-auth-dark) !important;
  caret-color: var(--mw-color-auth-dark);
  transition: background-color 9999s ease-out 0s;
}
.au-control:focus-within input, .au-control:focus-within select { height: 42px; }
.au-control input:disabled, .au-control input[readonly] { color: var(--mw-color-auth-muted); opacity: 1; }
.au-control input::placeholder, .au-control textarea::placeholder { font-size: 12.5px; color: var(--mw-color-auth-subtle); font-weight: 400; opacity: 1; }
.au-control input[type="email"] { direction: ltr; text-align: right; }
.au-control input[type="email"]::placeholder { direction: ltr; text-align: right; }
html[dir="rtl"] .au-control input[type="email"] { padding-inline-start: 0; padding-inline-end: 12px; }
.au-control input[type="password"]::placeholder,
.au-control #auth-code::placeholder { direction: rtl; text-align: right; }
html[dir="ltr"] .au-control input:not([type="checkbox"]):not([type="radio"]),
html[dir="ltr"] .au-control textarea { direction: ltr; text-align: left; }
html[dir="ltr"] .au-control textarea::placeholder { direction: ltr; text-align: left; }
html[dir="ltr"] .au-app { text-align: left; }
html[dir="ltr"] .au-app .au-intro,
html[dir="ltr"] .au-app .au-section-label,
html[dir="ltr"] .au-app .au-field-note,
html[dir="ltr"] .au-app .au-access-card,
html[dir="ltr"] .au-app .au-route-row { text-align: left; }
html[dir="ltr"] .au-app .au-control input[type="email"],
html[dir="ltr"] .au-app .au-control input[type="email"]::placeholder { text-align: left; }
html[dir="ltr"] .au-app .au-primary > .au-icon,
html[dir="ltr"] .au-app .au-secondary > .au-icon,
html[dir="ltr"] .au-app .au-route-arrow { transform: scaleX(-1); }
html[dir="ltr"] .au-app .au-art-copy,
html[dir="ltr"] .au-app .au-art-tag,
html[dir="ltr"] .au-app .au-art-identity { text-align: left; }
.au-control select { appearance: none; -webkit-appearance: none; cursor: pointer; min-height: 44px; padding: 7px 0; gap: 12px; font-family: Qatar, Arial, sans-serif; line-height: 1.7; color: var(--mw-color-auth-subtle); }
.au-control select:focus-visible { outline-width: 0; }
.au-control select.is-chosen { color: var(--mw-color-auth-dark); }
.au-control .au-chevron { position: absolute; inset-inline-end: 12px; width: 15px; height: 15px; min-height: auto; font-family: Qatar, Arial, sans-serif; line-height: 23.8px; pointer-events: none; }
.au-control.is-select { display: block; min-height: 46px; padding: 0; border: 0; background: transparent; overflow: visible; }
.au-control.is-select:focus-within { padding: 0; border: 0; background: transparent; }
.au-control .mw-select-native { position: absolute; inline-size: 1px; block-size: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.mw-select-trigger { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 9px 13px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-dark); font-family: Qatar, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; text-align: start; cursor: pointer; }
.au-control.is-select .mw-select-trigger { gap: 16px; padding-inline-start: 16px; }
.mw-select-trigger.mw-select-placeholder { color: var(--mw-color-auth-subtle); }
.mw-select-trigger:focus-visible, .mw-select-trigger[aria-expanded="true"] { outline: 2px solid var(--mw-color-auth-teal); outline-offset: 3px; border-color: var(--mw-color-auth-teal); }
.mw-select-trigger:disabled { cursor: not-allowed; opacity: .55; }
.au-control.is-invalid .mw-select-trigger { border-color: var(--mw-color-auth-invalid-line); background: var(--mw-color-auth-invalid-wash); }
.mw-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-select-arrow { width: 15px; height: 15px; transition: transform .16s ease-out; }
.mw-select-trigger[aria-expanded="true"] .mw-select-arrow { transform: rotate(180deg); }
.mw-select-popover { position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 200; max-block-size: min(280px, 40vh); margin-block-start: 4px; padding: 6px; overflow-y: auto; border: 1px solid var(--mw-color-auth-line); border-radius: 12px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-dark); box-shadow: 0 4px 12px var(--mw-color-auth-shadow); font-family: Qatar, Arial, sans-serif; font-size: 12.5px; line-height: 1.7; }
.mw-select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 8px; color: var(--mw-color-auth-dark); font-size: 14px; font-weight: 400; line-height: 1.7; cursor: pointer; }
.mw-select-option:hover, .mw-select-option:focus-visible { outline: 0; background: var(--mw-color-auth-wash); }
.mw-select-option.is-highlighted { background: var(--mw-color-active-soft); color: var(--mw-color-auth-dark); font-weight: 500; }
.mw-select-option .au-icon { width: 15px; height: 15px; color: var(--mw-color-auth-teal); }
@media (min-width: 961px) {
  /* C-02: keep the invitation's two half fields in the v17 desktop pair. */
  html[dir="ltr"] .au-app[data-auth-screen="c02"] .au-fields,
  html[dir="rtl"] .au-app[data-auth-screen="c02"] .au-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[dir="ltr"] .au-app[data-auth-screen="c02"] .au-field.is-half,
  html[dir="rtl"] .au-app[data-auth-screen="c02"] .au-field.is-half { grid-column: auto; }
}
.au-app[data-auth-screen="c02"] .au-field.is-half input::placeholder { font-size: 11px; white-space: nowrap; }
.au-app[data-auth-screen="c20"] .au-field.is-half input::placeholder { font-size: 11px; }
.au-control textarea { height: 72px; resize: vertical; padding-block: 9px; direction: rtl; text-align: right; }
.au-control.is-area { align-items: flex-start; min-height: 44px; }
.au-control.is-area .au-field-icon { margin-block-start: 12px; }
.au-eye { display: grid; place-items: center; min-width: 34px; width: 34px; height: 36px; padding: 8px; margin-inline-end: -7px; border: 0; border-radius: 6px; background: none; color: var(--mw-color-auth-subtle); }
.au-eye:hover { color: var(--mw-color-auth-teal); background: var(--mw-color-auth-wash); }
.au-eye:focus-visible { color: var(--mw-color-auth-teal); background: var(--mw-color-auth-lime); }
.au-eye .au-icon { width: 17px; height: 17px; }
.au-field-note { display: flex; align-items: flex-start; gap: 4px; min-height: 0; font-size: 11px; line-height: 1.5; color: var(--mw-color-auth-subtle); }
.au-field-note.is-error { color: var(--mw-color-auth-invalid-line); }
.au-field-note .au-icon { width: 12px; height: 12px; margin-block-start: 2px; stroke-width: 1.8; }
.au-terms-row { display: flex; align-items: center; flex-wrap: wrap; min-height: 28px; gap: 6px 8px; font-size: 12px; line-height: 1.6; color: var(--mw-color-auth-muted); }
.au-terms-row label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.au-terms-row input { flex-shrink: 0; width: 16px; height: 16px; min-height: 16px; margin: 0 0 0 2px; font-size: 12px; accent-color: var(--mw-color-auth-teal); }
.au-terms-row input:focus-visible { outline: 3px solid var(--mw-color-auth-teal); outline-offset: 3px; box-shadow: 0 0 0 5px var(--mw-color-auth-white); }
.au-terms-row input:disabled { color: var(--mw-color-auth-disabled); background-color: var(--mw-color-auth-wash); }
.terms-link, .au-app a.terms-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.terms-link { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.au-app .terms-link { text-decoration: underline; text-underline-offset: 4px; }
.au-primary, .au-secondary { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 44px; padding: 9px 14px; border: 1px solid var(--mw-color-auth-dark); border-radius: 10px; background: var(--mw-color-auth-dark); color: var(--mw-color-auth-white); font-size: 14px; font-weight: 400; line-height: 1.6; }
.au-primary:hover { background: var(--mw-color-auth-teal); border-color: var(--mw-color-auth-teal); }
.au-primary .au-icon { width: 15px; height: 15px; color: var(--mw-color-auth-lime); }
.au-secondary { border-color: var(--mw-color-auth-line); background: var(--mw-color-auth-white); color: var(--mw-color-auth-dark); }
.au-secondary:hover { background: var(--mw-color-auth-wash); border-color: var(--mw-color-auth-subtle); }
.au-secondary .au-icon { width: 15px; height: 15px; }
a.au-primary, a.au-secondary { text-decoration: none; }
.au-message { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-dark); font-size: 11.5px; line-height: 1.75; }
.au-message.is-error { background: var(--mw-color-auth-error-wash); color: var(--mw-color-auth-error-ink); border-color: var(--mw-color-auth-error-line); }
.au-message .au-icon { width: 16px; height: 16px; margin-block-start: 1px; }
.au-message .au-text { flex: 1; }
.au-invite-context { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-dark); font-size: 11px; }
.au-invite-context .au-icon { width: 17px; height: 17px; color: var(--mw-color-auth-teal); }
.au-invite-context strong { display: block; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.au-invite-context small { display: none; }
.au-invite-context .au-role { margin-inline-start: auto; padding: 2px 7px; border: 1px solid var(--mw-color-auth-line); border-radius: 5px; font-size: 10px; white-space: nowrap; }
.au-alternate { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px 10px; padding-block-start: 3px; font-size: 12.5px; line-height: 1.6; color: var(--mw-color-auth-muted); }
.au-login-content .au-alternate { min-height: 36px; }
.au-alternate a, .au-alternate button { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 5px 10px; border: 0; border-radius: 7px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-dark); font-size: 12px; }
.au-alternate .au-icon { width: 13px; height: 13px; }

/* C-00 gateway */
.au-gateway { display: flex; flex-direction: column; gap: 18px; }
.au-section-label { margin-block-end: 8px; font-size: 11px; color: var(--mw-color-auth-muted); }
.au-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.au-access-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-height: 133px; padding: 15px; border: 1px solid var(--mw-color-auth-line); border-radius: 15px; background: var(--mw-color-auth-white); color: var(--mw-color-auth-dark); text-align: right; transition: background-color .15s, border-color .15s, transform .15s; }
.au-access-card:hover { background: var(--mw-color-auth-wash); border-color: var(--mw-color-auth-subtle); transform: translateY(-2px); }
.au-access-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-block-end: 3px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-muted); }
.au-access-card .au-access-icon .au-icon { width: 18px; height: 18px; }
.au-access-card strong { font-size: 14px; font-weight: 500; line-height: normal; color: var(--mw-color-auth-dark); }
.au-access-card small { font-size: 10.5px; line-height: 1.6; color: var(--mw-color-auth-muted); }
.au-access-card > .au-icon { position: absolute; inset-inline-end: 14px; inset-block-start: 16px; width: 14px; height: 14px; color: var(--mw-color-auth-subtle); }
.au-new-routes { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--mw-color-auth-line); border-radius: 13px; background: var(--mw-color-auth-wash); }
.au-route-row { display: flex; align-items: center; gap: 11px; min-height: 63px; padding: 12px 14px; border: 0; background: transparent; color: var(--mw-color-auth-dark); text-align: right; }
.au-route-row + .au-route-row { border-block-start: 1px solid var(--mw-color-auth-line); }
.au-route-row > .au-icon { width: 19px; height: 19px; }
.au-route-copy { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.au-route-row strong { font-size: 12px; font-weight: 500; line-height: normal; }
.au-route-row small { font-size: 10px; line-height: normal; color: var(--mw-color-auth-muted); }
.au-route-row .au-route-arrow { width: 14px; height: 14px; }

/* state card (waiting, done, access ended, mail) */
.au-state { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 24px; border: 1px solid var(--mw-color-auth-line); border-radius: 16px; background: var(--mw-color-auth-white); }
.au15-state-heading { display: flex; align-items: flex-start; gap: 14px; width: 100%; }
.au15-state-heading > div { flex: 1; min-width: 0; }
.au-state-symbol { display: grid; place-items: center; flex-shrink: 0; position: relative; width: 44px; height: 44px; border: 1px solid var(--mw-color-auth-line); border-radius: 12px; background: var(--mw-color-auth-symbol); color: var(--mw-color-auth-dark); }
.au-state-symbol .au-icon { width: 23px; height: 23px; stroke-width: 1.6; }
.au-state.is-attention .au-state-symbol { background: var(--mw-color-auth-wash); color: var(--mw-color-auth-muted); }
.au15-state-heading h1 { margin-block-end: 8px; font-size: 22px; font-weight: 500; line-height: 1.6; }
.au-state p { font-size: 14px; color: var(--mw-color-auth-muted); line-height: 1.85; }
.au-state .au-reference { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--mw-color-auth-line); border-radius: 9px; background: var(--mw-color-auth-wash); font-size: 11px; color: var(--mw-color-auth-muted); }
.au-state-actions { display: flex; flex-direction: column; gap: 12px; }
.au-state-actions.is-inline { flex-direction: row; flex-wrap: wrap; }
.au-state-actions.is-inline > * { flex: 1; min-width: 130px; }
.au-state > .au-state-actions { width: 100%; }
.au-state-step { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px; width: 100%; margin: 0; padding: 18px 0 0; border-block-start: 1px solid var(--mw-color-auth-line); font-size: 11px; line-height: 1.6; color: var(--mw-color-auth-subtle); list-style: none; counter-reset: authstep; }
.au-state-step li { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 7px; padding: 5px 0; font-size: 12px; counter-increment: authstep; }
.au-state-step li::before { content: counter(authstep); display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--mw-color-auth-line); border-radius: 50%; font-size: 12px; }
.au-state-step .is-current { color: var(--mw-color-auth-dark); }
.au-state-step .is-current::before { background: var(--mw-color-auth-lime); border-color: var(--mw-color-auth-lime); }
.au-mail-state .au-state-symbol { border-color: var(--mw-color-auth-lime); }
.au-mail-delivery { display: flex; flex-direction: column; gap: 14px; }
.au-email-summary { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--mw-color-auth-line); border-radius: 12px; background: var(--mw-color-auth-wash); }
.au-email-summary > .au-icon { width: 21px; height: 21px; color: var(--mw-color-auth-teal); }
.au-email-summary > div { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; font-size: 11.5px; color: var(--mw-color-auth-muted); }
.au-email-summary bdi { display: block; width: 100%; direction: ltr; text-align: right; unicode-bidi: isolate; overflow-wrap: anywhere; }
.au-mail-state .sentTo { display: block; direction: ltr; text-align: right; unicode-bidi: isolate; overflow-wrap: anywhere; }
.au-email-summary .au-inline-action { flex-shrink: 0; min-height: 31px; border: 1px solid var(--mw-color-auth-line); background: var(--mw-color-auth-white); }
.au-mail-tip { display: flex; align-items: flex-start; gap: 9px; padding-inline: 2px; font-size: 12px; line-height: 1.9; color: var(--mw-color-auth-muted); }
.au-mail-tip .au-icon { width: 16px; height: 16px; margin-block-start: 3px; color: var(--mw-color-auth-teal); }
.au-resend-feedback { display: flex; align-items: center; gap: 7px; min-height: 21px; font-size: 12px; line-height: 1.75; color: var(--mw-color-auth-teal); }
.au-resend-feedback .au-icon { width: 17px; height: 17px; }
.au-verification-secondary { display: flex; flex-direction: column; gap: 8px; }
.au-text-action { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 36px; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--mw-color-auth-teal); font-size: 13px; }
.au-text-action:hover { background: var(--mw-color-auth-wash); }
.au-text-action .au-icon { width: 15px; height: 15px; }
.au15-recovery-state { gap: 22px; }
.au15-recovery-email { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--mw-color-auth-line); border-radius: 10px; background: var(--mw-color-auth-wash); }
.au15-recovery-email > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.au15-recovery-email #recLabel { display: flex; flex-direction: column; gap: 4px; font-size: 12px; line-height: 1.65; color: var(--mw-color-auth-muted); }
.au15-recovery-email .au-inline-action { font-size: 13px; line-height: 1.5; }
.au15-recovery-email bdi { color: var(--mw-color-auth-dark); overflow-wrap: anywhere; }
.au15-recovery-tip { font-size: 14px; }
.au15-recovery-actions { margin-block-start: 2px; }
.au15-recovery-actions .au-secondary { border: none; background: transparent; color: var(--mw-color-auth-muted); }
.au15-recovery-actions .au-secondary:hover { background: var(--mw-color-auth-wash); }

.au-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; padding-block-start: 9px; border-block-start: 1px solid var(--mw-color-auth-wash); color: var(--mw-color-auth-subtle); font-size: 11px; line-height: 1.5; }
.au-footer a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--mw-color-auth-help); color: var(--mw-color-auth-muted); }
.au-footer .au-icon { width: 13px; height: 13px; }

/* the dark art panel */
.au-art-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 30px 28px 23px; overflow: hidden; isolation: isolate; border: 1px solid var(--mw-color-auth-deep); border-radius: 28px; background: var(--mw-color-auth-dark); color: var(--mw-color-auth-art-soft); }
.au-art-side::after { content: ""; position: absolute; inset-inline-start: -218px; inset-block-start: -177px; z-index: -1; width: 370px; height: 370px; border: 1px solid var(--mw-color-auth-ring-line); border-radius: 50%; box-shadow: 0 0 0 35px var(--mw-color-auth-ring-wash), 0 0 0 70px var(--mw-color-auth-ring-wash); pointer-events: none; }
.au-art-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--mw-color-auth-lime); font-size: 10px; line-height: 1.5; }
.au-art-top > .au-icon { width: 21px; height: 21px; stroke-width: 1.3; opacity: .8; }
.au-art-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--mw-color-auth-tag-line); border-radius: 999px; background: var(--mw-color-auth-tag-wash); color: var(--mw-color-auth-lime); font-size: 11.5px; }
.au-art-tag .au-icon { width: 13px; height: 13px; }
.au-art-body { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 560px; margin: auto; padding: 26px 0 19px; }
.au-art-copy { position: relative; z-index: 1; width: 100%; max-width: 405px; text-align: center; }
.au-art-copy h2 { font-size: 28px; font-weight: 500; line-height: 1.5; color: var(--mw-color-auth-white); letter-spacing: -.25px; white-space: pre-line; text-wrap: balance; }
.au-art-copy p { max-width: 350px; margin: 14px auto 0; font-size: 13px; line-height: 1.9; color: var(--mw-color-auth-art-muted); text-wrap: balance; }
.au-art-canvas { position: relative; width: calc(100% + 14px); max-width: 560px; min-width: 0; aspect-ratio: 7 / 5; overflow: hidden; }
.au-art-canvas svg { width: 100%; height: 100%; overflow: visible; }
.au-art-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 17px; border-block-start: 1px solid var(--mw-color-auth-rule-dark); color: var(--mw-color-auth-art-muted); font-size: 10px; line-height: 1.7; }
.au-art-identity { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.au-art-identity .au-icon { width: 16px; height: 16px; color: var(--mw-color-auth-lime); }
.au-motion { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 9px; border: 1px solid var(--mw-color-auth-motion-line); border-radius: 8px; background: var(--mw-color-auth-motion-wash); color: var(--mw-color-auth-lime); font-size: 10px; white-space: nowrap; }
.au-motion:hover { background: var(--mw-color-auth-ring-wash); }
.au-motion .au-icon { width: 12px; height: 12px; }

/* FIX19 C-41/C-44: give the select text a real gap after its leading icon, and
   draw support as the v17 page instead of reusing the company art scene. */
.au-control select { padding-inline-start: 18px; }
.au-support-shell { display: block; max-width: none; min-height: 100dvh; margin: 0; padding: 0; }
.au-support-form-side { min-height: 100dvh; padding: 0; border-radius: 0; background: var(--mw-color-auth-wash); }
.au-support-form-side .au-top { min-height: 68px; padding: 12px clamp(24px, 7vw, 72px); border-block-end: 1px solid var(--mw-color-auth-line); background: var(--mw-color-auth-white); }
.au-support-nav { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; margin-inline-end: 28px; color: var(--mw-color-auth-muted); font-size: 12px; line-height: 1.5; }
.au-support-nav strong { color: var(--mw-color-auth-dark); font-weight: 500; }
.au-support-form-side .au-main { align-items: flex-start; justify-content: flex-start; padding: 30px clamp(24px, 7vw, 72px) 42px; }
.au-support-content { max-width: 1120px; gap: 22px; }
.au-support-back { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--mw-color-auth-dark); font-size: 12px; line-height: 1.6; }
.au-support-back .au-icon { width: 14px; height: 14px; }
.au-support-heading { display: flex; align-items: flex-start; gap: 14px; }
.au-support-heading-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--mw-color-auth-line); border-radius: 12px; background: var(--mw-color-auth-wash); color: var(--mw-color-auth-dark); }
.au-support-heading-icon .au-icon { width: 22px; height: 22px; }
.au-support-heading h1 { font-size: 24px; line-height: 1.4; }
.au-support-heading p { margin-block-start: 5px; color: var(--mw-color-auth-muted); font-size: 12px; line-height: 1.8; }
.au-support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 16px; }
.au-support-card { max-width: none; gap: 16px; padding: 20px 18px 17px; border: 1px solid var(--mw-color-auth-line); border-radius: 16px; background: var(--mw-color-auth-white); }
.au-support-card-head { display: flex; flex-direction: column; gap: 4px; }
.au-support-card-head h2 { font-size: 16px; font-weight: 500; line-height: 1.6; }
.au-support-card-head p { color: var(--mw-color-auth-muted); font-size: 12px; line-height: 1.8; }
.au-support-card .au-form { gap: 16px; }
.au-support-card .au-fields { gap: 14px 18px; }
.au-support-card .au-control textarea { min-height: 104px; height: 104px; }
.au-support-field-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 17px; padding-inline: 2px; }
.au-support-hint, .au-support-counter { color: var(--mw-color-auth-subtle); font-size: 10.5px; line-height: 1.6; }
.au-support-counter { flex: none; white-space: nowrap; }
.au-support-submit-row { display: flex; align-items: center; gap: 12px; }
.au-support-submit-row .au-primary { width: auto; min-width: 112px; }
.au-support-followup { flex: 1; color: var(--mw-color-auth-muted); font-size: 11px; line-height: 1.7; }
.au-support-preview { padding-block-start: 12px; border-block-start: 1px solid var(--mw-color-auth-line); color: var(--mw-color-auth-subtle); font-size: 10.5px; line-height: 1.7; }
.au-support-panel { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; border-radius: 14px; background: var(--mw-color-auth-dark); color: var(--mw-color-auth-white); }
.au-support-panel > .au-icon { width: 24px; height: 24px; color: var(--mw-color-auth-lime); }
.au-support-panel h2 { font-size: 16px; line-height: 1.6; }
.au-support-panel > p { color: var(--mw-color-auth-art-muted); font-size: 11px; line-height: 1.8; }
.au-support-panel ol { display: flex; flex-direction: column; gap: 15px; margin: 4px 0 0; padding: 15px 0 0; border-block-start: 1px solid var(--mw-color-auth-rule-dark); list-style: none; counter-reset: support-step; }
.au-support-panel li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px; counter-increment: support-step; }
.au-support-panel li::before { content: counter(support-step); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--mw-color-auth-motion-line); border-radius: 7px; color: var(--mw-color-auth-lime); font-size: 11px; grid-row: 1 / span 2; align-self: start; }
.au-support-panel li strong, .au-support-panel li span { grid-column: 2; }
.au-support-panel li strong { grid-row: 1; font-size: 11px; font-weight: 500; line-height: 1.6; }
.au-support-panel li span { grid-row: 2; color: var(--mw-color-auth-art-muted); font-size: 10.5px; line-height: 1.7; }
.au-support-form-side .au-footer { margin: 0 clamp(24px, 7vw, 72px); }
@media (max-width: 960px) {
  .au-support-layout { grid-template-columns: 1fr; }
  .au-support-panel { display: none; }
}
@media (max-width: 520px) {
  .au-support-form-side .au-top { padding: 10px 18px; }
  .au-support-nav { gap: 7px; margin-inline-end: 10px; font-size: 10px; }
  .au-support-form-side .au-main { padding: 25px 16px 35px; }
  .au-support-content { gap: 20px; }
  .au-support-heading h1 { font-size: 23px; }
  .au-support-heading p { font-size: 13px; }
  .au-support-card { padding: 18px 18px 16px; }
  .au-support-card .au-fields { gap: 18px; }
  .au-support-card .au-control textarea { min-height: 164px; height: 164px; }
  .au-support-submit-row { flex-direction: column; align-items: stretch; gap: 9px; }
  .au-support-submit-row .au-primary { width: 100%; }
  .au-support-followup { text-align: center; }
  .au-support-form-side .au-footer { margin: 0 16px; }
}

/* the scenes: only shapes move; the caption rail stays still */
.au-scene { position: relative; display: grid; place-items: center; isolation: isolate; color: var(--mw-color-auth-lime); font-family: Qatar; }
.au-scene .au-scene-art { display: block; width: 100%; height: auto; overflow: hidden; pointer-events: none; shape-rendering: geometricPrecision; }
.au-scene .au-scene-art text { font-family: Qatar; font-synthesis: none; letter-spacing: 0; }
.au-scene [class*="au-"] { animation-play-state: var(--mw-auth-play-state); }
.au-scene .au-main-drift { animation: au-main-drift 9s ease-in-out infinite; will-change: transform; }
.au-scene .au-companion-drift { animation: au-companion-drift 10s ease-in-out infinite; animation-delay: -4s; will-change: transform; }
.au-scene .au-letter-drift { animation: au-letter-drift 10s ease-in-out infinite; will-change: transform; }
.au-scene .au-route-pulse, .au-scene .au-attention-pulse { animation: au-soft-pulse 8s ease-in-out infinite; }
.au-scene .au-scan-drift { animation: au-scan-drift 11s ease-in-out infinite; will-change: transform, opacity; }
.au-scene .au-caption-rail { animation: none; transform: none; }
.au-app[data-au-motion="paused"] .au-scene-art * { animation-play-state: paused; }
@keyframes au-main-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes au-companion-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes au-letter-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes au-soft-pulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes au-scan-drift { 0%, 100% { transform: translateY(-6px); opacity: .6; } 50% { transform: translateY(12px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .au-app * { animation: none; transition: none; scroll-behavior: auto; }
}
@media print { .au-scene .au-scene-art * { animation: none; transition: none; } }

@media (min-width: 1500px) {
  .au-shell { margin: 22px auto; min-height: calc(100dvh - 44px); padding-inline: 22px; gap: 20px; }
  .au-art-side { padding: 38px 35px 26px; }
  .au-art-body { gap: 20px; padding-block: 30px; }
  .au-content, .au-content.au-dense { max-width: 440px; }
}
@media (max-height: 760px) and (min-width: 961px) {
  .au-form-side { padding-block: 14px 12px; }
  .au-main { padding-block: 23px; }
  .au-art-side { padding: 24px 26px 20px; }
  .au-art-body { gap: 12px; padding: 23px 0 16px; }
  .au-art-copy h2 { font-size: 25px; }
  .au-art-copy p { margin-block-start: 12px; }
  .au-art-canvas { max-width: 495px; }
  .au-art-bottom { padding-block-start: 14px; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .au-shell { gap: 12px; margin: 12px auto; padding-inline: 12px; min-height: calc(100dvh - 24px); }
  .au-form-side { padding-inline: 26px; }
  .au-art-side { padding-inline: 20px; }
  .au-art-copy h2 { font-size: 24px; }
  .au-art-copy p { font-size: 12px; }
  .au-content { max-width: 400px; }
  .au-art-bottom { font-size: 9px; }
  .au-email-summary { padding: 13px; gap: 8px; }
}
@media (max-width: 960px) {
  .au-shell { grid-template-columns: 1fr; max-width: 700px; margin: 12px auto; padding-inline: 12px; min-height: calc(100dvh - 24px); }
  .au-art-side { display: none; }
  .au-form-side { padding: 20px 36px 17px; min-height: 0; border: 1px solid var(--mw-color-auth-wash); }
  .au-content, .au-content.au-dense { max-width: 440px; }
  .au-main { padding-block: 32px; }
  .au-top { min-height: 46px; }
  .au-footer { padding-block-start: 11px; }
}
@media (max-width: 520px) {
  .au-shell { display: flex; margin: 0; padding: 0; min-height: 100dvh; }
  .au-form-side { width: 100%; padding: 20px 23px 17px; border: 0; border-radius: 0; }
  .au-logo img { width: 118px; height: 39px; }
  .au-main { align-items: center; padding: 30px 0; }
  .au-content, .au-content.au-dense { gap: 22px; }
  .au-login-content { min-height: 474px; }
  .au-login-content .au-intro { min-height: 102px; }
  .au-app h1 { font-size: 23px; }
  .au-fields { grid-template-columns: 1fr; gap: 20px; }
  .au-field.is-half { grid-column: 1 / -1; }
  .au-access-card { padding: 14px; min-height: 144px; }
  .au-access-card strong { font-size: 13px; }
  .au-access-card small { font-size: 10px; }
  .au-footer { font-size: 10.5px; }
  .au-terms-row { gap: 7px; }
  .au-invite-context { font-size: 10px; }
  .au-invite-context strong { font-size: 11px; }
  .au-state { gap: 18px; padding: 20px; }
  .au15-state-heading { gap: 12px; }
  .au15-state-heading h1 { font-size: 20px; line-height: 1.6; }
  .au-state-step { gap: 8px; }
  #recWait, #recActions { width: calc(100vw - 46px); }
  .au-email-summary { flex-wrap: wrap; gap: 10px; }
  .au-email-summary > div { min-width: 220px; }
  .au-email-summary .au-inline-action { margin-inline-start: 31px; }
  .au-mail-delivery { gap: 12px; }
  .au15-recovery-email { padding: 12px; }
}
/* E5 (ITEM 233): on a phone every control is at least 44 px; the design draws some of them at 25 to 40 px */
@media (max-width: 520px) {
  .au-logo { min-height: 44px; }
  .au-language { min-height: 44px; }
  .au-back { min-width: 44px; height: 44px; }
  .au-account-switch a, .au-account-switch button { min-height: 44px; }
  .au-inline-action, .au-email-summary .au-inline-action, .au15-recovery-email .au-inline-action { min-height: 44px; }
  .au-control, .au-control.is-area { min-height: 48px; }
  .au-control:focus-within input, .au-control:focus-within select { height: 44px; }
  .au-eye { min-width: 44px; width: 44px; height: 44px; }
  .au-terms-row label { min-height: 44px; }
  .au-alternate a, .au-alternate button { min-height: 44px; }
  .au-footer a { min-height: 44px; }
  .au-text-action { min-height: 44px; }
}

/* The support page has its own full-width shell; keep the shared auth phone
   rules from reintroducing the rounded split-page frame. */
@media (max-width: 960px) {
  .au-support-shell { display: block; margin: 0; padding: 0; min-height: 100dvh; }
  .au-support-form-side { width: 100%; min-height: 100dvh; padding: 0; border: 0; border-radius: 0; }
  .au-support-form-side .au-main { padding-block: 30px 42px; }
}
@media (max-width: 520px) {
  .au-support-form-side { width: 100%; padding: 0; }
  .au-support-form-side .au-main { padding: 25px 16px 35px; }
}
