/* LandClan building templates: section, app window and the editor's base components. */
.building-scene{background:#e8eef7;padding-bottom:80px;margin-bottom:55px}
.building-scene .scene-section-heading{color:#193b78}
.building-scene .scene-index{color:#496ab0}
.building-scene .scene-section-heading>p{max-width:640px;margin-top:4px;color:#4a5d78}
.lcb{--ink:#1b2a38;--sub:#5d6b79;--faint:#8794a1;--border:#e2e8ee;--field:#d4dce4;--blue:#3d6ff0;--paper:#f3f6f9;
  font-family:'IBM Plex Sans',Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
.lcb [hidden]{display:none!important}
.lcb button,.lcb input,.lcb select{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
.lcb button{cursor:pointer}
.lcb h2,.lcb h3{font-family:inherit}
.lcb :focus-visible{outline:3px solid #86aaff;outline-offset:2px}
.lcb-window{overflow:hidden;border:1px solid #d5deea;border-radius:16px;background:var(--paper);box-shadow:0 30px 70px rgba(25,59,120,.16),0 2px 6px rgba(25,59,120,.06)}
.lcb-bar{display:flex;align-items:center;gap:14px;height:52px;padding:0 20px;background:#0e1a25;color:#a9bccd;font-size:13.5px}
.lcb-bar img{display:block;width:124px;height:auto}
.lcb-body{padding:28px}
.lcb .panel{min-width:0;padding:22px;background:#fff;border:1px solid var(--border);border-radius:12px}
.lcb .panel h3{font-size:16px;font-weight:600}
.lcb .panel p{font-size:14px;color:var(--sub)}
.lcb .field{display:grid;gap:7px;font-size:13px;font-weight:500;color:#465868}
.lcb .field input,.lcb .field select{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid var(--field);border-radius:8px;background:#fff;font-size:14px;font-weight:400;color:var(--ink)}
/* Dropdown arrow drawn by us: 16px from the right edge, in every design. */
.lcb .field select{appearance:none;-webkit-appearance:none;padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%235d6b79' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center/12px 12px}
.lcb .primary,.lcb .secondary{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 15px;border:1px solid var(--border);border-radius:8px;background:#fff;font-size:14px;font-weight:500;white-space:nowrap}
.lcb .primary{border-color:var(--blue);background:var(--blue);color:#fff}
.lcb .primary:hover{background:#2f5fe0}
.lcb .secondary:hover{background:#f2f5f9}
.lcb .note{margin-top:14px;font-size:13px;color:var(--sub)}
.lcb .be-input-unit input{height:42px}
@media(max-width:700px){.building-scene{padding-bottom:50px;margin-bottom:40px}.lcb-body{padding:14px}.lcb-bar{padding:0 14px}}
.lcb .be-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.lcb .be-heading h2{font-size:28px;letter-spacing:-.02em;font-weight:600;margin:0}
.lcb .be-heading p:not(.be-eyebrow){margin:6px 0 0;font-size:14px;color:var(--sub);max-width:520px}
.lcb .be-eyebrow,.lcb .panel .be-eyebrow{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--sub);margin:0 0 6px}
.lcb .be-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lcb .be-units{display:flex;padding:3px;background:#e9eef3;border-radius:8px;margin-right:6px}
.lcb .be-units button{border:0;background:transparent;color:var(--sub);padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500}
.lcb .be-units button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px #102d3b1f}
.lcb .be-basics{display:grid;grid-template-columns:1.4fr 1.1fr 1fr 1fr;gap:18px;padding:20px 22px;margin-bottom:20px;align-items:end}
.lcb .be-basics .field{margin:0}
.lcb .be-stepper{display:flex;align-items:stretch;border:1px solid #ced8e1;border-radius:6px;background:#fff;height:44px;overflow:hidden}
.lcb .be-stepper button{width:44px;border:0;background:transparent;color:var(--ink);font-size:18px;line-height:1}
.lcb .be-stepper button:hover{background:#f2f5f9}
.lcb .be-stepper output{flex:1;display:grid;place-items:center;font-weight:600;font-variant-numeric:tabular-nums;border-inline:1px solid #e4eaf0}
.lcb .be-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:20px;align-items:start}
.lcb .be-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.lcb .be-panel-head h3{margin:0}
.lcb .be-quick{display:flex;gap:4px;flex-wrap:wrap}
.lcb .be-quick button{border:1px solid var(--border);background:#fff;color:var(--sub);padding:6px 10px;border-radius:6px;font-size:12px}
.lcb .be-quick button:hover{color:var(--ink);background:#f5f7fa}
.lcb .be-stack{display:grid;gap:4px}
.lcb .be-floor{--use:#9aa8b5;--use-fill:#fff;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:36px;padding:0 12px 0 0;border:1px solid transparent;border-radius:6px;background:var(--use-fill);box-shadow:inset 4px 0 var(--use);color:var(--ink);text-align:left;font-size:13px;user-select:none;-webkit-user-select:none;transition:box-shadow .15s,transform .15s}
.lcb .be-floor:hover{transform:translateX(3px)}
.lcb .be-floor .be-level{text-align:center;font-weight:600;font-variant-numeric:tabular-nums;color:var(--sub);font-size:12px}
.lcb .be-floor .be-use{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lcb .be-floor .be-meta{font-size:12px;color:var(--sub);white-space:nowrap}
.lcb .be-floor[aria-pressed=true]{border-color:var(--blue);box-shadow:inset 4px 0 var(--use),0 0 0 2px #3265dc33}
.lcb .be-floor[aria-pressed=true] .be-level{color:var(--blue)}
.lcb .be-floor.is-empty{background:repeating-linear-gradient(135deg,#fff 0 6px,#f1f4f7 6px 12px);box-shadow:inset 0 0 0 1px #d8e0e7;color:var(--sub)}
.lcb .be-floor.is-empty[aria-pressed=true]{border-color:var(--blue);box-shadow:0 0 0 2px #3265dc33}
.lcb .be-ground{position:relative;margin:14px 0;height:2px;background:var(--ink);border-radius:2px}
.lcb .be-ground span{position:absolute;right:0;top:-8px;background:#fff;padding-left:8px;font-size:11px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--sub)}
.lcb .be-stack.below{padding:6px;margin-inline:-6px;border-radius:8px;background:#f6f3ed}
.lcb .be-summary{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.lcb .be-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lcb .be-stats div{display:grid;gap:2px}
.lcb .be-stats strong{font-size:20px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.lcb .be-stats span{font-size:12px;color:var(--sub)}
.lcb .be-mix{display:flex;gap:2px;height:8px;border-radius:99px;overflow:hidden;margin:16px 0 12px;background:#eef2f5}
.lcb .be-mix .be-unassigned,.lcb .be-legend .be-unassigned{background:repeating-linear-gradient(135deg,#cfd8e0 0 2px,#f3f6f9 2px 4px)}
.lcb .be-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:var(--sub)}
.lcb .be-legend li{display:flex;align-items:center;gap:6px}
.lcb .be-legend i{width:9px;height:9px;border-radius:2px}
.lcb .be-legend span{color:var(--ink);font-weight:600}
.lcb .be-inspector-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.lcb .be-inspector-head h3{font-size:20px;letter-spacing:-.015em;margin:0}
.lcb .be-small{padding:6px 11px;font-size:12px}
.lcb .be-uses{border:0;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.lcb .be-uses legend{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:500;margin-bottom:9px;padding:0}
.lcb .be-mixed{font-size:11px;font-weight:600;color:#8b6015;background:#fff3de;padding:2px 6px;border-radius:4px}
.lcb .be-use-option{position:relative;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--border);border-radius:7px;background:#fff;font-size:13px;cursor:pointer}
.lcb .be-use-option input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}
.lcb .be-use-option i{width:10px;height:10px;border-radius:3px;background:var(--use)}
.lcb .be-use-option.unassigned i{background:repeating-linear-gradient(135deg,#c9d3dc 0 2px,#fff 2px 4px);box-shadow:inset 0 0 0 1px #c9d3dc}
.lcb .be-use-option:has(input:checked){border-color:var(--use);background:var(--use-fill);box-shadow:inset 0 0 0 1px var(--use)}
.lcb .be-use-option.unassigned:has(input:checked){border-color:#9aa8b5;background:#f3f6f9;box-shadow:inset 0 0 0 1px #9aa8b5}
.lcb .be-use-option:has(input:focus-visible){outline:3px solid #86aaff;outline-offset:2px}
.lcb .be-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.lcb .be-input-unit{display:flex;align-items:stretch;border:1px solid #ced8e1;border-radius:6px;overflow:hidden;background:#fff}
.lcb .be-input-unit input{border:0;border-radius:0}
.lcb .be-input-unit input:focus-visible{outline:0}
.lcb .be-input-unit:focus-within{outline:3px solid #86aaff;outline-offset:2px}
.lcb .be-input-unit>span{display:grid;place-items:center;padding:0 11px;color:var(--sub);background:#f5f7fa;border-left:1px solid #e4eaf0;font-size:13px}
.lcb .be-templates{margin-top:20px}
.lcb .panel .be-label{font-size:13px;font-weight:500;color:var(--ink);margin:0 0 9px}
.lcb .be-chip-row{display:flex;flex-wrap:wrap;gap:6px}
.lcb .be-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);background:#fff;color:var(--sub);padding:7px 12px;border-radius:99px;font-size:13px}
.lcb .be-chip::before{content:'+';font-weight:600;width:10px;text-align:center}
.lcb .be-chip:hover{color:var(--ink);background:#f5f7fa}
.lcb .be-chip[aria-pressed=true]{border-color:var(--blue);background:#edf2ff;color:#2552bd}
.lcb .be-chip[aria-pressed=true]::before{content:'✓'}
.lcb .be-chip[aria-pressed=mixed]{border-color:#9db4ec;border-style:dashed;color:#2552bd}
.lcb .be-chip[aria-pressed=mixed]::before{content:'–'}
.lcb .be-empty{padding:28px 6px;text-align:center}
.lcb .be-empty strong{display:block;font-size:16px;margin-bottom:6px}
.lcb .be-empty p{margin:0 auto;max-width:270px}
@media(max-width:1100px){.lcb .be-basics{grid-template-columns:1fr 1fr}.lcb .be-grid{grid-template-columns:1fr}}
@media(max-width:700px){.lcb .be-heading h2{font-size:24px}.lcb .be-actions{width:100%}.lcb .be-actions .primary{margin-left:auto}.lcb .be-basics{grid-template-columns:1fr;padding:16px}.lcb .be-stats{grid-template-columns:1fr 1fr;row-gap:14px}.lcb .be-floor{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}.lcb .be-inspector{padding:18px}.lcb .be-pair{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.lcb .be-floor{transition:none}.lcb .be-floor:hover{transform:none}}
