/* V31: mevcut koyu/açık temaya uyumlu minimal eklemeler */
.bd31-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}
.bd31-box{padding:18px;border:1px solid rgba(130,165,210,.25);border-radius:16px;background:rgba(32,47,73,.48)}
.bd31-box strong{display:block;font-size:clamp(20px,2.4vw,31px);font-variant-numeric:tabular-nums;margin-bottom:6px;color:#e9f6ff}
.bd31-box span{font-size:12px;color:#bdd2e7}
.bd31-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bd31-filters label{display:block;font-size:14px;color:#d0e0f0}
.bd31-filters select{width:100%;margin-top:6px}
.bd31-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
.bd31-actions button,.bd31-actions a{white-space:normal}
.bd31-columns{display:grid;grid-template-columns:1.65fr 1fr;gap:16px}
.bd31-chart{display:block;width:100%;height:auto;max-width:100%;border-radius:12px;border:1px solid #30435c}
.bd31-list{margin:0;padding-left:20px;line-height:1.8}
.bd31-chip{display:inline-block;border-radius:30px;border:1px solid #677ca4;background:#21314f;color:#f2f8ff;padding:7px 11px;margin:3px;font-size:13px}
.bd31-table-scroll{max-width:100%;overflow-x:auto}
.bd31-table{width:100%;border-collapse:collapse;min-width:650px;font-size:13px}
.bd31-table th,.bd31-table td{text-align:left;border-bottom:1px solid rgba(160,185,215,.20);padding:11px 9px}
.bd31-table th{color:#c3dbee}
.bd31-warning{border-left:4px solid #75d9c9;padding:12px 15px;background:rgba(69,126,124,.15);border-radius:8px}
.bd31-panel h2{margin-top:0}
body[data-bd-theme="light"] .bd31-box{background:#f4f8ff;border-color:#d8e3f1}
body[data-bd-theme="light"] .bd31-box strong{color:#112744}
body[data-bd-theme="light"] .bd31-box span,body[data-bd-theme="light"] .bd31-filters label{color:#33465b}
body[data-bd-theme="light"] .bd31-chip{background:#e8f3fc;border-color:#c0d6e7;color:#123452}
@media(max-width:900px){.bd31-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bd31-columns{grid-template-columns:1fr}}
@media(max-width:550px){.bd31-filters{grid-template-columns:1fr}.bd31-grid{gap:8px}.bd31-box{padding:12px}.bd31-actions button{flex:1 1 auto}}
@media print{#header,#footer,.bd31-actions,.bd31-filters{display:none!important}.bd31-box{background:#fff!important;color:#000!important}.bd31-box strong,.bd31-box span{color:#000!important}body{background:#fff!important;color:#000!important}}
