/* css/v1/site-ui.css: the v1 shared look (logo, switches, platform tiles, thumbnails, picker, photo box and gallery,
   e-List send window, race-car overlay card, dark theme). /v1/index.html loads it before css/v1.css. */
  
  :root {
    --alert-yellow: #facc15;
    --alert-ink: #1a1d26;
    --alert-green: #17a35a;
    --alert-blue: #2563eb;
    --amber-deep: #b45309;
    --viewer-chip: rgba(15, 23, 42, 0.84);
    --viewer-text: #ffffff;
  }
  .ft-ha-haz-tri { fill: var(--alert-yellow); stroke: var(--alert-ink); }
  .ft-ha-haz-bar { stroke: var(--alert-ink); }
  .ft-ha-haz-dot { fill: var(--alert-ink); }
  .ft-ha-ins { stroke: var(--alert-green); }
  .ft-ha-multi { stroke: var(--alert-blue); }
  .ft-ha-dim { stroke: var(--amber-deep); }
  .ft-ha-dim-dot { fill: var(--amber-deep); }
  .ft-ha-noret { stroke: var(--amber-deep); }
  .header-alert-pill { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 5px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; cursor: help; line-height: 1; }
  .header-alert-pill[data-alert-jump]:hover { border-color: #94a3b8; background: #f1f5f9; }
  .header-alert-pill > span { font-size: 11px; font-weight: 600; color: #78350f; white-space: nowrap; }
  .ft-field-alert, .ss-ms-btn.ft-field-alert, .form-input.lr-overlen, .form-textarea.lr-overlen { border-color: #e11d48 !important; background-color: #fff1f2 !important; box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.16) !important; }
  #ebay-qty.ft-field-alert, input[id^="price-"].ft-field-alert:not(.lr-req-missing):not(.lr-overlen):not([data-lw-fe]):not([data-lw-gap]):not([data-lw-vol]):not([data-lw-elist]), .field-row:has(#ebay-return-policy.ft-field-alert) .ss-ms-btn:not(.lr-req-missing),
  .field-row:has(#ebay-ship-alerts:not(:empty)) .ss-ms-btn:not(.lr-req-missing) { border-color: #d97706 !important; background-color: #fef3c7 !important; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18) !important; }
  .ft-unit-wrap { position: relative; display: block; }
  .ft-unit-tag { position: absolute; left: 4px; top: 4px; z-index: 2; max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 6px; border-radius: 999px; background: var(--viewer-chip); color: var(--viewer-text); font-size: 10px; font-weight: 700; line-height: 1.4; pointer-events: none; }
  .ftip-list.ft-hidden { display: none; }
  .ftpb{--surface:#ffffff;--surface2:#f7f8fa;--border:#e2e5ea;--accent:#17a35a;--accent-soft:#efe8fb;--text:#1a1d26;--muted:#6b7280;
  font:400 14px 'Barlow',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--text);text-transform:none;letter-spacing:normal;
  position:relative;border-top:1px solid var(--border);padding:12px 0 10px;display:flex;flex-direction:column;gap:8px}
.ftpb:first-child{border-top:0}
.ftpb,.ftpb *,.ftpb *::before,.ftpb *::after,#ftpb-gallery *,#ftpb-gallery *::before,#ftpb-gallery *::after{box-sizing:border-box}
.ftpb-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;gap:8px;flex-wrap:wrap}
.ftpb-title{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;margin:0}
.ftpb-headright{display:flex;align-items:center;gap:10px;position:relative}
.ftpb-head > .ftpb-headright:first-child{margin-left:auto} .ftpb-count{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}
.ftpb-add{font:inherit;font-size:14px;font-weight:600;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:#fff;padding:7px 12px;margin:0;cursor:pointer}
.ftpb-help{position:relative;width:20px;height:20px;padding:0;border-radius:50%;border:1.5px solid var(--muted);background:var(--surface);color:var(--muted);font:inherit;font-weight:700;font-size:11px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.ftpb-help::before{content:"";position:absolute;inset:-5.5px}
.ftpb-help[aria-expanded="true"],.ftpb-help:hover{border-color:var(--accent);color:var(--accent)}
.ftpb-how{position:absolute;right:0;top:36px;z-index:5;width:min(320px,calc(100vw - 60px));background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 30px rgba(20,30,25,.18);padding:10px 12px;font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:6px;margin:0;list-style:none}
.ftpb-how[hidden]{display:none}
.ftpb-how li b{color:var(--text)}
.ftpb-box{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,2fr);gap:8px}
.ftpb-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-content:start}
.ftpb-slot{position:relative;aspect-ratio:1;max-width:100%;border-radius:8px;border:1.5px dashed var(--border);padding:0;background:var(--surface2);overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.ftpb-main{border-radius:10px;font-size:13px}
.ftpb-main:not(.ftpb-filled){cursor:pointer}
.ftpb-filled{border-style:solid;border-color:transparent;cursor:grab;touch-action:none}
.ftpb-slot img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.ftpb-slot:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ftpb-over{outline:2px solid var(--accent);outline-offset:2px;background:var(--accent-soft)}
.ftpb-slot.ftpb-over-cap{border-style:dashed;border-color:var(--border);background:var(--surface2)}
.ftpb-slot.ftpb-over-cap img{filter:grayscale(100%);opacity:.4;transition:opacity .15s, filter .15s}
.ftpb-slot.ftpb-over-cap:hover img{filter:grayscale(50%);opacity:.68}
.ftpb-over-tag{color:var(--muted);font-size:9.5px;font-weight:600}
.ftpb-over-wrap{margin-top:10px;padding-top:8px;border-top:1px dashed var(--border)}
.ftpb-over-hdr{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:11px;color:var(--muted)}
.ftpb-over-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;align-content:start}
.ftpb-note{font-size:12px;color:var(--muted)}
.ftpb-msg{margin-top:6px;font-size:12px;color:var(--muted)}
.ftpb-file,.ftpb-vfile{display:none}
.ftpb-vslot:not(.ftpb-vfilled){cursor:pointer;font-weight:600}
.ftpb-vfilled{border-style:solid;border-color:transparent;cursor:pointer}
.ftpb-vthumb{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;background:#000}
.ftpb-vplay{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(0,0,0,.3);pointer-events:none}
.ftpb-vplay::after{content:'';position:absolute;left:11px;top:8px;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent var(--text)}
.ftpb-vdel,.ftpb-pdel{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#dc2626;font:700 15px/1 'Barlow',system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.ftpb-vdel:hover,.ftpb-pdel:hover{background:#dc2626;color:#fff}
/* The photo drag (photo-box.js): the photo dragged rides the page's top layer under the pointer, and the places of its card glide while it moves. */
.ftpb-dragging{z-index:100000;pointer-events:none;overflow:hidden;border-radius:8px;cursor:grabbing;box-shadow:0 8px 20px rgb(15 23 42 / .35);transition:none}
.ftpb-dragging img{width:100%;height:100%;object-fit:cover;display:block}
.ftpb-dragging .ftpb-pdel{display:none}
.ftpb-sorting .ftpb-slot{transition:transform .2s;transform-origin:0 0}

.ftpb{container-type:inline-size}
@container (max-width:420px){ .ftpb-box{grid-template-columns:1fr} .ftpb-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@container (max-width:420px){ .ftpb-over-grid{grid-template-columns:repeat(6,minmax(0,1fr))} }
@media (prefers-reduced-motion:no-preference){ .ftpb-slot{transition:outline-color .12s, background .12s} }

#ftpb-zoom{position:fixed;z-index:1250;width:300px;height:300px;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(20,30,25,.18);border:3px solid #fff;pointer-events:none;background:#f7f8fa}
#ftpb-zoom img{width:100%;height:100%;object-fit:cover}
#ftpb-gallery{--surface:#ffffff;--surface2:#f7f8fa;--border:#e2e5ea;--accent:#17a35a;--text:#1a1d26;--muted:#6b7280;--blue:#2563eb;
  position:fixed;inset:0;z-index:1260;background:rgba(244,246,248,.97);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;user-select:none;box-sizing:border-box;font:400 14px 'Barlow',system-ui,sans-serif;color:var(--text);text-transform:none;letter-spacing:normal}
#ftpb-gallery[hidden],#ftpb-zoom[hidden]{display:none}
.ftpb-gcont{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(780px,94vw);max-height:94vh;position:relative}
.ftpb-gstage{position:relative;flex:none;width:100%;height:520px;max-height:min(64vh,calc(100vh - 324px));padding:20px;box-sizing:border-box;background:var(--surface2);border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:0 18px 44px rgba(20,30,25,.16)}
.ftpb-gimg{width:100%;height:100%;object-fit:contain;display:block}
.ftpb-gactions{position:absolute;top:14px;right:14px;display:flex;align-items:center;gap:8px;z-index:25}
.ftpb-gbtn{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--border);color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;box-shadow:0 4px 12px rgba(20,30,25,.12);padding:0}
.ftpb-gbtn svg{width:18px;height:18px;stroke:currentColor}
.ftpb-gbtn:hover{background:#fff;border-color:var(--muted);transform:scale(1.08)}
.ftpb-gbtn:active{transform:scale(.96)}
.ftpb-gclose{color:#dc2626}
.ftpb-gclose:hover{background:#dc2626;border-color:#dc2626;color:#fff}
.ftpb-garrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid var(--border);color:var(--text);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;box-shadow:0 4px 16px rgba(20,30,25,.14);z-index:25;padding:0}
.ftpb-garrow svg{width:22px;height:22px;stroke:currentColor}
.ftpb-garrow:hover{background:#fff;border-color:var(--muted);transform:translateY(-50%) scale(1.1)}
.ftpb-garrow:active{transform:translateY(-50%) scale(.95)}
.ftpb-gprev{left:14px}
.ftpb-gnext{right:14px}
.ftpb-gstrip{flex:none;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;overflow-x:auto;padding:4px 2px}
.ftpb-gthumb{position:relative;width:60px;height:60px;aspect-ratio:1;flex:none;border-radius:8px;overflow:hidden;background:var(--surface2);border:2px solid transparent;cursor:pointer;opacity:.6;transition:all .15s ease}
.ftpb-gthumb:hover{opacity:.9;border-color:var(--border)}
.ftpb-gthumb-on{opacity:1;border-color:var(--blue);box-shadow:0 0 10px rgba(37,99,235,.35);transform:scale(1.05)}
.ftpb-gthumb-img{width:100%;height:100%;object-fit:cover;display:block}

.ftpb-etb{flex:none;display:flex;align-items:center;gap:4px;padding:6px 10px;background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:40px;box-shadow:0 10px 30px rgba(20,30,25,.16);z-index:30}
.ftpb-etb[hidden],.ftpb-epanel[hidden],.ftpb-ebar[hidden],.ftpb-gcrop[hidden],.ftpb-eorig[hidden],.ftpb-gimg[hidden],.ftpb-gvideo[hidden],.ftpb-garrow[hidden]{display:none}
.ftpb-gvideo{width:100%;height:100%;object-fit:contain;display:block;background:#000;border-radius:8px}
.ftpb-etool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 10px;min-width:58px;border-radius:8px;background:transparent;border:1px solid transparent;color:var(--muted);cursor:pointer;font:inherit;transition:all .15s ease}
.ftpb-etool:hover{background:var(--surface2);border-color:var(--border);color:var(--text)}
.ftpb-etool-on{background:#e8f0fe;border-color:#93c5fd;color:var(--blue)}
.ftpb-etool-off,.ftpb-etool-off:hover{opacity:.35;cursor:not-allowed;background:transparent;border-color:transparent;color:var(--muted)}
.ftpb-etool-icon{display:flex;align-items:center;justify-content:center;width:22px;height:22px}
.ftpb-etool-icon svg{width:18px;height:18px;stroke:currentColor}
.ftpb-etool-name{font-size:10px;font-weight:600;letter-spacing:.02em;white-space:nowrap}
.ftpb-epanel{flex:none;display:flex;align-items:center;gap:14px;padding:8px 14px;background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:12px;color:var(--text);font-size:12px;box-shadow:0 10px 30px rgba(20,30,25,.16);z-index:30}
.ftpb-epanel:has(.ftip){z-index:31}
.ftpb-epanel label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.ftpb-epanel input[type=range]{width:160px;accent-color:var(--blue)}
.ftpb-ebar{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;color:var(--muted);font-size:12.5px}
.ftpb-ebar-msg{margin-right:auto}
.ftpb-ebtn{font:inherit;font-size:12.5px;font-weight:600;padding:6px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer}
.ftpb-ebtn:hover{background:var(--surface2)}
.ftpb-eapply{background:var(--accent);border-color:var(--accent);color:#fff}
.ftpb-eapply:hover{background:#14904f}
.ftpb-eapply:disabled{opacity:.45;cursor:not-allowed;background:var(--accent)}
.ftpb-gcrop{position:absolute;border:1.5px solid var(--blue);box-shadow:0 0 0 9999px rgba(255,255,255,.6);cursor:move;z-index:26;touch-action:none;box-sizing:border-box}
.ftpb-gcrop i{position:absolute;width:14px;height:14px;background:var(--blue);border:2px solid #fff;border-radius:3px;box-sizing:border-box}
.ftpb-gcrop i[data-h=nw]{left:-7px;top:-7px;cursor:nwse-resize}
.ftpb-gcrop i[data-h=ne]{right:-7px;top:-7px;cursor:nesw-resize}
.ftpb-gcrop i[data-h=sw]{left:-7px;bottom:-7px;cursor:nesw-resize}
.ftpb-gcrop i[data-h=se]{right:-7px;bottom:-7px;cursor:nwse-resize}
.ftpb-bgr-all{font:inherit;font-size:14px;font-weight:600;border-radius:8px;border:1px solid var(--accent);background:var(--surface);color:var(--accent);padding:7px 12px;margin:0;cursor:pointer;white-space:nowrap}
.ftpb-bgr-all:disabled{opacity:.5;cursor:not-allowed}
.ftpb-ebtn:disabled{opacity:.45;cursor:not-allowed}
.ftpb-bgr-cell{display:flex;flex-direction:column;gap:3px;min-width:0}
.ftpb-bgr-under{min-height:20px;display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:2px 3px;text-align:center;font-size:9px;font-weight:700;line-height:1.1;color:var(--muted)}
.ftpb-mainwrap .ftpb-bgr-under{min-height:18px;margin-top:4px;font-size:12px;gap:6px;align-items:center}
.ftpb-bgr-cell.ftpb-fill{display:none}
.lw-ft-pane .ftpb-bgr-cell.ftpb-fill{display:flex}
.ftpb-main-tag{background:var(--accent);color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;line-height:1.3}
.ftpb-bgr-tag{background:var(--accent);color:#fff;padding:1px 6px;border-radius:4px;line-height:1.3}
.ftpb-bgr-badtxt{color:#a35a10}
.ftpb-retry{font:inherit;padding:0 6px;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--text);cursor:pointer;line-height:1.3}
.ftpb-bgr-spin{display:inline-block;flex:none;width:18px;height:18px;border:2.5px solid rgba(128,128,128,.35);border-top-color:var(--accent);border-radius:50%;vertical-align:-3px}
.ftpb-bgr-spin.ftpb-bgr-tiny{width:12px;height:12px;border-width:2px;vertical-align:-2px}
@media (prefers-reduced-motion:no-preference){ .ftpb-bgr-spin{animation:ftpbbgrspin .9s linear infinite} }
@keyframes ftpbbgrspin{to{transform:rotate(360deg)}}
.ftpb-bgr-cap{flex:none;min-height:24px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--text)}
.ftpb-bgr-cap .ftpb-bgr-tag{font-size:12px;padding:3px 10px;border-radius:999px}
.ftpb-bgr-gcell{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px}
.ftpb-bgr-gcell .ftpb-bgr-under{min-height:14px;width:64px;font-size:8px}
.ftpb-bgr-gcell .ftpb-bgr-tag{padding:0 4px}
.ftpb-ebar-msg.ftpb-bgr-warn{color:#a35a10;font-weight:600}
.ftpb-ebar-msg.ftpb-bgr-good{color:var(--accent);font-weight:600}

:root {
  --bg: #f8fafc;
  --surface-hover: #f1f5f9;
  --border-strong: #cbd5e1;
  --accent-soft: #ecfdf5;
  --green: #059669;
  --green-bright: #16a34a;
  --green-wash: #dcfce7;
  --green-deep: #166534;
  --yellow: #facc15;
  --red: #dc2626;
  --on-accent: #ffffff;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.ft-hidden { display: none !important; }

.ft-switch { position: relative; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; vertical-align: middle; user-select: none; cursor: pointer; background: transparent; border: none; padding: 0; }
.ft-switch:disabled, .ft-switch:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.ft-switch input:disabled { cursor: not-allowed; }
.ft-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.ft-switch .ft-switch-track { position: relative; flex: none; width: 40px; height: 22px; background: var(--border-strong); border-radius: 11px; transition: background-color .18s; }
.ft-switch .ft-switch-track::before { content: ''; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; background: var(--on-accent); border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform .18s; }
.ft-switch input:checked + .ft-switch-track, .ft-switch.on .ft-switch-track { background: var(--green-bright); }
.ft-switch input:checked + .ft-switch-track::before, .ft-switch.on .ft-switch-track::before { transform: translateX(18px); }
.ft-switch::after { content: 'OFF'; font-family: var(--font-mono); font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 2px 6px; border-radius: 4px; background: var(--surface-hover); color: var(--muted); }
.ft-switch:has(input:checked)::after, .ft-switch.on::after { content: 'ON'; background: var(--green-wash); color: var(--green-deep); }
.ft-switch-sm::after { display: none; }
.ft-switch-sm .ft-switch-track { width: 32px; height: 18px; border-radius: 9px; }
.ft-switch-sm .ft-switch-track::before { width: 14px; height: 14px; left: 2px; top: 2px; }
.ft-switch-sm input:checked + .ft-switch-track::before, .ft-switch-sm.on .ft-switch-track::before { transform: translateX(14px); }
.ft-switch-card { padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.ft-switch-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.ftip { position: relative; width: 100%; }
.ftip .form-input { width: 100%; padding: 8px 12px; font-size: 13px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; color: #0f172a; outline: none; }
.ftip .form-input:focus { border-color: #059669; box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.14); }
.ftip-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14); padding: 4px; max-height: 280px; overflow-y: auto; margin-top: 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface2); }
.pick-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 13px; gap: 10px; border-radius: 8px; cursor: pointer; color: #0f172a; }
.pick-row:hover, .ftip-row-on { background: #ecfdf5; }
.pick-row.is-disabled { opacity: 0.52; cursor: not-allowed; background: transparent; }
.pick-row-end { font-family: var(--font-mono); flex-shrink: 0; margin-left: 12px; color: var(--muted); font-size: 11px; }
.thumb-box { border-radius: 6px; border: 1px solid #e2e8f0; background: #f8fafc; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.thumb-52 { width: 42px; height: 42px; }
.thumb-52 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.plat-fav-chip { width: 20px; height: 20px; border-radius: 5px; background: #ffffff; border: 1px solid #e2e8f0; box-shadow: 0 1px 1px rgba(15, 23, 42, 0.05); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; vertical-align: middle; }
.plat-fav-img { width: 14px; height: 14px; object-fit: contain; display: block; }
.plat-fav-lg { width: 22px; height: 22px; border-radius: 6px; }
.plat-fav-lg .plat-fav-img { width: 15px; height: 15px; }
.plat-fav-mono { font-size: 9px; font-weight: 800; color: #475569; background: #f8fafc; letter-spacing: -0.02em; }

.ft-thumb-sm { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0; background: #f8fafc; flex-shrink: 0; }
.ft-thumb-md { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0; background: #f8fafc; flex-shrink: 0; }
.ft-thumb-grid { width: 100%; height: 144px; object-fit: cover; display: block; background: #f8fafc; }
.ft-drawer-thumb-wrap { position: relative; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; border: 1px solid #cbd5e1; background: #f8fafc; cursor: pointer; flex-shrink: 0; }
.ft-drawer-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft-drawer-thumb-cnt { position: absolute; right: 3px; bottom: 3px; padding: 1px 4px; border-radius: 4px; background: rgba(15, 23, 42, 0.78); color: #ffffff; font-size: 9px; font-weight: 700; line-height: 1.2; }

.ft-weigh-sel { padding: 5px 8px; font-size: 12px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; color: #0f172a; }
.ft-more-wrap { position: relative; }
.ft-more-menu { position: absolute; right: 0; top: calc(100% + 4px); width: 208px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14); padding: 4px; z-index: 60; }

.list-empty{padding:20px;text-align:center;color:var(--muted);font-size:13px}
  .form-check-label.check-card{gap:12px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface2)}
  .check-card-name{flex-shrink:0;width:130px;color:var(--muted);font-weight:700}
  .mini-table th,.mini-table td{padding:6px 10px}
  .mini-table tbody tr{border-top:1px solid var(--border)}
  .btn-icon{background:none;border:none;cursor:pointer;font-size:14px}
  .btn-go.btn-red{background:var(--red)}
  #inv-view-table { overflow-x: auto; }

.ft-mode-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 5px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.ft-mode-pill:hover {
  border-color: #059669;
  color: #047857;
  background: #ecfdf5;
}
.ft-mode-pill.is-pct {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.ft-ledger {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.ft-ledger-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}
.ft-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
  color: #1e293b;
}
.ft-ledger-row:last-child {
  border-bottom: none;
}
.ft-ledger-row.is-muted {
  color: #64748b;
  background: #fcfcfd;
}
.ft-ledger-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}
.ft-ledger-op {
  display: inline-block;
  width: 14px;
  text-align: center;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}
.ft-ledger-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #f8fafc;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}
.ft-ledger-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #ecfdf5;
  border-top: 1px solid #a7f3d0;
  font-size: 13px;
  font-weight: 700;
  color: #065f46;
}
.ft-ledger-total.is-neg {
  background: #fff1f2;
  border-top-color: #fecdd3;
  color: #be123c;
}
.ft-ledger-in-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.ft-ledger-pfx {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  min-width: 18px;
  text-align: right;
}
.ft-ledger-in {
  width: 90px;
  text-align: right;
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.ft-ledger-in:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.12);
}
.ft-ledger-in.is-muted {
  color: #64748b;
  border-color: #e2e8f0;
  font-weight: 500;
}

.ft-plat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}
#deploy-modal .lw-all-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { #deploy-modal .lw-all-grid { grid-template-columns: minmax(0, 1fr); } }
#deploy-modal .lw-all-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #ffffff; }
#deploy-modal .lw-all-id { display: flex; flex: 1 1 auto; align-items: center; gap: 6px; min-width: 0; }
#deploy-modal .lw-all-shot { display: flex; flex-direction: column; flex-shrink: 0; align-items: center; justify-content: center; gap: 4px; width: 64px; height: 80px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; color: #64748b; font-size: 10px; text-align: center; text-decoration: none; }
#deploy-modal .lw-all-shot img { width: 100%; height: 100%; object-fit: cover; }
#deploy-modal .lw-all-shot-wait { border: 2px dashed #a5b4fc; background: #eef2ff; color: #3730a3; font-weight: 700; }
#deploy-modal .lw-all-shot-fail { border: 2px solid #fb7185; background: #fff1f2; color: #be123c; font-weight: 700; }
#deploy-modal .lw-all-name { font-size: 12px; font-weight: 600; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#deploy-modal .lw-all-state { flex-shrink: 0; font-size: 11px; color: #64748b; }
#deploy-modal .lw-all-act { display: flex; flex-shrink: 0; align-items: center; gap: 6px; }
#deploy-modal .lw-all-busy { font-size: 11px; font-weight: 600; color: #4338ca; }
#deploy-modal .lw-shot-fail-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 146px; padding: 8px; border: 2px solid #fb7185; border-radius: 8px; background: #fff1f2; text-align: center; cursor: pointer; }
#deploy-modal .lw-shot-fail-word { font-size: 12px; font-weight: 700; color: #be123c; }
#deploy-modal .lw-shot-fail-retry { padding: 2px 8px; border: 0; border-radius: 4px; background: #e11d48; color: #ffffff; font-size: 11px; font-weight: 600; cursor: pointer; }
#deploy-modal .lw-shot-fail-retry:hover { background: #be123c; }
#deploy-modal .lw-shot-open { display: inline-block; font-size: 11px; font-weight: 600; color: #4f46e5; text-decoration: none; }
#deploy-modal .lw-shot-open:hover { text-decoration: underline; }
html[data-theme="dark"] #deploy-modal .lw-all-row { background: #171c26; border-color: #334155; }
html[data-theme="dark"] #deploy-modal .lw-all-name { color: #f1f5f9; }
html[data-theme="dark"] #deploy-modal .lw-all-shot { background: #0f172a; border-color: #334155; color: #94a3b8; }
html[data-theme="dark"] #deploy-modal .lw-all-shot-wait { background: rgba(99, 102, 241, 0.16); border-color: #818cf8; color: #c7d2fe; }
html[data-theme="dark"] #deploy-modal .lw-all-shot-fail { background: rgba(225, 29, 72, 0.16); border-color: #fb7185; color: #fda4af; }
html[data-theme="dark"] #deploy-modal .lw-all-state { color: #94a3b8; }
html[data-theme="dark"] #deploy-modal .lw-all-busy, html[data-theme="dark"] #deploy-modal .lw-shot-open { color: #a5b4fc; }
html[data-theme="dark"] #deploy-modal .lw-shot-fail-box { background: rgba(225, 29, 72, 0.16); border-color: #fb7185; }
html[data-theme="dark"] #deploy-modal .lw-shot-fail-word { color: #fda4af; }
#lw-view-ft-card + .w-px { width: 1px; margin: 0.25rem 0; }
#lw-view-ft-card .ft-vft-lbl { color: #1e293b; }
#lw-view-ft-card:has(#lw-split-switch:not(.on)) .ft-vft-lbl { color: #94a3b8; }
html[data-theme="dark"] #lw-view-ft-card .ft-vft-lbl { color: #f1f5f9; }
html[data-theme="dark"] #lw-view-ft-card:has(#lw-split-switch:not(.on)) .ft-vft-lbl { color: #94a3b8; }
.ft-set-scroll {
  max-height: 320px;
  overflow-y: auto;
}

/* Photo gallery: full-screen zoom and pan */
.ftpb-gstage .ftpb-gimg {
  transform: translate3d(var(--ftpb-tx, 0px), var(--ftpb-ty, 0px), 0) scale(var(--ftpb-z, 1));
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
  transition: transform 0.08s ease-out;
}
.ftpb-gstage.is-zoomed .ftpb-gimg {
  cursor: grab;
}
.ftpb-gstage.is-panning .ftpb-gimg {
  cursor: grabbing;
  transition: none;
}
.ftpb-gzpill {
  height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  font: 700 11.5px/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 30, 25, 0.12);
  transition: all 0.15s ease;
}
.ftpb-gzpill:hover {
  background: #ffffff;
  border-color: var(--muted);
}
.ftpb-gbtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.ftpb-gbtn.ftpb-gbtn-on {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}
.ftpb-gbtn.ftpb-gbtn-on:hover {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
}
.ftpb-ghint {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 24;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 500;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
#ftpb-gallery.ftpb-is-fs {
  background: rgba(11, 15, 23, 0.98);
  padding: 10px 14px;
}
#ftpb-gallery.ftpb-is-fs .ftpb-gcont {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  gap: 8px;
}
#ftpb-gallery.ftpb-is-fs .ftpb-gstage {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 12px;
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.14);
}
#ftpb-gallery.ftpb-is-fs .ftpb-etb,
#ftpb-gallery.ftpb-is-fs .ftpb-ebar,
#ftpb-gallery.ftpb-is-fs .ftpb-epanel,
#ftpb-gallery.ftpb-is-fs .ftpb-bgr-cap {
  display: none;
}
#ftpb-gallery.ftpb-is-fs .ftpb-bgr-under {
  display: none;
}
.ft-zoomable-thumb {
  cursor: zoom-in;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.ft-zoomable-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}


/* Pick drop-down: required-field marks, face, chips and menu */
.lr-req, .lw-v1 .required-star { color: #e11d48; font-weight: 700; margin-left: 2px; }
.lr-req-missing { border-color: #e11d48 !important; background: #fff1f2 !important; }
.ss-ms-native-hidden { display: none !important; }
.ss-specific-ms-wrap { position: relative; width: 100%; min-width: 0; }
.ss-specific-ms-wrap.ss-specific-ms-fit { display: inline-block; width: auto; max-width: 100%; vertical-align: middle; }
.ss-ms-btn, .ss-ms-trigger { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 32px; padding: 5px 9px; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; color: #0f172a; font-size: 12px; line-height: 1.35; text-align: left; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s; }
.ss-ms-btn:hover, .ss-ms-trigger:hover { border-color: #94a3b8; }
.ss-ms-btn:focus, .ss-ms-trigger:focus, .ss-specific-ms-wrap.is-open .ss-ms-btn { outline: none; border-color: #059669; box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.14); }
.ss-ms-btn.is-disabled { opacity: 0.55; background: #f8fafc; cursor: not-allowed; pointer-events: none; }
.ss-ms-btn.ss-ms-btn-sm { min-height: 29px; padding: 3px 8px; font-size: 11.5px; }
.ss-specific-ms-fit .ss-ms-btn { width: auto; white-space: nowrap; }
.ss-ms-face { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ss-ms-placeholder { color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-ms-single-txt, .ss-ms-value { color: #0f172a; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-ms-caret, .ss-ms-chevron { color: #64748b; font-size: 10px; line-height: 1; flex-shrink: 0; margin-left: 2px; }
.ss-ms-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 1px 6px; border-radius: 6px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 11px; font-weight: 600; line-height: 1.35; }
.ss-ms-chip-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.ss-ms-chip-x { display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: #059669; font-weight: 800; font-size: 12px; line-height: 1; padding: 0 1px; cursor: pointer; }
.ss-ms-chip-x:hover { color: #e11d48; }
.ss-specific-ms-dd { position: absolute; left: 0; top: calc(100% + 4px); min-width: 230px; width: 100%; max-width: min(440px, 92vw); background: #ffffff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16); z-index: 95; overflow: hidden; }
.ss-specific-ms-dd.is-align-right { left: auto; right: 0; }
.ss-specific-ms-dd.ft-hidden { display: none !important; }
.ss-ms-search-bar { display: flex; align-items: center; gap: 6px; padding: 7px 8px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.ss-ms-search-in { flex: 1 1 auto; min-width: 0; padding: 5px 8px; border: 1px solid #cbd5e1; border-radius: 7px; background: #ffffff; font-size: 12px; color: #0f172a; }
.ss-ms-search-in:focus { outline: none; border-color: #059669; }
.ss-ms-clear-btn { border: none; background: transparent; color: #64748b; font-size: 11px; font-weight: 600; cursor: pointer; padding: 2px 4px; flex-shrink: 0; }
.ss-ms-clear-btn:hover { color: #e11d48; text-decoration: underline; }
.ss-ms-list { max-height: 228px; overflow-y: auto; padding: 4px; }
.ss-ms-sec-lbl { padding: 4px 8px 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; }
.ss-ms-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 6px 8px; border: none; border-radius: 6px; background: transparent; color: #1e293b; font-size: 12px; text-align: left; cursor: pointer; }
.ss-ms-opt:hover { background: #f1f5f9; }
.ss-ms-opt.is-sel { background: #ecfdf5; color: #065f46; font-weight: 600; }
.ss-ms-opt-mark { font-size: 11px; font-weight: 700; color: #059669; flex-shrink: 0; }
.ss-ms-custom-btn { display: flex; align-items: center; gap: 6px; width: 100%; padding: 6px 8px; border: 1px dashed #6ee7b7; border-radius: 7px; background: #ecfdf5; color: #047857; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; margin-bottom: 3px; }
.ss-ms-custom-btn:hover { background: #d1fae5; }
.ss-ms-empty { padding: 10px 8px; text-align: center; font-size: 11.5px; color: #94a3b8; }
.ss-ms-foot { padding: 5px 9px; background: #f8fafc; border-top: 1px solid #f1f5f9; font-size: 10.5px; color: #64748b; display: flex; align-items: center; justify-content: space-between; gap: 6px; }

/* Category chooser and the in-flight send card */
.ft-cc { display: flex; flex-direction: column; gap: 8px; }
.ft-cc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ft-cc-title { font-size: 12px; font-weight: 600; color: #0f172a; display: inline-flex; align-items: center; gap: 6px; }
.ft-cc-pick-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 7px; border: 1px solid #cbd5e1; background: #ffffff; color: #1e293b; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: border-color 0.12s, background 0.12s; }
.ft-cc-pick-btn:hover { border-color: #059669; color: #047857; background: #ecfdf5; }
.ft-cc-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; padding: 9px 11px; border-radius: 9px; background: #f8fafc; border: 1px solid #e2e8f0; }
.ft-cc-col { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ft-cc-lbl { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #64748b; }
.ft-cc-link { border: none; background: transparent; padding: 0; text-align: left; font-size: 12.5px; font-weight: 700; color: #047857; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-cc-link:hover { color: #065f46; }
.ft-cc-in { font-size: 11px; color: #64748b; line-height: 1.35; }
.ft-cc-map-pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 999px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 10.5px; font-weight: 600; }
.ft-cc-back { width: 28px; height: 28px; border-radius: 7px; border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ft-cc-back.is-off { visibility: hidden; pointer-events: none; }
.ft-cc-q { width: 100%; padding: 8px 32px 8px 11px; border: 1px solid #cbd5e1; border-radius: 9px; font-size: 13px; color: #0f172a; background: #ffffff; }
.ft-cc-q:focus { outline: none; border-color: #059669; box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.14); }
.ft-cc-x { position: absolute; right: 24px; top: 50%; transform: translateY(-35%); border: none; background: transparent; color: #94a3b8; font-size: 17px; cursor: pointer; padding: 2px 5px; }
.ft-cc-x:hover { color: #0f172a; }
.ft-cc-sel { padding: 8px 10px; border-radius: 8px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 12px; font-weight: 600; }
.ft-cc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 4px 2px 8px; font-size: 11.5px; color: #64748b; border-bottom: 1px solid #f1f5f9; margin-bottom: 4px; }
.ft-cc-crumbs button { border: none; background: transparent; padding: 0; color: #047857; font-weight: 600; cursor: pointer; text-decoration: underline; }
.ft-cc-row { width: 100%; padding: 9px 10px; border-radius: 8px; border: 1px solid transparent; background: #ffffff; color: #1e293b; font-size: 12.5px; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: background 0.1s, border-color 0.1s; }
.ft-cc-row:hover { background: #f8fafc; border-color: #e2e8f0; }
.ft-cc-row.on { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; font-weight: 600; }
.ft-cc-rowin { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0; }
.ft-cc-dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #94a3b8; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.ft-cc-row.on .ft-cc-dot { border-color: #059669; background: #059669; box-shadow: inset 0 0 0 2.5px #ffffff; }
.ft-cc-chev { font-size: 17px; font-weight: 700; color: #94a3b8; flex-shrink: 0; line-height: 1; }
.ft-cc-hmain { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ft-cc-hlbl { font-size: 11px; font-weight: 600; color: #64748b; }
.ft-cc-hval { font-size: 12.5px; font-weight: 600; color: #0f172a; }
.ft-cc-sub { font-size: 11.5px; color: #64748b; margin: 2px 0 6px; line-height: 1.4; }
.ft-cc-done { padding: 6px 18px; border-radius: 8px; border: none; background: #059669; color: #ffffff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ft-cc-done:disabled { opacity: 0.4; cursor: not-allowed; }
.ft-cc-sites { display: inline-flex; align-items: center; flex-shrink: 0; }
.ft-cc-site { border: none; background: transparent; font-weight: 600; cursor: pointer; }
.ft-cc-head .ft-cc-sites { margin-left: auto; padding: 2px; border-radius: 6px; border: 1px solid #e2e8f0; background: #f1f5f9; }
.ft-cc-head .ft-cc-site { padding: 2px 6px; border-radius: 4px; font-size: 10.5px; color: #64748b; }
.ft-cc-head .ft-cc-site:hover { color: #1e293b; }
.ft-cc-head .ft-cc-site.on { background: #ffffff; color: #047857; box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08); }
.ft-cc-head .ft-cc-site.on[data-site="motors"] { background: #4f46e5; color: #ffffff; }
.ft-cc-motors-pill { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 999px; background: #eef2ff; border: 1px solid #c7d2fe; color: #4338ca; font-size: 10px; font-weight: 600; }
.ft-cc-sitebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; font-size: 12px; font-weight: 600; color: #475569; }
.ft-cc-sitebar .ft-cc-sites { padding: 2px; border-radius: 8px; border: 1px solid #e2e8f0; background: #ffffff; }
.ft-cc-sitebar .ft-cc-site { padding: 2px 10px; border-radius: 6px; font-size: 12px; color: #475569; }
.ft-cc-sitebar .ft-cc-site:hover { color: #0f172a; }
.ft-cc-sitebar .ft-cc-site.on { background: #059669; color: #ffffff; box-shadow: 0 1px 1px rgba(15, 23, 42, 0.08); }
.ft-cc-sitebar .ft-cc-site.on[data-site="motors"] { background: #4f46e5; }
html[data-theme="dark"] .ft-cc-head .ft-cc-sites, html[data-theme="dark"] .ft-cc-sitebar .ft-cc-sites { border-color: #334155; background: #1f2633; }
html[data-theme="dark"] .ft-cc-site { color: #cbd5e1; }
html[data-theme="dark"] .ft-cc-head .ft-cc-site.on { background: #171c26; color: #6ee7b7; }
html[data-theme="dark"] .ft-cc-head .ft-cc-site.on[data-site="motors"], html[data-theme="dark"] .ft-cc-sitebar .ft-cc-site.on { background: #4f46e5; color: #ffffff; }
html[data-theme="dark"] .ft-cc-sitebar { border-color: #2b3445; background: #1f2633; color: #cbd5e1; }
html[data-theme="dark"] .ft-cc-motors-pill { border-color: rgb(129 140 248 / 0.4); background: rgb(79 70 229 / 0.2); color: #c7d2fe; }
.lw-racing-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 14px; padding: 26px 28px; max-width: 420px; width: 92%; box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28); text-align: center; }
.lw-racing-glyph { width: 48px; height: 48px; border-radius: 50%; background: #f1f5f9; color: #059669; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.lw-racing-glyph.is-listed { background: #059669; color: #ffffff; font-size: 24px; }
.lw-racing-glyph.is-alert { background: #fff1f2; color: #e11d48; font-size: 22px; }
.lw-racing-head { font-family: "Chakra Petch", sans-serif; font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.lw-racing-sub { font-size: 12px; color: #64748b; margin-bottom: 10px; line-height: 1.45; }
.lw-racing-link { display: inline-block; margin-bottom: 14px; color: #059669; font-size: 12.5px; font-weight: 700; text-decoration: underline; }

/* Logo lockup */
:root {
  --font-head: "Chakra Petch", sans-serif;
}
.ft-logo-lockup { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ft-logo-mark { width: 34px; height: 34px; border-radius: 7px; object-fit: contain; flex: 0 0 34px; }
.ft-word { font-family: "Chakra Petch", sans-serif; font-weight: 700; font-style: italic; font-size: 14.5px; line-height: 1; letter-spacing: 0.2px; color: #1a1d26; white-space: nowrap; transform: skewX(-13deg); display: inline-block; }
.ft-word-accent { color: #17a35a; }
.ft-flag { width: 19px; height: 19px; flex: 0 0 19px; display: block; }
.lw-racing-card .ftl { width: 280px; height: 124px; margin: 0 auto 10px; display: block; }

/* === The Sell similar iframe overlay (js/items/sell-similar-fill.js) and the e-List send window (#deploy-modal) === */
.ssf-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); z-index: 1300; align-items: center; justify-content: center; }
.ssf-overlay.open { display: flex; }
.ssf-panel { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 14px; width: 96%; height: 94%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, .4); }
.ssf-head { padding: 14px 20px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; background: #ffffff; }
.ssf-title { font-size: 15px; font-weight: 700; color: #0f172a; }
.ssf-head .btn-plain { padding: 6px 12px; background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 7px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ssf-head .btn-plain:hover { background: #f1f5f9; border-color: #94a3b8; }
.ssf-iframe { flex: 1; width: 100%; border: none; background: #f8fafc; }

.deploy-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .56); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.deploy-overlay.open { display: flex; }
#deploy-modal > .modal-container { width: 90vw; max-width: 1560px; height: 90vh; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 14px; box-shadow: 0 24px 64px rgba(15, 23, 42, .32); overflow: hidden; display: flex; flex-direction: column; font-family: "Barlow", system-ui, sans-serif; color: #0f172a; }
#deploy-modal .lw-header { padding: 16px 20px; background: #ffffff; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#deploy-modal .modal-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
#deploy-modal .pt-font-16 { font-size: 16px; font-weight: 700; color: #0f172a; }
#deploy-modal .sku-badge { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13.5px; font-weight: 700; color: #0f172a; background: #f1f5f9; border: 1px solid #cbd5e1; padding: 3px 9px; border-radius: 6px; }
#deploy-modal .item-title-summary { font-size: 14.5px; font-weight: 600; color: #0f172a; max-width: 680px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#deploy-modal .pt-hide { display: none !important; }
#deploy-modal .deploy-stage { flex: 1; overflow-y: auto; padding: 20px; }
#deploy-modal .deploy-confirm-q { font-weight: 700; font-size: 13.5px; margin: 4px 0 10px; color: #0f172a; }
#deploy-modal .deploy-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
#deploy-modal .deploy-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; }
#deploy-modal .deploy-item.skipped { opacity: .5; }
#deploy-modal .deploy-item-left { display: flex; align-items: center; gap: 10px; color: #0f172a; }
#deploy-modal .deploy-item-right { display: flex; align-items: center; gap: 10px; }
#deploy-modal .pt-font-12 { font-size: 12px; color: #64748b; }
#deploy-modal .platform-tabs-bar { display: flex; align-items: stretch; background: #f1f5f9; border-bottom: 2px solid #e2e8f0; padding: 8px 16px 0; gap: 6px; overflow-x: auto; overflow-y: hidden; flex-shrink: 0; }
#deploy-modal .p-tab { display: flex; align-items: center; gap: 8px; padding: 10px 14px 11px; background: #ffffff; border: 1px solid #cbd5e1; border-bottom: none; border-radius: 9px 9px 0 0; color: #64748b; cursor: pointer; position: relative; top: 2px; transition: all .15s ease; user-select: none; white-space: nowrap; font-weight: 600; }
#deploy-modal .p-tab:hover { background: #f8fafc; color: #0f172a; }
#deploy-modal .p-tab.active { background: #ffffff; color: #0f172a; border-color: #94a3b8; border-top: 3px solid #2563eb; padding-top: 8px; z-index: 2; box-shadow: 0 -2px 8px rgba(15,23,42,.05); }
#deploy-modal .p-tab .p-dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; }
#deploy-modal .p-tab.on .p-dot { background: #16a34a; box-shadow: 0 0 7px #16a34a; }
#deploy-modal .p-tab:not(.on) .p-dot { background: #ef4444; }
#deploy-modal .p-tab-logo { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
#deploy-modal .p-tab-name { font-size: 13.5px; }
#deploy-modal .p-tab-meta { font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 10px; background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
#deploy-modal .p-tab.on .p-tab-meta { color: #0f172a; background: #dcfce7; border-color: #86efac; color: #166534; font-weight: 600; }
#deploy-modal .deploy-shots { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 14px; padding: 14px 20px 0; flex-shrink: 0; }
#deploy-modal .deploy-shot-cell { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; max-width: 280px; }
#deploy-modal .deploy-shot-link { display: block; max-width: 280px; max-height: 46vh; overflow-y: auto; border: 1px solid #cbd5e1; border-radius: 6px; background: #f8fafc; box-shadow: 0 2px 6px rgba(15,23,42,.06); }
#deploy-modal .deploy-shot { display: block; width: 100%; height: auto; }
#deploy-modal .deploy-result-body { flex: 1; overflow-y: auto; padding: 14px 20px; }
#deploy-modal .deploy-shot-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#deploy-modal .deploy-promoted { font-size: 13px; color: #64748b; margin-bottom: 12px; }
#deploy-modal .deploy-errors { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 12px; }
#deploy-modal .btn-small { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px; background: #f8fafc; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 12.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
#deploy-modal .btn-small:hover { background: #f1f5f9; border-color: #94a3b8; }
#deploy-modal .badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
#deploy-modal .badge.b-grey { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
#deploy-modal .badge.b-sending { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
#deploy-modal .badge.b-ok { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
#deploy-modal .badge.b-failed { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
#deploy-modal .lw-footer { padding: 12px 20px; background: #ffffff; border-top: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#deploy-modal .footer-nav-group { display: flex; align-items: center; gap: 8px; }
#deploy-modal .btn-cancel { padding: 8px 16px; background: #ffffff; border: 1px solid #cbd5e1; color: #0f172a; border-radius: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
#deploy-modal .btn-cancel:hover { border-color: #0f172a; }
#deploy-modal .btn-submit { padding: 8px 20px; background: #17a35a; color: #ffffff; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
#deploy-modal .btn-submit:hover { filter: brightness(.94); }
:root { --surface: #ffffff; --surface2: #f8fafc; --border: #e2e8f0; --text: #0f172a; --muted: #64748b; --accent: #17a35a; --shadow-sm: 0 1px 3px rgba(15,23,42,.08); }
.ft-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 14px; }
.ft-tile { display: flex; flex-direction: column; overflow: hidden; background: #ffffff; color: #0f172a; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.ft-tile.ft-tile-static, .ft-tile.ft-tile-static:hover { cursor: default; }
.ft-tile.op-50 { opacity: 0.48; }
.ft-tile-img { position: relative; aspect-ratio: 1 / 1; background: #f1f5f9; }
.ft-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ft-tile-price { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 12px; background: rgba(255,255,255,0.95); color: #0f172a; font-size: 12px; font-weight: 800; box-shadow: 0 1px 4px rgba(15,23,42,.16); }
.pc-tick { width: 18px; height: 18px; accent-color: #17a35a; cursor: pointer; }
.ft-tile-info { padding: 8px 10px; }
.ft-tile-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 600; line-height: 1.35; color: #0f172a; }
.modal-overlay.open.ovl-z-1700 { position: fixed; inset: 0; z-index: 1700; background: rgba(15,23,42,.56); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sold-modal.modal-col-1100 { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 16px; width: 1100px; max-width: 96vw; max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 64px rgba(15,23,42,.3); color: #0f172a; }
.sold-modal .modal-header { padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8f0; background: #ffffff; }
.sold-modal .modal-header h3 { font-size: 17px; font-weight: 700; margin: 0; color: #0f172a; }
.sold-modal .modal-close { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 8px; width: 30px; height: 30px; font-size: 15px; cursor: pointer; color: #475569; }
.sold-modal .modal-close:hover { background: #f1f5f9; color: #0f172a; }
.scroll-pad-16-22 { padding: 16px 22px; overflow-y: auto; flex: 1; }
.lr-evid-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748b; margin: 14px 0 6px; }
.btn-edit { padding: 5px 12px; border-radius: 7px; border: 1px solid #17a35a; background: #17a35a; color: #ffffff; font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-edit:hover { filter: brightness(.94); }
[data-pc-box] .btn-small, [data-pc-pop] .btn-small { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 6px; border: 1px solid #cbd5e1; background: #ffffff; color: #0f172a; font-size: 11.5px; font-weight: 700; cursor: pointer; }
[data-pc-box] .btn-small:hover, [data-pc-pop] .btn-small:hover { background: #f1f5f9; border-color: #94a3b8; }
.lnk { color: #059669; font-size: 12px; font-weight: 600; text-decoration: none; }
.lnk:hover { text-decoration: underline; }
.fs-11 { font-size: 11px; } .fs-12 { font-size: 12px; } .sc-muted { color: #64748b; } .mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .m-0 { margin: 0; }

/* === Mileage toggle, dark theme and mileage map === */

.mil-seg { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; background: #ffffff; }
.mil-seg-btn { padding: 4px 9px; font-size: 11px; font-weight: 600; color: #475569; background: transparent; border: 0; cursor: pointer; transition: all .12s; white-space: nowrap; }
.mil-seg-sep { border-right: 1px solid #e2e8f0; }
.mil-seg-btn:hover { background: #f8fafc; color: #0f172a; }
.mil-seg-on-business { background: #dcfce7 !important; color: #166534 !important; }
.mil-seg-on-personal { background: #dbeafe !important; color: #1e40af !important; }
.mil-seg-on-ignored  { background: #f1f5f9 !important; color: #475569 !important; }

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { background-color: #0f131a !important; color: #e2e8f0 !important; }
html[data-theme="dark"] aside,
html[data-theme="dark"] .bg-white { background-color: #171c26 !important; color: #e2e8f0 !important; }
html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-slate-50\/40,
html[data-theme="dark"] .bg-slate-50\/60,
html[data-theme="dark"] .bg-slate-50\/70,
html[data-theme="dark"] .bg-slate-50\/80,
html[data-theme="dark"] .bg-slate-100 { background-color: #1f2633 !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .border-slate-100,
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-slate-300,
html[data-theme="dark"] .divide-slate-100 > :not([hidden]) ~ :not([hidden]),
html[data-theme="dark"] .divide-rose-100 > :not([hidden]) ~ :not([hidden]) { border-color: #2b3445 !important; }
html[data-theme="dark"] .bg-slate-200 { background-color: #2b3445 !important; }
html[data-theme="dark"] .hover\:bg-slate-200:hover { background-color: #334155 !important; }
html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800 { color: #f1f5f9 !important; }
html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-600 { color: #cbd5e1 !important; }
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .text-slate-400 { color: #94a3b8 !important; }
html[data-theme="dark"] .ft-word { color: #f8fafc !important; }
html[data-theme="dark"] .ft-word-accent { color: #34d399 !important; }
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background-color: #121721 !important; color: #f1f5f9 !important; border-color: #334155 !important; }
html[data-theme="dark"] .ftpb { --surface: #171c26; --surface2: #1f2633; --border: #2b3445; --text: #f1f5f9; --muted: #94a3b8; }
html[data-theme="dark"] .ft-ledger { background: #171c26 !important; border-color: #2b3445 !important; }
html[data-theme="dark"] .ft-ledger-hdr,
html[data-theme="dark"] .ft-ledger-sub { background: #1f2633 !important; border-color: #2b3445 !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .ft-ledger-row { border-color: #262f3f !important; }
html[data-theme="dark"] .hover\:bg-slate-50:hover,
html[data-theme="dark"] .hover\:bg-slate-50\/80:hover,
html[data-theme="dark"] .hover\:bg-slate-50\/90:hover,
html[data-theme="dark"] .hover\:bg-slate-100:hover { background-color: #232b3a !important; }
html[data-theme="dark"] .bg-emerald-50,
html[data-theme="dark"] .bg-emerald-50\/30,
html[data-theme="dark"] .bg-emerald-50\/50,
html[data-theme="dark"] .bg-emerald-50\/60 { background-color: rgba(16, 185, 129, 0.14) !important; color: #6ee7b7 !important; border-color: rgba(52, 211, 153, 0.35) !important; }
html[data-theme="dark"] .text-emerald-700,
html[data-theme="dark"] .text-emerald-800,
html[data-theme="dark"] .text-emerald-950 { color: #34d399 !important; }
html[data-theme="dark"] .bg-amber-50,
html[data-theme="dark"] .bg-amber-50\/30,
html[data-theme="dark"] .bg-amber-50\/40 { background-color: rgba(245, 158, 11, 0.14) !important; color: #fcd34d !important; border-color: rgba(251, 191, 36, 0.35) !important; }
html[data-theme="dark"] .text-amber-700,
html[data-theme="dark"] .text-amber-800,
html[data-theme="dark"] .text-amber-900 { color: #fbbf24 !important; }
html[data-theme="dark"] .bg-rose-50,
html[data-theme="dark"] .bg-rose-50\/20,
html[data-theme="dark"] .bg-rose-50\/60 { background-color: rgba(244, 63, 94, 0.14) !important; color: #fda4af !important; border-color: rgba(251, 113, 133, 0.35) !important; }
html[data-theme="dark"] .text-rose-600,
html[data-theme="dark"] .text-rose-700,
html[data-theme="dark"] .text-rose-800 { color: #fb7185 !important; }
html[data-theme="dark"] .bg-blue-50,
html[data-theme="dark"] .bg-indigo-50,
html[data-theme="dark"] .bg-purple-50,
html[data-theme="dark"] .bg-purple-50\/10 { background-color: rgba(99, 102, 241, 0.16) !important; color: #c7d2fe !important; border-color: rgba(129, 140, 248, 0.35) !important; }
html[data-theme="dark"] .text-blue-700,
html[data-theme="dark"] .text-indigo-700,
html[data-theme="dark"] .text-indigo-800,
html[data-theme="dark"] .text-purple-700,
html[data-theme="dark"] .text-purple-900 { color: #a5b4fc !important; }
html[data-theme="dark"] .mil-seg { background: #121721; border-color: #334155; }
html[data-theme="dark"] .mil-seg-sep { border-color: #2b3445; }
html[data-theme="dark"] .mil-seg-btn { color: #94a3b8; }
html[data-theme="dark"] .mil-seg-btn:hover { background: #1f2633; color: #f1f5f9; }
html[data-theme="dark"] .mil-seg-on-business { background: rgba(16, 185, 129, 0.22) !important; color: #6ee7b7 !important; }
html[data-theme="dark"] .mil-seg-on-personal { background: rgba(59, 130, 246, 0.22) !important; color: #93c5fd !important; }
html[data-theme="dark"] .mil-seg-on-ignored  { background: #262f3f !important; color: #cbd5e1 !important; }

.ft-mileage-map-box { height: 420px; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid #cbd5e1; z-index: 1; }
html[data-theme="dark"] .ft-mileage-map-box { border-color: #334155; }
.ft-mileage-div-icon { background: transparent; border: 0; }
.mil-pin-num { width: 24px; height: 24px; border-radius: 999px; background: #17a35a; color: #ffffff; border: 2px solid #ffffff; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mil-pin-origin { width: 24px; height: 24px; border-radius: 999px; background: #0f172a; color: #ffffff; border: 2px solid #ffffff; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mil-pin-stop { width: 12px; height: 12px; border-radius: 999px; background: #f59e0b; border: 2px solid #ffffff; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.35); }

/* Dark theme of the pick drop-down's face and menu, the header alert pill and the e-List window (#deploy-modal): surfaces #171c26 and #1f2633, fields #121721, edges #2b3445 and #334155. */
html[data-theme="dark"] .ss-ms-btn { background: #121721; border-color: #334155; color: #f1f5f9; }
html[data-theme="dark"] .ss-ms-btn:hover { border-color: #475569; }
html[data-theme="dark"] .ss-ms-btn:focus, html[data-theme="dark"] .ss-specific-ms-wrap.is-open .ss-ms-btn { border-color: #34d399; box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2); }
html[data-theme="dark"] .ss-ms-btn.is-disabled { background: #1f2633; }
html[data-theme="dark"] .ss-ms-single-txt { color: #f1f5f9; }
html[data-theme="dark"] :is(.ss-ms-caret, .ss-ms-placeholder, .ss-ms-sec-lbl, .ss-ms-empty, .ss-ms-clear-btn, .ss-ms-foot) { color: #94a3b8; }
html[data-theme="dark"] .ss-ms-chip { background: rgba(16, 185, 129, 0.14); border-color: rgba(52, 211, 153, 0.35); color: #6ee7b7; }
html[data-theme="dark"] .ss-ms-chip-x, html[data-theme="dark"] .ss-ms-opt-mark { color: #34d399; }
html[data-theme="dark"] .ss-specific-ms-dd { background: #171c26; border-color: #334155; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .ss-ms-search-bar, html[data-theme="dark"] .ss-ms-foot { background: #1f2633; border-color: #2b3445; }
html[data-theme="dark"] .ss-ms-opt { color: #e2e8f0; }
html[data-theme="dark"] .ss-ms-opt:hover { background: #232b3a; }
html[data-theme="dark"] .ss-ms-opt.is-sel { background: rgba(16, 185, 129, 0.16); color: #6ee7b7; }
html[data-theme="dark"] .ss-ms-custom-btn { background: rgba(16, 185, 129, 0.14); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
html[data-theme="dark"] .ss-ms-custom-btn:hover { background: rgba(16, 185, 129, 0.22); }
html[data-theme="dark"] .header-alert-pill { background: #1f2633; border-color: #2b3445; }
html[data-theme="dark"] #deploy-modal > .modal-container { background: #171c26; border-color: #2b3445; color: #e2e8f0; }
html[data-theme="dark"] #deploy-modal :is(.lw-header, .lw-footer) { background: #171c26; border-color: #2b3445; }
html[data-theme="dark"] #deploy-modal :is(.pt-font-16, .item-title-summary, .deploy-confirm-q, .deploy-item-left) { color: #f1f5f9; }
html[data-theme="dark"] #deploy-modal :is(.pt-font-12, .deploy-promoted) { color: #94a3b8; }
html[data-theme="dark"] #deploy-modal .sku-badge { background: #1f2633; border-color: #334155; color: #f1f5f9; }
html[data-theme="dark"] #deploy-modal .deploy-item { background: #1f2633; border-color: #2b3445; }
html[data-theme="dark"] #deploy-modal .platform-tabs-bar { background: #121721; border-color: #2b3445; }
html[data-theme="dark"] #deploy-modal .p-tab { background: #171c26; border-color: #334155; color: #94a3b8; }
html[data-theme="dark"] #deploy-modal .p-tab:hover { background: #1f2633; color: #f1f5f9; }
html[data-theme="dark"] #deploy-modal .p-tab.active { background: #171c26; border-color: #475569; border-top-color: #60a5fa; color: #f1f5f9; box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.35); }
html[data-theme="dark"] #deploy-modal .p-tab-meta { background: #1f2633; border-color: #334155; color: #cbd5e1; }
html[data-theme="dark"] #deploy-modal .p-tab.on .p-tab-meta { background: rgba(16, 185, 129, 0.16); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
html[data-theme="dark"] #deploy-modal .deploy-shot-link { background: #1f2633; border-color: #334155; }
html[data-theme="dark"] #deploy-modal .btn-small, html[data-theme="dark"] #deploy-modal .btn-cancel { background: #171c26; border-color: #334155; color: #f1f5f9; }
html[data-theme="dark"] #deploy-modal .btn-small:hover { background: #232b3a; border-color: #475569; }
html[data-theme="dark"] #deploy-modal .btn-cancel:hover { border-color: #94a3b8; }
html[data-theme="dark"] #deploy-modal .badge.b-grey { background: #1f2633; border-color: #334155; color: #cbd5e1; }
html[data-theme="dark"] #deploy-modal .badge.b-sending { background: rgba(14, 165, 233, 0.16); border-color: rgba(125, 211, 252, 0.4); color: #7dd3fc; }
html[data-theme="dark"] #deploy-modal .badge.b-ok { background: rgba(16, 185, 129, 0.16); border-color: rgba(52, 211, 153, 0.4); color: #6ee7b7; }
html[data-theme="dark"] #deploy-modal .badge.b-failed { background: rgba(244, 63, 94, 0.16); border-color: rgba(251, 113, 133, 0.4); color: #fda4af; }
/* To Ship's added columns (js/v1/screens/orders-ship.js v1OrdCells(), v1OrdShipHead()): the header row from 1024px, where the values lose their own words; the buttons' room in the header row takes space and shows nothing. */
.ord-cols { column-gap: 0.75rem; }
.ord-cols-head { display: none; }
.ord-cols-room { visibility: hidden; }
@media (min-width: 1024px) { .ord-cols-head { display: flex; } .ord-col-word { display: none; } }
