.my-card{background:var(--v15-surface,#fff);border:1px solid var(--v15-line,#e6ebf2);border-radius:18px;padding:1.25rem 1.35rem;margin-bottom:1rem;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.my-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}
@media(max-width:1099px){.my-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.my-grid{grid-template-columns:1fr}}
.my-grid .my-card{margin-bottom:0;min-width:0}
.my-collapse-h{display:flex;width:100%;align-items:center;justify-content:space-between;background:none;border:0;padding:.25rem 0;color:inherit;cursor:pointer;text-align:left}
.my-collapse-h .my-chev{transition:transform .2s}
.my-collapse-h[aria-expanded="false"] .my-chev{transform:rotate(-90deg)}
.my-collapse-b{overflow:hidden;transition:max-height .25s ease,opacity .2s ease;max-height:600px;opacity:1}
.my-collapse-b.is-collapsed{max-height:0;opacity:0;pointer-events:none}

.my-card-h{display:flex;align-items:center;gap:.8rem;margin-bottom:1rem}
.my-card-h .ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.15rem;color:var(--rr-brand);background:var(--rr-tint,#e8f5ef);flex:none}
.my-card-h strong{display:block;font-size:1.02rem}
.my-card-h small{display:block;color:var(--v15-sub,#64748b);font-size:.8rem}
html[data-rr-mode="dark"] .my-card-h .ic{background:color-mix(in srgb,var(--rr-brand) 25%,#0f1829);color:var(--rr-lite)}
.rr-theme-box .rr-seg{max-width:380px}
.rr-theme-box .rr-sw{display:flex;flex-wrap:wrap;gap:10px}
.rr-theme-box .rr-sw button,.rr-theme-box .rr-sw label{width:40px;height:40px;aspect-ratio:auto}
.rr-theme-box .rr-reset{width:auto;margin:0;padding:.45rem 1rem}
.rr-seg.rr-seg4{grid-template-columns:repeat(4,1fr);max-width:100%}
.rr-seg.rr-seg4 button{padding:.55rem .2rem;font-size:.9rem}
.my-mute-state{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600;padding:.2rem .65rem;border-radius:999px;background:var(--rr-tint,#e8f5ef);color:var(--rr-brand)}
.my-mute-state.off{background:rgba(239,68,68,.12);color:#dc2626}
/* ===== Dark-mode readability fixes ===== */
html[data-rr-mode="dark"]{--v15-sub:#b4c2d8;--v15-ink:#f1f5fb;--v15-line:#2b3c5a}
html[data-rr-mode="dark"] table.dataTable tbody tr,
html[data-rr-mode="dark"] table.dataTable tbody tr.odd,
html[data-rr-mode="dark"] table.dataTable tbody tr.even,
html[data-rr-mode="dark"] table.dataTable.stripe tbody tr.odd,
html[data-rr-mode="dark"] table.dataTable.display tbody tr.odd,
html[data-rr-mode="dark"] table.dataTable.hover tbody tr:hover,
html[data-rr-mode="dark"] table.dataTable.display tbody tr:hover,
html[data-rr-mode="dark"] table.dataTable tbody td,
html[data-rr-mode="dark"] table.dataTable tbody td.sorting_1,
html[data-rr-mode="dark"] table.dataTable.order-column tbody tr>.sorting_1,
html[data-rr-mode="dark"] table.dataTable.display tbody tr.odd>.sorting_1{background-color:transparent!important;color:var(--v15-ink)!important}
html[data-rr-mode="dark"] table.dataTable tbody tr:hover,
html[data-rr-mode="dark"] table.dataTable.hover tbody tr:hover,
html[data-rr-mode="dark"] table.dataTable.display tbody tr:hover{background-color:color-mix(in srgb,var(--rr-brand) 16%,#0f1829)!important}
html[data-rr-mode="dark"] table.dataTable thead th,html[data-rr-mode="dark"] table.dataTable thead td,
html[data-rr-mode="dark"] table.dataTable tbody td,html[data-rr-mode="dark"] table.dataTable tbody th,
html[data-rr-mode="dark"] table.dataTable.no-footer,html[data-rr-mode="dark"] .table>:not(caption)>*>*{border-color:var(--v15-line)!important}
html[data-rr-mode="dark"] table.dataTable tbody td.dt-mono{color:#cfe0f5!important}
html[data-rr-mode="dark"] table.dataTable tbody td .text-gray-500,html[data-rr-mode="dark"] table.dataTable tbody td .text-xs{color:var(--v15-sub)!important}
html[data-rr-mode="dark"] td button:not(.btn){background:color-mix(in srgb,var(--rr-brand) 14%,#0f1829)!important;border:1px solid color-mix(in srgb,var(--rr-brand) 55%,#223049)!important;border-radius:9px;padding:.25rem .7rem;color:var(--rr-lite)!important}
html[data-rr-mode="dark"] td button.text-red-500{color:#fca5a5!important;border-color:rgba(239,68,68,.5)!important;background:rgba(239,68,68,.12)!important}
html[data-rr-mode="dark"] td button:not(.btn):hover{filter:brightness(1.2)}
html[data-rr-mode="dark"] input[type=file]::file-selector-button{background:#1b2a45;color:#e8eef8;border:0;border-right:1px solid var(--v15-line);padding:.4rem .8rem;margin-right:.75rem;cursor:pointer}
html[data-rr-mode="dark"] input[type=file]::-webkit-file-upload-button{background:#1b2a45;color:#e8eef8;border:0}
html[data-rr-mode="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-rr-mode="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover{color:#6f819f!important;opacity:1}
html[data-rr-mode="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current){color:#dbe6f6!important}
html[data-rr-mode="dark"] .dataTables_wrapper .dataTables_length select{background-color:#0d1626!important;color:#f1f5fb!important}
html[data-rr-mode="dark"] .small.text-secondary,html[data-rr-mode="dark"] small.text-secondary,html[data-rr-mode="dark"] .text-secondary{color:var(--v15-sub)!important}
html[data-rr-mode="dark"] .text-danger{color:#fca5a5!important}
html[data-rr-mode="dark"] .text-success{color:#6ee7a0!important}
