:root {
  --muted: #9ca3af;
  --accent: #e56a4a;
}
@font-face {
  font-family: Inter;
  src: local('Inter');
}
.chart-tooltip {
  position: absolute;
  top: 10px;
  min-width: 155px;
  padding: 11px 14px;
  border: 1px solid #364450;
  border-radius: 10px;
  background: #262626fa;
  box-shadow: 0 8px 35px #0006;
  pointer-events: none;
  z-index: 2;
}
.chart-tooltip strong,
.chart-tooltip span {
  display: block;
}
.chart-tooltip strong {
  font-size: 17px;
  margin: 4px 0;
}
.chart-tooltip span,
.chart-tooltip small {
  font-size: 11px;
  color: #91a1b3;
}
.chart-point {
  cursor: crosshair;
}
.chart-point.highlighted,
.chart-point:focus {
  fill: #6366f1;
  stroke: #d9f4ff;
  stroke-width: 2;
  r: 4;
  outline: none;
}
.chart-controls button {
  font-size: 11px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #1a1a1a;
  color: #f5f5f7;
  font:
    15px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  letter-spacing: -0.015em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #e56a4a;
  outline-offset: 4px;
}
button {
  border: 1px solid #3a3a3a;
  background: #303030;
  color: #ededf1;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 550;
}
button:hover {
  background: #22252a;
}
button.primary,
.primary {
  background: #e56a4a;
  color: #ffffff;
  border-color: #e56a4a;
}
button.primary:hover {
  background: #36c5ff;
}
button.danger {
  color: #ff747b;
  background: #281619;
  border-color: #462125;
}
button.ghost {
  background: transparent;
  border-color: transparent;
  color: #999da7;
}
button.small {
  padding: 6px 11px;
  font-size: 13px;
}
.accent {
  color: #e56a4a;
}
.muted,
small {
  color: #858a95;
}
small {
  font-size: 13px;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.25px;
  font-weight: 620;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 550;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  border-right: 1px solid #202126;
  padding: 27px 17px;
  background: #0b0c0e;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.45px;
  padding: 0 11px;
}
.brand-mark {
  height: 34px;
  width: 34px;
  border: 1px solid #31343a;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 23px;
  letter-spacing: -2px;
  background: #14161a;
}
.brand small {
  font-size: 11px;
  letter-spacing: 1.2px;
  display: block;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #606672;
  margin: 34px 14px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  color: #9296a0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover {
  background: #303030;
  color: #fff;
}
.nav a.active {
  color: #f5f5f7;
  background: #1b1d21;
}
.nav a.active:before {
  content: '';
  position: absolute;
  width: 3px;
  height: 19px;
  border-radius: 2px;
  left: 0;
  background: #e56a4a;
}
.nav a.active .icon {
  color: #e56a4a;
}
.nav .count {
  font-size: 11px;
  margin-left: auto;
  border: 1px solid #34373d;
  padding: 0 5px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.license {
  margin: 18px 8px 0;
  border-top: 1px solid #24262b;
  padding-top: 19px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  color: #858a95;
}
.dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #4ace98;
  margin-right: 6px;
}
.topbar {
  height: 77px;
  margin-left: 236px;
  border-bottom: 1px solid #202126;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: #0b0c0ee8;
  gap: 15px;
}
.breadcrumb {
  font-size: 13px;
  color: #696f7a;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb span {
  color: #b0b4bd;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-actions select {
  width: auto;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  font-size: 13px;
}
.top-actions .divider {
  width: 1px;
  height: 22px;
  background: #292c31;
}
.avatar {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  background: #23303b;
  border: 1px solid #354859;
  border-radius: 50%;
  color: #bddbf0;
  font-size: 11px;
}
.account {
  font-size: 13px;
}
.main {
  margin-left: 236px;
  padding: 38px 40px 50px;
  max-width: 1800px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 31px;
  gap: 20px;
}
.heading p {
  font-size: 14px;
  color: #858a95;
  margin-top: 9px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.65px;
  color: #6b737f;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.period {
  display: flex;
  padding: 4px;
  border: 1px solid #25282d;
  background: #262626;
  border-radius: 9px;
}
.period button {
  background: none;
  border: 0;
  padding: 5px 12px;
  font-size: 12px;
  color: #888e99;
  border-radius: 6px;
}
.period button.selected {
  background: #292c32;
  color: #fff;
  box-shadow: 0 1px 3px #000;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card {
  border: 1px solid #22252a;
  background: #262626;
  border-radius: 15px;
  padding: 24px;
  min-width: 0;
}
.stat {
  padding: 22px 23px;
}
.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7d8590;
  font-size: 12px;
}
.stat-head .icon {
  width: 17px;
  height: 17px;
  color: #69717d;
}
.stat-value {
  font-size: 29px;
  font-weight: 610;
  letter-spacing: -1px;
  margin: 13px 0 6px;
  white-space: nowrap;
}
.stat-foot {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #747c88;
  align-items: center;
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #32363c;
  border-radius: 6px;
  color: #a4aab4;
  white-space: nowrap;
}
.tag.green {
  color: #71dbb2;
  background: #113026;
  border-color: #1d4535;
}
.tag.amber {
  color: #edbe60;
  background: #2a2214;
  border-color: #453821;
}
.tag.blue {
  color: #66caff;
  background: #102b3b;
  border-color: #1b4055;
}
.tag.red {
  color: #fb868e;
  background: #321c22;
  border-color: #4e2c34;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(275px, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.card-head p {
  font-size: 12px;
  color: #6e7784;
  margin-top: 4px;
}
.card-head a {
  font-size: 12px;
  color: #939aa5;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-total {
  font-size: 27px;
  letter-spacing: -0.8px;
  font-weight: 560;
}
.chart {
  height: 230px;
  position: relative;
  margin-top: 15px;
}
.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #67717d;
  margin: 8px 0 0 38px;
}
.chart-zero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 13px;
  color: #737c89;
  gap: 7px;
}
.chart-zero strong {
  color: #b4bbc5;
  font-weight: 500;
}
.provider-row {
  margin: 25px 0;
}
.provider-row:last-child {
  margin-bottom: 0;
}
.provider-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.provider-name {
  display: flex;
  align-items: center;
  gap: 9px;
}
.provider-name i {
  width: 8px;
  height: 8px;
  background: var(--provider);
  border-radius: 3px;
}
.progress {
  height: 5px;
  background: #21242a;
  border-radius: 10px;
  margin: 11px 0 7px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: var(--width);
  background: var(--provider);
  border-radius: 10px;
}
.provider-row small {
  font-size: 11px;
  color: #727b87;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: #7a838f;
  padding: 0 12px 14px;
  border-bottom: 1px solid #292c32;
  white-space: nowrap;
}
td {
  padding: 15px 12px;
  border-bottom: 1px solid #202329;
  white-space: nowrap;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
td:last-child,
th:last-child {
  text-align: right;
  padding-right: 0;
}
tbody tr:last-child td {
  border: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person .avatar {
  border-radius: 8px;
  width: 28px;
  height: 28px;
  background: #202730;
  border-color: #2e3742;
  color: #b0bfcd;
}
.donor-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 260px;
  border-radius: 7px;
}
.donor-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid #383b40;
  border-radius: 9px;
  background: #202226;
  color: #858d98;
}
.donor-avatar > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.donor-avatar > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #202226;
  opacity: 0;
}
.donor-avatar.has-image > img {
  opacity: 1;
}
.donor-avatar.has-image > svg {
  visibility: hidden;
}
.donor-profile-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.45;
}
.donor-profile-name,
.donor-profile-handle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.donor-profile-name {
  font-weight: 500;
  color: #ededf1;
}
.donor-profile-handle {
  font-size: 11px;
  color: #8a909a;
}
a.donor-profile:hover .donor-profile-name {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rank .donor-profile {
  flex: 1 1 auto;
}
.rank > strong,
.rank-number {
  flex-shrink: 0;
}
.rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 13px;
}
.rank-number {
  height: 26px;
  width: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #30343b;
  background: #1b1e23;
  border-radius: 50%;
  font-size: 11px;
  color: #8c94a0;
}
.rank:first-of-type .rank-number {
  color: #eac26c;
  background: #302819;
  border-color: #4d3e23;
}
.rank strong {
  margin-left: auto;
  font-weight: 500;
}
.footnote {
  font-size: 11px;
  color: #626b77;
  display: flex;
  justify-content: space-between;
  margin-top: 21px;
  gap: 10px;
}
.live {
  font-size: 11px;
  color: #798691;
  white-space: nowrap;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}
.field small {
  font-size: 12px;
  line-height: 1.7;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #30343b;
  background: #303030;
  color: #ededf1;
  border-radius: 9px;
  padding: 11px 13px;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #626b77;
}
input:focus,
textarea:focus {
  border-color: #e56a4a;
  outline: none;
  box-shadow: 0 0 0 3px #e56a4a14;
}
textarea {
  min-height: 105px;
  resize: vertical;
}
input[type='checkbox'] {
  width: 36px;
  height: 20px;
  accent-color: #e56a4a;
}
input[readonly] {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  color: #a8b2bf;
  background: #0d1013;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.narrow {
  max-width: 920px;
}
.provider-card {
  padding: 27px;
}
.provider-logo {
  height: 38px;
  width: 38px;
  border-radius: 11px;
  background: var(--provider-bg);
  color: var(--provider);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.provider-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.provider-title small {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}
.inline-field {
  display: flex;
  align-items: center;
  gap: 10px;
}
.inline-field input {
  flex: 1;
}
.switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.notice {
  padding: 14px 17px;
  border: 1px solid #263b4a;
  border-radius: 10px;
  background: #0e1c25;
  color: #99b9cb;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 23px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.empty {
  padding: 47px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #79838f;
  font-size: 13px;
  gap: 9px;
}
.empty .icon {
  width: 27px;
  height: 27px;
  color: #596675;
  margin-bottom: 7px;
}
.empty strong {
  font-size: 14px;
  color: #b6bfc9;
  font-weight: 500;
}
.workspace-row {
  padding: 21px;
  border: 1px solid #2a2e34;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 13px 0;
}
.workspace-row h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-row p {
  font-size: 12px;
  color: #7d8692;
  margin-top: 6px;
}
.workspace-row.active {
  border-color: #175272;
  background: #0d1a22;
}
.key-prefix {
  font-family: ui-monospace, monospace;
  color: #a8b5c1;
  font-size: 13px;
}
.danger-text {
  color: #ee7d85;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  border-right: 1px solid #23272e;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 20% 80%, #10222d 0%, #0b1017 40%, #1a1a1a 70%);
}
.auth-story .brand {
  padding: 0;
}
.story-content {
  margin: auto 0;
  max-width: 500px;
  padding: 0;
}
.story-content h1 {
  font-size: 56px;
  letter-spacing: -2.8px;
  line-height: 1.12;
  font-weight: 600;
}
.story-content p {
  color: #8a97a7;
  font-size: 16px;
  line-height: 1.8;
  max-width: 390px;
  margin-top: 25px;
}
.auth-diagram {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 45px;
}
.diagram-tile {
  border: 1px solid #314353;
  background: #11202b;
  padding: 17px 20px;
  border-radius: 13px;
  font-size: 13px;
}
.auth-story footer {
  font-size: 12px;
  color: #677583;
}
.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}
.auth-form {
  max-width: 380px;
  width: 100%;
}
.auth-form h1 {
  font-size: 30px;
}
.auth-form > p {
  color: #89939f;
  margin: 12px 0 30px;
  font-size: 14px;
}
.auth-form form button {
  width: 100%;
  margin-top: 5px;
}
.auth-form .field {
  font-size: 13px;
}
.or {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #636d7a;
  font-size: 12px;
  margin: 23px 0;
}
.or:before,
.or:after {
  content: '';
  height: 1px;
  background: #262b32;
  flex: 1;
}
.google {
  width: 100%;
  background: transparent;
}
.auth-bottom {
  text-align: center;
  font-size: 13px;
  color: #8c96a3;
  margin-top: 25px;
}
.auth-bottom a {
  color: #ed947b;
}
.auth-security {
  display: flex;
  justify-content: center;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #646f7d;
  margin-top: 35px;
}
.auth-security .icon {
  width: 13px;
  height: 13px;
}
.pending {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}
.pending .card {
  width: 100%;
  max-width: 490px;
  text-align: center;
  padding: 45px;
}
.pending .brand {
  justify-content: center;
  margin-bottom: 38px;
}
.pending h1 {
  font-size: 28px;
}
.pending p {
  font-size: 14px;
  color: #8f9aa7;
  line-height: 1.8;
  margin: 17px 0 28px;
}
.pending .icon-bubble {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  background: #102534;
  color: #5ec6f9;
  border: 1px solid #24465b;
  border-radius: 18px;
  display: grid;
  place-items: center;
}
.pending .icon-bubble .icon {
  height: 28px;
  width: 28px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #e8edf1;
  color: #111820;
  border-radius: 12px;
  box-shadow: 0 8px 40px #0008;
  padding: 13px 21px;
  font-size: 13px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #4d242b;
  color: #ffd3d7;
}
dialog {
  background: #262626;
  color: #edf1f5;
  border: 1px solid #353f4a;
  border-radius: 17px;
  padding: 28px;
  max-width: 520px;
  width: calc(100% - 36px);
  box-shadow: 0 25px 100px #0009;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
dialog h2 {
  margin-bottom: 13px;
}
dialog p {
  font-size: 13px;
  color: #96a1af;
  margin-bottom: 22px;
}
dialog .toolbar {
  justify-content: flex-end;
  margin-top: 20px;
}
.secret-display {
  overflow-wrap: anywhere;
  padding: 18px;
  background: #0a0f14;
  border: 1px solid #30495b;
  border-radius: 9px;
  font:
    13px/1.7 ui-monospace,
    monospace;
  color: #7cd3ff;
}
.boot {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 700;
}
.boot span:last-child {
  font-size: 13px;
  color: #80909e;
  font-weight: 400;
  margin-left: 20px;
}
.menu-toggle {
  display: none;
}
.search {
  max-width: 300px;
}
.section-description {
  font-size: 13px;
  color: #818e9c;
  line-height: 1.8;
  margin: 8px 0 23px;
}
.loading {
  padding: 60px;
  color: #82919f;
  text-align: center;
}
.error-panel {
  border-color: #58303a;
}
.page-public {
  max-width: 540px;
  margin: 10vh auto;
  padding: 30px;
}
.page-public .brand {
  justify-content: center;
  margin-bottom: 55px;
}
.page-public h1 {
  text-align: center;
}
.page-public p {
  text-align: center;
  margin: 20px 0 35px;
  color: #919da9;
}
.donate-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: 13px 0;
  border: 1px solid #303a46;
  border-radius: 12px;
  background: #141c24;
}
.google-letter {
  font-size: 19px;
  font-weight: 600;
}
.page-limit {
  font-size: 12px;
  color: #818c99;
  margin-top: 20px;
}
.account-menu {
  position: absolute;
  right: 32px;
  top: 66px;
  z-index: 30;
  background: #181d24;
  border: 1px solid #353f4c;
  border-radius: 12px;
  padding: 12px;
  min-width: 220px;
  box-shadow: 0 10px 40px #0008;
}
.account-menu small {
  display: block;
  padding: 8px;
}
.account-menu button {
  width: 100%;
  margin-top: 7px;
}
.text-link {
  color: #6ccfff;
}
.mobile-backdrop {
  display: none;
}
@media (min-width: 1700px) {
  .main {
    padding: 45px 65px;
  }
  .topbar {
    padding: 0 65px;
  }
  .chart {
    height: 275px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
  }
  .main,
  .topbar {
    margin-left: 205px;
  }
  .main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .two-col {
    gap: 17px;
    grid-template-columns: minmax(0, 1.6fr) minmax(245px, 1fr);
  }
  .card {
    padding: 20px;
  }
  .auth-story {
    padding: 40px;
  }
  .story-content h1 {
    font-size: 45px;
  }
}
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .provider-row {
    margin: 20px 0;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-form-wrap {
    min-height: 100vh;
  }
  .breadcrumb {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
  }
  .heading {
    align-items: flex-start;
  }
  .heading .toolbar {
    justify-content: flex-end;
  }
}
@media (max-width: 680px) {
  .person .donor-profile {
    max-width: 180px;
  }
  .rank .donor-profile {
    max-width: none;
  }
  .rank {
    gap: 9px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 240px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main,
  .topbar {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
    justify-content: space-between;
  }
  .main {
    padding: 27px 18px;
  }
  .menu-toggle {
    display: inline-flex;
    padding: 7px;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions .divider,
  .account-name {
    display: none;
  }
  .top-actions select {
    max-width: 132px;
  }
  .heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 29px;
  }
  .heading p {
    font-size: 13px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 16px 13px;
  }
  .stat-value {
    font-size: 22px;
  }
  .stat-head {
    font-size: 11px;
  }
  .stat-head .icon {
    display: none;
  }
  .stat-foot {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card {
    padding: 20px 17px;
    border-radius: 12px;
  }
  .two-col {
    gap: 18px;
    margin-bottom: 18px;
  }
  .workspace-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }
  .footnote {
    flex-direction: column;
  }
  .provider-card .card-head {
    align-items: flex-start;
  }
  .provider-title {
    gap: 9px;
  }
  .provider-title small {
    max-width: 160px;
  }
  .inline-field {
    align-items: stretch;
  }
  .inline-field button {
    padding: 9px;
  }
  .chart {
    height: 190px;
  }
  .mobile-backdrop.visible {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 19;
  }
  .period button {
    padding: 5px 11px;
  }
  .auth-form-wrap {
    padding: 30px;
  }
  .pending .card {
    padding: 30px 22px;
  }
  .account-menu {
    right: 15px;
  }
  .search {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.connection-result {
  margin-top: 16px;
  line-height: 1.7;
}

.stat-comparison {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 6px;
  background: transparent;
  border: 0;
}

/* Shared warm-neutral surfaces and restrained grid, based on the supplied reference. */
body {
  background-image:
    linear-gradient(#ffffff02 1px, transparent 1px),
    linear-gradient(90deg, #ffffff02 1px, transparent 1px);
  background-size: 48px 48px;
}
.sidebar {
  background: #1e1e1ef5;
  border-color: #333;
}
.topbar {
  background: #1a1a1aeb;
  border-color: #333;
  backdrop-filter: blur(16px);
}
.card,
.stat {
  background: #262626;
  border: 1px solid #333;
  border-radius: 14px;
  box-shadow: 0 1px 2px #0002;
}
input,
select,
textarea {
  background: #202020;
  border-color: #3a3a3a;
}
button.primary:hover {
  background: #cc5236;
  border-color: #cc5236;
}
.chart-point.highlighted,
.chart-point:focus {
  fill: #6366f1;
  stroke: #d9daff;
}
.chart-tooltip {
  border-color: #444;
}
.auth-site {
  max-width: 1440px;
  margin: auto;
  padding: 0 56px;
}
.login-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff12;
}
.login-header > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #bdbdbd;
}
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  min-height: 730px;
  gap: 80px;
  align-items: center;
  padding: 56px 0 80px;
}
.auth-story {
  display: block;
  background: none;
  padding: 0;
  border: 0;
}
.studio-art {
  position: relative;
  isolation: isolate;
  height: 410px;
  overflow: hidden;
  border-radius: 16px;
  background: #ddd6ca;
  color: #2d302c;
  padding: 30px;
  background-image: var(--login-art, linear-gradient(140deg, #e6e1d6, #a7ada1));
  background-size: cover;
  background-position: center;
}
.studio-art h2 {
  position: absolute;
  left: 36px;
  top: 80px;
  margin: 0;
  font-size: clamp(62px, 6vw, 92px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.075em;
  z-index: 1;
}
.studio-art h2 span {
  font-size: 22px;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 9px;
}
.studio-caption,
.studio-edition {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.16em;
  z-index: 1;
}
.studio-edition {
  bottom: 28px;
  right: 30px;
}
.studio-orbit {
  position: absolute;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  right: -185px;
  bottom: -140px;
  box-shadow:
    0 0 0 28px #ffffff12,
    0 0 0 56px #ffffff10,
    0 0 0 84px #ffffff0b;
}
.orbit-two {
  width: 320px;
  height: 320px;
  right: -130px;
  bottom: -85px;
  background: linear-gradient(125deg, #f0f0e580, #565f5330);
}
.story-content {
  margin: 26px 0 0;
  max-width: 490px;
}
.story-content h1 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.story-content p {
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.75;
  max-width: 440px;
  margin: 0;
}
.auth-form-wrap {
  padding: 0 20px;
  min-height: 0;
  background: none;
}
.auth-form {
  max-width: 370px;
  width: 100%;
}
.auth-form h1 {
  font-size: 29px;
  letter-spacing: -0.035em;
  margin-top: 12px;
}
.auth-form > p {
  font-size: 14px;
  margin-bottom: 30px;
}
.auth-form .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #a3a3a3;
}
.auth-form input {
  min-height: 48px;
  border-radius: 9px;
}
.auth-form form button {
  min-height: 48px;
  border-radius: 9px;
}
.auth-security {
  color: #888;
  font-size: 11px;
}
.login-details {
  padding: 80px 0 90px;
  border-top: 1px solid #ffffff12;
}
.details-heading h2 {
  font-size: 38px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 18px 0 44px;
}
.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.login-feature-grid h3 {
  font-size: 17px;
  font-weight: 500;
  margin: 24px 0 9px;
}
.login-feature-grid p {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
  max-width: 310px;
}
.feature-visual {
  height: 150px;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #232323;
}
.provider-visual span {
  font-size: 11px;
  padding: 9px 11px;
  border: 1px solid #444;
  border-radius: 7px;
}
.chart-visual {
  padding: 22px;
  display: block;
}
.chart-visual svg {
  width: 100%;
  height: 85px;
}
.chart-visual small {
  font-size: 9px;
  color: #888;
}
.workspace-visual {
  color: #bbb;
  font-size: 14px;
}
.workspace-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e56a4a;
  margin-left: 25px;
}
.login-footer {
  border-top: 1px solid #ffffff12;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  color: #888;
  font-size: 11px;
}
.login-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (max-width: 1000px) {
  .auth-site {
    padding: 0 30px;
  }
  .auth-page {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .studio-art {
    height: 380px;
  }
  .auth-form-wrap {
    padding: 0;
  }
  .provider-visual {
    flex-wrap: wrap;
    padding: 24px;
  }
}
@media (max-width: 700px) {
  .auth-site {
    padding: 0 22px;
  }
  .login-header {
    height: 78px;
  }
  .auth-page {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
    padding: 45px 0;
    min-height: 0;
  }
  .auth-form-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .auth-story {
    width: 100%;
  }
  .studio-art {
    height: 300px;
  }
  .studio-art h2 {
    font-size: 70px;
    top: 70px;
  }
  .story-content h1 {
    font-size: 23px;
  }
  .login-feature-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .login-details {
    padding: 48px 0;
  }
  .details-heading h2 {
    font-size: 30px;
  }
  .login-footer {
    gap: 20px;
    align-items: flex-start;
    font-size: 10px;
  }
}
