.production-head{flex-wrap:wrap}
.production-head .earth-open{margin:0 0 9px auto;flex-shrink:0;border:1px solid #4b738f;border-radius:5px;padding:7px 10px;font-size:12px;background:#15344b;color:#c2eaff;white-space:nowrap}
.production-footer .footer-right:empty{display:none}
.earth-view{height:calc(100svh - 52px - var(--automation-height,0px));min-height:300px;display:flex;flex-direction:column;background:#020712;position:relative;overflow:hidden}
.earth-header{display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;z-index:2;padding:22px clamp(16px,4vw,58px);flex:none}
.earth-back{padding:9px 13px;font-size:12px;color:#b8d4e9;border:1px solid #466882;border-radius:5px;background:#09162680}
.earth-owned{display:flex;align-items:baseline;gap:13px;font-size:11px;color:#7e9cb4}
.earth-owned b{color:#c8e1f1;font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}
.earth-stage{position:relative;flex:1;min-height:0}
#earthCanvas{display:block;width:100%;height:100%;touch-action:none}
#earthCanvas:focus-visible{outline:1px solid #74c9f2;outline-offset:-3px}
.earth-zoom-controls{position:absolute;top:36px;right:clamp(12px,3vw,44px);z-index:3;display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #466882;border-radius:7px;background:#091626ed;box-shadow:0 3px 15px #0003}
.earth-zoom-controls button{min-width:40px;height:36px;border:0;border-radius:4px;background:transparent;color:#c2eaff;font-size:20px;line-height:1;padding:0 9px}
.earth-zoom-controls #earthZoomReset{min-width:64px;font-size:12px;font-variant-numeric:tabular-nums}
.earth-zoom-controls button:hover:not(:disabled){background:#20465f}
.earth-zoom-controls button:disabled{opacity:.35;cursor:default}
.earth-zoom-controls button:focus-visible{outline:2px solid #74c9f2;outline-offset:1px}
@media(pointer:coarse){.earth-zoom-controls button{min-width:44px;height:44px}}
.earth-legend{position:absolute;top:2px;left:0;right:0;display:flex;justify-content:center;gap:19px;font-size:10px;color:#8daec4;pointer-events:none;z-index:1}.earth-legend span{display:inline-flex;align-items:center;gap:6px}.earth-legend span:before{content:'';width:10px;height:7px;background:#cbded9;border:1px solid #688b9d}.earth-legend .earth-key-power:before{background:linear-gradient(90deg,transparent 45%,#a3d3ef 45% 55%,transparent 55%),linear-gradient(transparent 44%,#a3d3ef 44% 56%,transparent 56%),#2469ad;border-color:#72a4c9}
@media(max-width:570px){.earth-header{padding:17px 14px;gap:10px}.earth-back{font-size:11px;padding:8px 10px}.earth-owned{gap:7px;font-size:10px}.earth-owned b{font-size:15px}.production-head .center-tabs{gap:12px}.production-head .center-tabs button{font-size:13px}}
#earthView{height:calc(100svh - 52px - var(--automation-height,0px));background:#153448}
html.finale-automation-visible #earthView{height:calc(100svh - 52px - var(--automation-height,36px));min-height:300px}
#earthView .earth-back,#earthView .earth-zoom-controls{border-radius:4px;border-color:#67858e;background:#17394c;color:#e8f0e0;box-shadow:1px 2px 0 #0e2738}
#earthView .earth-legend{color:#d4e6e1;font-size:12px;gap:20px}
#earthView .earth-legend span:before{height:8px;width:13px;border:1px solid #513f38;background:#ce704f;box-shadow:inset 0 0 0 2px #ffe6b1,1px 2px 0 #b98766}
#earthView .earth-legend .earth-key-power:before{transform:skewX(-13deg);background:linear-gradient(90deg,transparent 44%,#b9dde6 44% 54%,transparent 54%),linear-gradient(transparent 42%,#b9dde6 42% 53%,transparent 53%),#326fc4;box-shadow:1px 2px 0 #092b42;border-color:#a0c7d5}
#earthView .earth-metrics>span{padding:7px 12px;border-block-start:1px solid #719092;background:#153448eb;letter-spacing:.02em}
#earthView .earth-metrics b{color:#eaf8e7;font-weight:600}
@media(max-width:570px){#earthView .earth-metrics{gap:7px;bottom:16px}#earthView .earth-metrics>span{padding:6px 8px;font-size:9px}#earthView .earth-metrics b{font-size:15px}#earthView .earth-legend{font-size:10px}}
