
@layer reset, vendor, tokens, base, components, utilities;
/* Card styles of the standalone auth pages (login, forgot/reset password, 2FA), on the cascade layers (TR-2911).
   The page's own \3c style> stays unlayered and wins every tie with them, as it did coming after them. */
@layer tokens{
/* Scale tokens (TR-2890 Part 7): N = px at the 16px root. Components read the role tokens in roles.css. */
:root {
  /* Text: the seven sizes. */
  --text-10: 0.625rem;
  --text-11: 0.6875rem;
  --text-12: 0.75rem;
  --text-13: 0.8125rem;
  --text-14: 0.875rem;
  --text-18: 1.125rem;
  --text-24: 1.5rem;

  /* Leading and weight */
  --leading-1-2: 1.2;
  --leading-1-3: 1.3;
  --leading-1-4: 1.4;
  --weight-400: 400;
  --weight-600: 600;
  --weight-700: 700;

  /* Space: the 4px grid plus the 6px icon gap. */
  --space-0: 0rem;
  --space-4: 0.25rem;
  --space-6: 0.375rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-28: 1.75rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-56: 3.5rem;
  --space-64: 4rem;

  /* Height */
  --height-16: 1rem;
  --height-18: 1.125rem;
  --height-20: 1.25rem;
  --height-22: 1.375rem;
  --height-24: 1.5rem;
  --height-28: 1.75rem;
  --height-32: 2rem;
  --height-36: 2.25rem;
  --height-40: 2.5rem;
  --height-44: 2.75rem;
  --height-48: 3rem;
  --height-50: 3.125rem;
  --height-52: 3.25rem;
  --height-56: 3.5rem;

  /* Width */
  --width-44: 2.75rem;
  --width-52: 3.25rem;
  --width-56: 3.5rem;
  --width-80: 5rem;
  --width-120: 7.5rem;
  --width-160: 10rem;
  --width-200: 12.5rem;
  --width-260: 16.25rem;
  --width-280: 17.5rem;
  --width-300: 18.75rem;
  --width-320: 20rem;
  --width-360: 22.5rem;
  --width-420: 26.25rem;
  --width-440: 27.5rem;
  --width-480: 30rem;
  --width-520: 32.5rem;
  --width-560: 35rem;
  --width-720: 45rem;
  --width-2200: 137.5rem;

  /* Fixed px: never rem, so they stay put when the root grows (TR-2919). */
  --radius-12: 12px;
  --line-1: 1px;
  --line-2: 2px;
  --line-3: 3px;
}
}
@layer tokens{
/* Role tokens (TR-2890 Part 7): what each size is for. Components read these; a scale step only where no role fits. */
:root {
  /* Text */
  --text-kpi: var(--text-24);
  --text-page-title: var(--text-18);
  --text-title: var(--text-14);            /* toolbar, dialog and drawer titles */
  --text-nav: var(--text-13);              /* side menu items */
  --text-card-heading: var(--text-13);
  --text-ui: var(--text-12);
  --text-body: var(--text-ui);
  --text-tab: var(--text-ui);
  --text-menu: var(--text-ui);
  --text-breadcrumb: var(--text-ui);
  --text-label: var(--text-ui);
  --text-record: var(--text-ui);
  --text-table-heading: var(--text-ui);
  --text-cell: var(--text-11);
  --text-button: var(--text-cell);
  --text-input: var(--text-cell);
  --text-pager: var(--text-cell);
  --text-chip: var(--text-cell);
  --text-tag: var(--text-cell);
  --text-help: var(--text-cell);
  --text-count: var(--text-cell);
  --text-kpi-label: var(--text-cell);
  --text-chart: var(--text-cell);
  --text-caption: var(--text-10);          /* captions and group headings, caps, letter-spaced */
  --caption-tracking: 0.06em;

  --leading-table: var(--leading-1-3);
  --leading-body: var(--leading-1-4);
  --leading-title: var(--leading-1-2);
  --weight-regular: var(--weight-400);
  --weight-semibold: var(--weight-600);
  --weight-bold: var(--weight-700);

  /* Height */
  --height-control: var(--height-28);      /* buttons, inputs, dropdowns */
  --height-toolbar: var(--height-50);      /* full-page toolbar: editors, builders */
  --height-table-bar: var(--height-44);    /* table toolbar; the Sorted by row and banner sit under it (TR-2903) */
  --height-banner: var(--height-32);       /* banner above a table, when shown */
  --height-row: var(--height-28);          /* table rows; wrapped rows grow */
  --height-sort-row: var(--height-28);     /* Sorted by / Filtered by row */
  --height-row-heading: var(--height-32);
  --height-menu-row: var(--height-32);
  --height-group-row: var(--height-32);
  --height-nav-row: var(--height-32);
  --height-popout-row: var(--height-32);   /* icons-only side menu pop-out rows */
  --height-record-row: var(--height-32);
  --height-tabs: var(--height-36);
  --height-tab-strip: var(--height-44);    /* window tabs (TR-2904) */
  --height-window-tab: var(--height-36);
  --height-dialog-header: var(--height-48);
  --height-dialog-footer: var(--height-52);
  --height-header: var(--height-56);
  --height-pill: var(--height-20);         /* pills and tags */
  --height-chip: var(--height-22);

  /* Space */
  --page-margin: var(--space-20);
  --overlay-padding: var(--space-20);      /* inside the book, drawers and dialogs */
  --overlay-inset: var(--space-32);        /* from every window edge */
  --card-gap: var(--space-16);
  --card-padding: var(--space-16);
  --cell-padding-x: var(--space-8);
  --book-label-gap: var(--space-16);
  --edit-field-gap: var(--space-4);
  --section-gap-above: var(--space-16);
  --section-gap-below: var(--space-8);
  --label-to-field: var(--space-4);
  --change-bar-gap: var(--space-8);        /* Sorted by row: 8 above and below (TR-2866) */
  --icon-gap: var(--space-6);
  --menu-padding: var(--space-6);          /* inside every menu */
  --layout-gap-top: var(--page-margin);    /* header to sidebar panel and first widget (TR-2689) */

  /* Width */
  /* The teal panel is the side menu (200, TR-2858); the column adds its inset on each side. */
  --sidebar-panel-inset: var(--space-8);
  --sidebar-width: calc(var(--width-200) + 2 * var(--sidebar-panel-inset));
  --sidebar-icons: var(--width-56);        /* below 1440 */
  --sidebar-collapse-width: var(--sidebar-icons);
  --overlay-max-width: calc(100vw - 2 * var(--overlay-inset));
  --overlay-max-height: calc(100vh - 2 * var(--overlay-inset));
  --drawer-s: min(var(--width-420), 50vw);
  --drawer-m: min(var(--width-560), 50vw);
  --drawer-l: min(var(--width-720), 50vw);
  --book-page: var(--width-720);
  --book-page-second: var(--width-560);
  --book-double: calc(var(--book-page) + var(--book-page-second));
  --book-label-width: clamp(var(--width-160), 33.333%, var(--width-260));
  --dialog-large-max: min(var(--width-2200), var(--overlay-max-width));
  --dialog-s: min(var(--width-520), var(--overlay-max-width));
  --dialog-m: min(var(--width-720), var(--overlay-max-width));
  --dialog-l: var(--dialog-large-max);     /* working dialogs */
  --menu-min: var(--width-200);
  --menu-max: var(--width-480);
  --menu-wide: var(--width-440);           /* Display menu and width="wide" */
  --menu-switcher-min: var(--width-280);   /* breadcrumb menus */
  --menu-rows-per-page: var(--width-120);
  --window-tab-min: var(--width-160);
  --window-tab-max: var(--width-280);
  --column-min: var(--width-80);
  --field-width: var(--width-320);
  --card-home: var(--width-320);
  --rail-width: var(--width-56);           /* book rail (TR-2912), wizard rail (TR-2916) */
  --wizard-sidebar: var(--width-280);
  --wizard-rail: var(--rail-width);
  --settings-panel: var(--width-300);      /* large working dialog (TR-2766) */
  --settings-panel-folded: var(--width-52);
  --board-column-min: var(--width-280);    /* Kanban (TR-2917) */
  --board-column-max: var(--width-480);
  --board-column-folded: var(--width-44);
  --board-progress-max: var(--width-360);  /* Swimlane Calculated number bar (TR-2917) */

  /* Small elements */
  --icon-sm: var(--text-14);               /* icons in buttons */
  --icon-md: var(--height-16);             /* icons in menus */
  --icon-xl: var(--height-40);             /* empty-state illustrations */
  --control-check: var(--height-16);       /* checkbox and radio */
  --control-toggle-w: var(--height-32);
  --control-toggle-h: var(--height-18);
  --icon-tab: var(--icon-sm);              /* window tabs */
  --target-min: var(--height-32);          /* smallest click target */

  /* Fixed px (TR-2919): never grow with the root. */
  --border-width: var(--line-1);
  --focus-width: var(--line-2);
  --focus-offset: var(--line-2);
  --focus-halo-width: var(--line-3);
  --table-header-line-width: var(--line-2); /* the table header's bottom line (TR-2903) */
}

/* Below 600px of window height overlays drop the inset and fill the window (TR-2890). */
@media (max-height: 599.98px) {
  :root {
    --overlay-inset: var(--space-0);
  }
}
}
@layer tokens{

/* Montserrat is self-hosted in fonts.css (TR-2656) - no @import from Google Fonts. */

:root {
  /*CORES*/
  --primary: #1fb7ba;
  --primary-rgb: 31, 183, 186;
  --secondary: #26A386;
  --tertiary: #ec3ea0;
  --accent: #00CC54;
  --accent-2: rgb(127, 190, 0);
  --primary-darker: #139b9e;
  --primary-lighter: #E8F8F8;
  --primary-lighter-rgb: 232, 248, 248;
  --secondary-darker: #308d76;
  --tertiary-lighter: rgba(236, 62, 160, 0.78);
  --accent-darker: #03923e;
  --accent-2-darker: #b1364c;
  --light-grey: #F1F1F1;
  /* Deep Red means stop: destructive triggers, enabled confirm fills and field errors; fixed, never branded (TR-2687, TR-2720). */
  --color-destructive: #5B1C30;
  /* One focus colour for every focus ring (TR-2720): fields get the border and halo, controls the outline. */
  --focus-color: var(--brand-focus, #1c3633);
  --focus-halo: 0 0 0 var(--focus-halo-width) color-mix(in srgb, var(--focus-color) 15%, transparent);
  --focus-error-halo: 0 0 0 var(--focus-halo-width) color-mix(in srgb, var(--color-destructive) 15%, transparent);
  --focus-outline: var(--focus-width) solid var(--focus-color);
  --color-destructive-tint: #F6EEF0;
  /* Passed: a complete step's tick and the wizard's all-complete line; fixed like Deep Red, never branded (TR-2916). */
  --color-passed: #2e7d4f;
  /* Info lines: "Written by Transformation Studio", the test-run line (TR-3050, sampled from board P1 3.9). */
  --info-tint: #e2eaf4;
  /* Text on the Info tint: the Draft chip of the Transformation studio list (TR-2986, sampled from board P1 1.4). */
  --color-info-text: #2a4e7a;
  /* Warning box that does not block: Running long, a schedule on hold (TR-3050, board P1 5.9; text --color-warning-text). */
  --warning-tint: #fbebdd;
  /* Warning that does not block (dark amber, TR-2692); the node drawer's unsaved line (TR-2976). */
  --color-warning-text: #7a5b00;
  /* Builder drawers (TR-2976, sampled from boards P2 0.1, 0.2, 2.1, 2.1a): muted eyebrow and subtitle, the inner-group
     and code-box tint, the Summary and readback band, the matched part of a pattern. */
  --builder-muted: #5f6366;
  --builder-tint: #f4f3f0;
  --builder-band: #eceae5;
  --builder-match: #dcebdf;
  /* The designer canvas behind the cards (TR-2993, board P1 3.1); a brand's page background wins. */
  --canvas-bg: var(--brand-page-bg, #f4f3f0);
  /* Canvas lines and notes (TR-3043, boards P1 3.7, P4 11, P4 14, P4 15): flow lines, the dotted relationship lines,
     the hover card's path chips, the map's blocks and the yellow note; fixed, not branded, like warning amber. */
  --canvas-line: #8e918f;
  --canvas-relation: #a9aca8;
  --canvas-path-bg: #e2eaf4;
  --canvas-path-text: #2a4e7a;
  --canvas-map-block: #7e8280;
  --note-bg: #fbf1c7;
  --note-border: #e3cb72;
  --note-ink: #8a6d12;
  --note-text: #3b3320;
  /* Favourite star gold outside menus, the value of the menus' --menu-favourite (TR-2930 Favourites widget). */
  --color-favourite: #b07a2c;
  /* The list-change toast with Undo (TR-2986, sampled from board P1 5.5). */
  --toast-bg: #1f2a2e;
  --toast-text: #fff;
  /* Recycle Bin and dated-display banner above a table (TR-2903 mock 02). */
  --banner-bg: #fff6e0;
  --banner-line: #ecd9a6;
  --lighter-grey: #f3f3f3;
  --grey: #ccc;
  --grey-3: #B9B9B9;
  --dark-grey: #606266;
  --dark-grey-2: #C0C0C0;
  /*TEXTOS*/
  --text-body-primary: var(--el-text-color-regular);
  --text-body-secondary: #A3A3A3;
  --text-body-tertiary: #7D7D7D;
  --text-body-quaternary: #32323C;
  --text-strong: #262626;   /* near-black usado em títulos/labels do book layout */
  /*SHADOWS*/
  /* One shadow for every floating surface; static surfaces have none (TR-2688). */
  --shadow: 8px 8px 8px rgba(0, 0, 0, 0.16);
  /* The one exception: a soft edge under a locked zone, which does not float (TR-2903). */
  --shadow-locked: 0 6px 10px -6px rgba(0, 0, 0, 0.3);
  --hover-shadow-1: var(--shadow);
  --hover-shadow-2: 0px 6px 12px rgba(0, 0, 0, 0.3) !important;
  /*RADIUS*/
  /* One corner radius for every rounded element; the size aliases and Bootstrap resolve to it (TR-2683). */
  --radius: var(--radius-12);
  --radius-sm: var(--radius);
  --radius-lg: var(--radius);
  --radius-xl: var(--radius);
  --radius-pill: 5000px;
  --bs-border-radius: var(--radius);
  --bs-border-radius-sm: var(--radius);
  --bs-border-radius-lg: var(--radius);
  --bs-border-radius-xl: var(--radius);
  --bs-border-radius-xxl: var(--radius);
  --bs-border-radius-2xl: var(--radius);
  /*GRADIENTES*/
  --gradient-1: linear-gradient(90.14deg, #5C9FFF 0.11%, #4984D9 99.88%);
  --gradient-2: linear-gradient(177.82deg, #452222 1.05%, #552D1C 77.64%, #5A311A 105.34%);
  /*OUTROS*/
  --container-outter-gutter: 0;
  /* One root (TR-2890): 16px at the default browser setting, still following a user-raised default. Never vw. */
  font-size: 100%;

  /* Element Plus reads the roles: base is the button and input size, large the dialog title. */
  --el-font-size-extra-small: var(--text-caption);
  --el-font-size-small: var(--text-cell);
  --el-font-size-base: var(--text-button);
  --el-font-size-medium: var(--text-ui);
  --el-font-size-large: var(--text-title);
  --el-font-size-extra-large: var(--text-page-title);
  --el-font-weight-primary: var(--weight-semibold);
  --el-font-line-height-primary: var(--leading-body);

  /* Bootstrap's body text follows the body role. */
  --bs-body-font-size: var(--text-body);
  --bs-body-line-height: var(--leading-body);

  --ff-primary: 'Montserrat', sans-serif;
  --ff-secondary: 'Montserrat', sans-serif;

  --border-primary: var(--el-border-color-light);

  /* optional but good to keep contrast correct */
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: #168B8EFF;

  /* adjust hover/active if needed */
  --bs-primary-hover: #199d7a;
  --bs-primary-active: #157f63;

  --bs-badge-color: var(--bs-secondary-rgb);
  --bs-success-rgb: 31, 217, 114;
  --bs-dark-rgb: 118, 113, 113;
  --bs-danger-rgb: 255, 0, 0;
  --bs-table-bg: #fff;
  --body-bg: #fff;

  /* The record book's surfaces (TR-2912): tab pages follow Page background and their cards Widget background unless
     branding overrides them; the rail is the tab page 6% darker, worked out here. */
  --record-tabs-bg: var(--brand-record-tabs-bg, var(--brand-page-bg, var(--body-bg)));
  --record-cards-bg: var(--brand-record-cards-bg, var(--brand-widget-bg, var(--light-grey)));
  --record-rail-bg: color-mix(in srgb, var(--record-tabs-bg) 94%, black);
  /* A board's columns and lanes (TR-2917) sit on Page background unless branding overrides them. */
  --board-columns-bg: var(--brand-board-columns-bg, var(--brand-page-bg, var(--body-bg)));
  /* Mass edit's read-only cells (TR-2913): the Read-only cells background override, else Page background. */
  --edit-readonly-bg: var(--brand-edit-readonly-bg, var(--brand-page-bg, var(--body-bg)));
  /* The amber Editing tag on the record heading (board 10.4); fixed, never branded. */
  --record-editing-bg: #fdf3e1;
  --record-editing-text: #b7791f;
  --record-editing-border: #ebd5b0;
  /* The NEW marker on a just-added setting (TR-2889, TR-2912): the Amodal gold sampled from the mock. */
  --new-badge-bg: #bb9460;

  --el-color-info: #888;

  /* Global primary */
  --bs-primary: #1fb7ba;
  --bs-primary-rgb: 31, 183, 186;

  /* Buttons */
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: #1aa1a3; /* slightly darker teal */
  --bs-btn-hover-border-color: #1aa1a3;
  --bs-btn-active-bg: #158d8f; /* even darker teal */
  --bs-btn-active-border-color: #158d8f;

  /* Pagination */
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-color: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);

  /* Alerts */
  --bs-alert-color: #fff;
  --bs-alert-bg: var(--bs-primary);
  --bs-alert-border-color: var(--bs-primary);

  /* Badges */
  --bs-badge-bg: var(--bs-primary);
}
}

@layer components {
  * {
    box-sizing: border-box;
  }

  html, body {
    background-color: #ffffff;
    color: #29413e;
    font-family: var(--ff-primary, 'Nunito', sans-serif);
    font-weight: 400;
    height: 100vh;
    margin: 0;
  }

  .full-height {
    min-height: 100vh;
    height: 100%;
    padding: 16px;
  }

  .flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .auth-card {
    background: #f4f3f0;
    border: var(--border-width) solid #e2dfd9; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    border-radius: var(--radius, 12px);
    padding: 40px 40px 20px;
    width: 100%;
    max-width: 420px;
  }

  .auth-logo {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto 32px;
    border-radius: var(--radius, 12px);
  }

  /* The asset is cropped to the letters, so this width is the visible wordmark width. */
  .auth-logo img {
    display: block;
    width: 240px;
    max-width: 100%;
    height: auto;
  }

  .auth-note {
    margin-bottom: 20px;
    font-size: var(--text-14);
    line-height: 1.5;
    color: #4b5563;
  }

  .form-group {
    margin-bottom: 16px;
  }

  label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--text-14);
    font-weight: 600;
    color: #29413e;
  }

  input[type="email"],
  input[type="password"],
  input[type="text"],
  .auth-readonly {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border: var(--border-width) solid #cac7c1; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    border-radius: var(--radius, 12px);
    font-size: 1rem; /* 16px so phones do not zoom into the sign-in fields (TR-2890) */
    font-family: var(--ff-primary, 'Nunito', sans-serif);
    color: #29413e;
  }

  .auth-readonly {
    display: flex;
    align-items: center;
    background: #f9fafb;
    color: #6b7280;
  }

  /* Focus (TR-2720): fixed, since these pages load no branding. */
  input[type="email"]:focus,
  input[type="password"]:focus,
  input[type="text"]:focus {
    outline: none;
    border-color: #1c3633;
    box-shadow: 0 0 0 3px color-mix(in srgb, #1c3633 15%, transparent);
  }

  input[type="checkbox"]:focus-visible {
    outline: var(--focus-width) solid #1c3633; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    outline-offset: var(--focus-offset);
  }

  .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }

  .remember-me label {
    margin: 0;
    font-weight: 400;
  }

  .auth-primary,
  .auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    border-radius: var(--radius, 12px);
    font-size: 1rem; /* matches the fields above */
    font-weight: 600;
    font-family: var(--ff-primary, 'Nunito', sans-serif);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }

  /* Fixed colour by design (TR-2677): the login button does not follow the branding. */
  .auth-primary {
    background: #1c3633;
    color: #ffffff;
    border: var(--border-width) solid #1c3633; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
  }

  .auth-primary:hover {
    background: color-mix(in srgb, #1c3633 88%, #ffffff);
  }

  .auth-secondary {
    margin-top: 0;
    background: #ffffff;
    color: #29413e;
    border: var(--border-width) solid #cac7c1; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
  }

  .auth-secondary:hover {
    background: color-mix(in srgb, #29413e 4%, #ffffff);
    border-color: color-mix(in srgb, #cac7c1 70%, #29413e);
  }

  /* Microsoft sign-in redline (TR-2812): colours, size and font are Microsoft's, not the branding. */
  /* The logo file has a 1px clear margin round its 19px mark, so 11px here shows as the redline's 12px. */
  .auth-secondary.auth-microsoft {
    height: 41px;
    gap: 11px;
    padding: 0 11px;
    color: #5e5e5e;
    border-color: #8c8c8c;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .auth-secondary.auth-microsoft img {
    display: block;
    flex: none;
  }

  .auth-secondary.auth-microsoft:hover {
    border-color: color-mix(in srgb, #8c8c8c 70%, #29413e);
  }

  .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: var(--text-14);
    color: #6b7280;
  }

  .auth-divider::before,
  .auth-divider::after {
    content: '';
    flex: 1;
    border-top: var(--border-width) solid #cac7c1; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
  }

  /* Same 20px above and below the chips, so they sit centred between the rule and the card edge. */
  .auth-rule {
    margin: 24px 0 20px;
    border: 0;
    border-top: var(--border-width) solid #cac7c1; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
  }

  .auth-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .auth-chip {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #ffffff;
    border: var(--border-width) solid #cac7c1; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    border-radius: var(--radius, 12px);
    font-size: var(--text-12);
    font-weight: 600;
    color: #29413e;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
  }

  .auth-chip:hover {
    background: color-mix(in srgb, #29413e 4%, #ffffff);
    border-color: color-mix(in srgb, #cac7c1 70%, #29413e);
  }

  .auth-logo:focus-visible,
  .auth-primary:focus-visible,
  .auth-secondary:focus-visible,
  .auth-chip:focus-visible {
    outline: var(--focus-width) solid #1c3633; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    outline-offset: var(--focus-offset);
  }

  .error,
  .success {
    padding: 12px;
    border-radius: var(--radius, 12px);
    margin-bottom: 20px;
    font-size: var(--text-14);
  }

  .error {
    background-color: #fee2e2;
    border: var(--border-width) solid #fca5a5; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    color: #991b1b;
  }

  .success {
    background-color: #d1fae5;
    border: var(--border-width) solid #6ee7b7; /* stylelint-disable-line color-no-hex -- colour unchanged; TR-2919 changed the size only */
    color: #065f46;
    font-weight: 500;
  }

  /* Toggled by the 2FA page script. */
  .hidden {
    display: none;
  }

  @media (max-width: 480px) {
    .auth-card {
      padding: 28px 20px 20px;
    }
  }
}
