/* Prototype only. Uses FDS tokens; would become public/css/commerce.css. */
* { box-sizing: border-box; }
body { font-variant-numeric: tabular-nums; }
.proto-bar { background: var(--fds-amber-50); border-bottom: 1px solid var(--fds-border); font-size: 13px; }
.proto-bar-in { max-width: 1320px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.proto-note { color: var(--fds-text-secondary); margin-inline-end: auto; }
.proto-seg button { min-height: 32px; padding: 0 12px; font-size: 13px; cursor: pointer; }

.cx-top { height: 60px; display: flex; align-items: center; gap: 32px; padding: 0 24px; background: var(--fds-bg-panel); border-bottom: 1px solid var(--fds-border); position: sticky; top: 0; z-index: 20; }
.cx-brand { font-weight: 650; color: var(--fds-text-primary); text-decoration: none; white-space: nowrap; }
.cx-brand img { display: block; width: 140px; height: auto; }
.cx-nav { display: flex; gap: 4px; height: 100%; }
.cx-nav a { display: flex; align-items: center; padding: 0 12px; color: var(--fds-text-secondary); text-decoration: none; font-size: 14px; border-bottom: 2px solid transparent; }
.cx-nav a[aria-current] { color: var(--fds-text-primary); border-color: var(--fds-text-primary); font-weight: 600; }
.cx-top-tools { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.cx-lang { height: 34px; font-size: 13px; }
.cx-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--fds-gray-800); color: #fff; display: grid; place-items: center; font-size: 13px; }

.cx-main { max-width: 1320px; margin: 0 auto; padding: 20px 24px 80px; }
.cx-crumb { font-size: 13px; color: var(--fds-text-muted); margin-bottom: 8px; }
.cx-crumb a { color: var(--fds-text-secondary); text-decoration: none; }
.cx-title { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; font-size: 24px; line-height: 1.3; }
.cx-meta { margin: 6px 0 0; color: var(--fds-text-secondary); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 16px; }

.cx-steps { display: flex; margin: 20px 0 24px; padding: 0; list-style: none; background: var(--fds-bg-panel); border: 1px solid var(--fds-border); border-radius: var(--fds-radius-lg); overflow: hidden; }
.cx-steps li { flex: 1; padding: 12px 14px; font-size: 13px; color: var(--fds-text-muted); position: relative; display: flex; gap: 8px; align-items: center; min-width: 0; }
.cx-steps li + li { border-inline-start: 1px solid var(--fds-border); }
.cx-steps .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--fds-border-strong); display: grid; place-items: center; font-size: 11px; }
.cx-steps .done { color: var(--fds-text-secondary); }
.cx-steps .done .dot { background: var(--fds-green-700); border-color: var(--fds-green-700); color: #fff; }
.cx-steps .now { color: var(--fds-text-primary); font-weight: 600; background: var(--fds-blue-50); }
.cx-steps .now .dot { border-color: var(--fds-blue-600); color: var(--fds-blue-600); }
.cx-steps .now::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--fds-blue-600); }

.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cx-col { display: grid; gap: 16px; min-width: 0; }
.cx-rail { position: sticky; top: 76px; display: grid; gap: 16px; }

.cx-card { background: var(--fds-bg-panel); border: 1px solid var(--fds-border); border-radius: var(--fds-radius-lg); min-width: 0; }
.cx-card-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--fds-border); }
.cx-card-head h2 { margin: 0; font-size: 16px; }
.cx-card-head .sub { color: var(--fds-text-muted); font-size: 13px; }
.cx-card-head .tools { margin-inline-start: auto; display: flex; gap: 6px; }
.cx-card-body { padding: 16px 20px; }
.cx-card .fds-btn { height: 36px; }
.cx-btn-sm { height: 32px !important; padding: 0 10px; font-size: 13px; }

.cx-banner { display: flex; gap: 12px; align-items: center; padding: 10px 20px; background: var(--fds-blue-50); color: var(--fds-gray-800); font-size: 13px; border-bottom: 1px solid var(--fds-border); }
.cx-banner button { margin-inline-start: auto; }
.cx-banner.warn { background: var(--fds-amber-50); }

/* Quote document table */
.cx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cx-table th { text-align: start; font-size: 12px; font-weight: 550; color: var(--fds-text-muted); padding: 10px 12px; border-bottom: 1px solid var(--fds-border); background: var(--fds-gray-25); white-space: nowrap; }
.cx-table td { padding: 12px; border-bottom: 1px solid var(--fds-border); vertical-align: top; }
.cx-table .num { text-align: end; white-space: nowrap; }
.cx-table tr.grp td { background: var(--fds-gray-50); font-weight: 600; font-size: 13px; padding: 8px 12px; }
.cx-table tr.grp .num { color: var(--fds-text-secondary); font-weight: 550; }
.cx-table tr.is-off td { color: var(--fds-text-muted); }
.cx-table tr.is-off .amt { text-decoration: line-through; }
.cx-table tr:hover td { background: var(--fds-gray-25); }
.cx-table tr.grp:hover td { background: var(--fds-gray-50); }
.cx-table tr.hl td { background: var(--fds-blue-50) !important; }
.cx-item { font-weight: 550; }
.cx-spec { color: var(--fds-text-secondary); font-size: 12px; margin-top: 2px; }
.cx-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--fds-radius-pill); font-size: 11px; font-weight: 550; margin-inline-start: 6px; vertical-align: 1px; }
.cx-tag.neutral { background: var(--fds-gray-100); color: var(--fds-gray-700); }
.cx-tag.info { background: var(--fds-blue-50); color: var(--fds-blue-600); }
.cx-tag.warn { background: var(--fds-amber-50); color: var(--fds-amber-700); }
.cx-tag.ok { background: var(--fds-green-50); color: var(--fds-green-700); }
.cx-tag.bad { background: var(--fds-red-50); color: var(--fds-red-700); }

.cx-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fds-text-secondary); cursor: pointer; margin-top: 6px; }
.cx-switch input[type=checkbox] { appearance: none; width: 32px; height: 18px; flex: none; border-radius: 9px; background: var(--fds-gray-300); position: relative; cursor: pointer; margin: 0; transition: background var(--fds-fast); }
.cx-switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left var(--fds-fast); }
.cx-switch input:checked { background: var(--fds-blue-600); }
.cx-switch input:checked::after { left: 16px; }

.cx-totals { margin-inline-start: auto; width: min(360px, 100%); padding: 16px 20px; display: grid; gap: 6px; font-size: 14px; }
.cx-totals div { display: flex; justify-content: space-between; gap: 16px; }
.cx-totals .grand { border-top: 1px solid var(--fds-border); padding-top: 10px; margin-top: 4px; font-size: 18px; font-weight: 650; }
.cx-totals .muted { color: var(--fds-text-secondary); }

.cx-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cx-terms h3 { font-size: 13px; margin: 0 0 6px; }
.cx-terms p { margin: 0; font-size: 14px; color: var(--fds-gray-700); white-space: pre-wrap; line-height: 1.7; }
.cx-fine { font-size: 12px; color: var(--fds-text-muted); line-height: 1.6; margin: 12px 0 0; }

/* Plan */
.cx-plan { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; align-items: start; }
.cx-plan svg { width: 100%; height: 340px; background: var(--fds-gray-25); border: 1px solid var(--fds-border); border-radius: var(--fds-radius-md); }
.cx-plan .room { fill: #fff; stroke: var(--fds-gray-400); stroke-width: 30; }
.cx-plan .obj { fill: var(--fds-gray-100); stroke: var(--fds-gray-700); stroke-width: 18; transition: fill var(--fds-fast); }
.cx-plan .obj.opt { stroke-dasharray: 60 40; }
.cx-plan .obj.off { fill: none; stroke: var(--fds-gray-300); }
.cx-plan .obj.cust { fill: var(--fds-gray-200); stroke: var(--fds-gray-400); }
.cx-plan .obj.hl { fill: #bfdbfe; stroke: var(--fds-blue-600); }
.cx-plan text { font-size: 320px; fill: var(--fds-gray-700); font-weight: 600; }
.cx-plan .door { stroke: var(--fds-blue-600); stroke-width: 50; }
.cx-legend { display: grid; gap: 8px; font-size: 12px; color: var(--fds-text-secondary); margin: 0; padding: 0; list-style: none; }
.cx-legend i { display: inline-block; width: 18px; height: 12px; margin-inline-end: 8px; vertical-align: -1px; border: 1.5px solid var(--fds-gray-700); background: var(--fds-gray-100); }
.cx-legend .opt { border-style: dashed; }
.cx-legend .cust { background: var(--fds-gray-200); border-color: var(--fds-gray-400); }
.cx-legend .door { background: var(--fds-blue-600); border-color: var(--fds-blue-600); height: 4px; }

details.cx-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-weight: 600; font-size: 15px; }
details.cx-fold > summary::-webkit-details-marker { display: none; }
details.cx-fold > summary::before { content: '▸'; color: var(--fds-text-muted); transition: transform var(--fds-fast); }
details.cx-fold[open] > summary::before { transform: rotate(90deg); }
details.cx-fold > summary .sub { font-weight: 400; color: var(--fds-text-muted); font-size: 13px; }
details.cx-fold[open] > summary { border-bottom: 1px solid var(--fds-border); }

.cx-versions { display: grid; gap: 0; }
.cx-ver { display: flex; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--fds-border); font-size: 14px; }
.cx-ver:last-child { border: 0; }
.cx-ver .when { color: var(--fds-text-muted); font-size: 13px; }
.cx-ver .amt { margin-inline-start: auto; font-weight: 600; }
.cx-diff { width: 100%; border-collapse: collapse; font-size: 13px; }
.cx-diff td, .cx-diff th { padding: 8px 20px; border-bottom: 1px solid var(--fds-border); text-align: start; }
.cx-diff th { font-size: 12px; color: var(--fds-text-muted); font-weight: 550; }
.cx-diff .old { color: var(--fds-text-muted); text-decoration: line-through; }
.cx-diff .down { color: var(--fds-green-700); font-weight: 600; }
.cx-diff .up { color: var(--fds-red-700); font-weight: 600; }

.cx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 0; }
.cx-facts dt { font-size: 12px; color: var(--fds-text-muted); }
.cx-facts dd { margin: 2px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.cx-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--fds-text-secondary); }

.cx-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cx-timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 14px; }
.cx-timeline .av { width: 28px; height: 28px; border-radius: 50%; background: var(--fds-gray-100); display: grid; place-items: center; font-size: 12px; color: var(--fds-gray-700); }
.cx-timeline .when { color: var(--fds-text-muted); font-size: 12px; }
.cx-comment { display: flex; gap: 8px; margin-top: 16px; }
.cx-comment textarea { flex: 1; min-height: 40px; height: 40px; resize: vertical; padding: 9px 12px; border: 1px solid var(--fds-border-strong); border-radius: var(--fds-radius-md); font: inherit; font-size: 14px; }

/* Rail */
.cx-sum { padding: 20px; }
.cx-sum .label { font-size: 13px; color: var(--fds-text-secondary); }
.cx-sum .big { font-size: 30px; font-weight: 700; letter-spacing: -.01em; margin: 2px 0 4px; }
.cx-sum .note { font-size: 13px; color: var(--fds-text-secondary); }
.cx-sum .rows { display: grid; gap: 6px; margin: 14px 0; padding: 14px 0; border-block: 1px solid var(--fds-border); font-size: 13px; }
.cx-sum .rows div { display: flex; justify-content: space-between; gap: 12px; }
.cx-sum .rows .muted { color: var(--fds-text-secondary); }
.cx-sum .pay { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.cx-countdown { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: var(--fds-radius-md); background: var(--fds-gray-50); margin-top: 14px; }
.cx-countdown.warn { background: var(--fds-amber-50); color: var(--fds-amber-700); }
.cx-countdown.bad { background: var(--fds-red-50); color: var(--fds-red-700); }
.cx-ack { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--fds-gray-700); margin: 16px 0 12px; cursor: pointer; }
.cx-ack input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.cx-wide { width: 100%; height: 44px !important; font-size: 15px; }
.cx-linkbtn { border: 0; background: none; color: var(--fds-text-secondary); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 0; width: 100%; }
.cx-reject { display: grid; gap: 8px; margin-top: 4px; }
.cx-reject textarea { min-height: 80px; padding: 10px; border: 1px solid var(--fds-border-strong); border-radius: var(--fds-radius-md); font: inherit; font-size: 14px; }
.cx-danger { color: var(--fds-red-700) !important; border-color: #f3c3bd !important; }
.cx-progress { height: 8px; background: var(--fds-gray-100); border-radius: 4px; overflow: hidden; margin: 8px 0 6px; }
.cx-progress span { display: block; height: 100%; background: var(--fds-green-700); }
.cx-contact { display: flex; gap: 12px; align-items: center; padding: 14px 20px; font-size: 13px; }
.cx-contact .cx-avatar { background: var(--fds-gray-100); color: var(--fds-gray-700); }
.cx-contact .who { flex: 1; }
.cx-contact .who span { display: block; color: var(--fds-text-muted); font-size: 12px; }

/* Editor */
.cx-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.cx-field { display: grid; gap: 6px; font-size: 13px; min-width: 0; }
.cx-field > span { color: var(--fds-text-secondary); }
.cx-field small { color: var(--fds-text-muted); font-size: 12px; }
.cx-field .fds-input, .cx-field .fds-select { height: 38px; font-size: 14px; }
.cx-field textarea { min-height: 72px; padding: 8px 10px; border: 1px solid var(--fds-border-strong); border-radius: var(--fds-radius-md); font: inherit; font-size: 14px; resize: vertical; }
.cx-span2 { grid-column: span 2; }
.cx-span3 { grid-column: 1 / -1; }
.cx-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px; border-bottom: 1px solid var(--fds-border); }
.cx-chip { height: 30px; padding: 0 12px; border-radius: var(--fds-radius-pill); border: 1px solid var(--fds-border-strong); background: #fff; font-size: 13px; cursor: pointer; }
.cx-chip.is-on { background: var(--fds-gray-900); border-color: var(--fds-gray-900); color: #fff; }
.cx-chip b { font-weight: 600; margin-inline-start: 4px; }
.cx-chip.warn:not(.is-on) b { color: var(--fds-amber-700); }
.cx-bulk { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 20px; background: var(--fds-gray-900); color: #fff; font-size: 13px; }
.cx-bulk .fds-btn { height: 30px !important; font-size: 12px; padding: 0 10px; background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.cx-bulk .fds-btn:hover { background: rgba(255,255,255,.18); }
.cx-bulk .count { margin-inline-end: 8px; font-weight: 600; }
.cx-bulk .close { margin-inline-start: auto; }
.cx-etable td { padding: 8px 10px; vertical-align: middle; }
.cx-etable th { padding: 8px 10px; }
.cx-etable .chk { width: 36px; text-align: center; }
.cx-etable input[type=checkbox] { width: 16px; height: 16px; }
.cx-etable .fds-select, .cx-etable .fds-input { height: 34px; font-size: 13px; padding: 0 8px; }
.cx-etable .w-disp { width: 128px; }
.cx-etable .w-price { width: 128px; }
.cx-etable .fds-input.num { text-align: end; }
.cx-etable .w-state { width: 92px; }
.cx-etable .w-exp { width: 40px; }
.cx-exp { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; cursor: pointer; color: var(--fds-text-secondary); font-size: 14px; }
.cx-exp:hover { background: var(--fds-bg-muted); }
.cx-etable tr.open > td { background: var(--fds-gray-25); border-bottom-color: transparent; }
.cx-etable tr.detail > td { background: var(--fds-gray-25); padding: 4px 12px 16px 46px; }
.cx-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 16px; }
.cx-detail .src { grid-column: 1 / -1; font-size: 12px; }
.cx-detail .src pre { margin: 6px 0 0; padding: 10px; background: #fff; border: 1px solid var(--fds-border); border-radius: 6px; max-height: 140px; overflow: auto; }
.cx-internal { border-inline-start: 3px solid var(--fds-amber-700); padding-inline-start: 10px; }
.cx-lock { font-size: 11px; color: var(--fds-amber-700); font-weight: 600; }
.cx-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.cx-check li { display: flex; gap: 8px; align-items: center; }
.cx-check .i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; flex: none; }
.cx-check .ok .i { background: var(--fds-green-50); color: var(--fds-green-700); }
.cx-check .no .i { background: var(--fds-amber-50); color: var(--fds-amber-700); }
.cx-check .no button { margin-inline-start: auto; border: 0; background: none; color: var(--fds-blue-600); font-size: 12px; cursor: pointer; padding: 0; }
.cx-save { font-size: 12px; color: var(--fds-text-muted); text-align: center; margin-top: 8px; }
.cx-save.dirty { color: var(--fds-amber-700); }
.cx-margin { font-size: 12px; color: var(--fds-text-secondary); display: flex; justify-content: space-between; }
.cx-addrow { padding: 10px 20px; }

/* Mobile */
.cx-mobilebar { position: fixed; inset: auto 0 0 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--fds-border); box-shadow: 0 -8px 24px rgba(17,24,39,.08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; }
.cx-mobilebar .t { flex: 1; min-width: 0; font-size: 12px; color: var(--fds-text-secondary); }
.cx-mobilebar .t b { display: block; font-size: 18px; color: var(--fds-text-primary); }
.cx-mobilebar .fds-btn { height: 44px; }
.cx-sheet-backdrop { position: fixed; inset: 0; background: rgba(17,24,39,.35); z-index: 40; }
.cx-sheet { position: fixed; inset: auto 0 0 0; z-index: 41; max-height: 86vh; overflow: auto; background: #fff; border-radius: 16px 16px 0 0; box-shadow: var(--fds-shadow-3); padding-bottom: env(safe-area-inset-bottom); }
.cx-sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--fds-gray-300); margin: 10px auto 0; }

@media (max-width: 1080px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .cx-steps li .lbl-long { display: none; }
}
@media (max-width: 860px) {
  .cx-layout { grid-template-columns: 1fr; }
  .cx-rail { display: none; }
  .cx-mobilebar[hidden] { display: none; }
  .cx-main { padding-bottom: 120px; }
  .cx-steps { overflow-x: auto; }
  .cx-steps li { flex: none; }
  .cx-steps li:not(.now) .lbl { display: none; }
  .cx-form-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .cx-mobilebar { display: none !important; } }
@media (max-width: 600px) {
  .proto-bar-in { padding: 8px 16px; }
  .proto-seg { width: 100%; }
  .cx-top { padding: 0 16px; gap: 12px; }
  .cx-nav { display: none; }
  .cx-main { padding: 16px 16px 120px; }
  .cx-title { font-size: 20px; }
  .cx-card-head, .cx-card-body { padding: 14px 16px; }
  .cx-card-head .tools { margin-inline-start: 0; width: 100%; }
  .cx-banner { padding: 10px 16px; flex-wrap: wrap; }
  .cx-banner button { margin-inline-start: 0; }
  .cx-terms, .cx-plan, .cx-detail { grid-template-columns: 1fr; }
  .cx-facts { grid-template-columns: 1fr 1fr; }
  .cx-form-grid { grid-template-columns: 1fr; }
  .cx-span2 { grid-column: auto; }
  .cx-plan svg { height: 220px; }
  .cx-totals { width: 100%; padding: 14px 16px; }
  /* Quote document rows become stacked cards */
  .cx-table thead { display: none; }
  .cx-table, .cx-table tbody, .cx-table tr, .cx-table td { display: block; width: 100%; }
  .cx-table tr:not(.grp):not(.detail) { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--fds-border); }
  .cx-table tr:not(.grp):not(.detail) td { padding: 0; border: 0; background: none !important; }
  .cx-table tr.grp td { display: flex; justify-content: space-between; padding: 8px 16px; }
  .cx-table td.c-item { grid-column: 1; }
  .cx-table td.c-amt { grid-column: 2; grid-row: 1; }
  .cx-table td.c-qty, .cx-table td.c-unit { grid-column: 1; font-size: 12px; color: var(--fds-text-secondary); text-align: start; }
  .cx-table td.c-qty::before { content: '数量 '; }
  .cx-table td.c-unit::before { content: '单价 '; }
  .cx-table td.c-spec { grid-column: 1 / -1; }
  .cx-table tr.grp { display: flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--fds-gray-50); border-bottom: 1px solid var(--fds-border); }
  .cx-table tr.grp td { display: inline; width: auto; padding: 0; border: 0; background: none !important; }
  .cx-table tr.grp td:empty { display: none; }
  .cx-table tr.grp td.num { margin-inline-start: auto; }
  /* Editor rows */
  .cx-etable tr:not(.grp):not(.detail) { grid-template-columns: 28px 1fr auto; align-items: center; }
  .cx-etable td.chk { grid-column: 1; grid-row: 1; text-align: start; width: auto; }
  .cx-etable td.c-item { grid-column: 2; grid-row: 1; }
  .cx-etable td.c-state { grid-column: 3; grid-row: 1; }
  .cx-etable td.c-disp { grid-column: 2 / -1; grid-row: 2; margin-top: 8px; }
  .cx-etable td.c-qty { grid-column: 2 / -1; grid-row: 3; margin-top: 6px; }
  .cx-etable td.c-price { grid-column: 2 / -1; grid-row: 4; }
  .cx-etable td.c-amt { grid-column: 2; grid-row: 5; font-weight: 600; text-align: start; margin-top: 6px; }
  .cx-etable td.c-exp { grid-column: 3; grid-row: 5; width: auto; }
  .cx-etable .w-disp, .cx-etable .w-price { width: 100%; }
  .cx-etable tr.detail > td { padding: 4px 16px 16px; }
  .cx-bulk { padding: 10px 16px; }
  .cx-filters { padding: 10px 16px; overflow-x: auto; flex-wrap: nowrap; }
  .cx-chip { flex: none; }
}
