/* Pagelane login theme: tokens and components from apps/web (index.css, tailwind preset).
   Light --red-fg, --amber-fg, --green-fg and --blue-fg are one step darker than the app's;
   alert text on its tinted background stays at 4.5:1 or more. */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree-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: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../fonts/figtree-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;
}

:root {
  --mark-navy: #17285c;
  --mark-yellow: #f8d72b;
  --mark-green: #18875c;
  --g2: 249 249 249;
  --g3: 240 240 240;
  --g6: 217 217 217;
  --g8: 187 187 187;
  --g9: 141 141 141;
  --g11: 100 100 100;
  --g12: 32 32 32;
  --a4: 223 228 246;
  --a9: 23 40 92;
  --a11: 45 66 144;
  --selection: 255 244 184;
  --bg: 255 255 255;
  --raised: 255 255 255;
  --line: 232 232 232;
  --green-bg: 230 246 235;
  --green-fg: 27 115 76;
  --amber-bg: 255 239 214;
  --amber-fg: 158 60 0;
  --red-bg: 255 233 233;
  --red-fg: 196 36 42;
  --blue-bg: 230 244 254;
  --blue-fg: 11 104 186;
  --paper: #f6f6f4;
  --sheet-ring: rgba(0, 0, 0, 0.035);
  --grid: rgba(32, 32, 32, 0.055);
  --grid-major: rgba(32, 32, 32, 0.09);
  --sheet-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--sheet-ring);
  --radius-control: 6px;
  --radius-card: 12px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mark-navy: #4a68c8;
    --g2: 25 25 25;
    --g3: 34 34 34;
    --g6: 58 58 58;
    --g8: 96 96 96;
    --g9: 138 138 138;
    --g11: 180 180 180;
    --g12: 238 238 238;
    --a4: 23 34 67;
    --a9: 74 104 200;
    --a11: 164 182 240;
    --selection: 53 44 8;
    --bg: 17 17 17;
    --raised: 25 25 25;
    --line: 42 42 42;
    --green-bg: 19 45 33;
    --green-fg: 61 214 140;
    --amber-bg: 51 30 11;
    --amber-fg: 255 160 87;
    --red-bg: 59 18 25;
    --red-fg: 255 149 146;
    --blue-bg: 13 40 71;
    --blue-fg: 112 184 255;
    --paper: #131312;
    --sheet-ring: rgba(255, 255, 255, 0.06);
    --grid: rgba(255, 255, 255, 0.05);
    --grid-major: rgba(255, 255, 255, 0.085);
    --sheet-shadow:
      0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--sheet-ring);
    color-scheme: dark;
  }
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--paper);
  color: rgb(var(--g12));
  font-family: Figtree, Inter, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgb(var(--selection));
}

/* Page: grid paper, wordmark, card, footnote. */
.pl-shell {
  position: relative;
  z-index: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size:
    120px 120px,
    120px 120px,
    24px 24px,
    24px 24px;
  background-position: -1px -1px;
}

@media (min-width: 700px) {
  .pl-shell {
    justify-content: center;
  }
}

.pl-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* The brand mark (apps/web BrandMark): a sheet lying on three divider tabs. */
.pl-mark {
  width: 25px;
  height: 28px;
  flex: none;
  overflow: visible;
}

/* Divider tabs peeking out from behind the card's right edge. */
.pl-tabs {
  position: absolute;
  z-index: -1;
  top: 44px;
  right: -22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pl-tabs i {
  display: block;
  width: 40px;
  height: 30px;
  border-radius: 0 7px 7px 0;
  box-shadow: 2px 2px 6px rgb(0 0 0 / 0.08);
}
.pl-tabs i:nth-child(1) {
  background: var(--mark-navy);
}
.pl-tabs i:nth-child(2) {
  background: var(--mark-yellow);
}
.pl-tabs i:nth-child(3) {
  background: var(--mark-green);
}

.pl-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  /* Tall enough to cover the divider tabs (44px top + 106px stack). */
  min-height: 172px;
  margin-top: 27px;
  padding: 40px 28px 28px;
  border-radius: var(--radius-card);
  background: rgb(var(--raised));
  box-shadow: var(--sheet-shadow);
}

/* The wordmark on the card's top edge, inside a long Pagelane bump (DESIGN.md, the bump). */
.pl-card .pl-wordmark {
  position: absolute;
  z-index: 0;
  top: -14px;
  left: 35px;
  height: 28px;
  margin: 0;
  gap: 16px;
  font-size: 20px;
  line-height: 1;
}
.pl-bump {
  position: absolute;
  z-index: -1;
  top: -13px;
  left: -23px;
  width: 171.17px;
  height: 28px;
  overflow: visible;
}
.pl-bump-fill {
  fill: rgb(var(--raised));
}
.pl-bump-ring {
  fill: none;
  stroke: var(--sheet-ring);
  stroke-width: 2;
}

.pl-footnote {
  margin: 24px 0 0;
  font-size: 12px;
  color: rgb(var(--g11));
}

.pl-footnote-link {
  margin-left: 8px;
  color: inherit;
  text-decoration: underline;
}

/* Card header. */
.pl-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.pl-lede {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgb(var(--g11));
}

.pl-lede b,
.pl-lede strong {
  font-weight: 700;
  color: rgb(var(--g12));
}

.pl-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 999px;
}
.pl-badge .pl-icon {
  width: 20px;
  height: 20px;
}
.pl-badge-green {
  background: rgb(var(--green-bg));
  color: rgb(var(--green-fg));
}
.pl-badge-red {
  background: rgb(var(--red-bg));
  color: rgb(var(--red-fg));
}
.pl-badge-blue {
  background: rgb(var(--blue-bg));
  color: rgb(var(--blue-fg));
}

.pl-who {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: rgb(var(--g11));
}
.pl-who-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
  color: rgb(var(--g12));
}

.pl-required-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgb(var(--g11));
}
.pl-required {
  color: rgb(var(--red-fg));
}

#kc-content > :first-child {
  margin-top: 24px;
}

/* Alerts. */
.pl-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 24px 0 0;
  padding: 8px 12px;
  border-radius: var(--radius-control);
  font-size: 13px;
  line-height: 1.45;
  background: rgb(var(--blue-bg));
  color: rgb(var(--blue-fg));
}
.pl-alert .pl-icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.pl-alert-error {
  background: rgb(var(--red-bg));
  color: rgb(var(--red-fg));
}
.pl-alert-warning {
  background: rgb(var(--amber-bg));
  color: rgb(var(--amber-fg));
}
.pl-alert-success {
  background: rgb(var(--green-bg));
  color: rgb(var(--green-fg));
}
.pl-alert + .pl-form,
.pl-alert + div,
.pl-alert + p {
  margin-top: 24px;
}

/* Form fields. */
.pl-form,
#kc-form {
  margin: 0;
}

.pl-group {
  margin-top: 16px;
}
.pl-group:first-child,
#kc-content > form > .pl-group:first-of-type {
  margin-top: 0;
}

.pl-label,
#kc-content label:not(.pl-check-label):not([class*='pl-check']) {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  color: rgb(var(--g11));
}

.pl-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.pl-label-link {
  margin-bottom: 4px;
  font-size: 12px;
}

.pl-input,
#kc-content
  :where(
    input[type='text'],
    input[type='email'],
    input[type='password'],
    input[type='tel'],
    input[type='number'],
    select,
    textarea
  ) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgb(var(--g6));
  border-radius: var(--radius-control);
  background: rgb(var(--raised));
  color: rgb(var(--g12));
  font: inherit;
  font-size: 13px;
  line-height: 20px;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}
#kc-content .pl-input:hover:not(:focus):not([aria-invalid='true']) {
  border-color: rgb(var(--g8));
}
.pl-input:focus,
#kc-content
  :where(
    input[type='text'],
    input[type='email'],
    input[type='password'],
    input[type='tel'],
    input[type='number'],
    select,
    textarea
  ):focus {
  border-color: rgb(var(--a9));
  box-shadow: 0 0 0 2px rgb(var(--a9) / 0.3);
}
#kc-content [aria-invalid='true'] {
  border-color: rgb(var(--red-fg));
  box-shadow: 0 0 0 2px rgb(var(--red-fg) / 0.2);
}
#kc-content [aria-invalid='true']:focus {
  border-color: rgb(var(--red-fg));
  box-shadow: 0 0 0 2px rgb(var(--red-fg) / 0.35);
}

.pl-input-group {
  position: relative;
}
.pl-input-group .pl-input {
  padding-right: 38px;
}

.pl-reveal {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgb(var(--g11));
  cursor: pointer;
}
.pl-reveal:hover {
  background: rgb(var(--g3));
  color: rgb(var(--g12));
}
.pl-reveal .pl-icon {
  width: 16px;
  height: 16px;
}

.pl-field-error,
#kc-content .kc-feedback-text,
#kc-content [id^='input-error'] {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgb(var(--red-fg));
}
.pl-field-error .pl-icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.pl-hint {
  margin-top: 6px;
  font-size: 12px;
  color: rgb(var(--g11));
}

.pl-settings,
.pl-options {
  font-size: 13px;
}

.pl-check-label,
#kc-content .checkbox label,
#kc-content .radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--g12));
  cursor: pointer;
}
.pl-check-input,
#kc-content input[type='checkbox'],
#kc-content input[type='radio'] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  accent-color: rgb(var(--a9));
}

/* Buttons and links. */
.pl-buttons,
#kc-form-buttons {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.pl-btn,
#kc-content input[type='submit'],
#kc-content button[type='submit']:not(.pl-link-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: rgb(var(--a9));
  color: #fff;
  transition: background-color 120ms ease;
}
.pl-btn-block {
  width: 100%;
}
.pl-btn-primary,
#kc-content input[type='submit'].pl-btn-primary {
  background: rgb(var(--a9));
  color: #fff;
}
.pl-btn-primary:hover {
  background: rgb(var(--a9) / 0.88);
}
.pl-btn-secondary,
#kc-content button[type='submit'].pl-btn-secondary,
#kc-content input[type='submit'].pl-btn-secondary {
  background: transparent;
  border-color: rgb(var(--g6));
  color: rgb(var(--g12));
}
.pl-btn-secondary:hover {
  background: rgb(var(--g2));
}
.pl-btn:disabled,
#kc-content input[type='submit']:disabled {
  opacity: 0.6;
  cursor: default;
}

.pl-link,
#kc-content a:not(.pl-btn) {
  color: rgb(var(--a11));
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}
.pl-link:hover,
#kc-content a:not(.pl-btn):hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pl-link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: rgb(var(--a11));
  cursor: pointer;
}
.pl-link-button:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pl-another-way {
  margin-top: 16px;
  text-align: center;
}

.pl-btn:focus-visible,
.pl-reveal:focus-visible,
.pl-link:focus-visible,
.pl-link-button:focus-visible,
.pl-check-input:focus-visible,
#kc-content a:focus-visible,
#kc-content input[type='submit']:focus-visible,
#kc-content button:focus-visible,
#kc-content input[type='checkbox']:focus-visible,
#kc-content input[type='radio']:focus-visible {
  outline: 2px solid rgb(var(--a9));
  outline-offset: 2px;
}

/* Secondary sections: registration info, identity providers, authenticator lists. */
.pl-info {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgb(var(--line));
  font-size: 13px;
  color: rgb(var(--g11));
  text-align: center;
}

.pl-social {
  margin-top: 20px;
}
.pl-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 12px;
  color: rgb(var(--g11));
}
.pl-divider::before,
.pl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgb(var(--line));
}
.pl-social-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pl-choice-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgb(var(--g6));
  border-radius: var(--radius-control);
  background: rgb(var(--raised));
  color: rgb(var(--g12));
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.pl-choice:hover {
  background: rgb(var(--g2));
}
.pl-choice-title {
  font-weight: 700;
}
.pl-choice-text {
  color: rgb(var(--g11));
}

.pl-codes {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-control);
  background: rgb(var(--g2));
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

#kc-content p,
#kc-content ul,
#kc-content ol {
  font-size: 13px;
}
#kc-content hr {
  border: 0;
  border-top: 1px solid rgb(var(--line));
  margin: 20px 0;
}
#kc-content h2 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}

/* Locale menu. */
.pl-locale {
  position: absolute;
  top: 16px;
  right: 16px;
}
.pl-locale-button {
  padding: 2px 8px;
  border: 1px solid rgb(var(--g6));
  border-radius: var(--radius-control);
  background: transparent;
  color: rgb(var(--g11));
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.pl-locale-list {
  position: absolute;
  right: 0;
  z-index: 10;
  display: none;
  min-width: 140px;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  border-radius: 8px;
  background: rgb(var(--raised));
  box-shadow: var(--sheet-shadow);
}
.pl-locale-button[aria-expanded='true'] + .pl-locale-list {
  display: block;
}
.pl-locale-item {
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: rgb(var(--g12));
  text-decoration: none;
}
.pl-locale-item:hover {
  background: rgb(var(--g3));
}

/* Icons: lucide outlines as masks in the current text colour. */
.pl-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.pl-icon-alert {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E");
}
.pl-icon-check {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.pl-icon-info {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}
.pl-icon-eye {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.pl-icon-eye-off {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49'/%3E%3Cpath d='M14.084 14.158a3 3 0 0 1-4.242-4.242'/%3E%3Cpath d='M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E");
}
.pl-icon-restart {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E");
}

/* Two-factor: the code prompt and the authenticator setup steps. */
.pl-code-input {
  font-size: 20px;
  letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums;
}
fieldset.pl-group {
  margin: 0;
  padding: 0;
  border: 0;
}
fieldset.pl-group legend {
  padding: 0;
}
#kc-content label.pl-device {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgb(var(--g12));
}
#kc-content label.pl-device:has(input:checked) {
  border-color: rgb(var(--a9));
  box-shadow: 0 0 0 1px rgb(var(--a9));
}
.pl-steps {
  display: grid;
  gap: 18px;
  margin: 24px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: pl-step;
}
.pl-steps > li {
  position: relative;
  padding-left: 34px;
  counter-increment: pl-step;
}
.pl-steps > li::before {
  content: counter(pl-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgb(var(--g3));
  color: rgb(var(--g12));
  font-size: 12px;
  font-weight: 700;
}
.pl-steps p {
  margin: 0;
}
.pl-step-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}
.pl-steps .pl-hint,
.pl-steps .pl-link {
  display: inline-block;
  margin-top: 4px;
}
.pl-qr {
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgb(var(--line));
  line-height: 0;
}
.pl-qr img {
  width: 168px;
  height: 168px;
  image-rendering: pixelated;
}
.pl-secret {
  margin-top: 8px !important;
  padding: 10px 12px;
  border-radius: var(--radius-control);
  background: rgb(var(--g3));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  word-break: break-all;
  user-select: all;
}
.pl-optional {
  font-weight: 600;
  color: rgb(var(--g11));
}

/* Phone: 16px inputs, iOS does not zoom on focus. */
@media (max-width: 480px) {
  .pl-shell {
    padding: 32px 16px;
  }
  .pl-card {
    padding: 40px 20px 24px;
  }
  .pl-tabs {
    right: -12px;
  }
  .pl-tabs i {
    width: 24px;
    height: 28px;
  }
  .pl-input,
  #kc-content :where(input[type='text'], input[type='email'], input[type='password']) {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Space between a lede and the button or form below it; last so it wins over component margins. */
.pl-after-lede {
  margin-top: 24px;
}
