.handmade-listing-panel[hidden]{display:none!important}.frame-listing-shell>.frame-listing-panel[hidden]{display:none!important}.handmade-listing-panel{color:#303030}.handmade-listing-panel .hl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:26px 0}.handmade-listing-panel label:not(.frame-personalization-switch):not(.hl-photo){display:flex;flex-direction:column;gap:10px;font-size:17px;font-weight:650}.handmade-listing-panel select{width:100%;min-width:0;padding:12px;font:inherit}.handmade-listing-panel h3{color:#f36b21;margin:26px 0 18px}.handmade-listing-panel p{line-height:1.5}.handmade-listing-panel footer{margin-top:28px}.handmade-listing-panel footer p{font-size:15px;max-width:800px}.hl-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}.hl-photo{position:relative;border:1px solid #ddd;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:12px;cursor:pointer;min-width:0}.hl-photo:has(input:checked){border:2px solid #f36b21;background:#fff7f1}.hl-photo img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px}.hl-photo input{width:20px;height:20px;accent-color:#f36b21}.hl-photo strong{overflow-wrap:anywhere}.handmade-listing-panel fieldset{margin-top:24px;border:1px solid #ddd;border-radius:12px;padding:20px}.handmade-listing-panel fieldset label{flex-direction:row!important;align-items:center;margin-top:12px}.hl-saved{border-top:1px solid #eee;margin-top:28px}.hl-saved-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;flex-wrap:wrap}.hl-saved-row p{margin:8px 0}.handmade-listing-panel details{padding:16px;background:#fff8f3;border-radius:12px}.handmade-listing-panel summary{cursor:pointer;font-weight:650}.handmade-listing-panel li{margin:10px 0;overflow-wrap:anywhere}.handmade-listing-panel small{display:block;color:#555}@media(max-width:700px){.handmade-listing-panel .hl-grid{grid-template-columns:1fr;gap:20px}}
#content:has(.handmade-listing-panel:not([hidden]))>.workflow-contract{display:none}

.hl-psd-placeholder{aspect-ratio:1;display:grid;place-items:center;background:#f4f4f4;border-radius:10px;text-align:center;padding:12px}.hl-photo:has(input[type=radio]:checked){border-color:#f36b21}

.hl-listing-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;padding:12px 0;font-weight:400!important}.hl-listing-choice input{flex:0 0 auto;width:20px;height:20px} [data-print-templates]{max-width:1200px;margin:auto} [data-print-templates] input:not([type=checkbox]):not([type=radio]){font:inherit;padding:12px;border:1px solid #ccc;border-radius:9px;width:100%;box-sizing:border-box}
.asset-center{max-width:1250px;margin:auto}.asset-center>header h2{color:#f36b21}.asset-center-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.asset-center-tabs button{font:inherit;font-weight:650;padding:13px 20px;border:1px solid #ddd;border-radius:12px;background:white;color:#333;cursor:pointer}.asset-center-tabs button[aria-selected=true]{background:#f36b21;border-color:#f36b21;color:white}.asset-center [role=tabpanel][hidden]{display:none!important}.pt-purpose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:10px 0 26px!important;border:0!important;padding:0!important}.pt-purpose legend{font-size:20px;font-weight:700;margin-bottom:18px}.pt-purpose label{border:1px solid #ddd;border-radius:14px;padding:20px;cursor:pointer;display:flex!important;flex-direction:column!important;align-items:flex-start!important}.pt-purpose label:has(input:checked){border-color:#f36b21;background:#fff6ee}.pt-purpose input{width:20px;height:20px;accent-color:#f36b21}.pt-purpose span{font-weight:400;line-height:1.5}.pt-purpose strong{color:#f36b21}@media(max-width:700px){.pt-purpose{grid-template-columns:1fr}}

.pt-product-group{margin:12px 0;border:1px solid #ddd;border-radius:12px;background:#fff;overflow:hidden}
.pt-product-group>summary{cursor:pointer;padding:16px 20px;color:#333;font-size:17px}
.pt-product-group>summary strong{color:var(--signature-orange,#ed7014);overflow-wrap:anywhere}
.pt-product-group>summary span{margin-left:12px;font-size:14px;color:#555}
.pt-product-group>.hl-photos{padding:16px}
.asset-center input[type=file]{max-width:100%;min-width:0;width:100%}
.asset-center [data-upload-jobs],.asset-center [data-filename]{overflow-wrap:anywhere;min-width:0}
.asset-center .cdx-drop{min-width:0}

/* Shared Handmade form rhythm: spacious fields, compact file groups, aligned actions. */
.handmade-listing-panel .hl-grid>label{min-width:0;margin:0}
.handmade-listing-panel .hl-grid{padding:22px;background:#faf9f7;border:1px solid #ece8e3;border-radius:16px;gap:24px}
.handmade-listing-panel .hl-grid select{border:1px solid #d8d2cb;border-radius:10px;background:white;color:#272727;min-height:48px}
.handmade-listing-panel footer{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding-top:24px;border-top:1px solid #ece8e3}
.handmade-listing-panel footer p{flex:1 1 360px;margin:0;color:#444}
.asset-center [data-print-templates] form{padding:24px;border:1px solid #e8e3dd;border-radius:18px;background:#fff}
.asset-center [data-print-templates] form>label{margin:0 0 22px;gap:10px}
.asset-center [data-print-templates] h3{margin:28px 0 16px;color:#f36b21}
.asset-center [data-print-templates] button{min-height:44px;border-radius:10px}
@media(max-width:700px){.handmade-listing-panel .hl-grid,.asset-center [data-print-templates] form{padding:17px}.handmade-listing-panel footer>button{width:100%}}

/* V177: one clear canvas, no nested scrolling and no separate text design UI. */
.handmade-listing-panel [hidden]{display:none!important}
.handmade-listing-panel input:not([type=checkbox]):not([type=radio]),.handmade-listing-panel textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d8d2cb;border-radius:10px;font:inherit;color:#272727;background:#fff}
.handmade-listing-panel button{border-radius:10px;min-height:44px;font-size:16px}
.handmade-listing-panel .hl-check{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;font-weight:500!important}
.hl-check input{accent-color:#f36b21;flex-shrink:0;width:20px;height:20px}
.handmade-listing-panel .hl-scene-mode{padding:16px;margin:18px 0;border:1px solid #e9dfd4}
.hl-example-preview{display:block;width:180px;max-width:100%;max-height:220px;object-fit:contain;margin-top:16px;border-radius:10px}.handmade-listing-panel [data-info-example]{margin-top:20px}.handmade-listing-panel .hl-grid>div{min-width:0}
.hl-scene-mode legend{font-size:15px;font-weight:600}.hl-scene-mode label{font-size:15px!important}
.hl-grid [data-new-set]{margin-top:16px;width:100%}
.hl-new-set{background:#fff8f1;border:1px solid #eeded0;border-radius:16px;padding:24px;margin:24px 0}
.hl-template-list{display:grid;gap:12px;margin:20px 0}
.hl-preparations{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-top:20px}
.hl-preparations article{background:white;padding:14px;border:1px solid #e5dfd7;border-radius:12px;overflow-wrap:anywhere}
.hl-preparations img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px}.hl-preparations p{font-size:14px}
.hl-preparations a{color:#984614;font-size:14px}.hl-preparations a span{display:block;margin-top:8px}
.hl-bindings{margin:22px 0;background:#faf9f7!important;border:1px solid #e4ded6}
.hl-field-row{display:grid;grid-template-columns:2fr 1fr auto auto;gap:14px;align-items:end;padding:18px 0;border-bottom:1px solid #e7e1da}
.hl-field-row>label{font-size:15px!important}.hl-field-row>.hl-check{align-self:center}.hl-field-options{grid-column:1/-1}
.hl-choice-card{padding:16px 20px;background:#fff5eb;border:1px solid #eed9c4;border-radius:12px}
.hl-choice-card>strong{color:#a63f00}.hl-choice-card ul{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px 14px}
.hl-choice-card li{margin:0;padding:7px 12px;border:1px solid #e5d8ca;background:white;border-radius:8px;color:#303030}
.hl-layer-group{margin:24px 0}.hl-layer-group h4{font-size:18px;color:#f36b21;margin:14px 0}
.hl-layer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid #e7e1da}
.hl-layer-row strong{display:block;overflow-wrap:anywhere;color:#333}.hl-layer-row span{display:block;color:#555;font-size:13px;margin-top:5px}.hl-layer-row label{font-size:14px!important}
.hl-editor-square{position:relative;width:min(100%,800px);aspect-ratio:1;background:#f4f1ed;border-radius:16px;overflow:hidden;border:1px solid #ded8d1;margin:0 auto}
.hl-editor-square canvas,.hl-editor-square svg{position:absolute;inset:0;width:100%;height:100%}
.hl-editor-square svg{touch-action:none}.hl-editor-square polygon{fill:transparent;stroke:#f36b21;stroke-width:2;stroke-dasharray:8 5;cursor:move}
.hl-editor-square circle{fill:white;stroke:#f36b21;stroke-width:4;cursor:move}.hl-editor-square circle:focus{fill:#f36b21;stroke:white;outline:none}
.hl-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:18px 0}.hl-editor-toolbar button{border:1px solid #ddd0c2;background:white;color:#333;padding:9px 15px;cursor:pointer}.hl-editor-toolbar .hl-check{margin-left:12px}
.hl-editor-hint{text-align:center;font-size:14px;color:#444}.handmade-listing-panel [data-save]{display:block;margin:20px auto 0;padding:13px 22px}.handmade-listing-panel [data-editor-status]{text-align:center}
.hl-editor-mode{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0 10px}
.hl-editor-mode button{border:1px solid #ddd0c2;background:#fff;color:#333;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer}
.hl-editor-mode button[aria-pressed=true]{background:#fff2e7;border-color:#f36b21;color:#a63f00;box-shadow:inset 0 0 0 1px #f36b21}
.hl-editor-mode button:focus-visible{outline:3px solid #f36b21;outline-offset:3px}
.hl-editor-square svg[data-mode=size] circle{cursor:nwse-resize}
.hl-editor-square svg[data-mode=size] circle[data-corner="1"],.hl-editor-square svg[data-mode=size] circle[data-corner="3"]{cursor:nesw-resize}
.hl-editor-square svg[data-mode=perspective] circle{cursor:crosshair}
@media(max-width:760px){.hl-field-row{grid-template-columns:1fr 1fr}.hl-layer-row{grid-template-columns:1fr;gap:10px}.hl-new-set{padding:17px}}

/* V178: photo-specific motif brightness and conditional multiply strength. */
.hl-editor-adjustments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:min(100%,800px);margin:20px auto;padding:20px;box-sizing:border-box;background:#faf9f7;border:1px solid #e7e1da;border-radius:14px}
.hl-editor-adjustments label{position:relative;font-size:15px!important;padding-right:55px}
.hl-editor-adjustments output{position:absolute;right:0;top:0;font-weight:700;color:#e96618;font-variant-numeric:tabular-nums}
.handmade-listing-panel .hl-editor-adjustments input[type=range]{accent-color:#f36b21;padding:0;border:0;background:transparent;min-height:32px;cursor:pointer;width:calc(100% + 55px)}
@media(max-width:700px){.hl-editor-adjustments{grid-template-columns:1fr;padding:16px}}

/* Individual PSD choices stay local to the selected photo. */
.hl-photo-settings{margin:16px 0;padding:14px;background:#f7f5f2;border-radius:8px}
.hl-photo-settings>.hl-check{font-weight:600}
.hl-photo-settings fieldset{border:0;padding:0;margin:0;min-width:0}
.hl-photo-settings [data-photo-texts]{display:grid;gap:10px;align-content:start}
.hl-photo-settings [data-photo-texts] label{display:grid;gap:5px}
.hl-photo-settings [data-photo-visibility]{display:grid;gap:6px;max-height:280px;overflow:auto}
.hl-photo-settings [hidden]{display:none!important}

/* V232: direct source selection and editing without accordion wrappers. */
.frame-listing-shell>.handmade-listing-panel{border:0;border-radius:0;padding:24px;box-sizing:border-box;background:#fff}
.hl-saved-picker{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:0 0 22px}
.hl-saved-picker>label{flex:1;min-width:0}.hl-saved-picker>p{flex-basis:100%;margin:0}.hl-saved-picker>p:empty{display:none}
.hl-source-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 26px}
.hl-editor-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 16px}
.hl-source-card{min-width:0;padding:18px;border:1px solid #e3ddd6;border-radius:12px;background:#fff}
.handmade-listing-panel .hl-source-title{display:flex;align-items:center;gap:10px;color:#333;font-size:15px;font-weight:700;line-height:1.4;margin:0 0 4px;min-height:38px}
.hl-choice-number{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#f36b21;color:white;font-size:16px;line-height:1}
.handmade-listing-panel .hl-source-card label{font-size:15px}.hl-source-card .frame-select-shell{width:100%;min-width:0}
.handmade-listing-panel .hl-source-card .frame-select-control{font-size:15px;min-height:48px;width:100%;margin:0}
.hl-source-card [data-new-set]{display:block;width:100%;font-size:13px;line-height:1.4;padding:9px;margin-top:12px}
.hl-source-card [data-motif-source]{margin-top:16px}
.handmade-listing-panel .hl-creative-options{margin:0 0 26px}.hl-creative-options>[data-theme],.hl-creative-options>[data-info-example]{max-width:800px}
.handmade-listing-panel .hl-scene-mode{margin:0 0 18px;padding:0;border:0}.hl-scene-mode legend{margin-bottom:8px}
.handmade-listing-panel .hl-photos{background:#fff}.handmade-listing-panel .hl-photo:has(input:checked){background:#fff;border-color:#f36b21}
.handmade-listing-panel .hl-bindings{padding:24px 0 0;margin:32px 0;border:0;border-top:1px solid #e7e1da;background:#fff!important}
.handmade-listing-panel .hl-photo-settings{background:#fff;padding:0}.handmade-listing-panel .hl-photo-settings .hl-grid{background:white;padding:0;border:0}
.handmade-listing-panel [data-photo-settings-slot]{margin-top:10px}.handmade-listing-panel [data-photo-settings-slot] p{font-size:14px;margin:0}
.handmade-listing-panel [data-photo-settings-slot] .frame-personalization-switch{display:flex;align-items:center;gap:12px}
.handmade-listing-panel [data-placement-progress]{font-size:14px;color:#555}
@media(max-width:1100px){.hl-source-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hl-source-choices,.hl-editor-choices{grid-template-columns:1fr;gap:12px}.hl-source-card{padding:15px}.hl-saved-picker{align-items:stretch}.hl-saved-picker>label{flex-basis:100%}}

.hl-photos>p{grid-column:1/-1}
#content .hl-source-card .hl-source-title{color:#333;font-size:15px}
#content .handmade-listing-panel .hl-source-card .frame-select-control{font-size:16px}

@media(max-width:650px){.frame-listing-shell>.handmade-listing-panel{padding:16px}}

/* Keep source choices readable on one line without taking away panel spacing. */
.hl-source-choices .hl-source-card{padding:14px}
#content .frame-listing-shell .hl-source-choices .frame-select-control{padding:10px;gap:6px}
#content .frame-listing-shell .hl-source-choices .frame-select-label{font-size:15px}
.hl-source-choices .frame-select-chevron{width:14px}

/* V252: visual source libraries keep the generator mounted underneath. */
.handmade-listing-panel .hl-source-picker{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;height:100%;padding:0;border:0;background:#fff;color:#303030;text-align:left;cursor:pointer;font:inherit}
.hl-source-picker:disabled{cursor:default;opacity:.55}
.hl-source-picker:focus-visible{outline:3px solid #f36b21;outline-offset:6px;border-radius:6px}
.hl-source-picker[aria-invalid=true]{outline:2px solid #b3261e;outline-offset:6px}
.hl-source-picker strong{font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.hl-source-picker .hl-source-action{color:#ad470c;font-size:14px;text-decoration:underline;margin-top:auto}
.hl-source-preview{display:block;height:100px;background:#f7f5f2;border-radius:8px;overflow:hidden}
.hl-source-preview img{display:block;width:100%;height:100%;object-fit:contain}
.hl-source-card:has([data-source-open=motif]) .hl-source-picker{height:auto}
body.hl-picker-open{overflow:hidden}
.hl-source-dialog{box-sizing:border-box;width:min(1160px,calc(100% - 48px));max-width:none;max-height:90dvh;padding:0;border:1px solid #ddd4ca;border-radius:18px;background:#fff;color:#303030;box-shadow:0 18px 70px #0003;overflow:hidden}
.hl-source-dialog[open]{display:flex;flex-direction:column}
.hl-source-dialog::backdrop{background:rgb(25 20 16 / .48)}
.hl-source-dialog [hidden]{display:none!important}
.hl-picker-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px 14px;flex-shrink:0}
.hl-picker-head h2{margin:0;font-size:26px;line-height:1.25;font-weight:700;color:#333}
.hl-picker-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #dfd7ce;border-radius:50%;background:white;color:#ad470c;font:32px/1 Arial,sans-serif;cursor:pointer;padding:0}
.hl-picker-search{padding:0 24px 16px;flex-shrink:0}
.hl-picker-search label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.hl-picker-search input{box-sizing:border-box;width:100%;padding:11px 14px;font-family:inherit;font-size:16px;line-height:1.4;border:1px solid #d8d2cb;border-radius:9px;background:#fff;color:#303030}
.hl-picker-search p{font-size:14px;color:#666;line-height:1.4;margin:8px 0 0}
.hl-picker-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 24px 24px}
.hl-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.hl-picker-card{min-width:0;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e3ddd6;border-radius:12px;background:#fff}
.hl-picker-card.is-selected{border-color:#f36b21;box-shadow:0 0 0 1px #f36b21}
.hl-picker-picture{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1;background:#f7f5f2;border-radius:8px;overflow:hidden}
.hl-picker-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.hl-picker-placeholder{padding:18px;text-align:center;font-size:15px;line-height:1.4;color:#70675f}
.hl-picker-selected{position:absolute;bottom:8px;left:8px;right:8px;padding:6px;border-radius:6px;color:#fff;background:#a9460e;font-size:12px;text-align:center}
.hl-picker-card h3{margin:0;font-size:17px;line-height:1.35;font-weight:700;overflow-wrap:anywhere;color:#333}
.hl-picker-card p{margin:0 0 4px;font-size:13px;line-height:1.4;color:#655b53;overflow-wrap:anywhere}
.hl-picker-card button{margin-top:auto;width:100%;min-height:44px;border-radius:8px;font-size:14px;line-height:1.3;padding:11px 8px;white-space:normal;cursor:pointer}
.hl-picker-card button:disabled{opacity:.5;cursor:default}
.hl-source-dialog button:focus-visible,.hl-source-dialog input:focus-visible{outline:3px solid #f36b21;outline-offset:3px}
.hl-picker-empty{margin:24px 0;text-align:center;color:#655b53}
@media(max-width:899px){.hl-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hl-source-dialog{width:calc(100% - 20px);max-height:94dvh;border-radius:14px}.hl-picker-head{padding:16px 14px 12px;gap:12px}.hl-picker-head h2{font-size:21px}.hl-picker-search{padding:0 14px 12px}.hl-picker-scroll{padding:0 14px 16px}.hl-picker-grid{gap:10px}.hl-picker-card{padding:9px;gap:9px}.hl-picker-card h3{font-size:15px}.hl-picker-placeholder{font-size:13px;padding:10px}.hl-picker-selected{font-size:11px;left:4px;right:4px;bottom:4px}}
@media(max-width:359px){.hl-picker-grid{grid-template-columns:1fr}}

/* Saved opt-in PSD examples; independent of per-photo placement controls. */
#content .handmade-listing-panel .hl-content-variations { margin: 18px 0; max-width: 780px; }
#content .handmade-listing-panel .hl-content-variations > label { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; margin: 0; cursor: pointer; font-weight: 600; text-align: left; min-height: 44px; }
#content .handmade-listing-panel .hl-content-variations input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: #f36b21; }
#content .handmade-listing-panel .hl-content-variations > small { display: block; margin: 0 0 0 30px; line-height: 1.5; color: #555; font-size: 14px; text-align: left; }
