/* Apply dashboard.css :host rules to the document (no shadow root). */
@import url("https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Overpass+Mono:wght@300&display=swap");

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Overpass", sans-serif;
  font-weight: 300;
  font-size: 16px;
}

.dashboard--narrow {
  max-width: 52rem;
}

.topbar-actions form {
  margin: 0;
}

.choice-list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-list legend {
  font-weight: 600;
  margin-bottom: var(--space-2);
  padding: 0;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-weight: 400;
}

.choice .hint {
  display: block;
  color: var(--color-muted);
  font-weight: 300;
  font-size: 0.9rem;
}

.form-error {
  color: #b42318;
  font-weight: 600;
}
  font-family: "Overpass Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-accent);
  overflow-wrap: anywhere;
}

.field-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.field-row input[name="slug"] {
  flex: 1;
  min-width: 0;
}

.create-account {
  max-width: 22rem;
  margin: 0 auto;
}

.create-account h2 {
  text-align: center;
}

.create-account > .subtitle:first-of-type {
  text-align: center;
}

.idp-stack {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 var(--space-4);
}

.idp-stack .idp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-panel);
  color: var(--color-text);
  border: 1px solid color-mix(in srgb, var(--color-text) 22%, transparent);
  box-shadow: none;
  font-weight: 400;
  padding: 0.55rem 1rem;
}

.idp-stack .idp-btn:hover {
  background: color-mix(in srgb, var(--color-text) 5%, var(--color-panel));
}

.idp-btn img {
  flex-shrink: 0;
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
}

.account-nav a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.account-nav a:hover {
  color: var(--color-accent-hover);
}

.email-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}

.email-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}

.email-list form {
  margin: 0;
  flex-shrink: 0;
}

.email-list .revoke {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--color-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.email-list .revoke:hover:not(:disabled) {
  color: var(--color-accent-hover);
}

.email-list .revoke:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.import-csv {
  margin-top: var(--space-4);
}

.import-csv summary {
  cursor: pointer;
  color: var(--color-accent);
  font-weight: 600;
}

html {
  scroll-padding-top: 56px;
}
