@import url("/static/fonts.css");
:root {
  --bg: #f6f7f9;
  --paper: #fff;
  --ink: #242631;
  --muted: #858996;
  --line: #e9ebf0;
  --purple: #7560e8;
  --purple-soft: #f0edff;
  --green: #23836a;
  --green-soft: #e9f6f0;
  --orange: #b8812d;
  --orange-soft: #fff5e4;
  --red: #c95464;
  --shadow: 0 8px 32px #292b4210;
  font-family:
    "Mail Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button, input, select, textarea {
  font: inherit;
}
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
button, a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
button:focus-visible, a:focus-visible {
  outline: 3px solid #aa9bf2;
  outline-offset: 4px;
}
input, select, textarea {
  border: 1px solid #dfe2e9;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  width: 100%;
  transition: 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #7560e816;
}
textarea {
  resize: vertical;
  line-height: 1.7;
  min-height: 180px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 7px;
}
h1, h2, h3, p {
  margin: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 650;
  line-height: 1.3;
}
h2 {
  font-size: 18px;
  font-weight: 630;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 11px;
}
.mono {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: grid;
  gap: 20px;
}
.gap8 {
  gap: 8px;
}
.mt16 {
  margin-top: 16px;
}
.mt24 {
  margin-top: 24px;
}
.mb20 {
  margin-bottom: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 580;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover {
  background: #f6f5fa;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 3px 7px #7560e828;
}
.btn.primary:hover {
  background: #6550d6;
}
.btn.dark {
  background: #30313e;
  color: white;
  border-color: #30313e;
}
.btn.subtle {
  background: transparent;
  border-color: transparent;
}
.btn.danger {
  color: var(--red);
  border-color: #f4dbe0;
}
.btn.small {
  padding: 7px 11px;
  min-height: 32px;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.text-link {
  color: var(--purple);
  font-size: 12px;
  font-weight: 550;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.text-link svg {
  width: 15px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #838796;
}
.icon-btn:hover {
  background: var(--purple-soft);
  color: var(--purple);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  white-space: nowrap;
  background: #f0f1f5;
  color: #7d8290;
}
.tag svg {
  width: 12px;
  height: 12px;
}
.tag.green, .tag.completed {
  color: var(--green);
  background: var(--green-soft);
}
.tag.running {
  color: var(--purple);
  background: var(--purple-soft);
}
.tag.completed_errors, .tag.retry_wait, .tag.pending {
  color: var(--orange);
  background: var(--orange-soft);
}
.tag.blocked, .tag.error {
  color: var(--red);
  background: #fff0f2;
}
.dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex-shrink: 0;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card-pad {
  padding: 24px;
}
.panel-title {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}
.empty {
  text-align: center;
  padding: 46px 20px;
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: var(--purple);
  height: 56px;
  width: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
}
.empty h3 {
  margin-bottom: 8px;
}
.empty p {
  max-width: 400px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid #d5cffa;
  border-top-color: var(--purple);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.boot {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 650;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  background: var(--purple);
  width: 33px;
  height: 33px;
  border-radius: 10px;
  color: white;
  font-weight: 750;
  font-size: 25px;
  letter-spacing: -3px;
  padding-right: 3px;
  line-height: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.8px;
}
.brand .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 24px;
}
.sidebar {
  width: 228px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
  padding: 31px 17px 17px;
}
.sidebar .brand {
  padding: 0 12px 29px;
}
.workspace {
  margin: 0 1px 26px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.workspace-icon {
  background: #f3f2f8;
  border: 1px solid #e9e7ef;
  display: grid;
  place-items: center;
  height: 31px;
  width: 31px;
  border-radius: 7px;
}
.workspace-icon svg {
  width: 16px;
  color: #7b728f;
}
.nav-label {
  color: #a1a4af;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.5px;
  margin: 8px 13px 12px;
  text-transform: uppercase;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  border-radius: 7px;
  padding: 11px 13px;
  margin: 3px 0;
  font-size: 12px;
  color: #7b7e8b;
  font-weight: 500;
}
.nav-item svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}
.nav-item:hover {
  background: #f7f7fa;
}
.nav-item.active {
  background: var(--purple-soft);
  color: var(--purple);
  font-weight: 600;
}
.nav-item .nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #e3ddfc;
  padding: 2px 5px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-note {
  background: #f8f8fb;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 12px;
  margin: 0 2px 18px;
}
.sidebar-note svg {
  color: var(--purple);
  width: 17px;
}
.sidebar-note h3 {
  font-size: 11px;
  margin: 9px 0 5px;
}
.sidebar-note p {
  font-size: 10px;
  line-height: 1.7;
  color: #9599a5;
}
.profile {
  border-top: 1px solid var(--line);
  padding: 16px 9px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #eeeafc;
  color: #7560b8;
  font-size: 11px;
  font-weight: 650;
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-info strong {
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-info span {
  font-size: 9px;
  color: var(--muted);
}
.shell {
  margin-left: 228px;
}
.topbar {
  height: 73px;
  background: #ffffffd9;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}
.breadcrumb {
  font-size: 11px;
  color: #979aa5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb b {
  font-weight: 500;
  color: #555a68;
}
.breadcrumb svg {
  width: 13px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 10px;
  color: var(--muted);
}
.server-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
}
.server-indicator .dot {
  color: #4c9b7b;
}
.separator {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.main {
  max-width: 1500px;
  margin: auto;
  padding: 35px 38px 24px;
}
.page-heading {
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 12px;
  margin-top: 8px;
  color: #9296a3;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a8a5c2;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 222px;
  border-radius: 13px;
  background: #292a38;
  color: white;
  display: flex;
  align-items: center;
  padding: 30px 33px;
  margin-bottom: 24px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 58%;
}
.hero .eyebrow {
  color: #b5acd7;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero .eyebrow .dot {
  color: #ad98fa;
  height: 5px;
  width: 5px;
}
.hero h2 {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.32;
  margin-bottom: 11px;
}
.hero p {
  font-size: 11px;
  color: #afafbf;
  max-width: 340px;
  line-height: 1.8;
}
.hero .btn {
  margin-top: 22px;
  background: white;
  color: #34323f;
  border: 0;
  padding: 9px 13px;
  font-size: 10px;
  min-height: 34px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 43%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 65% 70%, #62528a40, transparent 67%);
}
.orbital {
  height: 280px;
  width: 280px;
  border: 1px solid #ffffff09;
  border-radius: 50%;
  position: absolute;
}
.orbital::after, .orbital::before {
  content: "";
  position: absolute;
  border: 1px solid #ffffff0d;
  border-radius: 50%;
  inset: 30px;
}
.orbital::before {
  inset: 65px;
}
.mail-tile {
  position: absolute;
  width: 77px;
  height: 77px;
  border: 1px solid #ffffff25;
  display: grid;
  place-items: center;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px #13131b44;
  transform: rotate(-12deg);
  background: linear-gradient(140deg, #ffffff14, #ffffff05);
  left: 18%;
  top: 29%;
}
.mail-tile svg {
  width: 37px;
  height: 37px;
  stroke-width: 1.2;
  color: #d8d3e7;
}
.mail-tile.second {
  transform: rotate(11deg);
  left: auto;
  right: 17%;
  top: 40%;
  background: linear-gradient(140deg, #a291f352, #8b72d51a);
  border-color: #c1b3ef55;
}
.mail-tile.second svg {
  color: #e2d9ff;
}
.flow-line {
  position: absolute;
  left: 40%;
  top: 49%;
  width: 22%;
  border-top: 2px dotted #a69ac477;
  transform: rotate(15deg);
}
.flow-dot {
  position: absolute;
  height: 7px;
  width: 7px;
  background: #ad96fa;
  border-radius: 50%;
  top: 54%;
  left: 54%;
  box-shadow: 0 0 12px #ac93ff99;
}
.secure-label {
  position: absolute;
  bottom: 22px;
  right: 40px;
  color: #aaa2bf;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 0.3px;
}
.secure-label svg {
  width: 12px;
  height: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 29px;
}
.stat {
  padding: 19px 20px 16px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9498a5;
  font-size: 10px;
}
.stat-top svg {
  color: #9a9bab;
  width: 15px;
}
.stat-value {
  font-size: 27px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 14px 0 10px;
  line-height: 1;
}
.stat-foot {
  font-size: 9px;
  color: #a0a3ae;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-foot.green {
  color: #42957a;
}
.stat-foot.orange {
  color: #ba8b41;
}
.stat-foot svg {
  width: 11px;
  height: 11px;
}
.section-head {
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 15px;
}
.section-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.tool-card {
  padding: 19px 20px 17px;
  transition: 0.2s;
  display: block;
  position: relative;
  text-align: left;
  width: 100%;
}
.tool-card:hover {
  border-color: #d3caf9;
  box-shadow: 0 6px 20px #7560e80a;
  transform: translateY(-3px);
}
.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0edff;
  color: #8270db;
  display: grid;
  place-items: center;
}
.tool-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}
.tool-icon.teal {
  background: #ebf6f4;
  color: #5a9b90;
}
.tool-icon.blue {
  background: #ecf2ff;
  color: #6d94d7;
}
.tool-icon.orange {
  background: #fff5e8;
  color: #cba165;
}
.tool-icon.pink {
  background: #f9edf3;
  color: #bf8aa4;
}
.tool-icon.gray {
  background: #f0f1f5;
  color: #9298a8;
}
.tool-card h3 {
  font-size: 12px;
  margin-bottom: 8px;
}
.tool-card p {
  font-size: 10px;
  line-height: 1.8;
  color: #9599a6;
  max-width: 90%;
}
.tool-top > .arrow {
  width: 14px;
  color: #b6bac5;
}
.tool-bottom {
  border-top: 1px solid #f1f2f5;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 9px;
  color: #a1a4b0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tool-bottom .dot {
  width: 4px;
  height: 4px;
  color: #94a09a;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #fbfcfd;
  color: #a0a4af;
  font-size: 9px;
  letter-spacing: 0.25px;
  font-weight: 500;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #f0f1f5;
  font-size: 11px;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr.clickable {
  cursor: pointer;
  transition: background 0.15s;
}
tbody tr.clickable:hover {
  background: #fcfbff;
}
.job-name {
  font-weight: 550;
  font-size: 11px;
}
.job-sub {
  font-size: 9px;
  color: #a0a4b1;
  margin-top: 5px;
}
.provider-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #fff2ef;
  color: #dc7962;
  border: 1px solid #f9e7e1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
}
.provider-mark.purple {
  color: #8b73d0;
  background: #f2eefc;
  border-color: #e9e1f9;
}
.table-route {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #9296a3;
}
.table-route svg {
  width: 12px;
}
.progress {
  height: 4px;
  width: 110px;
  background: #edecf3;
  border-radius: 5px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: #8b78ea;
  border-radius: 5px;
  transition: width 0.5s;
}
.progress.green > span {
  background: #70b79d;
}
.progress-meta {
  font-size: 9px;
  color: #9a9eaa;
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 110px;
}
.footer {
  display: flex;
  justify-content: space-between;
  color: #b2b5be;
  font-size: 9px;
  margin-top: 29px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer svg {
  width: 11px;
  height: 11px;
}
.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5ddfa;
  background: #f0edff;
  color: #7865b3;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 11px;
  margin-bottom: 23px;
  line-height: 1.6;
}
.banner.warning {
  background: #fff8ed;
  border-color: #f2e4ca;
  color: #a38350;
}
.banner .btn {
  margin-left: auto;
  background: transparent;
  border-color: #d9d0f2;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.search {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.search input {
  padding-left: 37px;
  font-size: 11px;
  background: white;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 15px;
  color: #a4a8b3;
}
.filter-bar select {
  width: auto;
  font-size: 11px;
  min-width: 160px;
  padding: 11px;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.account-card {
  padding: 23px;
}
.account-card .provider-mark {
  width: 42px;
  height: 42px;
  font-size: 18px;
}
.account-card h3 {
  margin-top: 17px;
}
.account-card .account-email {
  font-size: 12px;
  color: #8d91a0;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.account-meta {
  padding: 16px 0;
  display: grid;
  gap: 11px;
  margin: 16px 0;
  border-block: 1px solid var(--line);
  font-size: 11px;
  color: #858a99;
}
.account-meta span {
  display: flex;
  justify-content: space-between;
}
.account-meta strong {
  color: #575d6b;
  font-weight: 450;
}
.account-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}
.detail-stat {
  padding: 19px;
}
.detail-stat strong {
  font-size: 25px;
  display: block;
  margin: 10px 0 4px;
  font-weight: 550;
  letter-spacing: -0.5px;
}
.detail-stat > span {
  font-size: 11px;
  color: var(--muted);
}
.detail-progress {
  height: 7px;
  width: 100%;
  margin: 20px 0 10px;
}
.detail-note {
  font-size: 11px;
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 21px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.tab {
  padding: 13px 0;
  font-size: 12px;
  color: #969ba8;
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: var(--purple);
  border-color: var(--purple);
}
.event {
  display: grid;
  grid-template-columns: 65px 8px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f1f5;
  align-items: start;
  font-size: 11px;
}
.event-time {
  color: #a4a8b2;
  font-size: 10px;
}
.event .dot {
  margin-top: 4px;
  color: #a3c9b5;
}
.event.warning .dot {
  color: #d6ad6c;
}
.event.error .dot {
  color: #d78691;
}
.event strong {
  font-weight: 500;
  display: block;
  line-height: 1.6;
}
.event small {
  font-size: 9px;
  color: #a1a6b3;
  display: block;
  margin-top: 4px;
}
.code-block {
  padding: 15px 17px;
  background: #f6f7fa;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 400px;
  overflow: auto;
}
.result-record {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.result-record:last-child {
  border: 0;
}
.result-record h3 {
  font-size: 13px;
}
.result-record p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0;
}
.result-record .code-block {
  margin-top: 10px;
}
.tool-intro {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.tool-intro .tool-icon {
  height: 49px;
  width: 49px;
  border-radius: 13px;
}
.tool-intro h1 {
  font-size: 25px;
}
.tool-intro p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 650px;
}
.tip {
  font-size: 11px;
  color: #9599a6;
  line-height: 1.8;
  background: #f8f9fb;
  padding: 14px 16px;
  border-radius: 8px;
}
.tip svg {
  width: 14px;
  margin-right: 5px;
  color: var(--purple);
}
.field {
  margin-bottom: 18px;
}
.field small {
  display: block;
  color: #a0a4af;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .field {
  margin-bottom: 0;
}
.form-error {
  font-size: 12px;
  color: var(--red);
  background: #fff3f5;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.auth-story {
  padding: 45px 55px;
  color: white;
  background: #292a38;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 700px;
}
.auth-story .brand {
  color: white;
}
.auth-story-content {
  margin: auto 0;
  position: relative;
  z-index: 2;
}
.auth-story h1 {
  font-size: 48px;
  letter-spacing: -2px;
  line-height: 1.18;
  font-weight: 500;
  margin: 24px 0;
}
.auth-story h1 em {
  font-style: normal;
  color: #b3a2f7;
}
.auth-story p {
  color: #aeafbd;
  font-size: 14px;
  max-width: 350px;
}
.auth-points {
  margin-top: 35px;
  display: grid;
  gap: 16px;
  font-size: 12px;
  color: #d3cfdf;
}
.auth-points > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-points svg {
  width: 17px;
  color: #ad97fa;
}
.auth-story-foot {
  font-size: 10px;
  color: #8e8b9f;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.auth-decoration {
  position: absolute;
  border: 1px solid #ffffff06;
  border-radius: 50%;
  height: 650px;
  width: 650px;
  bottom: -220px;
  right: -300px;
  box-shadow: 0 0 0 80px #ffffff02, 0 0 0 160px #ffffff02;
}
.auth-form-side {
  display: grid;
  place-items: center;
  padding: 50px 30px;
}
.auth-box {
  width: 100%;
  max-width: 350px;
}
.auth-box h2 {
  font-size: 27px;
  letter-spacing: -0.9px;
  margin: 15px 0 10px;
}
.auth-box > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}
.auth-box .btn {
  width: 100%;
  margin-top: 7px;
  height: 44px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #b0b3bd;
  margin: 21px 0;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-note {
  text-align: center;
  color: #a3a7b2;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 28px;
}
.auth-note svg {
  height: 12px;
  width: 12px;
}
.auth-mode {
  margin-bottom: 20px;
  font-size: 10px;
  color: var(--purple);
  display: flex;
  gap: 7px;
  align-items: center;
}
.mobile-menu {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 90px #1b1c3540;
  width: min(620px, calc(100vw - 32px));
  padding: 0;
  max-height: 90dvh;
  color: var(--ink);
}
dialog::backdrop {
  background: #20223877;
  backdrop-filter: blur(4px);
}
.modal-head {
  padding: 24px 27px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 19px;
}
.modal-body {
  padding: 25px 27px;
}
.modal-foot {
  padding: 19px 27px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  background: #fcfcfe;
}
.stepper {
  display: flex;
  gap: 9px;
  margin-bottom: 26px;
}
.step {
  flex: 1;
  font-size: 9px;
  color: #acafba;
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 2px solid #eeedf3;
  padding-top: 11px;
}
.step.active {
  color: var(--purple);
  border-color: var(--purple);
}
.step > span {
  height: 19px;
  width: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f1f6;
  font-size: 9px;
}
.step.active > span {
  background: var(--purple-soft);
}
.folder-choices {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
}
.folder-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  margin: 0;
  font-weight: 450;
  border-bottom: 1px solid #f3f3f6;
  font-size: 12px;
}
.folder-choice input {
  width: 15px;
  accent-color: var(--purple);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.summary-row > span {
  color: var(--muted);
}
.summary-row > strong {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}
.summary-row:last-child {
  border: 0;
}
#toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  display: grid;
  gap: 10px;
}
.toast {
  border: 1px solid #ddd8f2;
  box-shadow: var(--shadow);
  background: #fff;
  color: #51456d;
  max-width: 400px;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 12px;
  line-height: 1.6;
  animation: toastin 0.2s ease-out;
}
.toast.error {
  border-color: #f4d4da;
  color: var(--red);
}
@keyframes toastin {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.signature-preview {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: repeating-linear-gradient(
    45deg,
    #fafbfc,
    #fafbfc 8px,
    #f6f7f9 8px,
    #f6f7f9 16px
  );
  border: 1px solid var(--line);
  border-radius: 8px;
}
.signature-preview > div {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 20px #1b1c3510;
  width: 100%;
}
.route-box {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 10px;
}
.route-box > div {
  padding: 19px;
  background: #fafafd;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
}
.route-box > div strong {
  display: block;
  font-size: 12px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.route-box > div small {
  font-size: 10px;
  color: var(--muted);
}
.route-box > svg {
  color: #aaa3be;
  justify-self: center;
}
.settings-list {
  display: grid;
  gap: 0;
}
.settings-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.settings-item > span {
  color: var(--muted);
}
.settings-item strong {
  font-weight: 500;
}
.inline-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 12px;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.7;
  color: #7d778a;
}
.check-row input {
  width: 17px;
  margin-top: 4px;
  accent-color: var(--purple);
}
.notice-icon {
  display: grid;
  place-items: center;
  height: 50px;
  width: 50px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 13px;
  margin-bottom: 18px;
}
@media (min-width: 1500px) {
  :root {
    font-size: 15px;
  }
  .main {
    padding-top: 43px;
  }
  .hero {
    min-height: 250px;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero .btn {
    font-size: 12px;
  }
  .tool-card {
    padding: 23px;
  }
  .tool-card h3 {
    font-size: 14px;
  }
  .tool-card p {
    font-size: 12px;
  }
  .tool-bottom {
    font-size: 10px;
  }
  .stat {
    padding: 23px;
  }
  .stat-top {
    font-size: 12px;
  }
  .stat-value {
    font-size: 31px;
  }
  .stat-foot {
    font-size: 11px;
  }
  .tool-icon {
    height: 40px;
    width: 40px;
  }
  .nav-item {
    font-size: 13px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .section-head p {
    font-size: 12px;
  }
  .job-name {
    font-size: 13px;
  }
  td {
    font-size: 12px;
  }
  .job-sub, .table-route, .progress-meta {
    font-size: 10px;
  }
  .topbar {
    height: 79px;
  }
  .footer {
    font-size: 10px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
  }
  .shell {
    margin-left: 205px;
  }
  .main {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .hero {
    padding: 27px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .tools-grid {
    gap: 12px;
  }
  .tool-card {
    padding: 17px;
  }
  .tool-card p {
    max-width: 100%;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat-top {
    font-size: 9px;
  }
  .connection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 184px;
    padding: 25px 10px 15px;
  }
  .shell {
    margin-left: 184px;
  }
  .sidebar .brand {
    font-size: 19px;
    padding-left: 9px;
  }
  .workspace {
    padding: 9px;
    gap: 6px;
    font-size: 10px;
  }
  .workspace-icon {
    width: 26px;
    height: 26px;
  }
  .nav-item {
    padding: 11px 10px;
    font-size: 11px;
    gap: 9px;
  }
  .main {
    padding: 25px 20px;
  }
  .topbar {
    padding: 0 20px;
  }
  .topbar-right .server-indicator {
    display: none;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-value {
    font-size: 28px;
  }
  .hero-art {
    width: 40%;
    opacity: 0.7;
  }
  .hero-content {
    max-width: 70%;
  }
  .hero p {
    max-width: 280px;
  }
  .hero h2 {
    font-size: 23px;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 35px;
  }
  .auth-story h1 {
    font-size: 38px;
  }
  .auth-story p {
    font-size: 12px;
  }
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .detail-stats {
    gap: 10px;
  }
  .detail-stat {
    padding: 15px;
  }
  .detail-stat strong {
    font-size: 23px;
  }
  .hero .secure-label {
    right: 15px;
    font-size: 7px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 228px;
    box-shadow: 20px 0 80px #24263122;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 19px;
  }
  .mobile-menu {
    display: grid;
    margin-left: -5px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .topbar-right {
    gap: 8px;
  }
  .topbar-right > .separator {
    display: none;
  }
  .topbar-right > .small {
    display: none;
  }
  .main {
    padding: 25px 18px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .btn {
    font-size: 10px;
    padding: 9px 10px;
  }
  .page-heading .btn svg {
    width: 13px;
  }
  .hero {
    min-height: 215px;
    padding: 25px;
    align-items: flex-start;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero h2 {
    font-size: 25px;
    max-width: 280px;
  }
  .hero p {
    max-width: 240px;
    font-size: 10px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-art {
    width: 50%;
    opacity: 0.28;
    right: -30px;
    top: 30px;
  }
  .hero .secure-label {
    display: none;
  }
  .stats {
    gap: 10px;
    margin-bottom: 25px;
  }
  .stat {
    padding: 16px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .tools-grid {
    gap: 10px;
  }
  .tool-card {
    padding: 16px 14px;
  }
  .tool-icon {
    height: 32px;
    width: 32px;
    border-radius: 9px;
  }
  .tool-icon svg {
    width: 17px;
  }
  .tool-card h3 {
    font-size: 11px;
  }
  .tool-card p {
    font-size: 9px;
    line-height: 1.8;
  }
  .tool-bottom {
    font-size: 8px;
  }
  .section-head h2 {
    font-size: 14px;
  }
  .panel-title {
    padding: 19px 17px;
  }
  .footer {
    font-size: 8px;
    gap: 10px;
  }
  .footer > span:last-child {
    display: none;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    min-height: auto;
    padding: 28px 30px 30px;
  }
  .auth-story-content {
    margin-top: 30px;
  }
  .auth-story h1 {
    font-size: 30px;
    margin: 15px 0;
  }
  .auth-story p {
    font-size: 11px;
    max-width: 270px;
  }
  .auth-points, .auth-story-foot {
    display: none;
  }
  .auth-story .eyebrow {
    font-size: 8px;
  }
  .auth-form-side {
    padding: 35px 28px;
  }
  .auth-box h2 {
    font-size: 25px;
  }
  .card-pad {
    padding: 20px;
  }
  .grid2 {
    gap: 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .search {
    min-width: 100%;
    max-width: none;
  }
  .filter-bar select {
    flex: 1;
  }
  .detail-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .detail-stat {
    padding: 13px 10px;
  }
  .detail-stat > span {
    font-size: 9px;
  }
  .detail-stat strong {
    font-size: 21px;
  }
  .route-box {
    grid-template-columns: 1fr;
  }
  .route-box > svg {
    transform: rotate(90deg);
    width: 17px;
    height: 17px;
  }
  .route-box > div {
    padding: 14px;
  }
  .route-box > div strong {
    margin: 5px 0;
  }
  .between.wrap {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .banner {
    font-size: 10px;
    padding: 11px;
  }
  .banner .btn {
    font-size: 9px;
  }
  .topbar .avatar {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  dialog {
    max-height: 94dvh;
  }
  .modal-head {
    padding: 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-foot {
    padding: 16px 20px;
  }
  .step {
    font-size: 8px;
  }
  .tool-intro h1 {
    font-size: 24px;
  }
  .tool-intro p {
    font-size: 11px;
  }
  #toasts {
    right: 15px;
    left: 15px;
    bottom: 15px;
  }
  .toast {
    max-width: none;
  }
  .btn {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.sidebar-close {
  display: none;
}
@media (max-width: 650px) {
  .sidebar-close {
    display: grid;
    position: absolute;
    top: 20px;
    right: 9px;
    width: 25px;
    height: 25px;
  }
  .sidebar .brand > .tag {
    display: none;
  }
}
