:root{--navy: #1a1a2e;--navy-light: #16213e;--gold: #c9a84c;--gold-light: #e8d5a0;--cream: #f8f6f2;--white: #ffffff;--text: #2d2d3a;--text-muted: #6b6b7b;--border: #e0dcd4;--card-bg: #ffffff;--accent-green: #2d6a4f;--accent-red: #9b2226;--accent-amber: #b45309;--accent-gray: #6b7280;--accent-indigo: #4338ca}.app{min-height:100vh;display:flex;flex-direction:column;background:var(--cream)}.nav{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 3rem;background:var(--navy);border-bottom:3px solid var(--gold)}.nav-brand{font-family:Playfair Display,Georgia,serif;font-size:1.5rem;font-weight:700;color:var(--gold-light);letter-spacing:.02em}.nav-links{display:flex;gap:2rem}.nav-links a{color:#d4d4d8;text-decoration:none;padding:.5rem 0;font-size:.95rem;font-weight:500;border-bottom:2px solid transparent;transition:all .2s}.nav-links a.active,.nav-links a:hover{border-bottom-color:var(--gold);color:var(--gold-light)}.main{flex:1;padding:2.5rem 3rem;max-width:1200px;margin:0 auto;width:100%}h2{font-family:Playfair Display,Georgia,serif;font-size:1.75rem;font-weight:600;color:var(--navy);margin-bottom:.5rem}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:4px;padding:1.75rem;margin-bottom:1rem;box-shadow:0 1px 3px #0000000a}.card h3{font-family:Playfair Display,Georgia,serif;margin-bottom:.75rem;color:var(--navy);font-size:1.15rem}.form-group{margin-bottom:1rem}.search-form .form-group{margin-bottom:0}.form-group label{display:block;margin-bottom:.35rem;color:var(--text-muted);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.form-group input,.form-group select{width:100%;padding:0 .75rem;height:38px;box-sizing:border-box;background:var(--white);border:1px solid var(--border);border-radius:4px;color:var(--text);font-size:.95rem;font-family:inherit;line-height:36px}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px #c9a84c26}.btn{padding:0 1.75rem;height:38px;box-sizing:border-box;line-height:36px;background:var(--navy);color:var(--gold-light);border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:600;font-family:inherit;letter-spacing:.03em;transition:background .2s}.btn:hover{background:var(--navy-light)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background:var(--text-muted);color:#fff}.result-item{padding:1.25rem;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}.result-item:hover{background:#faf8f4}.result-item .citation{font-family:Playfair Display,Georgia,serif;font-weight:600;color:var(--navy);font-size:1.05rem}.result-item .meta{font-size:.85rem;color:var(--text-muted);margin-top:.3rem}.result-item .holding{margin-top:.6rem;font-size:.95rem;line-height:1.5;color:var(--text)}.tag{display:inline-block;padding:.2rem .6rem;border-radius:3px;font-size:.75rem;font-weight:600;margin-right:.3rem;text-transform:uppercase;letter-spacing:.03em}.tag-granted{background:#d1fae5;color:var(--accent-green)}.tag-denied{background:#fee2e2;color:var(--accent-red)}.tag-remanded{background:#fef3c7;color:var(--accent-amber)}.tag-dismissed{background:#f3f4f6;color:var(--accent-gray)}.tag-mixed{background:#e0e7ff;color:var(--accent-indigo)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem;margin-bottom:2rem}.stat-box{background:var(--card-bg);border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:4px;padding:1.5rem;text-align:center;box-shadow:0 1px 3px #0000000a}.stat-box .number{font-family:Playfair Display,Georgia,serif;font-size:2.25rem;font-weight:700;color:var(--navy)}.stat-box .label{font-size:.85rem;color:var(--text-muted);margin-top:.3rem;font-weight:500}.login-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%)}.login-box{background:var(--white);border:none;border-top:4px solid var(--gold);border-radius:4px;padding:3rem;width:100%;max-width:420px;box-shadow:0 20px 60px #0000004d}.login-box h1{font-family:Playfair Display,Georgia,serif;text-align:center;margin-bottom:.5rem;color:var(--navy);font-size:1.75rem}.login-box .subtitle{text-align:center;color:var(--text-muted);font-size:.9rem;margin-bottom:1.75rem}.judge-table{width:100%;border-collapse:collapse}.judge-table th,.judge-table td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--border)}.judge-table th{color:var(--text-muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600}.judge-table tr:hover{background:#faf8f4;cursor:pointer}.semantic-result{margin-bottom:1rem}.semantic-result .score{font-size:.8rem;color:var(--text-muted)}.semantic-result .text{margin-top:.5rem;line-height:1.6}a[style*=color]{font-weight:500}.nav-right{display:flex;align-items:center;gap:2rem}.profile{position:relative}.profile-btn{display:flex;align-items:center;gap:.5rem;background:#ffffff0f;border:1px solid rgba(201,168,76,.35);border-radius:20px;padding:.25rem .7rem .25rem .25rem;cursor:pointer;color:var(--gold-light);transition:background .2s,border-color .2s}.profile-btn:hover{background:#ffffff1f;border-color:var(--gold)}.profile-avatar{width:30px;height:30px;border-radius:50%;background:var(--gold);color:var(--navy);display:flex;align-items:center;justify-content:center;font-family:Playfair Display,Georgia,serif;font-weight:700;font-size:.95rem}.profile-caret{width:14px;height:14px}.profile-menu{position:absolute;right:0;top:calc(100% + 10px);background:var(--white);border:1px solid var(--border);border-radius:6px;box-shadow:0 12px 32px #0000002e;min-width:220px;padding:.5rem;z-index:100}.profile-menu:before{content:"";position:absolute;top:-6px;right:26px;width:10px;height:10px;background:var(--white);border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}.profile-header{padding:.6rem .75rem .75rem;border-bottom:1px solid var(--border);margin-bottom:.35rem}.profile-name{font-family:Playfair Display,Georgia,serif;font-weight:600;color:var(--navy);font-size:1rem}.profile-email{font-size:.8rem;color:var(--text-muted);margin-top:.15rem}.profile-item{display:block;width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:.55rem .75rem;border-radius:4px;color:var(--text);font-size:.9rem;font-weight:500;font-family:inherit;transition:background .15s}.profile-item:hover{background:#faf8f4}.profile-item.danger{color:var(--accent-red)}.profile-item.danger:hover{background:#fee2e2}.case-anchor{background:transparent;color:inherit;border-radius:2px;padding:0 1px}.case-anchor-flash{background:#fde047;animation:anchorFlash 3s ease-out forwards}@keyframes anchorFlash{0%{background:#facc15;box-shadow:0 0 0 3px #facc158c}80%{background:#fde047;box-shadow:0 0 0 3px #fde0474d}to{background:transparent;box-shadow:none}}
