:root {
  color-scheme: light;
  --qmart-red: #f52d32;
  --qmart-red-dark: #e92e35;
  --qmart-pink: #f8dfe1;
  --ink: #171717;
  --muted: #858585;
  --card: #fff;
  --line: #e8e8e8;
  font-family: Roboto, "Noto Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-width: 300px; height: 100%; margin: 0; }
body { background: #efefef; color: var(--ink); }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.app-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  height: 100vh;
  height: 100dvh;
  min-height: 580px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--qmart-red);
  box-shadow: 0 0 24px #00000012;
}
.status-bar {
  z-index: 5;
  display: flex;
  flex: 0 0 25px;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 8px 0 12px;
  color: #fff;
  background: var(--qmart-red);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05px;
}
.status-mini-icons { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; opacity: .92; }
.status-spacer { flex: 1; }
.status-connectivity { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; }
.status-connectivity svg { width: 14px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.status-battery { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; }
.battery-icon { position: relative; width: 19px; height: 10px; border: 1px solid #ffffffd9; border-radius: 1px; }
.battery-icon::after { position: absolute; top: 2px; right: -3px; width: 2px; height: 4px; background: #fff; content: ""; }
.battery-icon i { display: block; width: 30%; height: 100%; background: #fff; }
.top-bar {
  z-index: 5;
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 13px 0 10px;
  color: #fff;
  background: var(--qmart-red);
  border-bottom: 1px solid #ffffff24;
}
.brand { display: inline-flex; align-items: center; gap: 4px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .25px; }
.brand-mark { width: 32px; height: 32px; flex: 0 0 32px; }
.support-button { display: grid; width: 30px; height: 30px; padding: 3px; place-items: center; color: #fff; background: transparent; border: 0; cursor: pointer; }
.support-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.support-button svg circle { fill: currentColor; stroke: none; }

.content-scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: var(--qmart-red); }
.content-scroll::-webkit-scrollbar { display: none; }
.screen { padding: 0 10px 16px; animation: screen-in 160ms ease-out; }
@keyframes screen-in { from { opacity: .86; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

.promo-banner {
  position: relative;
  display: flex;
  min-height: 132px;
  height: 132px;
  margin: 8px 0 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e0cf;
  border-radius: 3px;
}
.promo-copy { position: relative; z-index: 1; width: 67%; padding: 8px 0 6px 10px; }
.promo-brand { display: inline-flex; align-items: center; gap: 4px; color: #262626; font-size: 9px; font-weight: 700; letter-spacing: .3px; }
.tiny-bag { color: #d5b632; font-size: 12px; }
.promo-headline { max-width: 228px; margin: 14px 0 3px; color: #8c7a21; font-size: clamp(11px, 3vw, 13px); font-weight: 800; letter-spacing: .2px; line-height: 1.05; text-shadow: 1px 1px #e6ddac; }
.promo-subline { margin: 5px 0 1px; color: #646464; font-size: 9px; line-height: 1.25; }
.promo-foot { color: var(--qmart-red); font-size: 9px; }
.promo-scene { position: absolute; inset: 0 0 0 auto; width: 45%; overflow: hidden; background: linear-gradient(145deg, #fbf5d9 8%, #e6cf7a 38%, #22232b 39%, #10151a 76%, #f4cd7b 77%); clip-path: polygon(28% 0,100% 0,100% 100%,8% 100%,0 32%); }
.gift { position: absolute; top: 0; width: 38px; height: 94px; background: linear-gradient(90deg,#15191e 0 34%,#f2b600 35% 80%,#d89200); border: 1px solid #e6bd19; transform: skewY(-10deg); }
.gift-one { right: 74px; height: 86px; }
.gift-two { right: 24px; top: -4px; height: 94px; background: linear-gradient(90deg,#f8dc5a 0 36%,#f49b00 37% 100%); }
.gift-three { right: -6px; top: 11px; height: 78px; background: linear-gradient(90deg,#252933 0 35%,#f0a600 36% 100%); }
.promo-hand { position: absolute; z-index: 2; right: -12px; bottom: -7px; width: 152px; height: 56px; border-radius: 48% 4% 0 0; background: linear-gradient(167deg,#f9ddc8 0%,#f1c0a5 64%,#e5a68b 100%); transform: rotate(4deg); box-shadow: inset 0 4px 4px #fff5; }
.promo-ring { position: absolute; z-index: 3; right: 24px; bottom: 37px; width: 7px; height: 7px; border: 1px solid #e8b4a4; border-radius: 50%; background: #d53345; }

.shortcut-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; min-height: 82px; padding: 1px 0 8px; }
.shortcut { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; padding: 0; color: #fff; background: none; border: 0; font-size: 11px; line-height: 1.1; cursor: pointer; }
.shortcut-icon { display: grid; width: 49px; height: 48px; place-items: center; background: #fff; border: 1px solid #dedede; border-radius: 7px; box-shadow: 0 1px 2px #9c171722; }
.shortcut-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--qmart-red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.white-panel { background: var(--card); border-radius: 8px; box-shadow: 0 1px 2px #9f1d241c; }
.task-panel { padding: 10px 10px 12px; }
.section-heading { position: relative; margin: 1px 0 14px; padding-left: 10px; color: #181818; font-size: 19px; font-weight: 500; line-height: 1.35; }
.section-heading::before { position: absolute; top: 3px; bottom: 3px; left: 0; width: 3px; border-radius: 2px; background: #ec5361; content: ""; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.level-card { display: flex; min-height: 212px; flex-direction: column; padding: 6px; overflow: hidden; background: #f4e5e5; border: 1px solid #e9d8d8; border-radius: 7px; }
.level-top { display: flex; height: 26px; flex: 0 0 26px; align-items: center; justify-content: space-between; padding: 0 9px; color: #777; background: #f7f5f5; border: 1px solid #e5dcdc; border-radius: 6px; font-size: 10px; }
.level-card[data-level="Lv1"] .level-top { color: #fff; background: var(--qmart-red); border-color: #ee3d45; }
.level-badge { display: inline-flex; align-items: center; gap: 5px; }
.coin-icon { font-size: 11px; }
.level-state { font-size: 10px; }
.level-details { display: flex; flex: 1 1 auto; flex-direction: column; margin: 7px 0 5px; padding: 1px 2px 0; background: #fff; }
.level-details p { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-height: 40px; margin: 0; padding: 5px 2px; color: #111; border-bottom: 1px solid #eeeeee; font-size: 12px; line-height: 1.16; }
.level-details p:last-child { border-bottom: 0; }
.level-details strong { font-weight: 400; }
.market-button { width: 100%; min-height: 30px; padding: 2px 8px; color: #fff; background: var(--qmart-red); border: 1px solid #e53b40; border-radius: 17px; box-shadow: inset 0 1px #ffffff26; font-size: 14px; line-height: 1; cursor: pointer; }
.level-card:nth-child(even) .market-button { color: #777; background: #fff; border-color: #d8d8d8; }

.profit-screen { padding-top: 15px; }
.state-strip { display: flex; height: 29px; align-items: center; gap: 5px; margin: 0 1px 10px; padding: 0 8px; background: #fff; border: 1px solid #e5e5e5; border-radius: 5px; color: #333; font-size: 11px; }
.state-dot { color: var(--qmart-red); font-size: 8px; }
.state-strip strong { font-weight: 500; }
.balance-panel { margin-bottom: 9px; padding: 8px 10px 20px; background: #fff; border: 1px solid #e6e6e6; border-radius: 9px; }
.balance-metrics { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; align-items: start; text-align: center; }
.balance-metrics div { display: flex; min-width: 0; flex-direction: column; gap: 2px; padding: 2px 1px 12px; }
.balance-metrics strong { font-size: 14px; font-weight: 600; line-height: 1.2; }
.balance-metrics span { overflow: hidden; color: #2d2d2d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.assets-band { display: flex; height: 55px; flex-direction: column; align-items: center; justify-content: center; border-radius: 28px; background: linear-gradient(100deg,#f6dfeb,#f8e2df); }
.assets-band strong { font-size: 20px; font-weight: 700; line-height: 1.1; }
.assets-band span { color: #4d4d4d; font-size: 11px; }
.income-panel { margin-bottom: 11px; padding: 10px 10px 19px; }
.income-heading-row { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 11px; }
.income-heading-row .section-heading { margin: 0; }
.mini-chart-icon { position: relative; display: flex; width: 28px; height: 26px; align-items: end; gap: 2px; padding: 2px 4px; }
.mini-chart-icon i { width: 3px; background: #ea5260; border: 1px solid #d4d4d4; }
.mini-chart-icon i:nth-child(1) { height: 7px; }.mini-chart-icon i:nth-child(2) { height: 13px; }.mini-chart-icon i:nth-child(3) { height: 18px; }
.mini-chart-icon b { position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #f13138; }
.income-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.income-card { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #fff; background: var(--qmart-red); border: 1px solid #e8a6a8; border-radius: 7px; text-align: center; }
.income-large { height: 119px; gap: 1px; }
.monitor-icon { display: grid; width: 42px; height: 38px; margin-bottom: 2px; place-items: center; color: #fff; }
.monitor-icon svg { width: 38px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.income-large strong { max-width: 100%; padding: 0 3px; overflow: hidden; font-size: clamp(18px, 5.5vw, 23px); font-weight: 500; letter-spacing: .3px; text-overflow: clip; white-space: nowrap; }
.income-large span:last-child { color: #ffe9e9; font-size: 10px; }
.income-small { height: 48px; align-items: flex-start; padding: 3px 9px; }
.income-small strong { max-width: 100%; overflow: hidden; font-size: 18px; font-weight: 500; line-height: 1; text-overflow: clip; white-space: nowrap; }
.income-small span { margin-top: 1px; color: #ffe7e7; font-size: 10px; }
.data-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 4px; }
.data-button { display: flex; min-height: 57px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 4px 10px; background: #fff; border: 1px solid #dfdfdf; border-radius: 8px; text-align: left; cursor: pointer; }
.round-symbol { display: grid; width: 25px; height: 25px; place-items: center; color: #333; background: #fff2f2; border: 1px solid #edbcc0; border-radius: 50%; font-size: 15px; }
.data-button strong { font-size: 10px; font-weight: 600; }

.order-screen, .my-screen { padding-top: 9px; }
.order-panel { padding: 11px 10px 13px; }
.filter-row { display: flex; gap: 6px; margin: 0 0 11px; padding: 3px; background: #f7eeee; border-radius: 18px; }
.filter-chip { flex: 1; min-height: 28px; padding: 3px 5px; color: #777; background: transparent; border: 0; border-radius: 15px; font-size: 10px; cursor: pointer; }
.filter-chip.is-selected { color: #fff; background: var(--qmart-red); }
.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-card { padding: 9px; background: #fffafa; border: 1px solid #f0dddd; border-radius: 7px; }
.order-card-top, .order-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-card-top strong { font-size: 13px; font-weight: 600; }
.order-status { padding: 3px 8px; color: #df3d45; background: #fdebed; border-radius: 12px; font-size: 9px; }
.order-meta { margin: 5px 0 8px; color: #7d7d7d; font-size: 10px; }
.order-card-bottom { padding-top: 6px; border-top: 1px solid #eee; color: #777; font-size: 10px; }
.order-card-bottom strong { color: var(--qmart-red); font-size: 13px; }
.empty-orders { margin: 26px 0; color: #888; font-size: 12px; text-align: center; }

.member-card { display: flex; min-height: 78px; align-items: center; gap: 11px; margin: 0 0 10px; padding: 12px; color: #fff; background: linear-gradient(105deg,#ed3238,#fb4549); border: 1px solid #ff6669; border-radius: 8px; }
.member-mark { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; background: #ffffff20; border-radius: 50%; }
.member-mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.member-card div:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.member-card div span { color: #ffe5e5; font-size: 11px; }
.member-card div strong { font-size: 14px; font-weight: 500; }
.member-chevron { margin-left: auto; font-size: 24px; }
.account-panel { padding: 11px 10px 8px; }
.account-panel .section-heading { margin-bottom: 12px; }
.account-balance { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; background: #fff1f1; border: 1px solid #f5dada; border-radius: 7px; }
.account-balance span { color: #777; font-size: 10px; }
.account-balance strong { margin-top: 4px; font-size: 22px; font-weight: 600; }
.account-balance small { font-size: 11px; font-weight: 400; }
.account-balance button { align-self: flex-end; margin: -22px 0 0; padding: 4px 0 4px 8px; color: var(--qmart-red); background: transparent; border: 0; font-size: 10px; cursor: pointer; }
.account-menu { margin-top: 8px; }
.account-menu button { display: flex; width: 100%; min-height: 45px; align-items: center; gap: 10px; padding: 0 5px; background: #fff; border: 0; border-bottom: 1px solid #ededed; font-size: 12px; text-align: left; cursor: pointer; }
.account-menu button:last-child { border-bottom: 0; }
.menu-symbol { display: grid; width: 27px; height: 27px; place-items: center; color: var(--qmart-red); background: #fff1f1; border-radius: 50%; font-size: 15px; }
.account-menu button b { margin-left: auto; color: #aaa; font-size: 18px; font-weight: 400; }
.demo-caption { margin: 11px 2px; color: #ffe1e1; font-size: 10px; text-align: center; }

.bottom-tabs { z-index: 6; display: grid; flex: 0 0 51px; grid-template-columns: repeat(4, 1fr); height: 51px; background: #fff; border-top: 1px solid #e5e5e5; }
.tab-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 3px 0 2px; color: #9c9c9c; background: transparent; border: 0; font-size: 11px; line-height: 1.15; cursor: pointer; }
.tab-button svg { width: 23px; height: 23px; fill: #f2d7d8; stroke: #edc7c9; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.tab-button.is-active { color: #111; }
.tab-button.is-active svg { fill: #f8d6d8; stroke: var(--qmart-red); }
.android-nav { position: relative; display: flex; flex: 0 0 40px; height: 40px; align-items: center; justify-content: space-around; color: #fff; background: #050505; }
.nav-triangle { width: 0; height: 0; border-top: 7px solid transparent; border-right: 10px solid #f9f9f9; border-bottom: 7px solid transparent; }
.nav-circle { width: 16px; height: 16px; border: 2px solid #f8f8f8; border-radius: 50%; }
.nav-square { width: 13px; height: 13px; border: 2px solid #f8f8f8; border-radius: 1px; }

.modal-backdrop { position: absolute; z-index: 20; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: #0008; animation: fade-in 130ms ease-out; }
.modal-sheet { width: 100%; max-width: 410px; max-height: 78%; overflow: auto; padding: 15px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-radius: 13px 13px 8px 8px; box-shadow: 0 -5px 24px #0002; animation: rise-in 160ms ease-out; }
.modal-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.modal-close { display: grid; width: 29px; height: 29px; place-items: center; color: #555; background: #f3f3f3; border: 0; border-radius: 50%; font-size: 19px; cursor: pointer; }
.modal-body { color: #555; font-size: 13px; line-height: 1.5; }
.modal-body p { margin: 7px 0; }
.modal-primary { width: 100%; min-height: 39px; margin-top: 14px; color: #fff; background: var(--qmart-red); border: 0; border-radius: 20px; font-size: 14px; cursor: pointer; }
.modal-input-label { display: block; margin: 12px 0 5px; color: #555; font-size: 11px; }
.modal-input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; outline-color: #f06a70; }
.toast { position: absolute; z-index: 30; left: 50%; bottom: 105px; max-width: calc(100% - 40px); padding: 9px 13px; color: white; background: #252525e8; border-radius: 19px; font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { transform: translateY(12px); opacity: .8; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 600px) {
  .app-frame { border-right: 1px solid #ddd; border-left: 1px solid #ddd; }
  .screen { padding-right: 12px; padding-left: 12px; }
  .promo-banner { height: 148px; }
  .promo-headline { font-size: 14px; }
  .task-panel, .income-panel, .balance-panel { padding-right: 12px; padding-left: 12px; }
  .level-card { min-height: 222px; }
}
@media (max-height: 650px) {
  .promo-banner { height: 118px; min-height: 118px; }
  .shortcut-row { min-height: 74px; }
  .income-large { height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* User-requested readability refinement: larger, bolder app text and slightly shorter task cards. */
body { font-size: 14px; font-weight: 500; }
.brand { font-size: 16px; font-weight: 700; }
.promo-brand { font-size: 10px; }
.promo-headline { font-size: clamp(12px, 3.6vw, 14px); }
.promo-subline, .promo-foot { font-size: 10px; }
.shortcut { font-size: 12px; font-weight: 600; }
.section-heading { font-size: 20px; font-weight: 700; }
.level-card { min-height: 196px; }
.level-top { font-size: 11px; font-weight: 600; }
.coin-icon { font-size: 12px; }
.level-state { font-size: 11px; font-weight: 600; }
.level-details p { min-height: 36px; padding: 3px 2px; font-size: 13px; font-weight: 500; line-height: 1.12; }
.level-details strong { font-weight: 700; }
.market-button { min-height: 28px; font-weight: 700; }
.state-strip { font-size: 12px; font-weight: 600; }
.state-strip strong { font-weight: 700; }
.balance-metrics strong { font-size: 16px; font-weight: 700; }
.balance-metrics span { font-size: 11px; font-weight: 600; }
.assets-band strong { font-size: 22px; }
.assets-band span { font-size: 12px; font-weight: 600; }
.income-large strong { font-size: clamp(19px, 6vw, 24px); font-weight: 700; }
.income-large span:last-child, .income-small span { font-size: 11px; font-weight: 600; }
.income-small strong { font-size: 19px; font-weight: 700; }
.data-button strong { font-size: 11px; font-weight: 700; }
.filter-chip { font-size: 11px; font-weight: 600; }
.order-card-top strong { font-size: 14px; }
.order-status { font-size: 10px; font-weight: 600; }
.order-meta { font-size: 11px; }
.order-card-bottom { font-size: 11px; font-weight: 600; }
.order-card-bottom strong { font-size: 14px; font-weight: 700; }
.empty-orders { font-size: 13px; font-weight: 600; }
.member-card div span { font-size: 12px; font-weight: 600; }
.member-card div strong { font-size: 15px; font-weight: 700; }
.account-balance span { font-size: 11px; font-weight: 600; }
.account-balance strong { font-size: 23px; font-weight: 700; }
.account-balance small { font-size: 12px; font-weight: 600; }
.account-balance button { font-size: 11px; font-weight: 700; }
.account-menu button { font-size: 13px; font-weight: 600; }
.demo-caption { font-size: 11px; font-weight: 600; }
.tab-button { font-size: 12px; font-weight: 600; }
.modal-heading { font-size: 18px; }
.modal-body { font-size: 14px; font-weight: 500; }
.modal-primary { font-size: 15px; font-weight: 700; }
.modal-input-label { font-size: 12px; font-weight: 600; }
.toast { font-size: 12px; font-weight: 600; }

@media (min-width: 600px) {
  .level-card { min-height: 204px; }
}


/* Dedicated shortcut pages share Qmart's compact red-and-white visual language. */
.top-bar.is-detail { justify-content: flex-start; gap: 8px; }
.top-bar.is-detail .brand { display: none; }
.detail-back { display: grid; width: 32px; height: 34px; flex: 0 0 32px; place-items: center; padding: 2px; color: #fff; background: transparent; border: 0; cursor: pointer; }
.detail-back svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.detail-title { flex: 1 1 auto; color: #fff; font-size: 17px; font-weight: 700; }
.detail-screen { padding: 10px 10px 20px; }
.detail-summary { display: flex; min-height: 68px; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 10px 13px; background: #fff; border: 1px solid #e9e9e9; border-radius: 8px; }
.detail-summary div { display: flex; flex-direction: column; gap: 4px; }
.detail-summary div span { color: #777; font-size: 12px; font-weight: 600; }
.detail-summary div strong { font-size: 20px; font-weight: 700; }
.detail-summary div small { font-size: 12px; font-weight: 600; }
.detail-summary-icon { display: grid; width: 34px; height: 34px; place-items: center; color: var(--qmart-red); background: #fff0f0; border-radius: 50%; font-size: 22px; font-weight: 600; }
.detail-panel { margin-bottom: 10px; padding: 13px; }
.detail-panel .section-heading { margin-bottom: 11px; }
.detail-copy { margin: 0 0 14px; color: #666; font-size: 13px; font-weight: 500; line-height: 1.45; }
.detail-field-label { display: block; margin: 10px 0 6px; color: #333; font-size: 13px; font-weight: 700; }
.detail-input { width: 100%; height: 43px; padding: 0 11px; color: #171717; background: #fff; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; font-weight: 600; outline-color: #f06a70; }
.detail-input::placeholder { color: #aaa; font-weight: 400; }
.amount-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.amount-presets button { min-height: 32px; color: #de363e; background: #fff4f4; border: 1px solid #f1cbce; border-radius: 17px; font-size: 13px; font-weight: 700; cursor: pointer; }
.detail-primary { width: 100%; min-height: 41px; margin-top: 13px; color: #fff; background: var(--qmart-red); border: 1px solid #e63d43; border-radius: 22px; font-size: 15px; font-weight: 700; cursor: pointer; }
.demo-notice { margin: 12px 0 4px; color: #777; font-size: 11px; font-weight: 500; line-height: 1.4; }
.inline-feedback { min-height: 17px; margin: 5px 0 0; color: #39804f; font-size: 11px; font-weight: 600; line-height: 1.35; }
.inline-feedback.is-error { color: #d5323c; }
.rules-table { margin-top: 10px; overflow: hidden; border: 1px solid #eee; border-radius: 6px; }
.rules-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) 54px 39px; align-items: center; gap: 4px; min-height: 39px; padding: 0 7px; border-bottom: 1px solid #eee; font-size: 11px; font-weight: 500; }
.rules-row:last-child { border-bottom: 0; }
.rules-row strong { color: #292929; font-size: 12px; font-weight: 700; }
.rules-heading { min-height: 34px; color: #666; background: #faf3f3; font-size: 10px; font-weight: 700; }
.intro-brand-mark { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--qmart-red); font-size: 17px; font-weight: 700; }
.intro-brand-mark svg { width: 40px; height: 40px; padding: 4px; background: #fff0f0; border-radius: 50%; fill: none; stroke: var(--qmart-red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.intro-feature { display: flex; align-items: center; gap: 10px; min-height: 55px; border-top: 1px solid #eee; }
.intro-feature-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; color: var(--qmart-red); background: #fff1f1; border-radius: 50%; font-size: 15px; font-weight: 700; }
.intro-feature div { display: flex; flex-direction: column; gap: 3px; }
.intro-feature div strong { font-size: 13px; font-weight: 700; }
.intro-feature div span { color: #777; font-size: 11px; font-weight: 500; }

.intro-copy { margin: 0 0 12px; color: #333; font-size: 14px; font-weight: 500; line-height: 1.5; }
.intro-copy:last-child { margin-bottom: 0; }
