:root {
  --bg: #fbfafc;
  --panel: #ffffff;
  --panel-soft: #f8f5fa;
  --ink: #24182f;
  --text: #353039;
  --muted: #746d7a;
  --subtle: #9b92a3;
  --line: #ece5ef;
  --line-strong: #d9cde0;
  --brand-purple: #5d176a;
  --brand-purple-2: #77609c;
  --brand-green: #aebf1e;
  --brand-dark: #140e1a;
  --plum: #21162c;
  --plum-2: #332043;
  --red: #a94a43;
  --red-soft: #fbefed;
  --amber: #8c6a24;
  --amber-soft: #fff7e8;
  --green: #65781d;
  --green-soft: #f3f7df;
  --purple-soft: #f1e7f4;
  --cyan: #277c8e;
  --cyan-soft: #e8f5f7;
  --shadow: 0 12px 30px rgba(33, 22, 44, 0.06);
  --shadow-strong: 0 18px 44px rgba(20, 14, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(93, 23, 106, 0.08) 0, rgba(251, 250, 252, 0) 340px),
    linear-gradient(90deg, rgba(174, 191, 30, 0.045), rgba(39, 124, 142, 0.035)),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
.upload-button {
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
.upload-button:focus-within {
  outline: 3px solid rgba(174, 191, 30, 0.36);
  outline-offset: 2px;
}

button:hover,
.upload-button:hover {
  transform: translateY(-1px);
}

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

.shell {
  width: min(1680px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.login-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 250, 0.98) 54%, rgba(241, 231, 244, 0.56)),
    linear-gradient(120deg, rgba(93, 23, 106, 0.075), rgba(174, 191, 30, 0.055));
  padding: clamp(22px, 5vw, 64px);
}

.login-screen::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-green), var(--cyan));
}

.login-screen::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.72));
  pointer-events: none;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(34px, 7vw, 92px);
  width: min(1120px, 100%);
  align-items: center;
}

.login-intro {
  display: grid;
  max-width: 620px;
  gap: 18px;
}

.login-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--brand-purple);
  font-size: 0.98rem;
  font-weight: 750;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-purple);
  box-shadow: 0 8px 18px rgba(93, 23, 106, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 42%;
  height: 42%;
  border-radius: 6px 0 0;
  background: var(--brand-green);
}

.login-intro .eyebrow {
  margin: 0 0 6px;
  color: var(--brand-purple);
}

.login-intro .eyebrow::before {
  background: var(--brand-green);
  box-shadow: 14px 0 0 rgba(93, 23, 106, 0.18);
}

.login-intro h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 5.8vw, 5.1rem);
  font-weight: 720;
  line-height: 0.97;
}

.login-copy {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.login-highlights span {
  border: 1px solid rgba(93, 23, 106, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(33, 22, 44, 0.035);
}

.login-panel {
  display: grid;
  gap: 22px;
  width: 100%;
  border: 1px solid rgba(231, 223, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 22px 60px rgba(33, 22, 44, 0.1);
  backdrop-filter: blur(18px);
}

.login-panel-header {
  display: grid;
  gap: 6px;
}

.login-panel-header span {
  color: var(--brand-purple);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.login-panel-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 680;
  line-height: 1.18;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form label span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
}

.login-form input {
  min-height: 52px;
  width: 100%;
  border: 1px solid rgba(93, 23, 106, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 14px;
  box-shadow: 0 8px 18px rgba(33, 22, 44, 0.045);
}

.login-form input::placeholder {
  color: var(--subtle);
}

.login-form button {
  min-height: 52px;
  border: 1px solid var(--brand-purple);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-purple), #742787);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(93, 23, 106, 0.2);
}

.login-form button:hover {
  box-shadow: 0 15px 30px rgba(93, 23, 106, 0.24);
}

.login-form button:disabled {
  cursor: not-allowed;
  border-color: var(--line-strong);
  background: var(--line-strong);
  color: var(--muted);
  box-shadow: none;
  transform: none;
}

.login-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.login-message[data-kind="error"] {
  color: var(--red);
}

.login-message[data-kind="loaded"] {
  color: var(--green);
}

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

.console-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  min-height: 162px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--brand-dark), var(--plum) 44%, var(--brand-purple));
  background-size: 32px 32px, 32px 32px, auto;
  color: #fff;
  padding: 26px 30px;
  box-shadow: var(--shadow-strong);
}

.console-hero::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-green), rgba(174, 191, 30, 0.1));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  align-items: stretch;
  justify-content: stretch;
  gap: 10px;
  width: min(100%, 460px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
  color: #efe7f4;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand-green);
  box-shadow: 14px 0 0 #fff;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: #e5dce9;
  font-size: 0.98rem;
}

.upload-button,
button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  white-space: nowrap;
}

.upload-button {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 16px;
  box-shadow: 0 8px 20px rgba(20, 14, 26, 0.16);
}

.upload-button.primary {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: var(--brand-dark);
}

.upload-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.status-panel {
  min-height: 44px;
  margin: 16px 0 16px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-purple);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  box-shadow: 0 8px 18px rgba(33, 22, 44, 0.04);
}

.status-panel[data-kind="loaded"] {
  border-left-color: var(--brand-green);
  background: linear-gradient(90deg, rgba(243, 247, 223, 0.92), #fff 62%);
  color: var(--ink);
}

.status-panel[data-kind="error"] {
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(250, 235, 232, 0.92), #fff 62%);
  color: var(--red);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metric-card {
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(231, 223, 234, 0.95);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
  box-shadow: var(--shadow);
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-purple);
}

.metric-card.attention::before,
.metric-card.links::before {
  background: var(--amber);
}

.metric-card.external::before {
  background: var(--red);
}

.metric-card.owner::before {
  background: var(--brand-green);
}

.metric-card.people::before,
.metric-card.files::before {
  background: var(--cyan);
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 9px 0 6px;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.metric-card small {
  color: var(--subtle);
  text-transform: none;
}

.view-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  width: min(560px, 100%);
  margin-bottom: 16px;
}

.view-tabs button {
  min-height: 42px;
  border-color: rgba(93, 23, 106, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  padding: 0 10px;
  font-size: 0.86rem;
  white-space: normal;
}

.view-tabs button:hover {
  border-color: var(--brand-purple-2);
  background: var(--purple-soft);
}

.view-tabs button.active {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 8px 18px rgba(93, 23, 106, 0.14);
}

.controls {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.7fr) minmax(250px, auto);
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
  border: 1px solid rgba(231, 223, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
  box-shadow: 0 10px 24px rgba(33, 22, 44, 0.045);
}

.controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
}

.controls input,
.controls select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0 12px;
  box-shadow: 0 6px 14px rgba(33, 22, 44, 0.035);
}

.controls input::placeholder {
  color: var(--subtle);
}

.controls .scope-control input {
  border-color: rgba(93, 23, 106, 0.24);
  background:
    linear-gradient(90deg, rgba(241, 231, 244, 0.74), rgba(255, 255, 255, 0.95) 42%),
    #fff;
}

.session-panel {
  display: grid;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  border: 1px solid rgba(93, 23, 106, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(241, 231, 244, 0.74), rgba(255, 255, 255, 0.95) 58%),
    #fff;
  padding: 8px 9px 8px 12px;
  box-shadow: 0 6px 14px rgba(33, 22, 44, 0.035);
}

.session-panel span {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 650;
  text-transform: uppercase;
}

.session-panel strong {
  grid-column: 1;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-panel button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 32px;
  border-color: rgba(93, 23, 106, 0.22);
  background: #fff;
  color: var(--brand-purple);
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 650;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 6px 14px rgba(33, 22, 44, 0.035);
}

.segmented button {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
}

.segmented button:hover {
  transform: none;
  background: var(--panel-soft);
}

.segmented button.active {
  background: var(--brand-purple);
  color: #fff;
}

.workspace {
  display: block;
}

.panel {
  min-width: 0;
  border: 1px solid rgba(231, 223, 234, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(33, 22, 44, 0.045);
}

.main-panel {
  container: main-panel / inline-size;
  width: 100%;
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px 22px;
}

.panel-heading.compact {
  align-items: center;
  padding: 14px;
}

.panel-heading h2 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
}

.panel-heading p,
.breadcrumbs {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs {
  margin-bottom: 5px;
  color: var(--brand-purple);
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
}

.panel-heading button {
  min-height: 38px;
  border-color: rgba(93, 23, 106, 0.26);
  color: var(--brand-purple);
  padding: 0 13px;
}

.panel-heading button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.criteria-list {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 252, 0.82);
  padding: 12px 18px;
}

.criteria-list:empty {
  display: none;
}

.criteria-list strong {
  color: var(--ink);
  font-weight: 650;
}

.criteria-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.criterion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 16px;
}

.criterion-chip {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
}

.criterion-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--line-strong);
}

.main-content {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.site-list {
  display: grid;
  gap: 8px;
  max-height: 820px;
  overflow: auto;
  padding: 12px;
}

.site-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 6px;
  width: 100%;
  min-height: 92px;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left-width: 3px;
  background: #fff;
  padding: 12px;
  text-align: left;
  white-space: normal;
}

.site-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(33, 22, 44, 0.055);
}

.site-card.active {
  border-color: var(--brand-purple);
  background: rgba(241, 231, 244, 0.72);
  box-shadow: 0 8px 18px rgba(93, 23, 106, 0.1);
}

.site-card.severity-high,
.attention-row.severity-high {
  border-left-color: var(--red);
}

.site-card.severity-medium,
.attention-row.severity-medium {
  border-left-color: var(--amber);
}

.site-card.severity-low,
.attention-row.severity-low {
  border-left-color: var(--cyan);
}

.site-card.severity-ok,
.attention-row.severity-ok {
  border-left-color: var(--green);
}

.site-card-top,
.row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-bottom: 6px;
}

.site-card-top .pill {
  flex: 0 0 auto;
}

.site-card strong,
.row-card strong,
.mini-row strong {
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.site-card strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.site-card span,
.row-card span,
.mini-row span,
.muted {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.site-card span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-stats,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-stats {
  margin-top: 6px;
}

.site-card-meta {
  width: fit-content;
  margin-top: 2px;
  color: var(--subtle) !important;
  font-size: 0.72rem !important;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  border-radius: 999px;
  padding: 0 7px;
  border: 1px solid rgba(231, 223, 234, 0.8);
  background: rgba(248, 245, 250, 0.8);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill.external,
.pill.high {
  background: var(--red-soft);
  color: var(--red);
}

.pill.owner,
.pill.ok {
  background: var(--green-soft);
  color: var(--green);
}

.pill.medium,
.pill.unresolved {
  background: var(--amber-soft);
  color: var(--amber);
}

.pill.admin,
.pill.count {
  background: var(--purple-soft);
  color: var(--brand-purple);
}

.pill.info {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.overview-stack {
  display: grid;
  gap: 18px;
}

.overview-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.summary-tile,
.row-card,
.attention-row,
.empty-state,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-tile {
  min-height: 108px;
  padding: 15px;
}

.summary-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
}

.summary-tile strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.summary-tile p,
.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ranked-list,
.card-list,
.detail-list {
  display: grid;
  gap: 9px;
}

.ranked-list h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.2;
}

.insight-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 15px;
}

@container main-panel (min-width: 980px) {
  .overview-grid,
  .overview-columns {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  }
}

.row-card,
.attention-row {
  display: grid;
  gap: 7px;
  width: 100%;
  border-left: 3px solid var(--brand-purple);
  padding: 12px;
  text-align: left;
  white-space: normal;
}

.row-card strong,
.attention-row strong {
  font-size: 0.92rem;
}

.row-card > .muted,
.attention-row > .muted {
  font-size: 0.78rem;
  line-height: 1.35;
}

.row-card.clickable,
.attention-row {
  cursor: pointer;
}

.row-card.clickable:hover,
.attention-row:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(33, 22, 44, 0.055);
}

.row-card.selected {
  border-color: var(--brand-purple);
  background: rgba(241, 231, 244, 0.72);
}

.bar-list {
  display: grid;
  gap: 8px;
}

.bar-row {
  display: grid;
  gap: 5px;
}

.bar-button {
  width: 100%;
  min-height: 54px;
  justify-content: stretch;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 6px 8px;
  text-align: left;
  white-space: normal;
}

.bar-button:hover {
  background: var(--purple-soft);
  transform: none;
}

.bar-button.active {
  background: rgba(241, 231, 244, 0.72);
}

.bar-button.active header strong {
  color: var(--brand-purple);
}

.bar-button:focus-visible {
  outline-offset: 0;
}

.bar-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.bar-row header strong {
  font-weight: 600;
}

.bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7f1;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-green));
}

.owner-site-tabs-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 250, 0.72)),
    #fff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(33, 22, 44, 0.035);
}

.site-tab-count {
  flex: 0 0 auto;
  border: 1px solid rgba(93, 23, 106, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-purple);
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.owner-site-tab-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 2px 8px;
  scrollbar-color: rgba(93, 23, 106, 0.25) transparent;
}

.owner-site-tab {
  display: grid;
  flex: 0 0 auto;
  min-width: 188px;
  max-width: 250px;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  padding: 9px 11px;
  text-align: left;
  white-space: normal;
  box-shadow: none;
}

.owner-site-tab:hover {
  border-color: var(--line-strong);
  background: #fff;
  transform: translateY(-1px);
}

.owner-site-tab.active {
  border-color: rgba(93, 23, 106, 0.62);
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 8px 18px rgba(93, 23, 106, 0.16);
}

.owner-site-name,
.owner-site-meta {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-site-name {
  color: inherit;
  font-size: 0.84rem;
  font-weight: 650;
}

.owner-site-meta {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 500;
}

.owner-site-tab.active .owner-site-meta {
  color: rgba(255, 255, 255, 0.74);
}

.site-tab-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.owned-sites-landing {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(33, 22, 44, 0.035);
}

.selected-site-people {
  display: grid;
  gap: 14px;
}

.owned-site-list {
  display: grid;
  max-height: 620px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.owned-site-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 18px;
  align-items: center;
  min-height: 66px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  text-align: left;
  white-space: normal;
}

.owned-site-row:last-child {
  border-bottom: 0;
}

.owned-site-row:hover {
  background: var(--panel-soft);
  transform: none;
}

.owned-site-main,
.owned-site-metrics {
  display: flex;
  min-width: 0;
}

.owned-site-main {
  flex-direction: column;
  gap: 2px;
}

.owned-site-main strong,
.owned-site-main span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owned-site-main strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.owned-site-main span {
  color: var(--muted);
  font-size: 0.78rem;
}

.owned-site-metrics {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.owned-site-metrics span {
  border: 1px solid rgba(231, 223, 234, 0.92);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.table-wrap {
  max-height: 660px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fbf8fc;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  text-transform: uppercase;
}

tbody tr {
  background: #fff;
}

tbody tr:hover {
  background: #fbf8fc;
}

tbody tr[data-row-key],
tbody tr[data-item-key] {
  cursor: pointer;
}

tbody tr.selected-row {
  background: var(--purple-soft);
}

.person-expanded-row td {
  background: #fbfafc;
  padding: 0 12px 14px;
}

.person-expanded-panel {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(33, 22, 44, 0.04);
}

.person-expanded-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.person-expanded-summary strong,
.person-expanded-summary span {
  display: block;
  overflow-wrap: anywhere;
}

.person-expanded-summary strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.person-expanded-summary span,
.person-expanded-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.person-expanded-meta {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.person-expanded-panel .detail-section {
  border: 0;
  background: transparent;
  padding: 0;
}

.person-expanded-panel .detail-section h3 {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.person-expanded-panel .person-file-list {
  max-height: 380px;
}

.access-request-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(217, 205, 224, 0.9);
  border-left: 3px solid var(--brand-purple);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(241, 231, 244, 0.7), rgba(255, 255, 255, 0.96) 56%),
    #fff;
  padding: 13px;
}

.access-request-copy {
  display: grid;
  gap: 3px;
}

.access-request-copy span {
  color: var(--brand-purple);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.access-request-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.access-request-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.access-request-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.access-request-facts span {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.access-request-facts strong {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
}

.access-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-request-button,
.freshservice-button {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.copy-request-button {
  border-color: rgba(93, 23, 106, 0.22);
  background: #fff;
  color: var(--brand-purple);
}

.copy-request-button.copied {
  border-color: rgba(101, 120, 29, 0.22);
  background: var(--green-soft);
  color: var(--green);
}

.freshservice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-purple);
  background: var(--brand-purple);
  color: #fff;
  box-shadow: 0 8px 18px rgba(93, 23, 106, 0.14);
}

.freshservice-button:hover {
  background: #6b1b79;
  color: #fff;
  transform: translateY(-1px);
}

td:first-child {
  min-width: 210px;
}

.person-name {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.person-email,
.path-text,
.cell-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cell-note {
  font-size: 0.78rem;
}

.path-text {
  max-width: 520px;
}

.table-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.external-overview-panel,
.selected-domain-users {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.selected-domain-users .table-wrap {
  max-height: 620px;
}

.selected-domain-label {
  flex: 0 0 auto;
  max-width: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--brand-purple);
  padding: 5px 10px;
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-filter-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.domain-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
}

.domain-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  max-width: 260px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: var(--line);
  background: #fff;
  padding: 0 11px;
  text-align: left;
  white-space: nowrap;
}

.domain-button.active {
  border-color: rgba(93, 23, 106, 0.55);
  background: rgba(241, 231, 244, 0.68);
  box-shadow: none;
}

.domain-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  text-overflow: ellipsis;
}

.domain-meta {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
}

.external-site-section {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.section-title-row.compact h3 {
  margin-bottom: 2px;
}

.section-title-row h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.2;
}

.section-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.external-site-list {
  display: grid;
  max-height: 420px;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.external-site-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 16px;
  align-items: center;
  justify-content: stretch;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 10px 4px;
  text-align: left;
  white-space: normal;
}

.external-site-row:hover {
  background: var(--panel-soft);
  transform: none;
}

.external-site-main,
.external-site-metrics {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.external-site-main strong,
.external-site-metrics strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-site-main span,
.external-site-metrics span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-site-metrics {
  text-align: right;
}

.detail-content {
  display: grid;
  gap: 12px;
  max-height: 860px;
  overflow: auto;
  padding: 14px;
}

.detail-hero {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-purple);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.detail-hero h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
}

.detail-hero p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.detail-section {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.detail-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

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

.detail-fact {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 10px;
}

.detail-fact span,
.detail-fact strong {
  display: block;
  overflow-wrap: anywhere;
}

.detail-fact span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
}

.detail-fact strong {
  color: var(--ink);
  font-size: 0.86rem;
}

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

.detail-list li {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 9px 10px;
}

.detail-list strong,
.detail-list span {
  display: block;
  overflow-wrap: anywhere;
}

.detail-list span {
  color: var(--muted);
  font-size: 0.8rem;
}

.person-inline-tabs {
  display: inline-flex;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.person-inline-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 11px;
  font-size: 0.78rem;
}

.person-inline-tabs button:hover {
  transform: none;
  background: var(--panel-soft);
}

.person-inline-tabs button.active {
  background: var(--brand-purple);
  color: #fff;
}

.file-list,
.person-file-list {
  display: grid;
  gap: 7px;
  max-height: 560px;
  overflow: auto;
  padding-right: 4px;
}

.person-file-list.preview {
  max-height: none;
  overflow: visible;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.72fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  text-align: left;
}

.file-row.high {
  border-left-color: var(--red);
}

.file-row.medium {
  border-left-color: var(--amber);
}

.file-row.selected {
  border-color: var(--brand-purple);
  background: var(--purple-soft);
}

.file-row strong,
.file-row span {
  display: block;
  overflow-wrap: anywhere;
}

.file-row strong {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
}

.file-row span {
  color: var(--muted);
  font-size: 0.76rem;
}

.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.empty-state {
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--brand-purple);
  padding: 16px;
}

.empty {
  padding: 16px;
  color: var(--muted);
}

.empty-state strong {
  color: var(--ink);
}

.hidden {
  display: none !important;
}

@media (max-width: 1660px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .view-tabs {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .overview-columns,
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .login-intro,
  .login-panel {
    max-width: 620px;
  }

  .login-intro h1 {
    font-size: clamp(2.25rem, 8vw, 4rem);
  }

  .console-hero,
  .hero-actions {
    display: grid;
    justify-content: stretch;
  }

  .hero-actions {
    width: 100%;
    max-width: none;
  }

  .metrics,
  .summary-band,
  .workspace,
  .detail-facts {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .metrics,
  .workspace,
  .person-expanded-summary,
  .external-site-row,
  .owned-site-row {
    grid-template-columns: 1fr;
  }

  .view-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .segmented {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .person-expanded-meta,
  .external-site-metrics,
  .owned-site-metrics {
    justify-content: flex-start;
    text-align: left;
  }

  .owner-site-tab {
    min-width: 170px;
    max-width: 220px;
  }

  .site-list {
    max-height: 460px;
  }

  .table-wrap {
    max-height: none;
  }

  .file-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .login-screen {
    place-items: start center;
    padding: 24px 14px;
  }

  .login-shell {
    gap: 24px;
  }

  .login-intro {
    gap: 14px;
  }

  .login-intro h1 {
    font-size: 2.35rem;
  }

  .login-panel {
    padding: 20px;
  }

  .shell {
    width: min(100% - 20px, 1680px);
    padding-top: 12px;
  }

  .console-hero {
    padding: 20px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .view-tabs {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .site-card-top,
  .row-top,
  .section-title-row {
    display: grid;
  }

  .owner-site-tab {
    min-width: 78vw;
    max-width: 78vw;
  }

  th,
  td {
    padding: 10px;
  }
}

/* --- Microsoft sign-in button ------------------------------------------ */
.login-signin-copy {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ms-signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--brand-purple);
  border-radius: 10px;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.ms-signin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(93, 23, 106, 0.24);
}

.ms-signin-button .ms-logo {
  width: 18px;
  height: 18px;
  background-image:
    linear-gradient(#f25022, #f25022),
    linear-gradient(#7fba00, #7fba00),
    linear-gradient(#00a4ef, #00a4ef),
    linear-gradient(#ffb900, #ffb900);
  background-size: 8px 8px;
  background-position: 0 0, 10px 0, 0 10px, 10px 10px;
  background-repeat: no-repeat;
}

/* --- Admin controls ---------------------------------------------------- */
.admin-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-controls.hidden {
  display: none;
}

.segmented.admin-scope {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.admin-manage-button {
  min-height: 42px;
  border: 1px solid var(--brand-purple);
  border-radius: 8px;
  background: transparent;
  color: var(--brand-purple);
  font-weight: 600;
  padding: 0 14px;
}

.admin-manage-button:hover {
  background: var(--panel-soft);
}

.admin-viewas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-viewas input {
  min-height: 42px;
  min-width: 210px;
  border: 1px solid var(--border, #d0d0e0);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--panel, #fff);
  color: inherit;
}

.admin-viewas button {
  min-height: 42px;
  border: 1px solid var(--brand-purple);
  border-radius: 8px;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 600;
  padding: 0 14px;
  cursor: pointer;
}

.admin-viewas button#viewAsClear {
  background: transparent;
  color: var(--brand-purple);
}

.admin-viewas button.hidden {
  display: none;
}

/* --- Admin modal ------------------------------------------------------- */
.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.hidden {
  display: none;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 30, 0.55);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  background: var(--panel, #fff);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(20, 12, 30, 0.35);
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0 6px;
}

.admin-modal-copy {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-add-form {
  display: flex;
  gap: 10px;
}

.admin-add-form input {
  flex: 1;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong, #ccc);
  border-radius: 8px;
}

.admin-add-form button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--brand-green, #8ab000);
  border-radius: 8px;
  background: var(--brand-green, #8ab000);
  color: #fff;
  font-weight: 600;
}

.admin-modal-message {
  margin: 12px 0 0;
  font-size: 0.82rem;
  min-height: 1em;
}

.admin-modal-message[data-kind="error"] {
  color: #c0392b;
}

.admin-modal-message[data-kind="loaded"] {
  color: #2e7d32;
}

.admin-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line, #eee);
  border-radius: 8px;
}

.admin-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-remove {
  border: 1px solid #c0392b;
  border-radius: 6px;
  background: transparent;
  color: #c0392b;
  font-weight: 600;
  padding: 6px 12px;
  min-height: auto;
}

.admin-remove:hover {
  background: rgba(192, 57, 43, 0.08);
}

.admin-list-self {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-list-empty {
  color: var(--muted);
  justify-content: center;
}
