:root {
  --bg: #070914;
  --bg-deep: #04050c;
  --panel: #0d1020;
  --panel-raised: #11152a;
  --panel-soft: #151a35;
  --text: #f7f7ff;
  --text-soft: #b6bad1;
  --text-muted: #7f86a6;
  --violet: #8a71ff;
  --violet-bright: #a893ff;
  --blue: #4f87ff;
  --green: #30d38b;
  --amber: #ffc857;
  --red: #ff5e7a;
  --hairline: rgba(132, 126, 230, .17);
  --hairline-strong: rgba(153, 137, 255, .3);
  --inner-highlight: rgba(235, 234, 255, .065);
  --motion: cubic-bezier(.32, .72, 0, 1);
  --motion-soft: cubic-bezier(.22, .61, .36, 1);
  --sidebar: 270px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-ambient: 0 24px 80px rgba(29, 38, 126, .15);
  font-family: "Geist", "Plus Jakarta Sans", "Onest", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% -10%, rgba(73, 69, 180, .12), transparent 36rem),
    radial-gradient(circle at -12% 105%, rgba(46, 102, 193, .09), transparent 34rem),
    var(--bg);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  content: "";
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

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

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
strong {
  letter-spacing: -.025em;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.05;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  line-height: 1.16;
}

h3 {
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

::selection {
  color: #fff;
  background: rgba(126, 101, 255, .5);
}

:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 50%;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--text);
  transform: translate(-50%, -180%);
  transition: transform 300ms var(--motion);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  opacity: .16;
}

.ambient__orb--blue {
  right: -27rem;
  top: 12%;
  background: radial-gradient(circle, rgba(47, 101, 238, .56), transparent 68%);
}

.ambient__orb--violet {
  left: 12%;
  bottom: -33rem;
  background: radial-gradient(circle, rgba(124, 79, 227, .5), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--violet-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand__mark {
  width: 32px;
  height: 32px;
  color: #f5f5ff;
  stroke-width: 1.8;
}

.brand__word {
  color: #f7f7ff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .025em;
}

.bezel {
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: rgba(134, 127, 255, .035);
  box-shadow: var(--shadow-ambient);
}

.bezel__core {
  border: 1px solid rgba(170, 165, 255, .08);
  border-radius: calc(var(--radius-xl) - 7px);
  background: var(--panel);
  box-shadow: inset 0 1px 1px var(--inner-highlight);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -.015em;
  text-align: center;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 450ms var(--motion),
    color 450ms var(--motion),
    background-color 450ms var(--motion),
    border-color 450ms var(--motion),
    box-shadow 450ms var(--motion),
    opacity 450ms var(--motion);
}

.button > svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translate3d(0, -2px, 0) scale(1.005);
}

.button:active {
  transform: translate3d(0, 0, 0) scale(.98);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}

.button--primary {
  color: #fff;
  border-color: rgba(173, 161, 255, .35);
  background: linear-gradient(112deg, #427ef8 0%, #755ff3 58%, #925bff 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .24),
    0 13px 38px rgba(84, 76, 233, .19);
}

.button--primary:hover {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .3),
    0 16px 44px rgba(84, 76, 233, .26);
}

.button__island {
  display: inline-flex;
  width: 29px;
  height: 29px;
  margin: -2px -9px -2px 2px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 244, 255, .14);
  border-radius: 50%;
  background: rgba(8, 9, 31, .16);
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 500ms var(--motion);
}

.button:hover .button__island {
  transform: translate3d(3px, -1px, 0) scale(1.06);
}

.button__island svg {
  width: 16px;
  height: 16px;
}

.button--secondary {
  color: var(--text-soft);
  border-color: var(--hairline-strong);
  background: rgba(21, 25, 51, .78);
  box-shadow: inset 0 1px 1px rgba(238, 237, 255, .055);
}

.button--secondary:hover {
  color: #fff;
  border-color: rgba(162, 144, 255, .52);
  background: rgba(31, 34, 68, .88);
}

.button--danger {
  color: #ff8ca0;
  border-color: rgba(255, 87, 119, .29);
  background: rgba(100, 25, 47, .18);
}

.button--danger:hover {
  color: #ffc3ce;
  border-color: rgba(255, 94, 123, .48);
  background: rgba(118, 24, 48, .25);
}

.button--success {
  color: #dffff2;
  border-color: rgba(48, 211, 139, .34);
  background: rgba(20, 158, 96, .72);
  box-shadow: inset 0 1px 1px rgba(233, 255, 246, .19);
}

.button--success:hover {
  background: rgba(20, 176, 105, .82);
}

.button--compact {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 13px;
}

.button--large {
  min-height: 54px;
  padding: 12px 22px;
}

.button--wide {
  width: 100%;
  margin-top: 4px;
}

.icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  background: rgba(18, 21, 43, .75);
  cursor: pointer;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform 400ms var(--motion),
    color 400ms var(--motion),
    border-color 400ms var(--motion),
    background-color 400ms var(--motion),
    opacity 400ms var(--motion);
}

.icon-button:hover {
  color: #fff;
  border-color: rgba(157, 141, 255, .48);
  transform: translate3d(0, -2px, 0) scale(1.02);
}

.icon-button:active {
  transform: translate3d(0, 0, 0) scale(.95);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.icon-button--quiet {
  border-color: transparent;
  background: transparent;
}

.icon-button--danger {
  color: #ff8da1;
  border-color: rgba(255, 94, 122, .18);
}

.icon-button--danger.is-armed {
  color: #fff;
  border-color: rgba(255, 94, 122, .62);
  background: rgba(151, 31, 61, .48);
  transform: translate3d(0, 0, 0) scale(1.06);
}

.app-shell {
  min-height: 100dvh;
}

.app-stage {
  min-height: 100dvh;
  margin-left: var(--sidebar);
}

.sidebar {
  position: fixed;
  z-index: 3;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  padding: 29px 20px 22px;
  border-right: 1px solid rgba(119, 115, 210, .14);
  background: rgba(6, 8, 20, .93);
  box-shadow: 18px 0 70px rgba(27, 33, 107, .08);
}

.sidebar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.sidebar__brand {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 2px 10px 27px;
}

.sidebar__caption {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sidebar__close {
  display: none;
}

.sidebar__nav {
  flex: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(126, 121, 220, .14);
}

.nav-label {
  margin: 0 11px 10px;
  color: #616887;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.nav-label--spaced {
  margin-top: 29px;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 13px;
  margin-bottom: 5px;
  padding: 10px 12px;
  color: #9da3bf;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  transform: translate3d(0, 0, 0);
  transition:
    transform 480ms var(--motion),
    color 480ms var(--motion),
    border-color 480ms var(--motion),
    background-color 480ms var(--motion);
}

.nav-link > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 1.25;
}

.nav-link:hover {
  color: #fff;
  transform: translate3d(3px, 0, 0);
}

.nav-link.is-active {
  color: #fff;
  border-color: rgba(132, 110, 255, .33);
  background:
    linear-gradient(100deg, rgba(89, 75, 218, .24), rgba(72, 82, 169, .09));
  box-shadow: inset 0 1px 1px rgba(238, 237, 255, .06);
}

.nav-link.is-active::before {
  position: absolute;
  left: -21px;
  width: 2px;
  height: 22px;
  border-radius: 2px;
  background: var(--violet);
  content: "";
  box-shadow: 0 0 18px rgba(138, 113, 255, .7);
}

.nav-link__count {
  min-width: 22px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(125, 101, 255, .7);
  font-size: 10px;
  text-align: center;
}

.sidebar__user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px 3px 0;
  border-top: 1px solid rgba(126, 121, 220, .14);
}

.avatar {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 148, 255, .35);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #6358e8, #348ef7);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 9px 25px rgba(62, 77, 211, .18);
}

.avatar--small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 10px;
}

.sidebar__user-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.sidebar__user-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar__user-copy small {
  color: var(--text-muted);
  font-size: 9px;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  list-style: none;
}

.user-menu summary::-webkit-details-marker {
  display: none;
}

.user-menu__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 184px;
  padding: 4px;
  border-radius: 17px;
  opacity: 0;
  transform: translate3d(0, 7px, 0) scale(.97);
  transition:
    opacity 380ms var(--motion),
    transform 380ms var(--motion);
}

.user-menu[open] .user-menu__panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.user-menu__panel .bezel__core {
  padding: 5px;
  border-radius: 12px;
}

.user-menu__panel a,
.user-menu__panel button {
  display: block;
  width: 100%;
  padding: 9px 11px;
  color: var(--text-soft);
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  transition:
    color 350ms var(--motion),
    background-color 350ms var(--motion);
}

.user-menu__panel a:hover,
.user-menu__panel button:hover {
  color: #fff;
  background: rgba(123, 105, 255, .12);
}

.mobile-header {
  display: none;
}

.mobile-scrim {
  display: none;
}

.page {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: 52px clamp(28px, 4.4vw, 72px) 90px;
}

.page-narrow {
  width: min(100%, 720px);
}

.page-medium {
  width: min(100%, 920px);
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.page-header > div:first-child {
  min-width: 0;
}

.page-header p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.page-header--actions {
  align-items: flex-end;
}

.page-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.page-header__actions form {
  margin: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 17px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  transition:
    color 350ms var(--motion),
    transform 350ms var(--motion);
}

.back-link:hover {
  color: #fff;
  transform: translate3d(-3px, 0, 0);
}

.back-link svg {
  width: 15px;
  height: 15px;
}

.title-with-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.title-with-status h1 {
  margin-bottom: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-bottom: 63px;
}

.metric {
  grid-column: span 3;
  min-width: 0;
}

.metric__core {
  position: relative;
  min-height: 156px;
  padding: 20px;
  overflow: hidden;
}

.metric__core::after {
  position: absolute;
  right: -35px;
  bottom: -70px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 90, 237, .11), transparent 70%);
  content: "";
  pointer-events: none;
}

.metric__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(131, 117, 255, .2);
  border-radius: 11px;
  color: var(--violet-bright);
  background: rgba(116, 97, 255, .09);
}

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

.metric__icon--amber {
  color: var(--amber);
  border-color: rgba(255, 200, 87, .2);
  background: rgba(255, 181, 42, .08);
}

.metric__icon--green {
  color: var(--green);
  border-color: rgba(48, 211, 139, .2);
  background: rgba(48, 211, 139, .08);
}

.metric__icon--red {
  color: var(--red);
  border-color: rgba(255, 94, 122, .2);
  background: rgba(255, 94, 122, .08);
}

.metric p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-bottom: 1px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.metric small {
  color: var(--text-muted);
  font-size: 10px;
}

.metric--accent .metric__core {
  background:
    radial-gradient(circle at 100% 100%, rgba(85, 87, 222, .16), transparent 65%),
    var(--panel);
}

.metrics-grid--three .metric {
  grid-column: span 4;
}

.content-section {
  margin-bottom: 66px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 19px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-counter {
  padding: 7px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(132, 126, 230, .04);
  font-size: 10px;
  font-weight: 600;
}

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

.toolbar--wrap {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-shell {
  position: relative;
  min-width: 250px;
}

.search-shell svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-shell input {
  padding-left: 40px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--text);
  border: 1px solid rgba(136, 132, 220, .18);
  border-radius: 11px;
  outline: none;
  background: rgba(7, 9, 23, .72);
  box-shadow:
    inset 0 1px 1px rgba(1, 2, 10, .14),
    0 1px 0 rgba(232, 230, 255, .025);
  transition:
    border-color 420ms var(--motion),
    background-color 420ms var(--motion),
    box-shadow 420ms var(--motion),
    transform 420ms var(--motion);
}

input::placeholder,
textarea::placeholder {
  color: #626982;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(149, 139, 241, .31);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(159, 144, 255, .7);
  background: rgba(9, 11, 28, .9);
  box-shadow: 0 0 0 3px rgba(130, 104, 255, .105);
}

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

select {
  min-width: 155px;
  padding-right: 33px;
  cursor: pointer;
}

input[type="date"] {
  color-scheme: dark;
}

.date-input {
  width: 145px;
}

.input-shell {
  position: relative;
  padding: 3px;
  border: 1px solid rgba(132, 126, 230, .1);
  border-radius: 15px;
  background: rgba(132, 126, 230, .025);
}

.input-shell input,
.input-shell select,
.input-shell textarea {
  display: block;
}

.input-shell input[type="checkbox"],
.input-shell input[type="radio"] {
  display: inline-block;
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  accent-color: var(--violet);
  box-shadow: none;
}

.input-shell > div[id^="id_roles"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
}

.input-shell > div[id^="id_roles"] > div > label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(132, 126, 230, .1);
  border-radius: 10px;
  color: var(--text-soft);
  background: rgba(132, 126, 230, .025);
  cursor: pointer;
  font-size: 10px;
  transition:
    color 350ms var(--motion),
    border-color 350ms var(--motion),
    background-color 350ms var(--motion);
}

.input-shell > div[id^="id_roles"] > div > label:hover {
  color: #fff;
  border-color: var(--hairline-strong);
  background: rgba(126, 104, 255, .07);
}

.input-shell--password input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 6px;
  color: var(--text-muted);
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    color 350ms var(--motion),
    background-color 350ms var(--motion);
}

.password-toggle:hover {
  color: #fff;
  background: rgba(135, 113, 255, .1);
}

.password-toggle__hide {
  display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__show {
  display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__hide {
  display: block;
}

.field {
  min-width: 0;
}

.field > label {
  display: inline-block;
  margin: 0 0 7px 3px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
}

.field > label > span[aria-hidden="true"] {
  color: var(--red);
}

.field__hint,
.field__error {
  margin: 7px 3px 0;
  font-size: 10px;
}

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

.field__error {
  color: #ff91a5;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: rgba(255, 94, 122, .62);
}

.form-alert {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  color: #ffc1cc;
  border: 1px solid rgba(255, 94, 122, .24);
  border-radius: 14px;
  background: rgba(91, 22, 42, .2);
}

.form-alert svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.form-alert p {
  margin: 0;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

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

.form-card {
  padding: clamp(22px, 4vw, 38px);
}

.form-card__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.form-card__heading h2 {
  margin-bottom: 4px;
  font-size: 20px;
}

.form-card__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

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

.data-bezel {
  padding: 5px;
}

.data-bezel > .bezel__core {
  overflow: hidden;
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 14px 16px;
  color: #6d7493;
  border-bottom: 1px solid rgba(126, 121, 220, .16);
  background: rgba(17, 20, 42, .68);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  padding: 16px;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(126, 121, 220, .11);
  vertical-align: middle;
}

.data-table tbody tr {
  background: rgba(13, 16, 32, .45);
  transition: background-color 420ms var(--motion);
}

.data-table tbody tr:hover {
  background: rgba(24, 27, 53, .55);
}

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

.data-table td strong,
.data-table td small {
  display: block;
}

.data-table td strong {
  color: #e9e9f5;
  font-size: 12px;
  font-weight: 600;
}

.data-table td small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 9px;
}

.data-table time {
  color: #a5aac2;
  font-size: 10px;
  white-space: nowrap;
}

.code {
  color: #aaa0ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.table-comment {
  max-width: 320px;
  color: #9095ae !important;
  font-size: 10px;
}

.table-action {
  width: 58px;
  text-align: right;
}

.disk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9e96ff;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 350ms var(--motion),
    transform 350ms var(--motion);
}

.disk-link:hover {
  color: #d8d4ff;
  transform: translate3d(2px, -1px, 0);
}

.disk-link svg {
  width: 14px;
  height: 14px;
}

.status-badge {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: #c1c4d4;
  border: 1px solid rgba(154, 150, 206, .17);
  border-radius: 999px;
  background: rgba(119, 117, 154, .08);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.status-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.status-badge--pending_mv,
.status-badge--pending_rop,
.status-badge--receiving,
.status-badge--queued,
.status-badge--uploading,
.status-badge--applying {
  color: var(--amber);
  border-color: rgba(255, 200, 87, .19);
  background: rgba(255, 181, 41, .08);
}

.status-badge--approved,
.status-badge--staged,
.status-badge--ready,
.status-badge--uploaded {
  color: var(--green);
  border-color: rgba(48, 211, 139, .2);
  background: rgba(48, 211, 139, .08);
}

.status-badge--rejected,
.status-badge--upload_failed,
.status-badge--apply_failed,
.status-badge--failed {
  color: var(--red);
  border-color: rgba(255, 94, 122, .2);
  background: rgba(255, 94, 122, .08);
}

.status-badge--draft,
.status-badge--canceled {
  color: #a5aac0;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  border-top: 1px solid rgba(126, 121, 220, .1);
}

.pagination__summary,
.pagination__total {
  color: var(--text-muted);
  font-size: 10px;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pagination__button,
.pagination__current {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
}

.pagination__button {
  color: var(--text-soft);
  border: 1px solid var(--hairline);
  background: rgba(19, 22, 43, .6);
  transform: translate3d(0, 0, 0);
  transition:
    color 350ms var(--motion),
    border-color 350ms var(--motion),
    transform 350ms var(--motion);
}

.pagination__button:hover {
  color: #fff;
  border-color: var(--hairline-strong);
  transform: translate3d(0, -2px, 0);
}

.pagination__button svg {
  width: 15px;
  height: 15px;
}

.pagination__current {
  color: #fff;
  background: rgba(113, 91, 239, .72);
  font-size: 11px;
  font-weight: 700;
}

.empty-state {
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px 24px;
  text-align: center;
}

.empty-state__icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(143, 129, 255, .19);
  border-radius: 20px;
  color: var(--violet-bright);
  background: rgba(121, 98, 255, .07);
  transform: rotate(-3deg);
}

.empty-state__icon svg {
  width: 29px;
  height: 29px;
}

.empty-state h2 {
  margin-bottom: 7px;
  font-size: 20px;
}

.empty-state p {
  max-width: 410px;
  margin-bottom: 21px;
  color: var(--text-muted);
  font-size: 11px;
}

.update-picker {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(380px, 1.3fr);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
  padding: 40px 0 20px;
  scroll-margin-top: 40px;
}

.update-picker__copy {
  position: sticky;
  top: 38px;
}

.update-picker__copy p {
  color: var(--text-muted);
}

.update-picker__core {
  padding: 10px;
}

.property-picker {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.property-picker__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  transform: translate3d(0, 0, 0);
  transition:
    transform 450ms var(--motion),
    border-color 450ms var(--motion),
    background-color 450ms var(--motion);
}

.property-picker__item:hover {
  border-color: var(--hairline);
  background: rgba(130, 110, 255, .06);
  transform: translate3d(4px, 0, 0);
}

.property-picker__pin {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(130, 111, 255, .18);
  border-radius: 12px;
  color: var(--violet-bright);
  background: rgba(123, 104, 255, .08);
}

.property-picker__pin svg {
  width: 18px;
  height: 18px;
}

.property-picker__item > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.property-picker__item strong {
  overflow: hidden;
  color: #e8e8f4;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-picker__item small {
  color: var(--text-muted);
  font-size: 9px;
}

.property-picker__arrow {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  transition: transform 420ms var(--motion);
}

.property-picker__item:hover .property-picker__arrow {
  transform: translate3d(3px, 0, 0);
}

.mini-empty {
  padding: 35px;
  text-align: center;
}

.mini-empty p {
  margin-bottom: 4px;
  color: var(--text-soft);
}

.mini-empty small {
  color: var(--text-muted);
}

.draft-marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--text-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(117, 98, 243, .05);
  font-size: 10px;
}

.draft-marker > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 11px rgba(138, 113, 255, .8);
}

.form-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 920px);
  align-items: start;
  gap: clamp(28px, 4vw, 60px);
}

.form-rail {
  position: sticky;
  top: 34px;
}

.form-rail__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-rail__line {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 17px;
  width: 1px;
  background: linear-gradient(var(--violet), rgba(134, 127, 255, .08));
}

.form-step {
  position: relative;
  display: grid;
  min-height: 58px;
  grid-template-columns: 35px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 8px 5px;
  color: var(--text-muted);
}

.form-step > span {
  z-index: 1;
  display: inline-flex;
  width: 35px;
  height: 35px;
  grid-row: 1 / 3;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  background: var(--bg);
  font-size: 8px;
  font-weight: 700;
}

.form-step strong {
  margin-left: 11px;
  color: #b9bdd0;
  font-size: 10px;
}

.form-step small {
  margin-left: 11px;
  color: #656c89;
  font-size: 8px;
}

.form-step.is-current > span {
  color: #fff;
  border-color: rgba(157, 140, 255, .5);
  background: rgba(111, 89, 240, .28);
  box-shadow: 0 0 22px rgba(92, 76, 212, .18);
}

.form-main {
  min-width: 0;
}

.submission-form {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.form-section {
  scroll-margin-top: 30px;
}

.form-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 17px;
}

.form-section__heading > div {
  flex: 1;
}

.form-section__heading h2 {
  margin-bottom: 3px;
  font-size: 23px;
}

.form-section__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
}

.section-number {
  display: inline-flex;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137, 119, 255, .25);
  border-radius: 10px;
  color: var(--violet-bright);
  background: rgba(120, 99, 255, .07);
  font-size: 8px;
  font-weight: 700;
}

.section-state {
  padding: 5px 8px;
  color: var(--text-muted);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.section-state--required {
  color: #c5bbff;
}

.form-section__core {
  padding: clamp(20px, 3.5vw, 34px);
}

.selected-property {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(126, 121, 220, .12);
}

.selected-property__icon {
  display: inline-flex;
  width: 41px;
  height: 41px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(136, 117, 255, .25);
  border-radius: 13px;
  color: var(--violet-bright);
  background: rgba(117, 96, 247, .08);
}

.selected-property__icon svg {
  width: 20px;
  height: 20px;
}

.selected-property > span:last-child {
  display: flex;
  flex-direction: column;
}

.selected-property small {
  color: var(--text-muted);
  font-size: 9px;
}

.selected-property strong {
  font-size: 13px;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr .48fr .48fr .48fr;
  gap: 16px;
}

.change-summary-field {
  margin-top: 20px;
}

.field-span-wide {
  grid-column: 1 / -1;
}

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

.draft-prompt {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid rgba(126, 121, 220, .12);
}

.draft-prompt__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--text-muted);
}

.draft-prompt__icon svg {
  width: 18px;
  height: 18px;
}

.draft-prompt > div {
  flex: 1;
}

.draft-prompt strong {
  font-size: 11px;
}

.draft-prompt p {
  margin: 1px 0 0;
  color: var(--text-muted);
  font-size: 9px;
}

.form-section.is-locked {
  opacity: .72;
}

.upload-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}

.upload-guidance > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(132, 126, 230, .11);
  border-radius: 14px;
  background: rgba(132, 126, 230, .025);
}

.upload-guidance svg {
  width: 19px;
  height: 19px;
  color: var(--violet-bright);
}

.upload-guidance span {
  display: flex;
  flex-direction: column;
}

.upload-guidance strong {
  font-size: 9px;
}

.upload-guidance small {
  color: var(--text-muted);
  font-size: 8px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.category__core {
  padding: 18px;
}

.category__heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.category__number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  color: #8f84e8;
  font-size: 8px;
  font-weight: 700;
}

.category__heading > div {
  min-width: 0;
  flex: 1;
}

.category__heading h3 {
  margin-bottom: 1px;
  font-size: 13px;
}

.category__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 8px;
}

.category__count {
  color: var(--text-muted);
  font-size: 9px;
}

.required-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 9px currentColor;
}

.dropzone {
  position: relative;
  border: 1px dashed rgba(148, 135, 245, .25);
  border-radius: 14px;
  background: rgba(130, 109, 255, .025);
  transition:
    border-color 420ms var(--motion),
    background-color 420ms var(--motion),
    transform 420ms var(--motion);
}

.dropzone.is-dragging {
  border-color: rgba(164, 148, 255, .74);
  background: rgba(120, 98, 255, .1);
  transform: translate3d(0, -2px, 0) scale(1.003);
}

.dropzone > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dropzone > label {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px;
  cursor: pointer;
}

.dropzone__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 127, 255, .2);
  border-radius: 11px;
  color: var(--violet-bright);
  background: rgba(115, 95, 240, .07);
  transform: translate3d(0, 0, 0);
  transition: transform 450ms var(--motion);
}

.dropzone:hover .dropzone__icon {
  transform: translate3d(0, -3px, 0);
}

.dropzone__icon svg {
  width: 19px;
  height: 19px;
}

.dropzone > label > span:last-child {
  display: flex;
  flex-direction: column;
}

.dropzone > label strong {
  font-size: 10px;
}

.dropzone > label small {
  color: var(--text-muted);
  font-size: 8px;
}

.upload-queue:not(:empty) {
  margin-top: 11px;
}

.upload-item,
.file-row {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border: 1px solid rgba(132, 126, 230, .1);
  border-radius: 12px;
  background: rgba(7, 9, 22, .5);
  overflow: hidden;
}

.upload-item + .upload-item,
.file-row + .file-row {
  margin-top: 6px;
}

.file-kind {
  display: inline-flex;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(141, 127, 255, .17);
  border-radius: 10px;
  color: #aaa0ee;
  background: rgba(117, 98, 240, .06);
}

.file-kind svg {
  width: 17px;
  height: 17px;
}

.upload-item__copy,
.file-row__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.upload-item__copy strong,
.file-row__copy strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-item__copy small,
.file-row__copy small {
  color: var(--text-muted);
  font-size: 8px;
}

.upload-item__ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
}

.upload-item__ready svg {
  width: 14px;
  height: 14px;
}

.upload-item__progress {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  overflow: hidden;
  background: rgba(132, 126, 230, .08);
}

.upload-item__progress::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  content: "";
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 280ms var(--motion-soft);
}

.upload-item--error {
  border-color: rgba(255, 94, 122, .25);
}

.upload-item--complete {
  border-color: rgba(48, 211, 139, .16);
}

.upload-retry {
  color: #ffc1cc;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.studios-panel {
  margin-top: 17px;
}

.studios-panel__core {
  padding: 22px;
}

.studios-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.studios-panel__heading h3 {
  margin-bottom: 2px;
  font-size: 20px;
}

.studios-panel__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
}

.studio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(132, 126, 230, .12);
  border-radius: 14px;
  background: rgba(7, 9, 22, .38);
}

.studio-card__index {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--violet-bright);
  font-size: 8px;
}

.studio-card__fields {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.formset-delete-field {
  display: none;
}

.studios-panel__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.draft-workspace {
  margin-top: 42px;
}

.no-script-upload {
  width: 100%;
  margin-top: 10px;
}

.draft-submit {
  margin-top: 17px;
}

.draft-submit__core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 19px 21px;
}

.draft-submit__core strong {
  font-size: 11px;
}

.draft-submit__core p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 9px;
}

.locked-panel__core {
  display: flex;
  min-height: 160px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 30px;
}

.locked-panel__core > span {
  display: inline-flex;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  color: var(--text-muted);
}

.locked-panel__core svg {
  width: 20px;
  height: 20px;
}

.locked-panel__core strong {
  font-size: 11px;
}

.locked-panel__core p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 9px;
}

.send-panel__core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.send-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.send-checklist > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 9px;
}

.send-checklist svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 24px;
}

.detail-main {
  min-width: 0;
}

.object-summary {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 27px;
}

.object-summary__pin {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(138, 119, 255, .24);
  border-radius: 17px;
  color: var(--violet-bright);
  background: rgba(121, 100, 255, .08);
}

.object-summary__pin svg {
  width: 25px;
  height: 25px;
}

.object-summary h2 {
  margin-bottom: 4px;
  font-size: clamp(19px, 2.2vw, 27px);
}

.object-summary p {
  margin: 0;
  color: var(--text-muted);
  font-size: 10px;
}

.supersedes-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #aaa0ff;
  font-size: 9px;
  font-weight: 600;
  transition:
    color 350ms var(--motion),
    transform 350ms var(--motion);
}

.supersedes-link:hover {
  color: #d7d1ff;
  transform: translate3d(3px, 0, 0);
}

.supersedes-link svg {
  width: 13px;
  height: 13px;
}

.studio-upload-picker {
  display: grid;
  grid-template-columns: auto minmax(180px, .45fr);
  align-items: center;
  justify-content: end;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px dashed rgba(148, 135, 245, .17);
}

.studio-upload-picker label {
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 600;
}

.studio-upload-picker select {
  min-height: 36px;
  font-size: 9px;
}

.comment-callout {
  display: flex;
  gap: 12px;
  margin-top: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(100, 151, 255, .17);
  border-radius: 16px;
  color: #bacdf6;
  background: rgba(42, 89, 170, .08);
}

.comment-callout--danger {
  color: #ffc2cd;
  border-color: rgba(255, 94, 122, .21);
  background: rgba(104, 27, 49, .16);
}

.comment-callout > span {
  color: currentColor;
}

.comment-callout svg {
  width: 19px;
  height: 19px;
}

.comment-callout strong {
  font-size: 10px;
}

.comment-callout p {
  margin: 2px 0 0;
  color: inherit;
  font-size: 10px;
}

.detail-main > .content-section {
  margin-top: 42px;
}

.file-group-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.file-group__core {
  padding: 17px;
}

.file-group__core > header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.file-group__core > header h3 {
  flex: 1;
  margin: 0;
  font-size: 12px;
}

.file-group__core > header > span:last-child {
  color: var(--text-muted);
  font-size: 8px;
}

.file-group__index {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  color: var(--violet-bright);
  font-size: 7px;
}

.file-row .status-badge {
  margin-left: auto;
}

.detail-aside {
  position: sticky;
  top: 28px;
}

.timeline-card {
  padding: 23px;
}

.timeline-card h2 {
  margin-bottom: 24px;
  font-size: 19px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: flex;
  gap: 11px;
  min-height: 59px;
}

.timeline li:not(:last-child)::after {
  position: absolute;
  top: 25px;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: rgba(132, 126, 230, .17);
  content: "";
}

.timeline__mark {
  z-index: 1;
  display: inline-flex;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 126, 230, .27);
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--panel);
}

.timeline__mark svg {
  width: 12px;
  height: 12px;
}

.timeline li > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-top: 2px;
}

.timeline strong {
  font-size: 9px;
}

.timeline time,
.timeline small {
  color: var(--text-muted);
  font-size: 8px;
}

.timeline p {
  margin: 5px 0 12px;
  padding: 7px 8px;
  color: #aeb2c8;
  border-radius: 8px;
  background: rgba(132, 126, 230, .05);
  font-size: 8px;
}

.timeline .is-complete .timeline__mark {
  color: var(--green);
  border-color: rgba(48, 211, 139, .35);
}

.timeline .is-rejected .timeline__mark {
  color: var(--red);
  border-color: rgba(255, 94, 122, .35);
}

.timeline .is-current .timeline__mark::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-bright);
  content: "";
  box-shadow: 0 0 9px var(--violet);
}

.queue-indicator {
  display: flex;
  min-width: 145px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: rgba(115, 94, 242, .07);
}

.queue-indicator span {
  font-size: 23px;
  font-weight: 600;
}

.queue-indicator small {
  max-width: 60px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 1.3;
}

.queue-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 47px;
  padding: 5px;
  border: 1px solid var(--hairline);
  border-radius: 17px;
  background: rgba(125, 111, 223, .035);
}

.queue-tabs a {
  position: relative;
  display: grid;
  min-width: 164px;
  grid-template-columns: 1fr auto;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-muted);
  transition:
    color 420ms var(--motion),
    border-color 420ms var(--motion),
    background-color 420ms var(--motion),
    transform 420ms var(--motion);
}

.queue-tabs a:hover {
  color: #fff;
  transform: translate3d(0, -1px, 0);
}

.queue-tabs a.is-active {
  color: #fff;
  border-color: rgba(147, 130, 255, .27);
  background: rgba(110, 88, 239, .17);
  box-shadow: inset 0 1px 1px rgba(246, 245, 255, .07);
}

.queue-tabs span {
  grid-column: 1 / 3;
  font-size: 8px;
}

.queue-tabs strong {
  font-size: 12px;
}

.queue-tabs small {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(124, 101, 255, .55);
  font-size: 8px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card__core {
  display: grid;
  grid-template-columns: minmax(270px, 1.35fr) minmax(280px, 1fr);
  gap: 18px 28px;
  padding: 20px;
}

.review-card__identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-card__pin {
  display: inline-flex;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 122, 255, .22);
  border-radius: 14px;
  color: var(--violet-bright);
  background: rgba(119, 98, 244, .07);
}

.review-card__pin svg {
  width: 20px;
  height: 20px;
}

.review-card__identity h3 {
  margin: 2px 0;
  font-size: 14px;
}

.review-card__identity p {
  margin: 0;
  color: var(--text-muted);
  font-size: 9px;
}

.review-card__meta {
  display: grid;
  grid-template-columns: .9fr .55fr 1fr;
  gap: 14px;
  margin: 0;
}

.review-card__meta div {
  min-width: 0;
}

.review-card__meta dt {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-card__meta dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 9px;
}

.review-card__actions {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding-top: 15px;
  border-top: 1px solid rgba(126, 121, 220, .1);
}

.review-card__divider {
  width: 1px;
  height: 25px;
  margin: 0 4px;
  background: rgba(132, 126, 230, .15);
}

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

.employee-cell > span:last-child {
  display: flex;
  flex-direction: column;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9aa0b6;
  font-size: 9px;
  font-weight: 600;
}

.availability > span,
.system-actor > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.availability.is-active {
  color: var(--green);
}

.employee-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.toggle-row {
  position: relative;
  display: flex;
  min-height: 61px;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(132, 126, 230, .12);
  border-radius: 14px;
  background: rgba(7, 9, 22, .4);
  cursor: pointer;
}

.toggle-row > span:first-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.toggle-row strong {
  font-size: 10px;
}

.toggle-row small {
  color: var(--text-muted);
  font-size: 8px;
}

.toggle-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle-control {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(134, 129, 206, .3);
  border-radius: 999px;
  background: rgba(89, 90, 121, .28);
  transition:
    border-color 420ms var(--motion),
    background-color 420ms var(--motion);
}

.toggle-control::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b6b9ca;
  content: "";
  transform: translate3d(0, 0, 0);
  transition:
    transform 440ms var(--motion),
    background-color 440ms var(--motion);
}

.toggle-row input:checked + .toggle-control {
  border-color: rgba(129, 104, 255, .72);
  background: rgba(111, 86, 239, .62);
}

.toggle-row input:checked + .toggle-control::after {
  background: #fff;
  transform: translate3d(18px, 0, 0);
}

.toggle-row input:focus-visible + .toggle-control {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
}

.sticky-actions {
  position: sticky;
  z-index: 1;
  bottom: 18px;
  display: flex;
  align-self: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 6px;
  border: 1px solid rgba(136, 130, 229, .21);
  border-radius: 999px;
  background: rgba(10, 12, 28, .9);
  box-shadow: 0 15px 50px rgba(24, 31, 106, .19);
  backdrop-filter: blur(16px);
}

.audit-table time small {
  display: block;
}

.system-actor {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #82b1ff;
  font-size: 9px;
}

.audit-action {
  color: #c0b9fb;
  font-size: 9px;
  font-weight: 600;
}

.toast-region {
  position: fixed;
  z-index: 5;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(390px, calc(100% - 40px));
  flex-direction: column;
  gap: 9px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px 11px 14px;
  border: 1px solid rgba(143, 134, 237, .23);
  border-radius: 16px;
  background: rgba(13, 16, 35, .93);
  box-shadow: 0 20px 60px rgba(27, 34, 114, .2);
  backdrop-filter: blur(18px);
  transform: translate3d(0, 0, 0);
  transition:
    opacity 450ms var(--motion),
    transform 450ms var(--motion);
}

.toast.is-leaving {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
}

.toast__mark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 12px currentColor;
}

.toast--success .toast__mark {
  color: var(--green);
  background: var(--green);
}

.toast--error .toast__mark {
  color: var(--red);
  background: var(--red);
}

.toast p {
  flex: 1;
  margin: 0;
  font-size: 10px;
}

.modal-layer {
  position: fixed;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-layer[hidden] {
  display: none;
}

.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 16, .76);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 500ms var(--motion);
}

.modal {
  position: relative;
  width: min(100%, 540px);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(.97);
  transition:
    opacity 550ms var(--motion),
    transform 550ms var(--motion);
}

.modal-layer.is-open .modal-scrim,
.modal-layer.is-open .modal {
  opacity: 1;
}

.modal-layer.is-open .modal {
  transform: translate3d(0, 0, 0) scale(1);
}

.modal__core {
  padding: 25px;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.modal__header h2 {
  margin: 0;
  font-size: 24px;
}

.decision-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(132, 126, 230, .12);
  border-radius: 14px;
  background: rgba(7, 9, 22, .42);
}

.decision-summary__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--violet-bright);
}

.decision-summary__icon svg {
  width: 18px;
  height: 18px;
}

.decision-summary > span:last-child {
  display: flex;
  flex-direction: column;
}

.decision-summary small {
  color: var(--text-muted);
  font-size: 8px;
}

.decision-summary strong {
  font-size: 11px;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.auth-page {
  overflow-x: hidden;
}

.auth-layout {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(380px, 1.05fr) minmax(430px, .95fr);
}

.auth-intro,
.auth-panel {
  position: relative;
  display: flex;
  min-width: 0;
  padding: clamp(42px, 7vw, 100px);
}

.auth-intro {
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(126, 121, 220, .13);
  background:
    radial-gradient(circle at 22% 82%, rgba(50, 93, 205, .13), transparent 26rem),
    rgba(5, 7, 17, .42);
}

.auth-intro::after {
  position: absolute;
  right: -26%;
  bottom: 10%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 130, 255, .45), transparent);
  content: "";
  transform: rotate(-38deg);
}

.auth-intro__copy {
  position: relative;
  z-index: 1;
  margin: clamp(80px, 16vh, 170px) 0;
}

.auth-intro h1 {
  max-width: 690px;
  margin-bottom: 24px;
  font-size: clamp(51px, 7.6vw, 112px);
  font-weight: 500;
  line-height: .91;
  letter-spacing: -.065em;
}

.auth-intro h1 span {
  color: #777d99;
}

.auth-intro__copy > p {
  max-width: 540px;
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(12px, 1.3vw, 16px);
}

.auth-intro__signal {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #606781;
}

.auth-intro__signal > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.auth-intro__signal > span:nth-child(2) {
  opacity: .58;
}

.auth-intro__signal > span:nth-child(3) {
  opacity: .28;
}

.auth-intro__signal small {
  margin-left: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.auth-panel {
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: min(100%, 540px);
}

.auth-card__core {
  padding: clamp(27px, 5vw, 52px);
}

.auth-card__heading {
  margin-bottom: 31px;
}

.auth-card__heading h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.2vw, 39px);
}

.auth-card__heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.auth-card__support {
  margin: 23px 0 0;
  color: #626980;
  font-size: 9px;
  text-align: center;
}

.error-page {
  position: relative;
  display: flex;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  overflow: hidden;
}

.error-page__brand {
  position: absolute;
  top: 35px;
  left: 40px;
}

.error-code {
  position: absolute;
  color: rgba(139, 126, 224, .055);
  font-size: clamp(170px, 38vw, 620px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.09em;
  user-select: none;
}

.error-card {
  position: relative;
  width: min(100%, 570px);
}

.error-card__core {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: clamp(32px, 7vw, 66px);
  text-align: center;
}

.error-card__icon {
  display: inline-flex;
  width: 63px;
  height: 63px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(142, 126, 255, .22);
  border-radius: 20px;
  color: var(--violet-bright);
  background: rgba(120, 97, 255, .07);
}

.error-card__icon svg {
  width: 30px;
  height: 30px;
}

.error-card h1 {
  margin-bottom: 13px;
  font-size: clamp(28px, 4vw, 43px);
}

.error-card p {
  max-width: 430px;
  margin-bottom: 26px;
  color: var(--text-muted);
  font-size: 11px;
}

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
      opacity 780ms var(--motion),
      transform 780ms var(--motion);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.is-upload-enhanced .no-script-upload {
  display: none;
}

@media (max-width: 1180px) {
  :root {
    --sidebar: 235px;
  }

  .page {
    padding-right: 28px;
    padding-left: 28px;
  }

  .metric {
    grid-column: span 6;
  }

  .metrics-grid--three .metric {
    grid-column: span 4;
  }

  .address-grid {
    grid-template-columns: 1fr 1fr .55fr;
  }

  .field-span-street {
    grid-column: auto;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .review-card__core {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar,
  .toolbar--wrap {
    justify-content: flex-start;
  }

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

  .form-rail {
    position: static;
  }

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

  .form-rail__line {
    display: none;
  }

  .form-step {
    border: 1px solid var(--hairline);
    border-radius: 14px;
  }

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

  .detail-aside {
    position: static;
  }

  .timeline-card {
    padding: 25px;
  }

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

  .auth-intro {
    min-height: 42dvh;
    border-right: 0;
    border-bottom: 1px solid rgba(126, 121, 220, .13);
  }

  .auth-intro__copy {
    margin: 70px 0 25px;
  }

  .auth-intro h1 {
    font-size: clamp(48px, 11vw, 92px);
  }

  .auth-panel {
    min-height: 58dvh;
  }
}

@media (max-width: 767px) {
  :root {
    --sidebar: min(88vw, 320px);
    --radius-xl: 22px;
  }

  html {
    scroll-padding-top: 90px;
  }

  .app-stage {
    margin-left: 0;
  }

  .sidebar {
    width: var(--sidebar);
    padding: 26px 17px 20px;
    opacity: 0;
    transform: translate3d(-104%, 0, 0);
    transition:
      opacity 520ms var(--motion),
      transform 520ms var(--motion);
  }

  .sidebar.is-open {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .sidebar__close {
    display: inline-flex;
  }

  .mobile-scrim {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: block;
    pointer-events: none;
    background: rgba(4, 5, 14, .7);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 500ms var(--motion);
  }

  .mobile-scrim.is-visible {
    pointer-events: auto;
    opacity: 1;
  }

  .mobile-header {
    position: sticky;
    z-index: 1;
    top: 12px;
    display: flex;
    width: calc(100% - 24px);
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    margin: 12px auto 0;
    padding: 9px 10px 9px 15px;
    border: 1px solid rgba(136, 130, 229, .18);
    border-radius: 19px;
    background: rgba(9, 11, 27, .9);
    box-shadow: 0 13px 44px rgba(27, 34, 114, .16);
    backdrop-filter: blur(17px);
  }

  .mobile-header .brand__mark {
    width: 25px;
    height: 25px;
  }

  .mobile-header .brand__word {
    font-size: 13px;
  }

  .menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--hairline);
    border-radius: 13px;
    background: rgba(127, 107, 255, .06);
  }

  .menu-toggle span {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 1px;
    background: #ddddef;
    transform: translate3d(0, -3px, 0);
    transition: transform 450ms var(--motion);
  }

  .menu-toggle span + span {
    transform: translate3d(0, 3px, 0);
  }

  .menu-toggle[aria-expanded="true"] span {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span + span {
    transform: rotate(-45deg);
  }

  .page {
    width: 100%;
    padding: 43px 16px 80px;
  }

  .page-header,
  .page-header--actions {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 31px;
  }

  .page-header h1 {
    font-size: 35px;
  }

  .page-header__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-header__actions .button,
  .page-header__actions form,
  .page-header__actions form .button {
    width: 100%;
  }

  .metrics-grid,
  .metrics-grid--three {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 48px;
  }

  .metric,
  .metrics-grid--three .metric {
    grid-column: 1;
  }

  .metric__core {
    min-height: 135px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .toolbar,
  .toolbar--wrap {
    display: grid;
    grid-template-columns: 1fr;
  }

  .toolbar > *,
  .search-shell,
  select,
  .date-input {
    width: 100%;
    min-width: 0;
  }

  .data-bezel {
    padding: 4px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding: 10px 13px;
    border-bottom: 1px solid rgba(126, 121, 220, .12);
  }

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

  .data-table td {
    display: grid;
    grid-template-columns: minmax(84px, .42fr) 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border: 0;
    text-align: left;
  }

  .data-table td::before {
    color: #626985;
    content: attr(data-label);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .data-table .table-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 11px;
    border-top: 1px solid rgba(126, 121, 220, .09);
  }

  .table-comment {
    max-width: none;
  }

  .pagination {
    padding: 13px;
  }

  .update-picker {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
  }

  .update-picker__copy {
    position: static;
  }

  .property-picker__item strong {
    white-space: normal;
  }

  .form-rail__inner {
    grid-template-columns: 1fr;
  }

  .form-step {
    min-height: 54px;
  }

  .submission-form {
    gap: 46px;
  }

  .form-section__heading {
    flex-wrap: wrap;
  }

  .section-state {
    margin-left: 47px;
  }

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

  .field-span-wide,
  .field-span-street {
    grid-column: auto;
  }

  .draft-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .draft-prompt .button {
    width: 100%;
  }

  .upload-guidance {
    grid-template-columns: 1fr;
  }

  .category__heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .category__count {
    width: 100%;
    margin-left: 47px;
  }

  .studio-upload-picker {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .upload-item,
  .file-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .upload-item__copy,
  .file-row__copy {
    width: calc(100% - 48px);
    flex-basis: calc(100% - 48px);
  }

  .upload-item .status-badge,
  .file-row .status-badge {
    margin-left: 44px;
  }

  .studios-panel__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .studio-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .studio-card__fields {
    width: calc(100% - 44px);
    flex-basis: calc(100% - 44px);
    grid-template-columns: 1fr;
  }

  .send-panel__core {
    align-items: stretch;
    flex-direction: column;
  }

  .draft-submit__core {
    align-items: stretch;
    flex-direction: column;
  }

  .draft-submit__core .button {
    width: 100%;
  }

  .send-panel__core .button {
    width: 100%;
  }

  .object-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-card__core {
    padding: 16px;
  }

  .review-card__identity {
    align-items: flex-start;
  }

  .review-card__meta {
    grid-template-columns: 1fr 1fr;
  }

  .review-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .review-card__actions .button {
    width: 100%;
  }

  .review-card__actions .icon-button {
    display: none;
  }

  .review-card__divider {
    display: none;
  }

  .queue-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .queue-tabs a {
    min-width: 0;
  }

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

  .input-shell > div[id^="id_roles"] {
    grid-template-columns: 1fr;
  }

  .sticky-actions {
    right: auto;
    bottom: 10px;
    width: 100%;
    align-self: stretch;
    justify-content: stretch;
    border-radius: 18px;
  }

  .sticky-actions .button {
    flex: 1;
  }

  .modal-layer {
    align-items: end;
    padding: 8px;
  }

  .modal {
    width: 100%;
    transform: translate3d(0, 35px, 0) scale(.98);
  }

  .modal__core {
    padding: 21px;
  }

  .auth-intro,
  .auth-panel {
    width: 100%;
    padding: 31px 18px;
  }

  .auth-intro {
    min-height: 43dvh;
  }

  .auth-intro__copy {
    margin: 65px 0 26px;
  }

  .auth-intro h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 14vw, 66px);
  }

  .auth-panel {
    min-height: 57dvh;
  }

  .auth-card__core {
    padding: 27px 20px;
  }

  .error-page__brand {
    top: 22px;
    left: 20px;
  }

  .error-code {
    font-size: 48vw;
  }

  .empty-state__icon {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
