.module-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
.module-tab{padding:16px 16px;min-height:97px}.module-tab strong{font-size:15px}.module-tab small{font-size:10px}.module-tab:after{font-size:16px}
.pro-heading{background:radial-gradient(circle at 86% 15%,rgba(71,123,157,.17),transparent 44%),linear-gradient(120deg,rgba(25,35,59,.8),rgba(37,29,65,.38))}
.pro-body{grid-template-columns:minmax(0,1fr) 344px}
.fourier-preset,.surface-preset{padding:9px 14px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9faac2;font-size:12px;font-weight:700}
.fourier-preset:hover,.surface-preset:hover{color:#fff;background:rgba(255,255,255,.06)}
.fourier-preset.active,.surface-preset.active{color:#d8fff7;border-color:rgba(99,228,212,.22);background:rgba(99,228,212,.12)}
.fourier-stage,.surface-stage{position:relative;height:445px;overflow:hidden;border:1px solid rgba(166,178,228,.18);border-radius:16px;background:radial-gradient(circle at 23% 45%,rgba(57,54,119,.27),transparent 52%),radial-gradient(circle at 85% 48%,rgba(31,99,112,.18),transparent 60%),#0a1020}
.fourier-stage canvas,.surface-stage canvas{display:block;width:100%;height:100%}
.stage-stamp,.surface-stage-label{position:absolute;top:16px;left:17px;padding:8px 10px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:rgba(5,9,22,.5);color:#b9c9df;backdrop-filter:blur(8px);font:500 10px 'DM Mono',monospace;letter-spacing:.1em;pointer-events:none}
.spectrum-panel{margin-top:14px;padding:15px 16px 10px;border:1px solid rgba(166,178,228,.14);border-radius:14px;background:linear-gradient(130deg,rgba(19,29,50,.9),rgba(14,20,39,.9))}
.spectrum-heading{display:flex;justify-content:space-between;gap:10px;color:#8fa6bd;font:500 10px 'DM Mono','Noto Sans SC',monospace;letter-spacing:.08em}
.spectrum-heading span:last-child{color:#72dacc;letter-spacing:0}.spectrum-panel canvas{width:100%;height:130px;display:block;margin-top:8px}
.target-key{border-top:2px dashed #a4abdb;background:transparent;height:0}
.signal-formula{display:flex;flex-direction:column;gap:8px;padding:17px;margin-bottom:17px;border:1px solid rgba(166,161,255,.2);border-radius:13px;background:linear-gradient(145deg,rgba(118,93,194,.17),rgba(31,56,62,.1))}
.signal-formula span{color:#8c9cb5;font-size:10px}.signal-formula strong{color:#e9fdf8;font-size:17px}.signal-formula small{color:#a5add0;font:11px 'DM Mono','Noto Sans SC',monospace;line-height:1.5}
.pro-measures{margin-bottom:25px}.pro-measures strong{font-size:20px}.pro-measures>div+div strong{color:#ffc3a1}
.pro-controls .advanced-slider:nth-of-type(n){--slider-color:#80ddce}.pro-controls .advanced-slider:nth-of-type(4){--slider-color:#b7aafa}.pro-controls .advanced-slider:nth-of-type(5){--slider-color:#faac8f}
.surface-stage{height:515px;cursor:grab;touch-action:none}.surface-stage:active{cursor:grabbing}.surface-stage canvas{cursor:inherit}
.surface-stage #surface-fallback{position:absolute;inset:0;pointer-events:none}
.surface-stage #surface-fallback[hidden]{display:none}
.surface-stage-label b{margin-left:6px;color:#91f4e2;font-size:11px;letter-spacing:0}.surface-stage-hint{position:absolute;right:16px;bottom:14px;padding:7px 9px;border-radius:6px;background:rgba(6,10,22,.55);color:#a8b7c9;font-size:10px;pointer-events:none}
.surface-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.surface-stat-row>div{padding:13px 14px;border:1px solid rgba(175,190,225,.12);border-radius:10px;background:#10172a}.surface-stat-row span{display:block;color:#8292ac;font-size:10px}.surface-stat-row strong{display:block;margin-top:5px;color:#e7f4fb;font:500 13px 'DM Mono','Noto Sans SC',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.surface-stat-row>div:last-child strong{color:#8af1e0}
.map-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px;color:#8fa6bd;font:500 10px 'DM Mono','Noto Sans SC',monospace;letter-spacing:.03em}.map-title strong{color:#d7e9f0;font-size:11px}
.topographic-wrap{overflow:hidden;border:1px solid rgba(190,204,244,.19);border-radius:10px;background:#11172a}.topographic-wrap canvas{display:block;width:100%;height:177px;cursor:crosshair;touch-action:none}
.height-legend{display:flex;align-items:center;gap:8px;margin:9px 1px 24px;color:#8392ae;font:9px 'DM Mono',monospace;letter-spacing:.08em}.height-legend i{display:block;flex:1;height:5px;border-radius:20px;background:linear-gradient(90deg,#352b78,#395fac,#39a6b8,#9be8cf,#f6c083,#fff0c7)}
.surface-wire-toggle{margin:1px 0 4px;font-size:12px}
@media(max-width:1130px){.module-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.module-tab{min-height:84px}}
@media(max-width:900px){.pro-body{display:block}.surface-stage{height:475px}.fourier-stage{height:430px}.pro-controls .advanced-slider{max-width:580px}}
@media(max-width:620px){.module-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.module-tab{min-height:73px}.module-tab strong{font-size:12px}.module-tab small{font-size:9px}.module-number{font-size:8px}.module-tab:after{display:none}.fourier-preset,.surface-preset{padding:8px 6px;font-size:10px}.fourier-stage{height:385px}.surface-stage{height:395px}.spectrum-panel{padding:12px 9px 7px}.spectrum-heading{font-size:8px;letter-spacing:0}.spectrum-panel canvas{height:110px}.surface-stat-row{gap:5px}.surface-stat-row>div{padding:9px 7px}.surface-stat-row strong{font-size:10px}.surface-stat-row span{font-size:9px}.topographic-wrap canvas{height:190px}}
@media(max-width:390px){.module-tab strong{font-size:11px}.module-tab small{font-size:8px}.surface-preset,.fourier-preset{font-size:9px}}
