:root{--navy: #002d5e;--navy-soft: #1a3a5c;--teal: #05e5ba;--teal-soft: #e6faf4;--gray-50: #f8fafc;--gray-100: #f1f5f9;--gray-200: #e2e8f0;--gray-400: #94a3b8;--gray-600: #475569;--gray-800: #1e293b;--red: #dc2626;--orange: #ea580c;--green: #16a34a;--blue: #2563eb;--purple: #7c3aed;--yellow: #ca8a04}*{box-sizing:border-box}body,html,#root{margin:0;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--gray-800);background:var(--gray-50);font-size:14px;height:100%}.app{display:flex;flex-direction:column;min-height:100vh}header.top{background:var(--navy);color:#fff;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 6px #00000014}header.top .brand{display:flex;align-items:center;gap:16px}header.top .brand svg{height:28px}header.top h1{font-size:16px;margin:0;font-weight:600;border-left:1px solid rgba(255,255,255,.2);padding-left:16px}header.top .user-pill{font-size:13px;background:#ffffff1a;padding:6px 14px;border-radius:16px;display:flex;align-items:center;gap:8px}header.top .user-pill input{background:transparent;border:none;color:#fff;font-family:inherit;font-size:13px;outline:none;width:220px}header.top .user-pill input::placeholder{color:#ffffff80}nav.tabs{background:#fff;display:flex;padding:0 28px;border-bottom:1px solid var(--gray-200);gap:8px}nav.tabs button{background:transparent;border:none;padding:14px 18px;font-family:inherit;font-size:14px;font-weight:600;color:var(--gray-600);cursor:pointer;border-bottom:2px solid transparent}nav.tabs button:hover{color:var(--navy)}nav.tabs button.active{color:var(--navy);border-bottom-color:var(--teal)}main{flex:1;padding:24px 28px;max-width:1500px;width:100%;margin:0 auto}.panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000000d;padding:16px;margin-bottom:16px}table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0000000d}thead{background:var(--navy);color:#fff}th{text-align:left;padding:10px 14px;font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}th:hover{background:var(--navy-soft)}td{padding:12px 14px;border-top:1px solid var(--gray-100);vertical-align:top}tr:hover td{background:var(--gray-50)}.pill{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600}.pill-status-open{background:#fef3c7;color:#92400e}.pill-status-fixed{background:#dcfce7;color:#166534}.pill-status-verified{background:#d1fae5;color:#065f46}.pill-status-closed{background:#e5e7eb;color:#374151}.pill-status-wont_fix{background:#fce7f3;color:#9d174d}.pill-status-Pass{background:#dcfce7;color:#166534}.pill-status-Fail{background:#fee2e2;color:#991b1b}.pill-status-Pendiente{background:var(--gray-100);color:var(--gray-600)}.pill-status-Bloqueado{background:#fef3c7;color:#92400e}.pill-status-Skip{background:#ede9fe;color:#6d28d9}.pill-sev-blocker{background:#7f1d1d;color:#fff}.pill-sev-critical{background:#b91c1c;color:#fff}.pill-sev-high{background:#ea580c;color:#fff}.pill-sev-medium{background:#ca8a04;color:#fff}.pill-sev-low{background:#16a34a;color:#fff}.pill-sev-cosmetic{background:var(--gray-400);color:#fff}.pill-type-TC{background:#dcfce7;color:#166534}.pill-type-UC-REG{background:#fee2e2;color:#991b1b}.pill-env{background:var(--teal-soft);color:var(--navy);margin-right:4px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:20px}.stat{background:#fff;border-radius:8px;padding:14px 18px;border-left:4px solid var(--teal);box-shadow:0 1px 3px #0000000d}.stat-label{font-size:11px;color:var(--gray-600);text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:26px;font-weight:700;color:var(--navy);margin-top:4px}.stat-red{border-left-color:var(--red)}.stat-green{border-left-color:var(--green)}.stat-orange{border-left-color:var(--orange)}.stat-blue{border-left-color:var(--blue)}.controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px;align-items:center}.controls input,.controls select,.controls textarea{padding:8px 12px;border:1px solid var(--gray-200);border-radius:6px;font-family:inherit;font-size:13px;background:#fff}.controls input:focus,.controls select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #05e5ba26}button.btn{background:var(--navy);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}button.btn:hover{background:var(--navy-soft)}button.btn-secondary{background:var(--gray-100);color:var(--gray-800)}button.btn-secondary:hover{background:var(--gray-200)}button.btn-teal{background:var(--teal);color:var(--navy)}button.btn-teal:hover{filter:brightness(.95)}button.btn-sm{padding:4px 10px;font-size:12px}button.btn-ghost{background:transparent;border:1px solid var(--gray-200);color:var(--gray-600)}button.btn-ghost:hover{background:var(--gray-50)}.form-row{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.form-row label{font-size:12px;font-weight:600;color:var(--gray-600)}.form-row input,.form-row select,.form-row textarea{padding:8px 12px;border:1px solid var(--gray-200);border-radius:6px;font-family:inherit;font-size:13px}.form-row textarea{min-height:80px;resize:vertical;font-family:inherit}.form-row .hint{font-size:11px;color:var(--gray-400)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100}.modal{background:#fff;border-radius:10px;padding:24px;max-width:720px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal h2{margin:0 0 16px;color:var(--navy)}.modal .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.muted{color:var(--gray-400)}.tiny{font-size:11px}.row{display:flex;gap:12px;align-items:center}.right{margin-left:auto}.empty{text-align:center;padding:48px;color:var(--gray-400)}.error{color:var(--red);font-size:13px;padding:12px;background:#fee2e2;border-radius:6px}.success{color:var(--green);font-size:13px;padding:12px;background:#dcfce7;border-radius:6px}.bug-id,.case-id,.feat-id{font-family:SF Mono,Monaco,monospace;font-weight:600;color:var(--navy)}.attachment-item{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--gray-50);border-radius:6px;margin-bottom:4px;font-size:13px}.attachment-item .att-name{background:none;border:none;color:var(--navy);cursor:pointer;text-decoration:underline;padding:0;font-family:inherit;font-size:13px;flex:1;text-align:left}.attachment-item .att-name:hover{color:var(--teal)}.attachment-item .att-remove{background:none;border:none;color:var(--gray-400);cursor:pointer;padding:0 6px;font-size:16px}.attachment-item .att-remove:hover{color:var(--red)}.attachment-item .att-icon{opacity:.6}.pill-status-requested{background:#fef3c7;color:#92400e}.pill-status-reviewing{background:#dbeafe;color:#1e40af}.pill-status-approved{background:#d1fae5;color:#065f46}.pill-status-in_progress{background:#dbeafe;color:#1e40af}.pill-status-done{background:#dcfce7;color:#166534}.pill-status-rejected{background:#fee2e2;color:#991b1b}.pill-prio-urgent{background:#7f1d1d;color:#fff}.pill-prio-high{background:#b91c1c;color:#fff}.pill-prio-medium{background:#ca8a04;color:#fff}.pill-prio-low{background:var(--gray-400);color:#fff}.comment{background:var(--gray-50);padding:8px 12px;border-radius:6px;margin-bottom:6px;font-size:13px}.comment .comment-meta{font-size:11px;color:var(--gray-400);margin-bottom:2px}.comment .comment-body{white-space:pre-wrap;color:var(--gray-800)}.timestamp{font-size:11px;color:var(--gray-400);white-space:nowrap}.title-cell{font-weight:600}.description-cell{font-size:13px;color:var(--gray-600)}
