/* V855 · Excel product creation: upload mode + per-row new-card preview. */
.product-import-mode{margin:0 0 14px;padding:5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;border:1px solid var(--gm-border,#e1e5ea);border-radius:15px;background:#f6f7f9}.product-import-mode label{position:relative;cursor:pointer}.product-import-mode input{position:absolute;opacity:0;pointer-events:none}.product-import-mode span{min-height:48px;padding:8px 12px;display:flex;flex-direction:column;justify-content:center;gap:3px;border:1px solid transparent;border-radius:11px;color:#697380;transition:.16s ease}.product-import-mode strong{font-size:12px;color:#2b323a}.product-import-mode small{font-size:10px;line-height:1.35}.product-import-mode input:checked+span{background:#fff;border-color:#d5dae1;box-shadow:0 5px 16px rgba(22,29,37,.07);color:#4b5662}.product-import-mode input:focus-visible+span{outline:2px solid rgba(0,91,255,.26);outline-offset:2px}
.excel-new-cards-panel{margin-top:18px;padding:0!important;overflow:hidden}.excel-new-cards-head{padding:18px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--gm-border,#e5e8ec)}.excel-new-cards-head h2{margin:3px 0 4px;font-size:18px}.excel-new-cards-head p{margin:0;max-width:780px;color:#77818d;font-size:11px;line-height:1.55}.excel-new-cards-count{min-width:32px;height:32px;padding:0 9px;display:grid;place-items:center;border-radius:11px;background:#f1f3f5;color:#3c4650;font-size:12px;font-weight:800}.excel-new-cards-list{display:grid;gap:0}.excel-new-card{padding:17px 20px;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr) auto;align-items:center;gap:18px;border-bottom:1px solid #edf0f3}.excel-new-card:last-child{border-bottom:0}.excel-new-card__identity{min-width:0;display:flex;align-items:center;gap:12px}.excel-new-card__identity img,.excel-new-card__image-empty{width:52px;height:52px;flex:0 0 52px;border:1px solid #e0e4e8;border-radius:13px;background:#f4f6f8;object-fit:cover}.excel-new-card__image-empty{display:grid;place-items:center;color:#89939e;font-size:9px;font-weight:850}.excel-new-card__identity>div{min-width:0;display:grid;gap:3px}.excel-new-card__identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#20262c}.excel-new-card__identity span,.excel-new-card__identity small{color:#7a8490;font-size:10px}.excel-new-card__title-row{display:flex!important;align-items:center;gap:8px}.excel-new-card__status{flex:none;padding:4px 7px;border-radius:999px;font-size:9px!important;font-weight:800}.excel-new-card__status--ok{background:#eaf7ef;color:#28764a!important}.excel-new-card__status--error{background:#fff0ed;color:#a84531!important}.excel-new-card__issues{display:grid;gap:5px}.excel-new-card__issues div{display:flex;align-items:flex-start;gap:7px;color:#8a493a;font-size:10px;line-height:1.4}.excel-new-card__issues div span{width:17px;height:17px;flex:0 0 17px;display:grid;place-items:center;border-radius:50%;background:#fff0ed;color:#b14c36;font-size:10px;font-weight:900}.excel-new-card__ready{display:flex;align-items:flex-start;gap:9px;color:#53635a;font-size:10px;line-height:1.45}.excel-new-card__ready>span{width:19px;height:19px;flex:0 0 19px;display:grid;place-items:center;border-radius:50%;background:#eaf7ef;color:#28764a;font-weight:900}.excel-new-card__ready p{margin:1px 0 0}.excel-new-card__actions{display:flex;justify-content:flex-end}.excel-new-card__actions form{margin:0}.excel-new-card__hint{max-width:180px;color:#969faa;font-size:9px;line-height:1.4;text-align:right}
html[data-app-theme="dark"] .product-import-mode{background:#151a20;border-color:#303844}html[data-app-theme="dark"] .product-import-mode strong{color:#e8edf3}html[data-app-theme="dark"] .product-import-mode span{color:#9ba6b4}html[data-app-theme="dark"] .product-import-mode input:checked+span{background:#20262e;border-color:#38424e;box-shadow:none}html[data-app-theme="dark"] .excel-new-cards-head,html[data-app-theme="dark"] .excel-new-card{border-color:#2d353f}html[data-app-theme="dark"] .excel-new-cards-count{background:#242b34;color:#dbe3ec}html[data-app-theme="dark"] .excel-new-cards-head p,html[data-app-theme="dark"] .excel-new-card__identity span,html[data-app-theme="dark"] .excel-new-card__identity small{color:#96a2b0}html[data-app-theme="dark"] .excel-new-card__identity strong{color:#edf2f7}html[data-app-theme="dark"] .excel-new-card__identity img,html[data-app-theme="dark"] .excel-new-card__image-empty{background:#20262e;border-color:#323b46}html[data-app-theme="dark"] .excel-new-card__status--ok,html[data-app-theme="dark"] .excel-new-card__ready>span{background:#183528;color:#7bd3a2!important}html[data-app-theme="dark"] .excel-new-card__status--error,html[data-app-theme="dark"] .excel-new-card__issues div span{background:#3a2421;color:#ef9b87!important}html[data-app-theme="dark"] .excel-new-card__issues{color:#e2a394}html[data-app-theme="dark"] .excel-new-card__ready{color:#b4c5ba}
@media(max-width:900px){.excel-new-card{grid-template-columns:1fr;gap:12px}.excel-new-card__actions{justify-content:flex-start}.excel-new-card__hint{text-align:left;max-width:none}}@media(max-width:600px){.product-import-mode{grid-template-columns:1fr}.excel-new-cards-head,.excel-new-card{padding:15px}.excel-new-card__actions .button{width:100%}.excel-new-card__actions form{width:100%}}

/* Excel -> card editor hand-off. The chosen upload mode remains explicit until
   the first successful save so the seller cannot accidentally publish a
   "site only" row or wonder which action the upload prepared. */
.pc-excel-create-note{margin:0 0 16px;padding:13px 15px;display:flex;align-items:flex-start;gap:12px;border:1px solid #dfe4e9;border-radius:16px;background:linear-gradient(180deg,#fff,#fafbfd);box-shadow:0 7px 22px rgba(20,28,38,.045)}
.pc-excel-create-note__icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid #dce2e8;border-radius:12px;background:#f2f5f7;color:#596572;font-size:9px;font-weight:900;letter-spacing:.04em}
.pc-excel-create-note__copy{min-width:0;display:grid;gap:3px}.pc-excel-create-note__copy strong{font-size:12px;color:#252c34}.pc-excel-create-note__copy span{font-size:11px;line-height:1.48;color:#66717d}.pc-excel-create-note__copy small{font-size:9px;line-height:1.45;color:#929ba6}.pc-excel-create-note__warning{margin-top:3px;color:#9b5a2e!important;font-weight:700}
.pc-excel-create-note--site .pc-excel-create-note__icon{background:#f2f4f6;color:#4e5964}.pc-excel-create-note--marketplace .pc-excel-create-note__icon{background:#edf3ff;border-color:#d8e4fb;color:#3463ab}
.pc-sticky-actions--excel .button-primary{min-width:180px}
html[data-app-theme="dark"] .pc-excel-create-note{background:linear-gradient(180deg,#1d232a,#181e25);border-color:#303944;box-shadow:none}html[data-app-theme="dark"] .pc-excel-create-note__icon{background:#252d36;border-color:#35404c;color:#c4ced9}html[data-app-theme="dark"] .pc-excel-create-note--marketplace .pc-excel-create-note__icon{background:#1e2d45;border-color:#304665;color:#a8c7ff}html[data-app-theme="dark"] .pc-excel-create-note__copy strong{color:#edf2f7}html[data-app-theme="dark"] .pc-excel-create-note__copy span{color:#a9b4c0}html[data-app-theme="dark"] .pc-excel-create-note__copy small{color:#818d9a}html[data-app-theme="dark"] .pc-excel-create-note__warning{color:#e1a470!important}
@media(max-width:700px){.pc-excel-create-note{padding:12px}.pc-excel-create-note__icon{width:38px;height:38px;flex-basis:38px}.pc-sticky-actions--excel .button-primary{min-width:0}}

/* V858 · bulk Excel card creation */
.excel-new-cards-bulkbar{padding:12px 20px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e8ebef;background:#fafbfc}.excel-bulk-select-all{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;color:#3c4650;cursor:pointer}.excel-bulk-select-all input,.excel-new-card__select input{width:16px;height:16px;accent-color:#252a31;cursor:pointer}.excel-bulk-selected{padding:5px 8px;border-radius:999px;background:#eef1f4;color:#59636f;font-size:10px;font-weight:800}.excel-bulk-note{color:#8b95a0;font-size:10px}.excel-new-cards-bulkbar .button{margin-left:auto}.excel-bulk-result{margin:10px 20px 0;padding:10px 12px;border-radius:11px;font-size:11px;font-weight:750}.excel-bulk-result.is-success{background:#eaf7ef;color:#28764a}.excel-bulk-result.is-warning{background:#fff6dc;color:#8c681c}.excel-bulk-result.is-error{background:#fff0ed;color:#a84531}.excel-new-card{grid-template-columns:28px minmax(245px,.85fr) minmax(280px,1.05fr) minmax(145px,.45fr) auto!important}.excel-new-card__select{display:grid;place-items:center}.excel-new-card__status--draft{background:#eef2ff;color:#5563a8!important}.excel-new-card__price label{display:grid;gap:6px}.excel-new-card__price label>span{font-size:10px;font-weight:800;color:#5e6873}.excel-new-card__price label b{color:#b54734}.excel-new-card__price input{width:100%;height:38px;padding:0 11px;border:1px solid #d9dee4;border-radius:10px;background:#fff;color:#20262c;font:750 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.excel-new-card__price input:focus{border-color:#9ca6b2;box-shadow:0 0 0 3px rgba(74,85,104,.08)}.excel-new-card__price input.is-error{border-color:#d76d58;box-shadow:0 0 0 3px rgba(215,109,88,.1)}.excel-new-card__price small{display:block;margin-top:5px;color:#9aa3ad;font-size:9px}.excel-new-card.is-bulk-done{background:#fbfdfb}.excel-new-card.has-bulk-error{background:#fffdfc}.excel-new-cards-bulkbar .button.is-loading{opacity:.72;cursor:wait}
html[data-app-theme="dark"] .excel-new-cards-bulkbar{background:#171c22;border-color:#2d353f}html[data-app-theme="dark"] .excel-bulk-select-all{color:#d7dee7}html[data-app-theme="dark"] .excel-bulk-selected{background:#252c34;color:#b9c3cf}html[data-app-theme="dark"] .excel-bulk-note{color:#8f9aa7}html[data-app-theme="dark"] .excel-new-card__status--draft{background:#252b43;color:#aeb9ff!important}html[data-app-theme="dark"] .excel-new-card__price label>span{color:#b9c3cf}html[data-app-theme="dark"] .excel-new-card__price input{background:#1b2128;border-color:#333c47;color:#edf2f7}html[data-app-theme="dark"] .excel-new-card.is-bulk-done{background:#17201a}html[data-app-theme="dark"] .excel-new-card.has-bulk-error{background:#211a19}
@media(max-width:1180px){.excel-new-card{grid-template-columns:28px minmax(230px,1fr) minmax(250px,1.1fr) minmax(130px,.5fr)!important}.excel-new-card__actions{grid-column:2/-1;justify-content:flex-end}}
@media(max-width:900px){.excel-new-card{grid-template-columns:28px 1fr!important;gap:12px}.excel-new-card__identity,.excel-new-card__issues,.excel-new-card__ready,.excel-new-card__price,.excel-new-card__actions{grid-column:2}.excel-new-card__actions{justify-content:flex-start}.excel-new-cards-bulkbar .button{margin-left:0}.excel-bulk-note{flex-basis:100%}}
@media(max-width:600px){.excel-new-cards-bulkbar{padding:12px 15px}.excel-new-cards-bulkbar .button{width:100%}.excel-bulk-result{margin-inline:15px}.excel-new-card{padding:15px 12px 15px 10px!important}.excel-new-card__price input{max-width:220px}}
