@charset "UTF-8";
:root {
  --green: #234d39;
  --green-soft: #e8eee6;
  --ink: #24382d;
  --muted: #7d887d;
  --line: #e4e8df;
  --paper: #f5f6f0;
  --cream: #f1ead8;
  --orange: #bd6d36;
  --red: #b64e42;
  --serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.6 var(--sans);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bb9f52;
  outline-offset: 3px;
}
input,
select,
textarea {
  border: 1px solid #dce1d7;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  max-width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9bb19c;
  outline-offset: 1px;
}
input[type='checkbox'] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
}
textarea {
  resize: vertical;
  min-height: 88px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
}
h2 {
  font-size: 21px;
}
h3 {
  font-size: 16px;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.workbench {
  min-height: 80px;
  padding: 14px 36px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: bold;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--green);
  color: #f6e8bb;
  border-radius: 50%;
  font: 28px var(--serif);
}
.brand-sub {
  display: block;
  font-weight: normal;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-top: 3px;
}
.workbench nav {
  display: flex;
  gap: 8px;
}
.workbench nav a {
  padding: 10px 17px;
  border-radius: 7px;
  color: #758073;
  font-size: 13px;
  white-space: nowrap;
}
.workbench nav a.active {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.bench-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.demo-pill {
  font-size: 11px;
  color: #74816c;
  white-space: nowrap;
}
.demo-pill i {
  display: inline-block;
  background: #92a778;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.text-button {
  background: transparent;
  color: var(--green);
  padding: 5px 0;
  font-size: 12px;
}
.primary,
.secondary,
.danger,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 11px 19px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}
.secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
}
.danger {
  background: #f9e9e3;
  color: #a04738;
}
.primary:hover {
  background: #326247;
}
.secondary:hover {
  background: #f3f6ee;
}
.full {
  width: 100%;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}
.muted {
  color: var(--muted);
}
.positive {
  color: #457c50;
}
.negative {
  color: var(--orange);
}
.pill {
  display: inline-block;
  background: #eef3e8;
  color: #577451;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.pill.orange {
  color: #aa713c;
  background: #fbefde;
}
.pill.red {
  color: #ac5946;
  background: #f8e9e4;
}
.pill.gray {
  color: #7b847a;
  background: #eff0eb;
}
.serif {
  font-family: var(--serif);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
/* Review workspace and a faithful narrow mini-program viewport. */
.mini-stage {
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 410px minmax(200px, 1fr);
  gap: 58px;
  padding: 40px 42px 48px;
  align-items: start;
}
.stage-intro {
  padding: 68px 0 0;
}
.stage-intro .eyebrow {
  letter-spacing: 3px;
}
.stage-intro h1 {
  font: 37px/1.5 var(--serif);
  margin: 18px 0 20px;
  letter-spacing: 3px;
}
.stage-intro p {
  font-size: 13px;
  color: var(--muted);
  max-width: 270px;
  line-height: 1.95;
}
.mini-map {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  gap: 6px;
  max-width: 252px;
}
.mini-map a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 11px 13px;
  border-radius: 7px;
  color: #7a8577;
  font-size: 12px;
}
.mini-map a span {
  font-size: 10px;
  letter-spacing: 1px;
  color: #96a18e;
}
.mini-map a.active {
  background: #e7ecdf;
  color: var(--green);
}
.stage-notes {
  padding: 95px 0 0;
}
.stage-notes h3 {
  font: 19px var(--serif);
  margin-bottom: 22px;
}
.journey {
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey li {
  padding: 0 0 23px 32px;
  border-left: 1px solid #d9dfd0;
  position: relative;
  font-size: 12px;
  max-width: 260px;
}
.journey li:before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  left: -4px;
  top: 6px;
  background: #a4b295;
}
.journey li b {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}
.journey li p {
  color: var(--muted);
  line-height: 1.8;
}
.note-card {
  padding: 18px;
  background: #edeee4;
  border-radius: 8px;
  margin-top: 24px;
  max-width: 270px;
  font-size: 11px;
  color: #858b7e;
  line-height: 1.9;
}
.note-card a {
  display: block;
  color: var(--green);
  margin-top: 10px;
}
.phone {
  background: #fff;
  border: 7px solid #fff;
  border-radius: 38px;
  box-shadow:
    0 16px 55px #344d3420,
    0 0 0 1px #dde2d5;
  overflow: hidden;
  position: relative;
  width: 410px;
  display: flex;
  flex-direction: column;
  height: 810px;
}
.phone-status {
  height: 30px;
  padding: 9px 23px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: bold;
  background: #fff;
}
.phone-status .signal {
  letter-spacing: 2px;
  font-size: 9px;
}
.mini-header {
  height: 54px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  position: relative;
  background: #fff;
}
.mini-header > span {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.capsule {
  position: absolute;
  right: 9px;
  border: 1px solid #e8eae3;
  border-radius: 15px;
  padding: 2px 10px;
  font-size: 11px;
  letter-spacing: 3px;
}
.mini-header.has-back .capsule {
  display: none;
}
.back-btn {
  position: absolute;
  left: 12px;
  background: transparent;
  padding: 7px;
}
.mini-scroll {
  background: #f6f7f1;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #d8ddcf transparent;
  scroll-behavior: smooth;
}
.mini-footer {
  height: 65px;
  min-height: 65px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--line);
  padding-bottom: 4px;
}
.mini-footer a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  color: #9ba290;
  font-size: 10px;
  width: 50%;
}
.mini-footer a.active {
  color: var(--green);
  font-weight: bold;
}
.mini-footer .icon {
  width: 22px;
  height: 22px;
}
.phone-bottom {
  height: 11px;
  min-height: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.phone-bottom:before {
  content: '';
  height: 3px;
  width: 110px;
  border-radius: 3px;
  background: #25362b;
}
.mini-pad {
  padding: 17px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef0e8;
  border-radius: 8px;
  padding: 0 12px;
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  outline: none;
}
.search .icon {
  width: 16px;
  color: #7d8977;
}
.hero {
  background: #e9e9d6;
  height: 172px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  padding: 20px;
}
.hero .landscape {
  position: absolute;
  width: 100%;
  height: 100%;
  right: -26px;
  bottom: -12px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #4c7051;
  font-size: 8px;
  letter-spacing: 2px;
}
.hero h2 {
  font: 28px/1.4 var(--serif);
  letter-spacing: 2px;
  color: #29482f;
  margin-top: 7px;
}
.hero .hero-caption {
  font-size: 10px;
  color: #5e7052;
  margin-top: 8px;
}
.hero .round-label {
  position: absolute;
  right: 20px;
  top: 17px;
  border: 1px solid #6b8355;
  color: #527046;
  border-radius: 50%;
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  font: 10px/1.4 var(--serif);
  text-align: center;
}
.benefits {
  display: flex;
  justify-content: space-between;
  color: #7c8872;
  font-size: 9px;
  padding: 12px 1px;
}
.benefits .icon {
  width: 12px;
  height: 12px;
  margin-right: 3px;
}
.balance-strip {
  background: #fff;
  border: 1px solid #e3e7dc;
  border-radius: 9px;
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin: 1px 0 16px;
}
.balance-strip b {
  font-size: 16px;
  font-family: Georgia, serif;
  margin-left: 6px;
  font-weight: normal;
}
.balance-strip a {
  color: #77876a;
  font-size: 10px;
  display: flex;
  align-items: center;
}
.balance-strip .icon {
  width: 13px;
}
.category-tabs {
  display: flex;
  overflow: auto;
  scrollbar-width: none;
  gap: 20px;
  border-bottom: 1px solid #e2e6da;
  margin-bottom: 17px;
}
.category-tabs button {
  background: transparent;
  white-space: nowrap;
  padding: 8px 0 10px;
  color: #8a9283;
  font-size: 12px;
  position: relative;
}
.category-tabs button.active {
  color: var(--green);
  font-weight: bold;
}
.category-tabs button.active:after {
  content: '';
  height: 3px;
  border-radius: 2px;
  background: var(--green);
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
}
.section-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-line h3 {
  font: 18px var(--serif);
}
.section-line small {
  font-size: 9px;
  letter-spacing: 1px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #edf0e6;
  display: block;
  text-align: left;
  width: 100%;
  padding: 0;
  color: var(--ink);
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
}
.product-art {
  display: block;
  width: 100%;
  height: auto;
}
.product-copy {
  padding: 10px 11px 13px;
}
.product-copy h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-copy p {
  font-size: 10px;
  color: #9a9e8d;
  margin-bottom: 9px;
}
.price {
  color: var(--orange);
  font:
    23px/1.2 Georgia,
    serif;
  white-space: nowrap;
}
.price i {
  font-size: 12px;
  font-style: normal;
  margin-right: 2px;
}
.product-copy .price {
  font-size: 20px;
}
.plus-dot {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}
.plus-dot .icon {
  width: 12px;
  height: 12px;
}
.mini-footnote {
  font-size: 9px;
  color: #a0a793;
  text-align: center;
  letter-spacing: 1px;
  margin: 23px 0 6px;
}
.detail-art {
  position: relative;
}
.detail-art .product-art {
  height: 270px;
  object-fit: cover;
}
.detail-art .pill {
  position: absolute;
  bottom: 14px;
  left: 18px;
  background: #ffffffd9;
}
.mini-panel {
  background: #fff;
  border-radius: 11px;
  padding: 16px;
  margin: 12px 16px;
  border: 1px solid #edf0e7;
}
.mini-panel h2 {
  font-size: 19px;
  margin: 7px 0;
}
.mini-panel p {
  font-size: 12px;
  line-height: 1.85;
  color: #89927e;
}
.detail-spec {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  font-size: 12px;
  padding: 7px 0;
}
.detail-spec dt {
  color: #929a89;
}
.detail-spec dd {
  margin: 0;
}
.mini-actionbar {
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--line);
  min-height: 74px;
}
.mini-actionbar .primary {
  flex: 1;
  font-size: 13px;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.quantity button {
  width: 30px;
  height: 31px;
  background: #f5f7ef;
}
.quantity span {
  min-width: 33px;
  text-align: center;
  font-size: 12px;
}
.checkout-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.checkout-product .product-art {
  width: 78px;
  border-radius: 8px;
}
.checkout-product h3 {
  font-size: 12px;
}
.checkout-product p {
  font-size: 10px;
  margin-top: 3px;
}
.checkout-product .price {
  font-size: 19px;
  margin-top: 8px;
}
.address-card {
  width: calc(100% - 32px);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.address-card p {
  font-size: 11px;
  margin-top: 6px;
}
.address-card b {
  font-size: 13px;
}
.address-card .icon:first-child {
  color: #8a9d7a;
}
.address-card .icon:last-child {
  width: 15px;
  margin-left: auto;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 9px 0;
}
.summary-line .muted {
  font-size: 11px;
}
.summary-total {
  border-top: 1px dashed #dce1d3;
  margin-top: 9px;
  padding-top: 15px;
}
.info-banner {
  font-size: 11px;
  background: #edf2e4;
  color: #667d54;
  line-height: 1.8;
  border-radius: 7px;
  padding: 10px 12px;
}
.info-banner.warn {
  background: #fcf0dc;
  color: #a77b3d;
}
.mini-field {
  display: block;
  font-size: 12px;
  margin-top: 13px;
}
.mini-field textarea,
.mini-field input {
  display: block;
  width: 100%;
  margin-top: 7px;
  font-size: 12px;
}
.profile-top {
  padding: 24px 20px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #e1e8d3;
  color: #697e4f;
  font: 25px var(--serif);
}
.profile-top h2 {
  font: 21px var(--serif);
}
.profile-top p {
  font-size: 10px;
  color: #929b86;
  margin-top: 5px;
}
.wallet-card {
  background: #254e39;
  margin: 0 17px 20px;
  padding: 23px 20px;
  color: #fff;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.wallet-card:after {
  content: '';
  position: absolute;
  right: -30px;
  top: 45px;
  width: 170px;
  height: 170px;
  border: 1px solid #a7bd7933;
  border-radius: 50%;
  box-shadow:
    0 0 0 22px #9bb56a10,
    0 0 0 44px #9bb56a08;
}
.wallet-card small {
  color: #bbcbb4;
}
.wallet-amount {
  font:
    39px Georgia,
    serif;
  letter-spacing: 1px;
  margin: 8px 0 16px;
}
.wallet-amount span {
  font-size: 20px;
  margin-right: 8px;
}
.wallet-card .row {
  font-size: 10px;
  color: #c7d4bc;
  position: relative;
  z-index: 1;
}
.wallet-card a {
  display: flex;
  align-items: center;
}
.wallet-card .icon {
  width: 12px;
}
.order-shortcuts {
  display: flex;
  justify-content: space-around;
  margin-top: 19px;
}
.order-shortcuts a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #75866a;
}
.order-shortcuts .icon {
  width: 25px;
  height: 25px;
}
.menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 12px;
  border-bottom: 1px solid #edf0e7;
}
.menu-link:last-child {
  border: 0;
}
.menu-link > .icon {
  width: 15px;
  color: #9aa48d;
}
.menu-link .flex > .icon {
  width: 18px;
  color: #779064;
}
.order-card {
  margin: 12px 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e8ede1;
  border-radius: 10px;
}
.order-card > .row:first-child {
  font-size: 10px;
  margin-bottom: 13px;
}
.order-card .checkout-product {
  cursor: pointer;
}
.order-card .checkout-product .product-art {
  width: 69px;
}
.order-card .order-total {
  font-size: 12px;
  text-align: right;
  margin-top: 12px;
}
.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.order-actions button,
.order-actions a {
  font-size: 11px;
  padding: 6px 10px;
}
.mini-order-tabs {
  padding: 0 16px;
  margin: 0;
  gap: 23px;
  background: #fff;
}
.empty {
  text-align: center;
  padding: 55px 22px;
  color: #9ca68f;
  font-size: 13px;
}
.empty .icon {
  display: block;
  margin: 0 auto 16px;
  width: 39px;
  height: 39px;
}
.empty .primary {
  margin-top: 20px;
}
.status-banner {
  padding: 24px;
  background: #e5eddd;
  color: #3c623c;
}
.status-banner h2 {
  font: 23px var(--serif);
  margin-bottom: 7px;
}
.status-banner p {
  font-size: 11px;
}
.status-banner .icon {
  width: 33px;
  height: 33px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.ledger-row p {
  font-size: 10px;
  color: #8c9780;
  margin-top: 4px;
}
.ledger-row .amount {
  font:
    18px Georgia,
    serif;
  text-align: right;
}
.success-splash {
  text-align: center;
  padding: 38px 20px 24px;
}
.success-splash > span {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0ead7;
  color: #557c45;
  margin: 0 auto 20px;
}
.success-splash .icon {
  width: 32px;
  height: 32px;
}
.success-splash h2 {
  font: 26px var(--serif);
}
.success-splash p {
  font-size: 12px;
  color: #8b9781;
  margin-top: 10px;
}
.success-splash .price {
  display: block;
  margin: 22px 0;
}
.success-splash .primary {
  margin-top: 23px;
  width: 100%;
}
/* Operations console. */
.admin-shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: calc(100vh - 80px);
}
.admin-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 29px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-side .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  padding: 0 15px;
  margin-bottom: 12px;
}
.admin-side a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 7px;
  font-size: 13px;
  color: #7e8877;
}
.admin-side a .icon {
  width: 18px;
  height: 18px;
}
.admin-side a.active {
  background: var(--green);
  color: #fff;
}
.admin-side .side-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.side-bottom p {
  font-size: 10px;
  color: #a1a895;
  margin: 10px 15px;
}
.admin-main {
  padding: 32px 36px;
  max-width: 1700px;
  width: 100%;
  margin: auto;
}
.admin-head {
  margin-bottom: 28px;
}
.admin-head h1 {
  font: 29px/1.4 var(--serif);
  letter-spacing: 1px;
}
.admin-head p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.admin-role {
  display: flex;
  align-items: center;
  gap: 11px;
}
.admin-role .avatar {
  width: 35px;
  height: 35px;
  font-size: 18px;
}
.admin-role select {
  background: transparent;
  border: 0;
  font-size: 12px;
  max-width: 160px;
  padding: 5px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  margin-bottom: 24px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 23px;
  border-radius: 11px;
  position: relative;
}
.metric.highlight {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.metric > small {
  font-size: 11px;
  letter-spacing: 0.5px;
}
.metric .metric-value {
  font:
    34px Georgia,
    serif;
  margin: 12px 0 10px;
  letter-spacing: 1px;
}
.metric .metric-value i {
  font-size: 20px;
  font-style: normal;
}
.metric p {
  font-size: 10px;
  color: #86957b;
}
.metric.highlight small,
.metric.highlight p {
  color: #bdcfb1;
}
.metric > .icon {
  position: absolute;
  right: 20px;
  top: 21px;
  color: #9cad8b;
  width: 21px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.panel-head {
  padding: 21px 23px 15px;
}
.panel-head h2 {
  font-size: 15px;
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.panel-body {
  padding: 12px 23px 24px;
}
.todo-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.todo-row:last-child {
  border-bottom: 0;
}
.todo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f0f3e9;
  color: #7c9161;
  border-radius: 9px;
}
.todo-row strong {
  font-size: 12px;
  font-weight: 500;
}
.todo-row p {
  font-size: 10px;
  color: #97a18a;
}
.todo-row .todo-count {
  font:
    24px Georgia,
    serif;
  margin-left: auto;
}
.chart {
  height: 170px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
  padding: 0 8px 24px;
  position: relative;
  background: repeating-linear-gradient(
    to top,
    transparent,
    transparent 41px,
    #eff1e9 41px,
    #eff1e9 42px
  );
}
.bar-group {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}
.bar {
  background: #a7b893;
  border-radius: 4px 4px 0 0;
  width: 65%;
  min-height: 3px;
  max-width: 40px;
  position: relative;
}
.bar-group:last-child .bar {
  background: var(--green);
}
.bar-group small {
  position: absolute;
  bottom: -23px;
  font-size: 9px;
  color: #a0a68f;
}
.bar .bar-value {
  position: absolute;
  top: -20px;
  font-size: 9px;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  color: #839573;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.toolbar .search {
  min-width: 260px;
  max-width: 380px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
}
.toolbar .search input {
  padding: 11px 0;
}
.toolbar select {
  font-size: 12px;
  height: 41px;
}
.toolbar .spacer {
  flex: 1;
}
.toolbar .primary,
.toolbar .secondary {
  font-size: 12px;
  padding: 11px 16px;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f8f9f4;
  font-size: 10px;
  color: #88937e;
  font-weight: normal;
  padding: 13px 23px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 23px;
  font-size: 12px;
  border-bottom: 1px solid #edf0e6;
}
tbody tr:last-child td {
  border-bottom: 0;
}
td small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
}
td .product-art {
  width: 47px;
  height: 43px;
  object-fit: cover;
  border-radius: 6px;
}
.table-product {
  display: flex;
  align-items: center;
  gap: 11px;
}
.table-actions {
  display: flex;
  gap: 12px;
}
.table-actions button {
  background: transparent;
  color: var(--green);
  padding: 0;
  font-size: 11px;
}
.table-actions .bad {
  color: var(--red);
}
.table-footer {
  padding: 14px 23px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #929d87;
}
.balance-summary {
  background: #ebefdf;
  border: 1px solid #e1e7d4;
  border-radius: 10px;
  margin-bottom: 22px;
  padding: 20px 25px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.balance-summary .number {
  font:
    29px Georgia,
    serif;
  color: #48613d;
  margin-top: 5px;
}
.balance-summary small {
  font-size: 11px;
}
.admin-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.admin-tabs button {
  background: transparent;
  padding: 6px 0 13px;
  font-size: 12px;
  color: #939b88;
}
.admin-tabs button.active {
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-weight: bold;
}
.order-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 23px;
}
.kv {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  row-gap: 16px;
  font-size: 12px;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.timeline {
  border-left: 1px solid #d9e1cb;
  margin: 15px 0 0 7px;
  padding-left: 24px;
}
.timeline div {
  position: relative;
  padding: 0 0 24px;
  font-size: 12px;
}
.timeline div:before {
  content: '';
  position: absolute;
  left: -28px;
  top: 7px;
  width: 7px;
  height: 7px;
  background: #7b9961;
  border-radius: 50%;
}
.timeline small {
  display: block;
  margin-top: 4px;
}
.prototype-notice {
  font-size: 10px;
  color: #9ba38f;
  margin-top: 23px;
  text-align: center;
}
/* Dialogs, validation and small screens. */
dialog {
  width: min(510px, calc(100% - 32px));
  padding: 27px;
  border: 1px solid #dce2d2;
  border-radius: 15px;
  color: var(--ink);
  box-shadow: 0 24px 80px #1e382c30;
  max-height: 85vh;
  overflow: auto;
}
dialog::backdrop {
  background: #1e382c55;
  backdrop-filter: blur(3px);
}
.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-top h2 {
  font: 23px var(--serif);
}
.icon-button {
  display: grid;
  place-items: center;
  background: #f0f3e9;
  color: #738563;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.icon-button .icon {
  width: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 15px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-size: 12px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.form-actions button {
  font-size: 12px;
}
.field-hint {
  font-size: 11px;
  color: #99a18d;
  margin-top: -6px;
  margin-bottom: 15px;
  line-height: 1.8;
}
.form-error {
  color: var(--red);
  background: #fbede6;
  font-size: 12px;
  padding: 9px 12px;
  border-radius: 7px;
  display: none;
  line-height: 1.7;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-top: 12px;
}
.address-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: #fff;
}
.address-option.selected {
  border-color: #7e9a6a;
  background: #f5f7ef;
}
.address-option p {
  font-size: 12px;
  color: #8c9880;
  margin-top: 6px;
}
.notice-text {
  font-size: 12px;
  color: #8b947f;
  line-height: 1.9;
}
.modal-money {
  font:
    35px Georgia,
    serif;
  margin: 18px 0;
  text-align: center;
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #234b39;
  color: #fff;
  border-radius: 8px;
  padding: 13px 22px;
  z-index: 50;
  max-width: 90vw;
  font-size: 12px;
  box-shadow: 0 8px 30px #1e382c30;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.error-screen {
  padding: 70px;
  text-align: center;
}
.hide {
  display: none !important;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mini-pad,
.admin-main {
  animation: enter 0.35s ease-out;
}
.search input {
  min-width: 0;
  flex: 1;
}
.search button {
  flex-shrink: 0;
  white-space: nowrap;
}
.hero {
  height: 156px;
}
.hero .landscape {
  width: 76%;
  right: -57px;
  bottom: -22px;
}
.hero h2 {
  font-size: 26px;
}
.hero .hero-caption {
  font-size: 9px;
}
.hero .round-label {
  right: 15px;
  top: 13px;
}
@media (min-width: 1500px) {
  .mini-stage {
    gap: 85px;
    padding-top: 48px;
  }
  .phone {
    height: 830px;
  }
}
@media (max-width: 1150px) {
  .mini-stage {
    gap: 26px;
    grid-template-columns: 1fr 395px;
    padding: 30px;
  }
  .phone {
    width: 395px;
  }
  .stage-notes {
    display: none;
  }
  .stage-intro {
    padding-left: 18px;
  }
  .admin-main {
    padding: 26px 22px;
  }
  .admin-shell {
    grid-template-columns: 180px 1fr;
  }
  .admin-side {
    padding: 25px 12px;
  }
  .metrics {
    gap: 12px;
  }
  .metric {
    padding: 18px 15px;
  }
  .metric .metric-value {
    font-size: 27px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .workbench {
    padding: 14px 22px;
    gap: 15px;
  }
  .bench-actions .demo-pill {
    display: none;
  }
  th,
  td {
    padding-left: 17px;
    padding-right: 17px;
  }
}
@media (max-width: 800px) {
  .workbench {
    flex-wrap: wrap;
    padding: 12px 18px;
    gap: 12px;
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
  .brand-sub {
    font-size: 8px;
  }
  .workbench nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 5px;
  }
  .workbench nav a {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 12px;
  }
  .bench-actions {
    margin-left: auto;
  }
  .mini-stage {
    display: flex;
    justify-content: center;
    padding: 25px 15px;
  }
  .stage-intro {
    display: none;
  }
  .phone {
    height: 800px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-side {
    flex-direction: row;
    overflow: auto;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    border-right: 0;
    gap: 4px;
  }
  .admin-side a {
    padding: 9px 12px;
    white-space: nowrap;
    font-size: 11px;
    gap: 6px;
  }
  .admin-side .eyebrow,
  .admin-side .side-bottom {
    display: none;
  }
  .admin-side a .icon {
    width: 16px;
  }
  .admin-main {
    padding: 23px 17px;
  }
  .admin-head h1 {
    font-size: 24px;
  }
  .admin-role .avatar {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-grid,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
  .metric .metric-value {
    font-size: 28px;
  }
  .balance-summary {
    padding: 17px;
    gap: 20px;
  }
  .balance-summary .number {
    font-size: 23px;
  }
  .admin-head.row {
    align-items: start;
  }
  .toolbar .search {
    min-width: 180px;
  }
  .table-wrap {
    border-radius: 9px;
  }
  .admin-head p {
    max-width: 230px;
  }
  .admin-tabs {
    gap: 20px;
  }
  .admin-role select {
    max-width: 125px;
    font-size: 10px;
  }
  .balance-summary .primary {
    margin-left: auto;
    font-size: 11px;
    padding: 10px;
  }
  .prototype-notice {
    line-height: 1.8;
  }
}
@media (max-width: 480px) {
  body:has(.mini-stage) {
    background: #fff;
  }
  .mini-stage {
    padding: 0;
  }
  .phone {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: calc(100dvh - 124px);
    min-height: 520px;
  }
  .phone-status {
    display: none;
  }
  .phone-bottom {
    display: none;
  }
  .workbench {
    min-height: 124px;
  }
  .mini-header {
    height: 48px;
    min-height: 48px;
  }
  .capsule {
    font-size: 9px;
    right: 12px;
  }
  .phone .mini-header > span {
    font-size: 13px;
  }
  .mini-footer {
    min-height: 61px;
    height: 61px;
  }
  .bench-actions .text-button {
    font-size: 10px;
  }
  .brand-sub {
    letter-spacing: 1px;
  }
  .hero {
    height: 166px;
  }
  .balance-summary {
    flex-wrap: wrap;
  }
  .balance-summary .primary {
    width: 100%;
  }
  .admin-tabs {
    gap: 18px;
  }
  .metric > small {
    font-size: 10px;
  }
  .metric > .icon {
    width: 17px;
    right: 13px;
  }
  .admin-head p {
    font-size: 10px;
  }
}
.admin-main,
.admin-side,
.panel {
  min-width: 0;
}
@media (max-width: 800px) {
  .admin-shell,
  .dashboard-grid,
  .order-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
