/* 查订单 · 与提交页同一套雾青工坊 */
:root {
  --bg: #eef2f4;
  --card: #ffffff;
  --ink: #141820;
  --muted: #5c6570;
  --faint: #8a939e;
  --line: rgba(20, 24, 32, 0.1);
  --soft: #e4ebef;
  --ok: #1f6b4a;
  --ok-soft: #e8f5ef;
  --err: #b42318;
  --err-soft: #fdecea;
  --warn: #b45309;
  --primary: #1c4d5e;
  --primary-soft: #2a6a7e;
  --font: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Fraunces", "Songti SC", "Noto Serif SC", serif;
  --display: "Fraunces", "Songti SC", "Noto Serif SC", serif;
  --max: 28rem;
  --gutter: 1.15rem;
  --r: 1rem;
  --ease: cubic-bezier(.22, .75, .28, 1);
  --top: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% -10%, #d9e7ec 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overscroll-behavior: none;
  position: relative;
}
::-webkit-scrollbar { display: none; }

.page-atmos {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0.28;
}
.page-atmos-img {
  width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(0.96);
}
.float-ornament {
  position: fixed; z-index: 1; width: min(38vw, 150px); pointer-events: none;
  opacity: 0.45; mix-blend-mode: multiply;
}
.float-ornament-tr { top: 48px; right: -16px; }

.bg-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(#141820 0.5px, transparent 0.5px);
  background-size: 22px 22px; opacity: 0.025;
}
.safe-top { padding-top: max(0px, env(safe-area-inset-top, 0)); }
.safe-bottom { padding-bottom: max(24px, env(safe-area-inset-bottom, 0)); }
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1; user-select: none;
}

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; min-height: 3.5rem;
  padding: 0 1rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-back {
  justify-self: start; display: inline-flex; align-items: center; gap: 2px;
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 8px 10px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-back:hover { background: var(--soft); color: var(--primary); }
.nav-back .material-symbols-outlined { font-size: 18px; }
.nav-brand {
  justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.brand-name {
  font-family: var(--display); font-size: 16px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand-dot { display: none; }
.brand-sub { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.nav-help {
  justify-self: end; width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-help:hover { background: var(--soft); color: var(--primary); }
.nav-help:focus-visible,
.nav-back:focus-visible,
.btn-dark:focus-visible,
.btn-line:focus-visible,
.linkish:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 50%, transparent);
  outline-offset: 2px;
}
.nav-help .material-symbols-outlined { font-size: 20px; }

.shell {
  position: relative; z-index: 10;
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter) 0;
}
.panel { animation: rise .3s var(--ease); }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.intro { padding: 6px 2px 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--chip, var(--soft)) 70%, transparent);
  color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.pill-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.intro h1 {
  margin: 10px 0 0; font-family: var(--display);
  font-size: clamp(1.55rem, 6vw, 1.85rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2;
}
.lead { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

.card {
  margin-top: 16px; background: color-mix(in srgb, var(--card) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px; box-shadow: 0 10px 28px rgba(20, 40, 48, 0.05); padding: 16px;
  backdrop-filter: blur(10px);
}
.search-head { margin-bottom: 10px; }
.search-head label { font-size: 13px; font-weight: 700; color: var(--ink); }
.search-row { position: relative; display: flex; align-items: center; }
.search-ico {
  position: absolute; left: 14px; color: var(--faint); font-size: 18px; pointer-events: none;
}
.search-row input {
  width: 100%; min-height: 52px; padding: 12px 108px 12px 42px;
  border: 1px solid transparent; border-radius: 14px; background: var(--soft);
  font: inherit; font-size: 16px; color: var(--ink); outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.search-row input:hover { border-color: color-mix(in srgb, var(--primary) 20%, transparent); }
.search-row input:focus {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.search-row .btn-dark {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 40px; padding: 0 16px; border-radius: 12px;
}
.search-foot {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
}
.linkish {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; padding: 8px 4px; color: var(--primary);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 8px;
}
.linkish:hover { background: var(--soft); }
.linkish .material-symbols-outlined { font-size: 16px; color: var(--primary); }

.faq-card {
  background: color-mix(in srgb, var(--soft) 70%, #fff);
  border-color: var(--line);
}
.faq-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.faq-title .material-symbols-outlined { font-size: 18px; color: var(--primary); }
.faq-card > p, .faq-list {
  margin: 0; font-size: 13px; color: var(--muted); line-height: 1.65;
}
.faq-list { padding-left: 1.1em; }
.faq-list li { margin: 0 0 6px; }

.match-card {
  margin-top: 0.75rem;
  padding: 1rem 1.05rem 0.9rem;
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.match-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #f7fafb;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.match-item .match-cta {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary, #8b4513);
}
.match-item:active,
.match-item:hover {
  border-color: rgba(28, 77, 94, 0.35);
  background: #fff;
}
.match-title {
  font-weight: 650;
  font-size: 0.95rem;
}
.match-meta {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.btn-dark {
  border: 0; border-radius: 12px;
  background: linear-gradient(180deg, var(--primary-soft), var(--primary));
  color: #fff;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer; padding: 10px 16px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 22%, transparent);
  transition: transform .12s var(--ease), filter .15s, opacity .15s;
}
.btn-dark:hover { filter: brightness(1.04); }
.btn-dark:active { transform: scale(0.98); }
.btn-dark:disabled { opacity: 0.45; filter: none; box-shadow: none; }
.btn-dark.full { width: 100%; margin-top: 10px; min-height: 48px; border-radius: 14px; }
.btn-line {
  border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--card) 94%, transparent); color: var(--ink);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 10px 16px;
  transition: border-color .15s, background .15s, transform .12s;
}
.btn-line:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  background: #fff;
}
.btn-line:active { transform: scale(0.98); }
.btn-line.full { width: 100%; margin-top: 10px; min-height: 48px; border-radius: 14px; }

.msg {
  margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--err); background: var(--err-soft);
}
.msg.ok { color: var(--ok); background: var(--ok-soft); }
.msg[hidden] { display: none !important; }

.switch-order {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 14px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--muted); font: inherit; font-size: 12px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s;
}
.switch-order:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); color: var(--primary); }

.hero {
  position: relative; overflow: hidden; padding: 22px; border-radius: 20px;
  background:
    linear-gradient(145deg, #1c4d5e 0%, #143844 55%, #0f2a33 100%);
  color: #fff;
  box-shadow: 0 14px 32px rgba(20, 40, 48, 0.22);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(70% 50% at 0% 100%, rgba(42, 106, 126, 0.45), transparent 60%);
}
.hero-top, .hero h2, .meta, .eta-line, .hero-hint, .progress-track {
  position: relative; z-index: 1;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em; background: rgba(214,211,209,.14); color: #e7e5e4;
  border: 1px solid rgba(214,211,209,.25);
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: #a8a29e;
  animation: pulse 1.6s ease infinite;
}
.hero.is-queue .chip {
  background: rgba(125,211,252,.14); color: #7dd3fc; border-color: rgba(125,211,252,.28);
}
.hero.is-queue .chip::before { background: #38bdf8; }
.hero.is-pending .chip {
  background: rgba(251,191,36,.18); color: #fcd34d; border-color: rgba(251,191,36,.3);
}
.hero.is-pending .chip::before { background: #fbbf24; }
.hero.is-followup .chip {
  background: rgba(251,146,60,.18); color: #fdba74; border-color: rgba(251,146,60,.3);
}
.hero.is-followup .chip::before { background: #fb923c; }
.hero.is-done .chip {
  background: rgba(52,211,153,.18); color: #6ee7b7; border-color: rgba(52,211,153,.3);
}
.hero.is-done .chip::before { background: #34d399; animation: none; }
.hero.is-revision .chip {
  background: rgba(248,113,113,.18); color: #fca5a5; border-color: rgba(248,113,113,.3);
}
.hero.is-revision .chip::before { background: #f87171; }
.hero.is-cancelled .chip {
  background: rgba(168,162,158,.18); color: #d6d3d1; border-color: rgba(168,162,158,.3);
}
.hero.is-cancelled .chip::before { background: #a8a29e; animation: none; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-id { font-size: 11px; color: #a8a29e; font-family: ui-monospace, Menlo, monospace; }
.hero h2 {
  margin: 14px 0 0; font-family: var(--display); font-size: 1.35rem;
  font-weight: 600; letter-spacing: -0.02em; color: #f5f5f4; line-height: 1.3;
}
.meta { margin: 6px 0 0; font-size: 11.5px; color: rgba(214,211,209,.85); }
.eta-line {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(231,229,228,.92);
  letter-spacing: 0.01em;
}
.eta-line[hidden] { display: none !important; }
.progress-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(68,64,60,.85);
  text-align: center; font-size: 10px; color: #78716c;
}
.pt-item i {
  display: block; height: 4px; border-radius: 999px; background: #292524; margin-bottom: 6px;
}
.pt-item.done { color: #a8a29e; }
.pt-item.done i { background: #10b981; }
.pt-item.now { color: #fcd34d; font-weight: 600; }
.pt-item.now i { background: #fbbf24; }
.hero-hint {
  margin: 12px 0 0; font-size: 11.5px; color: #a8a29e; line-height: 1.55;
}

.preview-cta {
  margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 16px;
  background: #fff; border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: var(--r); text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(28,25,23,.03);
}
.preview-cta[hidden] { display: none !important; }
.preview-ico {
  width: 40px; height: 40px; border-radius: 1rem; background: #f6f2ee;
  display: grid; place-items: center; color: #1c1917; font-size: 20px; flex-shrink: 0;
}
.preview-copy { flex: 1; min-width: 0; }
.preview-copy strong { display: block; font-size: 13.5px; font-weight: 600; }
.preview-copy span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.preview-go {
  width: 28px; height: 28px; border-radius: 999px; background: #f5f5f4;
  display: grid; place-items: center; color: var(--faint); font-size: 16px;
}

.calm-note { margin: 12px 4px 0; font-size: 12px; color: var(--muted); line-height: 1.6; }
.block { margin-top: 14px; }
.block-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.block-head h3 {
  margin: 0; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.block-head h3::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: #1c1917;
}
.count {
  font-size: 10.5px; font-weight: 500; color: var(--muted);
  background: #f5f5f4; padding: 2px 8px; border-radius: 999px;
}
.tip { margin: 0 0 12px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.tip.soft { margin-bottom: 10px; }
.tip strong { color: #44403c; font-weight: 600; }

.thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px;
}
.thumbs:empty { display: none; }
.thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); background: #f5f5f4;
}

.upload-zone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px; border: 1.5px dashed #d6d3d1; border-radius: 1rem;
  background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer;
}
.upload-zone .material-symbols-outlined { font-size: 18px; }
.upload-zone input { display: none; }
.upload-zone.compact { justify-content: flex-start; gap: 12px; text-align: left; }
.upload-zone.compact strong { display: block; font-size: 12px; color: #292524; }
.upload-zone.compact em { display: block; font-style: normal; font-size: 10.5px; color: var(--faint); font-weight: 400; }

.field-label {
  display: block; margin: 4px 0 6px; font-size: 12px; font-weight: 500; color: #44403c;
}
.edit-grid input[type="text"],
.edit-grid input[type="tel"],
.edit-grid input[type="date"],
.edit-grid input[type="time"] {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 1rem; background: var(--soft); font: inherit; font-size: 16px;
  color: var(--ink); outline: none; margin-bottom: 10px;
}
.edit-grid input:focus { border-color: #1c1917; background: #fff; }
.edit-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.edit-grid textarea { margin-bottom: 10px; }
.thumb-wrap { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-del {
  position: absolute; top: 4px; right: 4px; width: 26px; height: 26px;
  border: 0; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.thumb-del .material-symbols-outlined { font-size: 16px; }
.cover-tag {
  position: absolute; right: 4px; bottom: 4px; font-size: 8px;
  background: rgba(0,0,0,.6); color: #fff; padding: 1px 4px; border-radius: 4px;
}
textarea {
  width: 100%; min-height: 88px; padding: 12px; border: 1px solid var(--line);
  border-radius: 1rem; background: var(--soft); font: inherit; font-size: 16px;
  line-height: 1.55; color: var(--ink); resize: none; outline: none; margin-bottom: 10px;
}
textarea:focus { border-color: #1c1917; background: #fff; }
textarea::placeholder { color: var(--faint); font-size: 12px; }

.shot-preview {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0;
}
.shot-preview:empty { display: none; }
.shot-preview img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line);
}

.revise-fold { padding: 0; overflow: hidden; }
.revise-fold summary {
  list-style: none; cursor: pointer; padding: 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.revise-fold summary::-webkit-details-marker { display: none; }
.fold-title { font-size: 12px; font-weight: 600; color: #44403c; }
.fold-sub { font-size: 11px; color: var(--faint); }
.revise-fold[open] summary { border-bottom: 1px solid #f5f5f4; }
.fold-body { padding: 14px 16px 16px; }

.revise-ref {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px;
  border-radius: 14px;
  background: #faf7f2;
  border: 1px solid rgba(40, 36, 32, 0.08);
}
.revise-ref-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: #efe8dc;
  border: 1px solid rgba(40, 36, 32, 0.08);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #78716c;
}
.revise-ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.revise-ref-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  padding: 6px;
  line-height: 1.2;
}
.revise-ref-ph .material-symbols-outlined { font-size: 22px; }
.revise-ref-text { flex: 1; min-width: 0; }
.revise-ref-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #292524;
}
.revise-ref-text span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

/* 交付页进来：只留反馈区 */
body.on-revise #lookupPanel,
body.on-revise .switch-order,
body.on-revise #heroStatus,
body.on-revise #previewCard,
body.on-revise #shareBox,
body.on-revise #calmNote,
body.on-revise #editCard,
body.on-revise #photoCard,
body.on-revise #historyCard,
body.on-revise .faq-card {
  display: none !important;
}
body.on-revise .revise-fold summary {
  pointer-events: none;
  cursor: default;
}
body.on-revise .revise-fold .fold-title { font-size: 15px; }
body.on-revise .revise-fold .fold-sub { display: none; }
body.on-revise .foot-brand { margin-top: 28px; }

.history-item {
  padding: 12px; border-radius: 1rem; background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); margin-top: 8px;
}
.history-item:first-child { margin-top: 0; }
.history-item time { display: block; font-size: 10.5px; color: var(--faint); margin-bottom: 4px; }
.history-item p { margin: 0; font-size: 12px; color: #57534e; line-height: 1.55; }
.history-shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px;
}
.history-shots img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

.foot-brand {
  margin: 20px 0 8px; text-align: center; font-size: 11px; color: var(--faint);
}

.modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal[hidden] { display: none !important; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.4); backdrop-filter: blur(2px);
}
.modal-sheet {
  position: relative; z-index: 1; width: 100%; max-width: 22rem;
  background: #fff; border-radius: var(--r); border: 1px solid var(--line);
  padding: 24px; box-shadow: 0 20px 40px rgba(28,25,23,.18);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.modal-head h2 { margin: 0; font-family: var(--serif); font-size: 1.125rem; font-weight: 500; }
.modal-x {
  width: 28px; height: 28px; border: 0; border-radius: 999px; background: #f5f5f4;
  color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.modal-sheet > p { margin: 0; font-size: 12px; color: #57534e; line-height: 1.65; }
.modal-meta {
  list-style: none; margin: 14px 0; padding: 12px; border-radius: 1rem;
  background: #fafaf9; font-size: 12px; color: #57534e;
}
.modal-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.modal-meta strong { color: #292524; font-weight: 600; }

/* share / poster preview */
.share-box {
  margin: 14px 0 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.92);
  border: 1px solid rgba(40, 36, 32, 0.08);
}
.poster-preview {
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #efe8dc;
}
.poster-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.share-actions {
  display: grid;
  gap: 8px;
}
.share-actions .btn-dark,
.share-actions .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 查订单剩余细节：编辑区 / 弹层 / 上传 / 历史 */
.edit-grid input,
.edit-grid textarea,
textarea,
.field input,
.field textarea {
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  background: var(--soft) !important;
  transition: border-color .15s, background .15s, box-shadow .15s !important;
}
.edit-grid input:focus,
.edit-grid textarea:focus,
textarea:focus,
.field input:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line)) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent) !important;
  outline: none !important;
}
.upload-zone.compact {
  border: 1.5px dashed color-mix(in srgb, var(--primary) 28%, var(--line)) !important;
  background: color-mix(in srgb, var(--card) 88%, var(--soft)) !important;
  border-radius: 14px !important;
  transition: border-color .15s, box-shadow .15s;
}
.upload-zone.compact:hover {
  border-color: color-mix(in srgb, var(--primary) 48%, var(--line)) !important;
  box-shadow: 0 8px 20px rgba(20, 40, 48, 0.06);
}
.upload-zone.compact strong { color: var(--ink) !important; }
.history-item p { color: var(--muted) !important; }
.modal-backdrop {
  background: rgba(12, 24, 30, 0.42) !important;
  backdrop-filter: blur(6px);
}
.modal-sheet {
  border-radius: 22px 22px 0 0 !important;
  border: 1px solid var(--line);
  box-shadow: 0 -12px 36px rgba(12, 24, 30, 0.16);
}
.modal-sheet h2 {
  font-family: var(--display);
  letter-spacing: -0.02em;
}
.modal-sheet > p,
.modal-meta { color: var(--muted) !important; }
.modal-meta strong { color: var(--ink) !important; }
.pt-item.on i,
.pt-item.done i { background: color-mix(in srgb, #7dd3fc 70%, #fff) !important; }
.action-preview {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid var(--line);
}

.match-item.is-blocked{opacity:.75;cursor:default;border-style:dashed}
.match-item.is-blocked .match-cta{color:#8f100d}
