[hidden] {
  display: none !important;
}
.identity-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.identity-card {
  width: min(100%, 440px);
  padding: 36px;
  background: var(--paper, #fffdf5);
  border: 1px solid #b5bfaa;
  box-shadow: 0 12px 40px #0b2b2109;
}
.identity-brand {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}
.identity-product {
  color: #214c3d;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.identity-product span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.identity-card h1 {
  font-size: 26px;
  margin: 28px 0 12px;
}
.identity-card form,
.identity-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.identity-card label,
.identity-form label {
  display: grid;
  gap: 8px;
}
.identity-card input,
.identity-form input,
.identity-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
}
.identity-card button {
  min-height: 44px;
  text-align: center;
}
.identity-message {
  min-height: 1.5em;
  color: #a1372a;
  margin-top: 18px;
  overflow-wrap: anywhere;
}
.identity-footnote {
  font-size: 12px;
  color: #69756a;
  margin-top: 24px;
}
.identity-table select {
  min-width: 90px;
}
.identity-table .actions {
  flex-wrap: wrap;
}
.identity-form {
  max-width: 480px;
}
.identity-note {
  line-height: 1.7;
}
@media (max-width: 480px) {
  .identity-card {
    padding: 24px;
  }
  .identity-page {
    padding: 16px;
  }
}

.google-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 4px;
}
.google-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.dashboard-metrics > div {
  border: 1px solid #b5bfaa;
  background: #fffdf5;
  padding: 20px;
}
.dashboard-metrics span {
  display: block;
  color: #64756b;
  font-size: 13px;
}
.dashboard-metrics strong {
  display: block;
  font-size: 30px;
  color: #153f31;
  margin-top: 8px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.dashboard-grid > * {
  min-width: 0;
}
.dashboard-chart {
  height: 280px;
  width: 100%;
}
.dashboard-facts {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.dashboard-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.dashboard-key-status {
  font-size: 20px;
  color: #32604c;
}
.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 20px;
}
.dashboard-toolbar input {
  display: block;
  max-width: 100%;
}
.dashboard-example {
  overflow-x: auto;
  padding: 16px;
  background: #eef0e6;
  font-size: 13px;
}
.permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.permission-chip {
  padding: 4px 8px;
  background: #e7edde;
  color: #254c3a;
  font-size: 12px;
}
.dashboard-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  background: #fffdf5;
  color: #173e30;
  border: 1px solid #8fa58c;
  padding: 24px;
}
.dashboard-dialog::backdrop {
  background: #0b2b2170;
}
.dashboard-dialog textarea {
  width: 100%;
  font-family: monospace;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.dashboard-dialog input,
.dashboard-dialog select {
  max-width: 100%;
}
.dashboard-permissions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.dashboard-permissions label {
  font-size: 13px;
}
.dashboard-dialog .check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}
.dashboard-dialog .check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
}
@media (max-width: 760px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-permissions {
    grid-template-columns: 1fr;
  }
  .dashboard-toolbar {
    flex-wrap: wrap;
  }
  .dashboard-dialog {
    padding: 18px;
  }
  .dashboard-metrics strong {
    font-size: 23px;
  }
}
