.sim{--accent-blue-rgb:84,200,255;--theme_bg:#1a1a1a;--theme_fg:#e8e8e8;--sim-bg:#1a1a1a;--card-bg:#252525;--chart-bg:#1e1e1e;--text-primary:#e8e8e8;--text-secondary:#999;--text-muted:#ccc;--border:#ffffff1a;--border-light:#ffffff0f;--table-alt:#ffffff08;--card-shadow:0 4px 12px #0006;--card-hover-shadow:0 6px 16px rgba(var(--accent-blue-rgb),.25);--btn-secondary-bg:#3a3a3a;--theme-accent:#007bff;--tissue-bar-fill:#38bdf8;--gas-mix-inert-p-color:#06b6d4;--ambient-pressure-color:#3b82f6;--m-value-raw-color:#ef4444;--m-value-calc-color:#f97316;background:linear-gradient(90deg,rgba(var(--accent-blue-rgb),.06)0%,var(--sim-bg)300px 100%);flex-direction:row;flex:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;display:flex}.sim[data-theme=light]{--theme_bg:#f8f9fa;--theme_fg:#333;--sim-bg:#f8f9fa;--card-bg:#fff;--chart-bg:#fff;--text-primary:#333;--text-secondary:#6c757d;--text-muted:#666;--border:#0000001a;--border-light:#0000000d;--table-alt:#00000005;--card-shadow:0 4px 12px #00000014;--card-hover-shadow:0 6px 16px #0000001f;--btn-secondary-bg:#f1f1f1;--theme-accent:#007bff;--tissue-bar-fill:#495057;--gas-mix-inert-p-color:#0dcaf0;--ambient-pressure-color:#0d6efd;--m-value-raw-color:#dc3545;--m-value-calc-color:#fd7e14}.sim .main_content_wrap{flex-direction:column;flex:1;justify-content:flex-start;align-items:center;padding:1.5rem;transition:all .3s;display:flex}.sim .main_content_wrap .content_header{text-align:center;width:100%;margin-bottom:1.5rem}.sim .main_content_wrap .content_header h1{color:var(--text-primary);margin-bottom:.5rem;font-size:2.2rem;font-weight:600}.sim .main_content_wrap .content_header p{color:var(--text-secondary);margin:0;font-size:1.1rem}.sim .main_content_wrap .content_grid{grid-template-columns:repeat(2,1fr);align-self:flex-start;gap:1.5rem;width:100%;max-width:1400px;display:grid}.sim .main_content_wrap .content_grid .grid_item{background-color:var(--card-bg);box-shadow:var(--card-shadow);height:auto;min-height:400px;color:var(--text-muted);border:none;border-top:3px solid #54c8ff;border-radius:.25rem;justify-content:center;align-items:center;padding:18px;transition:transform .2s,box-shadow .2s;display:flex}.sim .main_content_wrap .content_grid .grid_item:hover{box-shadow:var(--card-hover-shadow);transform:translateY(-3px)}.runtime_panel,.tissues_chart,.log_chart,.dc_main{flex-direction:column;width:100%;height:100%;display:flex}.runtime_panel .runtime_title,.runtime_panel .chart_title,.runtime_panel .title,.tissues_chart .runtime_title,.tissues_chart .chart_title,.tissues_chart .title,.log_chart .runtime_title,.log_chart .chart_title,.log_chart .title,.dc_main .runtime_title,.dc_main .chart_title,.dc_main .title{color:var(--text-primary);letter-spacing:.3px;border-left:3px solid #54c8ff;margin-bottom:12px;padding-left:10px;font-size:16px;font-weight:600}.runtime_panel table,.tissues_chart table,.log_chart table,.dc_main table{border-collapse:collapse;width:100%}.runtime_panel table th,.tissues_chart table th,.log_chart table th,.dc_main table th{text-align:left;border-bottom:1px solid var(--border);color:var(--text-primary);padding:8px;font-weight:600}.runtime_panel table td,.tissues_chart table td,.log_chart table td,.dc_main table td{border-bottom:1px solid var(--border-light);color:var(--text-muted);padding:6px 8px}.runtime_panel table tr:nth-child(2n),.tissues_chart table tr:nth-child(2n),.log_chart table tr:nth-child(2n),.dc_main table tr:nth-child(2n){background-color:var(--table-alt)}.controls-toggle-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#54c8ff 0%,#3a9acc 100%);border:2px solid #54c8ff;border-radius:8px;flex-shrink:0;min-width:70px;padding:8px 16px;font-size:14px;font-weight:600;transition:all .2s;box-shadow:0 4px 12px #54c8ff4d}.controls-toggle-button:hover{background:linear-gradient(135deg,#3a9acc 0%,#2a7a9c 100%);transform:translateY(-2px);box-shadow:0 6px 16px #54c8ff66}.controls-toggle-button:active{transform:translateY(0);box-shadow:0 2px 8px #54c8ff4d}.mobile-controls-backdrop{display:none}@media (max-width:480px){.mobile-controls-backdrop{z-index:998;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0000004d;width:100%;height:100%;display:block;position:fixed;top:0;left:0}}.mobile-controls-bar{display:none}@media (max-width:480px){.mobile-controls-bar{box-sizing:border-box;z-index:999;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#1a1a1af2 0%,#141414fa 100%);border-top:2px solid #54c8ff;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:10px;width:100%;padding:10px;display:grid;position:fixed;bottom:0;left:0;box-shadow:0 -4px 20px #0000004d}}.mobile-folded-controls{display:contents}.mobile-depth-controls{width:100%;min-width:0}.mobile-depth-controls .controls_item.depth_controls{color:#fff;box-shadow:none!important;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.mobile-depth-controls .controls_item.depth_controls .header{text-align:left;text-shadow:0 1px 2px #00000080;color:#54c8ff!important;margin-bottom:6px!important;font-size:1em!important;font-weight:600!important}.mobile-depth-controls .controls_item.depth_controls .controls_inner.depth_buttons{flex-direction:column;justify-content:center;gap:8px;width:100%;display:flex}.mobile-depth-controls .controls_item.depth_controls .controls_inner.depth_buttons .depth_btn{white-space:nowrap;box-shadow:0 2px 8px #0000004d;color:#fff!important;background:linear-gradient(135deg,#2a4a5a 0%,#3a5a6a 100%)!important;border:2px solid #54c8ff!important;border-radius:8px!important;flex-direction:column!important;flex:none!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:none!important;min-height:36px!important;padding:6px 8px!important;font-size:.8em!important;font-weight:600!important;transition:all .2s!important;display:flex!important}.mobile-depth-controls .controls_item.depth_controls .controls_inner.depth_buttons .depth_btn:hover{background:linear-gradient(135deg,#54c8ff 0%,#3a9acc 100%)!important;border-color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 4px 12px #54c8ff66!important}.mobile-depth-controls .controls_item.depth_controls .controls_inner.depth_buttons .depth_btn:active{transform:translateY(0)!important;box-shadow:0 2px 8px #54c8ff4d!important}.mobile-depth-controls .controls_item.depth_controls .controls_inner.depth_buttons .depth_btn i{margin:0 0 1px!important;font-size:1em!important;line-height:1!important}.mobile-acceleration-controls{width:100%;min-width:0}.mobile-acceleration-controls .controls_item.compact_acceleration_controls{color:#fff;box-shadow:none!important;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.mobile-acceleration-controls .controls_item.compact_acceleration_controls .header{text-align:left;text-shadow:0 1px 2px #00000080;white-space:nowrap;color:#54c8ff!important;margin-bottom:6px!important;font-size:1em!important;font-weight:600!important}.mobile-acceleration-controls .controls_item.compact_acceleration_controls .controls_inner.compact_acceleration_buttons{grid-template-rows:repeat(2,36px);gap:8px;display:grid}.mobile-acceleration-controls .controls_item.compact_acceleration_controls .controls_inner.compact_acceleration_buttons .acceleration_btn{white-space:nowrap;box-shadow:0 2px 8px #0000004d;color:#fff!important;background:linear-gradient(135deg,#2a4a5a 0%,#3a5a6a 100%)!important;border:2px solid #54c8ff!important;border-radius:8px!important;width:100%!important;min-height:36px!important;padding:6px 8px!important;font-size:.8em!important;font-weight:600!important;transition:all .2s!important}.mobile-acceleration-controls .controls_item.compact_acceleration_controls .controls_inner.compact_acceleration_buttons .acceleration_btn:hover{background:linear-gradient(135deg,#54c8ff 0%,#3a9acc 100%)!important;border-color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 4px 12px #54c8ff66!important}.mobile-acceleration-controls .controls_item.compact_acceleration_controls .controls_inner.compact_acceleration_buttons .acceleration_btn:active{transform:translateY(0)!important;box-shadow:0 2px 8px #54c8ff4d!important}.mobile-controls-bar .controls-toggle-button{grid-column:3;align-self:end;width:100%;min-width:0;height:80px;min-height:80px}@media (max-width:768px){.sim .main_content_wrap .content_grid{grid-template-columns:repeat(2,1fr)}.sim .grid_item{height:auto;min-height:350px}}@media (min-width:769px) and (max-width:1200px){.sim .main_content_wrap .content_grid{grid-template-columns:repeat(2,1fr)}.grid_item{height:auto;min-height:350px}}@media (max-width:480px){.sim{background:var(--sim-bg);flex-direction:column;padding-bottom:100px}.sim .main_content_wrap{max-width:100%;margin:0;padding:.6rem}.sim .main_content_wrap .content_header{margin-bottom:.3rem}.sim .main_content_wrap .content_header h1{margin-bottom:.15rem;font-size:1.3rem}.sim .main_content_wrap .content_header p{font-size:.85rem}.sim .main_content_wrap .content_grid{grid-template-columns:1fr;gap:.6rem}.sim .main_content_wrap .content_grid .grid_item{border-radius:8px;height:auto;min-height:200px;padding:.3rem;overflow:hidden}.runtime_panel .runtime_title,.runtime_panel .chart_title,.runtime_panel .title,.tissues_chart .runtime_title,.tissues_chart .chart_title,.tissues_chart .title,.log_chart .runtime_title,.log_chart .chart_title,.log_chart .title,.dc_main .runtime_title,.dc_main .chart_title,.dc_main .title{margin-bottom:.15rem;font-size:13px}.runtime_panel table,.tissues_chart table,.log_chart table,.dc_main table{font-size:.875rem}.runtime_panel table th,.runtime_panel table td,.tissues_chart table th,.tissues_chart table td,.log_chart table th,.log_chart table td,.dc_main table th,.dc_main table td{padding:3px 5px;font-size:.75rem}}.panic_error_backdrop{z-index:10000;justify-content:center;align-items:center;display:flex}.panic_error_modal{background:var(--card-bg);text-align:center;border-radius:8px;max-width:500px;padding:2rem;box-shadow:0 4px 6px #0000004d}.panic_error_icon{color:#e74c3c;margin-bottom:1rem;font-size:4rem}.panic_error_modal h2{color:#e74c3c;margin-bottom:1rem}.panic_error_modal p{color:var(--text-primary);margin-bottom:1.5rem;line-height:1.6}.panic_error_modal .secondary_text{color:var(--text-secondary);margin-bottom:2rem;font-size:.9rem}@media (max-width:360px){.sim .main_content_wrap{padding:.3rem}.sim .main_content_wrap .content_grid{gap:.3rem}.sim .main_content_wrap .content_grid .grid_item{min-height:180px;padding:.15rem}.runtime_panel .runtime_title,.runtime_panel .chart_title,.runtime_panel .title,.tissues_chart .runtime_title,.tissues_chart .chart_title,.tissues_chart .title,.log_chart .runtime_title,.log_chart .chart_title,.log_chart .title,.dc_main .runtime_title,.dc_main .chart_title,.dc_main .title{font-size:11px}.runtime_panel table th,.runtime_panel table td,.tissues_chart table th,.tissues_chart table td,.log_chart table th,.log_chart table td,.dc_main table th,.dc_main table td{padding:2px 3px;font-size:.7rem}}