@scope (.nova-frame) to (#work:not(:has(.nova-design))) {
.app-shell {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 236px;
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  background: #101725;
  color: #b9c1cf;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 0 10px 32px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  position: relative;
  transform: rotate(-8deg);
}
.brand-mark span {
  position: absolute;
  height: 8px;
  border-radius: 2px;
  background: #6d8cff;
  transform: skewY(-25deg);
}
.brand-mark span:nth-child(1) {
  width: 19px;
  left: 2px;
  top: 3px;
}
.brand-mark span:nth-child(2) {
  width: 25px;
  left: 3px;
  top: 12px;
  background: #4267ef;
}
.brand-mark span:nth-child(3) {
  width: 16px;
  left: 10px;
  top: 21px;
  background: #8ba1ff;
}
.brand strong {
  font: 700 16px/16px 'DM Sans';
  letter-spacing: 2.7px;
  display: block;
}
.brand small {
  font: 600 8px/10px 'DM Sans';
  letter-spacing: 4px;
  color: #75829a;
}
.nav-label {
  padding: 0 13px 9px;
  color: #626d80;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.main-nav {
  flex: 1;
}
.nav-item {
  width: 100%;
  height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  padding: 0 13px;
  color: #8f99aa;
  font-size: 13px;
  font-weight: 500;
  transition: 0.2s ease;
}
.nav-item:hover {
  color: #fff;
  background: #172132;
}
.nav-item.selected {
  color: #fff;
  background: linear-gradient(90deg, #273b76, #1c2b4e);
  box-shadow: inset 3px 0 #6b8aff;
}
.nav-item.selected svg {
  color: #83a0ff;
}
.nav-item em {
  margin-left: auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9a35e;
  color: #121925;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.sidebar-bottom {
  margin-top: auto;
}
.server-card {
  margin: 16px 4px;
  padding: 13px;
  border: 1px solid #263144;
  background: #151e2d;
  border-radius: 8px;
  font-size: 10px;
}
.server-card-head {
  display: flex;
  justify-content: space-between;
  color: #778398;
  margin-bottom: 8px;
}
.server-card strong {
  color: #d7deea;
  font: 500 12px 'DM Sans';
  letter-spacing: 0.4px;
}
.usage {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  color: #717d91;
}
.usage-bars {
  height: 3px;
  background: #263144;
  margin-top: 6px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.usage-bars i,
.usage-bars b {
  height: 100%;
  position: absolute;
  left: 0;
  border-radius: 2px;
  background: #5477ed;
}
.usage-bars b {
  left: 52%;
  background: #8b65dd;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px 0;
  border-top: 1px solid #232d3e;
}
.profile .avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #dbe3ff;
  background: #31436c;
  font-weight: 600;
  font-size: 12px;
}
.profile div:nth-child(2) {
  flex: 1;
}
.profile strong,
.profile span {
  display: block;
}
.profile strong {
  color: #e6eaf1;
  font-size: 12px;
}
.profile span {
  color: #687489;
  font-size: 9px;
  margin-top: 2px;
}

.main {
  margin-left: 236px;
  width: calc(100% - 236px);
  min-height: 100vh;
}
.topbar {
  height: 68px;
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(10px);
}
.server-state,
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #495266;
}
.server-state i {
  width: 1px;
  height: 13px;
  background: #d8dbe2;
  margin: 0 4px;
}
.muted {
  color: #979eaa;
}
.top-actions {
  gap: 12px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #717a89;
  border: 1px solid #e1e4e9;
  background: white;
  position: relative;
  transition: 0.2s;
}
.icon-button:hover {
  color: #3157e5;
  border-color: #bfc9ef;
  background: #f8f9ff;
}
.notification {
  position: absolute;
  right: 7px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ed6c5a;
  border: 1px solid white;
}
.primary {
  height: 40px;
  padding: 0 17px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #3157e5;
  color: white;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 9px rgba(49, 87, 229, 0.18);
  transition: 0.2s;
}
.primary:hover {
  background: #2449cc;
  transform: translateY(-1px);
}
.primary.small {
  height: 34px;
  padding-inline: 14px;
}
.content {
  padding: 34px 38px 50px;
  max-width: 1580px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 27px;
}
.eyebrow {
  color: #3157e5 !important;
  font: 700 9px 'DM Sans' !important;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading h1 {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #192131;
}
.page-heading > div > p:last-child {
  color: #838b98;
  font-size: 12px;
  margin-top: 8px;
}
.outline-button {
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d9dde5;
  background: white;
  border-radius: 7px;
  color: #525d70;
  font-size: 11px;
  font-weight: 600;
}
.outline-button:hover {
  border-color: #aeb9d8;
  color: #3157e5;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 17px;
}
.stat-card {
  text-align: left;
  background: white;
  border: 1px solid #e5e7ec;
  border-radius: 9px;
  padding: 17px 18px 15px;
  position: relative;
  box-shadow: 0 2px 5px rgba(24, 35, 55, 0.025);
  transition: 0.2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: #cdd4e7;
  box-shadow: 0 8px 24px rgba(33, 43, 64, 0.06);
}
.stat-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  position: absolute;
  right: 16px;
  top: 16px;
  color: #3157e5;
  background: #edf1ff;
}
.stat-icon.amber {
  color: #d6843d;
  background: #fff2e5;
}
.stat-icon.green {
  color: #258e70;
  background: #e7f6f0;
}
.stat-icon.purple {
  color: #805bd1;
  background: #f1ebff;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #737c8c;
  font-size: 11px;
}
.stat-top svg {
  opacity: 0;
  margin-right: 39px;
  transition: 0.2s;
}
.stat-card:hover .stat-top svg {
  opacity: 1;
  transform: translateX(3px);
}
.stat-value {
  font: 700 26px 'DM Sans';
  color: #192131;
  margin: 15px 0 10px;
  letter-spacing: -0.8px;
}
.stat-value small {
  color: #9aa2ae;
  font-size: 13px;
  font-weight: 500;
  margin-left: 4px;
}
.stat-card p {
  color: #7c8593;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex: none;
  border-radius: 50%;
  background: #d9a24c;
  box-shadow: 0 0 0 3px rgba(217, 162, 76, 0.11);
}
.status-dot.active {
  background: #34a47e;
  box-shadow: 0 0 0 3px rgba(52, 164, 126, 0.11);
}
.grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 1fr);
  gap: 17px;
  margin-bottom: 17px;
}
.grid-layout.lower {
  grid-template-columns: 1fr 1fr;
}
.panel {
  background: white;
  border: 1px solid #e3e6eb;
  border-radius: 9px;
  box-shadow: 0 2px 5px rgba(24, 35, 55, 0.025);
  overflow: hidden;
}
.panel-head {
  min-height: 68px;
  padding: 16px 19px;
  border-bottom: 1px solid #eceef2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-head h3 {
  color: #222b3b;
  font-size: 13px;
  font-weight: 700;
}
.panel-head p {
  color: #969da9;
  font-size: 9px;
  margin-top: 4px;
}
.panel-head button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4262d0;
  font-size: 10px;
  font-weight: 600;
}
.panel-head button:hover svg {
  transform: translateX(3px);
}
.project-row {
  min-height: 65px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f1f4;
  display: grid;
  grid-template-columns: 34px minmax(130px, 1.15fr) minmax(125px, 1fr) 78px 78px minmax(
      260px,
      1.5fr
    );
  align-items: center;
  gap: 13px;
  font-size: 10px;
}
.project-row.compact {
  grid-template-columns: 34px minmax(125px, 1.15fr) minmax(125px, 1fr) 78px 78px 32px;
}
.project-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font: 700 13px 'DM Sans';
}
.project-name strong,
.project-name span {
  display: block;
}
.project-name strong {
  color: #283142;
  font-size: 11px;
  padding-top: 2px;
}
.project-name span {
  color: #9299a5;
  margin-top: 4px;
  font: 500 9px 'DM Sans';
}
.domain {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5f6878;
  white-space: nowrap;
}
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  color: #278364;
  background: #eef9f5;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 600;
}
.status-pill.off {
  color: #79818f;
  background: #f0f1f3;
}
.status-pill.off .status-dot {
  background: #9ca3af;
  box-shadow: none;
}
.uptime span,
.uptime strong {
  display: block;
}
.uptime span {
  color: #a0a6b0;
  font-size: 8px;
}
.uptime strong {
  color: #555e6e;
  font: 600 9px 'DM Sans';
  margin-top: 3px;
}
.row-action {
  width: 29px;
  height: 29px;
}
.row-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}
.row-controls button,
.row-controls a {
  height: 27px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e1e4e9;
  border-radius: 5px;
  color: #5f6b7e;
  background: #fff;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 600;
  transition: 0.18s;
}
.row-controls button:hover,
.row-controls a:hover {
  color: #3157e5;
  border-color: #bec9ec;
  background: #f7f9ff;
}
.row-controls button.disabled {
  opacity: 0.42;
}
.row-controls button.only-icon {
  width: 27px;
  padding: 0;
  justify-content: center;
}
.add-row {
  height: 40px;
  width: 100%;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: #536bc3;
  background: #fbfcff;
  font-size: 10px;
  font-weight: 600;
}
.add-row:hover {
  background: #f4f6ff;
}
.health-panel {
  min-height: 304px;
}
.health-score {
  padding: 23px 23px 14px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.score-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#36a57f 99.8%, #e7ebec 0);
  position: relative;
}
.score-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: white;
  border-radius: 50%;
}
.score-ring span {
  position: relative;
  z-index: 1;
  font: 700 17px 'DM Sans';
  color: #263142;
}
.score-ring small {
  font-size: 9px;
}
.health-score strong {
  font-size: 12px;
  color: #253043;
}
.health-score p {
  color: #9098a5;
  font-size: 9px;
  margin-top: 5px;
}
.health-bars {
  padding: 0 22px;
}
.health-bars > div {
  margin-top: 11px;
}
.health-bars p {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #76808f;
}
.health-bars b {
  color: #3c4758;
  font: 600 9px 'DM Sans';
}
.health-bars i {
  height: 4px;
  display: block;
  background: #edf0f2;
  border-radius: 4px;
  margin-top: 6px;
  overflow: hidden;
}
.health-bars em {
  display: block;
  height: 100%;
  background: #36a57f;
  border-radius: 4px;
}
.alert-list > div {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  gap: 12px;
  border-bottom: 1px solid #eff1f3;
}
.alert-list > div:last-child {
  border: 0;
}
.date-box {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #3157e5;
  background: #edf1ff;
}
.date-box.amber {
  color: #ce7631;
  background: #fff1e5;
}
.date-box b {
  font: 700 15px/14px 'DM Sans';
}
.date-box small {
  font-size: 7px;
  margin-top: 2px;
}
.alert-list > div > span:nth-child(2) {
  flex: 1;
}
.alert-list strong,
.alert-list small {
  display: block;
}
.alert-list strong {
  font-size: 10px;
  color: #30394a;
}
.alert-list small {
  font-size: 8px;
  color: #989faa;
  margin-top: 5px;
}
.alert-list button,
.task-card button {
  color: #4262d0;
  font-size: 9px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 5px;
  background: #f2f5ff;
}
.task-row {
  min-height: 52px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #f0f1f4;
}
.task-row:last-child {
  border: 0;
}
.task-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #6373a5;
  background: #f0f2f7;
}
.task-row > span {
  flex: 1;
}
.task-row strong,
.task-row small {
  display: block;
}
.task-row strong {
  font-size: 10px;
  color: #30394a;
}
.task-row small {
  font: 500 8px 'DM Sans';
  color: #9ba1ac;
  margin-top: 3px;
}
.task-row em {
  font-style: normal;
  color: #278364;
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.data-page {
  min-height: 460px;
}
.toolbar,
.domain-summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid #e8eaee;
}
.search {
  width: 300px;
  height: 38px;
  border: 1px solid #dde1e8;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  color: #8f97a4;
}
.search input {
  outline: 0;
  width: 100%;
  font-size: 11px;
  color: #333c4d;
}
.search input::placeholder {
  color: #a2a8b2;
}
.data-head.project-row {
  min-height: 42px;
  color: #9299a5;
  background: #fafbfc;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.data-head.project-row span:first-child {
  grid-column: span 2;
}
.project-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.detect-button {
  color: #3157e5;
  border-color: #ccd5f2;
  background: #f8faff;
}
.project-pagination {
  min-height: 54px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #969da8;
  font-size: 9px;
}
.project-pagination > div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-pagination button,
.project-pagination b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e3e8;
  border-radius: 5px;
  color: #7c8593;
  background: #fff;
}
.project-pagination button:disabled {
  opacity: 0.45;
}
.project-pagination b {
  color: #fff;
  border-color: #3157e5;
  background: #3157e5;
  font: 600 9px 'DM Sans';
}
.back-icon {
  transform: rotate(180deg);
}
.empty {
  padding: 70px;
  text-align: center;
  color: #9199a5;
  font-size: 12px;
}
.filter-chips {
  display: flex;
  gap: 5px;
  background: #f2f3f6;
  padding: 3px;
  border-radius: 7px;
}
.filter-chips button {
  padding: 7px 12px;
  color: #7c8492;
  font-size: 10px;
  border-radius: 5px;
}
.filter-chips button.active {
  background: white;
  color: #2d3748;
  box-shadow: 0 1px 3px #dfe2e8;
}
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.7fr 0.8fr 60px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}
.table-head {
  height: 42px;
  background: #fafbfc;
  color: #9299a5;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eaecf0;
}
.table-row {
  min-height: 60px;
  border-bottom: 1px solid #eff1f4;
  color: #596273;
  font: 500 10px 'DM Sans';
}
.main-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2c3545;
  font-family: 'Noto Sans SC';
  font-weight: 600;
}
.main-cell svg {
  color: #6179c7;
}
.main-cell small {
  color: #9aa1ad;
  font-weight: 400;
}
.tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: #258263;
  background: #edf8f4;
  border-radius: 20px;
  font: 600 9px 'Noto Sans SC';
}
.tag.warning {
  color: #c77430;
  background: #fff1e4;
}
.table-action {
  color: #3157e5;
  font: 600 9px 'Noto Sans SC';
}
.table-action:hover {
  text-decoration: underline;
}
.domain-summary > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.domain-summary > div > svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 8px;
  color: #3157e5;
  background: #edf1ff;
}
.domain-summary strong,
.domain-summary small {
  display: block;
}
.domain-summary strong {
  font: 700 13px 'DM Sans';
  color: #273142;
}
.domain-summary small {
  color: #929aa7;
  font-size: 9px;
  margin-top: 4px;
}
.dns-table .table-head,
.dns-table .table-row {
  grid-template-columns: 1.2fr 0.6fr 1.5fr 0.5fr 1fr 40px;
}
.record-type {
  padding: 4px 7px;
  color: #4261c9;
  background: #eef2ff;
  border-radius: 4px;
  font-size: 9px;
}
.dns-state {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
}

.task-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.task-card {
  padding: 20px;
  position: relative;
}
.task-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #3157e5;
  background: #edf1ff;
  border-radius: 8px;
  margin-bottom: 22px;
}
.task-card > .tag {
  position: absolute;
  right: 16px;
  top: 17px;
}
.task-card h3 {
  font-size: 13px;
  color: #273142;
}
.task-card > p {
  font: 500 10px 'DM Sans';
  color: #7e8795;
  margin: 6px 0 17px;
}
.task-card > div:nth-of-type(2) {
  padding-top: 14px;
  border-top: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #89919e;
  font-size: 9px;
}
.task-card button {
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 22, 35, 0.55);
  display: grid;
  place-items: center;
  backdrop-filter: blur(3px);
  animation: fade 0.15s ease;
}
.modal-card {
  width: 530px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(13, 21, 36, 0.25);
  padding: 27px;
  position: relative;
  animation: rise 0.2s ease;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  border: 0;
  background: #f4f5f7;
}
.modal-card h2 {
  font-size: 21px;
  color: #1f2939;
  letter-spacing: -0.4px;
}
.modal-subtitle {
  color: #838b98;
  font-size: 11px;
  margin-top: 7px;
}
.drop-zone {
  border: 1px dashed #cbd1dc;
  background: #fafbfc;
  border-radius: 9px;
  min-height: 210px;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.upload-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #3157e5;
  background: #ebf0ff;
  border-radius: 9px;
  margin-bottom: 12px;
}
.drop-zone strong {
  font-size: 12px;
  color: #384253;
}
.drop-zone span {
  font-size: 9px;
  color: #989faa;
  margin: 5px 0 13px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.text-button {
  height: 40px;
  padding: 0 15px;
  color: #747d8c;
  font-size: 11px;
}
.steps {
  display: flex;
  margin: 24px 0 22px;
}
.steps > div {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  color: #9aa1ac;
  font-size: 9px;
}
.steps > div:not(:last-child)::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 1px;
  background: #dfe2e8;
  right: 8px;
}
.steps span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff1f4;
  font: 600 9px 'DM Sans';
}
.steps .done {
  color: #3157e5;
}
.steps .done span {
  color: white;
  background: #3157e5;
}
.steps b {
  font-weight: 600;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
  background: #f7f8fa;
  border-radius: 8px;
}
.form-grid label.full {
  grid-column: span 2;
}
.form-grid label > span {
  display: block;
  color: #5e6878;
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-grid input,
.form-grid select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  background: white;
  border: 1px solid #dce0e7;
  border-radius: 6px;
  outline: none;
  color: #374151;
  font-size: 10px;
}
.form-grid input:focus,
.form-grid select:focus {
  border-color: #6f88e7;
  box-shadow: 0 0 0 3px #edf0ff;
}
.confirm-list {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  overflow: hidden;
}
.confirm-list > div {
  min-height: 63px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eceef1;
  color: #657087;
}
.confirm-list > div:last-child {
  border: 0;
}
.confirm-list span {
  flex: 1;
}
.confirm-list b,
.confirm-list small {
  display: block;
}
.confirm-list b {
  color: #303a4a;
  font-size: 10px;
}
.confirm-list small {
  color: #939aa6;
  font-size: 8px;
  margin-top: 4px;
}
.confirm-list .ok {
  color: #31a07a;
}
.toast {
  position: fixed;
  z-index: 80;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #182131;
  color: white;
  border: 1px solid #303b4d;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 11px;
  box-shadow: 0 10px 30px rgba(10, 18, 32, 0.25);
  animation: rise 0.2s ease;
}
.toast svg {
  color: #4fc398;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Authentication and first-run experience */
.simple-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f5f6f8;
}
.simple-login-panel {
  width: 390px;
  padding: 40px;
  border: 1px solid #e3e5e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(27, 37, 55, 0.06);
}
.simple-login-panel .login-card {
  width: 100%;
}
.simple-login-panel .login-card h2 {
  margin: 26px 0 25px;
  text-align: center;
  color: #202838;
  font-size: 22px;
}
.login-nova {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #172033;
}
.login-nova strong {
  display: block;
  font: 700 17px/17px 'DM Sans';
  letter-spacing: 3px;
}
.login-nova small {
  display: block;
  color: #87909f;
  font: 600 7px/10px 'DM Sans';
  letter-spacing: 4px;
}
.simple-login-panel .auth-field {
  margin-top: 16px;
}
.simple-login-panel .auth-submit {
  margin-top: 24px;
}
.auth-shell {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 5%, rgba(75, 105, 222, 0.12), transparent 35%), #f4f5f7;
  display: grid;
  place-items: center;
  position: relative;
}
.auth-brand {
  position: absolute;
  top: 32px;
  left: 38px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #172033;
}
.auth-brand strong {
  font: 700 15px/15px 'DM Sans';
  letter-spacing: 2.7px;
  display: block;
}
.auth-brand small {
  font: 600 7px/10px 'DM Sans';
  letter-spacing: 3.6px;
  color: #7a8495;
}
.auth-brand.light {
  color: #fff;
}
.auth-brand.light small {
  color: #6e7a90;
}
.password-card {
  width: 430px;
  padding: 35px 38px 30px;
  border: 1px solid #e0e3e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(27, 37, 55, 0.09);
}
.security-mark {
  width: 46px;
  height: 46px;
  margin-bottom: 21px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #3157e5;
  background: #edf1ff;
}
.password-card h1 {
  color: #1e2737;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.6px;
}
.password-card > p:not(.eyebrow, .auth-help) {
  margin: 9px 0 20px;
  color: #828a97;
  font-size: 10px;
  line-height: 1.7;
}
.password-notice {
  margin-bottom: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce4ff;
  border-radius: 7px;
  color: #4b68cc;
  background: #f5f7ff;
}
.password-notice b,
.password-notice small {
  display: block;
}
.password-notice b {
  color: #35466f;
  font-size: 9px;
}
.password-notice small {
  margin-top: 3px;
  color: #8490ad;
  font-size: 8px;
}
.auth-field {
  display: block;
  position: relative;
  margin-top: 14px;
}
.auth-field > span {
  display: block;
  margin-bottom: 7px;
  color: #525d6e;
  font-size: 9px;
  font-weight: 600;
}
.auth-field input {
  width: 100%;
  height: 43px;
  padding: 0 53px 0 12px;
  border: 1px solid #d9dde5;
  border-radius: 7px;
  outline: none;
  color: #2e3849;
  background: #fff;
  font: 500 11px 'DM Sans';
}
.auth-field input:focus {
  border-color: #6680dd;
  box-shadow: 0 0 0 3px #eef1ff;
}
.auth-field button {
  position: absolute;
  right: 11px;
  bottom: 13px;
  color: #536ecb;
  font-size: 9px;
  font-weight: 600;
}
.password-strength {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.password-strength div {
  width: 190px;
  display: flex;
  gap: 4px;
}
.password-strength i {
  width: 25%;
  height: 3px;
  border-radius: 4px;
  background: #35a37e;
}
.password-strength span {
  color: #328a6c;
  font-size: 8px;
}
.auth-submit {
  width: 100%;
  height: 44px;
  margin-top: 22px;
}
.auth-help {
  margin-top: 17px;
  color: #959ca7;
  text-align: center;
  font-size: 8px;
}
.auth-help code {
  color: #56698c;
  font: 600 8px 'DM Sans';
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(500px, 1.1fr) minmax(520px, 0.9fr);
  background: #fff;
}
.login-story {
  position: relative;
  overflow: hidden;
  padding: 46px 62px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(78, 106, 201, 0.3), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(37, 78, 143, 0.3), transparent 34%), #111927;
}
.login-story::after {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  right: -230px;
  bottom: -190px;
  border: 1px solid rgba(104, 130, 208, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(82, 112, 196, 0.025),
    0 0 0 160px rgba(82, 112, 196, 0.02);
}
.login-story .auth-brand {
  position: static;
}
.story-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 19vh;
}
.story-copy .eyebrow {
  color: #7795ff !important;
}
.story-copy h1 {
  font-size: clamp(39px, 4vw, 58px);
  line-height: 1.19;
  letter-spacing: -2.5px;
}
.story-copy > p:nth-of-type(2) {
  max-width: 380px;
  margin-top: 21px;
  color: #8e99ac;
  font-size: 12px;
  line-height: 1.8;
}
.login-flow {
  margin-top: 55px;
  display: flex;
  align-items: center;
}
.login-flow > div {
  display: flex;
  gap: 9px;
  opacity: 0.45;
}
.login-flow > div.current {
  opacity: 1;
}
.login-flow > div > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #4a5971;
  border-radius: 50%;
  color: #7d8aa1;
  font: 600 8px 'DM Sans';
}
.login-flow .current > span {
  color: #fff;
  border-color: #5478ed;
  background: #3157e5;
}
.login-flow b,
.login-flow small {
  display: block;
  white-space: nowrap;
}
.login-flow b {
  font-size: 9px;
}
.login-flow small {
  margin-top: 4px;
  color: #6f7b8f;
  font-size: 7px;
}
.login-flow > i {
  width: 24px;
  height: 1px;
  margin: 0 10px;
  background: #354156;
}
.story-foot {
  position: absolute;
  left: 62px;
  bottom: 35px;
  color: #465166;
  font: 600 7px 'DM Sans';
  letter-spacing: 1.8px;
}
.login-panel {
  display: grid;
  place-items: center;
  position: relative;
  padding: 40px;
}
.login-card {
  width: 360px;
}
.access-chip {
  width: fit-content;
  margin-bottom: 25px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dfe7e4;
  border-radius: 20px;
  color: #40856e;
  background: #f6faf8;
  font-size: 8px;
  font-weight: 600;
}
.login-card h2 {
  color: #20293a;
  font-size: 25px;
  letter-spacing: -0.7px;
}
.login-subtitle {
  margin: 8px 0 28px;
  color: #8c94a0;
  font-size: 10px;
}
.login-subtitle b {
  color: #58657c;
  font: 600 10px 'DM Sans';
}
.login-options {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #828b98;
  font-size: 8px;
}
.login-options label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-options button {
  color: #4261cc;
  font-weight: 600;
}
.terminal-link {
  margin-top: 20px;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid #eaecf0;
  color: #9299a4;
  font-size: 8px;
}
.terminal-link button {
  color: #4160c7;
  font-weight: 600;
}
.secure-note {
  position: absolute;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a2a8b1;
  font-size: 8px;
}
.terminal-modal {
  width: 650px;
  overflow: hidden;
  border: 1px solid #313a48;
  border-radius: 10px;
  background: #101722;
  box-shadow: 0 30px 90px rgba(5, 10, 18, 0.45);
}
.terminal-top {
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #202936;
}
.terminal-top > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #df6a60;
}
.terminal-top > span:nth-child(2) {
  background: #d9ad50;
}
.terminal-top > span:nth-child(3) {
  background: #4eae73;
}
.terminal-top b {
  flex: 1;
  color: #8993a3;
  text-align: center;
  font: 500 9px 'DM Sans';
}
.terminal-top button {
  color: #798493;
}
.terminal-body {
  min-height: 420px;
  padding: 27px 32px;
  color: #b9c3d2;
  font: 500 11px/2 'DM Sans';
}
.terminal-brand {
  margin-top: 13px;
  color: #7291ff;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.terminal-line {
  height: 1px;
  margin: 10px 0 16px;
  background: #293240;
}
.terminal-body p > span:first-child {
  display: inline-block;
  width: 14px;
  color: #6687f8;
}
.terminal-body strong {
  color: #f1f4f8;
}
.terminal-body .terminal-ok {
  color: #48ba89;
}
.terminal-muted {
  color: #697687;
}
.terminal-warning {
  margin: 13px 0;
  padding: 8px 12px;
  border-left: 2px solid #d99a4c;
  color: #beaa8b;
  background: #1c2027;
}
.terminal-cursor {
  display: block;
  width: 7px;
  height: 13px;
  margin-top: 12px;
  background: #7893ef;
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Platform as a managed system project */
.system-badge {
  display: inline-flex;
  margin-left: 7px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #4762bb;
  background: #edf1ff;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
  vertical-align: middle;
}
.access-hero {
  min-height: 105px;
  margin-bottom: 17px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(115deg, #fff, #f7f9ff);
}
.access-hero-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.access-hero-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #3157e5;
  background: #eaf0ff;
}
.section-kicker {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #318266;
  font-size: 8px;
  font-weight: 600;
}
.access-hero h2 {
  color: #253044;
  font: 700 20px 'DM Sans';
}
.access-hero p {
  margin-top: 5px;
  color: #8b94a2;
  font-size: 9px;
}
.access-layout {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 17px;
}
.access-layout.secondary {
  grid-template-columns: 1.15fr 1fr;
}
.access-panel,
.access-detail,
.port-card,
.recovery-card {
  min-height: 290px;
}
.endpoint {
  min-height: 82px;
  margin: 14px 17px 0;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
}
.endpoint.recommended {
  border-color: #ced9ff;
  background: #f8faff;
}
.endpoint-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #3157e5;
  background: #e9efff;
}
.endpoint-icon.neutral {
  color: #637086;
  background: #eef0f4;
}
.endpoint > div:nth-child(2) {
  flex: 1;
}
.endpoint span,
.endpoint strong,
.endpoint small {
  display: block;
}
.endpoint span {
  color: #7d8694;
  font-size: 8px;
}
.endpoint span em {
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  color: #3157e5;
  background: #e8edff;
  font-style: normal;
  font-weight: 700;
}
.endpoint strong {
  margin: 4px 0;
  color: #2f394a;
  font: 600 11px 'DM Sans';
}
.endpoint small {
  color: #9aa1ac;
  font-size: 8px;
}
.endpoint > button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #3157e5;
  font-size: 9px;
  font-weight: 600;
}
.switch input {
  display: none;
}
.switch i {
  width: 31px;
  height: 18px;
  display: block;
  position: relative;
  border-radius: 20px;
  background: #c8ced8;
}
.switch i::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #9299a5;
  transition: 0.2s;
}
.switch input:checked + i {
  background: #3157e5;
}
.switch input:checked + i::after {
  transform: translateX(13px);
}
.keep-note {
  margin: 12px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #88919f;
  font-size: 8px;
}
.keep-note code {
  color: #536688;
  font: 600 8px 'DM Sans';
}
.access-detail dl,
.runtime-card dl {
  padding: 8px 19px 16px;
}
.access-detail dl > div,
.runtime-card dl > div {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f1f4;
}
.access-detail dt,
.runtime-card dt {
  color: #8d95a2;
  font-size: 9px;
}
.access-detail dd,
.runtime-card dd {
  color: #3c4758;
  font: 500 9px 'DM Sans';
}
.access-detail dd.positive {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #318266;
  font-family: 'Noto Sans SC';
}
.port-map {
  padding: 8px 18px;
}
.port-map > div {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf0f3;
}
.port-number {
  width: 40px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #4763c1;
  background: #edf1ff;
  font: 700 10px 'DM Sans';
}
.port-map > div > span:nth-child(2) {
  flex: 1;
}
.port-map b,
.port-map small {
  display: block;
}
.port-map b {
  color: #344052;
  font-size: 9px;
}
.port-map small {
  margin-top: 4px;
  color: #969da8;
  font-size: 8px;
}
.port-map em {
  color: #b9773b;
  font-size: 8px;
  font-style: normal;
}
.port-map em.green {
  color: #318266;
}
.port-tip {
  margin: 8px 18px 15px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  color: #428069;
  background: #f1f8f5;
  font-size: 8px;
}
.recovery-steps {
  padding: 10px 18px;
}
.recovery-steps > div {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recovery-steps > div > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5265a3;
  background: #eef1f7;
  font: 600 8px 'DM Sans';
}
.recovery-steps p {
  color: #475264;
  font-size: 9px;
}
.recovery-steps small,
.recovery-steps code {
  display: block;
  margin-top: 3px;
  color: #969da8;
  font-size: 8px;
}
.recovery-steps code {
  color: #4961b2;
  font: 600 9px 'DM Sans';
}
.recovery-card > .outline-button {
  margin: 1px 18px 16px;
}
.system-project-hero {
  min-height: 115px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.system-project-logo {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #18243b, #3157e5);
  font: 700 20px 'DM Sans';
}
.system-project-hero > div:nth-child(2) {
  flex: 1;
}
.system-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.system-title-line h2 {
  color: #253044;
  font-size: 17px;
}
.system-title-line .system-badge {
  margin: 0;
}
.system-title-line .status-pill {
  margin-left: 2px;
}
.system-project-hero > div:nth-child(2) > p {
  margin-top: 7px;
  color: #88919f;
  font-size: 9px;
}
.project-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #697588;
  font: 500 8px 'DM Sans';
}
.project-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #b1b7c0;
}
.system-actions {
  display: flex;
  gap: 9px;
}
.danger-button {
  background: #263654;
}
.danger-button:hover {
  background: #1b2942;
}
.system-tabs {
  height: 51px;
  margin: 17px 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
  background: #fff;
}
.system-tabs button {
  height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  color: #7d8694;
  font-size: 9px;
  font-weight: 600;
}
.system-tabs button.active {
  color: #3157e5;
  background: #eef2ff;
}
.system-grid {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 17px;
}
.manifest-card pre {
  margin: 15px 18px 18px;
  padding: 15px;
  overflow: auto;
  border: 1px solid #273243;
  border-radius: 7px;
  color: #b9c7dd;
  background: #151e2c;
  font: 500 9px/1.7 'DM Sans';
}
.valid-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #318266;
  font-size: 8px;
}
.runtime-card dl {
  padding-top: 10px;
}
.runtime-card dd {
  color: #4f6296;
}
.lower-system {
  grid-template-columns: 1fr 1fr;
}
.health-endpoint {
  margin: 15px 17px 0;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  color: #506388;
  background: #f3f5f9;
  font: 500 8px 'DM Sans';
}
.health-endpoint span {
  color: #32866a;
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 13px 17px 17px;
}
.mini-metrics span {
  border-right: 1px solid #ebedf1;
  text-align: center;
}
.mini-metrics span:last-child {
  border: 0;
}
.mini-metrics small,
.mini-metrics b {
  display: block;
}
.mini-metrics small {
  color: #969da8;
  font-size: 8px;
}
.mini-metrics b {
  margin-top: 4px;
  color: #344052;
  font: 600 11px 'DM Sans';
}
.version-line {
  min-height: 95px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.version-line > div {
  min-width: 80px;
}
.version-line span,
.version-line strong {
  display: block;
}
.version-line span {
  color: #969da8;
  font-size: 8px;
}
.version-line strong {
  margin-top: 4px;
  color: #344052;
  font: 700 12px 'DM Sans';
}
.version-line > svg {
  color: #9ca5b3;
}
.version-line button {
  margin-left: auto;
}
.protected-note {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce2f1;
  border-radius: 7px;
  color: #546ba9;
  background: #f6f8fd;
}
.protected-note b,
.protected-note span {
  display: block;
}
.protected-note b {
  color: #42547f;
  font-size: 9px;
}
.protected-note span {
  margin-top: 3px;
  color: #8994ab;
  font-size: 8px;
}
.certificate-name > span > small {
  display: block;
  margin-top: 3px;
}

/* Domain binding and restart states */
.bind-progress {
  margin: 23px 0 20px;
  display: flex;
}
.bind-progress > div {
  flex: 1;
  position: relative;
  text-align: center;
  color: #9aa2af;
}
.bind-progress > div:not(:last-child)::after {
  content: '';
  position: absolute;
  width: calc(100% - 32px);
  height: 1px;
  left: calc(50% + 16px);
  top: 11px;
  background: #dfe3e9;
}
.bind-progress span {
  width: 23px;
  height: 23px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: #edf0f4;
  font: 600 8px 'DM Sans';
}
.bind-progress small {
  font-size: 8px;
}
.bind-progress .done {
  color: #3157e5;
}
.bind-progress .done span {
  color: #fff;
  background: #3157e5;
}
.bind-form {
  min-height: 155px;
}
.domain-preview {
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe4f3;
  border-radius: 6px;
  color: #4260c6;
  background: #f7f9ff;
}
.domain-preview span {
  display: block;
}
.domain-preview small,
.domain-preview b {
  display: block;
}
.domain-preview small {
  color: #8b95a9;
  font-size: 7px;
}
.domain-preview b {
  margin-top: 3px;
  color: #3b4e82;
  font: 600 10px 'DM Sans';
}
.change-card {
  padding: 17px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
}
.change-card > p {
  margin-bottom: 13px;
  color: #536071;
  font-size: 9px;
  font-weight: 600;
}
.change-card > div {
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-radius: 6px;
  background: #f6f7f9;
}
.change-card > div > span {
  flex: 1;
}
.change-card small,
.change-card b {
  display: block;
}
.change-card small {
  color: #969da8;
  font-size: 7px;
}
.change-card b {
  margin-top: 4px;
  color: #364153;
  font: 600 9px 'DM Sans';
}
.change-card .empty-value {
  color: #a8aeb7;
}
.check-line {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6f7887;
  font-size: 8px;
}
.failure-state {
  padding: 21px;
  border: 1px solid #f0d5bd;
  border-radius: 8px;
  text-align: center;
  background: #fffbf7;
}
.failure-icon {
  width: 35px;
  height: 35px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #cb7434;
  background: #ffead8;
  font: 700 15px 'DM Sans';
}
.failure-state h3 {
  color: #74472d;
  font-size: 12px;
}
.failure-state > p {
  max-width: 400px;
  margin: 7px auto 13px;
  color: #98765f;
  font-size: 8px;
  line-height: 1.7;
}
.failure-state > div:not(.failure-icon) {
  margin-bottom: 13px;
  padding: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  border-radius: 5px;
  background: #fff;
  color: #9b8272;
  font-size: 8px;
}
.failure-state b {
  color: #5d4c41;
  font: 600 8px 'DM Sans';
}
.warning-text {
  color: #c67235 !important;
}
.verification-list {
  overflow: hidden;
  border: 1px solid #dfe5e2;
  border-radius: 8px;
}
.verification-list > div {
  min-height: 58px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf1ef;
}
.verification-list > div:last-child {
  border: 0;
}
.verification-list > div > svg {
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 50%;
  color: #318266;
  background: #eaf7f2;
}
.verification-list b,
.verification-list small {
  display: block;
}
.verification-list b {
  color: #394759;
  font-size: 9px;
}
.verification-list small {
  margin-top: 4px;
  color: #929aa6;
  font-size: 8px;
}
.bind-success {
  padding: 19px;
  text-align: center;
  border: 1px solid #dce8e3;
  border-radius: 8px;
  background: #f9fcfb;
}
.success-ring {
  width: 47px;
  height: 47px;
  margin: 0 auto 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35a47e;
  box-shadow: 0 0 0 7px #e8f5f0;
}
.bind-success h3 {
  color: #2d473e;
  font-size: 13px;
}
.bind-success > p {
  margin: 6px 0 12px;
  color: #81928b;
  font-size: 8px;
}
.bind-success a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #d4e0dc;
  border-radius: 6px;
  color: #2c6e58;
  background: #fff;
  font: 600 9px 'DM Sans';
}
.bind-success > div:last-child {
  margin-top: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: #87958f;
  font-size: 8px;
}
.bind-success > div:last-child b {
  color: #53645e;
  font: 600 8px 'DM Sans';
}
.restart-visual {
  margin-top: 25px;
  text-align: center;
}
.restart-orbit {
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3f8;
  border-radius: 50%;
  color: #3157e5;
  background: #eef2ff;
  box-shadow: 0 0 0 8px #f6f8ff;
}
.restart-orbit:not(.stage-3) svg {
  animation: spin 1.2s linear infinite;
}
.restart-orbit.stage-3 {
  color: #fff;
  background: #34a17b;
  box-shadow: 0 0 0 8px #ebf7f2;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.restart-visual h3 {
  color: #2e394a;
  font-size: 13px;
}
.restart-visual p {
  margin-top: 6px;
  color: #9299a4;
  font-size: 8px;
}
.restart-steps {
  margin: 25px 10px 18px;
  display: flex;
}
.restart-steps > div {
  flex: 1;
  position: relative;
  text-align: center;
  color: #9ba2ad;
}
.restart-steps > div:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(50% + 15px);
  width: calc(100% - 30px);
  height: 1px;
  background: #dfe3e9;
}
.restart-steps span {
  width: 21px;
  height: 21px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: #eceff3;
  font: 600 8px 'DM Sans';
}
.restart-steps small {
  font-size: 7px;
}
.restart-steps .done {
  color: #3157e5;
}
.restart-steps .done span {
  color: #fff;
  background: #3157e5;
}
.recovery-command {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  color: #8a929e;
  background: #f4f5f7;
  font-size: 8px;
}
.recovery-command code {
  color: #4a5f91;
  font: 600 8px 'DM Sans';
}

/* Project operations and detected service configuration */
.detect-result {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
}
.scan-summary,
.detected-service,
.xui-overview,
.detail-summary {
  min-height: 72px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scan-summary {
  background: #f8faf9;
}
.scan-summary .success-ring {
  width: 34px;
  height: 34px;
  margin: 0;
  box-shadow: 0 0 0 4px #e8f5f0;
}
.scan-summary > span,
.detected-service > span,
.xui-overview > span,
.detail-summary > span:nth-child(2) {
  flex: 1;
}
.scan-summary b,
.scan-summary small,
.detected-service b,
.detected-service small,
.xui-overview b,
.xui-overview small,
.detail-summary b,
.detail-summary small {
  display: block;
}
.scan-summary b,
.detected-service b,
.xui-overview b,
.detail-summary b {
  color: #344052;
  font-size: 10px;
}
.scan-summary small,
.detected-service small,
.xui-overview small,
.detail-summary small {
  margin-top: 4px;
  color: #949ba7;
  font-size: 8px;
}
.detected-service {
  border-top: 1px solid #e8eaee;
}
.detected-logo {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #256f63;
  font: 700 13px 'DM Sans';
}
.detected-service em {
  padding: 5px 8px;
  border-radius: 20px;
  color: #318266;
  background: #edf8f4;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
}
.detect-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.access-config-status {
  margin-top: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce4f8;
  border-radius: 7px;
  color: #4764c6;
  background: #f6f8ff;
}
.access-config-status b,
.access-config-status small {
  display: block;
}
.access-config-status b {
  color: #405079;
  font-size: 9px;
}
.access-config-status small {
  margin-top: 3px;
  color: #8a95ae;
  font-size: 8px;
}
.access-config-form {
  margin-top: 13px;
}
.access-options {
  margin-top: 13px;
  display: flex;
  gap: 18px;
}
.access-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #697485;
  font-size: 8px;
}
.xui-overview {
  margin-top: 20px;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  background: #fafbfc;
}
.xui-overview small {
  display: flex;
  align-items: center;
  gap: 6px;
}
.credential-list {
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
}
.credential-list > div {
  min-height: 48px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 92px 1fr 44px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf0f3;
}
.credential-list > div:last-child {
  border: 0;
}
.credential-list span {
  color: #8b93a0;
  font-size: 8px;
}
.credential-list b {
  color: #3f4b5c;
  font: 600 9px 'DM Sans';
}
.credential-list button {
  color: #3157e5;
  font-size: 8px;
  font-weight: 600;
}
.positive-text {
  color: #318266 !important;
}
.credential-warning {
  margin-top: 12px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  color: #8a7960;
  background: #faf7f2;
  font-size: 8px;
  line-height: 1.5;
}
.modal-actions.spread {
  justify-content: space-between;
}
.detail-summary {
  margin-top: 20px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
}
.detail-summary .project-logo {
  flex: none;
}
.detail-tabs {
  margin-top: 14px;
  padding: 4px;
  display: flex;
  gap: 3px;
  border-radius: 7px;
  background: #f2f3f6;
}
.detail-tabs button {
  flex: 1;
  padding: 7px 4px;
  border-radius: 5px;
  color: #7d8694;
  font-size: 8px;
  font-weight: 600;
}
.detail-tabs button.active {
  color: #3157e5;
  background: #fff;
  box-shadow: 0 1px 3px #dfe2e8;
}
.detail-properties {
  margin-top: 13px;
  border: 1px solid #e3e6eb;
  border-radius: 8px;
}
.detail-properties > div {
  min-height: 45px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f3;
}
.detail-properties > div:last-child {
  border: 0;
}
.detail-properties span {
  color: #8d95a2;
  font-size: 8px;
}
.detail-properties code {
  color: #4a5f91;
  font: 600 8px 'DM Sans';
}

@media (max-width: 1250px) {
  .content {
    padding-inline: 26px;
  }
  .stat-grid {
    gap: 11px;
  }
  .project-row {
    grid-template-columns: 34px minmax(110px, 1.1fr) minmax(115px, 1fr) 72px 72px minmax(
        250px,
        1.4fr
      );
    gap: 8px;
  }
  .project-row.compact {
    grid-template-columns: 34px minmax(115px, 1.1fr) minmax(120px, 1fr) 72px 72px 30px;
  }
  .task-cards {
    gap: 11px;
  }
  .login-story {
    padding-inline: 42px;
  }
  .story-copy {
    margin-top: 16vh;
  }
  .login-flow > i {
    width: 12px;
    margin-inline: 6px;
  }
}

/* Restrained operations-console visual language */
:root {
  color: #20252b;
  background: #f3f4f4;
}

@layer base {
  body {
    background: #f3f4f4;
  }

  ::selection {
    color: #fff;
    background: #20252b;
  }
}

.sidebar {
  width: 220px;
  padding: 24px 14px 16px;
  color: #a5adb5;
  background: #171a1e;
  border-right: 1px solid #2b3035;
}

.brand {
  gap: 10px;
  padding: 0 10px 30px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  transform: none;
  display: grid;
  place-items: center;
  border: 1px solid #4b535b;
  border-radius: 2px;
  color: #f4f5f5;
}

.brand-mark::before {
  content: 'N';
  font:
    700 14px/1 'DM Sans',
    sans-serif;
}

.brand-mark span {
  display: none;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 2.2px;
}

.brand small {
  color: #737c84;
  letter-spacing: 3px;
}

.nav-label {
  padding-inline: 10px;
  color: #646d75;
  letter-spacing: 1px;
}

.nav-item {
  height: 40px;
  padding: 0 10px;
  border-radius: 2px;
  color: #929ba3;
  font-size: 12px;
  transition:
    color 0.15s,
    background 0.15s;
}

.nav-item:hover {
  color: #e8eaeb;
  background: #202429;
}

.nav-item.selected {
  color: #fff;
  background: #272c31;
  box-shadow: inset 2px 0 #e56a3b;
}

.nav-item.selected svg {
  color: #e56a3b;
}

.nav-item em {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  color: #fff;
  background: #b65331;
}

.server-card {
  margin: 14px 2px;
  padding: 12px;
  border-color: #30363c;
  border-radius: 2px;
  background: #1c2024;
}

.usage-bars,
.usage-bars i,
.usage-bars b {
  border-radius: 0;
}

.usage-bars i {
  background: #e56a3b;
}

.usage-bars b {
  background: #77818a;
}

.profile .avatar {
  border-radius: 2px;
  color: #fff;
  background: #363d44;
}

.main {
  width: calc(100% - 220px);
  margin-left: 220px;
}

.topbar {
  height: 58px;
  padding: 0 32px;
  background: #fff;
  border-color: #dfe2e3;
  backdrop-filter: none;
}

.content {
  max-width: 1480px;
  padding: 30px 34px 48px;
}

.history-navigation {
  height: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.history-button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #5f686f;
  border: 1px solid #d2d6d8;
  border-radius: 2px;
  background: #fff;
}

.history-button:hover:not(:disabled) {
  color: #1f252a;
  border-color: #8e979e;
  background: #f8f9f9;
}

.history-button:disabled {
  cursor: not-allowed;
  color: #b8bec2;
  border-color: #e1e4e5;
  background: #f5f6f6;
}

.history-navigation > span {
  margin-left: 4px;
  color: #9aa1a6;
  font:
    600 8px 'DM Sans',
    sans-serif;
}

.page-heading {
  align-items: center;
  margin-bottom: 22px;
}

.page-heading .eyebrow {
  display: none;
}

.page-heading h1 {
  color: #1c2126;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.4px;
}

.page-heading > div > p:last-child {
  margin-top: 6px;
  color: #737b82;
  font-size: 11px;
}

.primary,
.outline-button,
.icon-button {
  border-radius: 3px;
  box-shadow: none;
}

.primary {
  color: #fff;
  background: #24292e;
}

.primary:hover {
  background: #080a0c;
  transform: none;
}

.outline-button {
  border-color: #cfd3d5;
  color: #444c53;
  background: #fff;
}

.outline-button:hover {
  border-color: #7c858d;
  color: #171b1f;
  background: #f8f8f8;
}

.icon-button {
  border-color: #d8dcde;
}

.icon-button:hover {
  color: #20252b;
  border-color: #8d969d;
  background: #f5f6f6;
}

.notification {
  background: #e56a3b;
}

.panel,
.stat-card {
  border-color: #dfe2e3;
  border-radius: 3px;
  box-shadow: none;
}

.stat-card:hover {
  border-color: #aeb4b8;
  box-shadow: none;
  transform: none;
}

.stat-icon,
.task-icon,
.date-box,
.domain-summary > div > svg {
  border-radius: 2px;
  color: #4e575e;
  background: #eceeef;
}

.stat-icon.amber,
.stat-icon.green,
.stat-icon.purple,
.date-box.amber {
  color: #4e575e;
  background: #eceeef;
}

.panel-head {
  min-height: 60px;
}

.toolbar,
.domain-summary {
  min-height: 64px;
}

.search {
  height: 36px;
  border-radius: 3px;
  background: #fff;
}

.data-head.project-row,
.table-head {
  color: #6f777d;
  background: #f1f2f2;
  text-transform: none;
  letter-spacing: 0;
}

.project-row {
  border-color: #e7e9ea;
}

.project-row:hover:not(.data-head) {
  background: #fafafa;
}

.project-row.clickable {
  cursor: pointer;
}

.project-row.clickable:focus-visible {
  outline: 2px solid #e56a3b;
  outline-offset: -2px;
}

.project-logo,
.detected-logo {
  border: 1px solid #cfd4d6;
  border-radius: 2px;
  color: #343b41;
  background: #eceeef !important;
}

.system-project-logo {
  border-radius: 2px !important;
  background: #24292e !important;
}

.system-badge,
.tag,
.status-pill,
.detected-service em {
  border-radius: 2px;
}

.status-pill {
  padding: 4px 7px;
  color: #217157;
  background: #edf5f2;
}

.status-pill.off {
  color: #72797f;
  background: #eceeef;
}

.row-controls button,
.row-controls a,
.row-action,
.project-pagination button,
.project-pagination b {
  border-radius: 2px;
}

.row-controls button:hover,
.row-controls a:hover {
  color: #171b1f;
  border-color: #969ea4;
  background: #f4f5f5;
}

.detect-button {
  color: #97401f;
  border-color: #d7b8ac;
  background: #fff9f7;
}

.project-pagination b {
  border-color: #24292e;
  background: #24292e;
}

.filter-chips,
.detail-tabs {
  padding: 2px;
  border-radius: 3px;
  background: #eceeef;
}

.filter-chips button,
.detail-tabs button {
  border-radius: 2px;
}

.filter-chips button.active,
.detail-tabs button.active {
  color: #1f252a;
  box-shadow: none;
}

.modal-backdrop {
  background: rgba(17, 20, 23, 0.62);
  backdrop-filter: none;
}

.modal-card {
  border-radius: 4px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.modal-card > .eyebrow {
  color: #a14a2a !important;
  letter-spacing: 1.4px;
}

.drop-zone,
.detect-result,
.xui-overview,
.credential-list,
.detail-summary,
.detail-properties,
.access-config-status {
  border-radius: 3px;
}

.access-config-status {
  color: #8f4327;
  border-color: #e2c8be;
  background: #fff8f5;
}

.simple-login {
  background: #eceeed;
}

.simple-login-panel {
  background:
    linear-gradient(rgba(32, 37, 43, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 37, 43, 0.04) 1px, transparent 1px), #eceeed;
  background-size: 32px 32px;
}

.login-card,
.password-card {
  border-radius: 3px;
  box-shadow: 0 16px 42px rgba(25, 29, 33, 0.1);
}

.login-card .brand-mark,
.auth-brand .brand-mark {
  color: #fff;
  border-color: #24292e;
  background: #24292e;
}

.auth-field input,
.auth-field select {
  border-radius: 2px;
}

.detail-command-bar {
  min-height: 58px;
  margin-top: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe2e3;
  background: #f7f8f8;
}

.detail-command-bar > div {
  flex: 1;
}

.detail-command-bar b,
.detail-command-bar span {
  display: block;
}

.detail-command-bar b {
  color: #30373d;
  font-size: 10px;
}

.detail-command-bar span {
  margin-top: 3px;
  color: #858d93;
  font-size: 8px;
}

.danger-button {
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dabdb3;
  border-radius: 3px;
  color: #9e3f22;
  background: #fff8f5;
  font-size: 11px;
  font-weight: 600;
}

.detail-section-title {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-section-title > span {
  color: #343b41;
  font-size: 10px;
  font-weight: 700;
}

.detail-section-title small {
  color: #8a9298;
  font-size: 8px;
}

.detail-properties {
  margin-top: 7px;
  border-radius: 2px;
}

.detail-properties > div {
  min-height: 48px;
  gap: 16px;
}

.detail-properties label,
.detail-properties > div > span:first-child {
  flex: none;
  width: 112px;
  color: #7b838a;
  font-size: 8px;
}

.detail-properties input:not([type='checkbox']) {
  width: 100%;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid #cfd4d6;
  border-radius: 2px;
  outline: none;
  color: #30373d;
  background: #fff;
  font:
    600 8px 'DM Sans',
    sans-serif;
  text-align: right;
}

.detail-properties input:not([type='checkbox']):focus {
  border-color: #7c858d;
}

.detail-properties input:not([type='checkbox']):disabled {
  padding-inline: 0;
  border-color: transparent;
  color: #4a5f91;
  background: transparent;
  opacity: 1;
}

.detail-setting-row > span {
  flex: 1 !important;
  width: auto !important;
}

.detail-setting-row b,
.detail-setting-row small {
  display: block;
}

.detail-setting-row b {
  color: #3c444b;
  font-size: 9px;
}

.detail-setting-row small {
  margin-top: 3px;
  color: #92999f;
  font-size: 8px;
}

.detail-setting-row .switch {
  width: auto;
}

.detail-setting-row .switch input:disabled + i {
  cursor: not-allowed;
  opacity: 0.58;
}

.detail-setting-row .switch i {
  cursor: pointer;
}

.detail-setting-row .switch input:checked + i {
  background: #24292e;
}

.valid-text {
  color: #217157 !important;
}

.expired-text {
  color: #a84427 !important;
}

.project-detail-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-detail-hero {
  min-height: 94px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-detail-identity,
.project-detail-actions {
  display: flex;
  align-items: center;
}

.project-detail-identity {
  gap: 14px;
  min-width: 0;
}

.project-detail-identity .project-logo {
  width: 44px;
  height: 44px;
  flex: none;
  font-size: 16px;
}

.project-detail-identity > div:last-child > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-detail-identity h2 {
  color: #252b30;
  font-size: 16px;
  font-weight: 700;
}

.project-detail-identity p {
  margin-top: 6px;
  color: #7d858b;
  font:
    500 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
}

.project-detail-actions {
  gap: 8px;
}

.project-detail-actions .status-pill {
  margin-right: 8px;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.project-settings-panel,
.project-certificate-panel {
  min-height: 430px;
}

.detail-mode-label {
  padding: 4px 7px;
  border: 1px solid #d7dbdd;
  border-radius: 2px;
  color: #777f85;
  background: #f7f8f8;
  font-size: 8px;
}

.project-page-properties {
  margin: 0;
  border: 0;
}

.project-page-properties > div {
  min-height: 57px;
  padding-inline: 20px;
}

.project-page-properties input:not([type='checkbox']) {
  max-width: 430px;
}

.project-panel-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #edf0f1;
}

.certificate-overview {
  width: calc(100% - 32px);
  min-height: 82px;
  margin: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid #d9dddf;
  border-radius: 2px;
  background: #f8f9f9;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.certificate-overview:hover {
  border-color: #8e979e;
  background: #fff;
}

.certificate-state-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  color: #267259;
  border: 1px solid #c9dfd7;
  border-radius: 2px;
  background: #edf6f2;
}

.certificate-state-icon.expired {
  color: #a84427;
  border-color: #e4c8bf;
  background: #fff5f2;
}

.certificate-overview > span {
  min-width: 0;
  flex: 1;
}

.certificate-overview small,
.certificate-overview b,
.certificate-overview em {
  display: block;
}

.certificate-overview small {
  color: #92999f;
  font-size: 8px;
}

.certificate-overview b {
  margin-top: 4px;
  overflow: hidden;
  color: #30373d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-overview em {
  margin-top: 4px;
  font-size: 8px;
  font-style: normal;
}

.certificate-overview > svg {
  color: #80888e;
}

.certificate-facts {
  padding: 0 16px;
}

.certificate-facts > div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #eceeef;
}

.certificate-facts dt {
  color: #858d93;
  font-size: 8px;
}

.certificate-facts dd {
  overflow: hidden;
  color: #465058;
  font:
    600 8px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.change-certificate-button {
  width: calc(100% - 32px);
  height: 38px;
  margin: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #343b41;
  border: 1px solid #cfd4d6;
  border-radius: 2px;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
}

.change-certificate-button:hover {
  border-color: #858e95;
  background: #f7f8f8;
}

.certificate-change-panel {
  overflow: hidden;
}

.certificate-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #dfe2e3;
}

.certificate-method-tabs button {
  min-height: 76px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  text-align: left;
  border-right: 1px solid #e3e6e7;
  background: #fafafa;
}

.certificate-method-tabs button:last-child {
  border-right: 0;
}

.certificate-method-tabs button.active {
  box-shadow: inset 0 -2px #e56a3b;
  background: #fff;
}

.certificate-method-tabs button > span {
  grid-row: 1 / 3;
  color: #a1a8ad;
  font:
    700 11px 'DM Sans',
    sans-serif;
}

.certificate-method-tabs b {
  color: #343b41;
  font-size: 10px;
}

.certificate-method-tabs small {
  margin-top: 5px;
  color: #8b9399;
  font-size: 8px;
}

.certificate-method-content {
  padding: 20px;
}

.certificate-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.certificate-upload-grid > label {
  min-height: 88px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #747d84;
  border: 1px dashed #bfc5c9;
  border-radius: 2px;
  background: #fafbfb;
  cursor: pointer;
}

.certificate-upload-grid > label:hover,
.certificate-upload-grid > label.has-file {
  color: #343b41;
  border-color: #788188;
  background: #fff;
}

.certificate-upload-grid input {
  display: none;
}

.certificate-upload-grid b,
.certificate-upload-grid small {
  display: block;
}

.certificate-upload-grid b {
  color: #3b4349;
  font-size: 9px;
}

.certificate-upload-grid small {
  margin-top: 5px;
  color: #92999f;
  font-size: 8px;
}

.certificate-confirm-row {
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #eceeef;
}

.certificate-confirm-row p {
  color: #7d858b;
  font-size: 8px;
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.issue-domain-selectors {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.domain-select-field {
  display: block;
}

.domain-select-field > span {
  display: block;
  margin-bottom: 8px;
}

.domain-select-field > span b,
.domain-select-field > span small {
  display: block;
}

.domain-select-field > span b {
  color: #535c63;
  font-size: 9px;
}

.domain-select-field > span small {
  margin-top: 4px;
  color: #92999f;
  font-size: 8px;
}

.domain-select-field select {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #ccd1d4;
  border-radius: 2px;
  outline: 0;
  color: #343b41;
  background: #fff;
  font-size: 10px;
}

.subdomain-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #ccd1d4;
  border-radius: 2px;
  background: #fff;
}

.subdomain-select input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: #343b41;
  background: transparent;
  font-size: 10px;
}

.subdomain-select input::placeholder {
  color: #a1a8ad;
}

.subdomain-select > span {
  padding-right: 11px;
  color: #80888e;
  font:
    500 9px 'DM Sans',
    sans-serif;
}

.issue-domain-preview {
  max-width: 760px;
  min-height: 60px;
  margin-top: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #8c4328;
  border: 1px solid #ead1c7;
  background: #fff8f5;
}

.issue-domain-preview small,
.issue-domain-preview b {
  display: block;
}

.issue-domain-preview small {
  color: #9b8178;
  font-size: 8px;
}

.issue-domain-preview b {
  margin-top: 4px;
  color: #6b3c2b;
  font:
    600 10px 'DM Sans',
    sans-serif;
}

.project-access-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-access-hero {
  min-height: 100px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.project-access-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-page-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  color: #424b52;
  border: 1px solid #d1d5d7;
  background: #eef0f1;
}

.project-access-title span {
  color: #8b9399;
  font-size: 8px;
}

.project-access-title h2 {
  margin-top: 4px;
  overflow: hidden;
  color: #252b30;
  font:
    700 15px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-title p {
  margin-top: 5px;
  color: #7e868c;
  font-size: 8px;
}

.project-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.access-settings-card,
.certificate-source-card {
  min-height: 390px;
}

.access-page-fields {
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.access-page-fields label:first-child {
  grid-column: 1 / -1;
}

.access-page-fields label > span {
  display: block;
  margin-bottom: 7px;
  color: #667078;
  font-size: 8px;
  font-weight: 600;
}

.access-page-fields input,
.access-page-fields select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #cfd4d6;
  border-radius: 2px;
  outline: 0;
  color: #333b41;
  background: #fff;
  font:
    500 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
}

.access-page-fields input:focus,
.access-page-fields select:focus {
  border-color: #7d868d;
}

.access-page-fields input:disabled,
.access-page-fields select:disabled {
  color: #626b72;
  border-color: #e1e4e5;
  background: #f5f6f6;
  opacity: 1;
}

.access-policy-row {
  min-height: 64px;
  margin: 0 20px 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e0e3e4;
  background: #fafafa;
}

.access-policy-row b,
.access-policy-row small {
  display: block;
}

.access-policy-row b {
  color: #3a4248;
  font-size: 9px;
}

.access-policy-row small {
  margin-top: 4px;
  color: #8c949a;
  font-size: 8px;
}

.certificate-source-options {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.certificate-source-options > label {
  min-height: 78px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  position: relative;
  border: 1px solid #dfe2e3;
  background: #fafafa;
  cursor: pointer;
}

.certificate-source-options > label.selected {
  border-color: #bd7257;
  background: #fff8f5;
}

.certificate-source-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.source-radio {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  border: 1px solid #aeb5ba;
  border-radius: 50%;
  background: #fff;
}

.certificate-source-options label.selected .source-radio {
  border: 4px solid #a94b29;
}

.certificate-source-options label > span:nth-of-type(2) {
  flex: 1;
}

.certificate-source-options b,
.certificate-source-options small {
  display: block;
}

.certificate-source-options b {
  color: #343c42;
  font-size: 10px;
}

.certificate-source-options small {
  margin-top: 5px;
  color: #858e94;
  font-size: 8px;
  line-height: 1.5;
}

.certificate-source-options em {
  flex: none;
  padding: 3px 6px;
  color: #8e3e22;
  background: #f4dfd7;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.certificate-source-options > label:has(input:disabled) {
  cursor: default;
}

.certificate-source-note {
  margin: 0 16px 16px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #667078;
  border-top: 1px solid #eceeef;
}

.certificate-source-note > span {
  flex: 1;
}

.certificate-source-note b,
.certificate-source-note small {
  display: block;
}

.certificate-source-note b {
  color: #454e55;
  font-size: 8px;
}

.certificate-source-note small {
  margin-top: 4px;
  color: #8b9399;
  font-size: 8px;
  line-height: 1.55;
}

.access-certificate-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.access-certificate-facts > div {
  min-width: 0;
  min-height: 82px;
  padding: 17px 20px;
  border-right: 1px solid #eceeef;
}

.access-certificate-facts > div:last-child {
  border-right: 0;
}

.access-certificate-facts span,
.access-certificate-facts b {
  display: block;
}

.access-certificate-facts span {
  color: #8b9399;
  font-size: 8px;
}

.access-certificate-facts b {
  margin-top: 8px;
  overflow: hidden;
  color: #3c454c;
  font:
    600 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dense table-oriented theme */
:root {
  color: #25313b;
  background: #edf1f4;
}

@layer base {
  body {
    background: #edf1f4;
  }
}

.sidebar {
  color: #aebbc6;
  background: #17232d;
  border-right-color: #2d3e4c;
}

.brand-mark {
  color: #dbe7ef;
  border-color: #536878;
  background: #1d2c37;
}

.nav-item:hover {
  color: #f3f7fa;
  background: #1d2e3a;
}

.nav-item.selected {
  color: #fff;
  background: #253846;
  box-shadow: inset 3px 0 #55a2cf;
}

.nav-item.selected svg {
  color: #65b0dc;
}

.nav-item em {
  background: #397da7;
}

.topbar {
  border-color: #cfd7dd;
}

.main,
.content {
  background: #edf1f4;
}

.content {
  max-width: none;
  padding: 24px 30px 44px;
}

.history-navigation {
  margin-bottom: 8px;
}

.history-button,
.outline-button,
.icon-button,
.danger-button {
  border-color: #c6d0d7;
  border-radius: 1px;
}

.history-button:hover:not(:disabled),
.outline-button:hover,
.icon-button:hover {
  color: #1e567b;
  border-color: #6f96b0;
  background: #f7fbfd;
}

.primary {
  border-radius: 1px;
  background: #245f89;
}

.primary:hover {
  background: #194c70;
}

.page-heading {
  margin-bottom: 18px;
  padding-bottom: 16px;
  align-items: center;
  border-bottom: 1px solid #cbd4da;
}

.page-heading h1 {
  color: #1e2a33;
  font-size: 22px;
}

.panel,
.stat-card,
.project-detail-hero,
.project-access-hero,
.access-hero,
.system-project-hero {
  border-color: #cbd4da;
  border-radius: 1px;
  box-shadow: none;
}

.panel-head,
.toolbar,
.domain-summary {
  min-height: 56px;
  padding: 12px 16px;
  border-color: #d4dce1;
  background: #f5f8fa;
}

.panel-head h3 {
  color: #283740;
  font-size: 12px;
}

.panel-head p {
  color: #7c8992;
}

.data-head.project-row,
.table-head,
.automation-table-head {
  color: #5e6d77;
  background: #e7edf1;
  border-color: #cfd8de;
  font-weight: 700;
}

.project-row,
.table-row,
.automation-table-row {
  background: #fff;
  border-color: #dce3e7;
}

.project-row:hover:not(.data-head),
.table-row:hover,
.automation-table-row:hover {
  background: #f5f9fb;
}

.project-logo,
.detected-logo,
.task-icon,
.stat-icon {
  color: #35566d;
  border-color: #c1ced6;
  border-radius: 1px;
  background: #e8eef2 !important;
}

.row-controls button,
.row-controls a {
  color: #516674;
  border-color: #cbd5db;
  border-radius: 1px;
}

.row-controls button:hover,
.row-controls a:hover {
  color: #1f608a;
  border-color: #7da1b8;
  background: #f1f7fa;
}

.status-pill,
.tag,
.system-badge,
.detected-service em {
  border-radius: 1px;
}

.filter-chips,
.system-tabs,
.detail-tabs {
  padding: 0;
  border: 1px solid #cbd4da;
  border-radius: 1px;
  background: #e7edf1;
}

.filter-chips button,
.system-tabs button,
.detail-tabs button {
  border-radius: 0;
  border-right: 1px solid #cbd4da;
}

.filter-chips button.active,
.system-tabs button.active,
.detail-tabs button.active {
  color: #1f5f88;
  box-shadow: inset 0 -2px #367fae;
}

.project-detail-page,
.project-access-page {
  gap: 10px;
}

.project-detail-hero,
.project-access-hero,
.system-project-hero,
.access-hero {
  min-height: 82px;
  padding: 15px 17px;
  border-left: 3px solid #397fa9;
  background: #fff;
}

.project-detail-grid,
.project-access-grid,
.access-layout,
.system-grid {
  gap: 10px;
}

.project-settings-panel,
.project-certificate-panel,
.access-settings-card,
.certificate-source-card {
  min-height: 0;
}

.detail-properties,
.project-page-properties {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.detail-properties > div,
.project-page-properties > div,
.credential-list > div,
.certificate-facts > div,
.access-detail dl > div,
.runtime-card dl > div {
  border-color: #dce3e7;
}

.project-page-properties > div {
  min-height: 50px;
}

.detail-properties input:not([type='checkbox']),
.access-page-fields input,
.access-page-fields select {
  border-radius: 1px;
}

.project-panel-footer {
  background: #f7f9fa;
}

.certificate-overview {
  width: 100%;
  min-height: 70px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #dce3e7;
  border-radius: 0;
  background: #fff;
}

.certificate-overview:hover {
  background: #f5f9fb;
}

.certificate-state-icon,
.access-page-icon {
  border-radius: 1px;
}

.certificate-facts {
  padding: 0;
}

.certificate-facts > div {
  min-height: 44px;
  padding: 0 14px;
}

.change-certificate-button {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid #d5dde2;
  border-radius: 0;
  color: #245f89;
  background: #f5f8fa;
}

.certificate-method-tabs button {
  background: #edf2f5;
}

.certificate-method-tabs button.active {
  box-shadow: inset 0 -2px #397fa9;
}

.access-page-fields {
  padding: 14px 16px;
  gap: 10px;
}

.access-policy-row {
  margin: 0;
  border: 0;
  border-top: 1px solid #d8e0e5;
  background: #f7f9fa;
}

.certificate-source-options {
  padding: 0;
  gap: 0;
}

.certificate-source-options > label {
  min-height: 72px;
  border: 0;
  border-bottom: 1px solid #d8e0e5;
  background: #fff;
}

.certificate-source-options > label.selected {
  border-left: 3px solid #397fa9;
  background: #f2f7fa;
}

.certificate-source-options label.selected .source-radio {
  border-color: #397fa9;
}

.certificate-source-options em {
  color: #1f5f88;
  background: #dcecf5;
}

.certificate-source-note {
  margin: 0;
  background: #f7f9fa;
}

.access-certificate-facts > div {
  background: #fff;
  border-color: #d8e0e5;
}

.switch input:checked + i,
.detail-setting-row .switch input:checked + i {
  background: #397fa9;
}

.detect-button {
  color: #225f86;
  border-color: #9bb8ca;
  background: #f4f9fc;
}

.modal-card {
  border-radius: 1px;
}

.modal-card > .eyebrow {
  color: #2d709b !important;
}

.automation-table .toolbar > div strong,
.automation-table .toolbar > div span {
  display: block;
}

.automation-table .toolbar > div strong {
  color: #2a3943;
  font-size: 11px;
}

.automation-table .toolbar > div span {
  margin-top: 3px;
  color: #84919a;
  font-size: 8px;
}

.automation-table-head,
.automation-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.65fr 90px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.automation-table-head {
  min-height: 42px;
  border-bottom: 1px solid #cfd8de;
  font-size: 9px;
}

.automation-table-row {
  min-height: 58px;
  border-bottom: 1px solid #dce3e7;
  color: #596872;
  font-size: 9px;
}

.automation-name {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2c3a43;
}

.automation-name svg {
  color: #3b789f;
}

.automation-table-row > button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

/* Project details use one continuous property table */
.project-detail-table-page {
  gap: 10px;
}

.detail-table-toolbar {
  min-height: 62px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #cbd4da;
  background: #fff;
}

.detail-table-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-table-toolbar > div:first-child {
  min-width: 0;
}

.detail-table-toolbar > div:first-child b {
  color: #26343d;
  font-size: 12px;
}

.detail-table-toolbar > div:first-child small {
  color: #7d8991;
  font-size: 8px;
}

.project-property-table,
.certificate-editor-table {
  border: 1px solid #cbd4da;
  background: #fff;
}

.property-table-head,
.property-table-row,
.certificate-editor-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.property-table-head {
  min-height: 42px;
  color: #586872;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.property-table-row {
  min-height: 52px;
  color: #55636d;
  border-bottom: 1px solid #dce3e7;
  font-size: 9px;
}

.property-table-row:last-child {
  border-bottom: 0;
}

.property-table-row:hover {
  background: #f5f9fb;
}

.property-table-row > span:first-child,
.property-table-row > label:first-child {
  color: #66757f;
  font-weight: 600;
}

.property-table-row b {
  overflow: hidden;
  color: #2e3c45;
  font:
    600 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-table-row code {
  overflow: hidden;
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-table-row > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #245f89;
  font-size: 8px;
  font-weight: 700;
}

.property-table-row > input {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #bdc9d0;
  outline: 0;
  color: #2d3b44;
  background: #fff;
  font:
    500 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
}

.property-table-row > input:focus {
  border-color: #5f8eab;
}

.property-table-row > input:disabled {
  padding: 0;
  border-color: transparent;
  color: #3e596a;
  background: transparent;
  opacity: 1;
}

.property-table-row > .switch {
  justify-self: start;
}

.certificate-table-head {
  border-top: 1px solid #cbd4da;
  background: #dfe8ed;
}

.certificate-table-head button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #245f89;
  font-size: 8px;
  font-weight: 700;
}

.certificate-editor-head {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
}

.certificate-editor-head > span {
  color: #4d5d67;
  font-size: 9px;
  font-weight: 700;
}

.certificate-editor-head > div {
  display: flex;
}

.certificate-editor-head button {
  height: 29px;
  padding: 0 12px;
  color: #65747d;
  border: 1px solid #bcc8cf;
  border-right: 0;
  background: #f6f8f9;
  font-size: 8px;
  font-weight: 700;
}

.certificate-editor-head button:last-child {
  border-right: 1px solid #bcc8cf;
}

.certificate-editor-head button.active {
  color: #fff;
  border-color: #2c6d97;
  background: #2c6d97;
}

.certificate-editor-row {
  min-height: 56px;
  color: #62717a;
  border-bottom: 1px solid #dce3e7;
  font-size: 9px;
}

.certificate-editor-row > span:first-child {
  color: #54636c;
  font-weight: 600;
}

.certificate-editor-row > select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #bdc9d0;
  outline: 0;
  color: #2f3d46;
  background: #fff;
  font-size: 9px;
}

.table-file-input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border: 1px dashed #9fb0ba;
  color: #315f7c;
  background: #f8fafb;
  cursor: pointer;
}

.table-file-input input {
  display: none;
}

.table-file-input b {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certificate-editor-footer {
  min-height: 60px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #73818a;
  background: #f6f8f9;
  font-size: 8px;
}

.nginx-config-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nginx-service-status,
.nginx-toolbar-actions {
  display: flex;
  align-items: center;
}

.nginx-service-status {
  gap: 10px;
}

.nginx-service-status > svg {
  color: #397fa9;
}

.nginx-service-status strong,
.nginx-service-status small {
  display: block;
}

.nginx-service-status strong {
  color: #293842;
  font-size: 11px;
}

.nginx-service-status small {
  margin-top: 4px;
  color: #7b8992;
  font-size: 8px;
}

.nginx-toolbar-actions {
  gap: 7px;
}

.nginx-directory-head,
.nginx-directory-row {
  display: grid;
  grid-template-columns: 180px minmax(280px, 1.2fr) 1fr 120px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
}

.nginx-directory-head,
.nginx-proxy-head {
  min-height: 42px;
  color: #5d6c76;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.nginx-directory-row {
  min-height: 54px;
  color: #65737c;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.nginx-directory-row:last-child {
  border-bottom: 0;
}

.nginx-directory-row:hover,
.nginx-proxy-row:hover {
  background: #f5f9fb;
}

.nginx-directory-row b {
  color: #34434c;
}

.nginx-directory-row code,
.nginx-proxy-row code {
  overflow: hidden;
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nginx-directory-row input,
.nginx-proxy-row input,
.nginx-proxy-row select {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #aebdc6;
  outline: 0;
  color: #2d3c45;
  background: #fff;
  font:
    500 9px 'DM Sans',
    'Noto Sans SC',
    sans-serif;
}

.nginx-directory-row input:focus,
.nginx-proxy-row input:focus,
.nginx-proxy-row select:focus {
  border-color: #397fa9;
  box-shadow: inset 2px 0 #397fa9;
}

.nginx-directory-row.editing {
  background: #f8fbfc;
}

.nginx-proxy-head,
.nginx-proxy-row {
  display: grid;
  grid-template-columns:
    minmax(150px, 1fr) minmax(150px, 1fr) 100px minmax(180px, 1.1fr) 105px
    70px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.nginx-proxy-row {
  min-height: 58px;
  color: #65737c;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.nginx-project-name b,
.nginx-project-name small {
  display: block;
}

.nginx-project-name b {
  color: #34434c;
  font-size: 9px;
}

.nginx-project-name small {
  margin-top: 4px;
  color: #8a969e;
  font-size: 8px;
}

.nginx-proxy-row > span:nth-child(5) {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nginx-proxy-row > .switch {
  justify-self: start;
}

.nginx-proxy-row > button {
  height: 27px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

/* Tailwind's table utility uses display: table, which shrinks these data grids. */
.data-page > .table {
  display: block;
  width: 100%;
}

.api-docs-toolbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.api-docs-toolbar > div:first-child > span {
  color: #72808a;
  font-size: 8px;
}

.api-docs-toolbar code {
  padding: 6px 9px;
  color: #315f7c;
  border: 1px solid #c7d2d9;
  background: #fff;
  font:
    600 9px 'DM Sans',
    monospace;
}

.api-docs-toolbar em {
  padding: 4px 7px;
  color: #2b745c;
  background: #e7f4ef;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.api-docs-head,
.api-docs-row {
  width: 100%;
  display: grid;
  grid-template-columns: 90px minmax(260px, 1.3fr) 150px minmax(280px, 1.5fr) 90px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.api-docs-head {
  min-height: 42px;
  color: #5d6c76;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.api-docs-row {
  min-height: 56px;
  text-align: left;
  color: #62717b;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.api-docs-row:hover {
  background: #f5f9fb;
}

.api-docs-row code {
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
}

.api-method {
  width: fit-content;
  min-width: 48px;
  padding: 5px 7px;
  text-align: center;
  color: #fff;
  background: #357da8;
  font:
    700 8px 'DM Sans',
    sans-serif;
}

.api-method.method-post {
  background: #2b8065;
}

.api-method.method-patch {
  background: #9a682d;
}

.api-group {
  width: fit-content;
  padding: 4px 7px;
  color: #4e626f;
  background: #edf1f3;
  font-size: 8px;
  font-weight: 700;
}

.nginx-section-tabs {
  min-height: 42px;
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd4da;
  background: #e7edf1;
}

.nginx-section-tabs button {
  min-width: 112px;
  padding: 0 16px;
  color: #63717a;
  border-right: 1px solid #cbd4da;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.nginx-section-tabs button:hover {
  color: #245f89;
  background: #f4f8fa;
}

.nginx-section-tabs button.active {
  color: #1f5f88;
  box-shadow: inset 0 -2px #397fa9;
  background: #fff;
}

.nginx-panel-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nginx-panel-actions > button,
.nginx-feature-table .panel-head > button {
  height: 29px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.nginx-feature-head,
.nginx-feature-row {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.nginx-feature-head {
  min-height: 42px;
  color: #5d6c76;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.nginx-feature-row {
  min-height: 58px;
  color: #63717a;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.nginx-feature-row:hover {
  background: #f5f9fb;
}

.nginx-feature-row code {
  overflow: hidden;
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nginx-feature-row > span:nth-child(5) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nginx-feature-row > button {
  height: 27px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.upstream-columns {
  grid-template-columns: 140px minmax(260px, 1.4fr) 110px 110px 90px 70px;
}

.routing-columns {
  grid-template-columns: 100px minmax(190px, 1fr) minmax(190px, 1fr) 120px 90px 70px;
}

.security-columns {
  grid-template-columns: minmax(160px, 1fr) 130px 140px minmax(180px, 1fr) 90px 70px;
}

.nginx-operations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nginx-operation-list > div {
  min-height: 62px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.8fr) 70px;
  align-items: center;
  gap: 14px;
  color: #6a7881;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 8px;
}

.nginx-operation-list code,
.nginx-operation-list b {
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
}

.nginx-operation-list button {
  height: 27px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.ai-docs-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-docs-toolbar label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ai-docs-toolbar label > span,
.ai-docs-root small {
  color: #75838c;
  font-size: 8px;
}

.ai-docs-toolbar select {
  min-width: 220px;
  height: 34px;
  padding: 0 9px;
  color: #33424b;
  border: 1px solid #bdc9d0;
  background: #fff;
  font-size: 9px;
}

.ai-docs-root {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ai-docs-root code {
  padding: 6px 9px;
  color: #315f7c;
  border: 1px solid #c7d2d9;
  background: #fff;
  font:
    600 8px 'DM Sans',
    monospace;
}

.ai-docs-note {
  min-height: 54px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #397fa9;
  border-bottom: 1px solid #cbd4da;
  background: #f2f7fa;
}

.ai-docs-note b,
.ai-docs-note small {
  display: block;
}

.ai-docs-note b {
  color: #365363;
  font-size: 9px;
}

.ai-docs-note small {
  margin-top: 4px;
  color: #74838c;
  font-size: 8px;
}

.ai-docs-head,
.ai-docs-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.1fr) 80px minmax(280px, 1.5fr) 100px 90px 70px;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
}

.ai-docs-head {
  min-height: 42px;
  color: #5d6c76;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.ai-docs-row {
  min-height: 56px;
  color: #63717a;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.ai-docs-row:hover {
  background: #f5f9fb;
}

.ai-docs-row code {
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
}

.ai-docs-row > button {
  height: 27px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.certificate-table .table-head,
.certificate-table .table-row {
  grid-template-columns: minmax(240px, 1.5fr) 80px 130px 120px 90px 100px 60px;
}

.vless-config-section {
  overflow: hidden;
}

.vless-config-head,
.vless-config-row {
  display: grid;
  grid-template-columns: 180px minmax(320px, 1.3fr) minmax(220px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 18px;
}

.vless-config-head {
  min-height: 42px;
  color: #5d6c76;
  border-bottom: 1px solid #cbd4da;
  background: #e7edf1;
  font-size: 9px;
  font-weight: 700;
}

.vless-config-row {
  min-height: 54px;
  color: #67757e;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
  font-size: 9px;
}

.vless-config-row:hover {
  background: #f5f9fb;
}

.vless-config-row > span:first-child {
  color: #43545f;
  font-weight: 600;
}

.vless-config-row code {
  overflow: hidden;
  color: #315f7c;
  font:
    600 9px 'DM Sans',
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vless-config-row input,
.vless-config-row select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  color: #30404a;
  border: 1px solid #bdc9d0;
  background: #fff;
  font-size: 9px;
}

.vless-config-row input:disabled,
.vless-config-row select:disabled {
  color: #60717b;
  background: #f4f6f7;
  opacity: 1;
}

.vless-generate-bar {
  min-height: 62px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #75838c;
  background: #f6f8f9;
  font-size: 8px;
}

.vless-result {
  padding: 18px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  background: #f6f8f9;
}

.vless-qr {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border: 1px solid #cbd4da;
  background: #fff;
}

.vless-qr img {
  width: 150px;
  height: 150px;
  image-rendering: pixelated;
}

.vless-qr button {
  width: 100%;
  height: 28px;
  color: #245f89;
  border: 1px solid #bdccd5;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
}

.vless-link {
  min-width: 0;
}

.vless-link > span {
  display: block;
  margin-bottom: 7px;
  color: #52626c;
  font-size: 9px;
  font-weight: 700;
}

.vless-link textarea {
  width: 100%;
  height: 108px;
  padding: 10px;
  resize: none;
  outline: 0;
  color: #315f7c;
  border: 1px solid #bdc9d0;
  background: #fff;
  font:
    500 8px/1.6 'DM Sans',
    monospace;
}

.vless-link > div {
  margin-top: 9px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.nova-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: #62727d;
  background: #eef1f2;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.auth-error {
  margin: 10px 0 0;
  padding: 8px 10px;
  color: #963f32;
  border: 1px solid #e2bcb5;
  background: #fff6f4;
  font-size: 9px;
}

.first-user-notice {
  margin: 14px 0;
  padding: 10px 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #526873;
  border: 1px solid #cbd7dc;
  background: #f2f7f9;
  font-size: 9px;
  line-height: 1.5;
}

.first-user-notice svg {
  flex: none;
  margin-top: 1px;
  color: #315f7c;
}

.auth-mode-switch {
  width: 100%;
  margin-top: 12px;
  color: #315f7c;
  font-size: 9px;
  font-weight: 700;
}

#nova-project-list {
  container-type: inline-size;
}

#nova-project-list .project-row {
  grid-template-columns: 34px minmax(75px, 1fr) minmax(105px, 1.25fr)
    minmax(66px, .7fr) 64px minmax(50px, .45fr) minmax(180px, 2fr);
}

#nova-project-list .row-controls {
  justify-content: flex-start;
  flex-wrap: wrap;
}

#nova-project-list .domain,
#nova-project-list .project-name {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

#nova-project-list .domain svg {
  flex-shrink: 0;
}

#nova-project-list .toolbar {
  flex-wrap: wrap;
  gap: 10px;
}

#nova-project-list .search {
  max-width: 100%;
}

#nova-project-list .search input {
  min-width: 0;
  border: 0;
  background: transparent;
}

#nova-project-list .search:focus-within {
  outline: 2px solid #397da7;
  outline-offset: 1px;
}

@container (max-width: 740px) {
  #nova-project-list .data-head.project-row {
    display: none;
  }

  #nova-project-list .project-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    grid-template-areas: "logo name status" "domain domain domain"
      "vless vless uptime" "actions actions actions";
    gap: 9px;
  }

  #nova-project-list .project-logo { grid-area: logo; }
  #nova-project-list .project-name { grid-area: name; }
  #nova-project-list .status-pill { grid-area: status; }
  #nova-project-list .domain { grid-area: domain; }
  #nova-project-list .vless-cell { grid-area: vless; }
  #nova-project-list .uptime { grid-area: uptime; }
  #nova-project-list .row-controls { grid-area: actions; }
}

@media (max-width: 680px) {
  .main:has(#nova-project-list) {
    margin-left: 0;
    width: 100%;
  }
}

.project-row.compact {
  grid-template-columns: 34px minmax(125px, 1.15fr) minmax(125px, 1fr) 78px 78px 32px;
}

.project-row.compact .vless-cell {
  display: none;
}

.vless-cell span,
.vless-cell strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vless-cell span {
  color: #7a8790;
  font-size: 8px;
}

.vless-cell strong {
  margin-top: 3px;
  color: #6f777d;
  font-size: 9px;
}

.vless-cell.synced span,
.vless-cell.synced strong {
  color: #286c5a;
}

.file-manager {
  min-height: 610px;
  overflow: hidden;
}

.file-manager-toolbar {
  min-height: 72px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dfe4e7;
  background: #f7f8f8;
}

.file-manager-toolbar > div:first-child strong,
.file-manager-toolbar > div:first-child code {
  display: block;
}

.file-manager-toolbar > div:first-child strong {
  color: #26343d;
  font-size: 12px;
}

.file-manager-toolbar > div:first-child code {
  margin-top: 5px;
  color: #73818a;
  font:
    500 9px/1.2 'DM Sans',
    monospace;
}

.file-manager-actions {
  display: flex;
  gap: 7px;
}

.file-upload-button,
.file-inspector-actions label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.file-upload-button input,
.file-inspector-actions input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-breadcrumbs {
  min-height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #536873;
  border-bottom: 1px solid #e2e6e8;
  background: #fff;
  font-size: 9px;
}

.file-breadcrumbs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.file-breadcrumbs button:hover {
  color: #245f89;
  text-decoration: underline;
}

.file-manager-body {
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.file-list {
  min-width: 0;
  border-right: 1px solid #dfe4e7;
}

.file-list-head,
.file-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) minmax(110px, 0.8fr) 76px 140px;
  align-items: center;
  gap: 12px;
}

.file-list-head {
  min-height: 35px;
  padding: 0 14px;
  color: #748089;
  border-bottom: 1px solid #dfe4e7;
  background: #f0f2f3;
  font-size: 8px;
  font-weight: 700;
}

.file-row {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  text-align: left;
  color: #71808a;
  border-bottom: 1px solid #edf0f1;
  background: #fff;
  font-size: 8px;
}

.file-row:hover {
  background: #f7f9fa;
}

.file-row.selected {
  color: #365a70;
  background: #eaf1f5;
  box-shadow: inset 2px 0 #315f7c;
}

.file-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.file-name b {
  overflow: hidden;
  color: #35444d;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-name i,
.file-preview-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: #60717b;
  border: 1px solid #c5cfd4;
  background: #edf1f3;
  font-style: normal;
  font-weight: 800;
}

.file-name i {
  width: 24px;
  height: 24px;
  font-size: 8px;
}

.file-name i.folder,
.file-preview-icon.folder {
  color: #8a6a2f;
  border-color: #d8c89d;
  background: #f5eedb;
}

.file-empty,
.file-inspector-empty {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8a959c;
  font-size: 9px;
}

.file-empty strong {
  color: #53616a;
  font-size: 11px;
}

.file-inspector {
  min-width: 0;
  background: #f7f8f8;
}

.file-inspector-head {
  min-height: 76px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #dfe4e7;
}

.file-preview-icon {
  width: 42px;
  height: 42px;
}

.file-inspector-head strong,
.file-inspector-head small {
  display: block;
}

.file-inspector-head strong {
  max-width: 250px;
  overflow: hidden;
  color: #2d3c45;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-inspector-head small {
  margin-top: 5px;
  color: #87939a;
  font-size: 8px;
}

.file-editor {
  padding: 12px;
}

.file-editor > div {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5c6b73;
  font-size: 9px;
  font-weight: 700;
}

.file-editor > div button {
  height: 27px;
}

.file-editor textarea {
  width: 100%;
  height: 300px;
  padding: 11px;
  resize: vertical;
  outline: none;
  color: #273740;
  border: 1px solid #c8d0d4;
  background: #fff;
  font:
    500 10px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}

.file-editor textarea:focus {
  border-color: #64869a;
  box-shadow: 0 0 0 2px rgba(49, 95, 124, 0.1);
}

.binary-file-note {
  margin: 14px;
  padding: 12px;
  color: #697780;
  border: 1px solid #d7dcdf;
  background: #fff;
  font-size: 9px;
  line-height: 1.6;
}

.file-inspector-actions {
  padding: 12px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  border-top: 1px solid #dfe4e7;
}

.danger-button {
  height: 34px;
  padding: 0 12px;
  color: #93483d;
  border: 1px solid #d8aaa3;
  background: #fff7f5;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .file-manager-body {
    grid-template-columns: 1fr;
  }

  .file-list {
    border-right: 0;
  }

  .file-inspector {
    border-top: 1px solid #dfe4e7;
  }
}

/* Authentication surface: intentionally flat and restrained. */
.simple-login {
  min-height: 100vh;
  padding: 32px;
  display: grid;
  place-items: center;
  background: #e9edef;
}

.simple-login-panel {
  width: min(920px, 100%);
  min-height: 560px;
  padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid #cbd3d8;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.login-context {
  min-width: 0;
  padding: 38px 36px 30px;
  display: flex;
  flex-direction: column;
  color: #f2f5f7;
  border-right: 1px solid #172737;
  background: #1b2b3b;
}

.login-context-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-context-brand .brand-mark {
  width: 38px;
  height: 38px;
  color: #1b2b3b;
  border: 0;
  border-radius: 2px;
  background: #f2f5f7;
}

.login-context-brand strong,
.login-context-brand small {
  display: block;
  font-family: 'DM Sans', sans-serif;
}

.login-context-brand strong {
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.22em;
}

.login-context-brand small {
  margin-top: 5px;
  color: #91a7b7;
  font-size: 7px;
  letter-spacing: 0.34em;
}

.login-context-copy {
  margin: 78px 0 48px;
}

.login-context-kicker,
.login-form-kicker {
  display: block;
  color: #7fa6bd;
  font:
    700 8px/1 'DM Sans',
    sans-serif;
  letter-spacing: 0.16em;
}

.login-context-copy h1 {
  max-width: 300px;
  margin-top: 17px;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.login-context-copy p {
  max-width: 310px;
  margin-top: 17px;
  color: #aebdc7;
  font-size: 10px;
  line-height: 1.8;
}

.login-context-status {
  display: grid;
  gap: 1px;
  border: 1px solid #334858;
  background: #334858;
}

.login-context-status > div {
  min-height: 58px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #223545;
}

.login-context-status > div > svg {
  color: #76a2bb;
}

.login-context-status b,
.login-context-status small {
  display: block;
}

.login-context-status b {
  color: #e8eef1;
  font-size: 9px;
}

.login-context-status small {
  margin-top: 4px;
  color: #829aaa;
  font-size: 8px;
}

.login-context-version {
  margin-top: auto;
  padding-top: 24px;
  color: #647f91;
  font:
    600 7px/1 'DM Sans',
    sans-serif;
  letter-spacing: 0.14em;
}

.simple-login-panel .login-card {
  width: 100%;
  max-width: none;
  min-height: 560px;
  padding: 50px 58px 38px;
  align-self: stretch;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.simple-login-panel .login-nova {
  display: none;
}

.login-form-kicker {
  color: #58778a;
}

.simple-login-panel .login-card h2 {
  margin: 14px 0 8px;
  text-align: left;
  color: #24323b;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.simple-login-panel .login-subtitle {
  min-height: 34px;
  margin: 0 0 18px;
  color: #7d8990;
  font-size: 9px;
  line-height: 1.7;
}

.simple-login-panel .first-user-notice {
  margin: 0 0 17px;
  padding: 9px 10px;
  color: #526873;
  border-color: #d4dde1;
  border-radius: 2px;
  background: #f4f7f8;
  box-shadow: none;
}

.simple-login-panel .auth-field {
  margin-top: 14px;
}

.simple-login-panel .auth-field > span {
  margin-bottom: 7px;
  color: #485a65;
  font-size: 9px;
}

.simple-login-panel .auth-field input {
  height: 40px;
  padding: 0 48px 0 11px;
  color: #273740;
  border: 1px solid #cbd4d9;
  border-radius: 2px;
  background: #fff;
  font-size: 10px;
  box-shadow: none;
}

.simple-login-panel .auth-field input::placeholder {
  color: #a4adb2;
}

.simple-login-panel .auth-field input:focus {
  border-color: #52758a;
  box-shadow: 0 0 0 2px rgba(49, 95, 124, 0.08);
}

.simple-login-panel .auth-field button {
  right: 11px;
  bottom: 12px;
  color: #315f7c;
}

.simple-login-panel .auth-error {
  margin-top: 12px;
  border-radius: 2px;
  box-shadow: none;
}

.simple-login-panel .auth-submit {
  height: 40px;
  margin-top: 18px;
  border: 1px solid #315f7c;
  border-radius: 2px;
  background: #315f7c;
  box-shadow: none;
  font-size: 10px;
}

.simple-login-panel .auth-submit:hover {
  background: #264f68;
}

.simple-login-panel .auth-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.simple-login-panel .auth-mode-switch {
  margin-top: 13px;
  color: #496b7f;
  font-size: 8px;
}

@media (max-width: 760px) {
  .simple-login {
    padding: 16px;
    place-items: start center;
  }

  .simple-login-panel {
    grid-template-columns: 1fr;
  }

  .login-context {
    min-height: auto;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid #172737;
  }

  .login-context-copy {
    margin: 34px 0 22px;
  }

  .login-context-copy h1 {
    max-width: 480px;
    font-size: 20px;
  }

  .login-context-copy p,
  .login-context-status,
  .login-context-version {
    display: none;
  }

  .simple-login-panel .login-card {
    min-height: auto;
    padding: 32px 24px 28px;
  }
}

}

.project-ip-entry{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.project-ip-entry>a{font-size:16px;overflow-wrap:anywhere}.project-ip-entry>small{flex-basis:100%}.project-ip-entry>button{padding:4px 10px}.project-access-title{min-width:0}.project-access-title h2{overflow-wrap:anywhere}

dialog.project-client-dialog { width: min(880px, 94vw); max-width: 94vw; overflow: auto; }
.project-client-dialog .modal-head { align-items: center; }
.project-client-dialog .modal-head h2 { margin: 0 0 4px; }
.project-client-dialog .modal-head span, .project-client-dialog small { color: #567082; }
.project-client-dialog .client-tools, .project-client-dialog .client-actions { display: flex; align-items: center; gap: 8px; }
.project-client-dialog .client-tools { justify-content: space-between; padding: 16px 20px; }
.project-client-dialog .client-tools input { width: min(300px, 65%); }
.project-client-dialog button, .project-client-dialog select, .project-client-dialog input, .project-client-dialog textarea { border: 1px solid #b7c8d3; background: white; color: #244860; padding: 7px 10px; font: inherit; }
.project-client-dialog button { cursor: pointer; white-space: nowrap; }
.project-client-dialog .client-table-wrap { overflow: auto; }
.project-client-dialog table { width: 100%; min-width: 625px; border-collapse: collapse; }
.project-client-dialog th, .project-client-dialog td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #dae3e9; }
.project-client-dialog th { background: #edf2f5; }
.project-client-dialog td code { display: block; overflow-wrap: anywhere; margin-top: 5px; font-size: 12px; }
.project-client-dialog textarea { width: 100%; min-height: 70px; margin-top: 6px; }
.project-client-dialog p { margin: 12px 20px; }
.project-client-dialog [role=alert] { color: #8c421e; }

.project-releases{padding:18px 20px;border-bottom:1px solid #d3dfe5}.release-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.project-releases select{max-width:100%;padding:7px}.project-releases small{display:block;margin-top:8px;color:#526675}.project-releases ul{max-height:240px;overflow:auto}.release-diff{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.release-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:22rem;overflow:auto;background:#f3f6f8;padding:10px}
