:root {
  --blue: #1768ff;
  --blue-2: #0b54dc;
  --blue-soft: #eaf1ff;
  --cyan: #16b8e8;
  --navy: #081b3a;
  --text: #263b59;
  --muted: #6d7e97;
  --muted-2: #98a6b9;
  --bg: #f3f7fc;
  --surface: #fff;
  --surface-2: #f8fafd;
  --line: #dfe7f2;
  --green: #12865c;
  --green-soft: #e7f7f0;
  --amber: #ad6b08;
  --amber-soft: #fff3da;
  --red: #c14353;
  --red-soft: #fff0f2;
  --violet: #6d55d2;
  --violet-soft: #f1edff;
  --shadow: 0 12px 34px rgba(25, 58, 112, 0.09);
  --shadow-lg: 0 26px 80px rgba(25, 58, 112, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  --sidebar: 236px;
  --topbar: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
}

p {
  color: var(--muted);
}

::selection {
  background: #cfe0ff;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid rgba(23, 104, 255, 0.24);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.tiny {
  font-size: 10px;
}

.right {
  margin-left: auto;
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

.strong {
  font-weight: 850;
  color: var(--navy);
}

.btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 14px;
  background: #fff;
  color: #405673;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #b7c9e7;
  color: var(--blue);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #0878f4);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 104, 255, 0.23);
}

.btn.primary:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(23, 104, 255, 0.3);
}

.btn.soft {
  background: var(--blue-soft);
  border-color: transparent;
  color: var(--blue);
}

.btn.danger {
  background: var(--red-soft);
  border-color: transparent;
  color: var(--red);
}

.btn.success {
  background: var(--green-soft);
  border-color: transparent;
  color: var(--green);
}

.btn.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 10px;
}

.btn.icon {
  width: 42px;
  padding: 0;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f0f4f9;
  color: #60738e;
  font-size: 10px;
  font-weight: 850;
}

.badge.blue,
.chip.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.badge.green,
.chip.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.amber,
.chip.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.badge.red,
.chip.red {
  background: var(--red-soft);
  color: var(--red);
}

.badge.violet,
.chip.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.card.flat {
  box-shadow: none;
}

.card.hover {
  transition: 0.18s ease;
}

.card.hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #c4d4ed;
}

.card h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.card-head > div:first-child {
  min-width: 0;
}

.card-head h2,
.card-head h3 {
  margin-bottom: 4px;
}

.card-head p {
  margin-bottom: 0;
}

.card-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.icon-box.green {
  background: var(--green-soft);
  color: var(--green);
}

.icon-box.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.icon-box.red {
  background: var(--red-soft);
  color: var(--red);
}

.icon-box.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.span-2 {
  grid-column: span 2;
}

.span-3 {
  grid-column: span 3;
}

.section-gap {
  margin-top: 16px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 17px;
  box-shadow: 0 7px 22px rgba(24, 55, 108, 0.06);
  min-width: 0;
}

.kpi-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.kpi-value {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 920;
  color: var(--navy);
  letter-spacing: -0.04em;
  margin-top: 10px;
}

.kpi-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 9px;
}

.trend {
  font-weight: 900;
}

.trend.up {
  color: var(--green);
}

.trend.down {
  color: var(--red);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.table th {
  padding: 11px 13px;
  text-align: left;
  background: #f7f9fc;
  color: #71829a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.table td {
  padding: 12px 13px;
  border-bottom: 1px solid #edf1f6;
  color: #465b78;
  font-size: 12px;
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover {
  background: #fbfcfe;
}

.person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, #6aa0ff, var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: none;
}

.avatar.green {
  background: linear-gradient(145deg, #49c997, #0e8a61);
}

.avatar.violet {
  background: linear-gradient(145deg, #a895ff, #6550cf);
}

.avatar.amber {
  background: linear-gradient(145deg, #f5b65b, #b46d08);
}

.progress {
  height: 7px;
  background: #edf2f8;
  border-radius: 99px;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.progress.green > span {
  background: linear-gradient(90deg, #149066, #35c68f);
}

.progress.amber > span {
  background: linear-gradient(90deg, #c17a0d, #f1b84e);
}

.progress.red > span {
  background: linear-gradient(90deg, #c14353, #f17887);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 11px;
  font-weight: 800;
  color: #536783;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
  min-height: 42px;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #91b4f2;
  outline: 3px solid rgba(23, 104, 255, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 18px;
}

.switch {
  width: 42px;
  height: 24px;
  border-radius: 99px;
  background: #dbe3ee;
  position: relative;
  display: inline-block;
  flex: none;
}

.switch:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: 0.16s;
}

.switch.on {
  background: var(--blue);
}

.switch.on:after {
  left: 21px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.check-row input {
  margin-top: 3px;
}

.check-row b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.check-row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.tabs {
  display: flex;
  gap: 5px;
  padding: 4px;
  border-radius: 13px;
  background: #eaf0f8;
  width: max-content;
  max-width: 100%;
  overflow: auto;
}

.tab {
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: #62748e;
  font-weight: 850;
  padding: 8px 12px;
  white-space: nowrap;
}

.tab.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 5px 14px rgba(26, 62, 116, 0.08);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filters .input,
.filters .select {
  width: auto;
  min-width: 150px;
  min-height: 38px;
  padding: 7px 10px;
  font-size: 11px;
}

.list {
  display: grid;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f6;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-icon {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}

.list-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.list-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.list-icon.red {
  background: var(--red-soft);
  color: var(--red);
}

.list-icon.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.list-icon svg {
  width: 18px;
  height: 18px;
}

.list-copy {
  min-width: 0;
  flex: 1;
}

.list-copy b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.list-copy small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.list-meta {
  margin-left: auto;
  text-align: right;
  color: var(--muted);
  font-size: 10px;
}

.empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.empty .icon-box {
  margin: 0 auto 13px;
}

.empty h3 {
  margin-bottom: 5px;
}

.empty p {
  max-width: 420px;
  margin: 0 auto 15px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 18px;
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-soft);
  margin-top: 4px;
  position: relative;
}

.timeline-item:not(:last-child) .timeline-dot:after {
  content: "";
  position: absolute;
  width: 1px;
  height: calc(100% + 21px);
  background: var(--line);
  left: 5px;
  top: 12px;
}

.timeline-item b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.timeline-item small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 15px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: #fff;
}

.alert.blue {
  background: var(--blue-soft);
  border-color: #d7e5ff;
}

.alert.green {
  background: var(--green-soft);
  border-color: #d4f0e4;
}

.alert.amber {
  background: var(--amber-soft);
  border-color: #f5dfb8;
}

.alert.red {
  background: var(--red-soft);
  border-color: #f3d4da;
}

.alert svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.alert b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.alert p {
  margin: 3px 0 0;
  font-size: 11px;
}

/* public site */
.public-body {
  background: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 242, 0.92);
}

.site-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 10px;
  color: #536782;
  font-size: 12px;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--blue-soft);
  color: var(--blue);
}

.site-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 74px;
  background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%);
}

.hero:before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  right: -220px;
  top: -300px;
  background: radial-gradient(
    circle,
    rgba(22, 184, 232, 0.22),
    rgba(23, 104, 255, 0.05) 56%,
    transparent 69%
  );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(22, 184, 232, 0.12);
}

.hero h1,
.page-hero h1 {
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.048em;
  margin: 18px 0 18px;
  color: var(--navy);
}

.hero .lead,
.page-hero .lead {
  font-size: 18px;
  line-height: 1.68;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-notes {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #596d87;
  font-size: 11px;
}

.hero-note span {
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 950;
}

.page-hero {
  padding: 66px 0 52px;
  background: linear-gradient(180deg, #f5f8ff, #fff);
  border-bottom: 1px solid #edf2f8;
}

.page-hero .hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.page-hero h1 {
  font-size: 44px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8594aa;
  font-size: 11px;
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.section {
  padding: 74px 0;
}

.section.soft {
  background: var(--bg);
}

.section.navy {
  background: var(--navy);
  color: #fff;
}

.section.navy h2,
.section.navy h3 {
  color: #fff;
}

.section.navy p {
  color: #b9c7d9;
}

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-title {
  max-width: 760px;
}

.section-kicker {
  font-size: 10px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.12em;
  margin-bottom: 9px;
}

.section h2 {
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.section h3 {
  font-size: 18px;
}

.section-head p {
  margin-bottom: 0;
}

.site-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.site-card.hover {
  transition: 0.18s;
}

.site-card.hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #c4d4ed;
}

.site-card h3 {
  margin-bottom: 7px;
}

.site-card p:last-child {
  margin-bottom: 0;
}

.site-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.site-icon.green {
  background: var(--green-soft);
  color: var(--green);
}

.site-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.site-icon.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.site-icon svg {
  width: 24px;
  height: 24px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 850;
  font-size: 11px;
  margin-top: 12px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 17px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  gap: 9px;
  color: #536781;
}

.check-list li:before {
  content: "✓";
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 950;
  flex: none;
}

.quote {
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.price {
  font-size: 30px;
  font-weight: 930;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.price small {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.popular {
  border: 2px solid var(--blue);
  position: relative;
}

.popular:before {
  content: "Популярный";
  position: absolute;
  right: 18px;
  top: -13px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 900;
}

.site-footer {
  background: #061831;
  color: #c0ccdb;
  padding: 52px 0 24px;

  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}

.site-footer .logo-copy b {
  color: #fff;
}

.site-footer .logo-copy small {
  color: #9fb3cd;
  font-size: 10px;
}

.site-footer .logo-mark {
  box-shadow: none;
}

.site-footer h4 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 13px;
}

.site-footer a {
  display: block;
  color: #9fb0c5;
  font-size: 11px;
  margin: 8px 0;
}

.site-footer a.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.site-footer a.logo .logo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 35px;
  padding-top: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 10px;
  color: #8195ad;
}

.public-mock {
  border: 1px solid #d6e1ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 52, 110, 0.17);
  overflow: hidden;
}

.mock-bar {
  height: 41px;
  background: #f8fafd;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d9e6;
}

.mock-title {
  font-size: 9px;
  color: #7b8ca4;
  margin-left: 8px;
  font-weight: 800;
}

.mock-body {
  padding: 17px;
  background: #f3f7fc;
  min-height: 330px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px;
}

.mock-kpi small {
  display: block;
  color: #8292a9;
  font-size: 7px;
}

.mock-kpi b {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-top: 5px;
}

.mock-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9px;
  margin-top: 9px;
}

.mock-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  min-height: 155px;
}

.mock-panel h4 {
  font-size: 9px;
  margin-bottom: 9px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid #edf1f6;
  font-size: 8px;
  color: #62738b;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-status {
  margin-left: auto;
  border-radius: 99px;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 6px;
  font-size: 7px;
  font-weight: 850;
}

/* application shells */
.app-body {
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  grid-template-rows: var(--topbar) minmax(0, 1fr);
}

.sidebar {
  grid-row: 1/3;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  z-index: 50;
}

.sidebar-brand {
  height: var(--topbar);
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.sidebar-scroll {
  overflow: auto;
  padding: 15px 12px;
}

.nav-section {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa8ba;
  font-weight: 900;
  padding: 11px 10px 7px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 11px;
  color: #5a6e89;
  font-weight: 800;
  font-size: 12px;
  margin: 2px 0;
  transition: 0.15s;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.nav-item:hover {
  background: #f3f6fb;
  color: var(--navy);
}

.nav-item.active {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-item .count {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  border-radius: 8px;
  background: #edf2f8;
  display: grid;
  place-items: center;
  font-size: 9px;
}

.nav-item.active .count {
  background: #fff;
}

.nav-group-title {
  display: flex;
  align-items: center;
}

.nav-sub {
  display: grid;
  gap: 1px;
  margin-left: 17px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.nav-sub .nav-item {
  font-size: 11px;
  padding: 8px 10px;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.sync-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px;
  background: #fbfcfe;
}

.sync-card b {
  font-size: 10px;
  color: var(--navy);
}

.sync-card small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.topbar {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  min-height: var(--topbar);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}

.mobile-sidebar-btn {
  display: none;
}

.workspace-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.org-logo {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1238dd, #2e77ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.workspace-name b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.workspace-name small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.topbar-spacer {
  flex: 1;
}

.topbar-action {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #50637e;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  font-weight: 800;
  font-size: 11px;
}

.topbar-action:hover {
  color: var(--blue);
  border-color: #bfd0ec;
}

.topbar-action svg {
  width: 17px;
  height: 17px;
}

.notify-button {
  position: relative;
  width: 40px;
  padding: 0;
  justify-content: center;
}

.notify-count {
  position: absolute;
  right: -3px;
  top: -4px;
  min-width: 17px;
  height: 17px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: #f5f7fb;
  border-radius: 13px;
  padding: 5px 9px 5px 5px;
  min-width: 152px;
}

.profile-button b {
  display: block;
  color: var(--navy);
  font-size: 11px;
  text-align: left;
}

.profile-button small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  text-align: left;
}

.main-scroll {
  grid-column: 2;
  overflow: auto;
  min-width: 0;
}

.page {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.page.wide {
  width: min(1460px, calc(100% - 28px));
}

.page-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 20px;
}

.page-head h1 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 5px;
}

.page-head p {
  margin-bottom: 0;
}

.page-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-label {
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 950;
  margin-bottom: 6px;
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 16px;
}

.content-columns.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-pane {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 280px;
  gap: 14px;
  min-height: 680px;
}

.sticky-side {
  position: sticky;
  top: 16px;
  align-self: start;
}

.drawer-shade,
.modal-shade {
  position: fixed;
  inset: 0;
  background: rgba(5, 18, 40, 0.24);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
}

.drawer-shade.open,
.modal-shade.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(430px, 100%);
  background: #fff;
  box-shadow: -18px 0 60px rgba(9, 30, 66, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: 0.22s;
}

.drawer-shade.open .drawer {
  transform: none;
}

.drawer-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
}

.drawer-head h2 {
  font-size: 20px;
  margin-bottom: 3px;
}

.drawer-body {
  padding: 0 20px 20px;
  overflow: auto;
}

.notif-day {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9aa8ba;
  font-weight: 900;
  padding: 18px 0 6px;
}

.notif-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f6;
}

.notif-row.unseen:before {
  content: "";
  position: absolute;
}

.notif-row b {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.notif-row p {
  font-size: 10px;
  margin: 3px 0 0;
}

.notif-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.notif-logo svg {
  width: 19px;
  height: 19px;
}

.notif-time {
  font-size: 9px;
  color: #9aa8ba;
}

.profile-menu {
  position: fixed;
  right: 22px;
  top: 60px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 220;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.16s;
}

.profile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
}

.profile-summary b {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.profile-summary small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.menu-action {
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  padding: 9px 10px;
  color: #536781;
  font-size: 11px;
  font-weight: 750;
}

.menu-action:hover {
  background: #f3f6fb;
  color: var(--blue);
}

.menu-action svg {
  width: 17px;
  height: 17px;
}

.modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -47%);
  width: min(620px, calc(100% - 28px));
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transition: 0.18s;
}

.modal-shade.open .modal {
  transform: translate(-50%, -50%);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 13px;
  padding: 12px 15px;
  box-shadow: var(--shadow-lg);
  font-size: 11px;
  font-weight: 750;
  z-index: 400;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.18s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* auth */
.auth-body {
  min-height: 100vh;
  background: linear-gradient(145deg, #f4f8ff, #fff);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
}

.auth-aside {
  padding: 58px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #061a3a, #0c3c8d);
}

.auth-aside:after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  right: -280px;
  bottom: -330px;
  background: radial-gradient(
    circle,
    rgba(22, 184, 232, 0.34),
    transparent 68%
  );
}

.auth-aside .logo-copy b {
  color: #fff;
}

.auth-aside .logo-copy small {
  color: #9fb4d0;
}

.auth-message {
  margin: auto 0;
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.auth-message h1 {
  color: #fff;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.auth-message p {
  color: #b9c9dc;
  font-size: 17px;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.auth-point {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #d4dfec;
}

.auth-point span {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.11);
  display: grid;
  place-items: center;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 34px;
}

.auth-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.auth-card h1 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 7px;
}

.auth-card .lead {
  font-size: 13px;
}

.auth-card .field {
  margin-top: 13px;
}

.auth-help {
  text-align: center;
  font-size: 11px;
  margin-top: 18px;
}

.auth-status {
  text-align: center;
  padding: 20px;
}

.auth-status .icon-box {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  margin: 0 auto 17px;
}

.auth-status h1 {
  font-size: 26px;
}

/* catalog */
.catalog-body {
  background: var(--bg);
}

.catalog-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.catalog-top .container {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.catalog-summary {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.catalog-main {
  padding: 32px 0 60px;
}

.catalog-hero {
  background: linear-gradient(135deg, #071c40, #0b57dd);
  color: #fff;
  border-radius: 26px;
  padding: 34px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.catalog-hero:after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  right: -170px;
  top: -230px;
  background: radial-gradient(
    circle,
    rgba(22, 184, 232, 0.38),
    transparent 68%
  );
}

.catalog-hero h1 {
  color: #fff;
  font-size: 38px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  position: relative;
}

.catalog-hero p {
  color: #c6d4e6;
  max-width: 780px;
  position: relative;
}

.catalog-section {
  margin-top: 22px;
}

.catalog-section-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.catalog-section-head h2 {
  font-size: 20px;
  margin: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.page-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  transition: 0.15s;
}

.page-link:hover {
  border-color: #b8cbe8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.page-link b {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.page-link small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}

.page-link .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.page-link .icon-box svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .site-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
  }

  .site-nav.mobile-open > a,
  .site-nav.mobile-open > button {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .page-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .app-shell {
    --sidebar: 220px;
  }

  .content-columns {
    grid-template-columns: 1fr;
  }

  .three-pane {
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 0;
  }

  .three-pane > aside {
    grid-column: 1/-1;
  }

  .sticky-side {
    position: static;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  body {
    font-size: 13px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header-inner {
    height: 64px;
  }

  .site-actions .btn:not(.primary):not(.mobile-menu-btn) {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-grid {
    gap: 30px;
  }

  .section {
    padding: 54px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 12px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .form-row {
    grid-template-columns: 1fr;
  }

  .span-2,
  .span-3 {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }

  .auth-body {
    display: block;
  }

  .auth-aside {
    display: none;
  }

  .auth-main {
    min-height: 100vh;
    padding: 18px;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(280px, 88vw);
    transform: translateX(-102%);
    transition: 0.2s;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.open {
    transform: none;
  }

  .topbar {
    height: var(--topbar);
    padding: 0 12px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
  }

  .mobile-sidebar-btn {
    display: inline-flex;
  }

  .workspace-name {
    display: none;
  }

  .topbar-action .action-label {
    display: none;
  }

  .profile-button b,
  .profile-button small {
    display: none;
  }

  .main-scroll {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--topbar);
    bottom: 0;
    overflow: auto;
  }

  .page,
  .page.wide {
    width: calc(100% - 24px);
    padding: 18px 0 42px;
  }

  .page-head {
    display: block;
  }

  .three-pane {
    grid-template-columns: 1fr;
  }

  .page-head h1 {
    font-size: 24px;
  }

  .page-head-actions {
    margin: 13px 0 0;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-value {
    font-size: 24px;
  }

  .content-columns.equal {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 17px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-summary {
    display: none;
  }

  .catalog-hero {
    padding: 24px;
  }

  .catalog-hero h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-actions .btn.primary {
    padding: 8px 11px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 32px;
  }

  .public-mock {
    border-radius: 16px;
  }

  .mock-body {
    padding: 11px;
  }

  .mock-layout {
    grid-template-columns: 1fr;
  }

  .profile-button {
    padding-right: 5px;
  }

  .topbar {
    gap: 6px;
  }

  .topbar-action {
    padding: 0 9px;
  }

  .page-head-actions .btn {
    flex: 1;
  }

  .tabs {
    width: 100%;
  }
}

.ux-inline-0001 {
  color: var(--red);
}

.ux-inline-0002 {
  color: var(--amber);
}

.ux-inline-0003 {
  color: var(--blue);
}

.ux-inline-0004 {
  color: var(--green);
}

.ux-inline-0005 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ux-inline-0006 {
  max-width: 290px;
  margin-top: 16px;
  color: #91a5bd;
}

.public-demo-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  height: auto;
  min-height: 0;
  padding: clamp(20px, 2.2vw, 28px);
  border-color: rgba(177, 201, 232, .72);
  background: #fff;
}

.public-demo-cta > div {
  min-width: 0;
}

.public-demo-cta .btn {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.section.navy .public-demo-cta h3 {
  margin-bottom: 9px;
  color: #081b3a;
}

.section.navy .public-demo-cta p {
  max-width: 760px;
  margin: 0;
  color: #526987;
  font-size: 16px;
  line-height: 1.6;
}

.section.navy .public-demo-cta p strong {
  color: #1768ff;
  font-weight: 900;
}

@media (max-width: 760px) {
  .public-demo-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .public-demo-cta .btn {
    width: 100%;
  }
}
