:root{--bg:#f6f7f9;--nav-width:170px;--bottom-panel-height:45vh;--panel:#fff;--border:#e3e6ea;--text:#1d2330;--muted:#6b7280;--accent:#2563eb;--accent-soft:#eff4ff;--warn:#b45309;--warn-soft:#fef3c7;--success:#15803d;--success-soft:#dcfce7;--danger:#b91c1c;--radius:6px;--sheet-line:#e2e3e3;--sheet-line-strong:#c4c7c5;--sheet-header:#f8f9fa;--sheet-header-selected:#d3e3fd;color:var(--text);background:var(--bg);font:13px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body,h1,h2{margin:0}h1{font-size:18px}h2{font-size:15px}h3{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin:18px 0 6px;font-size:11px}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit;color:inherit}.field input,input[type=search],select{padding:0 8px}button,input[type=search],select{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);height:30px}button{cursor:pointer;align-items:center;padding:0 10px;display:inline-flex}button:disabled{opacity:.5;cursor:default}.field{color:var(--muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.field input{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);height:32px;color:var(--text)}.field input:focus{border-color:var(--accent);outline:none}.field-hint{font-size:11px}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius)}.page-header{align-items:center;gap:12px;margin-bottom:12px;display:flex}.bottom-panel{bottom:0;right:0;left:var(--nav-width);z-index:1100;height:var(--bottom-panel-height);border-radius:12px 12px 0 0;padding:12px 20px;position:fixed;overflow:auto;box-shadow:0 -1px 2px #1018280f,0 -12px 32px -8px #10182838}.bottom-panel-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;display:grid}.table tr.selected{scroll-margin-bottom:calc(8px + var(--bottom-panel-height))}.tabs{border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);gap:2px;padding:2px;display:flex}.tabs button{height:26px;color:var(--muted);background:0 0;border:0;gap:5px}.tabs button.is-current{background:var(--accent-soft);color:var(--accent);font-weight:600}.filters-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:16px;display:grid}.table{border-collapse:separate;border-spacing:0;table-layout:fixed;background:var(--panel);width:100%;min-width:860px}.table td,.table th{border-right:1px solid var(--sheet-line);border-bottom:1px solid var(--sheet-line);text-overflow:ellipsis;white-space:nowrap;height:26px;padding:0 8px;overflow:hidden}.table th{z-index:1;border-bottom-color:var(--sheet-line-strong);background:var(--sheet-header);color:var(--muted);text-align:left;font-size:12px;font-weight:600;position:sticky;top:0}.table :is(th,td):last-child{border-right:0}.table tbody tr:last-child td{border-bottom:0}.table .row-number{border-right-color:var(--sheet-line-strong);background:var(--sheet-header);width:52px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:center;padding:0 4px;font-size:11px;position:sticky;left:0}.table th.row-number{z-index:2}.table .name{text-align:left;text-overflow:ellipsis;background:0 0;border:0;max-width:100%;height:auto;padding:0;font-weight:500;display:block;overflow:hidden}.table tbody tr{cursor:pointer}.table tbody tr:hover td{background:var(--sheet-header)}.table tbody tr:hover .row-number{background:var(--sheet-line)}.table tbody tr.selected td{background:var(--accent-soft);box-shadow:inset 0 1px var(--accent),inset 0 -1px var(--accent)}.table tbody tr.selected .row-number{background:var(--sheet-header-selected);color:var(--accent);font-weight:600}.sheet-facts{border:1px solid var(--sheet-line);border-radius:var(--radius);grid-template-columns:120px minmax(0,1fr);margin:0;display:grid;overflow:hidden}.sheet-facts dd,.sheet-facts dt{border-bottom:1px solid var(--sheet-line);min-height:26px;padding:4px 8px}.sheet-facts dt{border-right:1px solid var(--sheet-line);background:var(--sheet-header);color:var(--muted);font-size:12px}.sheet-facts dd{overflow-wrap:anywhere;margin:0}.sheet-facts>:nth-last-child(-n+2){border-bottom:0}.sheet-list{border:1px solid var(--sheet-line);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.sheet-list>li{border-bottom:1px solid var(--sheet-line);align-items:center;gap:8px;min-height:26px;padding:3px 8px;display:flex}.sheet-list>li:last-child{border-bottom:0}.sheet-list>li:hover{background:var(--sheet-header)}.sheet-code{width:44px;color:var(--muted);flex:none}.table-wrap{border:1px solid var(--border);border-radius:var(--radius);overflow:auto}.num{text-align:right;font-variant-numeric:tabular-nums}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.muted{color:var(--muted)}.error{color:var(--danger)}.badge{background:var(--accent-soft);color:var(--accent);border-radius:10px;padding:0 6px;font-size:11px;display:inline-block}.badge.warn{background:var(--warn-soft);color:var(--warn)}.badge.success{background:var(--success-soft);color:var(--success)}@media (width<=900px){.page-header{flex-wrap:wrap}.filters-layout{grid-template-columns:minmax(0,1fr);gap:10px}.field input{height:40px;font-size:16px}.bottom-panel{overscroll-behavior:contain;border-radius:0;height:auto;padding:12px 16px;top:0;left:0}.bottom-panel-body{grid-template-columns:minmax(0,1fr)}}
