/* [project]/src/components/admin/admin.css [app-client] (css) */
:root {
  --admin-ink: #1c2a27;
  --admin-muted: #78837e;
  --admin-line: #e7eae4;
  --admin-canvas: #f7f8f4;
  --admin-surface: #fff;
  --admin-green: #27614f;
  --admin-green-dark: #1d4c3c;
  --admin-green-soft: #eaf2ed;
  --admin-amber: #d49340;
  --admin-red: #a94c42;
  --admin-shadow: 0 18px 50px #22392e12;
}

.login-page *, .login-page :before, .login-page :after, .admin-frame *, .admin-frame :before, .admin-frame :after {
  box-sizing: border-box;
}

:is(body:has(.login-page), body:has(.admin-frame), body:has(.admin-loading)) {
  min-height: 100vh;
  color: var(--admin-ink);
  background: var(--admin-canvas);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: DM Sans, PingFang SC, Microsoft YaHei, sans-serif;
}

.login-page button, .login-page input, .login-page select, .login-page textarea, .admin-frame button, .admin-frame input, .admin-frame select, .admin-frame textarea {
  font: inherit;
}

.login-page button, .admin-frame button {
  color: inherit;
}

.login-page button:focus-visible, .login-page a:focus-visible, .login-page input:focus-visible, .login-page select:focus-visible, .login-page textarea:focus-visible, .admin-frame button:focus-visible, .admin-frame a:focus-visible, .admin-frame input:focus-visible, .admin-frame select:focus-visible, .admin-frame textarea:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #d49340b8;
}

.login-page a, .admin-frame a {
  color: inherit;
}

.admin-frame {
  min-height: 100vh;
}

.admin-sidebar {
  z-index: 5;
  color: #e8f0e9;
  background: #1c4336;
  flex-direction: column;
  width: 252px;
  padding: 30px 18px 22px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.brand-lockup, .login-brand {
  align-items: center;
  gap: 11px;
  text-decoration: none;
  display: flex;
}

.brand-mark {
  color: #214b3c;
  background: #f1cc8b;
  border: 1px solid #ffffff47;
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
  display: grid;
}

.brand-lockup > span:last-child, .login-brand > span:last-child {
  gap: 2px;
  display: grid;
}

.brand-lockup strong, .login-brand strong {
  letter-spacing: -.04em;
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.brand-lockup small, .login-brand small {
  color: #9db8aa;
  letter-spacing: .12em;
  font-size: 11px;
}

.sidebar-caption {
  color: #92ab9f;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 57px 0 12px 12px;
  font-size: 10px;
  font-weight: 700;
}

.sidebar-nav {
  gap: 7px;
  display: grid;
}

.nav-item {
  color: #c0d1c7;
  border-radius: 11px;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s, background .18s;
  display: flex;
  position: relative;
}

.nav-item.is-active {
  color: #fff;
  background: #ffffff1f;
  box-shadow: inset 3px 0 #f1c985;
}

.nav-icon {
  color: #e7c98f;
  place-items: center;
  width: 22px;
  font-size: 19px;
  display: grid;
}

.sidebar-spacer {
  flex: 1;
}

.note-spark {
  color: #f1c985;
  font-size: 15px;
}

.admin-main {
  min-height: 100vh;
  margin-left: 252px;
}

.admin-topbar {
  z-index: 4;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #fafbf8eb;
  border-bottom: 1px solid #e2e6ded6;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding: 0 clamp(22px, 4vw, 60px);
  display: flex;
  position: sticky;
  top: 0;
}

.topbar-context {
  color: #7b8780;
  letter-spacing: .025em;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  display: flex;
}

.context-dot {
  background: #6a9d7e;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #e4eee7;
}

.topbar-user {
  align-items: center;
  gap: 10px;
  display: flex;
}

.avatar {
  color: #27614f;
  background: #dfede4;
  border-radius: 50%;
  place-items: center;
  width: 33px;
  height: 33px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
}

.user-meta {
  gap: 2px;
  min-width: 86px;
  display: grid;
}

.user-meta strong {
  color: #39463f;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.user-meta small {
  color: #929a94;
  font-size: 9px;
}

.logout-button {
  color: #77817b;
  cursor: pointer;
  background: none;
  border: 0;
  border-left: 1px solid #e4e7e1;
  padding: 7px 0 7px 12px;
  font-size: 10px;
}

.logout-button:hover {
  color: var(--admin-red);
}

.mobile-brand {
  display: none;
}

.admin-content {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 42px clamp(22px, 4vw, 60px) 68px;
}

.eyebrow {
  color: #84928b;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: Manrope, sans-serif;
  font-size: 9px;
  font-weight: 800;
}

.page-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
  display: flex;
}

.page-heading h1 {
  letter-spacing: -.055em;
  margin: 9px 0 0;
  font-family: Manrope, PingFang SC, sans-serif;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.page-heading p {
  color: #89928d;
  max-width: 680px;
  margin: 11px 0 0;
  font-size: 12px;
  line-height: 1.65;
}

.heading-action {
  flex: none;
  display: flex;
}

.button {
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s, background .16s, border-color .16s;
  display: inline-flex;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.button-primary {
  color: #fff;
  background: var(--admin-green);
  box-shadow: 0 6px 14px #27614f26;
}

.button-primary:hover:not(:disabled) {
  background: var(--admin-green-dark);
}

.button-secondary {
  color: #4c6257;
  background: #fff;
  border-color: #dde4dc;
}

.button-secondary:hover:not(:disabled) {
  background: #f8fbf8;
  border-color: #b8cabe;
}

.button-quiet {
  color: #66776d;
  background: none;
  border-color: #0000;
}

.button-quiet:hover:not(:disabled) {
  color: var(--admin-green);
  background: #eef4ef;
}

.button-danger-soft {
  color: #a5584d;
  background: #fff8f6;
  border-color: #f1dfd9;
}

.button-danger-soft:hover:not(:disabled) {
  background: #fff0eb;
}

.button-danger {
  color: #fff;
  background: #a94c42;
}

.button-danger:hover:not(:disabled) {
  background: #903b34;
}

.surface {
  background: var(--admin-surface);
  border: 1px solid #e9ece6;
  border-radius: 14px;
  box-shadow: 0 4px 18px #22392e06;
}

.activity-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 15px;
  display: grid;
}

.overview-card {
  background: linear-gradient(145deg, #f6fbf7, #eaf4ed);
  border: 1px solid #e5ece7;
  border-radius: 14px;
  align-content: center;
  gap: 7px;
  min-height: 105px;
  padding: 18px 20px;
  display: grid;
}

.overview-card strong {
  color: #285f4c;
  letter-spacing: -.06em;
  font-family: Manrope, sans-serif;
  font-size: 27px;
}

.overview-card small {
  color: #8fa198;
  font-size: 9px;
}

.overview-card-warm {
  background: linear-gradient(145deg, #fffaf2, #f7f0e4);
  border-color: #efe6d7;
}

.overview-card-warm span, .overview-card-warm strong {
  color: #8d6d3e;
}

.overview-card-muted {
  background: linear-gradient(145deg, #fafbf9, #f0f1ed);
  border-color: #e8eae5;
}

.overview-card-muted span, .overview-card-muted strong {
  color: #68736c;
}

.list-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
  padding: 14px 16px;
  display: flex;
}

.search-form {
  align-items: center;
  gap: 9px;
  width: min(100%, 720px);
  display: flex;
}

.search-field {
  color: #9aa39d;
  background: #fbfcfa;
  border: 1px solid #e6eae4;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  display: flex;
}

.search-field > span {
  font-size: 20px;
  line-height: 1;
}

.search-field input {
  width: 100%;
  color: var(--admin-ink);
  background: none;
  border: 0;
  outline: 0;
  font-size: 11px;
}

.search-field:focus-within {
  background: #fff;
  border-color: #98b5a4;
}

.search-form select, .selector-controls select {
  color: #59675f;
  background: #fff;
  border: 1px solid #e6eae4;
  border-radius: 8px;
  min-width: 126px;
  min-height: 38px;
  padding: 0 31px 0 11px;
  font-size: 11px;
}

.toolbar-count {
  color: #9aa29d;
  white-space: nowrap;
  font-size: 10px;
}

.toolbar-count strong {
  color: #4a6456;
  margin-right: 4px;
  font-size: 13px;
}

.status-filter-tabs {
  background: #edf0eb;
  border-radius: 10px;
  align-items: center;
  gap: 3px;
  margin: 0 0 13px;
  padding: 4px;
  display: inline-flex;
}

.status-filter-tab {
  color: #7c8780;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
}

.status-filter-tab:hover {
  color: #3f6653;
}

.status-filter-tab.is-selected {
  color: #2f604d;
  background: #fff;
  box-shadow: 0 2px 6px #2b483914;
}

.status-filter-tab span {
  color: #9da7a0;
  font-size: 9px;
}

.status-filter-tab.is-selected span {
  color: #6b907a;
}

.activity-list {
  overflow: hidden;
}

.table-head, .activity-row {
  grid-template-columns: minmax(220px, 1.75fr) 112px 82px 82px 90px 83px minmax(190px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 23px;
  display: grid;
}

.table-head {
  color: #9ba39d;
  letter-spacing: .06em;
  background: #fbfcfa;
  border-bottom: 1px solid #edf0eb;
  min-height: 43px;
  font-size: 9px;
  font-weight: 700;
}

.activity-row {
  border-bottom: 1px solid #f0f2ee;
  min-height: 81px;
  transition: background .15s;
}

.activity-row:last-child {
  border-bottom: 0;
}

.activity-row:hover {
  background: #fcfdfa;
}

.activity-main-cell {
  gap: 6px;
  min-width: 0;
  display: grid;
}

.activity-title {
  color: #31483c;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
}

.activity-title:hover {
  color: var(--admin-green);
}

.activity-code {
  color: #a0a8a2;
  font-family: Manrope, sans-serif;
  font-size: 9px;
}

.activity-status-cell {
  color: #7b867f;
  font-size: 10px;
}

.activity-metric {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.activity-metric strong {
  color: #4e6257;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
}

.activity-metric small {
  color: #a1aaa3;
  font-size: 8px;
}

.activity-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.text-action {
  color: #42735b;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  align-items: center;
  gap: 4px;
  padding: 3px 0;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.text-action:hover {
  color: #204f3b;
  text-underline-offset: 3px;
  text-decoration: underline;
}

.status-badge {
  color: #6e7972;
  white-space: nowrap;
  background: #f1f3ef;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
}

.status-badge i {
  background: #a8b0a9;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.status-draft {
  color: #8a7143;
  background: #f8f1e4;
}

.status-draft i {
  background: #d6a24e;
}

.status-published {
  color: #3e7758;
  background: #e9f3ec;
}

.status-published i {
  background: #69a17b;
}

.status-ended {
  color: #858a84;
  background: #eff0ed;
}

.status-ended i {
  background: #a4aaa3;
}

.list-footnote {
  color: #a3aaa5;
  margin: 13px 2px 0;
  font-size: 9px;
  line-height: 1.6;
}

.table-loading, .page-loading {
  color: #8d9991;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 150px;
  font-size: 11px;
  display: flex;
}

.page-loading {
  min-height: 300px;
}

.compact-loading {
  min-height: 120px;
}

.loading-dot {
  border: 2px solid #d8e3da;
  border-top-color: #488164;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: .7s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-state {
  text-align: center;
  justify-items: center;
  padding: 50px 20px;
  display: grid;
}

.empty-mark {
  color: #5f8a70;
  background: #f3f8f3;
  border: 1px solid #e2ebe3;
  border-radius: 50%;
  place-items: center;
  width: 47px;
  height: 47px;
  font-size: 27px;
  display: grid;
}

.empty-state h2 {
  margin: 15px 0 0;
  font-size: 14px;
}

.empty-state p {
  color: #8e9891;
  max-width: 380px;
  margin: 8px 0 18px;
  font-size: 11px;
  line-height: 1.7;
}

.notice {
  border: 1px solid #0000;
  border-radius: 10px;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  display: flex;
}

.notice p {
  color: inherit;
  margin: 0;
  font-size: 10px;
  line-height: 1.65;
}

.notice strong {
  margin-bottom: 3px;
  font-size: 11px;
  display: block;
}

.notice-mark {
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 19px;
  height: 19px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.notice-error {
  color: #975249;
  background: #fff8f6;
  border-color: #f2d9d3;
}

.notice-error .notice-mark {
  color: #fff;
  background: #bc6659;
}

.notice-success {
  color: #457553;
  background: #f3faf4;
  border-color: #dcebe0;
  align-items: center;
}

.notice-success > p {
  flex: 1;
}

.notice-success .notice-mark {
  color: #fff;
  background: #65a076;
}

.notice-muted {
  color: #87918a;
  background: #f9faf7;
  border-color: #edf0e9;
}

.notice-muted .notice-mark {
  color: #688574;
  background: #e8efe9;
}

.notice-warning {
  color: #8c7044;
  background: #fffaf0;
  border-color: #f0e4c9;
}

.notice-warning .notice-mark {
  color: #fff;
  background: #c49347;
}

.error-panel {
  width: min(100%, 430px);
  box-shadow: var(--admin-shadow);
  background: #fff;
  border: 1px solid #e9ece6;
  border-radius: 16px;
  padding: 35px;
}

.error-panel h1 {
  margin: 10px 0;
  font-size: 22px;
}

.error-panel p {
  color: #859089;
  font-size: 12px;
  line-height: 1.7;
}

.error-panel .button {
  margin: 7px 8px 0 0;
}

.admin-loading {
  color: #7d8b82;
  place-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 100vh;
  font-size: 11px;
  display: grid;
}

.admin-load-error {
  padding: 22px;
}

.login-page {
  background: #f8f9f5;
  grid-template-columns: minmax(360px, 1.04fr) minmax(400px, .96fr);
  min-height: 100vh;
  display: grid;
}

.login-story {
  color: #f0f6ef;
  background: #1c4336;
  flex-direction: column;
  min-height: 100vh;
  padding: clamp(30px, 5vw, 68px);
  display: flex;
  position: relative;
  overflow: hidden;
}

.login-brand .brand-mark {
  border-color: #0000;
  width: 43px;
  height: 43px;
}

.login-story-copy {
  z-index: 2;
  margin: clamp(62px, 12vh, 124px) 0 0 clamp(0px, 3vw, 34px);
  position: relative;
}

.login-story-copy .eyebrow {
  color: #a5c0b0;
}

.login-story-copy h1 {
  letter-spacing: -.07em;
  margin: 18px 0 17px;
  font-family: Manrope, PingFang SC, sans-serif;
  font-size: clamp(37px, 5vw, 63px);
  font-weight: 500;
  line-height: 1.18;
}

.login-story-copy h1 em {
  color: #f0c981;
  font-style: normal;
}

.login-story-copy p {
  color: #b4c9bb;
  max-width: 350px;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.story-art {
  width: min(100%, 490px);
  height: 270px;
  margin: auto auto 25px;
  position: relative;
}

.art-orbit {
  border: 1px solid #d4e7d321;
  border-radius: 50%;
  display: block;
  position: absolute;
}

.orbit-one {
  inset: 16px 40px 0 26px;
  transform: rotate(-13deg);
}

.orbit-two {
  inset: 42px 9px 18px 62px;
  transform: rotate(17deg);
}

.art-sun {
  background: #efc77f;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  position: absolute;
  top: 18px;
  right: 72px;
  box-shadow: 0 0 65px #ecc3744d;
}

.art-card {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #ffffff38;
  border-radius: 15px;
  padding: 18px;
  display: grid;
  position: absolute;
  box-shadow: 0 20px 45px #09221747;
}

.art-card-front {
  z-index: 2;
  color: #254a3b;
  background: #f7f8ebf5;
  width: 210px;
  height: 139px;
  top: 50px;
  left: 22px;
  transform: rotate(-6deg);
}

.art-card-front i {
  color: #254a3b;
  background: #efd08e;
  border-radius: 8px;
  place-items: center;
  width: 25px;
  height: 25px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  display: grid;
}

.art-card-front b, .art-card-back b {
  margin-top: 16px;
  font-size: 11px;
}

.art-card-front small, .art-card-back small {
  color: #8b978e;
  margin-top: 5px;
  font-size: 8px;
}

.art-card-line {
  background: #7ea28b;
  border-radius: 4px;
  width: 35px;
  height: 4px;
  position: absolute;
  bottom: 18px;
  right: 18px;
}

.art-card-back {
  z-index: 1;
  color: #254a3b;
  background: #eef5ebf0;
  width: 218px;
  height: 137px;
  top: 94px;
  right: 22px;
  transform: rotate(5deg);
}

.art-mini-chart {
  align-items: flex-end;
  gap: 6px;
  height: 35px;
  display: flex;
}

.art-mini-chart i {
  background: #9eb9a2;
  border-radius: 4px 4px 1px 1px;
  width: 13px;
}

.art-mini-chart i:first-child {
  height: 12px;
}

.art-mini-chart i:nth-child(2) {
  height: 20px;
}

.art-mini-chart i:nth-child(3) {
  height: 17px;
}

.art-mini-chart i:nth-child(4) {
  background: #d4ae65;
  height: 28px;
}

.art-mini-chart i:nth-child(5) {
  height: 34px;
}

.story-footer {
  color: #8eaa9a;
  letter-spacing: .12em;
  justify-content: space-between;
  font-family: Manrope, sans-serif;
  font-size: 8px;
  display: flex;
}

.login-panel-wrap {
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(32px, 7vw, 96px);
  display: flex;
}

.login-panel {
  width: min(100%, 390px);
  margin: auto;
}

.login-panel-heading .eyebrow {
  color: #9ba69e;
}

.login-panel-heading h2 {
  letter-spacing: -.06em;
  margin: 12px 0 8px;
  font-family: Manrope, sans-serif;
  font-size: 29px;
  font-weight: 700;
}

.login-panel-heading p {
  color: #87928a;
  margin: 0;
  font-size: 11px;
}

.login-form {
  gap: 10px;
  margin-top: 36px;
  display: grid;
}

.field-label {
  color: #59675f;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
}

.login-form input, .editor-field input, .editor-field textarea, .editor-field select {
  color: #2b3d33;
  background: #fff;
  border: 1px solid #e1e6df;
  border-radius: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  font-size: 11px;
  transition: border .16s, box-shadow .16s;
}

.login-form input::placeholder, .editor-field input::placeholder {
  color: #b5bdb7;
}

.login-form input:focus, .editor-field input:focus, .editor-field textarea:focus {
  border-color: #83a28d;
  outline: 0;
  box-shadow: 0 0 0 3px #497e5c17;
}

.login-submit {
  justify-content: space-between;
  min-height: 45px;
  margin-top: 17px;
  padding: 0 16px;
}

.button-spinner {
  border: 2px solid #ffffff59;
  border-top-color: #fff;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  animation: .7s linear infinite spin;
}

.login-help {
  color: #a2aaa4;
  margin: 18px 0 0;
  font-size: 9px;
  line-height: 1.7;
}

.login-panel-footer {
  color: #a0a9a1;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  display: flex;
}

.login-panel-footer span:first-child {
  color: #62846c;
}

.form-error {
  color: #96554b;
  background: #fff8f6;
  border: 1px solid #f0d9d3;
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 10px;
  line-height: 1.5;
}

.wizard-progress {
  background: #fff;
  border: 1px solid #e9ece6;
  border-radius: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 24px;
  padding: 15px 20px;
  display: grid;
}

.wizard-step {
  color: #a1aaa3;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  display: flex;
  position: relative;
}

.wizard-step:not(:last-child):after {
  content: "";
  background: #edf0eb;
  height: 1px;
  position: absolute;
  left: 84px;
  right: 12px;
}

.wizard-step > span {
  background: #fff;
  border: 1px solid #e3e8e1;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 23px;
  height: 23px;
  font-family: Manrope, sans-serif;
  font-size: 8px;
  display: grid;
}

.wizard-step strong {
  font-size: 10px;
  font-weight: 600;
}

.wizard-step.is-current {
  color: #316d52;
}

.wizard-step.is-current > span {
  color: #fff;
  background: #4f906b;
  border-color: #4f906b;
  box-shadow: 0 0 0 4px #eaf3ec;
}

.wizard-step.is-current strong {
  font-weight: 800;
}

.wizard-step.is-done {
  color: #6c9278;
}

.wizard-step.is-done > span {
  color: #4d8060;
  background: #eef6f0;
  border-color: #d6e7da;
}

.wizard-layout {
  grid-template-columns: minmax(0, 1fr) 276px;
  align-items: start;
  gap: 19px;
  display: grid;
}

.wizard-content-step {
  grid-template-columns: minmax(320px, .9fr) minmax(340px, 1.1fr);
}

.wizard-main-card {
  min-width: 0;
  padding: 25px;
}

.section-heading {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 23px;
  display: flex;
}

.section-index {
  color: #397154;
  background: #edf4ee;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.section-heading h2 {
  margin: 1px 0 5px;
  font-size: 15px;
}

.section-heading p {
  color: #909a92;
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

.editor-field {
  gap: 7px;
  min-width: 0;
  display: grid;
}

.editor-field label, .audience-fieldset legend {
  color: #536259;
  font-size: 10px;
  font-weight: 700;
}

.required-mark {
  color: #bc6659;
  margin-left: 4px;
}

.editor-field textarea {
  resize: vertical;
  min-height: 90px;
  padding: 11px 12px;
  line-height: 1.6;
}

.field-hint {
  color: #a0aaa2;
  font-size: 9px;
  line-height: 1.6;
}

.title-field {
  margin-bottom: 23px;
}

.template-choice-list {
  gap: 10px;
  display: grid;
}

.template-choice-card {
  width: 100%;
  min-height: 106px;
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #e7ebe5;
  border-radius: 11px;
  grid-template-columns: 86px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 11px;
  transition: border .15s, background .15s, box-shadow .15s;
  display: grid;
  position: relative;
}

.template-choice-card:hover {
  background: #fcfefc;
  border-color: #b5cbbc;
}

.template-choice-card.is-selected {
  background: #f7fbf7;
  border-color: #6f9c7e;
  box-shadow: inset 0 0 0 1px #8bb194;
}

.template-card-art {
  background: linear-gradient(145deg, #c5d8d9, #edf0e9);
  border-radius: 8px;
  place-items: center;
  width: 86px;
  height: 82px;
  display: grid;
  overflow: hidden;
}

.template-card-art > span {
  color: #31564b;
  background: #ffffff6e;
  border: 1px solid #28453d3d;
  border-radius: 27px 27px 12px 12px;
  place-items: center;
  width: 48px;
  height: 58px;
  font-family: Georgia, serif;
  font-size: 23px;
  display: grid;
}

.template-art-2 {
  background: linear-gradient(145deg, #f1d99c, #f7edd3);
}

.template-art-2 > span {
  color: #80553f;
  background: #ffffff6b;
  border-color: #81522f40;
  border-radius: 50% 50% 9px 9px;
}

.template-art-camel {
  background-color: #0000;
  background-image: linear-gradient(145deg, #f1d99cbd, #f7edd3e6), url("/templates/camel-milk-hero.jpg");
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
}

.template-art-camel > span {
  color: #80553f;
  background: #ffffff80;
  border-color: #81522f40;
  border-radius: 50% 50% 9px 9px;
}

.template-choice-copy {
  gap: 6px;
  min-width: 0;
  display: grid;
}

.template-choice-copy strong {
  color: #3f5448;
  font-size: 11px;
}

.template-choice-copy small {
  color: #929b94;
  font-size: 9px;
  line-height: 1.55;
}

.template-choice-tag {
  color: #6a9077;
  font-size: 8px;
}

.choice-check {
  color: #fff;
  border: 1px solid #dce4dc;
  border-radius: 50%;
  place-items: center;
  width: 19px;
  height: 19px;
  font-size: 9px;
  display: grid;
}

.is-selected .choice-check {
  background: #5a926c;
  border-color: #5a926c;
}

.wizard-main-card > .notice {
  margin: 20px 0 0;
}

.wizard-side-note {
  color: #547160;
  background: #edf4ed;
  border: 1px solid #e4ebe2;
  border-radius: 13px;
  min-height: 220px;
  padding: 23px 21px;
  position: sticky;
  top: 91px;
}

.side-note-icon {
  color: #558061;
  background: #fff9;
  border: 1px solid #ceded0;
  border-radius: 11px;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 21px;
  font-size: 17px;
  display: grid;
}

.wizard-side-note .eyebrow {
  color: #799281;
  font-size: 8px;
}

.wizard-side-note h3 {
  color: #365b45;
  margin: 10px 0 7px;
  font-size: 14px;
  line-height: 1.4;
}

.wizard-side-note p {
  color: #7e9182;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.wizard-side-note small {
  color: #7e9182;
  font-size: 9px;
  line-height: 1.6;
}

.note-divider {
  background: #dce7dc;
  height: 1px;
  margin: 16px 0 12px;
}

.schedule-summary dl {
  grid-template-columns: 52px 1fr;
  gap: 9px;
  margin: 13px 0 0;
  font-size: 9px;
  line-height: 1.5;
  display: grid;
}

.schedule-summary dt {
  color: #85988a;
}

.schedule-summary dd {
  color: #536e5b;
  margin: 0;
  font-weight: 600;
}

.content-editor {
  gap: 18px;
  display: grid;
}

.editor-intro {
  border-bottom: 1px solid #edf0eb;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  display: flex;
}

.editor-step-mark {
  color: #3b7254;
  background: #edf4ee;
  border-radius: 10px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}

.editor-intro strong {
  font-size: 14px;
}

.editor-intro p {
  color: #8c9790;
  margin: 4px 0 0;
  font-size: 9px;
}

.editor-note {
  margin: 0 !important;
}

.preview-column {
  justify-items: center;
  min-width: 0;
  display: grid;
}

.preview-caption {
  justify-content: space-between;
  align-items: center;
  width: min(100%, 360px);
  margin: 0 0 11px;
  display: flex;
}

.preview-caption > div {
  gap: 4px;
  display: grid;
}

.preview-caption strong {
  font-size: 11px;
}

.preview-readonly {
  color: #7a8c7e;
  background: #eef3ed;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 8px;
  display: inline-flex;
}

.phone-frame, .final-phone-frame {
  background: #e6e9e2;
  border: 1px solid #cdd4cc;
  border-radius: 31px;
  width: min(100%, 326px);
  height: 602px;
  padding: 20px 9px 9px;
  position: relative;
  box-shadow: 0 16px 42px #2d3e301f, inset 0 0 0 4px #fafbf8;
}

.phone-speaker {
  z-index: 2;
  background: #c2c9c1;
  border-radius: 8px;
  width: 49px;
  height: 5px;
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
}

.phone-screen {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #f4f0e4;
  border-radius: 22px;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.phone-screen .template-page {
  padding: 12px 11px 20px;
}

.phone-screen .template-hero {
  grid-template-columns: 1fr;
}

.phone-screen .template-title {
  margin-top: 8px;
  font-size: 30px;
}

.phone-screen .template-subtitle {
  margin-top: 9px;
  font-size: 10px;
}

.phone-screen .template-hero {
  gap: 12px;
  padding: 13px 0 20px;
}

.phone-screen .template-hero-image {
  border-radius: 14px;
}

.phone-screen .template-panel {
  border-radius: 15px;
  padding: 13px;
}

.phone-screen .template-panel h2 {
  font-size: 13px;
}

.phone-screen .template-panel p {
  font-size: 9px;
}

.phone-screen .template-step {
  margin: 15px 0 8px;
}

.phone-screen .template-step-label {
  font-size: 9px;
}

.phone-screen .template-choice {
  border-radius: 10px;
  min-height: 54px;
  padding: 8px;
}

.phone-screen .template-choice-title {
  font-size: 9px;
}

.phone-screen .template-choice-detail {
  font-size: 8px;
}

.phone-screen .template-choice-grid {
  grid-template-columns: 1fr;
}

.phone-screen .template-dot-row {
  gap: 8px;
}

.phone-screen .template-swatch {
  width: 54px;
}

.phone-screen .template-swatch-circle {
  width: 37px;
  height: 37px;
}

.phone-screen .template-swatch-label, .phone-screen .template-radio {
  font-size: 9px;
}

.phone-screen .template-radio {
  padding: 9px;
}

.phone-screen .template-input-row {
  gap: 7px;
}

.phone-screen .template-field input, .phone-screen .template-field textarea {
  padding: 8px;
  font-size: 10px;
}

.phone-screen .template-field label {
  font-size: 8px;
}

.phone-screen .template-button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 9px;
}

.phone-screen .template-actions {
  gap: 6px;
  margin-top: 14px;
}

.phone-screen .template-result {
  margin-top: 12px;
  padding: 12px;
}

.phone-screen .template-result strong {
  font-size: 16px;
}

.phone-screen .template-kicker {
  font-size: 8px;
}

.preview-footnote {
  color: #9ba49d;
  text-align: center;
  width: min(100%, 340px);
  margin: 12px 0 0;
  font-size: 8px;
  line-height: 1.6;
}

.preview-invalid {
  color: #8f604e;
  text-align: center;
  background: #fbf2e9;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-height: 220px;
  padding: 20px;
  display: grid;
}

.preview-invalid strong {
  font-size: 11px;
}

.preview-invalid p {
  color: #a17f6a;
  max-width: 230px;
  margin: 0;
  font-size: 9px;
  line-height: 1.65;
}

.draft-presence {
  color: #849088;
  align-items: center;
  gap: 9px;
  margin: -10px 0 19px;
  font-size: 9px;
  display: flex;
}

.audience-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.audience-fieldset legend {
  margin-bottom: 9px;
}

.audience-options {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.audience-option {
  cursor: pointer;
  border: 1px solid #e6ebe4;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 11px;
  display: flex;
  position: relative;
}

.audience-options:has(.audience-option-locked) {
  grid-template-columns: minmax(0, 1fr);
}

.audience-option-locked {
  cursor: default;
}

.audience-option-locked em {
  color: #6b9476;
  white-space: nowrap;
  margin-left: auto;
  font-size: 9px;
  font-style: normal;
}

.audience-option.is-selected {
  background: #f7fbf7;
  border-color: #82a88c;
  box-shadow: inset 0 0 0 1px #adccb2;
}

.audience-option input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.audience-option-icon {
  color: #5a8568;
  background: #edf4ee;
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 16px;
  display: grid;
}

.audience-option > span:last-child {
  gap: 4px;
  display: grid;
}

.audience-option strong {
  font-size: 10px;
}

.audience-option small {
  color: #99a29b;
  font-size: 8px;
}

.points-grid, .time-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
  display: grid;
}

.number-suffix {
  position: relative;
}

.number-suffix input {
  padding-right: 37px;
}

.number-suffix span {
  color: #9ba49d;
  font-size: 9px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
}

.time-grid {
  margin-top: 19px;
}

.time-grid input {
  font-size: 10px;
}

.final-step-heading {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  display: flex;
}

.final-step-heading h2 {
  margin: 7px 0 5px;
  font-size: 18px;
}

.final-step-heading p {
  color: #8a958d;
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
}

.final-preview-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: start;
  gap: 17px;
  display: grid;
}

.final-preview-card {
  justify-items: center;
  padding: 17px;
  display: grid;
}

.final-card-header {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 14px;
  display: flex;
}

.final-card-header > div {
  gap: 4px;
  display: grid;
}

.final-card-header strong {
  font-size: 11px;
}

.final-card-header small {
  color: #9aa39b;
  font-size: 8px;
}

.final-phone-frame {
  width: 286px;
  height: 540px;
}

.final-phone-frame .template-page {
  padding: 11px 10px 20px;
}

.final-phone-frame .template-hero {
  grid-template-columns: 1fr;
}

.final-phone-frame .template-title {
  margin-top: 7px;
  font-size: 28px;
}

.final-phone-frame .template-subtitle {
  margin-top: 8px;
  font-size: 9px;
}

.final-phone-frame .template-hero {
  gap: 10px;
  padding: 12px 0 16px;
}

.final-phone-frame .template-hero-image {
  border-radius: 13px;
}

.final-phone-frame .template-panel {
  border-radius: 14px;
  padding: 12px;
}

.final-phone-frame .template-panel h2 {
  font-size: 12px;
}

.final-phone-frame .template-panel p, .final-phone-frame .template-radio {
  font-size: 8px;
}

.final-phone-frame .template-step {
  margin: 13px 0 7px;
}

.final-phone-frame .template-step-label {
  font-size: 8px;
}

.final-phone-frame .template-choice {
  border-radius: 9px;
  min-height: 48px;
  padding: 7px;
}

.final-phone-frame .template-choice-title {
  font-size: 8px;
}

.final-phone-frame .template-choice-detail {
  font-size: 7px;
}

.final-phone-frame .template-dot-row {
  gap: 6px;
}

.final-phone-frame .template-swatch {
  width: 48px;
}

.final-phone-frame .template-swatch-circle {
  width: 32px;
  height: 32px;
}

.final-phone-frame .template-swatch-label, .final-phone-frame .template-field label {
  font-size: 7px;
}

.final-phone-frame .template-field input, .final-phone-frame .template-field textarea {
  padding: 7px;
  font-size: 9px;
}

.final-phone-frame .template-radio {
  padding: 7px;
}

.final-phone-frame .template-button {
  min-height: 31px;
  padding: 7px 8px;
  font-size: 8px;
}

.final-phone-frame .template-actions {
  gap: 5px;
  margin-top: 11px;
}

.final-phone-frame .template-result {
  margin-top: 9px;
  padding: 10px;
}

.final-phone-frame .template-result strong {
  font-size: 14px;
}

.publish-summary {
  padding: 23px;
}

.publish-summary h3 {
  letter-spacing: -.03em;
  margin: 8px 0 19px;
  font-size: 17px;
}

.summary-line {
  border-bottom: 1px solid #eff1ed;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  font-size: 9px;
  line-height: 1.5;
  display: grid;
}

.summary-line > span {
  color: #9aa39c;
}

.summary-line > strong {
  color: #52645a;
  font-weight: 600;
}

.published-share {
  border-top: 1px solid #e9eee8;
  margin-top: 20px;
  padding-top: 17px;
}

.share-label {
  gap: 5px;
  display: grid;
}

.share-label strong {
  color: #456c52;
  font-size: 12px;
}

.published-url {
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  display: flex;
}

.published-url a {
  color: #438063;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-family: Manrope, sans-serif;
  font-size: 9px;
  overflow: hidden;
}

.published-url .button {
  min-height: 31px;
  padding: 0 9px;
  font-size: 9px;
}

.published-qr {
  color: #949e96;
  justify-items: center;
  gap: 7px;
  margin-top: 17px;
  font-size: 8px;
  display: grid;
}

.qr-image {
  max-width: 100%;
  image-rendering: pixelated;
  background: #fff;
  border: 1px solid #edf0eb;
  border-radius: 10px;
  padding: 8px;
  display: block;
}

.qr-loading {
  color: #98a29a;
  background: #f7f8f5;
  border-radius: 10px;
  place-items: center;
  width: 184px;
  height: 184px;
  font-size: 9px;
  display: grid;
}

.qr-error {
  color: #a5584d;
  text-align: center;
  max-width: 190px;
  margin: 0;
  font-size: 9px;
}

.version-note {
  color: #9a8a6a;
  margin: 12px 0 0;
  font-size: 8px;
  line-height: 1.6;
}

.final-actions, .wizard-footer-actions {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  display: flex;
}

.final-actions > div {
  justify-content: flex-end;
  display: flex;
}

.wizard-footer-actions {
  border-top: 1px solid #e8ece5;
  padding-top: 17px;
}

.save-hint {
  color: #a0a9a1;
  text-align: right;
  flex: 1;
  font-size: 9px;
}

.wizard-footer-actions > .button-primary {
  margin-left: auto;
}

.detail-hero {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px;
  display: flex;
}

.detail-config-strip {
  background: #e7ece7;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  display: grid;
  overflow: hidden;
}

.detail-config-strip > div {
  background: #fff;
  align-content: center;
  gap: 7px;
  min-height: 78px;
  padding: 14px 16px;
  display: grid;
}

.detail-config-strip span {
  color: #98a39c;
  font-size: 9px;
}

.detail-config-strip strong {
  color: #4b6255;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.detail-insights-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.detail-insight-card {
  min-height: 250px;
  padding: 19px 22px;
}

.detail-insight-card .section-title-row {
  margin-bottom: 0;
}

.detail-insight-card h2 {
  margin-top: 5px;
  font-size: 15px;
}

.insight-empty {
  color: #7d8982;
  text-align: center;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 150px;
  display: grid;
}

.insight-empty-mark {
  color: #7e9a8c;
  background: #edf4ef;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  display: grid;
}

.insight-empty strong {
  color: #64736b;
  font-size: 11px;
}

.insight-empty p {
  color: #a0a8a2;
  max-width: 230px;
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
}

.submission-records {
  padding: 19px 22px;
}

.submission-empty {
  color: #69766e;
  text-align: center;
  border-top: 1px solid #eef0eb;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 150px;
  display: grid;
}

.submission-empty strong {
  font-size: 12px;
}

.submission-empty p {
  color: #9ca59f;
  max-width: 430px;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.detail-identity {
  align-items: center;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.activity-symbol {
  color: #3e7658;
  background: #edf4ee;
  border-radius: 13px;
  flex: none;
  place-items: center;
  width: 45px;
  height: 45px;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  display: grid;
}

.detail-title-line {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.detail-title-line h2 {
  margin: 0;
  font-size: 15px;
}

.detail-identity p {
  color: #9aa39c;
  margin: 6px 0 0;
  font-family: Manrope, sans-serif;
  font-size: 9px;
}

.detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  display: flex;
}

.detail-actions .button {
  min-height: 34px;
  font-size: 9px;
}

.detail-section {
  margin-top: 31px;
}

.section-title-row {
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
  display: flex;
}

.section-title-row h2 {
  margin: 5px 0 0;
  font-size: 15px;
}

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

.metric-card {
  background: #fff;
  border: 1px solid #e8ece6;
  border-radius: 12px;
  align-content: start;
  gap: 8px;
  min-height: 116px;
  padding: 17px;
  display: grid;
}

.metric-card > span {
  color: #849087;
  font-size: 9px;
  font-weight: 600;
}

.metric-card > strong {
  color: #3d5648;
  letter-spacing: -.06em;
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 700;
}

.metric-card > small {
  color: #a0a8a1;
  font-size: 8px;
}

.metric-accent {
  background: linear-gradient(145deg, #f8fbf7, #edf5ee);
  border-color: #dfeae0;
}

.metric-accent > strong {
  color: #347150;
}

.stats-generated {
  color: #a2aaa4;
  text-align: right;
  margin-top: 10px;
  font-size: 8px;
}

.muted-panel {
  color: #909a92;
  text-align: center;
  background: #fbfcfa;
  border: 1px dashed #dde4dc;
  border-radius: 11px;
  padding: 25px;
  font-size: 10px;
}

.reward-section .section-title-row {
  margin-bottom: 12px;
}

.reward-status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}

.reward-status-card {
  background: #fff;
  border: 1px solid #eaede8;
  border-radius: 11px;
  gap: 9px;
  padding: 14px;
  display: grid;
}

.reward-status-card > span:not(.reward-status-dot) {
  color: #76827a;
  font-size: 9px;
}

.reward-status-card > strong {
  color: #3b5447;
  letter-spacing: -.04em;
  font-family: Manrope, sans-serif;
  font-size: 20px;
}

.reward-status-dot {
  background: #b5bcb6;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.reward-pending .reward-status-dot {
  background: #d3a14f;
}

.reward-processing .reward-status-dot {
  background: #7d9bb2;
}

.reward-confirmed .reward-status-dot {
  background: #68a27a;
}

.reward-not_applied .reward-status-dot {
  background: #bd7464;
}

.reward-unconfirmed .reward-status-dot {
  background: #9984b0;
}

.reward-section > .notice {
  margin-top: 12px;
}

.share-section {
  grid-template-columns: minmax(0, 1fr) 200px;
  align-items: center;
  gap: 20px;
  padding: 20px;
  display: grid;
}

.share-section h2 {
  margin: 7px 0;
  font-size: 15px;
}

.share-section p {
  color: #919b93;
  margin: 0;
  font-size: 10px;
}

.detail-url {
  max-width: 480px;
  margin-top: 15px;
}

.ended-time {
  color: #a1a9a2;
  margin-top: 13px;
  font-size: 8px;
  display: block;
}

.modal-backdrop {
  z-index: 20;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #13261e73;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.confirm-modal {
  background: #fff;
  border: 1px solid #ebece7;
  border-radius: 16px;
  width: min(100%, 390px);
  padding: 26px;
  box-shadow: 0 25px 80px #12261d2e;
}

.modal-mark {
  color: #a76d42;
  background: #fbf2e6;
  border-radius: 10px;
  place-items: center;
  width: 33px;
  height: 33px;
  font-weight: 800;
  display: grid;
}

.confirm-modal h2 {
  margin: 14px 0 7px;
  font-size: 16px;
}

.confirm-modal p {
  color: #828e85;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 21px;
  display: flex;
}

.data-selector, .reconciliation-selector {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  display: flex;
}

.data-selector > div:first-child, .reconciliation-selector > div:first-child {
  gap: 5px;
  display: grid;
}

.data-selector > div:first-child strong, .reconciliation-selector > div:first-child strong {
  font-size: 12px;
}

.data-selector > div:first-child small {
  color: #9aa39c;
  font-size: 8px;
}

.selector-controls {
  align-items: center;
  gap: 9px;
  display: flex;
}

.selector-controls select {
  min-width: min(310px, 46vw);
}

.selected-activity-line {
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  padding: 4px 2px;
  display: flex;
}

.selected-activity-line > div:nth-child(2) {
  flex: 1;
  gap: 5px;
  min-width: 0;
  display: grid;
}

.selected-activity-line strong {
  color: #40574a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.selected-activity-line > div:nth-child(2) span {
  color: #9ba49d;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Manrope, sans-serif;
  font-size: 8px;
  overflow: hidden;
}

.data-breakdown {
  margin-top: 22px;
  padding: 19px;
}

.data-breakdown .section-title-row {
  align-items: center;
}

.generated-label {
  color: #9ba49d;
  font-size: 8px;
}

.reconciliation-warning {
  margin: -8px 0 18px;
}

.reconciliation-selector {
  margin-bottom: 22px;
}

.reconciliation-title-row {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 25px 0 13px;
  display: flex;
}

.reconciliation-title-row h2 {
  margin: 5px 0 0;
  font-size: 16px;
}

.reconciliation-grid .reward-status-card {
  align-content: space-between;
  min-height: 121px;
}

.recon-status-name {
  color: #7b867e;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  display: flex;
}

.reconciliation-grid .reward-status-card > strong {
  font-size: 25px;
}

.reconciliation-grid .reward-status-card > small {
  color: #a1aaa3;
  font-size: 8px;
}

.reconciliation-guide {
  align-items: flex-start;
  gap: 12px;
  margin-top: 21px;
  padding: 17px;
  display: flex;
}

.guide-icon {
  color: #7b7659;
  background: #f6f1e6;
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 15px;
  display: grid;
}

.reconciliation-guide strong {
  font-size: 10px;
}

.reconciliation-guide p {
  color: #929b94;
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.7;
}

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

.settings-card {
  padding: 22px;
}

.settings-card-wide {
  grid-column: 1 / -1;
}

.settings-card-heading {
  border-bottom: 1px solid #edf0eb;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  display: flex;
}

.settings-card-heading h2 {
  margin: 5px 0 0;
  font-size: 15px;
}

.settings-icon {
  color: #3e7658;
  background: #edf4ee;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  display: grid;
}

.settings-list {
  gap: 0;
  margin: 0;
  display: grid;
}

.settings-list > div {
  border-bottom: 1px solid #f0f2ee;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  display: grid;
}

.settings-list > div:last-child {
  border-bottom: 0;
}

.settings-list dt {
  color: #98a29b;
  font-size: 10px;
}

.settings-list dd {
  color: #4d6256;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.settings-list code {
  color: #648173;
  background: #f0f5f0;
  border-radius: 5px;
  padding: 3px 6px;
  font: 10px Manrope, monospace;
}

.settings-card-heading .integration-status {
  margin-left: auto;
}

.producer-connection-form {
  gap: 12px;
  max-width: 640px;
  display: grid;
}

.producer-connection-form .editor-field textarea {
  font-family: ui-monospace, monospace;
}

.producer-connection-form .notice {
  margin: 0;
}

.integration-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 9px;
}

.integration-status.is-configured {
  color: #41765a;
  background: #eaf4ed;
}

.integration-status.is-not_configured {
  color: #8f7850;
  background: #f8f1e4;
}

@media (max-width: 1120px) {
  .admin-sidebar {
    width: 214px;
  }

  .admin-main {
    margin-left: 214px;
  }

  .wizard-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .wizard-content-step {
    grid-template-columns: minmax(280px, .9fr) minmax(290px, 1.1fr);
  }

  .activity-list {
    overflow-x: auto;
  }

  .table-head, .activity-row {
    grid-template-columns: minmax(190px, 1.55fr) 98px 74px 74px 82px 76px minmax(180px, 1fr);
    gap: 12px;
    min-width: 850px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 880px) {
  .admin-sidebar {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: auto;
    min-height: auto;
    padding: 13px 22px;
    position: static;
  }

  .sidebar-caption, .sidebar-spacer, .sidebar-note {
    display: none;
  }

  .brand-lockup .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 19px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .brand-lockup small {
    font-size: 9px;
  }

  .sidebar-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 5px;
    display: flex;
  }

  .nav-item {
    gap: 7px;
    min-height: 37px;
    padding: 0 9px;
    font-size: 10px;
  }

  .nav-icon {
    width: 15px;
    font-size: 15px;
  }

  .nav-item.is-active {
    box-shadow: inset 0 -2px #f1c985;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-topbar {
    min-height: 57px;
    padding: 0 22px;
  }

  .wizard-layout, .wizard-content-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-side-note {
    min-height: 0;
    position: static;
  }

  .wizard-side-note .side-note-icon {
    float: right;
    margin-bottom: 0;
  }

  .preview-column {
    grid-row: 1;
  }

  .wizard-content-step .wizard-main-card {
    grid-row: 2;
  }

  .wizard-content-step .preview-column {
    grid-row: 1;
  }

  .final-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-preview-card {
    order: 2;
  }

  .final-phone-frame {
    width: 290px;
  }

  .detail-config-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .login-page {
    grid-template-columns: minmax(310px, .85fr) minmax(350px, 1.15fr);
  }

  .login-story {
    padding: 30px;
  }

  .login-story-copy {
    margin-left: 0;
  }

  .login-story-copy h1 {
    font-size: 46px;
  }

  .login-panel-wrap {
    padding: 38px;
  }

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

  .settings-card-wide {
    grid-column: auto;
  }

  .detail-insights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 660px) {
  .admin-sidebar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px 8px;
  }

  .brand-lockup {
    display: none;
  }

  .sidebar-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .nav-item {
    flex: none;
    min-height: 35px;
  }

  .admin-topbar {
    min-height: 56px;
    padding: 0 16px;
  }

  .mobile-brand {
    color: #385747;
    align-items: center;
    gap: 7px;
    font-family: Manrope, sans-serif;
    font-size: 12px;
    display: flex;
  }

  .mobile-brand .brand-mark {
    border-radius: 9px;
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .topbar-context {
    display: none;
  }

  .topbar-user {
    gap: 7px;
  }

  .avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .user-meta {
    min-width: 54px;
  }

  .user-meta strong {
    max-width: 92px;
    font-size: 9px;
  }

  .user-meta small {
    font-size: 8px;
  }

  .logout-button {
    font-size: 9px;
  }

  .admin-content {
    padding: 26px 15px 43px;
  }

  .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 21px;
  }

  .page-heading h1 {
    margin-top: 7px;
    font-size: 28px;
  }

  .page-heading p {
    margin-top: 8px;
    font-size: 10px;
  }

  .page-heading .heading-action {
    width: 100%;
  }

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

  .detail-config-strip > div {
    min-height: 68px;
    padding: 12px;
  }

  .settings-card {
    padding: 17px;
  }

  .settings-integration-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-insight-card, .submission-records {
    padding: 16px;
  }

  .heading-action .button {
    width: 100%;
  }

  .list-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 11px;
  }

  .overview-card {
    min-height: 88px;
    padding: 14px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    display: grid;
  }

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

  .search-form select {
    min-width: 0;
  }

  .toolbar-count {
    text-align: right;
  }

  .table-head {
    display: none;
  }

  .activity-list {
    overflow: hidden;
  }

  .activity-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-width: 0;
    min-height: 0;
    padding: 15px 13px;
  }

  .activity-main-cell {
    grid-area: 1 / 1;
  }

  .activity-status-cell {
    grid-area: 1 / 2;
    justify-self: end;
  }

  .activity-metric {
    display: none;
  }

  .activity-actions {
    grid-area: 2 / 2;
    justify-content: flex-end;
    gap: 9px;
  }

  .activity-actions .text-action, .activity-code {
    font-size: 8px;
  }

  .activity-overview {
    gap: 6px;
  }

  .overview-card {
    padding: 12px 10px;
  }

  .overview-card span {
    font-size: 8px;
  }

  .overview-card strong {
    font-size: 20px;
  }

  .overview-card small {
    font-size: 8px;
  }

  .status-filter-tabs {
    justify-content: space-between;
    width: 100%;
  }

  .status-filter-tab {
    flex: 1;
    justify-content: center;
    padding: 0 6px;
  }

  .wizard-progress {
    gap: 3px;
    padding: 12px 8px;
  }

  .wizard-step {
    text-align: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .wizard-step:not(:last-child):after {
    top: 11px;
    left: calc(50% + 16px);
    right: -10px;
  }

  .wizard-step strong {
    font-size: 8px;
  }

  .wizard-step > span {
    z-index: 1;
    width: 22px;
    height: 22px;
    font-size: 7px;
  }

  .wizard-main-card {
    padding: 16px;
  }

  .template-choice-card {
    grid-template-columns: 66px minmax(0, 1fr) 18px;
    gap: 10px;
    min-height: 90px;
    padding: 8px;
  }

  .template-card-art {
    width: 66px;
    height: 70px;
  }

  .template-card-art > span {
    width: 39px;
    height: 49px;
  }

  .template-choice-copy strong {
    font-size: 9px;
  }

  .template-choice-copy small {
    font-size: 8px;
  }

  .template-choice-tag {
    font-size: 7px;
  }

  .phone-frame {
    width: min(100%, 306px);
    height: 558px;
  }

  .phone-screen .template-page {
    padding: 10px 9px 17px;
  }

  .audience-options, .points-grid, .time-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .points-grid, .time-grid {
    gap: 14px;
  }

  .final-step-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-preview-card {
    padding: 11px;
  }

  .final-phone-frame {
    width: min(100%, 286px);
    height: 510px;
  }

  .publish-summary {
    padding: 17px;
  }

  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions > .button, .final-actions > div .button, .final-actions > div {
    width: 100%;
  }

  .wizard-footer-actions {
    flex-wrap: wrap;
  }

  .save-hint {
    text-align: left;
    flex: 0 0 100%;
    order: 3;
    width: 100%;
  }

  .detail-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .detail-identity {
    align-items: flex-start;
  }

  .detail-identity .activity-symbol {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .detail-title-line h2 {
    max-width: 200px;
    font-size: 12px;
  }

  .detail-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .detail-actions .button {
    flex: 1;
    padding: 0 8px;
    font-size: 8px;
  }

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

  .metric-card {
    min-height: 100px;
    padding: 13px;
  }

  .metric-card > strong {
    font-size: 23px;
  }

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

  .reward-status-card {
    padding: 12px;
  }

  .reward-status-card > strong {
    font-size: 18px;
  }

  .share-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .share-section .published-qr {
    justify-items: start;
  }

  .data-selector, .reconciliation-selector {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .selector-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .selector-controls select {
    width: 100%;
    min-width: 0;
  }

  .selected-activity-line {
    flex-wrap: wrap;
  }

  .selected-activity-line .button {
    margin-left: auto;
  }

  .section-title-row {
    align-items: flex-start;
  }

  .section-title-row .button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 8px;
  }

  .reconciliation-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .reconciliation-title-row .button {
    width: 100%;
  }

  .generated-label {
    text-align: right;
    max-width: 132px;
    line-height: 1.5;
  }

  .login-page {
    flex-direction: column;
    display: flex;
  }

  .login-story {
    min-height: 0;
    padding: 20px 22px;
  }

  .login-brand .brand-mark {
    width: 36px;
    height: 36px;
  }

  .login-story-copy {
    margin: 37px 0 0;
  }

  .login-story-copy h1 {
    margin: 10px 0 8px;
    font-size: 35px;
  }

  .login-story-copy p {
    max-width: 330px;
    font-size: 10px;
  }

  .story-art {
    opacity: .72;
    width: 52%;
    height: 137px;
    margin: 0;
    position: absolute;
    bottom: 4px;
    right: 0;
  }

  .art-sun {
    width: 32px;
    height: 32px;
    top: 2px;
    right: 35px;
  }

  .art-card-front {
    border-radius: 9px;
    width: 105px;
    height: 76px;
    padding: 9px;
    top: 32px;
    left: 0;
  }

  .art-card-front i {
    width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .art-card-front b, .art-card-back b {
    margin-top: 8px;
    font-size: 7px;
  }

  .art-card-front small, .art-card-back small {
    margin-top: 3px;
    font-size: 5px;
  }

  .art-card-line {
    width: 20px;
    height: 3px;
    bottom: 8px;
    right: 9px;
  }

  .art-card-back {
    width: 112px;
    height: 74px;
    padding: 9px;
    top: 48px;
    right: 0;
  }

  .art-mini-chart {
    gap: 3px;
    height: 19px;
  }

  .art-mini-chart i {
    width: 7px;
  }

  .art-mini-chart i:first-child {
    height: 7px;
  }

  .art-mini-chart i:nth-child(2) {
    height: 11px;
  }

  .art-mini-chart i:nth-child(3) {
    height: 9px;
  }

  .art-mini-chart i:nth-child(4) {
    height: 15px;
  }

  .art-mini-chart i:nth-child(5) {
    height: 18px;
  }

  .story-footer {
    margin-top: 20px;
    font-size: 7px;
  }

  .login-panel-wrap {
    flex: 1;
    min-height: 0;
    padding: 44px 25px 24px;
  }

  .login-panel {
    margin: 0 auto auto;
  }

  .login-panel-heading h2 {
    font-size: 25px;
  }

  .login-form {
    margin-top: 25px;
  }

  .login-panel-footer {
    margin-top: 28px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-page *, .login-page :before, .login-page :after, .admin-frame *, .admin-frame :before, .admin-frame :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:root {
  --admin-ink: #222b28;
  --admin-muted: #7c8580;
  --admin-line: #e6e5e1;
  --admin-canvas: #f7f6f2;
  --admin-surface: #fff;
  --admin-green: #1f6b5a;
  --admin-green-dark: #185546;
  --admin-green-soft: #e8f2ee;
  --admin-amber: #c99a52;
  --admin-shadow: 0 1px 3px #24312b0a;
}

body:has(.admin-frame) {
  color: var(--admin-ink);
  background: var(--admin-canvas);
  font-family: Inter, PingFang SC, Microsoft YaHei, sans-serif;
}

.admin-sidebar {
  color: #374740;
  background: #fff;
  border-right: 1px solid #ebe9e4;
  width: 240px;
  padding: 24px 16px 20px;
}

.brand-lockup {
  gap: 10px;
}

.brand-mark {
  color: #2a7766;
  background: #fff;
  border: 2px solid #2a7766;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.brand-lockup strong {
  color: #253f37;
  letter-spacing: -.04em;
  font-family: Inter, PingFang SC, sans-serif;
  font-size: 16px;
}

.brand-lockup small {
  color: #9aa39e;
  letter-spacing: .14em;
  font-size: 9px;
}

.sidebar-caption {
  color: #9aa39e;
  letter-spacing: .08em;
  margin: 40px 0 10px 12px;
  font-size: 10px;
}

.sidebar-nav {
  gap: 3px;
}

.nav-item {
  color: #55635d;
  border-radius: 10px;
  gap: 12px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
}

.nav-item:hover {
  color: #1f6b5a;
  background: #f3f7f4;
}

.nav-item.is-active {
  color: #1f6b5a;
  box-shadow: none;
  background: #e8f2ee;
}

.nav-icon {
  color: #6d8178;
  font-size: 17px;
}

.nav-item.is-active .nav-icon {
  color: #1f6b5a;
}

.sidebar-note {
  color: #7e8983;
  border-top: 1px solid #e5e5e1;
  gap: 6px;
  padding: 15px 8px 0;
  font-size: 10px;
  line-height: 1.5;
  display: grid;
}

.sidebar-note strong {
  color: #35463e;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-note span {
  color: #a2aaa4;
}

.note-spark {
  display: none;
}

.admin-main {
  margin-left: 240px;
}

.admin-topbar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: none;
  border: 0;
  height: 0;
  min-height: 0;
  padding: 0;
}

.topbar-context, .topbar-user {
  display: none;
}

.avatar {
  color: #1f6b5a;
  background: #e8f2ee;
  width: 30px;
  height: 30px;
}

.user-meta strong {
  color: #4f5d56;
}

.logout-button {
  color: #8c9590;
  border-left-color: #deded9;
}

.admin-content {
  width: min(100%, 1680px);
  padding: 34px 40px 68px;
}

.page-heading {
  align-items: flex-start;
  margin-bottom: 27px;
}

.page-heading > div > .eyebrow {
  display: none;
}

.page-heading h1 {
  color: #202b27;
  letter-spacing: -.055em;
  margin: 0;
  font-family: Inter, PingFang SC, sans-serif;
  font-size: 29px;
  font-weight: 700;
}

.page-heading p {
  color: #858d88;
  max-width: none;
  margin: 9px 0 0;
  font-size: 12px;
}

.heading-action .button-primary {
  background: #1f6b5a;
  border-radius: 8px;
  min-height: 42px;
  padding: 0 18px;
}

.surface {
  box-shadow: var(--admin-shadow);
  border-color: #e4e4df;
  border-radius: 13px;
}

.activity-overview {
  gap: 14px;
  margin-bottom: 25px;
}

.overview-card {
  background: #fff;
  border-color: #e4e4df;
  border-radius: 13px;
  min-height: 104px;
  padding: 19px 20px;
}

.overview-card span {
  color: #838b86;
  font-size: 11px;
  font-weight: 500;
}

.overview-card strong {
  color: #222b28;
  font-size: 27px;
}

.overview-card small {
  color: #a0a6a2;
}

.overview-card-warm, .overview-card-muted {
  background: #fff;
  border-color: #e4e4df;
}

.overview-card-warm span, .overview-card-warm strong, .overview-card-muted span, .overview-card-muted strong {
  color: #222b28;
}

.list-toolbar {
  margin-bottom: 12px;
  padding: 12px 14px;
}

.search-field {
  background: #fff;
  border-color: #e5e5e0;
  min-height: 39px;
}

.search-form .button-secondary {
  border-color: #e1e3de;
  min-height: 39px;
}

.status-filter-tabs {
  background: #ecece8;
  margin-bottom: 13px;
}

.status-filter-tab {
  color: #6f7873;
  min-height: 31px;
}

.status-filter-tab.is-selected {
  color: #1f6b5a;
}

.activity-list {
  border-radius: 13px;
}

.table-head {
  color: #858d88;
  letter-spacing: 0;
  background: #fbfbf9;
  min-height: 46px;
  font-size: 10px;
}

.activity-row {
  border-bottom-color: #eeeee9;
  min-height: 82px;
}

.activity-title {
  color: #26342e;
  font-size: 12px;
}

.activity-code {
  color: #969e99;
  font-family: Inter, sans-serif;
}

.status-badge {
  min-height: 23px;
  padding: 0 9px;
}

.text-action {
  color: #276e5d;
  font-size: 10px;
}

.list-footnote {
  color: #9ba29e;
}

.admin-frame.is-wizard .admin-sidebar {
  display: none;
}

.admin-frame.is-wizard .admin-main {
  margin-left: 0;
}

.admin-frame.is-wizard .admin-content {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-top: 34px;
}

.wizard-template-step {
  grid-template-columns: minmax(0, 1fr);
}

.wizard-template-step .wizard-side-note {
  display: none;
}

.wizard-template-step .wizard-main-card {
  padding: 24px;
}

.wizard-template-step .template-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-template-step .template-choice-card {
  grid-template-columns: 64px minmax(0, 1fr) 22px;
}

.wizard-template-step .template-card-art {
  width: 64px;
  height: 72px;
}

.wizard-template-step .template-choice-copy strong {
  font-size: 12px;
}

.wizard-template-step .template-choice-copy small {
  font-size: 10px;
}

.wizard-template-step .template-choice-tag {
  font-size: 9px;
}

.data-overview-grid {
  margin-bottom: 24px;
}

.global-data-table {
  overflow: hidden;
}

.global-table-heading {
  border-bottom: 1px solid #edede8;
  margin: 0;
  padding: 19px 22px 15px;
}

.global-table-heading h2 {
  color: #26342e;
  margin: 5px 0 0;
  font-size: 15px;
}

.global-table-scroll {
  overflow-x: auto;
}

.global-table-head, .global-data-row {
  grid-template-columns: minmax(220px, 1.5fr) 100px 90px 100px 115px 100px 90px 86px;
  align-items: center;
  gap: 14px;
  min-width: 920px;
  padding: 0 22px;
  display: grid;
}

.global-table-head {
  color: #8b938e;
  background: #fbfbf9;
  min-height: 43px;
  font-size: 10px;
}

.global-data-row {
  color: #52625a;
  border-top: 1px solid #f0f0eb;
  min-height: 78px;
  font-size: 11px;
}

.global-activity-cell {
  gap: 6px;
  min-width: 0;
  display: grid;
}

.global-activity-cell a {
  color: #263c33;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
}

.global-activity-cell a:hover {
  color: var(--admin-green);
}

.global-activity-cell small {
  color: #9da49f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.data-note {
  color: #9ba29e;
  margin: 13px 2px 0;
  font-size: 9px;
  line-height: 1.6;
}

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

.reconciliation-overview {
  margin-bottom: 20px;
}

.reconciliation-warning {
  align-items: center;
  margin: 0 0 18px;
}

.reconciliation-warning > div {
  flex: 1;
}

.reconciliation-table {
  overflow: hidden;
}

.reconciliation-table-title {
  border-bottom: 1px solid #edede8;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 19px 22px 15px;
  display: flex;
}

.reconciliation-table-title h2 {
  color: #26342e;
  margin: 5px 0 0;
  font-size: 15px;
}

.reconciliation-table-title > span {
  color: #9aa39d;
  font-size: 10px;
}

.reconciliation-table-scroll {
  overflow-x: auto;
}

.reconciliation-table-head, .reconciliation-table-row {
  grid-template-columns: minmax(220px, 1.65fr) 100px 90px 100px 85px minmax(180px, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 860px;
  padding: 0 22px;
  display: grid;
}

.reconciliation-table-head {
  color: #8b938e;
  background: #fbfbf9;
  min-height: 43px;
  font-size: 10px;
}

.reconciliation-table-row {
  color: #52625a;
  border-top: 1px solid #f0f0eb;
  min-height: 78px;
  font-size: 11px;
}

.reconciliation-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.reconciliation-state {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 9px;
  display: inline-flex;
}

.recon-pending {
  color: #946f35;
  background: #fbf2df;
}

.recon-confirmed {
  color: #3e7758;
  background: #e9f3ec;
}

.recon-empty {
  color: #808a84;
  background: #f0f1ee;
}

.recon-unknown {
  color: #a05449;
  background: #fff1ed;
}

.reconciliation-help-modal {
  max-width: 460px;
}

@media (max-width: 880px) {
  .admin-sidebar {
    border-bottom: 1px solid #ebe9e4;
    border-right: 0;
    width: auto;
    padding: 13px 22px;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-topbar {
    background: #fafbf8eb;
    border-bottom: 1px solid #e2e6ded6;
    height: 57px;
    min-height: 57px;
    padding: 0 22px;
  }

  .topbar-user {
    display: flex;
    position: static;
  }

  .admin-content {
    padding: 32px 24px 56px;
  }

  .admin-frame.is-wizard .admin-content {
    padding-top: 25px;
  }
}

@media (max-width: 660px) {
  .admin-sidebar {
    padding: 11px 16px 7px;
  }

  .admin-content {
    padding: 25px 15px 44px;
  }

  .page-heading h1 {
    font-size: 27px;
  }

  .activity-overview {
    gap: 7px;
  }

  .overview-card {
    min-height: 84px;
    padding: 12px 10px;
  }

  .overview-card strong {
    font-size: 22px;
  }

  .wizard-template-step .wizard-main-card {
    padding: 16px;
  }

  .wizard-template-step .template-choice-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .global-table-heading {
    padding: 16px;
  }

  .global-table-head, .global-data-row {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .reconciliation-warning {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .reconciliation-warning .button {
    margin-left: 29px;
  }

  .reconciliation-table-title {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .reconciliation-table-head, .reconciliation-table-row {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.admin-frame {
  font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft YaHei, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.admin-frame .page-heading h1 {
  letter-spacing: 0;
  font-size: 30px;
  line-height: 1.25;
}

.admin-frame .page-heading p {
  font-size: 13px;
  line-height: 1.6;
}

.admin-frame .eyebrow {
  letter-spacing: .12em;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
}

.admin-frame .button {
  min-height: 40px;
  font-size: 13px;
  line-height: 1.4;
}

.admin-frame .nav-item {
  font-size: 13px;
}

.admin-frame .sidebar-note {
  font-size: 12px;
  line-height: 1.55;
}

.admin-frame .sidebar-note strong {
  font-size: 12px;
}

.admin-frame .brand-lockup strong {
  font-size: 16px;
}

.admin-frame .brand-lockup small {
  font-size: 10px;
}

.admin-frame .overview-card span {
  font-size: 12px;
}

.admin-frame .overview-card strong {
  font-size: 28px;
  line-height: 1.2;
}

.admin-frame .overview-card small {
  font-size: 11px;
}

.admin-frame .search-field input, .admin-frame .search-form select, .admin-frame .selector-controls select {
  font-size: 13px;
}

.admin-frame .toolbar-count {
  font-size: 12px;
}

.admin-frame .toolbar-count strong {
  font-size: 14px;
}

.admin-frame .status-filter-tab {
  font-size: 12px;
}

.admin-frame .status-filter-tab span {
  font-size: 11px;
}

.admin-frame .table-head {
  font-size: 12px;
  font-weight: 600;
}

.admin-frame .activity-title {
  font-size: 13px;
  line-height: 1.5;
}

.admin-frame .activity-code {
  font-size: 11px;
  line-height: 1.5;
}

.admin-frame .activity-status-cell {
  font-size: 12px;
}

.admin-frame .activity-metric strong {
  font-size: 14px;
}

.admin-frame .activity-metric small {
  font-size: 11px;
}

.admin-frame .text-action {
  font-size: 12px;
}

.admin-frame .status-badge {
  font-size: 11px;
}

.admin-frame .list-footnote, .admin-frame .data-note {
  font-size: 11px;
  line-height: 1.5;
}

.admin-frame .notice p {
  font-size: 12px;
  line-height: 1.6;
}

.admin-frame .notice strong, .admin-frame .table-loading, .admin-frame .page-loading {
  font-size: 13px;
}

.admin-frame .empty-state h2 {
  font-size: 17px;
}

.admin-frame .empty-state p {
  font-size: 13px;
}

.admin-frame .wizard-step, .admin-frame .wizard-step strong {
  font-size: 12px;
}

.admin-frame .section-heading h2, .admin-frame .editor-intro strong {
  font-size: 17px;
  line-height: 1.5;
}

.admin-frame .section-heading p, .admin-frame .editor-intro p {
  font-size: 12px;
  line-height: 1.6;
}

.admin-frame .editor-field label, .admin-frame .audience-fieldset legend {
  font-size: 12px;
}

.admin-frame .editor-field input, .admin-frame .editor-field textarea, .admin-frame .editor-field select {
  font-size: 13px;
}

.admin-frame .field-hint {
  font-size: 11px;
}

.admin-frame .template-choice-copy strong {
  font-size: 14px;
}

.admin-frame .template-choice-copy small {
  font-size: 12px;
}

.admin-frame .template-choice-tag {
  font-size: 11px;
}

.admin-frame .preview-caption strong, .admin-frame .final-card-header strong {
  font-size: 13px;
}

.admin-frame .preview-readonly {
  font-size: 11px;
}

.admin-frame .audience-option strong {
  font-size: 13px;
}

.admin-frame .audience-option small {
  font-size: 11px;
}

.admin-frame .final-step-heading h2 {
  font-size: 20px;
}

.admin-frame .final-step-heading p, .admin-frame .summary-line, .admin-frame .published-url a {
  font-size: 12px;
}

.admin-frame .published-qr, .admin-frame .save-hint, .admin-frame .detail-identity p {
  font-size: 11px;
}

.admin-frame .detail-title-line h2, .admin-frame .section-title-row h2 {
  font-size: 17px;
  line-height: 1.5;
}

.admin-frame .detail-actions .button {
  font-size: 12px;
}

.admin-frame .detail-config-strip span {
  font-size: 11px;
}

.admin-frame .detail-config-strip strong {
  font-size: 13px;
}

.admin-frame .metric-card > span {
  font-size: 12px;
}

.admin-frame .metric-card > strong {
  font-size: 28px;
  line-height: 1.2;
}

.admin-frame .metric-card > small, .admin-frame .stats-generated {
  font-size: 11px;
}

.admin-frame .reward-status-card > span:not(.reward-status-dot) {
  font-size: 12px;
}

.admin-frame .reward-status-card > strong {
  font-size: 22px;
}

.admin-frame .share-section p {
  font-size: 12px;
}

.admin-frame .generated-label {
  font-size: 11px;
}

.admin-frame .global-table-head, .admin-frame .reconciliation-table-head {
  font-size: 12px;
}

.admin-frame .global-data-row, .admin-frame .reconciliation-table-row {
  font-size: 13px;
}

.admin-frame .global-activity-cell a {
  font-size: 13px;
  line-height: 1.5;
}

.admin-frame .global-activity-cell small {
  font-size: 11px;
}

.admin-frame .reconciliation-table-title > span {
  font-size: 12px;
}

.admin-frame .reconciliation-state {
  font-size: 11px;
}

.admin-frame .settings-card-heading h2 {
  font-size: 17px;
}

.admin-frame .settings-list dt {
  font-size: 12px;
}

.admin-frame .settings-list dd {
  font-size: 13px;
}

.admin-frame .settings-integration-grid > div {
  font-size: 12px;
}

.admin-frame .integration-status {
  font-size: 11px;
}

.preview-refresh-button {
  min-height: 30px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

.preview-virtual-screen {
  background: #ededed;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.preview-status-bar {
  color: #111;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 27px;
  padding: 1px 13px 0;
  font: 650 10px / 1 -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
}

.preview-status-bar i {
  background: #050505;
  border-radius: 12px;
  width: 42px;
  height: 14px;
}

.preview-wecom-bar {
  color: #111;
  background: #fff;
  border-bottom: 1px solid #ededed;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  height: 31px;
  padding: 0 4px;
  font-size: 11px;
  display: grid;
}

.preview-wecom-bar > span {
  text-align: center;
  font-size: 20px;
  line-height: 1;
}

.preview-wecom-bar strong {
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.preview-iframe {
  background: #ededed;
  border: 0;
  width: 100%;
  height: 480px;
  display: block;
}

.preview-bottom-bar {
  background: #fff;
  justify-content: center;
  align-items: center;
  height: 24px;
  display: flex;
}

.preview-bottom-bar span {
  background: #1a1a1a;
  border-radius: 3px;
  width: 86px;
  height: 3px;
}

.preview-empty-screen {
  color: #65736b;
  text-align: center;
  background: #faf9f6;
  align-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 520px;
  padding: 24px;
  display: grid;
}

.preview-empty-screen strong {
  font-size: 14px;
}

.preview-empty-screen p {
  color: #9aa49d;
  max-width: 210px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}

.preview-link-panel {
  background: #fff;
  border: 1px solid #e7ece7;
  border-radius: 10px;
  width: min(100%, 326px);
  margin-top: 12px;
  padding: 12px;
}

.preview-link-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.preview-link-heading > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.preview-link-heading strong {
  color: #49665a;
  font-size: 12px;
}

.preview-link-heading small {
  color: #9aa49d;
  font-size: 10px;
}

.preview-link-actions {
  align-items: center;
  gap: 6px;
  display: flex;
}

.preview-link-actions a, .final-preview-link a {
  color: #1f6b5a;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.preview-link-actions a:hover, .final-preview-link a:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}

.preview-link-heading .button {
  min-height: 26px;
  padding: 0 7px;
  font-size: 10px !important;
}

.preview-link-input {
  color: #63786b;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fafcf9;
  border: 1px solid #e5e9e4;
  border-radius: 6px;
  width: 100%;
  min-height: 30px;
  margin-top: 9px;
  padding: 0 8px;
  font: 10px / 1.3 -apple-system, BlinkMacSystemFont, sans-serif;
  display: block;
  overflow: hidden;
}

.preview-link-panel > p {
  color: #a0aaa3;
  margin: 9px 0 0;
  font-size: 10px;
}

.preview-link-error {
  color: #a25d51;
  margin: 8px 0 0;
  font-size: 10px;
  line-height: 1.5;
  display: block;
}

.final-preview-card .preview-virtual-screen {
  min-height: 100%;
}

.final-preview-card .preview-iframe {
  height: 408px;
}

.final-preview-card .preview-empty-screen {
  min-height: 440px;
}

.final-preview-link {
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.final-preview-link .button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px !important;
}

.phone-preview-overlay {
  z-index: 1200;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: #1e221fb8;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.phone-preview-dialog {
  background: #f7f8f5;
  border: 1px solid #e5e8e3;
  border-radius: 18px;
  width: min(500px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 28px 80px #1b261f47;
}

.phone-preview-header {
  background: #fffffff5;
  border-bottom: 1px solid #e7ebe5;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  display: flex;
}

.phone-preview-header > div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.phone-preview-header strong {
  color: #2d4037;
  font-size: 16px;
}

.phone-preview-header span {
  color: #8c9991;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.phone-preview-close {
  color: #6e7b73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e2e7e1;
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 22px;
  line-height: 1;
  display: grid;
}

.phone-preview-body {
  justify-items: center;
  padding: 22px;
  display: grid;
}

.phone-preview-frame {
  width: 326px;
  height: 602px;
}

.phone-preview-iframe {
  height: 480px;
}

.phone-preview-footer {
  color: #96a099;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 16px;
  font-size: 11px;
  display: flex;
}

.phone-preview-footer a {
  color: #1f6b5a;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: none;
}

.phone-preview-footer a:hover {
  text-underline-offset: 3px;
  text-decoration: underline;
}

@media (max-width: 660px) {
  .admin-frame .page-heading h1 {
    font-size: 26px;
  }

  .admin-frame .page-heading p {
    font-size: 13px;
  }

  .admin-frame .nav-item {
    font-size: 12px;
  }

  .admin-frame .overview-card span {
    font-size: 11px;
  }

  .admin-frame .overview-card strong {
    font-size: 23px;
  }

  .admin-frame .overview-card small {
    font-size: 10px;
  }

  .admin-frame .activity-title {
    font-size: 13px;
  }

  .admin-frame .activity-code {
    font-size: 10px;
  }

  .admin-frame .activity-actions .text-action, .admin-frame .wizard-step, .admin-frame .wizard-step strong {
    font-size: 11px;
  }

  .admin-frame .wizard-step > span {
    font-size: 10px;
  }

  .admin-frame .template-choice-copy strong {
    font-size: 13px;
  }

  .admin-frame .template-choice-copy small {
    font-size: 11px;
  }

  .admin-frame .template-choice-tag {
    font-size: 10px;
  }

  .admin-frame .detail-actions .button {
    font-size: 11px;
  }

  .admin-frame .metric-card > strong {
    font-size: 24px;
  }

  .preview-link-panel {
    width: min(100%, 306px);
  }
}

/*# sourceMappingURL=src_components_admin_admin_211_8w6v962ry.css.map*/