:root{--ctl: #ededea;--ctl-2: #e3e3e1;--panel: #eeeeec;--sel: #b8ccd9;--border: #b5b3ad;--border-dark: #8d8b85;--text: #1a1a1a;--disabled: #9b9b95;--white: #ffffff;--grid: #d8d8d4;--accent: #4a6b8a;--font: "Segoe UI", "DejaVu Sans", "Liberation Sans", system-ui, sans-serif;--mono: "DejaVu Sans Mono", "Consolas", "Courier New", monospace}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;overflow:hidden;background:#6e6e6e}body{font-family:var(--font);font-size:12px;color:var(--text);-webkit-font-smoothing:antialiased;user-select:none}button,input,select,textarea{font-family:var(--font);font-size:12px}.app{display:flex;flex-direction:column;height:100%;background:var(--panel);border:1px solid #6b6b6b}.menubar{display:flex;align-items:stretch;height:23px;background:linear-gradient(#fbfbfb,#e8e8e6 55%,#dededc);border-bottom:1px solid #b9b7b2;padding:0 2px;position:relative;z-index:60;flex:0 0 auto}.menu-title{position:relative;padding:3px 9px 2px;cursor:default;white-space:nowrap;border:1px solid transparent;border-radius:3px}.menu-title:hover,.menu-title.open{background:var(--sel);border-color:#9fb4c4}.menu-drop{position:absolute;top:22px;min-width:190px;background:#f6f6f4;border:1px solid #a8a6a0;box-shadow:2px 2px 5px #00000047;padding:2px 0;z-index:100}.nt-head{display:flex;gap:6px;font-size:11px;color:#555;padding:0 0 4px;border-bottom:1px solid #d5d3ce;margin-bottom:4px}.nt-row{display:flex;gap:6px;align-items:center;margin-bottom:4px}.nt-row .btn{padding:3px 8px}.ws-empty{padding:10px;color:#777;font-style:italic;display:flex;flex-direction:column;gap:6px;align-items:flex-start}.ws-empty .btn{font-style:normal}.ws-empty .hint{font-size:11px}.ctx-menu{position:fixed;min-width:210px;max-width:340px;background:#f6f6f4;border:1px solid #a8a6a0;box-shadow:2px 2px 5px #00000047;padding:2px 0;z-index:400}.menu-item{display:flex;align-items:center;gap:7px;padding:3px 22px 3px 8px;white-space:nowrap;cursor:default}.menu-item:hover:not(.disabled){background:var(--sel)}.menu-item.disabled{color:var(--disabled)}.menu-item .mi-icon{width:16px;height:16px;flex:0 0 16px;display:flex;align-items:center;justify-content:center}.menu-item .mi-accel{margin-left:auto;color:#666;padding-left:18px}.menu-sep{height:1px;background:#d5d3ce;margin:3px 6px}.menu-check{width:13px;text-align:center}.toolbar{display:flex;align-items:center;gap:1px;height:29px;padding:2px 5px;background:linear-gradient(#f7f7f5,#e7e7e4 60%,#dededb);border-bottom:1px solid #b9b7b2;flex:0 0 auto}.tool-btn{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:transparent;cursor:default;padding:0}.tool-btn:hover:not(:disabled){background:#b8ccd98c;border-color:#a9bfce}.tool-btn:active:not(:disabled){background:#a0b9cbbf}.tool-btn:disabled{opacity:.38}.tool-sep{width:1px;height:20px;background:#c8c6c1;margin:0 4px}.body{flex:1 1 auto;display:flex;min-height:0}.workspace{width:200px;flex:0 0 200px;background:var(--white);border-right:1px solid #a9a7a1;overflow:auto;padding:2px 0}.ws-item{display:flex;align-items:center;gap:5px;padding:2px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default;font-size:12px}.ws-item:hover{background:#eef3f7}.ws-item.selected{background:var(--sel)}.ws-item svg{flex:0 0 16px}.divider{width:6px;flex:0 0 6px;background:linear-gradient(90deg,#d9d7d2,#efefed 45%,#d9d7d2);cursor:ew-resize;border-left:1px solid #b3b1ab;border-right:1px solid #b3b1ab}.main-pane{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;background:var(--panel)}.tab-content{flex:1 1 auto;min-height:0;position:relative;background:var(--white);border:1px solid #a9a7a1;border-bottom:none;margin:2px 2px 0;overflow:hidden}.tabstrip{display:flex;align-items:flex-end;height:27px;padding:0 4px;gap:2px;background:linear-gradient(#e9e9e6,#dededb);border-top:1px solid #b3b1ab;overflow-x:auto;overflow-y:hidden;flex:0 0 auto;scrollbar-width:none}.tabstrip::-webkit-scrollbar{display:none}.tab{display:flex;align-items:center;gap:5px;height:22px;padding:1px 7px;border:1px solid #b3b1ab;border-bottom:none;border-radius:5px 5px 0 0;background:linear-gradient(#f3f3f1,#e2e2df);cursor:default;white-space:nowrap;font-size:11.5px;color:#333;max-width:190px}.tab.active{background:#fdfdfb;height:24px;font-weight:600;box-shadow:0 -1px #fff inset}.tab .x{width:13px;height:13px;display:flex;align-items:center;justify-content:center;border-radius:2px;color:#8a8a84;font-size:10px;line-height:1}.tab .x:hover{background:#d9d9d5;color:#000}.grid-wrap{width:100%;height:100%;overflow:auto;background:#fff;position:relative}table.grid{border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed}table.grid th{position:sticky;top:0;z-index:3;height:21px;padding:0 6px;background:linear-gradient(#fbfbfa,#e9e9e6 55%,#e0e0dd);border-right:1px solid #cfcdc8;border-bottom:1px solid #b6b4ae;font-weight:400;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table.grid td{height:18px;padding:0 6px;border-right:1px solid var(--grid);border-bottom:1px solid var(--grid);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#dce7f333}table.grid tr:nth-child(2n) td{background:#dce7f373}table.grid tr:hover td{background:#dce7f39e}table.grid td.selected{background:var(--sel)!important}table.grid td.edited{outline:2px solid #7ca3c0;outline-offset:-2px;background:#fff!important}.grid-input{width:100%;height:17px;border:none;outline:none;background:#fff;font-size:12px;padding:0 1px}table.grid tr.blank-slot td{background:#fff}table.grid tr.blank-slot td.rowhead{background:#f4f4f2!important}table.grid tr.blank-slot:hover td{background:#dce7f359}table.grid tr.add-row td{background:#f7f7f4;border-top:1px solid #b6b4ae;color:#777}.add-case{width:18px;height:16px;line-height:14px;padding:0;border:1px solid #b6b4ae;border-radius:2px;background:#f0f0ee;cursor:pointer;color:#333}.add-case:hover{background:#e2e8ef}.add-hint{font-style:italic;color:#888}.rowhead{position:sticky;left:0;z-index:2;background:#f4f4f2!important;color:#777;text-align:right!important;font-size:10.5px;padding-right:5px!important;border-right:1px solid #c9c7c2!important}.textfile{width:100%;height:100%;border:none;outline:none;resize:none;padding:5px;background:#fff;color:#111;font-family:var(--mono);line-height:1.32;white-space:pre;overflow:auto;user-select:text}.statusbar{display:flex;align-items:center;height:30px;padding:2px;gap:3px;background:var(--panel);border-top:1px solid #b9b7b2;flex:0 0 auto}.status-cell{height:25px;border:1px solid #aaa8a2;border-top-color:#8f8d87;border-left-color:#8f8d87;background:#f2f2ef;display:flex;align-items:center;padding:0 5px;overflow:hidden;white-space:nowrap}.status-msg{flex:0 0 60%}.status-db{flex:0 0 20%}.status-prog{flex:1 1 auto;padding:2px 3px}.progress{width:100%;height:15px;border:1px solid #9c9a94;background:#e6e6e3;position:relative;overflow:hidden}.progress>i{display:block;height:100%;background:linear-gradient(#9fc4dc,#6d9cbb);transition:width .15s linear}.progress.indet>i{width:30%!important;animation:indet 1.1s infinite linear}@keyframes indet{0%{transform:translate(-100%)}to{transform:translate(340%)}}.overlay{position:fixed;inset:0;background:#0000002e;z-index:500;display:flex;align-items:center;justify-content:center}.dialog{background:var(--panel);border:1px solid #6d6b66;box-shadow:0 8px 30px #00000073;min-width:260px;max-width:94vw;max-height:92vh;display:flex;flex-direction:column;border-radius:3px;overflow:hidden}.dialog-title{height:24px;display:flex;align-items:center;padding:0 8px;background:linear-gradient(#7890a8,#5a7590 55%,#4d6781);color:#fff;font-size:11.5px;font-weight:600;flex:0 0 auto;letter-spacing:.1px}.dialog-title .close{margin-left:auto;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:2px;cursor:default;font-size:12px}.dialog-title .close:hover{background:#ffffff38}.dialog-body{padding:9px;overflow:auto}.dialog-buttons{display:flex;justify-content:flex-end;gap:6px;padding:0 9px 9px;flex:0 0 auto}.btn{min-width:68px;height:25px;padding:0 11px;border:1px solid #a5a39d;border-radius:6px;background:linear-gradient(#fdfdfb,#ecece9 52%,#e2e2df);color:#222;cursor:default;box-shadow:inset 0 1px #fff}.btn:hover{background:linear-gradient(#fbfdfe,#e6eef4 52%,#d8e5ee);border-color:#8fa9bb}.btn:active{background:linear-gradient(#dce7ee,#c9dae6)}.btn:disabled{color:#9b9b95;background:#e9e9e7}.btn.default{border-color:#6f8fa6;box-shadow:0 0 0 1px #6f8fa659,inset 0 1px #fff}.field{height:23px;border:1px solid #a5a39d;border-radius:5px;background:#fff;padding:2px 5px;outline:none;min-width:0}.field:focus{border-color:#6f8fa6;box-shadow:0 0 0 2px #6f8fa640}textarea.field{height:auto;padding:4px 5px;resize:none;line-height:1.35}select.field{height:23px;padding:1px 3px;background:linear-gradient(#fdfdfb,#efefec)}label.lbl{color:#222}.form-row{display:flex;align-items:center;gap:8px;margin-bottom:7px}.form-row>label{flex:0 0 auto;text-align:right}.form-row .grow{flex:1 1 auto}fieldset.titled{border:1px solid #c3c1bb;border-radius:3px;padding:7px 8px 8px;margin:0 0 8px}fieldset.titled>legend{padding:0 4px;color:#333;font-size:11.5px}.check-row{display:flex;align-items:center;gap:5px;margin:2px 0}.check-row input{margin:0}.radio-col{display:flex;flex-direction:column;gap:3px}.radio-row{display:flex;align-items:center;gap:5px}.listbox{border:1px solid #a5a39d;background:#fff;overflow:auto;padding:1px}.listbox:focus-within{border-color:#8fa9bb}.list-opt{padding:1px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:default}.list-opt:hover{background:#eef3f7}.list-opt.selected{background:var(--sel)}.varsel{display:flex;gap:6px;align-items:stretch}.varsel .lists{display:flex;gap:6px;flex:1 1 auto}.varsel .col{display:flex;flex-direction:column;flex:1 1 0;min-width:120px}.varsel .col-title{font-size:11px;color:#555;padding:0 0 2px 1px}.varsel .mid{display:flex;flex-direction:column;justify-content:center;gap:3px}.varsel .mid .btn{min-width:46px;height:23px;padding:0 4px}.varsel .actions{width:74px;display:flex;flex-direction:column;gap:3px;justify-content:flex-start}.varsel .actions .btn{min-width:0;width:74px;height:24px;padding:0 4px}.hint{color:#666;font-size:11px}.msgbox{width:430px;max-width:90vw;background:var(--panel);border:1px solid #6d6b66;box-shadow:0 10px 34px #00000080;border-radius:3px;overflow:hidden}.msgbox .dialog-title{background:linear-gradient(#7890a8,#5a7590 55%,#4d6781)}.msgbox .body{display:flex;gap:12px;padding:16px 16px 8px;align-items:flex-start}.msgbox .body .text{white-space:pre-wrap;line-height:1.45;font-size:12px}.msgbox .icon{flex:0 0 32px}.chart-wrap{width:100%;height:100%;overflow:auto;background:#fff;padding:8px}.chart-wrap svg{display:block;background:#fff}.chart-toolbar{display:flex;align-items:center;gap:4px;height:26px;padding:2px 6px;background:#f4f4f2;border-bottom:1px solid #d6d4cf;flex:0 0 auto}.chart-toolbar .tool-btn{width:22px;height:22px}.empty-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#8a8a86;font-size:12px;background:#fbfbfa;text-align:center;padding:20px}.pre{font-family:var(--mono);white-space:pre;font-size:12px}.about-grid{display:flex;gap:14px}.about-grid .logo{width:64px;height:64px}.about-grid h2{margin:0 0 4px;font-size:16px}.about-grid .small{color:#444;line-height:1.5}.about-grid a{color:#1a5d9c}.scroll-y{overflow-y:auto}.tooltip{position:fixed;background:#ffffe1;border:1px solid #767676;padding:2px 5px;font-size:11px;pointer-events:none;z-index:9999;box-shadow:1px 1px 2px #0000004d}.auth-page{height:100%;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.75),transparent 45%),radial-gradient(circle at 82% 88%,rgba(184,204,217,.55),transparent 42%),linear-gradient(135deg,#cfdbe4,#e8edf1 45%,#c7d5df)}.auth-window{width:780px;max-width:96vw;max-height:94vh;background:var(--panel);border:1px solid #5f5d58;border-radius:4px;box-shadow:0 18px 55px #14233061,0 2px 6px #0000002e;overflow:hidden;display:flex;flex-direction:column}.auth-titlebar{height:28px;display:flex;align-items:center;gap:7px;padding:0 10px;background:linear-gradient(#7890a8,#5a7590 55%,#4d6781);color:#fff;font-size:11.5px;font-weight:600;flex:0 0 auto}.auth-title-version{margin-left:auto;font-weight:400;opacity:.8;font-size:10.5px}.auth-content{display:flex;min-height:470px;background:#fff;overflow:auto}.auth-brand{width:44%;flex:0 0 44%;padding:30px 28px;background:radial-gradient(circle at 85% 8%,rgba(255,255,255,.18),transparent 45%),linear-gradient(160deg,#4d6781,#5f7b95 45%,#7890a8);color:#fff;display:flex;flex-direction:column;align-items:flex-start}.auth-brand h1{margin:14px 0 2px;font-size:28px;font-weight:700;letter-spacing:.3px;color:#fff}.auth-brand p{margin:0;font-size:12px;color:#d8e4ec}.auth-brand-rule{width:46px;height:2px;background:#ffffff8c;margin:16px 0 14px}.auth-brand ul{margin:0;padding:0 0 0 16px;font-size:11.5px;line-height:1.9;color:#e6eef4}.auth-brand-foot{margin-top:auto;padding-top:18px;font-size:10.5px;color:#c8d7e2;letter-spacing:.2px}.auth-form-side{flex:1 1 auto;padding:18px 28px 22px;display:flex;flex-direction:column;min-width:300px}.auth-tabs{display:flex;gap:2px;border-bottom:1px solid #c3c1bb;margin-bottom:18px}.auth-tab{border:1px solid transparent;border-bottom:none;background:transparent;padding:6px 14px 7px;border-radius:5px 5px 0 0;color:#555;cursor:default;font-size:12px}.auth-tab:hover{background:#eef3f7}.auth-tab.active{background:#fff;border-color:#c3c1bb;color:#1f3b52;font-weight:600;margin-bottom:-1px}.auth-form{display:flex;flex-direction:column}.auth-label{font-size:11.5px;color:#333;margin:0 0 4px 1px}.auth-input{width:100%;height:30px;margin-bottom:12px;font-size:12.5px}.auth-input.invalid{border-color:#b04b3f;box-shadow:0 0 0 2px #b04b3f2e}.auth-password{position:relative}.auth-password .auth-input{padding-right:88px}.auth-eye{position:absolute;right:4px;top:4px;height:23px;border:1px solid transparent;background:transparent;color:#4a6b8a;font-size:10.5px;padding:0 6px;border-radius:4px;cursor:default}.auth-eye:hover{background:#eef3f7;border-color:#cfdde7}.auth-submit{height:32px;margin-top:6px;font-size:12.5px;font-weight:600}.auth-guest{height:30px;margin-top:9px;font-size:12px}.auth-guest-note{margin-top:7px;font-size:10.5px;color:#6b6a66;line-height:1.45;text-align:center}.auth-error{border:1px solid #d9a9a1;background:#fbeceb;color:#8c3227;padding:7px 9px;border-radius:4px;font-size:11.5px;line-height:1.4;margin:2px 0 10px}.auth-switch{margin-top:13px;font-size:11.5px;color:#555;text-align:center}.linklike{border:none;background:none;color:#1a5d9c;padding:0;font-size:11.5px;text-decoration:underline;cursor:pointer}.linklike:hover{color:#0d3f6e}.auth-note{margin-top:auto;padding-top:16px;font-size:10.5px;color:#777;line-height:1.5;border-top:1px dashed #dedcd7}.auth-note code{font-family:var(--mono);font-size:10px;color:#555}.auth-splash{width:300px;padding:30px;background:#fff;border:1px solid #b5b3ad;border-radius:4px;box-shadow:0 12px 38px #00000047;display:flex;flex-direction:column;align-items:center;gap:8px}.auth-splash-title{font-size:20px;font-weight:700;color:#2c4a63}.auth-splash-sub{font-size:11.5px;color:#777}.auth-spinner{width:22px;height:22px;margin-top:10px;border:2px solid #cfdde7;border-top-color:#5a7590;border-radius:50%;animation:authspin .8s linear infinite}@keyframes authspin{to{transform:rotate(360deg)}}@media(max-width:660px){.auth-content{flex-direction:column}.auth-brand{width:100%;flex:0 0 auto;padding:20px 22px}.auth-brand ul,.auth-brand-foot{display:none}.auth-form-side{padding:16px 20px 18px}}
