/* The pipeline owns the scroll area on desktop and Shopify Admin mobile. */
#pipeline-view-toggle, #pipeline-view-popover, .pipeline-filter-check { display: none; }
body[data-order-source="shopify"] .pipeline { container: pipeline-header / inline-size; }
body[data-order-source="shopify"] .pipeline .panel-header {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center; gap: 8px; min-height: 64px; padding: 8px 12px;
  flex: 0 0 auto; border-bottom: 1px solid #E2E8F0;
}
body[data-order-source="shopify"] .pipeline .panel-title { grid-column: 1; margin: 0; font-size: 1rem; white-space: nowrap; }
body[data-order-source="shopify"] .pipeline #pipeline-count { grid-column: 2; grid-row: 1; position: static; order: initial; margin: 0; min-width: 0; padding: 0; border-radius: 0; background: transparent; color: #64748B; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
body[data-order-source="shopify"] .pipeline #mobile-selection-toggle { grid-column: 3; grid-row: 1; justify-self: end; min-height: 44px; }
body[data-order-source="shopify"] #pipeline-view-tabs { grid-column: 4; grid-row: 1; }
body[data-order-source="shopify"] .pipeline #pipeline-view-toggle { grid-column: 5; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; position: static; margin: 0; min-width: 58px; min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #334155; font: inherit; font-size: .78rem; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: none; }
body[data-order-source="shopify"] .pipeline #pipeline-view-toggle:hover,
body[data-order-source="shopify"] .pipeline #pipeline-view-toggle[aria-expanded="true"] { background: #F1F5F9; }
.pipeline-view-indicator { display: none; width: 5px; height: 5px; border-radius: 50%; background: #1A73E8; }
#pipeline-view-toggle[data-modified="true"] .pipeline-view-indicator { display: block; }
#pipeline-view-popover { position: fixed; inset: auto; z-index: 2000; box-sizing: border-box; margin: 0; width: min(300px, calc(100vw - 24px)); padding: 12px; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 12px; background: #FFF; color: #334155; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); font: .875rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body[data-order-source="shopify"] #pipeline-view-popover:popover-open { display: block; }
body[data-order-source="shopify"] #pipeline-view-popover.is-open { display: block; }
.pipeline-view-popover-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
#pipeline-view-popover-title { margin: 0; color: #0F172A; font-size: .875rem; font-weight: 600; }
#pipeline-view-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #334155; cursor: pointer; }
body[data-order-source="shopify"] #pipeline-view-popover #dashboard-triage-toolbar { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; border: 0; background: transparent; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-filter-group { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 0; overflow: visible; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-filter { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #334155; font: inherit; font-weight: 500; text-align: left; cursor: pointer; transition: none; transform: none; box-shadow: none; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-filter:hover,
#pipeline-view-close:hover, #pipeline-view-reset:hover { background: #F8FAFC; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-filter.active { background: #EFF6FF; color: #1765C1; font-weight: 600; }
#pipeline-view-popover .pipeline-filter-check { display: block; flex: 0 0 16px; width: 16px; height: 16px; visibility: hidden; }
#pipeline-view-popover .active .pipeline-filter-check { visibility: visible; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-filter span { min-width: 0; margin-left: auto; padding: 0; border-radius: 0; background: transparent; color: #64748B; font-size: .78rem; font-variant-numeric: tabular-nums; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-sort-control { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; color: #334155; font-size: .78rem; font-weight: 600; }
body[data-order-source="shopify"] #pipeline-view-popover .dashboard-sort-control select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFF; color: #334155; font: inherit; font-size: .875rem; }
#pipeline-view-reset { width: 100%; min-height: 44px; margin-top: 12px; padding: 8px; border: 0; border-top: 1px solid #E2E8F0; border-radius: 0; background: transparent; color: #1765C1; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
#pipeline-view-popover :focus-visible, #pipeline-view-toggle:focus-visible { outline: 2px solid #1A73E8; outline-offset: 2px; }
#pipeline-view-popover select { accent-color: #1A73E8; }
@container pipeline-header (max-width: 490px) {
  body[data-order-source="shopify"] .pipeline .panel-header { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0 8px; padding-top: 6px; padding-bottom: 6px; }
  body[data-order-source="shopify"] .pipeline #mobile-selection-toggle { grid-column: 4; }
  body[data-order-source="shopify"] #pipeline-view-tabs { grid-column: 1 / 4; grid-row: 2; }
  body[data-order-source="shopify"] .pipeline #pipeline-view-toggle { grid-column: 4; grid-row: 2; }
}
@media (max-width: 900px) {
  body[data-order-source="shopify"] .pipeline .panel-header { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 0 8px; padding: 6px 12px; }
  body[data-order-source="shopify"] .pipeline .panel-title { min-height: 44px; display: flex; align-items: center; }
  body[data-order-source="shopify"] .pipeline #mobile-selection-toggle { grid-column: 4; }
  body[data-order-source="shopify"] #pipeline-view-tabs { grid-column: 1 / 4; grid-row: 2; }
  body[data-order-source="shopify"] .pipeline #pipeline-view-toggle { grid-column: 4; grid-row: 2; }
}
#pipeline-view-tabs { display: none; }
body[data-order-source="shopify"] #pipeline-view-tabs { display: flex; align-items: center; gap: 4px; padding: 0; }
body[data-order-source="shopify"] #pipeline-view-tabs button { flex: 0 0 auto; position: relative; min-height: 44px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #334155; font: inherit; font-size: .78rem; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: none; }
body[data-order-source="shopify"] #pipeline-view-tabs button:hover { background: #F8FAFC; }
body[data-order-source="shopify"] #pipeline-view-tabs button[aria-selected="true"] { color: #1765C1; }
body[data-order-source="shopify"] #pipeline-view-tabs button[aria-selected="true"]::after { content: ""; position: absolute; bottom: 2px; left: 8px; right: 8px; height: 2px; border-radius: 2px; background: #1A73E8; }
body[data-order-source="shopify"][data-pipeline-view="drafts"] .pipeline #col-received,
body[data-order-source="shopify"][data-pipeline-view="drafts"] #dashboard-triage-toolbar,
body[data-order-source="shopify"][data-pipeline-view="drafts"] #pipeline-view-toggle,
body[data-order-source="shopify"][data-pipeline-view="drafts"] #pipeline-count,
body[data-order-source="shopify"][data-pipeline-view="drafts"] #mobile-selection-toggle,
body[data-order-source="shopify"][data-pipeline-view="drafts"] #pipeline-selection-shell { display: none !important; }
#draft-orders-workspace { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 16px 12px; color: #334155; font-size: .95rem; }
#draft-orders-workspace[hidden], #draft-orders-workspace [hidden] { display: none !important; }
#draft-orders-workspace button, #draft-orders-workspace select, #draft-orders-workspace input:not([type="checkbox"]), .draft-shopify-link {
  min-height: 44px; max-width: 100%; border: 1px solid #CBD5E1; border-radius: 10px; padding: 8px 12px; background: #FFF; color: #334155; font: inherit; }
#draft-orders-workspace button, .draft-shopify-link { cursor: pointer; }
#draft-orders-workspace button:hover, .draft-shopify-link:hover { background: #F8FAFC; }
#draft-orders-workspace button:disabled { opacity: .6; cursor: wait; }
#draft-orders-workspace :focus-visible, #pipeline-view-tabs :focus-visible { outline: 2px solid #1A73E8; outline-offset: 2px; }
.draft-browse-controls { display: grid; gap: 8px; margin-bottom: 16px; }
#draft-orders-search { position: relative; min-width: 0; }
#draft-orders-workspace #draft-orders-search-input { box-sizing: border-box; width: 100%; min-width: 0; padding-right: 48px; font-size: .875rem; }
#draft-orders-workspace #draft-orders-search button { position: absolute; inset: 0 0 0 auto; display: grid; place-items: center; width: 44px; padding: 0; border: 0; background: transparent; }
.draft-browse-meta { display: flex; gap: 8px; align-items: center; min-width: 0; }
#draft-orders-workspace #draft-orders-filter { min-width: 0; max-width: calc(100% - 112px); font-size: .8125rem; padding: 8px; }
#draft-orders-count { margin-left: auto; color: #64748B; font-size: .75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
#draft-orders-workspace #draft-orders-refresh { display: grid; place-items: center; flex: 0 0 44px; width: 44px; padding: 0; border-color: transparent; background: transparent; }
#draft-orders-workspace #draft-orders-refresh:hover { background: #F1F5F9; }
#draft-orders-status { margin: 0 0 12px; font-size: .875rem; line-height: 1.5; }
#draft-orders-status:empty { display: none; }
#draft-orders-workspace[data-detail="true"] #draft-orders-search,
#draft-orders-workspace[data-detail="true"] #draft-orders-filter,
#draft-orders-workspace[data-detail="true"] #draft-orders-count { display: none; }
#draft-orders-workspace[data-detail="true"] .draft-browse-meta { justify-content: flex-end; }
.draft-error { color: #B42318; }
#draft-orders-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; container: draft-list / inline-size; }
#draft-orders-browse { container: draft-browse / inline-size; }
@container draft-browse (max-width: 451px) { #draft-orders-list { grid-template-columns: minmax(0, 1fr); } }
#draft-orders-workspace .draft-order-card { box-sizing: border-box; text-align: left; padding: 12px; border-radius: 8px; border-color: #E2E8F0; min-width: 0; display: flex; flex-direction: column; gap: 10px; line-height: 1.4; }
#draft-orders-workspace .draft-order-card:hover { border-color: #A8C5EC; background: #FFF; }
.draft-card-heading, .draft-card-footer { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.draft-card-heading strong { color: #0F172A; font-size: .875rem; font-variant-numeric: tabular-nums; }
.draft-state { font-size: .78rem; font-weight: 600; }
.draft-card-heading .draft-state { color: #64748B; font-size: .6875rem; font-weight: 500; margin-left: auto; text-align: right; }
.draft-card-customer { color: #0F172A; font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.draft-card-media { position: relative; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #F8FAFC; border-radius: 6px; font-size: .75rem; color: #64748B; overflow: hidden; }
.draft-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.draft-card-media img:not([src]) { visibility: hidden; }
.draft-card-footer { font-size: .8125rem; align-items: baseline; }
.draft-card-total { font-weight: 600; color: #0F172A; white-space: nowrap; font-variant-numeric: tabular-nums; margin-left: auto; }
.draft-card-artwork, .draft-card-updated { color: #64748B; font-size: .75rem; }
.draft-card-no-mockup { color: #64748B; font-size: .75rem; }
.draft-card-sync { color: #92400E; font-size: .75rem; }
.draft-card-skeleton { box-sizing: border-box; min-height: 172px; border: 1px solid #E2E8F0; border-radius: 8px; padding: 12px; display: grid; gap: 16px; }
.draft-card-skeleton span { height: 12px; width: 70%; background: #F1F5F9; border-radius: 3px; }
.draft-card-skeleton span:first-child { width: 35%; }
.draft-card-skeleton span:last-child { width: 50%; }
#draft-orders-load-more { width: 100%; margin-top: 12px; }
/* Focused draft preparation inherits the Order Detail workbench. */
#draft-detail-dialog {
  box-sizing: border-box; width: min(1200px, calc(100vw - 40px)); height: min(92dvh, 960px);
  max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 16px;
  background: #FFFFFF; color: #334155; box-shadow: 0 18px 44px rgba(15, 23, 42, .28);
  font: .95rem/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}
#draft-detail-dialog::backdrop { background: rgba(15, 23, 42, .64); }
#draft-orders-detail { display: flex; flex-direction: column; height: 100%; min-height: 0; }
#draft-orders-detail[hidden], #draft-orders-detail [hidden] { display: none !important; }
#draft-orders-detail button, #draft-orders-detail select, #draft-orders-detail .draft-shopify-link {
  box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 8px 12px;
  border: 1px solid #CBD5E1; border-radius: 10px; background: #FFFFFF; color: #334155;
  font: inherit; cursor: pointer; box-shadow: none;
}
#draft-orders-detail button:hover, #draft-orders-detail .draft-shopify-link:hover { background: #F1F5F9; }
#draft-orders-detail button:disabled, #draft-orders-detail select:disabled { opacity: .6; cursor: wait; }
#draft-orders-detail :focus-visible, .draft-file-popover :focus-visible { outline: 2px solid #1A73E8; outline-offset: 2px; }
#draft-orders-detail .draft-primary { background: #1A73E8; border-color: #1A73E8; color: #FFFFFF; font-weight: 600; }
#draft-orders-detail .draft-primary:hover { background: #1765C1; }
.draft-detail-header {
  display: flex; align-items: center; gap: 16px; flex: 0 0 auto; padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0; background: #F8FAFC; min-width: 0;
}
.draft-detail-identity { flex: 1; min-width: 0; }
.draft-detail-title { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: #0F172A; overflow-wrap: anywhere; }
.draft-detail-summary { margin: 5px 0 0; font-size: .8125rem; line-height: 1.5; color: #64748B; }
#draft-orders-detail .draft-back, #draft-orders-detail .draft-detail-refresh { flex: 0 0 auto; border-color: transparent; background: transparent; }
#draft-orders-detail .draft-detail-refresh { width: 44px; padding: 8px; font-size: 1.25rem; }
#draft-orders-detail .draft-shopify-link { display: inline-flex; align-items: center; border-color: transparent; background: transparent; text-decoration: none; white-space: nowrap; font-size: .8125rem; }
.draft-detail-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 24px; }
.draft-detail-feedback { margin: 0 0 16px; line-height: 1.5; }
.draft-detail-feedback:empty { display: none; }
.draft-notice { margin: 0 0 20px; padding: 12px 16px; background: #F8FAFC; border-radius: 8px; line-height: 1.5; }
.draft-artwork-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.draft-artwork-toolbar h3 { margin: 0; font-size: 1.2rem; color: #0F172A; }
.draft-artwork-count { font-size: .8125rem; color: #64748B; font-variant-numeric: tabular-nums; }
.draft-intake-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.draft-artwork-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 32px; align-items: start; border-radius: 8px; }
.draft-artwork-layout.is-dropping { outline: 2px dashed #1A73E8; outline-offset: 8px; background: #EFF6FF; }
.draft-artwork-list { min-width: 0; }
.draft-artwork-row { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #E2E8F0; padding: 4px; min-width: 0; }
.draft-artwork-row[data-selected="true"] { background: #EFF6FF; border-radius: 8px; }
#draft-orders-detail .draft-file-select { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; padding: 12px 8px; border: 0; border-radius: 6px; text-align: left; background: transparent; }
#draft-orders-detail .draft-file-select:hover { background: #F8FAFC; }
#draft-orders-detail .draft-artwork-row[data-selected="true"] .draft-file-select:hover { background: #EFF6FF; }
.draft-file-thumbnail { position: relative; display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: #F8FAFC; }
.draft-file-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.draft-media-status { padding: 6px; text-align: center; font-size: .75rem; color: #64748B; }
.draft-file-thumbnail .draft-media-status { position: absolute; inset: 0; display: grid; place-items: center; }
.draft-artwork-info { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.draft-artwork-info strong { font-size: .875rem; font-weight: 600; color: #0F172A; }
.draft-file-meta { font-size: .8125rem; color: #334155; }
.draft-file-assignment { font-size: .8125rem; color: #64748B; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.draft-file-warning { margin: 4px 0; font-size: .8125rem; font-weight: 600; color: #92400E; line-height: 1.5; }
#draft-orders-detail .draft-file-menu-trigger { width: 44px; min-width: 44px; padding: 8px; border: 0; background: transparent; font-size: 1.3rem; }
.draft-file-popover { position: fixed; inset: auto; margin: 0; padding: 4px; border: 1px solid #CBD5E1; border-radius: 8px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(15, 23, 42, .18); }
.draft-file-popover button { min-height: 44px; border: 0; border-radius: 6px; padding: 8px 16px; background: #FFFFFF; color: #B42318; font: .875rem system-ui, sans-serif; cursor: pointer; }
.draft-file-popover button:hover { background: #F8FAFC; }
.draft-artwork-inspector { min-width: 0; padding: 20px; background: #F8FAFC; border-radius: 8px; }
.draft-artwork-inspector > h3 { margin: 0 0 16px; font-size: .95rem; line-height: 1.4; color: #0F172A; overflow-wrap: anywhere; }
.draft-selected-preview { position: relative; display: grid; place-items: center; min-height: 160px; height: 260px; margin-bottom: 16px; border-radius: 6px; background: #FFFFFF; overflow: hidden; }
.draft-selected-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.draft-selected-preview .draft-media-status { position: absolute; }
.draft-selected-meta { margin: 0 0 8px; font-weight: 600; font-size: .875rem; }
.draft-selected-assignment { margin: 0 0 16px; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.draft-reference-items { margin-top: 24px; padding-top: 16px; border-top: 1px solid #CBD5E1; }
.draft-reference-items h4 { margin: 0 0 12px; font-size: .875rem; color: #0F172A; }
.draft-reference-item { display: grid; gap: 4px; padding: 8px 0; font-size: .8125rem; overflow-wrap: anywhere; }
.draft-reference-item strong { font-weight: 500; }
.draft-reference-item span { color: #64748B; }
.draft-artwork-empty { padding: 48px 24px; text-align: center; }
.draft-artwork-empty h4 { margin: 0 0 8px; color: #0F172A; font-size: 1rem; }
.draft-artwork-empty p { margin: 0 auto; max-width: 36ch; color: #64748B; line-height: 1.6; font-size: .875rem; }
.draft-pending-title { margin: 24px 0 12px; font-size: .875rem; color: #0F172A; }
.draft-pending-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #E2E8F0; }
#draft-orders-detail .draft-pending-remove { flex: 0 0 44px; border: 0; padding: 8px; font-size: 1.2rem; background: transparent; }
.draft-assignment-form { display: flex; flex-direction: column; gap: 16px; }
.draft-upload-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.draft-assignment-form label:not(.draft-item-option) { display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; min-width: 0; }
#draft-orders-detail .draft-upload-fields select { width: 100%; font-size: .875rem; padding: 8px; }
.draft-format-hint, .draft-batch-hint { margin: 0; font-size: .8125rem; line-height: 1.5; color: #64748B; }
.draft-batch-hint { color: #334155; }
.draft-item-picker { margin: 0; padding: 12px; border: 1px solid #CBD5E1; border-radius: 8px; min-width: 0; background: #FFFFFF; }
.draft-item-picker legend { padding: 0 4px; font-size: .875rem; font-weight: 600; }
#draft-orders-detail .draft-select-all { border: 0; padding: 8px; background: transparent; color: #1765C1; font-size: .8125rem; }
.draft-item-option { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 0; cursor: pointer; }
.draft-item-option input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #1A73E8; }
.draft-item-label { display: grid; gap: 4px; min-width: 0; font-size: .8125rem; overflow-wrap: anywhere; }
.draft-item-label strong { font-weight: 500; }
.draft-item-label > span { color: #64748B; }
.draft-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.draft-context-help { margin-top: 24px; padding-top: 16px; border-top: 1px solid #E2E8F0; font-size: .8125rem; color: #64748B; }
.draft-context-help summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; width: fit-content; }
.draft-context-help summary::before { content: '+'; margin-right: 8px; }
.draft-context-help[open] summary::before { content: '−'; }
.draft-context-help p { margin: 0 0 12px; max-width: 70ch; line-height: 1.5; }
.draft-order-artwork-warning { margin: 12px 0; padding: 12px; background: #F8FAFC; border-radius: 8px; line-height: 1.5; }
@media (max-width: 900px) { #draft-orders-workspace { padding-bottom: 24px; } }
@media (max-width: 760px) {
  #draft-detail-dialog { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .draft-detail-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 8px 16px 12px; }
  #draft-orders-detail .draft-back { grid-column: 1; justify-self: start; padding-left: 0; }
  #draft-orders-detail .draft-detail-refresh { grid-column: 2; grid-row: 1; }
  .draft-detail-identity { grid-column: 1 / -1; grid-row: 2; }
  .draft-detail-title { font-size: 1.05rem; }
  #draft-orders-detail .draft-shopify-link { grid-column: 1 / -1; grid-row: 3; justify-self: start; padding-left: 0; }
  .draft-detail-body { padding: 20px 16px; }
  .draft-artwork-toolbar { gap: 8px; margin-bottom: 16px; }
  .draft-intake-actions { flex: 1 1 100%; margin: 4px 0 0; }
  .draft-artwork-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .draft-artwork-inspector { padding: 16px; }
  .draft-file-thumbnail { flex-basis: 56px; width: 56px; height: 56px; }
  #draft-orders-detail .draft-file-select { gap: 10px; padding: 10px 4px; }
  .draft-selected-preview { height: 220px; }
  .draft-artwork-empty { padding: 24px 16px; }
}
