:root {
  --green: #125b43;
  --deep: #063e2d;
  --mint: #eef5f0;
  --gold: #efd39b;
  --gold-ink: #8e6a29;
  --ink:#1c3328;
  --muted:#4d6052;
  --line: #e7ede8;
  --bg: #f4f7f4;
  --white: #fff;
  --shadow: 0 10px 36px #103e2606;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.admin-boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
  background: var(--bg);
}
.admin-boot span {
  width: 28px;
  height: 28px;
  border: 3px solid #dce7df;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: admin-boot-spin .7s linear infinite;
}
.admin-boot b { font-size: 13px; font-weight: 500; }
@keyframes admin-boot-spin { to { transform: rotate(360deg); } }
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  transition: all 0.18s;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ceaf71;
  outline-offset: 3px;
}
button svg {
  flex-shrink: 0;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #dce6de;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #74a48d;
  box-shadow: 0 0 0 3px #155e4210;
}
textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.8;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}
.primary,
.secondary,
.gold-button {
  display: inline-flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 11px 18px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
}
.primary {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  box-shadow: 0 4px 8px #155b4312;
}
.primary:hover {
  background: #084b35;
  transform: translateY(-1px);
}
.secondary {
  background: #fff;
  border: 1px solid #dce5dd;
  color: #4a6d5c;
}
.secondary:hover {
  background: #f0f5ef;
}
.gold-button {
  background: linear-gradient(110deg, #fff0ce, #eccb8b);
  border: 1px solid #e3c17e;
  color: #154c38;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.text-button:hover {
  background: #eaf2ec;
}
.danger {
  color: #925543;
}
.danger:hover {
  background: #fbefea;
}
.muted {
  color: var(--muted);
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 9px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  color: var(--muted);
  line-height: 1.8;
}
small {
  font-size: 11px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #56695e;
  margin-bottom: 12px;
}
.brand {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 8px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 54% 46%;
  background: #f8faf6;
}
.login-story {
  padding: 80px 14%;
  background:
    radial-gradient(ellipse at 90% 70%, #2c7951 0%, transparent 60%),
    linear-gradient(130deg, #032f1d, #14583f);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-story:after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #eac77d50;
  border-radius: 50%;
  right: -350px;
  bottom: -150px;
  box-shadow:
    0 0 0 50px #dabe7008,
    0 0 0 110px #dabe7005;
}
.login-story .brand {
  position: absolute;
  top: 64px;
}
.login-story .eyebrow {
  color: #d7c792;
}
.login-story h1 {
  font-family: "Songti SC", serif;
  font-size: 48px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 2px;
}
.login-story p {
  color: #b6cdbb;
}
.story-bottom {
  position: absolute;
  bottom: 54px;
  font-size: 12px;
  letter-spacing: 5px;
  color: #bdcdba;
}
.login form {
  width: 352px;
  max-width: 80%;
  margin: auto;
}
.login form h2 {
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.login form > p {
  font-size: 13px;
}
.login form label {
  display: block;
  font-size: 12px;
  color: #536a5e;
  margin: 24px 0;
}
.login form label input {
  margin-top: 10px;
  padding: 14px;
  background: #fff;
}
.login form .primary {
  width: 100%;
  margin: 6px 0 24px;
  padding: 14px;
  justify-content: space-between;
}
.login form > small {
  color: #59695a;
}
#login-error {
  color: #98513e;
}
.workspace {
  margin-left: 224px;
}
#app > aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: linear-gradient(165deg, #073d2b, #10533d 70%, #0e4734);
  color: #fff;
  padding: 34px 18px;
  z-index: 3;
}
#app > aside .brand {
  padding-left: 19px;
  color: #fffcf0;
}
.nav-label {
  font-size: 10px;
  color: #4c6c5c;
  letter-spacing: 2px;
  margin: 28px 18px 14px;
}
.nav-label:first-of-type {
  margin-top: 40px;
}
nav button {
  border: 0;
  background: transparent;
  color: #446e56;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  width: 100%;
  text-align: left;
  font-size: 13px;
  border-radius: 8px;
  margin: 4px 0;
  position: relative;
}
nav button svg {
  opacity: 0.8;
}
nav button.active {
  background: linear-gradient(110deg, #d9bd7940, #dbbf7319);
  color: #fff0c7;
  box-shadow: inset 0 0 0 1px #dfc98924;
}
nav button.active i {
  position: absolute;
  right: 13px;
  width: 5px;
  height: 5px;
  background: #ecd199;
  border-radius: 50%;
}
nav button:hover {
  background: #ffffff0c;
  color: #fff;
}
.aside-bottom {
  position: absolute;
  bottom: 27px;
  left: 28px;
  font-size: 11px;
  line-height: 2.5;
  color: #4e6c52;
}
.aside-bottom small {
  color: #4e6c59;
  font-size: 10px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbcf98;
  margin-right: 6px;
}
header {
  height: 76px;
  background: #ffffffd9;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #e5ece5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  font-size: 12px;
  color: #57695f;
}
header b {
  font-weight: 400;
  margin: 0 15px;
  color: #556b57;
}
.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-date {
  font-size: 11px;
  color: #5a6a5e;
  margin-right: 20px;
}
.admin-avatar {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #f6e8c5, #dfc88d);
  color: #586b46;
  border-radius: 50%;
  font-size: 12px;
}
main {
  padding: 30px 36px;
  min-height: calc(100vh - 124px);
  max-width: 1720px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}
.page-heading p {
  margin: 0;
  font-size: 12px;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.7px;
  margin-bottom: 9px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 17px 36px;
  font-size: 10px;
  color: #576959;
  border-top: 1px solid #e8eee7;
}
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 22px;
  margin-bottom: 24px;
}
.welcome {
  background:
    radial-gradient(ellipse at 85% 70%, #36764b, transparent 62%),
    linear-gradient(115deg, #053d25, #145c3e);
  border-radius: 14px;
  min-height: 265px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  border: 1px solid #145539;
}
.welcome-copy {
  padding: 33px 35px;
  position: relative;
  z-index: 1;
}
.welcome .eyebrow {
  font-size: 10px;
  color: #d9c998;
  letter-spacing: 3px;
}
.welcome h2 {
  font-family: "Songti SC", serif;
  font-size: 34px;
  color: #fff9e7;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 13px;
}
.welcome p {
  font-size: 11px;
  color: #a8c7b1;
  margin-bottom: 23px;
}
.welcome .gold-button {
  font-size: 11px;
  padding: 9px 13px;
}
.brand-orbit {
  position: relative;
  width: 260px;
  align-self: stretch;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.orbit-ring {
  position: absolute;
  width: 275px;
  height: 275px;
  border: 1px solid #dac07b60;
  border-radius: 50%;
  box-shadow:
    0 0 0 30px #e2c06e09,
    0 0 0 64px #e2c06e06;
  transform: rotate(-20deg);
}
.orbit-seal {
  width: 150px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 70% 70% 52% 52%;
  border: 1px solid #e7d39a85;
  background: linear-gradient(135deg, #fff9d720, #eaca8310);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 0 25px #f4d88510,
    0 15px 50px #00221120;
  transform: rotate(-9deg);
  color: #7b6214;
}
.orbit-seal > span {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 4px;
}
.orbit-seal small {
  font-size: 7px;
  letter-spacing: 2px;
  margin: 12px 0 18px;
}
.orbit-seal i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 2px;
  border-top: 1px solid #d0c18477;
  padding-top: 15px;
}
.todo-card {
  background: linear-gradient(125deg, #fffdf4, #fff7e7);
  border: 1px solid #ece4cf;
  border-radius: 14px;
  padding: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading h3 {
  margin: 0;
}
.tiny-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: #726444;
}
.todo-number {
  font-family: Georgia, serif;
  font-size: 45px;
  margin: 16px 0 9px;
  color: #416348;
}
.todo-number span {
  font:
    11px "PingFang SC",
    sans-serif;
  margin-left: 12px;
  color: #676651;
}
.todo-card p {
  font-size: 11px;
  margin-bottom: 13px;
}
.todo-card .secondary {
  font-size: 11px;
  padding: 8px 12px;
  background: #ffffffa0;
}
.todo-foot {
  font-size: 9px;
  color: #66664f;
  display: flex;
  gap: 6px;
  align-items: center;
  border-top: 1px solid #e8e5d6;
  padding-top: 15px;
  margin-top: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.stat {
  padding: 21px 23px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #576a5e;
}
.stat-icon {
  color: #526c5a;
  background: #f0f6ee;
  padding: 8px;
  border-radius: 10px;
  display: flex;
}
.stat:nth-child(3) .stat-icon {
  background: #fcf4e4;
  color: #736439;
}
.stat strong {
  display: block;
  font-size: 34px;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #1d4935;
  margin: 10px 0;
}
.stat > small {
  color: #59695c;
  font-size: 10px;
}
.overview-stat-link {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.overview-stat-link:hover {
  transform: translateY(-2px);
  border-color: #a9c8b4;
  box-shadow: 0 12px 28px rgba(30, 83, 59, 0.1);
}
.overview-stat-link:focus-visible {
  outline: 3px solid rgba(22, 94, 65, 0.2);
  outline-offset: 3px;
}
.overview-stat-link:active {
  transform: translateY(0);
}
.overview-stat-link > small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stat-link-label {
  color: #387057;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.panel-top {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-top h3 {
  margin: 0;
  font-size: 15px;
}
.panel-top p {
  font-size: 11px;
  margin: 7px 0 0;
}
.quick-link {
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid #f0f3ed;
  background: #fff;
  display: flex;
  gap: 12px;
  width: 100%;
  text-align: left;
  align-items: center;
  color: #36624a;
}
.quick-link:hover {
  background: #f8faf5;
}
.quick-link:last-child {
  border-bottom: 0;
}
.quick-icon {
  padding: 10px;
  background: #eff5ed;
  border-radius: 9px;
  display: flex;
}
.quick-link > span:nth-child(2) {
  flex: 1;
}
.quick-link b {
  font-size: 12px;
  font-weight: 500;
}
.quick-link small {
  display: block;
  font-size: 9px;
  color: #5a6954;
  margin-top: 7px;
}
.connection-note {
  font-size: 11px;
  color: #5b685b;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 2px 5px;
}
.connection-note > span:nth-child(2) {
  margin-left: 10px;
}
.connection-note button {
  margin-left: auto;
  font-size: 10px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  background: #f8faf6;
  font-size: 11px;
  color: #5c6957;
  font-weight: 400;
  padding: 14px 23px;
}
td {
  padding: 19px 23px;
  border-bottom: 1px solid #eef2e9;
  font-size: 12px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcf9;
}
td b {
  font-weight: 500;
  font-size: 12px;
}
td small {
  display: block;
  color: #586958;
  font-size: 10px;
  margin-top: 7px;
}
.inline {
  display: inline !important;
  margin: 0 !important;
}
.table-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.product-detail-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.product-detail-link:hover b,
.product-detail-link:focus-visible b {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-readonly-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0 22px;
}
.product-readonly-head .thumb,
.product-readonly-head .placeholder {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.product-readonly-head h3 { margin: 7px 0; font-size: 20px; }
.product-readonly-head p { margin: 0; }
.thumb,
.placeholder {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}
.placeholder {
  display: grid;
  place-items: center;
  color: #556c4c;
  background: linear-gradient(140deg, #f1f5e8, #e4eddf);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #edf5ef;
  color: #436d58;
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.pending,
.badge.gold {
  background: #fff4dd;
  color: #7a6230;
}
.badge.shipped {
  background: #eaf2f5;
  color: #496a73;
}
.badge.cancelled {
  background: #f1f1ee;
  color: #5f6759;
}
.empty {
  padding: 58px 20px;
  text-align: center;
  color: #596b50;
}
.empty svg {
  color: #556b47;
  margin-bottom: 18px;
}
.empty h3 {
  font-size: 13px;
  font-weight: 400;
  color: #596952;
  margin-bottom: 8px;
}
.empty p {
  font-size: 11px;
  color: #5d6955;
  margin: 0;
}
.notice-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5e6851;
  background: #f0f3e8;
  border: 1px solid #e3e9d5;
  padding: 15px 18px;
  font-size: 12px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.list-header {
  padding: 0 24px;
}
.tabs {
  display: flex;
  gap: 24px;
  align-items: center;
  overflow: auto;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #5a6958;
  white-space: nowrap;
  font-size: 12px;
  padding: 19px 0 17px;
}
.tabs button.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.tabs button span {
  background: #f0f3ec;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 7px;
  font-weight: 400;
}
.tabs h3 {
  margin: 22px 0;
}
.list-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0e7da;
  border-radius: 8px;
  padding: 0 12px;
  width: 300px;
  color: #5a6951;
}
.search-box input {
  border: 0;
  background: none;
  padding: 10px 0;
  font-size: 12px;
  box-shadow: none;
  min-width: 0;
}
.list-footer {
  display: flex;
  justify-content: space-between;
  padding: 17px 24px;
  border-top: 1px solid #eef2e8;
  color: #5f6955;
  font-size: 10px;
}
.low-stock {
  color: #796236;
}
.member-avatar {
  position: relative;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: linear-gradient(140deg, #edf3df, #dae8d7);
  color: #566b4d;
  font-size: 14px;
  flex-shrink: 0;
}
.member-avatar-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.small-avatar {
  width: 25px;
  height: 25px;
  font-size: 10px;
}
.banner-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}
.placement-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.placement-tabs button {
  flex: 1;
  border: 1px solid #e0e8dc;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
  color: #546b57;
  font-size: 13px;
}
.placement-tabs button.active {
  background: #e7f0e6;
  border-color: #9cbaa0;
  box-shadow: inset 0 0 0 1px #9cbaa011;
}
.placement-tabs small {
  display: block;
  font-size: 10px;
  color: #596b54;
  margin-top: 7px;
}
.spec-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(125deg, #f9f9f0, #f5f2e6);
  border: 1px solid #e8e8d6;
  padding: 23px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.spec-icon {
  color: #6d663e;
  padding: 10px;
  border-radius: 10px;
  background: #eeecd8;
  display: flex;
}
.spec-panel > div:nth-child(2) {
  flex: 1;
}
.spec-panel h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.spec-panel p {
  font-size: 11px;
  margin-bottom: 10px;
}
.spec-panel .spec-small {
  font-size: 10px;
  color: #666650;
  margin: 11px 0 0;
}
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.spec-tags span {
  font-size: 10px;
  background: #fffaf0;
  border: 1px solid #e9e2c9;
  border-radius: 4px;
  color: #73633f;
  padding: 5px 8px;
}
.spec-panel .primary {
  font-size: 11px;
  padding: 9px 10px;
}
.banner-cards {
  display: grid;
  gap: 18px;
}
.banner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.banner-card-art {
  width: 100%;
  max-height: 310px;
  overflow: hidden;
  background: #e6f1e7;
}
.banner-card-art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eaf2e6;
}
.banner-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 14px;
}
.banner-card-info h3 {
  margin: 0;
  font-size: 14px;
}
.banner-card-info p {
  margin: 7px 0 0;
  font-size: 11px;
}
.banner-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 22px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #5b6953;
}
.brand-banner {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: radial-gradient(ellipse at 85% 75%, #438354, #0c512f 60%, #043b22);
  color: #fff7dd;
  padding: 9% 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-banner > *:not(.banner-bubble):not(.banner-leaf) {
  position: relative;
  z-index: 1;
  max-width: 76%;
}
.banner-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  color: #e9d795;
  margin-bottom: 13px;
}
.brand-banner strong {
  font-family: "Songti SC", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
}
.brand-banner p {
  color: #b5d2ac;
  font-size: 12px;
  line-height: 1.7;
  margin: 13px 0 0;
}
.banner-bubble {
  position: absolute;
  right: -2%;
  bottom: -25%;
  width: 48%;
  height: 120%;
  border: 1px solid #e6d58d66;
  border-radius: 50% 50% 45% 45%;
  transform: rotate(28deg);
  background: linear-gradient(115deg, #f6edb128, transparent);
  box-shadow: 0 0 0 20px #e6d58d08;
}
.banner-leaf {
  position: absolute;
  bottom: -35%;
  left: -10%;
  width: 125%;
  height: 55%;
  border-radius: 50%;
  background: #a7c87618;
  transform: rotate(-9deg);
}
.preview-aside {
  position: sticky;
  top: 25px;
  align-self: start;
}
.preview-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #4d6b59;
  margin-bottom: 17px;
}
.preview-heading small {
  margin-left: auto;
  font-size: 9px;
  color: #5e6855;
}
.preview-caption {
  font-size: 10px;
  line-height: 1.9;
  color: #5d6951;
  text-align: center;
  margin: 17px 0;
}
.phone-shell {
  width: 304px;
  max-width: 100%;
  margin: 0 auto;
  border: 7px solid #fff;
  border-radius: 36px;
  background: #eef3ee;
  box-shadow:
    0 12px 45px #1539230e,
    0 0 0 1px #dce5dc;
  overflow: hidden;
  color: #234d34;
  position: relative;
}
.phone-status {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  font-size: 10px;
  background: #edf3ed;
}
.phone-status span {
  font-size: 9px;
}
.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px 14px;
  font-size: 12px;
}
.phone-nav b {
  font-weight: 500;
}
.phone-scroll {
  padding: 0 10px 20px;
  height: 440px;
  overflow: auto;
  scrollbar-width: none;
}
.phone-banner {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ffffffbb;
}
.phone-banner > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.highlighted {
  outline: 1px dashed #c3a85e;
  outline-offset: 3px;
  margin: 4px;
}
.phone-banner .brand-banner {
  padding: 18px 16px;
}
.phone-banner .banner-kicker {
  font-size: 7px;
  letter-spacing: 1px;
  margin-bottom: 9px;
}
.phone-banner .brand-banner strong {
  font-size: 21px;
  line-height: 1.35;
}
.phone-banner .brand-banner p {
  font-size: 7px;
  margin-top: 8px;
}
.position-caption {
  font-size: 8px;
  color: #6f6441;
  margin: 8px 0 12px;
  text-align: center;
}
.phone-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #ffffffb0;
  padding: 10px;
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px #fff;
}
.phone-service > div {
  background: linear-gradient(120deg, #fffae8, #ffedcc);
  border-radius: 9px;
  padding: 11px 8px;
}
.phone-service b {
  font-size: 10px;
  display: block;
}
.phone-service small {
  display: block;
  font-size: 8px;
  color: #9b9b7d;
  margin: 6px 0 9px;
}
.phone-service span {
  font-size: 8px;
  border-radius: 15px;
  background: #146147;
  color: #fff;
  padding: 4px 8px;
}
.phone-product {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 12px;
  background: #ffffffc7;
  border: 1px solid #fff;
  border-radius: 11px;
  margin: 10px 0;
  font-size: 11px;
  box-shadow: 0 4px 8px #12351102;
}
.phone-product > div {
  flex: 1;
}
.phone-product small {
  display: block;
  font-size: 8px;
  color: #91a28b;
  margin-top: 6px;
}
.mini-seal {
  display: grid;
  place-items: center;
  border: 1px solid #d3dfce;
  background: #e4eddf;
  width: 32px;
  height: 40px;
  border-radius: 7px;
  font-family: serif;
  color: #546c4d;
}
.phone-scroll h4 {
  font-size: 13px;
  margin: 19px 3px 11px;
}
.phone-recommend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-recommend > div {
  background: linear-gradient(130deg, #e2eddc, #cfdfbf);
  border: 1px solid #ffffffa0;
  border-radius: 11px;
  padding: 20px 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #5a7e4f;
  min-height: 80px;
}
.phone-recommend small {
  font-size: 8px;
}
.phone-tabs {
  display: flex;
  background: #fff;
  padding: 11px 3px 8px;
  justify-content: space-around;
  border-top: 1px solid #e6ede3;
}
.phone-tabs > span {
  font-size: 7px;
  color: #a8b5a4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.phone-tabs .selected {
  color: #135b40;
}
.phone-home-indicator {
  width: 90px;
  height: 4px;
  background: #1e3326;
  border-radius: 10px;
  margin: 5px auto 7px;
}
.phone-balance {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(130deg, #145b3e, #39734d);
  color: #edddb3;
  margin: 6px 0 18px;
  border-radius: 11px;
  padding: 17px 10px;
  font-size: 9px;
}
.phone-balance b {
  display: block;
  font-size: 25px;
  font-family: Georgia, serif;
  font-weight: 400;
  margin-top: 8px;
}
.phone-gold {
  background: linear-gradient(110deg, #fff2d0, #eed29d);
  padding: 12px;
  text-align: center;
  margin-top: 12px;
  border-radius: 20px;
  font-size: 10px;
}
.gifts > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gifts b {
  font-size: 10px;
}
.page-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.page-tools .tabs {
  border: 0;
}
.faq-toolbar {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 23px;
}
.faq-toolbar .page-tools {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  gap: 12px;
  flex-wrap: nowrap;
}
.faq-toolbar .page-tools input {
  flex: 1;
  min-width: 180px;
}
.faq-toolbar > .primary {
  flex: 0 0 auto;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.article-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.article-card-cover {
  height: 170px;
  position: relative;
}
.article-card-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-cover > .badge {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fffffff0;
  backdrop-filter: blur(8px);
}
.article-cover-fallback {
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 10%, #e0eace, transparent 70%),
    linear-gradient(140deg, #dfeee4, #eceddb);
  color: #4d6c51;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.article-cover-fallback span {
  font-family: "Songti SC", serif;
  letter-spacing: 3px;
  font-size: 17px;
}
.article-card-body {
  padding: 22px;
}
.article-card-body h3 {
  margin: 13px 0;
  font-size: 16px;
}
.article-card-body > p {
  font-size: 12px;
  line-height: 1.8;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 17px;
}
.article-card-footer > span {
  font-size: 9px;
  color: #5c6a50;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 100px;
  color: #5a6a52;
  font-size: 12px;
}
.loading span {
  width: 17px;
  height: 17px;
  border: 2px solid #e0e9dc;
  border-top-color: #588967;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  border: 1px solid #dde6d9;
  border-radius: 17px;
  padding: 0;
  width: 550px;
  max-width: 96vw;
  max-height: 92vh;
  color: var(--ink);
  box-shadow: 0 35px 120px #0c35252b;
}
dialog::backdrop {
  background: #082d2155;
  backdrop-filter: blur(7px);
}
.wide-dialog {
  width: 1040px;
}
#editor {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 27px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: #fbfcf9;
}
.dialog-heading h2 {
  font-size: 18px;
  margin: 0;
}
.dialog-heading button {
  font-size: 12px;
}
#fields {
  overflow: auto;
  padding: 25px 28px;
  min-height: 0;
  flex: 1;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 17px 27px;
  border-top: 1px solid var(--line);
  background: #fcfdf9;
  flex-shrink: 0;
  gap: 20px;
}
#form-error {
  color: #905742;
  font-size: 12px;
  margin-right: auto;
}
.field-label {
  display: block;
  font-size: 12px;
  color: #4e6c57;
  margin: 0 0 20px;
}
.field-label > input,
.field-label > textarea,
.field-label > select {
  display: block;
  margin-top: 9px;
  font-size: 12px;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  min-height: 25px;
  color: #5b6a51;
  font-size: 11px;
}
.form-note {
  background: #f3f5e9;
  border: 1px solid #e7ebd9;
  color: #606951;
  border-radius: 8px;
  padding: 14px;
  line-height: 1.8;
  font-size: 11px;
  margin-bottom: 20px;
}
.form-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.form-side-info {
  padding: 23px;
  background: #f8faf5;
  border-radius: 10px;
}
.editor-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
}
.editor-preview {
  background: #f5f7f1;
  border-radius: 13px;
  padding: 18px 12px;
  align-self: start;
  position: sticky;
  top: 0;
}
.editor-preview .preview-heading {
  padding: 0 5px;
  font-size: 11px;
}
.editor-preview .phone-shell {
  width: 288px;
}
.image-field {
  margin-bottom: 22px;
}
.upload-zone {
  position: relative;
  border: 1px dashed #bdcdb5;
  border-radius: 10px;
  background: #f7faf4;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}
.upload-zone:hover {
  background: #edf4e8;
}
.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone b {
  font-size: 11px;
  font-weight: 500;
  color: #586b4f;
}
.upload-zone small {
  font-size: 9px;
  color: #5b6a4b;
}
.upload-image {
  color: #546c47;
  display: flex;
  justify-content: center;
}
.upload-image img {
  max-width: 100%;
  max-height: 135px;
  object-fit: contain;
  border-radius: 7px;
}
.upload-feedback {
  min-height: 20px;
  margin-top: 7px;
  color: #5a6961;
  font-size: 11px;
  line-height: 1.5;
}
.upload-feedback.uploading,
.upload-feedback.pending {
  color: var(--green);
}
.upload-feedback.error {
  color: #a8463e;
  font-weight: 600;
}
.image-field > .text-button {
  font-size: 10px;
  margin-top: 5px;
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 8px;
  border: 1px solid #dce6d5;
  border-radius: 8px 8px 0 0;
  background: #f7f9f2;
}
.rich-toolbar button,
.rich-image-button {
  padding: 7px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
  color: #516d4b;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.rich-toolbar button:hover {
  background: #e6eedc;
}
.rich-image-button {
  position: relative;
  cursor: pointer;
}
.rich-image-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  padding: 0;
}
.rich-output {
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
  color: #425d43;
}
.rich-output p,
.rich-output div {
  color: inherit;
  margin: 0 0 14px;
}
.rich-output h2 {
  font-size: 22px;
  line-height: 1.55;
  color: #195b3d;
  margin: 24px 0 15px;
}
.rich-output h3 {
  font-size: 18px;
  color: #275f41;
  margin: 20px 0 13px;
}
.rich-output img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: inline-block;
}
.rich-output blockquote {
  margin: 15px 0;
  padding: 12px 16px;
  border-left: 3px solid #d7b779;
  background: #f4f7ef;
  color: #4c6c60;
}
.rich-output ul,
.rich-output ol {
  padding-left: 24px;
}
.rich-output hr {
  border: 0;
  border-top: 1px solid #dce5d6;
  margin: 20px 0;
}
#rich-editor {
  min-height: 280px;
  max-height: 600px;
  overflow: auto;
  padding: 22px;
  border: 1px solid #dce6d5;
  border-top: 0;
  outline: none;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
#rich-editor:empty:before {
  content: attr(data-placeholder);
  color: #5c694e;
  font-size: 12px;
}
#rich-editor:focus {
  border-color: #85a477;
}
.rich-footer {
  font-size: 9px;
  color: #5b6952;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.article-phone {
  background: #fff;
  padding: 22px 18px;
}
.article-phone > h2 {
  font-size: 19px;
  line-height: 1.6;
  margin: 13px 0 22px;
}
.article-phone .rich-output {
  font-size: 12px;
}
.article-phone .rich-output h2 {
  font-size: 17px;
}
.article-phone .rich-output h3 {
  font-size: 15px;
}
.article-cover {
  width: 100%;
  border-radius: 9px;
  margin-bottom: 18px;
}
.standalone-preview {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: flex-start;
}
.standalone-preview > .phone-shell {
  margin: 0;
  flex-shrink: 0;
}
.standalone-preview > div:not(.phone-shell) {
  padding-top: 40px;
  max-width: 310px;
}
.standalone-preview p {
  font-size: 12px;
}
.settings-form {
  padding: 28px 30px;
}
.settings-form h3 {
  margin: 5px 0 25px;
  color: #315f44;
}
.settings-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-bottom: 25px;
}
.settings-columns textarea {
  min-height: 150px;
}
.settings-actions {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
}
.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.order-detail-head h3 {
  font-size: 22px;
  margin: 16px 0 10px;
}
.order-detail-head p {
  font-size: 11px;
  margin: 0;
}
.order-detail-head > strong {
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  color: #457041;
}
.order-detail-head > strong small {
  display: block;
  text-align: right;
  font:
    11px "PingFang SC",
    sans-serif;
  color: #5a6a4e;
  margin-top: 9px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px 0;
}
.detail-grid h4 {
  font-size: 11px;
  color: #5b6a50;
  font-weight: 400;
}
.detail-grid p {
  font-size: 13px;
  line-height: 1.9;
  color: #546c4b;
  margin: 0;
}

.crm-snapshot-view {
  display: grid;
  gap: 22px;
}
.crm-snapshot-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid #d7e5d6;
  border-radius: 14px;
  background:
    radial-gradient(circle at 82% 20%, #d5ede1 0 5%, transparent 5.5%),
    linear-gradient(120deg, #f2f7ef, #e4f2ea);
}
.crm-snapshot-hero h3,
.crm-points-heading h3 {
  margin: 5px 0 7px;
  color: #174d37;
  font-size: 20px;
}
.crm-snapshot-hero p,
.crm-points-heading p {
  margin: 0;
  color: #5b695f;
  font-size: 12px;
}
.crm-member-mark {
  flex: 0 0 auto;
  padding: 11px 15px;
  border-radius: 9px;
  background: #176044;
  color: #fff;
  font: 600 13px Georgia, serif;
  letter-spacing: 0.5px;
}
.crm-snapshot-block {
  overflow: hidden;
  border: 1px solid #dfe8dc;
  border-radius: 13px;
  background: #fffefa;
}
.crm-snapshot-block.is-empty {
  padding-bottom: 18px;
  background: #fafbf7;
}
.crm-snapshot-block.is-empty > p {
  margin: 0 20px;
  color: #5f685f;
  font-size: 12px;
}
.crm-snapshot-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: #f5f8f1;
  border-bottom: 1px solid #e6ece1;
}
.crm-snapshot-title span,
.crm-account-label {
  color: #5b695a;
  font-size: 10px;
  letter-spacing: 0.8px;
}
.crm-snapshot-title h3 {
  margin: 3px 0 0;
  color: #254f3b;
  font-size: 15px;
}
.crm-snapshot-status {
  display: grid;
  justify-items: end;
  gap: 4px;
}
.crm-snapshot-status b {
  color: #216246;
  font-size: 11px;
}
.crm-snapshot-status small {
  color: #5d685a;
  font-size: 9px;
}
.crm-field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.crm-field-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(120px, 1fr);
  gap: 5px 15px;
  align-content: start;
  min-height: 90px;
  padding: 15px 18px;
  border-right: 1px solid #edf1e9;
  border-bottom: 1px solid #edf1e9;
}
.crm-field-row:nth-child(2n) {
  border-right: 0;
}
.crm-field-row > div {
  min-width: 0;
}
.crm-field-row b {
  display: block;
  color: #365b47;
  font-size: 12px;
  font-weight: 600;
}
.crm-field-row code {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: #5d685d;
  font-size: 9px;
  text-overflow: ellipsis;
}
.crm-field-row strong {
  overflow-wrap: anywhere;
  color: #173f2f;
  font-size: 12px;
  font-weight: 500;
}
.crm-field-row p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: #5d695f;
  font-size: 10px;
  line-height: 1.55;
}
.crm-points-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 5px 2px 0;
}
.crm-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.crm-account-grid > div {
  display: grid;
  align-content: start;
  gap: 12px;
}
.crm-account-label {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 20px;
  background: #e9f2e8;
  color: #2b6548;
  font-weight: 600;
}
.crm-account-grid .crm-field-list {
  grid-template-columns: 1fr;
}
.crm-account-grid .crm-field-row {
  border-right: 0;
}
.refund-receipt {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #e5e7ce;
  border-radius: 10px;
  background: linear-gradient(110deg, #fcf7e5, #f2f6e9);
  padding: 20px;
  margin-bottom: 22px;
  color: #60693c;
}
.refund-receipt b {
  font-size: 14px;
  font-weight: 500;
}
.refund-receipt p {
  font-size: 11px;
  margin: 9px 0 0;
}
.member-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  background: #f4f7ed;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
}
.member-summary h3 {
  font-size: 18px;
  margin: 0;
}
.member-summary p {
  font-size: 11px;
  margin: 8px 0 0;
}
.member-summary > div:first-of-type {
  flex: 1;
}
.member-summary strong {
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #496e3c;
}
.member-summary small {
  display: block;
  font-size: 10px;
  color: #5b694e;
  margin-top: 7px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  background: #154c38ef;
  color: #fff8de;
  padding: 14px 22px;
  border: 1px solid #d9c69333;
  border-radius: 10px;
  z-index: 50;
  font-size: 12px;
  box-shadow: 0 10px 25px #1e40222a;
  backdrop-filter: blur(12px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  .welcome h2 {
    font-size: 39px;
  }
  .brand-orbit {
    width: 350px;
  }
  .welcome-copy {
    padding: 36px 42px;
  }
}
@media (max-width: 1200px) {
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .quick-panel {
    display: none;
  }
  .brand-orbit {
    width: 175px;
  }
  .orbit-ring {
    width: 215px;
    height: 215px;
  }
  .welcome h2 {
    font-size: 29px;
  }
  .welcome-copy {
    padding: 28px;
  }
  .banner-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }
  .spec-panel {
    flex-wrap: wrap;
  }
  .spec-panel .primary {
    margin-left: 54px;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  #app > aside {
    width: 182px;
    padding: 28px 12px;
  }
  .workspace {
    margin-left: 182px;
  }
  #app > aside .brand {
    font-size: 27px;
    padding-left: 12px;
  }
  nav button {
    padding: 12px;
    font-size: 12px;
    gap: 10px;
  }
  main {
    padding: 26px 22px;
  }
  header {
    padding: 0 22px;
  }
  .welcome-grid {
    grid-template-columns: 1fr;
  }
  .todo-card {
    display: none;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 29px;
  }
  .banner-workspace {
    grid-template-columns: 1fr;
  }
  .preview-aside {
    display: none;
  }
  .editor-split {
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }
  .header-date {
    display: none;
  }
}
@media (max-width: 650px) {
  .login {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login form {
    padding-top: 18vh;
  }
  #app > aside {
    position: static;
    width: 100%;
    padding: 20px;
  }
  .aside-bottom,
  #app > aside > .nav-label,
  .nav-label {
    display: none !important;
  }
  #app > aside .brand {
    padding: 0;
    font-size: 27px;
  }
  #app > aside .brand small {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 17px;
    gap: 6px;
  }
  nav button {
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
  }
  nav button svg,
  nav button i {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  header {
    height: 57px;
    padding: 0 20px;
  }
  .header-user {
    font-size: 0;
    gap: 3px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-heading > .secondary {
    font-size: 10px;
    padding: 9px 10px;
  }
  .welcome {
    min-height: 250px;
  }
  .welcome-copy {
    padding: 25px;
  }
  .welcome h2 {
    font-size: 28px;
  }
  .brand-orbit {
    position: absolute;
    right: -70px;
    top: 40px;
    height: 240px;
    width: 200px;
    opacity: 0.55;
  }
  .welcome p {
    font-size: 9px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-icon {
    padding: 6px;
  }
  .connection-note {
    flex-wrap: wrap;
    font-size: 9px;
  }
  .connection-note button {
    margin: 0;
  }
  .notice-strip {
    font-size: 10px;
    line-height: 1.7;
    align-items: flex-start;
  }
  .tabs {
    gap: 17px;
  }
  .tabs button {
    font-size: 11px;
  }
  .tabs button span {
    display: none;
  }
  .list-header {
    padding: 0 15px;
  }
  .list-tools {
    gap: 10px;
  }
  .search-box {
    width: 100%;
    min-width: 0;
  }
  .search-box input {
    font-size: 10px;
  }
  .list-tools .primary {
    font-size: 10px;
    padding: 10px;
  }
  .list-footer {
    font-size: 8px;
    padding: 14px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .page-tools {
    gap: 10px;
  }
  .page-tools .primary {
    font-size: 11px;
  }
  .faq-toolbar {
    align-items: stretch;
  }
  .editor-split,
  .form-two-columns,
  .settings-columns {
    grid-template-columns: 1fr;
  }
  .editor-preview {
    position: static;
  }
  .field-label {
    font-size: 12px;
  }
  .dialog-heading {
    padding: 18px;
  }
  .dialog-heading h2 {
    font-size: 15px;
  }
  #fields {
    padding: 20px;
  }
  .dialog-actions {
    padding: 15px 18px;
  }
  dialog {
    max-height: 95vh;
  }
  .standalone-preview {
    flex-direction: column;
    align-items: center;
  }
  .standalone-preview > div:not(.phone-shell) {
    padding-top: 0;
  }
  .spec-panel {
    padding: 17px;
  }
  .spec-icon {
    display: none;
  }
  .spec-panel .primary {
    margin-left: 0;
  }
  .placement-tabs {
    gap: 7px;
  }
  .placement-tabs button {
    font-size: 11px;
    padding: 13px 9px;
  }
  .placement-tabs small {
    font-size: 8px;
  }
  .banner-card-info {
    padding: 18px;
  }
  .banner-card-info h3 {
    font-size: 12px;
  }
  .banner-card-info p {
    font-size: 10px;
  }
  .banner-card-footer {
    margin: 0 18px;
    font-size: 8px;
    gap: 5px;
  }
  .banner-card-footer button {
    font-size: 10px;
    padding: 5px;
  }
  .brand-banner strong {
    font-size: 23px;
  }
  .brand-banner .banner-kicker {
    font-size: 9px;
  }
  .brand-banner p {
    font-size: 9px;
  }
  .settings-form {
    padding: 22px;
  }
  .member-summary {
    flex-wrap: wrap;
    gap: 14px;
    padding: 17px;
  }
  .member-summary > div:first-of-type {
    flex-basis: 60%;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .crm-account-grid,
  .crm-field-list {
    grid-template-columns: 1fr;
  }
  .crm-field-row {
    border-right: 0;
  }
  .crm-snapshot-hero,
  .crm-points-heading,
  .crm-snapshot-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .crm-snapshot-status {
    justify-items: start;
  }
  .order-detail-head {
    gap: 15px;
  }
  .order-detail-head h3 {
    font-size: 18px;
  }
  .order-detail-head p {
    font-size: 9px;
    overflow-wrap: anywhere;
  }
  .order-detail-head > strong {
    font-size: 29px;
  }
  footer {
    padding: 16px 22px;
    font-size: 8px;
  }
  footer span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.phone-byline {
  font-size: 8px;
  color: #a0ad96;
  margin: -10px 0 18px;
}
.phone-summary {
  font-size: 10px;
  line-height: 1.8;
  color: #8a9777;
  padding: 12px;
  background: #f2f6e8;
  border-left: 2px solid #d6be86;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
}
.phone-mall-heading {
  font-size: 18px;
  font-weight: 600;
  margin: 6px 4px 13px;
}
.phone-mall-heading small {
  display: block;
  font-size: 8px;
  color: #99a98d;
  font-weight: 400;
  margin-top: 7px;
}
.phone-banner .brand-banner strong {
  font-size: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.phone-banner .brand-banner p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.phone-banner.compact .brand-banner {
  padding: 10px 12px;
}
.phone-banner.compact .brand-banner strong {
  font-size: 14px;
}
.phone-banner.compact .banner-kicker {
  font-size: 6px;
  margin-bottom: 6px;
}
.phone-banner.compact .brand-banner p {
  font-size: 7px;
  margin-top: 5px;
  line-height: 1.6;
}
.brand img {
  float: left;
  margin-right: 12px;
}
.brand {
  min-height: 46px;
}
.detail-grid p {
  overflow-wrap: anywhere;
}
.zone-placement {
  background: #edf3ee;
  padding: 20px;
  border-radius: 24px;
  max-width: 460px;
}
.zone-neighbor {
  padding: 25px 15px;
  color: #55695e;
  background: #ffffffb3;
  border-radius: 15px;
  margin: 12px 0;
}
.zone-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #e4d7b8;
  padding: 18px 12px;
  border-radius: 16px;
}
.zone-preview-card img {
  width: 48px;
  height: 64px;
  object-fit: contain;
}
.zone-preview-art {
  aspect-ratio: 678 / 120;
  padding: 0;
  overflow: hidden;
}
.zone-preview-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zone-preview-card div {
  flex: 1;
  min-width: 0;
}
.zone-preview-card b {
  font-size: 16px;
}
.zone-preview-card small {
  display: block;
  color: #55695e;
  font-size: 11px;
  margin-top: 8px;
}
.zone-preview-card span {
  font-size: 11px;
  background: #f5dfb6;
  border-radius: 20px;
  padding: 8px;
  white-space: nowrap;
}
.zone-placement p {
  font-size: 12px;
  color: #55695e;
}

/* Content actions: consistent primary, secondary and row action scales. */
button.primary,button.secondary{min-height:42px;padding:10px 18px;border-radius:12px;font-size:14px;font-weight:600;line-height:1.4}button.text-button{min-height:34px;padding:7px 10px;border-radius:9px;line-height:1.4}.page-tools{flex-wrap:wrap;gap:12px}#content-search input{min-width:210px;flex:1}#content-search select{min-height:42px;border-radius:12px;padding:8px 14px;border:1px solid #d4e1d8;background:#fff}#content-search span{color:#546b5f;font-size:13px}.article-card-footer{flex-wrap:wrap;gap:12px}.article-card-footer>div{display:flex;flex-wrap:wrap;gap:6px}

/* Home preview mirrors the current 750rpx mini-program layout at a 375px design width. */
.sketch-phone{height:642px;background:#eff1ef;font-family:"PingFang SC",Arial,sans-serif;color:#153f30}
.sketch-phone-canvas{width:375px;height:812px;transform:scale(.7733333333);transform-origin:top left;position:relative;overflow:hidden;background:#eff1ef}
.sketch-phone-scroll{height:812px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;padding-bottom:52px;box-sizing:border-box}.sketch-phone-scroll::-webkit-scrollbar{display:none}
.sketch-phone-marketing{position:relative;width:375px;height:388px;overflow:hidden;background:#e8f2ea}.sketch-phone-marketing>img{display:block;width:100%;height:100%;object-fit:cover}
.sketch-phone-status{position:absolute;z-index:3;left:0;right:0;top:0;height:44px;padding:14px 32px;color:#111;background:transparent;font-size:15px;box-sizing:border-box}.sketch-phone-status span{float:right;font-size:11px}
.sketch-phone-nav{position:absolute;z-index:3;left:0;right:0;top:44px;height:44px;text-align:center;padding-top:10px;color:#111;font-size:16px;box-sizing:border-box}.sketch-phone-nav b{font-size:16px}.sketch-phone-nav span{position:absolute;left:17px;font-size:25px;line-height:20px;font-weight:400}.sketch-phone-nav span:last-child{left:auto;right:20px;font-size:15px;letter-spacing:2px}
.sketch-home-dots{position:absolute;z-index:3;left:0;right:0;bottom:62px;display:flex;justify-content:center;gap:4px}.sketch-home-dots i{display:block;width:5px;height:5px;border-radius:5px;background:#fff}.sketch-home-dots i.active{background:#94afa3}
.sketch-phone-content{position:relative;z-index:2;margin-top:-49px;padding:20px 18px 75px;border-radius:24px 24px 0 0;background:#eff1ef;box-sizing:border-box}
.sketch-home-services{position:relative;width:339px;height:200px;overflow:hidden;border-radius:13px}.sketch-home-services img{position:absolute;display:block}.sketch-home-services .services-bg{inset:0;width:100%;height:100%}.sketch-home-services .advisor-card{z-index:1;left:12px;top:45px;width:204px;height:141px;border-radius:10px}.sketch-home-services .hotline-card{z-index:1;right:11px;top:45px;width:101px;height:139px;border-radius:10px}
.sketch-home-product{width:339px;height:73px;margin-top:9px;overflow:hidden;border-radius:12px}.sketch-home-product img{display:block;width:100%;height:100%;object-fit:cover}
.sketch-phone h4{font-size:19px;line-height:25px;margin:16px 0 9px;color:#00613f;font-weight:600}
.sketch-home-tools{display:grid;grid-template-columns:166px 164px;grid-template-rows:53px 53px;gap:9px}.sketch-home-tools img{display:block;width:164px;height:53px;border-radius:11px}.sketch-home-tools .tool-main{grid-row:span 2;width:166px;height:115px}
.sketch-home-editorial{display:grid;grid-template-columns:repeat(2,164px);gap:9px;margin-top:12px}.sketch-home-editorial img{display:block;width:164px;height:100px;object-fit:fill;border-radius:11px}

.content-route-panel{width:100%;margin-top:20px;padding:16px;background:#f1f7f3;border:1px solid #dce9e0;border-radius:12px;box-sizing:border-box}.content-route-panel>label{display:block;font-size:13px;font-weight:600;color:#165e41;margin-bottom:10px}.content-route-row{display:flex;gap:8px;align-items:center}.content-route-row input{flex:1;min-width:0;width:100%;padding:11px;border:1px solid #d4e1d8;border-radius:8px;background:white;font-family:monospace;font-size:12px;color:#165e41}.content-route-row button{flex-shrink:0}.content-route-panel small{display:block;color:#55695e;font-size:12px;line-height:1.6;margin-top:8px}#zone-detail-preview{background:#fff;border-radius:12px;border:1px solid #dce9e0;max-height:600px;overflow:auto}#zone-detail-preview img{max-width:100%;height:auto}@media(max-width:600px){.content-route-row{flex-wrap:wrap}.content-route-row input{flex-basis:100%}}

.zone-preview-card span{background:#165e41;color:#fff}.zone-preview-card{border-color:transparent}.zone-detail-cover{display:block!important;width:100%;height:210px!important;object-fit:contain;background:#f1f7f3;border-radius:12px;margin-bottom:16px}

.reference-tabs{position:absolute;z-index:5;left:0;right:0;bottom:0;height:52px;background:white;display:flex;justify-content:space-around;padding:6px 14px 5px;box-sizing:border-box;border-top:1px solid #edf0ee}.reference-tabs>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:2px;color:#5b6861;font-size:10px}.reference-tabs>div.active{color:#00613f}.reference-tabs img{width:24px;height:24px;object-fit:contain}

/* Supplier fulfillment details */
.supplier-flow{display:flex;flex-direction:column;gap:18px;text-align:left}.supplier-flow-head{padding:4px 2px 2px}.supplier-flow-head h3{margin:10px 0 4px;color:#173f31;font-size:24px}.supplier-flow-head p{margin:0;color:#5c6961}.supplier-flow-section{border:1px solid #dce7df;background:#fbfcfa;border-radius:16px;padding:18px}.supplier-flow-section h4{margin:0 0 14px;color:#244d3d;font-size:16px}.flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.flow-grid span{display:flex;flex-direction:column;min-width:0;padding:12px;border-radius:11px;background:#f1f7f3}.flow-grid small{color:#5c6961;font-size:12px;margin-bottom:6px}.flow-grid b{color:#234c3c;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.supplier-transaction-json,.supplier-json pre{max-height:360px;margin:0;padding:16px;overflow:auto;border-radius:12px;background:#102d23;color:#e7f3ec;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.supplier-json{border:1px solid #dce7df;border-radius:10px;background:white;margin-top:8px}.supplier-json summary{cursor:pointer;padding:12px 14px;color:#165e41;font-weight:600}.supplier-json pre{border-radius:0 0 9px 9px}.loading-state{padding:48px;text-align:center;color:#576960}@media(max-width:760px){.flow-grid{grid-template-columns:1fr}.supplier-flow-section{padding:14px}}

/* Store operations and home store preview */
.store-map-picker-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:4px 0 16px;border-color:#9fc3ae;background:#f7fbf8;color:#165e41}.store-map-picker-button:hover{background:#eaf5ee}.store-map-dialog{width:min(980px,94vw);height:min(760px,88vh);padding:0;overflow:hidden;border:0;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(19,64,46,.22)}.store-map-dialog::backdrop{background:rgba(18,43,34,.48);backdrop-filter:blur(4px)}.store-map-shell{display:flex;flex-direction:column;width:100%;height:100%}.store-map-shell .dialog-heading{flex:0 0 auto;margin:0;padding:18px 22px;border-bottom:1px solid #e1eae4}.store-map-shell .dialog-heading h2{margin:0;color:#173f31;font-size:20px}.store-map-shell .dialog-heading p{margin:5px 0 0;color:#5a6860;font-size:13px}.store-map-status{padding:10px 18px;background:#eef6f1;color:#516a5f;font-size:13px}.store-map-frame{display:block;flex:1;width:100%;min-height:0;border:0;background:#f3f7f4}@media(max-width:800px){.store-map-dialog{width:96vw;height:86vh;border-radius:14px}.store-map-shell .dialog-heading{padding:14px 16px}}
.sketch-home-store{display:flex;align-items:center;gap:9px;width:339px;min-height:58px;margin-top:9px;padding:10px 12px;box-sizing:border-box;border:1px solid #d8e9df;border-radius:12px;background:linear-gradient(110deg,#f8fbf8,#d9efe4)}.sketch-home-store>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#165e41;color:white;font-size:19px}.sketch-home-store>div{flex:1;min-width:0}.sketch-home-store b,.sketch-home-store small{display:block}.sketch-home-store b{font-size:13px;color:#165e41}.sketch-home-store small{margin-top:3px;color:#6a8075;font-size:9px}.sketch-home-store em{color:#165e41;font-size:9px;font-style:normal;font-weight:600}
.store-admin-summary{display:flex;align-items:center;gap:26px;margin-bottom:18px;padding:22px 26px;border:1px solid #dce8df;border-radius:18px;background:linear-gradient(120deg,#fbfcfa,#eff7f2)}.store-admin-summary>div:first-child{flex:1}.store-admin-summary h2{margin:5px 0 4px;color:#173f31}.store-admin-summary p{margin:0;color:#586a60}.store-admin-count{display:flex;align-items:baseline;gap:7px;padding:10px 18px;border-left:1px solid #d7e5dc}.store-admin-count strong{color:#165e41;font-size:30px}.store-admin-count span{color:#586860;font-size:13px}.store-admin-panel table{min-width:1040px}.store-admin-photo{display:flex!important;align-items:center;justify-content:center;width:58px!important;height:48px!important;overflow:hidden;border-radius:12px;background:#e5f0e9;color:#165e41;font-size:22px;font-weight:700}.store-admin-photo img{width:100%;height:100%;object-fit:cover}.store-admin-address{display:block;max-width:280px;margin-top:5px;color:#5b6962;font-size:12px;line-height:1.5}.store-coordinate{display:inline-block;padding:6px 8px;border-radius:7px;background:#eef6f1;color:#165e41;font-size:12px}.store-admin-note{margin:14px 18px 2px;padding:12px 14px;border-radius:10px;background:#f1f7f3;color:#566960;font-size:12px}.store-editor .image-field{margin-bottom:18px}.store-coordinate-preview{margin-top:14px;padding:14px;border:1px solid #d7e4dc;border-radius:12px;background:white}.store-coordinate-preview span,.store-coordinate-preview b{display:block}.store-coordinate-preview span{color:#5b6962;font-size:12px}.store-coordinate-preview b{margin-top:6px;color:#165e41;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:800px){.store-admin-summary{align-items:flex-start;flex-wrap:wrap}.store-admin-count{border-left:0;padding-left:0}.store-admin-summary>button{width:100%}}

.editorial-banner-preview{position:relative;width:100%;height:100%;min-height:160px;background:#24583f;color:#fff;overflow:hidden}.editorial-banner-preview>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.editorial-preview-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(12,34,23,.85))}.editorial-preview-copy{position:absolute;left:20px;right:20px;bottom:18px}.editorial-preview-copy strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.editorial-preview-copy p{margin:6px 0 0;color:rgba(255,255,255,.85);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.editorial-phone-card{margin:24px;width:calc(100% - 48px);aspect-ratio:656/400}.editorial-phone-card .editorial-banner-preview{height:100%}

.sketch-home-editorial-card{width:100%;height:100px;overflow:hidden;border-radius:12px}.sketch-home-editorial-card .editorial-banner-preview{min-height:0}.sketch-home-editorial-card .editorial-preview-copy{left:12px;right:12px;bottom:12px}.sketch-home-editorial-card .editorial-preview-copy strong{font-size:15px}.sketch-home-editorial-card .editorial-preview-copy p{font-size:10px}.editorial-preview-copy strong,.editorial-preview-copy p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

.upload-feedback.warning{color:#8b580d;background:#fff6df;padding:10px 12px;border-radius:8px}
.current-home-preview .sketch-phone-marketing{height:360px}

.current-home-preview .sketch-phone-content{margin-top:-18px}


/* Role permissions: a compact, direct-edit workspace. */
.role-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start;color:#233f34;padding-top:8px}
.role-picker{background:#fffefb;border:1px solid #dfe7de;border-radius:16px;padding:18px 12px}
.role-picker-caption{display:flex;justify-content:space-between;padding:0 12px 16px;font-size:12px;font-weight:600;color:#5c685f;letter-spacing:.06em}
.role-picker-caption>span{letter-spacing:0;color:#486c5b}
.role-workspace button{font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.role-workspace button:focus-visible,.role-option:has(input:focus-visible){outline:3px solid #b3cdb9;outline-offset:3px}
.role-workspace button:disabled{cursor:default;opacity:.45}
.role-choice{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:16px 12px;margin:3px 0;background:transparent;border:1px solid transparent;border-radius:10px;color:#566a5f}
.role-choice:hover{background:#f5f8f3}.role-choice.is-active{background:#edf4ed;border-color:#cddfce;color:#205c40}
.role-avatar{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e0e8de;border-radius:10px;background:#fafbf7}
.role-choice.is-active .role-avatar{background:#245b42;color:#fff;border-color:#245b42}
.role-choice-text{display:grid;gap:5px;flex:1}.role-choice-text strong{font-size:15px;font-weight:650;color:#294c3b}.role-choice-text small{white-space:nowrap;font-size:10px;color:#5b695e;font-weight:400}
.role-draft-dot{width:7px;height:7px;flex-shrink:0;background:#b78b38;border-radius:50%}
.role-picker-note{display:flex;gap:8px;color:#5c685b;margin:22px 10px 2px;padding-top:20px;border-top:1px solid #e8ece5}.role-picker-note svg{flex-shrink:0;margin-top:3px}.role-picker-note p{font-size:12px;line-height:1.85;margin:0}
.role-editor{min-width:0;background:#fffefb;border:1px solid #dfe7de;border-radius:16px;overflow:clip;box-shadow:0 6px 24px #1d453005}
.role-editor-heading{padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e6ece2;background:#fffefb}
.role-eyebrow{font-size:11px;letter-spacing:.1em;color:#5d6858;margin-bottom:9px}
.role-editor-heading h2{font-size:24px;line-height:1.3;margin:0;display:flex;align-items:center;gap:12px;font-weight:650}
.role-status{display:inline-flex;font-size:11px;font-weight:500;letter-spacing:0;padding:4px 8px;background:#eef3ec;color:#576a57;border-radius:5px}.role-status.is-dirty{background:#fcf2dd;color:#825f20}
.role-editor-heading p{margin:10px 0 0;font-size:12px;color:#5e6859;line-height:1.7}
.role-count{white-space:nowrap;display:flex;align-items:baseline;gap:7px}.role-count strong{font-size:32px;font-weight:500;letter-spacing:-1px;color:#2b6043;font-variant-numeric:tabular-nums}.role-count span{font-size:12px;color:#5e6857}
.role-toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 30px;background:#f8faf5;border-bottom:1px solid #e6ece2;font-size:12px;color:#5b6a57}
.role-toolbar>div{display:flex;gap:14px;align-items:center}.role-toolbar button,.role-group-title button{border:0;background:transparent;padding:2px 0;color:#397054;font-size:12px}.role-toolbar button:hover,.role-group-title button:hover{color:#173e29;text-decoration:underline}.role-divider{height:12px;width:1px;background:#d5dfd0}.role-readonly{color:#5e6958}
.role-groups{padding:2px 30px 24px}.role-group{padding:16px 0 0}.role-group-title{display:flex;align-items:center;gap:9px;margin-bottom:12px}.role-group-title h3{margin:0;font-size:13px;font-weight:650;color:#4a634b}.role-group-title>span{font-size:11px;color:#5f6859;font-variant-numeric:tabular-nums}.role-group-title button{margin-left:auto;font-size:11px}
.role-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.role-option{display:flex;gap:9px;align-items:center;min-height:44px;border:1px solid #e4e9df;border-radius:7px;padding:10px 12px;background:#fffefb;cursor:pointer;transition:background .15s,border-color .15s;margin:0;font-weight:400}
.role-option:hover{border-color:#aec6ad;background:#f6f9f3}.role-option.is-checked{background:#f0f6ee;border-color:#bfd3bc}.role-option input{width:15px;height:15px;margin:0;flex:0 0 15px;accent-color:#2b6647;cursor:inherit}.role-option span{font-size:12px;line-height:1.5;color:#48634a}.role-option>svg{margin-left:auto;flex-shrink:0;opacity:0;color:#3a714a}.role-option.is-checked>svg{opacity:1}.role-option:has(input:disabled){cursor:default}
.role-savebar{letter-spacing:0;position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 30px;border-top:1px solid #e1e8dc;background:#fffefbf5;box-shadow:0 -8px 20px #233e2b04;backdrop-filter:blur(10px)}
.role-savebar>div:first-child{display:flex;align-items:center;gap:10px;color:#4f6c4b;font-size:12px}.role-savebar>div:first-child>span{line-height:1.5}.role-savebar small{display:block;font-size:11px;color:#5e6856;margin-top:3px}.role-save-actions{display:flex;gap:10px;flex-shrink:0}.role-save-actions button{padding:10px 16px;border-radius:7px;font-size:12px;font-weight:600;line-height:1.5}.role-reset{border:1px solid #dce5d6;background:#fffefb;color:#586950}.role-save{border:1px solid #245c40;background:#245c40;color:#fff;box-shadow:0 3px 8px #245c4012}.role-save:hover:enabled{background:#174a30}
@media(min-width:1250px){.role-workspace{grid-template-columns:250px minmax(0,1fr)}.role-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.role-workspace{grid-template-columns:190px minmax(0,1fr);gap:16px}.role-options{grid-template-columns:repeat(2,minmax(0,1fr))}.role-editor-heading,.role-toolbar,.role-savebar{padding-left:20px;padding-right:20px}.role-groups{padding-left:20px;padding-right:20px}.role-savebar small{max-width:200px}}
@media(max-width:760px){.role-workspace{grid-template-columns:1fr}.role-picker{display:flex;flex-wrap:wrap;padding:10px;gap:6px}.role-picker-caption{width:100%;padding:4px 6px 8px}.role-choice{flex:1;min-width:110px;padding:10px 8px;gap:8px}.role-avatar{display:none}.role-picker-note{display:none}.role-choice-text strong{font-size:13px}.role-editor-heading{align-items:flex-start}.role-count{gap:3px}.role-count strong{font-size:26px}.role-count span{font-size:10px}.role-savebar{align-items:stretch;flex-direction:column;gap:12px}.role-savebar small{max-width:none}.role-save-actions{justify-content:flex-end}.role-options{gap:7px}.role-option{padding:10px 8px}.role-option>svg{display:none}}

.topic-config-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.topic-config-list{overflow:hidden}.topic-config-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px}.topic-config-heading h2{font-size:21px;margin:10px 0}.topic-config-heading p{font-size:12px;margin:0}.topic-config-count{white-space:nowrap;color:#5e6955;font-size:12px}.topic-config-count b{font-size:28px;color:#2c6546;font-weight:500}.topic-config-row{display:flex;gap:16px;align-items:center;padding:20px 24px;border-top:1px solid #e7ece1}.topic-config-number{font-size:12px;color:#5e6953;font-variant-numeric:tabular-nums}.topic-config-picture{width:68px;height:68px;flex:0 0 68px;background:#f2f6ed;border-radius:10px;display:grid;place-items:center;color:#526c48}.topic-config-picture img{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}.topic-config-copy{min-width:0;flex:1}.topic-config-copy h3{display:flex;gap:10px;align-items:center;margin:0 0 7px;font-size:15px}.topic-config-copy p{margin:0 0 7px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topic-config-copy code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#5f6956}.topic-config-actions{flex-shrink:0;text-align:right}.topic-config-actions .text-button:disabled{opacity:.3;cursor:default}.topic-config-note{margin:0;padding:18px 24px;background:#f5f8f1;font-size:11px;line-height:1.8}.topic-config-preview{background:#edf3e8;border:1px solid #dbe5d2;padding:22px 16px;border-radius:16px}.topic-config-preview h3{display:flex;align-items:center;justify-content:space-between;margin:20px 0 14px;color:#245d3d}.topic-config-preview h3 small{font-size:9px;color:#5c6953;font-weight:400}.topic-preview-row{display:flex;align-items:center;gap:10px;background:#fffefa;margin:8px 0;padding:12px 10px;border-radius:11px}.topic-preview-row img{width:44px;height:44px;object-fit:contain}.topic-preview-row>div{min-width:0;flex:1}.topic-preview-row b{font-size:12px;font-weight:600;color:#28583d}.topic-preview-row p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:9px;color:#5f6857}.topic-preview-row>span{color:#5c6951}.topic-preview-note{font-size:10px;margin:18px 0 0;color:#5c6951;text-align:center}.topic-config-empty{padding:50px 5px;text-align:center;color:#5c6951;font-size:13px}.topic-config-empty small{display:block;margin-top:12px;font-size:10px}@media(max-width:1200px){.topic-config-layout{grid-template-columns:1fr}.topic-config-preview{max-width:360px}}@media(max-width:700px){.topic-config-row{flex-wrap:wrap;padding:16px}.topic-config-number{display:none}.topic-config-actions{width:100%}.topic-config-heading{padding:18px}.topic-config-picture{width:52px;height:52px;flex-basis:52px}}
.product-actions{display:flex;align-items:center;gap:16px;white-space:nowrap}

/* Keep search and form hints readable without reducing their opacity. */
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}

#wdt-product-picker { margin: 12px 0; padding: 14px; border: 1px solid #d5e3d9; border-radius: 12px; background: #f5f9f5; }
.wdt-search-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.wdt-search-row input { flex: 1; min-width: 180px; }
#wdt-product-picker .form-note { margin: 8px 0; color: #385749; }

/* Member service: manual CRM points reconciliation receipt. */
.crm-points-sync-result { color: #254c3b; padding: 4px 0; }
.crm-points-sync-heading { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.crm-points-sync-result p { line-height: 1.7; color: #365849; }
.crm-points-sync-balances { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 22px 0; }
.crm-points-sync-balances > div { padding: 20px; border: 1px solid #d9e5dd; border-radius: 12px; background: #f3f8f4; }
.crm-points-sync-balances span { display: block; font-size: 14px; color: #426553; }
.crm-points-sync-balances strong { display: block; margin-top: 8px; font-size: 30px; line-height: 1.2; font-weight: 600; overflow-wrap: anywhere; }
.crm-points-sync-details { padding-top: 6px; border-top: 1px solid #e0e8e2; font-size: 14px; }
button[data-action="sync-points"] { white-space: nowrap; }
button[data-action="sync-points"]:disabled { opacity: .65; cursor: wait; }

.home-banner-art{position:relative;width:100%;height:100%;overflow:hidden}.home-banner-art>img{display:block;width:100%;height:100%;object-fit:cover}.home-banner-copy{position:absolute;left:0;right:0;bottom:0;box-sizing:border-box;padding:30px 20px 48px;background:linear-gradient(transparent,rgba(10,57,39,.78));color:#fff;pointer-events:none}.home-banner-title{font-size:19px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.home-banner-subtitle{margin-top:6px;font-size:12.5px;line-height:1.5;overflow-wrap:anywhere}

/* Cash reward records and settings */
.reward-page-tabs{display:flex;gap:6px;padding:5px;width:max-content;max-width:100%;margin:0 0 24px;background:#e9efea;border:1px solid #dce5dd;border-radius:12px}
.reward-page-tabs button{border:0;background:transparent;color:#6a7c70;padding:12px 28px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer}
.reward-page-tabs button.active{background:#fff;color:#165e43;box-shadow:0 2px 6px #244c3610}.reward-page-tabs button:focus-visible{outline:2px solid #176448;outline-offset:2px}
.reward-config-panel{padding:28px;overflow:hidden}.reward-settings-heading,.reward-section-heading,.reward-activity-toggle,.reward-save-bar{display:flex;justify-content:space-between;align-items:center;gap:20px}
.reward-settings-heading{margin-bottom:24px}.reward-eyebrow{display:block;font-size:11px;letter-spacing:2px;color:#819180;margin-bottom:6px}.reward-settings-heading h3{font-size:23px;margin:0}.reward-settings-heading p,.reward-section-heading p,.reward-activity-toggle p{color:#768477;font-size:13px;line-height:1.7;margin:6px 0 0}
.reward-activity-toggle{padding:18px 20px;border:1px solid #dce8dd;background:#f0f6ef;border-radius:12px;margin-bottom:24px}.reward-activity-toggle strong{font-size:15px}.reward-config-panel .checkbox{display:flex;align-items:center;gap:10px;margin:0;line-height:1.6;font-size:14px}.reward-config-panel .checkbox input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#166447}
.reward-round-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}.reward-setting-card{min-width:0;background:#fff;border:1px solid #e0e7df;border-radius:14px;padding:22px}.reward-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.reward-card-heading>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:#edf3ea;color:#47744b;font-size:15px;font-weight:600}.reward-card-heading h3,.reward-section-heading h3{font-size:16px;margin:0}.reward-card-heading p{color:#7c897c;font-size:12px;margin:4px 0 0;line-height:1.6}
.reward-round-controls{box-sizing:border-box;min-height:112px;padding:14px 16px;margin-bottom:20px;border-radius:10px;background:#f7f9f4}.reward-round-controls strong{font-size:13px;color:#617260}.reward-round-controls p{font-size:12px;line-height:1.7;color:#7d897b;margin:8px 0 0}.reward-round-controls .checkbox+.checkbox{margin-top:10px}
.reward-config-panel .field-label{display:block;margin-bottom:18px}.reward-config-panel label{min-width:0}.reward-config-panel input:not([type=checkbox]),.reward-config-panel select,.reward-config-panel textarea{box-sizing:border-box;width:100%;min-width:0}.reward-config-panel input[readonly]{background:#f3f5f0;color:#788273}.reward-config-panel select{white-space:nowrap;text-overflow:ellipsis}.reward-config-panel .reward-setting-card>label:last-child{margin-bottom:0}
.reward-config-panel form>.reward-setting-card{margin-bottom:20px}.reward-section-heading{margin-bottom:20px}.reward-budget-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.reward-help{font-size:12px;color:#7a8778;line-height:1.8;margin:14px 0 0}.reward-config-panel .publish-checklist{margin:0;border:0;padding:0;background:transparent}.reward-save-bar{padding:8px 0 0}.reward-save-bar>span{font-size:13px;color:#7a8778}
@media(max-width:1200px){.reward-budget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reward-config-panel{padding:20px}.reward-round-controls{min-height:140px}}
@media(max-width:760px){.reward-round-grid,.reward-budget-grid{grid-template-columns:1fr}.reward-settings-heading,.reward-section-heading,.reward-activity-toggle,.reward-save-bar{align-items:flex-start;flex-direction:column}.reward-setting-card{padding:18px}.reward-round-controls{min-height:0}.reward-page-tabs{width:auto}.reward-page-tabs button{flex:1;padding:12px 18px}.reward-save-bar button{width:100%}}

/* Knowledge bubble management */
.bubble-page-actions{display:flex;align-items:center;gap:12px}.bubble-selection-count{padding:12px 0 18px;font-size:15px;font-weight:600;color:#165e43}.bubble-table-wrap{max-height:52vh;overflow:auto;border:1px solid #e1e8df;border-radius:12px}.bubble-table{width:100%;border-collapse:collapse}.bubble-table th{position:sticky;top:0;background:#f1f5ee;text-align:left;color:#617361}.bubble-table th,.bubble-table td{padding:15px 18px;border-bottom:1px solid #e7ece5}.bubble-table td:last-child,.bubble-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}.bubble-table input{width:18px;height:18px;accent-color:#166447}.bubble-table small{display:block;color:#899382;font-size:11px;margin-top:4px}

.bubble-table .bubble-article-count{text-align:right;font-variant-numeric:tabular-nums}.bubble-table th:nth-child(3){text-align:right;white-space:nowrap}

.asset-member-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:20px;background:#edf3e9;border-radius:16px;margin-bottom:20px}.asset-member-summary strong{font-size:22px;color:#165e41}.asset-member-summary b{margin-left:auto;color:#165e41}.asset-member-summary span{color:#6c7f6a}

/* Keep member tools grouped and make the information column the detail entry. */
.members-list-header .list-tools{justify-content:flex-start;gap:12px;flex-wrap:wrap}
.members-list-header .search-box{flex:1 1 220px;width:auto;min-width:220px;max-width:340px;margin-right:auto;box-sizing:border-box}
.members-list-header .search-box input{flex:1;width:100%;min-width:0}
.members-list-header .list-tools>button{flex:0 0 auto;white-space:nowrap}
.member-detail-link{font:inherit;display:block;width:100%;border:0;background:transparent;padding:0;color:inherit;text-align:left;border-radius:10px;cursor:pointer}
.member-detail-link:hover b{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.member-detail-link:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.member-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:240px;max-width:440px}
.member-row-actions .text-button{white-space:nowrap}
.monitor-member b,.monitor-member small{display:block;line-height:1.6}.monitor-member{min-width:120px}.monitor-member small{color:var(--muted)}
@media(max-width:700px){.members-list-header .list-tools{justify-content:flex-end}.members-list-header .search-box{flex:1 0 100%;margin-right:0;min-width:0;max-width:none}.members-list-header .list-tools>button{padding:9px 12px;font-size:12px}}

.members-list-header .member-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-left:auto}.members-list-header .member-toolbar-actions>button{flex:0 0 auto;white-space:nowrap}@media(max-width:700px){.members-list-header .member-toolbar-actions{width:100%;gap:10px}.members-list-header .member-toolbar-actions>button{font-size:12px;padding:9px 12px}}

/* Search results remain visible above the selected ERP fields. */
.wdt-search-results { display: grid; gap: 8px; max-height: 320px; overflow-y: auto; margin: 0 0 16px; }
.wdt-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 14px; text-align: left; border: 1px solid #d5e3d9; border-radius: 10px; background: #fff; color: #244a3b; cursor: pointer; }
.wdt-result:hover, .wdt-result:focus-visible { border-color: #17664c; background: #f0f8f3; }
.wdt-result.selected { border-color: #17664c; background: #eaf4ed; }
.wdt-result b, .wdt-result small { display: block; overflow-wrap: anywhere; }
.wdt-result small { margin-top: 5px; color: #687d70; font-size: 12px; }
.wdt-result-action { flex-shrink: 0; font-size: 13px; font-weight: 600; }
@media (max-width: 600px) { .wdt-result { align-items: flex-start; flex-direction: column; gap: 8px; } }
