/* SalafiMate UI tokens (item 17 / R-133, UI guide 2026-11-01_1039). Generated from docs/ui-tokens.json:
   change the JSON and the guide first, then this file. Loaded first (straight after the vendor CSS) on member
   pages, admin and the support desk; every other stylesheet uses these var(--...) names. The only file allowed
   to hold hand-written hex colours and pixel sizes. */
:root{
  /* Colours: Sage & honey with pill set B (owner 11 Nov, R-259; UI design system v26, section 2) */
  --brand-700:#2F5D50;
  --brand-800:#24493F;
  --brand-900:#1F3D35; /* R-259: the admin and support desk sidebar */
  /* R-290 1 (owner 13 Nov): one colour per admin menu section, on --brand-900 only (each at least 4.5:1 on it) */
  --admin-sec-members:#8FC8F2;
  --admin-sec-introductions:#F2A6C8;
  --admin-sec-safety:#FF7676; /* owner 13 Nov: the nearest red to the approved one that reaches 4.5:1 */
  --admin-sec-support:#C4B2F2;
  --admin-sec-payments:#EEC46A;
  --admin-sec-messages:#7FD8CC;
  --admin-sec-site-content:#F5B47F;
  --admin-sec-logs:#C3CCC8;
  --admin-sec-settings:#CFE07A;
  --brand-200:#DDE9E2;
  --brand-100:#E6F0EA;
  --brand-400:#8FB5A6; /* R-482: the edge of info notices (a mid-tone of the brand green; 2.25:1 on white) */
  --ink-600:#6B675C; /* R-337: closed avatars, the neutral notice bar, quiet text on Find your account (5.65:1 on white) */
  --warning-600:#8A6420; /* R-337: the warning notice bar (it replaces the warning-400 border) */
  --honey-600:#A07423; /* R-337: "Mate" in the logo on light backgrounds (3.78:1 on cream, 4.19:1 on white) */
  --honey-500:#B7862E; /* R-259: "Mate" in the logo on light backgrounds; never small text */
  --honey-300:#D9A84E; /* strong honey pill, "Mate" on brand-900; honey-900 text on it, never white */
  --honey-900:#2A1D04;
  --logo-cream:#FFFDF8; /* R-265: "Salafi" in the logo on brand-900 / dark (palette prompt section 4); the logo only */
  --info-700:#2D5566; /* R-259 pill set B: slate teal information pills and notices */
  --info-100:#E2EDF1;
  --ink-900:#1F2A24;
  --ink-700:#4F574F;
  --ink-500:#5E675F;
  --ink-400:#8F897A;
  --placeholder:#6B675C;
  --line-300:#BDB3A0; /* R-337 (option A): the edge of cards and bars on the cream page (1.87:1 on cream, 2.08:1 on white) */
  --line-200:#E6DFD0;
  --line-100:#EFEADF;
  --surface-0:#FFFFFF;
  --surface-50:#F7F3EA;
  --success-700:#2F6B2F;
  --success-100:#E3F0D9;
  --success-400:#8FBF7F; /* R-482: the edge of success notices (2.12:1 on white) */
  --warning-800:#6E4A0C;
  --warning-400:#D9A84E; /* R-482: the edge of warning notices again (as before R-337; 2.17:1 on white) */
  --warning-100:#F6E8C8;
  --warning-50:#FCF6E8;
  --danger-700:#8F3A2A;
  --danger-800:#7A2F21;
  --danger-100:#F6E2DB;
  --danger-400:#D99A8A; /* R-482: the edge of error notices (2.35:1 on white) */
  /* Spacing: the 4px scale (never 6, 10, 14 or 18) */
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  --space-4:16px;
  --space-5:20px;
  --space-6:24px;
  --space-8:32px;
  --space-12:48px;
  /* Radius */
  --radius-xs:4px;
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --radius-pill:999px;
  /* Sizes */
  --control-h:48px;
  --control-h-sm:40px;
  --header-h:68px;
  --width-form:560px;
  --width-read:720px;
  --width-page:1120px;
  --width-admin:1280px;
  /* Shadows and focus */
  --shadow-dialog:0 20px 60px rgba(0,0,0,0.25);
  --focus-ring:0 0 0 2px #FFFFFF, 0 0 0 4px #2F5D50;
  /* Type */
  --font-sans:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:ui-monospace, Menlo, Consolas, monospace;
}

/* Type styles: the nine styles, nothing smaller than 13px. Prefixed sm- because Bootstrap and the vendor themes
   already use .small, .body and .page-title for other things. */
.sm-page-title{font-family:var(--font-sans);font-size:32px;line-height:40px;font-weight:800;letter-spacing:-0.01em}
.sm-section-title{font-family:var(--font-sans);font-size:22px;line-height:28px;font-weight:800}
.sm-card-title{font-family:var(--font-sans);font-size:18px;line-height:24px;font-weight:700}
.sm-name-title{font-family:var(--font-sans);font-size:24px;line-height:30px;font-weight:800}
.sm-body{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:400}
.sm-body-strong{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:600}
.sm-button-text{font-family:var(--font-sans);font-size:16px;line-height:20px;font-weight:700}
.sm-small{font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:400}
.sm-caption{font-family:var(--font-sans);font-size:13px;line-height:18px;font-weight:600}
@media (max-width:599.98px){.sm-page-title{font-size:26px;line-height:32px}.sm-section-title{font-size:20px;line-height:26px}}
.sm-page-title,.sm-section-title,.sm-card-title,.sm-name-title,.sm-body,.sm-body-strong{color:var(--ink-900)}
.sm-small{color:var(--ink-500)}

/* Spacing utilities: the gap belongs to the parent (flex column / row), never to margins on the children. */
.sm-stack-2{display:flex;flex-direction:column;gap:var(--space-2)}
.sm-stack-3{display:flex;flex-direction:column;gap:var(--space-3)}
.sm-stack-4{display:flex;flex-direction:column;gap:var(--space-4)}
.sm-stack-5{display:flex;flex-direction:column;gap:var(--space-5)}
.sm-stack-6{display:flex;flex-direction:column;gap:var(--space-6)}
.sm-stack-8{display:flex;flex-direction:column;gap:var(--space-8)}
.sm-stack-2>*,.sm-stack-3>*,.sm-stack-4>*,.sm-stack-5>*,.sm-stack-6>*,.sm-stack-8>*{margin-top:0;margin-bottom:0}
.sm-row-2{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}
.sm-row-3{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3)}
.sm-row-2>*,.sm-row-3>*{margin-left:0;margin-right:0}

/* ---- Fields and buttons beside them (R-126 item 6, folded in from sm-fields.css; item 17) ----
   Every box is fully rounded. A button or label beside a box (Show, Verify, Remove, Add, a unit) is a separate,
   fully rounded piece 8px away (space-2): never joined to the box, never half-rounded. Field borders ink-400. */
.form-control,.custom-select,select.form-control{border-radius:var(--radius-md)!important;border-color:var(--ink-400)}
.form-control.is-invalid,.custom-select.is-invalid{border-color:var(--danger-700)}
.input-group{flex-wrap:nowrap;gap:var(--space-2)}
.input-group>*{margin-left:0!important;margin-right:0!important}
.input-group>.otp-proxy-hidden{position:absolute!important} /* the hidden code proxy takes no slot */
.input-group>.form-control,.input-group>.custom-select,.input-group>.custom-file,.input-group>select,
.input-group>.btn,.input-group>.bootstrap-select>.dropdown-toggle,
.input-group>.input-group-prepend>.btn,.input-group>.input-group-append>.btn,
.input-group>.input-group-prepend>.input-group-text,.input-group>.input-group-append>.input-group-text{border-radius:var(--radius-md)!important}
.input-group>.input-group-prepend>*,.input-group>.input-group-append>*{margin:0!important}
.input-group>.input-group-prepend,.input-group>.input-group-append{display:flex;gap:var(--space-2)}
/* Date of birth: Month gets the wider share so "Month" and the month names are not cut at 390px. */
.d-flex>#dob_day{flex:0 0 72px}.d-flex>#dob_year{flex:0 0 84px}.d-flex>#dob_month{flex:1 1 auto;min-width:0}
#dob_day,#dob_month,#dob_year{padding-left:var(--space-3)!important;padding-right:32px!important;background-position:right var(--space-3) center!important}

/* One phone field everywhere (R-126 item 8 / R-110): a compact flag-and-code button and the number box taking the
   rest of the width; the button opens a searchable list (a sheet on phones). */
.sm-phone{position:relative;display:flex;gap:var(--space-2);align-items:stretch;flex:1 1 auto;min-width:0}
.input-group>.sm-phone{flex:1 1 auto;min-width:0}
.sm-phone-native{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;opacity:0;pointer-events:none;overflow:hidden}
.sm-phone-cc{flex:0 0 auto;min-width:96px;height:var(--control-h);display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);padding:0 var(--space-3);border:1px solid var(--ink-400);border-radius:var(--radius-md);background:var(--surface-0);color:var(--ink-900);font-size:16px;font-weight:600;line-height:1}
.sm-phone-cc::after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:var(--space-1)}
.sm-phone-cc:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.sm-phone-cc:disabled{background:var(--surface-50);color:var(--ink-500)}
.sm-phone-flag{display:inline-flex;align-items:center;justify-content:center;min-width:20px;font-size:13px;font-weight:700;color:var(--ink-500)}
.sm-phone-flag img{width:20px;height:15px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.sm-phone>.form-control{flex:1 1 auto;min-width:0}
.sm-phone-panel{position:absolute;z-index:1060;top:calc(100% + var(--space-2));left:0;width:min(360px,100%);max-height:360px;display:flex;flex-direction:column;background:var(--surface-0);border:1px solid var(--line-200);border-radius:var(--radius-md);box-shadow:var(--shadow-dialog);padding:var(--space-2)}
.sm-phone-panel[hidden]{display:none}
.sm-phone-panel-head{display:none}
.sm-phone-search{flex:0 0 auto;margin-bottom:var(--space-2)}
.sm-phone-list{list-style:none;margin:0;padding:0;overflow-y:auto;flex:1 1 auto}
.sm-phone-list [role=option]{display:flex;align-items:center;gap:var(--space-3);min-height:44px;padding:0 var(--space-3);border-radius:var(--radius-sm);cursor:pointer}
.sm-phone-list [role=option][hidden]{display:none}
.sm-phone-list [role=option].is-active,.sm-phone-list [role=option]:hover{background:var(--brand-100)}
.sm-phone-list [role=option][aria-selected=true]{font-weight:700}
.sm-phone-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-phone-code{color:var(--ink-500);flex:0 0 auto}
@media (max-width:767.98px){
.sm-phone-panel{position:fixed;inset:0;width:auto;max-height:none;border:0;border-radius:0;z-index:1090;padding:var(--space-2) var(--space-4) var(--space-4);box-shadow:none}
.sm-phone-panel-head{display:flex;align-items:center;justify-content:space-between;min-height:52px}
.sm-phone-panel-title{font-size:18px;font-weight:700}
.sm-phone-done{min-height:44px;font-weight:700}
html.sm-phone-open,html.sm-phone-open body{overflow:hidden}
}
/* A card that clips its content (the wizard card) lets the open country list show in full. */
.card:has(.sm-phone.is-open),.sm-wizard .card:has(.sm-phone.is-open){overflow:visible!important}

/* ---- Components (item 17 step 3, UI guide sections 4-7). Built for Change password first; other pages adopt
   them page group by page group. ---- */
/* Page widths and the page stack (title -> content 24px) */
.sm-page{display:flex;flex-direction:column;gap:var(--space-6)}
.sm-page-form{width:100%;max-width:var(--width-form);margin-left:auto;margin-right:auto}
.sm-page>*,.sm-card>*{margin-top:0;margin-bottom:0}
/* Card: surface-0, 1px line-200, 16px radius, no shadow; padding 20 phone / 24 desktop */
.sm-card{background:var(--surface-0);border:1px solid var(--line-200);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:none}
@media (min-width:600px){.sm-card{padding:var(--space-6)}}
/* Form: field groups 20px apart, then 24px to the buttons */
.sm-form{display:flex;flex-direction:column;gap:var(--space-6)}
.sm-form-fields{display:flex;flex-direction:column;gap:var(--space-5)}
.sm-field{display:flex;flex-direction:column;gap:var(--space-2);margin:0}
.sm-field>label,.sm-field-label{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:600;color:var(--ink-900);margin:0}
.sm-req{color:var(--danger-700)}
.sm-field .form-control{height:var(--control-h);padding:0 var(--space-4);font-size:16px;line-height:24px;color:var(--ink-900);background:var(--surface-0);border:1px solid var(--ink-400);border-radius:var(--radius-md)}
.sm-field .form-control:focus{border-color:var(--brand-700);box-shadow:var(--focus-ring)}
.sm-field .form-control.is-invalid{border-color:var(--danger-700)}
.sm-hint{font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:400;color:var(--ink-500);margin:0}
.sm-error{font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:400;color:var(--danger-700);margin:0}
.sm-error::before{content:'\26A0';margin-right:var(--space-1)}
.sm-field .input-group{flex-wrap:nowrap;gap:var(--space-2)}
/* Buttons: 48px, 12px radius, 24px side padding, button text; full width when they end a form on phones */
.sm-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-h);height:var(--control-h);padding:0 var(--space-6);border-radius:var(--radius-md)!important;font-family:var(--font-sans);font-size:16px;line-height:20px;font-weight:700;text-decoration:none;white-space:nowrap}
.sm-button:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.sm-button-primary{background:var(--brand-700);border:1px solid var(--brand-700);color:var(--surface-0)}
.sm-button-primary:hover,.sm-button-primary:active{background:var(--brand-800);border-color:var(--brand-800);color:var(--surface-0)}
.sm-button-secondary{background:var(--surface-0);border:1px solid var(--brand-700);color:var(--brand-700)}
.sm-button-secondary:hover,.sm-button-secondary:active{background:var(--brand-200);border-color:var(--brand-700);color:var(--brand-700)}
/* R-268 (owner 12 Nov): the destructive secondary button, for Delete, Remove, Block, Suspend and the like: white, danger-700 border
   and text, danger-100 on hover, the usual focus ring. On .btn too, so admin buttons keep their own size. */
.sm-button-destructive,.btn.sm-button-destructive{background:var(--surface-0);border:1px solid var(--danger-700);color:var(--danger-700)}
.sm-button-destructive:hover,.sm-button-destructive:active,.btn.sm-button-destructive:hover,.btn.sm-button-destructive:active{background:var(--danger-100);border-color:var(--danger-700);color:var(--danger-700)}
.sm-button-destructive:focus-visible,.btn.sm-button-destructive:focus-visible,.btn.sm-button-secondary:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.sm-button-destructive:disabled,.sm-button-destructive.disabled,.btn.sm-button-destructive:disabled{opacity:1;background:var(--surface-50);border-color:var(--line-200);color:var(--ink-500);cursor:not-allowed}
.btn.sm-button-secondary{background:var(--surface-0);border:1px solid var(--brand-700);color:var(--brand-700)}
.btn.sm-button-secondary:hover,.btn.sm-button-secondary:active{background:var(--brand-200);border-color:var(--brand-700);color:var(--brand-700)}
.sm-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}
@media (max-width:599.98px){.sm-actions>.sm-button-primary{width:100%}}
/* Notices: 16px padding, 12px radius; icon 8px before the text; text -> button 16px; the next thing 24px below */
.sm-notice{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-4);padding:var(--space-4);border-radius:var(--radius-md);font-family:var(--font-sans);font-size:16px;line-height:24px;color:var(--ink-900)}
.sm-notice-text{display:flex;gap:var(--space-2);align-items:flex-start;margin:0}
.sm-notice-icon{flex:none;line-height:24px}
.sm-notice-warning{background:var(--warning-50);border:1px solid var(--warning-400)} /* R-482: no left bar; the warning-400 edge all round again (R-337 5 undone) */
.sm-notice-warning .sm-notice-icon{color:var(--warning-800)}
.sm-notice-page{margin-bottom:var(--space-6)} /* the notice above a page's content (member panel); see the report */
.sm-notice-page:has(+ .sm-page-form){width:100%;max-width:var(--width-form);margin-left:auto;margin-right:auto} /* a form page: the notice lines up with the 560px form */
.sm-panel-section{padding-top:var(--space-8);padding-bottom:var(--space-12)} /* member pages: header -> 32 -> page; page -> 48 -> footer */

/* R-139 (owner 1 Nov): toggle switch (UI guide section 5, "Toggle switches"). One component for member pages,
   admin and the support desk: partials/sm_toggle.blade.php + js/sm/toggle.js. A 52 x 32 pill: on = success-700
   with a white tick, off = ink-400 (3.5:1 on white); white 26px knob; 44px tap area; focus ring; instant with
   reduced motion. Only for settings that take effect straight away. */
.sm-toggle-wrap{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:var(--space-3);vertical-align:middle} /* "Saved" 12px to the switch's left (Item 19) */
@media (max-width:599.98px){.sm-toggle-wrap{flex-direction:column;align-items:flex-end;gap:var(--space-1)}}
.sm-toggle{position:relative;flex:none;display:inline-block;width:52px;height:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:var(--radius-pill);background:var(--ink-400);cursor:pointer;vertical-align:middle;transition:background-color .15s ease;-webkit-tap-highlight-color:transparent}
.sm-toggle::before{content:"";position:absolute;top:-6px;bottom:-6px;left:0;right:0} /* 44px tall tap area */
.sm-toggle-knob{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:var(--surface-0);box-shadow:0 1px 3px rgba(0,0,0,0.25);transition:transform .15s ease;pointer-events:none}
.sm-toggle-tick{position:absolute;top:8px;left:5px;width:16px;height:16px;fill:none;stroke:var(--surface-0);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .15s ease;pointer-events:none}
.sm-toggle[aria-checked="true"]{background:var(--success-700)}
.sm-toggle[aria-checked="true"] .sm-toggle-knob{transform:translateX(20px)}
.sm-toggle[aria-checked="true"] .sm-toggle-tick{opacity:1}
.sm-toggle:focus{outline:none}
.sm-toggle:focus:not(:focus-visible),.sm-toggle.sm-toggle-pointer:focus-visible{box-shadow:none} /* the ring is for keyboard focus only (Item 19) */
.sm-toggle:focus-visible{outline:none;box-shadow:var(--focus-ring)}
.sm-toggle[aria-busy="true"]{cursor:progress}
.sm-toggle:disabled{opacity:.5;cursor:not-allowed}
.sm-toggle-msg{font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:700;border-radius:var(--radius-pill);padding:2px var(--space-3);background:var(--success-100);color:var(--success-700)}
.sm-toggle-msg:empty{display:none}
.sm-toggle-msg.is-error{background:var(--danger-100);color:var(--danger-800);font-weight:600}
@media (prefers-reduced-motion:reduce){.sm-toggle,.sm-toggle-knob,.sm-toggle-tick{transition:none}}
/* The confirm dialog the big switches open (native <dialog>) */
.sm-dialog{width:calc(100% - 2 * var(--space-4));max-width:440px;padding:var(--space-6);border:0;border-radius:var(--radius-lg);background:var(--surface-0);color:var(--ink-900);box-shadow:var(--shadow-dialog);font-family:var(--font-sans)}
.sm-dialog::backdrop{background:rgba(31,42,36,0.5)}
.sm-dialog-q{margin:0 0 var(--space-6);font-size:16px;line-height:24px;color:var(--ink-900)}
.sm-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-3)}
@media (max-width:599.98px){.sm-dialog-actions{flex-direction:column-reverse}.sm-dialog-actions>.sm-button{width:100%}}
/* A settings row with a switch: the label and hint on the left, the switch on the right */
.sm-toggle-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:var(--space-4);row-gap:var(--space-2);min-height:56px}
.sm-toggle-row-text{flex:1 1 200px;display:flex;flex-direction:column;gap:var(--space-1);min-width:0}
.sm-toggle-row-label{font-family:var(--font-sans);font-size:16px;line-height:24px;font-weight:600;color:var(--ink-900);margin:0}
.sm-toggle-row-hint{font-family:var(--font-sans);font-size:14px;line-height:20px;color:var(--ink-500);margin:0}
.sm-toggle-row .sm-toggle-wrap{flex:none}
/* Item 19: a failed save is an error line under the row's hint, full width (never a red pill beside the switch) */
.sm-toggle-error{flex-basis:100%;order:4;margin:0;font-family:var(--font-sans);font-size:14px;line-height:20px;color:var(--danger-700)}
.sm-toggle-error::before{content:'\26A0';margin-right:var(--space-1)}
/* A list of switch rows (admin General settings): rows 12px top and bottom, hairlines between rows */
.sm-toggle-list{display:flex;flex-direction:column}
.sm-toggle-list > .sm-toggle-row{padding:var(--space-3) 0}
.sm-toggle-list > .sm-toggle-row + .sm-toggle-row{border-top:1px solid var(--line-100)}
.sm-toggle-list > .sm-toggle-list-notice{margin:var(--space-3) 0}
.sm-toggle-row-link a,.sm-toggle-list-notice a{color:var(--brand-700);text-decoration:underline;font-weight:600}

/* Legacy names (read only; Item 42 B / T2.2). The older --sm-* colour names (T-536), kept so existing rules
   still work, each pointing at its guide token. Defined here only: not in sm-design.css or the sm_tokens partial.
   New CSS uses the guide's names; Item42TokensT2Test fails if a --sm- colour name is defined anywhere else. */
:root{
  --sm-primary:var(--brand-700); --sm-primary-hover:var(--brand-800); --sm-ink:var(--ink-900);
  --sm-ink-2:var(--ink-700); --sm-muted:var(--ink-500); --sm-placeholder:var(--placeholder);
  --sm-page:var(--surface-50); --sm-surface:var(--surface-0); --sm-line:var(--line-200);
  --sm-line-soft:var(--line-100); --sm-field-border:var(--ink-400); --sm-tint:var(--brand-100);
  --sm-track:var(--line-200); --sm-neutral:var(--line-100); --sm-disabled-line:var(--line-200);
  --sm-disabled-ink:var(--ink-700); --sm-success:var(--success-700); --sm-success-tint:var(--success-100);
  --sm-error:var(--danger-700); --sm-error-tint:var(--danger-100); --sm-error-ink:var(--danger-700);
  --sm-warn-ink:var(--warning-800); --sm-warn-tint:var(--warning-100); --sm-attention-line:var(--warning-400);
  --sm-attention-fill:var(--warning-50);
}
/* R-231 (owner, after the pilot): a thin soft-grey envelope (email) or padlock (password) inside the box on the left, no divider.
   Revised (owner 9 Nov, sign-in form fixes): the icon is its own element (frontend.partials.sm_field_icon, an inline SVG,
   aria-hidden, clicks pass through) laid over the box, not the input's background, which Chrome's and Safari's autofill
   colouring painted over. The label says what the box is; the eye stays on the right. */
.sm-ico-field{position:relative;display:block}
.input-group>.sm-ico-field{flex:1 1 auto;width:1%;min-width:0}
.sm-ico-field>.sm-ico{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--ink-400);pointer-events:none;z-index:4}
.form-control.sm-ico-mail,.form-control.sm-ico-lock{padding-left:44px}
.form-control.sm-ico-mail.is-invalid,.form-control.sm-ico-lock.is-invalid{padding-left:44px;background-image:none}
/* end R-231 */
/* Autofill (owner 9 Nov): a box the browser fills in stays white like every other box, with the same text colour. Chrome and Safari
   paint their own background on :-webkit-autofill (with !important), so a white inset shadow covers it; the focus ring is kept. */
input.form-control:-webkit-autofill,input.form-control:-webkit-autofill:hover,input.form-control:-webkit-autofill:active{-webkit-box-shadow:0 0 0 1000px var(--surface-0) inset;box-shadow:0 0 0 1000px var(--surface-0) inset;-webkit-text-fill-color:var(--ink-900);caret-color:var(--ink-900)}
input.form-control:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--surface-0) inset,var(--focus-ring);box-shadow:0 0 0 1000px var(--surface-0) inset,var(--focus-ring);-webkit-text-fill-color:var(--ink-900)}
/* end autofill */
/* One font (owner 9 Nov): the admin, the staff sign-in and two-step pages (admin blank layout) and the support desk use the member site's Plus Jakarta Sans, self-hosted (OFL-1.1, ../fonts/plus-jakarta-sans/OFL.txt),
   in place of the vendor's Google font. Icon fonts (Line Awesome) are unchanged. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-display:swap;font-weight:200 800;
  src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations'),url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-display:swap;font-weight:200 800;
  src:url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'),url('../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* sm-tokens.css is loaded by every layout (member, admin, admin blank, support desk), so the font is set once, here */
body,.aiz-main-wrapper,.aiz-sidebar,.aiz-topbar,.modal,.dropdown-menu,.popover,.tooltip,.btn,input,select,textarea,button{font-family:var(--font-sans)}
/* R-247 / owner 9 Nov (C): the shared pencil before "Edit" / "Change" on member-facing edit links (partials/sm_pencil):
   one size (16 px), the link's own colour, 8 px before the word, centred on the text line. */
.sm-pencil{display:inline-block;width:16px;height:16px;flex:0 0 16px;margin-right:8px;vertical-align:-2px;color:currentColor}
.sm-pencil-link{display:inline-flex;align-items:center}
.sm-pencil-link .sm-pencil{vertical-align:0}
.btn.sm-pencil-link{display:inline-flex;align-items:center;justify-content:center}

/* R-267 (owner 12 Nov, finding 2): every icon-only button (edit, delete, view, close ...) on the admin, the support desk
   and the member pages is one size: 40 x 40 (44 on member pages, the touch size, in sm-design.css), the icon 18 px and
   centred, in every state; its word is in aria-label and shown as a tooltip (js/sm/icon_tips.js). The icon is
   at least 3:1 on its button: the design system's tint pairs at rest, the solid colour with white on hover and focus. */
.sm-icon-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none;box-sizing:border-box;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;font-size:18px!important;line-height:1!important;vertical-align:middle;border-radius:var(--radius-md)!important;opacity:1!important;text-decoration:none!important;box-shadow:none}
.sm-icon-btn[hidden]{display:none!important}
.aiz-topbar .sm-icon-btn{align-self:center!important}
.sm-icon-btn>i,.sm-icon-btn>svg,.sm-icon-btn .las,.sm-icon-btn .la{font-size:18px!important;width:18px!important;height:18px!important;line-height:18px!important;margin:0!important;display:block;text-align:center}
.sm-icon-btn .btn-icon{width:auto!important;height:auto!important;min-height:0!important;padding:0!important;background:transparent!important;display:inline-flex;align-items:center;justify-content:center}
.sm-icon-btn.btn-soft-primary{background:var(--brand-100)!important;color:var(--brand-700)!important;border:0!important}
.sm-icon-btn.btn-soft-info{background:var(--info-100)!important;color:var(--info-700)!important;border:0!important}
.sm-icon-btn.btn-soft-success{background:var(--success-100)!important;color:var(--success-700)!important;border:0!important}
.sm-icon-btn.btn-soft-warning{background:var(--warning-100)!important;color:var(--warning-800)!important;border:0!important}
.sm-icon-btn.btn-soft-danger{background:var(--danger-100)!important;color:var(--danger-700)!important;border:0!important}
.sm-icon-btn.btn-soft-secondary,.sm-icon-btn.btn-soft-dark,.sm-icon-btn.btn-light,.sm-icon-btn.btn-secondary{background:var(--surface-50)!important;color:var(--ink-700)!important;border:1px solid var(--ink-400)!important}
.sm-icon-btn.close,.sm-icon-btn.sm-ma-toggle,.sm-icon-btn.dropdown-link,.sm-icon-btn.sm-icon-btn-plain{background:transparent!important;color:var(--ink-700)!important;border:0!important;text-shadow:none!important;float:none;margin-left:auto}
.sm-icon-btn.btn-soft-primary:hover,.sm-icon-btn.btn-soft-primary:focus-visible{background:var(--brand-700)!important;color:var(--surface-0)!important}
.sm-icon-btn.btn-soft-info:hover,.sm-icon-btn.btn-soft-info:focus-visible{background:var(--info-700)!important;color:var(--surface-0)!important}
.sm-icon-btn.btn-soft-success:hover,.sm-icon-btn.btn-soft-success:focus-visible{background:var(--success-700)!important;color:var(--surface-0)!important}
.sm-icon-btn.btn-soft-warning:hover,.sm-icon-btn.btn-soft-warning:focus-visible{background:var(--warning-800)!important;color:var(--surface-0)!important}
.sm-icon-btn.btn-soft-danger:hover,.sm-icon-btn.btn-soft-danger:focus-visible{background:var(--danger-700)!important;color:var(--surface-0)!important}
.sm-icon-btn.btn-soft-secondary:hover,.sm-icon-btn.btn-soft-dark:hover,.sm-icon-btn.btn-light:hover,.sm-icon-btn.btn-secondary:hover,.sm-icon-btn.btn-soft-secondary:focus-visible,.sm-icon-btn.btn-soft-dark:focus-visible,.sm-icon-btn.btn-light:focus-visible,.sm-icon-btn.btn-secondary:focus-visible{background:var(--ink-700)!important;color:var(--surface-0)!important;border-color:var(--ink-700)!important}
.sm-icon-btn.close:hover,.sm-icon-btn.sm-ma-toggle:hover,.sm-icon-btn.dropdown-link:hover,.sm-icon-btn.sm-icon-btn-plain:hover,.sm-icon-btn.close:focus-visible,.sm-icon-btn.sm-ma-toggle:focus-visible,.sm-icon-btn.dropdown-link:focus-visible,.sm-icon-btn.sm-icon-btn-plain:focus-visible{background:var(--line-100)!important;color:var(--ink-900)!important}
.sm-icon-btn:focus-visible{outline:2px solid var(--brand-700)!important;outline-offset:2px}
.sm-icon-btn:disabled,.sm-icon-btn.disabled,.sm-icon-btn[aria-disabled="true"]{background:var(--surface-50)!important;color:var(--ink-500)!important;border:1px solid var(--line-200)!important;cursor:not-allowed}
.modal-header .sm-icon-btn.close{font-size:0!important;margin:0 0 0 auto!important}
.modal-header .sm-icon-btn.close::before{font-size:18px!important;line-height:1!important;width:18px;text-align:center}
.modal-header .sm-icon-btn.close>span{display:none}
.sm-icon-actions{white-space:nowrap;text-align:right!important;font-size:0!important}
.sm-icon-actions>*{font-size:14px}
.sm-icon-actions::before{font-size:14px}
.sm-icon-actions>*+*{margin-left:8px!important}
.sm-icon-actions>form{display:inline-block;margin-top:0;margin-bottom:0}
.sm-tip{position:fixed;z-index:3000;pointer-events:none;background:var(--ink-900);color:var(--surface-0);font-size:13px;line-height:18px;font-weight:600;padding:4px 8px;border-radius:var(--radius-sm);white-space:nowrap}
/* R-281 4c (owner 12 Nov): on a phone these links are at least 44px tall to tap (they were 30–40px; WCAG 2.5.5).
   The footer's legal links, the legal pages' Contents, the names on Likes, and the sign-up Help link's width at 360px.
   "body" so it wins over the earlier sizes in sm-design.css, which loads after this file. */
@media (max-width:575.98px){body #footer-legal-links a{min-height:44px}body #legal-contents ul li a{min-height:44px}body .sm-like-name a{min-height:44px;padding:var(--space-3) 0}body #wizard-help{min-width:44px}}

/* R-287 1 (owner 12 Nov, again 13 Nov): every button's text sits in the vertical middle, whatever height a page gives it
   (admin buttons are 40px or 48px tall; Bootstrap's .btn is inline-block, so the extra height went under the text).
   One rule for the whole site: this file is loaded on member, admin and support desk pages, after the vendor CSS. */
.btn{display:inline-flex;align-items:center;justify-content:center;column-gap:.3em}
.btn.btn-block{display:flex}
