/* ============================================================
   آدیولب — لایهٔ هم‌راستا با پوستهٔ کانون
   بعد از shell.css و audiolab.css بارگذاری می‌شود.
   ============================================================ */

.al-app .page{display:block}
.al-app .cs-main{min-height:62vh}

/* دکمهٔ تم */
[data-k-theme-toggle]{display:inline-grid;place-items:center}
[data-k-theme-toggle] .k-moon{display:none}
html[data-theme="dark"] [data-k-theme-toggle] .k-moon{display:block}
html[data-theme="dark"] [data-k-theme-toggle] .k-sun{display:none}

/* ---------- زیرنوار: لهجهٔ فیروزه‌ای آدیولب ---------- */
.k-subnav__label{color:#0F766E}
.k-subnav__label::after{background:#c9dedb}
.k-subnav a:hover{background:#e3f1ee;color:#0B5C55}
.k-subnav a.is-active{background:#d9eeea;color:#0B5C55}
html[data-theme="dark"] .k-subnav{background:#0f1a2b;border-color:#233246}
html[data-theme="dark"] .k-subnav__label{color:#5ec7bd}
html[data-theme="dark"] .k-subnav__label::after{background:#243348}
html[data-theme="dark"] .k-subnav a{color:#c3cfdf}
html[data-theme="dark"] .k-subnav a:hover{background:#1b2839;color:#8ee0d6}
html[data-theme="dark"] .k-subnav a.is-active{background:#123c3a;color:#8ee0d6}

/* ---------- هم‌راستاسازی تم تاریک ---------- */
html[data-theme="dark"] body.al-app{background:#0d1522;color:#eef2f7}
html[data-theme="dark"] .toast{background:#e8eef7;color:#0b1220}
html[data-theme="dark"] .field.is-invalid input,
html[data-theme="dark"] .field.is-invalid select,
html[data-theme="dark"] .field.is-invalid textarea{border-color:#7d3b3b;background:#2a1720}

/* جدول‌های مدیریتی */
.al-tbl .btn,
.al-tbl .al-iconbtn{white-space:nowrap}
