.manual-grid-panel { display:flex; flex-direction:column; width:100%; min-width:0; height:100%; padding:16px; gap:10px; box-sizing:border-box; background:#f8fafc; } .manual-grid-toolbar,.manual-grid-actions,.manual-grid-info { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } .manual-grid-toolbar { justify-content:space-between; } .manual-grid-toolbar strong { font-size:18px; color:#1e293b; } .manual-grid-actions .btn { padding:7px 12px; font-size:13px; } .manual-muted,.manual-grid-info { color:#64748b; font-size:12px; } .manual-grid-info > :first-child { margin-right:auto; } #manual-save-status[data-state="error"] { color:#b91c1c; font-weight:600; } #manual-save-status[data-state="saving"] { color:#1d4ed8; } #manual-save-retry { border:1px solid #fecaca; background:#fff1f2; padding:3px 9px; border-radius:4px; cursor:pointer; } .manual-grid-scroll { flex:1; min-height:200px; overflow:auto; background:white; border:1px solid #cbd5e1; border-radius:8px; } table.manual-grid { border-collapse:separate; border-spacing:0; table-layout:fixed; width:max-content; min-width:100%; margin:0; font-size:13px; color:#1e293b; } .manual-grid th,.manual-grid td { box-sizing:border-box; min-width:150px; width:150px; max-width:150px; padding:7px 9px; border:0; border-right:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; text-align:left; vertical-align:top; white-space:pre-wrap; overflow-wrap:anywhere; line-height:20px; background:white; } .manual-grid th { position:sticky; z-index:2; top:24px; background:#f1f5f9; font-weight:600; height:35px; } .manual-grid thead tr:first-child th { top:0; height:24px; padding:1px 9px; text-align:center; color:#64748b; font-size:11px; background:#e9eef5; } .manual-grid td:first-child,.manual-grid th:first-child { position:sticky; left:0; min-width:65px; width:65px; max-width:65px; background:#f1f5f9; color:#64748b; text-align:center; z-index:1; white-space:nowrap; } .manual-grid th:first-child { z-index:3; } .manual-grid td:nth-child(9),.manual-grid th:nth-child(9),.manual-grid td:nth-child(16),.manual-grid th:nth-child(16) { min-width:280px; width:280px; max-width:280px; } .manual-grid td[contenteditable]:focus { outline:2px solid #2563eb; outline-offset:-2px; background:#eff6ff; } .manual-grid td[data-dirty="true"] { background:#fffbeb; } .manual-grid td[data-error="true"] { background:#fff1f2; box-shadow:inset 0 -2px #e11d48; } .manual-grid tbody tr:has(input:checked) td { background:#eff6ff; } #manual-grid-empty { color:#64748b; padding:36px; text-align:center; } #manual-exports { position:relative; font-size:13px; } #manual-exports summary { cursor:pointer; padding:7px; } #manual-export-list { position:absolute; right:0; top:25px; min-width:270px; max-height:300px; overflow:auto; background:white; box-shadow:0 8px 24px #0f172a26; border:1px solid #e2e8f0; border-radius:6px; padding:10px; list-style:none; z-index:5; } #manual-export-list li { padding:6px; } #manual-export-list a { color:#1d4ed8; text-decoration:none; } @media(max-width:800px) { .manual-grid-panel { padding:8px; } .manual-grid-actions { gap:5px; } }