.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-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}}
