*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f5f5f5;color:#333}.app{max-width:1200px;margin:0 auto;padding:20px}.app-header{text-align:center;margin-bottom:40px;position:relative}.app-header h1{margin:0;font-size:2rem}.app-header h2{margin:5px 0 0;font-size:1.2rem;font-weight:400;color:#666}.language-toggle{position:absolute;top:0;right:0;padding:8px 16px;border:1px solid #ccc;border-radius:4px;background:#fff;cursor:pointer}.language-toggle:hover{background:#f0f0f0}.hero-counter{text-align:center;padding:40px;background:#fff;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.hero-counter-value{font-size:4rem;font-weight:700;color:#c0392b}.hero-counter-label{font-size:1.2rem;color:#666;margin-top:10px}.filter-panel{display:flex;gap:40px;padding:20px;background:#fff;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.filter-section{flex:1}.filter-label{display:block;font-weight:700;margin-bottom:10px}.year-range-inputs{display:flex;align-items:center;gap:10px}.year-range-inputs input{width:80px;padding:8px;border:1px solid #ccc;border-radius:4px}.case-filter-buttons{display:flex;gap:10px}.case-filter-buttons button{padding:8px 16px;border:1px solid #ccc;border-radius:4px;background:#fff;cursor:pointer}.case-filter-buttons button.active{background:#3498db;color:#fff;border-color:#3498db}.case-filter-buttons button:hover:not(.active){background:#f0f0f0}.impact-chart{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a}.chart-tooltip{background:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;box-shadow:0 2px 4px #0000001a}.tooltip-year{font-weight:700;margin:0 0 5px}.tooltip-actual{color:#c0392b;margin:2px 0}.tooltip-counterfactual{color:#2980b9;margin:2px 0}.tooltip-difference{margin:5px 0 0;padding-top:5px;border-top:1px solid #eee}.context-card{background:#fff;border-radius:8px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.context-header{display:flex;justify-content:space-between;align-items:center;padding:20px;cursor:pointer}.context-header h3{margin:0}.expand-button{padding:6px 12px;border:1px solid #ccc;border-radius:4px;background:#fff;cursor:pointer}.context-summary{padding:0 20px 20px;display:flex;gap:15px}.ruling-date{color:#666}.ruling-outcome{padding:2px 8px;border-radius:4px;font-size:.9rem}.outcome-partial-unconstitutional{background:#ffeeba;color:#856404}.outcome-unconstitutional{background:#f8d7da;color:#721c24}.outcome-constitutional{background:#d4edda;color:#155724}.context-details{padding:0 20px 20px;border-top:1px solid #eee}.ruling-summary{line-height:1.6}.articles-section{margin-top:20px}.articles-section h4{margin:0 0 10px}.article-item{padding:10px;background:#f9f9f9;border-radius:4px;margin-bottom:10px}.article-item .penalty{color:#c0392b;margin-left:10px}.article-text{margin:10px 0 0;color:#666;font-size:.9rem;line-height:1.5}.methodology-footer{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a}.methodology-footer h4{margin:0 0 10px}.methodology-footer h4:not(:first-child){margin-top:20px}.methodology-footer p{margin:0;color:#666;line-height:1.5}.methodology-footer ul{margin:0;padding-left:20px;color:#666}.methodology-footer li{margin:5px 0}
