/* Dream Property: progressive disclosure without removing the advanced designer. */
#martin-studio {max-width:1580px; margin-inline:auto; --dream-ink:#1e4237;}
#martin-studio [hidden], #martin-studio [data-tab][hidden]{display:none!important}
.dream-steps {display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid #d5e1da;background:#fbfcfa;padding:10px 16px;gap:8px}
.dream-step {display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 14px;border:1px solid transparent;border-radius:8px;background:transparent;color:#61726a;text-align:left;font:600 14px/1.3 system-ui;cursor:pointer}
.dream-step-number {display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #c3d2c9;border-radius:50%;font-size:12px;background:white}
.dream-step[aria-current=step]{background:#1e4237;color:white;box-shadow:0 2px 6px #19362715}
.dream-step[aria-current=step] .dream-step-number{background:#ffffff18;color:white;border-color:#ffffff55}
.dream-step:hover{border-color:#9ab3a4}.dream-step:focus-visible{outline:3px solid #cd472f;outline-offset:2px}
#martin-studio .studio-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:12px;align-items:center;justify-content:flex-start}
#martin-studio .studio-tabs [data-tab]{flex:1 1 80px;min-height:38px;font-size:12px;padding:8px;border-radius:7px;grid-column:auto}
#martin-studio .dream-advanced{width:100%;background:transparent;border:0;font-size:11px;color:#60766b;text-decoration:underline;cursor:pointer;padding:8px;min-height:32px}
#martin-studio .studio-layout{grid-template-columns:300px minmax(0,1fr)}
#martin-studio .studio-panel,#martin-studio .studio-selection-panel{padding:20px;max-height:760px}
#martin-studio .studio-viewport{height:clamp(500px,65vh,880px);min-height:500px}
#martin-studio.studio-property-mode #studio-viewport{height:clamp(600px,76vh,950px);min-height:600px}
#martin-studio .studio-viewbar{gap:10px;align-items:center;flex-wrap:wrap;padding:10px 12px;background:#fafcf9}
#martin-studio .studio-view-tabs button{min-height:36px}.dream-lightbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-left:auto}
.dream-lightbar>label{font-size:11px;font-weight:600;color:#566e61;display:flex;gap:8px;align-items:center}
.dream-lightbar select{font:inherit;border:1px solid #cbdacf;border-radius:6px;background:white;padding:7px;color:#294e3b;min-height:34px}
.dream-lightbar .studio-button{font-size:11px;padding:6px 9px;min-height:34px}
.dream-camera-details{background:#f6f9f6;border-bottom:1px solid #d6e1d9;position:relative}
.dream-camera-details>summary{padding:7px 15px;font-size:11px;color:#597565;cursor:pointer;min-height:28px}
.dream-camera-details .builder-view-tools{border-top:1px solid #dce5e0;border-bottom:0;gap:12px}
.dream-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}
.dream-action-card{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;gap:5px;border:1px solid #ccdcd0;border-radius:9px;background:#fff;color:#214236;min-height:87px;padding:13px;cursor:pointer;font:inherit}
.dream-action-card:hover{border-color:#296449;background:#f1f6f0}.dream-action-card strong{font-size:14px}.dream-action-card span{font-size:11px;line-height:1.5;color:#6a7c70}
.dream-fold{margin:16px 0;border:1px solid #d8e2d9;border-radius:8px;background:#fcfdfb;overflow:hidden}
.dream-fold>summary{cursor:pointer;font-weight:650;font-size:13px;padding:14px;color:#274b38;min-height:44px}
.dream-fold[open]>summary{background:#eef4ed;border-bottom:1px solid #d8e2d9}.dream-fold-body{padding:13px}
#martin-studio .dream-fold-body p{font-size:12px;line-height:1.6}.dream-list-button,.dream-wide{display:block;width:100%;margin:10px 0;text-align:center}
.dream-site-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}
.dream-draw-toolbar{position:absolute;top:50px;left:12px;z-index:9;max-width:calc(100% - 78px);display:flex;gap:6px;align-items:center;flex-wrap:wrap;background:#fff;padding:10px;border:1px solid #bfcec3;border-radius:9px;box-shadow:0 5px 25px #263e3320}
.dream-draw-label{font-size:12px;flex-basis:100%;color:#274c3a}.dream-draw-toolbar button{min-height:38px;font-size:12px;padding:6px 12px}
.dream-preview-intro{background:#edf3ec;border:1px solid #d4e0d1;border-radius:10px;padding:15px;margin:16px 0}
.dream-preview-intro strong{font-size:13px}.dream-preview-intro p{font-size:12px;line-height:1.6;margin:9px 0 0;color:#5b7063}
.dream-source-image{display:block;width:100%;max-height:340px;object-fit:contain;background:#e3ebe3;border-radius:10px;margin:15px 0}
#martin-studio .studio-dialog{max-width:min(960px,94vw);width:850px;max-height:90vh}
.dream-photo-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dream-input-label{display:grid;gap:7px;font-size:13px;font-weight:650}.dream-input-label select{font:inherit;padding:10px;border:1px solid #c5d4c8;border-radius:7px;background:white;color:#254632;min-height:42px}
.dream-consent{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6;margin:18px 0;cursor:pointer}
.dream-consent input{flex:0 0 20px;width:20px;height:20px;margin-top:2px;accent-color:#244e3c}
.dream-form-error{color:#a12b21;font-size:13px}.dream-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:20px}
.dream-preview-card{padding:13px;border:1px solid #d1ded4;border-radius:10px;background:#fafcf8;display:grid;gap:9px}
.dream-preview-card img{width:100%;height:150px;object-fit:cover;border-radius:6px}.dream-preview-card strong{font-size:13px}.dream-preview-card small{font-size:11px;color:#5e7568}
.dream-comparison{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:15px 0}.dream-comparison figure{margin:0;background:#eef3ed;border-radius:8px;overflow:hidden}.dream-comparison img{display:block;width:100%;object-fit:contain}.dream-comparison figcaption{font-size:12px;font-weight:700;padding:12px}
#studio-dialog-content>.studio-button{margin:8px 8px 8px 0}
@media(max-width:1050px){#martin-studio .studio-layout{grid-template-columns:260px minmax(0,1fr)}#martin-studio .studio-panel,#martin-studio .studio-selection-panel{padding:15px}.dream-lightbar{width:100%;justify-content:flex-end}.dream-step{font-size:12px;padding:8px;gap:7px}}
@media(max-width:760px){
 .dream-steps{gap:4px;padding:8px}.dream-step{display:flex;flex-direction:column;align-items:center;text-align:center;font-size:10px;gap:6px;min-height:64px;padding:7px 2px}.dream-step-number{width:22px;height:22px;font-size:11px}
 #martin-studio .studio-layout{display:flex;flex-direction:column}.studio-sidebar{display:contents}
 #martin-studio .studio-tabs{order:0;width:100%;padding:8px;min-height:52px}#martin-studio .studio-tabs [data-tab]{flex:1 1 72px;min-height:42px;font-size:12px}
 #martin-studio .studio-main{order:1;width:100%;min-width:0}#martin-studio .studio-panel,#martin-studio .studio-selection-panel{order:2;max-height:none;width:100%;padding:18px}
 #martin-studio .studio-viewport{height:53vh;height:53svh;min-height:360px;max-height:none}#martin-studio.studio-property-mode #studio-viewport{height:70svh;min-height:550px}
 #martin-studio .studio-view-options{gap:5px;flex-basis:100%}#martin-studio .studio-viewbar{padding:8px;gap:8px}#martin-studio .studio-view-tabs{width:100%}#martin-studio .studio-view-tabs button{flex:1;min-height:43px;font-size:11px}
 .dream-lightbar{margin:0;justify-content:flex-start;gap:5px}.dream-lightbar>label{font-size:11px}.dream-lightbar .studio-button{min-height:40px}.dream-lightbar select{min-height:40px}
 .dream-camera-details>summary{min-height:34px}.dream-action-grid{grid-template-columns:1fr 1fr}.dream-action-card{min-height:96px}
 .dream-photo-options{gap:10px}.dream-comparison{grid-template-columns:1fr}.dream-consent{font-size:13px}.dream-preview-grid{grid-template-columns:1fr}.dream-source-image{max-height:250px}
 .dream-draw-toolbar{top:47px;left:8px;padding:8px;max-width:calc(100% - 66px)}.dream-draw-toolbar button{min-height:44px;font-size:11px}
 #martin-studio .studio-summary{padding:10px;gap:10px}#martin-studio .studio-summary .studio-quote-price{gap:8px}
}
@media(prefers-reduced-motion:reduce){#martin-studio *{scroll-behavior:auto!important}}
.ai-setup-panel{padding:22px;border:1px solid #cddbd1;background:#f5f8f5;border-radius:10px;margin:20px 0}.ai-setup-check{padding:8px 12px;margin:8px 0;background:#fff;border-left:3px solid #688872}.ai-setup-check p{margin:4px 0;font-size:14px}.dream-setup-actions{display:grid;gap:8px;margin:12px 0}
.owned-photo-composer{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;touch-action:none;cursor:move;border:2px solid #47745b;border-radius:8px;margin:10px 0}.photo-composer-host label{display:grid;gap:5px;font-size:13px;margin:12px 0}.photo-composer-host input[type=range]{width:100%}

.owned-photo-composer{width:100%;height:auto;max-height:none;touch-action:none;display:block;cursor:move;}
