/* Product editor page (editor.js). Reuses the portal's colours and form styles; only what the editor needs beyond them is here. */
.ed .edhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:6px 0 4px}
.ed .edsku{font:500 22px Oswald,"Open Sans",sans-serif;color:var(--dark)}
.ed .edsec{margin-top:6px}
.ed .edsec>h2{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:22px}
.ed .edsec>h2 .hint{font:400 12px "Open Sans",sans-serif;color:var(--muted)}
.ed .efw{margin-bottom:12px}
.ed .ef{border:1px solid var(--line);border-radius:5px;padding:8px 10px;min-height:38px;overflow-wrap:anywhere}
.ed .ef.ro{background:#EEF0F3;color:#5B6672;border-color:transparent}
.ed .lk::before{content:"\1F512";font-size:11px;margin-right:6px;opacity:.8}
.ed .calc{background:#EEF0F3;color:#5B6672;border-radius:5px;padding:8px 10px}
.ed .us{font-size:13px;min-height:19px}
.ed .us small{color:var(--muted);display:block}
.ed table.pk td,.ed table.pk th{vertical-align:top}
.ed table.pk input[type=number],.ed table.pk input[type=text],.ed table.pk select{width:100%;min-width:0}
.ed .dims{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ed td input[type=text],.ed td input[type=number],.ed td select,.ed td textarea{width:100%;min-width:0;margin:0}
.ed .eimgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.ed .eimg{border:1px solid var(--line);border-radius:6px;padding:10px;background:#fff}
.ed .eimg.prim{border-color:var(--blue)}
.ed .eimg .thumbbox{height:120px;display:flex;align-items:center;justify-content:center;background:var(--bg);border-radius:4px;margin-bottom:8px}
.ed .eimg .thumbbox img{max-width:100%;max-height:116px;object-fit:contain}
.ed .vonly{display:inline-block;font-size:11px;font-weight:600;padding:1px 8px;border-radius:10px;background:#EEF0F3;color:#5B6672}
.ed .greyed{opacity:.92}
.ed .greyed td,.ed .greyed th{background:#F5F6F8;color:#4B5563}
.ed .assistant-slot{min-height:1px}
.ed .edfoot{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);margin:22px -24px -22px;padding:12px 24px;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;z-index:2}
.ed .edfoot .count{margin-right:auto;color:var(--muted)}
.ed button.sec{background:#fff;border:1px solid #C5CED6;border-radius:5px;padding:8px 16px;font-weight:600;cursor:pointer}
.ed button.sec:disabled{opacity:.6}
.ed .addrow{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:10px 0}
.ed .addrow label{margin:0;flex:1 1 200px}
.ed .nest{border:1px solid var(--line);border-radius:5px;padding:4px 8px;background:#fff}
.ed .bad-in{border-color:#B42318!important}
@media(max-width:800px){.ed .edfoot{margin:22px -12px -22px;padding:12px}.ed .dims{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ed .pkrow{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:6px;align-items:start}
.ed .pkrow select{width:100%}
.ed .bad-msg{color:#B42318}
