@charset "UTF-8";
/* Mivare Sites authentication — one isolated visual system. */
:root {
  --mw-font-family: Manrope, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --mw-font-helper: 100;
  --mw-font-body: 200;
  --mw-font-title: 400;
  --mw-font-emphasis: 500;
  --auth-text: #f8f6f4;
  --auth-muted: rgba(242,238,235,0.67);
  --auth-line: rgba(241,235,229,0.2);
  --auth-line-active: rgba(203,170,142,0.78);
  --auth-panel: rgba(26, 16, 10, 0.9);
  /* Ramka autoryzacji: jeden promien dla karty i karty odpowiedzi. */
  --auth-card-radius: 8px;
  /* Szerokosc karty jest tokenem, bo ekrany roznia sie dlugoscia formularza:
     logowanie jest krotkie, rejestracja dluga. Ekran nadpisuje TOKEN, nie regule. */
  --auth-card-width: 760px;
  /* Wciecie tekstu w polu. Pole z ikona i pole z przyciskiem podgladu haslaa
     zmieniaja TOKEN, a nie regule z paddingiem - skrot `padding` w regule
     bazowej ma wyzsza specyficznosc niz selektor pojedynczego pola i zjadal
     kazdy `padding-left` dopisany nizej. Efekt: tekst wjezdzal pod ikone. */
  --auth-field-start: 17px;
  --auth-field-end: 17px;
  /* Odsuniecie ikony od krawedzi pola. Tez token, bo w waskim ukladzie pole
     traci ramke i ikona siada przy samej krawedzi - to jedna zmiana, a nie
     druga regula z `left`. */
  --auth-field-icon-x: 17px;
  --auth-input: rgba(0, 0, 0, 0.34);
  --auth-button: #955a36;
  --auth-button-hover: #78472b;
  --auth-early: #d13b4a;
  --auth-early-hover: #e4505e;
  --auth-dialog: #1a100a;
}

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

.auth-page-login {
  --auth-background: url("../images/login/login-main.webp");
}
.auth-page-registration {
  --auth-background: url("../images/login/login-registration.webp");
  --auth-card-width: 1040px;
}
.auth-page-password {
  --auth-background: url("../images/login/login-password.webp");
}
.auth-page-account {
  --auth-background: url("../images/login/login-account.webp");
}
.auth-page-help {
  --auth-background: url("../images/login/login-help.webp");
}
.auth-page-responses {
  --auth-background: url("../images/login/login-responses.webp");
}

/* Exactly one photo per screen, shown as it is - no veil over the viewport. */
.auth-layout {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 48px 24px;
  /* Zdjecie bez welonu na caly ekran: przyciemnia sama karta, nie tlo. */
  background-image: var(--auth-background);
  background-position: center;
  background-size: cover;
}

.auth-card,
.auth-response-card {
  width: min(100%, var(--auth-card-width));
  border: 1px solid var(--auth-line);
  border-radius: var(--auth-card-radius);
  background: var(--auth-panel);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.auth-card-inner {
  display: flex;
  flex-direction: column;
  padding: 52px clamp(42px, 6vw, 86px) 28px;
}

.auth-brand {
  grid-template-columns: 1fr;
  grid-template-rows: 62px 31px 15px;
  justify-items: center;
  align-self: center;
  margin: 0 0 38px;
  color: var(--auth-text);
  text-decoration: none;
}

.auth-brand > span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(211,179,151,0.72);
  border-radius: 15px;
  background: rgba(111,81,54,0.2);
  color: #f1e7df;
  font-size: 18px;
  font-weight: 300;
}

.auth-brand .strong {
  color: #e6c5a3;
}
.auth-brand small {
  color: #cda47d;
}

.auth-heading {
  margin: 0 auto 35px;
  text-align: center;
}
.auth-heading p {
  display: none;
}
.auth-heading h1,
.auth-response h1 {
  margin: 0;
  color: var(--auth-text);
  font-size: 32px;
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.auth-heading > span {
  display: block;
  margin: 9px auto 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 13px;
  width: 100%;
}
.auth-form-fields {
  display: grid;
  gap: 11px;
}
/* Etykieta pola: podpis nad kontrolką. Wiersze z polem wyboru są wyłączone
   przy selektorze — mają własny układ poziomy niżej, a `display: grid` stąd
   wygrywał z nim specyficznością i ustawiał kwadrat nad tekstem. */
.auth-form label:not(.auth-checkbox-row) {
  display: grid;
  gap: 7px;
  color: var(--auth-text);
  font-size: 13px;
  font-weight: 300;
}
.auth-login-form label {
  gap: 0;
}
.auth-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

/* Pola tekstowe i listy. Pola wyboru i przyciski radiowe są WYŁĄCZONE z tej
   reguły przy samym selektorze, a nie nadpisywane niżej — inaczej dziedziczą
   szerokość 100% i wysokość 56 px i renderują się jako wielkie białe prostokąty
   (tak było do 19.09). */
.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select,
.auth-login-email-control,
.auth-password-control {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--auth-line);
  border-radius: 9px;
  background: var(--auth-input);
  color: var(--auth-text);
  font: 300 15px var(--mw-font-family);
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select {
  padding: 0 var(--auth-field-end) 0 var(--auth-field-start);
}
.auth-form input::placeholder {
  color: rgba(241,237,233,0.52);
}
.auth-form input:not([type="checkbox"]):not([type="radio"]):focus,
.auth-form select:focus,
.auth-password-control:focus-within {
  outline: 0;
  border-color: var(--auth-line-active);
  background: rgba(0, 0, 0, 0.43);
}

.auth-login-email-control,
.auth-password-control {
  position: relative;
  display: block;
  overflow: hidden;
  /* Ikona stoi na 17px i ma 18px szerokosci - tekst zaczyna sie za nia. */
  --auth-field-start: 47px;
}
.auth-password-control {
  /* Miejsce na przycisk podgladu hasla. */
  --auth-field-end: 58px;
}
.auth-login-email-control input,
.auth-password-control input {
  border: 0;
  background: transparent;
}
.auth-input-icon {
  position: absolute;
  left: var(--auth-field-icon-x);
  color: #c7a98f;
  font-size: 16px;
  line-height: 1;
}
.auth-login-email-control .auth-input-icon,
.auth-password-control .auth-input-icon {
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.auth-password-toggle {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #c7a98f;
  font-size: 18px;
  cursor: pointer;
  transition:
    color 0.16s ease,
    background-color 0.16s ease;
}
.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  outline: 0;
  background: rgba(184,146,112,0.12);
  color: #fff;
}
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auth-text);
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.34) inset;
  caret-color: var(--auth-text);
  transition: background-color 9999s ease-out 0s;
}
.auth-field-error {
  color: #f1a9b7;
  font-size: 12px;
}

.auth-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  padding: 0 20px;
  border: 1px solid rgba(191,157,128,0.72);
  border-radius: 9px;
  background: var(--auth-button);
  color: #fcfaf8;
  font: 300 16px var(--mw-font-family);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.auth-button:hover,
.auth-button:focus-visible {
  outline: 0;
  background: var(--auth-button-hover);
  border-color: rgba(224,198,175,0.88);
  color: #fff;
}
.auth-button:active {
  background: #463527;
}
.auth-button span {
  font-size: 20px;
  font-weight: 300;
}

.auth-login-help {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 0;
  color: #bcad9f;
  font-size: 13px;
}
.auth-login-help a,
.auth-primary-links a,
.auth-response-secondary {
  color: #cdb8a5;
  font-weight: 300;
  text-decoration: none;
}
.auth-login-help a:hover,
.auth-primary-links a:hover,
.auth-response-secondary:hover {
  color: #fff;
}
.auth-login-help .ico {
  color: #8e7b6a;
  font-style: normal;
}

.auth-registration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding-top: 19px;
  border-top: 1px solid rgba(240,235,231,0.12);
}
.auth-registration div {
  display: block;
}
.auth-registration div .strong,
.auth-registration div span {
  display: none;
}
.auth-registration div small {
  color: #b0a092;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.19em;
}
.auth-registration > a {
  color: #d7c2b0;
  font-size: 16px;
  font-weight: 300;
  text-decoration: none;
}
.auth-registration > a:hover {
  color: #fff;
}

.auth-language-picker {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid rgba(240,235,231,0.12);
}
.auth-language-picker summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(238,233,229,0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: #ebe7e3;
  cursor: pointer;
  list-style: none;
}
.auth-language-picker summary::-webkit-details-marker {
  display: none;
}
.auth-language-picker summary:hover {
  border-color: rgba(199,167,139,0.55);
  background: rgba(108,80,55,0.18);
}
.auth-language-picker summary img,
.auth-language-options button img {
  width: 23px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

.auth-language-picker summary .strong {
  font-size: 13px;
  font-weight: 300;
}
.auth-language-picker summary .ico {
  margin-left: 3px;
  color: #c9af99;
  font-size: 11px;
}
.auth-language-picker[open] summary .ico {
  transform: rotate(180deg);
}
.auth-language-options {
  position: absolute;
  z-index: 10;
  bottom: calc(100% + 9px);
  left: 50%;
  width: 220px;
  padding: 7px;
  transform: translateX(-50%);
  border: 1px solid rgba(237,231,226,0.22);
  border-radius: 10px;
  background: #0a0a0d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}
.auth-language-options form + form {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.auth-language-options button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 39px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eae6e2;
  font: 300 13px var(--mw-font-family);
  text-align: left;
  cursor: pointer;
}
.auth-language-options button:hover,
.auth-language-options button.is-current {
  background: rgba(111,83,59,0.29);
  color: #fff;
}

.auth-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(240,235,231,0.1);
  text-align: center;
}
.auth-footer nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.auth-legal-link {
  color: rgba(220,214,208,0.54);
  font-size: 11px;
  font-weight: 300;
}
.auth-legal-link:not(:last-child)::after {
  content: "\2022";
  margin-left: 15px;
  color: #897564;
}

.auth-alert {
  margin: 0 0 15px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.auth-alert-error {
  border-color: rgba(229, 126, 139, 0.55);
  background: rgba(117, 36, 51, 0.32);
  color: #ffdbe0;
}

.auth-primary-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 25px 0 0;
}
.auth-choice-list {
  display: grid;
  gap: 12px;
}
.auth-choice {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  min-height: 102px;
  padding: 17px 18px;
  border: 1px solid var(--auth-line);
  border-radius: 9px;
  background: var(--auth-input);
  color: #f8f5f3;
  text-decoration: none;
}
.auth-choice:hover {
  border-color: rgba(196,166,139,0.68);
  background: rgba(48,37,27,0.5);
}
.auth-choice > .strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(204,177,154,0.46);
  border-radius: 10px;
  color: #d6c1af;
  font-size: 22px;
  font-weight: 200;
}
.auth-choice > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.auth-choice .strong {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.25;
}
.auth-choice small {
  color: var(--auth-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}
.auth-choice > .ico {
  color: #d2bba6;
  font-size: 20px;
  font-style: normal;
}
.auth-copy {
  padding: 14px 15px;
  border-left: 1px solid rgba(198,168,142,0.65);
  background: rgba(0, 0, 0, 0.22);
  color: var(--auth-muted);
  font-weight: 300;
}
.auth-response {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 470px;
  margin: 0 auto;
  padding: 12px 0 25px;
  text-align: center;
}
.auth-response-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 0 24px;
  border: 1px solid rgba(203,170,142,0.56);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.26);
  color: #d9c2ae;
}
.auth-response-icon svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}
.auth-response-eyebrow {
  margin: 0 0 12px;
  color: #c6b09c;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
}
.auth-response h1 {
  max-width: 430px;
}
.auth-response-text {
  color: var(--auth-muted);
  font-weight: 300;
}
.auth-response-actions {
  display: grid;
  width: min(100%, 370px);
  gap: 16px;
  margin-top: 32px;
}

/* Wczesny dostęp (`authEarlyAccess()` w ui.php) — wspólny komponent rodziny: znacznik między logo a tytułem
   i okno (natywny <dialog>). Kolory z tokenów --auth-early*, --auth-dialog. */
.auth-early-access {
  display: flex;
  justify-content: center;
  margin: -18px 0 26px;
}
.auth-early-access-badge,
.auth-early-access-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--auth-early);
  color: #fff;
  font-family: var(--mw-font-family);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-early-access-badge {
  padding: 7px 14px;
  border: 0;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(209, 59, 74, 0.35);
  transition: background 160ms ease, transform 160ms ease;
}
.auth-early-access-badge:hover,
.auth-early-access-badge:focus-visible {
  background: var(--auth-early-hover);
  transform: translateY(-1px);
}
.auth-early-access-badge:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.auth-early-access-label {
  align-self: flex-start;
  padding: 5px 11px;
  font-size: 11px;
}
.auth-dialog {
  width: min(calc(100% - 32px), 540px);
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--auth-line);
  border-radius: 18px;
  background: var(--auth-dialog);
  color: var(--auth-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.auth-dialog::backdrop {
  background: rgba(2, 3, 5, 0.68);
  backdrop-filter: blur(4px);
}
.auth-dialog-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 30px 26px;
  font-family: var(--mw-font-family);
}
.auth-dialog-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-right: 40px;
}
.auth-dialog-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 200;
  letter-spacing: -0.02em;
}
.auth-dialog-head form {
  position: absolute;
  top: -6px;
  right: -8px;
}
.auth-dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--auth-muted);
  font-size: 18px;
  cursor: pointer;
}
.auth-dialog-close:hover,
.auth-dialog-close:focus-visible {
  border-color: var(--auth-line);
  color: var(--auth-text);
}
.auth-dialog-body {
  display: grid;
  gap: 16px;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.6;
}
.auth-dialog-body p {
  margin: 0;
}
.auth-dialog-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.auth-dialog-list li {
  position: relative;
  padding-left: 20px;
}
.auth-dialog-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--auth-early);
}
.auth-dialog-report {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.auth-dialog-report h3 {
  margin: 0;
  color: var(--auth-text);
  font-size: 15px;
  font-weight: 400;
}
.auth-dialog-report a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  color: var(--auth-text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-dialog-foot .auth-button {
  margin-top: 0;
}

@media (max-width: 720px) {
  .auth-layout {
    padding: 28px 17px;
}
  .auth-card-inner {
    padding: 42px 34px 25px;
}
}

@media (max-width: 620px) {
  .auth-layout {
    align-items: start;
    padding: 48px 31px 32px;
    background-image:
      linear-gradient(180deg, rgba(2, 3, 6, 0.54), rgba(2, 3, 6, 0.88)),
      var(--auth-background);
}
  .auth-card,
.auth-response-card {
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .auth-card-inner {
    padding: 0;
  }
  .auth-brand {
    margin-bottom: 46px;
  }
  .auth-heading {
    margin-bottom: 44px;
  }
  .auth-login-form .auth-form-fields {
    gap: 17px;
  }
  .auth-login-form input,
.auth-login-form .auth-password-control {
    border: 0;
    border-bottom: 2px solid rgba(201,159,123,0.58);
    border-radius: 0;
    background: transparent;
  }
  .auth-login-form input:focus,
.auth-login-form .auth-password-control:focus-within {
    border-color: #d9b89b;
    background: transparent;
  }
  .auth-login-form .auth-login-email-control,
.auth-login-form .auth-password-control {
    /* Pole traci ramke i zostaje sama linia pod spodem, wiec ikona siada
       przy krawedzi, a tekst zaczyna sie 11px za nia. */
    --auth-field-icon-x: 0px;
    --auth-field-start: 28px;
  }
  .auth-login-form .auth-button {
    min-height: 61px;
    margin-top: 2px;
  }
  .auth-registration {
    margin-top: 33px;
    padding-top: 0;
    border-top: 0;
  }
  .auth-language-picker {
    margin-top: 38px;
    padding-top: 0;
    border-top: 0;
  }
  .auth-footer {
    display: none;
  }
}

@media (max-width: 420px) {
  .auth-layout {
    padding-right: 24px;
    padding-left: 24px;
  }
  
  .auth-heading h1 {
    font-size: 32px;
  }
}

/* Authorization typography — same system as Mivare Works. */
.auth-page,
.auth-page input,
.auth-page select,
.auth-page textarea,
.auth-page button { font-family: var(--mw-font-family); }
.auth-page { min-height: 100vh; margin: 0; background: #0d0906; color: var(--auth-text); font-family: var(--mw-font-family); font-weight: var(--mw-font-body); }
/* Waga naglowka jest deklarowana przy samej regule .auth-heading h1 wyzej.
   Wczesniej byla tu druga deklaracja z !important, ktora ja bila - naglowki
   renderowaly sie na 400 zamiast zadanej wartosci. */
.auth-brand .strong,
.auth-choice .strong,
.auth-button { font-weight: var(--mw-font-title); }
.auth-brand small,
.auth-heading > span,
.auth-field-error,
.auth-login-help,
.auth-choice small,
.auth-response-eyebrow { font-weight: var(--mw-font-helper); }
.auth-response-text,
.auth-form label,
.auth-form input,
.auth-form select { font-weight: var(--mw-font-body); }

/* Rejestracja: siatka 2 kolumn (np. imię/nazwisko obok siebie), .auth-wide
   rozciąga pole na całą szerokość karty. */
.auth-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 14px;
}
.auth-form-grid .auth-wide {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .auth-form-grid {
    grid-template-columns: 1fr;
  }
}



/* Znak marki z logo: kafel + nazwa i tagline obok, w jednej linii.
   Wariant tekstowy (bez logo) zostaje w ukladzie pionowym wyzej. */
.auth-brand.auth-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  row-gap: 0;
}
.auth-brand-lockup .auth-brand-logo {
  width: auto;
  height: 88px;
  max-width: none;
  max-height: none;
  flex: 0 0 auto;
  object-fit: contain;
}
/* .auth-brand-text jest bezposrednim <span>, wiec lapie regule kafla
   .auth-brand > span (56x56, ramka, tlo). W lockupie trzeba to zdjac. */
.auth-brand-lockup > .auth-brand-text {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  place-items: initial;
}
.auth-brand-text {
  row-gap: 6px;
  text-align: left;
  /* nazwa produktu i tagline zawsze w jednej linii - lamanie rozwalaloby lockup */
  white-space: nowrap;
}
.auth-brand-lockup .auth-brand-text .strong {
  align-self: auto;
  font-size: 32px;
  font-weight: 100;
  letter-spacing: 0.01em;
  line-height: 1;
}
.auth-brand-lockup .auth-brand-text small {
  align-self: auto;
  font-size: 13px;
  letter-spacing: 0.16em;
  line-height: 1;
}
@media (max-width: 720px) {
  .auth-brand.auth-brand-lockup { gap: 15px; }
  .auth-brand-lockup .auth-brand-logo { width: auto; height: 66px; }
  .auth-brand-lockup .auth-brand-text .strong { font-size: 27px; font-weight: 100; }
  .auth-brand-lockup .auth-brand-text small { font-size: 12px; letter-spacing: 0.18em; }
}

.auth-section-title {
  margin: 22px 0 2px;
  color: var(--auth-text);
  font-size: 12px;
  font-weight: var(--mw-font-emphasis);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-form > .auth-section-title:first-of-type {
  margin-top: 4px;
}

.auth-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--auth-line);
  border-radius: 9px;
  background: var(--auth-input);
  font-size: 13px;
  font-weight: 300;
  color: var(--auth-text);
  cursor: pointer;
}
/* Rodzic jest flexem, wiec bez `flex: 0 0 auto` pole rozciaga sie na cala
   szerokosc wiersza (829 px przy 13 px wysokosci). Rozmiar podany wprost,
   zeby kwadrat byl kwadratem niezaleznie od dlugosci tekstu obok. */
.auth-checkbox-row input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: #b89270;
}
.auth-checkbox-row span a {
  color: #cdb8a5;
}
.auth-checkbox-row span a:hover {
  color: #fff;
}

.auth-price-summary {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.auth-price-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.auth-price-summary span {
  color: var(--auth-muted);
}
.auth-price-summary .strong {
  color: var(--auth-text);
  font-weight: var(--mw-font-emphasis);
}

/* Ekran blokady licencji (paywall) - dokłada się do powłoki auth-card. */
.license-paywall {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.license-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224,198,175,0.28);
  text-align: center;
}
.license-price-box span {
  font-weight: var(--mw-font-helper);
  color: #cdb8a5;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.license-price-box .strong {
  font-size: 32px;
  font-weight: var(--mw-font-title);
  color: #fff;
}
.license-price-box small {
  color: #b7a89b;
  font-size: 13px;
}
.license-paywall-link {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
.auth-link-button {
  background: none;
  border: 0;
  padding: 0;
  color: #cdb8a5;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.auth-link-button:hover {
  color: #fff;
}

/* --- Ikony na ekranach logowania -------------------------------------------
   Ekran logowania jest CELOWO osobnym systemem wizualnym i nie wczytuje
   tokens.css, wiec kanon ikony (.ico) tam nie dociera. To jedyne miejsce, w
   ktorym go powtarzamy - swiadomie i z adnotacja, zeby przy zmianie kanonu
   bylo wiadomo, ze jest drugie miejsce do ruszenia.

   Zrodlo: blok ".ico" w tokens.css. Waga 300 zamiast 100 z tego samego powodu
   co w aplikacji: Thin przy 13-16 px jest wlosem, a na ciemnym tle dodatkowo
   rozpada sie na kolorowe krawedzie. */
/* .ico: patrz assets/styles/ico.css - wpinany w naglowku ekranow autoryzacji. */

/* Zapamiętanie przeglądarki przy drugim składniku. Checkbox stoi między polem
   kodu a przyciskiem, więc musi mieć własny oddech — bez tego skleja się
   z jednym albo z drugim. */
.auth-check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.auth-check-line input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #b89270;
  cursor: pointer;
}

/* Podpowiedź pod polem wyboru (np. „język wpływa na dokumenty"). Nie jest
   błędem i nie jest etykietą — dlatego ani `.auth-field-error`, ani nic
   z `.auth-brand small`. Klasa była w formularzu rejestracji od początku
   i nie miała definicji, więc podpowiedź wyglądała jak zwykły tekst pola. */
.auth-field-help {
  display: block;
  margin-top: 6px;
  color: #b0a092;
  font-size: 12px;
  font-weight: var(--mw-font-helper);
  line-height: 1.5;
}

/* Przycisk, który ma wyglądać jak odnośnik: „wróć", „anuluj 2FA". To nadal
   musi być <button>, bo zmienia stan przez POST, a nie prowadzi pod adres. */
.auth-text-button {
  padding: 0;
  border: 0;
  background: none;
  color: #cdb8a5;
  font: inherit;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
}
.auth-text-button:hover {
  color: #fff;
  text-decoration: underline;
}
