@charset "UTF-8";
/*
 * Account portal styles. Visual identity follows website-v3/src/styles.css:
 * #090a0c canvas, restrained borders and text, pill buttons, Forma when it
 * is installed locally (resolved via local(), never redistributed) and the
 * bundled Inter (SIL OFL 1.1, see /licenses/Inter-OFL.txt) otherwise.
 */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
@font-face {
  font-family: "DataRay Forma Display";
  src: local("Forma DJR Cyrillic Display Regular"), local("FormaDJRCyrillicDisplay-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DataRay Forma Text";
  src: local("Forma DJR Cyrillic Text Regular"), local("FormaDJRCyrillicText-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DataRay Forma Text";
  src: local("Forma DJR Cyrillic Text Medium"), local("FormaDJRCyrillicText-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Inter Variable", Arial, sans-serif;
  color: #eeeef0;
  background: #090a0c;
  font-synthesis: none;
  --muted: #999da7;
  --dim: #7e8490;
  --line: #ffffff13;
  --line-strong: #ffffff22;
  --panel: #111318;
  --field: #090b10;
  --field-line: #4a5260;
  --focus: #bac8fb;
  --error: #efb5a3;
  --error-line: #e5a293;
  --success: #9dd2bc;
  --button-radius: 999px;
  --head: "DataRay Forma Display", "Inter Variable", sans-serif;
  --ui: "DataRay Forma Text", "Inter Variable", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
main:focus {
  outline: none;
}
#view {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font-family: var(--ui);
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input {
  transition:
    color 0.18s,
    background-color 0.18s,
    border-color 0.18s,
    opacity 0.18s;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
[tabindex="-1"]:focus {
  outline: none;
}
img {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2 {
  font-family: var(--head);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 1.1;
}
h3 {
  font-family: var(--ui);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
}
p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
strong {
  font-weight: 500;
  color: #dfe2e9;
  overflow-wrap: anywhere;
}
::selection {
  background: #375386;
  color: #fff;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* ---- Header ------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #090a0ca8;
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.brand > span:first-of-type {
  font-family: var(--ui);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.brand-scope {
  margin-left: 4px;
  padding-left: 13px;
  border-left: 1px solid #ffffff26;
  font: 400 14px var(--ui);
  color: #a5a6ae;
}
.header-account {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
}
.header-email {
  font: 400 13px var(--ui);
  color: #a5a6ae;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Buttons ------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 22px;
  border-radius: var(--button-radius);
  border: 1px solid transparent;
  font: 500 14px var(--ui);
  white-space: nowrap;
}
.button-white {
  background-color: #e9eaed;
  background-image: linear-gradient(#ffffff90, #ffffff00);
  border-color: #ffffff12;
  color: #17181b;
}
.button-white:hover:not(:disabled) {
  background-color: #fff;
}
.button-white:active:not(:disabled) {
  background-color: #dfe1e7;
}
.button-outline {
  border-color: #ffffff26;
  color: #dddde4;
  background: #ffffff03;
}
.button-outline:hover:not(:disabled) {
  background-color: #ffffff09;
}
.button:disabled {
  opacity: 0.55;
}
.header-button {
  min-height: 34px;
  padding: 0 18px;
  font-size: 13px;
}
.button-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.text-link {
  font: 400 15px var(--ui);
  color: #c5cad6;
  text-decoration: underline;
  text-decoration-color: #ffffff40;
  text-underline-offset: 3px;
}
.text-link:hover {
  color: #fff;
  text-decoration-color: #ffffffa0;
}
.text-link.small {
  font-size: 13px;
}

/* ---- Auth layout --------------------------------------------------------- */

.auth {
  position: relative;
  flex: 1 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #050609;
}
.auth-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/ray-prism.jpg") 70% 40% / cover no-repeat;
  opacity: 0.8;
}
.auth::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #08090d 0%, #08090dfa 14%, #08090dd0 36%, #08090d88 60%, #08090d55 100%),
    linear-gradient(0deg, #090a0c 0%, #090a0c00 30%, #090a0c00 80%, #090a0c90 100%);
}
.auth-inner {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: 80px;
  padding-block: 96px 112px;
}
.auth-intro h1 {
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 1.04;
  text-shadow: 0 4px 32px #0005;
}
.auth-intro h1 > span {
  display: block;
}
.auth-intro h1 > span:last-child {
  color: #cbd0da;
}
.auth-intro p {
  max-width: 440px;
  margin-top: 26px;
  font-size: 17px;
  color: #a9adba;
}
.panel {
  background: #111318e8;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 100px #0008;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ---- Forms -------------------------------------------------------------- */

.form {
  padding: 38px 36px 34px;
}
.form h2 {
  font-size: 34px;
  margin-bottom: 14px;
}
.form > p {
  font-size: 14px;
  margin-bottom: 18px;
}
.form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.field {
  margin-top: 18px;
}
.field:first-child {
  margin-top: 8px;
}
.field label {
  display: block;
  font: 400 14px var(--ui);
  color: #d7dce6;
  margin-bottom: 9px;
}
.field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.field-row label {
  margin-bottom: 9px;
}
.field input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 6px;
  color: #eee;
  font: 400 16px "Inter Variable", Arial, sans-serif;
}
.field input:focus {
  outline: none;
  border-color: #b0bdd8;
  box-shadow: 0 0 0 3px #b0bdd826;
}
.field input[aria-invalid="true"] {
  border-color: var(--error-line);
}
.field input:disabled {
  opacity: 0.6;
}
.field-hint {
  font-size: 12px;
  margin-top: 7px;
  color: var(--dim);
}
.field-error {
  font-size: 12.5px;
  margin-top: 7px;
  color: var(--error);
}
.form-error,
.form-success,
.notice {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 20px;
  padding: 11px 14px;
  border-radius: 8px;
}
.form-error {
  color: var(--error);
  background: #bd645d14;
  border: 1px solid #d9978a33;
}
.form-success {
  color: var(--success);
  background: #57ab8214;
  border: 1px solid #57ab8233;
}
.notice {
  margin: 0 0 6px;
  color: #c9d3ec;
  background: #41588e22;
  border: 1px solid #6689df30;
}
.submit {
  width: 100%;
  margin-top: 26px;
}
.form-alt {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: center;
}
.form-alt .text-link {
  font-size: 14px;
}

/* ---- Messages and boot ----------------------------------------------------- */

.boot {
  flex: 1 0 auto;
}
.boot-note {
  width: min(560px, calc(100% - 48px));
  margin: 96px auto;
  text-align: center;
}
.page-message {
  width: min(560px, calc(100% - 48px));
  margin: 120px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.page-message h1 {
  font-size: 44px;
}

/* ---- Dashboard ------------------------------------------------------------- */

.dash-view {
  background: radial-gradient(1200px 420px at 85% -120px, #2a3450 0%, #090a0c00 70%) no-repeat;
}
.dash {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 72px;
  padding-block: 64px 96px;
}
.dash-side {
  position: sticky;
  top: 112px;
  align-self: start;
}
.dash-side h1 {
  font-size: 34px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.dash-email {
  margin-top: 10px;
  font-size: 14px;
  color: #b4b8c3;
  overflow-wrap: anywhere;
}
.dash-since {
  font-size: 13px;
  color: var(--dim);
}
.dash-nav {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.dash-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font: 400 14px var(--ui);
  color: #a5a6ae;
}
.dash-nav a:hover {
  color: #fff;
}
.count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #ffb88a;
  color: #17181b;
  font: 500 12px var(--ui);
  text-align: center;
}
.dash-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--dim);
}
.dash-main {
  min-width: 0;
}
.dash-section + .dash-section {
  margin-top: 72px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: 30px;
}
.section-action {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
.section-lead {
  font-size: 14px;
  max-width: 640px;
  margin-bottom: 10px;
}
.section-notice {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 14px 0 4px;
  padding: 11px 14px;
  border-radius: 8px;
}
.section-notice.error {
  color: var(--error);
  background: #bd645d14;
  border: 1px solid #d9978a33;
}
.section-notice.success {
  color: var(--success);
  background: #57ab8214;
  border: 1px solid #57ab8233;
}
.rows {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.row[aria-busy="true"] {
  opacity: 0.7;
}
.row-main {
  flex: 1 1 auto;
  min-width: 0;
}
.row-title {
  font: 500 16px var(--ui);
  color: #eeeef1;
  overflow-wrap: anywhere;
}
.row-meta {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 3px;
  color: #8a909c;
  overflow-wrap: anywhere;
}
.row-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.tag {
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 999px;
  font: 400 12px var(--ui);
  color: #a8bce0;
  background: #718cbc15;
  border: 1px solid #718cbc33;
}
.tag-owner {
  color: #d7b689;
  background: #c29a5e14;
  border-color: #c29a5e33;
}
.tag-current {
  color: var(--success);
  background: #57ab8214;
  border-color: #57ab8233;
}
.empty,
.loading {
  margin-top: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.loading::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  vertical-align: -1px;
  border: 1.5px solid #ffffff30;
  border-top-color: #c5cedd;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.load-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.load-error p {
  font-size: 14px;
  color: var(--error);
}
.form.form-inline {
  padding: 8px 0 0;
  max-width: 460px;
}
.form-inline h3 {
  margin-top: 6px;
}
.form-inline > p {
  margin-top: 6px;
}

/* ---- Dialog -------------------------------------------------------------- */

.dialog {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  color: #eeeef1;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 100px #0008;
}
.dialog::backdrop {
  background: #020308b0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.dialog-inner {
  padding: 34px 32px 28px;
}
.dialog h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.dialog p {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
}

/* ---- Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1240px;
  margin: auto;
  padding: 22px 24px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  color: #737b8a;
}
.footer-inner a:hover {
  color: #e6e8f0;
}
.footer-inner > a:first-of-type {
  margin-left: auto;
}

/* ---- Responsive ------------------------------------------------------------- */

@media (max-width: 1100px) {
  .auth-inner {
    gap: 56px;
  }
  .dash {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .auth-inner {
    width: min(560px, calc(100% - 56px));
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 56px 72px;
  }
  .auth-intro h1 {
    font-size: 48px;
  }
  .auth-intro p {
    margin-top: 18px;
    font-size: 16px;
  }
  .auth::after {
    background:
      linear-gradient(180deg, #08090d70 0%, #08090dd8 45%, #090a0c 100%),
      linear-gradient(90deg, #08090dd0 0%, #08090d60 100%);
  }
  .dash {
    width: calc(100% - 56px);
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 44px 72px;
  }
  .dash-side {
    position: static;
  }
  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 22px;
    border-top: 0;
    margin-top: 22px;
  }
  .dash-nav a {
    justify-content: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 0;
  }
}
@media (max-width: 600px) {
  .header-inner {
    height: 60px;
    padding-inline: 16px;
    gap: 12px;
  }
  .brand > span:first-of-type {
    font-size: 19px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .brand-scope {
    padding-left: 10px;
    font-size: 13px;
  }
  .header-email {
    display: none;
  }
  .auth-inner {
    width: calc(100% - 32px);
    padding-block: 36px 56px;
    gap: 28px;
  }
  .auth-intro h1 {
    font-size: 38px;
  }
  .auth-intro p {
    font-size: 15px;
  }
  .form {
    padding: 28px 22px 26px;
  }
  .form h2 {
    font-size: 28px;
  }
  .dash {
    width: calc(100% - 32px);
    padding-block: 32px 56px;
  }
  .dash-section + .dash-section {
    margin-top: 56px;
  }
  .dash-side h1 {
    font-size: 30px;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .row-main {
    flex-basis: 100%;
  }
  .row-actions {
    width: 100%;
  }
  .row-actions .button {
    flex: 1 1 0;
  }
  .load-error {
    flex-direction: column;
    align-items: flex-start;
  }
  .dialog-inner {
    padding: 28px 22px 22px;
  }
  .dialog-actions .button {
    flex: 1 1 0;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-inline: 16px;
  }
  .footer-inner > a:first-of-type {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before {
    transition: none !important;
    animation: none !important;
  }
}
