.texas-school-search-stage{width:100%;margin-bottom:2rem;position:relative}.search-category-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.filter-pill{min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:.35rem .75rem;font-size:.75rem;font-weight:600;border-radius:var(--radius-full, 9999px);background:hsl(var(--bg-elevated, 210 20% 96%));color:hsl(var(--text-muted, 215 16% 40%));border:1px solid hsl(var(--border-subtle, 215 20% 88%));cursor:pointer;transition:all .2s cubic-bezier(.16,1,.3,1)}.filter-pill:hover,.filter-pill.active{background:hsl(var(--primary, 203.4 69.4% 42%));color:#fff;border-color:hsl(var(--primary, 203.4 69.4% 42%))}.search-input-wrapper{position:relative;display:flex;align-items:center;background:#fff;border:1px solid hsl(var(--border-strong, 215 25% 78%));border-radius:var(--radius-md, 10px);box-shadow:0 4px 16px -2px #0f172a14}.search-input-wrapper:focus-within{border-color:hsl(var(--primary, 203.4 69.4% 42%));box-shadow:0 0 0 3px hsl(var(--primary, 203.4 69.4% 42%) / .2)}.search-icon{padding-left:1rem;color:hsl(var(--text-muted));display:flex;align-items:center;pointer-events:none}.district-search-input{width:100%;padding:.85rem 1rem;border:none;outline:none;font-size:.95rem;color:hsl(var(--text-primary));font-family:inherit;background:transparent}.clear-btn{background:transparent;border:none;cursor:pointer;padding:.5rem;color:hsl(var(--text-muted))}.search-kbd-hint{padding-right:1rem;pointer-events:none}.search-kbd-hint kbd{font-size:.7rem;padding:.2rem .4rem;background:hsl(var(--bg-elevated));border:1px solid hsl(var(--border-subtle));border-radius:4px;color:hsl(var(--text-muted))}.search-dropdown-menu{position:absolute;top:calc(100% - 2.5rem);left:0;right:0;z-index:100;background:#fff;border:1px solid hsl(var(--border-strong));border-radius:var(--radius-md);box-shadow:0 16px 36px -4px #0f172a29;max-height:320px;overflow-y:auto}.district-result-item{display:block;text-decoration:none;color:inherit;padding:.75rem 1rem;border-bottom:1px solid hsl(var(--border-subtle) / .5);cursor:pointer;transition:background .15s ease}.district-result-item:hover,.district-result-item.highlighted{background:hsl(var(--primary) / .08);outline:2px solid hsl(var(--primary));outline-offset:-2px}.coverage-transparency-notice{margin-top:.85rem;margin-bottom:.85rem;padding:.75rem 1rem;border-radius:var(--radius-md, 8px);background:hsl(var(--surface-secondary, 218 20% 96%));border:1px solid hsl(var(--border-subtle, 218 20% 88%));font-size:.8rem;line-height:1.5;color:hsl(var(--text-secondary, 218 15% 35%))}.coverage-transparency-notice p{margin:0}.coverage-transparency-notice strong{color:hsl(var(--accent-primary, 218 68% 22%));font-weight:700}.result-title-row{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:.9rem;color:hsl(var(--text-primary))}.result-meta-row{font-size:.75rem;color:hsl(var(--text-muted));display:flex;gap:.4rem;margin-top:.25rem}.rating-badge{font-size:.7rem;font-weight:700;padding:.15rem .5rem;border-radius:4px;background:hsl(var(--primary) / .1);color:hsl(var(--primary))}.rating-badge.grade-a{background:#1cca5b1f;color:#149041}.rating-badge.grade-b{background:#2285c31f;color:#185f8b}.selected-district-card{margin-top:1.25rem;background:#fff;border:1px solid hsl(var(--border-subtle));border-radius:var(--radius-lg, 16px);padding:1.5rem;box-shadow:0 8px 24px -4px #0f172a0f}.card-top-bar{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.district-badge-group{display:flex;flex-wrap:wrap;gap:.5rem}.district-type-tag{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.2rem .5rem;background:hsl(var(--primary) / .08);color:hsl(var(--primary));border-radius:4px}.district-region-tag{font-size:.75rem;color:hsl(var(--text-muted));display:flex;align-items:center}.tea-rating-box{text-align:right}.rating-label{display:block;font-size:.65rem;font-weight:700;letter-spacing:.08em;color:hsl(var(--text-muted))}.rating-value{font-size:1.35rem;font-weight:800;color:hsl(var(--primary))}.district-headline{font-family:var(--font-serif, serif);font-size:clamp(1.4rem,2.5vw,1.85rem);font-weight:700;color:hsl(var(--text-primary));line-height:1.2;margin:.25rem 0 .5rem}.district-feeder-text{font-size:.85rem;color:hsl(var(--text-muted));margin-bottom:1.25rem;line-height:1.4}.district-metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;padding:1rem;background:hsl(var(--bg-elevated));border-radius:var(--radius-md);margin-bottom:1.25rem}@media(min-width:640px){.district-metrics-grid{grid-template-columns:repeat(4,1fr)}}.metric-cell{display:flex;flex-direction:column}.metric-caption{font-size:.65rem;font-weight:700;letter-spacing:.06em;color:hsl(var(--text-muted));margin-bottom:.25rem}.metric-number{font-size:1.25rem;font-weight:750;color:hsl(var(--text-primary))}.metric-subtext{font-size:.72rem;color:hsl(var(--text-muted));margin-top:.2rem}.compliance-tag{color:#149041;font-weight:600}.holiday-strip{display:flex;flex-wrap:wrap;gap:1rem;padding:.75rem 1rem;border:1px solid hsl(var(--border-subtle));border-radius:var(--radius-sm);background:#fff;font-size:.8rem;margin-bottom:1.25rem}.holiday-name{font-weight:600;color:hsl(var(--text-primary));margin-right:.35rem}.holiday-dates{color:hsl(var(--text-muted))}.card-footer-actions{display:flex;flex-wrap:wrap;gap:.75rem}.action-btn-primary{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1rem;background:hsl(var(--primary));color:#fff;font-size:.82rem;font-weight:600;border-radius:var(--radius-sm);text-decoration:none;transition:background .15s ease}.action-btn-primary:hover{background:hsl(var(--primary-hover))}.action-btn-secondary{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1rem;background:hsl(var(--bg-elevated));color:hsl(var(--text-primary));font-size:.82rem;font-weight:600;border-radius:var(--radius-sm);border:1px solid hsl(var(--border-subtle));text-decoration:none;transition:all .15s ease}.action-btn-secondary:hover{background:hsl(var(--border-subtle))}@media(max-width:640px){.texas-school-search-stage{margin-bottom:1rem}.search-category-pills{display:flex;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;gap:.35rem;padding-bottom:.2rem;margin-bottom:.4rem;-webkit-overflow-scrolling:touch;scrollbar-width:none}.search-category-pills::-webkit-scrollbar{display:none}.filter-pill{flex-shrink:0;min-height:26px;display:inline-flex;align-items:center;justify-content:center;padding:.25rem .55rem;font-size:.72rem}.district-search-input{padding:.65rem .75rem;font-size:.85rem}.search-kbd-hint{display:none}}
