/* css/v1/add-flip.css — Start Flip's page (js/v1/markup/add-markup.js, the cards of js/v1/cards/add-*.js): the heading and sub line that follow the SKU badge, the page's width,
   the live title beside the heading, the "mapped" tick beside the FT Category (the chip classic writes into #badge-f-cat-search, js/items/add-item-sell-similar.js), the Location box in the package grid, and the GoFlipTrack Data column's compact boxes (Gemini's #add-col-ft-data). */
#add-hdr-wrap:has(#modal-sku-badge.ft-hidden) .add-sub-edit{display:none}
#add-hdr-wrap:has(#modal-sku-badge:not(.ft-hidden)) .add-sub-start{display:none}
#view-add{max-width:1480px;padding:0 1.5rem}
/* Platform Item Specifics (js/v1/cards/add-category.js): classic's block under the card's own heading, with the count at the heading's right. Filled and required rows two to a line, a row of chips the whole line;
   under a rule the rows drawn blank, paler, four to a line; then Show N more. */
#add-specs > :first-child{padding-right:6rem}
#add-specs .lr-head{display:none}
#add-specs .form-info{font-size:12px;color:#64748b}
#add-specs [data-spec-count]{position:absolute;top:.75rem;right:0;font-size:11px;font-variant-numeric:tabular-nums}
#add-specs .lr-sec:has(.lr-spec-row){display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.75rem;align-items:start;font-size:12px}
#add-specs .ft-spec-more:not([hidden]){display:contents}
#add-specs .lr-spec-row{grid-column:span 6;order:1;min-width:0}
#add-specs .lr-spec-row:has(.ss-ms-chip):not(.lr-spec-blank){grid-column:1 / -1}
#add-specs .lr-sec:has(.lr-spec-blank)::after{content:"";grid-column:1 / -1;order:2;border-top:1px solid #f1f5f9}
#add-specs .lr-spec-blank{grid-column:span 3;order:3}
/* A value too long for its box makes the box wider, a step at a time (ftSpecificsFit(), js/items/specifics-block.js). */
#add-specs .lr-spec-row[data-spec-wide="1"]{grid-column:span 9}
#add-specs .lr-spec-blank[data-spec-wide="1"]{grid-column:span 6}
#add-specs .lr-spec-blank[data-spec-wide="2"]{grid-column:span 9}
#add-specs .lr-spec-row[data-spec-wide="full"]{grid-column:1 / -1}
/* the last box of a line opens its menu leftwards, so the page's edge does not cut it */
#add-specs [data-spec-end] .ss-specific-ms-dd{left:auto;right:0}
#add-specs .ft-spec-more-row{grid-column:1 / -1;order:4}
#add-specs .lr-spec-label{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;margin-bottom:.25rem;color:#475569}
#add-specs .lr-spec-blank .lr-spec-label{flex-wrap:nowrap;color:#94a3b8}
#add-specs .lr-spec-blank .lr-spec-label > span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#add-specs .lr-spec-label > .lr-req{margin:0;color:inherit;font-weight:inherit}
#add-specs .lr-spec-label > .lr-req::after{content:"*";margin-left:2px;color:#e11d48;font-weight:700}
#add-specs .ss-ms-trigger{min-height:29px;padding:3px 8px;font-size:11.5px}
#add-specs .lr-in{width:100%;min-height:29px;padding:3px 8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:11.5px}
#add-specs .lr-in:focus{outline:none;border-color:#059669;box-shadow:0 0 0 2px rgb(5 150 105 / .14)}
#add-specs .lr-in.lr-overlen,#add-specs .lr-in.lr-req-missing{border-color:#e11d48}
#add-specs .lr-wb-row:not(.is-shown){display:none}
#add-specs [data-spec-showmore]{padding:.25rem .75rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:12px;font-weight:600}
#add-specs [data-spec-showmore]:hover{border-color:#059669;color:#047857}
@media (max-width:639px){
  #add-specs .lr-spec-row,#add-specs .lr-spec-row[data-spec-wide]{grid-column:1 / -1}
  #add-specs .lr-spec-blank:not([data-spec-wide]){grid-column:span 6}
}
/* The length, width and height line (js/items/specifics-block.js ftSpecificsLwhWrap()): a line of its own among the filled rows, or among the
   blank ones when all three are blank, the three in its thirds at every width. */
#add-specs .ft-spec-lwh{grid-column:1 / -1;order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:start}
#add-specs .ft-spec-lwh:not(:has(.lr-spec-row:not(.lr-spec-blank))){order:3}
#add-specs .ft-spec-lwh > .lr-spec-row,#add-specs .ft-spec-lwh > .lr-spec-row[data-spec-wide],#add-specs .ft-spec-lwh > .lr-spec-row:has(.ss-ms-chip){grid-column:auto;order:0}
html[data-theme="dark"] #add-specs .lr-spec-label{color:#cbd5e1}
html[data-theme="dark"] #add-specs .lr-spec-blank .lr-spec-label{color:#94a3b8}
html[data-theme="dark"] #add-specs .lr-sec:has(.lr-spec-blank)::after{border-color:#2b3445}
html[data-theme="dark"] #add-specs [data-spec-showmore]{border-color:#334155;background:#171c26;color:#f1f5f9}
#add-col-ft-data,#add-session-qrail{top:var(--add-col-top)}
#modal-item-title:not(:empty)::before{content:"— "}
#view-add .badge.b-mapped{display:inline-flex;align-items:center;margin-left:4px;padding:1px 6px;border-radius:4px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;font-size:10px;font-weight:700;vertical-align:middle;white-space:nowrap}
#view-add .badge.b-mapped::before{content:"\2713\00a0"}
html[data-theme="dark"] #view-add .badge.b-mapped{background:rgb(16 185 129 / 0.16);border-color:rgb(52 211 153 / 0.4);color:#6ee7b7}
.v1-pkg-loc{grid-template-columns:1.25fr repeat(5,minmax(0,1fr)) minmax(62px,1.3fr)}
/* The package boxes: one row where it fits, else two rows (Start Flip: Location, Lbs, Oz over Len, Wid, Hgt, DIM; List Flip: three over three), so each box shows four digits. */
.f-pkg-box{container-type:inline-size}
.f-pkg-box input[type="number"]{padding-inline:.25rem;appearance:textfield;-moz-appearance:textfield}
.f-pkg-box input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
@container (max-width:400px){
  .v1-pkg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v1-pkg-loc{grid-template-columns:repeat(12,minmax(0,1fr))}
  .v1-pkg-loc > *{grid-column:span 4}
  .v1-pkg-loc > :nth-child(n+4){grid-column:span 3}
}
/* The GoFlipTrack Data column scrolls inside itself beside the listing column. */
@media (min-width:1024px){
  #add-col-ft-data{max-height:calc(100vh - 162px)}
}
#add-col-ft-data :is(input:not([type="checkbox"],.pl-7),select,textarea){padding:.25rem .5rem;font-size:12px}
#add-col-ft-data .f-pkg-box input[type="number"]{padding-inline:.25rem}
html[data-theme="dark"] #add-sticky-hdr{background-color:rgb(15 19 26 / 0.95);border-color:#2b3445}
html[data-theme="dark"] #add-sticky-footer{background-color:rgb(23 28 38 / 0.95);border-color:#2b3445}
html[data-theme="dark"] #add-session-qrail{background-color:#171c26;border-color:#2b3445}

/* Copy from Flip's windows (js/v1/cards/add-copy-from.js): the classes classic's js/items/batch-copy-details.js draws its search rows and its checklist rows with */
#bcd-search-results .pick-row{border-radius:0;border-bottom:1px solid #f1f5f9;font-size:12px}
#bcd-search-results .pick-row:hover{background:rgb(236 253 245 / 0.5)}
#bcd-search-results .list-note{padding:1rem;font-size:12px;text-align:center}
#bcd-search-results .sc-red{color:#e11d48}
:is(#bcd-search-results,#bcd-fields-list) .flex-fill{flex:1 1 0%;min-width:0}
:is(#bcd-search-results,#bcd-fields-list) .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#bcd-search-results,#bcd-fields-list) .fw-600{font-weight:600}
#bcd-search-results .mr-8{margin-right:8px}
#bcd-fields-list .check-card{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;color:#0f172a;font-size:12px;cursor:pointer}
#bcd-fields-list .check-card:hover{background:#f8fafc}
#bcd-fields-list .check-card.v1-bcd-filled{opacity:.6;background:rgb(248 250 252 / 0.8);border-color:#f1f5f9}
#bcd-fields-list .check-card-name{width:auto;font-weight:500;color:#475569}
#bcd-fields-list .list-empty{padding:1rem;font-size:12px}
html[data-theme="dark"] #bcd-search-results .pick-row{border-bottom-color:#2b3445;color:#e2e8f0}
html[data-theme="dark"] #bcd-search-results .pick-row:hover{background:rgb(16 185 129 / 0.12)}
html[data-theme="dark"] #bcd-fields-list .check-card{background:#171c26;border-color:#2b3445;color:#e2e8f0}
html[data-theme="dark"] #bcd-fields-list .check-card:hover{background:#1f2633}
html[data-theme="dark"] #bcd-fields-list .check-card-name{color:#cbd5e1}
