@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "Golos Text", system-ui, sans-serif;
  color: #263d34;
  background: #fff;
  font-synthesis: none;
  --green: #2b5545;
  --muted: #7c8780;
  --line: #e6e9e2;
  --cream: #edf0e6;
  --orange: #e58352;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #e7a77f;
  outline-offset: 3px;
}
button {
  border: 0;
}
a {
  color: var(--green);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.3px;
  font-weight: 600;
  line-height: 1.2;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  padding: 34px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-mark {
  width: 38px;
  height: 42px;
  color: var(--green);
}
.brand-sub {
  margin: 8px 0 48px 49px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.nav {
  display: grid;
  gap: 8px;
}
.nav button {
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 9px;
  font-size: 13px;
  color: #6f7b74;
}
.nav button.active {
  background: #eaf0e5;
  color: var(--green);
  font-weight: 600;
}
.nav svg {
  width: 18px;
  height: 18px;
}
.nav .count {
  margin-left: auto;
  background: white;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
}
.side-note {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.side-note svg {
  color: #92a581;
  margin-bottom: 12px;
}
.side-note h3 {
  font-size: 12px;
  margin-bottom: 8px;
}
.side-note p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.main {
  padding: 0 44px 40px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
}
.topbar {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
  font-size: 12px;
}
.breadcrumb {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb span:last-child {
  color: #42564b;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6ebdc;
  display: grid;
  place-items: center;
  color: #526b43;
  font-size: 11px;
  font-weight: 600;
}
.account-info {
  font-size: 11px;
  line-height: 1.6;
}
.account-info small {
  color: var(--muted);
  display: block;
  font-size: 10px;
}
.demo-toolbar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #777b69;
}
.demo-toolbar .demo-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.demo-toolbar select {
  border: 1px solid #dedfd2;
  background: #fafaf4;
  border-radius: 6px;
  padding: 5px 28px 5px 8px;
  color: #586148;
  font-size: 11px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 25px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 12px 17px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  transition: background 0.2s;
}
.btn:hover {
  background: #386a57;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.secondary {
  background: white;
  border: 1px solid var(--line);
  color: #4b5b52;
}
.btn.secondary:hover {
  background: #f0f3ed;
}
.btn.soft {
  background: #eaf0e5;
  color: var(--green);
}
.btn.danger {
  background: #fff1eb;
  color: #ad5f42;
}
.btn.small-btn {
  padding: 8px 12px;
  min-height: 32px;
  font-size: 11px;
}
.welcome {
  border: 1px solid #e3e8d9;
  background: #edf0e4;
  border-radius: 14px;
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.welcome h2 {
  font-size: 22px;
  margin-top: 10px;
}
.welcome p {
  font-size: 12px;
  max-width: 470px;
  color: #71816b;
  margin-top: 10px;
}
.welcome .eyebrow {
  color: #7b8c6d;
}
.box-art {
  width: 145px;
  height: 115px;
  flex-shrink: 0;
  position: relative;
}
.box-art:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: #dce4c9;
  border-radius: 50%;
  right: 0;
  bottom: -14px;
}
.box-art svg {
  width: 124px;
  height: 115px;
  position: relative;
  color: #76916c;
  transform: rotate(-8deg);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 20px;
}
.stat-title {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #96aa80;
}
.stat-value {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 12px 0 6px;
}
.stat-hint {
  font-size: 10px;
  color: #9aa198;
}
.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.section-bar h2 {
  font-size: 17px;
}
.section-bar p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.filters {
  display: flex;
  gap: 5px;
  background: #ecefe7;
  border-radius: 8px;
  padding: 4px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  color: #7d877b;
  font-size: 11px;
  border-radius: 6px;
  padding: 7px 12px;
}
.filters button.active {
  background: white;
  color: #3b5541;
  box-shadow: 0 1px 4px #263d3410;
}
.table-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.table-tools {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 340px;
  width: 100%;
  color: #a2a99c;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 11px;
  padding: 4px;
}
.search input::placeholder {
  color: #9ba497;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 400;
  font-size: 10px;
  color: #939d93;
  background: #fafbf8;
  padding: 13px 18px;
}
td {
  border-top: 1px solid #f0f1ec;
  font-size: 11px;
  padding: 19px 18px;
  vertical-align: middle;
}
td:first-child {
  font-weight: 600;
  color: #466c51;
}
td .sub {
  display: block;
  font-weight: 400;
  color: #99a294;
  font-size: 10px;
  margin-top: 6px;
}
tbody tr:hover {
  background: #fcfdf9;
}
tbody tr {
  cursor: pointer;
}
tbody tr:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #eff1eb;
  color: #7e8879;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.REGISTERED {
  color: #b37a43;
  background: #fbf1e2;
}
.badge.ACCEPTED,
.badge.CONTACTED {
  color: #648295;
  background: #edf3f5;
}
.badge.ORDER_AGREED {
  color: #85894a;
  background: #f1f3e3;
}
.badge.COMPLETED,
.badge.READY,
.badge.PAID {
  color: #5d8665;
  background: #eaf3e9;
}
.badge.TRANSFER_PENDING,
.badge.AWAITING_RECEIPT,
.badge.AWAITING_DETAILS,
.badge.SENT {
  color: #9a743a;
  background: #fbf1e2;
  max-width: 250px;
  white-space: normal;
}
.reward .badge {
  white-space: normal;
}
.actions .actions {
  display: contents;
}
.badge.REJECTED,
.badge.CANCELLED,
.badge.DUPLICATE {
  color: #ac7466;
  background: #faf0ec;
}
.table-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9aa292;
  border-top: 1px solid var(--line);
}
.footnote {
  margin-top: 22px;
  display: flex;
  gap: 9px;
  color: #939e90;
  font-size: 10px;
  line-height: 1.7;
}
.footnote svg {
  flex-shrink: 0;
  width: 14px;
}
.empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty h3 {
  color: #51634f;
  margin-bottom: 10px;
}
.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid #f0f0f0;
  box-shadow: 0 3px 14px #00000008;
  border-radius: 12px;
  padding: 26px;
}
.panel h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.panel > p {
  color: var(--muted);
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #61705e;
}
.field.full {
  grid-column: 1/-1;
}
input,
textarea,
select {
  min-width: 0;
}
input:not([type="checkbox"]),
textarea,
.field select {
  width: 100%;
  border: 1px solid #dfe5db;
  border-radius: 7px;
  padding: 12px;
  background: #fcfdfb;
  color: #344d3c;
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #c5d6bb;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  min-height: 92px;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  color: #7d8775;
  line-height: 1.7;
  margin-bottom: 22px;
}
.check input {
  margin-top: 2px;
}
.hint-box {
  background: #fff;
  box-shadow: 0 3px 14px #00000008;
  border-radius: 10px;
  padding: 21px;
  font-size: 12px;
  line-height: 1.7;
  color: #73846b;
}
.hint-box h3 {
  color: #4e6a42;
  margin-bottom: 12px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 22px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 35px;
  color: #7f8a77;
  font-size: 11px;
  line-height: 1.7;
  counter-increment: step;
}
.steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #cdd9c2;
  color: #70915d;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.steps strong {
  display: block;
  color: #536c48;
  font-size: 12px;
  font-weight: 500;
}
.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.space-between {
  justify-content: space-between;
}
.status-page {
  max-width: 820px;
  margin: auto;
}
.status-hero {
  padding: 30px;
  background: #edf1e6;
  border: 1px solid #e1e7d7;
  border-radius: 13px;
  margin-bottom: 20px;
}
.status-hero .row {
  margin-bottom: 15px;
}
.status-hero h2 {
  font-size: 26px;
  margin-bottom: 10px;
}
.status-hero p {
  font-size: 12px;
  color: #7b8b71;
}
.status-next-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  background: #f2f6ee;
  border-color: #dce7d5;
}
.status-next-step-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}
.status-next-step h2 {
  margin: 0 0 8px;
}
.status-next-step p {
  margin: 0;
  color: #526653;
  font-size: 14px;
  line-height: 1.6;
}
.timeline {
  margin-top: 26px;
}
.event {
  position: relative;
  padding: 0 0 26px 30px;
  min-height: 55px;
}
.event:not(:last-child):before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 0;
  border-left: 1px solid #dce7d5;
}
.event-dot {
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e4eddc;
  color: #6a8a57;
  font-size: 9px;
  display: grid;
  place-items: center;
}
.event:last-child .event-dot {
  background: var(--green);
  color: white;
}
.event strong {
  font-size: 12px;
  font-weight: 500;
}
.event time {
  display: block;
  font-size: 10px;
  color: #9aa591;
  margin-top: 6px;
}
.event p {
  font-size: 11px;
  color: #7e8c74;
  margin-top: 7px;
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.detail-header .eyebrow {
  margin-bottom: 9px;
}
.close {
  background: #f1f3ed;
  color: #7f8c76;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
}
.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
}
.detail-info {
  display: grid;
  gap: 17px;
  margin: 20px 0;
}
.detail-info dt {
  font-size: 10px;
  color: #97a18c;
  margin-bottom: 6px;
}
.detail-info dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #4d6344;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  margin-top: 15px;
}
.reward {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 3px 14px #00000008;
  border-radius: 10px;
  padding: 24px;
}
.reward h3 {
  font-size: 13px;
}
.reward .amount {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 12px 0;
}
.reward p {
  font-size: 12px;
  color: #74866b;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.reward a {
  margin-top: 17px;
}
.warning {
  padding: 12px;
  background: #fff6e9;
  color: #b28a50;
  font-size: 11px;
  border-radius: 7px;
  margin: 14px 0;
}
.invite-result {
  padding: 18px;
  background: #fff;
  box-shadow: 0 3px 14px #00000008;
  border-radius: 8px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.invite-result p {
  font-size: 11px;
  color: #7c906c;
  margin-bottom: 10px;
}
.invite-result a {
  font-size: 13px;
}
.user-list {
  margin-top: 20px;
}
.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.user-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  max-width: 800px;
  width: calc(100% - 32px);
  max-height: 90vh;
  box-shadow: 0 20px 100px #1d35252a;
  color: inherit;
}
dialog::backdrop {
  background: #253a2b55;
  backdrop-filter: blur(3px);
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b4d3d;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 12px;
  z-index: 20;
  box-shadow: 0 5px 20px #1c35282a;
  max-width: calc(100% - 30px);
  display: none;
  line-height: 1.7;
}
#toast.error {
  background: #9e5744;
}
.loading {
  padding: 100px 25px;
  text-align: center;
  color: #7d8b75;
  font-size: 14px;
}
.login {
  max-width: 460px;
  margin: 14vh auto;
  padding: 35px;
}
.login h1 {
  margin: 30px 0 15px;
}
.login p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 25px;
}
.status-lookup {
  margin: 22px 0;
  max-width: 480px;
}
.status-lookup input {
  flex: 1;
  width: 100px;
}
.metric-note {
  font-size: 10px;
  color: #9ca594;
}
.login .btn {
  width: 100%;
}
@media (min-width: 1600px) {
  .main {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 18px;
  }
  .main {
    padding: 0 25px 30px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-sub {
    margin-left: 0;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px 14px;
  }
  .layout-two {
    grid-template-columns: 1.4fr 1fr;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .section-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .welcome {
    padding: 24px;
  }
  .box-art {
    width: 100px;
  }
  .welcome h2 {
    font-size: 20px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    font-size: 22px;
  }
  .brand-mark {
    width: 30px;
    height: 33px;
  }
  .brand-sub,
  .side-note {
    display: none;
  }
  .nav {
    display: flex;
    margin-top: 18px;
    gap: 5px;
    overflow-x: auto;
  }
  .nav button {
    font-size: 11px;
    padding: 10px;
    white-space: nowrap;
  }
  .nav button svg {
    width: 15px;
  }
  .nav .count {
    display: none;
  }
  .main {
    padding: 0 18px 25px;
  }
  .topbar {
    height: 65px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .account-info {
    display: none;
  }
  .demo-toolbar {
    font-size: 10px;
    gap: 7px;
  }
  .demo-toolbar select {
    max-width: 170px;
    font-size: 10px;
  }
  .page-heading {
    margin: 26px 0 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .heading-actions {
    width: 100%;
    justify-content: flex-end;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .btn {
    font-size: 0;
    padding: 12px;
  }
  .page-heading .btn svg {
    width: 18px;
    height: 18px;
  }
  .page-heading .btn.export-csv {
    font-size: 12px;
    white-space: nowrap;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 25px;
  }
  .stat-value {
    font-size: 26px;
  }
  .welcome {
    padding: 23px 20px;
    margin-bottom: 18px;
  }
  .welcome h2 {
    font-size: 19px;
    max-width: 250px;
    line-height: 1.4;
  }
  .welcome p {
    font-size: 11px;
  }
  .box-art {
    display: none;
  }
  .layout-two {
    display: block;
  }
  .layout-two > aside {
    margin-top: 22px;
  }
  .panel {
    padding: 22px;
  }
  .form-grid {
    gap: 17px;
  }
  .filters {
    width: 100%;
    justify-content: space-between;
  }
  .filters button {
    padding: 7px 10px;
    font-size: 10px;
  }
  .table-tools {
    padding: 15px;
  }
  .table-footer {
    padding: 14px;
  }
  .detail-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  dialog {
    padding: 22px;
    max-height: 94vh;
  }
  .detail-header h2 {
    font-size: 19px;
  }
  .status-hero {
    padding: 24px;
  }
  .status-hero h2 {
    font-size: 23px;
  }
  .login {
    margin: 8vh auto;
  }
  .user-item {
    align-items: flex-start;
  }
  .reward {
    padding: 20px;
  }
}
.dashboard {
  margin-bottom: 30px;
}
.dashboard .section-bar h2 {
  font-size: 15px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-grid .stat {
  padding: 18px 15px;
}
.dashboard-grid .stat-title {
  font-size: 10px;
  min-height: 28px;
  align-items: flex-start;
  line-height: 1.5;
}
.dashboard-grid .stat-title .dot {
  flex-shrink: 0;
  margin-top: 4px;
}
.dashboard-grid .stat-value {
  font-size: clamp(20px, 2vw, 27px);
  overflow-wrap: anywhere;
}
.dashboard-grid .stat-hint {
  line-height: 1.5;
}
.invite-panels {
  display: grid;
  gap: 20px;
}
@media (max-width: 1100px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .dashboard-grid .stat:last-child {
    grid-column: 1 / -1;
  }
  .dashboard-grid .stat-value {
    font-size: 25px;
  }
  .dashboard .section-bar {
    gap: 6px;
  }
}
.partner-profile-link {
  color: var(--green, #2b5545);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partner-profile-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.partner-profile-heading > button {
  margin-bottom: 20px;
}
.back-arrow svg {
  transform: rotate(180deg);
}
.admin-partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}
.admin-partner-contact h2 {
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.admin-partner-layout textarea {
  min-height: 160px;
  resize: vertical;
}
.admin-partner-layout .detail-info dd {
  overflow-wrap: anywhere;
}
.partner-notification-result {
  font-size: 14px;
  color: #2b5545;
}
.partner-message-history-panel {
  margin-top: 24px;
}
.partner-message {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.partner-message-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 13px;
}
.partner-message-meta time {
  color: var(--muted);
}
.partner-message > p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
.directory-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 10px;
}
.directory-search .search {
  flex: 1 1 220px;
  min-width: 0;
}
.directory-search input {
  min-width: 0;
  width: 100%;
}
.directory-summary {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: 13px;
}
.directory-scroll-hint {
  display: none;
}
.directory-table {
  min-width: 450px;
}
.partner-directory-table {
  min-width: 1100px;
}
.partner-visit-time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.partner-visit-time .sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.directory-timezone {
  padding: 0 20px;
  font-size: 13px;
  color: var(--muted);
}
.directory-id {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.directory-table td {
  overflow-wrap: anywhere;
}
.directory-table td:last-child {
  white-space: nowrap;
}
[data-partner-row] {
  cursor: pointer;
}
[data-partner-row]:focus-visible {
  outline: 2px solid #2b5545;
  outline-offset: -2px;
}
.directory-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.directory-pagination > div {
  display: flex;
  gap: 8px;
}
.directory-empty {
  text-align: center;
  padding: 32px 20px;
}
.directory-section-title {
  margin: 0 0 16px;
  font-size: 18px;
}
.admin-partner-card {
  grid-column: 1;
}
.partner-card-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
#partner-notification {
  margin-top: 20px;
}
#partner-notification > button {
  margin-top: 16px;
}
@media (max-width: 760px) {
  .directory-scroll-hint {
    display: block;
    margin: 0;
    padding: 0 20px 14px;
    font-size: 12px;
    color: var(--muted);
  }
  .admin-partner-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.partner-referrals { margin-top: 24px; min-width: 0; }
.partner-referrals h2 { margin-top: 0; }
.partner-referrals .table-wrap { overflow-x: auto; }
.referral-table { width: 100%; min-width: 420px; }
.referral-table td:first-child { overflow-wrap: anywhere; max-width: 320px; }
.partner-referrals .directory-pagination { flex-wrap: wrap; gap: 12px; }
.partner-referrals[aria-busy="true"] { opacity: .7; }
.referral-table tbody tr { cursor: default; }
.referral-table tbody tr:hover { background: transparent; }
@media (max-width: 600px) {
  .referral-table { min-width: 0; white-space: normal; }
  .referral-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .referral-table, .referral-table tbody { display: block; }
  .referral-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px 0; border-top: 1px solid var(--line); }
  .referral-table td { padding: 0; border: 0; }
  .referral-table td:first-child { font-size: 14px; grid-column: 1; }
  .referral-table td:nth-child(2) { grid-column: 1; color: #6a7b70; overflow-wrap: anywhere; }
  .referral-table td:nth-child(2)::before { content: "ID "; }
  .referral-table td:nth-child(3) { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .partner-referrals .directory-pagination { padding-left: 0; padding-right: 0; }
}
