@charset "UTF-8";
:root{--ink:#202b2c;--muted:#667477;--line:#e0e6e5;--surface:#fff;--canvas:#e8edee;--green:#175f59;--green-dark:#0c403d;--accent:#ddedc9;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;font-size:16px;color:var(--ink);background:#f5f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #9ebfa2;outline-offset:3px}button svg{width:19px;height:19px;display:block}button{transition:background .16s,border-color .16s,box-shadow .16s}h2,p{margin:0}h2{font-size:1.06rem;letter-spacing:.02em;font-weight:650}a{color:inherit;text-decoration:none}.app-header{height:88px;padding:0 28px;display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;min-width:244px}.brand-mark{width:40px;height:42px;border-radius:4px 16px 4px 4px;display:grid;place-items:center;background:var(--green-dark);color:#dcebbf;font-family:Georgia,serif;font-size:32px;line-height:1}.brand b{display:block;font-size:1rem;letter-spacing:.015em}.brand b span{font-family:Georgia,serif;font-size:1.18rem;margin-left:3px}.brand small{display:block;font-size:.75rem;color:var(--muted);margin-top:4px;letter-spacing:.13em}.header-middle{display:flex;align-items:center;gap:14px;flex:1}.prototype-tag{font-size:.75rem;padding:5px 9px;background:#eff4ef;color:var(--green);border-radius:4px;white-space:nowrap}.header-caption{font-size:.85rem;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:10px}.button{border:1px solid transparent;border-radius:7px;padding:11px 15px;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:var(--green-dark)}.secondary{background:#fff;border-color:#ced8d6}.secondary:hover{background:#f0f5f4}.text-button{background:none;border:0;padding:10px;font-size:.875rem;color:#4c6262}.workspace{display:grid;grid-template-columns:240px minmax(0,1fr) 284px;min-height:calc(100dvh - 88px)}.panel{background:#fff;padding:28px 22px}.library{border-right:1px solid var(--line);display:flex;flex-direction:column}.eyebrow{font-size:.6875rem;letter-spacing:.14em;color:#7b888a;font-weight:650;margin-bottom:9px}.photo-section{padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:25px}.upload-button{width:100%;display:flex;align-items:center;gap:10px;border:1px dashed #b7c9c3;border-radius:8px;background:#f6f9f7;padding:13px 10px;text-align:left;margin-top:17px}.upload-button>span:first-child{color:var(--green)}.upload-button>span:nth-child(2){font-size:.8rem;font-weight:600;flex:1}.upload-button small{display:block;margin-top:5px;font-size:.65rem;line-height:1.6;color:var(--muted);font-weight:400}.upload-plus{font-size:20px;color:var(--green)}.sample-button{display:block;width:100%;background:none;border:0;color:var(--green);font-size:.8rem;margin-top:10px;padding:8px}.privacy-note{font-size:.6875rem;color:#7b8586;line-height:1.7;margin-top:8px}.section-caption{font-size:.75rem;color:var(--muted);margin-top:8px;line-height:1.7}.product-list{display:grid;gap:11px;margin-top:18px}.product-card{width:100%;border:1px solid var(--line);border-radius:9px;padding:0;background:#fff;text-align:left;display:grid;grid-template-columns:1fr auto;overflow:hidden;position:relative}.product-card:hover{border-color:#88a69e;box-shadow:0 4px 14px #123e3910}.product-preview{width:100%;height:94px;grid-column:1/-1;display:block;background:#f0f3f2}.product-copy{padding:11px 13px 12px}.product-copy b{font-size:.8125rem;font-weight:600;display:block}.product-copy small{font-size:.6875rem;display:block;color:var(--muted);margin-top:3px}.add-circle{width:25px;height:25px;background:#edf4f1;color:var(--green);display:grid;place-items:center;border-radius:50%;align-self:center;margin-right:12px;font-size:18px}.library-note{display:flex;gap:8px;margin-top:auto;padding-top:24px;color:#7d8788;font-size:.6875rem;line-height:1.75}.library-note svg{width:15px;height:15px;margin-top:2px;flex-shrink:0}.editor{padding:24px 22px;min-width:0;background:#f0f3f3;display:flex;flex-direction:column}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:8px}.view-tabs{display:flex;background:#e2e8e7;padding:4px;border-radius:8px}.view-tabs button{border:0;border-radius:5px;padding:8px 16px;font-size:.8rem;color:#667b78;background:none}.view-tabs button.active{color:#254f48;background:#fff;box-shadow:0 2px 5px #183a3010}.toolbar-right{display:flex;align-items:center;gap:6px}.icon-button{background:transparent;border:1px solid transparent;padding:8px;display:inline-grid;place-items:center;min-width:35px;height:35px;border-radius:6px;color:#5e7270}.icon-button:hover{background:#fff;border-color:#dce4e2}.tool-divider{width:1px;height:18px;background:#ced9d6;margin:0 6px}.stage-wrap{flex:1;min-height:280px;display:grid;place-items:center;background:#e4e9e9;border:1px solid #dce2e2;border-radius:10px;overflow:hidden;padding:0;position:relative}.stage{position:relative;width:100%;aspect-ratio:3/2;max-width:100%;overflow:hidden;touch-action:none;user-select:none;background:#d7e0df;isolation:isolate}.stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}.stage #three-layer{position:absolute;inset:0;z-index:1;cursor:grab}.stage #three-layer.dragging{cursor:grabbing}.stage #three-layer canvas{display:block;width:100%;height:100%}.photo-badge{position:absolute;bottom:14px;left:14px;z-index:3;font-size:.6875rem;padding:6px 9px;border-radius:4px;background:#ffffffdc;color:#425553;pointer-events:none;backdrop-filter:blur(6px)}.before-label{position:absolute;top:16px;left:16px;z-index:3;font-size:.75rem;background:#123d37e6;color:#fff;border-radius:5px;padding:8px 12px}.stage-loading{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:#edf2f0f2;font-size:.875rem;color:#587069}.stage-loading[hidden]{display:none}#selection-box{position:absolute;z-index:2;border:1px dashed #cbe9d4;box-shadow:0 0 0 1px #21564b35;pointer-events:none;display:none}#selection-box>i{position:absolute;width:6px;height:6px;border:1px solid #fff;background:var(--green);border-radius:1px}#selection-box>i:nth-of-type(1){left:-3px;top:-3px}#selection-box>i:nth-of-type(2){right:-3px;top:-3px}#selection-box>i:nth-of-type(3){left:-3px;bottom:-3px}#selection-box>i:nth-of-type(4){right:-3px;bottom:-3px}#selection-label{position:absolute;left:0;bottom:calc(100% + 8px);font-size:.6875rem;background:#124c45;color:#fff;white-space:nowrap;padding:5px 8px;border-radius:4px}.scene-footer{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;color:#617673;padding:14px 2px;gap:14px}.scene-instruction{display:flex;gap:7px;align-items:center}.scene-instruction svg{width:15px;height:15px}.objects-bar{display:flex;gap:12px;align-items:center;border-top:1px solid #dbe3e1;padding-top:17px;min-height:53px}.objects-caption{font-size:.6875rem;color:#7a8987;white-space:nowrap}.object-list{display:flex;gap:6px;flex-wrap:wrap}.object-chip{display:flex;align-items:center;gap:7px;font-size:.75rem;background:#fff;border:1px solid #d2ded9;border-radius:5px;padding:7px 9px}.object-chip.active{border-color:var(--green);color:var(--green);background:#e7f0eb}.chip-swatch{display:block;width:10px;height:10px;border-radius:2px}.accuracy-note{font-size:.6875rem;color:#7a8a87;line-height:1.8;margin-top:15px}.inspector{border-left:1px solid var(--line);padding:28px 23px}.inspector-title{margin-bottom:21px}.inspector-title h2{font-size:1.05rem}.inspector-title>p:last-child{margin-top:7px;font-size:.72rem;color:var(--muted)}fieldset{border:0;padding:0;margin:0;min-width:0}.field-title,.field-heading label{font-size:.8125rem;font-weight:550}.field-value{font-size:.6875rem;color:var(--muted)}select{margin-top:9px;margin-bottom:23px;width:100%;padding:9px;border:1px solid #d3ddda;background:#fff;color:var(--ink);border-radius:6px;font-size:.85rem}.field-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px}.field-heading output{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem;font-weight:600;color:#274c46}.swatches{display:flex;gap:10px;margin-bottom:27px;padding:1px 3px}.swatch{width:31px;height:31px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #d0d9d6}.swatch.selected{box-shadow:0 0 0 2px var(--green)}.walnut{background:#715042}.oak{background:#b79059}.charcoal{background:#333d3c}.silver{background:#a2aba9}.white{background:#eeece6}.control-block{margin-bottom:22px}input[type=range]{width:100%;height:5px;appearance:none;background:linear-gradient(to right,var(--green) var(--progress,40%),#e4ebe7 var(--progress,40%));border-radius:20px;display:block;margin:14px 0 9px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border:3px solid #fff;background:var(--green);border-radius:50%;box-shadow:0 0 0 1px #9bb5ab}input[type=range]::-moz-range-thumb{width:12px;height:12px;border:3px solid #fff;background:var(--green);border-radius:50%;box-shadow:0 0 0 1px #9bb5ab}.range-ends{display:flex;justify-content:space-between;font-size:.6875rem;color:#86918e}.dimension-note{font-size:.6875rem;line-height:1.7;color:#84908b;margin-top:-10px;margin-bottom:21px}.angle-presets{display:flex;gap:5px;margin-top:13px}.angle-presets button{border:1px solid #dce4e0;border-radius:4px;background:white;font-size:.72rem;flex:1;padding:6px 0}.angle-presets button:hover{background:#edf4f0}.nudge{display:flex;gap:7px;margin-bottom:25px}.nudge button{border:1px solid #dce4e0;border-radius:5px;flex:1;padding:9px;background:#fff;display:grid;place-items:center;color:#4d6d62}.nudge button:hover{background:#eef4f0}.object-actions{display:flex;gap:9px;border-top:1px solid var(--line);padding-top:19px}.object-actions button{flex:1;padding:10px;font-size:.8125rem}.danger{background:white;color:#8a635b;border-color:#e3d9d6}.danger:hover{background:#fbf2ef}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);padding:13px 19px;border-radius:8px;background:#153b36;color:white;z-index:30;box-shadow:0 6px 30px #13292430;font-size:.875rem;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d9e2dd;border-radius:16px;padding:35px;width:min(520px,90vw);box-shadow:0 20px 100px #16372c35;color:var(--ink)}dialog::backdrop{background:#183a3655;backdrop-filter:blur(3px)}dialog form{position:relative}dialog h2{font-size:1.4rem;margin:12px 0 20px}dialog ol{padding-left:22px;font-size:.9rem;line-height:2.1}dialog p{font-size:.8rem;color:var(--muted);line-height:1.9}dialog .help-note{background:#f0f5f2;border-radius:6px;padding:13px;margin:14px 0 23px;font-size:.75rem}.dialog-close{position:absolute;right:-16px;top:-18px;font-size:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}#empty-selection p{font-size:.85rem;line-height:1.9;color:var(--muted)}
@media(min-width:1600px){.workspace{grid-template-columns:270px minmax(0,1fr) 310px}.panel{padding:32px 26px}.editor{padding:28px 32px}.product-preview{height:115px}.stage-wrap{max-height:calc(100dvh - 260px)}}
@media(max-width:1200px){.workspace{grid-template-columns:210px minmax(0,1fr) 244px}.panel{padding:22px 17px}.editor{padding:20px 16px}.header-middle{display:none}.header-actions{margin-left:auto}.header-caption{display:none}.app-header{padding:0 20px}.brand{min-width:220px}.product-preview{height:80px}.stage-wrap{min-height:240px}.objects-bar{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:950px){.workspace{grid-template-columns:minmax(0,1fr) 240px}.library{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:230px 1fr;gap:25px;border-top:1px solid var(--line);border-right:0}.photo-section{margin:0;padding:0;border:0}.product-list{grid-template-columns:repeat(3,1fr);margin-top:12px}.product-section>.eyebrow{display:none}.product-section>.section-caption{display:none}.product-preview{height:70px}.library-note{grid-column:1/-1;padding:0;margin:0}.inspector{grid-column:2;grid-row:1}.editor{grid-column:1;grid-row:1}.stage-wrap{flex:initial;margin-top:20px}.brand small{font-size:.7rem}.header-actions{gap:5px}.header-actions>.button{padding:10px}.header-actions>.text-button{font-size:.78rem}}
@media(max-width:650px){.app-header{height:auto;min-height:79px;padding:14px 16px;flex-wrap:wrap;gap:13px}.brand{min-width:0;flex:1}.brand b{font-size:.88rem}.brand-mark{height:35px;width:34px;font-size:26px}.header-actions{width:100%;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:11px}.header-actions>.text-button{margin-right:auto}.workspace{display:flex;flex-direction:column}.editor{padding:18px 14px 12px}.editor-toolbar{margin-bottom:12px}.stage-wrap{min-height:0;margin-top:0;flex:none;border-radius:7px}.view-tabs button{padding:8px 13px}.photo-badge{font-size:.625rem;left:8px;bottom:8px}.scene-footer{font-size:.6875rem;padding:11px 0}.objects-bar{flex-direction:row;gap:10px;align-items:center;padding-top:11px}.accuracy-note{margin-top:9px;font-size:.6875rem}.inspector{border-left:0;border-top:1px solid var(--line);padding:22px 20px}.inspector-title{margin-bottom:15px}.inspector-title .eyebrow{display:none}#properties{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}#properties>label,#properties>select,#properties>.field-heading,#properties>.swatches,#properties>.dimension-note,#properties>.nudge,#properties>.object-actions{grid-column:1/-1}#properties>select{margin-bottom:16px}.swatches{margin-bottom:20px}.dimension-note{order:0}.control-block{margin-bottom:20px}.object-actions{max-width:350px}.library{display:flex;border-top:1px solid var(--line);padding:23px 20px;gap:23px}.photo-section{padding-bottom:20px;border-bottom:1px solid var(--line)}.product-list{grid-template-columns:repeat(3,1fr);gap:8px}.product-preview{height:74px}.product-copy{padding:9px 7px}.product-copy small{font-size:.625rem;line-height:1.6}.product-copy b{font-size:.75rem}.add-circle{width:20px;height:20px;margin-right:6px;font-size:15px}.product-card{grid-template-columns:1fr}.product-card .add-circle{position:absolute;right:2px;top:5px;background:#fffffff0}.library-note{padding-top:0}.toast{font-size:.8rem;bottom:15px}.photo-section .eyebrow{display:none}}
.field-title,.field-heading label,.product-copy b,.view-tabs button{font-size:.875rem}
.accuracy-note,.dimension-note,.library-note,.privacy-note{font-size:.75rem}
@media(max-width:650px){.workspace>.editor{order:0}.workspace>.inspector{order:1}.workspace>.library{order:2}.toolbar-right{gap:1px}.tool-divider{margin:0 2px}.view-tabs button{padding:8px 10px}.objects-caption{font-size:.75rem}.accuracy-note{font-size:.75rem}}
@media(max-width:380px){.editor-toolbar{flex-wrap:wrap}.toolbar-right{margin-left:auto}.header-actions{gap:3px}.header-actions>.button{font-size:.75rem;padding:9px}.brand small{letter-spacing:.06em}}
.download-dialog{width:min(820px,94vw)}.download-dialog p{margin-bottom:20px}.download-dialog img{display:block;max-width:100%;max-height:60vh;object-fit:contain;margin:0 auto 22px;border-radius:6px}.download-dialog .button{margin:0 6px 6px 0}
/* Multi-category workspace */
h3{margin:0;font-size:.93rem}.editor-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.editor-topline .button{padding:8px 14px}.editor-step{font-size:.8rem;color:#58706b}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:17px 0 22px}.category-grid button{font-size:.75rem;padding:10px 5px;background:#fff;border:1px solid #d8e2de;border-radius:6px;line-height:1.4}.category-grid button.active{background:#e3efe8;border-color:#175f59;color:#164f48;font-weight:600}.category-grid button:hover{background:#eef4f0}.catalog-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.catalog-heading>span{font-size:.7rem;color:#758680}.example-button{padding:12px 10px;background:#f4f7ef;border:1px solid #d9e3cd;border-radius:6px;color:#52674b;font-size:.75rem;width:100%;margin-top:17px;line-height:1.6}.example-button:hover{background:#e9f0dd}.angle-presets button.active{color:#175f59;background:#e7f0eb;border-color:#639589}.swatches{flex-wrap:wrap}#catalog-dialog{width:min(660px,94vw);max-height:90dvh;padding:24px;overflow:auto}#catalog-dialog .category-grid{grid-template-columns:repeat(4,1fr)}#catalog-dialog .product-list{grid-template-columns:repeat(3,minmax(0,1fr))}#catalog-dialog .product-preview{height:95px}#catalog-dialog .eyebrow{display:none}#catalog-dialog .product-copy{padding:12px 9px}#catalog-dialog .add-circle{position:absolute;top:6px;right:6px;margin:0;background:#fff}#catalog-dialog .section-caption{display:block}.catalog-dialog-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:18px}#catalog-dialog .icon-button{font-size:25px}#catalog-dialog .example-button{margin-top:22px}
@media(min-width:951px){.workspace{height:calc(100dvh - 88px);min-height:650px}.library,.inspector{overflow:auto}.editor{overflow:hidden}.stage-wrap{min-height:0;flex:1}.product-preview{height:85px}.photo-section{padding-bottom:18px;margin-bottom:21px}.library-note{margin-top:15px}.inspector{padding-top:22px}.control-block{margin-bottom:20px}.editor{padding-top:20px}.editor-toolbar{margin-bottom:12px}.accuracy-note{margin-top:10px}.library{padding-top:22px}}
@media(max-width:950px) and (min-width:651px){.library{grid-template-columns:210px 1fr}#catalog-host .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.editor-topline{flex-wrap:wrap}.editor-topline .button{margin-left:auto}}
@media(max-width:650px){.editor-step{font-size:.73rem}.editor-topline{margin-bottom:12px}.editor-topline .button{font-size:.8rem;padding:9px 12px}.library .category-grid{grid-template-columns:repeat(4,1fr)}#catalog-dialog{padding:20px 16px}#catalog-dialog .category-grid{gap:5px}#catalog-dialog .category-grid button{font-size:.72rem;padding:10px 2px}#catalog-dialog .product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.product-list{grid-template-columns:repeat(2,minmax(0,1fr))}#depth-control{grid-column:1/-1}#properties .dimension-note{grid-column:1/-1}.workspace>.library{display:none}.editor-topline+.editor-toolbar{margin-bottom:12px}}
.upload-button{gap:8px}.upload-button .upload-plus{display:none}
@media(max-width:430px){#catalog-dialog .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.objects-bar{align-items:flex-start}.objects-caption{padding-top:7px}}
/* Photo editing and consultation */
.stage-wrap{display:block;overflow:auto;min-height:200px;scrollbar-width:thin}.stage{max-width:none;margin:auto}.photo-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#patch-layer{z-index:0}#foreground-layer{z-index:2}#photo-overlay,#reference-overlay{z-index:5}#selection-box{z-index:4}#stage-loading{z-index:6}.stage.panning #three-layer{cursor:move}.canvas-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0 0}.zoom-controls{display:flex;align-items:center;border:1px solid #ccd9d4;border-radius:6px;overflow:hidden;background:#fff}.zoom-controls button{border:0;background:none;min-height:33px;padding:5px 10px;font-size:.75rem}.zoom-controls button:hover{background:#eaf2ed}.zoom-controls span{font-size:.68rem;color:#667e77}.small-button{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #cad9d1;border-radius:6px;padding:8px 10px;font-size:.75rem;line-height:1.5;color:#285a4c}.small-button:hover,.small-button[aria-pressed=true]{background:#e0eee4;border-color:#709a80}.photo-tools-panel{border:1px solid #cedcd6;border-radius:8px;background:#fff;padding:12px;margin-top:10px;flex-shrink:0}.photo-tool-tabs{display:flex;gap:5px;margin-bottom:10px}.photo-tool-tabs button{border:0;border-radius:5px;background:#f0f4f1;font-size:.75rem;flex:1;padding:8px 4px}.photo-tool-tabs button.active{background:#dcebdc;color:#234f37;font-weight:600}.photo-tools-panel p{font-size:.73rem;line-height:1.7;color:#65766c}.camera-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:10px 0}.camera-fields label,.tool-actions label{font-size:.74rem}.tool-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.tool-actions .text-button{font-size:.75rem;padding:7px 3px}#reference-metres{width:66px;padding:6px;border:1px solid #ced9d2;border-radius:4px}.edit-status{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e5ece8;margin-top:9px;font-size:.73rem;color:#3c6655}.edit-status button{font-size:.72rem;white-space:nowrap}.save-status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:.69rem;color:#6a7d74;margin-top:13px}.save-status-row label{display:flex;align-items:center;gap:4px}.save-status-row input{accent-color:#175f59}.resume-banner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#faf3db;border:1px solid #e5d9ad;border-radius:7px;padding:10px;margin-top:10px;font-size:.75rem}.resume-banner .text-button{font-size:.7rem;padding:4px}.consultation-cta{margin-top:13px;align-self:flex-end}.material-fields{display:grid;gap:10px;margin-bottom:20px}.material-fields select{margin-top:8px;font-weight:400}.numeric-value{display:flex;align-items:center;gap:5px;font-size:.72rem;color:#567163}.number-input{width:78px;text-align:right;padding:6px 7px;border:1px solid #d0dcd5;border-radius:5px;font-variant-numeric:tabular-nums}.connect-button{width:100%;margin-top:10px}.consultation-dialog{width:min(740px,94vw);max-height:90dvh;overflow:auto;padding:26px}.consultation-dialog h2{font-size:1.18rem;margin:0}.consultation-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.consultation-fields label{font-size:.75rem}.consultation-fields select{margin-top:8px}.consultation-dialog textarea{font:inherit;font-size:.8rem;line-height:1.7;width:100%;padding:10px;border:1px solid #cbd9d1;border-radius:6px;resize:vertical;margin:8px 0 15px;box-sizing:border-box}#consult-summary{background:#f7faf6;font-size:.75rem}.accuracy-note{line-height:1.7}.scene-footer{flex-shrink:0}.photo-tools-panel~.scene-footer{padding-top:10px}
@media(min-width:951px){.editor{overflow:auto}.stage-wrap{flex:none;max-height:min(54vh,640px);min-height:180px}.editor-topline,.editor-toolbar,.canvas-controls,.objects-bar,.save-status-row{flex-shrink:0}.workspace{min-height:680px}}
@media(max-width:650px){.stage-wrap{min-height:0;max-height:65vh}.canvas-controls{gap:6px}.canvas-controls>.small-button{font-size:.7rem;padding:7px 8px}.zoom-controls button{padding:5px 8px}.photo-tools-panel{padding:10px}.consultation-cta{align-self:stretch}.consultation-fields{grid-template-columns:1fr;gap:10px}.consultation-fields label{display:flex;align-items:center;justify-content:space-between;gap:10px}.consultation-fields select{width:65%;margin:0}.consultation-dialog{padding:18px}#properties>.material-fields,#properties>.connect-button{grid-column:1/-1}.material-fields{grid-template-columns:1fr 1fr}.number-input{width:63px}.field-heading{gap:3px}.save-status-row{gap:7px}.tool-actions .small-button{font-size:.7rem}.camera-fields{gap:16px}.photo-tool-tabs button{font-size:.7rem}}
/* Send a consultation without leaving the editor. */
#inquiry-fields{border:0;padding:0;margin:0;min-width:0}.consultation-intro{font-size:.84rem;line-height:1.8}.consultation-details{border:1px solid var(--line);border-radius:8px;padding:12px;background:#f7faf8}.consultation-details summary{font-size:.8rem;font-weight:600;cursor:pointer}.consultation-details textarea{margin:12px 0 4px!important}.inquiry-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.inquiry-contact-fields input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #cbd9d1;border-radius:6px;background:#fff;font:inherit;font-size:16px;box-sizing:border-box}.required-label{display:inline-block;padding:1px 5px;border-radius:3px;background:#edf3ed;color:#31614a;font-size:.65rem;vertical-align:middle}.inquiry-field-error{color:#a32b20;font-size:.75rem;line-height:1.5;margin:5px 0 10px;min-height:0}.inquiry-field-error:empty{display:none}.inquiry-contact-fields input[aria-invalid=true]{border-color:#a32b20}.inquiry-agree{display:flex;align-items:flex-start;gap:9px;margin-top:20px;font-size:.8rem;line-height:1.8}.inquiry-agree input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:var(--green)}.inquiry-agree a,.inquiry-preview-note a{color:var(--green)}.inquiry-attachment-note{font-size:.74rem;line-height:1.8;color:var(--muted);margin:16px 0}.inquiry-submit{width:100%;font-size:.9rem;padding:14px;min-height:48px}.inquiry-honeypot{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}.inquiry-status{padding:15px;border:1px solid #cbd9d1;border-radius:8px;font-size:.85rem;line-height:1.8;margin-top:15px;white-space:pre-line}.inquiry-status[data-state=success]{background:#ecf5e9;border-color:#9cbb9a;color:#21562b}.inquiry-status[data-state=error]{background:#fff6ee;border-color:#ddba9a;color:#7b3b20}.consultation-save-area{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.consultation-save-area>.field-title{font-size:.76rem}.consultation-dialog button:disabled{cursor:default;opacity:.6}.consultation-dialog input:focus-visible,.consultation-details summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:650px){.inquiry-contact-fields{grid-template-columns:1fr;gap:15px}.consultation-dialog textarea{font-size:16px}.consultation-dialog #consult-summary{font-size:.8rem}.consultation-intro{font-size:.78rem}.inquiry-agree{font-size:.77rem}}

/* AI proposal controls are separate from the live editor until adopted. */
.ai-guide-tools{padding:14px;margin:0 0 22px;border:1px solid #c9ddd0;border-radius:8px;background:#f6faf7}.ai-guide-tools .field-title{margin:0}.ai-guide-tools .tool-actions{margin-top:8px}.ai-guide-tools button{min-height:44px}.ai-guide-tools select{margin:6px 0 0}.ai-guide-stage{position:relative;width:100%;margin-top:14px;cursor:crosshair;touch-action:manipulation;border-radius:7px;overflow:hidden;outline-offset:3px}.ai-guide-stage img{display:block;width:100%;height:auto}.ai-guide-stage svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.ai-guide-stage line{stroke:#f5801f;stroke-width:5;vector-effect:non-scaling-stroke}.ai-guide-stage circle{fill:#f5801f;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}#ai-guide-cursor{fill:none;stroke:#0e5c3f;opacity:0}.ai-guide-stage:focus-visible #ai-guide-cursor{opacity:1}.ai-guide-stage[aria-disabled=true]{cursor:wait}.ai-omitted{background:#fff7e9;border:1px solid #e7cfaa;border-radius:7px;padding:12px;font-size:.8rem;line-height:1.8;white-space:pre-line}
.ai-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #c9ddd0;border-radius:9px;background:#eaf3ed;flex-shrink:0}
.ai-entry b{font-size:.8rem;color:#0E5C3F}.ai-entry span{display:block;font-size:.7rem;color:#546c60;margin-top:4px}.ai-entry .button{min-height:44px;border-color:#0E5C3F;color:#0E5C3F;font-weight:600}
.ai-dialog{width:min(680px,94vw);max-height:90dvh;padding:24px;overflow:auto;border:1px solid #cad9d1;border-radius:14px;color:var(--ink)}
.ai-dialog::backdrop{background:#13251f80;backdrop-filter:blur(4px)}
.ai-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-dialog-heading h2{font-size:1.2rem}.ai-dialog .eyebrow{margin-bottom:5px;color:#0E5C3F}
.ai-intro{font-size:.83rem;line-height:1.8;margin:14px 0}.ai-source{display:flex;align-items:center;gap:14px;padding:12px;background:#f2f6f3;border-radius:8px;margin-bottom:22px}.ai-source img{width:145px;max-height:100px;object-fit:contain;border-radius:5px}.ai-source p{font-size:.72rem;line-height:1.7;color:var(--muted)}
.ai-dialog legend{font-size:.88rem;font-weight:600}.ai-dialog small{font-size:.72rem;color:var(--muted);font-weight:400}.ai-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 24px}.ai-choice{position:relative;display:flex;align-items:center;gap:6px;min-height:46px;border:1px solid #ced9d2;border-radius:7px;padding:10px 8px;font-size:.77rem;cursor:pointer}.ai-choice:has(input:checked){background:#e8f3eb;border-color:#0E5C3F;color:#0E5C3F;font-weight:600}.ai-choice input{accent-color:#0E5C3F;margin:0;width:16px;height:16px;flex:none}
.ai-dialog select{min-height:44px;margin-bottom:20px}.ai-dialog textarea{display:block;width:100%;font:inherit;font-size:16px;line-height:1.7;min-height:80px;padding:10px;border:1px solid #ced9d2;border-radius:6px;resize:vertical;margin-top:8px}
.ai-progress{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;gap:12px;margin-top:14px;padding:16px;background:#edf7f0;color:#0E5C3F;border:1px solid #83b396;border-radius:8px;box-shadow:0 3px 16px #13251f1a;line-height:1.7}.ai-progress strong{font-size:.88rem}.ai-progress p{margin-top:4px;font-size:.75rem}.ai-spinner{flex:none;width:26px;height:26px;border:3px solid #bed6c7;border-top-color:#0E5C3F;border-radius:50%;animation:ai-spin .9s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.ai-spinner{animation:none}}
.ai-small{font-size:.72rem;color:var(--muted);line-height:1.8;margin-top:8px}.ai-consent{display:flex;align-items:flex-start;gap:9px;font-size:.8rem;line-height:1.8;margin-top:20px;padding:12px;background:#f2f6f3;border-radius:7px}.ai-consent input{flex:none;width:20px;height:20px;accent-color:#0E5C3F;margin-top:2px}.ai-dialog #ai-reconnect{margin-bottom:18px}
.ai-dialog .button{min-height:48px}.ai-dialog #ai-generate,.ai-dialog #ai-adopt{width:100%;margin-top:18px}.ai-status{font-size:.8rem;line-height:1.8;padding:12px 0;white-space:pre-line}.ai-status[data-state=error]{color:#a32b20}.ai-result{border-top:1px solid #d6dfda;margin-top:20px;padding-top:14px;scroll-margin-top:12px}.ai-result h3{font-size:1rem}.ai-result img{width:100%;display:block;border-radius:8px;background:#eaf0ed}.ai-image-label{font-size:.7rem;color:var(--muted);margin:8px 0 12px}.ai-result #ai-result-message{font-size:.82rem;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}.ai-result ul{font-size:.78rem;line-height:1.9;padding-left:20px}.ai-replace-note{font-size:.76rem;line-height:1.7;background:#fff7e9;border-radius:6px;padding:10px;margin-top:14px}.ai-manual{width:100%;margin-top:16px;min-height:44px}.ai-dialog [hidden]{display:none!important}.ai-dialog :focus-visible{outline:3px solid #83b396;outline-offset:3px}
@media(max-width:650px){.editor>.ai-entry{margin-bottom:12px}.ai-entry{padding:9px 10px;gap:8px}.ai-entry span{display:none}.ai-entry b{font-size:.72rem}.ai-entry .button{font-size:.75rem;padding:9px}.ai-dialog{padding:18px 16px;max-height:calc(100dvh - 96px - env(safe-area-inset-bottom));margin:12px auto auto}.ai-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-source img{width:100px;max-height:80px}.ai-dialog select{font-size:16px}.ai-dialog-heading .icon-button{min-height:44px;min-width:44px}.ai-dialog-heading h2{font-size:1.05rem}}

/* ===== v0.3.2 エクステリアLaBo本体（LP・工事別ページ）とデザインをそろえる ===== */
:root{--ink:#16211C;--muted:#6E736F;--green:#0E5C3F;--green-dark:#0A4430;--cta:#F5801F;--cta-hover:#DD6C0E;font-family:"IBM Plex Sans JP",-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif}
body,button,input,select,textarea{font-family:inherit}
.brand-text{display:flex;flex-direction:column;gap:4px}
.brand-logo{display:block;height:34px;width:auto}
.brand-text small{margin-top:0}
.category-grid button.active{border-color:var(--green);color:var(--green)}
.angle-presets button.active{color:var(--green)}
.save-status-row input,.inquiry-agree input{accent-color:var(--green)}
/* 相談につながるボタンはLPと同じオレンジ */
.consultation-cta,.inquiry-submit{background:var(--cta);color:#fff;border-color:var(--cta);font-weight:700}
.consultation-cta:hover,.inquiry-submit:hover{background:var(--cta-hover)}
/* ヘッダーのLINE（LPと同じ配置） */
.header-contact{display:flex;align-items:center;gap:10px;margin-left:auto}
.header-line{display:inline-flex;align-items:center;background:#06C755;color:#fff;font-weight:700;font-size:.8rem;padding:10px 14px;border-radius:7px;text-decoration:none;white-space:nowrap}
.header-contact+.header-actions{margin-left:0}
/* フッター（LPと同じ内容） */
.site-footer{background:#16211C;color:#A9B0AA;padding:28px 24px}
.site-footer-inner{max-width:1080px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;font-size:.78rem}
.site-footer-logo{font-weight:700;font-size:.95rem}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.site-footer a{color:#E9EBE8;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer p{margin:0 0 0 auto}
/* スマホ下の固定ボタン（LINE・無料相談） */
.sim-sticky-cta{display:none}
@media(max-width:950px){.header-contact{display:none}}
@media(max-width:650px){
.brand-logo{height:26px}
.sim-sticky-cta{display:grid;grid-template-columns:1fr 1.6fr;position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid #D4D6D1;padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:6px;box-shadow:0 -4px 14px rgba(0,0,0,.08)}
.sim-sticky-cta a,.sim-sticky-cta button{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:6px;font-size:.82rem;font-weight:700;text-decoration:none;border:0}
.sc-line{background:#06C755;color:#fff}
.sc-consult{background:var(--cta);color:#fff}
body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
.site-footer p{margin:0}
/* 指で押しやすい大きさ（44px以上） */
.icon-button{min-width:44px;height:44px}
.zoom-controls button{min-height:44px;min-width:44px}
.canvas-controls>.small-button,.small-button{min-height:44px}
.view-tabs button{min-height:44px}
.angle-presets button{min-height:44px}
.nudge button{min-height:48px}
.swatches button{min-width:40px;min-height:40px}
.header-actions .button,.header-actions .text-button{min-height:44px}
.editor-topline .button{min-height:44px}
.objects-bar button{min-height:44px}
.resume-banner .small-button,.resume-banner .text-button{min-height:44px}
}

/* Keep the photo visible while the mobile settings scroll below it.
   The v0.3.2 branding and contact bar above remain unchanged. */
@media(max-width:650px){
  :root{--mobile-photo-height:min(34svh,280px);--mobile-contact-space:calc(72px + env(safe-area-inset-bottom))}
  html{scroll-padding-top:calc(var(--mobile-photo-height) + 12px);scroll-padding-bottom:var(--mobile-contact-space)}
  .workspace{background:#f0f3f3;min-height:0;padding-top:16px}
  .workspace>.editor{display:contents}
  .editor>*{margin-left:14px;margin-right:14px}
  /* display:contents makes the workspace the sticky containing block,
     so the photo stays visible throughout the inspector as well. */
  .editor>.stage-wrap{position:sticky;top:0;z-index:10;display:flex;align-items:flex-start;flex:0 0 var(--mobile-photo-height);height:var(--mobile-photo-height);max-height:none;min-height:0;margin:0;border-radius:0;border-width:1px 0;background:#dfe7e3;box-shadow:0 4px 12px #16372c16}
  .stage-wrap>.stage{flex-shrink:0;margin:auto}
  .editor>.canvas-controls{padding-top:12px}
  .editor>.accuracy-note{margin-bottom:16px}
  .editor>.consultation-cta{align-self:stretch}
  .workspace>.inspector{padding:20px 16px 28px;scroll-margin-top:12px}
  #properties{column-gap:18px}
  .swatches button{min-width:44px;min-height:44px}
  .number-input{font-size:16px;min-height:44px}
  .toast{bottom:calc(var(--mobile-contact-space) + 12px)}
}
.estimate-panel{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.estimate-panel h3{font-size:.95rem;margin:0 0 10px}.estimate-rows{list-style:none;margin:0;padding:0;display:grid;gap:10px}.estimate-rows li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;font-size:.8rem;line-height:1.6}.estimate-rows .estimate-item{min-width:0;overflow-wrap:anywhere}.estimate-rows .estimate-size{grid-column:1;color:var(--muted);font-size:.74rem}.estimate-rows .estimate-price{grid-column:2;grid-row:1;font-weight:700;text-align:right;color:var(--green)}.estimate-rows .estimate-price[data-survey=true]{font-weight:600;font-size:.74rem;color:var(--ink);max-width:9em}.estimate-rows .estimate-removal{grid-column:1/-1;color:var(--muted);font-size:.72rem}.estimate-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:14px 0 0;padding-top:12px;border-top:1px dashed var(--line);font-size:.85rem}.estimate-total b{font-size:1.25rem;color:var(--green)}.estimate-small{font-size:.72rem;line-height:1.7;color:var(--muted);margin:6px 0 0}.estimate-note{font-size:.74rem;line-height:1.8;margin:12px 0;padding:10px 12px;border-radius:7px;background:#f3f6f2}.estimate-line{display:flex;justify-content:center;width:100%;min-height:48px;font-weight:700;background:#06c755;border-color:#06c755;color:#fff;text-decoration:none}.estimate-line:hover{background:#05b04b;border-color:#05b04b}
#ai-guide-start[data-emphasis=true]{background:var(--cta);border-color:var(--cta);color:#16211c;font-weight:700;box-shadow:0 0 0 4px rgba(245,128,31,.25)}
.photo-items-notice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:10px 0 0;padding:10px 14px;border:1px solid #e7cfaa;border-radius:8px;background:#fff7e9;font-size:.8rem;line-height:1.7}.photo-items-notice[hidden]{display:none}.photo-items-notice p{margin:0;flex:1 1 18em}.photo-items-actions{display:flex;gap:10px;align-items:center}.photo-items-actions button{min-height:44px}
.camera-status{margin:8px 0;padding:8px 10px;border-radius:7px;background:#eef6f1;font-size:.75rem;line-height:1.7}
/* 使い方・よくある質問（アプリの下、フッターの前。検索エンジンも読める説明文） */
.sim-guide{background:#fff;border-top:1px solid var(--line);padding:40px 24px 44px}.sim-guide-inner{max-width:880px;margin:0 auto;font-size:.9rem;line-height:1.9}.sim-guide h2{font-size:1.3rem;margin:0 0 10px}.sim-guide h3{font-size:1.02rem;margin:30px 0 10px}.sim-guide p{margin:0 0 10px}.sim-guide a{color:var(--green);text-decoration:underline}.sim-guide-steps{list-style:none;counter-reset:step;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sim-guide-steps li{counter-increment:step;border:1px solid var(--line);border-radius:10px;padding:16px;background:#f7faf8}.sim-guide-steps b{display:block;font-size:.95rem;margin-bottom:6px}.sim-guide-steps b::before{content:counter(step);display:inline-grid;place-items:center;width:24px;height:24px;margin-right:8px;border-radius:50%;background:var(--green);color:#fff;font-size:.8rem}.sim-guide-steps span{display:block;font-size:.84rem;color:#435453}.sim-guide-list{margin:0;padding-left:1.3em}.sim-guide-note{margin-top:16px!important;padding:12px 14px;border-radius:8px;background:#f3f6f2;font-size:.84rem}.sim-guide-faq{display:grid;gap:8px}.sim-guide-faq details{border:1px solid var(--line);border-radius:8px;padding:0 14px}.sim-guide-faq summary{cursor:pointer;font-weight:650;padding:12px 0;min-height:44px;box-sizing:border-box}.sim-guide-faq details p{font-size:.86rem;color:#435453;padding-bottom:4px}
@media(max-width:650px){.sim-guide{padding:30px 16px 34px}.sim-guide h2{font-size:1.15rem}.sim-guide-steps{grid-template-columns:1fr;gap:10px}}
/* 「LINEで送る」の連絡先（お問い合わせフォームの入力欄と同じ見た目） */
.lc-fields{margin:12px 0}.lc-fields .field{margin-bottom:12px}.lc-fields label{display:block;font-size:.76rem;font-weight:600}.lc-fields .req,.lc-fields .opt{display:inline-block;margin-left:6px;padding:1px 5px;border-radius:3px;background:#edf3ed;color:#31614a;font-size:.65rem;font-weight:400;vertical-align:middle}.lc-fields .opt{background:#f1f1ef;color:#667477}.lc-fields input,.lc-fields select{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #cbd9d1;border-radius:6px;background:#fff;font:inherit;font-size:16px;box-sizing:border-box;color:inherit}.lc-fields input[aria-invalid=true]{border-color:#a32b20;box-shadow:0 0 0 2px #f6dcd8}.lc-error{color:#a32b20;font-size:.75rem;font-weight:700;line-height:1.6;margin:0}.lc-error:empty{display:none}.lc-note,.lc-hint{font-size:.7rem;line-height:1.7;color:var(--muted);margin:4px 0 0}.lc-hint{font-weight:600;color:var(--ink);margin-top:10px}
.estimate-line[aria-disabled=true],.estimate-line[aria-disabled=true]:hover{background:#c9cec9;border-color:#c9cec9;color:#4b544e;cursor:not-allowed}
