:root{--ink:#183a3d;--muted:#758080;--line:#e2e7e4;--paper:#f4f6f2;--teal:#1b6666;--accent:#e6f0cf;--orange:#e49755;--radius:14px;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.upload-box:focus-visible,summary:focus-visible{outline:3px solid #85b5a4;outline-offset:3px}button{color:inherit}button,select{border:1px solid var(--line)}[hidden]{display:none!important}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;gap:38px;border-bottom:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;letter-spacing:2px;font-size:18px;font-weight:500}.brand b{font-weight:800}.brand svg{width:30px;height:30px;stroke:var(--teal);fill:none;stroke-width:1.5}.top-caption{font-size:12px;color:var(--muted);letter-spacing:.1em}.topbar>.text-button{margin-left:auto}.text-button{border:0;background:none;padding:7px 0;font-size:12px;font-weight:600}.text-button:hover{color:var(--teal);text-decoration:underline}.app-shell{max-width:1800px;margin:0 auto;display:grid;grid-template-columns:316px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{padding:30px 25px;background:#fff;border-right:1px solid var(--line)}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:var(--teal);display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;border-radius:50%;background:#74a19a}.property-head h1{font-size:21px;letter-spacing:-.04em;margin:14px 0 8px;line-height:1.4}.property-head>p{font-size:11px;color:var(--muted);margin:0}.property-tags{display:flex;gap:6px;margin-top:17px}.property-tags span{background:#f0f4ef;color:#627570;border-radius:4px;font-size:10px;padding:5px 8px}.choose-section{margin-top:28px}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:15px}.section-title h2{font-size:13px;margin:0;font-weight:650}.step{font-size:10px;letter-spacing:.06em;color:#9aab9d;display:block}.upload-box{border:1px dashed #a8bdb5;border-radius:10px;padding:18px 8px;display:flex;flex-direction:column;align-items:center;cursor:pointer;background:#fafcf9;transition:.15s}.upload-box:hover,.upload-box.dragging{border-color:var(--teal);background:#eef5e9}.upload-box svg{width:23px;height:23px;fill:none;stroke:var(--teal);stroke-width:1.4;margin-bottom:10px}.upload-box strong{font-size:12px}.upload-box span{font-size:10px;color:var(--muted);margin-top:5px}.upload-box small{font-size:9px;color:#97a39a;margin-top:9px}.sample-line{font-size:10px;margin-top:6px;display:flex;justify-content:space-between;align-items:center;color:var(--muted)}.sample-line button{font-size:10px;color:var(--teal)}.divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:#9ba69f;font-size:9px}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}.field-label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}select{border-radius:7px;background:#fff;padding:11px;width:100%;font-size:12px;color:var(--ink)}.plan-preview{width:100%;display:flex;align-items:center;background:#fafbf9;border:0;border-radius:9px;margin:12px 0 0;padding:10px;text-align:left;gap:14px}.plan-preview>img{width:86px;height:99px;object-fit:contain;background:#fff;border:1px solid #edf0e9}.plan-summary{display:flex;flex-direction:column;gap:6px}.plan-summary strong{font-size:16px;letter-spacing:.03em}.plan-summary>span{font-size:11px;color:#74877e}.plan-summary .plan-expand{font-size:9px;margin-top:8px;color:var(--teal)}.floor-section{margin-top:25px}.floor-badge{margin-left:auto;font-size:27px;line-height:1}.floor-badge small{font-size:11px;margin-left:4px;color:var(--muted)}input[type=range]{width:100%;accent-color:var(--teal);cursor:pointer;margin:0;height:20px}.range-labels{display:flex;justify-content:space-between;font-size:9px;color:#8f9b92;margin-top:4px}.field-hint{font-size:10px;color:#87918d;line-height:1.8;margin:12px 0 0}.selected-room{margin-top:25px;border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;justify-content:space-between}.selected-room>div:first-child{display:flex;flex-direction:column;gap:6px}.selected-room span{font-size:10px;color:var(--muted)}.selected-room strong{font-size:20px;font-weight:550;letter-spacing:.02em}.room-direction{background:#edf1e8;padding:6px 9px;border-radius:6px;font-size:10px;color:#5b7464}.primary-button{border:0;border-radius:8px;background:var(--ink);color:#f6faef;padding:15px 16px;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;gap:12px}.primary-button:hover{background:#276163}#go-view{width:100%;margin-top:17px}.local-note{text-align:center;font-size:9px;color:#95a09a;margin:11px 0 0}.workspace{padding:30px 34px 22px;min-width:0}.workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.workspace-head h2{margin:9px 0 0;font-size:24px;font-weight:550;letter-spacing:-.04em}.mode-switch{display:flex;background:#e8ede7;padding:4px;border-radius:9px;gap:2px;flex-shrink:0}.mode-switch button{font-size:11px;padding:10px 13px;border:0;background:transparent;border-radius:6px;color:#708278;white-space:nowrap}.mode-switch button.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #244b3314;font-weight:600}.viewport-area{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.model-pane{position:relative;min-height:450px;height:51vh;max-height:650px;border:1px solid #dce4dd;background:#dfe8e7;border-radius:13px;overflow:hidden}.model-pane canvas{display:block;width:100%;height:100%;outline:0;touch-action:none}.scene-hud{position:absolute;left:19px;top:19px;display:flex;gap:6px;pointer-events:none}.view-badge,.approx-badge{display:inline-block;border-radius:5px;background:#fffE;padding:7px 9px;font-size:9px;letter-spacing:.08em;color:#3f605e}.view-badge{font-weight:700}.approx-badge{background:#f6f4e7e6;color:#8a7e55;font-size:9px;letter-spacing:0}.compass{position:absolute;right:19px;top:19px;display:flex;align-items:center;flex-direction:column;font-size:9px;color:#67837e;gap:3px;pointer-events:none}.compass svg{width:29px;height:29px;fill:#316d67;filter:drop-shadow(0 1px 2px #ffffff)}.scene-bottom{position:absolute;bottom:15px;left:20px;right:15px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.scene-bottom>span{font-size:10px;color:#607f78;background:#ffffffc9;padding:7px 9px;border-radius:4px}.round-button{width:34px;height:34px;border-radius:50%;border:0;background:#fffE;font-size:21px;pointer-events:auto;box-shadow:0 2px 8px #244b3310}.scene-loading{position:absolute;inset:0;background:#edf2e9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;z-index:5}.scene-loading strong{font-size:13px}.scene-loading small{font-size:11px;color:var(--muted)}.spinner{width:24px;height:24px;border:2px solid #cedbd2;border-top-color:var(--teal);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.scene-details{display:flex;align-items:center;gap:30px;padding:19px 0 22px;border-bottom:1px solid var(--line)}.detail-cell{display:flex;flex-direction:column;gap:7px;min-width:142px}.detail-cell>span{font-size:10px;color:#839288}.detail-cell strong{font-size:21px;font-weight:500;letter-spacing:.03em}.detail-cell strong small{font-size:11px;color:#7c9086}.detail-note{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#82918a;line-height:1.8;max-width:360px;margin-left:auto}.detail-note p{margin:0}.legend-square{width:9px;height:9px;background:#2c7773;flex-shrink:0;border-radius:2px;margin-top:4px}.photo-samples{margin-top:25px}.samples-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:13px;gap:15px}.samples-heading h3{font-size:15px;font-weight:550;margin:7px 0 0}.samples-heading>span{font-size:9px;color:#94a094}.sample-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sample-card{border:1px solid var(--line);border-radius:9px;padding:0;overflow:hidden;text-align:left;background:#fff;transition:transform .15s,border-color .15s}.sample-card:hover{transform:translateY(-2px);border-color:#73a499}.sample-card.active{border-color:#3d8176;box-shadow:0 0 0 1px #3d8176}.sample-card img{width:100%;height:94px;object-fit:cover;display:block}.sample-card>div{padding:11px 12px;display:flex;justify-content:space-between;align-items:center}.sample-card strong{font-size:12px;font-weight:600}.sample-card span{font-size:9px;color:#7d9088}.sample-card small{display:block;font-size:9px;font-weight:400;color:#94a099;margin-top:5px}.assumptions{border-top:1px solid var(--line);margin-top:24px;font-size:11px}.assumptions summary{list-style:none;display:flex;justify-content:space-between;cursor:pointer;padding:17px 0;color:#6d8478}.assumptions summary::-webkit-details-marker{display:none}.assumptions[open] summary>span{transform:rotate(45deg)}.assumptions-body{font-size:11px;color:#718278;line-height:1.9;padding-bottom:15px}.assumptions-body p{margin:0 0 14px}.assumption-fields{display:flex;gap:16px;margin:14px 0}.assumption-fields label{flex:1}.assumption-fields select{margin-top:5px;font-size:11px}.source-links{display:flex;flex-wrap:wrap;gap:18px;font-size:10px}.workspace-footer{display:flex;justify-content:space-between;font-size:8px;color:#9ea9a0;gap:15px;letter-spacing:.02em}.workspace-footer>span{letter-spacing:.12em}.view-controls{display:flex;gap:18px;align-items:center;padding:14px 0 0;font-size:10px}.view-controls>div{min-width:140px;display:flex;justify-content:space-between}.view-controls output{color:var(--teal)}.view-controls input{flex:1;max-width:320px}.view-controls>span{color:#90a097;margin-left:auto}.viewport-area.compare{grid-template-columns:repeat(2,minmax(0,1fr))}.compare .model-pane,.compare .photo-pane{height:auto;aspect-ratio:1;min-height:0;max-height:none;position:relative;overflow:hidden;border-radius:12px;border:1px solid #dce4dd}.photo-pane>img{display:block;width:100%;height:100%;object-fit:contain}.pane-caption{position:absolute;left:0;right:0;bottom:0;padding:20px 15px 12px;background:linear-gradient(transparent,#142a32b9);color:#fff;display:flex;justify-content:space-between;align-items:flex-end;gap:8px}.pane-caption>span{font-size:11px}.pane-caption small,.pane-caption a{font-size:8px;color:#e1eae4;text-decoration:none}.compare .scene-bottom{bottom:48px;left:12px;right:12px}.compare .scene-bottom>span{font-size:8px}.compare .scene-hud{left:12px;top:12px;gap:4px}.compare .view-badge,.compare .approx-badge{font-size:8px;padding:6px}.compare .compass{display:none}.actual{color:#507357}.photo-empty{background:#e9eee6;border:1px dashed #c9d6c7;border-radius:12px;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px}.photo-empty h3{font-size:15px;margin:20px 0 5px}.photo-empty p{font-size:11px;line-height:1.8;color:#83917f;margin-bottom:25px}.photo-empty .primary-button{font-size:11px}.match-result{margin-top:10px;padding:10px;border-radius:7px;background:#eef5e8;font-size:10px;line-height:1.7;color:#4f705d}.match-result.uncertain{background:#f5efdf;color:#887544}.candidate-list{display:flex;gap:5px;flex-wrap:wrap}.candidate-list button{padding:6px 9px;font-size:10px;border-radius:5px;margin-top:5px;background:#fff}.candidate-list button:hover{background:#edf5e7}dialog{border:1px solid #e1e7dd;border-radius:16px;padding:22px;width:min(620px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #183a3d33}dialog::backdrop{background:#102c3699;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font-size:18px;margin:0}.dialog-close{border:0;background:#eef2e9;border-radius:50%;width:32px;height:32px;font-size:23px}#large-plan{display:block;max-width:100%;max-height:65vh;margin:18px auto;object-fit:contain}dialog>p{font-size:10px;color:var(--muted);text-align:center}.about-body{font-size:13px;line-height:1.9;color:#6d8076;padding-top:10px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#173d3f;color:#fff;padding:12px 20px;border-radius:8px;font-size:12px;max-width:90vw;z-index:10;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}
@media(min-width:1500px){.workspace{padding:34px 45px}.app-shell{grid-template-columns:330px minmax(0,1fr)}.sidebar{padding:34px 30px}.model-pane{min-height:510px}.sample-card img{height:114px}}
@media(max-width:1120px){.app-shell{grid-template-columns:280px minmax(0,1fr)}.sidebar{padding:26px 19px}.workspace{padding:26px 23px}.workspace-head{align-items:flex-start;flex-direction:column;gap:15px}.workspace-head h2{font-size:23px}.mode-switch{width:100%}.mode-switch button{flex:1}.model-pane{height:440px;min-height:350px}.detail-cell{min-width:110px}.scene-details{gap:15px}.detail-note{font-size:9px}.sample-card img{height:75px}.sample-card>div{padding:9px}.sample-card span{display:none}.samples-heading>span{display:none}.compare .scene-bottom>span{display:none}.pane-caption{flex-direction:column;align-items:flex-start;gap:4px}.workspace-footer>span{display:none}}
@media(max-width:760px){.topbar{height:62px;padding:0 18px;gap:10px}.brand{font-size:15px;gap:9px;letter-spacing:1.5px}.brand svg{width:24px;height:24px}.top-caption{display:none}.topbar>.text-button{font-size:10px}.app-shell{display:flex;flex-direction:column}.sidebar{padding:23px 20px;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.property-head{grid-column:1/-1}.property-head h1{font-size:21px}.property-tags{margin-top:11px}.choose-section{grid-column:1/-1;margin-top:22px}.upload-box{padding:12px;flex-direction:row;gap:9px;flex-wrap:wrap;justify-content:center}.upload-box svg{margin:0;width:20px;height:20px}.upload-box strong{font-size:11px}.upload-box span{display:none}.upload-box small{margin:0;font-size:9px}.sample-line{justify-content:center;gap:15px}.divider{margin:12px 0}.plan-preview{margin-top:8px;gap:20px}.plan-preview>img{height:80px;width:75px}.plan-summary{flex-direction:row;align-items:center;flex:1;justify-content:space-between;flex-wrap:wrap;gap:8px}.plan-summary .plan-expand{margin:0}.floor-section{grid-column:1/-1;margin-top:20px}.floor-section .section-title{margin-bottom:9px}.floor-badge{font-size:24px}.field-hint{font-size:9px;margin:7px 0}.field-hint br{display:none}.selected-room{border:0;margin:12px 0 0;padding:0;gap:10px}.selected-room strong{font-size:17px}.room-direction{font-size:9px;padding:5px}#go-view{margin-top:12px;padding:12px;font-size:10px}.local-note{grid-column:1/-1;margin-top:12px}.workspace{padding:25px 16px}.workspace-head{gap:18px;margin-bottom:16px}.workspace-head h2{font-size:23px}.model-pane{height:420px;min-height:300px}.scene-hud{left:12px;top:12px}.compass{right:12px;top:12px}.scene-details{flex-wrap:wrap;padding:17px 3px;gap:20px}.detail-cell{flex:1}.detail-cell strong{font-size:20px}.detail-note{max-width:none;margin-left:0;flex-basis:100%;font-size:10px}.sample-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sample-card img{height:100px}.sample-card span{display:block}.photo-samples{margin-top:22px}.samples-heading h3{font-size:15px}.view-controls{gap:10px;flex-wrap:wrap}.view-controls input{max-width:none}.view-controls>div{min-width:125px}.view-controls>span{display:none}.viewport-area.compare{grid-template-columns:1fr}.compare .model-pane,.compare .photo-pane{aspect-ratio:1}.compare .scene-bottom>span{display:block;font-size:9px}.compare .pane-caption{flex-direction:row;align-items:flex-end}.compare .pane-caption small,.compare .pane-caption a{font-size:9px}.assumption-fields{flex-direction:column;gap:10px}.source-links{flex-direction:column;gap:8px}.workspace-footer{font-size:8px}.property-head .eyebrow,.workspace-head .eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
