:root {
  --red: #ec121e;
  --red2: #EB2934;
  --bg: #FFF5F5F5;
  --orange: #F86D4B;
  --text: #111;
  --muted: #787878;
  --card: #fff;
  --green: #80CC28;
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: Poppins, system-ui, sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.boot-shell {
  min-height: 100%; background: linear-gradient(180deg, #ec121e 0%, #b71c1c 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.boot-mark { font-size: 28px; font-weight: 700; letter-spacing: .5px; }
.boot-dash { min-height: 100%; background: var(--bg); }
.boot-top {
  background: #fff; padding: calc(16px + env(safe-area-inset-top, 0px)) 14px 18px;
  border-radius: 0 0 22px 22px; box-shadow: 0 6px 16px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.boot-top b { color: var(--red); font-size: 18px; }
.boot-top span { font-size: 13px; color: #444; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body { max-width: 480px; margin: 0 auto; min-height: 100%; position: relative; overflow-x: hidden; overflow-y: hidden; }
input, select, textarea { font-size: 16px !important; }
#app { min-height: 100%; height: 100%; display: flex; flex-direction: column; background: var(--bg); position: relative; }
.screen { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; }
.scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }

.splash {
  background: linear-gradient(180deg, #ec121e 0%, #b71c1c 100%);
  color: #fff; align-items: center; justify-content: center; text-align: center;
}
.splash h1 { margin: 12px 0 0; font-size: 28px; letter-spacing: .5px; }
.splash p { opacity: .85; }
.splash-choice { justify-content: space-between; padding: 48px 20px calc(28px + env(safe-area-inset-bottom, 0px)); }
.splash-brand { margin-top: 8vh; }
.mode-card {
  width: 100%; background: #fff; color: #111; border-radius: 22px; padding: 22px 18px 20px; text-align: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.mode-card h2 { margin: 0 0 8px; font-size: 20px; }
.mode-card p { margin: 0 0 8px; color: #555; font-size: 14px; line-height: 1.4; opacity: 1; }
.mode-card .btn { margin-top: 12px; }
.btn-web {
  background: #fff; color: #ec121e; border: 1.5px solid #ec121e;
}
.ios-tip { margin-top: 12px; font-size: 13px; color: #444; line-height: 1.4; }
.web-link {
  display: block; margin-top: 14px; background: none; border: 0; color: #888;
  font-size: 12px; text-decoration: underline; width: 100%; font-family: inherit; padding: 8px 0;
}
.install-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px); max-width: 456px; z-index: 70;
  height: 48px; border: 0; border-radius: 12px;
  background: linear-gradient(90deg, #ec121e, #ff4d57);
  color: #fff; font-weight: 700; font-size: 16px; font-family: inherit;
}
body.has-install #app { padding-bottom: 68px; }
html.standalone, html.standalone body { overscroll-behavior: none; }
.ios-install {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0px));
}
.ios-install-card {
  width: 100%; max-width: 480px; background: #fff; color: #111;
  border-radius: 18px; padding: 20px 16px 16px; text-align: left;
}
.ios-install-card h3 { margin: 0 0 8px; font-size: 18px; }
.ios-install-card p { margin: 0 0 10px; font-size: 14px; color: #444; line-height: 1.45; }
.ios-install-card ol { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: #222; }
.ios-install-card .btn { margin-top: 8px; }
.ios-warn { background: #fff4f4; color: #b71c1c; border-radius: 10px; padding: 10px 12px; }
.ios-url {
  font-size: 12px; word-break: break-all; background: #f5f5f5; border-radius: 8px;
  padding: 8px 10px; margin-bottom: 4px;
}

.login-hero {
  height: 38vh; background: linear-gradient(135deg, #ec121e, #ff5a62);
  display: flex; align-items: center; justify-content: center; color: #fff; flex-direction: column;
}
.login-sheet {
  background: #fff; border-radius: 28px 28px 0 0; margin-top: -24px; padding: 24px 22px 28px; flex: 1;
}
.login-sheet h2 { text-align: center; margin: 0 0 16px; }
.input {
  width: 100%; height: 50px; border: 1px solid #ececec; border-radius: 12px;
  padding: 0 16px; margin-top: 10px; font-size: 14px; font-family: inherit;
}
.btn {
  width: 100%; height: 46px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #ec121e, #ff4d57);
  color: #fff; font-weight: 600; font-size: 16px; font-family: inherit; margin-top: 18px;
}
.btn:disabled { opacity: .6; }
.btn-outline { background: #fff; color: var(--red); border: 1px solid var(--red); }
.check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: #444; }
.support { text-align: center; color: var(--red); margin-top: 16px; font-weight: 600; font-size: 14px; }
.ver { text-align: right; color: #787878; font-size: 10px; margin-top: 8px; }

.top {
  background: #fff; padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 10px; border-radius: 0 0 22px 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.top-row { display: flex; align-items: center; gap: 8px; }
.logo { font-weight: 700; color: var(--red); font-size: 18px; }
.uname { flex: 1; text-align: center; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.stat { background: #fff; border: 1px solid #f1f1f1; border-radius: 10px; text-align: center; padding: 8px 4px; }
.stat b { display: block; color: var(--orange); font-size: 22px; }
.stat span { font-size: 12px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.tile {
  background: #fff; border-radius: var(--radius); height: 132px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.tile .em { font-size: 32px; margin-bottom: 10px; }
.tile span { font-size: 15px; }
.online {
  margin: 8px 12px 12px; border-radius: 22px 22px 0 0; padding: 14px; text-align: center;
  color: #fff; text-transform: uppercase; font-weight: 600; background: var(--green);
}
.online.off { background: var(--red); }

.bar {
  min-height: 58px; height: auto; background: #fff; display: flex; align-items: center; gap: 8px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px;
  border-bottom: 1px solid #f0f0f0; flex-shrink: 0; box-sizing: border-box;
}
.bar h3 { font-size: 18px; font-weight: 500; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back-btn {
  width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: transparent;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.back-btn img { width: 30px; height: 30px; object-fit: contain; pointer-events: none; }

.search { margin: 10px 12px; }
.card {
  background: #fff; margin: 8px 12px; padding: 12px; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.card h4 { margin: 0 0 4px; font-size: 15px; }
.card p { margin: 0; color: var(--muted); font-size: 12px; }
.badge { float: right; font-size: 11px; padding: 3px 8px; border-radius: 20px; background: #ececec; }
.badge.done { background: #e8f6d8; color: #548F10; }
.badge.pend { background: #ffe8e8; color: var(--red); }

.task { display: flex; align-items: center; gap: 10px; }
.task .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.footer-btn { margin: 10px 12px 16px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: #111; color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 13px;
  max-width: 86%; z-index: 50; display: none;
}
.loader {
  position: fixed; inset: 0; background: rgba(255,255,255,.7); display: none;
  align-items: center; justify-content: center; z-index: 40;
}
.loader.on { display: flex; }
.spin { width: 36px; height: 36px; border: 4px solid #eee; border-top-color: var(--red); border-radius: 50%; animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

.q { font-size: 14px; margin: 16px 0 6px; }
.opt { display: block; padding: 8px 0; font-size: 14px; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.thumbs img, .thumbs .add {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: #eee;
}
.thumbs .add {
  display: flex; align-items: center; justify-content: center; border: 1px dashed #ccc; color: #888; font-size: 28px;
}
.progress-line { height: 8px; background: #eee; border-radius: 8px; overflow: hidden; margin-top: 8px; }
.progress-line > div { height: 100%; background: var(--red); width: 0; }

.empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.kv { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f3f3f3; font-size: 13px; }
.hidden { display: none !important; }
textarea.input { height: 90px; padding: 12px 16px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.ico { width: 50px; height: 50px; object-fit: contain; margin-bottom: 10px; }
.ico-sm { width: 22px; height: 22px; object-fit: contain; }
.ico-md { width: 30px; height: 30px; object-fit: contain; }
.logo-img { height: 28px; width: auto; max-width: 120px; object-fit: contain; background: #fff; padding: 3px 6px; border-radius: 4px; }
.tile span { font-size: 16px; color: #111; }
.grid.one { grid-template-columns: 1fr; }
.tile.wide { height: 140px; }

.store-row {
  background: #fff; margin: 6px 8px; padding: 10px; border-radius: 2px;
  display: flex; align-items: stretch; gap: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.16);
}
.ring-svg { width: 80px; height: 80px; flex-shrink: 0; }
.vdiv { width: 1px; background: #b8b8b8; margin: 0 8px 0 6px; }
.store-info { flex: 1; min-width: 0; padding-right: 28px; }
.store-info h4 { margin: 0; font-size: 16px; font-weight: 500; }
.store-info .code { font-size: 16px; font-weight: 400; margin-top: 1px; }
.store-info .meta { font-size: 14px; color: #787878; margin-top: 5px; }
.store-info .meta b { color: #B71C1C; font-weight: 400; }
.store-info .last { font-size: 13px; color: #787878; margin-top: 5px; }
.store-row .arrow { width: 25px; height: 25px; align-self: center; margin-right: 10px; flex-shrink: 0; }
.others-btn {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  width: 180px; background: linear-gradient(-45deg, #F69B22, #EB2934); color: #fff;
  border: 0; border-radius: 10px; padding: 10px; font-family: inherit; font-size: 16px; font-weight: 400;
}
.tasks-tab {
  height: 45px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 500; font-size: 16px;
  background: linear-gradient(-45deg, #F69B22, #EB2934); margin-top: 10px;
}
.task-card {
  background: #fff; margin: 6px 8px; height: 88px; border-radius: 12px;
  display: flex; align-items: center; padding: 0 10px 0 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.task-card img.task-ico { width: 45px; height: 45px; object-fit: contain; filter: brightness(0); }
.task-card .t-title { flex: 1; margin: 0 10px; font-size: 16px; color: #111; }
.task-card.survey { background: #E0E8FF; }
.task-card.done {
  background: #10542B;
}
.task-card.done .t-title { color: #fff; }
.task-card.done img.task-ico { filter: brightness(0) invert(1); }
.btn-start {
  height: 40px; min-width: 72px; border: 0; border-radius: 8px; background: #ec121e;
  color: #fff; font-family: inherit; font-weight: 500; font-size: 15px; padding: 0 14px;
}
.end-session {
  height: 45px; width: 100%; border: 0; border-radius: 0; background: #B71C1C;
  color: #fff; font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: .3px;
}

.overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5); z-index: 30;
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.modal {
  background: #fff; border-radius: 8px; width: 100%; max-width: 420px; padding: 10px 12px 16px; position: relative;
}
.modal p { text-align: center; font-size: 16px; margin: 10px 16px 16px; line-height: 1.4; }
.modal-close { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border: 0; background: transparent; padding: 0; }
.mark-pill {
  display: inline-block; background: linear-gradient(90deg, #ec121e, #ff4d57); color: #fff;
  padding: 10px 18px; border-radius: 6px; font-size: 16px; border: 0; font-family: inherit;
}
.mark-bar {
  margin: 10px 15px; height: 50px; border-radius: 8px;
  background: linear-gradient(90deg, #c62828, #ec121e); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
}
.search-wrap { position: relative; margin: 0; padding: 10px; }
.search-wrap img { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .7; }
.search-wrap .input {
  margin-top: 0; padding-right: 40px; height: 50px; border-radius: 10px;
  border: 1px solid #e9eaee; background: #fff;
}
.bar img { cursor: pointer; }
.ico-md { cursor: pointer; }
.pdf-wrap { background: #fff; padding: 0; }
.pdf-page { display: block; width: 100%; height: auto; }
.support-row { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--red); margin-top: 16px; font-weight: 600; }
.login-hero img { height: auto; max-width: 240px; max-height: 72px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }
.splash img { height: auto; max-width: 240px; max-height: 72px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); font-size: 12px; }
.check.iss { margin-top: 8px; font-size: 14px; }

.screen.white { background: #fff; }
.task-body { padding: 15px 20px 110px; background: #fff; }
.fld { font-size: 14px; color: #111; margin-top: 15px; }
.fld:first-child { margin-top: 0; }
.select-wrap, .et-wrap {
  position: relative; height: 50px; margin-top: 5px;
  border: 1px solid #e5e5e5; border-radius: 8px; background: #fff;
}
.select-wrap select, .et-wrap input, select.nselect {
  width: 100%; height: 100%; border: 0; background: transparent;
  padding: 0 36px 0 12px; font-family: inherit; font-size: 14px; appearance: none; -webkit-appearance: none;
}
.select-wrap::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid #888; border-bottom: 2px solid #888; transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.et-wrap { height: 50px; }
.et-wrap input { padding-right: 40px; }
.et-wrap img {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .65;
}
.sku-block { margin-top: 15px; min-width: 0; overflow-x: hidden; }
.sku-head {
  display: grid; grid-template-columns: 1fr 1fr; height: 50px; border: 1px solid var(--red); border-radius: 8px; overflow: hidden; margin-top: 10px;
}
.sku-head:has(span:only-child) { grid-template-columns: 1fr; }
.sku-head span {
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-weight: 500; font-size: 14px; min-width: 0;
}
.sku-head span + span { border-left: 1px solid var(--red); }
.sku-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8px;
  padding: 8px 4px; border-bottom: 1px solid #f3f3f3; min-width: 0;
}
.sku-meta { min-width: 0; overflow: hidden; padding-right: 6px; }
.sku-meta .nm { font-size: 14px; font-weight: 500; word-break: break-word; overflow-wrap: anywhere; }
.sku-meta .pr { color: var(--red); font-size: 14px; margin-top: 4px; }
.sku-qty {
  width: 100%; max-width: 100%; min-width: 0; height: 50px; border: 1px solid #e5e5e5; border-radius: 8px;
  padding: 0 10px; font-size: 16px; font-family: inherit; box-sizing: border-box;
}
.ofs-row { padding: 8px 4px; border-bottom: 1px solid #f3f3f3; }
.ofs-row label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; }
.ofs-row .pr { color: var(--red); font-size: 14px; margin: 4px 0 0 28px; }
.btn-submit {
  position: absolute; left: 15px; right: 15px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  height: 50px; border: 0; border-radius: 10px;
  background: linear-gradient(90deg, #ec121e, #ff4d57);
  color: #fff; font-family: inherit; font-weight: 500; font-size: 14px;
}
.loc-retry { margin-top: 10px; height: 40px; }
.loc-row span:last-child { max-width: 62%; text-align: right; word-break: break-word; color: #333; }
.btn-green {
  display: block; width: 90px; margin: 12px auto 8px; height: 35px; border: 0; border-radius: 6px;
  background: #1b8a3e; color: #fff; font-family: inherit; font-size: 14px; font-weight: 500;
}
.radio-row { display: flex; gap: 20px; margin: 8px 0 12px; }
.radio-row label { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.q16 { font-size: 16px; font-weight: 500; margin: 8px 0 4px; }
.star { color: #c62828; font-size: 22px; line-height: 1; }
.cam-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 12px 0; }
.cam-row img.cam { width: 80px; height: 80px; object-fit: contain; }
.cam-row img.prev { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; }
.paid-card, .offer-card {
  background: #fff; border-radius: 8px; padding: 10px; margin: 8px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.sales-grid { background: #ececec; padding: 1px; margin-bottom: 10px; }
.sales-grid .sg-head, .sales-grid .sg-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1px;
}
.sales-grid span {
  background: #fff; display: flex; align-items: center; justify-content: center;
  text-align: center; min-height: 44px; font-size: 12px; font-weight: 500; padding: 4px;
}
.sales-grid .sg-row input {
  width: 100%; height: 40px; border: 0; text-align: center; font-family: inherit; font-size: 12px;
}
.hist-ico { width: 22px; height: 22px; margin-right: 8px; cursor: pointer; flex-shrink: 0; }
.cap-wrap { padding: 16px 20px 90px; background: #fff; text-align: center; }
.cap-title { font-size: 16px; font-weight: 500; margin: 8px 0 16px; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cap-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.ps-page { padding: 8px 8px 70px; background: #f3f3f3; }
.ps-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.ps-head { padding: 10px 12px; }
.ps-title-row { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ps-alert { width: 17px; height: 17px; flex-shrink: 0; }
.ps-count { margin-top: 5px; font-size: 12px; color: #787878; font-weight: 500; }
.ps-banner {
  height: 160px; background: #111 center/cover no-repeat;
  background-image: linear-gradient(180deg, #2a2a2a, #111);
}
.ps-banner.has-img { background-color: #000; }
.ps-capture {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 8px 14px; gap: 8px;
}
.ps-capture img { width: 20px; height: 20px; object-fit: contain; }
.ps-capture span { font-size: 12px; font-weight: 600; color: #111; }
.ps-split {
  display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e8e8e8;
}
.ps-split button {
  height: 45px; border: 0; background: #fff; font-family: inherit; font-size: 12px; color: #111;
}
.ps-split button + button { border-left: 1px solid #e8e8e8; }
.ps-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 4px 0; }
.ps-thumbs img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; background: #eee; }
.ps-save {
  position: absolute; left: 0; right: 0; bottom: 0; height: 45px; border: 0;
  background: #ec121e; color: #fff; font-family: inherit; font-weight: 600; font-size: 15px;
}

.tile-sub { display: block; margin-top: 6px; font-size: 12px; color: #787878; font-weight: 400; }
.task-card .t-sub { font-size: 10px; font-weight: 400; margin-top: 2px; opacity: .9; }
.filter-box {
  background: #fff; width: 100%; max-width: 420px; padding: 12px 16px 18px; position: relative;
}
.filter-head { text-align: center; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.filter-head img { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; }
.filter-actions { margin-top: 12px; }
.filter-actions .btn { margin-top: 8px; }
.att-card {
  background: #fff; margin: 8px 15px; padding: 10px; border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.att-card .att-top { display: flex; align-items: center; justify-content: space-between; }
.att-card h4 { margin: 0; font-size: 14px; font-weight: 500; }
.att-card p { margin: 5px 10px 0 0; font-size: 14px; color: #111; }
.att-card .att-work { margin-top: 5px; }
.att-card .arrow { width: 25px; height: 25px; }
.store-report-btn {
  display: block; width: 100%; margin-top: 10px; padding: 10px; border: 0; border-radius: 0;
  background: linear-gradient(90deg, #ec121e, #ff4d57); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 500;
}
.att-detail-card {
  background: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.att-detail-card h4 { margin: 0; font-size: 14px; font-weight: 500; }
.att-detail-card p { margin: 10px 0 0; font-size: 14px; }
.view-loc { margin-top: 10px; color: #1877f2; font-weight: 500; font-size: 14px; }
.att-photo { display: block; width: 123px; height: 130px; object-fit: cover; margin: 15px auto 8px; }
.att-mark { padding: 10px 20px 24px; background: #fff; }
.att-mark .loc-row { margin-top: 18px; }
.seg-tabs { display: flex; height: 45px; }
.seg-tabs div {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: #787878; color: #fff; font-size: 14px; font-weight: 400;
}
.seg-tabs div.on { background: #ec121e; }
.sync-card {
  background: #fff; margin: 8px 10px; padding: 10px; border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.sync-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.sync-top b { font-weight: 500; font-size: 14px; }
.sync-top span, .sync-date { color: #787878; font-size: 13px; }
.sync-prog { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.sync-prog span { font-size: 13px; white-space: nowrap; }
.sync-bar { flex: 1; height: 6px; background: #e0e0e0; border-radius: 6px; overflow: hidden; }
.sync-bar > div { height: 100%; background: #ec121e; }
.store-sync { display: flex; align-items: center; justify-content: space-between; }
.force-sync {
  border: 0; background: linear-gradient(90deg, #ec121e, #ff4d57); color: #fff;
  padding: 6px 10px; font-family: inherit; font-size: 12px;
}
.sync-actions { padding: 8px 10px 0; text-align: right; }
.sync-actions .force-sync { padding: 8px 14px; font-size: 13px; border-radius: 8px; }

.score-page { padding: 10px 10px 24px; }
.score-overall {
  background: #EEF3FA; border-radius: 12px; padding: 10px; text-align: center;
}
.score-overall-title { font-size: 16px; font-weight: 700; color: #111; }
.score-overall-num { font-size: 42px; font-weight: 700; color: #1F4FBF; line-height: 1.15; }
.score-status {
  display: inline-block; margin-top: 4px; padding: 6px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
}
.score-status.good { background: #E8F5E9; border: 1px solid #4CAF50; color: #4CAF50; }
.score-status.bad { background: rgba(204,0,0,.38); border: 1px solid #cc0000; color: #cc0000; }
.score-status.avg { background: rgba(248,109,75,.38); border: 1px solid #F86D4B; color: #F86D4B; }
.score-by { margin: 10px 0 0; font-size: 16px; font-weight: 700; color: #111; }
.score-area {
  display: flex; align-items: center; margin-top: 12px; padding: 15px 10px;
  background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.score-ico { width: 44px; height: 44px; object-fit: fill; flex-shrink: 0; }
.score-area-txt { flex: 1; min-width: 0; margin-left: 12px; }
.score-area-title { font-size: 14px; font-weight: 700; color: #333; }
.score-area-sub { font-size: 12px; font-weight: 500; color: #666; }
.score-area-pct { font-size: 18px; font-weight: 700; color: #1F4FBF; margin-right: 5px; white-space: nowrap; }
.score-arrow { width: 25px; height: 25px; flex-shrink: 0; }
.score-detail { margin-top: 10px; }
.score-detail-pad { background: #fff; padding: 10px; }
.score-kv {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; min-height: 22px; font-size: 14px; font-weight: 500;
}
.score-kv + .score-kv { margin-top: 10px; }
.score-kv b { font-weight: 500; }
.sos-table { display: flex; flex-direction: column; gap: 1px; background: #eee; }
.sos-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; min-height: 45px;
  background: #fff; text-align: center; align-items: center;
  font-size: 12px; font-weight: 500; color: #111;
}
.sos-row span { display: flex; align-items: center; justify-content: center; padding: 4px 2px; word-break: break-word; }

.hist-page { padding: 15px 15px 24px; background: #fff; }
.hist-sku {
  background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.hist-sku .nm { font-size: 14px; font-weight: 600; }
.hist-sku .pr { color: var(--red); font-size: 14px; margin-top: 2px; }
.hist-sku .ln { font-size: 14px; font-weight: 400; margin-top: 2px; }
.paid-q { font-size: 16px; font-weight: 500; }
.paid-a { font-size: 16px; font-weight: 500; margin: 4px 0 12px; }
.paid-block { padding: 5px 0 10px; }
.paid-lab { font-size: 14px; font-weight: 500; }
.paid-val { font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.paid-img-lab { text-align: center; font-size: 14px; font-weight: 500; padding-top: 10px; }
.paid-img, .comp-img {
  display: block; width: 120px; height: 120px; object-fit: cover; margin: 15px auto 0; border-radius: 12px; background: #eee;
}
.offer-rpt { padding: 4px 0 8px; }
.offer-rpt .off-title { font-size: 16px; font-weight: 500; }
.offer-rpt .off-price { color: var(--red); font-size: 14px; margin-top: 5px; }
.offer-rpt .off-ans { font-size: 16px; margin-top: 5px; }
.offer-rpt .off-ans.yes { color: #0dc5a1; }
.offer-rpt .off-ans.no { color: #ec121e; }
.offer-rpt .off-ln { font-size: 14px; margin-top: 5px; }
.offer-rpt .off-line { height: 1px; background: #e5e5e5; margin: 8px 0 4px; }
.comp-sku .lab { font-size: 14px; font-weight: 600; margin-top: 6px; }
.comp-sku .val { font-size: 14px; font-weight: 400; }
.ps-meta { padding: 10px 10px 0; }
.ps-store { font-size: 16px; font-weight: 500; }
.ps-meta-row { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; font-size: 12px; }
.ps-meta-row .muted { color: #787878; }
.ps-acc {
  background: #fff; border-radius: 8px; margin: 8px 5px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ps-acc-h {
  height: 50px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; font-size: 18px; font-weight: 600;
}
.ps-acc-h img { width: 20px; height: 20px; transform: rotate(90deg); }
.ps-hl { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 10px; background: #f5f5f5; font-size: 16px; }
.ps-head-deoleo { height: 40px; display: flex; align-items: center; justify-content: center; background: #FF9100; font-size: 16px; font-weight: 500; }
.ps-head-comp { height: 40px; display: flex; align-items: center; justify-content: center; background: #9FA8DA; font-size: 16px; font-weight: 500; }
.ps-seg { height: 40px; display: flex; align-items: center; justify-content: center; background: #e8e8e8; font-size: 16px; font-weight: 500; }
.ps-prod { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; background: #fff; border-bottom: 1px solid #e8e8e8; }
.ps-prod .pn { font-size: 14px; font-weight: 500; }
.ps-prod .ps { font-size: 16px; font-weight: 500; white-space: nowrap; }
.ps-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.ps-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; background: #eee; }
.ps-zoom {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ps-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
