/* VestaERP sign-in theme (sub-phase 1.11c). Tokens are the web app's (web/src/styles.css, ADR-055): dark is the
   default, light via [data-theme='light'] (set by vesta.js before first paint). Logical properties wherever the
   direction matters; no foreign assets — the font is served from this theme. */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn-variable.woff2') format('woff2-variations'), url('../fonts/vazirmatn-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0e0e10;
  --card: #1c1c1e;
  --card-2: #2c2c2e;
  --card-3: #3a3a3c;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.15);
  --ink: #f5f5f7;
  --ink-2: #98989d;
  --ink-3: #6e6e73;
  --field: #1c1c1f;
  --field-focus: #1c1c1e;
  --success: #30d158;
  --success-ink: #062a10;
  --success-soft: #16281f;
  --danger: #ff453a;
  --danger-soft: #30191a;
  --danger-ring: rgb(255 69 58 / 0.18);
  --warn: #d3982f;
  --warn-soft: #2e2414;
  --info: #6d9bf0;
  --info-soft: rgb(109 155 240 / 0.12);
  --tile-from: #3a3a3c;
  --tile-to: #242426;
  --shadow-tile: inset 0 0 0 1px rgb(255 255 255 / 0.07), 0 1px 2px rgb(0 0 0 / 0.4);
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f2f2f4;
  --card: #ffffff;
  --card-2: #e8e8ec;
  --card-3: #dcdce1;
  --line: rgb(0 0 0 / 0.08);
  --line-strong: rgb(0 0 0 / 0.15);
  --ink: #101315;
  --ink-2: #5a6367;
  --ink-3: #8a949a;
  --field: #e6e6e9;
  --field-focus: #ffffff;
  --success: #2e9d57;
  --success-ink: #ffffff;
  --success-soft: #e6f2ec;
  --danger: #d92d20;
  --danger-soft: #f8e7e5;
  --danger-ring: rgb(217 45 32 / 0.18);
  --warn: #a2650a;
  --warn-soft: #f6eddc;
  /* a shade darker than the app's #3b6fd4: links on #f2f2f4 need 4.5:1 */
  --info: #2f5fc4;
  --info-soft: rgb(59 111 212 / 0.1);
  --tile-from: #ffffff;
  --tile-to: #ececf0;
  --shadow-tile: inset 0 0 0 1px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--info) 35%, transparent); }
[hidden] { display: none !important; }

.v-sr {
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- page frame ---------- */

.v-page { min-block-size: 100dvh; display: flex; gap: 16px; padding: 16px; }

.v-main {
  flex: 1 1 520px; min-inline-size: 0;
  display: flex; flex-direction: column;
  padding-block: 8px; padding-inline: 24px 40px;
}

.v-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 44px; }
.v-top-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }

.v-brand-mini { display: none; align-items: center; gap: 10px; min-inline-size: 0; }
.v-brand-mini-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.v-locales { display: flex; gap: 2px; }
.v-locale {
  display: inline-flex; align-items: center; block-size: 36px; padding-inline: 10px; border-radius: 10px;
  color: var(--ink-2); font-size: 13px; text-decoration: none;
}
.v-locale:hover { background: var(--card-2); color: var(--ink); }

.v-icon-btn {
  inline-size: 44px; block-size: 44px; padding: 0; border: none; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.v-icon-btn:hover { background: var(--card-2); color: var(--ink); }
.v-icon-btn .v-ico-moon { display: none; }
:root[data-theme='light'] .v-icon-btn .v-ico-sun { display: none; }
:root[data-theme='light'] .v-icon-btn .v-ico-moon { display: inline-block; }

.v-center { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding-block: 28px; }
.v-col { inline-size: 100%; max-inline-size: 400px; margin-inline: auto; display: flex; flex-direction: column; gap: 22px; }

.v-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
  min-block-size: 32px; font-size: 12.5px; color: var(--ink-2);
}

/* the brand panel (wide screens) */
.v-panel {
  flex: 0 1 540px; min-inline-size: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 40px; border-radius: 28px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.v-brand { display: flex; align-items: center; gap: 14px; }
.v-brand-name { font-size: 22px; font-weight: 800; line-height: 1.35; }
.v-panel-body { display: flex; flex-direction: column; gap: 26px; }
.v-panel-title { margin: 0; max-inline-size: 380px; font-size: 30px; line-height: 1.4; font-weight: 800; letter-spacing: -0.01em; }
.v-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.v-point { display: flex; align-items: flex-start; gap: 14px; }
.v-point-text { display: flex; flex-direction: column; }
.v-point-text b { font-size: 15.5px; font-weight: 700; }
.v-point-text span { font-size: 14px; color: var(--ink-2); }
.v-panel-foot { font-size: 12.5px; color: var(--ink-2); }

.v-tile {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--tile-from), var(--tile-to));
  box-shadow: var(--shadow-tile); color: var(--ink); font-weight: 800;
}
.v-tile-sm { inline-size: 36px; block-size: 36px; border-radius: 11px; font-size: 17px; }
.v-tile-md { inline-size: 44px; block-size: 44px; border-radius: 13px; }
.v-tile-lg { inline-size: 56px; block-size: 56px; border-radius: 16px; font-size: 26px; }
.v-tint-info { color: var(--info); }
.v-tint-success { color: var(--success); }
.v-tint-warn { color: var(--warn); }

@media (max-width: 959px) {
  .v-page { padding: 0; }
  .v-panel { display: none; }
  .v-brand-mini { display: flex; }
  .v-main { padding: 12px 20px 16px; }
}

/* ---------- headings and text ---------- */

.v-head { display: flex; flex-direction: column; gap: 6px; }
.v-step-label { font-size: 13px; font-weight: 600; color: var(--info); }
.v-title { margin: 0; font-size: 28px; line-height: 1.35; font-weight: 800; letter-spacing: -0.01em; }
.v-subtitle { margin: 0; font-size: 15px; color: var(--ink-2); }

.v-note { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.v-col > .v-note { padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.v-center-text { text-align: center; }

.v-info, #kc-info-message .instruction { margin: 0; font-size: 13.5px; color: var(--ink-2); }
#kc-info-message { display: flex; flex-direction: column; gap: 14px; }
#kc-info-message p { margin: 0; }

.v-link, .v-col a:not(.v-btn):not(.v-locale) {
  color: var(--info); font-weight: 600; text-decoration: none; text-underline-offset: 3px;
}
.v-link:hover, .v-col a:not(.v-btn):not(.v-locale):hover { text-decoration: underline; }

.v-link-btn {
  padding: 0; border: none; background: transparent; cursor: pointer;
  color: var(--info); font: inherit; font-size: 14px; font-weight: 600;
}
.v-link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.v-another-way { margin: 0; text-align: center; }

/* ---------- forms ---------- */

.v-form { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.v-group { display: flex; flex-direction: column; gap: 6px; }
.v-label-wrap, .v-input-wrap { display: flex; flex-direction: column; gap: 6px; }
.v-label-wrap { flex-direction: row; align-items: baseline; gap: 4px; }
.v-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.v-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v-label-row .v-link { font-size: 13.5px; }
.v-hint { margin: 0; font-size: 13px; color: var(--ink-2); }
.v-field-error { margin: 0; font-size: 13px; color: var(--danger); }

.v-input {
  inline-size: 100%; block-size: 52px; padding-inline: 16px;
  border: none; outline: none; border-radius: 14px;
  background: var(--field); color: var(--ink);
  font: inherit; font-size: 17px;
  transition: box-shadow 0.15s, background-color 0.15s;
}
.v-input::placeholder { color: var(--ink-3); opacity: 1; }
.v-input:focus-visible {
  outline: none; background: var(--field-focus);
  box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 4px var(--line);
}
.v-input[aria-invalid='true'] { box-shadow: 0 0 0 1px var(--danger), 0 0 0 4px var(--danger-ring); }
[dir='rtl'] .v-input[dir='ltr'] { text-align: right; }
.v-input-mobile { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
.v-input-mobile::placeholder { font-weight: 500; }

.v-input-group { position: relative; }
[dir='rtl'] .v-input-secret { padding-left: 52px; padding-right: 16px; }
[dir='ltr'] .v-input-secret { padding-right: 52px; padding-left: 16px; }
.v-eye {
  position: absolute; inset-block-start: 4px; inset-inline-end: 4px;
  inline-size: 44px; block-size: 44px; padding: 0; border: none; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.v-eye:hover { color: var(--ink); }

.v-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer; }
.v-check input, .v-checkbox { inline-size: 18px; block-size: 18px; margin: 0; accent-color: var(--ink); }

.v-options, .v-options-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.v-setting { display: flex; flex-direction: column; gap: 14px; }
.v-buttons { display: flex; flex-direction: column; gap: 10px; }
.v-buttons-row { display: flex; gap: 10px; }
.v-buttons-row > * { flex: 1 1 0; }

/* buttons (the app's Button: primary = ink on bg) */
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  block-size: 44px; padding-inline: 16px; border: none; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--card-2); color: var(--ink);
  transition: background-color 0.15s, opacity 0.15s;
}
.v-btn-primary { background: var(--ink); color: var(--bg); }
.v-btn-primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--bg)); }
.v-btn-secondary:hover { background: var(--card-3); }
.v-btn-ghost { background: transparent; color: var(--ink-2); }
.v-btn-ghost:hover { background: var(--card-2); color: var(--ink); }
.v-btn-block { inline-size: 100%; }
.v-btn-lg { block-size: 52px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.v-btn:disabled, .v-btn[aria-disabled='true'] { opacity: 0.45; cursor: default; }
.v-form .v-btn-ghost { margin-block-start: -12px; }

/* alerts (Keycloak messages) */
.v-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 14px; font-size: 14px; color: var(--ink);
  background: var(--info-soft);
}
.v-alert > .v-ico { flex: none; margin-block-start: 1px; }
.v-alert-error { background: var(--danger-soft); }
.v-alert-error > .v-ico { color: var(--danger); }
.v-alert-success { background: var(--success-soft); }
.v-alert-success > .v-ico { color: var(--success); }
.v-alert-warning { background: var(--warn-soft); }
.v-alert-warning > .v-ico { color: var(--warn); }
.v-alert-info > .v-ico { color: var(--info); }

/* the account being signed in (later steps) */
.v-identity {
  display: flex; align-items: center; gap: 12px;
  padding-block: 8px; padding-inline: 10px 8px; border-radius: 14px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.v-identity-icon {
  flex: none; inline-size: 36px; block-size: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card-2); color: var(--ink-2);
}
.v-identity-name { flex: 1 1 auto; min-inline-size: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.02em; overflow: hidden; text-overflow: ellipsis; }
[dir='rtl'] .v-identity-name { text-align: right; }
.v-identity-change { display: inline-flex; align-items: center; block-size: 36px; padding-inline: 10px; border-radius: 10px; font-size: 14px; }

/* 6-digit code: vesta.js adds .is-boxes and the boxes; the real input lies over them, transparent */
.v-code { position: relative; }
.v-code-boxes { display: none; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.v-code.is-boxes .v-code-boxes { display: grid; }
.v-code.is-boxes .v-code-input {
  position: absolute; inset: 0; block-size: 100%; opacity: 0;
  caret-color: transparent; color: transparent; font-size: 16px; cursor: text;
}
.v-code:not(.is-boxes) .v-code-input { font-size: 22px; font-weight: 700; letter-spacing: 0.4em; text-align: center; }
.v-code-box {
  block-size: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--field); color: var(--ink); font-size: 24px; font-weight: 700;
}
.v-code-box.is-active { background: var(--field-focus); box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 5px var(--line); }
.v-code-box.is-caret::after {
  content: ''; inline-size: 2px; block-size: 24px; border-radius: 1px; background: var(--ink);
  animation: v-blink 1s steps(1) infinite;
}
.v-code.is-invalid .v-code-box:not(.is-filled) { box-shadow: 0 0 0 1px var(--danger); }
@keyframes v-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .v-code-box.is-caret::after { animation: none; } }

/* several authenticator devices */
.v-devices { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; gap: 8px; }
.v-devices legend { padding: 0; margin-block-end: 6px; }
.v-device {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 14.5px;
}
.v-device:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.v-device input { accent-color: var(--ink); margin: 0; }

/* new password: strength meter and rules */
.v-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-block-start: 4px; }
.v-meter span { block-size: 4px; border-radius: 2px; background: var(--card-2); transition: background-color 0.2s; }
.v-meter[data-score='1'] span:nth-child(-n + 1) { background: var(--danger); }
.v-meter[data-score='2'] span:nth-child(-n + 2) { background: var(--warn); }
.v-meter[data-score='3'] span:nth-child(-n + 3) { background: var(--success); }
.v-meter[data-score='4'] span { background: var(--success); }

.v-rules { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.v-rules li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); position: relative; }
.v-rule-dot {
  flex: none; inline-size: 20px; block-size: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--card-2);
}
.v-rules li.is-ok { color: var(--ink); }
.v-rules li.is-ok .v-rule-dot { background: var(--success); }
.v-rules li.is-ok .v-rule-dot::after {
  content: ''; inline-size: 12px; block-size: 12px; background: var(--success-ink);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}

/* other providers */
.v-social { display: flex; flex-direction: column; gap: 12px; }
.v-social-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.v-divider { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); }
.v-divider::before, .v-divider::after { content: ''; flex: 1; block-size: 1px; background: var(--line); }

/* base pages we did not rewrite: select-authenticator, TOTP setup, page expired */
.v-auth-list { display: flex; flex-direction: column; gap: 8px; }
.v-auth-item {
  display: flex; align-items: center; gap: 12px; inline-size: 100%; padding: 12px 14px; border: none; border-radius: 14px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; text-align: start; cursor: pointer;
}
.v-auth-item:hover { background: var(--card-2); }
.v-auth-body { flex: 1; display: flex; flex-direction: column; }
.v-auth-heading { font-weight: 700; }
.v-auth-desc { font-size: 13.5px; color: var(--ink-2); }
.control-label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.required { color: var(--danger); }
.v-input-wrap:has(> .control-label) { flex-direction: row; align-items: baseline; gap: 4px; }
#kc-totp-settings { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
#kc-totp-settings li p { margin: 0; }
#kc-totp-supported-apps { margin: 6px 0 0; padding-inline-start: 18px; color: var(--ink-2); }
#kc-totp-secret-qr-code { display: block; inline-size: 180px; block-size: 180px; padding: 10px; border-radius: 14px; background: #fff; margin-block-start: 8px; }
#kc-totp-secret-key { direction: ltr; unicode-bidi: isolate; font-family: ui-monospace, monospace; font-size: 14px; }

/* ---------- icons: stroke icons as masks (inline SVG, no icon font) ---------- */

:root {
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.v-ico {
  flex: none; display: inline-block; inline-size: 20px; block-size: 20px;
  background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.v-tile-md .v-ico { inline-size: 21px; block-size: 21px; }
.v-identity-icon .v-ico, .v-device .v-ico { inline-size: 18px; block-size: 18px; }
.v-ico-sun { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.v-ico-moon { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z'/%3E%3C/svg%3E"); }
.v-ico-eye { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.v-ico-eye-off { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6.5 9.5-6.5 9.5 6.5 9.5 6.5-3.5 6.5-9.5 6.5S2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E"); }
.v-ico-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.v-ico-users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.9-3.6 3.4-5.5 6.5-5.5s5.6 1.9 6.5 5.5M16 4.8a3.5 3.5 0 0 1 0 6.4M18 14.8c1.8.7 3 2.4 3.5 5.2'/%3E%3C/svg%3E"); }
.v-ico-lock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.v-ico-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.4-3.1 8.2-7.5 9.5-4.4-1.3-7.5-5.1-7.5-9.5V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.v-ico-error { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E"); }
.v-ico-warning { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2L2.6 17.5A2 2 0 0 0 4.3 20.5h15.4a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4M12 17h.01'/%3E%3C/svg%3E"); }
.v-ico-info { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.5h.01'/%3E%3C/svg%3E"); }
.v-ico-success { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E"); }
.v-ico-chevron { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E"); }
[dir='ltr'] .v-ico-chevron { transform: scaleX(-1); }

/* 10.17: the demo sign-in page — one account a button (name and role, a note under it) */
.v-form .v-btn.v-demo { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
  block-size: auto; min-block-size: 64px; padding: 12px 16px; margin: 0; text-align: start; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line-strong); color: var(--ink); }
.v-form .v-btn.v-demo:hover { background: var(--card-2); border-color: var(--info); }
.v-form .v-btn.v-demo b { font-size: 15px; font-weight: 700; }
.v-demo-note { font-size: 12.5px; font-weight: 400; color: var(--ink-2); }

/* 10.18: the error page of the sign-in path — the code in small type under the actions */
.v-problem-code { margin: 6px 0 0; font-size: 12px; color: var(--ink-2); text-align: center; }
