@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-04FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("golos-text-latin.woff2") format("woff2");
  unicode-range: U+0000-024F;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-04FF;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-024F;
}
:root {
  color-scheme: dark;
  --bg: #101d2d;
  --surface: #152539;
  --raised: #19355f;
  --text: #f3f1ec;
  --muted: #9db0c8;
  --accent: #ffd23f;
  --accent-hover: #ffe17c;
  --border: #314761;
  --control-border: #7189a7;
  --danger: #ffac9d;
  --danger-bg: #392724;
  --success: #8bd8b2;
  --success-bg: #17382d;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
  --font-title: Unbounded, "Segoe UI", sans-serif;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--accent);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
#main:focus {
  outline: none;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
button svg,
a svg {
  flex-shrink: 0;
}
p,
h1,
h2,
h3,
h4,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
.app-shell {
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}
.public-page .app-shell {
  width: min(100% - 48px, 900px);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.app-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.app-brand-name {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.app-brand-description {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.app-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 28px;
}
.app-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.app-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.app-nav a:hover {
  color: var(--text);
}
.header-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.skip-link:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.sr-only,
.promo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.page-heading {
  margin-bottom: 12px;
}
.page-intro {
  max-width: 65ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.panel {
  background: var(--surface);
  border-radius: var(--radius);
  min-width: 0;
}
.panel-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.section-heading {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}
.section-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
  max-width: 65ch;
}
.toolbar,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.stack {
  display: grid;
  gap: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.button:hover,
.button:active {
  background: var(--accent-hover);
  color: var(--bg);
}
.button-secondary {
  background: transparent;
  border-color: var(--control-border);
  color: var(--text);
}
.button-secondary:hover,
.button-secondary:active {
  background: var(--raised);
  border-color: var(--muted);
  color: var(--text);
}
.button-danger {
  background: var(--danger-bg);
  border-color: transparent;
  color: var(--danger);
}
.button-danger:hover,
.button-danger:active {
  background: #50302a;
  color: var(--danger);
}
.button-success {
  background: var(--success-bg);
  border-color: transparent;
  color: var(--success);
}
.button-success:hover,
.button-success:active {
  background: #204d3e;
  color: var(--success);
}
.button-small {
  padding: 10px 14px;
  font-size: 14px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.field-label {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.field-help {
  display: block;
  margin-top: 8px;
  max-width: 65ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.field-input,
input:not([type="checkbox"]):not([type="radio"]),
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
textarea {
  min-height: 112px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
input:user-invalid,
textarea:user-invalid {
  border-color: var(--danger);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
  line-height: 1.6;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.875em;
  overflow-wrap: anywhere;
}
.number {
  font-variant-numeric: tabular-nums;
}
.empty-state {
  padding: 28px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}
.status-ok {
  background: var(--success-bg);
  color: var(--success);
}
.status-danger {
  background: var(--danger-bg);
  color: var(--danger);
}
.status-muted {
  background: var(--bg);
  color: var(--muted);
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}
.data-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.data-table .number {
  text-align: right;
}
summary {
  min-height: 44px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
summary::marker {
  color: var(--muted);
}
.details-list {
  display: grid;
  gap: 16px;
  padding-block: 8px 16px;
}
.details-list > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 8px 20px;
}
.details-list dt {
  color: var(--muted);
  font-size: 13px;
}
.details-list dd {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.material-panel {
  padding: 32px;
}
.material-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}
.material-layout--plain {
  display: block;
}
.material-title {
  max-width: 30ch;
  font: 700 28px/1.4 var(--font-title);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.material-description {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.material-action {
  margin-top: 28px;
}
.material-action .button {
  min-height: 48px;
}
.material-preview {
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg);
  margin-top: 4px;
}
.material-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.material-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.material-notice svg {
  flex: 0 0 18px;
  margin-top: 2px;
}
.unavailable-panel {
  padding: 36px;
  max-width: 760px;
  margin-inline: auto;
}
.state-symbol {
  color: var(--danger);
  margin-bottom: 20px;
}
.unavailable-material {
  font-size: 18px;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.unavailable-panel .page-intro {
  margin-top: 16px;
}
.unavailable-actions {
  margin-top: 28px;
}
.technical-details {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.promo {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}
.promo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.promo-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.promo-brand-name {
  min-width: 0;
  font: 700 14px/1.5 var(--font-title);
}
.promo h2 {
  margin: 16px 0 12px;
  max-width: 30ch;
  font: 700 23px/1.4 var(--font-title);
  letter-spacing: -0.02em;
}
.promo p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
.promo p strong {
  color: var(--text);
  font-weight: 600;
}
.promo-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.promo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.promo-link:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.promo-link-secondary {
  border-color: var(--control-border);
  background: transparent;
  color: var(--text);
}
.promo-link-secondary:hover {
  background: var(--raised);
  color: var(--text);
}
@media (hover: hover) {
  .button,
  .promo-link {
    transition:
      background-color 150ms,
      border-color 150ms;
  }
}
@media (max-width: 900px) {
  .material-layout {
    grid-template-columns: 1fr;
  }
  .material-preview {
    max-width: 480px;
  }
  .site-header {
    margin-bottom: 28px;
  }
}
@media (max-width: 600px) {
  .app-shell,
  .public-page .app-shell {
    width: calc(100% - 32px);
  }
  .site-header {
    min-height: 88px;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 20px;
    margin-bottom: 24px;
  }
  .header-portal {
    font-size: 13px;
  }
  .app-brand-name {
    font-size: 18px;
  }
  .app-brand-description {
    font-size: 12px;
  }
  .app-brand-mark {
    flex-basis: 32px;
    height: 32px;
    font-size: 22px;
  }
  .app-nav {
    width: 100%;
    gap: 24px;
    align-self: auto;
  }
  .app-nav a {
    font-size: 14px;
  }
  .public-page .site-header {
    gap: 8px 16px;
  }
  .material-panel,
  .unavailable-panel {
    padding: 24px 20px;
  }
  .material-title {
    font-size: 23px;
    line-height: 1.4;
  }
  .material-description {
    font-size: 16px;
  }
  .material-action .button {
    width: 100%;
  }
  .material-notice {
    margin-top: 24px;
    font-size: 12px;
  }
  .panel-header {
    padding: 20px;
  }
  .promo {
    padding: 22px 20px;
  }
  .promo h2 {
    font-size: 20px;
  }
  .promo-links {
    align-items: stretch;
    flex-direction: column;
  }
  .promo-link {
    width: 100%;
  }
  .site-footer {
    margin-top: 28px;
    font-size: 12px;
  }
  .details-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .unavailable-actions .button {
    width: 100%;
  }
  .section-heading {
    font-size: 18px;
  }
  .page-intro {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  .button,
  .promo-link,
  .app-brand-mark,
  .promo-brand-mark {
    border: 1px solid ButtonText;
  }
  .app-nav a[aria-current="page"] {
    border-bottom-color: Highlight;
  }
  :focus-visible {
    outline-color: Highlight;
  }
}
@media print {
  :root {
    color-scheme: light;
    --bg: white;
    --surface: white;
    --text: black;
    --muted: #333;
    --border: #aaa;
  }
  .site-header,
  .site-footer,
  .promo,
  .skip-link,
  button,
  .inline-actions {
    display: none;
  }
  .app-shell,
  .public-page .app-shell {
    width: 100%;
  }
  .panel {
    break-inside: avoid;
  }
  .material-panel,
  .unavailable-panel {
    padding: 0;
  }
  details > * {
    display: block;
  }
}
.form-error {
  flex-basis: 100%;
  margin-top: 12px;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
