/* Scoped to newly added building project routes; existing academy pages are untouched. */
.buu-tour-page{padding:clamp(28px,4vw,60px) 0 80px;color:#163b32}
.buu-tour-page .container{max-width:1320px}
.buu-tour-heading{margin-bottom:22px}
.buu-tour-heading .eyebrow{color:#16725c;font-weight:800;letter-spacing:.12em;font-size:.77rem}
.buu-tour-heading h1{color:#0b513f;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.16;margin:10px 0}
.buu-tour-heading>p{max-width:860px;color:#516961;line-height:1.7}
.buu-tour-mini-nav{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.buu-tour-mini-nav a,.buu-tour-back{color:#0b684f;font-weight:750;text-decoration:none}
.buu-tour-mini-nav a{padding:8px 17px;border:1px solid #bad6cb;border-radius:999px;background:#eef7f0}
.buu-tour-back{display:inline-block;margin-bottom:16px}
.buu-tour-warning{border-left:4px solid #b58c3a;background:#fff5da;padding:12px 16px;color:#684d1d;max-width:950px;border-radius:5px;margin:14px 0;line-height:1.55}
.buu-tour-tag{display:inline-block;padding:4px 9px;background:#e3f2e9;border-radius:20px;color:#176c55;font-size:.7rem;font-weight:800;letter-spacing:.055em;text-transform:uppercase}
.buu-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:22px}
.buu-project-card{border:1px solid #d7e7de;background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 8px 28px rgba(19,70,50,.08)}
.buu-project-placeholder{height:175px;background:radial-gradient(ellipse at 70% 20%,#c0dccc,#17644f);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:5rem;line-height:1.1}
.buu-project-placeholder span{font-size:.95rem}
.buu-tour-cover{display:block;width:100%;height:175px;object-fit:cover}
.buu-project-card-body{padding:22px}
.buu-project-card-body h2{font-size:1.27rem;line-height:1.4;margin:12px 0 7px;color:#0b513f}
.buu-project-card-body>p{line-height:1.65}
.buu-tour-subtle,.buu-tour-note{font-size:.86rem;color:#65766f;line-height:1.65}
.buu-tour-note{margin:20px 0}
.buu-tour-action{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;margin-top:12px;background:#0b604a;color:white!important;border-radius:11px;font-weight:750;text-decoration:none;line-height:1.3;min-height:44px;transition:background .15s}
.buu-tour-action:hover{background:#098067}
.buu-tour-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
.buu-tour-money>div{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #d6e6da;border-radius:10px;background:#f7faf7}
.buu-tour-money span{font-size:.8rem;color:#5a6e64}
.buu-tour-money strong{font-size:clamp(.87rem,1.4vw,1.14rem);color:#0e5842;overflow-wrap:anywhere}
.buu-tour-progress{height:10px;border-radius:20px;background:#e1e8df;overflow:hidden;margin:10px 0 2px}
.buu-tour-progress>span{display:block;height:100%;background:#188363;border-radius:inherit}
.buu-tour-workspace{border:1px solid #d7e6da;border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 12px 34px rgba(16,66,46,.08)}
.buu-tour-toolbar{background:#0c5141;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:10px}
.buu-tour-toolbar button{appearance:none;border:1px solid #ffffff33;background:transparent;color:#e8f3ed;border-radius:9px;padding:10px 13px;font:inherit;font-size:.83rem;font-weight:750;cursor:pointer;min-height:42px;white-space:nowrap}
.buu-tour-toolbar button:hover,.buu-tour-toolbar button[aria-pressed=true]{background:#dbbc73;color:#164434;border-color:#e3c57d}
.buu-tour-toolbar button:disabled{opacity:.35;cursor:not-allowed}
.buu-tour-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:530px}
.buu-tour-stage-wrap{min-width:0;display:flex;flex-direction:column;background:#edf5ed}
.buu-tour-stage{position:relative;flex:1;min-height:460px;background:#f0f4ed;overflow:hidden;outline-offset:-4px;touch-action:none}
.buu-tour-stage:focus-visible{outline:3px solid #c79e45}
.buu-tour-stage canvas{display:block;width:100%;height:100%;min-height:460px;touch-action:none}
.buu-tour-stage canvas[hidden],.buu-tour-plan[hidden],.buu-tour-pano[hidden],.buu-tour-room-pins[hidden]{display:none!important}
.buu-tour-plan{position:absolute;inset:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;background:linear-gradient(135deg,#eaf3ee,#fff9e8);touch-action:pan-x pan-y}
.buu-tour-plan>svg{display:block;flex:1;min-height:380px;max-height:620px;min-width:0;touch-action:pan-x pan-y}
.buu-tour-plan .buu-plan-room{cursor:pointer;outline:none}
.buu-tour-plan .buu-plan-room:hover rect,.buu-tour-plan .buu-plan-room:focus rect{stroke:#da9b31;stroke-width:.46}
.buu-tour-plan .buu-plan-room.selected rect{fill:#f0d18b;stroke:#aa6b1d}
.buu-tour-plan .buu-plan-room:focus-visible{filter:drop-shadow(0 0 2px #d69a34)}
.buu-tour-uploaded-plan{width:100%;border-top:1px solid #d1dfd5;padding-top:12px;text-align:center}
.buu-tour-uploaded-plan h4{font-size:.84rem;color:#557366;margin:6px 0}
.buu-tour-uploaded-plan img{max-width:100%;max-height:290px;object-fit:contain}
.buu-tour-room-pins{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.buu-tour-pin{position:absolute;transform:translate(-50%,-50%);max-width:130px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;pointer-events:auto;background:#fbfff8e8;border:1px solid #5e9380;color:#145342;border-radius:16px;font-size:.65rem;padding:4px 9px;cursor:pointer;box-shadow:0 2px 6px #183b2f44}
.buu-tour-pin.is-selected{background:#e7bf6e;border-color:#976725;font-weight:850}
.buu-tour-stage-notice{position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:4;max-width:92%;padding:9px 15px;border-radius:9px;background:#124d3fee;color:white;text-align:center;font-size:.84rem;pointer-events:none}
.buu-tour-stage-notice[hidden]{display:none}
.buu-tour-legend{position:absolute;bottom:9px;left:10px;pointer-events:none;z-index:3;background:#fafff2d9;border:1px solid #d0ded2;color:#446053;border-radius:7px;padding:4px 9px;font-size:.67rem}
.buu-tour-controls{background:#e8f2e8;border-top:1px solid #d4e0d4;display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:10px}
.buu-tour-controls button,.buu-tour-secondary{cursor:pointer;border:1px solid #bad4c5;border-radius:8px;background:#fff;color:#185e48;min-height:42px;padding:9px 11px;font:inherit;font-weight:750;font-size:.82rem}
.buu-tour-controls button:hover,.buu-tour-secondary:hover{background:#def1e8}
.buu-tour-sidebar{min-width:0;display:flex;flex-direction:column;gap:9px;padding:19px;border-left:1px solid #dbe8dd;background:#fbfcfa;max-height:690px;overflow-y:auto}
.buu-tour-sidebar>label{font-size:.83rem;font-weight:800;color:#315b48}
.buu-tour-sidebar select{min-height:44px;background:white;border:1px solid #b7d1c4;padding:9px 11px;border-radius:9px;max-width:100%;font:inherit;color:#184b38}
.buu-tour-sidebar select:focus-visible,.buu-tour-page button:focus-visible,.buu-tour-page a:focus-visible{outline:3px solid #e3b359;outline-offset:2px}
.buu-tour-room-details{margin-top:12px;padding:15px 0;border-top:1px solid #dce8de;overflow-wrap:anywhere}
.buu-tour-room-details h3{font-size:1.13rem;color:#0d5844;margin:10px 0 18px}
.buu-tour-room-field{margin-bottom:13px}
.buu-tour-room-field strong{display:block;color:#315c47;font-size:.81rem}
.buu-tour-room-field p{margin:4px 0;line-height:1.55;font-size:.9rem;color:#344f42}
.buu-tour-room-details figure{margin:14px 0}
.buu-tour-room-details figure img{width:100%;height:auto;max-height:225px;object-fit:cover;border-radius:9px}
.buu-tour-room-details figcaption{font-size:.79rem;color:#6d796f}
.buu-tour-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:26px 0 0;border-bottom:1px solid #d9e6dc;padding-bottom:12px}
.buu-tour-tabs button{cursor:pointer;min-height:44px;padding:10px 18px;font:inherit;color:#246651;border-radius:9px;background:#edf6ee;border:1px solid #cde0d2;font-weight:750}
.buu-tour-tabs button[aria-selected=true]{background:#0d644d;color:white}
.buu-tour-detail-panel{padding:25px 0;line-height:1.7;color:#355648;max-width:1000px}
.buu-tour-detail-panel[hidden]{display:none}
.buu-tour-detail-panel h2{color:#0b5a46;font-size:1.5rem}
.buu-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.buu-project-gallery figure{margin:0;border:1px solid #d7e5d9;border-radius:13px;overflow:hidden}
.buu-project-gallery figure>div{height:230px;display:flex;align-items:center;justify-content:center;background:#ecf3ed}
.buu-project-gallery img{width:100%;height:100%;object-fit:cover}
.buu-project-gallery figcaption{text-align:center;padding:12px;color:#36634e;font-weight:700}
.buu-tour-empty{font-size:.91rem;color:#61786c;padding:24px;text-align:center}
.buu-tour-workspace:fullscreen{display:flex;flex-direction:column;border-radius:0;max-height:100vh}
.buu-tour-workspace:fullscreen .buu-tour-layout{flex:1;min-height:0}
.buu-tour-workspace:fullscreen .buu-tour-stage{min-height:0}
.buu-tour-workspace:fullscreen .buu-tour-sidebar{max-height:none}
@media(max-width:900px){.buu-tour-layout{grid-template-columns:minmax(0,1fr)}.buu-tour-sidebar{border-left:0;border-top:1px solid #d6e4dc;max-height:none}.buu-tour-stage,.buu-tour-stage canvas{min-height:420px}.buu-tour-money{grid-template-columns:repeat(3,minmax(0,1fr))}.buu-tour-workspace:fullscreen .buu-tour-sidebar{max-height:25vh}}
@media(max-width:600px){.buu-tour-page{padding:24px 0 90px}.buu-tour-toolbar{gap:5px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.buu-tour-toolbar button{font-size:.75rem;padding:9px 11px;flex-shrink:0}.buu-tour-stage,.buu-tour-stage canvas{min-height:315px}.buu-tour-plan>svg{min-height:290px}.buu-tour-controls{justify-content:flex-start}.buu-tour-controls button{font-size:.76rem;padding:8px}.buu-tour-pin{font-size:.54rem;max-width:88px}.buu-tour-money{grid-template-columns:1fr}.buu-project-gallery{grid-template-columns:1fr}.buu-tour-stage-notice{font-size:.7rem}.buu-tour-legend{font-size:.55rem;max-width:80%}.buu-tour-sidebar{padding:15px}}
@media(prefers-reduced-motion:reduce){.buu-tour-page *{scroll-behavior:auto!important;transition:none!important}}

.buu-tour-project-video{width:100%;max-width:850px;display:block;max-height:480px;margin:18px 0;border-radius:12px;background:#122e26}
