@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--navy:#17243b;--navy2:#202f4c;--teal:#19a99a;--ink:#1d2939;--muted:#7c8798;--line:#e7ebf1;--surface:#fff;--bg:#f5f7fb}*{box-sizing:border-box}body{font-family:'Cairo',Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}.app-shell{min-height:100vh}.sidebar{width:252px;position:fixed;inset:0 0 0 auto;background:linear-gradient(180deg,var(--navy),#101a2d);color:#fff;padding:25px 16px 18px;display:flex;flex-direction:column;z-index:10}.brand,.login-brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;padding:0 9px 29px}.brand-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#27c7b3,#168e9e);font-size:23px;box-shadow:0 7px 20px #0d948855}.brand b{display:block;font-size:18px}.brand small{font-size:9px;letter-spacing:1.5px;color:#aebdd1}.side-label{font-size:10px;letter-spacing:.5px;color:#8fa0b8;padding:0 12px 10px;margin-top:3px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;color:#bdc9d9;padding:12px 13px;border-radius:11px;text-decoration:none;font-weight:600;transition:.15s}.nav-link i{font-size:18px}.nav-link:hover,.nav-link.active{background:#ffffff12;color:white}.nav-link.active{box-shadow:inset -3px 0 var(--teal);background:linear-gradient(90deg,#ffffff09,#ffffff14)}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1a;padding-top:18px}.user-chip{display:flex;align-items:center;gap:10px;padding:5px 4px 15px}.avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;background:#d5f5ef;color:#117c74;font-weight:800;width:37px;height:37px}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:12px}.user-chip small{color:#9eacc0;font-size:11px}.logout{color:#b5c2d4;text-decoration:none;display:block;padding:9px 6px}.main-area{margin-right:252px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:104px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:20px 34px}.topbar h1{font-size:23px;font-weight:800;margin:4px 0 0}.eyebrow{font-size:11px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:18px}.today{color:#68778b;font-size:12px}.top-avatar{width:42px;height:42px}.page-content{padding:27px 32px;flex:1}.app-footer{padding:15px 32px;color:#98a2b3;font-size:11px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.welcome-banner{min-height:205px;background:linear-gradient(110deg,#17243b,#263e5b 65%,#145e68);border-radius:19px;color:#fff;padding:27px 31px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;margin-bottom:23px}.welcome-banner h2{font-size:25px;font-weight:800;margin:13px 0 8px}.welcome-banner p{color:#c4d2e0;margin-bottom:19px}.pill{display:inline-block;border:1px solid #ffffff42;border-radius:30px;padding:5px 10px;font-size:9px;letter-spacing:1.3px;color:#c8fff5}.welcome-art{position:relative;width:220px;height:150px;display:grid;place-items:center;color:#52d6c7;font-size:75px;opacity:.95}.welcome-art span{position:absolute;width:100px;height:100px;border:1px solid #ffffff27;border-radius:25px;transform:rotate(30deg)}.welcome-art span:nth-child(2){width:140px;height:140px;transform:rotate(50deg)}.welcome-art span:nth-child(3){width:180px;height:180px;transform:rotate(15deg)}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat-card,.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 3px 12px #16243b04}.stat-card{padding:18px 19px;min-height:135px}.stat-icon{width:39px;height:39px;display:grid;place-items:center;background:#eaf8f6;color:#159d90;border-radius:12px;font-size:19px;margin-bottom:13px}.stat-label{font-size:12px;color:#758195}.stat-value{font-size:27px;font-weight:800;margin-top:2px}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px}.panel{overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid #eff1f5}.panel-head h3{font-size:15px;font-weight:800;margin:0 0 5px}.panel-head p{font-size:11px;color:var(--muted);margin:0}.panel-head>a{font-size:12px;text-decoration:none;color:#168d83}.table{margin:0;font-size:12px;white-space:nowrap}.table thead th{font-size:10px;color:#8792a2;font-weight:700;background:#fbfcfe;border-bottom:1px solid var(--line);padding:13px 16px}.table tbody td{padding:14px 16px;border-color:#f0f2f6;color:#4c596b}.table tbody td b{color:#253247}.muted{color:var(--muted)!important}.status-list{padding:17px 22px}.status-row{display:grid;grid-template-columns:1fr 25px;gap:9px;font-size:12px;margin-bottom:18px}.status-row>b{text-align:left}.status-track{grid-column:1/3;background:#eef1f5;border-radius:9px;height:5px;overflow:hidden}.status-track span{display:block;background:var(--teal);height:100%;border-radius:9px}.status-badge{display:inline-block;border-radius:7px;padding:5px 8px;background:#f0f2f5;color:#5f6c7d;font-size:10px;font-weight:700;white-space:nowrap}.status-badge.green{background:#e2f7ed;color:#168258}.status-badge.blue{background:#e6f1ff;color:#2866b4}.status-badge.orange{background:#fff0db;color:#a76108}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.search-form{display:flex;align-items:center;gap:9px;background:white;border:1px solid var(--line);padding:5px 9px;border-radius:10px;min-width:min(100%,390px)}.search-form i{color:#8d98a8}.search-form input{border:0;outline:0;flex:1;min-width:80px;font-size:12px}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{border-radius:9px;font-size:12px;font-weight:700;padding:10px 14px}.btn-primary{background:#177f7a;border-color:#177f7a}.btn-primary:hover{background:#116c68;border-color:#116c68}.data-table{min-width:900px}.row-id{color:#a1aab8!important;font-size:11px}.actions{display:flex;gap:5px}.icon-btn{border:1px solid #e8ecf2;background:#fff;color:#526176;width:31px;height:31px;display:grid;place-items:center;border-radius:8px;text-decoration:none}.icon-btn:hover{background:#edf8f7;color:#11857c}.icon-btn.danger:hover{background:#fff0f0;color:#c03939}.inline-form{display:inline}.empty-state{padding:36px 15px!important;text-align:center;color:#98a2b3!important}.empty-state i,.empty-state b,.empty-state span{display:block}.empty-state i{font-size:27px;margin-bottom:7px}.empty-state b{color:#5e6b7c;margin-bottom:5px}.form-wrap{max-width:1000px;margin:auto}.record-form{padding:23px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}.field.full{grid-column:1/-1}.form-label{font-size:12px;font-weight:700;color:#526075;margin-bottom:8px}.form-control,.form-select{border-color:#e0e6ee;border-radius:9px;min-height:43px;font-size:12px;padding:10px 12px}.form-control:focus,.form-select:focus{border-color:#6ccbc1;box-shadow:0 0 0 3px #1eaa9c16}.required{color:#e05252}.form-actions{display:flex;justify-content:flex-start;gap:9px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.calendar-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.calendar-toolbar h2{font-size:18px;font-weight:800;margin:0 auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.calendar-day-head{padding:13px 4px;text-align:center;background:#fafbfd;border-bottom:1px solid var(--line);font-size:11px;font-weight:800;color:#6f7d90}.calendar-cell{min-height:120px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;min-width:0}.calendar-date{font-size:12px;font-weight:800;color:#526075;display:block;margin-bottom:6px}.muted-cell{background:#fafbfd}.calendar-event{display:block;background:#e8f7f5;border-right:3px solid #18a99a;border-radius:5px;padding:5px 6px;margin-bottom:5px;text-decoration:none;color:#176d68;overflow:hidden}.calendar-event b,.calendar-event small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-event b{font-size:10px}.calendar-event small{font-size:9px;opacity:.8}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 15% 20%,#d7f3ee 0,transparent 28%),radial-gradient(circle at 90% 80%,#dce6f7 0,transparent 30%),#f5f7fb}.login-card{width:min(100%,440px);background:white;border:1px solid #e8edf3;border-radius:20px;padding:32px;box-shadow:0 18px 70px #1b2b4510}.login-brand{color:var(--ink);padding:0 0 25px}.login-brand h1{font-size:23px;font-weight:800;margin:0}.login-brand p{font-size:9px;letter-spacing:1px;color:#8692a3;margin:4px 0 0}.login-card h2{font-size:21px;font-weight:800}.login-card .muted{font-size:12px;margin-bottom:22px}.login-foot{font-size:10px;color:#9aa4b2;border-top:1px solid var(--line);padding-top:15px;margin-top:22px}.install-card{width:min(100%,560px)}.install-card h5{font-weight:800;font-size:14px;margin:15px 0}.alert{font-size:12px;border-radius:10px}
@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{width:72px;padding:18px 8px}.brand{justify-content:center;padding:0 0 25px}.brand>span:last-child,.side-label,.nav-link span,.user-chip>div,.logout{display:none}.nav-link{justify-content:center;padding:13px 0}.nav-link i{font-size:20px}.user-chip{justify-content:center}.main-area{margin-right:72px}.topbar{height:auto;padding:18px 17px}.topbar h1{font-size:18px}.today{display:none}.page-content{padding:18px 12px}.welcome-banner{padding:22px}.welcome-banner h2{font-size:19px}.welcome-art{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px;min-height:115px}.stat-value{font-size:23px}.toolbar{align-items:stretch}.search-form{min-width:100%}.toolbar-actions{justify-content:space-between}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.calendar-grid{overflow-x:auto;grid-template-columns:repeat(7,minmax(100px,1fr))}.calendar-cell{min-height:95px;padding:5px}.calendar-toolbar{flex-wrap:wrap}.calendar-toolbar h2{order:-1;width:100%;text-align:center}.app-footer{padding:12px;gap:10px;flex-wrap:wrap}}
/* Occasion calendar highlights and sales CRM */
.calendar-cell.occasion-day{background:#fffaf0;border-top:3px solid #e8a23b;}
.calendar-cell.occasion-day .calendar-date{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:50%;background:#f4d59a;color:#62410c;font-weight:800;}
.calendar-occasion{display:block;font-size:10px;line-height:1.5;padding:5px 6px;margin-top:5px;border-radius:6px;overflow-wrap:anywhere;font-weight:700;}
.calendar-occasion i{font-size:9px;margin-left:2px;}
.occasion-high{background:#fde8e7;color:#9b2521;border-right:3px solid #d94c46;}
.occasion-medium{background:#fff0d2;color:#85530a;border-right:3px solid #e6a23b;}
.occasion-low{background:#eaf0ff;color:#3453a3;border-right:3px solid #7995e8;}
.sales-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:22px;border-radius:16px;background:linear-gradient(120deg,#17243b,#285563);color:#fff;}
.sales-intro h2{font-size:21px;font-weight:800;margin:0 0 7px}.sales-intro p{color:#d3e0e7;margin:0;font-size:13px}.sales-intro .btn{white-space:nowrap}
.sales-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}
.sales-status-card{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 15px;border:1px solid #e4eaf0;background:#fff;border-radius:12px;text-decoration:none;color:#4d5a6c;transition:.15s}
.sales-status-card span{font-size:12px;font-weight:700}.sales-status-card strong{font-size:22px;color:#192a40}.sales-status-card.selected{border-color:#2d7b78;box-shadow:0 0 0 2px #d9efec;background:#f3fbfa}
.sales-filters{padding:14px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;margin-bottom:18px}.sales-filter-form{display:grid;grid-template-columns:minmax(220px,2fr) minmax(170px,1fr) minmax(160px,1fr) auto auto;gap:9px}
.sales-table{font-size:12px;min-width:1120px}.sales-table th{white-space:nowrap;background:#f8fafc;color:#5d6a7b;font-size:11px}.sales-table td{vertical-align:top;max-width:230px;overflow-wrap:anywhere}.sales-table td:first-child{min-width:210px}.sales-table td:nth-child(3){min-width:145px}.sales-table td:nth-child(6){min-width:170px;line-height:1.7}
.sales-priority{display:inline-block;padding:5px 8px;border-radius:7px;font-weight:800;font-size:11px;white-space:nowrap}.priority-a{background:#fde9e7;color:#9a3027}.priority-b{background:#fff1d6;color:#8b5b0b}.priority-c{background:#edf1f6;color:#586577}.sales-state{display:inline-block;background:#eef4f7;border-radius:8px;padding:6px 8px;font-weight:700;white-space:nowrap;color:#344a5e}
@media(max-width:1050px){.sales-filter-form{grid-template-columns:1fr 1fr}.sales-filter-form input{grid-column:1/-1}.sales-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.sales-intro{align-items:flex-start;flex-direction:column}.sales-status-grid{grid-template-columns:1fr 1fr}.sales-status-card{padding:10px}.sales-status-card span{font-size:11px}.sales-filter-form{grid-template-columns:1fr}.sales-filter-form input{grid-column:auto}}
.calendar-legend{display:flex;gap:15px;flex-wrap:wrap;margin:-6px 0 15px;color:#69778a;font-size:11px}.calendar-legend span{display:flex;align-items:center;gap:6px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:3px}.legend-high{background:#d94c46}.legend-medium{background:#e6a23b}.legend-low{background:#7995e8}
/* Sales CRM: compact status tabs, company detail view and pagination */
.sales-tabs-wrap{margin:0 0 16px;background:#fff;border:1px solid #e4eaf0;border-radius:13px;padding:10px;overflow:hidden}
.sales-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:8px;padding-bottom:2px}
.sales-tab{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:11px 12px;border:1px solid #e8edf2;border-radius:9px;text-decoration:none;color:#536174;background:#f8fafc;font-size:12px;font-weight:700;transition:background .15s,border-color .15s}.sales-tab span{overflow-wrap:anywhere;line-height:1.5}
.sales-tab b{display:inline-grid;place-items:center;min-width:24px;height:23px;padding:0 6px;border-radius:7px;background:#e8edf3;color:#35445a;font-size:11px}
.sales-tab:hover{background:#edf7f6;color:#176d68}.sales-tab.active{background:#e8f7f5;border-color:#b9e5df;color:#126d66;box-shadow:inset 0 -2px #168f86}.sales-tab.active b{background:#177f7a;color:#fff}
.sales-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.sales-row-actions form{margin:0}.sales-row-actions .btn{padding:6px 8px;font-size:11px}
.sales-page-indicator{display:inline-flex;align-items:center;white-space:nowrap;background:#f1f5f9;color:#536174;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700}
.sales-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 18px;border-top:1px solid #edf0f4;background:#fcfdff}
.sales-pagination-summary{font-size:11px;color:#7a8798}.sales-page-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.sales-page-tab{display:inline-flex;align-items:center;justify-content:center;min-width:35px;height:35px;padding:0 10px;border:1px solid #e1e7ee;border-radius:8px;background:#fff;color:#4c5b70;text-decoration:none;font-size:12px;font-weight:700}
.sales-page-tab:hover{border-color:#9bd7d0;background:#f0faf8;color:#176d68}.sales-page-tab.active{border-color:#177f7a;background:#177f7a;color:#fff}.sales-page-ellipsis{padding:0 3px;color:#8a95a4}
.sales-view-actions{display:flex;gap:8px;flex-wrap:wrap}.sales-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.sales-detail-panel{min-width:0}.sales-detail-panel .panel-head{padding:16px 19px;background:#fbfcfe}.sales-detail-panel .panel-head h3{margin:0}.sales-detail-fields{display:block;padding:4px 18px 12px}.sales-detail-field{display:grid;grid-template-columns:minmax(105px,.72fr) minmax(0,1.6fr);align-items:start;gap:14px;min-width:0;padding:13px 2px;border-bottom:1px solid #eff2f5;overflow-wrap:anywhere}.sales-detail-field:last-child{border-bottom:0}.sales-detail-field span{display:block;color:#738197;font-size:12px;font-weight:700;margin:0;line-height:1.8}.sales-detail-field div{min-width:0;color:#26364c;font-size:13px;line-height:1.9;overflow-wrap:anywhere;word-break:break-word}.sales-detail-field a{color:#147e78;text-decoration:none;overflow-wrap:anywhere;word-break:break-word}.sales-detail-field a:hover{text-decoration:underline}
@media(max-width:1200px){.sales-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-detail-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sales-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-pagination{align-items:flex-start;flex-direction:column}.sales-page-tabs{width:100%}.sales-page-tab{min-width:32px;height:32px;padding:0 8px}.sales-detail-field{grid-template-columns:1fr;gap:3px;padding:11px 2px}.sales-view-actions{width:100%}.sales-view-actions .btn{flex:1;text-align:center}.sales-intro .sales-view-actions{justify-content:flex-start}}

/* Netak Plus brand assets */
.brand-icon{overflow:hidden;padding:5px;flex:0 0 44px;position:relative;width:44px;height:44px;max-width:44px;max-height:44px}.brand-logo{display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:9px}.brand-icon img{position:static!important;max-width:100%!important;max-height:100%!important}.login-brand .brand-icon{width:48px;height:48px;flex:0 0 48px;max-width:48px;max-height:48px}

/* Dashboard layout refinement: aligned metric cards and balanced panels */
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px}
.stats-grid>.stat-card{min-width:0;min-height:118px;display:flex;flex-direction:column;justify-content:space-between}
.content-grid{align-items:start;gap:18px;margin-bottom:20px}
.content-grid>.panel{min-width:0}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats-grid>.stat-card{min-height:105px;padding:13px}.content-grid{gap:12px}}

/* Netak Plus native shared-hosting edition: consistent ERP layout */
:root{--np-blue:#2563eb;--np-cyan:#13b8b0;--np-border:#dfe8f3;--np-bg:#f3f7fc;--np-ink:#102b4e}
body{background:var(--np-bg);color:var(--np-ink);font-family:'Cairo',Tahoma,Arial,sans-serif}
.sidebar{width:258px;background:linear-gradient(180deg,#14233c 0%,#101a2d 100%);padding:24px 15px 16px}
.main-area{margin-right:258px;min-width:0}
.topbar{height:94px;padding:18px 30px;box-shadow:0 2px 10px rgba(15,40,75,.025)}
.page-content{padding:24px 28px 30px;min-width:0}
.welcome-banner{border-radius:20px;padding:28px 30px;min-height:175px;background:linear-gradient(115deg,#1c3152 0%,#176b78 100%);box-shadow:0 12px 28px rgba(21,54,85,.10);overflow:hidden}
.welcome-banner h2{font-size:clamp(22px,2vw,30px);letter-spacing:-.3px}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.stat-card{min-height:124px;padding:18px 20px;border-radius:16px;border:1px solid var(--np-border);box-shadow:0 4px 16px rgba(28,56,89,.035);transition:transform .15s,box-shadow .15s}
.stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(28,56,89,.08)}
.stat-icon{width:42px;height:42px;border-radius:13px;background:#e8f8f6;color:#109b98;font-size:20px}
.stat-label{font-size:12px;font-weight:700;color:#74849b}
.stat-value{font-size:28px;font-weight:800;color:#132f51}
.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:16px;margin-bottom:18px;align-items:stretch}
.panel{min-width:0;border:1px solid var(--np-border);border-radius:17px;box-shadow:0 4px 16px rgba(28,56,89,.035);overflow:hidden}
.panel-head{padding:18px 21px;background:linear-gradient(180deg,#fff,#fcfdff);min-height:72px}
.panel-head h3{font-size:15px;font-weight:800;color:#132f51}
.panel-head p{font-size:11px;color:#8392a8}
.table{--bs-table-bg:transparent;margin-bottom:0;font-size:12px}
.table thead th{background:#f7f9fc;color:#6d7d93;font-size:11px;font-weight:800;white-space:nowrap;border-bottom-color:#e7edf5;padding:13px 14px}
.table tbody td{padding:13px 14px;border-bottom-color:#edf1f6;vertical-align:middle}
.table tbody tr:last-child td{border-bottom:0}
.toolbar{gap:12px;flex-wrap:wrap}.search-form{min-width:min(100%,340px)}
.form-control,.form-select{border-color:#dce5ef;border-radius:10px;min-height:42px;font-size:13px}
.btn{border-radius:10px;font-weight:700;font-size:12px;padding:9px 14px}
.btn-primary{background:#2563eb;border-color:#2563eb}
.status-list{padding:12px 18px 18px}
.status-row{display:grid;grid-template-columns:minmax(0,1fr) 35px;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f6;font-size:12px}
.status-row:last-child{border-bottom:0}.status-track{grid-column:1/-1;height:7px;background:#edf2f8;border-radius:99px;overflow:hidden}.status-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2563eb,#19b8ad)}
.app-footer{font-size:11px;color:#8b98aa;padding:14px 28px}
.client-wrap{max-width:1500px!important;padding:24px!important}
.client-brand{border-radius:20px!important;box-shadow:0 12px 28px rgba(21,54,85,.10);padding:25px 28px!important}
.client-grid{gap:14px!important}.client-stat,.client-panel{border-color:var(--np-border)!important;border-radius:16px!important;box-shadow:0 4px 16px rgba(28,56,89,.035)}
.client-stat{min-height:120px;padding:18px!important}.client-stat strong{font-size:27px!important;color:#123052}
.client-panel-head{padding:18px 22px!important;background:linear-gradient(180deg,#fff,#fcfdff)}
.client-panel-body{padding:20px 22px!important}
@media(max-width:1200px){.content-grid{grid-template-columns:1fr}.page-content{padding:20px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.sidebar{width:74px;padding:17px 8px}.main-area{margin-right:74px}.topbar{padding:16px}.page-content{padding:15px 12px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{min-height:106px;padding:13px}.stat-value{font-size:23px}.client-wrap{padding:12px!important}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.topbar h1{font-size:18px}.welcome-banner{padding:20px}.welcome-banner p{font-size:12px}.client-grid{grid-template-columns:1fr 1fr!important}.client-stat strong{font-size:22px!important}}
.status-donut-wrap{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:12px;align-items:center;padding:12px 18px 18px}.status-donut{height:185px;min-width:0}.status-donut .empty-state{font-size:11px}@media(max-width:600px){.status-donut-wrap{grid-template-columns:1fr}.status-donut{height:165px}}


/* Netak Plus React concept translated to native PHP UI (Hostinger Shared compatible) */
:root{--np-primary:#2563eb;--np-primary-dark:#1d4ed8;--np-bg:#f4f7fb;--np-border:#e7edf5;--np-text:#17243b;--np-muted:#74839a;--np-card:#fff;--np-teal:#16a6a0}
html{scroll-behavior:smooth}body{background:var(--np-bg);color:var(--np-text);font-family:'Cairo',Tahoma,Arial,sans-serif;font-size:13px;line-height:1.65}
.app-shell{display:flex;direction:rtl;min-height:100vh;background:var(--np-bg)}
/* Admin navigation follows the light sidebar from the selected design */
.sidebar{width:256px;flex:0 0 256px;background:#fff!important;color:#526176!important;border-left:1px solid #e6ebf2;padding:18px 13px 14px;box-shadow:2px 0 12px rgba(20,40,80,.025);overflow-y:auto}
.brand{gap:10px;padding:3px 9px 20px;margin-bottom:12px;border-bottom:1px solid #edf1f6;color:#17243b!important}.brand-icon{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:linear-gradient(135deg,#2563eb,#4f8df7)!important;box-shadow:none;font-size:18px}.brand b{font-size:16px;font-weight:850;color:#15223b}.brand small{font-size:8px;color:#8b98ac;letter-spacing:1px}.side-label{font-size:10px;font-weight:800;color:#98a4b5;padding:8px 12px 7px;letter-spacing:0}.sidebar nav{gap:3px}.nav-link{min-height:39px;gap:11px;padding:9px 12px;border-radius:11px;color:#64748b!important;font-size:12px;font-weight:700;border-right:3px solid transparent}.nav-link i{font-size:16px;color:#8a98ad}.nav-link:hover{background:#f5f8fc;color:#17243b!important}.nav-link.active{background:#2563eb!important;color:#fff!important;border-right-color:#2563eb;box-shadow:0 5px 12px rgba(37,99,235,.18)}.nav-link.active i{color:#fff}.sidebar-bottom{border-top:1px solid #e9eef5;padding-top:13px}.user-chip{padding:5px 4px 9px}.avatar,.top-avatar{background:#e7efff;color:#2563eb}.user-chip b{font-size:12px;color:#24334a}.user-chip small{color:#94a0b2}.logout{color:#d9485f!important;border-radius:9px;padding:9px 10px;font-weight:700}.logout:hover{background:#fff1f2;color:#c82f48!important}
.main-area{margin-right:0;flex:1;min-width:0;background:var(--np-bg)}.topbar{height:auto;min-height:82px;padding:17px 28px;background:#fff;border-bottom:1px solid #e6ebf2;box-shadow:none}.topbar h1{font-size:22px;font-weight:850;letter-spacing:-.3px;color:#17243b}.eyebrow{font-size:10px;color:#8c99ad;font-weight:700}.top-actions{gap:12px}.today{display:inline-flex;align-items:center;gap:7px;background:#f7f9fc;border:1px solid #e9eef5;border-radius:11px;padding:8px 11px;font-size:11px;color:#65748b}.top-avatar{width:36px;height:36px;border:2px solid #fff;box-shadow:0 0 0 1px #e3eaf4;font-size:13px}
.page-content{padding:24px 27px 30px;min-width:0}.welcome-banner{min-height:168px;padding:25px 28px;border-radius:22px;border:1px solid #dce9fb;background:linear-gradient(105deg,#eef5ff 0%,#f7faff 52%,#fff 100%);color:#17243b;box-shadow:0 4px 18px rgba(35,75,130,.035);margin-bottom:19px}.welcome-banner:after{content:"";position:absolute;inset:0 0 0 auto;width:38%;background:linear-gradient(90deg,rgba(247,250,255,0),rgba(247,250,255,.2)),url('netak-banner.jpg') center 38%/cover no-repeat;opacity:.16;pointer-events:none}.welcome-banner>div:first-child{position:relative;z-index:2;max-width:690px}.welcome-banner .pill{background:#e4efff;border:1px solid #d5e5ff;color:#356cc2;letter-spacing:.5px;font-weight:800}.welcome-banner h2{color:#16243c;font-size:25px;font-weight:900;margin:12px 0 6px}.welcome-banner p{color:#697990;font-size:12px;line-height:1.9;margin-bottom:15px}.welcome-banner .btn-light{border:1px solid #d8e5f7;color:#2459a8;font-weight:800;border-radius:11px;font-size:11px;box-shadow:0 3px 10px #1e4c8a0a}.welcome-art{z-index:1;color:#7aa8f7;opacity:.3}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}.stat-card{position:relative;min-width:0;min-height:116px;padding:17px 18px;border:1px solid #e8edf5;border-radius:19px;background:#fff;box-shadow:0 3px 12px rgba(21,43,78,.025);display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:inherit;transition:box-shadow .15s,transform .15s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(21,43,78,.07)}.stat-card>div:first-child{order:2;margin:0;width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:#edf4ff;color:#3475df;display:grid;place-items:center;font-size:20px}.stat-card .stat-label{order:1;font-size:11px;font-weight:750;color:#8491a5}.stat-card .stat-value{order:0;font-size:26px;line-height:1.3;font-weight:900;color:#182a46;margin-top:5px}.stat-card>div:not(.stat-icon){min-width:0}.stat-card .stat-icon{margin:0}.content-grid{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:17px;margin-bottom:19px;align-items:stretch}.panel{min-width:0;background:#fff;border:1px solid #e7edf5;border-radius:20px;box-shadow:0 3px 14px rgba(22,42,76,.025)}.panel-head{padding:17px 20px;border-bottom:1px solid #edf1f6;min-height:68px}.panel-head h3{font-size:14px;color:#1b2b46;font-weight:850}.panel-head p{font-size:10px;color:#8a97aa}.panel-head>a{background:#eff5ff;color:#2563eb;padding:6px 10px;border-radius:9px;font-size:10px;font-weight:800}.table-responsive{max-width:100%}.table{font-size:11px}.table thead th{background:#f8faff;color:#8592a6;font-size:10px;font-weight:850;padding:12px 13px}.table tbody td{padding:12px 13px;color:#56647a}.table tbody tr:hover td{background:#fbfdff}.table tbody td b,.table tbody td strong{color:#263750}.status-list{padding:13px 18px}.status-row{font-size:11px;margin-bottom:15px}.status-track{height:7px;background:#edf2f9}.status-track span{background:linear-gradient(90deg,#3b82f6,#22b8b0)}.status-badge{border-radius:8px;padding:5px 8px;font-size:10px;font-weight:800}.toolbar{margin-bottom:16px}.search-form{border-radius:12px;background:#fff;border-color:#e4ebf4;padding:7px 11px}.btn{border-radius:10px;font-weight:750}.btn-primary{background:#2563eb;border-color:#2563eb}.btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8}.record-form,.form-wrap>.panel{border-radius:18px}.form-control,.form-select{border-radius:10px;border-color:#e1e8f1}.app-footer{background:#fff;border-top:1px solid #e6ebf2;padding:13px 27px;color:#96a1b2}
/* tables and calendar keep their native PHP behavior */
.calendar-grid{border-radius:16px;border-color:#e4ebf4}.calendar-day-head{background:#f7f9fd;color:#73839a}.calendar-cell{min-height:110px;border-color:#edf1f6}.calendar-event{background:#eaf2ff;border-right-color:#3b82f6;color:#2459a8;border-radius:7px}
@media(max-width:1250px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-grid{grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr)}}
@media(max-width:950px){.sidebar{width:218px;flex-basis:218px}.main-area{margin-right:0}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.page-content{padding:18px}}
@media(max-width:680px){.app-shell{display:flex;flex-direction:column}.sidebar{position:relative;width:100%;height:auto;min-height:0;flex:0 0 auto;padding:12px;overflow:visible}.brand{padding:0 4px 10px;margin-bottom:8px}.side-label{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.nav-link{min-height:38px;padding:8px;font-size:10px}.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:9px}.user-chip{padding:0}.user-chip small{display:none}.logout{font-size:10px}.topbar{min-height:65px;padding:12px 14px}.topbar h1{font-size:18px}.today{font-size:9px;padding:6px}.page-content{padding:12px 10px 18px}.welcome-banner{padding:19px;min-height:145px;border-radius:17px}.welcome-banner h2{font-size:20px}.welcome-art{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{min-height:95px;padding:12px;border-radius:14px;gap:7px}.stat-card>div:first-child{width:35px;height:35px;flex-basis:35px;font-size:16px;border-radius:11px}.stat-card .stat-label{font-size:10px}.stat-card .stat-value{font-size:21px}.panel{border-radius:15px}.panel-head{padding:14px}.content-grid{gap:11px}.app-footer{padding:12px 10px}.calendar-cell{min-height:76px;padding:4px}.calendar-day-head{font-size:9px}}



/* Layout correction: reserve the fixed right sidebar width so dashboard content never sits beneath it */
@media(min-width:681px){
  .app-shell{display:block!important;}
  .sidebar{position:fixed!important;top:0;right:0;bottom:0;width:240px!important;min-width:240px!important;max-width:240px!important;z-index:100;overflow-y:auto;}
  .main-area{display:flex;flex-direction:column;margin-right:240px!important;width:calc(100% - 240px)!important;min-width:0;max-width:calc(100% - 240px);}
  .page-content{width:100%;min-width:0;max-width:100%;}
  .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
  .content-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);}
}
@media(max-width:1250px) and (min-width:951px){
  .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .content-grid{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:950px) and (min-width:681px){
  .sidebar{width:218px!important;min-width:218px!important;max-width:218px!important;}
  .main-area{margin-right:218px!important;width:calc(100% - 218px)!important;max-width:calc(100% - 218px);}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .content-grid{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:680px){
  .app-shell{display:flex!important;flex-direction:column!important;}
  .sidebar{position:relative!important;top:auto;right:auto;bottom:auto;width:100%!important;min-width:0!important;max-width:none!important;}
  .main-area{margin-right:0!important;width:100%!important;max-width:100%!important;}
}

/* Dashboard rebuild: align the native PHP dashboard with the approved reference */
:root{--np-primary:#2563eb;--np-bg:#f3f6fc;--np-border:#e7edf6}
.brand{display:flex!important;align-items:center;gap:10px!important;padding:3px 8px 20px!important}
.brand-logo{width:36px;height:36px;object-fit:cover;display:block;border-radius:50%;flex:0 0 36px}
.brand-copy{display:block;min-width:0}.brand-copy b{display:block;font-size:15px!important;font-weight:900;color:#14213b}.brand-copy small{display:block;font-size:7px!important;letter-spacing:.8px!important;white-space:nowrap;color:#8998ae!important}
.login-brand{display:flex;align-items:center;gap:12px}.login-logo{width:56px;height:56px;object-fit:cover;border-radius:50%}
.login-brand h1{font-size:23px;font-weight:900;margin:0}.login-brand p{margin:3px 0 0;color:#8a98ad;font-size:9px;letter-spacing:1px}
.topbar{height:64px;min-height:64px;padding:10px 22px;flex-direction:row-reverse}
.topbar .eyebrow{display:none}.topbar h1{font-size:16px;margin:0;font-weight:800}
.page-content{padding:23px 18px 28px}
.welcome-banner{min-height:137px;height:auto;margin-bottom:20px;padding:22px 28px;border:1px solid #dce9fb;border-radius:22px;background:linear-gradient(90deg,rgba(232,242,255,.96) 0%,rgba(248,251,255,.97) 54%,rgba(255,255,255,.88) 100%),url('netak-banner.jpg') right 42%/44% 100% no-repeat;box-shadow:0 3px 12px rgba(35,75,130,.035);color:#10213e}
.welcome-banner:after{inset:0 0 0 auto;width:43%;background:linear-gradient(90deg,rgba(247,250,255,.02),rgba(247,250,255,.16)),url('netak-banner.jpg') center 40%/cover no-repeat;opacity:.65}
.welcome-copy{position:relative;z-index:2;text-align:right;margin-right:auto;max-width:75%}.welcome-date{display:inline-flex;align-items:center;gap:7px;border:1px solid #e1eafa;background:#fff;border-radius:22px;padding:7px 12px;color:#65758d;font-size:10px;margin-bottom:3px}.welcome-banner h2{font-size:23px!important;line-height:1.4;margin:2px 0 4px!important;color:#10213e!important;font-weight:900}.welcome-banner p{font-size:11px!important;margin:0!important;color:#71819a!important}.welcome-banner .pill,.welcome-banner .btn-light{display:none!important}.welcome-art{position:absolute!important;left:30px;right:auto;width:90px;height:90px;color:#78a8ff;opacity:.26;z-index:1}.welcome-art i{font-size:48px}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px;margin-bottom:20px}
.stats-grid .stat-card{min-height:112px;padding:17px 18px;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-content:center;align-items:center;border:1px solid #e8edf5;border-radius:21px;box-shadow:0 3px 10px rgba(25,50,90,.025);background:#fff}
.stats-grid .stat-icon{grid-column:1;grid-row:1/3;width:44px;height:44px;margin:0;border-radius:14px;display:grid;place-items:center;font-size:19px;background:#edf4ff;color:#3475df}
.stats-grid .stat-icon.violet{background:#f8efff;color:#a020ef}.stats-grid .stat-icon.green{background:#e8fbf4;color:#00a875}.stats-grid .stat-icon.amber{background:#fff8e8;color:#f08a00}.stats-grid .stat-icon.blue{background:#edf4ff;color:#3475df}
.stats-grid .stat-info{grid-column:2;grid-row:1/3;min-width:0}.stats-grid .stat-label{font-size:11px;font-weight:700;color:#8a9ab2}.stats-grid .stat-value{font-size:23px;line-height:1.35;font-weight:900;color:#10213e;overflow-wrap:anywhere;margin-top:3px}
.content-grid.dashboard-charts{grid-template-columns:minmax(0,1.9fr) minmax(300px,.9fr);gap:18px;margin-bottom:20px;align-items:stretch}
.content-grid.dashboard-lists{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-bottom:20px;align-items:stretch}
.panel{border:1px solid #e9eef6;border-radius:22px;box-shadow:0 3px 12px rgba(25,50,90,.025);background:#fff}
.panel-head{padding:16px 19px;min-height:62px;border-bottom:1px solid #edf1f7;align-items:center}.panel-head h3{font-size:13px;font-weight:900;color:#12213b;margin:0 0 3px}.panel-head p{font-size:10px;color:#91a0b7;margin:0}.panel-head>a{background:#f0f6ff;color:#2563eb!important;border-radius:18px;padding:6px 10px;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}.chart-period{background:#f8faff;border:1px solid #edf1f8;border-radius:20px;padding:5px 10px;font-size:10px;color:#7b8ca6;white-space:nowrap}
.chart-area{height:225px;position:relative;padding:14px 15px 8px}.chart-area canvas{width:100%!important;height:100%!important}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:#a0aec2;font-size:11px;pointer-events:none}.status-donut-wrap{display:grid;grid-template-columns:minmax(120px,.9fr) minmax(0,1.1fr);gap:10px;align-items:center;padding:18px 15px;min-height:225px}.status-donut{height:172px;position:relative;min-width:0}.status-donut canvas{position:relative;z-index:1}.donut-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8b9ab0;pointer-events:none}.donut-empty b{font-size:21px;color:#1d2b45}.donut-empty span{font-size:10px}.status-list{padding:0 8px}.status-row{display:grid;grid-template-columns:1fr 25px;gap:6px;align-items:center;font-size:10px;margin:0 0 13px;position:relative;padding-right:14px}.status-row b{text-align:left;color:#53647d}.legend-dot{position:absolute;right:0;width:8px;height:8px;border-radius:50%;background:#2563eb}.legend-dot.green{background:#10b981}.legend-dot.amber{background:#f59e0b}.legend-dot.red{background:#f43f5e}
.dashboard-lists .table{font-size:10px}.dashboard-lists .table thead th{font-size:9px;background:#fff;padding:11px 13px}.dashboard-lists .table tbody td{padding:12px 13px;font-size:10px;white-space:normal}.dashboard-lists .table a{color:#244e95;text-decoration:none;font-weight:800}.dashboard-lists .empty-state{height:80px!important;color:#a0aec2!important}
@media(max-width:1250px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.content-grid.dashboard-charts{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.content-grid.dashboard-lists{grid-template-columns:1fr 1fr}}
@media(max-width:950px){.content-grid.dashboard-charts,.content-grid.dashboard-lists{grid-template-columns:1fr}.welcome-copy{max-width:85%}.chart-area{height:210px}}
@media(max-width:680px){.topbar{height:auto;min-height:60px}.page-content{padding:13px 10px 18px}.welcome-banner{min-height:130px;padding:15px 17px}.welcome-banner h2{font-size:18px!important}.welcome-copy{max-width:100%}.welcome-art{display:block!important;left:6px;width:45px;height:45px}.welcome-art i{font-size:28px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}.stats-grid .stat-card{min-height:90px;padding:11px;grid-template-columns:34px minmax(0,1fr);column-gap:8px;border-radius:15px}.stats-grid .stat-icon{width:34px;height:34px;font-size:15px;border-radius:10px}.stats-grid .stat-label{font-size:9px}.stats-grid .stat-value{font-size:18px}.status-donut-wrap{grid-template-columns:1fr 1fr}.chart-area{height:190px}}

/* Homepage quick shortcuts: added below the existing KPI cards without changing other dashboard sections. */
.quick-shortcuts{margin:0 0 20px;padding:18px 20px 20px;background:#fff;border:1px solid #e8edf5;border-radius:20px;box-shadow:0 3px 10px rgba(25,50,90,.025)}
.quick-shortcuts-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.quick-shortcuts-head h3{font-size:15px;font-weight:800;color:#10213e;margin:0 0 4px}
.quick-shortcuts-head p{font-size:11px;color:#8a9ab2;margin:0}
.quick-shortcuts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.quick-shortcut{min-width:0;display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid #edf1f7;border-radius:14px;background:#fff;color:#253653;text-decoration:none;transition:border-color .15s,background .15s,transform .15s}
.quick-shortcut:hover{background:#f8fbff;border-color:#cbdcff;color:#245fe8;transform:translateY(-1px)}
.quick-shortcut-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;font-size:17px;background:#edf4ff;color:#3475df}
.quick-shortcut-icon.violet{background:#f8efff;color:#a020ef}.quick-shortcut-icon.green{background:#e8fbf4;color:#00a875}.quick-shortcut-icon.amber{background:#fff8e8;color:#f08a00}.quick-shortcut-icon.blue{background:#edf4ff;color:#3475df}
.quick-shortcut-label{font-size:12px;font-weight:700;line-height:1.45;flex:1;overflow-wrap:anywhere}
.quick-shortcut-arrow{font-size:12px;color:#a1afc4}
@media(max-width:1250px){.quick-shortcuts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.quick-shortcuts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-shortcuts{padding:14px}}
@media(max-width:420px){.quick-shortcuts-grid{grid-template-columns:1fr}.quick-shortcut{padding:10px}}

/* Homepage lower sections: match the supplied dashboard reference, not shortcut tiles. */
.content-grid.dashboard-bottom{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:18px;margin-bottom:20px;align-items:stretch}
.dashboard-lists{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-bottom:20px;align-items:stretch}
.recent-message-list{padding:4px 18px 12px}
.recent-message-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f7;min-height:67px}
.recent-message-item:last-child{border-bottom:0}
.recent-message-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#0d9488;color:#fff;font-weight:800;font-size:13px}
.recent-message-body{min-width:0;flex:1}
.recent-message-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#172b4d;font-size:11px;font-weight:800;margin-bottom:4px}
.recent-message-text{font-size:10px;color:#7b8ca8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:440px}
.recent-message-body small{display:block;color:#9aabc3;font-size:9px;margin-top:4px}
.status-pill{font-size:9px;background:#fff0f4;color:#e11d48;border-radius:10px;padding:2px 7px}
.message-open,.table-action{font-size:10px;color:#2563eb;text-decoration:none;font-weight:800;white-space:nowrap}
.plan-distribution{display:flex;align-items:center;justify-content:center;gap:24px;min-height:230px;padding:20px}
.plan-donut{width:124px;height:124px;flex:0 0 124px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#2563eb 0 42%,#f59e0b 42% 76%,#f97316 76% 90%,#10b981 90% 100%);position:relative}
.plan-donut:before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff}
.plan-donut>div{position:relative;display:flex;flex-direction:column;align-items:center;line-height:1.35;color:#10213e}
.plan-donut b{font-size:20px;font-weight:900}.plan-donut span{font-size:10px;color:#8b9ab2}
.plan-legend{min-width:140px;flex:1;max-width:240px}
.plan-legend-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:8px 0;font-size:10px;color:#71829e}
.plan-legend-row span{display:flex;align-items:center;gap:7px}.plan-legend-row i{display:inline-block;width:8px;height:8px;border-radius:50%}.plan-legend-row b{color:#536782;font-weight:700}
.invoice-state{display:inline-block;border-radius:10px;padding:4px 9px;font-size:9px;font-weight:800;white-space:nowrap}.invoice-state.paid{background:#e8fbf3;color:#059669}.invoice-state.pending{background:#fff7e5;color:#b77905}.invoice-state.overdue{background:#fff0f1;color:#e11d48}
.dashboard-bottom .table,.dashboard-lists .table{margin-bottom:0}.dashboard-bottom .table thead th{font-size:9px;color:#8494ae;white-space:nowrap;background:#fff;padding:12px 10px}.dashboard-bottom .table tbody td{font-size:10px;padding:12px 10px;vertical-align:middle;white-space:nowrap}.dashboard-bottom .table tbody tr:last-child td{border-bottom:0}.dashboard-upcoming{margin-bottom:20px}
@media(max-width:1100px){.content-grid.dashboard-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}}
@media(max-width:900px){.content-grid.dashboard-bottom,.content-grid.dashboard-lists{grid-template-columns:1fr}.plan-distribution{min-height:190px}}
@media(max-width:480px){.plan-distribution{gap:14px;padding:14px}.plan-donut{width:100px;height:100px;flex-basis:100px}.plan-donut b{font-size:17px}.recent-message-list{padding-inline:12px}}


/* Global Arabic RTL normalization: apply consistently to every admin module and client portal */
html[lang="ar"], html[dir="rtl"] { direction: rtl !important; }
html[lang="ar"] body, body { direction: rtl; text-align: start; }
.app-shell, .main-area, .page-content, .toolbar, .toolbar-actions, .topbar,
.sidebar, .sidebar nav, .brand, .user-chip, .stats-grid, .content-grid,
.dashboard-lists, .dashboard-bottom, .panel, .panel-head, .record-form,
.form-wrap, .search-form, .actions, .client-app-shell, .client-sidebar,
.client-main-area, .client-topbar, .client-topbar-actions, .client-quicknav,
.client-panel, .client-panel-head, .client-panel-body {
  direction: rtl;
}
/* Flex rows should flow from the right in Arabic; remove accidental reverse ordering. */
.app-shell { flex-direction: row !important; }
.sidebar { order: 0; }
.main-area { order: 1; min-width: 0; }
.topbar, .toolbar, .toolbar-actions, .panel-head, .brand, .user-chip,
.recent-message-item, .client-topbar, .client-topbar-actions,
.client-sidebar .client-quicknav a, .client-main-area>header.client-brand>div:first-child {
  flex-direction: row;
}
.sidebar nav, .client-sidebar .client-quicknav { align-items: stretch; }
.nav-link, .sidebar .side-label, .brand-copy, .user-chip>div,
.panel-head, .panel-head>div, .toolbar, .record-form, .form-label,
.form-control, .form-select, .form-check, .form-text, .alert,
.data-table th, .data-table td, .table th, .table td,
.client-panel-head, .client-panel-body, .client-stat, .client-campaign,
.client-main-area>main.client-wrap { text-align: start; }
/* Bootstrap utilities that hard-code left/right are normalized for Arabic layouts. */
.text-start { text-align: right !important; }
.text-end { text-align: left !important; }
.ms-auto { margin-inline-start: auto !important; margin-left: 0 !important; }
.me-auto { margin-inline-end: auto !important; margin-right: 0 !important; }
.ps-1,.ps-2,.ps-3,.ps-4,.ps-5 { padding-left: initial !important; }
.pe-1,.pe-2,.pe-3,.pe-4,.pe-5 { padding-right: initial !important; }
/* Keep numeric values, dates, invoice IDs, email addresses and URLs readable. */
input[type="email"], input[type="url"], input[type="tel"], input[type="number"],
input[type="date"], input[type="time"], input[type="datetime-local"],
.numeric, .money, .invoice-number, .row-id, code, pre, .ltr { direction: ltr; unicode-bidi: isolate; }
input[type="email"], input[type="url"] { text-align: left; }
.table-responsive { direction: rtl; }
.table { direction: rtl; }
.table th, .table td { text-align: start; }
/* Sidebar belongs on the right and content occupies only the remaining viewport. */
@media (min-width: 681px) {
  .sidebar { right: 0; left: auto; }
  .main-area { margin-right: 0; margin-left: 0; }
  .app-shell { direction: rtl; }
}
@media (max-width: 680px) {
  .app-shell { flex-direction: column !important; }
  .sidebar { right: auto; left: auto; }
  .main-area { width: 100%; max-width: 100%; }
  .toolbar, .toolbar-actions { flex-wrap: wrap; }
}


/* Sticky full-height navigation: sidebar remains visible while page content scrolls */
@media (min-width:681px){
  html,body{min-height:100%;}
  .app-shell{display:block!important;min-height:100vh;}
  .sidebar{position:fixed!important;inset:0 0 0 auto!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;max-height:100vh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
  .sidebar nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:12px!important;}
  .sidebar-bottom{flex:0 0 auto!important;margin-top:auto!important;background:inherit;}
  .main-area{margin-right:256px!important;margin-left:0!important;width:calc(100% - 256px)!important;max-width:calc(100% - 256px)!important;min-height:100vh;}
}
@media (min-width:681px) and (max-width:950px){
  .sidebar{width:218px!important;min-width:218px!important;max-width:218px!important;}
  .main-area{margin-right:218px!important;width:calc(100% - 218px)!important;max-width:calc(100% - 218px)!important;}
}

/* Direct upload and client design preview */
.np-upload-field{margin-top:18px;padding:16px;background:#f8fbff;border:1px dashed #c8d8ef;border-radius:12px}.np-upload-field small{display:block;margin-top:7px;line-height:1.7}.np-media-clear{border-color:#dc3545!important}

/* Global live notifications bell: shared by admin, staff and client portals */
.np-notification-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;z-index:1200;flex:0 0 auto}
.np-notification-bell{position:relative;width:40px;height:40px;display:grid;place-items:center;border:1px solid #e4eaf3;border-radius:12px;background:#fff;color:#52647d;font-size:18px;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.np-notification-bell:hover,.np-notification-bell[aria-expanded="true"]{background:#f1f6ff;border-color:#cbdcff;color:#2160f5}
.np-notification-bell.has-unread i{animation:np-bell-wiggle 1.8s ease-in-out infinite}
.np-notification-count{position:absolute;top:-6px;left:-6px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#f43f5e;color:#fff;font-size:9px;line-height:1;font-weight:900}
.np-notification-count[hidden],.np-notification-menu[hidden]{display:none!important}
.np-notification-menu{position:absolute;top:calc(100% + 10px);left:0;width:min(360px,calc(100vw - 28px));max-height:440px;overflow:hidden;background:#fff;border:1px solid #e3eaf3;border-radius:16px;box-shadow:0 18px 55px rgba(20,40,75,.18);color:#1d2c43;text-align:right}
.np-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf1f6;background:#fbfcfe}
.np-notification-head b{font-size:13px;font-weight:850}.np-notification-head button{border:0;background:transparent;color:#2160f5;font-size:10px;font-weight:800}
.np-notification-list{max-height:375px;overflow:auto;padding:5px}
.np-notification-item{display:flex;align-items:flex-start;gap:10px;padding:12px 11px;border-radius:11px;text-decoration:none;color:inherit;border-bottom:1px solid #f1f4f8}
.np-notification-item:hover{background:#f5f8ff;color:inherit}.np-notification-item.is-read{opacity:.65}.np-notification-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;margin-top:5px;background:#2160f5}.np-notification-item.is-read .np-notification-dot{background:#cbd5e1}
.np-notification-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.np-notification-copy b{font-size:11px;font-weight:850}.np-notification-copy span{font-size:11px;line-height:1.65;color:#64748b;overflow-wrap:anywhere}.np-notification-copy small{font-size:9px;color:#9aa6b7}.np-notification-empty{padding:30px 12px;text-align:center;color:#8a98ab;font-size:11px}
.client-topbar-actions .np-notification-bell{width:38px;height:38px}.client-topbar-actions .np-notification-menu{z-index:1300}
@keyframes np-bell-wiggle{0%,88%,100%{transform:rotate(0)}91%{transform:rotate(12deg)}94%{transform:rotate(-12deg)}97%{transform:rotate(7deg)}}
@media(max-width:600px){.np-notification-bell{width:35px;height:35px;border-radius:10px}.np-notification-menu{position:fixed;top:70px;left:10px;right:10px;width:auto;max-height:70vh}.np-notification-list{max-height:calc(70vh - 60px)}}

/* Notification header visual correction v20261015-2 */
.np-notification-wrap{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;vertical-align:middle!important;z-index:1400!important}
button.np-notification-bell,.np-notification-wrap>button.np-notification-bell{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:1px solid #dfe7f2!important;border-radius:13px!important;background:#fff!important;color:#2563eb!important;box-shadow:0 2px 8px rgba(24,56,105,.07)!important;font:inherit!important;font-size:19px!important;line-height:1!important;cursor:pointer!important;outline:none!important}
button.np-notification-bell i{display:block!important;font-size:19px!important;line-height:1!important;color:inherit!important}
button.np-notification-bell:hover,button.np-notification-bell:focus-visible,button.np-notification-bell[aria-expanded=true]{background:#eff5ff!important;border-color:#bfd3ff!important;color:#1d4ed8!important;box-shadow:0 0 0 3px rgba(37,99,235,.08)!important}
.np-notification-count{position:absolute!important;top:-5px!important;right:-5px!important;left:auto!important;min-width:19px!important;height:19px!important;padding:0 4px!important;display:grid!important;place-items:center!important;border:2px solid #fff!important;border-radius:999px!important;background:#ef4444!important;color:#fff!important;font-family:inherit!important;font-size:10px!important;line-height:1!important;font-weight:800!important}
.np-notification-count[hidden],.np-notification-menu[hidden]{display:none!important}
.np-notification-menu{z-index:2000!important;direction:rtl!important;text-align:right!important}
.topbar .top-actions,.client-topbar-actions{display:flex!important;align-items:center!important;gap:12px!important;overflow:visible!important}
@media(max-width:600px){.np-notification-wrap{flex-basis:38px!important;width:38px!important;height:38px!important}button.np-notification-bell,.np-notification-wrap>button.np-notification-bell{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;border-radius:12px!important}.np-notification-menu{position:fixed!important;top:72px!important;left:12px!important;right:12px!important;width:auto!important;max-height:70vh!important}}

/* Live unread count for partnership support in the sidebar */
.sidebar .nav-link{position:relative}.np-support-nav-count{margin-inline-start:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#ef3155;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;line-height:1;box-shadow:0 2px 6px #ef315533}

/* Responsive layout pass: desktop, tablet and mobile without changing the visual identity */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-width: 320px; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
.table-responsive, .table-wrap, .data-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; }
.page-content, .client-wrap, .client-main-area, .main-area { min-width: 0; }
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.content-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.client-brand, .client-topbar, .topbar, .panel-head, .toolbar { min-width: 0; }
.panel-head > *, .topbar > *, .client-topbar > *, .toolbar > * { min-width: 0; }

@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .content-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .page-content { padding: 22px !important; }
  .client-wrap { padding: 20px !important; }
  .welcome-banner { gap: 18px; }
  .data-table { min-width: 760px; }
}
@media (max-width: 950px) and (min-width: 681px) {
  .sidebar { width: 218px !important; padding: 20px 12px 14px !important; }
  .main-area { margin-right: 218px !important; margin-left: 0 !important; width: calc(100% - 218px) !important; max-width: calc(100% - 218px) !important; }
  .topbar { padding: 16px 20px !important; }
  .topbar h1 { font-size: 20px !important; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 680px) {
  html, body { width: 100%; min-width: 320px; overflow-x: hidden; }
  .app-shell { display: flex !important; flex-direction: column !important; width: 100% !important; min-height: 100vh; }
  .sidebar { position: relative !important; inset: auto !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 12px 12px 10px !important; overflow: visible !important; }
  .brand { padding: 0 4px 12px !important; gap: 9px !important; }
  .brand-icon { width: 36px !important; height: 36px !important; border-radius: 11px !important; }
  .brand b { font-size: 16px !important; }
  .brand small { font-size: 8px !important; }
  .side-label { display: none !important; }
  .sidebar nav { display: flex !important; flex-direction: row !important; align-items: stretch !important; gap: 7px !important; min-height: 0 !important; max-height: none !important; overflow-x: auto !important; overflow-y: hidden !important; padding: 2px 0 8px !important; scrollbar-width: thin; }
  .sidebar nav .nav-link { flex: 0 0 auto !important; white-space: nowrap; padding: 9px 11px !important; font-size: 11px !important; gap: 7px !important; }
  .nav-link i { font-size: 15px !important; }
  .sidebar-bottom { margin-top: 4px !important; padding-top: 9px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; }
  .user-chip { padding: 0 !important; min-width: 0; }
  .user-chip .avatar { width: 30px !important; height: 30px !important; flex: 0 0 30px; }
  .user-chip b { font-size: 11px !important; }
  .user-chip small { font-size: 9px !important; }
  .logout { padding: 7px !important; white-space: nowrap; }
  .main-area { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; }
  .topbar { height: auto !important; min-height: 72px; padding: 13px 14px !important; gap: 10px !important; flex-wrap: wrap; }
  .topbar h1 { font-size: 18px !important; line-height: 1.35; }
  .eyebrow, .today { font-size: 10px !important; }
  .top-actions { gap: 8px !important; flex-wrap: wrap; }
  .top-avatar { width: 34px !important; height: 34px !important; }
  .page-content { padding: 14px !important; width: 100%; }
  .app-footer { padding: 12px 14px !important; gap: 8px; flex-wrap: wrap; }
  .welcome-banner { min-height: 0 !important; padding: 20px !important; border-radius: 15px !important; margin-bottom: 15px !important; }
  .welcome-banner h2 { font-size: 20px !important; line-height: 1.4; }
  .welcome-banner p { font-size: 12px; }
  .welcome-art { display: none !important; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin-bottom: 14px !important; }
  .stat-card { min-width: 0; min-height: 0 !important; padding: 13px !important; }
  .stat-icon { width: 32px !important; height: 32px !important; font-size: 16px !important; margin-bottom: 8px !important; }
  .stat-label { font-size: 10px !important; }
  .stat-value { font-size: 22px !important; overflow-wrap: anywhere; }
  .content-grid, .dashboard-bottom, .dashboard-lists { grid-template-columns: minmax(0, 1fr) !important; gap: 13px !important; }
  .panel { min-width: 0; border-radius: 13px !important; }
  .panel-head { padding: 14px !important; gap: 8px !important; flex-wrap: wrap; }
  .panel-head h3 { font-size: 13px !important; }
  .panel-head p { font-size: 10px !important; }
  .table { min-width: 680px; }
  .data-table { min-width: 720px !important; }
  .toolbar { align-items: stretch !important; gap: 10px !important; }
  .search-form { min-width: 0 !important; width: 100% !important; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .btn { flex: 0 0 auto; }
  .form-wrap { width: 100% !important; max-width: 100% !important; }
  .record-form { padding: 15px !important; }
  .form-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
  .field.full { grid-column: auto !important; }
  .btn { white-space: normal; }
  .calendar-grid { overflow-x: auto !important; grid-template-columns: repeat(7, minmax(92px, 1fr)) !important; }
  .client-app-shell { display: flex !important; flex-direction: column !important; width: 100% !important; min-width: 0 !important; }
  .client-sidebar { position: relative !important; inset: auto !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
  .client-sidebar .client-quicknav { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 7px !important; overflow-x: auto !important; overflow-y: hidden !important; max-width: 100% !important; padding-bottom: 8px !important; }
  .client-sidebar .client-quicknav a { flex: 0 0 auto !important; white-space: nowrap !important; }
  .client-main-area { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; }
  .client-brand { padding: 16px !important; border-radius: 14px !important; gap: 10px !important; flex-wrap: wrap !important; }
  .client-main-area > main.client-wrap, .client-wrap { padding: 13px !important; width: 100% !important; max-width: 100% !important; }
  .client-topbar { gap: 10px !important; flex-wrap: wrap !important; }
  .client-topbar-title { font-size: 18px !important; }
  .client-topbar-actions { gap: 7px !important; flex-wrap: wrap !important; }
  .client-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 11px !important; }
  .client-stat { min-width: 0 !important; padding: 14px !important; }
  .client-panel-head, .client-panel-body { padding: 14px !important; }
  .client-panel { min-width: 0 !important; }
  .client-calendar-wrap { overflow-x: auto !important; max-width: 100% !important; }
  .client-calendar-wrap .calendar-grid { min-width: 650px; }
  .party-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .invoice-ref, .invoice-signatures { gap: 12px !important; flex-wrap: wrap !important; }
  .np-notification-menu { position: fixed !important; left: 10px !important; right: 10px !important; width: auto !important; max-width: calc(100vw - 20px) !important; }
}
@media (max-width: 420px) {
  .page-content, .client-main-area > main.client-wrap, .client-wrap { padding: 10px !important; }
  .topbar { padding: 11px 10px !important; }
  .topbar h1 { font-size: 16px !important; }
  .stats-grid { gap: 8px !important; }
  .stat-card { padding: 10px !important; }
  .stat-value { font-size: 19px !important; }
  .welcome-banner { padding: 15px !important; }
  .client-brand { padding: 12px !important; }
  .np-notification-wrap { flex-basis: 36px !important; width: 36px !important; }
  button.np-notification-bell, .np-notification-wrap > button.np-notification-bell { width: 36px !important; min-width: 36px !important; height: 36px !important; min-height: 36px !important; }
}
@media print {
  .sidebar, .client-sidebar, .topbar, .client-topbar, .app-footer, .np-notification-wrap { display: none !important; }
  .main-area, .client-main-area { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
  .page-content, .client-wrap { padding: 0 !important; }
}

/* Targeted calendar filters */
.calendar-filters{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:18px}.calendar-filter-toggles{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.calendar-toggle{display:flex;align-items:center;gap:7px;background:#f7f9fc;border:1px solid #e7edf4;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:700}.calendar-toggle input{accent-color:#177f7a;width:16px;height:16px}.calendar-company-filter{min-width:230px;max-width:340px;flex:1}.calendar-company-filter label{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.calendar-company-filter select{min-height:95px}.calendar-company-filter small{display:block;color:#778397;font-size:10px;margin-top:5px}


/* Compact content-calendar filters: keep company selection collapsed until needed */
.calendar-filters{gap:12px;align-items:center;padding:10px 12px;border-radius:12px;overflow:visible}
.calendar-filter-toggles{gap:8px}
.calendar-toggle{padding:8px 10px;border-radius:8px;font-size:12px;white-space:nowrap}
.calendar-filter-toggles>.btn{min-height:34px;padding:6px 11px}
.calendar-company-filter{position:relative;flex:0 0 auto;min-width:0;max-width:none;margin-inline-start:auto}
.calendar-company-filter>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 11px;border:1px solid #dfe6ee;border-radius:9px;background:#fff;color:#253449;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;user-select:none}
.calendar-company-filter>summary::-webkit-details-marker{display:none}
.calendar-company-filter>summary:hover{border-color:#b8c8d8;background:#f8fafc}
.calendar-company-count{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border-radius:6px;background:#eef5f5;color:#177f7a;font-size:10px;font-weight:700}
.calendar-filter-chevron{font-size:10px;color:#7b8797;transition:transform .15s ease}
.calendar-company-filter[open] .calendar-filter-chevron{transform:rotate(180deg)}
.calendar-company-popover{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:30;width:280px;padding:13px;background:#fff;border:1px solid #e1e7ef;border-radius:12px;box-shadow:0 12px 32px rgba(20,35,55,.14)}
.calendar-company-popover .calendar-company-heading{display:block;margin:0 0 8px;font-size:12px;font-weight:700;color:#253449}.calendar-company-list{display:flex;flex-direction:column;gap:2px;max-height:240px;overflow-y:auto;padding:2px;margin:0 -2px}.calendar-company-option{display:flex!important;align-items:center;gap:9px;min-height:35px;padding:6px 8px;margin:0!important;border-radius:7px;cursor:pointer;transition:background .12s ease}.calendar-company-option:hover{background:#f4f7fa}.calendar-company-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.calendar-company-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;width:17px;height:17px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#fff;font-size:12px;transition:background .12s ease,border-color .12s ease}.calendar-company-option input:checked+.calendar-company-check{background:#177f7a;border-color:#177f7a}.calendar-company-option input:checked+.calendar-company-check i{display:block}.calendar-company-check i{display:none}.calendar-company-option input:focus-visible+.calendar-company-check{outline:2px solid #8ac7c3;outline-offset:2px}.calendar-company-name{font-size:12px;font-weight:500;color:#253449;line-height:1.4}.calendar-company-popover small{display:block;margin-top:8px;padding-top:8px;border-top:1px solid #edf1f5;color:#778397;font-size:10px;line-height:1.6}.calendar-company-filter[open]>.calendar-company-popover{animation:calendarFilterIn .12s ease-out}@keyframes calendarFilterIn{from{opacity:.75;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.calendar-filters{align-items:stretch}.calendar-filter-toggles{width:100%}.calendar-company-filter{margin-inline-start:0}.calendar-company-popover{inset-inline-start:0;inset-inline-end:auto;width:min(280px,calc(100vw - 48px))}.calendar-toggle{white-space:normal}}


/* Calendar company dropdown: visually consistent with neighboring filter controls */
.calendar-filters .calendar-company-filter{position:relative!important;display:block!important;flex:0 0 auto!important;min-width:0!important;max-width:100%!important;margin-inline-start:0!important;align-self:center!important}
.calendar-filters .calendar-company-filter>summary{box-sizing:border-box!important;list-style:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:36px!important;padding:8px 12px!important;border:1px solid #e7edf4!important;border-radius:8px!important;background:#f7f9fc!important;color:#253449!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;cursor:pointer!important;white-space:nowrap!important;user-select:none!important;direction:rtl!important;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important}
.calendar-filters .calendar-company-filter>summary::-webkit-details-marker{display:none!important}
.calendar-filters .calendar-company-filter>summary::marker{content:""!important}
.calendar-filters .calendar-company-filter>summary:hover{background:#f0f5f9!important;border-color:#cbd8e5!important}
.calendar-filters .calendar-company-filter>summary:focus-visible{outline:2px solid #8ac7c3!important;outline-offset:2px!important}
.calendar-filters .calendar-company-filter>summary>.bi-buildings{font-size:14px!important;color:#177f7a!important}
.calendar-filters .calendar-company-filter .calendar-company-count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:20px!important;padding:2px 7px!important;border:1px solid #dcebea!important;border-radius:6px!important;background:#eaf4f3!important;color:#177f7a!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important}
.calendar-filters .calendar-company-filter .calendar-filter-chevron{font-size:10px!important;color:#748194!important;transition:transform .15s ease!important}
.calendar-filters .calendar-company-filter[open]>.calendar-filter-chevron{transform:rotate(180deg)!important}
.calendar-filters .calendar-company-filter[open]>summary{background:#fff!important;border-color:#b9d9d6!important;box-shadow:0 0 0 2px rgba(23,127,122,.06)!important}
.calendar-filters .calendar-company-popover{position:absolute!important;top:calc(100% + 7px)!important;inset-inline-end:0!important;inset-inline-start:auto!important;z-index:100!important;width:280px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;padding:12px!important;background:#fff!important;border:1px solid #e1e7ef!important;border-radius:10px!important;box-shadow:0 10px 28px rgba(20,35,55,.14)!important;direction:rtl!important}
@media(max-width:700px){.calendar-filters .calendar-company-filter{margin-inline-start:0!important}.calendar-filters .calendar-company-popover{inset-inline-start:0!important;inset-inline-end:auto!important;width:min(280px,calc(100vw - 32px))!important}}


/* =========================================================
   NETAK PLUS — Mobile-first layout correction (v2)
   Bottom navigation is pinned to the viewport bottom.
   ========================================================= */
@media screen and (max-width: 680px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
  }
  body {
    padding: 0 0 calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    background: #f3f6fb !important;
    -webkit-text-size-adjust: 100%;
  }

  /* Use a single-column app canvas; never reserve a sidebar column. */
  body .app-shell,
  body .client-app-shell {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  /* Admin and client navigation: fixed bottom dock, not a top row. */
  body .app-shell .sidebar,
  body .client-app-shell .client-sidebar {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    z-index: 1200 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.97) !important;
    color: #182744 !important;
    border: 0 !important;
    border-top: 1px solid #e3eaf4 !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -7px 24px rgba(22,42,75,.10) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  body .app-shell .sidebar > .brand,
  body .app-shell .sidebar > .side-label,
  body .app-shell .sidebar > .sidebar-bottom,
  body .client-app-shell .client-sidebar > .client-side-brand,
  body .client-app-shell .client-sidebar > .client-side-label,
  body .client-app-shell .client-sidebar > .client-side-bottom {
    display: none !important;
  }

  body .app-shell .sidebar > nav,
  body .client-app-shell .client-sidebar > .client-quicknav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
    height: 57px !important;
    min-height: 57px !important;
    max-height: 57px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  body .app-shell .sidebar > nav::-webkit-scrollbar,
  body .client-app-shell .client-sidebar > .client-quicknav::-webkit-scrollbar {
    display: none !important;
  }
  body .app-shell .sidebar > nav > .nav-link,
  body .client-app-shell .client-sidebar > .client-quicknav > a {
    display: flex !important;
    flex: 1 0 58px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 58px !important;
    max-width: 88px !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 5px 3px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #71809a !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }
  body .app-shell .sidebar > nav > .nav-link i,
  body .client-app-shell .client-sidebar > .client-quicknav > a i {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }
  body .app-shell .sidebar > nav > .nav-link.active,
  body .client-app-shell .client-sidebar > .client-quicknav > a.active {
    color: #fff !important;
    background: #245cf5 !important;
    box-shadow: 0 4px 12px rgba(36,92,245,.22) !important;
  }

  /* Main page frame and header */
  body .app-shell > .main-area,
  body .client-app-shell > .client-main-area {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 12px !important;
    overflow: visible !important;
  }
  body .app-shell .topbar,
  body .client-app-shell .client-main-area > header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 15px 16px !important;
    border-radius: 0 0 16px 16px !important;
  }
  body .app-shell .topbar h1,
  body .client-app-shell .client-topbar-title {
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
  body .app-shell .top-actions,
  body .client-app-shell .client-topbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
  }

  /* Consistent page gutters and no child may force the viewport wider. */
  body .app-shell .page-content,
  body .client-app-shell .client-main-area > main,
  body .client-app-shell .client-main-area > .client-wrap,
  body .client-app-shell .client-wrap {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 13px 24px !important;
    overflow-wrap: anywhere !important;
  }
  body .app-shell .page-content *,
  body .client-app-shell .client-wrap * {
    min-width: 0;
    max-width: 100%;
  }

  /* Dashboard cards: two balanced columns on phone, one on very narrow screens. */
  body .app-shell .stats-grid,
  body .app-shell .stats-cards,
  body .app-shell .dashboard-grid,
  body .client-app-shell .client-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  body .app-shell .stat-card,
  body .app-shell .welcome-banner,
  body .client-app-shell .client-stat,
  body .client-app-shell .client-panel {
    box-sizing: border-box !important;
    min-width: 0 !important;
    border-radius: 14px !important;
  }
  body .app-shell .stat-card,
  body .client-app-shell .client-stat {
    padding: 13px 12px !important;
  }
  body .app-shell .stat-value {
    font-size: clamp(17px, 5vw, 22px) !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
  }
  body .app-shell .welcome-banner {
    padding: 17px 14px !important;
    margin-bottom: 12px !important;
  }

  /* Tables and wide widgets scroll inside their own panel, never over each other. */
  body .app-shell .page-content table,
  body .client-app-shell .client-wrap table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  body .app-shell .page-content .table-responsive,
  body .app-shell .page-content .table-wrap,
  body .app-shell .page-content .table-container,
  body .client-app-shell .client-wrap .table-responsive,
  body .client-app-shell .client-wrap .table-wrap,
  body .client-app-shell .client-wrap .table-container,
  body .app-shell .page-content .client-calendar-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  body .app-shell .page-content table th,
  body .app-shell .page-content table td,
  body .client-app-shell .client-wrap table th,
  body .client-app-shell .client-wrap table td {
    padding: 9px 8px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
  }
  body .app-shell .page-content input,
  body .app-shell .page-content select,
  body .app-shell .page-content textarea,
  body .client-app-shell .client-wrap input,
  body .client-app-shell .client-wrap select,
  body .client-app-shell .client-wrap textarea {
    box-sizing: border-box !important;
    max-width: 100% !important;
    font-size: 14px !important;
  }
  body .app-shell .page-content .row,
  body .client-app-shell .client-wrap .row {
    --bs-gutter-x: 12px !important;
    --bs-gutter-y: 12px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  body .app-shell .page-content .card,
  body .client-app-shell .client-wrap .card {
    max-width: 100% !important;
    border-radius: 14px !important;
  }
  body .app-shell .app-footer { display: none !important; }
  body .np-notification-menu {
    position: fixed !important;
    top: 72px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
  }
}
@media screen and (max-width: 360px) {
  body .app-shell .stats-grid,
  body .app-shell .stats-cards,
  body .app-shell .dashboard-grid,
  body .client-app-shell .client-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body .app-shell .page-content,
  body .client-app-shell .client-wrap { padding-right: 10px !important; padding-left: 10px !important; }
}

/* =========================================================
   NETAK PLUS — Mobile refinement v3
   Readable bottom navigation + comfortable mobile page scale
   ========================================================= */
@media screen and (max-width: 680px) {
  html, body {
    width: 100% !important;
    min-width: 320px !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
  }

  body {
    padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* A clear, labeled bottom navigation. It scrolls horizontally when needed. */
  body .app-shell .sidebar,
  body .client-app-shell .client-sidebar {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 7px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 17px 17px 0 0 !important;
  }

  body .app-shell .sidebar > nav,
  body .client-app-shell .client-sidebar > .client-quicknav {
    direction: rtl !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
    padding: 0 1px 2px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  body .app-shell .sidebar > nav > .nav-link,
  body .client-app-shell .client-sidebar > .client-quicknav > a {
    flex: 0 0 70px !important;
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 7px 3px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 12px !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    scroll-snap-align: center;
  }

  /* Older responsive rules hid all labels; explicitly restore them. */
  body .app-shell .sidebar > nav > .nav-link > span,
  body .client-app-shell .client-sidebar > .client-quicknav > a > span {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    color: inherit !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
  }

  body .app-shell .sidebar > nav > .nav-link i,
  body .client-app-shell .client-sidebar > .client-quicknav > a i {
    display: block !important;
    flex: 0 0 auto !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body .app-shell .sidebar > nav > .nav-link.active,
  body .client-app-shell .client-sidebar > .client-quicknav > a.active {
    background: #245cf5 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(36,92,245,.20) !important;
  }

  /* Give each page a usable reading width and less cramped vertical rhythm. */
  body .app-shell > .main-area,
  body .client-app-shell > .client-main-area {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 8px !important;
  }

  body .app-shell .topbar,
  body .client-app-shell .client-main-area > header {
    min-height: 72px !important;
    padding: 14px 16px !important;
    gap: 10px !important;
  }

  body .app-shell .topbar h1,
  body .client-app-shell .client-topbar-title {
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 850 !important;
  }

  body .app-shell .page-content,
  body .client-app-shell .client-main-area > main,
  body .client-app-shell .client-main-area > .client-wrap,
  body .client-app-shell .client-wrap {
    padding: 17px 15px 30px !important;
  }

  body .app-shell .panel,
  body .client-app-shell .client-panel {
    margin-bottom: 15px !important;
    border-radius: 15px !important;
  }

  body .app-shell .panel-head,
  body .client-app-shell .client-panel-head {
    min-height: 62px !important;
    padding: 15px 16px !important;
    gap: 9px !important;
  }

  body .app-shell .panel-head h3,
  body .client-app-shell .client-panel-head h2 {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body .app-shell .panel-head p,
  body .client-app-shell .client-panel-head p {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  body .app-shell .toolbar {
    gap: 12px !important;
    margin-bottom: 16px !important;
  }

  body .app-shell .search-form {
    min-height: 48px !important;
    padding: 7px 11px !important;
  }

  body .app-shell .toolbar-actions .btn,
  body .app-shell .page-content .btn,
  body .client-app-shell .client-wrap .btn {
    min-height: 42px !important;
    padding: 10px 13px !important;
    font-size: 12px !important;
  }

  body .app-shell .stats-grid,
  body .app-shell .stats-cards,
  body .app-shell .dashboard-grid,
  body .client-app-shell .client-grid {
    gap: 11px !important;
  }

  body .app-shell .stat-card,
  body .client-app-shell .client-stat {
    min-height: 104px !important;
    padding: 14px 13px !important;
  }

  body .app-shell .stat-label,
  body .client-app-shell .client-stat span {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  body .app-shell .stat-value,
  body .client-app-shell .client-stat strong {
    font-size: clamp(19px, 5.5vw, 24px) !important;
    line-height: 1.45 !important;
  }

  /* Keep wide tables readable and swipeable inside their own card. */
  body .app-shell .page-content .table-responsive,
  body .app-shell .page-content .table-wrap,
  body .app-shell .page-content .table-container,
  body .client-app-shell .client-wrap .table-responsive,
  body .client-app-shell .client-wrap .table-wrap,
  body .client-app-shell .client-wrap .table-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch !important;
  }

  body .app-shell .page-content table.data-table,
  body .client-app-shell .client-wrap table.data-table {
    width: max-content !important;
    min-width: 740px !important;
    max-width: none !important;
  }

  body .app-shell .page-content .table th,
  body .app-shell .page-content .table td,
  body .client-app-shell .client-wrap .table th,
  body .client-app-shell .client-wrap .table td {
    padding: 11px 10px !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body .app-shell .page-content .record-form,
  body .app-shell .page-content .form-wrap > .panel {
    padding: 17px !important;
  }
}

@media screen and (max-width: 390px) {
  body .app-shell .sidebar > nav > .nav-link,
  body .client-app-shell .client-sidebar > .client-quicknav > a {
    flex-basis: 66px !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
  }
  body .app-shell .page-content,
  body .client-app-shell .client-wrap { padding-right: 12px !important; padding-left: 12px !important; }
}


/* Netak PLUS mobile logout navigation item v4 */
.mobile-logout-nav{display:none!important}
@media screen and (max-width:680px){
 body .app-shell .sidebar>nav>.mobile-logout-nav{
  display:flex!important;flex:0 0 70px!important;width:70px!important;min-width:70px!important;max-width:70px!important;
  min-height:64px!important;height:64px!important;max-height:64px!important;
  flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;
  padding:7px 3px 6px!important;margin:0!important;border:1px solid #f3cbd1!important;border-radius:12px!important;
  background:#fff5f6!important;color:#bd3048!important;text-decoration:none!important;white-space:normal!important;
  font-size:9px!important;font-weight:800!important;line-height:1.25!important;box-shadow:0 3px 10px rgba(190,48,72,.08)!important;
 }
 body .app-shell .sidebar>nav>.mobile-logout-nav i{display:block!important;flex:0 0 auto!important;font-size:18px!important;line-height:1!important;color:#bd3048!important}
 body .app-shell .sidebar>nav>.mobile-logout-nav span{display:block!important;visibility:visible!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;color:inherit!important;font-size:9px!important;line-height:1.25!important;text-align:center!important}
}


/* Mobile navigation performance: avoid GPU-heavy backdrop filters and snap animation. */
@media (max-width: 680px) {
  body .app-shell .sidebar,
  body .client-app-shell .client-sidebar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #fff !important;
    box-shadow: 0 -2px 10px rgba(22,42,75,.07) !important;
    transform: translateZ(0);
    contain: layout paint;
  }
  body .app-shell .sidebar > nav,
  body .client-app-shell .client-sidebar > .client-quicknav {
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior-x: contain;
  }
  body .app-shell .sidebar > nav > .nav-link,
  body .client-app-shell .client-sidebar > .client-quicknav > a {
    scroll-snap-align: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
}
.np-employee-reminder {
  position: fixed; z-index: 13000; inset: max(12px,env(safe-area-inset-top)) 12px auto 12px;
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 2px solid #d97706; border-radius: 13px; background: #fff7e6;
  color: #78350f; box-shadow: 0 8px 24px rgba(0,0,0,.14); direction: rtl;
}
.np-employee-reminder strong { white-space: nowrap; font-size: 13px; }
.np-employee-reminder span { flex: 1; font-size: 12px; line-height: 1.5; }
.np-employee-reminder button { border: 0; border-radius: 8px; padding: 9px 12px; background: #b45309; color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
@media(max-width:520px) {
  .np-employee-reminder { align-items: stretch; flex-wrap: wrap; gap: 8px; }
  .np-employee-reminder strong { width: 100%; }
  .np-employee-reminder button { margin-inline-start: auto; }
}

/* Account profile avatars */
.avatar,.top-avatar{overflow:hidden;flex:0 0 auto}.avatar img,.top-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
