/* MWF Cairo - global responsive visual system */
:root{--mwf:#5b4ff7;--mwf-dark:#111827;--mwf-bg:#f4f7fb;--mwf-line:#e3e8f1;--mwf-muted:#77839a;--mwf-card:#fff;--mwf-soft:#f0efff}
html{direction:rtl}body{background:var(--mwf-bg);overflow-x:hidden}.page{max-width:1600px;margin:auto}.section-head{gap:16px;flex-wrap:wrap}.section-head>div:first-child{min-width:0}.section-head h2{font-size:clamp(20px,2vw,28px);line-height:1.35}.small-muted{font-size:11px;line-height:1.7}.panel{box-shadow:0 8px 30px rgba(17,24,39,.035)}
/* header */
.topbar{gap:18px}.site-mini-logo{width:42px;height:42px;border-radius:12px;object-fit:contain;background:#f0efff;padding:4px}.topbar-title{display:flex;align-items:center;gap:11px}.topbar-title>b{display:block;font-size:15px}.user-menu{flex-wrap:wrap}
/* sidebar logo */
.brand{display:flex;align-items:center;gap:11px;padding:4px 8px 22px}.brand-logo{width:48px;height:48px;object-fit:contain;border-radius:13px;background:#fff;padding:4px;flex:0 0 auto}.brand-copy{min-width:0}.brand .txt{font-size:16px!important;line-height:1.45;display:block}.brand small{font-size:9px!important}.sidebar .nav-link{min-height:44px;display:flex;align-items:center;gap:9px;margin-bottom:4px}
/* unified segmented controls - fixes concatenated links */
.view-switch,.account-tabs,.calendar-move{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;width:auto!important}.view-switch a,.account-tabs a,.calendar-move a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 14px!important;border:1px solid #dde3ed!important;border-radius:12px!important;background:#fff!important;color:#4e5a72!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important;white-space:nowrap!important}.view-switch a:hover,.account-tabs a:hover,.calendar-move a:hover{border-color:#b8b2ff!important;background:#f7f6ff!important;color:#4d42d4!important}.view-switch a.active,.account-tabs a.active{background:var(--mwf)!important;color:#fff!important;border-color:var(--mwf)!important}.calendar-move .today-btn{background:var(--mwf-dark)!important;color:#fff!important;border-color:var(--mwf-dark)!important}.account-tabs b{margin-inline-start:6px;margin-inline-end:0!important;min-width:22px;height:22px;border-radius:7px;display:inline-grid;place-items:center;background:#eeecff;color:#5144d9}.account-tabs a.active b{background:rgba(255,255,255,.18);color:#fff}
/* buttons */
.btn{font-weight:700}.btn-primary{box-shadow:0 6px 16px rgba(91,79,247,.16)}
/* mobile */
@media(max-width:900px){.sidebar{width:72px}.content{margin-right:72px}.brand{justify-content:center;padding-inline:0}.brand-logo{width:42px;height:42px}.brand-copy{display:none}.topbar{padding:0 14px}.page{padding:16px}.topbar-title .small-muted{display:none}}
@media(max-width:600px){.topbar{height:auto;min-height:68px;padding-block:9px}.user-menu>div{display:none}.section-head{align-items:flex-start}.view-switch,.account-tabs,.calendar-move{width:100%!important}.view-switch a,.account-tabs a,.calendar-move a{flex:1 1 auto}.page{padding:13px}}
