
#photo .photo-studio{padding:clamp(10px,2vw,24px);background:#141310;border:1px solid #b78a4566;border-radius:20px;color:#f5e6ce}
#photo .photo-studio-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;color:#e5b56d}
#photo .photo-studio-heading span{font-size:13px;color:#d9c6a9}
#photo .photo-studio-layout{grid-template-columns:minmax(290px, .75fr) minmax(0,1.25fr);align-items:start}
#photo .panel{min-width:0;background:#211e19;color:#f5e6ce;border:1px solid #b78a4566;box-shadow:none;padding:clamp(12px,1.5vw,24px)}
#photo h3{color:#eac18a;margin:15px 0 10px}
#photo .upload-box{min-height:110px;background:#30261b;border-color:#c49b58;color:#ffe9c2}
#photo .upload-box small,#photo .note{color:#d7c6ae}
#photo .photo-file{position:absolute;width:1px;height:1px;opacity:0}
#photo .upload-box:focus-within,#photo .photo-controls:has(.photo-file:focus-visible) .upload-box{outline:2px solid #f5d6a5}
#photo select{width:100%;background:#151412;color:#f5e6ce;border-color:#9c7945}
#photo .segmented{display:flex;gap:5px;margin:6px 0 14px}
#photo .segmented button{flex:1;background:#151412;color:#e7d6b8;border:1px solid #a87d45;min-height:42px}
#photo .segmented button.active{background:#e8b76f;color:#15110c}
#photo button:disabled{opacity:.45;cursor:not-allowed}
#photo input[type=range]{accent-color:#e8b76f;width:100%}
#photo .price-box{background:#30271b;border:1px solid #b78a4566;color:#e7d6b8}
#photo .price-box strong{color:#ffdc99}
#photo .primary{background:linear-gradient(180deg,#fbd68b,#d39a43);color:#21170b}
#photo .secondary,#photo .ghost{background:#332a1f;color:#f5d6a5;border:1px solid #b78a4566}
#photo .photo-preview{position:sticky;top:100px;justify-content:flex-start}
#photo #photoActualSize{color:#ead0a4;margin:0 0 12px}
#photo #photoPreviewStage{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;background:radial-gradient(ellipse,#383129,#111);border-radius:14px;min-width:0}
#photo #photoPreviewStage[data-view=compare]{grid-template-columns:repeat(2,minmax(0,1fr))}
#photo #photoPreviewStage[data-view=wood] .photo-original-figure,#photo #photoPreviewStage[data-view=original] .photo-wood-figure{display:none}
#photo #photoPreviewStage figure{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
#photo #photoPreviewStage canvas{display:block;width:auto;max-width:100%;height:auto;max-height:62vh;border-radius:3px;box-shadow:0 6px 16px #0008}
#photo #photoPreviewStage figcaption{font-size:13px;color:#e4cda9;text-align:center;padding:8px 0 0}
#photo .preview-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){#photo .photo-studio-layout{grid-template-columns:minmax(0,1fr)}#photo .photo-preview{position:static}#photo #photoPreviewStage canvas{max-height:60vh}}
@media(max-width:480px){#photo .photo-studio{padding:8px}#photo #photoPreviewStage{padding:6px;gap:6px}#photo .segmented button{font-size:12px;padding:6px}#photo .photo-studio-heading span{font-size:12px}}

#photo .photo-controls output{color:#ead0a4!important}
#photo .photo-controls .field-row{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px){#photo .photo-controls .field-row{grid-template-columns:1fr}}

#photo .photo-controls .field-row:has(#photoSize){grid-template-columns:minmax(0,1fr)}
