/* css/v1/list-ebay-cards.css — the look of the List Flip window's eBay cards (js/v1/markup/list-ebay.js), every rule scoped to #form-ebay: the
   photo card's required star, the card text and drop-down sizes, the Flip Details card (title box, the category block's frame), the 3-column rows of
   the identifier block classic draws (js/items/specifics-block.js; the Item Specifics card's rows are css/v1/list-ft-cards.css's), the Condition card
   (one-line condition description, the framed Listing Description with its two badges and a compact editor) and the Value, Quantity & Offers card (hidden
   payout line, compact package row, soft labels). It loads after css/v1.css and css/v1/list-windows.css. */

/* Photos: the required star after the heading shows while classic has drawn its star in the photo box's own title, which css/v1/list-windows.css
   hides (js/items/list-window-platforms.js _lwDrawRequiredStars()). */
.lw-v1 #form-ebay [data-sec="photos"]:has(.ftpb-title .required-star) #lw-photo-hdr-ebay::after{content:"*";margin-left:2px;font-weight:700;color:#e11d48}

/* Text: 12px on a 16px line, the cards' boxes 30px tall and their drop-down faces 29px; a label in a flex row sits level with its neighbours; the
   soft labels (Custom label, Int'l Shipping) are regular grey; the small ones are the Ad Campaign and Ad Rate labels; the identifiers card is 10px apart. */
.lw-v1 #form-ebay .section-card{line-height:1rem}
.lw-v1 #form-ebay :is(.form-input,.form-select,.form-textarea){line-height:1rem}
.lw-v1 #form-ebay .ss-ms-trigger{min-height:29px;padding:3px 8px;font-size:11.5px}
.lw-v1 #form-ebay [data-sec="Product Identifiers"]{gap:.625rem}
.lw-v1 #form-ebay .flex > .form-label{margin-bottom:0}
.lw-v1 #form-ebay .lw-soft-lbl{font-weight:400;color:#64748b}
.lw-v1 #form-ebay .lw-sm-lbl{margin-bottom:.125rem;font-size:11px;font-weight:400;color:#475569}

/* Flip Details: the title box is the larger one; the Item Category block is the card's own part, not a card (10px above the Subtitle); the
   star after the block's heading follows its text, which classic ends with a space. */
.lw-v1 #form-ebay #ebay-title{padding:.5rem .75rem;font-size:14px;line-height:1.25rem}
.lw-v1 #pane-container #form-ebay .lw-cat-block{display:block;margin-bottom:-.125rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.lw-v1 :is(#form-ebay,.lw-plat-cat) .ft-cc-pick-btn{padding:3px 9px;border-radius:7px;font-weight:600}
.lw-v1 :is(#form-ebay,.lw-plat-cat) .ft-cc-link{line-height:1.25rem}
.lw-v1 :is(#form-ebay,.lw-plat-cat) .ft-cc-title .required-star{margin-left:-.1rem}

/* The identifier rows: the Custom label and the rows classic draws share one grid of three columns (the block's mount and its section are
   display:contents), the label over its box; Country/Region of Manufacture takes two columns; the block's "N of M filled" line is not shown. */
.lw-v1 #form-ebay .lw-ids-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.lw-v1 #form-ebay #ebay-ident-specifics-container,.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-sec{display:contents}
.lw-v1 #form-ebay #ebay-ident-specifics-container [data-spec-count]{display:none}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-row{min-width:0}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-row:has([data-spec="Country/Region of Manufacture"]){grid-column:span 2}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-row:is([data-spec-wide="1"],[data-spec-wide="2"]){grid-column:span 2}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-row[data-spec-wide="full"]{grid-column:1 / -1}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-label{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;margin-bottom:.125rem;font-size:12px;font-weight:500;color:#334155}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-label > .lr-req{margin:0;font-weight:inherit;color:inherit}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-label > .lr-req::after{content:"*";margin-left:2px;font-weight:700;color:#e11d48}
.lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-ctrl .form-input{width:100%}

/* Condition: a third of the row for the condition and two thirds for the description, which is one line (the box is a one-row textarea that does
   not wrap). */
.lw-v1 #form-ebay .lw-cond-row{gap:.5rem}
.lw-v1 #form-ebay .lw-cond-row.pt-two-col{grid-template-columns:repeat(3,minmax(0,1fr))}
.lw-v1 #form-ebay .lw-cond-row.pt-two-col > [data-sec="conddesc"]{grid-column:span 2}
.lw-v1 #form-ebay #ebay-cond-desc{display:block;height:auto;resize:none;overflow:hidden;white-space:pre}

/* Listing Description: a frame with a grey head (the label and the badges) over classic's editor block (js/items/rte-block.js). The "Script"
   badge shows while the description follows the item; the "edited" mark takes its place (css/v1.css .lw-follows). */
.lw-v1 #form-ebay .lw-desc-frame{border:1px solid #e2e8f0;border-radius:.75rem;background:#fff}
.lw-v1 #form-ebay .lw-desc-head{margin:0;gap:.5rem;padding:.5rem .875rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;border-radius:.75rem .75rem 0 0}
.lw-v1 #form-ebay .lw-desc-badge{padding:.125rem .5rem;border-radius:.25rem;font-size:12px;font-weight:500}
.lw-v1 #form-ebay .lw-desc-badge-auto{background:#ecfdf5;color:#047857}
.lw-v1 #form-ebay .lw-desc-frame .ft-rte{font-size:12px}
.lw-v1 #form-ebay .lw-desc-frame .ft-rte--framed{border:0;border-radius:0 0 .75rem .75rem}
.lw-v1 #form-ebay .lw-desc-frame .ft-rte-toolbar{padding:.25rem .5rem}
.lw-v1 #form-ebay .lw-desc-frame .ft-rte-editor{max-height:24rem;padding:.75rem .875rem;font-size:12px;line-height:1.6;color:#334155}

/* Value, Quantity & Offers: the Estimated Net Payout line is not shown (the footer shows the net); the package row is one line of small boxes. */
.lw-v1 #form-ebay .lw-net-row{display:none}
.lw-v1 #form-ebay .lw-eis-tile{font-size:12px}
.lw-v1 #form-ebay .lw-pkg{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem}
.lw-v1 #form-ebay .lw-pkg-cell{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;white-space:nowrap}
.lw-v1 #form-ebay .lw-pkg .form-label{margin:0;font-size:12px;font-weight:400;color:#475569}
.lw-v1 #form-ebay .lw-pkg .form-label > span:first-child::after{content:":"}
.lw-v1 #form-ebay .lw-pkg .form-input{width:3.75rem;padding:0 .25rem;font-size:12px;font-weight:600;text-align:center;appearance:textfield}
.lw-v1 #form-ebay .lw-pkg .form-info{flex-basis:100%}
.lw-v1 #form-ebay #ebay-promote-rate{padding:.25rem .5rem;border-radius:.25rem}

html[data-theme="dark"] .lw-v1 #form-ebay :is(.lw-soft-lbl,.lw-sm-lbl,.lw-pkg .form-label){color:#94a3b8}
html[data-theme="dark"] .lw-v1 #form-ebay #ebay-ident-specifics-container .lr-spec-label{color:#e2e8f0}
html[data-theme="dark"] .lw-v1 #form-ebay .lw-desc-frame{border-color:#2b3445;background:#171c26}
html[data-theme="dark"] .lw-v1 #form-ebay .lw-desc-head{border-color:#2b3445;background:#1f2633}
html[data-theme="dark"] .lw-v1 #form-ebay .lw-desc-badge-auto{background:rgb(16 185 129 / 0.14);color:#6ee7b7}
html[data-theme="dark"] .lw-v1 #form-ebay .lw-desc-frame .ft-rte-editor{color:#e2e8f0}
