/* v30 design direction: deep-blue shell, rounded white panel, blue stat tiles, lavender table heads, pill statuses. SVG icons only. */
:root{--b:#3d52a0;--b2:#5568b8;--bl:#e6eafa;--bg:#f6f6f8;--ln:#dfe3f1;--sh:0 3px 8px rgba(40,50,110,.18)}
html,body{background:#3d52a0}
body{font-family:Cairo,Tahoma,"Segoe UI",Arial,sans-serif}
#frame{background:#3d52a0;padding:10px}
body.v-mobile #frame,body.v-tablet #frame{box-shadow:none}
.top{background:#f6f6f8;border:0;border-radius:26px 26px 0 0;padding:12px 14px;top:10px}
.top .brand{color:#1c2a5e}.top .ic{background:#fff;color:#3d52a0;border-radius:50%;box-shadow:var(--sh)}
.layout{background:#f6f6f8;border-radius:0 0 26px 26px;overflow:hidden}
main{background:#f6f6f8;min-height:70vh}
.card{background:#fff;border:0;border-radius:18px;box-shadow:0 2px 8px rgba(40,50,110,.10)}
.kpi{background:#3d52a0;color:#fff;border:0;border-radius:14px;box-shadow:var(--sh);text-align:center;padding:14px 8px}
.kpi b{color:#fff;font-size:26px}.kpi span{color:#dfe6ff;font-size:12px}
.btn{background:#3d52a0;border-radius:10px}.btn.sec{background:#fff;color:#3d52a0;border:1px solid #c9d0ec}
th{background:#dde3f5;color:#1c2a5e;border:0}th:first-child{border-radius:0 10px 10px 0}th:last-child{border-radius:10px 0 0 10px}
td{border-bottom:1px solid #eef0f8}
input,select,textarea{border:1px solid #d4d9ec;border-radius:10px;background:#f6f6f8}
.chip{border-radius:999px;padding:3px 12px;background:#dde3f5;color:#3d52a0}
.chip.ok{background:#cfeedd;color:#1f7a45}.chip.bad{background:#fbd4d4;color:#b42323}.chip.warn{background:#fdecc0;color:#8a5f00}
/* drawer (phones) and sidebar (desktop) */
.bottom{background:#2c3c7d;border-radius:24px;bottom:16px}
.bottom a{color:#c9d2f5}.bottom a.on{background:#fff;color:#3d52a0}
.bottom a svg,.side a svg{width:22px;height:22px}
body.v-desktop #frame{padding:0;display:block}
body.v-desktop .top{border-radius:0 0 0 0;top:0;background:#3d52a0;color:#fff}
body.v-desktop .top .brand{color:#fff}
body.v-desktop .layout{background:#3d52a0;border-radius:0;grid-template-columns:240px 1fr}
body.v-desktop .side{background:#3d52a0;border:0;padding:16px 0 16px 14px}
body.v-desktop .side a{color:#fff;border-radius:0 26px 26px 0;padding:12px 16px;margin-bottom:4px}
body.v-desktop .side a.on,body.v-desktop .side a:hover{background:#f6f6f8;color:#3d52a0;border-radius:26px 0 0 26px;margin-right:-0px}
body.v-desktop main{border-radius:28px;margin:10px 0 10px 10px}
.tile3{display:block;background:#fff;border-radius:18px;box-shadow:0 3px 10px rgba(40,50,110,.14);text-align:center;padding:16px;margin-bottom:14px;color:#3d52a0;font-weight:700}
.tile3 svg{width:96px;height:96px;display:block;margin:12px auto 4px;color:#3d52a0}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-inline-end:6px;vertical-align:middle}
.filters{display:flex;gap:8px;flex-wrap:wrap}.filters>*{flex:1;min-width:120px}
body.v-mobile table.rt.sd tr{background:#fff;border:0;box-shadow:0 1px 5px rgba(40,50,110,.12);display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}
body.v-mobile table.rt.sd td[data-l="#"],body.v-mobile table.rt.sd td[data-l="التكلفة"]{display:none}
body.v-mobile table.rt.sd td[data-l="الجلسة"]{grid-column:1/3;font-weight:700;color:#1c2a5e}
body.v-mobile table.rt.sd td[data-l="الحالة"]{grid-column:1/3;align-items:center}
table.rt.sd select{width:auto;border-radius:999px}
