.analysis-control{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #ccd4dc;border-radius:8px;background:#fff;overflow:hidden}.analysis-control .panel-header{min-height:38px;padding:7px 10px}.analysis-control-body{min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:7px;padding:8px 10px 9px;overflow:hidden}.stationary-editor{grid-row:1 / -1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:7px}.stationary-selected-readout{min-height:30px;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:3px 8px;border:1px solid #d5dde4;border-radius:8px;background:#fbfcfd}.stationary-selected-readout span,.evolution-slider-row span{color:#64717d;font-size:.68rem;font-weight:800;line-height:1;text-transform:uppercase;white-space:nowrap}.stationary-selected-readout strong{color:#1f2933;font-size:.8rem;font-weight:850;white-space:nowrap}.stationary-selected-readout em{min-width:0;overflow:hidden;color:#5f6c76;font-size:.72rem;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.stationary-selected-readout button{min-height:24px;padding:3px 9px;border:1px solid #2f6f8f;border-radius:8px;color:#fff;background:#2f6f8f;font-size:.68rem;font-weight:850;cursor:pointer;white-space:nowrap}.stationary-selected-readout button:hover:not(:disabled){background:#174f6b}.stationary-selected-readout button:disabled{border-color:#cbd3da;color:#7d8a94;background:#edf1f4;cursor:not-allowed}.stationary-level-layout{min-width:0;min-height:0;display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px}.stationary-n-selector{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;gap:5px;padding:7px 5px;border:1px solid #d5dde4;border-radius:8px;background:#fbfcfd}.stationary-n-selector span,.stationary-n-selector strong{color:#64717d;font-size:.68rem;font-weight:850;line-height:1;text-transform:uppercase;text-align:center;white-space:normal}.stationary-n-selector strong{color:#174f6b;font-size:.72rem}.stationary-n-track{min-height:0;width:100%;display:flex;flex-direction:column-reverse;align-items:center;justify-content:space-between;gap:4px;padding:4px 0}.stationary-n-track button{width:38px;min-height:20px;border:1px solid #cfd8e0;border-radius:999px;color:#4f5d68;background:#fff;font-size:.68rem;font-weight:850;cursor:pointer}.stationary-n-track button.active{border-color:#2f6f8f;color:#fff;background:#2f6f8f}.energy-level-frame,.evolution-preview-frame{min-height:0;display:grid;place-items:center;padding:6px;border:1px solid #d9e1e8;border-radius:8px;background:linear-gradient(#f6f8fa 1px,transparent 1px),linear-gradient(90deg,#f6f8fa 1px,transparent 1px),#fff;background-size:22px 22px;overflow:hidden}.energy-level-chart{width:100%;height:100%;min-height:132px;display:block}.energy-level-empty{min-height:132px;display:grid;place-items:center;color:#64717d;font-size:.78rem;font-weight:800;text-align:center}.energy-axis{stroke:#aab6c1;stroke-linecap:round;stroke-width:2}.energy-axis-label{fill:#64717d;font-size:18px;font-weight:800}.energy-level{cursor:pointer;outline:none}.energy-level line{stroke:#6f8798;stroke-linecap:round;stroke-width:5}.energy-level text{fill:#65717d;font-size:11px;font-weight:800;text-anchor:middle}.energy-level.selected line{stroke:#2f6f8f;stroke-width:7}.energy-level.selected text{fill:#174f6b}.evolution-mode-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px;border:1px solid #cbd3da;border-radius:8px;background:#eef1f4}.evolution-mode-tabs button{min-height:26px;border:0;border-radius:6px;color:#4f5d68;background:transparent;font-size:.76rem;font-weight:800;cursor:pointer}.evolution-mode-tabs button.active{color:#fff;background:#2f6f8f}.evolution-editor{min-height:0;display:grid;grid-template-columns:minmax(118px,.88fr) minmax(0,1.12fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:7px}.evolution-editor.is-2d{grid-template-columns:minmax(118px,.88fr) minmax(0,1.12fr)}.evolution-preview{width:100%;height:100%;display:block}.one-d-preview{min-height:96px}.two-d-preview{width:auto;max-width:100%;aspect-ratio:1 / 1}.preview-axis,.preview-domain{fill:none;stroke:#aab6c1;stroke-width:2}.preview-wave{fill:none;stroke:#2f6f8f;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.2}.preview-contour{fill:none;stroke:#2f6f8f;stroke-width:2.2}.preview-contour.faint{opacity:.55;stroke:#6f8798}.preview-contour.strong{stroke:#174f6b;stroke-width:2.5}.preview-point{fill:#6f8798;stroke:#fff;stroke-width:2}.preview-point.active{fill:#2f6f8f}.preview-arrow{opacity:.64}.preview-arrow.active{opacity:1}.preview-arrow line{stroke:#b45f1a;stroke-linecap:round;stroke-width:4}.preview-arrow path,.preview-arrow circle{fill:#b45f1a}.evolution-sliders{min-width:0;display:grid;align-content:start;gap:6px;padding-bottom:3px}.evolution-slider-row{min-width:0;min-height:28px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:7px;padding:2px 7px;border:1px solid #d5dde4;border-radius:8px;background:#fbfcfd}.evolution-slider-row:last-child{margin-bottom:2px}.evolution-slider-row input{min-width:0;width:100%;accent-color:#2f6f8f}.evolution-slider-row strong{color:#1f2933;font-size:.72rem;font-weight:800;text-align:right;white-space:nowrap}.evolution-actions{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.evolution-actions button{min-width:0;min-height:27px;border:1px solid #cbd3da;border-radius:8px;color:#34414c;background:#fff;font-size:.72rem;font-weight:850;cursor:pointer}.evolution-actions button.primary{border-color:#2f6f8f;color:#fff;background:#2f6f8f}.evolution-speed-control{min-width:0;min-height:27px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:7px;padding:2px 7px;border:1px solid #d5dde4;border-radius:8px;background:#fbfcfd}.evolution-speed-control span{color:#64717d;font-size:.68rem;font-weight:800;line-height:1;text-transform:uppercase;white-space:nowrap}.evolution-speed-options{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.evolution-speed-options button{min-width:0;min-height:21px;padding:2px 3px;border:1px solid #cbd3da;border-radius:6px;color:#4f5d68;background:#fff;font-size:.66rem;font-weight:850;cursor:pointer;white-space:nowrap}.evolution-speed-options button.active{border-color:#2f6f8f;color:#fff;background:#2f6f8f}@media(max-width:860px){.evolution-editor.is-2d,.evolution-editor{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(140px,auto) auto}}.analysis-view{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #ccd4dc;border-radius:8px;background:#fff;overflow:hidden}.analysis-view .panel-header{min-height:40px;padding:8px 10px}.analysis-view-body{min-height:0;display:grid;grid-template-rows:minmax(0,1.05fr) minmax(0,.95fr);gap:9px;padding:10px;overflow:hidden}.analysis-view-body.is-empty{grid-template-rows:minmax(0,1fr)}.stationary-2d-body{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}.analysis-graph-panel{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid #d9e1e8;border-radius:8px;background:linear-gradient(#f7f9fb 1px,transparent 1px),linear-gradient(90deg,#f7f9fb 1px,transparent 1px),#fff;background-size:24px 24px;overflow:hidden}.analysis-graph-header{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 8px;border-bottom:1px solid #e1e6eb;background:#fbfcfd}.analysis-graph-header span,.analysis-graph-header strong{color:#64717d;font-size:.72rem;font-weight:850;line-height:1;text-transform:uppercase}.analysis-graph-header strong{color:#1f2933}.contour-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:138px;padding:2px;border:1px solid #cbd3da;border-radius:8px;background:#eef1f4}.contour-toggle button{min-height:23px;border:0;border-radius:6px;color:#4f5d68;background:transparent;font-size:.68rem;font-weight:850;cursor:pointer}.contour-toggle button.active{color:#fff;background:#2f6f8f}.analysis-chart{width:100%;height:100%;display:block}.contour-panel{place-items:stretch}.contour-chart{width:100%;height:100%;display:block}.contour-domain{fill:#fff;stroke:#aab6c1;stroke-width:2}.potential-region-layer{opacity:.95}.potential-region{fill:#5f6c762e;stroke:#5f6c7694;stroke-width:1.6}.contour-line{fill:none;stroke:#4f879f;stroke-linecap:round;stroke-width:2.6}.contour-line.faint{opacity:1;stroke:#9db4c4;stroke-width:2}.contour-line.strong{stroke:#174f6b;stroke-width:3.4}.signed-contour.negative .contour-line{stroke:#c98d5e;stroke-dasharray:7 5}.signed-contour.negative .contour-line.faint{stroke:#d7b18e}.signed-contour.negative .contour-line.strong{stroke:#8e4513}.density-fill{stroke:none}.density-fill.low{fill:#2f6f8f12}.density-fill.mid{fill:#2f6f8f24}.density-fill.high{fill:#2f6f8f3d}.density-contour:nth-of-type(2n) .density-fill.low{fill:#4e829e12}.density-contour:nth-of-type(2n) .density-fill.mid{fill:#4e829e21}.density-contour:nth-of-type(2n) .density-fill.high{fill:#4e829e38}.contour-fill{fill:#2f6f8f14;stroke:none}.density-contour .contour-line{stroke:#4f879f}.density-contour .contour-line.faint{stroke:#9db4c4}.density-contour .contour-line.strong{stroke:#174f6b}.chart-axis{stroke:#aab6c1;stroke-linecap:round;stroke-width:2}.chart-axis.vertical{opacity:.8}.wave-real-line,.wave-imaginary-line,.density-line,.potential-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.wave-real-line{stroke:#2f6f8f}.wave-imaginary-line{stroke:#b45f1a}.density-line{stroke:#174f6b}.potential-line{stroke:#5f6c76;stroke-width:2.4}.potential-fill{fill:#5f6c7624;stroke:none}.density-fill{fill:#2f6f8f24;stroke:none}.chart-legend text,.density-label{fill:#56636f;font-size:13px;font-weight:800}.analysis-view-empty{min-height:0;background:#fff}.analysis-result-empty{min-height:0;display:grid;place-items:center;padding:16px;border:1px solid #d9e1e8;border-radius:8px;background:#fbfcfd;color:#64717d;font-size:.82rem;font-weight:800;text-align:center}@media(max-width:860px){.analysis-view-body{grid-template-rows:minmax(220px,auto) minmax(200px,auto)}.analysis-view-body.is-empty{grid-template-rows:minmax(220px,auto)}.stationary-2d-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(260px,auto) minmax(260px,auto)}}.physical-parameters{min-height:0;display:grid;grid-template-rows:auto auto;align-self:start;border:1px solid #ccd4dc;border-radius:8px;background:#fff;overflow:hidden}.physical-parameters .panel-header{min-height:32px;padding:5px 10px}.physical-parameters .panel-header h2{font-size:.88rem}.physical-parameters .panel-header span{font-size:.68rem}.physical-parameters-body{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:8px;padding:6px 10px 5px}.parameter-field{min-width:0;display:grid;align-content:center;gap:0;padding:4px 7px;border:1px solid #d5dde4;border-radius:8px;background:#fbfcfd}.parameter-control-row{min-width:0;display:grid;grid-template-columns:auto minmax(56px,76px) auto minmax(78px,1fr);align-items:center;gap:6px}.parameter-control-row>span{color:#65717d;font-size:.68rem;font-weight:800;text-transform:uppercase;white-space:nowrap}.parameter-number-input{min-width:0;width:100%;height:22px;padding:2px 6px;border:1px solid #cbd3da;border-radius:6px;color:#182128;background:#fff;font:inherit;font-size:.74rem;font-weight:700}.parameter-unit{min-width:0;overflow:hidden;color:#5f6c76;font-size:.64rem;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.parameter-range-input{min-width:0;width:100%;accent-color:#2f6f8f;cursor:pointer}@media(max-width:480px){.physical-parameters-body{grid-template-columns:minmax(0,1fr)}.parameter-control-row{grid-template-columns:auto minmax(68px,88px) auto minmax(0,1fr)}}.potential-editor{min-height:0;display:grid;grid-template-rows:auto 1fr;border:1px solid #ccd4dc;border-radius:8px;background:#fff;overflow:hidden}.potential-editor-body{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;padding:10px}.expression-field{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.expression-field span{color:#2e3a43;font-size:.9rem;font-weight:800}.expression-field input{width:100%;min-height:36px;padding:8px 10px;border:1px solid #cbd3da;border-radius:8px;color:#182128;background:#fff;font:inherit;font-weight:700}.expression-field input::placeholder{color:#98a2aa}.expression-field button{min-height:36px;padding:8px 12px;border:1px solid #cbd3da;border-radius:8px;color:#182128;background:#fff;font:inherit;font-weight:800;cursor:pointer}.expression-field button:hover{border-color:#5f99ad;background:#eef5f8}.potential-interval-editor,.potential-grid-editor{min-height:0;position:relative;border:1px solid #d8e0e7;border-radius:8px;background:#fbfcfd;overflow:hidden}.potential-interval-editor{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 24px;gap:6px;padding:10px}.interval-axis-y{color:#60707c;font-size:.78rem;font-weight:800}.interval-axis-y{justify-self:center}.interval-plot{min-height:0;display:grid;grid-template-columns:repeat(var(--grid-steps, 18),minmax(0,1fr));align-items:end;gap:0;padding:10px 8px 0;border-left:1px solid #bfc9d2;border-bottom:1px solid #bfc9d2;background:#fff;touch-action:none;-webkit-user-select:none;user-select:none}.interval-cell{min-width:0;border:1px solid transparent;border-bottom:0;background:#fff}.interval-cell.base{height:12%;background:#d8e3e9}.interval-cell.soft{height:34%;background:#9fc5d2}.interval-cell.raised{height:58%;background:#5f99ad}.interval-cell.selected{border-color:#2f6f8f;box-shadow:inset 0 0 0 1px #2f6f8f}.interval-value-strip{grid-column:2;width:min(100%,260px)}.interval-value-strip input,.interval-value-strip button{min-width:0;min-height:28px;border:1px solid #cbd3da;border-radius:8px;color:#182128;background:#fff;font:inherit;font-size:.78rem;font-weight:800}.interval-value-strip input{width:100%;padding:4px 8px}.interval-value-strip button{padding:4px 10px;cursor:pointer}.interval-value-strip button:hover{border-color:#5f99ad;background:#eef5f8}.potential-grid-editor{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 14px 20px;gap:4px;padding:8px clamp(18px,6vw,44px);align-items:center;align-content:center;justify-content:center}.potential-grid{aspect-ratio:1 / 1;width:min(100%,190px);align-self:center;justify-self:center;min-height:0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(12,minmax(0,1fr));border:1px solid #9aa9b4;background:#fff}.grid-cell{min-width:0;min-height:0;border-right:1px solid #d6dee5;border-bottom:1px solid #d6dee5}.grid-cell.base{background:#fff}.grid-cell.soft{background:#e8f0f3}.grid-cell.raised{background:#b8d2dc}.grid-cell.selected{border-color:#2f6f8f;background:#5f99ad;box-shadow:inset 0 0 0 1px #2f6f8f}.axis-label{color:#60707c;font-size:.78rem;font-weight:800}.axis-label-y{align-self:start;justify-self:center}.axis-label-x{grid-column:2;width:min(100%,190px);justify-self:end}.value-strip{grid-column:2;width:min(100%,190px);justify-self:center;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;color:#60707c;font-size:.74rem;font-weight:800}.value-strip div{height:6px;border-radius:999px;background:linear-gradient(90deg,#fff,#5f99ad);box-shadow:inset 0 0 0 1px #c4d1da}@media(max-width:620px){.expression-field{grid-template-columns:minmax(0,1fr)}.potential-grid,.axis-label-x,.value-strip{width:min(100%,170px)}}:root{color:#202124;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}.workspace-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr;background:#f4f6f8}.workspace-topbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 16px;border-bottom:1px solid #cfd6dd;background:#fff}.workspace-title{min-width:0}.workspace-title p{margin:0 0 2px;color:#64717d;font-size:.74rem;font-weight:800;text-transform:uppercase}.workspace-title h1{margin:0;color:#171b1f;font-size:1.22rem;font-weight:800;letter-spacing:0}.workspace-summary{min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.workspace-summary span{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid #d4dbe2;border-radius:8px;color:#34414c;background:#fff;font-size:.8rem;font-weight:800;white-space:nowrap}.dimension-switch,.analysis-mode-tabs{display:grid;padding:3px;border:1px solid #cbd3da;border-radius:8px;background:#eef1f4}.dimension-switch{grid-template-columns:repeat(2,48px)}.analysis-mode-tabs{grid-template-columns:repeat(2,86px)}.dimension-switch button,.analysis-mode-tabs button{min-height:28px;border:0;border-radius:6px;color:#4f5d68;background:transparent;font-size:.82rem;font-weight:800;cursor:pointer}.dimension-switch button.active,.analysis-mode-tabs button.active{color:#fff;background:#2f6f8f}.dimension-switch button:disabled{color:#93a0aa;cursor:not-allowed;opacity:.72}.dimension-switch button:disabled.active{color:#fff}.workspace-base{height:calc(100vh - 66px);min-height:0;display:grid;grid-template-columns:minmax(300px,.82fr) minmax(420px,1.42fr);gap:14px;padding:18px 28px 20px;align-items:stretch;background:#eef2f5}.workspace-left-column{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1.25fr) minmax(0,.9fr);gap:10px}.workspace-right-column{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px}.panel-header{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #e1e6eb;background:#fbfcfd}.panel-header h2{margin:0;color:#242a30;font-size:.95rem;font-weight:800;letter-spacing:0}.panel-header span{flex:0 0 auto;color:#68737e;font-size:.74rem;font-weight:800;text-transform:uppercase}@media(max-width:860px){.workspace-topbar{align-items:stretch;flex-direction:column}.workspace-summary{justify-content:flex-start}.workspace-base{height:auto;grid-template-columns:minmax(0,1fr);padding:14px}.workspace-left-column{min-height:0;grid-template-rows:minmax(360px,auto) minmax(220px,auto)}.workspace-right-column{grid-template-rows:auto minmax(360px,auto)}}
