:root {
  --navy-950: #071c2b;
  --navy-900: #0c2d44;
  --navy-800: #123f5d;
  --teal-700: #08756f;
  --teal-600: #0e8f87;
  --teal-100: #dff5f1;
  --cyan-50: #f0faf9;
  --amber-700: #a25d00;
  --amber-100: #fff0cd;
  --rose-700: #a63848;
  --rose-100: #fde9ed;
  --blue-100: #e6f0fa;
  --blue-700: #285d8c;
  --ink: #17222c;
  --muted: #61717d;
  --line: #dbe3e8;
  --panel: #ffffff;
  --canvas: #edf2f5;
  --shadow: 0 18px 50px rgba(7, 28, 43, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
button { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .48; transform: none !important; }
:focus-visible { outline: 3px solid rgba(14, 143, 135, .35); outline-offset: 2px; }
[hidden] { display: none !important; }

.demo-strip {
  display: flex;
  justify-content: center;
  padding: 6px 18px;
  color: #ddf8f5;
  background: var(--navy-950);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - 1428px) / 2));
  color: #fff;
  background: linear-gradient(115deg, var(--navy-900), var(--navy-800));
  box-shadow: 0 10px 30px rgba(7, 28, 43, .15);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--navy-950);
  background: #7ce0d6;
  font-weight: 950;
}
.brand strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.brand small { display: block; margin-top: 2px; color: #bcd2df; font-size: .76rem; }
.privacy-note {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #dceaf1;
  background: rgba(255,255,255,.08);
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--teal-700); }
.button.primary:hover:not(:disabled) { background: #075f5b; }
.button.light { color: var(--navy-900); background: #fff; border-color: #cad8e1; }
.button.light:hover:not(:disabled) { border-color: #96b2c1; }
.button.small { min-height: 36px; padding: 7px 10px; font-size: .82rem; }

.shell { width: min(1428px, calc(100% - 32px)); margin: 18px auto 42px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7,28,43,.05);
}
.step { display: flex; align-items: center; gap: 9px; padding: 11px 14px; color: #71818c; border-right: 1px solid var(--line); font-size: .82rem; }
.step:last-child { border-right: 0; }
.step span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #60727e; background: #e9eef1; font-size: .74rem; font-weight: 900; }
.step.is-current { color: var(--teal-700); background: var(--cyan-50); }
.step.is-current span { color: #fff; background: var(--teal-700); }
.step.is-complete { color: var(--navy-900); }
.step.is-complete span { color: var(--teal-700); background: var(--teal-100); }

.workspace {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.result-panel { display: grid; gap: 14px; }
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #f7fafb);
}
.section-heading h1, .section-heading h2 { margin: 0; color: var(--navy-900); line-height: 1.3; }
.section-heading h1 { font-size: 1.45rem; }
.section-heading h2 { font-size: 1.3rem; }
.section-heading p:not(.section-kicker):not(.ready-count) { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.section-kicker { margin: 0 0 3px; color: var(--teal-700); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.ready-count { margin: 4px 0 0; padding: 5px 10px; border-radius: 999px; color: var(--blue-700); background: var(--blue-100); font-size: .8rem; font-weight: 900; white-space: nowrap; }
.compact-heading { align-items: center; }

.upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 190px;
  margin: 26px;
  padding: 28px;
  border: 2px dashed #a9bbc5;
  border-radius: 16px;
  color: var(--navy-900);
  background: #f9fbfc;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.upload-dropzone:hover, .upload-dropzone.is-dragover { border-color: var(--teal-600); background: var(--cyan-50); transform: translateY(-1px); }
.upload-dropzone.is-busy { cursor: wait; opacity: .72; }
.upload-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; background: var(--teal-700); font-size: 1.8rem; font-weight: 400; }
.drop-copy strong, .drop-copy small { display: block; }
.drop-copy strong { font-size: 1.05rem; }
.drop-copy small { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.platform-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff; background: var(--navy-800); font-size: 1.05rem; font-weight: 950; }
.platform-mark.momo { background: #d44362; }
.platform-mark.pchome { background: #e9682d; }
.platform-mark.shopee { background: #e84d2e; }
.recognized-files { display: grid; gap: 9px; margin: 0 26px; }
.recognized-file { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #b9ded9; border-radius: 13px; background: var(--cyan-50); }
.recognized-copy { min-width: 0; }
.recognized-copy strong, .recognized-copy small { display: block; }
.recognized-copy strong { color: var(--navy-900); }
.recognized-copy small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.recognized-status { color: var(--teal-700); font-size: .76rem; font-weight: 900; }
.remove-file { padding: 6px 8px; border: 0; color: #687984; background: transparent; cursor: pointer; font-size: .76rem; font-weight: 800; }
.remove-file:hover { color: var(--rose-700); }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 26px 24px; }
.action-row p { margin: 0; color: var(--muted); font-size: .82rem; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.compact-actions { justify-content: flex-end; padding-top: 16px; }

.loading-panel { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 190px; padding: 30px; }
.loading-panel strong { color: var(--navy-900); }
.loading-panel p { margin: 2px 0 0; color: var(--muted); }
.spinner { width: 34px; height: 34px; border: 4px solid #d7e4e8; border-top-color: var(--teal-600); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.error-banner { margin-bottom: 14px; padding: 13px 16px; border: 1px solid #edb7c0; border-radius: 12px; color: var(--rose-700); background: var(--rose-100); font-weight: 800; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 14px; padding: 22px 26px 26px; }
.stat-card, .breakdown-card { min-height: 128px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.stat-card { display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; }
.stat-card span { color: var(--muted); font-size: .78rem; font-weight: 850; }
.stat-card strong { margin: 2px 0; color: var(--navy-900); font-size: 2rem; line-height: 1.2; }
.stat-card small { color: var(--muted); font-size: .75rem; }
.stat-card.warning { border-color: #e7ca88; background: #fffaf0; }
.stat-card.warning strong { color: var(--amber-700); }
.breakdown-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.breakdown-card div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.breakdown-card div:nth-child(even) { border-right: 0; }
.breakdown-card div:nth-last-child(-n+2) { border-bottom: 0; }
.breakdown-card span { color: var(--muted); font-size: .76rem; }
.breakdown-card strong { color: var(--navy-900); font-size: 1.12rem; }

.view-tabs { display: inline-flex; width: fit-content; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(7,28,43,.05); }
.view-tabs button { min-height: 38px; padding: 7px 14px; border: 0; border-radius: 8px; color: #50626f; background: transparent; cursor: pointer; font-size: .82rem; font-weight: 850; }
.view-tabs button.is-active { color: #fff; background: var(--teal-700); }
.workbench-tools { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.search-box { display: grid; gap: 5px; width: min(440px, 100%); }
.search-box span { color: #465965; font-size: .72rem; font-weight: 850; }
.search-box input { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #cfd9df; border-radius: 9px; color: var(--ink); background: #fff; }
.search-box input:focus { border-color: var(--teal-600); outline: 3px solid rgba(14,143,135,.13); }
.filter-row { display: flex; flex-wrap: wrap; gap: 7px; }
.quick-filter { min-height: 36px; padding: 7px 11px; border: 1px solid #cfd9df; border-radius: 8px; color: #425563; background: #fff; cursor: pointer; font-size: .76rem; font-weight: 800; }
.quick-filter:hover { border-color: #96b2c1; }
.quick-filter.active { border-color: var(--teal-700); color: #fff; background: var(--teal-700); }
.list-head, .order-row { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(260px,1.7fr) 140px 150px 112px; gap: 14px; align-items: center; }
.list-head { padding: 10px 18px; color: #516370; background: #f5f8fa; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 900; }
.order-row { min-height: 78px; padding: 12px 18px; border-bottom: 1px solid #e7ecef; }
.order-row:hover { background: #f6fbfb; }
.order-row:last-child { border-bottom: 0; }
.order-meta small, .order-meta strong, .order-content strong, .order-content small { display: block; }
.order-meta small { color: var(--muted); font-size: .7rem; font-weight: 800; }
.order-meta strong { color: var(--blue-700); font-size: .82rem; }
.order-content { min-width: 0; }
.order-content strong, .order-content small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-content strong { color: var(--navy-900); font-size: .84rem; }
.order-content small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.status { display: inline-flex; align-items: center; width: fit-content; gap: 6px; padding: 4px 9px; border-radius: 999px; color: var(--amber-700); background: var(--amber-100); font-size: .72rem; font-weight: 900; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.ready, .status.handled, .status.resolved { color: var(--teal-700); background: var(--teal-100); }
.status.excluded { color: var(--rose-700); background: var(--rose-100); }
.impact-tag { width: fit-content; padding: 4px 8px; border-radius: 7px; color: var(--muted); background: #eef3f5; font-size: .7rem; font-weight: 850; white-space: nowrap; }
.impact-tag.both { color: var(--rose-700); background: var(--rose-100); }
.impact-tag.erp { color: #6a4a98; background: #eee9ff; }
.impact-tag.logistics { color: var(--blue-700); background: var(--blue-100); }
.impact-tag.note { color: var(--amber-700); background: var(--amber-100); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); background: #fafcfd; }
.pagination span { min-width: 180px; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: center; }
.empty-state { padding: 42px 22px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--navy-900); }
.empty-state p { margin: 4px 0 0; }

.output-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 22px 24px; }
.output-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: center; min-height: 165px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.output-card h3 { margin: 0; color: var(--navy-900); font-size: .98rem; }
.output-card p { margin: 3px 0 0; color: #43545f; font-size: .84rem; }
.output-card small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.output-card .button { grid-column: 1 / -1; width: 100%; }
.file-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; color: #fff; background: var(--navy-800); font-size: .78rem; font-weight: 950; }
.file-icon.logistics { background: var(--teal-700); }
.file-icon.audit { background: #5b4b8a; }
.reconciliation-note { margin: 0 24px 24px; padding: 14px 16px; border: 1px solid #bedfdc; border-radius: 13px; background: var(--cyan-50); }
.reconciliation-note strong { color: var(--navy-900); font-size: .82rem; }
.reconciliation-note p { margin: 4px 0 0; color: #52616b; font-size: .78rem; }

.drawer { width: min(820px, calc(100% - 28px)); max-height: min(92vh, 960px); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 28px 90px rgba(5,22,34,.28); }
.drawer::backdrop { background: rgba(6,24,37,.62); backdrop-filter: blur(3px); }
.drawer-shell { display: flex; flex-direction: column; max-height: min(92vh, 960px); }
.drawer-header { display: flex; align-items: start; gap: 14px; padding: 21px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fbfdfd, #f5fafb); }
.drawer-header p { margin: 0; color: var(--teal-700); font-size: .76rem; font-weight: 900; }
.drawer-header h2 { margin: 2px 0 0; color: var(--navy-900); font-size: 1.35rem; }
.close-button { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: #fff; cursor: pointer; font-size: 1.2rem; }
.drawer-body { padding: 20px 22px 28px; overflow-y: auto; }
.current-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid #bedfdc; border-radius: 14px; background: #bedfdc; }
.current-summary div { padding: 13px 14px; background: var(--cyan-50); }
.current-summary span, .current-summary strong { display: block; }
.current-summary span { color: var(--muted); font-size: .72rem; font-weight: 800; }
.current-summary strong { margin-top: 3px; color: var(--navy-900); font-size: .86rem; }
.drawer-section { margin-top: 22px; }
.drawer-section > h3 { margin: 0 0 11px; color: var(--navy-900); font-size: 1rem; }
.line-card { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.line-card + .line-card { margin-top: 8px; }
.line-card p { margin: 0; color: #344550; font-size: .84rem; font-weight: 800; }
.line-card small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.muted-copy { margin: 0; color: var(--muted); font-size: .84rem; }
.decision-card { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.decision-card + .decision-card { margin-top: 12px; }
.decision-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.decision-head h3 { margin: 3px 0 0; color: var(--navy-900); font-size: .94rem; }
.record-type { color: var(--muted); font-size: .68rem; font-weight: 850; }
.decision-facts { display: flex; gap: 10px; margin-top: 11px; padding: 9px 11px; border-radius: 9px; background: #f5f8fa; font-size: .76rem; }
.decision-facts span { color: var(--muted); }
.message-box { margin-top: 12px; padding: 12px 13px; border: 1px solid #dfc9f4; border-radius: 11px; background: #f8f4ff; }
.message-box small { color: #6a4a98; font-size: .7rem; font-weight: 850; }
.message-box p { margin: 4px 0 0; color: #3f4e59; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.confirm-field { display: grid; gap: 5px; }
.confirm-field span { color: #41515d; font-size: .76rem; font-weight: 850; }
.confirm-field input { width: 100%; padding: 9px 10px; border: 1px solid #cbd6dc; border-radius: 9px; }
.confirm-field input:focus { border-color: var(--teal-600); outline: 3px solid rgba(14,143,135,.13); }
.radio-group { display: grid; gap: 8px; margin-top: 12px; }
.radio-option { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.radio-option strong, .radio-option small { display: block; }
.radio-option strong { color: var(--navy-900); font-size: .82rem; }
.radio-option small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.change-list { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.change-list div { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 9px 11px; border-bottom: 1px solid var(--line); font-size: .75rem; }
.change-list div:last-child { border-bottom: 0; }
.change-list span { color: var(--muted); }
.change-list del { color: var(--rose-700); }
.change-list strong { color: var(--teal-700); }
.followup-note { display: grid; gap: 5px; margin-top: 12px; }
.followup-note span { color: #41515d; font-size: .76rem; font-weight: 850; }
.followup-note textarea { width: 100%; resize: vertical; padding: 9px 10px; border: 1px solid #cbd6dc; border-radius: 9px; color: var(--ink); background: #fff; font: inherit; font-size: .82rem; }
.followup-note textarea:focus { border-color: var(--teal-600); outline: 3px solid rgba(14,143,135,.13); }
.resolution-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; color: var(--teal-700); background: var(--teal-100); font-size: .78rem; font-weight: 800; }
.decision-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.drawer-inline-error { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #edb7c0; border-radius: 10px; color: var(--rose-700); background: var(--rose-100); font-size: .82rem; font-weight: 800; }
.timeline { position: relative; display: grid; }
.timeline::before { content: ""; position: absolute; top: 9px; bottom: 18px; left: 8px; width: 2px; background: #cfe0e4; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 11px; padding-bottom: 16px; }
.timeline-dot { position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 6px; border: 3px solid #fff; border-radius: 50%; background: var(--teal-600); box-shadow: 0 0 0 2px #8fd0ca; }
.timeline-item > div { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; }
.timeline-item strong { color: var(--navy-900); font-size: .82rem; }
.timeline-item small { float: right; color: var(--muted); font-size: .7rem; }
.timeline-item p { margin: 5px 0 0; color: #52616b; font-size: .78rem; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: min(420px, calc(100% - 44px)); padding: 13px 16px; border-radius: 12px; color: #fff; background: var(--navy-900); box-shadow: 0 16px 40px rgba(7,28,43,.24); font-weight: 750; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .breakdown-card { grid-column: 1 / -1; }
  .workbench-tools { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .list-head { display: none; }
  .order-list { display: grid; gap: 8px; padding: 10px; background: #eef3f5; }
  .order-row { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .order-content { grid-column: 1 / -1; grid-row: 2; }
  .order-row .button { justify-self: end; }
  .output-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .app-header { position: static; padding: 11px 14px; }
  .brand small, .privacy-note { display: none; }
  .shell { width: min(100% - 20px, 680px); margin-top: 10px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { padding: 18px 16px 15px; }
  .section-heading { flex-direction: column; }
  .upload-dropzone { min-height: 160px; margin: 16px; padding: 22px 16px; }
  .recognized-files { margin: 0 16px; }
  .recognized-file { grid-template-columns: auto minmax(0,1fr) auto; }
  .recognized-status { display: none; }
  .action-row { align-items: stretch; flex-direction: column; padding: 18px 16px; }
  .action-buttons .button { flex: 1; }
  .summary-grid { grid-template-columns: 1fr; padding: 16px; }
  .breakdown-card { grid-column: auto; }
  .view-tabs { width: 100%; }
  .view-tabs button { flex: 1; }
  .workbench-tools { padding: 14px 16px; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row .status { justify-self: end; }
  .order-row .impact-tag { align-self: center; }
  .pagination span { min-width: 0; }
  .output-grid { padding: 16px; }
  .reconciliation-note { margin: 0 16px 16px; }
  .current-summary { grid-template-columns: 1fr; }
  .confirm-grid { grid-template-columns: 1fr; }
  .decision-actions { align-items: stretch; flex-direction: column; }
  .drawer-body { padding: 16px; }
  .timeline-item small { float: none; display: block; margin-top: 2px; }
}
