@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --bg: #f6efe6;
  --bg-glow: #fbe6d2;
  --surface: #fffaf4;
  --surface-2: #f2e7da;
  --text: #2b1d16;
  --muted: #8c796b;
  --faint: #b9a797;
  --line: #eadccd;
  --accent: #c2512f;
  --accent-2: #e08a45;
  --accent-ink: #fffaf4;
  --accent-soft: #f9e2d5;
  --ok: #4d8a5e;
  --ok-soft: #e1eddf;
  --warn: #b4701f;
  --danger: #b73d2a;
  --danger-soft: #f7ddd6;
  --hero-bg:
    radial-gradient(90% 120% at 100% 0%, rgb(232 142 72 / 0.55) 0%, transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgb(194 81 47 / 0.35) 0%, transparent 60%),
    linear-gradient(155deg, #3a241b 0%, #4d2c20 60%, #5e3322 100%);
  --hero-ink: #fff4ea;
  --hero-muted: rgb(255 244 234 / 0.66);
  --hero-line: rgb(255 244 234 / 0.14);
  --hero-card: rgb(255 244 234 / 0.09);
  --shadow-sm: 0 1px 2px rgb(74 40 20 / 0.05);
  --shadow: 0 1px 2px rgb(74 40 20 / 0.05), 0 10px 28px -14px rgb(74 40 20 / 0.22);
  --shadow-lg: 0 24px 60px -24px rgb(74 40 20 / 0.45);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15100d;
    --bg-glow: #2a1810;
    --surface: #1f1813;
    --surface-2: #2a211b;
    --text: #f7ece2;
    --muted: #a8968a;
    --faint: #6f6056;
    --line: #34291f;
    --accent: #ec7c56;
    --accent-2: #f2a15e;
    --accent-ink: #1d0f09;
    --accent-soft: #3b2218;
    --ok: #7fc28f;
    --ok-soft: #1f3124;
    --warn: #e8a456;
    --danger: #f27e66;
    --danger-soft: #3d201a;
    --hero-bg:
      radial-gradient(90% 120% at 100% 0%, rgb(236 124 86 / 0.45) 0%, transparent 60%),
      radial-gradient(70% 90% at 0% 100%, rgb(242 161 94 / 0.18) 0%, transparent 60%),
      linear-gradient(155deg, #4a2a1d 0%, #3a2016 60%, #2c1811 100%);
    --shadow-sm: none;
    --shadow: 0 0 0 1px rgb(255 240 225 / 0.04);
    --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15100d;
  --bg-glow: #2a1810;
  --surface: #1f1813;
  --surface-2: #2a211b;
  --text: #f7ece2;
  --muted: #a8968a;
  --faint: #6f6056;
  --line: #34291f;
  --accent: #ec7c56;
  --accent-2: #f2a15e;
  --accent-ink: #1d0f09;
  --accent-soft: #3b2218;
  --ok: #7fc28f;
  --ok-soft: #1f3124;
  --warn: #e8a456;
  --danger: #f27e66;
  --danger-soft: #3d201a;
  --hero-bg:
    radial-gradient(90% 120% at 100% 0%, rgb(236 124 86 / 0.45) 0%, transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgb(242 161 94 / 0.18) 0%, transparent 60%),
    linear-gradient(155deg, #4a2a1d 0%, #3a2016 60%, #2c1811 100%);
  --shadow-sm: none;
  --shadow: 0 0 0 1px rgb(255 240 225 / 0.04);
  --shadow-lg: 0 24px 60px -24px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 50% at 50% -10%, var(--bg-glow) 0%, transparent 70%) no-repeat, var(--bg);
  color: var(--text);
  font: 500 16px/1.45 var(--font);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.error { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 1em; margin: 8px 0 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Opbouw ---------- */
main {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 120px);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 2px 18px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; box-shadow: var(--shadow); flex: none; }
.eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.01em; }
.topbar h1 { font-family: var(--display); font-size: 27px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}
.icon-btn:active { transform: scale(0.93); }
.icon-btn.spinning svg { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kop (hero) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-bg); color: var(--hero-ink);
  border-radius: 28px; padding: 22px 20px 18px; margin-bottom: 26px;
  box-shadow: var(--shadow-lg);
}
.hero::after {
  /* fijne korrel, voor een warme "papieren" uitstraling */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero > * { position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-muted); }
.hero-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #ffb27a; box-shadow: 0 0 0 4px rgb(255 178 122 / 0.22); }
.hero-headline { font-family: var(--display); font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 18px; }
.hero-headline em { font-style: normal; color: #ffc294; }

.hero-next {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; row-gap: 12px; align-items: center;
  width: 100%; text-align: left; color: inherit;
  background: var(--hero-card); border: 1px solid var(--hero-line);
  border-radius: 18px; padding: 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-next .t { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-next .s { font-size: 13px; font-weight: 600; color: var(--hero-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-next .w { text-align: right; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; white-space: nowrap; }
.hero-next .w small { display: block; font-size: 12px; font-weight: 700; color: var(--hero-muted); }
.hero-next .progress { grid-column: 1 / -1; }
.hero-next .progress i { background: rgb(255 244 234 / 0.18); }
.hero-next .progress i.on { background: linear-gradient(90deg, #ffb27a, #ff8a5c); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.hero-stats div { padding: 0 12px; border-left: 1px solid var(--hero-line); }
.hero-stats div:first-child { padding-left: 2px; border-left: 0; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.hero-stats small { display: block; font-size: 12px; font-weight: 700; color: var(--hero-muted); }

.archive-bar { display: flex; justify-content: space-between; align-items: center; margin: -4px 2px 16px; }
.archive-bar span { font-family: var(--display); font-size: 20px; font-weight: 600; }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 700; padding: 4px 0; }

/* ---------- Groepen en kaarten ---------- */
.group { margin-bottom: 26px; }
.group-head { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 10px; }
.group-head h2 { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.group-head .count { font-size: 12px; font-weight: 800; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 9px; }
.group.today .group-head h2 { color: var(--accent); }
.group.today .group-head .count { background: var(--accent-soft); color: var(--accent); }
.group.alert .group-head h2 { color: var(--danger); }
.group.alert .group-head .count { background: var(--danger-soft); color: var(--danger); }

.cards { display: grid; gap: 10px; }
.card {
  display: grid; grid-template-columns: 46px 1fr auto; column-gap: 13px; row-gap: 12px; align-items: center;
  width: 100%; text-align: left;
  padding: 14px 14px 13px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.card:active { transform: scale(0.985); }
.card.done { background: transparent; box-shadow: none; }
.card.done .badge { filter: saturate(0.55); opacity: 0.8; }
.card-main { min-width: 0; }
.card-title { font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.card-sub.err { color: var(--warn); }
.card-when { text-align: right; white-space: nowrap; }
.card-when strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.card-when small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.card-when .slot { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.card .progress { grid-column: 2 / -1; }

/* Voortgang: besteld → verzonden → onderweg → bezorger → bezorgd */
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.progress i { height: 4px; border-radius: 4px; background: var(--surface-2); }
.progress i.on { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.progress.done i.on { background: var(--ok); }
.progress.alert i.on { background: var(--danger); }

.badge {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; flex: none;
  font-weight: 900; font-size: 12px; letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06), inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.badge.lg { width: 56px; height: 56px; border-radius: 17px; font-size: 14px; }
.badge.postnl { background: #ff6a13; color: #fff; font-size: 10px; }
.badge.lg.postnl { font-size: 12px; }
.badge.dhl { background: #ffcc00; color: #c8102e; }
.badge.dpd { background: #d9173f; color: #fff; }
.badge.trunkrs { background: #241245; color: #2fe39a; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.bezorgen, .pill.onderweg { background: var(--accent-soft); color: var(--accent); }
.pill.bezorgd { background: var(--ok-soft); color: var(--ok); }
.pill.probleem { background: var(--danger-soft); color: var(--danger); }

/* ---------- Leeg ---------- */
.empty { text-align: center; padding: 44px 24px 20px; }
.empty-art {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 30px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent);
}
.empty h2 { font-family: var(--display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.empty p { margin: 0 auto; max-width: 320px; font-size: 15px; }

/* ---------- Knoppen en velden ---------- */
.fab {
  position: fixed; right: max(20px, calc(50% - 260px)); bottom: calc(env(safe-area-inset-bottom) + 24px);
  height: 58px; padding: 0 22px 0 18px; border-radius: 20px; border: 0;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink);
  font-weight: 800; font-size: 16px;
  box-shadow: 0 14px 30px -10px rgb(194 81 47 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.25);
  transition: transform 0.15s;
}
.fab:active { transform: scale(0.95); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 16px; padding: 13px 18px; font-weight: 800;
  background: var(--surface); color: var(--text);
  transition: transform 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn.primary { border-color: transparent; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 22px -12px rgb(194 81 47 / 0.8); }
.btn.small { padding: 8px 14px; border-radius: 12px; font-size: 14px; }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: 0.55; }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.field small { display: block; margin-top: 7px; font-size: 13px; font-weight: 600; }
.field > span small { display: inline; margin: 0; font-weight: 600; }
input, select {
  width: 100%; padding: 13px 14px; border-radius: 15px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: 16px; font-weight: 600; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: var(--faint); font-weight: 500; }
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input-row { display: flex; gap: 8px; }
.input-row input { flex: 1; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700;
}
.chip[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

/* ---------- Onderbladen ---------- */
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh;
  margin: auto auto 0; padding: 0;
  border: 0; border-radius: 30px 30px 0 0;
  background: var(--surface); color: var(--text);
  box-shadow: 0 -20px 60px rgb(40 20 10 / 0.25);
}
.sheet::backdrop { background: rgb(30 16 10 / 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet[open] { animation: up 0.28s cubic-bezier(0.2, 0.9, 0.3, 1); }
@keyframes up { from { transform: translateY(48px); opacity: 0; } }
.sheet > form, .sheet-inner { padding: 10px 20px calc(env(safe-area-inset-bottom) + 22px); }
.sheet h2 { font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 16px; }
.sheet-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 8px; }
.sheet hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0 6px; }
.row-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 15px 2px; border: 0; background: none; font-weight: 700; text-align: left;
  border-bottom: 1px solid var(--line);
}
.row-btn:last-child { border-bottom: 0; }
.row-btn.danger { color: var(--danger); }

/* ---------- Details ---------- */
.detail-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.detail-head input.title-input {
  border: 0; background: none; padding: 0; border-radius: 0; box-shadow: none;
  font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em;
}
.detail-head input.title-input:focus { border-bottom: 2px solid var(--accent); box-shadow: none; }
.detail-head .sub { font-size: 14px; font-weight: 600; color: var(--muted); }
.eta-box {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; padding: 16px 16px 14px; margin-bottom: 16px;
}
.eta-box small { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.eta-box strong { display: block; font-family: var(--display); font-size: 27px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 10px; }
.eta-box .event { font-size: 14px; font-weight: 600; color: var(--muted); margin: 8px 0 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 14px; }
.steps div { font-size: 10.5px; font-weight: 800; color: var(--faint); letter-spacing: -0.01em; }
.steps div::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--surface-2); margin-bottom: 6px; }
.steps div.on { color: var(--text); }
.steps div.on::before { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.steps.done div.on::before { background: var(--ok); }
.notice { font-size: 14px; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: var(--danger-soft); color: var(--danger); margin: 0 0 16px; }
.notice.info { background: var(--accent-soft); color: var(--accent); }
.timeline { list-style: none; margin: 0 0 20px; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: 14px; font-weight: 700; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); box-sizing: border-box; }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 19px; bottom: 2px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li:first-child::before { background: var(--accent); border-color: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.timeline time { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; font-size: 14px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.kv dt, .kv dd { padding: 11px 14px; border-top: 1px solid var(--line); margin: 0; }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { text-align: right; font-weight: 700; word-break: break-all; }
.detail-actions { display: grid; gap: 10px; }
.detail-actions .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; }
.detail-actions .two .btn { padding-left: 8px; padding-right: 8px; }
.detail-actions a.btn { text-decoration: none; }
.manual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.manual .full { grid-column: 1 / -1; }
.manual label span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 5px; }
.section-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 0 0 12px; }

/* ---------- Code-scherm ---------- */
.lock {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(90% 60% at 50% 0%, var(--bg-glow) 0%, transparent 70%), var(--bg);
}
.lock-card { width: 100%; max-width: 340px; text-align: center; }
.lock-icon { width: 84px; height: 84px; border-radius: 24px; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.lock h1 { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.lock p.muted { margin: 6px 0 0; font-weight: 600; }
.lock form { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Trek-omlaag en melding ---------- */
.ptr { height: 0; overflow: hidden; display: grid; place-items: center; transition: height 0.2s; }
.ptr.pulling { transition: none; }
.ptr-spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); }
.ptr.loading .ptr-spinner { animation: spin 0.8s linear infinite; }
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 100px); transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 700; z-index: 60; max-width: calc(100% - 32px); text-align: center;
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Bestellingen ---------- */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: -6px 0 20px; border-radius: 16px; background: var(--surface-2); }
.segmented button { border: 0; border-radius: 12px; padding: 10px; background: none; font-weight: 800; font-size: 14px; color: var(--muted); }
.segmented button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.hint { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.badge.order {
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--bg) 6px 12px);
  color: var(--muted); border: 1.5px dashed var(--faint); box-shadow: none; font-size: 13px;
}
.card.order { background: color-mix(in srgb, var(--surface) 60%, transparent); border-style: dashed; box-shadow: none; }
.card-when .expect { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 9px; background: var(--surface-2); color: var(--muted); }
.attach { display: grid; gap: 10px; margin-bottom: 20px; padding: 14px; border-radius: 18px; border: 1.5px dashed var(--line); }
.attach .input-row .btn { white-space: nowrap; }
.attach select { padding: 10px 12px; font-size: 15px; }
