.designer-input-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch}.designer-input-pair.with-photo{grid-template-columns:minmax(170px,.72fr) minmax(0,1.6fr)}.designer-input-pair #requirement{min-width:0;width:100%;height:100%;min-height:230px;margin:0}.designer-photo-input{min-width:0;min-height:230px;position:relative;display:flex;flex-direction:column;border:1.5px dashed var(--line,#e0b892);border-radius:10px;background:#fffaf4;overflow:hidden}.designer-photo-input.has-reference{border-style:solid}.designer-photo-input:focus-within{border-color:var(--field-focus-border);box-shadow:var(--field-focus-shadow)}.designer-photo-input[hidden],.designer-photo-options[hidden]{display:none}.photo-file{display:flex;position:relative;flex:1;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--ink2,#5a6270);cursor:pointer;text-align:center;padding:14px}.photo-file svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:1.3}.photo-file strong{font-size:13px;font-weight:500;line-height:1.5}.photo-file span{font-size:13px;color:var(--accent-orange,#db6b0b)}.photo-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.photo-file:has(input:disabled){opacity:.55;cursor:default}.photo-file input:disabled{cursor:default}.photo-file[hidden]{display:none}.photo-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}.photo-thumbnail{position:relative;min-width:0;border-radius:7px;background:#fff}.photo-thumbnail:only-child{grid-column:1/-1}.photo-thumbnail .photo-reference{height:110px}.photo-thumbnail:only-child .photo-reference{height:150px}.photo-thumbnail .photo-remove{position:absolute;right:0;top:0;min-width:44px;min-height:44px;border:0;border-radius:8px;background:#fffaf4e6;color:var(--ink2,#5a6270);font:inherit;font-size:22px;cursor:pointer}.photo-thumbnail .photo-remove:hover:not(:disabled){background:#f7ecdf}.photo-thumbnail .photo-remove:focus-visible{outline:1px solid var(--field-focus-border);outline-offset:-2px}.photo-thumbnail .photo-remove:disabled{opacity:.5;cursor:default}.has-reference .photo-file{padding:8px;gap:6px}.photo-reference{display:block;width:100%;height:150px;object-fit:contain;border-radius:7px}.photo-actions{display:flex;align-items:stretch;justify-content:center;gap:4px;padding:0 6px 6px}.photo-actions button:not(:is(.btn,.qb-btn,.xmf-button)){flex:1;min-width:0;min-height:44px;padding:6px 4px;background:transparent;border:0;border-radius:8px;color:var(--ink2,#5a6270);font:inherit;font-size:13px;line-height:1.4;cursor:pointer}.photo-actions .photo-replace{color:var(--accent-orange,#db6b0b)}.photo-actions button:hover:not(:disabled):not(:is(.btn,.qb-btn,.xmf-button)){background:#f7ecdf}.photo-actions button:focus-visible:not(:is(.btn,.qb-btn,.xmf-button)){outline:2px solid var(--accent-orange,#db6b0b);outline-offset:-2px}.photo-actions button:disabled:not(:is(.btn,.qb-btn,.xmf-button)){opacity:.55;cursor:default}.photo-cost{font-size:13px;line-height:1.6;color:var(--accent-orange,#db6b0b);margin:12px 0 4px;font-family:var(--sans)}.designer-photo-options>.hint{margin:4px 0 0;font-size:12px}.photo-summary,.photo-result{display:flex;gap:18px;align-items:flex-start;margin:18px 0}.photo-summary img{width:100px;height:80px;object-fit:contain;border-radius:10px;background:#f4ecdf}.photo-summary p{font-size:13px;line-height:1.7}.photo-result{padding:18px;border-radius:16px;background:#fff8ee;border:1px solid #eddec9}.photo-result img{width:40%;max-height:240px;object-fit:contain;border-radius:10px}.photo-result>div{flex:1;min-width:0}.photo-result p,.photo-result li{font-size:14px;line-height:1.7}.photo-result details{margin-top:12px}.photo-result summary{cursor:pointer}.photo-summary-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;flex:0 0 100px}.photo-summary-images img{width:100%;height:60px}.photo-summary-images img:only-child{grid-column:1/-1;height:80px}.photo-result>.photo-result-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:0 0 40%}.photo-result-images img{width:100%;height:130px}.photo-result-images img:only-child{grid-column:1/-1;height:240px}@media(max-width:600px){.designer-input-pair.with-photo{grid-template-columns:minmax(0,1fr);gap:12px}.designer-photo-input{min-height:150px}.designer-photo-input.has-reference{min-height:220px}.designer-input-pair #requirement{min-height:170px}.photo-result{flex-direction:column;padding:14px}.photo-result img{width:100%;max-height:200px}.photo-summary{gap:10px}.photo-summary img{width:76px}}@media(max-width:600px){.photo-thumbnails{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-summary-images{flex-basis:76px}.photo-summary-images img{width:100%}.photo-result>.photo-result-images{width:100%;flex:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.photo-result-images img{height:100px}}
