:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #251b36;
  background: #f7f7fa;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.access {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 47%) 1fr;
}
.access-brand {
  background: radial-gradient(circle at 25% 12%, #522286 0, #210440 48%, #19052d 100%);
  color: white;
  padding: 46px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.access-brand:after {
  content: '';
  position: absolute;
  width: 530px;
  height: 530px;
  border: 1px solid #ffffff18;
  transform: rotate(45deg);
  right: -340px;
  bottom: -200px;
  box-shadow:
    0 0 0 70px #ffffff08,
    0 0 0 140px #ffffff06;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: none;
}
.brand b {
  display: block;
  font-size: 21px;
  letter-spacing: 0.17em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: #d6cde1;
  font-size: 11px;
  letter-spacing: 0.07em;
}
.access-message {
  max-width: 650px;
  position: relative;
  z-index: 1;
}
.access-message h1 {
  font-size: clamp(42px, 5.3vw, 76px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 18px 0 24px;
}
.access-message p {
  font-size: 18px;
  line-height: 1.55;
  color: #d8cee5;
  max-width: 510px;
}
.access-foot {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #baaccd;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #4b1b79;
}
.eyebrow.light {
  color: #b3e633;
}
.access-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-card {
  width: min(440px, 100%);
}
.login-card h2 {
  font-size: 33px;
  letter-spacing: -0.04em;
  margin: 13px 0;
}
.login-card > p {
  color: #7b7486;
  line-height: 1.6;
  margin: 0 0 28px;
}
.login-card form {
  display: grid;
  gap: 18px;
}
.access-link {
  border: 0;
  background: transparent;
  color: #46137c;
  font-size: 13px;
  font-weight: 700;
  justify-self: start;
  padding: 4px 0;
}
.access-link:hover { text-decoration: underline; }
.form-status {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f1edf6;
  color: #381363;
  font-size: 13px;
  line-height: 1.5;
}
.mfa-qr-frame {
  display: grid;
  place-items: center;
  width: max-content;
  max-width: 100%;
  margin: 14px auto;
  padding: 12px;
  border: 1px solid #e2dfe9;
  border-radius: 12px;
  background: white;
}
.mfa-qr-frame img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.mfa-manual {
  margin-top: 12px;
  color: #51485f;
  font-size: 12px;
}
.mfa-manual summary {
  cursor: pointer;
}
#mfa-secret {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f1edf6;
  color: #381363;
  overflow-wrap: anywhere;
  user-select: all;
}
label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #51485f;
}
input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #e2dfe9;
  border-radius: 9px;
  padding: 0 13px;
  background: #fff;
  color: #281d39;
  outline: none;
}
input:focus,
select:focus {
  border-color: #6531a4;
  box-shadow: 0 0 0 3px #6531a422;
}
.password-field {
  display: block;
  position: relative;
}
.password-field input {
  padding-right: 50px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #70677b;
}
.password-toggle:hover { background: #f1edf6; color: #46137c; }
.password-toggle:focus-visible { outline: 2px solid #6531a4; outline-offset: 1px; }
.password-toggle svg { width: 19px; height: 19px; }
.button {
  border-radius: 9px;
  border: 1px solid transparent;
  padding: 11px 16px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}
.button.primary {
  background: #46137c;
  color: white;
}
.button.primary:hover {
  background: #330a61;
}
.button.secondary {
  background: white;
  color: #403351;
  border-color: #e4e0e9;
}
.button.secondary:hover {
  background: #f5f1fa;
}
.button.subtle {
  background: #f2ecf8;
  color: #46137c;
}
.button.danger {
  background: #fff1f1;
  color: #9d2f3e;
}
.button.full {
  width: 100%;
  margin-top: 10px;
  justify-content: space-between;
}
.privacy {
  font-size: 11px;
  color: #aaa4b2 !important;
  margin-top: 24px !important;
}
.workspace {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  width: 246px;
  flex: none;
  background: #210440;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 28px 17px 18px;
}
.sidebar .brand {
  padding: 0 11px;
}
.sidebar .brand-icon {
  width: 34px;
  height: 34px;
}
.sidebar .brand b {
  font-size: 17px;
}
.sidebar .brand small {
  font-size: 9px;
}
.sidebar-caption {
  margin: 49px 12px 15px;
  color: #9984b5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
#navigation {
  display: grid;
  gap: 5px;
}
.nav-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 9px;
  color: #cfc1dd;
  background: transparent;
  padding: 12px 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}
.nav-item:hover {
  background: #ffffff10;
}
.nav-item.active {
  background: #6530a0;
  color: #fff;
}
.nav-item .nav-symbol {
  font-size: 18px;
  width: 20px;
  text-align: center;
  line-height: 1;
}
.nav-divider {
  height: 1px;
  background: #ffffff1e;
  margin: 14px 9px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-help {
  background: #371053;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  padding: 15px;
  display: grid;
  gap: 5px;
  font-size: 12px;
}
.sidebar-help .help-icon {
  font-size: 22px;
  color: #a5d900;
}
.sidebar-help small {
  color: #b2a4c1;
  line-height: 1.4;
}
.logout {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #bbaeca;
  border: 0;
  padding: 19px 13px 4px;
  font-size: 12px;
}
.content-shell {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid #eae7ef;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: #7a7086;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.breadcrumb strong {
  color: #2b1d3b;
}
.breadcrumb button {
  border: 0;
  background: none;
  color: #7a7086;
  padding: 0;
}
.account-chip {
  border: 1px solid #eee7f2;
  border-radius: 20px;
  padding: 7px 12px;
  color: #57357c;
  background: #faf8fc;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.view {
  padding: 32px 36px 65px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  font-size: 30px;
  letter-spacing: -0.045em;
  margin: 6px 0 8px;
}
.page-heading p {
  margin: 0;
  color: #898292;
  font-size: 13px;
  line-height: 1.5;
}
.heading-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 23px;
}
.stat,
.panel,
.hero-card {
  background: #fff;
  border: 1px solid #eeeaf2;
  border-radius: 13px;
  box-shadow: 0 4px 18px #2e133707;
}
.stat {
  padding: 21px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #888092;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-icon {
  background: #f4edfa;
  color: #5b238e;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.stat-value {
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 750;
  margin: 18px 0 3px;
}
.stat-foot {
  color: #8c8495;
  font-size: 11px;
}
.panel {
  padding: 22px;
  margin-bottom: 18px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
}
.panel h2 {
  font-size: 16px;
  letter-spacing: -0.02em;
  margin: 0;
}
.panel-subtitle {
  font-size: 12px;
  color: #8c8495;
  margin: 5px 0 0;
}
.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}
.hero-card {
  padding: 26px;
  background: linear-gradient(125deg, #2b0b50, #512184);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 174px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}
.hero-card:after {
  content: '✦';
  position: absolute;
  right: 30px;
  bottom: -85px;
  font-size: 240px;
  color: #ffffff10;
}
.hero-card h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 13px 0 10px;
  max-width: 700px;
}
.hero-card p {
  font-size: 12px;
  color: #d8cbe8;
  margin: 0;
  line-height: 1.6;
}
.hero-card .button {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  background: #a1d900;
  color: #210440;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.data-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #9a93a2;
  padding: 12px 11px;
  border-bottom: 1px solid #eeeaf2;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table td {
  font-size: 12px;
  color: #554b62;
  padding: 15px 11px;
  border-bottom: 1px solid #f1eef4;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table strong {
  color: #30233f;
  font-size: 12px;
}
.data-table button.text-action {
  border: 0;
  background: transparent;
  color: #55238c;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 0;
}
.data-table button.text-action.danger {
  color: #b23c4a;
}
.muted {
  color: #9990a1;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff9d8;
  color: #547300;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
}
.badge:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge.gray {
  background: #f0eff2;
  color: #80798a;
}
.badge.purple {
  background: #f3ecfb;
  color: #5a278d;
}
.badge.red {
  background: #fae9ec;
  color: #a83545;
}
.org-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.org-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e9dcf5;
  color: #512184;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}
.empty {
  border: 1px dashed #e4ddea;
  background: #fcfbfe;
  border-radius: 10px;
  padding: 31px;
  text-align: center;
  color: #8d8596;
  font-size: 12px;
}
.empty strong {
  display: block;
  font-size: 14px;
  color: #493658;
  margin-bottom: 7px;
}
.progress {
  height: 7px;
  background: #eeeaf2;
  border-radius: 9px;
  overflow: hidden;
  margin-top: 9px;
}
.progress span {
  display: block;
  height: 100%;
  background: #a1d900;
  border-radius: 9px;
}
.progress.purple span {
  background: #6429a0;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #f1eef4;
  font-size: 12px;
}
.metric-row:last-child {
  border: 0;
}
.metric-row strong {
  color: #291a3a;
}
.steps {
  display: grid;
  gap: 13px;
}
.step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: #7b7186;
}
.step-index {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1e9f7;
  color: #673599;
  flex: none;
  font-size: 11px;
  font-weight: 800;
}
.step.done .step-index {
  background: #a1d900;
  color: #210440;
}
.step strong {
  display: block;
  color: #332342;
  margin-bottom: 4px;
}
.step small {
  font-size: 11px;
  line-height: 1.45;
}
.info-strip {
  padding: 13px 16px;
  background: #f4f0f9;
  border: 1px solid #e8e0f1;
  border-radius: 9px;
  color: #5a4972;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.search {
  max-width: 250px;
}
.modal {
  border: 0;
  border-radius: 16px;
  padding: 26px;
  width: min(460px, calc(100vw - 32px));
  box-shadow: 0 25px 90px #18032e5e;
}
.modal::backdrop {
  background: #18082e9e;
}
.modal h2 {
  font-size: 23px;
  letter-spacing: -0.035em;
  margin: 8px 0;
}
.modal p {
  color: #82798b;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon-button {
  border: 0;
  background: #f4f1f7;
  color: #6e607b;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 1;
}
.dialog-fields {
  display: grid;
  gap: 16px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 26px;
}
.secret-label input {
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.secret-meta {
  font-size: 11px;
  color: #857a90;
  margin-top: 12px;
  line-height: 1.5;
}
.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  background: #291141;
  color: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  box-shadow: 0 10px 35px #2104403b;
  font-size: 12px;
  max-width: 420px;
}
.toast.error {
  background: #9f293d;
}
@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .access {
    grid-template-columns: 1fr;
  }
  .access-brand {
    min-height: 270px;
    padding: 28px;
  }
  .access-message h1 {
    font-size: 40px;
  }
  .access-message p {
    display: none;
  }
  .access-foot {
    display: none;
  }
  .access-panel {
    padding: 40px 24px;
  }
  .sidebar {
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: block;
    background: none;
    border: 0;
    font-size: 18px;
    color: #4d306f;
  }
  .topbar {
    padding: 0 18px;
  }
  .view {
    padding: 22px 18px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 23px;
  }
  .hero-card {
    flex-direction: column;
  }
  .account-chip {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .stat {
    padding: 13px;
  }
  .stat-value {
    font-size: 20px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions .button {
    flex: 1;
  }
}

.connection-page {
  display: grid;
  gap: 20px;
}
.connection-page .panel {
  margin: 0;
  padding: 26px;
}
.connection-page .panel-subtitle {
  color: #776d83;
  line-height: 1.6;
}
.connection-overview {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  align-items: center;
  gap: 28px;
  border-top: 3px solid #633394;
}
.connection-organization {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.connection-organization > svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: #552381;
  background: #f3edf9;
  border: 1px solid #eae0f3;
  border-radius: 14px;
  flex: none;
}
.connection-label {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.5;
  color: #776d83;
}
.connection-organization h2 {
  margin: 5px 0 9px;
  font-size: 25px;
  overflow-wrap: anywhere;
}
.connection-summary {
  border-left: 1px solid #eee8f3;
  padding-left: 28px;
  min-width: 0;
}
.connection-summary > strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.connection-summary > p {
  margin: 6px 0 0;
  color: #776d83;
  font-size: 12px;
  line-height: 1.5;
}
.connection-summary .connection-device-count {
  margin-top: 2px;
  font-size: 30px;
  line-height: 1.2;
}
.connection-text-button {
  margin-top: 5px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #552381;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}
.connection-text-button:hover {
  text-decoration: underline;
}
.connection-page button:focus-visible {
  outline: 2px solid #633394;
  outline-offset: 4px;
  border-radius: 4px;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.connection-grid > .panel {
  min-width: 0;
}
.connection-endpoint {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid #e8e1ef;
  border-radius: 9px;
  background: #faf8fc;
}
.connection-endpoint svg {
  width: 19px;
  height: 19px;
  color: #633394;
  flex: none;
}
.connection-endpoint code {
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.6;
  overflow-wrap: anywhere;
  min-width: 0;
}
.connection-readonly {
  margin-left: auto;
  color: #776d83;
  font-size: 10px;
  white-space: nowrap;
}
.connection-note {
  color: #776d83;
  font-size: 12px;
  line-height: 1.7;
  margin: 14px 0 22px;
}
.connection-details {
  margin: 0;
}
.connection-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #eeeaf2;
  font-size: 12px;
  line-height: 1.6;
}
.connection-detail:first-child {
  padding-top: 2px;
}
.connection-detail:last-child {
  padding-bottom: 0;
  border: 0;
}
.connection-detail dt {
  color: #776d83;
}
.connection-detail dd {
  margin: 0;
  font-weight: 600;
}
.connection-detail small {
  display: block;
  margin-top: 4px;
  color: #776d83;
  font-size: 11px;
  font-weight: 400;
}
.connection-user {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px 26px;
  background: #f0ebf6;
  border: 1px solid #e5dcee;
  border-radius: 13px;
}
.connection-user > svg {
  width: 24px;
  height: 24px;
  color: #633394;
  flex: none;
}
.connection-user h2 {
  font-size: 13px;
  margin: 0 0 5px;
}
.connection-user p {
  margin: 0;
  color: #776585;
  font-size: 12px;
  line-height: 1.6;
}
.connection-app-tag {
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid #dcd0e8;
  border-radius: 6px;
  color: #633394;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .connection-overview {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .connection-organization {
    grid-column: 1 / -1;
  }
  .connection-summary {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #eee8f3;
  }
  .connection-app-tag {
    display: none;
  }
}
@media (max-width: 600px) {
  .connection-page .panel {
    padding: 22px;
  }
  .connection-overview {
    grid-template-columns: 1fr;
  }
  .connection-summary {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #eee8f3;
  }
  .connection-detail {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .connection-readonly {
    display: none;
  }
  .connection-user {
    padding: 20px;
    align-items: flex-start;
  }
}

.model-policy-form { display: grid; gap: 18px; padding: 20px; }
.model-policy-form details { border-top: 1px solid #e8e3ed; padding-top: 16px; }
.model-policy-form summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
.model-policy-form details label { margin: 12px 0; }
.policy-checks { border: 1px solid #e8e3ed; border-radius: 10px; padding: 14px; }
.policy-checks legend { padding: 0 8px; font-weight: 600; }
.policy-checks .policy-check { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.policy-check input { width: 18px; height: 18px; accent-color: #3f0b79; }
.capability-catalog-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 18px; align-items: center; border-bottom: 1px solid #eee9f3; padding: 6px 0; }
@media (max-width: 760px) { .capability-catalog-row { grid-template-columns: minmax(0,1fr); gap: 0; } }
input[role='switch'] {
  appearance: none;
  width: 40px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #d4ccdf;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
}
input[role='switch']::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #19052d33;
}
input[role='switch']:checked { background: #3f0b79; }
input[role='switch']:checked::before { transform: translateX(16px); }
input[role='switch']:focus-visible { outline: 2px solid #8d65ba; outline-offset: 3px; }
input[role='switch']:disabled { opacity: .5; cursor: not-allowed; }
.policy-backup-row { display: flex; gap: 16px; align-items: center; padding: 8px 0; }
