:root {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  color: #20372d;
  background: #f5f7f2;
  font-synthesis: none;
  --ink: #193c30;
  --green: #215744;
  --lime: #c7f57c;
  --muted: #758078;
  --line: #e1e7de;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button,
.btn {
  border: 0;
  border-radius: 11px;
  padding: 13px 19px;
  font-weight: 650;
  font-size: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  transition:
    background 0.16s,
    transform 0.16s;
}
button:hover:not(:disabled),
.btn:hover {
  background: #306149;
}
.btn.lime,
button.lime {
  background: var(--lime);
  color: var(--ink);
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.secondary:hover:not(:disabled) {
  background: #eef3e9;
}
.ghost {
  background: transparent;
  color: inherit;
}
.ghost:hover:not(:disabled) {
  background: #e9efdf;
}
.danger {
  color: #9e4737;
  background: #fff0eb;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-weight: 650;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand span b {
  color: #648c50;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 750;
  text-transform: uppercase;
  color: #74856c;
  margin-bottom: 18px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #edf4e4;
  color: #426432;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.pill.warn {
  color: #93651d;
  background: #fff4dd;
}
.pill.bad {
  color: #a2493b;
  background: #fff0eb;
}
.pill.neutral {
  background: #eef1ed;
  color: #69766d;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.wide {
  width: 100%;
}
.empty {
  padding: 44px 20px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
.empty strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.landing {
  max-width: 1240px;
  margin: auto;
  padding: 0 48px;
}
.public-nav {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-nav nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
.hero {
  background: var(--ink);
  color: #fff;
  border-radius: 25px;
  min-height: 540px;
  padding: 66px 58px;
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  color: #c7f57c;
}
.hero h1 {
  font-size: clamp(38px, 4.5vw, 65px);
  line-height: 1.06;
  margin: 22px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero p {
  color: #b8c7bc;
  max-width: 350px;
  margin: 24px 0 30px;
  font-size: 15px;
}
.hero-note {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #b8c7bc;
  font-size: 11px;
  margin-top: 25px;
}
.hero-visual {
  align-self: center;
  position: relative;
  padding: 25px 0;
}
.message-card {
  border-radius: 18px;
  background: #f3f6ed;
  color: var(--ink);
  padding: 22px;
  box-shadow: 0 25px 60px #061e3140;
  transform: rotate(-3deg);
  max-width: 370px;
  margin: auto;
}
.message-card .row {
  padding-bottom: 16px;
  border-bottom: 1px solid #dbe3d3;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #e6f2d4;
  font-weight: 700;
  color: #366343;
  flex-shrink: 0;
}
.message-art {
  height: 125px;
  border-radius: 12px;
  background: #d9e9c7;
  margin: 17px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.message-art img {
  width: 72px;
  height: 72px;
}
.message-art strong {
  font-size: 26px;
  letter-spacing: -1px;
}
.message-card p {
  font-size: 13px;
  color: #4b6354;
  margin: 0;
  line-height: 1.7;
}
.message-card .ticks {
  font-size: 11px;
  text-align: right;
  color: #6e8974;
  margin-top: 16px;
}
.floating {
  position: absolute;
  bottom: -5px;
  right: -10px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  padding: 15px 20px;
  box-shadow: 0 12px 25px #0002;
  font-size: 12px;
  font-weight: 650;
  transform: rotate(3deg);
}
.strip {
  padding: 28px 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #71816d;
}
.section-title {
  max-width: 540px;
  margin: 64px 0 30px;
}
.section-title h2 {
  font-size: 34px;
  letter-spacing: -1px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 64px;
}
.step-number {
  font-size: 13px;
  border-top: 1px solid #c4d2bb;
  padding-top: 22px;
  color: #718f5a;
  margin-bottom: 22px;
}
.steps h3 {
  font-size: 20px;
}
.public-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: var(--ink);
  padding: 55px 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.auth-story h1 {
  font-size: 55px;
  line-height: 1.1;
  max-width: 420px;
}
.auth-story h1 span {
  color: var(--lime);
}
.auth-story p {
  color: #b4c6b6;
  max-width: 350px;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 45px;
}
.auth-form > div {
  width: 100%;
  max-width: 400px;
}
.auth-form h1 {
  font-size: 33px;
  margin-bottom: 12px;
}
.auth-form .bottom-note {
  text-align: center;
  margin-top: 25px;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 20px;
}
.field > span {
  display: block;
  margin-bottom: 9px;
}
.field small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
input:not([type='checkbox']),
textarea,
select {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dce4d7;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #82a76a;
  outline: 2px solid #d9edc8;
}
textarea {
  resize: vertical;
  min-height: 125px;
  line-height: 1.6;
}
input[type='file'] {
  font-size: 12px;
}
input[type='checkbox'] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin: 20px 0;
  color: #647360;
}
.error {
  padding: 12px 15px;
  color: #a54838;
  background: #fff0eb;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.error:empty {
  display: none;
}
.notice {
  padding: 15px 18px;
  background: #edf2e6;
  color: #62734f;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 240px;
  height: 100vh;
  padding: 30px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  font-size: 23px;
  margin-bottom: 42px;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #96a18e;
  margin: 0 12px 14px;
}
.side-nav {
  display: grid;
  gap: 7px;
}
.side-nav a {
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7b8677;
}
.side-nav a.active {
  background: #eaf3dd;
  color: #38582a;
  font-weight: 650;
}
.side-nav a:hover {
  background: #f2f5ed;
}
.nav-icon {
  font-size: 17px;
  width: 20px;
}
.sidebar-foot {
  margin-top: auto;
}
.mini-balance {
  padding: 19px;
  background: #f1f5e9;
  border-radius: 14px;
  margin-bottom: 24px;
}
.mini-balance strong {
  font-size: 28px;
  display: block;
  letter-spacing: -1px;
  margin: 9px 0;
}
.mini-balance a {
  font-size: 12px;
  font-weight: 650;
}
.profile {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.profile .name {
  font-size: 12px;
  font-weight: 650;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 84px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff90;
  font-size: 12px;
  color: var(--muted);
}
.topbar b {
  color: var(--ink);
  font-weight: 550;
}
.content {
  padding: 38px 40px 60px;
  max-width: 1500px;
  margin: auto;
}
.page-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-title .eyebrow {
  margin-bottom: 11px;
  font-size: 10px;
}
.page-title h1 {
  font-size: 32px;
  margin-bottom: 11px;
}
.page-title p {
  margin: 0;
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.grid.half {
  grid-template-columns: 1fr 1fr;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.pad {
  padding: 25px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px;
  border-bottom: 1px solid #edf0e9;
  gap: 12px;
}
.card-head h2 {
  font-size: 16px;
  margin: 0;
}
.card-head p {
  font-size: 11px;
  margin: 6px 0 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
}
.stat .value {
  display: block;
  font-size: 37px;
  letter-spacing: -1.5px;
  font-weight: 650;
  margin: 17px 0 9px;
}
.stat small {
  font-size: 11px;
  color: var(--muted);
}
.stat.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.stat.featured small {
  color: #bbccba;
}
.stat .icon {
  font-size: 20px;
  color: #8a9c75;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th {
  background: #fafbf8;
  color: #8c9785;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 16px 22px;
  white-space: nowrap;
}
td {
  padding: 18px 22px;
  border-top: 1px solid #edf0e9;
  white-space: nowrap;
}
td small {
  display: block;
  color: #97a08f;
  margin-top: 6px;
  font-size: 10px;
}
td button {
  font-size: 11px;
  padding: 8px 11px;
}
td .truncate {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.account-icon {
  background: #e7f4dd;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.account-card h3 {
  margin: 0;
}
.account-card .phone {
  margin: 23px 0;
  color: #627259;
  font-size: 17px;
}
.account-card .row.buttons {
  margin-top: 20px;
}
.account-card .row.buttons button {
  flex: 1;
  font-size: 12px;
  padding: 11px;
}
.qr {
  width: 240px;
  max-width: 100%;
  display: block;
  margin: 20px auto;
}
.phone-preview {
  border: 1px solid #dbe2d4;
  border-radius: 28px;
  max-width: 340px;
  margin: auto;
  background: #f8faf5;
  box-shadow: 0 15px 35px #2345290a;
  overflow: hidden;
}
.phone-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafff5;
  padding: 19px 18px;
  border-bottom: 1px solid #e1e7d9;
  font-size: 12px;
}
.phone-bar small {
  font-size: 9px;
  color: #8d9b83;
  display: block;
  margin-top: 4px;
}
.chat-area {
  background-color: #eaf0e1;
  background-image: radial-gradient(#a6bc8a25 1px, transparent 1px);
  background-size: 18px 18px;
  min-height: 330px;
  padding: 22px 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat-bubble {
  background: #d9f5bb;
  border-radius: 12px 0 12px 12px;
  padding: 12px;
  max-width: 100%;
  width: 92%;
  font-size: 12px;
  line-height: 1.7;
  word-break: break-word;
  color: #2f4a28;
  white-space: pre-wrap;
}
.chat-bubble img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 7px;
  margin-bottom: 10px;
  display: block;
}
.chat-bubble .time {
  display: block;
  text-align: right;
  font-size: 9px;
  color: #7d9f65;
  margin-top: 12px;
}
.phone-bottom {
  padding: 13px;
  background: #f7faf2;
  color: #b0baaa;
  font-size: 12px;
}
.preview-side {
  position: sticky;
  top: 25px;
  align-self: start;
}
.preview-side > .eyebrow {
  text-align: center;
}
.cost-box {
  margin: 22px auto 0;
  max-width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.cost-box b {
  font-size: 24px;
}
.form-section {
  padding: 25px;
  border-bottom: 1px solid #edf0e9;
}
.form-section:last-child {
  border: 0;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #9ba58f;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.section-label span {
  background: #edf3e4;
  padding: 4px 7px;
  border-radius: 5px;
  color: #6f8b54;
}
.upload-zone {
  border: 1px dashed #cbd8be;
  border-radius: 12px;
  padding: 16px;
  background: #fafcf7;
}
.upload-zone .field {
  margin-bottom: 10px;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.number-summary {
  font-size: 11px;
  color: #73905c;
  line-height: 1.7;
  margin: 10px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}
.progress {
  width: 100%;
  accent-color: #679949;
  height: 7px;
}
.pending-screen {
  max-width: 520px;
  margin: 85px auto;
  text-align: center;
  padding: 35px;
}
.pending-icon {
  background: #e8f1d8;
  width: 80px;
  height: 80px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  font-size: 34px;
}
.pending-screen h1 {
  font-size: 33px;
}
.notification {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.notification small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.credit-history {
  max-height: 220px;
  overflow-y: auto;
}
.credit-history .notification {
  padding: 12px 0;
}
.credit-history .row {
  align-items: flex-start;
  gap: 16px;
}
.send-error {
  white-space: normal;
  max-width: 300px;
  margin-bottom: 8px;
}
.notification.unread {
  background: #f5f9ed;
}
.footer-note {
  padding: 0 40px 25px;
  color: #a2ac9a;
  font-size: 10px;
}
.image-preview {
  max-width: 150px;
  border-radius: 8px;
  margin: 12px 0;
}
.admin-counts {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  font-size: 12px;
}
.admin-counts b {
  font-size: 21px;
  display: block;
  margin-bottom: 5px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  width: 500px;
  max-width: calc(100vw - 30px);
  color: var(--ink);
  box-shadow: 0 30px 100px #122e2640;
}
dialog::backdrop {
  background: #0e2c2666;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #183b30;
  color: white;
  padding: 16px 23px;
  box-shadow: 0 8px 30px #0002;
  z-index: 100;
  font-size: 13px;
  max-width: 90vw;
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1450px) {
  .hero {
    padding: 80px 70px;
  }
  .content {
    padding: 45px 55px;
  }
  .topbar {
    padding: 0 55px;
  }
}
@media (max-width: 1000px) {
  .landing {
    padding: 0 25px;
  }
  .hero {
    padding: 45px 35px;
    gap: 20px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .sidebar {
    width: 200px;
    padding: 26px 15px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .preview-side {
    position: static;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat .value {
    font-size: 29px;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
}
@media (max-width: 700px) {
  .public-nav {
    height: 85px;
  }
  .public-nav nav > a:not(.btn) {
    display: none;
  }
  .brand {
    font-size: 23px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 27px;
    border-radius: 18px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-visual {
    padding: 15px 0 30px;
  }
  .message-card {
    max-width: 310px;
  }
  .floating {
    right: 0;
    bottom: 10px;
  }
  .strip {
    flex-wrap: wrap;
    font-size: 11px;
    gap: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-bottom: 30px;
  }
  .section-title {
    margin-top: 40px;
  }
  .section-title h2 {
    font-size: 29px;
  }
  .public-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 28px;
    gap: 35px;
  }
  .auth-story h1 {
    font-size: 32px;
    margin-bottom: 0;
  }
  .auth-story p,
  .auth-story > small {
    display: none;
  }
  .auth-form {
    padding: 35px 25px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    padding: 20px;
  }
  .sidebar .brand {
    margin-bottom: 20px;
  }
  .nav-caption,
  .sidebar-foot {
    display: none;
  }
  .side-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    gap: 5px;
  }
  .side-nav a {
    white-space: nowrap;
    font-size: 11px;
    padding: 10px;
  }
  .nav-icon {
    font-size: 14px;
    width: auto;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
    font-size: 10px;
  }
  .topbar .avatar {
    display: none;
  }
  .content {
    padding: 25px 18px 40px;
  }
  .page-title {
    flex-wrap: wrap;
  }
  .page-title h1 {
    font-size: 28px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .stat .value {
    margin: 0;
  }
  .stat small {
    display: none;
  }
  .grid.three,
  .grid.half {
    grid-template-columns: 1fr;
  }
  .form-section,
  .pad {
    padding: 20px;
  }
  .two-fields {
    gap: 10px;
  }
  .card-head {
    padding: 20px;
  }
  .footer-note {
    padding-left: 20px;
  }
  td,
  th {
    padding: 14px;
  }
  .pending-screen {
    margin: 40px auto;
  }
  .page-title > .btn {
    font-size: 12px;
  }
  .actions button {
    flex: 1;
  }
  button,
  .btn {
    padding: 12px 15px;
  }
}
[hidden] {
  display: none !important;
}
.space-top {
  margin-top: 24px;
}
