/* Public access inherits BidKit's white, charcoal, lime and Rubik identity.
 * One compact form is the primary task; account and security states stay inline.
 * This stylesheet is scoped by each view and never changes console primitives. */
html:has(.public-auth),body:has(.public-auth),#app:has(.public-auth) {
  color-scheme: light;
  background: #fff;
}
.public-auth[data-v-541f9cfc] {
  --auth-ink: #1f1f1f;
  --auth-muted: #626262;
  --auth-line: #d6d6cf;
  --auth-lime: #d6f375;
  --auth-blue: #1f87ff;
  --auth-danger: #b52225;
  --surface-raised: #fff;
  --surface-recessed: #f5f5f2;
  --surface-selected: var(--auth-lime);
  --ink-primary: var(--auth-ink);
  --ink-secondary: var(--auth-muted);
  --line-strong: var(--auth-line);
  --signal-normal: var(--auth-blue);
  --radius-field: 16px;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100dvh;
  padding: clamp(28px, 6vw, 72px) 24px;
  color: var(--auth-ink);
  background: #fff;
  font-family: 'Rubik Variable', 'Rubik', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}
.auth-frame[data-v-541f9cfc] {
  width: min(100%, 460px);
  min-width: 0;
}
.register .auth-frame[data-v-541f9cfc] {
  width: min(100%, 560px);
}
.auth-panel[data-v-541f9cfc] {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}
.brand[data-v-541f9cfc] {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  gap: 1px;
  margin-bottom: 16px;
  color: var(--auth-ink);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}
.brand > span[data-v-541f9cfc] {
  display: grid;
  place-items: center;
  width: 22px;
  height: 28px;
  margin-left: 3px;
  border-radius: 8px;
  background: var(--auth-lime);
}
.public-auth h1[data-v-541f9cfc] {
  margin: 0;
  color: var(--auth-ink);
  font-family: inherit;
  font-size: clamp(30px, 6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}
.auth-copy p[data-v-541f9cfc] {
  margin: 12px 0 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.55;
}
.auth-note[data-v-541f9cfc] {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f5f5f2;
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-note svg[data-v-541f9cfc] {
  flex: none;
  margin-top: 1px;
}
.auth-panel form[data-v-541f9cfc],
.auth-panel label[data-v-541f9cfc] {
  display: grid;
  min-width: 0;
  gap: 8px;
}
.auth-panel form[data-v-541f9cfc] {
  gap: 20px;
}
.auth-panel label > span[data-v-541f9cfc]:first-child {
  color: var(--auth-ink);
  font-size: 14px;
}
.auth-panel input[data-v-541f9cfc]:not([type='checkbox']),
.auth-panel[data-v-541f9cfc] select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid #727272;
  border-radius: 16px;
  color: var(--auth-ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}
.auth-panel input[data-v-541f9cfc]::placeholder {
  color: var(--auth-muted);
  opacity: 1;
}
.auth-panel input[data-v-541f9cfc]:focus,
.auth-panel[data-v-541f9cfc] select:focus {
  border-color: var(--auth-blue);
}
.auth-panel input[aria-invalid='true'][data-v-541f9cfc] {
  border-color: var(--auth-danger);
}
.auth-panel input[data-v-541f9cfc]:disabled,
.auth-panel[data-v-541f9cfc] select:disabled {
  background: #f5f5f2;
  color: var(--auth-muted);
  cursor: not-allowed;
}
.public-auth[data-v-541f9cfc] :is(a, button, input):focus-visible,
.public-auth[data-v-541f9cfc] select:focus-visible {
  outline: 2px solid var(--auth-blue);
  outline-offset: 3px;
}
.auth-panel[data-v-541f9cfc] select {
  padding-inline-end: 2.75rem;
}
.password-field[data-v-541f9cfc],
.input-with-icon[data-v-541f9cfc] {
  position: relative;
  display: block;
  min-width: 0;
}
.password-field input[data-v-541f9cfc] {
  padding-right: 58px !important;
}
.input-with-icon > svg[data-v-541f9cfc] {
  position: absolute;
  top: 18px;
  left: 16px;
  color: var(--auth-muted);
}
.input-with-icon input[data-v-541f9cfc] {
  padding-left: 44px !important;
}
.password-field button[data-v-541f9cfc] {
  position: absolute;
  inset: 3px 3px 3px auto;
  display: grid;
  place-items: center;
  width: 46px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--auth-muted);
  background: transparent;
  cursor: pointer;
}
.password-field button[data-v-541f9cfc]:hover:not(:disabled) {
  color: var(--auth-ink);
  background: var(--auth-lime);
}
.password-grid[data-v-541f9cfc] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.form-row[data-v-541f9cfc],
.auth-switch[data-v-541f9cfc] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-panel .remember[data-v-541f9cfc] {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  cursor: pointer;
}
.remember input[data-v-541f9cfc] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--auth-ink);
}
.auth-panel[data-v-541f9cfc] :is(.submit, button[type='submit'], .button) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 60px;
  background: var(--auth-lime);
  color: var(--auth-ink);
  font: inherit;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out;
}
.auth-panel .button--secondary[data-v-541f9cfc] {
  border-color: #727272;
  background: #fff;
}
.auth-panel[data-v-541f9cfc] :is(.submit, button[type='submit'], .button):hover:not(:disabled) {
  color: var(--auth-lime);
  background: var(--auth-ink);
}
.auth-panel button[data-v-541f9cfc]:disabled {
  cursor: not-allowed;
}
.auth-panel[data-v-541f9cfc] :is(.submit, button[type='submit'], .button):disabled {
  color: var(--auth-muted);
  background: #ecece7;
}
.public-auth[data-v-541f9cfc] :is(.message, .access-state, .telegram-confirmed, .state) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  color: var(--auth-ink);
  background: #f0f0ec;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.public-auth[data-v-541f9cfc] :is(.message--error, .access-state--danger, .state--danger),
.recovery .message[data-v-541f9cfc] {
  color: #852024;
  background: #ffeded;
}
.public-auth[data-v-541f9cfc] :is(.telegram-confirmed, .access-state--success, .state--success) {
  background: var(--auth-lime);
}
.public-auth :is(.access-state, .telegram-confirmed, .state) > svg[data-v-541f9cfc] {
  flex: none;
  margin-top: 1px;
}
.public-auth :is(.access-state, .telegram-confirmed) > span[data-v-541f9cfc] {
  flex: 1;
  min-width: 0;
}
.public-auth[data-v-541f9cfc] :is(.access-state, .telegram-confirmed) :is(strong, small) {
  display: block;
  font-weight: 500;
}
.public-auth :is(.access-state, .telegram-confirmed) small[data-v-541f9cfc] {
  margin-top: 5px;
  font-size: 13px;
}
.access-state button[data-v-541f9cfc] {
  min-height: 44px;
  padding: 8px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.auth-panel[data-v-541f9cfc] :is(.field-error, .join-team__error),
.recovery form label > small[data-v-541f9cfc] {
  color: var(--auth-danger);
  font-size: 13px;
}
.auth-panel[data-v-541f9cfc] :is(.field-help, .organization-field small, .optional-label) {
  color: var(--auth-muted);
  font-size: 12px;
  font-weight: 500;
}
.auth-panel .optional-label[data-v-541f9cfc] {
  margin-left: 4px;
}
.auth-panel[data-v-541f9cfc] :is(.auth-links, nav, footer) {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 20px;
  border-top: 1px solid var(--auth-line);
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-panel a[data-v-541f9cfc]:not(.brand, .button) {
  color: var(--auth-ink);
  text-decoration: underline;
  text-decoration-color: #a1a19a;
  text-underline-offset: 4px;
}
.auth-panel a[data-v-541f9cfc]:not(.brand, .button):hover {
  text-decoration-color: var(--auth-ink);
}
.auth-panel footer[data-v-541f9cfc] {
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 12px;
}
.auth-panel footer svg[data-v-541f9cfc] {
  flex: none;
  margin-top: 2px;
}
.join-team__panel p[data-v-541f9cfc] {
  margin: 0;
  overflow-wrap: anywhere;
}
.spinner[data-v-541f9cfc] {
  animation: auth-spin-541f9cfc 800ms linear infinite;
}
@keyframes auth-spin-541f9cfc {
to {
    transform: rotate(1turn);
}
}
@media (max-width: 540px) {
.public-auth[data-v-541f9cfc] {
    align-content: start;
    padding: 32px 20px;
}
.brand[data-v-541f9cfc] {
    margin-bottom: 10px;
}
.password-grid[data-v-541f9cfc] {
    grid-template-columns: minmax(0, 1fr);
}
.form-row[data-v-541f9cfc] {
    gap: 6px 16px;
}
.access-state[data-v-541f9cfc] {
    flex-wrap: wrap;
}
}
@media (prefers-reduced-motion: reduce) {
.spinner[data-v-541f9cfc] {
    animation: none;
}
.auth-panel[data-v-541f9cfc] :is(.submit, button[type='submit'], .button) {
    transition: none;
}
}
