/* Readable Arabic/English text; respects browser zoom and dark navigation contrast. */
:root{--muted:#202124}body{font-size:17px;line-height:1.85;color:#202124}input,select,textarea,button{font-size:16px}p,small,.muted,.meta,.eyebrow,.page-title p,.control-heading p,.control-help p,.control-form p,.control-ticket p,.control-member-panel p,.control-version,.nav-label,.profile small,.brand span,.home-footer,.policy-section p{color:#202124!important}input::placeholder,textarea::placeholder{color:#343434;opacity:1}.sidebar nav a span,.admin-sidebar nav a,.admin-sidebar nav a span{font-size:16px!important}.admin-sidebar .brand,.admin-sidebar .brand span,.admin-sidebar .nav-label,.admin-sidebar nav a,.admin-sidebar nav a span,.admin-sidebar small,.admin-sidebar .profile,.admin-sidebar .profile strong,.admin-sidebar .profile small{color:white!important}.language-switch,.language-switch a{font-size:16px!important}small{font-size:16px}.time-chips{flex-wrap:wrap}.workspace>header{height:auto;min-height:82px;gap:12px;padding-block:14px;flex-wrap:wrap}.workspace>header>div{flex-wrap:wrap;max-width:100%}#notify strong,#notify small,#notify-action{font-size:16px}#notify{max-width:100%;flex-wrap:wrap}#notify>span{min-width:0}.control-heading{flex-wrap:wrap}.control-heading h1{overflow-wrap:anywhere}.control-form .primary{min-height:48px}.home-footer,.policy-links{flex-wrap:wrap}main{min-width:0}td,th{overflow-wrap:anywhere}button,a{line-height:1.65}
@media(max-width:760px){.workspace>header{padding:14px 16px;gap:14px}.workspace>header>div{width:100%;justify-content:space-between}.content{padding:24px 16px}.time-chips button{flex:1 1 140px}.quick-tabs{flex-wrap:wrap}.quick-tabs button{min-height:44px}.page-title,.section-title{gap:12px;flex-wrap:wrap}.sidebar nav a,.sidebar nav a span{font-size:16px!important}.auth-box{max-width:100%}.auth-box .form-card{padding:24px 20px}.home-header nav a{font-size:16px!important}.home-header .brand span{font-size:16px}.control-heading .control-back{white-space:normal}.control-permissions table{min-width:600px}}

body main p,body main small,body main label,body main input,body main select,body main textarea,body main button,body footer,body header,body .meta,body .eyebrow,body .nav-label{font-size:16px!important}body main p,body main small,body main label,body main td,body main th,body main .meta,body main .muted{color:#202124!important}

body main code{display:inline-block;max-width:100%;overflow-wrap:anywhere;white-space:normal;vertical-align:middle;font-size:16px!important}body main pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px!important}

/* Keep every personal navigation destination visible on narrow screens. */
@media(max-width:760px){.sidebar:not(.admin-sidebar) nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:8px;margin-top:18px}.sidebar:not(.admin-sidebar) nav a{min-width:0;white-space:normal;overflow-wrap:anywhere;justify-content:center;text-align:center;border:1px solid #eee5f4;min-height:48px;padding:10px 8px}.sidebar:not(.admin-sidebar) nav a.active{border-color:#cdb5df;background:#f1ebf7}.sidebar:not(.admin-sidebar) nav a span{min-width:0}.sidebar:not(.admin-sidebar) nav svg{flex:0 0 20px;width:20px;height:20px;display:block}}

.personal-menu-toggle{display:none}
@media(max-width:760px){
.sidebar:not(.admin-sidebar){display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 16px;gap:12px;border-bottom:1px solid #eee8f3}
.sidebar:not(.admin-sidebar) .brand{justify-content:flex-start;gap:8px}.sidebar:not(.admin-sidebar) .brand b{font-size:23px}.sidebar:not(.admin-sidebar) .brand img{width:36px;height:40px}.sidebar:not(.admin-sidebar) .brand span{font-size:16px;line-height:1.5}
.personal-menu-toggle{display:flex;align-items:center;gap:7px;min-height:46px;padding:8px 12px;border:1px solid #dfd1e9;border-radius:12px;background:#faf7fd;color:#573477;font-weight:700;font-size:16px}
.sidebar:not(.admin-sidebar) nav{flex-basis:100%;margin:0}.sidebar.personal-nav-ready:not(.menu-open) nav{display:none}.sidebar.menu-open .personal-menu-toggle{background:#714597;color:white;border-color:#714597}
.sidebar:not(.admin-sidebar)~.workspace>header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:14px 16px;background:white;min-height:0}
.sidebar:not(.admin-sidebar)~.workspace>header>span{display:none}.sidebar:not(.admin-sidebar)~.workspace>header .language-switch{width:auto!important;max-width:100%;justify-content:flex-start!important;gap:5px!important;grid-column:1;grid-row:1;flex-wrap:nowrap}.sidebar:not(.admin-sidebar)~.workspace>header .language-switch a{padding:6px 9px;min-height:44px}
.sidebar:not(.admin-sidebar)~.workspace>header .header-logout{grid-column:2;grid-row:1;margin:0}.sidebar:not(.admin-sidebar)~.workspace>header .logout-button{padding:8px 10px;gap:5px}
.sidebar:not(.admin-sidebar)~.workspace>header .notification-control{grid-column:1/-1;grid-row:2;font-size:0!important;width:100%;margin:0}.sidebar:not(.admin-sidebar)~.workspace>header .status-dot{display:none}
.sidebar:not(.admin-sidebar)~.workspace #notify{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:100%;gap:12px;padding:10px 12px;min-height:64px;border:1px solid #e6d9ef;border-radius:14px;background:#faf7fd;box-shadow:none}
.sidebar:not(.admin-sidebar)~.workspace #notify>svg{width:22px;height:22px;flex-shrink:0}.sidebar:not(.admin-sidebar)~.workspace #notify>span:first-of-type{display:flex;align-items:flex-start;flex-direction:column;gap:0;line-height:1.6;text-align:start}.sidebar:not(.admin-sidebar)~.workspace #notify strong{font-weight:700}.sidebar:not(.admin-sidebar)~.workspace #notify small{font-weight:400;color:#202124}.sidebar:not(.admin-sidebar)~.workspace #notify-action{margin-inline-start:auto;border-inline-start:1px solid #dfd1e9;padding-inline-start:12px;line-height:1.5;max-width:90px;color:#573477}
.sidebar:not(.admin-sidebar)~.workspace .content{padding-top:22px}.sidebar:not(.admin-sidebar)~.workspace .page-title{margin-bottom:18px;align-items:center}.sidebar:not(.admin-sidebar)~.workspace .page-title h1{font-size:22px;line-height:1.6}.sidebar:not(.admin-sidebar)~.workspace .page-title p{margin-top:2px;line-height:1.6}.sidebar:not(.admin-sidebar)~.workspace .quick-capture{border-radius:16px;padding:16px;box-shadow:0 4px 18px #35234906}.sidebar:not(.admin-sidebar)~.workspace .time-chips{gap:8px;margin-top:12px}.sidebar:not(.admin-sidebar)~.workspace .time-chips button{padding:9px 8px;min-height:46px;line-height:1.6;border-radius:9px}
}

.personal-menu-account{display:grid;gap:14px;padding:18px 0 4px;border-top:1px solid #e7dced;margin-top:12px}.personal-menu-account .language-switch{width:auto!important;justify-content:flex-start!important;gap:6px!important}.personal-logout{margin:0}.personal-logout .logout-button{width:100%;font-size:16px}.sidebar:not(.admin-sidebar) nav svg{flex:0 0 20px;width:20px;height:20px}.reminder-device-setting{margin:20px 0;padding:14px;border:1px solid #e8dfef;border-radius:12px;background:#faf7fd}.reminder-device-setting .notification-control{font-size:0}.reminder-device-setting .status-dot{display:none}.reminder-device-setting #notify{width:100%;display:flex;flex-wrap:nowrap;gap:10px;align-items:center;padding:10px;background:white;border:1px solid #dfcfea;border-radius:10px;min-height:64px}.reminder-device-setting #notify>span:first-of-type{display:flex;flex-direction:column;align-items:flex-start;line-height:1.6}.reminder-device-setting #notify-action{margin-inline-start:auto;font-size:16px;color:#573477}.reminder-device-setting #notify svg{flex:0 0 22px}.reminder-device-setting #notify strong,.reminder-device-setting #notify small{font-size:16px}.reminder-device-setting #notify small{color:#202124}.sidebar:not(.admin-sidebar)~.workspace .reminders .section-title p{display:none}
@media(max-width:760px){.personal-menu-account{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-top:12px}.personal-menu-account .language-switch{flex-wrap:nowrap}.personal-menu-account .logout-button{font-size:16px!important}.sidebar:not(.admin-sidebar)~.workspace .content{padding-top:20px}.sidebar:not(.admin-sidebar)~.workspace .quick-capture{margin-bottom:16px}.sidebar:not(.admin-sidebar)~.workspace .quick-tabs{margin-bottom:14px}.sidebar:not(.admin-sidebar)~.workspace .reminders>.filters{gap:6px;padding:12px 0;overflow:auto;flex-wrap:nowrap}.sidebar:not(.admin-sidebar)~.workspace .filters button{white-space:nowrap;padding:7px 10px}.sidebar:not(.admin-sidebar)~.workspace .page-title .primary{min-height:48px}.reminder-device-setting #notify-action{max-width:90px;white-space:normal}}

@media(max-width:760px){.sidebar:not(.admin-sidebar)~.workspace .reminders>.filters{flex-wrap:wrap;overflow:visible}.sidebar:not(.admin-sidebar) .personal-menu-account{flex-wrap:wrap}.sidebar:not(.admin-sidebar) .personal-menu-account .language-switch{flex-wrap:wrap;gap:6px!important}.sidebar:not(.admin-sidebar) .personal-menu-account .language-switch a{padding:7px 9px;min-height:44px}.sidebar:not(.admin-sidebar) .brand{min-width:0;max-width:calc(100% - 100px)}.sidebar:not(.admin-sidebar) .brand b{font-size:21px}.sidebar:not(.admin-sidebar) .brand span{font-size:16px}.sidebar:not(.admin-sidebar) .brand img{width:32px;height:36px}.sidebar:not(.admin-sidebar)~.workspace .page-title{flex-wrap:nowrap;gap:8px}.sidebar:not(.admin-sidebar)~.workspace .page-title h1{font-size:20px}.sidebar:not(.admin-sidebar)~.workspace .page-title .primary{padding:10px;gap:5px;white-space:normal;flex-shrink:0;max-width:52%}.sidebar:not(.admin-sidebar)~.workspace .time-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar:not(.admin-sidebar)~.workspace .time-chips button{min-width:0;overflow-wrap:anywhere}.sidebar:not(.admin-sidebar)~.workspace .quick-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.sidebar:not(.admin-sidebar)~.workspace .quick-tabs button{min-width:0;overflow-wrap:anywhere;padding-inline:4px}}

@media(max-width:360px){html[dir=ltr] .sidebar:not(.admin-sidebar)~.workspace .quick-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}html[dir=ltr] .sidebar:not(.admin-sidebar)~.workspace .quick-tabs button{overflow-wrap:normal;word-break:normal;white-space:nowrap}}
