:root {
  --05-red: #e53945;
  --05-red-dark: #c62828;
  --05-slate: #7a8691;
  --05-slate-dark: #5f6b75;
  --05-white: #ffffff;
  --05-ink: #1c2430;
  --05-ink-muted: #4a5568;
  --05-radius-pill: 9999px;
  --05-radius-card: 28px;
  --05-radius-shape: 40px;
  --05-shadow: 0 18px 48px rgba(28, 36, 48, 0.08);
  --05-font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cab-lab-blank-hover-bg: rgba(229, 57, 69, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--05-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--05-ink);
  background: var(--05-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--05-red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__icons {
  display: flex;
  gap: 8px;
}

.brand__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--05-red);
  display: grid;
  place-items: center;
  color: var(--05-white);
  flex-shrink: 0;
}

.brand__circle svg {
  width: 22px;
  height: 22px;
}

.brand__name {
  background: var(--05-slate);
  color: var(--05-white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: var(--05-radius-pill);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: var(--05-ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--05-red);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--05-radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--05-red);
  color: var(--05-white);
}

.btn--primary:hover {
  background: var(--05-red-dark);
  color: var(--05-white);
}

.btn--ghost {
  background: rgba(122, 134, 145, 0.15);
  color: var(--05-slate-dark);
}

.btn--ghost:hover {
  background: rgba(122, 134, 145, 0.28);
  color: var(--05-ink);
}

.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__tag {
  display: inline-block;
  background: var(--05-red);
  color: var(--05-white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  padding: 16px 22px 18px 24px;
  border-radius: 0 var(--05-radius-shape) var(--05-radius-shape) 0;
  max-width: min(420px, 100%);
}

.hero h1 {
  margin: 28px 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__lead {
  margin: 0 0 28px;
  color: var(--05-ink-muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__blob-red {
  position: absolute;
  width: 72%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--05-red);
  left: 0;
  bottom: 0;
  opacity: 0.95;
}

.hero__blob-slate {
  position: absolute;
  width: 88%;
  max-width: 400px;
  height: 220px;
  border-radius: var(--05-radius-pill);
  background: var(--05-slate);
  right: 0;
  top: 12%;
  box-shadow: var(--05-shadow);
}

.hero__card {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: 0;
  margin-top: 24px;
  width: min(100%, 320px);
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: 22px 22px 20px;
  box-shadow: var(--05-shadow);
}

.hero__card h2 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--05-slate);
}

.hero__card p {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--05-ink);
}

.hero__card small {
  display: block;
  margin-top: 8px;
  color: var(--05-ink-muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.section {
  padding: 56px 0;
}

.section--muted {
  background: linear-gradient(180deg, #f6f7f9 0%, #ffffff 100%);
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
}

.section__intro {
  margin: 0 0 28px;
  color: var(--05-ink-muted);
  max-width: 62ch;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 800px) {
  .tiles {
    grid-template-columns: 1fr;
  }
}

.tile {
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: 24px;
  border: 1px solid rgba(122, 134, 145, 0.22);
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.04);
}

.tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(229, 57, 69, 0.12);
  color: var(--05-red);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.tile h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.tile p {
  margin: 0;
  color: var(--05-ink-muted);
  font-size: 0.95rem;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 720px) {
  .contacts {
    grid-template-columns: 1fr;
  }
}

.contact-block {
  background: var(--05-slate);
  color: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: 28px 28px 26px;
}

.contact-block a {
  color: var(--05-white);
  font-weight: 700;
}

.contact-block dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-block dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.contact-block dd {
  margin: 0;
  font-size: 1.05rem;
}

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid rgba(122, 134, 145, 0.25);
  font-size: 0.88rem;
  color: var(--05-ink-muted);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.page-main {
  min-height: 32vh;
}

.breadcrumbs {
  padding: 10px 0 0;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--05-ink-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 6px;
  color: rgba(122, 134, 145, 0.7);
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--05-slate-dark);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--05-red);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--05-ink);
}

.content-article {
  max-width: 80ch;
}

.content-article h1 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.content-article .lead {
  font-size: 1.05rem;
  color: var(--05-ink-muted);
}

.content-article ul:not(.cab-meta) {
  padding-left: 1.2rem;
  color: var(--05-ink-muted);
}

.legal-notice {
  border-left: 4px solid var(--05-red);
  padding: 12px 16px;
  background: rgba(229, 57, 69, 0.06);
  border-radius: 0 var(--05-radius-shape) var(--05-radius-shape) 0;
  color: var(--05-ink-muted);
  font-size: 0.95rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list__item {
  margin: 0;
}

.service-list__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 18px 20px;
  border-radius: var(--05-radius-card);
  border: 1px solid rgba(122, 134, 145, 0.22);
  background: var(--05-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-list__link:hover {
  border-color: rgba(229, 57, 69, 0.45);
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
}

.service-list__body {
  flex: 1;
  min-width: 0;
}

.service-list__svg {
  display: block;
}

.service-list__shell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--05-radius-card);
  border: 1px solid rgba(122, 134, 145, 0.22);
  background: var(--05-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-list__shell:hover {
  border-color: rgba(229, 57, 69, 0.45);
  box-shadow: 0 6px 18px rgba(28, 36, 48, 0.05);
}

.service-list__hit {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.service-list__aside {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-list__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--05-ink-muted);
  opacity: 0.55;
}

.service-list__shell:hover .service-list__chevron {
  color: var(--05-red);
  opacity: 1;
}

.service-list__title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.service-list__desc {
  display: block;
  color: var(--05-ink-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tile.tile--link {
  text-decoration: none;
  color: inherit;
}

.tile.tile--link:hover {
  border-color: rgba(229, 57, 69, 0.45);
  box-shadow: 0 10px 28px rgba(28, 36, 48, 0.06);
}

.section__cta {
  margin-top: 20px;
}

.footer--extended {
  padding-top: 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(122, 134, 145, 0.2);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__heading {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer__muted {
  margin: 0;
  color: var(--05-ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 42ch;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: var(--05-slate-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--05-red);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  font-size: 0.88rem;
  color: var(--05-ink-muted);
}

.footer__bottom a {
  color: var(--05-ink-muted);
  font-weight: 600;
}

.cabinet-body {
  background: #f6f7f9;
}

.cab-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(122, 134, 145, 0.2);
  padding: 14px 0;
  margin-bottom: 0;
}

.cab-top__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand--compact .brand__name {
  background: var(--05-slate);
  color: var(--05-white);
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--05-radius-pill);
}

.cab-top__tag {
  font-weight: 700;
  color: var(--05-ink-muted);
  font-size: 0.9rem;
}

.cab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: flex-end;
}

.cab-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.cab-form__label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.cab-form__input {
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(122, 134, 145, 0.35);
}

.cab-phone {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid rgba(122, 134, 145, 0.35);
  background: var(--05-white, #fff);
  overflow: hidden;
}

.cab-phone:focus-within {
  border-color: rgba(196, 32, 50, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 32, 50, 0.12);
}

.cab-phone__code {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 12px;
  font-weight: 800;
  user-select: none;
  pointer-events: none;
}

.cab-phone__input {
  font: inherit;
  flex: 1;
  min-width: 0;
  padding: 10px 12px 10px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cab-phone__input:focus {
  outline: none;
}

.cab-form__hint {
  margin: 0;
  color: var(--05-ink-muted);
  font-size: 0.88rem;
}

.cab-fieldset {
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid rgba(122, 134, 145, 0.22);
  border-radius: 16px;
  display: grid;
  gap: 12px;
}

.cab-fieldset__legend {
  padding: 0 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.cab-form__or {
  margin: 0;
  text-align: center;
  color: var(--05-ink-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.cab-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 16px;
  margin-top: 16px;
}

.cab-dl dt {
  color: var(--05-ink-muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.cab-dl dd {
  margin: 0;
}

.cab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.cab-doc-frame {
  width: 100%;
  min-height: 420px;
  border: 1px solid rgba(122, 134, 145, 0.35);
  border-radius: var(--05-radius-card);
  background: var(--05-white);
}

.cab-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cab-table th,
.cab-table td {
  border: 1px solid rgba(122, 134, 145, 0.25);
  padding: 8px 10px;
  text-align: left;
}

.cab-table th {
  background: rgba(122, 134, 145, 0.12);
}

/* ——— Личный кабинет: общий каркас и детали ——— */
.page-main--cabinet {
  min-height: 42vh;
}

.page-main--cabinet > .section--cabinet > .wrap,
.page-main--cabinet > .section--cabinet-auth > .wrap {
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--05-shadow);
  border: 1px solid rgba(122, 134, 145, 0.14);
}

.page-main--cabinet > .section--cabinet > .wrap {
  width: min(1120px, 100% - 40px);
}

.page-main--cabinet > .section--cabinet-auth > .wrap {
  width: min(520px, 100% - 40px);
}

.page-main--cabinet > .section {
  padding-top: 28px;
  padding-bottom: 48px;
}

.page-main--cabinet > .section--muted:not(.section--cabinet-auth) > .wrap {
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--05-shadow);
  border: 1px solid rgba(122, 134, 145, 0.14);
  width: min(1120px, 100% - 40px);
}

.cabinet-body .breadcrumbs {
  padding-top: 6px;
  padding-bottom: 0;
}

.cab-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--05-radius-pill);
  color: var(--05-ink-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cab-nav__link:hover {
  color: var(--05-red);
  text-decoration: none;
  background: rgba(229, 57, 69, 0.08);
}

.cab-nav__link--current {
  color: var(--05-ink);
  background: rgba(122, 134, 145, 0.14);
}

.cab-nav__link--current:hover {
  color: var(--05-red);
  background: rgba(229, 57, 69, 0.1);
}

.cab-nav__link--logout {
  margin-left: auto;
}

.cab-nav .btn.btn--ghost {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.cab-nav a:not(.cab-nav__link) {
  color: var(--05-ink-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.cab-nav a:not(.cab-nav__link):hover {
  color: var(--05-red);
  text-decoration: none;
}

.cab-page-head {
  margin-bottom: 20px;
}

.cab-page-head h1 {
  margin: 0 0 10px;
}

.cab-page-head .lead {
  margin: 0;
}

.cab-page-head__subtitle {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--05-ink);
  line-height: 1.35;
}

.cab-lab-group {
  margin: 20px 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--05-slate-dark);
  letter-spacing: -0.01em;
}

.cab-lab-group:first-of-type {
  margin-top: 8px;
}

.cab-lab-blank-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cab-lab-blank {
  text-decoration: none;
  color: inherit;
}

.cab-lab-blank--compact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(122, 134, 145, 0.28);
  background: var(--05-white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.cab-lab-blank--compact:hover {
  border-color: rgba(229, 57, 69, 0.45);
  color: var(--05-red);
  background: var(--cab-lab-blank-hover-bg);
}

.cab-lab-blank--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--05-slate-dark);
  background: rgba(122, 134, 145, 0.1);
  transition: background 0.2s, color 0.2s;
}

.cab-lab-blank--icon:hover {
  color: var(--05-red);
  background: rgba(229, 57, 69, 0.12);
}

.cab-lab-blank__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cab-lab-blank__icon .service-list__svg {
  width: 18px;
  height: 18px;
}

.cab-lab-pdfs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

@media (max-width: 640px) {
  .cab-lab-blank--compact .cab-lab-blank__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .cab-lab-blank--compact {
    padding: 8px;
    min-width: 36px;
    justify-content: center;
  }
}

.cab-subhead {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cab-subhead:first-of-type {
  margin-top: 0;
}

.cab-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 10px;
}

.cab-meta li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--05-ink-muted);
  padding: 6px 12px;
  background: rgba(122, 134, 145, 0.1);
  border-radius: var(--05-radius-pill);
}

.cab-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 8px 0 8px;
}

.cab-quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 20px 20px 18px;
  border-radius: var(--05-radius-card);
  border: 1px solid rgba(122, 134, 145, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
  box-shadow: 0 6px 20px rgba(28, 36, 48, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.cab-quick-card:hover {
  border-color: rgba(229, 57, 69, 0.35);
  box-shadow: 0 12px 32px rgba(28, 36, 48, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.cab-quick-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(229, 57, 69, 0.12);
  color: var(--05-red);
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

.cab-quick-card__icon--alt {
  background: rgba(122, 134, 145, 0.18);
  color: var(--05-slate-dark);
}

.cab-quick-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cab-quick-card__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--05-ink);
}

.cab-quick-card__desc {
  font-size: 0.9rem;
  color: var(--05-ink-muted);
  line-height: 1.45;
}

.cab-dl--panel {
  padding: 16px 18px;
  background: rgba(122, 134, 145, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(122, 134, 145, 0.12);
}

.cab-dl--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  max-width: 100%;
}

.cab-dl--inline dt {
  margin: 0;
}

.cab-dl--inline dd {
  margin: 0;
  font-weight: 700;
  color: var(--05-ink);
}

.cab-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cab-services li {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(122, 134, 145, 0.18);
  background: var(--05-white);
  font-weight: 600;
  color: var(--05-ink);
}

.cab-empty {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(122, 134, 145, 0.08);
  color: var(--05-ink-muted);
  font-size: 0.95rem;
}

.cab-list {
  margin-top: 0;
  gap: 8px;
}

.cab-list .service-list__title {
  margin-bottom: 2px;
  font-size: 1rem;
}

.cab-list .service-list__desc {
  font-size: 0.88rem;
  line-height: 1.35;
}

.cab-page-head .cab-lab-blank-row {
  margin-top: 8px;
}

.cab-form__input:focus {
  outline: none;
  border-color: rgba(229, 57, 69, 0.55);
  box-shadow: 0 0 0 3px rgba(229, 57, 69, 0.12);
}

.cab-form .btn[type="submit"] {
  justify-self: start;
  margin-top: 4px;
}

.cab-form-alert[hidden] {
  display: none !important;
}

.cab-table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(122, 134, 145, 0.18);
  -webkit-overflow-scrolling: touch;
}

.cab-table-wrap .cab-table {
  margin: 0;
  min-width: 640px;
}

.cab-delta-note {
  margin: -4px 0 14px;
  color: var(--05-slate);
  font-size: 0.86rem;
  line-height: 1.4;
}

.cab-delta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.cab-delta__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cab-delta__when {
  color: var(--05-slate);
  min-width: 7.5em;
}

.cab-delta__val {
  color: var(--05-ink);
}

.cab-delta__num {
  font-weight: 700;
  color: var(--05-ink);
}

.cab-delta__was {
  font-size: 0.78rem;
  color: var(--05-slate);
  line-height: 1.3;
}

.cab-spark {
  display: block;
  margin-top: 2px;
  color: var(--05-slate);
}

.cab-table {
  font-size: 0.9rem;
}

.cab-table th,
.cab-table td {
  padding: 10px 12px;
}

.cab-table tbody tr {
  background: var(--05-white);
}

.cab-table tbody tr:nth-child(even) {
  background: var(--cab-lab-blank-hover-bg);
}

.cab-doc-frame {
  box-shadow: inset 0 0 0 1px rgba(122, 134, 145, 0.08);
}

.footer--cabinet {
  background: transparent;
  margin-top: auto;
  padding: 18px 0 28px;
}

.footer--cabinet .footer__bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(122, 134, 145, 0.18);
}

.cabinet-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cabinet-body .wrap.cab-top {
  flex-shrink: 0;
}

.cabinet-body .page-main--cabinet {
  flex: 1;
}

.adm-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f6f7f9;
}

.adm-body .page-main--admin {
  flex: 1;
}

.adm-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.adm-top__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.adm-top__tag {
  color: var(--05-slate-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.adm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.adm-nav__link {
  color: var(--05-ink-muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 6px 4px;
}

.adm-nav__link:hover,
.adm-nav__link--current {
  color: var(--05-red);
  text-decoration: none;
}

.adm-nav__link--exit {
  margin-left: 8px;
}

.adm-flash {
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.adm-flash--ok {
  background: #e8f6ec;
  color: #1b5e20;
}

.adm-flash--err {
  background: #fdecea;
  color: #b71c1c;
}

.adm-bookmark {
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: 16px 20px;
  box-shadow: var(--05-shadow);
  line-height: 1.5;
}

.adm-bookmark code {
  font-size: 0.9rem;
  word-break: break-all;
}

.adm-form .btn {
  margin-right: 10px;
  margin-top: 8px;
}

.adm-textarea {
  min-height: 5rem;
  resize: vertical;
}

.adm-textarea--tall {
  min-height: 10rem;
}

.adm-toolbar {
  margin: 0 0 20px;
}

.adm-card {
  background: var(--05-white);
  border-radius: var(--05-radius-card);
  padding: 20px 22px;
  margin: 0 0 18px;
  box-shadow: var(--05-shadow);
  border: none;
}

.adm-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.adm-card__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.adm-card__lead {
  margin: 0;
  color: var(--05-ink-muted);
}

.adm-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.adm-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.adm-list__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(122, 134, 145, 0.18);
}

.adm-list__muted {
  display: block;
  color: var(--05-ink-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.adm-inline {
  display: inline;
  margin: 0;
}

.adm-linkbtn {
  background: none;
  border: none;
  color: var(--05-red);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.adm-linkbtn:hover {
  text-decoration: underline;
}

.content-prose {
  white-space: normal;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .cab-dl:not(.cab-dl--inline) {
    grid-template-columns: 1fr;
  }
}
