:root {
  --ink: #14253b;
  --muted: #576d7c;
  --line: rgba(101, 130, 147, 0.23);
  --glass: rgba(255, 255, 255, 0.72);
  --teal: #076a6b;
  --dark: #091727;
  --mint: #8ff4d4;
  font:
    16px/1.5 Inter,
    Arial,
    "Arial Hebrew",
    sans-serif;
  color: var(--ink);
  background: #e9f0f2;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 4% 6%, #d5f4e9 0, transparent 40%),
    radial-gradient(ellipse at 94% 65%, #d9e0ff 0, transparent 52%),
    linear-gradient(115deg, #eaf1f1, #f3f6fb 60%, #e9eff3);
  background-attachment: fixed;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #198b9a;
  outline-offset: 3px;
}
a {
  color: var(--teal);
}
button,
select,
input,
textarea {
  color: inherit;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.loading {
  padding: 12vh 10vw;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.055em;
  font-size: 1.7rem;
  line-height: 1;
  color: inherit;
  direction: ltr;
}
.brand small {
  font-size: 0.68rem;
  align-self: center;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  padding-inline-start: 11px;
  border-inline-start: 1px solid currentColor;
  opacity: 0.68;
}
.mark {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, #c1ffe8, #59c6b6);
  box-shadow:
    inset 0 1px 2px #fff,
    0 2px 7px #0002;
  color: #0a342f;
}
.mark i,
.orbit-icon {
  display: block;
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-38deg);
  position: relative;
}
.mark i:after,
.orbit-icon:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.ico {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex: none;
  stroke: currentColor;
  vertical-align: middle;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.layout {
  max-width: 1820px;
  margin: auto;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: linear-gradient(168deg, #13283a, #101e30 42%, #101c31);
  color: #eaf8fa;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  z-index: 5;
  box-shadow: -1px 0 0 #ffffff31;
}
.sidebar .brand {
  align-self: flex-start;
  margin-inline: 13px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 40px;
  overflow: auto;
}
.nav-title {
  color: #a5bac5;
  font-size: 0.82rem;
  margin: 20px 12px 6px;
}
.nav-title:first-child {
  margin-top: 0;
}
.nav-btn,
.user-button {
  border: 0;
  background: transparent;
  color: #c6d7df;
  display: flex;
  align-items: center;
  text-align: start;
  gap: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.nav-btn:hover,
.user-button:hover {
  background: #ffffff10;
}
.nav-btn.on {
  color: #e3fff3;
  background: linear-gradient(100deg, #77c8d214, #6ed4ba29);
  box-shadow: inset 0 0 0 1px #8ed7c430;
}
.nav-btn.on .ico {
  color: #90f2ca;
}
.user-button {
  margin-top: auto;
  padding: 14px 8px 0;
  border-radius: 0;
  border-top: 1px solid #e1ffff20;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c8eddf, #9ddacf);
  color: #143c3b;
  font-weight: 750;
}
.user-button small,
.name-stack small {
  display: block;
  font-size: 0.78rem;
  opacity: 0.77;
}
.name-stack {
  min-width: 0;
  overflow-wrap: anywhere;
}
.workspace {
  padding: 20px clamp(18px, 3.7vw, 63px) 50px;
  min-width: 0;
}
.topbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.91rem;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
}
.topbar .crumb span:last-child {
  color: #294352;
  font-weight: 650;
}
.toolbar,
.actions,
.row,
.section-head,
.title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.section-head,
.title-line {
  justify-content: space-between;
}
.title-line {
  margin: 23px 0;
}
.title-line h1 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.sub {
  color: var(--muted);
  margin: 5px 0 0;
}
.btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: 12px;
  padding: 8px 15px;
  font-weight: 650;
  text-decoration: none;
  min-height: 40px;
  box-shadow: 0 1px 1px #fff9 inset;
  color: var(--ink);
}
.btn:hover,
.icon-btn:hover {
  background: #fff;
}
.btn.primary {
  background: #16484a;
  color: white;
  border: 1px solid #173f40;
  box-shadow:
    0 2px 8px #06424129,
    inset 0 1px #ffffff32;
}
.btn.primary:hover {
  background: #12585a;
}
.btn.danger {
  color: #a13739;
}
.btn.small {
  font-size: 0.88rem;
  min-height: 34px;
  padding: 5px 10px;
}
.icon-btn {
  padding: 7px;
  width: 39px;
}
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ebfff9;
  background:
    radial-gradient(ellipse at 13% 80%, #16434c 0, transparent 47%),
    radial-gradient(ellipse at 38% 5%, #334459 0, transparent 40%),
    linear-gradient(117deg, #142338, #0b242d 54%, #102631);
}
.hero {
  border-radius: 24px;
  padding: 26px 30px;
  min-height: 168px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 32px #122f391c;
}
.hero h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.16;
  margin: 7px 0;
  letter-spacing: -0.04em;
}
.hero p {
  color: #c4d9d9;
  margin: 0;
  max-width: 35em;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 67%;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #9ae8cf;
  font-size: 0.88rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.panel,
.stat,
.record {
  background: var(--glass);
  border: 1px solid #ffffffd9;
  border-radius: 20px;
  box-shadow:
    0 4px 18px #203b4a0a,
    inset 0 0 0 1px #c5d3db3b;
  backdrop-filter: blur(18px);
}
.stat {
  padding: 17px 19px;
}
.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.stat-number {
  font:
    650 2.05rem/1.25 Inter,
    Arial,
    sans-serif;
  letter-spacing: -0.06em;
  margin-top: 8px;
  display: block;
}
.mini,
.tile-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #dff3ea;
  color: #267162;
}
.mini.blue,
.tile-icon.blue {
  background: #e2ebfb;
  color: #446890;
}
.mini.violet {
  background: #eae5f7;
  color: #6b6290;
}
.mini.gold {
  background: #f5ebd4;
  color: #8b661f;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.panel {
  padding: 21px;
  min-width: 0;
}
.section-head {
  margin-bottom: 15px;
}
.section-head h2,
.panel h2 {
  margin: 0;
  font-size: 1.16rem;
  letter-spacing: -0.025em;
}
.meta {
  font-size: 0.87rem;
  color: var(--muted);
}
.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 25px 12px;
  gap: 8px;
  color: var(--muted);
}
.empty strong {
  color: var(--ink);
}
.empty .tile-icon {
  margin-bottom: 4px;
}
.empty p {
  margin: 0;
}
.rows {
  display: grid;
}
.record {
  padding: 17px 19px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.records {
  display: grid;
  gap: 10px;
}
.records h3,
.record p {
  margin: 0;
}
.record h3 {
  font-size: 1.06rem;
}
.copy {
  min-width: 0;
  flex: 1 1 210px;
  overflow-wrap: anywhere;
}
.text-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.record .meta {
  margin-top: 4px;
}
.chip {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 650;
  background: #e8eff2;
  color: #3c5260;
  padding: 3px 9px;
  border-radius: 20px;
}
.chip.scheduled,
.chip.published,
.chip.done,
.chip.connected {
  background: #d9f3e6;
  color: #21604e;
}
.chip.failed,
.chip.uncertain,
.chip.revoked {
  background: #fae1dd;
  color: #913f39;
}
.chip.manual,
.chip.claimed {
  background: #f8ebcf;
  color: #76571d;
}
.line-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-wrap: anywhere;
}
.line-item:last-child {
  border: 0;
}
.line-item strong {
  font-weight: 650;
}
.line-item time {
  white-space: nowrap;
  font-size: 0.82rem;
  color: var(--muted);
}
.line-item > div {
  min-width: 0;
}
.bars {
  height: 148px;
  display: flex;
  align-items: flex-end;
  gap: clamp(3px, 1vw, 12px);
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(
    to top,
    transparent 0 35px,
    #899da322 36px,
    transparent 37px
  );
  direction: ltr;
  padding: 8px 6px 0;
}
.bar {
  width: 100%;
  max-width: 50px;
  background: linear-gradient(#67c4b1, #aadfce);
  border-radius: 7px 7px 0 0;
  min-height: 2px;
  margin: 0 auto;
}
.bars-wrap {
  direction: ltr;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.range-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 6px;
  direction: ltr;
}
.chart-bar {
  width: 100%;
  height: 100%;
}
.chart-bar rect {
  fill: #56a995;
}
.tabs,
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filters input,
.filters select {
  width: auto;
  max-width: 100%;
}
.tab {
  border: 1px solid var(--line);
  background: #ffffff68;
  padding: 6px 14px;
  border-radius: 25px;
  color: var(--muted);
}
.tab.active {
  background: #233f49;
  color: white;
}
.stack {
  display: grid;
  gap: 16px;
}
.stack.tight {
  gap: 10px;
}
.spacer {
  margin-top: 18px;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 650;
  font-size: 0.94rem;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #b9c9d0;
  border-radius: 10px;
  padding: 9px 12px;
  background: #ffffffdb;
  min-height: 42px;
}
textarea {
  resize: vertical;
  min-height: 96px;
}
input[type="password"],
input[type="url"],
input[type="datetime-local"],
.ltr {
  direction: ltr;
  text-align: left;
}
select {
  appearance: none;
  padding-inline-end: 32px;
  background-image:
    linear-gradient(45deg, transparent 50%, #557277 50%),
    linear-gradient(135deg, #557277 50%, transparent 50%);
  background-position:
    9px 52%,
    14px 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.error {
  color: #8f292c;
  padding: 8px 12px;
  background: #fff0ed;
  border-radius: 10px;
}
.err-inline:empty {
  display: none;
}
.btn-link {
  padding: 3px 0;
  border: 0;
  background: none;
  font-weight: 650;
  color: var(--teal);
}
dialog {
  border: 1px solid #fff;
  border-radius: 21px;
  padding: 0;
  background: #f3f7f8;
  color: var(--ink);
  width: min(520px, 94vw);
  max-height: 90dvh;
  box-shadow: 0 30px 120px #03162155;
}
dialog::backdrop {
  background: #0a1d31a6;
  backdrop-filter: blur(5px);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #f3f7f8;
  z-index: 2;
}
.sheet-head h2 {
  font-size: 1.27rem;
  margin: 0;
}
dialog section {
  padding: 20px 22px;
}
.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 3px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  background: #193e43;
  color: white;
  border: 1px solid #c2ffe238;
  padding: 10px 21px;
  border-radius: 15px;
  max-width: 94vw;
  box-shadow: 0 4px 22px #142e4640;
}
pre {
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 14px;
  background: #142736;
  color: #d4f7e8;
  border-radius: 12px;
  font-size: 0.83rem;
}
/* Full-bleed artwork. Only the content column has a maximum width. */
.login-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(24px, 6vh, 60px) clamp(18px, 4vw, 60px);
  overflow: hidden;
  color: #f0fffc;
  background: #071921;
}
.login-scene,
.login-wrap::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.login-scene {
  object-fit: cover;
  object-position: center 36%;
}
.login-wrap::before {
  content: "";
  background:
    radial-gradient(
      ellipse 54% 90% at 50% 53%,
      #04151cf5 17%,
      #081e27db 40%,
      #0a212967 78%,
      transparent 100%
    ),
    linear-gradient(180deg, #0613206e, #06172148 36%, #061a23c7);
  z-index: 0;
  pointer-events: none;
}
.login-form {
  position: relative;
  width: min(100%, 410px);
  margin: auto;
}
.login-heading {
  text-align: center;
  margin-bottom: clamp(22px, 4vh, 35px);
}
.login-heading h1 {
  margin: 0.75em 0 0.24em;
  font-size: clamp(1.8rem, 4.2vw, 2.75rem);
  font-weight: 780;
  line-height: 1.16;
  letter-spacing: -0.045em;
}
.login-heading p {
  margin: 0;
  color: #d0e8e7;
}
.login-form .stack {
  gap: 14px;
}
.login-form label {
  color: #eefdfb;
}
.login-form .field-label .ico {
  color: #98f0d9;
}
.login-form input {
  color: #f0fffc;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #a5d9d96b;
  background: #102b35bd;
  box-shadow: inset 0 1px 0 #ecffff19;
  backdrop-filter: blur(14px);
}
.login-form input::placeholder {
  color: #b1cece;
  opacity: 1;
}
.login-form input:focus-visible,
.login-form button:focus-visible {
  outline-color: #83e9d3;
}
.login-form .btn.primary {
  min-height: 51px;
  border-radius: 16px;
  border-color: #eefffe8a;
  color: #103439;
  background: linear-gradient(123deg, #ddfff1, #94eedb 53%, #b9c7fd);
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 34px #6bebe832;
}
.login-challenge {
  display: grid;
  gap: 10px;
  border-block-start: 1px solid #b4e7e541;
  padding-top: 12px;
}
.challenge-display {
  display: flex;
  align-items: center;
  gap: 10px;
}
.challenge-code {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 60px;
  background: #d5f2eb;
  color: #16404b;
  border-radius: 13px;
  border: 1px solid #f1fffa;
  overflow: hidden;
}
.challenge-code img {
  width: min(100%, 220px);
  height: auto;
}
.challenge-status {
  font-weight: 650;
  font-size: 0.88rem;
  padding: 0 8px;
}
.challenge-status:empty {
  display: none;
}
.challenge-display .challenge-refresh {
  flex: none;
  min-height: 46px;
  color: #d9f7f2;
  background: #173640bf;
  border-color: #a5d9d96b;
  box-shadow: inset 0 1px 0 #ecffff26;
  white-space: nowrap;
}
#login-form input[name="challenge_answer"] {
  text-align: center;
}
@media (max-width: 560px) {
  .login-scene {
    object-position: center 26%;
  }
  .login-wrap::before {
    background: linear-gradient(
      180deg,
      #06182077,
      #041720ed 33%,
      #071921e8 78%,
      #07192192
    );
  }
  .login-heading p {
    font-size: 0.94rem;
  }
}
.pager {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}
.sr {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 1050px) {
  .layout {
    grid-template-columns: 196px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .workspace {
    padding-inline: 22px;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 13px;
  }
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 790px) {
  .layout {
    display: block;
  }
  .mobile-nav {
    display: inline-flex;
  }
  .sidebar {
    position: fixed;
    right: 0;
    width: 244px;
    transform: translateX(101%);
    transition: transform 0.16s;
  }
  .layout.show-nav .sidebar {
    transform: none;
  }
  .layout.show-nav .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 4;
    border: 0;
    background: #06172e77;
  }
  .scrim {
    display: none;
  }
  .workspace {
    padding: 10px 16px 35px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar nav {
    margin-top: 20px;
  }
  .title-line {
    margin: 14px 0;
  }
  .hero {
    padding: 20px;
  }
  .top-date {
    display: none;
  }
}
@media (min-width: 791px) {
  .scrim {
    display: none;
  }
}
@media (max-width: 560px) {
  .hero-copy {
    width: 73%;
  }
  .hero p {
    font-size: 0.92rem;
  }
  .panel {
    padding: 16px;
  }
  .title-line .btn {
    padding: 7px 12px;
  }
  .record {
    padding: 14px;
  }
  .stats {
    margin: 13px 0;
  }
  .title-line {
    gap: 8px;
  }
  .topbar .crumb {
    font-size: 0.82rem;
  }
  .topbar {
    gap: 4px;
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .section-head {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.health-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 18px 5px;
}
.health-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.health-strip .ico {
  width: 16px;
  height: 16px;
}
.bars {
  padding: 23px 10px 0;
}
.bar-value {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: #45606a;
  font-variant-numeric: tabular-nums;
}
.bars-wrap {
  max-width: 55px;
  margin-inline: auto;
}
@media (max-width: 790px) {
  .sidebar {
    visibility: hidden;
  }
  .layout.show-nav .sidebar {
    visibility: visible;
  }
}

/* Layer specular highlights above the surfaces while keeping inputs and focus rings crisp. */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, #041319e8);
}
.hero {
  isolation: isolate;
}
.hero .hero-copy {
  max-width: 58%;
  z-index: 1;
}
.hero-image {
  position: absolute;
  inset: 0 49% 0 0;
  overflow: hidden;
  mask-image: linear-gradient(to left, transparent 0%, #000 29%);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero-image::after {
  background: linear-gradient(90deg, transparent, #0d25367a 98%);
}
.panel,
.stat,
.record,
#sheet,
.btn {
  box-shadow:
    inset 0 1px 0 #fffe,
    0 8px 25px #18405913;
}
.sidebar {
  background: linear-gradient(151deg, #122f3e, #101b31 68%, #1c2340);
}
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 #fffb,
    0 8px 15px #173b5226;
}
.btn.primary {
  background: linear-gradient(140deg, #225c66, #193a55 62%, #40377f);
  color: white;
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    #c2fff53d 48%,
    transparent 69%
  );
  transform: translateX(-100%);
}
.btn.primary:hover::before {
  animation: orbit-reflection 0.9s ease-out;
}
@keyframes orbit-reflection {
  to {
    transform: translateX(100%);
  }
}
@keyframes orbit-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.login-form,
.hero,
.stats,
#sheet[open] {
  animation: orbit-enter 0.3s ease-out both;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.field-label .ico {
  width: 16px;
  height: 16px;
  color: #237376;
}
.persona-avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 21px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 5px 14px #274d6026;
}
.persona-photo {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.persona-photo label {
  flex: 1 1 180px;
  min-width: 0;
}
.persona-photo .check-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}
.persona-photo .check-field input {
  width: auto;
  min-height: 0;
}
.tunnel-command {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .hero .hero-copy {
    max-width: 100%;
  }
  .hero-image {
    inset: 0 58% 0 0;
    opacity: 0.43;
    mask-image: linear-gradient(to left, transparent, #000 100%);
  }
  .persona-avatar {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-form,
  .hero,
  .stats,
  #sheet[open],
  .btn.primary:hover::before {
    animation: none;
  }
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}

.integration-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  color: var(--muted);
}
.integration-status::before {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  flex: none;
  border-radius: 50%;
  background: #77888f;
}
.integration-status.is-connected {
  color: #17604a;
}
.integration-status.is-connected::before {
  background: #17895f;
  box-shadow: 0 0 0 3px #17895f25;
}
.integration-identity {
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}

.event-table-scroll {
  overflow-x: auto;
}
.event-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: start;
}
.event-table th,
.event-table td {
  padding: 9px 12px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.event-table th {
  white-space: nowrap;
  background: #e9f0f2;
}
.event-table tbody tr:nth-child(even) {
  background: #e8f0f34d;
}
.event-table td:first-child,
.event-table td:nth-child(2),
.event-table td:nth-child(6) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.event-table td:last-child {
  min-width: 150px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.event-pager {
  justify-content: center;
}
