:root{--panel: #ffffff;--text: #1e293b;--muted: #64748b;--primary: #2563eb;--primary-hover: #1d4ed8;--danger: #dc2626;--danger-hover: #b91c1c;--border: #e2e8f0}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f1f5f9;color:var(--text)}button{cursor:pointer;border:none;border-radius:8px;padding:.55rem 1rem;font-size:.95rem;font-weight:600;background:var(--primary);color:#fff}button:hover{background:var(--primary-hover)}button:disabled{opacity:.6;cursor:not-allowed}button.ghost{background:transparent;color:var(--muted);border:1px solid var(--border)}button.ghost:hover{background:#f8fafc}button.danger{background:var(--danger)}button.danger:hover{background:var(--danger-hover)}input,textarea{width:100%;padding:.6rem .75rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;font-family:inherit}input:focus,textarea:focus{outline:2px solid var(--primary);border-color:transparent}.card{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000000d}.auth-wrapper{min-height:100vh;display:grid;place-items:center;padding:1rem}.auth-card{width:100%;max-width:360px;display:flex;flex-direction:column;gap:.85rem}.auth-card h1{margin:0}.container{max-width:960px;margin:0 auto;padding:1.5rem 1rem 3rem}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.topbar h1{font-size:1.4rem;margin:0}.topbar-actions{display:flex;gap:.5rem}.import-form{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.import-form h2{margin:0}.import-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.9rem}.table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--border);border-radius:12px;overflow:hidden}.table th,.table td{text-align:left;padding:.7rem .85rem;border-bottom:1px solid var(--border);font-size:.92rem}.table th{background:#f8fafc;color:var(--muted);font-weight:600}.table tr:last-child td{border-bottom:none}.table.small th,.table.small td{padding:.45rem .6rem}.msg-cell{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview{display:flex;flex-direction:column;gap:.5rem}.muted{color:var(--muted);font-size:.9rem}.error{color:var(--danger);font-size:.9rem;font-weight:600;margin:0}
