:root {
  --brand: #1aa7d4;
  --brand-soft: #e8f7fc;
  --blue: #1aa7d4;
  --green: #07c160;
  --bg: #f2f6fa;
  --text: #243447;
  --muted: #7a8b9c;
  --line: #eef2f6;
  --card: #fff;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: #d9e2ea;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.phone {
  width: min(430px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 40px rgba(20,40,60,.18);
}

.nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: var(--brand);
  color: #fff;
  padding: calc(10px + env(safe-area-inset-top)) 8px 12px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-back {
  width: 40px; height: 40px;
  border: 0; border-radius: 10px;
  background: rgba(255,255,255,.16);
  color: #fff;
  display: grid; place-items: center;
  padding: 0;
}
.nav-back[hidden] { visibility: hidden; pointer-events: none; display: grid; }
.nav-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-right { width: 40px; height: 40px; }

#app {
  flex: 1;
  overflow: auto;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.tabbar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid #eef2f6;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
}
.tabbar button {
  border: 0;
  background: transparent;
  padding: 6px 0 4px;
  color: #8a9bb0;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.tabbar button.active { color: var(--brand); }
.tabbar svg { width: 24px; height: 24px; }

.tech-strip {
  margin: 12px 12px 0;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f7fc 0%, #f5fbfe 55%, #fff 100%);
  border: 1px solid rgba(26,167,212,.18);
  color: #1f2f3f;
}
.tech-kicker { font-size: 11px; color: var(--brand); letter-spacing: 1px; font-weight: 600; }
.tech-title { margin-top: 4px; font-size: 16px; font-weight: 700; color: #1a3a52; }
.tech-metrics { margin-top: 12px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.metric {
  background: #fff;
  border: 1px solid rgba(26,167,212,.12);
  border-radius: 10px; padding: 8px 6px; text-align: center;
}
.metric .n { font-size: 15px; font-weight: 700; color: var(--brand); }
.metric .l { margin-top: 2px; font-size: 11px; color: #7a8b9c; }

.order-tabs {
  display: flex; gap: 8px; padding: 12px 12px 4px; position: sticky; top: 0; z-index: 5;
  background: var(--bg);
}
.otab {
  flex: 1; border: 1px solid #e6edf3; background: #fff;
  border-radius: 999px; padding: 8px 0; color: #7a8b9c; font-size: 13px;
}
.otab.active {
  color: #fff; font-weight: 600;
  background: var(--brand);
  border-color: var(--brand);
}
.order-list { padding: 4px 0 12px; }
.order-card {
  margin: 10px 12px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(26,80,120,.04);
}
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.otype { color: var(--brand); font-size: 12px; font-weight: 600; }
.oname { margin: 8px 0 4px; font-size: 16px; font-weight: 700; color: #1f2f3f; }
.ometa { color: #8aa0b5; font-size: 12px; line-height: 1.5; }
.oid { color: #9aabbc; font-size: 11px; max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oprice { color: #fa8c16; font-size: 17px; font-weight: 700; }
.bottom { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef2f6; }
.oinfo {
  margin-top: 10px;
  padding: 10px 10px 2px;
  background: #f7fafc;
  border-radius: 8px;
}
.oinfo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.oinfo-row span {
  flex: 0 0 42px;
  color: #8aa0b5;
}
.oinfo-row b {
  flex: 1;
  font-weight: 500;
  color: #31485c;
  word-break: break-all;
}
.pay-btn { margin-top: 0; flex: 1; }
.order-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.btn-ghost {
  flex: 1;
  border: 1px solid #ffb4b0;
  background: #fff;
  color: #e54d42;
  border-radius: 999px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
}
.btn-urge {
  flex: 1;
  border: 1px solid #1aa7d4;
  background: #fff;
  color: #1aa7d4;
  border-radius: 999px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 600;
}
.btn-urge:disabled {
  opacity: 0.55;
}
.badge {
  display: inline-block;
  min-width: 16px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: #e54d42;
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}
.order-card.unread {
  border-left: 3px solid var(--brand);
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 14px;
  color: #243447;
}
.switch-row input[type=checkbox] {
  width: 18px;
  height: 18px;
}
.btn-green, .btn-cyan {
  border: 0; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 16px;
}
.btn-green { background: var(--green); }
.btn-cyan { background: var(--brand); }
.empty-title { font-size: 16px; font-weight: 650; margin-bottom: 6px; color: #243447; }
.empty-btn { margin-top: 18px; width: 60%; }

@media (max-width: 480px) {
  html, body { background: var(--bg); }
  .phone { width: 100%; box-shadow: none; min-height: 100dvh; }
}

.hero-wrap {
  margin: 10px 12px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.hero-img { width: 100%; display: block; }
.banner-img { width: 100%; display: block; }
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0 6px;
}
.qr-img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.qr-tip {
  margin-top: 8px;
  font-size: 12px;
  color: #8a9bb0;
}
.mine-avatar-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

/* ===== 首页 Banner（对齐截图） ===== */
.banner-home {
  position: relative;
  height: 168px;
  padding: 28px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120px 80px at 78% 55%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(ellipse 90px 60px at 88% 35%, rgba(255,255,255,.7), transparent 70%),
    linear-gradient(115deg, #dff3ff 0%, #f4fbff 42%, #c8ebff 100%);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #7ad8ff, transparent 45%),
    linear-gradient(160deg, #4fc8ff 0%, #1aa0e0 70%, #0d86c4 100%);
  box-shadow: 0 6px 16px rgba(26,160,224,.35);
  position: relative;
  flex-shrink: 0;
}
.logo::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 16px;
  top: 14px;
  bottom: 12px;
  border-radius: 45% 45% 50% 50%;
  background: rgba(255,255,255,.92);
  box-shadow: inset 0 -4px 8px rgba(26,160,224,.12);
}
.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: #1aa0e0;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.ice-art {
  width: 130px;
  height: 110px;
  position: relative;
  z-index: 1;
}
.ice-art::before,
.ice-art::after {
  content: "";
  position: absolute;
  background: linear-gradient(145deg, #fff, #e8f6ff);
  box-shadow: 0 4px 10px rgba(26,160,224,.15);
}
.ice-art::before {
  width: 54px; height: 42px; right: 36px; bottom: 28px;
  border-radius: 6px; transform: rotate(-8deg);
}
.ice-art::after {
  width: 44px; height: 36px; right: 8px; bottom: 18px;
  border-radius: 5px; transform: rotate(12deg);
  opacity: .95;
}

.card {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26,80,120,.04);
}
.card-pad { padding: 16px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}
.section-title::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--brand);
}

.intro {
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  text-align: justify;
}

/* ===== 服务双 Tab ===== */
.subtabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.subtabs button {
  border: 0;
  background: transparent;
  padding: 13px 0 12px;
  font-size: 15px;
  color: #333;
  position: relative;
}
.subtabs button.active {
  color: var(--brand);
  font-weight: 600;
}
.subtabs button.active::after {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.service-banner {
  height: 168px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
  position: relative;
  overflow: hidden;
}
.service-banner > span { position: relative; z-index: 2; }
.service-banner.delivery {
  background:
    radial-gradient(ellipse 120px 70px at 72% 78%, rgba(255,255,255,.5), transparent 65%),
    radial-gradient(ellipse 80px 40px at 88% 55%, rgba(200,240,255,.45), transparent 70%),
    linear-gradient(180deg, rgba(8,50,90,.08) 0%, rgba(6,35,70,.66) 100%),
    linear-gradient(125deg, #8adfff 0%, #2ec8f0 40%, #0d6fb8 100%);
}
.service-banner.delivery::before {
  content: "";
  position: absolute;
  right: 16px; bottom: 26px;
  width: 108px; height: 58px;
  border-radius: 10px 10px 5px 5px;
  background:
    linear-gradient(90deg, #1a7ec8 0 18%, transparent 18%),
    linear-gradient(160deg, #fff 0%, #eaf6ff 100%);
  box-shadow: 0 10px 22px rgba(0,40,80,.3);
}
.service-banner.delivery::after {
  content: "";
  position: absolute;
  right: 34px; bottom: 56px;
  width: 78px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  filter: blur(3px);
}
.service-banner.sample {
  background:
    radial-gradient(circle at 78% 35%, rgba(255,255,255,.4), transparent 40%),
    radial-gradient(ellipse 90px 50px at 85% 80%, rgba(180,230,255,.35), transparent 70%),
    linear-gradient(180deg, rgba(8,50,90,.1) 0%, rgba(6,35,70,.62) 100%),
    linear-gradient(125deg, #9ae0ff 0%, #2eb6f6 45%, #0f68b5 100%);
}
.service-banner.sample::before {
  content: "";
  position: absolute;
  right: 20px; bottom: 22px;
  width: 72px; height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25), transparent 40%),
    linear-gradient(145deg, #6ec4f2, #1677c7);
  box-shadow: 0 10px 20px rgba(0,40,80,.3);
}
.service-banner.sample::after {
  content: "";
  position: absolute;
  right: 42px; bottom: 54px;
  width: 42px; height: 32px;
  border-radius: 5px;
  background: linear-gradient(160deg, #fff, #d9eefc);
  box-shadow: 0 4px 12px rgba(0,40,80,.22);
}

.group-title {
  margin: 12px 12px 8px;
  font-size: 13px;
  color: #888;
}

.cell-list {
  margin: 0 12px 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.cell:last-child { border-bottom: 0; }
.cell .label {
  color: #333;
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 500;
}
.cell .value {
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 2px;
  text-align: right;
  max-width: 62%;
  justify-content: flex-end;
}
.cell .value.has { color: #333; }
.cell .chev::after {
  content: "›";
  color: #ccc;
  font-size: 18px;
  margin-left: 2px;
  font-weight: 400;
}
.cell input, .cell textarea, .cell select {
  border: 0;
  outline: 0;
  text-align: right;
  font: inherit;
  color: #333;
  background: transparent;
  width: 100%;
  max-width: 200px;
}
.note-wrap {
  display: block;
  padding: 10px 14px 12px;
}
.note-wrap textarea {
  text-align: left;
  width: 100%;
  max-width: none;
  min-height: 72px;
  padding: 10px;
  resize: none;
  color: #333;
  background: #f7f7f7;
  border-radius: 6px;
}
.note-wrap textarea::placeholder { color: #bbb; }

.submit-bar {
  margin: 18px 12px 28px;
}
.submit-bar .btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
}
.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #31485c;
  line-height: 1.4;
  padding: 8px;
  border-radius: 8px;
  background: var(--brand-soft);
}
.adv-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ck { color: #888; }
.contact-row .cv { color: #333; overflow: hidden; text-overflow: ellipsis; }
.contact-row .act { color: var(--brand); font-weight: 500; white-space: nowrap; }
.qr-box {
  margin: 16px auto 6px;
  width: 156px;
  height: 156px;
  border: 1px solid #eee;
  border-radius: 8px;
  display: grid;
  place-items: end center;
  padding-bottom: 10px;
  background:
    linear-gradient(#111,#111) 12px 12px/36% 8%,
    linear-gradient(#111,#111) 12px 12px/8% 36%,
    linear-gradient(#111,#111) calc(100% - 12px) 12px/36% 8%,
    linear-gradient(#111,#111) calc(100% - 12px) 12px/8% 36%,
    linear-gradient(#111,#111) 12px calc(100% - 28px)/36% 8%,
    linear-gradient(#111,#111) 12px calc(100% - 28px)/8% 36%,
    linear-gradient(#111,#111) calc(100% - 12px) calc(100% - 28px)/36% 8%,
    linear-gradient(#111,#111) calc(100% - 12px) calc(100% - 28px)/8% 36%,
    repeating-linear-gradient(90deg,#111 0 3px,transparent 3px 7px) center 42%/58% 48% no-repeat;
  background-repeat: no-repeat;
  color: #bbb;
  font-size: 11px;
}

.picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px 16px;
}
.picker-actions button {
  border: 0;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 15px;
}
.picker-actions .cancel { background: #f5f5f5; color: var(--green); }
.picker-actions .ok { background: var(--green); color: #fff; }

.picker-item.add-item {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 1px solid #e8f4fa;
}
.picker-mask[hidden] { display: none !important; }
.form-sheet .form-body {
  padding: 8px 16px 20px;
  max-height: 70vh;
  overflow: auto;
}
.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 14px;
  color: #243447;
}
.form-row span {
  width: 72px;
  flex-shrink: 0;
  color: #667788;
}
.form-row input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 15px;
  color: #243447;
  background: transparent;
  min-width: 0;
}
.form-field {
  display: block;
  padding: 14px 0 8px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  color: #333;
}
.form-field span { display: block; margin-bottom: 8px; }
.form-field input {
  width: 100%;
  border: 0;
  outline: none;
  font-size: 15px;
  background: transparent;
}
.btn-green-wx {
  width: 100%;
  margin-top: 28px;
  border: 0;
  border-radius: 999px;
  padding: 12px 0;
  background: #07c160;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.dt-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 220px;
  overflow: hidden;
  border-top: 1px solid #eee;
}
.dt-col {
  overflow: auto;
  max-height: 220px;
  border-right: 1px solid #f0f0f0;
}
.dt-col:last-child { border-right: 0; }
.dt-item {
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.dt-item.active {
  background: #f5f5f5;
  color: #222;
  font-weight: 600;
}
.picker-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px 16px;
}
.picker-actions .cancel {
  border: 0;
  border-radius: 8px;
  padding: 12px 0;
  background: #f5f5f5;
  color: #333;
  font-size: 15px;
}
.picker-actions .ok {
  border: 0;
  border-radius: 8px;
  padding: 12px 0;
  background: #07c160;
  color: #fff;
  font-size: 15px;
}
.empty-art {
  font-size: 48px;
  opacity: 0.45;
  margin-bottom: 8px;
}

/* ===== 我的（对齐截图） ===== */
.mine-head {
  background: linear-gradient(180deg, #dff3fa 0%, #f2f6fa 88%);
  padding: 22px 16px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mine-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #7ad8ff, transparent 45%),
    linear-gradient(160deg, #4fc8ff, #1aa0e0);
  box-shadow: 0 4px 12px rgba(26,160,224,.28);
  position: relative;
  flex-shrink: 0;
}
.mine-avatar::after {
  content: "";
  position: absolute;
  left: 18px; right: 16px; top: 14px; bottom: 12px;
  border-radius: 45% 45% 50% 50%;
  background: rgba(255,255,255,.92);
}
.mine-phone {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  letter-spacing: .3px;
}
.mine-nick {
  color: #999;
  font-size: 13px;
  margin-top: 4px;
}

.order-entry {
  margin: 10px 12px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 0 14px;
}
.order-entry button {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 12px;
}
.order-entry .ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #555;
}
.order-entry .ico svg {
  width: 26px;
  height: 26px;
  stroke: #555;
  fill: none;
  stroke-width: 1.6;
}

.func-card {
  margin: 10px 12px 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.func-title {
  padding: 14px 14px 8px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}
.func-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-top: 1px solid #f5f5f5;
  font-size: 14px;
  color: #333;
}
.func-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.func-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #666;
}
.func-ico svg {
  width: 20px;
  height: 20px;
  stroke: #666;
  fill: none;
  stroke-width: 1.6;
}
.func-item > span { color: #ccc; font-size: 16px; }

.picker-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: flex-end;
  z-index: 50;
}
.picker-mask.show { display: flex; }
.picker-sheet {
  width: min(390px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 12px 12px 0 0;
  max-height: 55vh;
  overflow: auto;
}
.picker-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 600;
}
.picker-head button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
}
.picker-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
  color: #243447;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.picker-item:active {
  background: #eef8fc;
  color: var(--brand);
}

.toast {
  position: fixed;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.75);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 99;
  display: none;
  max-width: 80%;
  text-align: center;
}
.toast.show { display: block; }

.order-list .card { padding: 12px 14px; }
.order-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tag-pending { color: #fa8c16; }
.tag-done { color: #52c41a; }
.tag-cancelled { color: #999; }
.empty {
  text-align: center;
  color: #999;
  padding: 48px 16px;
  font-size: 14px;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
}
.muted { color: #999; font-size: 13px; line-height: 1.6; }

/* —— 任务大厅（对齐微信参考视频） —— */
.courier-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #eef2f6;
  position: sticky;
  top: 0;
  z-index: 5;
}
.ctab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 0 12px;
  font-size: 15px;
  color: #5f7388;
  position: relative;
}
.ctab.active {
  color: var(--brand);
  font-weight: 600;
}
.ctab.active::after {
  content: "";
  position: absolute;
  left: 32%;
  right: 32%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.date-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  font-size: 13px;
  color: #5f7388;
}
.date-filter input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #243447;
  font-size: 13px;
}
.task-list {
  padding: 10px 12px 88px;
}
.task-card {
  background: #fff;
  border-radius: 12px;
  padding: 0 14px 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(26, 80, 120, 0.04);
}
.task-card.sample {
  border-left: 3px solid #e67e22;
}
.task-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 10px;
  border-bottom: 1px solid #f2f5f8;
  font-size: 15px;
  font-weight: 600;
  color: #243447;
}
.task-hd .otype-delivery { color: #243447; }
.task-hd .otype-sample { color: #e67e22; }
.task-badge {
  font-size: 12px;
  font-weight: 600;
  color: #fa8c16;
  background: #fff4e6;
  border-radius: 999px;
  padding: 2px 10px;
}
.task-badge.done {
  color: #1aa7d4;
  background: #e8f7fc;
}
.task-badge.sample {
  color: #e67e22;
  background: #fff7e6;
}
.task-badge.sample.done {
  color: #d48806;
  background: #fff1b8;
}
.task-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f7f9fb;
  font-size: 13px;
  line-height: 1.5;
}
.task-row:last-of-type { border-bottom: 0; }
.tk {
  width: 5.5em;
  flex-shrink: 0;
  color: #8a9bb0;
  text-align: left;
  box-sizing: content-box;
}
.tk::after {
  content: "：";
}
.tk.sample-lab {
  color: #e67e22;
}
.tv {
  flex: 1;
  min-width: 0;
  color: #243447;
  word-break: break-all;
  text-align: left;
}
.link-act {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  padding: 0 0 0 6px;
}
.task-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 8px 0 4px;
}
.ghost-mini {
  border: 1px solid #d8e0e8;
  background: #fff;
  color: #4a5b6d;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
}
.ghost-mini.green {
  border-color: #07c160;
  color: #07c160;
}
.quota-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100%);
  bottom: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -4px 16px rgba(26, 80, 120, 0.06);
  z-index: 15;
}
.quota-btn {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px;
  font-size: 15px;
  color: #fff;
}
.detail-page {
  padding: 12px 12px 100px;
}
.detail-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 8px;
  font-size: 16px;
  font-weight: 600;
}
.detail-status .task-badge { font-size: 14px; }
.detail-card { margin-bottom: 12px; }
.detail-subtabs {
  display: flex;
  gap: 0;
  margin: 4px 0 8px;
  border-bottom: 1px solid #eef2f6;
}
.dstab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 14px;
  color: #5f7388;
  position: relative;
}
.dstab.active {
  color: var(--brand);
  font-weight: 600;
}
.dstab.active::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.proof-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 12px;
}
.proof-preview {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eef2f6;
}
.proof-upload { display: block; }
.proof-btn {
  width: 88px;
  height: 88px;
  border: 1px dashed #c5d0db;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a9bb0;
  font-size: 12px;
  line-height: 1.4;
  background: #fafcfd;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 20px;
}
.ghost-pill {
  border: 1px solid #c5cdd6;
  background: #fff;
  color: #4a5b6d;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
}
.ghost-pill.green {
  border-color: #07c160;
  color: #07c160;
}
.proof-item {
  position: relative;
  width: 88px;
  height: 88px;
}
.proof-del {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  padding: 0;
}
.remark-plain { border-bottom: 0; padding-top: 4px; }
.tracking-box .tracking-field {
  padding: 8px 20px 18px;
}
.tracking-box .tracking-field input {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  box-sizing: border-box;
}
.confirm-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.confirm-box {
  width: min(300px, 100%);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}
.confirm-title {
  padding: 22px 20px 6px;
  font-size: 17px;
  font-weight: 600;
  color: #243447;
}
.confirm-desc {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #8a9bb0;
}
.confirm-ops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #eee;
}
.confirm-ops button {
  border: 0;
  background: transparent;
  padding: 14px;
  font-size: 16px;
  color: #243447;
}
.confirm-ops button.ok {
  color: #576b95;
  border-left: 1px solid #eee;
  font-weight: 500;
}
/* 2026-10-29 视频参考：任务卡片与详情直接操作 */
.task-list{padding:4px 0 88px;}.task-card{border-radius:0;box-shadow:none;padding:0 14px 10px;margin-bottom:7px;}.task-card.sample{border-left:0;}.task-hd{font-weight:400;padding:10px 0 9px;font-size:14px;margin-bottom:9px;border-color:#f7f7f7;}.task-hd .otype-sample,.task-hd .otype-delivery{color:#333;}.task-row{padding:2px 0;border-bottom:0;gap:4px;font-size:13px;line-height:1.65;}.tk{width:102px;color:#444;white-space:nowrap;}.tv{color:#444;}.link-act{color:#8dbdcd;font-weight:400;}.task-actions{gap:6px;padding:10px 0 0;}.ghost-mini{border-color:#a7b4a4;color:#879b85;min-width:70px;height:25px;line-height:23px;padding:0 12px;border-radius:20px;font-size:12px;}.ctab.active{font-weight:400;}.ctab.active::after{display:none;}.task-badge{font-weight:400;padding:2px 8px;border-radius:8px;}.task-badge.sample.done{background:#e8f7fc;color:#1aa7d4;}.detail-page{padding:0;}.detail-card .detail-status{padding:12px 0;border-bottom:1px solid #f6f6f6;margin-bottom:12px;font-size:14px;}.detail-card .tk{width:88px;color:#999;}.detail-card .task-row{padding:3px 0;}.proof-caption{font-size:13px;color:#999;margin:10px 0;}.task-remark{font-size:13px;color:#555;line-height:1.6;overflow-wrap:anywhere;}.detail-actions{margin-top:12px;}.quota-bar{background:#fff;}
.courier-video .nav{background:#f4f4f4;color:#222;box-shadow:none;border:0;}.courier-video .nav-title{color:#222;font-weight:400;font-size:17px;}.courier-video .nav-back{color:#222;background:transparent;}.courier-video #app{background:#f4f4f4;}.task-actions .ghost-mini.green,.detail-actions .ghost-pill,.detail-actions .ghost-pill.green{color:#8d9c8c;border-color:#a7b4a4;background:white;}.detail-actions .ghost-pill{font-size:12px;min-height:25px;padding:3px 12px;}
/* 四角色个人中心与企业月度对账 */
.reference-account .nav{background:#fff;color:#222;box-shadow:none;}.reference-account .nav-title{color:#222;font-size:17px;font-weight:400;}.reference-account .nav-back{color:#222;background:transparent;}.reference-account #app{background:#f4f4f4;min-height:calc(100vh - 62px);}.company-bind .cell{display:flex;align-items:center;justify-content:space-between;background:white;margin:18px 0;padding:16px;font-size:14px;}.company-bind input{border:0;text-align:right;max-width:65%;font-size:14px;}.company-bind .btn-green{display:block;width:calc(100% - 28px);margin:18px 14px;border-radius:30px;}.binding-status{font-size:12px;color:#888;margin:14px;line-height:1.6;}#companyError{color:#d54c4c;}.more-functions{margin:14px;padding:12px;border-radius:12px;background:white;color:#888;font-size:12px;}.more-functions summary{cursor:pointer;}.corp-filters{padding:14px;background:white;}.corp-filters>input,.corp-pair select,.corp-pair label{width:100%;border:1px solid #eee;border-radius:24px;padding:10px 12px;background:white;font-size:13px;box-sizing:border-box;}.corp-filters>input{margin-bottom:12px;}.corp-pair{display:flex;gap:12px;margin-bottom:12px;}.corp-pair>*{flex:1;min-width:0;}.corp-pair label{display:flex;align-items:center;gap:0;padding:10px 8px;font-size:11px;white-space:nowrap;}.corp-pair input[type=date]{border:0;min-width:0;width:100%;font-size:11px;background:transparent;}.corp-pair button{border:0;border-radius:25px;height:40px;font-size:14px;font-weight:600;}.corp-pair button:first-child{background:#0bba00;color:white;}.corp-pair button:last-child{background:#eee;color:#444;}.corp-order-list{padding:0 12px 18px;}.corp-more{display:block;width:100%;padding:12px;border:0;background:white;color:#888;}.reference-account .mine-head{background:#f4f4f4;}.reference-account .func-ico svg{stroke:#444;}.reference-account .func-title{color:#444;}
