/* Pavilhão vivo — architecture, unit and plan share one presentation. */
:root {
  --ink: #f3f0e9;
  --ivory: #203c30;
  --mute: #626b62;
  --champ: #955035;
  --champ-bright: #b57854;
  --line: #203c3029;
  --soft-line: #203c301c;
  --panel: #f8f6f0;
  --panel-solid: #f8f6f0;
  --blueprint: #56715e;
  --forest: #203c30;
  --stone: #f3f0e9;
  --paper: #fcfaf5;
  --display: "Manrope", sans-serif;
  --body: "Manrope", sans-serif;
  --plan-width: clamp(430px, 42vw, 680px);
  --header-height: 84px;
  --chapter-height: 78px;
  --soft-radius: 18px;
  --control-radius: 10px;
}
html {background: var(--stone); scrollbar-color: #8c9a89 var(--stone)}
body {color: var(--forest)}
body::after, #stage::after, .spatial-trace {display:none}
::selection {background:#bed0ba; color:#173523}
::-webkit-scrollbar-track {background:var(--stone)}
::-webkit-scrollbar-thumb {background:#80917d}
:focus-visible {outline:2px solid #b57854;outline-offset:4px}
button {touch-action:manipulation}
button, a { -webkit-tap-highlight-color:transparent }
.top {position:fixed;z-index:40;height:var(--header-height);padding:0 36px;align-items:center;background:color-mix(in srgb,var(--stone) 96%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}
.brand {padding:0;display:flex;align-items:center;gap:24px}
.brand::before {display:none}
.brand b {font:500 25px/1 var(--body);letter-spacing:.19em}
.brand i {font:400 11px/1.5 var(--body);letter-spacing:0;color:#667064;margin:0;border-left:1px solid #a9afa3;padding-left:22px;max-width:100px}
.header-end {display:flex;align-items:center;gap:22px}
.header-thesis {padding-left:22px;border-left:1px solid #9ca797;font-size:13px;letter-spacing:-.01em;color:#425342;white-space:nowrap}
.ghost {display:block;padding:9px 15px;border:1px solid #9ba596;background:transparent;backdrop-filter:none;color:var(--forest);font-size:11px;border-radius:var(--control-radius)}
.ghost:hover {background:#e3e8dc;color:#203c30;border-color:#203c30}
.module-nav {z-index:42;top:0;left:50%;transform:translateX(-50%);width:auto;height:var(--header-height);display:flex;align-items:center;gap:30px;padding:0;border:0;background:none}
.module-nav button {padding:24px 0;color:#536252;opacity:1;white-space:nowrap}
.module-nav span {font-size:14px;font-weight:500;letter-spacing:0}
.module-nav small {display:none}
.module-nav button::before {inset:auto 0 13px;width:auto;height:2px;background:transparent}
.module-nav button:hover {transform:none;color:#203c30}
.module-nav button[aria-current="page"] {color:#203c30;background:none}
.module-nav button[aria-current="page"]::before {background:#203c30;box-shadow:none}
body.ui-ready :is(.top,.module-nav,.card,.deck,.rail) {animation:none}
#stage {inset:var(--header-height) calc(var(--plan-width) - 20px) var(--chapter-height) 0;overflow:hidden;transition:right .62s var(--ease);background:linear-gradient(180deg,var(--sky1),var(--sky2) 60%,var(--sil2))}
body[data-plan-open="false"] #stage {right:0}
#gl {width:100%;height:100%}
.building-toolbar {position:fixed;z-index:24;top:calc(var(--header-height) + 20px);left:140px;right:28px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}
.building-toolbar>* {pointer-events:auto}
.tabs {border:1px solid #d3d7ce;background:#f3f0e9e8;box-shadow:0 12px 34px #17342614;backdrop-filter:blur(14px);border-radius:14px}
.tabs button {padding:11px 16px;min-width:0;font-size:12px;color:#586450}
.tabs::before {background:var(--forest);border-radius:10px}
.tabs button[aria-selected="true"] {color:#fff}
.plan-toggle {display:flex;align-items:center;gap:9px;background:#f3f0e912;color:var(--stone);padding:10px 14px;border-radius:var(--control-radius);font-size:11px;border:1px solid #d9e2d280;backdrop-filter:blur(12px)}
.plan-toggle:hover {background:#f3f0e9;color:var(--forest);border-color:var(--stone)}
.plan-toggle svg {transition:transform .4s var(--ease)}
body[data-plan-open="false"] .plan-toggle svg {transform:rotate(180deg)}
.building-plan-panel {position:fixed;z-index:21;right:0;top:var(--header-height);bottom:var(--chapter-height);width:var(--plan-width);padding:72px 28px 20px clamp(58px,5vw,86px);background:linear-gradient(145deg,#244637 0%,var(--forest) 58%,#173326 100%);color:var(--stone);overflow:auto;display:flex;flex-direction:column;gap:18px;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%,7% 76%,12% 18%);filter:drop-shadow(-20px 0 32px #10271b2b);transition:transform .62s var(--ease),visibility .62s;scrollbar-color:#84967f var(--forest)}
body[data-plan-open="false"] .building-plan-panel {transform:translateX(100%);visibility:hidden}
.selection-lockup {display:grid;grid-template-columns:1.2fr .8fr 1fr;align-items:stretch;border-bottom:1px solid #d8e1d133;padding-bottom:16px}
.selection-lockup p {display:grid;gap:5px;padding:0 16px;border-left:1px solid #d8e1d14d}
.selection-lockup p:first-child {padding-left:0;border-left:0}
.selection-lockup span {font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.08em;color:#c4d2bc}
.selection-lockup strong {font-size:18px;line-height:1.1;font-weight:500;letter-spacing:.01em;color:var(--stone)}
.selection-lockup p:nth-child(2) strong,.selection-lockup p:nth-child(3) strong {font-size:24px}
.card {position:static;padding:0 0 15px;border:0;border-bottom:1px solid #d8e1d133;width:auto;display:grid;grid-template-columns:1fr 1.25fr;align-items:end;gap:12px}
.lvl {display:none;gap:12px;align-items:baseline}
.lvl .n {font:400 34px/1.1 var(--body);color:var(--stone)}
.lvl .t {font:400 12px/1.3 var(--body);text-transform:none;letter-spacing:0;color:#ced9c9;padding:0}
.card dl {grid-column:2;display:flex;gap:16px;font-size:11px;margin:0;justify-self:end}
.card dl div {display:flex;gap:5px}
.card dt {color:#c0cdbb}
.card dd {color:var(--stone);font-weight:400}
.card .state {grid-column:1;grid-row:1;font-size:11px;letter-spacing:0;color:#d6dfd0}
.state i {width:7px;height:7px;border-radius:50%;background:#a6ba92!important;box-shadow:none!important}
.plan-preview {position:relative;background:linear-gradient(145deg,#fbf8f1,var(--stone));color:var(--forest);padding:24px 22px 20px 30px;clip-path:polygon(4% 0,100% 0,100% 100%,0 100%,2.5% 20%);filter:drop-shadow(0 18px 28px #081d1426)}
.plan-preview header {display:flex;justify-content:space-between;gap:15px;align-items:center}
.plan-preview h1 {font:500 16px/1.4 var(--body)}
.plan-preview .current-unit {font:600 17px/1 var(--body);color:var(--champ)}
#buildingPlanDrawing {height:clamp(180px,25vh,290px);position:relative;margin:12px -10px 8px}
.building-plan-drawing {position:absolute;width:100%;height:100%;inset:0;color:#75806e;background:transparent;opacity:1;transform:none;padding:4px}
.building-plan-drawing .plan-labels {font-size:12px;fill:#344a38}
.plan-preview>p {font-size:11px;color:#596452}
.enter-unit {display:flex;align-items:center;justify-content:space-between;width:100%;margin:16px 0 0;padding:15px 18px;font-size:13px;font-weight:500;letter-spacing:0;color:#fff;background:linear-gradient(100deg,#934127,#9d4e2e);border:0;border-radius:var(--control-radius);box-shadow:0 12px 30px #51241224}
.enter-unit:hover {padding-left:18px;color:#fff;background:#884b30}
.enter-unit span {font-size:24px;line-height:1}
.deck {position:static;padding:0;display:flex;flex-direction:column-reverse;gap:18px;align-items:stretch}
.hour {max-width:none;width:100%;grid-template-columns:1fr auto;gap:10px 18px;color:var(--stone)}
.hour .lab {display:block;font-size:12px;letter-spacing:0;color:#dbe4d5}
.hour output {font:400 18px/1 var(--body)}
.day-arc {height:34px;border-color:#a6b89f;margin:4px 8px 0}
.day-arc i {width:10px;height:10px;background:#e0b67a;box-shadow:none}
.period {font-size:11px;color:#dbe4d5}
.views {display:flex;flex-wrap:wrap;border:0;background:none;gap:6px}
.views button {padding:9px 10px;font-size:11px;letter-spacing:0;border:1px solid #83937a;background:none;color:#dbe4d5;backdrop-filter:none;border-radius:8px}
.views button:last-child {border-right:1px solid #83937a}
.views button[aria-pressed="true"] {background:var(--stone);border:1px solid var(--stone);color:var(--forest);box-shadow:none}
.views button:hover {background:#ffffff13}
.panel-note {display:none}
.rail {position:fixed;left:24px;right:auto;top:calc(var(--header-height) + 22px);bottom:calc(var(--chapter-height) + 22px);transform:none;width:96px;padding:16px 10px 13px;background:#f7f4ede8;border:1px solid #ffffff80;box-shadow:0 22px 70px #17342624;border-radius:18px 18px 7px 7px;gap:7px;backdrop-filter:blur(18px);display:flex;flex-direction:column;align-items:center}
.rail::before {display:none}
.rail:hover {transform:translateY(-2px);box-shadow:0 26px 80px #1734262e}
.rail-cap {font-size:11px;letter-spacing:.02em;color:#53614d}
.floor-bubble {display:none;background:var(--forest);color:var(--stone);width:44px;height:44px;border:0;font:500 23px/1 var(--body);border-radius:10px}
.floor-caption {display:none}
.floor-step {color:var(--forest);height:25px;width:36px;background:none;border-radius:8px;flex:none}
.floor-step:hover {background:#dde4d6;color:#203c30}
.floor-slider {display:none;height:clamp(120px,24vh,220px)}
.floor-list {display:grid;grid-template-rows:repeat(16,minmax(19px,1fr));width:100%;min-height:0;flex:1;align-items:center}
.floor-choice {position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:18px;color:#324632;font-size:11px;line-height:1;border-radius:9px;transition:background .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
.floor-choice::before {content:"";position:absolute;left:5px;width:8px;height:1px;background:#8c9987;opacity:.45;transition:width .25s,opacity .25s}
.floor-choice:hover {background:#e0e7d9;transform:translateX(2px)}
.floor-choice.is-active {background:var(--forest);color:var(--stone);font-weight:600;box-shadow:0 7px 18px #1734262e}
.floor-choice.is-active::before {width:15px;background:#c87651;opacity:1}
.floor-slider::-webkit-slider-runnable-track {background:#bdc7b5}
.floor-slider::-webkit-slider-thumb {background:#203c30;border-color:var(--stone);box-shadow:0 0 0 1px #7b8f6e;border-radius:3px}
.floor-slider::-moz-range-track {background:#bdc7b5}
.floor-slider::-moz-range-thumb {background:#203c30;border:2px solid var(--stone);box-shadow:none}
.building-caption {position:fixed;z-index:16;bottom:calc(var(--chapter-height) + 28px);left:140px;color:#203c30;background:#f3f0e9e6;padding:14px 19px 14px 23px;pointer-events:none;border-radius:3px 16px 16px 3px;backdrop-filter:blur(14px);box-shadow:0 14px 36px #17342619}
.building-caption::before {content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:var(--champ)}
.building-caption span {font-size:15px;font-weight:500}
.building-caption p {font-size:11px;color:#5b6755;margin-top:3px}
.chapter-bar {position:fixed;z-index:25;bottom:0;left:0;right:0;min-height:var(--chapter-height);padding:18px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--stone);border-top:1px solid var(--line)}
.chapter-bar>span {font:400 21px/1.3 var(--body);letter-spacing:-.025em}
.chapter-bar button {display:flex;align-items:center;gap:12px;font-size:13px}
.chapter-bar .current-unit {font:600 14px/1 var(--body);color:var(--champ)}
.chapter-bar button:hover {color:var(--champ)}
.chapter-bar button svg {width:34px;height:34px;padding:7px;border:1px solid #8e9a8b;border-radius:50%;transition:transform .25s var(--ease),background .25s}
.chapter-bar button:hover svg {transform:translateX(4px);background:#dfe6d8}
body:not([data-experience="edificio"]) :is(.building-plan-panel,.building-toolbar,.building-caption,.chapter-bar) {visibility:hidden;pointer-events:none}
body:not([data-experience="edificio"]) .rail {visibility:hidden}
.sheet {position:fixed;z-index:44;top:calc(var(--header-height) + 16px);right:24px;bottom:auto;background:var(--paper);color:var(--forest);box-shadow:0 20px 60px #203c302b;border:0;padding:30px;backdrop-filter:none;border-radius:var(--soft-radius)}
.sheet h2 {font-size:25px;font-weight:400}
.sheet dt {color:#52674e}
.sheet dd {color:#203c30}
.sheet dl div {border-color:#203c3020}
.sheet .note {color:#626b62}
.frame::before {box-shadow:inset 0 0 0 14px #203c30}

/* Each chapter shares the same light architectural presentation. */
.experience {inset:var(--header-height) 0 0;padding:42px clamp(22px,4vw,64px) 50px;background:var(--stone);color:var(--forest);animation:none}
.experience::before {display:none}
.experience-head {align-items:center;margin-bottom:28px;padding-bottom:24px;border-color:#c9d0c0}
.experience-head h1 {font:400 clamp(30px,3.3vw,50px)/1.15 var(--body);letter-spacing:-.035em}
.current-unit {font-family:var(--body);color:var(--champ)}
.back-building {font-size:12px;padding:11px 16px;border:1px solid #9ba895;color:var(--forest);border-radius:var(--control-radius)}
.back-building:hover {background:#dde5d6;color:#203c30;border-color:#203c30}
.prototype-tag,.board-kicker {display:none}
.visual-board,.amenity-index,.map-board {background:var(--paper);border:0;backdrop-filter:none;border-radius:var(--soft-radius) 3px 3px var(--soft-radius);overflow:hidden}
.detail-board,.common-plan-board,.nearby-board {background:var(--paper);border:0;backdrop-filter:none;border-radius:3px var(--soft-radius) var(--soft-radius) 3px;overflow:hidden}
.apartment-grid {grid-template-columns:minmax(0,2fr) minmax(270px,.75fr)}
.detail-board,.common-plan-board,.nearby-board {padding:28px}
.detail-board h2,.common-plan-board h2 {font:400 27px/1.22 var(--body);letter-spacing:-.025em;color:var(--forest)}
.detail-context {color:#68715f;font-size:11px;text-transform:none;letter-spacing:0}
.unit-facts {border-color:#c9d0c0}
.unit-facts dt,.room-list button span {color:#68715f}
.unit-facts dd {font:500 16px/1.5 var(--body)}
.room-list button {border-color:#c9d0c0;color:#203c30;font-size:13px}
.room-list button[aria-pressed="true"] {color:#8c4e31;background:#f0e8dc}
.prototype-note {font-size:11px;color:#68715f;border-color:#c9d0c0}
.visual-caption {background:var(--forest);border:0;padding:18px 22px;color:var(--stone)}
.visual-caption span {font:500 17px/1.4 var(--body)}
.visual-caption p {font-size:12px;color:#cddac4}
.view-switch,.webview-top-actions button,.webview-status {background:var(--stone);color:var(--forest);border:1px solid #b5c0a9;backdrop-filter:none;border-radius:var(--control-radius)}
.view-switch button {font-size:12px;color:#4d6147;padding:10px 14px}
.view-switch button[aria-pressed="true"] {color:var(--stone);background:var(--forest)}
.webview-top-actions button {font-size:11px;padding:9px 10px}
.webview-top-actions button[aria-pressed="true"] {background:#203c30;color:#fff}
.webview-status {font-size:10px}
.webview-status output:last-child {color:#52674e}
.webview-demo-label,.asset-slot {background:#203c30ed;border:0;text-align:left;padding:10px 12px;backdrop-filter:none}
.webview-demo-label b,.asset-slot b {font-size:11px;letter-spacing:0;text-transform:none;color:#e3e6da}
.webview-demo-label span,.asset-slot span {font-size:11px;letter-spacing:0;color:#c4d2bc}
.plus-room {background:#f3f0e9f5;color:#42583c;border:1px solid #a5b49b}
.plus-room[aria-pressed="true"] {background:#203c30;color:var(--stone);border-color:#203c30;transform:none!important}
.plus-room:hover {color:#203c30;background:#dde5d6;border-color:#203c30}
.plus-hub {background:#d5dfcd;color:#52674e;border-color:#a5b49b}
.apartment-plus-map {filter:none}
.walk-controls,.look-controls {background:var(--forest);color:var(--stone);box-shadow:none;border:0}
.walk-controls button {font-size:11px}
.webview-hint {background:#203c30ed;color:#d8e3d0;font-size:10px}
.webview-hint span {color:#eee5cf}
.floor-plan {color:#647b59;background:var(--stone)}
.mode-flight {background:#203c30f2;color:var(--stone)}
.amenity-index button {color:#4b6045;border-color:#d5dccd}
.amenity-index button[aria-pressed="true"] {background:#dfe7d7;color:var(--forest);box-shadow:none;padding-left:12px}
.amenity-index small {color:#69735f}
.amenity-view-status {background:var(--stone);color:var(--forest);border:0;font-size:11px}
.amenity-view-status output {color:#52674e;border-color:#9aaa90}
.amenity-look-controls,.amenity-walk-controls {background:var(--forest);border-color:#75866c;color:var(--stone)}
.amenity-look-controls button {color:var(--stone)}
.common-plan text {fill:#3d5e3c}
.common-plan rect {stroke:#8fa081}
.common-plan rect.active {fill:#cfddc3;stroke:#567648}
.location-modes {border-color:#c2ccb7}
.location-modes button {color:#52674e;border-color:#c2ccb7;font-size:13px}
.location-modes button[aria-pressed="true"] {background:#e3eadb;color:var(--forest);box-shadow:none}
.map-board {background:#dce3d6}
.map-board svg {background:#dce3d6}
.map-board svg>g:first-child {opacity:.25}
.map-pins text {fill:#203c30}
.map-pins circle {fill:#7e9871}
.map-pins .home-pin circle {fill:#a36746}
.map-route {stroke:#a36746}
.map-legend {background:var(--forest);color:var(--stone);border:0}
.map-legend p {color:#cddac4}
.nearby-board li {border-color:#c9d2bf}
.nearby-board li span {color:var(--forest)}
.nearby-board li small {color:#69735f}
.nearby-board li.active {background:#e2eada;box-shadow:none}
.nearby-board li.active b,.nearby-board b {color:#8c4e31}
.implementation-placeholder {background:#203c30;color:var(--stone)}
.implementation-placeholder strong {font:400 30px/1.2 var(--body);letter-spacing:-.025em}
.implementation-placeholder small {color:#cddac4}
.boot {background:var(--stone);color:var(--forest)}
.boot b {font:500 24px/1 var(--body);letter-spacing:.2em}
.boot p {font-size:12px;letter-spacing:0;text-transform:none;color:#64735c}
.boot .bar {background:#d5ddcb}
.boot .bar i {background:#203c30}
.view-transition {background:#203c30ed;color:var(--stone);backdrop-filter:none}
.view-transition span {color:#cddac4}
.handoff {background:radial-gradient(circle at center,transparent,#203c30ec);color:var(--stone)}
.handoff-floor {color:#e3dcc8}

@media(min-width:861px) and (max-height:760px) {
  .building-plan-panel {padding-top:62px;gap:9px;overflow:hidden}
  .selection-lockup {padding-bottom:10px}
  .selection-lockup p {gap:3px}
  .selection-lockup strong {font-size:15px}
  .selection-lockup p:nth-child(2) strong,.selection-lockup p:nth-child(3) strong {font-size:19px}
  .card {padding-bottom:9px}
  #buildingPlanDrawing {height:120px;margin-top:7px;margin-bottom:3px}
  .plan-preview {padding:13px 15px 13px 22px}
  .plan-preview>p {display:none}
  .enter-unit {margin-top:8px;padding:10px 14px}
  .panel-note {display:none}
  .deck {gap:7px}
  .hour {gap:5px 12px}
  .day-arc {height:25px}
  .views button {padding:7px 8px}
  .floor-list {grid-template-rows:repeat(16,minmax(15px,1fr))}
  .floor-choice {font-size:10px;min-height:15px}
}
@media(max-width:1180px) {
  .brand i {display:none}
  .header-thesis {display:none}
  .module-nav {gap:22px}
  .module-nav span {font-size:12px}
  .building-plan-panel {padding-left:22px;padding-right:22px}
  .building-caption {left:104px}
}
@media(max-width:860px) {
  :root {--header-height:112px;--chapter-height:72px;--plan-width:min(100%,460px)}
  .top {height:62px;padding:0 20px;align-items:center}
  .brand b {font-size:20px}
  .brand i {display:block;border:0;padding-left:0;max-width:none;font-size:11px}
  .brand {gap:12px}
  .ghost {font-size:11px;padding:7px 11px}
  .module-nav {top:62px;left:0;right:0;transform:none;height:50px;justify-content:space-evenly;background:var(--stone);border-bottom:1px solid var(--line);gap:0}
  .module-nav button {padding:15px 4px}
  .module-nav span {font-size:12px}
  .module-nav button::before {bottom:3px;left:4px;right:4px}
  #stage {right:0}
  .building-toolbar {left:16px;right:16px;top:calc(var(--header-height) + 14px)}
  .tabs button {padding:9px 10px;font-size:11px}
  .plan-toggle {font-size:11px;padding:9px 11px}
  .building-plan-panel {padding:68px 20px 22px;z-index:22;gap:18px;clip-path:none;filter:none}
  .building-toolbar {z-index:23}
  .plan-toggle {background:#203c30e8;color:var(--stone);border-color:#d9e2d280}
  .rail {left:16px;top:49%;bottom:auto;transform:translateY(-50%);width:62px;height:auto;padding:12px 7px;gap:8px;border-radius:16px}
  .rail:hover {transform:translateY(-50%)}
  .floor-list {display:none}
  .floor-bubble {display:grid;width:44px;height:44px;font-size:20px}
  .floor-slider {display:block;height:140px}
  .floor-step {width:44px;height:36px}
  .rail-cap {font-size:10px}
  body[data-plan-open="true"] .rail {visibility:hidden}
  .building-caption {left:16px;right:16px;bottom:calc(var(--chapter-height) + 16px);width:max-content;max-width:calc(100% - 32px)}
  .building-caption span {font-size:14px}
  .building-caption p {font-size:11px}
  .chapter-bar {padding:14px 20px;gap:12px}
  .chapter-bar>span {font-size:14px;max-width:130px}
  .chapter-bar button {font-size:11px;gap:7px}
  .experience {padding:26px 16px 38px}
  .experience-head {gap:14px}
  .experience-head h1 {font-size:31px}
  .back-building {font-size:11px;max-width:none;padding:9px 10px}
  .apartment-grid {grid-template-columns:1fr}
  .detail-board {min-height:0}
  .sheet {top:120px;right:16px;left:16px;bottom:auto;width:auto}
}
@media(max-width:420px) {
  .brand i {display:none}
  .chapter-bar>span {display:none}
  .chapter-bar button {width:100%;justify-content:space-between;font-size:12px}
  .webview-top-actions {top:58px;right:12px}
  .webview-status {top:100px;left:12px}
  .webview-demo-label {top:140px;left:12px;max-width:180px}
  .apartment-plus-map {top:186px}
}
@media(prefers-reduced-motion:reduce) {
  #stage,.building-plan-panel,.plan-toggle svg {transition:none}
}
