.planner[data-planner="buildings"] { max-width:1180px; padding:25px 0 34px; }
.planner .gw-buildings { max-width:none; margin:0; border:0; border-radius:0; background:transparent; color:var(--text); box-shadow:none; overflow:visible; }
.gw-buildings .bw-header { margin-bottom:24px; }
.gw-buildings .bw-header.gw-toolbar { display:block; padding:0; border:0; background:none; }
.gw-buildings .bw-header.gw-toolbar > a { width:auto; font-size:13px; }
.gw-buildings .bw-header > a { display:inline-flex; align-items:center; min-height:44px; margin-bottom:9px; color:var(--muted); font-size:13px; text-decoration:none; }
.gw-buildings .bw-header > div { display:flex; justify-content:space-between; align-items:flex-end; gap:25px; }
.planner .gw-buildings .bw-header h1 { margin:0 0 10px; font:600 clamp(29px,3vw,38px)/1.15 Inter,system-ui,sans-serif; letter-spacing:-.025em; text-transform:none; color:var(--text); }
.gw-buildings .bw-header p { max-width:640px; font-size:14px; line-height:1.65; color:var(--muted); }
.planner .gw-buildings .bw-header button,.planner .bw-buildings-section > header button,.planner .gw-buildings .gw-path-preview > header button { min-height:44px; padding:10px 14px; flex-shrink:0; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-surface); color:var(--text); font:500 13px/1.4 Inter,system-ui,sans-serif; }
.gw-buildings > .gw-live { position:static; display:flex; align-items:stretch; width:fit-content; max-width:100%; gap:0; margin:0 0 24px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); box-shadow:none; }
.planner .gw-buildings > .gw-live button { display:inline-flex; flex-direction:row; align-items:center; justify-content:flex-start; min-width:0; min-height:44px; padding:10px 13px; border:0; border-radius:0; background:transparent; gap:8px; }
.planner .gw-buildings > .gw-live button + button { border-left:1px solid var(--tool-border); }
.gw-buildings > .gw-live button:first-child small { display:none; }
.gw-buildings > .gw-live small { min-width:0; font-size:12px; font-weight:400; line-height:1.35; letter-spacing:0; color:var(--muted); }
.gw-buildings > .gw-live strong,.gw-buildings > .gw-live button:nth-child(2) strong { flex-shrink:0; color:var(--text); font-size:13px; font-weight:500; line-height:1.4; }
.gw-buildings > .gw-live strong span { font-size:13px; font-weight:400; }
.bw-buildings-section > header,.gw-buildings .gw-path-preview > header { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:16px; }
.planner .gw-buildings .gw-path-preview > .gw-bottom-actions { padding:0; border:0; background:none; }
.planner .gw-buildings .gw-path-preview > .gw-bottom-actions button { flex:0 0 auto; }
.planner .bw-buildings-section h2,.planner .gw-buildings .gw-path-preview h2 { margin:0; color:var(--text); font:600 22px/1.3 Inter,system-ui,sans-serif; letter-spacing:-.01em; text-transform:none; }
.gw-buildings .gw-town.bw-building-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; min-height:0; max-height:none; overflow:visible; padding:0; background:transparent; }
.gw-buildings .gw-town:before { content:none; }
.planner .gw-buildings .gw-town .gw-building:nth-of-type(n) { grid-column:auto; grid-row:auto; position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; align-self:stretch; gap:0; min-width:0; min-height:251px; padding:18px 15px 15px; border:1px solid var(--tool-border); border-radius:5px; background:var(--tool-base); color:var(--text); text-decoration:none; box-shadow:none; transition:border-color .15s,background .15s; }
.planner .gw-buildings .gw-town .gw-building:hover { transform:none; border-color:var(--tool-highlight); background:var(--tool-surface); }
.gw-buildings .gw-building .bw-building-art { display:flex; align-items:center; justify-content:center; width:100%; height:124px; padding:0; margin-bottom:12px; background:none; border:0; }
.gw-buildings .bw-building-art .game-icon { width:140px; height:124px; object-fit:contain; filter:drop-shadow(0 8px 8px #0003); }
.planner .gw-buildings .gw-building > strong { display:block; min-height:38px; max-width:100%; font:600 15px/1.35 Inter,system-ui,sans-serif; text-shadow:none; text-align:center; }
.gw-buildings .gw-building .bw-building-level { display:grid; gap:3px; margin-top:7px; padding:0; border:0; border-radius:0; background:none; font-size:12px; line-height:1.5; color:var(--muted); text-align:center; }
.gw-buildings .bw-building-level > span { color:var(--tool-highlight); }
.gw-buildings .gw-building .bw-building-action { margin-top:auto; padding:12px 0 0; border:0; border-radius:0; background:none; font-size:12px; font-weight:500; line-height:1.4; color:var(--text); }
.planner .gw-buildings .gw-building.bw-armor { background:var(--tool-surface); border-color:color-mix(in srgb,var(--tool-highlight) 55%,var(--tool-border)); }
.gw-buildings .gw-building .bw-new-label { position:absolute; top:12px; right:12px; z-index:1; display:block; min-height:0; padding:4px 7px; border:0; border-radius:3px; background:#f6d769; color:#302306; font:600 11px/1.25 Inter,system-ui,sans-serif; box-shadow:0 3px 9px #0002; animation:building-new-float 3s ease-in-out infinite; }
@keyframes building-new-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
.gw-buildings .bw-required { grid-column:1/-1; padding:18px; border-left:3px solid var(--tool-highlight); background:var(--tool-surface); }
.gw-buildings .bw-required h3 { margin:0 0 7px; font-size:16px; }
.gw-buildings .bw-required p { color:var(--muted); font-size:13px; line-height:1.6; }
.gw-buildings .bw-required > div { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; }
.planner .gw-buildings .bw-required button { min-height:44px; padding:9px 12px; background:var(--tool-base); border:1px solid var(--tool-border); border-radius:4px; color:var(--text); font-size:13px; }
.gw-buildings .gw-path-preview { display:block; padding:23px; margin-top:28px; border:1px solid var(--tool-border); border-radius:5px; background:var(--tool-base); }
.gw-buildings .gw-path-preview > p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }
.gw-buildings .gw-path-preview ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; list-style:none; padding:0; margin:0; }
.planner .gw-buildings .gw-path-preview li button { display:flex; align-items:center; width:100%; min-width:0; min-height:76px; gap:10px; padding:10px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-surface); text-align:left; color:var(--text); }
.gw-buildings .gw-path-preview li .game-icon { flex:0 0 42px; width:42px; height:42px; object-fit:contain; }
.gw-buildings .gw-path-preview li strong { font-size:12px; line-height:1.4; }
.gw-buildings .gw-path-preview li small { margin-top:5px; font-size:11px; color:var(--muted); }
.gw-buildings .gw-sheet { border-radius:7px; border-color:var(--tool-border); }
.gw-buildings .gw-sheet > header { border-radius:7px 7px 0 0; }
.planner .gw-buildings .gw-sheet > header h2 { font:600 19px/1.3 Inter,system-ui,sans-serif; color:var(--text); }
.planner .gw-buildings .gw-sheet > header button { width:44px; height:44px; min-height:44px; border-radius:4px; }
.gw-buildings .gw-sheet .gw-sheet-live button { padding:12px 18px; }
.gw-buildings .gw-catalog-group { padding:12px 0; border-bottom:1px solid var(--tool-border); }
.gw-buildings .gw-catalog-group summary { min-height:44px; color:var(--text); font-size:14px; font-weight:500; cursor:pointer; }
.planner .gw-buildings .gw-building-catalog button { border-radius:4px; padding:10px 5px; background:var(--tool-base); color:var(--text); }
.gw-buildings .gw-building-catalog span { font-size:12px; }
.gw-buildings .gw-building-catalog small { font-size:11px; color:var(--muted); }
.gw-buildings :is(button,a):focus-visible { outline:2px solid var(--tool-highlight); outline-offset:3px; }
@media(max-width:950px) { .gw-buildings .gw-town.bw-building-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .gw-buildings .gw-path-preview ol { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
 .planner[data-planner="buildings"] { padding:19px 0 30px; }
 .gw-buildings .bw-header > div { display:block; }
 .gw-buildings .bw-header p { font-size:13px; }
 .planner .gw-buildings .bw-header button { margin-top:16px; }
 .gw-buildings > .gw-live { margin-bottom:22px; }
 .planner .gw-buildings > .gw-live button { padding:9px 10px!important; gap:7px; }
 .bw-buildings-section > header { display:block; }
 .planner .bw-buildings-section > header button { margin-top:12px; }
 .gw-buildings .gw-town.bw-building-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .planner .gw-buildings .gw-town .gw-building:nth-of-type(n) { padding:15px 10px 13px; min-height:239px; }
 .gw-buildings .gw-building .bw-building-art { height:105px; margin-bottom:10px; }
 .gw-buildings .bw-building-art .game-icon { width:116px; height:105px; }
 .planner .gw-buildings .gw-building > strong { font-size:14px; min-height:38px; }
 .gw-buildings .gw-building .bw-building-level { font-size:11px; }
 .gw-buildings .gw-building .bw-new-label { top:9px; right:9px; font-size:10px; }
 .gw-buildings .gw-path-preview { padding:17px 14px; margin-top:22px; }
 .gw-buildings .gw-path-preview > header { display:block; }
 .planner .gw-buildings .gw-path-preview > header button { margin-top:12px; }
 .gw-buildings .gw-path-preview ol { grid-template-columns:1fr; gap:9px; }
 .gw-buildings .gw-sheet { border-radius:7px; }
}
@media(prefers-reduced-motion:reduce) { .gw-buildings .gw-building .bw-new-label { animation:none; } .planner .gw-buildings .gw-town .gw-building:nth-of-type(n) { transition:none; } }

/* Building editors and the construction ledger share one quiet dialog frame. */
.gw-buildings .bw-sheet { top:16px; right:max(18px,calc((100vw - 1180px)/2)); bottom:auto; width:min(620px,calc(100vw - 36px)); max-height:calc(100dvh - 32px); border-radius:7px; box-shadow:0 20px 70px #0007; }
.gw-buildings .bw-sheet > header { display:flex; align-items:center; gap:15px; padding:19px 20px; background:var(--tool-surface); border-bottom:1px solid var(--tool-border); }
.gw-buildings .bw-sheet > header > div { flex:1; min-width:0; }
.planner .gw-buildings .bw-sheet > header h2 { margin:0 0 5px; font-size:22px; font-weight:600; line-height:1.25; letter-spacing:-.015em; }
.gw-buildings .bw-sheet > header p { max-width:350px; color:var(--muted); font-size:12px; line-height:1.55; }
.planner .gw-buildings .bw-sheet > header button { flex:0 0 44px; align-self:flex-start; margin-left:auto; padding:0; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); color:var(--text); font-size:25px; font-weight:400; }
.bw-sheet-art { display:flex; align-items:center; justify-content:center; flex:0 0 76px; width:76px; height:82px; }
.bw-sheet-art .game-icon { width:76px; height:82px; object-fit:contain; filter:drop-shadow(0 5px 5px #0003); }
.gw-buildings .bw-sheet .gw-sheet-live { display:grid; grid-template-columns:1fr 1fr; gap:0; border-bottom:1px solid var(--tool-border); background:var(--tool-base); }
.planner .gw-buildings .bw-sheet .gw-sheet-live button { display:grid; justify-items:start; align-content:center; min-width:0; min-height:81px; gap:6px; padding:14px 22px; border:0; border-radius:0; background:transparent; color:var(--text); }
.planner .gw-buildings .bw-sheet .gw-sheet-live button + button { border-left:1px solid var(--tool-border); }
.gw-buildings .bw-sheet .gw-sheet-live small { color:var(--muted); font-size:11px; font-weight:400; letter-spacing:0; }
.gw-buildings .bw-sheet .gw-sheet-live strong { color:var(--text); font-size:21px; line-height:1.3; font-weight:600; font-variant-numeric:tabular-nums; }
.gw-buildings .bw-sheet .gw-sheet-live strong span { font-size:13px; font-weight:400; }
.gw-buildings .bw-sheet .gw-sheet-body { padding:22px; background:var(--tool-surface); }
.gw-buildings .bw-level-editor > .p-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; padding:0; }
.gw-buildings .bw-level-editor .p-card-heading { display:none; }
.gw-buildings .bw-sheet .p-control { padding:16px 0; border-bottom:1px solid var(--tool-border); }
.gw-buildings .bw-level-editor .p-control { min-width:0; margin:0; padding:16px 14px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); }
.gw-buildings .bw-sheet .p-control-label { margin-bottom:10px; color:var(--text); font-size:13px; font-weight:500; letter-spacing:0; text-transform:none; }
.gw-buildings .bw-sheet .p-control-label output { font-size:16px; font-weight:600; color:var(--tool-highlight); }
.gw-buildings .bw-sheet .p-range-row { grid-template-columns:44px minmax(35px,1fr) 44px 60px; gap:6px; }
.planner .gw-buildings .bw-sheet .p-step { min-height:44px; height:44px; min-width:44px; padding:0; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-surface); color:var(--text); font:400 20px/1 Inter,system-ui,sans-serif; box-shadow:none; }
.planner .gw-buildings .bw-sheet input.p-number { width:100%; min-height:44px; padding:8px 4px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-surface); font-size:13px; font-variant-numeric:tabular-nums; }
.gw-buildings .bw-sheet input[type=range]::-webkit-slider-runnable-track { height:5px; border:0; border-radius:3px; background:var(--tool-border); box-shadow:none; }
.gw-buildings .bw-sheet input[type=range]::-webkit-slider-thumb { width:18px; height:18px; border:0; border-radius:50%; background:var(--tool-highlight); transform:none; margin-top:-6.5px; box-shadow:none; }
.gw-buildings .bw-sheet input[type=range]::-moz-range-track { height:5px; border:0; border-radius:3px; background:var(--tool-border); }
.gw-buildings .bw-sheet input[type=range]::-moz-range-thumb { width:18px; height:18px; border:0; border-radius:50%; background:var(--tool-highlight); }
.gw-buildings .bw-level-editor .p-notice,.gw-buildings .bw-level-editor [data-b-known],.gw-buildings .bw-level-editor [data-b-clear] { grid-column:1/-1; }
.gw-buildings .bw-level-editor:has([data-b-known]) .p-control { grid-column:1/-1; }
.planner .gw-buildings .bw-level-editor [data-b-known] { width:max-content; max-width:100%; min-height:44px; padding:10px 15px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); font-size:13px; color:var(--text); }
.planner .gw-buildings .bw-level-editor [data-b-clear] { justify-self:start; min-height:44px; padding:8px 0; border:0; border-radius:0; color:var(--muted); font-size:12px; background:none; }
.gw-buildings .bw-sheet .p-button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; margin-bottom:18px; padding:9px 13px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); color:var(--text); font-size:13px; text-decoration:none; }
.gw-buildings .bw-ledger h3 { margin:0 0 15px; color:var(--text); font:600 17px/1.4 Inter,system-ui,sans-serif; }
.gw-buildings .bw-base-work { margin:-5px 0 13px; color:var(--muted); font-size:12px; line-height:1.6; }
.gw-buildings .bw-base-work strong { font-weight:500; color:var(--text); }
.gw-buildings .bw-ledger .p-costs { display:block; padding:0; margin:0; }
.gw-buildings .bw-ledger .p-cost { display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:12px; min-width:0; margin:0; padding:13px 0; border:0; border-bottom:1px solid var(--tool-border); border-radius:0; background:none; color:var(--text); }
.gw-buildings .bw-ledger .p-cost .game-icon { width:32px; height:32px; object-fit:contain; }
.gw-buildings .bw-ledger .p-cost > span { font-size:14px; line-height:1.45; }
.gw-buildings .bw-ledger .p-cost strong { font-size:15px; font-weight:600; line-height:1.4; font-variant-numeric:tabular-nums; }
.gw-buildings .bw-ledger details { margin-top:22px; padding-top:6px; border-top:1px solid var(--tool-border); }
.gw-buildings .bw-ledger summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 0; color:var(--text); font-size:14px; font-weight:500; cursor:pointer; }
.gw-buildings .bw-ledger summary::after { content:'+'; flex-shrink:0; color:var(--muted); font-size:20px; font-weight:400; }
.gw-buildings .bw-ledger details[open] > summary::after { content:'−'; }
.gw-buildings .bw-ledger summary > span { margin-left:auto; color:var(--muted); font-size:12px; font-weight:400; }
.gw-buildings .bw-budget > p,.gw-buildings .bw-empty-plan,.gw-buildings .bw-work-note { margin:0 0 15px; color:var(--muted); font-size:13px; line-height:1.65; }
.gw-buildings .bw-budget .p-budget-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(100px,.75fr); gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid var(--tool-border); }
.gw-buildings .bw-budget .p-select { margin:0; gap:7px; font-size:12px; }
.gw-buildings .bw-budget input { min-width:0; min-height:44px; padding:9px 11px; font-size:14px; border-radius:4px; }
.gw-buildings .bw-budget .p-budget-row > span { text-align:right; font-size:11px; line-height:1.6; color:var(--muted); }
.gw-buildings .bw-budget strong { display:block; color:var(--text); font-size:15px; font-weight:500; font-variant-numeric:tabular-nums; }
.gw-buildings .bw-ledger .p-path-list { max-height:none; overflow:visible; margin:0; padding:0; list-style:none; }
.gw-buildings .bw-ledger .p-path-list li { display:grid; grid-template-columns:23px 38px minmax(0,1fr) 72px; align-items:center; gap:12px; padding:14px 0; margin:0; border-bottom:1px solid var(--tool-border); background:none; }
.gw-buildings .bw-ledger .p-path-number { width:auto; height:auto; padding:0; border:0; border-radius:0; background:none; color:var(--muted); font-size:12px; }
.gw-buildings .bw-ledger .p-path-list .game-icon { width:38px; height:38px; object-fit:contain; }
.gw-buildings .bw-ledger .p-path-list li strong { display:block; color:var(--text); font-size:13px; font-weight:500; line-height:1.4; }
.gw-buildings .bw-ledger .p-path-list li div > span { display:block; margin-top:5px; color:var(--muted); font-size:12px; line-height:1.4; }
.gw-buildings .bw-ledger .p-path-list li > small { color:var(--muted); font-size:11px; line-height:1.5; text-align:right; }
.gw-buildings .bw-work-note { margin:22px 0 0; font-size:12px; }
@media(max-width:600px) {
 .gw-buildings .bw-sheet { top:auto; left:8px; right:8px; bottom:8px; width:calc(100% - 16px); max-height:calc(100dvh - 16px); }
 .gw-buildings .bw-sheet > header { padding:16px; gap:12px; }
 .planner .gw-buildings .bw-sheet > header h2 { font-size:19px; }
 .gw-buildings .bw-sheet > header p { font-size:11px; }
 .bw-sheet-art { flex-basis:59px; width:59px; height:68px; }
 .bw-sheet-art .game-icon { width:59px; height:68px; }
 .gw-buildings .bw-sheet .gw-sheet-body { padding:18px 16px; }
 .planner .gw-buildings .bw-sheet .gw-sheet-live button { padding:13px 16px; min-height:75px; }
 .gw-buildings .bw-sheet .gw-sheet-live strong { font-size:19px; }
 .gw-buildings .bw-level-editor > .p-panel { grid-template-columns:1fr; gap:13px; }
 .gw-buildings .bw-level-editor .p-control { padding:15px 13px; }
 .gw-buildings .bw-sheet .p-range-row { grid-template-columns:44px minmax(40px,1fr) 44px 66px; gap:7px; }
 .gw-buildings .bw-ledger .p-cost { gap:10px; grid-template-columns:28px minmax(0,1fr) auto; }
 .gw-buildings .bw-ledger .p-cost .game-icon { width:27px; height:27px; }
 .gw-buildings .bw-ledger .p-cost > span { font-size:13px; }
 .gw-buildings .bw-ledger .p-cost strong { font-size:13px; }
 .gw-buildings .bw-ledger .p-path-list li { grid-template-columns:18px 30px minmax(0,1fr) 57px; gap:8px; }
 .gw-buildings .bw-ledger .p-path-list .game-icon { width:30px; height:30px; }
 .gw-buildings .bw-ledger .p-path-list li strong { font-size:12px; }
 .gw-buildings .bw-ledger .p-path-list li > small { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { .gw-buildings .bw-sheet { animation:none; } }

.gw-buildings .bw-sheet-catalog .gw-sheet-live { display:none; }
.gw-buildings .bw-sheet-catalog .gw-sheet-body { padding:0; }
.gw-buildings .bw-catalog-tabs { position:sticky; top:0; z-index:2; display:flex; gap:5px; padding:11px 13px 0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:var(--tool-border) transparent; background:var(--tool-surface); border-bottom:1px solid var(--tool-border); }
.planner .gw-buildings .bw-catalog-tabs button { display:flex; flex:0 0 91px; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-height:77px; padding:7px 6px 10px; border:0; border-bottom:2px solid transparent; border-radius:0; background:none; color:var(--muted); box-shadow:none; font:500 12px/1.3 Inter,system-ui,sans-serif; white-space:nowrap; }
.gw-buildings .bw-catalog-tabs .game-icon { width:35px; height:35px; object-fit:contain; }
.planner .gw-buildings .bw-catalog-tabs button[aria-selected=true] { color:var(--text); border-bottom-color:var(--tool-highlight); background:var(--tool-base); }
.planner .gw-buildings .bw-catalog-tabs button:hover { color:var(--text); background:var(--tool-base); }
.gw-buildings .bw-catalog-panel { padding:21px; }
.gw-buildings .bw-catalog-panel > header { display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin-bottom:17px; }
.planner .gw-buildings .bw-catalog-panel h3 { margin:0; color:var(--text); font:600 17px/1.4 Inter,system-ui,sans-serif; letter-spacing:0; }
.gw-buildings .bw-catalog-panel > header > span { flex-shrink:0; color:var(--muted); font-size:11px; }
.gw-buildings .bw-catalog-description { margin:0 0 15px; color:var(--muted); font-size:12px; line-height:1.65; }
.gw-buildings .bw-catalog-panel .gw-building-catalog { grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; padding:0; }
.planner .gw-buildings .bw-catalog-panel .gw-building-catalog button { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; min-height:159px; padding:13px 9px; border:1px solid var(--tool-border); border-radius:4px; background:var(--tool-base); color:var(--text); }
.gw-buildings .bw-catalog-panel .gw-building-catalog .game-icon { width:80px; height:75px; object-fit:contain; }
.gw-buildings .bw-catalog-panel .gw-building-catalog span { font-size:12px; font-weight:500; line-height:1.4; }
.gw-buildings .bw-catalog-panel .gw-building-catalog small { margin-top:auto; color:var(--muted); font-size:11px; font-weight:400; }
.planner .gw-buildings .bw-catalog-back { display:inline-flex; justify-content:flex-start; min-height:44px; padding:7px 0; margin:-4px 0 16px; border:0; border-radius:0; background:none; color:var(--muted); font:500 12px/1.4 Inter,system-ui,sans-serif; text-decoration:underline; text-underline-offset:4px; }
.planner .gw-buildings .bw-catalog-back:hover { color:var(--text); }
@media(max-width:600px) {
 .gw-buildings .bw-catalog-tabs { gap:3px; padding:9px 10px 0; }
 .planner .gw-buildings .bw-catalog-tabs button { flex-basis:85px; min-height:75px; font-size:11px; }
 .gw-buildings .bw-catalog-panel { padding:18px 16px; }
 .gw-buildings .bw-catalog-panel > header { align-items:flex-start; gap:12px; }
 .planner .gw-buildings .bw-catalog-panel h3 { font-size:16px; }
 .gw-buildings .bw-catalog-panel .gw-building-catalog { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
}
