*{box-sizing:border-box} [hidden]{display:none!important} :root{font:16px/1.5 system-ui,sans-serif;color:#102d2f;background:#eef5f3;--red:#be2538;--teal:#007b75;--line:#cadbd7} body{margin:0} header{background:#102d2f;color:white;display:flex;align-items:center;justify-content:space-between;padding:14px max(16px,calc((100% - 1440px)/2));gap:10px} .brand{display:flex;gap:10px;align-items:center;font-weight:850;line-height:1.1;letter-spacing:.09em}.brand span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--red);font-size:24px}.brand small{display:block;color:#8be1d5;font-size:9px;margin-top:4px} nav,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap} nav button{background:#254547;color:white;border-color:#456669} main{max-width:1440px;margin:auto;padding:clamp(12px,3vw,35px)} .intro{background:#d8f0eb;padding:clamp(18px,4vw,44px);border-radius:22px;margin-bottom:18px}.eyebrow{color:#00685f;font-size:.74rem;font-weight:850;letter-spacing:.12em}h1,h2,h3,p{margin:0 0 10px}h1{font-size:clamp(1.8rem,5vw,3.25rem);line-height:1.1}h2{font-size:1.15rem}.intro .actions{margin-top:20px}.workspace{display:grid;grid-template-columns:minmax(160px,235px) 1fr;gap:16px;align-items:start}#detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:clamp(12px,2vw,22px);min-width:0}.fields{display:grid;gap:9px;margin:14px 0}label{display:block;font-weight:650} input,select,textarea,button,.button{font:inherit} input:not([type=checkbox],[type=range]),select,textarea{display:block;width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:8px;background:white;color:inherit} input[type=checkbox]{width:20px;height:20px;accent-color:var(--teal)} .check{display:flex;gap:7px;align-items:center;margin:8px 0}button,.button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:6px 11px;color:#102d2f;background:white;font-weight:700}button:disabled{opacity:.48;cursor:default}.primary{background:var(--red);color:white;border-color:var(--red)}button[aria-pressed=true],.selected{background:#d8f0eb;border-color:#007b75} :focus-visible{outline:3px solid #007b75;outline-offset:2px} details{margin:8px 0;padding:8px;border:1px solid var(--line);border-radius:10px}summary{cursor:pointer;font-weight:700} .chips{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0}.chips button{min-width:44px}.hint,small{color:#486365}#photo{max-height:230px;width:100%;object-fit:contain;background:#eef5f3;border-radius:10px;margin:9px 0}canvas{width:100%;height:auto;display:block;background:#eef5f3;border-radius:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#eef5f3;padding:10px;border-radius:10px}.item{width:100%;display:block;text-align:left;margin-bottom:6px;overflow-wrap:anywhere}.item small{display:block}#grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:10px 0}#grid button{padding:2px;flex-direction:column}#grid span{text-align:center}#agenda{margin-top:15px}#status{position:sticky;bottom:8px;margin:10px 0 0;padding:9px 12px;border-radius:10px;background:#102d2f;color:white;width:fit-content;z-index:2}#status:empty{display:none}@media(max-width:1050px){#detail{grid-template-columns:1fr}}@media(max-width:620px){.workspace{grid-template-columns:1fr}#items{display:flex;overflow:auto;gap:6px}.item{min-width:115px;width:auto}header{padding:9px}nav button{padding:5px 8px}.brand span{width:32px;height:32px}}
dialog{width:min(95vw,560px);max-height:92vh;border:1px solid var(--line);border-radius:16px;color:#102d2f;padding:18px}dialog::backdrop{background:#102d2fb3}#backgroundImage{display:block;width:100%;max-height:55vh;object-fit:contain;background:#edf5f2;margin:10px 0}
.brand img{display:block;width:clamp(84px,23vw,135px);height:auto;border-radius:4px}@media(max-width:560px){.brand small{display:none}}

.brand #shopLocation{display:block;width:auto;height:auto;background:transparent;color:white;font-size:clamp(.62rem,2.5vw,.8rem);letter-spacing:0;white-space:nowrap;margin-top:4px}@media(max-width:560px){.brand{flex-direction:column;align-items:flex-start;gap:0}}
.product-row{margin-bottom:8px}.product-row .item{width:100%;margin-bottom:0}.remove-draft{color:#a11d30;font-size:.85rem;margin-top:3px}@media(max-width:620px){.product-row{flex:0 0 auto}}
#backgroundImage{width:auto;max-width:100%;margin:10px auto;background:repeating-conic-gradient(#e2e8e6 0% 25%,#fff 0% 50%) 50% / 20px 20px}#backgroundStatus{font-size:.9rem}
.photo-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.photo-tools>button,.photo-tools>.button,.photo-filter{min-height:58px;padding:8px 10px;border-radius:10px;border:1px solid transparent;color:#fff;font-size:.9rem;line-height:1.25;text-align:center}
.photo-tools>button,.photo-tools>.button{display:flex;align-items:center;justify-content:center}
#rotate,#fit{background:#006d68}
.photo-filter{display:flex;flex-wrap:wrap;gap:4px;align-items:center;justify-content:center;background:#274965}
.photo-filter select{width:auto;max-width:100%;font-size:inherit;padding:4px 6px;color:#102d2f;background:#fff;color-scheme:light}
.photo-tools label[for=collage]{background:#274965}
#removeBg{background:#006d68}
#restore{background:#a52237}
#collagePhotos{grid-column:1/-1}
#collagePhotos:empty{display:none}
#galleryPreview{display:block;width:auto;max-width:100%;max-height:56dvh;margin:0 auto 10px}
