/* Physical construction with screen-facing, keyboard-accessible labels. */
.construction-workspace{grid-template-columns:minmax(0,1.9fr) minmax(310px,1fr);gap:27px}.construction-workspace .pyramid-side{padding-top:18px}.construction-workspace .detail-panel{margin-top:12px}.explorer-intro{font-size:14px;color:#756349;display:flex;align-items:center;gap:9px;margin:20px 8px 0;line-height:1.5}.explorer-spark{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#FAEAC0;color:#8A651E;flex-shrink:0}.explorer-scene{height:620px;margin-top:0;border-radius:30px;background:radial-gradient(ellipse at 45% 65%,#FFFDF5 0,#FFF9ED 55%,transparent 76%);overflow:hidden}.explorer-scene .pyramid-mount{height:100%;position:absolute;inset:0}.explorer-scene .pyramid-mount:before{left:13%;width:74%;bottom:24px;height:65px;background:radial-gradient(ellipse,#94744230,transparent 68%)}.explorer-anchors{position:absolute;inset:0;pointer-events:none}.explorer-anchors .map-label{position:absolute;z-index:2;pointer-events:auto;transform:none;box-shadow:0 4px 17px #78571E0F}.explorer-label.map-label{width:164px;min-height:110px;padding:12px 14px;background:#FFFCF5F5;border:1px solid #E6D7BC;border-radius:20px;align-items:start}.explorer-label.map-label.selected{border-color:#C9A65E;box-shadow:0 5px 20px #A8751B16}.explorer-label.selected:before{display:none}.explorer-label .liquid-name{font-size:14px;line-height:1.25;gap:6px;color:#5E4826;margin-bottom:4px}.explorer-label .liquid-name>.icon{width:17px;height:17px;color:var(--level)}.explorer-percent,.liquid-label>.explorer-percent{font-size:32px;line-height:1.05;font-weight:600;letter-spacing:-1px;margin:1px 0 5px;color:#352A1C;font-variant-numeric:tabular-nums}.explorer-percent.is-missing,.liquid-label>.explorer-percent.is-missing{font-size:19px;letter-spacing:-.3px;line-height:1.15;padding:4px 0}.explorer-label .liquid-description,.compartment-label .liquid-description{font-size:12px;color:#706049}.completion-mark{display:inline-grid;place-items:center;min-width:19px;height:19px;border:1px solid #8E9C71;background:#EBF0DE;color:#476333;border-radius:50%;font-style:normal;font-size:12px;margin-left:auto}.explorer-footnote{font-size:12px;text-align:center;color:#77684F;line-height:1.6;margin:8px 10px 12px}.pyramid-leaders{pointer-events:none;position:absolute;inset:0;z-index:1;overflow:visible}.pyramid-leaders line,.pyramid-leaders path{stroke:#BCA16D;stroke-width:1;fill:none;opacity:.75}
.explorer-controls{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:22px 0 15px}.explorer-back{font-size:12px;border-color:#D8C79F;background:#FFFCF5;padding:10px 14px;min-height:44px}.explorer-open-heading{flex:1;min-width:140px}.explorer-open-heading .eyebrow{font-size:9px;letter-spacing:1px}.explorer-open-heading h3{font-size:23px;line-height:1.25;margin-top:5px;letter-spacing:-.5px}.explorer-open-heading h3>span{font-size:17px;font-weight:400;color:#806A41;margin-left:6px}.explorer-legend{display:grid;gap:5px;background:#F9EFDA;border:1px solid #ECDEC0;border-radius:16px;padding:13px 16px;color:#746249;font-size:12px;line-height:1.5}.explorer-legend strong{font-size:13px;color:#5C4829}.explorer-scene.is-open{height:565px;margin-top:8px}.compartment-label{display:flex;flex-direction:column;text-align:left;align-items:start;min-width:0;border:1px solid #E0D0AF;border-radius:17px;background:#FFFCF5F2;color:#4B3A23;padding:11px 12px;line-height:1.25}.compartment-label.map-label{width:154px;min-height:104px;max-height:153px}.compartment-label.selected{border:2px solid #B88932;background:#FFF6DF;box-shadow:0 4px 18px #AB7E3020;padding:10px 11px}.compartment-name{font-size:12px;line-height:1.25;display:flex;align-items:center;gap:6px;font-weight:600;overflow-wrap:anywhere;max-width:100%;margin-bottom:5px}.compartment-label.map-label .compartment-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:30px}.compartment-label .explorer-percent{font-size:27px}.compartment-label .explorer-percent.is-missing{font-size:17px}.compartment-label .liquid-description{font-size:11px}.compartment-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 2px 0;font-size:12px;color:#76644A}.compartment-pagination>div{display:flex;gap:7px}.compartment-pagination button{background:#FFFCF5;border:1px solid #DCCAAB;width:43px;height:40px}.explorer-cards{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-content:start;padding:24px 0 14px;min-height:0}.explorer-cards .explorer-label,.compartment-cards .compartment-label{position:static;width:auto;background:#FFFCF5;border:1px solid #E6D8BB;min-height:195px;padding:21px}.explorer-cards .explorer-label.selected,.compartment-cards .compartment-label.selected{border-color:#B78B3B}.explorer-cards .liquid-name{font-size:17px}.explorer-cards .explorer-percent{font-size:34px;margin:7px 0}.explorer-amount{display:block;font-size:17px;line-height:1.5;margin-top:13px;font-variant-numeric:tabular-nums}.explorer-amount small{font-size:12px;color:#79684D}.explore-invitation{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:12px;color:#886422;margin-top:18px}.explore-invitation .icon{width:15px;height:15px}.compartment-cards .compartment-name{font-size:15px;line-height:1.4}.compartment-cards .compartment-label{min-height:185px}.milestone-path{display:flex;justify-content:space-between;gap:8px;width:100%;margin:17px 0 7px}.milestone-step{display:grid;justify-items:center;gap:5px;font-size:10px;color:#806E4F}.milestone-step i{display:grid;place-items:center;width:20px;height:20px;font-size:11px;font-style:normal;border:1px solid #DBCCAD;border-radius:50%;background:#FBF7EF}.milestone-step.current i{border-color:#AD842F;background:#F8D985;color:#6E4E12}.milestone-step.attained:not(.current) i{border-color:#B8A986;background:#EFE8D8;font-size:23px}.milestone-history{font-size:11px;line-height:1.5;color:#776549;margin:8px 0 0}.compartment-detail{background:#FBF3E0;border:1px solid #ECDBB7;border-radius:19px;padding:18px 17px;margin:18px 0 25px}.compartment-detail h3{font-size:23px;line-height:1.25;overflow-wrap:anywhere;margin:12px 0 17px}.compartment-badge{font-size:15px;color:#745418}.compartment-detail .eyebrow{font-size:9px;letter-spacing:.8px}.compartment-values{display:grid;gap:12px;margin:0}.compartment-values>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.compartment-values dt{font-size:12px;color:#79664B}.compartment-values dd{font-size:17px;line-height:1.3;font-variant-numeric:tabular-nums;margin:0;text-align:right;overflow-wrap:anywhere}.compartment-explanation,.completion-note{font-size:12px;line-height:1.6;color:#776244}.completion-note{color:#4A6438}.compartment-detail .button-row{margin-top:20px;gap:9px}.compartment-detail .button{font-size:12px;width:100%;min-height:45px}.compartment-list .section-row.selected{background:#F9EFD9;border-radius:11px;outline:1px solid #E5D3AD;padding-left:7px;padding-right:7px}.compartment-list .section-name{font-size:13px}.compartment-list .section-value{font-size:14px}.compartment-list .section-value small{font-size:11px}.compartment-prompt{padding:26px 17px;border-radius:18px;background:#FBF4E4;border:1px dashed #DCCBA9;text-align:center;margin:18px 0}.compartment-prompt>span{font-size:26px;color:#A47A29}.compartment-prompt h3{font-size:17px;margin:10px 0}.compartment-prompt p{font-size:13px;color:#806D4F;margin:0}.explorer-mobile-back{display:none}.explorer-scene.no-webgl{height:auto;min-height:0;padding:12px 0;background:none;overflow:visible}.explorer-scene.no-webgl .explorer-anchors{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}.explorer-scene.no-webgl .map-label{position:static!important;width:auto;max-height:none;min-height:125px;transform:none!important}.explorer-scene.no-webgl .pyramid-leaders{display:none}.explorer-scene.no-webgl .webgl-fallback{display:block;padding:0 4px 12px}
@media(min-width:1101px){.construction-workspace .pyramid-side>.section-top h2{font-size:23px}}
@media(max-width:1100px){.construction-workspace{grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:18px}.explorer-scene{height:590px}.explorer-label.map-label{width:144px;min-height:104px;padding:11px}.explorer-label .liquid-name{font-size:13px}.explorer-percent,.liquid-label>.explorer-percent{font-size:29px}.compartment-label.map-label{width:135px;padding:10px}.compartment-name{font-size:11px}.compartment-label .explorer-percent{font-size:25px}.compartment-detail{padding:16px 13px}.compartment-detail h3{font-size:21px}.compartment-values dd{font-size:15px}}
@media(max-width:960px){.construction-workspace{grid-template-columns:1fr}.construction-workspace .detail-panel{margin-top:0}.explorer-scene{height:615px}.explorer-scene.is-open{height:620px}.explorer-label.map-label{width:160px}.compartment-label.map-label{width:154px}.compartment-detail .button-row{flex-wrap:nowrap}.compartment-detail .button{width:auto;flex:1}.compartment-detail .compartment-values{grid-template-columns:repeat(3,1fr)}.compartment-values>div{display:block}.compartment-values dd{text-align:left;margin-top:5px}.compartment-list{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}}
@media(max-width:760px){.construction-workspace{display:block}.explorer-intro{font-size:12px;margin:18px 0 3px;gap:8px}.explorer-spark{width:28px;height:28px}.explorer-scene{height:540px;padding:0;margin-top:0;border-radius:20px}.explorer-scene .pyramid-mount{height:100%}.explorer-label.map-label{width:126px;min-height:102px;padding:10px 11px;border-radius:16px}.explorer-label .liquid-name{font-size:12px;gap:4px;flex-wrap:nowrap}.explorer-label .liquid-name>.icon{display:none}.explorer-percent,.liquid-label>.explorer-percent{font-size:30px;letter-spacing:-.8px;line-height:1.1}.explorer-label .liquid-description{font-size:11px}.explorer-percent.is-missing,.liquid-label>.explorer-percent.is-missing{font-size:17px}.explorer-footnote{font-size:11px;margin:3px 4px 15px}.explorer-controls{gap:13px;margin-top:22px}.explorer-back{flex-basis:100%;justify-content:start;font-size:13px}.explorer-open-heading{min-width:0;width:100%}.explorer-open-heading h3{font-size:24px}.explorer-open-heading h3>span{font-size:18px}.explorer-legend{font-size:11px;line-height:1.55;padding:12px 13px}.explorer-legend strong{font-size:12px}.explorer-scene.is-open{height:660px;margin-top:0}.compartment-label.map-label{width:130px;min-height:104px;max-height:145px;padding:10px;border-radius:15px}.compartment-label.map-label .compartment-name{font-size:11px;line-height:1.3;min-height:29px}.compartment-label .explorer-percent{font-size:27px}.compartment-label .explorer-percent.is-missing{font-size:16px}.compartment-label .liquid-description{font-size:10px}.compartment-pagination{font-size:11px}.explorer-cards{gap:10px;padding:20px 0}.explorer-cards .explorer-label,.compartment-cards .compartment-label{min-height:195px;padding:15px 12px;border-radius:17px}.explorer-cards .liquid-name{font-size:14px;gap:4px;flex-wrap:wrap}.explorer-cards .explorer-percent{font-size:31px;margin-top:8px}.explorer-cards .liquid-description{font-size:11px}.explorer-amount{font-size:15px}.explorer-amount small{display:block;font-size:11px}.explore-invitation{font-size:11px}.milestone-path{gap:4px}.milestone-step{font-size:9px}.milestone-step i{width:17px;height:17px;font-size:10px}.milestone-history{font-size:10px}.compartment-cards .compartment-name{font-size:13px}.compartment-list{display:block}.compartment-detail{padding:18px 15px}.compartment-detail .compartment-values{display:grid;grid-template-columns:1fr}.compartment-values>div{display:flex}.compartment-values dd{margin:0;text-align:right;font-size:17px}.compartment-detail .button-row{flex-wrap:wrap}.compartment-detail .button{width:100%;flex-basis:100%}.explorer-mobile-back{display:flex;position:fixed;bottom:12px;left:18px;right:18px;z-index:20;justify-content:center;background:#FFFCF5F5;box-shadow:0 5px 28px #81642C26;border-color:#CCAA66;min-height:46px}.construction-workspace:has(.opened){padding-bottom:58px}.explorer-scene.no-webgl{height:auto}.explorer-scene.no-webgl .explorer-anchors{gap:10px}.explorer-scene.no-webgl .map-label{min-height:135px}.compartment-label:focus-visible,.explorer-label:focus-visible{outline:3px solid #8A6420;outline-offset:3px}}
.explorer-mobile-back{display:inline-flex;position:fixed;right:25px;bottom:18px;z-index:20;background:#FFFCF5F5;border-color:#CCAA66;box-shadow:0 4px 22px #81642C20;font-size:13px;min-height:46px}.compartment-detail{scroll-margin-top:18px}
@media(max-width:760px){.topbar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:57px;overflow:visible;gap:1px}.topbar .nav-link{min-width:0;width:auto;max-width:100%;padding:6px 2px;font-size:10px;line-height:1.25;white-space:normal}.topbar .nav-link span{white-space:normal;max-width:100%;overflow-wrap:normal}.explorer-mobile-back{left:18px;right:18px;font-size:13px;bottom:12px}.compartment-label .explorer-percent.is-missing,.explorer-percent.is-missing,.liquid-label>.explorer-percent.is-missing{font-size:18px}}
@media(max-width:760px){.compartment-label.map-label{min-height:88px;padding:8px 10px}.compartment-label.map-label .compartment-name{min-height:25px;font-size:11px;line-height:1.15;margin-bottom:3px}.compartment-label.map-label .explorer-percent{font-size:27px;line-height:1;margin:0 0 4px}.compartment-label.map-label .explorer-percent.is-missing{font-size:18px}.compartment-label.map-label .liquid-description{font-size:10px;line-height:1.2}}
@media(prefers-reduced-motion:reduce){.explorer-label,.compartment-label{transition:none!important}}

/* Keep both euro amounts readable inside the labels over the pyramid. */
.explorer-label.map-label .explorer-amount{width:100%;margin-top:7px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.explorer-label.map-label .explorer-amount small{display:block;font-size:11px;line-height:1.4;margin-top:1px}

/* Open levels use a clear, euro-first board instead of labels over a 3D tray. */
.construction-workspace:has(.opened) .pyramid-side>.section-top{display:none}
.compartment-board,.opened .compartment-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0 8px;align-items:stretch}
.opened .section-tile{position:relative;width:100%;min-width:0;min-height:238px;max-height:none;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:19px;border:2px solid #E8DFCF;border-radius:18px;background:#FFFCF5;color:#29251F;box-shadow:0 3px 12px #72562A05;text-align:left;overflow:hidden}
.opened .section-tile:before{content:'';position:absolute;left:18px;right:18px;top:0;height:3px;background:var(--level);opacity:.55;border-radius:0 0 3px 3px}
.opened .section-tile:hover{border-color:#BFAE8D;background:#FFF9EE}
.opened .section-tile.selected{border-color:var(--level);background:#FFFAED;box-shadow:0 0 0 2px color-mix(in srgb,var(--level) 10%,transparent)}
.opened .section-tile.selected:before{opacity:1}
.opened .section-tile:focus-visible{outline:3px solid #294B44;outline-offset:4px}
.tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.opened .section-tile .compartment-name{font-size:17px;line-height:1.35;font-weight:600;letter-spacing:-.2px;margin:0;display:block;overflow:visible;overflow-wrap:anywhere;min-height:0}
.tile-arrow{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:9px;background:#F3ECDD;color:#706047}
.tile-arrow .icon{width:16px;height:16px}
.selected .tile-arrow{background:var(--level);color:#FFFFFF}
.tile-caption{font-size:12px;line-height:1.4;color:#6A5F4C;margin-bottom:4px}
.tile-amount{display:block;font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#29251F;overflow-wrap:anywhere}
.tile-comparison{font-size:12px;line-height:1.6;color:#6A5F4C;margin-top:7px;overflow-wrap:anywhere}
.tile-meter{display:grid;gap:7px;margin-top:15px}
.tile-progress{display:block;width:100%;height:7px;overflow:hidden;border-radius:8px;background:#EAE4D8}
.tile-progress>span{display:block;height:100%;border-radius:8px;background:var(--level)}
.tile-progress.is-unconfigured{background:transparent;border:1px dashed #B6AA91}
.tile-ratio{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;font-size:12px;line-height:1.4;color:#6A5F4C}
.opened .section-tile .explorer-percent,.opened .section-tile .explorer-percent.is-missing{font-size:14px;font-weight:600;letter-spacing:0;line-height:1.4;margin:0;padding:0;color:#514631}
.tile-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:16px}
.tile-note{font-size:12px;line-height:1.45;color:#6A5F4C}
.tile-note:empty{display:none}
.tile-note.is-complete{color:#3C5A30}
.over-budget .tile-note{color:#994532}
.tile-status{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:600;line-height:1.4;color:#6A5F4C;margin-left:auto}
.tile-status .icon{width:14px;height:14px}
.selected .tile-status{color:var(--level)}
.opened .explorer-controls{margin:20px 0 16px}
.opened .explorer-open-heading .eyebrow{font-size:10px;letter-spacing:1.2px}
.opened .explorer-open-heading h3{font-size:27px}
.opened .explorer-legend{background:#F5F0E5;border:0;border-radius:13px;padding:14px 16px;font-size:13px;color:#655A45}
.opened .explorer-legend strong{font-size:14px;color:#493C27}
.compartment-prompt p{color:#675B46}
.compartment-list .section-row.selected{outline-color:var(--level);background:#FAF2E2}
.section-return{display:none}
.section-metrics{display:grid;gap:12px;width:100%;min-width:0;margin-top:15px;text-align:left}
.section-metric{display:grid;gap:5px;min-width:0}
.section-metric-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;min-width:0;font-size:12px;line-height:1.4}
.section-metric-label{min-width:0;flex:1;color:#655A45;overflow-wrap:anywhere}
.section-metric-value,.opened .section-tile .section-metric-value,.opened .section-tile .section-metric-value.is-missing{min-width:0;max-width:60%;flex-shrink:1;text-align:right;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:0;margin:0;padding:0;color:#514631;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.section-metric-basis{display:block;min-width:0;font-size:12px;line-height:1.4;color:#6A5F4C;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.tile-distribution{display:block;width:100%;height:5px;overflow:hidden;border-radius:8px;background:#DFE5E2}
.tile-distribution>span{display:block;height:100%;border-radius:8px;background:#657E78}
.tile-distribution.is-unconfigured{background:transparent;border:1px dashed #9DAEAA}
.compartment-detail .section-metrics{margin-top:18px;padding-top:15px;border-top:1px solid #E5D8BB}
.compartment-list .section-row{display:grid;grid-template-columns:8px minmax(0,1fr) 16px;align-items:start;column-gap:9px;row-gap:5px;text-align:left}
.compartment-list .section-dot{margin-top:7px;grid-column:1;grid-row:1}
.compartment-list .section-name{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
.compartment-list .section-row>.icon{grid-column:3;grid-row:1}
.compartment-list .section-saved-value{grid-column:2;grid-row:2;min-width:0;display:block;text-align:left;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.section-metrics-compact{gap:8px;margin-top:7px}
.section-metrics-compact .section-metric{gap:2px}
.section-metrics-compact .section-metric-heading,.section-metrics-compact .section-metric-basis{font-size:11px}
.section-metrics-compact .section-metric-value{font-size:12px}
.detail-distribution{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:760px){.section-metric-heading,.section-metric-basis{font-size:12px}.section-metrics{gap:11px;margin-top:14px}}
@media(max-width:960px){.section-return{display:flex;min-height:44px;margin:-8px 0 12px;font-size:13px}}
@media(min-width:961px){.construction-workspace:has(.opened) .detail-panel{position:sticky;top:18px}}
@media(max-width:1100px){.opened .section-tile{padding:17px}.opened .section-tile .compartment-name{font-size:16px}.tile-amount{font-size:26px}}
@media(max-width:760px){
  .compartment-board,.opened .compartment-cards{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:16px}
  .opened .section-tile{min-height:0;padding:18px;border-radius:17px}
  .tile-top{margin-bottom:13px}.opened .section-tile .compartment-name{font-size:17px}
  .tile-caption,.tile-comparison,.tile-ratio,.tile-note,.tile-status{font-size:13px}
  .tile-amount{font-size:28px}.tile-meter{margin-top:13px}
  .tile-bottom{padding-top:13px}.opened .explorer-controls{gap:12px}
  .opened .explorer-legend{font-size:13px;padding:13px 14px}
  .construction-workspace:has(.opened){padding-bottom:0}
}
