/* Existing domain composition rules; migrated by their domain owners. Shared primitives live in components.css. */
.fulfillment-shell { min-width:0; }
.fulfillment-shell .head > div { min-width:0; }
.fulfillment-shell__content { min-width:0; overflow-wrap:anywhere; }
.fulfillment-list-head { align-items:flex-end; }
.fulfillment-list-card { padding:16px; }
.fulfillment-list-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; margin-bottom:14px; }
.fulfillment-list-toolbar label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:14px; }
.fulfillment-list-toolbar .fulfillment-list-search { flex:1 1 280px; }
.fulfillment-list-toolbar input, .fulfillment-list-toolbar select { width:100%; min-width:180px; min-height:44px; }
.fulfillment-list-table { min-width:1080px; }
.fulfillment-list-table tbody tr { cursor:pointer; }
.fulfillment-list-table tbody tr:hover td { background:color-mix(in srgb,var(--accent) 5%,var(--panel)); }
.fulfillment-mobile-list { display:none; }
.fulfillment-mobile-row { display:block; padding:14px; border:1px solid var(--line); border-radius:12px; color:var(--text); background:var(--panel-2); }
.fulfillment-mobile-row + .fulfillment-mobile-row { margin-top:10px; }
.fulfillment-mobile-row__top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.fulfillment-mobile-row__title { min-width:0; font-weight:700; }
.fulfillment-mobile-row__product { margin:10px 0; font-size:14px; }
.fulfillment-mobile-row__meta { display:flex; flex-wrap:wrap; gap:7px 12px; color:var(--muted); font-size:12px; }
.fulfillment-list-pagination { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.fulfillment-modal-overlay { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.68); }
.fulfillment-modal-overlay[hidden] { display:none; }
.fulfillment-modal { width:min(860px,100%); max-height:min(92vh,900px); display:flex; flex-direction:column; overflow:hidden; background:var(--panel); border:1px solid var(--line); border-radius:14px; box-shadow:0 22px 70px rgba(0,0,0,.35); }
.fulfillment-modal__head, .fulfillment-modal__foot { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); }
.fulfillment-modal__head h2 { margin:0; font-size:20px; }
.fulfillment-modal__head .meta { margin-top:4px; }
.fulfillment-modal > .error:not(:empty) { margin:12px 16px 0; }
.fulfillment-modal__body { padding:16px; overflow:auto; }
.fulfillment-modal__foot { justify-content:flex-end; border-top:1px solid var(--line); border-bottom:0; }
.fulfillment-create-content { min-height:0; display:flex; flex:1 1 auto; }
.fulfillment-create-form { min-height:0; display:flex; flex:1 1 auto; flex-direction:column; overflow:hidden; }
.fulfillment-create-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.fulfillment-create-field { min-width:0; display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:14px; }
.fulfillment-create-field input, .fulfillment-create-field select { width:100%; min-width:0; min-height:44px; }
.fulfillment-combobox { position:relative; width:100%; }
.fulfillment-combobox__control { position:relative; display:flex; align-items:center; width:100%; }
.fulfillment-combobox__input { width:100%; min-height:44px; padding:8px 58px 8px 12px; border:1px solid var(--line); border-radius:var(--radius); background-color:var(--panel-2); color:var(--text); font-size:14px; box-sizing:border-box; }
.fulfillment-combobox__input:focus { outline:2px solid #2563eb; outline-offset:1px; }
.fulfillment-combobox__actions { position:absolute; right:6px; display:flex; align-items:center; gap:2px; }
.fulfillment-combobox__clear { background:transparent; border:none; color:var(--muted); cursor:pointer; padding:6px; font-size:13px; border-radius:4px; line-height:1; }
.fulfillment-combobox__clear:hover { color:var(--text); background:var(--line); }
.fulfillment-combobox__toggle { background:transparent; border:none; color:var(--muted); cursor:pointer; padding:6px 8px; font-size:10px; border-radius:4px; line-height:1; }
.fulfillment-combobox__toggle:hover { color:var(--text); }
.fulfillment-combobox__dropdown { position:absolute; top:calc(100% + 4px); left:0; right:0; max-height:280px; overflow-y:auto; background:var(--panel-2); border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 8px 24px rgba(0,0,0,0.3); z-index:100; padding:4px 0; scrollbar-width:thin; }
.fulfillment-combobox__dropdown[hidden] { display:none; }
.fulfillment-combobox__item { display:flex; flex-direction:column; gap:3px; padding:9px 12px; cursor:pointer; border-bottom:1px solid color-mix(in srgb, var(--line) 40%, transparent); transition:background-color .1s; }
.fulfillment-combobox__item:last-child { border-bottom:none; }
.fulfillment-combobox__item:hover, .fulfillment-combobox__item[data-highlighted="true"] { background:color-mix(in srgb, var(--accent,#2563eb) 12%, var(--panel-2)); }
.fulfillment-combobox__item[aria-selected="true"] { background:color-mix(in srgb, var(--accent,#2563eb) 18%, var(--panel-2)); }
.fulfillment-combobox__item-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.fulfillment-combobox__item-code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-weight:700; font-size:13px; color:var(--text); }
.fulfillment-combobox__item-desc { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fulfillment-combobox__empty { padding:14px 12px; color:var(--muted); text-align:center; font-size:13px; }
.fulfillment-combobox__load-more { width:calc(100% - 16px); margin:6px 8px; padding:7px; background:var(--panel); border:1px solid var(--line); border-radius:6px; color:var(--text); font-size:12px; font-weight:600; cursor:pointer; text-align:center; }
.fulfillment-btn-ozon { display:inline-flex; align-items:center; gap:6px; font-weight:600; background:color-mix(in srgb, #005bff 12%, var(--panel-2)); border:1px solid color-mix(in srgb, #005bff 45%, var(--line)); color:var(--text); cursor:pointer; }
.fulfillment-btn-ozon:hover { background:color-mix(in srgb, #005bff 22%, var(--panel-2)); }
.fulfillment-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.fulfillment-optional { color:var(--muted); font-size:12px; font-weight:400; }
.fulfillment-option-search { display:flex; gap:8px; min-width:0; margin-top:8px; }
.fulfillment-option-search input { min-width:0; flex:1; }
.fulfillment-catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:16px 0 12px; }
.fulfillment-catalog-toolbar .fulfillment-option-search { flex:1 1 360px; margin:0; }
.fulfillment-catalog-list { overflow:hidden; border:1px solid var(--line); border-radius:10px; }
.fulfillment-catalog-row { display:grid; grid-template-columns:32px minmax(0,1fr) 96px; align-items:center; gap:10px; padding:10px 12px; background:var(--panel-2); }
.fulfillment-catalog-row + .fulfillment-catalog-row { border-top:1px solid var(--line); }
.fulfillment-catalog-row input[type="checkbox"] { width:18px; height:18px; accent-color:var(--primary); }
.fulfillment-catalog-row input[type="number"] { width:100%; min-width:0; }
.fulfillment-catalog-row small { display:block; color:var(--muted); }
.fulfillment-selected-products { display:grid; gap:7px; margin-bottom:10px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.fulfillment-selected-products[hidden] { display:none; }
.fulfillment-selected-products > div { display:flex; flex-wrap:wrap; gap:6px 12px; color:var(--muted); font-size:13px; }
.fulfillment-selected-products span { overflow-wrap:anywhere; }
.fulfillment-create-notice { padding:10px 12px; border:1px solid var(--line); border-left:4px solid var(--warn); border-radius:8px; color:var(--muted); background:var(--panel-2); font-size:13px; }
.fulfillment-mapping-required { margin-top:12px; }
.fulfillment-modal-open { overflow:hidden; }
.fulfillment-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.fulfillment-detail-hero, .fulfillment-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.fulfillment-detail-hero h2, .fulfillment-section-head h3, .fulfillment-shell .card h3 { margin:0 0 10px; }
.fulfillment-item-grid { display:grid; gap:12px; }
.fulfillment-label { display:grid; grid-template-columns:minmax(180px,1fr) 180px auto; align-items:center; gap:16px; border-top:1px solid var(--line); padding:14px 0; min-width:0; }
.fulfillment-label:first-child { border-top:0; }
.fulfillment-label h4 { margin:0 0 6px; }
.fulfillment-label__preview { display:grid; justify-items:center; gap:6px; min-width:0; }
.fulfillment-label__preview img, .fulfillment-artifact img { width:144px; height:144px; max-width:100%; object-fit:contain; background:#fff; border-radius:10px; padding:8px; }
.fulfillment-label__preview code { max-width:100%; overflow-wrap:anywhere; text-align:center; color:var(--text); }
.fulfillment-label__actions { justify-content:flex-end; flex-wrap:wrap; }
.fulfillment-address { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; color:var(--text); }
.fulfillment-artifact { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.fulfillment-timeline { list-style:none; margin:0; padding:0; display:grid; gap:0; }
.fulfillment-timeline li { display:grid; grid-template-columns:minmax(120px,1fr) minmax(140px,auto); gap:4px 16px; padding:12px 0; border-top:1px solid var(--line); }
.fulfillment-timeline li:first-child { border-top:0; }
.fulfillment-timeline li > div { grid-column:1/-1; }
.fulfillment-detail-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.fulfillment-detail-head__identity { min-width:0; }
.fulfillment-detail-head__identity h1 { margin:4px 0 0; font-size:28px; overflow-wrap:anywhere; }
.fulfillment-detail-head__actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.fulfillment-detail-head__locked { flex-basis:100%; max-width:420px; color:var(--muted); font-size:12px; text-align:right; }
.fulfillment-next-step { margin-bottom:16px; border-left:4px solid var(--warn); }
.fulfillment-next-step--ok { border-left-color:var(--ok); }
.fulfillment-next-step--danger { border-left-color:var(--danger); }
.fulfillment-next-step h2 { margin:0 0 6px; font-size:20px; }
.fulfillment-next-step p { margin:0; }
.fulfillment-next-step .fulfillment-transitions { margin-top:12px; }
.fulfillment-detail-split { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(300px,.75fr); align-items:start; gap:16px; margin-bottom:16px; }
.fulfillment-detail-stack { min-width:0; display:flex; flex-direction:column; gap:16px; }
.fulfillment-detail-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:12px; }
.fulfillment-detail-section-head h2 { margin:0; font-size:19px; }
.fulfillment-detail-section-head .meta { margin-top:4px; }
.fulfillment-detail-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 20px; }
.fulfillment-detail-field { min-width:0; }
.fulfillment-detail-field__label { margin-bottom:3px; color:var(--muted); font-size:12px; }
.fulfillment-detail-field__value { overflow-wrap:anywhere; }
.fulfillment-address-block { margin:0; padding:14px; white-space:pre-wrap; overflow-wrap:anywhere; background:var(--panel-2); border:1px solid var(--line); border-radius:12px; color:var(--text); font:inherit; }
.fulfillment-product-line { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:12px 0; border-top:1px solid var(--card-border); }
.fulfillment-product-line:first-child { padding-top:0; border-top:0; }
.fulfillment-product-line__title { font-weight:600; }
.fulfillment-product-line__meta { margin-top:4px; color:var(--muted); font-size:13px; }
.fulfillment-product-line__qty { align-self:start; padding:6px 9px; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); white-space:nowrap; }
.fulfillment-label-rule { margin-bottom:12px; padding:10px 12px; border:1px solid var(--line); border-left:4px solid var(--warn); border-radius:8px; background:var(--panel-2); color:var(--muted); font-size:13px; }
.fulfillment-label-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.fulfillment-label-grid .fulfillment-label { grid-template-columns:92px minmax(0,1fr); align-items:start; padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.fulfillment-label-grid .fulfillment-label:first-child { border-top:1px solid var(--line); }
.fulfillment-label-grid .fulfillment-label__preview img { width:92px; height:92px; padding:5px; border-radius:4px; }
.fulfillment-label-grid .fulfillment-label__actions { justify-content:flex-start; margin-top:10px; }
.fulfillment-label-grid .fulfillment-label__actions .button { min-height:38px; }
.fulfillment-label__sku { width:100%; font:700 11px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; text-align:center; overflow-wrap:anywhere; }
.fulfillment-readiness { display:flex; flex-direction:column; }
.fulfillment-readiness__row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-top:1px solid var(--card-border); }
.fulfillment-readiness__row:first-child { padding-top:0; border-top:0; }
.fulfillment-readiness__row:last-child { padding-bottom:0; }
.fulfillment-tracking-form { display:grid; gap:12px; }
.fulfillment-tracking-form label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:14px; }
.fulfillment-master-label { display:grid; gap:12px; justify-items:center; }
.fulfillment-master-label img { width:112px; height:112px; max-width:100%; padding:6px; border-radius:4px; background:#fff; object-fit:contain; }
.fulfillment-master-label__payload { width:100%; font:700 11px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; text-align:center; overflow-wrap:anywhere; }
.fulfillment-master-label__reference { color:var(--muted); font:11px/1.25 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; text-align:center; overflow-wrap:anywhere; }
.fulfillment-receipt-line { display:grid; grid-template-columns:minmax(0,1fr) repeat(3,64px); align-items:center; gap:8px; padding:9px 0; border-top:1px solid var(--card-border); }
.fulfillment-receipt-line:first-child { padding-top:0; border-top:0; }
.fulfillment-receipt-line--head { color:var(--muted); font-size:11px; }
.fulfillment-receipt-line__number { text-align:right; font-variant-numeric:tabular-nums; }
.fulfillment-receipt-line__delta--ok { color:var(--ok-fg); }
.fulfillment-receipt-line__delta--bad { color:var(--danger-fg); }
.fulfillment-edit-form { min-height:0; display:flex; flex:1 1 auto; flex-direction:column; overflow:hidden; }
.fulfillment-edit-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.fulfillment-edit-details label { display:flex; min-width:0; flex-direction:column; gap:6px; color:var(--muted); font-size:14px; }
.fulfillment-edit-details label:first-child { grid-column:1/-1; }
.fulfillment-edit-details input { width:100%; min-width:0; }
.fulfillment-edit-section { margin-top:18px; }
.fulfillment-edit-selected { display:grid; gap:8px; margin:10px 0 14px; }
.fulfillment-edit-selected__row { display:grid; grid-template-columns:minmax(0,1fr) 96px auto; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.fulfillment-edit-selected__row small { display:block; color:var(--muted); }
.fulfillment-edit-selected__row input { width:100%; min-width:0; }
.fulfillment-edit-selected__row button { min-height:40px; }
.fulfillment-edit-search { display:flex; align-items:center; gap:8px; margin:10px 0; }
.fulfillment-edit-search input { min-width:0; flex:1; }
.fulfillment-edit-catalog { overflow:hidden; border:1px solid var(--line); border-radius:10px; }
.fulfillment-edit-catalog__row { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:center; gap:10px; padding:10px 12px; background:var(--panel-2); }
.fulfillment-edit-catalog__row + .fulfillment-edit-catalog__row { border-top:1px solid var(--line); }
.fulfillment-edit-catalog__row input { width:18px; height:18px; accent-color:var(--primary); }
.fulfillment-edit-catalog__row small { display:block; color:var(--muted); }
.fulfillment-edit-modal .fulfillment-modal__body { min-height:0; }
.warehouse-form { display:grid; gap:14px; }
.warehouse-form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); gap:12px; min-width:0; }
.warehouse-form label { display:flex; flex-direction:column; gap:6px; min-width:0; color:var(--muted); font-size:14px; }
.warehouse-form input, .warehouse-form textarea { width:100%; min-width:0; }
.warehouse-form-wide { grid-column:1/-1; }
.warehouse-mobile-list { display:none; gap:12px; }
.warehouse-mobile-card { min-width:0; overflow-wrap:anywhere; }
@media (max-width: 720px) {
  .fulfillment-shell .wrap, .wrap.fulfillment-shell { padding:16px; }
  .fulfillment-shell .head { align-items:stretch; flex-direction:column; }
  .fulfillment-shell .head .button { width:100%; }
  .warehouse-table { display:none; }
  .warehouse-mobile-list { display:grid; }
  .warehouse-form .actions { display:grid; grid-template-columns:1fr; }
  .warehouse-form .actions .button { width:100%; }
  .fulfillment-detail-grid, .fulfillment-detail-split, .fulfillment-detail-fields, .fulfillment-edit-details { grid-template-columns:1fr; }
  .fulfillment-detail-head { align-items:flex-start; flex-direction:column; }
  .fulfillment-detail-head__actions { width:100%; justify-content:flex-start; }
  .fulfillment-detail-head__actions .button { flex:1 1 auto; }
  .fulfillment-detail-head__locked { max-width:none; text-align:left; }
  .fulfillment-list-head { align-items:flex-start; }
  .fulfillment-list-head .head-actions, .fulfillment-list-head [data-open-create] { width:100%; }
  .fulfillment-list-toolbar label, .fulfillment-list-toolbar .fulfillment-list-search { flex:1 1 100%; }
  .fulfillment-list-toolbar input, .fulfillment-list-toolbar select { min-width:0; }
  .fulfillment-list-toolbar button { flex:1; }
  .fulfillment-list-table-wrap { display:none; }
  .fulfillment-mobile-list { display:block; }
  .fulfillment-modal-overlay { padding:8px; }
  .fulfillment-modal { width:100%; max-height:calc(100dvh - 16px); }
  .fulfillment-modal__body { flex:1 1 auto; }
  .fulfillment-create-grid { grid-template-columns:1fr; }
  .fulfillment-catalog-toolbar { align-items:stretch; flex-direction:column; }
  .fulfillment-catalog-toolbar .fulfillment-option-search { width:100%; flex-basis:auto; }
  .fulfillment-catalog-row { grid-template-columns:28px minmax(0,1fr); }
  .fulfillment-catalog-row input[type="number"] { grid-column:2; }
  .fulfillment-modal__foot button { flex:1; }
  .fulfillment-detail-hero, .fulfillment-section-head { align-items:stretch; flex-direction:column; }
  .fulfillment-label { grid-template-columns:1fr; }
  .fulfillment-label-grid { grid-template-columns:1fr; }
  .fulfillment-label-grid .fulfillment-label { grid-template-columns:78px minmax(0,1fr); }
  .fulfillment-label-grid .fulfillment-label__preview img { width:78px; height:78px; }
  .fulfillment-label__actions, .fulfillment-transitions { display:grid; grid-template-columns:1fr; width:100%; }
  .fulfillment-label__actions .button, .fulfillment-transitions .button { width:100%; }
  .fulfillment-artifact { flex-direction:column; align-items:stretch; }
  .fulfillment-artifact img { align-self:center; }
  .fulfillment-timeline li { grid-template-columns:1fr; }
  .fulfillment-timeline li > div { grid-column:auto; }
  .fulfillment-edit-selected__row { grid-template-columns:minmax(0,1fr) 84px; }
  .fulfillment-edit-selected__row button { grid-column:1/-1; width:100%; }
  .fulfillment-receipt-line { grid-template-columns:minmax(0,1fr) repeat(2,56px); }
  .fulfillment-receipt-line > :nth-child(4) { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  .fulfillment-shell *, .fulfillment-shell *::before, .fulfillment-shell *::after {
    scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important;
  }
}
/* hide a native <input type=file> while keeping it functional (a styled <label for> triggers it) */
.file-input-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.exact-runs-table { min-width: 0; }
.exact-runs-table td { white-space: normal; }
.exact-runs-table th, .exact-runs-table td { padding:10px 8px; }
.exact-runs-table .exact-count-cell {
  font-size:12px;
  line-height:1.3;
  font-variant-numeric: tabular-nums;
}
.exact-runs-table .exact-scraping-steps-cell { word-break: break-word; }
.exact-runs-table .exact-benchmark-cell {
  --exact-benchmark-accent:#64748b;
  border-left:3px solid transparent;
  font-size:12px;
  line-height:1.25;
  font-variant-numeric:tabular-nums;
}
.exact-runs-table .exact-benchmark-cell strong { display:block; color:var(--text); white-space:nowrap; }
.exact-runs-table .exact-benchmark-cell span { display:block; margin-top:3px; color:var(--muted); font-size:11px; }
.exact-runs-table .exact-benchmark-cell .exact-benchmark-progress { height:4px; margin-top:6px; overflow:hidden; border-radius:999px; background:rgba(100,116,139,.2); }
.exact-runs-table .exact-benchmark-cell .exact-benchmark-progress__fill { height:100%; margin-top:0; border-radius:inherit; background:var(--exact-benchmark-accent); }
.exact-runs-table .exact-benchmark--healthy { --exact-benchmark-accent:#15803d; border-left-color:#15803d; background:rgba(21,128,61,.07); }
.exact-runs-table .exact-benchmark--warning { --exact-benchmark-accent:#d97706; border-left-color:#d97706; background:rgba(217,119,6,.08); }
.exact-runs-table .exact-benchmark--danger { --exact-benchmark-accent:#dc2626; border-left-color:#dc2626; background:rgba(220,38,38,.07); }
.exact-runs-table .exact-benchmark--neutral { color:var(--muted); }
.exact-benchmark-heading { display:inline-flex; align-items:center; gap:5px; }
.exact-benchmark-help { display:inline-grid; width:15px; height:15px; place-items:center; border:1px solid var(--muted); border-radius:50%; color:var(--muted); font-size:10px; line-height:1; cursor:help; }
.exact-benchmark-help:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
.healer-console-head {
  --healer-ink:#0f172a; --healer-quiet:#64748b; --healer-surface:#f8fafc;
  --healer-accent:#2563eb; --healer-warning:#d97706; --healer-success:#15803d; --healer-danger:#dc2626;
  display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:18px;
}
.healer-console-head h1 { margin:2px 0 6px; letter-spacing:-.025em; }
.healer-console-kicker { color:var(--muted); font:700 11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.08em; text-transform:uppercase; }
.healer-runner-banner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; margin-bottom:12px; padding:11px 14px; border:1px solid var(--line); border-left:4px solid #64748b; border-radius:10px; background:var(--panel); color:var(--text); box-shadow:var(--shadow); }
.healer-runner-banner--ready { border-left-color:#15803d; }
.healer-runner-banner--warning { border-left-color:#d97706; }
.healer-runner-banner--error { border-left-color:#dc2626; }
.healer-runner-banner__dot { width:9px; height:9px; border-radius:50%; background:currentColor; }
.healer-runner-banner__meta { color:var(--muted); font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; text-align:right; }
.healer-summary-strip { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; overflow:hidden; margin-bottom:16px; border:1px solid var(--line); border-radius:12px; background:var(--line); }
.healer-summary-cell { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; min-height:76px; padding:12px 14px; border:0; border-radius:0; background:var(--panel); color:var(--text); text-align:left; }
.healer-summary-cell__label { color:var(--muted); font-size:12px; }
.healer-summary-cell__value { font:750 26px/1 ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; }
.healer-summary-cell--danger .healer-summary-cell__value { color:#dc2626; }
.healer-summary-cell--active .healer-summary-cell__value { color:#2563eb; }
.healer-summary-cell--warning .healer-summary-cell__value { color:#d97706; }
.healer-summary-cell--healthy .healer-summary-cell__value { color:#15803d; }
.healer-objective { margin-bottom:16px; overflow:hidden; border-left:4px solid #2563eb; }
.healer-objective .section-head { margin-bottom:12px; }
.healer-objective-grid { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(320px,1.5fr) minmax(220px,.8fr); gap:20px; align-items:center; }
.healer-objective-current { display:flex; align-items:flex-end; gap:10px; }
.healer-objective-value { color:var(--text); font:800 clamp(34px,5vw,52px)/.9 ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; letter-spacing:-.06em; }
.healer-objective-label, .healer-objective-caption { color:var(--muted); font-size:12px; }
.healer-objective-state { display:inline-flex; width:max-content; margin-top:10px; padding:4px 8px; border-radius:999px; font-size:11px; font-weight:800; }
.healer-objective-state--healthy { color:#166534; background:#dcfce7; }
.healer-objective-state--warning { color:#92400e; background:#fef3c7; }
.healer-objective-state--danger { color:#991b1b; background:#fee2e2; }
.healer-objective-instrument { min-width:0; }
.healer-objective-track { position:relative; height:12px; margin:10px 0 8px; overflow:visible; border-radius:999px; background:#e2e8f0; }
.healer-objective-track__fill { display:block; height:100%; max-width:100%; border-radius:inherit; background:#dc2626; }
.healer-objective-track__fill--healthy { background:#15803d; }
.healer-objective-track__fill--warning { background:#d97706; }
.healer-objective-track__target { position:absolute; top:-5px; bottom:-5px; width:2px; background:var(--text); transform:translateX(-1px); }
.healer-objective-track__target::after { content:attr(data-label); position:absolute; right:0; bottom:100%; padding-bottom:4px; color:var(--text); font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; }
.healer-objective-measures { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.healer-objective-measure { padding:8px 10px; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); }
.healer-objective-measure strong { display:block; font:750 17px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; }
.healer-objective-streak { display:flex; gap:6px; margin:9px 0 14px; }
.healer-objective-streak span { width:28px; height:7px; border-radius:999px; background:#e2e8f0; }
.healer-objective-streak span[data-complete="true"] { background:#15803d; }
.healer-objective-contributors { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; }
.healer-objective-contributor { padding:4px 7px; border:1px solid var(--line); border-radius:7px; background:var(--panel-2); color:var(--muted); font:11px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; }
.healer-recent-generation { display:block; margin-bottom:3px; color:var(--text); font:700 10px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.04em; }
.healer-console-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,340px); gap:16px; align-items:start; }
.healer-console-main { min-width:0; display:flex; flex-direction:column; gap:16px; }
.healer-board-card { min-width:0; overflow:hidden; }
.healer-board-toolbar { display:grid; grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(128px,.8fr)) auto; gap:8px; align-items:end; }
.healer-board-toolbar label { min-width:0; color:var(--muted); font-size:12px; }
.healer-board-toolbar input, .healer-board-toolbar select { width:100%; min-width:0; margin-top:5px; }
.healer-adapter-board { min-width:720px; border-top:1px solid var(--line); }
.healer-adapter-board-scroll { max-height:680px; overflow:auto; margin:14px -16px -16px; scrollbar-width:thin; }
.healer-adapter-board__head, .healer-adapter-row { display:grid; grid-template-columns:minmax(140px,1fr) minmax(120px,.8fr) minmax(220px,1.5fr) 92px minmax(165px,1fr); align-items:center; gap:10px; padding:10px 16px; }
.healer-adapter-board__head { color:var(--muted); background:var(--panel-2); font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.healer-adapter-row { min-height:72px; border-top:1px solid var(--line); border-left:4px solid #64748b; background:var(--panel); }
.healer-adapter-row--critical { border-left-color:#dc2626; }
.healer-adapter-row--warning { border-left-color:#d97706; }
.healer-adapter-row--info { border-left-color:#2563eb; }
.healer-adapter-row--healthy { border-left-color:#15803d; }
.healer-adapter-row[aria-selected="true"] { background:color-mix(in srgb, var(--accent) 9%, var(--panel)); }
.healer-adapter-select { justify-content:flex-start; width:100%; padding:0; border:0; background:transparent; color:var(--text); font:700 14px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; text-align:left; }
.healer-adapter-state { display:inline-flex; width:max-content; max-width:100%; padding:4px 8px; border:1px solid var(--line); border-radius:999px; font-size:11px; font-weight:700; }
.healer-adapter-problem { min-width:0; }
.healer-adapter-problem strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.healer-adapter-problem span, .healer-adapter-counts { color:var(--muted); font-size:11px; }
.healer-adapter-counts { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; }
.healer-adapter-settings { display:flex; flex-direction:column; gap:4px; }
.healer-adapter-setting { display:flex; align-items:center; gap:5px; color:var(--muted); font-size:11px; line-height:1.2; }
.healer-adapter-toggle { width:16px; height:16px; margin:0; accent-color:var(--accent); flex:0 0 auto; }
.healer-adapter-toggle:disabled + .healer-adapter-setting__label { opacity:.7; }
.healer-pipeline { position:sticky; top:12px; min-width:0; }
.healer-pipeline-group + .healer-pipeline-group { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.healer-pipeline-group__head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.healer-pipeline-group__head h3 { margin:0; font-size:13px; }
.healer-pipeline-count { min-width:24px; padding:2px 7px; border-radius:999px; background:var(--panel-2); color:var(--muted); font:700 11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace; text-align:center; }
.healer-pipeline-list { display:flex; flex-direction:column; gap:7px; }
.healer-pipeline-item { padding:9px 10px; border:1px solid var(--line); border-radius:9px; background:var(--panel-2); }
.healer-pipeline-item__top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.healer-pipeline-item__code { font:700 12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace; }
.healer-pipeline-item__meta { margin-top:3px; color:var(--muted); font-size:11px; }
.healer-recent-repairs { margin-top:16px; min-width:0; overflow:hidden; }
.healer-recent-repairs-scroll { max-height:480px; overflow:auto; margin:12px -16px -16px; scrollbar-width:thin; }
.healer-recent-repairs-table { min-width:820px; }
.healer-recent-repairs-table th, .healer-recent-repairs-table td { padding:10px 12px; }
.healer-recent-repairs-table thead th { position:sticky; top:0; z-index:1; }
.healer-recent-result { color:var(--muted); font-size:12px; }
.healer-recent-status--pr_ready, .healer-recent-status--verified { color:#15803d; }
.healer-recent-status--verifying, .healer-recent-status--awaiting_deploy { color:#a16207; }
.healer-recent-status--failed, .healer-recent-status--needs_human, .healer-recent-status--regressed { color:#dc2626; }
.healer-workspace { min-width:0; }
.healer-workspace__head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:12px; }
.healer-workspace__head h2 { margin:0; }
.healer-workspace-tabs { display:flex; gap:4px; overflow-x:auto; padding-bottom:1px; border-bottom:1px solid var(--line); }
.healer-workspace-tab { flex:0 0 auto; padding:8px 10px; border:0; border-bottom:3px solid transparent; border-radius:0; background:transparent; color:var(--muted); }
.healer-workspace-tab[aria-selected="true"] { border-bottom-color:#2563eb; color:var(--text); }
.healer-workspace-panel { padding-top:14px; }
.healer-workspace-panel[hidden] { display:none; }
.healer-problem-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.healer-problem-card { padding:12px; border:1px solid var(--line); border-left:4px solid #d97706; border-radius:10px; background:var(--panel-2); }
.healer-repair-route { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; margin:12px 0; }
.healer-route-step { min-width:0; padding:7px 5px; border-top:3px solid #64748b; color:var(--muted); font:10px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace; text-align:center; overflow-wrap:anywhere; }
.healer-route-step--complete { border-top-color:#15803d; color:var(--text); }
.healer-route-step--current { border-top-color:#2563eb; color:var(--text); }
.healer-route-step--blocked { border-top-color:#dc2626; color:var(--text); }
.healer-panel { min-width:0; }
.healer-incident-row { width:100%; text-align:left; justify-content:flex-start; padding:12px; background:var(--panel-2); }
.healer-incident-row + .healer-incident-row { margin-top:8px; }
#adapter-healer-incidents-form input[type="datetime-local"] {
  color-scheme:dark; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--panel-2); color:var(--text); padding:8px 10px; font:inherit;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) #adapter-healer-incidents-form input[type="datetime-local"] { color-scheme:light; }
}
:root[data-theme="light"] #adapter-healer-incidents-form input[type="datetime-local"] { color-scheme:light; }
.healer-reason { border-left:4px solid var(--warn); padding-left:12px; }
.healer-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.healer-detail-grid > div { background:var(--panel-2); border:1px solid var(--line); border-radius:10px; padding:10px; }
.healer-timeline { list-style:none; margin:0; padding:0 0 0 18px; border-left:2px solid var(--line); }
.healer-timeline li { position:relative; padding:0 0 16px 14px; }
.healer-timeline li::before { content:''; position:absolute; left:-23px; top:5px; width:8px; height:8px; border-radius:50%; background:var(--accent); }
.healer-product-links { margin:0; padding-left:20px; }
.healer-product-links li + li { margin-top:5px; }
.healer-summary-cell:focus-visible, .healer-board-toolbar :focus-visible, .healer-adapter-select:focus-visible, .healer-adapter-toggle:focus-visible, .healer-workspace-tab:focus-visible, .healer-incident-row:focus-visible, .healer-load-more:focus-visible, .healer-product-link:focus-visible, .healer-pr-link:focus-visible { outline:3px solid #2563eb; outline-offset:2px; }
@media (max-width: 1040px) {
  .healer-objective-grid { grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr); }
  .healer-objective-contribution { grid-column:1 / -1; }
  .healer-console-layout { grid-template-columns:1fr; }
  .healer-pipeline { position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .healer-pipeline > .section-head { grid-column:1 / -1; }
  .healer-pipeline-group + .healer-pipeline-group { margin:0; padding:0; border-top:0; }
  .healer-board-toolbar { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .healer-console-head, .healer-workspace__head { flex-direction:column; }
  .healer-runner-banner { grid-template-columns:auto minmax(0,1fr); }
  .healer-runner-banner__meta { grid-column:2; text-align:left; }
  .healer-summary-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .healer-objective-grid { grid-template-columns:1fr; gap:16px; }
  .healer-objective-contribution { grid-column:auto; }
  .healer-board-toolbar, .healer-pipeline, .healer-problem-grid, .healer-detail-grid { grid-template-columns:1fr; }
  .healer-adapter-board-scroll { max-height:560px; margin-inline:-12px; overflow-x:hidden; }
  .healer-adapter-board { min-width:0; }
  .healer-adapter-board__head { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
  .healer-adapter-row { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:11px 12px; }
  .healer-adapter-row > [role="cell"]:nth-child(1) { grid-column:1; grid-row:1; }
  .healer-adapter-row > [role="cell"]:nth-child(2) { grid-column:2; grid-row:1; }
  .healer-adapter-row > [role="cell"]:nth-child(3) { grid-column:1 / -1; grid-row:2; }
  .healer-adapter-row > [role="cell"]:nth-child(4) { grid-column:1 / -1; grid-row:3; }
  .healer-adapter-row > [role="cell"]:nth-child(5) { grid-column:1 / -1; grid-row:4; }
  .healer-adapter-settings { flex-direction:row; flex-wrap:wrap; gap:6px 12px; }
  .healer-adapter-problem strong { white-space:normal; }
  .healer-workspace-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }
  .healer-workspace-tab { padding:8px 4px; font-size:11px; white-space:normal; }
  .healer-repair-route { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
col.title { width:29%; } col.parameter { width:12%; } col.store { width:9%; } col.price { width:9%; } col.product { width:8%; }
col.monitoring { width:9%; } col.checked { width:11%; } col.issues { width:7%; } col.actions { width:6%; }
.title-link { color: var(--text); font-weight:600; }
.title-link:hover { color: var(--accent); }
.dt { line-height:1.2; font-variant-numeric: tabular-nums; white-space:normal; }
.actions { display:flex; flex-direction:column; gap:6px; }
.actions a { display:inline-flex; align-self:flex-start; padding:6px 8px; border:1px solid var(--line); border-radius:8px; background:var(--panel-2); }
/* tariff category switch strip (common.js initTariffOfferStrip): white on --danger is AA in both themes */
.tariff-offer-strip { position:relative; display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; justify-content:center; padding:10px 52px 10px 16px; background:var(--danger); color:#fff; font-weight:600; text-align:center; }
.tariff-offer-strip a { color:#fff; text-decoration:underline; }
.tariff-offer-strip__close { position:absolute; top:50%; right:8px; transform:translateY(-50%); padding:2px 10px; border:0; background:transparent; color:#fff; font-size:22px; line-height:1; }
.tariff-offer-strip a:focus-visible, .tariff-offer-strip__close:focus-visible { outline:2px solid #fff; outline-offset:2px; }
/* an offer per payment product (greatcargo#246): a line each */
.tariff-offer-strip__line { flex-basis:100%; }
.tariffs-offer { border-left:4px solid var(--danger); margin-bottom:12px; }
.tariffs-offer[hidden] { display:none; }
/* posting page: label-over-value field blocks + copy-on-click chips (theme-tokenised) */
.pp-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px 24px; }
@media (max-width:560px) { .pp-grid { grid-template-columns:1fr; } }
.pp-field { display:flex; flex-direction:column; gap:3px; min-width:0; }
.pp-label { font-size:12px; color:var(--muted); }
.pp-value { font-size:16px; color:var(--text); word-break:break-word; }
.pp-product { padding-top:14px; margin-top:14px; border-top:1px solid var(--card-border); }
.stat { background:var(--panel-2); border:1px solid var(--line); border-radius:12px; padding:12px; }
.stat .label { color:var(--muted); font-size:13px; margin-bottom:6px; }
.stat .value { font-size:20px; font-weight:700; }
.detail-title { margin:0; font-size:24px; line-height:1.25; }
.detail-title a { color: var(--text); }
.event { background:var(--panel-2); border:1px solid var(--line); border-radius:12px; padding:12px; }
.fulfillment-shell .fulfillment-transitions, .fulfillment-shell .fulfillment-label__actions { flex-direction:row; align-items:center; flex-wrap:wrap; }
.fulfillment-shell .fulfillment-label__actions a { align-self:stretch; }
@media (max-width: 900px) {
  .grid, .split { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid, .split { grid-template-columns: 1fr; }
  .head { align-items:flex-start; }
}
@media (max-width:720px) {
  .fulfillment-shell .fulfillment-transitions, .fulfillment-shell .fulfillment-label__actions { display:grid; grid-template-columns:1fr; width:100%; }
  .fulfillment-shell .fulfillment-transitions .button, .fulfillment-shell .fulfillment-label__actions .button { width:100%; }
}
