:root {
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: #080b3a;
  background: #fbfcff;
  font-synthesis: none;
  --ink: #080b3a;
  --muted: #6974a4;
  --violet: #7029ff;
  --blue: #0788ff;
  --line: #e6eafa;
  --surface: #fff;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.45;
  background:
    radial-gradient(ellipse at 0 40%, #e1eeff66, transparent 55%),
    radial-gradient(ellipse at 100% 68%, #ffe7fb66, transparent 50%), #fcfdff;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--violet);
  text-underline-offset: 3px;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8c62ff;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #9074ff;
  box-shadow: 0 0 0 3px #9166ff20;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}
h2 {
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}
small {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 25px;
}
.icon {
  display: inline-block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  vertical-align: middle;
}
.icon-button {
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.2s;
}
.icon-button:hover {
  background: #e9ecff;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  gap: 10px;
}
.brand img {
  width: 120px;
  height: 55px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand small {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8973b6;
}
.topbar {
  height: 86px;
  max-width: 1320px;
  margin: auto;
  padding: 12px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e9ecfa;
}
.topbar nav {
  display: flex;
  gap: 28px;
}
.topbar nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}
.topbar nav a.active {
  color: var(--violet);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-switch {
  max-width: 215px;
  font-size: 12px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 8px 28px 8px 12px;
  color: var(--ink);
}
.notif {
  position: relative;
}
.notif b {
  position: absolute;
  top: 5px;
  right: 6px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  min-width: 13px;
  line-height: 13px;
  padding: 1px;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 38px 36px 80px;
}
.narrow {
  max-width: 810px;
}
.page {
  animation: page-in 0.4s var(--ease) both;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.btn {
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 12px 23px;
  background: linear-gradient(
    105deg,
    #09baff,
    #155eff 26%,
    #772bff 56%,
    #ed66e6 82%,
    #ffd379
  );
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 500;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
  box-shadow: 0 5px 18px #635bff12;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #635bff22;
}
.btn.secondary {
  background: #edf0f9;
  color: var(--ink);
  box-shadow: none;
}
.btn.outline {
  border: 1px solid #dce3fc;
  background: white;
  color: var(--ink);
  box-shadow: none;
}
.btn.small {
  min-height: 40px;
  border-radius: 11px;
  padding: 9px 15px;
  font-size: 13px;
}
.btn.danger {
  background: #fff0f0;
  color: #a22d3d;
  box-shadow: none;
}
.btn.full {
  width: 100%;
}
.text-button {
  background: none;
  border: 0;
  color: var(--violet);
  padding: 8px 4px;
  min-height: 38px;
  text-underline-offset: 3px;
}
.panel {
  border: 1px solid #e8ecfa;
  background: #ffffffde;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 6px 28px #a8b4dc13;
  margin-bottom: 20px;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.panel-head h2 {
  margin: 0 0 6px;
}
.panel-head p {
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}
.tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f0e5ff;
  display: grid;
  place-items: center;
  color: #872bff;
  flex-shrink: 0;
}
.tile-icon .icon {
  width: 29px;
  height: 29px;
}
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: center;
  position: relative;
}
.progress:before {
  content: "";
  position: absolute;
  top: 24px;
  height: 3px;
  left: 13%;
  right: 13%;
  background: #eaeefa;
}
.progress li {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.progress span {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #edf0f9;
  color: #55628f;
  font-size: 21px;
  margin: 0 auto 9px;
}
.progress li.done span {
  color: #fff;
  background: #7337ff;
}
.progress li.current span {
  color: #fff;
  background: linear-gradient(140deg, #1c9aff, #8838ff);
  box-shadow: 0 4px 10px #6d57ff20;
}
.progress strong {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  line-height: 1.3;
}
.progress li.current strong {
  color: var(--ink);
  font-weight: 700;
}
.save-state {
  font-size: 11px;
  color: #7182a3;
  min-height: 16px;
  text-align: right;
  margin: -12px 0 16px;
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.field > label,
.field > legend {
  font-weight: 600;
  font-size: 15px;
  padding: 0;
}
.field em {
  font-style: normal;
  color: #e33;
}
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dde3f5;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  min-height: 48px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 106px;
  line-height: 1.4;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #858faf;
}
.field select {
  appearance: auto;
}
.field small {
  font-size: 12px;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #d7546d;
}
.error-text {
  color: #b92545;
  font-size: 12px;
  min-height: 0;
}
.error-text:empty {
  display: none;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 55px !important;
}
.password-wrap button {
  position: absolute;
  right: 4px;
  top: 3px;
  color: #5567a7;
}
.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.choice {
  display: inline-flex;
  align-items: center;
  position: relative;
  gap: 7px;
  border-radius: 10px;
  padding: 10px 13px;
  min-height: 40px;
  background: #f0f2f8;
  color: #455278;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.25;
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--violet);
}
.choice:has(input:checked) {
  color: #782bff;
  background: #eadfff;
  box-shadow: inset 0 0 0 1px #decbff;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0;
}
.checkbox input {
  width: 19px;
  height: 19px;
  accent-color: var(--violet);
  flex-shrink: 0;
  margin: 0;
}
.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 14px;
}
.switch-label input {
  appearance: none;
  width: 45px;
  height: 27px;
  background: #d5dcf2;
  border-radius: 30px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.switch-label input:before {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  left: 3px;
  top: 3px;
  box-shadow: 0 2px 5px #293e5320;
  transition: transform 0.25s var(--ease);
}
.switch-label input:checked {
  background: #7935ff;
}
.switch-label input:checked:before {
  transform: translateX(18px);
}
.navigation {
  display: flex;
  gap: 14px;
  position: relative;
  margin-top: 22px;
}
.navigation > * {
  flex: 1;
}
.note {
  padding: 16px 18px;
  background: #f2f0ff;
  border-radius: 16px;
  color: #59648e;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0;
}
.status-label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 99px;
  background: #eee6ff;
  color: #772aff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}
.status-label.approved,
.badge.good {
  background: #ddfaeb;
  color: #158451;
}
.status-label.revision,
.status-label.moderation {
  background: #fff4dc;
  color: #996122;
}
.status-label.blocked,
.status-label.rejected {
  background: #ffebee;
  color: #b3394d;
}
.upload {
  border: 1px dashed #c7cdf1;
  border-radius: 14px;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  position: relative;
  color: var(--blue);
  text-align: center;
  background: #f8f9ff;
  gap: 6px;
  cursor: pointer;
}
.upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload:hover {
  border-color: #9171ff;
  background: #f2f0ff;
}
.media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.media-item {
  width: 88px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.media-item img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.media-item small {
  display: block;
  padding: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}
.media-item .icon-button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 27px;
  height: 27px;
  background: #fff;
  box-shadow: 0 1px 5px #aaa;
}
.media-item .icon-button .icon {
  width: 17px;
  height: 17px;
}
.file-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.file-list a {
  display: flex;
  gap: 8px;
  font-size: 13px;
  align-items: center;
}
.social-row {
  display: grid;
  grid-template-columns: 125px 1fr 35px;
  gap: 8px;
  margin-bottom: 10px;
  align-items: center;
}
.social-row select,
.social-row input {
  min-width: 0;
}
.social-row .icon-button {
  width: 34px;
}
.social-row:only-child {
  margin-bottom: 0;
}
.welcome {
  max-width: 1150px;
  margin: auto;
  min-height: calc(100svh - 20px);
  padding: 32px 45px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 70px;
}
.welcome-art {
  text-align: center;
}
.welcome-art > .large-brand {
  width: 280px;
  max-width: 80%;
  mix-blend-mode: multiply;
}
.welcome-art h1 {
  font-size: clamp(25px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
  max-width: 530px;
  margin: 24px auto 0;
}
.hero-scene {
  position: relative;
  width: 100%;
  max-width: 530px;
  aspect-ratio: 1.38;
  margin: 26px auto 0;
  isolation: isolate;
  animation: scene-arrive 900ms var(--ease) both;
}
.scene-halo {
  position: absolute;
  inset: 15% 4% 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #d8dfff80,
    #f8dfff45 45%,
    transparent 72%
  );
}
.scene-object {
  position: absolute;
  animation: scene-float var(--float-time, 8s) ease-in-out
    var(--float-delay, 0s) infinite;
}
.scene-piece {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotate(var(--tilt, 0deg));
}
.scene-photo,
.scene-chart,
.scene-social,
.scene-video {
  width: 20%;
  aspect-ratio: 1;
  z-index: 3;
}
.scene-photo .scene-piece,
.scene-chart .scene-piece,
.scene-social .scene-piece,
.scene-video .scene-piece {
  display: grid;
  place-items: center;
  border-radius: 26%;
  border: 1px solid #ffffffda;
  box-shadow:
    inset 2px 3px 3px #ffffffa8,
    inset -5px -6px 10px #4335be2b,
    5px 7px 0 #b7b9ed80,
    9px 20px 28px #514dc321;
}
.hero-scene .icon {
  width: 60%;
  height: 60%;
  color: white;
  filter: drop-shadow(0 3px 2px #4541b433);
}
.scene-photo {
  left: 24%;
  top: 2%;
  --tilt: -13deg;
  --float-time: 9s;
  --float-delay: -2s;
}
.scene-photo .scene-piece {
  background: linear-gradient(135deg, #80f0ff, #319fff 48%, #9d83f6);
}
.scene-chart {
  right: 11%;
  top: 5%;
  --tilt: 12deg;
  --float-time: 10s;
  --float-delay: -5s;
}
.scene-chart .scene-piece {
  background: linear-gradient(135deg, #ffffff, #f4e4ff 80%);
}
.scene-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8%;
  width: 62%;
  height: 65%;
}
.scene-bars i {
  width: 24%;
  border-radius: 5px;
  background: linear-gradient(100deg, #5be1ff, #326cff 45%, #8137ec);
  box-shadow: 3px 2px 0 #5a57d350;
  transform-origin: bottom;
  animation: scene-chart-breathe 6s ease-in-out infinite;
}
.scene-bars i:nth-child(1) {
  height: 40%;
}
.scene-bars i:nth-child(2) {
  height: 68%;
  animation-delay: -2s;
}
.scene-bars i:nth-child(3) {
  height: 100%;
  animation-delay: -4s;
}
.scene-social {
  left: 4%;
  top: 39%;
  --tilt: -16deg;
  --float-time: 8s;
  --float-delay: -4s;
}
.scene-social .scene-piece {
  background: linear-gradient(
    150deg,
    #614aff,
    #cf36ed 45%,
    #ff77af 70%,
    #ffcd7f
  );
}
.social-camera {
  position: relative;
  width: 58%;
  height: 58%;
  border: 4px solid white;
  border-radius: 28%;
  box-shadow: 0 3px 3px #ae32bb33;
}
.social-camera::before {
  content: "";
  position: absolute;
  inset: 22%;
  border: 3px solid white;
  border-radius: 50%;
}
.social-camera::after {
  content: "";
  position: absolute;
  width: 10%;
  height: 10%;
  right: 13%;
  top: 13%;
  border-radius: 50%;
  background: white;
}
.scene-video {
  right: 1%;
  top: 47%;
  --tilt: 14deg;
  --float-time: 9s;
  --float-delay: -6s;
}
.scene-video .scene-piece {
  background: linear-gradient(
    140deg,
    #ffc9f9,
    #ab72ed 50%,
    #567dfb 85%,
    #7ad9ff
  );
}
.scene-laptop {
  left: 25%;
  top: 33%;
  width: 55%;
  z-index: 2;
  --tilt: -7deg;
  --float-time: 11s;
  --float-delay: -3s;
}
.laptop-display {
  position: relative;
  aspect-ratio: 1.52;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(125deg, #c3fbff, #95baf9 55%, #edd7ff);
  border: 1px solid #fff;
  box-shadow:
    4px 3px 0 #818eea,
    12px 20px 35px #5e5bb523;
  transform: perspective(750px) rotateY(-12deg);
}
.laptop-screen {
  position: absolute;
  inset: 4%;
  overflow: hidden;
  border-radius: 7px;
  background: linear-gradient(130deg, #1b5afe, #673cff 55%, #ee8ae6);
  box-shadow: inset 0 0 0 2px #6872c5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, #ffffff40, transparent 40%, #ffffff15);
}
.screen-bolt {
  width: 24%;
  height: 56%;
  color: #ffffffd9;
  z-index: 1;
}
.screen-orbit {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  box-shadow:
    0 0 0 20px #ffffff08,
    0 0 0 45px #ffffff08;
}
.screen-line {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 14%;
  height: 3px;
  border-radius: 6px;
  background: #ffffff42;
}
.screen-line.short {
  right: 50%;
  bottom: 9%;
  background: #ffffff27;
}
.laptop-base {
  position: relative;
  width: 125%;
  margin-left: -12.5%;
  height: 72px;
  background: linear-gradient(130deg, #d1f6ff, #a7b6ed 60%, #ffe1fc);
  border-radius: 0 0 12px 12px;
  transform: perspective(400px) rotateX(52deg);
  transform-origin: top;
  border: 1px solid white;
  box-shadow:
    0 7px 0 #99a7d6,
    0 18px 25px #705bb521;
}
.laptop-keys {
  position: absolute;
  left: 17%;
  right: 17%;
  top: 10%;
  height: 42%;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, transparent 0 8%, #c7d6fa 8% 10%),
    repeating-linear-gradient(0deg, #6679bb 0 22%, #c7d6fa 22% 30%);
}
.laptop-trackpad {
  position: absolute;
  left: 39%;
  right: 39%;
  bottom: 9%;
  height: 28%;
  border-radius: 3px;
  border: 1px solid #7189c66b;
  background: #ecedfc50;
}
.scene-orb {
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    inset -4px -4px 7px #6666bf35,
    4px 8px 14px #9d81c11c;
  background: radial-gradient(
    circle at 30% 25%,
    #defcff,
    #73cbff 45%,
    #a192f9 85%
  );
}
.orb-blue {
  left: 6%;
  top: 77%;
  --float-time: 7s;
  --float-delay: -1s;
}
.orb-pink {
  right: 4%;
  top: 24%;
  width: 5%;
  background: radial-gradient(circle at 30% 25%, #ffe8ff, #f2a5ef 55%, #b890ed);
  --float-delay: -5s;
}
.orb-violet {
  left: 9%;
  top: 12%;
  width: 4%;
  --float-time: 10s;
}
.scene-spark {
  position: absolute;
  color: #ada3f0;
  font-size: 20px;
  animation: scene-sparkle 5s ease-in-out infinite;
}
.spark-one {
  top: 28%;
  left: 17%;
}
.spark-two {
  right: 13%;
  bottom: 13%;
  font-size: 14px;
  animation-delay: -2s;
}
@keyframes scene-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}
@keyframes scene-arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scene-chart-breathe {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.85);
  }
}
@keyframes scene-sparkle {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
}
.auth-panel {
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.auth-panel h1 {
  font-size: 38px;
  margin-bottom: 16px;
}
.auth-panel .field {
  text-align: left;
}
.auth-panel .subtitle {
  font-size: 18px;
  margin-bottom: 30px;
}
.auth-buttons {
  display: grid;
  gap: 12px;
}
.auth-buttons .btn {
  min-height: 55px;
  font-size: 20px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #909ac0;
  font-size: 14px;
  margin: 23px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #d8dff0;
  flex: 1;
}
.apple {
  width: 100%;
  background: #fff;
  border: 1px solid #dde5fa;
  border-radius: 14px;
  min-height: 50px;
  color: var(--ink);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.apple .icon {
  width: 24px;
  height: 24px;
}
.auth-links {
  margin-top: 25px;
  font-size: 14px;
  color: var(--muted);
}
.language {
  position: absolute;
  top: 20px;
  right: 30px;
  min-height: 36px;
  background: transparent;
  border: 0;
  font-size: 14px;
  color: var(--ink);
}
.roles-head {
  text-align: center;
  max-width: 720px;
  margin: auto auto 35px;
}
.roles-head .brand {
  justify-content: center;
  margin-bottom: 25px;
}
.roles-head h1 {
  font-size: clamp(30px, 4vw, 48px);
}
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #ffffffed;
  padding: 25px;
  text-align: left;
  color: var(--ink);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
  box-shadow: 0 4px 20px #b3c3dd15;
}
.role-card > img {
  width: 140px;
  height: 110px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 0 0 20px;
}
.role-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.role-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 0;
}
.role-card:after {
  content: "";
  position: absolute;
  top: 25px;
  right: 23px;
  width: 23px;
  height: 23px;
  border: 2px solid #ced4ef;
  border-radius: 50%;
}
.role-card.selected {
  border-color: #a151ff;
  background: #faf6ff;
  box-shadow: 0 6px 24px #874bff12;
}
.role-card.selected:after {
  background: #7935ff;
  border-color: #7935ff;
}
.role-card.selected:before {
  content: "";
  width: 12px;
  height: 7px;
  position: absolute;
  top: 32px;
  right: 28px;
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  transform: rotate(-45deg);
  z-index: 1;
}
.role-card:hover {
  transform: translateY(-3px);
}
.role-card .badge {
  margin-top: 13px;
}
.role-benefits {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 28px auto;
  padding: 25px;
  border-radius: 22px;
  background: #f2f5fc;
  max-width: 940px;
  color: var(--muted);
  font-size: 13px;
}
.role-benefits > div {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 230px;
}
.role-benefits .icon {
  color: #3256ff;
  width: 27px;
  height: 27px;
}
.roles-next {
  display: flex;
  justify-content: center;
}
.roles-next .btn {
  width: 360px;
  font-size: 18px;
}
.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(0, 750px) 270px;
  gap: 38px;
  align-items: start;
}
.onboarding-help {
  position: sticky;
  top: 25px;
  padding-top: 120px;
  color: var(--muted);
  font-size: 14px;
}
.onboarding-help img {
  width: 220px;
  mix-blend-mode: multiply;
}
.onboarding-help h3 {
  color: var(--ink);
  margin-top: 20px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
  background: white;
}
.project-card img,
.project-card video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}
.project-card h3 {
  margin: 12px 0 6px;
  font-size: 15px;
}
.project-card p {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.project-card .row {
  gap: 5px;
}
.reel-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  padding: 13px;
  margin-top: 14px;
  align-items: start;
}
.reel-card .cover {
  width: 100px;
  height: 125px;
  object-fit: cover;
  border-radius: 12px;
}
.cover-empty {
  display: grid;
  place-items: center;
  background: #f0edff;
  color: #7d55dd;
}
.reel-card h3 {
  font-size: 17px;
  margin-bottom: 9px;
}
.stats {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.stat {
  border-radius: 10px;
  background: #f3f5fc;
  padding: 7px 10px;
  min-width: 80px;
}
.stat b {
  font-size: 14px;
  display: block;
}
.stat small {
  font-size: 10px;
  display: block;
}
.reel-card .btn {
  margin-top: 8px;
}
.card-actions {
  display: grid;
  gap: 4px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.status-panel {
  padding: 30px;
}
.status-panel h2 {
  margin: 14px 0;
}
.status-panel .tile-icon {
  width: 65px;
  height: 65px;
}
.dashboard-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dashboard-links a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
  text-decoration: none;
  color: var(--ink);
  display: grid;
  gap: 13px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.dashboard-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px #7580ac15;
}
.dashboard-links .icon {
  color: var(--violet);
  width: 28px;
  height: 28px;
}
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed #d8dff3;
  border-radius: 22px;
  background: #ffffff95;
}
.empty .icon {
  width: 45px;
  height: 45px;
  color: #925aff;
  margin-bottom: 15px;
}
.empty h2 {
  color: var(--ink);
  font-size: 22px;
}
.empty p {
  max-width: 440px;
  margin: 0 auto 22px;
}
.catalog-banner {
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(105deg, #008dff, #8338ff 60%, #f3a2f7);
  color: white;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.catalog-banner h2 {
  font-weight: 500;
  margin: 0 0 13px;
}
.catalog-banner .row {
  font-size: 12px;
  gap: 20px;
  flex-wrap: wrap;
}
.catalog-banner .row span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.catalog-banner img {
  width: 130px;
  height: 110px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.toolbar {
  display: flex;
  gap: 13px;
  margin-bottom: 16px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #edf0f8;
  border-radius: 13px;
  padding: 0 15px;
  flex: 1;
  color: #707ba3;
  min-height: 45px;
}
.search input {
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  width: 100%;
  min-height: 45px;
  color: var(--ink);
  min-width: 0;
}
.toolbar select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px;
  color: var(--ink);
  max-width: 220px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.catalog-grid.list {
  grid-template-columns: 1fr;
}
.person-card {
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #ffffffed;
  padding: 22px;
  box-shadow: 0 4px 18px #a0aaca12;
  min-width: 0;
}
.person-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 13px;
}
.person-photo {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  object-fit: cover;
  background: #f0f2fa;
}
.person-photo.empty-photo {
  display: grid;
  place-items: center;
  color: #7e6ad1;
}
.person-photo .icon {
  width: 35px;
  height: 35px;
}
.person-head h2 {
  font-size: 20px;
  margin: 2px 0 7px;
}
.person-head .muted {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.person-head .icon-button {
  margin-left: auto;
  color: #9164da;
}
.person-card .badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0 12px;
}
.person-card p {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.person-card .stats {
  justify-content: space-between;
  margin-bottom: 17px;
}
.person-card .stat {
  background: transparent;
  padding: 0;
  min-width: 0;
}
.person-card .stat b {
  font-size: 18px;
}
.person-card .stat small {
  font-size: 12px;
}
.person-card .row.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.person-card .actions .btn {
  padding: 10px;
  min-height: 44px;
  font-size: 13px;
}
.catalog-count {
  font-size: 14px;
  margin: 15px 0;
  color: var(--muted);
}
.filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  animation: page-in 0.25s var(--ease);
}
.filters .field {
  margin: 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.profile-summary {
  position: sticky;
  top: 25px;
}
.profile-summary .person-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
}
.profile-summary h1 {
  font-size: 28px;
  text-align: center;
  overflow-wrap: anywhere;
}
.profile-summary .badges {
  justify-content: center;
}
.profile-summary .muted {
  text-align: center;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.details dt {
  color: var(--muted);
  font-size: 12px;
}
.details dd {
  margin: 3px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.social-links a {
  border-radius: 9px;
  background: #f1effc;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-decoration: none;
}
.section-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.response-card {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  margin-bottom: 14px;
}
.response-card p {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 14px;
}
.chat {
  max-height: 500px;
  overflow: auto;
  display: grid;
  gap: 13px;
  padding: 20px;
  background: #f4f5fc;
  border-radius: 20px;
  margin: 20px 0;
}
.bubble {
  padding: 12px 16px;
  background: white;
  border-radius: 15px;
  justify-self: start;
  max-width: 85%;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.bubble.mine {
  background: #eee4ff;
  justify-self: end;
}
.bubble small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.notification {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.notification.unread {
  background: #f2efff;
}
.notification h3 {
  font-size: 16px;
}
.notification p {
  color: var(--muted);
  font-size: 14px;
}
.notification small {
  font-size: 11px;
}
.admin-list {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.admin-list th,
.admin-list td {
  text-align: left;
  padding: 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.admin-list th {
  color: var(--muted);
  font-weight: 500;
}
.table-scroll {
  overflow: auto;
}
.dict-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dict-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 13px;
}
.dict-item .icon-button {
  width: 33px;
  height: 33px;
}
.legal {
  max-width: 790px;
  margin: auto;
}
.legal h2 {
  font-size: 22px;
  margin-top: 32px;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.75;
  color: #57618a;
}
.legal .note {
  line-height: 1.75;
}
footer {
  padding: 25px 36px;
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #828dad;
  font-size: 11px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
.menu-drawer {
  display: grid;
  gap: 4px;
}
.menu-drawer a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 12px;
}
.menu-drawer a:hover {
  background: #f2efff;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 0;
  background: white;
  color: var(--ink);
  width: min(720px, calc(100% - 30px));
  max-height: 90svh;
  box-shadow: 0 25px 100px #11184730;
  animation: dialog-in 0.3s var(--ease);
}
dialog::backdrop {
  background: #151a3a66;
  backdrop-filter: blur(5px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-head h2 {
  margin: 0;
  font-size: 23px;
}
.modal-body {
  padding: 25px;
}
.modal-body .navigation {
  position: sticky;
  bottom: -25px;
  background: #fff;
  padding: 15px 0;
}
.loading {
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 30px);
  background: #151738;
  color: white;
  box-shadow: 0 10px 35px #29305635;
  padding: 13px 22px;
  border-radius: 14px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s,
    transform 0.25s;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.busy {
  pointer-events: none;
  opacity: 0.7;
}
.form-error {
  color: #b92545;
  font-size: 13px;
  background: #fff1f3;
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 15px;
}
.form-error:empty {
  display: none;
}
.check-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 8px 0;
  font-size: 13px;
}
.check-row .icon {
  color: #119b5b;
}
.check-row.pending .icon {
  color: #c58b36;
}
.metric-form .field {
  margin-bottom: 16px;
}
.metric-form details {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 15px 0;
  padding: 16px;
}
.metric-form summary {
  cursor: pointer;
  color: var(--violet);
  min-height: 24px;
}
.metric-form details[open] summary {
  margin-bottom: 16px;
}
.field .counter {
  text-align: right;
  font-size: 11px;
  color: #838eb0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1000px) {
  .topbar {
    padding-inline: 22px;
  }
  .topbar nav {
    gap: 16px;
  }
  .onboarding-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 25px;
  }
  .onboarding-help img {
    width: 180px;
  }
  .container {
    padding: 30px 24px 60px;
  }
  .welcome {
    gap: 35px;
    padding: 30px;
  }
  .role-card {
    padding: 22px 18px;
  }
  .role-card h2 {
    font-size: 20px;
  }
  .role-card p {
    font-size: 14px;
  }
  .role-benefits {
    gap: 22px;
  }
  .profile-layout {
    grid-template-columns: 280px 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 73px;
    padding: 8px 16px;
  }
  .topbar .brand img {
    width: 110px;
    height: 49px;
  }
  .topbar .brand small {
    display: none;
  }
  .topbar nav {
    display: none;
  }
  .role-switch {
    max-width: 145px;
    padding: 7px;
    font-size: 10px;
  }
  .top-actions {
    gap: 2px;
  }
  .top-actions .icon-button {
    width: 36px;
  }
  .container {
    padding: 25px 18px 50px;
  }
  .onboarding-grid {
    display: block;
  }
  .onboarding-help {
    display: none;
  }
  .panel {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 16px;
  }
  .panel-head {
    gap: 11px;
    margin-bottom: 22px;
  }
  .panel-head h2 {
    font-size: 20px;
  }
  .panel-head p {
    font-size: 14px;
  }
  .tile-icon {
    width: 45px;
    height: 45px;
    border-radius: 13px;
  }
  .tile-icon .icon {
    width: 27px;
    height: 27px;
  }
  .subtitle {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .progress {
    margin: 25px 0;
  }
  .progress strong {
    font-size: 11px;
  }
  .progress span {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .progress:before {
    top: 20px;
  }
  .field {
    margin-bottom: 18px;
  }
  .field label {
    font-size: 14px;
  }
  .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .field textarea,
  .field select {
    padding: 12px;
    min-height: 46px;
    font-size: 16px;
  }
  .choice {
    font-size: 12px;
    padding: 9px 11px;
  }
  .fields-2 {
    gap: 12px;
  }
  .btn {
    min-height: 49px;
    padding: 12px 18px;
  }
  .navigation {
    gap: 10px;
  }
  .navigation .btn {
    font-size: 14px;
    padding-inline: 12px;
  }
  .welcome {
    display: block;
    padding: 55px 26px 30px;
    min-height: auto;
    max-width: 480px;
  }
  .welcome-art > .large-brand {
    width: 185px;
  }
  .welcome-art h1 {
    font-size: 23px;
    margin-top: 17px;
    max-width: 330px;
  }
  .hero-scene {
    max-width: 390px;
    margin-top: 22px;
    margin-bottom: 20px;
  }
  .laptop-base {
    height: 55px;
  }
  .welcome .auth-panel {
    max-width: none;
  }
  .auth-panel h1 {
    font-size: 32px;
  }
  .auth-panel .subtitle {
    font-size: 17px;
  }
  .welcome.login {
    padding-top: 60px;
  }
  .welcome.login .welcome-art {
    display: none;
  }
  .welcome.login .auth-panel > .brand {
    justify-content: center;
    margin-bottom: 28px;
  }
  .welcome.login .auth-panel > .brand img {
    width: 170px;
    height: 82px;
  }
  .language {
    top: 14px;
    right: 18px;
  }
  .auth-buttons .btn {
    font-size: 17px;
    min-height: 49px;
  }
  .roles-head {
    margin-bottom: 20px;
  }
  .roles-head h1 {
    font-size: 29px;
  }
  .roles-head .subtitle {
    font-size: 16px;
  }
  .roles-head .brand {
    margin-bottom: 22px;
  }
  .role-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .role-card {
    padding: 17px 33px 17px 16px;
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 15px;
    align-items: center;
    border-radius: 20px;
  }
  .role-card > img {
    width: 85px;
    height: 79px;
    margin: 0;
  }
  .role-card h2 {
    font-size: 18px;
    margin-bottom: 7px;
  }
  .role-card p {
    font-size: 13px;
    line-height: 1.35;
  }
  .role-card:after {
    top: 16px;
    right: 13px;
    width: 19px;
    height: 19px;
  }
  .role-card.selected:before {
    top: 22px;
    right: 17px;
    width: 10px;
    height: 6px;
  }
  .role-card .badge {
    font-size: 11px;
    margin-top: 8px;
  }
  .role-benefits {
    display: grid;
    gap: 13px;
    margin: 18px auto;
    padding: 19px;
    font-size: 12px;
  }
  .role-benefits > div {
    max-width: none;
  }
  .role-benefits .icon {
    width: 24px;
    height: 24px;
  }
  .roles-next .btn {
    width: 100%;
    font-size: 17px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dashboard-links a {
    padding: 20px;
    font-size: 14px;
  }
  .status-panel {
    padding: 25px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .catalog-banner {
    padding: 20px;
    margin: 20px 0;
    gap: 15px;
  }
  .catalog-banner h2 {
    font-size: 22px;
  }
  .catalog-banner img {
    width: 80px;
    height: 90px;
  }
  .catalog-banner .row {
    gap: 9px;
    font-size: 10px;
  }
  .catalog-banner .row .icon {
    width: 18px;
    height: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }
  .toolbar .search {
    flex-basis: 100%;
  }
  .toolbar select {
    max-width: 180px;
    flex: 1;
    font-size: 13px;
  }
  .filters {
    grid-template-columns: 1fr;
    padding: 17px;
  }
  .person-card {
    padding: 18px;
    border-radius: 20px;
  }
  .person-head {
    gap: 12px;
  }
  .person-head h2 {
    font-size: 19px;
  }
  .person-photo {
    width: 65px;
    height: 65px;
  }
  .person-card .actions .btn {
    font-size: 12px;
  }
  .profile-layout {
    display: block;
  }
  .profile-summary {
    position: static;
  }
  .profile-summary h1 {
    font-size: 29px;
  }
  .details {
    gap: 12px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .project-card img,
  .project-card video {
    height: 110px;
  }
  .project-card h3 {
    font-size: 13px;
  }
  .reel-card {
    grid-template-columns: 80px 1fr 27px;
    gap: 10px;
    padding: 11px;
  }
  .reel-card .cover {
    width: 80px;
    height: 110px;
  }
  .reel-card h3 {
    font-size: 15px;
  }
  .reel-card .stats {
    gap: 5px;
  }
  .reel-card .stat {
    min-width: 0;
    padding: 5px;
  }
  .reel-card .stat b {
    font-size: 12px;
  }
  .reel-card .stat small {
    font-size: 9px;
  }
  .reel-card .card-actions .icon-button {
    width: 27px;
    height: 30px;
  }
  .reel-card .card-actions .icon {
    width: 19px;
    height: 19px;
  }
  .reel-card .badge {
    font-size: 10px;
  }
  .modal-head {
    padding: 17px 19px;
  }
  .modal-head h2 {
    font-size: 21px;
  }
  .modal-body {
    padding: 19px;
  }
  .social-row {
    grid-template-columns: 105px 1fr 30px;
    gap: 6px;
  }
  .social-row select,
  .social-row input {
    font-size: 13px !important;
  }
  .dict-grid {
    grid-template-columns: 1fr;
  }
  .admin-list th,
  .admin-list td {
    padding: 11px;
    font-size: 12px;
  }
  footer {
    display: grid;
    padding: 22px 18px;
    font-size: 10px;
  }
  footer nav {
    gap: 16px;
  }
  .auth-links {
    font-size: 13px;
  }
  .fields-2.stack-mobile {
    grid-template-columns: 1fr;
  }
  .loading {
    padding: 60px 15px;
  }
}
@media (max-width: 760px) {
  .welcome:not(.login) .auth-panel > h2,
  .welcome:not(.login) .auth-panel > .subtitle {
    display: none;
  }
  .media-item video {
    width: 100%;
    max-height: 150px;
    border-radius: 12px;
  }
  .project-card video {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
}
.project-gallery {
  display: grid;
  gap: 16px;
  margin: 20px 0;
}
.project-gallery img,
.project-gallery video {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 16px;
}
.project-card > .btn {
  margin-bottom: 12px;
}
@supports (interpolate-size: allow-keywords) {
  details {
    interpolate-size: allow-keywords;
  }
  details::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.35s var(--ease),
      content-visibility 0.35s allow-discrete;
  }
  details[open]::details-content {
    block-size: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
