.topbar .topbar-brand .brand-wordmark{width:124px;height:53px}
.diwan-signature h1 .diwan-wordmark{width:238px;height:100px}
.topbar .topbar-tools{gap:11px;flex-shrink:0}
.topbar .user-wrap{padding-right:12px}
.topbar-start{flex-shrink:0}
.topbar .header-tool{width:37px;height:37px;border:1px solid #c7dfcf;background:#ffffff70;color:#4c7c5e;border-radius:10px;position:relative;flex-shrink:0}
.topbar .header-tool:hover,.topbar .header-tool[aria-expanded="true"]{background:#d6ecde;border-color:#b6d5c1;color:#2e7d5b}
.topbar .header-tool>.icon{width:20px;height:20px}
.global-search-wrap{position:relative;flex:1;min-width:160px;max-width:430px;margin-inline:auto}
.global-search-field{position:relative}
.global-search-field>.icon{position:absolute;right:13px;top:11px;width:18px;height:18px;color:#82a18d;pointer-events:none}
.global-search-field>input{width:100%;height:41px;padding:8px 39px 8px 12px;border:1px solid #cfe1d5;background:#ffffffa8;border-radius:10px;color:#365c43;font-size:.875rem;outline-offset:1px}
.global-search-field>input::placeholder{color:#8ca796;font-size:.8125rem}
.global-search-field>input:focus{border-color:#8fbea0;box-shadow:0 0 0 3px #bde2cc40;outline:0;background:#fff}
.global-search-results{position:absolute;top:calc(100% + 9px);inset-inline:0;min-width:280px;background:#fff;border:1px solid #dce9df;border-radius:13px;box-shadow:0 15px 40px #153c2720;max-height:375px;overflow:auto;padding:6px;z-index:80}
.global-search-results[hidden],.notifications-panel[hidden],.notifications-badge[hidden]{display:none!important}
.global-search-results>[role="option"]{display:flex;align-items:center;gap:11px;padding:11px 12px;width:100%;text-align:right;border-radius:8px;transition:background .12s}
.global-search-results>[role="option"]:hover,.global-search-results>[role="option"].selected{background:#edf7f0}
.search-result-avatar{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;background:#e8f4ec;color:#518864;border-radius:10px;font-size:.875rem}
.global-search-results strong{display:block;font-size:.875rem;font-weight:650;color:#345940;line-height:1.7}
.global-search-results small{display:block;font-family:Outfit,Cairo,sans-serif;font-size:.8125rem;color:#8da293;margin-top:1px}
.search-empty{padding:22px 14px;font-size:.875rem;color:#91a497;text-align:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.notifications-wrap{position:relative}
.notifications-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:#2e7d5b;color:#fff;font:600 .6875rem Outfit,sans-serif;border:2px solid #e4f2e9;border-radius:10px;line-height:1}
.notifications-panel{position:absolute;top:calc(100% + 15px);left:0;width:385px;max-width:calc(100vw - 28px);background:#fff;border:1px solid #dce9df;border-radius:16px;box-shadow:0 17px 44px #153c2723;z-index:80;overflow:hidden}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #e8f0ea}
.notifications-heading h2{font-size:1rem;line-height:1.5}
.notifications-heading>div>span{display:block;font-size:.75rem;color:#94a69a;margin-top:4px}
.notifications-list{max-height:390px;overflow:auto;overscroll-behavior:contain}
.notification-item{display:flex;align-items:flex-start;gap:11px;padding:14px 18px;width:100%;text-align:right;border-bottom:1px solid #edf3ee;background:#fff}
.notification-item:last-child{border-bottom:0}
.notification-item:hover{background:#f6fbf7}
.notification-item.unread{background:#f0f8f2}
.notification-item.unread:hover{background:#e9f5ed}
.notification-item>span:nth-child(2){flex:1;min-width:0}
.notification-icon{height:31px;width:31px;flex-shrink:0;border-radius:9px;background:#e4f1e8;color:#6b9d7d;display:grid;place-items:center;margin-top:3px}
.notification-icon .icon{width:16px;height:16px}
.notification-item strong{font-size:.8125rem;font-weight:650;color:#456c52;line-height:1.9;display:block;overflow-wrap:anywhere}
.notification-item small{font-size:.75rem;color:#869d8e;line-height:1.8;display:block;margin:3px 0}
.notification-item time{font-size:.6875rem;color:#a1b0a5;display:block}
.unread-dot{height:6px;width:6px;flex-shrink:0;border-radius:50%;background:#66b584;margin-top:13px}
.notifications-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 18px;border-top:1px solid #e8f0ea;background:#fbfdfb;font-size:.75rem;color:#9aad9f}
.notifications-footer button{font-size:.75rem;color:#55916b;padding:3px 0}
.notifications-footer button:hover{text-decoration:underline}
.notifications-empty{padding:34px 20px;text-align:center;color:#94ab9c}
.notifications-empty>.icon{width:31px;height:31px;color:#9abea6}
.notifications-empty p{font-size:.875rem;margin-top:10px}
.notifications-empty small{font-size:.75rem;display:block;line-height:1.9;margin-top:5px}
.notification-settings-form{padding:0 24px 25px}
.notification-options{border-top:1px solid var(--border)}
.notification-setting{display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid var(--border);padding:16px 0;cursor:pointer}
.notification-setting>span{flex:1}
.notification-setting strong{font-size:.875rem;font-weight:650;display:block;color:#55795f}
.notification-setting small{display:block;font-size:.75rem;color:#95a69a;margin-top:4px;line-height:1.9}
.notification-setting input[type="checkbox"]{appearance:none;width:37px;height:22px;background:#dbe8df;border:1px solid #ccdcd1;border-radius:12px;flex-shrink:0;cursor:pointer;position:relative;transition:background .16s}
.notification-setting input[type="checkbox"]:after{content:'';position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #174d381a;transition:transform .16s}
.notification-setting input[type="checkbox"]:checked{background:#428b62;border-color:#428b62}
.notification-setting input[type="checkbox"]:checked:after{transform:translateX(-15px)}
.notification-thresholds{margin-top:24px;gap:20px}
.notification-settings-form>.btn{margin-top:21px}
.notification-settings-form .field-hint{font-size:.75rem;line-height:1.9}
@media(max-width:1200px){.topbar .date-pill{display:none}.global-search-wrap{max-width:390px}.app-shell>.topbar{gap:16px}}
@media(max-width:900px){.topbar-start{gap:10px}.topbar .topbar-brand .brand-wordmark{width:112px;height:49px}.topbar .topbar-tools{gap:8px}.topbar .user-wrap{padding-right:7px}.global-search-field>input::placeholder{font-size:.75rem}.global-search-wrap{min-width:145px}}
@media(max-width:760px){:root{--topbar-height:112px}.app-shell>.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px 38px;row-gap:6px;column-gap:10px;padding:10px 16px}.topbar-start{grid-column:1;grid-row:1;gap:12px}.topbar .topbar-tools{grid-column:2;grid-row:1;gap:8px}.global-search-wrap{grid-column:1/-1;grid-row:2;max-width:none;width:100%;min-width:0;margin:0}.global-search-field>input{height:38px;font-size:.875rem;padding-right:37px}.global-search-field>input::placeholder{font-size:.8125rem}.global-search-field>.icon{top:10px;right:12px;width:17px;height:17px}.topbar .header-tool{width:34px;height:34px;border-radius:9px}.topbar .user-wrap{padding:0;border:0}.topbar .topbar-brand .brand-wordmark{width:112px;height:48px}.global-search-results{min-width:0;max-height:min(350px,calc(100dvh - 135px));top:calc(100% + 8px)}.notifications-panel{position:fixed;top:calc(var(--topbar-height) + 8px);left:14px;right:14px;width:auto;max-width:none}.notifications-list{max-height:min(380px,calc(100dvh - 270px))}.diwan-signature h1 .diwan-wordmark{width:218px;height:94px}}
@media(max-width:520px){.app-shell>.topbar{padding-inline:14px}.topbar-start{gap:10px}.topbar .topbar-tools{gap:6px}.topbar .header-tool{width:32px;height:32px}.topbar .header-tool>.icon{width:18px;height:18px}.topbar .user-button .avatar{width:31px;height:31px}.topbar .topbar-brand .brand-wordmark{width:105px;height:46px}.notification-settings-form{padding:0 14px 22px}.notification-setting{padding-block:14px;gap:15px}.notification-thresholds{gap:18px}.notifications-heading{padding:15px 16px 12px}.notification-item{padding:13px 15px}.notifications-footer{padding-inline:15px}.diwan-signature h1 .diwan-wordmark{width:210px;height:90px}}
@media(prefers-reduced-motion:reduce){.notification-setting input[type="checkbox"],.notification-setting input[type="checkbox"]:after,.global-search-results>[role="option"]{transition:none}}
@media print{.global-search-results,.notifications-panel{display:none!important}}
.topbar .topbar-start{flex-shrink:1;min-width:0;max-width:48%}
.topbar-association{display:flex;align-items:center;min-width:0;max-width:260px;padding-inline-start:16px;border-inline-start:1px solid #9dbfa9;color:#2c5741}
.topbar-association strong{font-size:.9375rem;font-weight:700;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media screen{html[data-theme="dark"] .topbar-association{border-color:#456e52;color:#c8e2d1}}
@media(max-width:1100px){.topbar-association{max-width:180px;padding-inline-start:12px}.topbar-association strong{font-size:.8125rem}}
@media(max-width:760px){.topbar .topbar-start{max-width:none;gap:9px}.topbar-association{max-width:200px;padding-inline-start:10px}.topbar-association strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:1.6;overflow-wrap:anywhere;font-size:.75rem}}
@media(max-width:520px){.topbar .topbar-start{gap:7px}.topbar .topbar-brand .brand-wordmark{width:90px;height:41px}.topbar-association{padding-inline-start:8px}.topbar-association strong{font-size:.6875rem;line-height:1.7}}
@media(max-width:360px){.topbar .topbar-brand .brand-wordmark{width:76px;height:36px}.topbar .topbar-start{gap:5px}.topbar-association{padding-inline-start:6px}}
