/* Final visual palette: mineral blue-green */
html {
  --navy-950: #142326;
  --navy-900: #1b2d31;
  --navy-800: #20373c;
  --navy-700: #2c494f;
  --primary: #23373d;
  --accent: #39766f;
  --accent-dark: #2b5e59;
  --accent-soft: #e8f2ef;
  --page: #f3f4ef;
  --surface: #fffefb;
  --surface-soft: #f5f6f1;
  --border: #dde3dd;
  --muted: #65736f;
  --muted-2: #96a19d;
  --success: #46755b;
  --success-soft: #edf5ef;
  --shadow-sm: 0 1px 2px rgba(27, 45, 49, 0.035);
  --shadow-card: 0 18px 45px rgba(27, 45, 49, 0.055);
}

body,
.app-shell {
  background: #f3f4ef;
}

.login-page {
  background:
    radial-gradient(circle at 18% 13%, rgba(57, 118, 111, 0.22), transparent 31%),
    radial-gradient(circle at 91% 87%, rgba(88, 112, 105, 0.15), transparent 29%),
    linear-gradient(135deg, #142326, #1d3033 58%, #263a3a);
}

.login-kicker {
  color: #d8e9e4;
  border-color: rgba(216, 233, 228, 0.15);
  background: rgba(255, 255, 255, 0.045);
}

.login-kicker-icon {
  color: #b9ddd5;
  background: rgba(57, 118, 111, 0.24);
}

.login-visual > p {
  color: rgba(235, 241, 237, 0.62);
}

.login-role {
  border-color: rgba(220, 235, 229, 0.11);
  background: rgba(255, 255, 255, 0.042);
}

.login-role:hover {
  border-color: rgba(129, 181, 166, 0.38);
  background: rgba(255, 255, 255, 0.066);
}

.login-role svg {
  color: #a9d2c8;
}

.login-card {
  color: #263a3d;
  border-color: #e2ded4;
  background: #fffdfa;
}

.login-card-head .eyebrow,
.eyebrow,
.card-kicker,
.quick-link {
  color: #39766f;
}

.btn-primary {
  background: #23383e;
  box-shadow: 0 10px 24px rgba(35, 56, 62, 0.14);
}

.btn-primary:hover:not(:disabled) {
  background: #2d474e;
}

.btn-accent {
  background: #39766f;
  box-shadow: 0 10px 24px rgba(57, 118, 111, 0.16);
}

.btn-accent:hover:not(:disabled) {
  background: #2b5e59;
}

.btn-secondary {
  color: #2d4348;
  background: #fffefb;
  border-color: #dce2dd;
}

.field input,
.field select,
.field textarea,
.input {
  color: #2a3d41;
  border-color: #dce2dd;
  background: #fffefb;
}

.site-header {
  background: rgba(20, 35, 38, 0.98);
}

.brand-mark {
  background: linear-gradient(145deg, #538d82, #2e6a66);
}

.header-nav a.active {
  background: rgba(86, 137, 126, 0.24);
}

.user-chip {
  color: #283d41;
  border-color: #dfe4de;
  background: rgba(255, 254, 251, 0.94);
}

.page-heading-context {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.warehouse-owner-text {
  padding-top: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #294d48;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.warehouse-owner-label {
  color: #5d716a;
  font-size: 12px;
  font-weight: 650;
}

.warehouse-owner-text strong {
  color: #274b46;
  font-size: 14px;
}

.warehouse-owner-region {
  color: #5d716a;
  font-size: 12px;
  font-weight: 650;
}

.inspection-toast {
  pointer-events: auto;
  min-height: 82px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #9fc8bc;
  border-radius: 15px;
  color: #24413e;
  background:
    radial-gradient(circle at 100% 0, rgba(66, 128, 116, 0.12), transparent 42%),
    #f3faf6;
  box-shadow: 0 22px 55px rgba(28, 70, 62, 0.2);
  text-decoration: none;
  animation: toast-in 0.22s ease both;
}

.inspection-toast:hover {
  border-color: #78ad9f;
  background-color: #edf7f2;
}

.inspection-toast-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #4b8379, #2f645c);
  box-shadow: 0 8px 18px rgba(44, 91, 84, 0.18);
  animation: inspection-toast-pulse 1.8s ease-in-out 2;
}

.inspection-toast-copy {
  min-width: 0;
}

.inspection-toast-copy strong,
.inspection-toast-copy p,
.inspection-toast-copy small {
  display: block;
}

.inspection-toast-copy strong {
  color: #203d3a;
  font-size: 14px;
}

.inspection-toast-copy p {
  margin-top: 3px;
  overflow: hidden;
  color: #4f675f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inspection-toast-copy small {
  margin-top: 2px;
  color: #71837c;
  font-size: 11px;
}

.inspection-toast-action {
  padding: 5px 8px;
  border: 1px solid #c4ddd5;
  border-radius: 8px;
  color: #315f58;
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

@keyframes inspection-toast-pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(68, 127, 115, 0.12);
    transform: translateY(-1px);
  }
}

.merchant-profile-bar {
  margin-top: 18px;
  padding: 15px 16px;
  display: flex;
  align-items: stretch;
  border: 1px solid #dbe7e1;
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(57, 118, 111, 0.055), transparent 45%),
    rgba(255, 254, 251, 0.94);
  box-shadow: 0 10px 28px rgba(35, 73, 68, 0.055);
}

.main-container > .merchant-profile-bar:first-child {
  margin-top: 0;
}

.merchant-profile-identity {
  min-width: 280px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #dfe9e4;
}

.merchant-profile-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #4c7e77, #295651);
  box-shadow: 0 8px 18px rgba(44, 91, 84, 0.16);
  font-size: 17px;
  font-weight: 750;
}

.merchant-profile-copy {
  min-width: 0;
}

.merchant-profile-copy > p {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #2f665e;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.merchant-profile-name {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.merchant-profile-name h2 {
  color: #1e3437;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.merchant-profile-copy > small {
  display: block;
  margin-top: 4px;
  color: #4f655f;
  font-size: 11px;
}

.merchant-profile-facts {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.merchant-profile-fact {
  min-width: 0;
  padding: 3px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-left: 1px solid #e4ebe7;
}

.merchant-profile-fact:first-child {
  border-left: 0;
}

.merchant-profile-fact-icon {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #2f665e;
  background: #e9f3ef;
}

.merchant-profile-fact > div {
  min-width: 0;
}

.merchant-profile-fact span,
.merchant-profile-fact strong {
  display: block;
}

.merchant-profile-fact > div > span {
  color: #5d7069;
  font-size: 11px;
}

.merchant-profile-fact strong {
  margin-top: 3px;
  overflow: hidden;
  color: #203d3a;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  background: linear-gradient(145deg, #4c7e77, #2e5c59);
}

.card,
.panel,
.stat-card,
.metric-card,
.quick-card,
.activity-panel {
  border-color: #dfe4de;
  background: #fffefb;
}

.feature-icon {
  color: #39766f;
  background: #e8f2ef;
}

.stat-card,
.metric-card {
  position: relative;
}

.stat-card-top,
.metric-card-top {
  display: block;
}

.stat-card-icon,
.metric-card-icon {
  position: absolute;
  top: 15px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe2dc;
  border-radius: 12px;
  color: #285f59;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), transparent),
    #e4f1ed;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85);
}

.stat-card-icon svg,
.metric-card-icon svg {
  stroke-width: 1.8;
}

.badge {
  gap: 5px;
}

.badge svg {
  opacity: 0.88;
}

.page-heading-main,
.admin-page-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-heading-icon,
.admin-heading-icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cfe2dc;
  border-radius: 15px;
  color: #2e6a63;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), transparent),
    #e6f2ee;
  box-shadow: 0 8px 20px rgba(35, 73, 68, 0.07);
}

.admin-heading-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.page-heading-main .eyebrow,
.admin-page-heading .eyebrow {
  margin-top: 1px;
}

.inline-title-icon {
  width: 27px;
  height: 27px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d2e4df;
  border-radius: 8px;
  color: #39766f;
  background: #edf6f2;
  vertical-align: middle;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.field-label-icon {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d2e4df;
  border-radius: 6px;
  color: #39766f;
  background: #edf6f2;
}

.panel-head h2:has(.inline-title-icon),
.card-section-head h2:has(.inline-title-icon) {
  display: flex;
  align-items: center;
  gap: 9px;
}

.btn svg {
  stroke-width: 2;
}

.process-step {
  position: relative;
}

.process-step .index {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #39766f;
  background: #e8f2ef;
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%),
    #17282b;
}

.admin-nav a.active {
  background: #39766f;
  box-shadow: 0 10px 24px rgba(57, 118, 111, 0.18);
}

.admin-main {
  background: #fffefb;
}

.admin-hero {
  background:
    linear-gradient(90deg, rgba(57, 118, 111, 0.035), transparent 42%),
    #f1f3ee;
}

.admin-hero h1,
.page-heading h1,
.panel-head h2,
.panel-head h3,
.card-section-head h2,
.card-section-head h3,
.quick-card h3,
.activity-panel h3 {
  color: #23373d;
}

.quick-card.highlight {
  border-color: #a9cec4;
  box-shadow: 0 0 0 1px rgba(57, 118, 111, 0.04);
}

.data-table th,
.mini-table th {
  color: #73817c;
  background: #f2f4ef;
}

.data-table td,
.ledger-row,
.activity-item {
  border-color: #e8ece7;
}

.data-table tr:hover td {
  background: #f8f9f5;
}

.data-table tr.package-row-viewed td {
  color: #87938e;
  background: #f1f3f0;
}

.data-table tr.package-row-viewed:hover td {
  background: #edf0ec;
}

.package-row-viewed .tracking-cell strong,
.package-row-viewed .tracking-cell span,
.package-row-viewed .text-muted,
.package-row-viewed .text-small {
  color: #89958f;
}

.package-row-viewed .badge.merchant_viewed {
  color: #75817c;
  border-color: #d9dfda;
  background: #e8ece8;
}

.package-row-viewed .btn {
  color: #7e8984;
  border-color: #dce2dd;
  background: #f4f5f2;
  box-shadow: none;
}

.package-row-viewed .btn svg {
  opacity: 0.62;
}

.evidence-preview-card {
  border-color: #dfe4de;
  background: #fffefb;
}

.scan-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(104, 164, 151, 0.2), transparent 36%),
    linear-gradient(135deg, #162a2e, #233d3e);
}

.management-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.management-overview-card {
  min-height: 78px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe4de;
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), transparent),
    #fbfcf9;
}

.management-overview-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cfe2dc;
  border-radius: 11px;
  color: #39766f;
  background: #e8f2ef;
}

.management-overview-card.success .management-overview-icon {
  color: #36705d;
  border-color: #c5dfd3;
  background: #ebf6ef;
}

.management-overview-card strong {
  display: block;
  color: #23373d;
  font-size: 23px;
  line-height: 1;
}

.management-overview-card div > span {
  display: block;
  margin-top: 5px;
  color: #72817b;
  font-size: 10px;
}

.management-create-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.management-form-card,
.warehouse-capability-card,
.points-account-card {
  padding: 20px;
}

.management-form-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-bottom: 1px solid #e7ebe6;
}

.management-form-head > span {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cfe2dc;
  border-radius: 10px;
  color: #39766f;
  background: #edf6f2;
}

.management-form-head h2,
.warehouse-capability-card h2,
.points-account-head h2,
.points-ledger-head h2 {
  margin-top: 2px;
  color: #23373d;
  font-size: 19px;
  line-height: 1.35;
}

.management-form-head p:last-child,
.warehouse-capability-card > p,
.points-ledger-head p {
  margin-top: 4px;
  color: #72817b;
  font-size: 10px;
  line-height: 1.55;
}

.management-list-section {
  margin-top: 18px;
}

.management-list-head {
  padding: 0 2px 13px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.management-list-head h2 {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #23373d;
  font-size: 20px;
}

.management-list-head p:not(.card-kicker) {
  margin-top: 4px;
  color: #72817b;
  font-size: 10px;
}

.management-result-count {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce4de;
  border-radius: 999px;
  color: #6c7d76;
  background: #f7f9f6;
  font-size: 10px;
  white-space: nowrap;
}

.merchant-org-card {
  padding: 20px;
  border-color: #dce3dd;
  background: #fffefb;
}

.merchant-org-head,
.warehouse-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.merchant-org-logo,
.warehouse-card-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cce0da;
  border-radius: 13px;
  color: #326d64;
  background: #e8f2ef;
  font-size: 15px;
  font-weight: 750;
}

.merchant-org-logo {
  position: relative;
}

.merchant-org-logo b {
  font-size: 15px;
}

.merchant-org-logo i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 2px solid #fffefb;
  border-radius: 50%;
  color: #fff;
  background: #39766f;
  font-style: normal;
}

.merchant-org-title,
.warehouse-card-head > div {
  min-width: 0;
  flex: 1;
}

.merchant-org-title > div,
.warehouse-card-head .row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.merchant-org-title h2,
.warehouse-card-head h2 {
  color: #23373d;
  font-size: 19px;
}

.merchant-org-title p,
.warehouse-card-head p {
  margin-top: 4px;
  color: #7a8882;
  font-size: 9px;
}

.merchant-facts,
.warehouse-facts {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.merchant-facts > div,
.warehouse-facts > div {
  padding: 12px;
  border: 1px solid #e6eae5;
  border-radius: 13px;
  background: #f8faf7;
}

.merchant-facts span,
.warehouse-facts span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7b8983;
  font-size: 9px;
  font-weight: 650;
}

.merchant-facts strong,
.warehouse-facts strong {
  display: block;
  margin-top: 6px;
  color: #2b4347;
  font-size: 12px;
}

.merchant-facts small,
.warehouse-facts small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #84918b;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-section-title {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-section-title strong {
  color: #3c5053;
  font-size: 11px;
}

.store-section-title span {
  color: #809088;
  font-size: 9px;
}

.merchant-org-card .store-grid {
  margin-top: 8px;
}

.merchant-org-card .store-card {
  display: flex;
  align-items: center;
  gap: 9px;
  border-color: #e2e8e2;
  background: #f8faf7;
}

.store-card-icon {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #39766f;
  background: #e8f2ef;
}

.merchant-org-card .store-card strong {
  display: block;
  color: #33494c;
  font-size: 11px;
}

.merchant-org-card .store-card p {
  margin-top: 2px;
}

.store-empty {
  padding: 14px;
  border: 1px dashed #dce4de;
  border-radius: 12px;
  color: #83918b;
  background: #fafbf9;
  font-size: 9px;
}

.warehouse-create-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.65fr);
}

.warehouse-capability-card {
  background:
    radial-gradient(circle at 96% 7%, rgba(57, 118, 111, 0.08), transparent 34%),
    #f5f9f6;
}

.warehouse-capability-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capability-list {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.capability-list > div {
  padding: 11px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #e1e7e1;
  border-radius: 12px;
  background: #fffefb;
}

.capability-list > div > span {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #39766f;
  background: #e8f2ef;
}

.capability-list strong {
  display: block;
  color: #34494c;
  font-size: 10px;
}

.capability-list small {
  display: block;
  margin-top: 2px;
  color: #819089;
  font-size: 9px;
}

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

.warehouse-resource-card {
  padding: 20px;
}

.warehouse-card-head .btn {
  flex: none;
}

.warehouse-address {
  margin-top: 15px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #e5eae4;
  border-radius: 12px;
  color: #65766f;
  background: #f8faf7;
  font-size: 10px;
  line-height: 1.5;
}

.warehouse-address svg {
  margin-top: 1px;
  color: #39766f;
}

.warehouse-members {
  margin-top: 13px;
}

.member-chip-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.member-chip {
  min-height: 29px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dce5df;
  border-radius: 9px;
  color: #3f5558;
  background: #fffefb;
  font-size: 9px;
  font-weight: 650;
}

.member-chip svg {
  color: #39766f;
}

.member-chip small {
  color: #819089;
  font-size: 8px;
  font-weight: 500;
}

.points-management-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.points-safety-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #77877f;
  font-size: 9px;
}

.points-safety-note svg {
  color: #39766f;
}

.points-account-head,
.points-ledger-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.points-account-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-total {
  color: #2d6860;
  font-size: 27px;
  font-weight: 750;
  line-height: 1;
  text-align: right;
}

.balance-total small {
  display: block;
  margin-top: 5px;
  color: #84918b;
  font-size: 8px;
  font-weight: 500;
}

.points-account-grid {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.points-account-item {
  min-width: 0;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e2e7e2;
  border-radius: 12px;
  background: #f8faf7;
}

.points-account-item > div {
  min-width: 0;
  flex: 1;
}

.points-account-item strong {
  display: block;
  overflow: hidden;
  color: #32484b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.points-account-item p {
  margin-top: 2px;
  overflow: hidden;
  color: #829089;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.points-account-item b {
  color: #2f6c62;
  font-size: 17px;
  font-weight: 750;
}

.points-account-avatar {
  position: relative;
}

.points-account-avatar i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 2px solid #fffefb;
  border-radius: 50%;
  color: #fff;
  background: #39766f;
  font-style: normal;
}

.points-ledger-panel {
  margin-top: 18px;
}

.points-ledger-head {
  padding: 19px 20px 15px;
}

.ledger-summary-chips {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ledger-summary-chips span {
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dce5df;
  border-radius: 999px;
  color: #74837c;
  background: #f7f9f6;
  font-size: 9px;
}

.points-ledger-table {
  min-width: 900px;
}

.ledger-merchant {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ledger-merchant .account-avatar {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  font-size: 10px;
}

.ledger-merchant strong {
  color: #34494c;
  font-size: 10px;
}

.ledger-type {
  min-height: 26px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.ledger-type-plus {
  color: #33705d;
  border-color: #cae2d7;
  background: #edf7f2;
}

.ledger-type-minus {
  color: #7b6750;
  border-color: #e4dccf;
  background: #f8f4ed;
}

.account-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-overview-card {
  min-height: 78px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dfe4de;
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), transparent),
    #fbfcf9;
}

.account-overview-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cfe2dc;
  border-radius: 11px;
  color: #39766f;
  background: #e8f2ef;
}

.account-overview-icon.success {
  color: #36705d;
  border-color: #c5dfd3;
  background: #ebf6ef;
}

.account-overview-card strong {
  display: block;
  color: #23373d;
  font-size: 23px;
  line-height: 1;
}

.account-overview-card div > span {
  display: block;
  margin-top: 5px;
  color: #72817b;
  font-size: 10px;
}

.account-card {
  margin-top: 18px;
  padding: 20px;
}

.account-form-copy {
  padding-bottom: 15px;
  border-bottom: 1px solid #e7ebe6;
}

.account-create-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: stretch;
}

#admin-account-form {
  padding: 17px;
  border: 1px solid #e3e8e2;
  border-radius: 16px;
  background: #f8faf7;
}

.account-role-guide {
  padding: 15px;
  border: 1px solid #dce5df;
  border-radius: 16px;
  background:
    radial-gradient(circle at 95% 8%, rgba(57, 118, 111, 0.08), transparent 33%),
    #f1f6f2;
}

.account-role-guide > p {
  margin-bottom: 9px;
  color: #63736c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.account-guide-row {
  padding: 10px 9px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition:
    border-color 0.16s ease,
    background 0.16s ease;
}

.account-guide-row + .account-guide-row {
  margin-top: 4px;
}

.account-guide-row > span {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #5f736c;
  background: #e7eeea;
}

.account-guide-row strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #33474a;
  font-size: 11px;
}

.account-guide-row em {
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #63736c;
  background: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-style: normal;
}

.account-guide-row p {
  margin-top: 3px;
  color: #74837d;
  font-size: 9px;
  line-height: 1.45;
}

.account-guide-row.active {
  border-color: #bad9cf;
  background: #fffefb;
}

.account-guide-row.active > span {
  color: #fff;
  background: #39766f;
}

.account-list-panel {
  margin-top: 18px;
}

.account-list-head {
  padding: 19px 20px 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.account-list-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
  color: #23373d;
  font-size: 19px;
}

.account-list-head p:not(.card-kicker) {
  margin-top: 4px;
  color: #72817b;
  font-size: 11px;
}

.account-result-count {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dce4de;
  border-radius: 999px;
  color: #6c7d76;
  background: #f7f9f6;
  font-size: 10px;
}

.account-result-count strong {
  color: #2d6860;
  font-size: 13px;
}

.account-filterbar {
  padding: 13px 18px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 155px auto;
  gap: 10px;
  border-top: 1px solid #e7ebe6;
  border-bottom: 1px solid #e1e6e0;
  background: #f8faf7;
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  color: #7a8983;
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 35px;
  border: 1px solid #dce3dd;
  border-radius: 11px;
  outline: none;
  color: #2c3f43;
  background: #fffefb;
  font-size: 11px;
}

.search-field input:focus {
  border-color: #8abeb4;
  box-shadow: 0 0 0 3px rgba(57, 118, 111, 0.09);
}

.field.compact {
  gap: 3px;
}

.field.compact > span {
  color: #77867f;
  font-size: 9px;
}

.field.compact select {
  height: 38px;
  padding-inline: 10px;
  font-size: 11px;
}

.account-clear {
  align-self: end;
  height: 38px;
}

.account-table {
  min-width: 1040px;
}

.account-row-disabled {
  background: #fbfbf9;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #cbded8;
  border-radius: 10px;
  color: #2f685f;
  background: #eaf3ef;
  font-size: 12px;
  font-weight: 750;
}

.account-avatar-warehouse {
  color: #5f6540;
  border-color: #dfe1bd;
  background: #f3f4df;
}

.account-avatar-ops {
  color: #53616f;
  border-color: #d8e0e7;
  background: #edf2f5;
}

.account-avatar-admin {
  color: #fff;
  border-color: #2e6a66;
  background: #39766f;
}

.account-identity strong {
  display: block;
  color: #243a3e;
  font-size: 12px;
}

.account-identity small {
  display: block;
  margin-top: 2px;
  color: #89968f;
  font-size: 10px;
}

.account-type-pill {
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  color: #5e7169;
  background: #f7f9f6;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.account-type-pill svg {
  color: #39766f;
}

.account-role strong {
  display: block;
  color: #34494d;
  font-size: 11px;
}

.account-role span {
  display: block;
  margin-top: 2px;
  color: #89968f;
  font-size: 9px;
}

.account-actions {
  flex-wrap: nowrap;
}

.news-page {
  padding-top: 26px;
}

.news-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 26px;
  color: #f4f8f5;
  background:
    radial-gradient(circle at 83% 15%, rgba(122, 190, 174, 0.2), transparent 31%),
    linear-gradient(135deg, #172b2f, #213b3d 64%, #264947);
  box-shadow: 0 22px 50px rgba(23, 43, 47, 0.16);
}

.news-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -105px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

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

.news-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(212, 238, 230, 0.18);
  border-radius: 999px;
  color: #cce8df;
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-hero h1 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.news-hero h1 em {
  color: #b7ddd2;
  font-style: normal;
}

.news-hero-copy > p {
  max-width: 700px;
  margin-top: 12px;
  color: rgba(235, 244, 239, 0.66);
  font-size: 12px;
  line-height: 1.75;
}

.news-hero-actions {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.news-hero-actions .btn {
  color: #193033;
  background: #c9e4dc;
}

.news-hero-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(224, 239, 232, 0.54);
  font-size: 10px;
}

.news-hero-mark {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  color: #d3eee7;
  background: rgba(255, 255, 255, 0.055);
}

.news-hero-mark span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: rgba(226, 243, 236, 0.38);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.news-shortcuts {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
}

.news-shortcuts button {
  min-height: 96px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #dde4de;
  border-radius: 14px;
  color: #2c4145;
  background: #fffefb;
  text-align: left;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease;
}

.news-shortcuts button:hover {
  border-color: #aacfc4;
  transform: translateY(-2px);
}

.news-shortcuts button > span {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #39766f;
  background: #e8f2ef;
}

.news-shortcuts small {
  color: #8a9891;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px;
}

.news-shortcuts strong {
  display: block;
  margin-top: 2px;
  color: #2c4145;
  font-size: 10px;
}

.news-shortcuts p {
  margin-top: 4px;
  color: #809089;
  font-size: 8px;
  line-height: 1.45;
}

.news-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.news-toc {
  position: sticky;
  top: 96px;
  padding: 17px;
  border: 1px solid #dde4de;
  border-radius: 17px;
  background: #fffefb;
  box-shadow: var(--shadow-sm);
}

.news-toc > p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3a514f;
  font-size: 10px;
  font-weight: 750;
}

.news-toc nav {
  margin-top: 10px;
  display: grid;
  gap: 2px;
}

.news-toc nav button {
  min-height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  color: #667770;
  background: transparent;
  font-size: 10px;
  text-align: left;
}

.news-toc nav button:hover {
  color: #2e6860;
  background: #eef6f2;
}

.news-toc nav button span {
  color: #9aa69f;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px;
}

.news-search {
  position: relative;
  display: block;
  margin-top: 12px;
}

.news-search svg {
  position: absolute;
  top: 50%;
  left: 10px;
  color: #87958f;
  transform: translateY(-50%);
}

.news-search input {
  width: 100%;
  height: 35px;
  padding: 0 10px 0 31px;
  border: 1px solid #dce4de;
  border-radius: 9px;
  outline: none;
  color: #2c4244;
  background: #f8faf7;
  font-size: 9px;
}

.news-toc-foot {
  margin-top: 12px;
  padding-top: 11px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-top: 1px solid #e7ebe6;
  color: #8a9891;
  font-size: 8px;
  line-height: 1.5;
}

.news-article {
  display: grid;
  gap: 10px;
}

.news-summary {
  padding: 15px 17px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d5e4dd;
  border-radius: 14px;
  background: #f0f7f3;
}

.news-summary > span {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #39766f;
  background: #dfeee8;
}

.news-summary strong {
  color: #315147;
  font-size: 11px;
}

.news-summary p {
  margin-top: 3px;
  color: #6f8078;
  font-size: 9px;
  line-height: 1.6;
}

.news-section {
  overflow: hidden;
  border: 1px solid #dde4de;
  border-radius: 15px;
  background: #fffefb;
}

.news-section summary {
  min-height: 70px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.news-section summary::-webkit-details-marker {
  display: none;
}

.news-section summary:hover {
  background: #f9fbf8;
}

.news-section-icon {
  width: 35px;
  height: 35px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #d1e2dc;
  border-radius: 10px;
  color: #39766f;
  background: #eaf3ef;
}

.news-section-number {
  color: #9aa59f;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 9px;
}

.news-section-title {
  min-width: 0;
  flex: 1;
}

.news-section-title strong {
  display: block;
  color: #2b4145;
  font-size: 13px;
}

.news-section-title small {
  display: block;
  margin-top: 2px;
  color: #829089;
  font-size: 9px;
}

.news-section-chevron {
  color: #8c9993;
  transition: transform 0.2s ease;
}

.news-section[open] .news-section-chevron {
  transform: rotate(180deg);
}

.news-section-body {
  padding: 0 16px 17px 60px;
  border-top: 1px solid #edf0ec;
}

.news-section-body > :first-child {
  margin-top: 15px;
}

.news-fact-grid,
.news-two-col,
.news-risk-grid,
.news-claim-grid,
.news-parcel-grid {
  display: grid;
  gap: 10px;
}

.news-fact-grid.two,
.news-two-col,
.news-risk-grid,
.news-parcel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-fact {
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #e3e8e2;
  border-radius: 12px;
  background: #f8faf7;
}

.news-fact > span {
  color: #39766f;
}

.news-fact strong,
.news-rule-panel h4,
.news-risk-card h4 {
  color: #31484b;
  font-size: 11px;
}

.news-fact p,
.news-rule-panel p,
.news-risk-card p,
.news-lead {
  margin-top: 5px;
  color: #6e8077;
  font-size: 9px;
  line-height: 1.65;
}

.news-callout {
  margin-top: 11px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-radius: 10px;
  color: #60756c;
  background: #f2f7f4;
  font-size: 9px;
  line-height: 1.6;
}

.news-callout.warning {
  color: #7a6541;
  background: #faf5e9;
}

.news-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.news-platform-card {
  padding: 12px;
  border: 1px solid #e2e8e2;
  border-radius: 12px;
  background: #f8faf7;
}

.news-platform-card > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.platform-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #2f6c63;
  background: #e4f0eb;
  font-size: 10px;
  font-weight: 750;
}

.news-platform-card strong {
  color: #344a4d;
  font-size: 10px;
}

.news-platform-card b {
  display: block;
  margin-top: 12px;
  color: #296b62;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 17px;
}

.news-platform-card p {
  margin-top: 4px;
  color: #819089;
  font-size: 8px;
  line-height: 1.45;
}

.news-two-col {
  margin-top: 10px;
}

.news-rule-panel {
  padding: 13px;
  border: 1px solid #e2e8e2;
  border-radius: 12px;
  background: #fbfcf9;
}

.news-rule-panel h4,
.news-risk-card h4 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-table-wrap {
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid #e2e8e2;
  border-radius: 12px;
}

.news-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
}

.news-table th,
.news-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #edf0ec;
  text-align: left;
}

.news-table th {
  color: #7c8a84;
  background: #f4f7f3;
  font-size: 8px;
}

.news-table tr:last-child td {
  border-bottom: 0;
}

.news-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.news-fee-card {
  padding: 13px;
  border: 1px solid #e1e7e1;
  border-radius: 12px;
  background: #f9faf7;
}

.news-fee-card span {
  color: #7c8a84;
  font-size: 9px;
}

.news-fee-card strong {
  display: block;
  margin-top: 6px;
  color: #2b6760;
  font-size: 16px;
}

.news-fee-card p {
  margin-top: 5px;
  color: #829089;
  font-size: 8px;
  line-height: 1.5;
}

.news-risk-card {
  padding: 14px;
  border: 1px solid;
  border-radius: 12px;
}

.news-risk-card.danger {
  color: #814b42;
  border-color: #ecd3ce;
  background: #fcf4f2;
}

.news-risk-card.warning {
  color: #7e6842;
  border-color: #eadfc8;
  background: #fbf7ee;
}

.news-risk-card strong {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  line-height: 1.5;
}

.news-claim-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
}

.news-claim-grid article {
  padding: 13px;
  display: grid;
  gap: 4px;
  border: 1px solid #e0e7e1;
  border-radius: 12px;
  background: #f8faf7;
}

.news-claim-grid article > span {
  color: #39766f;
}

.news-claim-grid strong {
  color: #2f5f57;
  font-size: 13px;
}

.news-claim-grid p {
  color: #809089;
  font-size: 8px;
}

.news-parcel-grid {
  margin-bottom: 10px;
}

.news-parcel-grid article {
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #e2e8e2;
  border-radius: 12px;
  background: #f9faf7;
}

.news-parcel-grid article > span {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #39766f;
  background: #e8f2ef;
}

.news-parcel-grid strong {
  color: #32494c;
  font-size: 10px;
}

.news-parcel-grid p {
  margin-top: 3px;
  color: #7d8c85;
  font-size: 8px;
  line-height: 1.55;
}

.news-source-note {
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dce4de;
  border-radius: 14px;
  color: #65776f;
  background: #f8faf7;
}

.news-source-note > svg {
  color: #39766f;
}

.news-source-note > div {
  flex: 1;
}

.news-source-note strong {
  color: #344a4d;
  font-size: 10px;
}

.news-source-note p {
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.5;
}

.news-source-note a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #39766f;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.news-no-results {
  padding: 22px;
  border: 1px dashed #d5dfd8;
  border-radius: 13px;
  color: #7d8c85;
  background: #f9faf7;
  text-align: center;
  font-size: 10px;
}

.login-switch {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #78877f;
  font-size: 13px;
}

.login-switch button {
  padding: 0;
  border: 0;
  color: #39766f;
  background: transparent;
  font-weight: 750;
}

.register-layout {
  grid-template-columns: minmax(0, 1fr) minmax(480px, 520px);
  gap: 62px;
}

.register-visual h1 {
  max-width: 620px;
}

.register-benefits {
  max-width: 680px;
  margin-top: 30px;
  display: grid;
  gap: 10px;
}

.register-benefits > div {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(220, 235, 229, 0.11);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.register-benefits > div > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #b7ddd2;
  background: rgba(82, 147, 133, 0.18);
}

.register-benefits strong {
  display: block;
  color: #eef6f1;
  font-size: 13px;
}

.register-benefits small {
  display: block;
  margin-top: 2px;
  color: rgba(231, 241, 236, 0.5);
}

.register-card {
  width: 100%;
}

.register-card .login-card-head {
  padding-bottom: 12px;
}

.register-progress {
  position: relative;
  margin-bottom: 19px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.register-progress::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 17%;
  left: 17%;
  height: 1px;
  background: #dfe5df;
}

.register-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #94a19b;
}

.register-progress li > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3dd;
  border-radius: 50%;
  background: #fffefb;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.register-progress li strong {
  font-size: 11px;
}

.register-progress li.active,
.register-progress li.done {
  color: #39766f;
}

.register-progress li.active > span,
.register-progress li.done > span {
  border-color: #39766f;
  color: #fff;
  background: #39766f;
}

.register-step-panel {
  min-height: 305px;
}

.register-panel-head {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.register-panel-head > span {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #39766f;
  background: #e8f2ef;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.register-panel-head h3 {
  color: #2c4246;
  font-size: 16px;
}

.register-panel-head p {
  margin-top: 3px;
  color: #73837b;
  font-size: 12px;
}

.register-kind-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.register-kind {
  position: relative;
  min-height: 118px;
  padding: 15px;
  display: grid;
  justify-items: start;
  gap: 6px;
  border: 1px solid #dae3dc;
  border-radius: 14px;
  color: #53665f;
  background: #f9faf7;
  text-align: left;
}

.register-kind:hover {
  border-color: #a9cec4;
}

.register-kind.selected {
  color: #295f58;
  border-color: #7fb9ad;
  background: #edf7f3;
  box-shadow: inset 0 0 0 1px rgba(57, 118, 111, 0.05);
}

.register-kind > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #39766f;
  background: #e5f0ec;
}

.register-kind strong {
  margin-top: 4px;
  font-size: 14px;
}

.register-kind small {
  color: #7e8d86;
  font-size: 11px;
}

.register-kind i {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #bcd9d0;
  border-radius: 50%;
  color: #fff;
  background: #39766f;
  font-style: normal;
}

.register-kind:not(.selected) i {
  border-color: #dce3dd;
  background: transparent;
}

.register-extra {
  margin-top: 13px;
}

.register-hint,
.register-code-notice {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.register-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 8px;
  align-items: end;
}

.register-code-btn {
  height: 42px;
  padding-inline: 9px;
}

.register-summary {
  margin-top: 14px;
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  border: 1px solid #dee6df;
  border-radius: 12px;
  background: #f6f9f6;
}

.register-summary div {
  min-width: 0;
}

.register-summary span {
  display: block;
  color: #819089;
  font-size: 11px;
}

.register-summary strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #31554e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.register-agreement {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #687971;
  font-size: 12px;
  line-height: 1.5;
}

.register-agreement input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #39766f;
}

.register-rule-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #39766f;
  font-size: 12px;
  font-weight: 650;
}

.register-error {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.register-footer {
  margin-top: 17px;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e6ebe5;
}

.register-footer .btn-primary {
  min-width: 120px;
}

.landing-page {
  min-height: 100vh;
  overflow: hidden;
  color: #24383c;
  background: #fffefb;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 74px;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(220, 228, 222, 0.9);
  background: rgba(255, 254, 251, 0.95);
  backdrop-filter: blur(18px);
}

.landing-header .brand {
  min-width: 230px;
}

.landing-header .brand-copy strong {
  color: #1f3438;
}

.landing-header .brand-copy span {
  color: #7e8c86;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-nav a {
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: #5f706a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.landing-nav a:hover,
.landing-nav a.active {
  color: #295f58;
  background: #edf6f2;
}

.landing-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-login {
  color: #3c514f;
  font-size: 13px;
  font-weight: 650;
}

.landing-login:hover {
  color: #39766f;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(57, 118, 111, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 118, 111, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 84% 14%, rgba(87, 155, 141, 0.18), transparent 30%),
    linear-gradient(120deg, #fbfcf9 0%, #edf5f1 62%, #e7f1ee 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.landing-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -210px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(57, 118, 111, 0.1);
  border-radius: 50%;
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 56px));
  min-height: 600px;
  margin: 0 auto;
  padding: 72px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 72px;
}

.landing-eyebrow {
  min-height: 31px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cfe0da;
  border-radius: 999px;
  color: #386b63;
  background: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 650;
}

.landing-hero h1 {
  max-width: 720px;
  margin-top: 20px;
  color: #20383a;
  font-size: clamp(38px, 3.9vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.landing-headline-service,
.landing-headline-price {
  display: block;
}

.landing-headline-service {
  font-size: 0.82em;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.landing-headline-price {
  margin-top: 5px;
}

.landing-hero-copy > p {
  max-width: 590px;
  margin-top: 19px;
  color: #5f716b;
  font-size: 16px;
  line-height: 1.8;
}

.landing-hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-hero-actions .btn {
  min-height: 44px;
  padding-inline: 20px;
}

.landing-offer {
  width: fit-content;
  margin-top: 14px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed #9fc6bc;
  border-radius: 9px;
  color: #326a61;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 650;
}

.landing-outline-btn {
  color: #34514e;
  border-color: #bfcfc9;
  background: rgba(255, 255, 255, 0.62);
}

.landing-metrics {
  max-width: 580px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.landing-metrics > div {
  padding-left: 15px;
  border-left: 2px solid #9fc7bb;
}

.landing-metrics strong {
  display: block;
  color: #234c46;
  font-size: 30px;
  line-height: 1;
}

.landing-metrics span {
  display: block;
  margin-top: 7px;
  color: #72827b;
  font-size: 11px;
}

.landing-hero-visual {
  position: relative;
  min-height: 420px;
}

.visual-grid {
  position: absolute;
  inset: 8% 0 4% 8%;
  transform: perspective(900px) rotateY(-8deg) rotateX(5deg);
  border-radius: 34px;
  background-image:
    linear-gradient(rgba(57, 118, 111, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 118, 111, 0.075) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle, #000 35%, transparent 78%);
}

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(57, 118, 111, 0.14);
  border-radius: 50%;
}

.orbit-a {
  inset: 0 7% 8% 9%;
}

.orbit-b {
  inset: 13% 1% 17% 20%;
}

.visual-window {
  position: absolute;
  top: 38px;
  right: 22px;
  width: min(520px, 92%);
  min-height: 334px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  background: rgba(255, 254, 251, 0.94);
  box-shadow:
    0 32px 70px rgba(38, 80, 72, 0.18),
    inset 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.visual-window-head {
  height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #e7ece7;
  background: #f8faf7;
}

.visual-window-head > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ced8d2;
}

.visual-window-head > span:first-child {
  background: #7fb9ad;
}

.visual-window-head b {
  margin-left: auto;
  color: #9aa69f;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.visual-package {
  margin: 17px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dce6e0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(57, 118, 111, 0.1), transparent 35%),
    #f1f8f4;
}

.visual-package > span {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #2f6d64;
  background: #dcece6;
}

.visual-package small {
  color: #84938c;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 8px;
}

.visual-package strong {
  display: block;
  margin-top: 4px;
  color: #284946;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 16px;
}

.visual-package p {
  margin-top: 4px;
  color: #74847d;
  font-size: 11px;
}

.visual-progress {
  margin: 0 17px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.visual-progress span {
  min-height: 31px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #e2e7e2;
  border-radius: 8px;
  color: #839089;
  background: #fafbf9;
  font-size: 9px;
  font-weight: 650;
}

.visual-progress .done {
  color: #367062;
  border-color: #bfddd3;
  background: #edf7f2;
}

.visual-progress .active {
  color: #fff;
  border-color: #39766f;
  background: #39766f;
}

.visual-assets {
  margin: 13px 17px 17px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.visual-assets > div {
  padding: 10px;
  border: 1px solid #e3e8e3;
  border-radius: 10px;
  color: #708079;
  background: #fbfcfa;
  font-size: 9px;
}

.visual-assets svg {
  margin-bottom: 7px;
  color: #39766f;
}

.visual-assets span,
.visual-assets b {
  display: block;
}

.visual-assets b {
  margin-top: 3px;
  color: #8a9791;
  font-weight: 500;
}

.visual-float {
  position: absolute;
  z-index: 2;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  color: #39766f;
  background: rgba(255, 254, 251, 0.94);
  box-shadow: 0 16px 35px rgba(38, 80, 72, 0.13);
  font-size: 9px;
}

.visual-float strong {
  display: block;
  color: #324a4c;
  font-size: 10px;
}

.float-top {
  top: 4px;
  left: 2px;
}

.float-bottom {
  right: -2px;
  bottom: 100px;
}

.landing-section {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 80px 0;
}

.landing-section-head {
  margin-bottom: 34px;
  text-align: center;
}

.landing-section-head > p {
  color: #39766f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.landing-section-head h2 {
  max-width: 760px;
  margin: 9px auto 0;
  color: #22383c;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.landing-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-service-card {
  position: relative;
  min-height: 226px;
  padding: 22px;
  border: 1px solid #dfe6df;
  border-radius: 19px;
  background: #fffefb;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.landing-service-card:hover {
  transform: translateY(-4px);
  border-color: #adcec5;
  box-shadow: 0 20px 45px rgba(37, 76, 70, 0.09);
}

.landing-card-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #a0ada7;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
}

.landing-service-icon {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #39766f;
  background: #e8f2ef;
}

.landing-service-card:nth-child(2) .landing-service-icon {
  color: #4d7180;
  background: #eaf0f3;
}

.landing-service-card:nth-child(3) .landing-service-icon {
  color: #7e7149;
  background: #f4f0e3;
}

.landing-service-card:nth-child(4) .landing-service-icon {
  color: #6f637c;
  background: #f0ecf3;
}

.landing-service-card h3 {
  margin-top: 27px;
  color: #294044;
  font-size: 17px;
}

.landing-service-card p {
  margin-top: 8px;
  color: #718079;
  font-size: 12px;
  line-height: 1.7;
}

.landing-callout {
  width: min(1240px, calc(100% - 56px));
  min-height: 104px;
  margin: 0 auto;
  padding: 19px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(131, 205, 190, 0.2), transparent 32%),
    linear-gradient(120deg, #1b3437, #2c615b);
  box-shadow: 0 22px 48px rgba(32, 72, 67, 0.16);
}

.landing-callout > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.landing-callout > div > span {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #c8ebe3;
  background: rgba(255, 255, 255, 0.1);
}

.landing-callout strong {
  display: block;
  font-size: 18px;
}

.landing-callout small {
  display: block;
  margin-top: 4px;
  color: rgba(235, 247, 242, 0.62);
}

.landing-callout .btn {
  color: #193033;
  background: #cbe7df;
}

.landing-values {
  margin-top: 80px;
  padding: 72px max(28px, calc((100vw - 1240px) / 2)) 82px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 16% 20%, rgba(94, 172, 156, 0.24), transparent 30%),
    linear-gradient(125deg, #16282c, #24474a 62%, #2e5e59);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.landing-section-head.inverse > p {
  color: #b7ddd2;
}

.landing-section-head.inverse h2 {
  color: #fff;
}

.landing-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-value-card {
  position: relative;
  min-height: 220px;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.landing-value-card > span {
  position: absolute;
  top: 17px;
  right: 19px;
  color: rgba(255, 255, 255, 0.24);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 18px;
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #d0eee6;
  background: rgba(255, 255, 255, 0.09);
}

.landing-value-card h3 {
  margin-top: 26px;
  color: #fff;
  font-size: 17px;
}

.landing-value-card p {
  margin-top: 7px;
  color: rgba(226, 239, 233, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-feature-card {
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e7e1;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(232, 243, 239, 0.54), transparent 55%),
    #fbfcfa;
}

.landing-feature-card.featured {
  border-color: #b8d8ce;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 118, 111, 0.09), transparent 30%),
    #f5faf7;
}

.feature-symbol {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #39766f;
  background: #e5f1ed;
}

.landing-feature-card > small {
  margin-top: auto;
  color: #94a19b;
  font-family: ui-monospace, Consolas, monospace;
}

.landing-feature-card h3 {
  margin-top: 6px;
  color: #294044;
  font-size: 17px;
}

.landing-feature-card p {
  margin-top: 7px;
  color: #718079;
  font-size: 12px;
  line-height: 1.7;
}

.landing-feature-card > a:not(.btn) {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #39766f;
  font-size: 11px;
  font-weight: 700;
}

.landing-feature-cta {
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(132, 203, 188, 0.23), transparent 36%),
    linear-gradient(135deg, #1a3336, #264f4c);
}

.landing-feature-cta > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #d4eee7;
  background: rgba(255, 255, 255, 0.1);
}

.landing-feature-cta h3 {
  color: #fff;
}

.landing-feature-cta p {
  color: rgba(232, 244, 238, 0.62);
}

.landing-feature-cta .btn {
  align-self: flex-start;
  margin-top: 18px;
  color: #173236;
  background: #cce8e0;
}

.landing-partners {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 20px 0 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}

.landing-partners > div {
  display: grid;
  grid-template-columns: 110px repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.landing-partners > div:last-child {
  grid-template-columns: 110px repeat(5, minmax(0, 1fr));
}

.landing-partners p {
  color: #31494c;
  font-size: 16px;
  font-weight: 750;
}

.landing-partners strong {
  color: #718079;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.landing-footer {
  color: #fff;
  background: #142629;
}

.landing-footer-main {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 42px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: center;
}

.landing-footer .brand-copy strong {
  color: #fff;
}

.landing-footer .brand-copy span {
  color: rgba(255, 255, 255, 0.45);
}

.landing-footer-main > p {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.landing-footer-main > div {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 20px;
}

.landing-footer-main > div a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.landing-footer-main > div a:hover {
  color: #d3eee6;
}

.landing-footer-bottom {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 17px 0 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

.queue-toolbar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #edf0eb;
  border-bottom: 1px solid #e2e7e1;
  background: #f7f9f5;
}

.queue-summary {
  display: flex;
  align-items: center;
  gap: 9px;
}

.queue-summary-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #cee1db;
  border-radius: 10px;
  color: #39766f;
  background: #e8f2ef;
}

.queue-summary strong {
  color: #23373d;
  font-size: 18px;
  line-height: 1;
}

.queue-summary span {
  display: block;
  margin-top: 3px;
  color: #74827d;
  font-size: 9px;
}

.queue-filter-tabs {
  padding: 3px;
  background: #e9eeea;
}

.queue-filter-tabs button {
  height: 29px;
}

.queue-filter-tabs button.active {
  color: #fffefb;
  background: #39766f;
}

.queue-current-filter {
  display: flex;
  align-items: center;
}

.queue-search {
  position: relative;
  min-width: 250px;
  margin-left: auto;
}

.queue-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  z-index: 1;
  color: #7b8b85;
  transform: translateY(-50%);
}

.queue-search input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 35px;
  border: 1px solid #dce3dd;
  border-radius: 11px;
  outline: none;
  color: #293e42;
  background: #fffefb;
  font-size: 11px;
}

.queue-search input:focus {
  border-color: #8abeb4;
  box-shadow: 0 0 0 3px rgba(57, 118, 111, 0.09);
}

.queue-table {
  min-width: 1120px;
}

.queue-table tbody tr {
  transition: background 0.16s ease;
}

.queue-table tbody tr.queue-active-row td:first-child {
  position: relative;
}

.queue-table tbody tr.queue-active-row td:first-child::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #39766f;
}

.queue-table tbody tr.queue-active-row {
  background: #fbfdfb;
}

.evidence-counts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.evidence-counts span {
  min-width: 48px;
  height: 27px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #e1e7e2;
  border-radius: 8px;
  color: #7a8983;
  background: #f5f7f4;
  font-size: 10px;
  font-weight: 700;
}

.evidence-counts span.ready {
  color: #2f705f;
  border-color: #cbe2d9;
  background: #edf7f2;
}

@media (max-width: 680px) {
  .page-heading-main,
  .admin-page-heading {
    gap: 11px;
  }

  .page-heading-context {
    width: 100%;
    align-items: stretch;
  }

  .warehouse-owner-text {
    justify-content: flex-end;
    padding-top: 0;
  }

  .merchant-profile-bar {
    padding: 14px;
    flex-direction: column;
  }

  .merchant-profile-identity {
    min-width: 0;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid #dfe9e4;
  }

  .merchant-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 12px;
  }

  .merchant-profile-fact {
    padding: 8px 10px;
  }

  .merchant-profile-fact:nth-child(odd) {
    border-left: 0;
  }

  .merchant-profile-fact:nth-child(n + 3) {
    border-top: 1px solid #e4ebe7;
  }

  .merchant-profile-fact:last-child {
    grid-column: span 2;
  }

  .page-heading-icon,
  .admin-heading-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .stat-card-icon,
  .metric-card-icon {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .inline-title-icon {
    width: 25px;
    height: 25px;
  }

  .register-layout {
    gap: 24px;
  }

  .register-benefits {
    display: none;
  }

  .register-kind-grid,
  .register-summary {
    grid-template-columns: 1fr;
  }

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

  .register-code-btn {
    width: 100%;
  }

  .register-step-panel {
    min-height: 0;
  }

  .queue-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .queue-filter-tabs {
    width: 100%;
  }

  .queue-filter-tabs button {
    flex: 1;
  }

  .queue-search {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .register-layout {
    grid-template-columns: 1fr;
  }

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

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-toc {
    position: static;
  }

  .news-toc nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .news-toc-foot {
    display: none;
  }

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

  .management-create-grid,
  .warehouse-create-grid,
  .points-management-grid {
    grid-template-columns: 1fr;
  }

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

  .account-create-layout {
    grid-template-columns: 1fr;
  }

  .account-role-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .account-role-guide > p {
    grid-column: 1 / -1;
  }

  .account-filterbar {
    grid-template-columns: minmax(220px, 1fr) 160px 145px auto;
  }
}

@media (max-width: 760px) {
  .news-hero {
    min-height: 0;
    padding: 26px 24px;
    align-items: flex-start;
  }

  .news-hero-mark {
    display: none;
  }

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

  .news-platform-card:last-child {
    grid-column: 1 / -1;
  }

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

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

  .news-section-body {
    padding-left: 16px;
  }

  .management-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .merchant-org-head,
  .warehouse-card-head {
    flex-wrap: wrap;
  }

  .merchant-org-head > .btn,
  .warehouse-card-head > .btn {
    margin-left: auto;
  }

  .merchant-facts,
  .warehouse-facts,
  .warehouse-grid,
  .points-account-grid {
    grid-template-columns: 1fr;
  }

  .points-ledger-head {
    flex-direction: column;
  }

  .account-filterbar {
    grid-template-columns: 1fr 1fr;
  }

  .account-filterbar .search-field {
    grid-column: 1 / -1;
  }

  .account-clear {
    align-self: stretch;
  }

  .account-table,
  .account-table tbody,
  .account-table tr,
  .account-table td {
    display: block;
    width: 100%;
  }

  .account-table {
    min-width: 0;
  }

  .account-table thead {
    display: none;
  }

  .account-table tbody tr {
    margin: 10px 12px;
    padding: 12px 13px;
    border: 1px solid #dfe5df;
    border-radius: 15px;
    background: #fffefb;
  }

  .account-table tbody td {
    min-height: 30px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 0;
  }

  .account-table tbody td::before {
    content: attr(data-label);
    color: #829089;
    font-size: 9px;
    font-weight: 700;
  }

  .account-table tbody td:first-child {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf0eb;
  }

  .account-table tbody td:first-child::before {
    display: none;
  }

  .account-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .news-shortcuts,
  .news-fact-grid.two,
  .news-two-col,
  .news-risk-grid,
  .news-claim-grid,
  .news-parcel-grid,
  .news-platform-grid,
  .news-fee-grid {
    grid-template-columns: 1fr;
  }

  .news-platform-card:last-child {
    grid-column: auto;
  }

  .news-source-note {
    flex-wrap: wrap;
  }

  .management-overview {
    grid-template-columns: 1fr;
  }

  .account-overview {
    grid-template-columns: 1fr;
  }

  .account-role-guide {
    grid-template-columns: 1fr;
  }

  .account-filterbar {
    grid-template-columns: 1fr;
  }

  .account-filterbar .search-field {
    grid-column: auto;
  }
}

/* Readability pass: standard body text with a 12px minimum for utility copy */
body {
  font-size: 15px;
  line-height: 1.6;
}

.btn {
  font-size: 14px;
}

.btn-small {
  font-size: 12px;
}

.field {
  font-size: 14px;
}

.field input,
.field select,
.field textarea,
.input {
  font-size: 14px;
}

.notice,
.muted-block {
  font-size: 13px;
}

.badge {
  font-size: 12px;
}

.eyebrow {
  font-size: 13px;
}

.page-heading .description,
.login-card-head p {
  font-size: 14px;
}

.card-section-head p,
.panel-head p {
  font-size: 13px;
}

.stat-card .label {
  font-size: 14px;
}

.stat-card small,
.metric-card small {
  font-size: 12px;
}

.metric-card .label {
  font-size: 13px;
}

.quick-card p {
  font-size: 13px;
}

.activity-item strong {
  font-size: 13px;
}

.activity-item p {
  font-size: 12px;
}

.activity-item time {
  font-size: 11px;
}

.admin-nav a {
  font-size: 14px;
}

.header-nav a {
  font-size: 14px;
}

.header-user strong {
  font-size: 13px;
}

.header-user span,
.brand-copy span,
.admin-brand span {
  font-size: 11px;
}

.user-chip {
  font-size: 13px;
}

.data-table {
  font-size: 13px;
}

.data-table th {
  font-size: 12px;
}

.tracking-cell span,
.detail-cell span,
.store-card p {
  font-size: 11px;
}

.detail-cell strong,
.store-card strong {
  font-size: 13px;
}

.mini-table {
  font-size: 12px;
}

.mobile-block,
.empty-state {
  font-size: 13px;
}

.step-state,
.step-title small,
.step-note {
  font-size: 11px;
}

.step-title strong,
.process-step strong {
  font-size: 13px;
}

.process-step p {
  font-size: 12px;
}

.login-card-head p {
  font-size: 12px;
}

.login-role span {
  font-size: 12px;
}

.news-hero-copy > p {
  font-size: 14px;
}

.news-hero-actions > span,
.news-toc-foot,
.news-section-body,
.news-source-note p {
  font-size: 12px;
}

.news-shortcuts small,
.news-section-number,
.news-toc nav button span {
  font-size: 10px;
}

.news-shortcuts strong,
.news-toc nav button,
.news-source-note a {
  font-size: 13px;
}

.news-shortcuts p,
.news-fact p,
.news-rule-panel p,
.news-risk-card p,
.news-lead,
.news-callout,
.news-platform-card p,
.news-fee-card p,
.news-claim-grid p,
.news-parcel-grid p,
.news-source-note p {
  font-size: 12px;
}

.news-section-title strong {
  font-size: 15px;
}

.news-section-title small {
  font-size: 12px;
}

.news-fact strong,
.news-rule-panel h4,
.news-risk-card h4,
.news-platform-card strong,
.news-parcel-grid strong {
  font-size: 13px;
}

.news-callout,
.news-risk-card strong {
  font-size: 12px;
}

.news-table {
  font-size: 12px;
}

.news-table th {
  font-size: 11px;
}

.news-fee-card span {
  font-size: 12px;
}

.news-fee-card strong {
  font-size: 18px;
}

.news-claim-grid strong {
  font-size: 15px;
}

.news-source-note strong {
  font-size: 13px;
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .news-section-body {
    padding: 0 15px 17px;
  }
}

/* Readability pass 2: component-level labels and dense data */
small {
  font-size: 12px !important;
}

.text-small,
.card-kicker,
.quick-link,
.brand-copy span,
.admin-brand span,
.header-user span {
  font-size: 12px;
}

.account-overview-card div > span,
.management-overview-card div > span {
  font-size: 12px;
}

.account-role-guide > p,
.account-result-count,
.account-type-pill,
.account-role strong,
.account-identity small {
  font-size: 12px;
}

.account-guide-row strong,
.account-guide-row p,
.account-guide-row em,
.account-role span,
.field.compact > span {
  font-size: 11px;
}

.management-form-head p:last-child,
.warehouse-capability-card > p,
.points-ledger-head p,
.management-list-head p:not(.card-kicker),
.management-result-count,
.merchant-org-title p,
.warehouse-card-head p,
.merchant-facts span,
.warehouse-facts span,
.store-section-title span {
  font-size: 12px;
}

.merchant-facts strong,
.warehouse-facts strong,
.merchant-org-card .store-card strong,
.capability-list strong,
.points-account-item strong,
.ledger-merchant strong {
  font-size: 13px;
}

.merchant-org-card .store-card p,
.store-empty,
.member-chip,
.member-chip small,
.warehouse-address,
.capability-list small,
.points-account-item p,
.ledger-summary-chips span,
.ledger-type {
  font-size: 11px;
}

.member-chip small,
.balance-total small {
  font-size: 10px;
}

.news-shortcuts small,
.news-section-number,
.news-toc nav button span,
.platform-mark {
  font-size: 11px;
}

.news-summary p {
  font-size: 12px;
}

.news-fact p,
.news-rule-panel p,
.news-risk-card p,
.news-lead,
.news-callout,
.news-platform-card p,
.news-fee-card p,
.news-claim-grid p,
.news-parcel-grid p {
  font-size: 12px;
}

.ledger-row p,
.queue-summary span,
.evidence-slot p,
.evidence-slot .slot-state,
.evidence-preview-card p {
  font-size: 12px;
}

.process-step .index {
  font-size: 11px;
}

@media (max-width: 1120px) {
  .landing-header {
    gap: 18px;
  }

  .landing-header .brand {
    min-width: 195px;
  }

  .landing-nav a {
    padding-inline: 8px;
  }

  .landing-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .landing-hero-copy {
    max-width: 780px;
  }

  .landing-hero-visual {
    width: min(700px, 100%);
    min-height: 420px;
    margin: 0 auto;
  }

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

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

  .landing-partners {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .landing-header {
    min-height: 68px;
    flex-wrap: wrap;
    padding-block: 10px;
  }

  .landing-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .landing-nav a {
    flex: none;
  }

  .landing-hero-inner {
    width: calc(100% - 36px);
    padding-top: 48px;
  }

  .landing-hero h1 {
    font-size: clamp(32px, 5.8vw, 42px);
  }

  .landing-section,
  .landing-callout,
  .landing-partners,
  .landing-footer-main,
  .landing-footer-bottom {
    width: calc(100% - 36px);
  }

  .landing-section {
    padding: 58px 0;
  }

  .landing-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-values {
    margin-top: 58px;
    padding: 54px 18px 62px;
  }
}

@media (max-width: 620px) {
  .landing-header .brand {
    min-width: 0;
  }

  .landing-actions {
    gap: 9px;
  }

  .landing-actions .btn {
    padding-inline: 11px;
  }

  .landing-hero-inner {
    min-height: 0;
    padding: 43px 0 46px;
  }

  .landing-hero-copy > p {
    font-size: 15px;
  }

  .landing-metrics {
    gap: 8px;
  }

  .landing-metrics strong {
    font-size: 26px;
  }

  .landing-metrics span {
    font-size: 10px;
  }

  .landing-hero-visual {
    min-height: 350px;
  }

  .visual-window {
    top: 35px;
    right: 0;
    width: 100%;
  }

  .visual-package {
    margin: 12px;
  }

  .visual-progress {
    margin-inline: 12px;
  }

  .visual-progress span {
    padding-inline: 4px;
    font-size: 8px;
  }

  .visual-assets {
    margin: 10px 12px 12px;
  }

  .visual-float {
    display: none;
  }

  .landing-service-grid,
  .landing-value-grid,
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-section-head {
    text-align: left;
  }

  .landing-section-head h2 {
    margin-left: 0;
  }

  .landing-partners > div,
  .landing-partners > div:last-child {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-partners p {
    grid-column: 1 / -1;
  }

  .landing-footer-main {
    grid-template-columns: 1fr;
  }

  .landing-footer-main > div {
    grid-column: 1;
    grid-row: auto;
  }

  .landing-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

.landing-partners {
  align-items: start;
  gap: 42px;
}

.landing-partners > .partner-group {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.partner-group > p {
  min-width: 86px;
  padding-top: 8px;
  color: #31494c;
  font-size: 16px;
  font-weight: 750;
}

.partner-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-chip {
  min-height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe6df;
  border-radius: 10px;
  color: #62736c;
  background: #f8faf7;
  font-size: 12px;
}

.partner-chip svg {
  color: #39766f;
  stroke-width: 1.9;
}

.partner-chip b {
  font-weight: 650;
}

.platform-taobao {
  border-color: #e9ddd3;
  color: #7c604d;
  background: #fbf6f1;
}

.platform-taobao svg {
  color: #9a6748;
}

.platform-douyin {
  border-color: #dce2e8;
  color: #596773;
  background: #f5f8fa;
}

.platform-douyin svg {
  color: #536a7b;
}

.platform-pdd {
  border-color: #eadbdd;
  color: #7d5b61;
  background: #fbf4f5;
}

.platform-pdd svg {
  color: #9a5965;
}

.platform-jd {
  border-color: #e7ded6;
  color: #786558;
  background: #faf6f2;
}

.platform-kuaishou {
  border-color: #e5dfe9;
  color: #6d5f78;
  background: #f8f5fa;
}

.evidence-chip {
  border-color: #d4e5df;
  color: #456a62;
  background: #f2f8f5;
}

@media (max-width: 900px) {
  .landing-partners {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .landing-partners > .partner-group {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .partner-group > p {
    min-width: 0;
    padding-top: 0;
  }
}

/* Original brand mark, fitted into the existing icon containers */
.brand-mark {
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fffefb;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    0 7px 18px rgba(2, 20, 29, 0.1);
}

.brand-mark img {
  width: 30px;
  height: 27px;
  object-fit: contain;
}

.login-kicker-icon {
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fffefb;
}

.login-kicker-icon img {
  width: 17px;
  height: 15px;
  object-fit: contain;
}
