/* PharmaSync v95.0 stylesheet consolidation.
   Exact active v94.556 cascade preserved in original order. */

/* ===== SOURCE: /owner-mobile-v94-252.css ===== */
/* PharmaSync v94.223 — remove invisible payroll tail space; preserve AI top-bar placement */
html[data-ps-role="owner"],html[data-ps-role="owner"] body{max-width:100%;overflow-x:hidden!important}
html[data-ps-role="owner"] body{overscroll-behavior-x:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
html[data-ps-role="owner"] #root,html[data-ps-role="owner"] #root>div{width:100%;max-width:100%;min-width:0}
html[data-ps-role="owner"] button,html[data-ps-role="owner"] a,html[data-ps-role="owner"] [role="button"]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
html[data-ps-role="owner"].ps-owner-employees-transition body::after{content:"جارٍ فتح ملفات الموظفين…";position:fixed;inset:0;z-index:2147481700;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,rgba(244,251,255,.98),rgba(240,253,250,.98));color:#0d5f65;font:900 15px/1.7 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;direction:rtl;text-align:center;pointer-events:none}
html[data-ps-role="owner"].ps-owner-employees-transition body::before{content:"";position:fixed;z-index:2147481701;left:50%;top:calc(50% - 38px);width:28px;height:28px;margin-left:-14px;border:3px solid #b8dedb;border-top-color:#0d7b72;border-radius:50%;animation:ps-owner-spin-v94-218 .75s linear infinite;pointer-events:none}
@keyframes ps-owner-spin-v94-219{to{transform:rotate(360deg)}}
@media(max-width:820px){
  html[data-ps-role="owner"] body{padding-bottom:max(76px,calc(62px + env(safe-area-inset-bottom,0px)))}
  html[data-ps-role="owner"] #root{overflow-x:hidden}
  html[data-ps-role="owner"] #root input:not([type="checkbox"]):not([type="radio"]),html[data-ps-role="owner"] #root select,html[data-ps-role="owner"] #root textarea{font-size:16px!important;max-width:100%!important;min-height:44px;box-sizing:border-box}
  html[data-ps-role="owner"] #root button,html[data-ps-role="owner"] #root [role="button"]{min-height:42px;max-width:100%;box-sizing:border-box}
  html[data-ps-role="owner"] #root img,html[data-ps-role="owner"] #root video,html[data-ps-role="owner"] #root canvas,html[data-ps-role="owner"] #root iframe{max-width:100%}
  html[data-ps-role="owner"] #root form,html[data-ps-role="owner"] #root section,html[data-ps-role="owner"] #root main{max-width:100%;min-width:0}
  html[data-ps-role="owner"] #root [role="dialog"]{max-width:100vw!important;max-height:100dvh!important}
  html[data-ps-role="owner"] #root table{font-size:12px}
  html[data-ps-role="owner"] #root table :is(th,td){white-space:normal;overflow-wrap:anywhere}
  html[data-ps-role="owner"] #ps-ux-owner-priorities-v94-214,html[data-ps-role="owner"] [id^="ps-ux-owner-priorities-v94-"]{width:calc(100% - 20px)!important;margin:10px!important}
  html[data-ps-role="owner"] [id^="ps-owner-support"],html[data-ps-role="owner"] [id^="ps-job"],html[data-ps-role="owner"] [id^="ps-monthly"],html[data-ps-role="owner"] [id^="ps-platform"]{max-width:100vw;box-sizing:border-box}
}
@media(max-width:430px){
  html[data-ps-role="owner"] body{padding-bottom:max(82px,calc(68px + env(safe-area-inset-bottom,0px)))}
  html[data-ps-role="owner"] #root button,html[data-ps-role="owner"] #root [role="button"]{min-height:44px}
}

/* v94.214 owner mobile layout completion */
html[data-ps-role="owner"] #root :is(div,section,main,article,nav,header,footer,form){min-width:0}
html[data-ps-role="owner"] #root :is(button,a,[role="button"],[role="tab"]){overflow-wrap:anywhere}
@media(max-width:820px){
  html[data-ps-role="owner"] #root [role="tablist"]{max-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  html[data-ps-role="owner"] #root [role="tablist"]::-webkit-scrollbar{display:none}
  html[data-ps-role="owner"] #root [role="tablist"]>[role="tab"]{flex:0 0 auto!important;min-height:42px!important;white-space:nowrap!important;transform:none!important}
  html[data-ps-role="owner"] #root :is(.ps-rs-toolbar,.ps-rs-override-form,.ps-rs-day,.ps-rs-override-row){max-width:100%;min-width:0}
  html[data-ps-role="owner"] #root :is(.ps-rs-body,.ps-rs-weeks,.ps-rs-preview,.ps-rs-overrides){max-width:100%;min-width:0}
}


/* Native-app bottom navigation lock: dragging the tab bar must never pan the page. */
html[data-ps-role="owner"] [data-ps-owner-tabbar-lock="1"]{
  touch-action:none!important;
  overscroll-behavior:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-drag:none!important;
  transform:translateZ(0);
  contain:layout paint style;
}
html[data-ps-role="owner"] [data-ps-owner-tabbar-lock="1"] :is(button,a,[role="button"],[role="tab"]){
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-user-drag:none!important;
}
@media(max-width:820px){
  html[data-ps-role="owner"],html[data-ps-role="owner"] body{overscroll-behavior:none!important}
  html[data-ps-role="owner"] [data-ps-owner-tabbar-lock="1"]{will-change:transform}
}


/* v94.218 — keep payroll content in document flow and away from viewport layers. */
html[data-ps-role="owner"] #ps-monthly-payment-dashboard-slot-v94-217{
  position:relative!important;inset:auto!important;z-index:0!important;isolation:isolate!important;
  transform:none!important;translate:none!important;filter:none!important;perspective:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;clear:both!important;
}
html[data-ps-role="owner"] #ps-monthly-payment-dashboard-tab-v94-53{
  position:relative!important;inset:auto!important;z-index:0!important;float:none!important;
  transform:none!important;translate:none!important;will-change:auto!important;
}

/* v94.218 — phone More sheet now follows the owner account theme. */
@media(max-width:820px){
  html[data-ps-role="owner"][data-ps-owner-theme="dark"]{color-scheme:dark}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-owner-more-backdrop="1"]{
    background-color:rgba(2,6,23,.78)!important;backdrop-filter:blur(6px)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-owner-more-sheet="1"]{
    background:#0f172a!important;border-color:#334155!important;color:#f8fafc!important;
    box-shadow:0 -22px 60px rgba(0,0,0,.55)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-owner-more-sheet="1"] :is(h1,h2,h3,h4,strong,span,p){
    color:#f8fafc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-owner-more-sheet="1"] [data-ps-owner-more-item="1"]{
    background:#172033!important;border-color:#334155!important;color:#f8fafc!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-owner-more-sheet="1"] [data-ps-owner-more-item="1"]:active{
    background:#1e3a5f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-monthly-payment-dashboard-tab-v94-53{
    background:linear-gradient(135deg,#13261e,#111827 58%,#102431)!important;
    border-color:#2f6650!important;color:#d1fae5!important;box-shadow:0 9px 24px rgba(0,0,0,.28)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-monthly-payment-dashboard-tab-v94-53 .ps-mpd-icon{
    background:#163d2b!important;color:#86efac!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ai-owner-v94-218 .ps-ai-panel{
    background:#0b1220!important;color:#e5eefb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ai-owner-v94-218 :is(.ps-ai-welcome,.assistant .ps-ai-bubble,.ps-ai-compose){
    background:#111c2f!important;border-color:#2b3b55!important;color:#e5eefb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ai-owner-v94-218 :is(.ps-ai-welcome p,.assistant .ps-ai-bubble,textarea){color:#d7e3f4!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ai-owner-v94-218 textarea{background:#0d1728!important;border-color:#334763!important}
}


/* v94.219 — preserve complete More-sheet dark mode without adding dashboard spacing. */
@media(max-width:820px){
  html[data-ps-role="owner"] body{padding-bottom:max(86px,calc(72px + env(safe-area-inset-bottom,0px)))!important}
  html[data-ps-role="owner"] #ps-monthly-payment-dashboard-slot-v94-217{margin-bottom:0!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218{background:rgba(2,6,23,.82)!important;color-scheme:dark!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 .ps-ux-sheet{background:#0b1220!important;border-color:#26354d!important;color:#f8fafc!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 :is(.ps-ux-sheet-head,.ps-ux-sheet-grid,.ps-ux-sheet-main){background:transparent!important;color:#f8fafc!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 :is(h1,h2,h3,h4,p,span,strong){color:inherit!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 .ps-ux-sheet-note{color:#a8b6ca!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 :is(.ps-ux-sheet-close,.ps-ux-sheet-action){background:#111c2e!important;border-color:#304159!important;color:#f8fafc!important;box-shadow:none!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 .ps-ux-sheet-close{background:#1e293b!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 .ps-ux-sheet-icon{background:#172a46!important;border:1px solid #2f4667!important;color:#dbeafe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-more-sheet-v94-218 .ps-ux-sheet-arrow{color:#94a3b8!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-owner-priorities-v94-218{background:linear-gradient(135deg,#101c30,#0d1728)!important;border-color:#2b405d!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-owner-priorities-v94-218 :is(h2,p){color:#f1f5f9!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ux-owner-priorities-v94-218 button{background:#17243a!important;border-color:#304159!important;color:#f8fafc!important;box-shadow:none!important}
}

/* PharmaSync v94.220 — complete owner employee surfaces in mobile night mode. */
@media(max-width:820px){
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(
    #ps-employee-control-center-list-v94-214,
    #ps-employee-control-center-dom-v94-252,
    #ps-employee-attendance-center-v94-214,
    #ps-employee-attendance-edit-v94-214,
    #ps-employee-wizard-v94-77,
    #ps-former-employees-v94-77,
    #ps-legacy-employee-sex-v94-94,
    #ps-edit-employee-identity-v94-109
  ){
    color-scheme:dark!important;
  }

  /* Employee cards before opening. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214{
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-head{
    background:linear-gradient(135deg,#101b2d 0%,#0d1828 55%,#0d2625 100%)!important;
    border-color:#2b3d56!important;
    box-shadow:0 9px 25px rgba(0,0,0,.25)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-head h2,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-name{
    color:#f8fafc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 :is(.ps-ecl-head p,.ps-ecl-user,.ps-ecl-fact span,.ps-ecl-open-copy span){
    color:#a9b8cc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-card,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"]{
    background:#101a2b!important;
    border-color:#2c3d55!important;
    color:#e7eef8!important;
    box-shadow:0 8px 24px rgba(0,0,0,.25)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-card:active,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-card:focus-visible,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"]:focus-within{
    border-color:#438f89!important;
    box-shadow:0 12px 28px rgba(0,0,0,.34)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-fact{
    background:#151f31!important;
    border-color:#2b3a50!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-fact strong{
    color:#e9f0fa!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-open{
    background:linear-gradient(90deg,#102723,#12213a)!important;
    border-color:#2a4052!important;
    color:#a7f3d0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-open-copy strong{
    color:#a7f3d0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 :is(.ps-ecl-empty,.ps-ecl-loading){
    background:#101a2b!important;
    border-color:#33455e!important;
    color:#b7c5d8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"] .ps-cc-primary-label{
    background:#112923!important;
    border-color:#285d54!important;
    color:#a7f3d0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"] .ps-cc-primary-label span{
    color:#8ddbd3!important;
  }

  /* Opened employee control center. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252{
    background:rgba(2,6,23,.86)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-shell{
    background:#09111f!important;
    border-color:#273951!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-profile,.ps-cc-footer){
    background:#0d1727!important;
    border-color:#26374d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-profile-box{
    background:#131e30!important;
    border-color:#2c3d55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-profile-box span,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-muted,.ps-cc-foot-note,.ps-cc-card-kicker,.ps-cc-card-content p,.ps-cc-section-title p,.ps-cc-fact span,.ps-cc-leave-progress-foot){
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-profile-box strong,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-card h3,.ps-cc-value,.ps-cc-section-title h3,.ps-cc-fact strong){
    color:#f1f5f9!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tabs{
    background:#101a2a!important;
    border-color:#26374d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tab{
    background:#162236!important;
    border-color:#31445f!important;
    color:#c3d0e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tab.active{
    background:#0d7b72!important;
    border-color:#33a39a!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-body{
    background:#09111f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-loading,.ps-cc-card,.ps-cc-section){
    background:#101a2b!important;
    border-color:#2b3d55!important;
    color:#dce6f3!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-card-icon,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-section-icon{
    background:#18263b!important;
    border:1px solid #2f435e!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-card-link,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-section-title,.ps-cc-action-row){
    border-color:#2a3b52!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-card-link{
    color:#70d8cf!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-fact{
    background:#151f31!important;
    border-color:#2b3c53!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next{
    background:linear-gradient(135deg,#10243b,#102035)!important;
    border-color:#345574!important;
    color:#cfe7ff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next.warning{
    background:linear-gradient(135deg,#2d2411,#362a10)!important;
    border-color:#735b24!important;
    color:#fde7a8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next.danger{
    background:linear-gradient(135deg,#33191d,#3d171c)!important;
    border-color:#75404a!important;
    color:#fecdd3!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next-icon{
    background:#17263a!important;
    border-color:#37506d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress{
    background:linear-gradient(135deg,#10271f,#111f30)!important;
    border-color:#315543!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-head{
    color:#b7d9c5!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-head strong{
    color:#86efac!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-track{
    background:#263b35!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-action.secondary{
    background:#1c2a3e!important;
    color:#e5edf7!important;
  }

  /* Scheduling screens opened from an employee card. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current,.ps-sc-next,.ps-sc-regular-panel,.ps-sc-advanced-panel){
    background:#101a2b!important;
    border-color:#2b3d55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current span,.ps-sc-next span,.ps-sc-panel-head p,.ps-sc-regular-note,.ps-sc-loading){
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current strong,.ps-sc-next strong,.ps-sc-panel-head h4,.ps-sc-day-name){
    color:#f1f5f9!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-mode-card{
    background:linear-gradient(135deg,#102822,#102039)!important;
    border-color:#315c55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-mode-card strong,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-switch{
    color:#8de5dc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-mode-card p{
    color:#a9b8cc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-panel-head,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-save-row{
    background:#131e30!important;
    border-color:#2b3d55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-day{
    border-color:#26374d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-day label{
    color:#a9b8cc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-switch,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-day input[type="time"],.ps-sc-day input[type="number"]){
    background:#0c1626!important;
    border-color:#354963!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host [id^="ps-rotation-schedule-surface-"][data-inline="1"],
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host .ps-rs-card,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host :is(.ps-rs-body,.ps-rs-toolbar,.ps-rs-foot,.ps-rs-week,.ps-rs-day){
    background:#101a2b!important;
    border-color:#2b3d55!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host :is(input,select,button:not(.ps-rs-primary)){
    background:#121f32!important;
    border-color:#354963!important;
    color:#eef4fb!important;
  }

  /* Attendance history/report opened from an employee card. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214{
    background:rgba(2,6,23,.86)!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-shell{
    background:#09111f!important;
    border-color:#273951!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-toolbar{
    background:#101a2b!important;
    border-color:#293b53!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-tab{
    background:#162236!important;
    border-color:#31445f!important;
    color:#c3d0e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-tab.active{
    background:#0d7b72!important;
    border-color:#33a39a!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-month{
    color:#b9c7d9!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-month input{
    background:#0c1626!important;
    border-color:#354963!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-body{
    background:#09111f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(.ps-ac-loading,.ps-ac-empty,.ps-ac-summary div,.ps-ac-record,.ps-ac-table-wrap){
    background:#101a2b!important;
    border-color:#2b3d55!important;
    color:#e7eef8!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-summary span,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-record span{
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-summary strong,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-record strong,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 td,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 td strong{
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 td span:not(.ps-ac-status){
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 th{
    background:#162236!important;
    color:#c3d0e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(th,td){
    border-color:#26374d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 tbody tr{
    background:#101a2b!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-action.secondary,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-record-actions button{
    background:#1c2a3e!important;
    color:#e5edf7!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .ps-ae-card{
    background:#101a2b!important;
    border:1px solid #2b3d55!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 label{
    color:#a9b8cc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 input{
    background:#0c1626!important;
    border-color:#354963!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .cancel{
    background:#1c2a3e!important;
    color:#e5edf7!important;
  }

  /* Employee add/edit/archive dialogs. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .card,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) .identity-card{
    background:#0b1423!important;
    border:1px solid #2b3d55!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .steps,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .foot{
    background:#101a2b!important;
    border-color:#2b3d55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .step-dot{
    background:#162236!important;
    border-color:#31445f!important;
    color:#c3d0e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .step-dot.active{
    background:#2563eb!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .section,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 :is(.employee-card,.report-box,.table-wrap,.empty),
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-legacy-employee-sex-v94-94 .legacy-row{
    background:#101a2b!important;
    border-color:#2b3d55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) :is(h2,h3,h4,.employee-name,.legacy-name,.fact strong,.report-box strong,.sum-row strong){
    color:#f1f5f9!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) :is(.sub,.note,.help,.employee-user,.fact span,.report-box span,.salary-help,.loading){
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 :is(label,.ps-ew-custom-day-name){
    color:#cbd5e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-edit-employee-identity-v94-109) :is(input,select),
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) .sex-choice{
    background:#0c1626!important;
    border-color:#354963!important;
    color:#eef4fb!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 input:disabled{
    background:#1a2638!important;
    color:#95a4b8!important;
    border-color:#33445b!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 :is(.day,.ps-ew-custom-week,.ps-ew-custom-day,.sum-row),
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 .fact{
    background:#151f31!important;
    border-color:#2b3c53!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-custom-day.off{
    background:#111b2b!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-custom-week h4{
    background:#172943!important;
    color:#bfdbfe!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-toggle-card{
    background:#102822!important;
    border-color:#315c55!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-toggle-copy strong,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-switch{
    color:#8de5dc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-toggle-copy span{
    color:#a4d8d2!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 table{
    background:#101a2b!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 th{
    background:#162236!important;
    color:#c3d0e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 td{
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 :is(th,td){
    border-color:#26374d!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 .locked-name-note{
    background:#2c2114!important;
    border-color:#75532c!important;
    color:#fed7aa!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-edit-employee-identity-v94-109) .ps-em-secondary,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 .cancel-identity{
    background:#1c2a3e!important;
    color:#e5edf7!important;
  }
}

/* v94.220 — remaining employee helper and status chips in mobile night mode. */
@media(max-width:820px){
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218){
    background:#102822!important;
    border-color:#315c55!important;
    color:#d1fae5!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218)>strong{
    color:#a7f3d0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218) .ps-ux-employee-steps span{
    background:#142f2a!important;
    border-color:#35665d!important;
    color:#b8f5e7!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-status{
    background:#153529!important;
    border-color:#2f6a50!important;
    color:#9ff0bd!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-status{
    background:#172943!important;
    color:#bfdbfe!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-status.present_now{
    background:#153529!important;
    color:#9ff0bd!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-status.absent,.ps-cc-status.late_not_clocked){
    background:#3a1c22!important;
    color:#fecdd3!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-status.before_shift,.ps-cc-status.day_off){
    background:#1c2939!important;
    color:#cbd5e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-status.on_leave{
    background:#382b12!important;
    color:#fde68a!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-fallback-badge{
    background:#172943!important;
    border-color:#365878!important;
    color:#bfdbfe!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 .badge{
    background:#3b2814!important;
    border:1px solid #6b4823!important;
    color:#fed7aa!important;
  }
}


/* PharmaSync v94.221 — remove the artificial page tail below the payroll card. */
@media(max-width:820px){
  html[data-ps-role="owner"] body{padding-bottom:0!important}
  html[data-ps-role="owner"] #ps-monthly-payment-dashboard-slot-v94-217{
    margin:0!important;padding:0!important;min-height:0!important;height:auto!important;
  }
  html[data-ps-role="owner"] #ps-monthly-payment-dashboard-tab-v94-53{margin-bottom:10px!important}
}

/* The AI launcher is now a real child of the owner top bar, never a dashboard overlay. */
html[data-ps-role="owner"] [data-ps-ai-owner-topbar="1"]{overflow:visible!important}


/* PharmaSync v94.222 — the invisible payroll slot must size only to its card.
   v94.217 used flex-basis:100%, which becomes a full extra height in a column dashboard. */
html[data-ps-role="owner"] #ps-monthly-payment-dashboard-slot-v94-217{
  flex:0 0 auto!important;
  flex-basis:auto!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  align-self:auto!important;
}
@media(max-width:820px){
  html[data-ps-role="owner"] #ps-monthly-payment-dashboard-slot-v94-217{
    flex:0 0 auto!important;
    flex-basis:auto!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
  }
}

/* v94.227 — pharmacy owner MOBILE dark mode completion.
   Scope is intentionally limited to phone/tablet widths; desktop remains unchanged. */
@media (max-width: 820px) {
  /* Dashboard plan card. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 {
    color-scheme: dark!important;
    background: linear-gradient(135deg,#111c2e 0%,#0b1220 58%,#10202a 100%)!important;
    border-color:#2f435e!important;
    color:#f8fafc!important;
    box-shadow:0 8px 24px rgba(0,0,0,.30)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-icon {
    background:#172a46!important;
    color:#dbeafe!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 :is(.ps-pd-title,.ps-pd-value) {
    color:#f8fafc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 :is(.ps-pd-sub,.ps-pd-label,.ps-pd-note) {
    color:#a8b6ca!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-box {
    background:#151f31!important;
    border-color:#304159!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-btn.compare {
    background:#172033!important;
    border-color:#3a4a63!important;
    color:#e5edf8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-btn.down {
    background:#352014!important;
    border-color:#7c4a22!important;
    color:#fdba74!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-status.good {background:#123626!important;color:#86efac!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-status.warning {background:#3a2714!important;color:#fdba74!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-status.expired {background:#3b1721!important;color:#fda4af!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-plan-dashboard-v94-42 .ps-pd-status.neutral {background:#263246!important;color:#cbd5e1!important}

  /* Dashboard pharmacy map card. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 {
    color-scheme:dark!important;
    background:#0b1220!important;
    border-color:#2f435e!important;
    color:#f8fafc!important;
    box-shadow:0 7px 22px rgba(0,0,0,.28)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-head {
    background:linear-gradient(135deg,#111c2e,#151f31)!important;
    border-color:#304159!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-title {color:#dbeafe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-coords {color:#a8b6ca!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-frame-wrap,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 iframe {background:#111827!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 iframe {
    filter:invert(.88) hue-rotate(180deg) brightness(.78) contrast(.92)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-hint {
    background:rgba(2,6,23,.90)!important;
    color:#f8fafc!important;
    border:1px solid #475569!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-owner-pharmacy-map-v94-45 .ps-map-open {
    background:#111c2e!important;
    border-color:#304159!important;
    color:#93c5fd!important;
  }

  /* Membership / support overlay — mobile owner only. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root {
    color-scheme:dark!important;
    background:rgba(2,6,23,.92)!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-shell {
    background:#09111f!important;
    border-color:#26374d!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-tabs,.ms-list-pane,.ms-list-head,.ms-list-filters,.ms-detail,.ms-detail-head,.ms-compose) {
    background:#0d1727!important;
    border-color:#2a3b52!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-tab {
    background:#172236!important;
    color:#c4d0e0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-tab.active {
    background:#1d4ed8!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-filter,.ms-item,.ms-empty,.ms-note,.ms-system-note) {
    background:#111c2e!important;
    border-color:#304159!important;
    color:#dce6f3!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-item.active {
    background:#142744!important;
    border-color:#3b82f6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-item-sub,.ms-item-time,.ms-detail-meta,.ms-msg-time,.ms-small,.ms-sub) {
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-list-title,.ms-item-title,.ms-detail-title,h2,h3,strong) {
    color:#f8fafc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-chat {
    background:#09111f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-msg {
    background:#162236!important;
    border-color:#304159!important;
    color:#e7eef8!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-msg.mine {
    background:#123256!important;
    border-color:#285a8e!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-compose textarea,.ms-field input,.ms-field select,.ms-field textarea) {
    background:#0b1424!important;
    border-color:#3a4a63!important;
    color:#f1f5f9!important;
    caret-color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-compose textarea,.ms-field input,.ms-field textarea)::placeholder {
    color:#8190a5!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-attach,.ms-small-btn) {
    background:#243247!important;
    border-color:#3c4d66!important;
    color:#e5edf8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-form-wrap {
    background:#09111f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-form {
    background:#101a2b!important;
    border-color:#304159!important;
    color:#e7eef8!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-section-title,
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-field label {color:#dbeafe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-suggestion {
    --issue-bg:#172033!important;
    --issue-border:#3a4a63!important;
    --issue-color:#dce6f3!important;
    background:#172033!important;
    border-color:#3a4a63!important;
    color:#dce6f3!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-suggestion-icon {
    background:#243247!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-file-preview,#ps-membership-support-info,.ps-info-box) {
    background:#132238!important;
    border-color:#315074!important;
    color:#dbeafe!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ps-info-title,.ps-info-box strong) {color:#f8fafc!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ps-info-pc,.ps-info-box) {color:#b7c5d8!important}

  /* Job marketplace — owner mobile only. */
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay {
    color-scheme:dark!important;
    background:#09111f!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-tabs,.psm-toolbar,.psm-stat,.psm-card,.psm-panel,.psm-sheet,.psm-empty) {
    background:#111c2e!important;
    border-color:#304159!important;
    color:#e7eef8!important;
    box-shadow:none!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-main {
    background:#09111f!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-tab {
    background:#172236!important;
    color:#c4d0e0!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-tab.active {
    background:#1d4ed8!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-input,.psm-select,.psm-textarea,.psm-thread-input) {
    background:#0b1424!important;
    border-color:#3a4a63!important;
    color:#f1f5f9!important;
    caret-color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-input,.psm-textarea,.psm-thread-input)::placeholder {
    color:#8190a5!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-label,.psm-card h3,.psm-section-title h2,.psm-section-title h3,.psm-sheet h2) {
    color:#f8fafc!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-muted,.psm-sub,.psm-message-meta) {
    color:#9fb0c6!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-btn.secondary,.psm-stage,.psm-modal-close,.psm-owner-refresh) {
    background:#243247!important;
    border-color:#3c4d66!important;
    color:#e5edf8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-stage.active {
    background:#1d4ed8!important;
    border-color:#3b82f6!important;
    color:#fff!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span {
    background:#263246!important;
    color:#cbd5e1!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span.done {background:#123626!important;color:#86efac!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span.current {background:#123256!important;color:#93c5fd!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-modal {
    background:rgba(2,6,23,.88)!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-chat-sheet .psm-sheet-head,.psm-chat-sheet .psm-chat-livebar,.psm-chat-sheet .psm-chat-composer) {
    background:#0d1727!important;
    border-color:#2a3b52!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-thread-messages,.psm-chat-sheet .psm-thread-messages) {
    background:#09111f!important;
    border-color:#2a3b52!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-message-row.mine .psm-message-bubble {
    background:#123256!important;
    border-color:#285a8e!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-message-row.theirs .psm-message-bubble {
    background:#162236!important;
    border-color:#304159!important;
    color:#e7eef8!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-distance-badge {
    background:#102b3d!important;
    border-color:#286787!important;
    color:#bae6fd!important;
  }
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-distance-badge strong {color:#e0f2fe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-chip {background:#25254a!important;color:#c7d2fe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.green {background:#123626!important;color:#86efac!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.orange {background:#3a2714!important;color:#fdba74!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.red {background:#3b1721!important;color:#fda4af!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.gray {background:#263246!important;color:#cbd5e1!important}
}


/* v94.228 — opened in-app support surfaces, owner MOBILE dark mode only. */
@media (max-width:820px){
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-main,.ms-list,.ms-actions){background:#09111f!important;color:#e7eef8!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-head{border-color:#2a3b52!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-form-hero h3,.ms-form-hero p){color:#fff!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-image-disabled-note{background:#352014!important;border-color:#7c4a22!important;color:#fdba74!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-error{background:#3b1721!important;border-color:#7f1d1d!important;color:#fda4af!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-file-preview button{background:#1e3a5f!important;color:#bfdbfe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-file-preview-info img{background:#0b1424!important;border-color:#315074!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-suggestion.active{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(59,130,246,.18)!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-filter-count{background:rgba(148,163,184,.18)!important;color:#dce6f3!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-filter.active .ms-filter-count{background:rgba(255,255,255,.20)!important;color:#fff!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-action.reject{background:#3b1721!important;color:#fda4af!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-field select option){background:#0b1424!important;color:#f1f5f9!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-field input[type="file"]{background:#132238!important;border-color:#315074!important;color:#bfdbfe!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root :is(.ms-image-preview-dialog,.ms-image-preview-caption){background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important}
  html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-ms-root .ms-image-preview-close{background:#263246!important;color:#f8fafc!important}
}

/* v94.238 — mobile Employees tab uses its own inline loader; never flash a full-screen cover. */
@media (max-width:820px){
  html[data-ps-role="owner"].ps-owner-employees-transition body::before,
  html[data-ps-role="owner"].ps-owner-employees-transition body::after{display:none!important;content:none!important;animation:none!important}
}

/* PharmaSync v94.365 — iPad/tablet owner viewport fit.
   The owner React shell uses its desktop/sidebar layout above 820px. These
   rules keep that shell inside the actual dynamic viewport and prevent iOS
   form-focus zoom from leaving the application visually enlarged or clipped. */
@media (min-width:821px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html[data-ps-role="owner"],
  html[data-ps-role="owner"] body{
    width:100%!important;
    max-width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  html[data-ps-role="owner"] #root{
    position:relative!important;
    width:100dvw!important;
    min-width:0!important;
    max-width:100dvw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html[data-ps-role="owner"] #root>div{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  html[data-ps-role="owner"] #root :is(div,section,main,article,nav,header,footer,form){
    min-width:0;
  }
  html[data-ps-role="owner"] #root :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    font-size:16px!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html[data-ps-role="owner"] #root :is(img,video,canvas,svg,iframe){
    max-width:100%!important;
  }
  html[data-ps-role="owner"] #root [role="dialog"]{
    max-width:calc(100dvw - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
  }
  html[data-ps-role="owner"] #root :is(table,[role="table"]){
    max-width:100%;
  }
}

/* PharmaSync v94.365 — iPad/tablet owner viewport fit.
   The owner React shell uses its desktop/sidebar layout above 820px. These
   rules keep that shell inside the actual dynamic viewport and prevent iOS
   form-focus zoom from leaving the application visually enlarged or clipped. */
@media (min-width:821px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html[data-ps-role="owner"],
  html[data-ps-role="owner"] body{
    width:100%!important;
    max-width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  html[data-ps-role="owner"] #root{
    position:relative!important;
    width:100dvw!important;
    min-width:0!important;
    max-width:100dvw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html[data-ps-role="owner"] #root>div{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  html[data-ps-role="owner"] #root :is(div,section,main,article,nav,header,footer,form){min-width:0}
  html[data-ps-role="owner"] #root :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    font-size:16px!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html[data-ps-role="owner"] #root :is(img,video,canvas,svg,iframe){max-width:100%!important}
  html[data-ps-role="owner"] #root [role="dialog"]{
    max-width:calc(100dvw - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
  }
  html[data-ps-role="owner"] #root :is(table,[role="table"]){max-width:100%}
}


/* ===== SOURCE: /employee-tablet-fit-v94-374.css ===== */
/* PharmaSync v94.374 — employee-only tablet viewport fit.
   Keeps the existing v94.372 employee shells and only constrains them to the
   real tablet viewport. No owner, admin, job-seeker, payroll or report rules. */
@media (min-width:821px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
  html[data-ps-role="staff"],
  html[data-ps-role="staff"] body{
    width:100%!important;
    max-width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    -webkit-text-size-adjust:100%!important;
    text-size-adjust:100%!important;
  }
  html[data-ps-role="staff"] #root{
    position:relative!important;
    width:100dvw!important;
    min-width:0!important;
    max-width:100dvw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html[data-ps-role="staff"] #root>div{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  html[data-ps-role="staff"] #root :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    font-size:16px!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html[data-ps-role="staff"] #root :is(img,video,canvas,svg,iframe){
    max-width:100%!important;
  }
  html[data-ps-role="staff"] #root [role="dialog"]{
    max-width:calc(100dvw - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
  }
  html[data-ps-role="staff"] #root :is(table,[role="table"]){
    max-width:100%;
  }
}


/* ===== SOURCE: /employee-tab-night-mode-v94-282.css ===== */
/* PharmaSync v94.282 — Employees tab complete night-mode adaptation.
   Scoped to the pharmacy-owner role. No layout or behavior changes. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(
  #ps-employee-control-center-list-v94-214,
  #ps-employee-control-center-dom-v94-252,
  #ps-employee-attendance-center-v94-214,
  #ps-employee-attendance-edit-v94-214,
  #ps-employee-wizard-v94-77,
  #ps-former-employees-v94-77,
  #ps-legacy-employee-sex-v94-94,
  #ps-edit-employee-identity-v94-109
){color-scheme:dark!important}

/* Employees list and native employee cards. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214{color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-head{
  background:linear-gradient(135deg,#101b2d 0%,#0d1828 55%,#0d2625 100%)!important;
  border-color:#2b3d56!important;box-shadow:0 9px 25px rgba(0,0,0,.25)!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 :is(.ps-ecl-head h2,.ps-ecl-name){color:#f8fafc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 :is(.ps-ecl-head p,.ps-ecl-user,.ps-ecl-fact span,.ps-ecl-open-copy span){color:#a9b8cc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-control-center-list-v94-214 .ps-ecl-card,[data-ps-employee-primary-card="1"]){
  background:#101a2b!important;border-color:#2c3d55!important;color:#e7eef8!important;box-shadow:0 8px 24px rgba(0,0,0,.25)!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-control-center-list-v94-214 .ps-ecl-card:hover,#ps-employee-control-center-list-v94-214 .ps-ecl-card:focus-visible,[data-ps-employee-primary-card="1"]:hover,[data-ps-employee-primary-card="1"]:focus-within){
  border-color:#438f89!important;box-shadow:0 12px 28px rgba(0,0,0,.34)!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-fact{
  background:#151f31!important;border-color:#2b3a50!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-fact strong{color:#e9f0fa!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-open{
  background:linear-gradient(90deg,#102723,#12213a)!important;border-color:#2a4052!important;color:#a7f3d0!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-open-copy strong{color:#a7f3d0!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 :is(.ps-ecl-empty,.ps-ecl-loading){
  background:#101a2b!important;border-color:#33455e!important;color:#b7c5d8!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-error{
  background:#31181e!important;border-color:#693340!important;color:#fecdd3!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-list-v94-214 .ps-ecl-status{
  background:#153529!important;border-color:#2f6a50!important;color:#9ff0bd!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"] .ps-cc-primary-label{
  background:#112923!important;border-color:#285d54!important;color:#a7f3d0!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] [data-ps-employee-primary-card="1"] .ps-cc-primary-label span{color:#8ddbd3!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218){
  background:#102822!important;border-color:#315c55!important;color:#d1fae5!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218)>strong{color:#a7f3d0!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-ux-employee-helper-v94-214,#ps-ux-employee-helper-v94-218) .ps-ux-employee-steps span{
  background:#142f2a!important;border-color:#35665d!important;color:#b8f5e7!important
}

/* Open employee control center. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252{background:rgba(2,6,23,.88)!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-shell{
  background:#09111f!important;border-color:#273951!important;color:#e7eef8!important;box-shadow:0 32px 100px rgba(0,0,0,.66)!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-profile,.ps-cc-footer){background:#0d1727!important;border-color:#26374d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-profile-box{background:#131e30!important;border-color:#2c3d55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-profile-box span,.ps-cc-muted,.ps-cc-foot-note,.ps-cc-card-kicker,.ps-cc-card-content p,.ps-cc-section-title p,.ps-cc-fact span,.ps-cc-leave-progress-foot){color:#9fb0c6!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-profile-box strong,.ps-cc-card h3,.ps-cc-value,.ps-cc-section-title h3,.ps-cc-fact strong){color:#f1f5f9!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tabs{background:#101a2a!important;border-color:#26374d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tab{background:#162236!important;border-color:#31445f!important;color:#c3d0e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tab:hover{background:#1b2a40!important;border-color:#438f89!important;color:#dffcf8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-tab.active{background:#0d7b72!important;border-color:#33a39a!important;color:#fff!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-body{background:#09111f!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-loading,.ps-cc-card,.ps-cc-section){
  background:#101a2b!important;border-color:#2b3d55!important;color:#dce6f3!important;box-shadow:none!important
}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-error{background:#31181e!important;border-color:#693340!important;color:#fecdd3!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-card-icon,.ps-cc-section-icon){background:#18263b!important;border:1px solid #2f435e!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-cc-card-link,.ps-cc-section-title,.ps-cc-action-row){border-color:#2a3b52!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-card-link{color:#70d8cf!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-fact{background:#151f31!important;border-color:#2b3c53!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next{background:linear-gradient(135deg,#10243b,#102035)!important;border-color:#345574!important;color:#cfe7ff!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next.warning{background:linear-gradient(135deg,#2d2411,#362a10)!important;border-color:#735b24!important;color:#fde7a8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next.danger{background:linear-gradient(135deg,#33191d,#3d171c)!important;border-color:#75404a!important;color:#fecdd3!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-next-icon{background:#17263a!important;border-color:#37506d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress{background:linear-gradient(135deg,#10271f,#111f30)!important;border-color:#315543!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-head{color:#b7d9c5!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-head strong{color:#86efac!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-track{background:#263b35!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-action.secondary{background:#1c2a3e!important;color:#e5edf7!important;border-color:#354963!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-cc-today-manual-note{background:#2d2411!important;border-color:#735b24!important;color:#fde7a8!important}

/* Schedule surfaces opened inside an employee profile. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current,.ps-sc-next,.ps-sc-regular-panel,.ps-sc-advanced-panel){background:#101a2b!important;border-color:#2b3d55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current span,.ps-sc-next span,.ps-sc-panel-head p,.ps-sc-regular-note,.ps-sc-loading){color:#9fb0c6!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-current strong,.ps-sc-next strong,.ps-sc-panel-head h4,.ps-sc-day-name){color:#f1f5f9!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-mode-card{background:linear-gradient(135deg,#102822,#102039)!important;border-color:#315c55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-mode-card strong,.ps-sc-switch){color:#8de5dc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-mode-card p{color:#a9b8cc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-panel-head,.ps-sc-save-row){background:#131e30!important;border-color:#2b3d55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-day{border-color:#26374d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-day label{color:#a9b8cc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(.ps-sc-switch,.ps-sc-day input[type="time"],.ps-sc-day input[type="number"],input,select,textarea){background:#0c1626!important;border-color:#354963!important;color:#eef4fb!important;-webkit-text-fill-color:#eef4fb!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 :is(input,textarea)::placeholder{color:#7f91a8!important;-webkit-text-fill-color:#7f91a8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-fallback-badge{background:#172943!important;border-color:#365878!important;color:#bfdbfe!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host [id^="ps-rotation-schedule-surface-"][data-inline="1"],
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host .ps-rs-card,
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host :is(.ps-rs-body,.ps-rs-toolbar,.ps-rs-foot,.ps-rs-week,.ps-rs-day){background:#101a2b!important;border-color:#2b3d55!important;color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-control-center-dom-v94-252 .ps-sc-advanced-host :is(input,select,button:not(.ps-rs-primary)){background:#121f32!important;border-color:#354963!important;color:#eef4fb!important}

/* Attendance history and manual editing opened from an employee profile. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214{background:rgba(2,6,23,.88)!important;color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-shell{background:#09111f!important;border-color:#273951!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-toolbar{background:#101a2b!important;border-color:#293b53!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-tab{background:#162236!important;border-color:#31445f!important;color:#c3d0e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-tab.active{background:#0d7b72!important;border-color:#33a39a!important;color:#fff!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-month{color:#b9c7d9!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-month input{background:#0c1626!important;border-color:#354963!important;color:#eef4fb!important;color-scheme:dark!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-body{background:#09111f!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(.ps-ac-loading,.ps-ac-empty,.ps-ac-summary div,.ps-ac-record,.ps-ac-table-wrap){background:#101a2b!important;border-color:#2b3d55!important;color:#e7eef8!important;box-shadow:none!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(.ps-ac-summary span,.ps-ac-record span:not(.ps-ac-status),td span:not(.ps-ac-status)){color:#9fb0c6!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(.ps-ac-summary strong,.ps-ac-record strong,td,td strong){color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 th{background:#162236!important;color:#c3d0e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(th,td){border-color:#26374d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 tbody tr{background:#101a2b!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 :is(.ps-ac-action.secondary,.ps-ac-record-actions button){background:#1c2a3e!important;color:#e5edf7!important;border-color:#354963!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-manual-reason{background:#14243a!important;border-color:#365878!important;color:#bfdbfe!important;-webkit-text-fill-color:#bfdbfe!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-center-v94-214 .ps-ac-manual-badge{background:#3b2814!important;border-color:#7a5528!important;color:#fed7aa!important;-webkit-text-fill-color:#fed7aa!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214{background:rgba(2,6,23,.88)!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .ps-ae-card{background:#101a2b!important;border-color:#2b3d55!important;color:#eef4fb!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 label{color:#a9b8cc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 :is(input,textarea){background:#0c1626!important;border-color:#354963!important;color:#eef4fb!important;-webkit-text-fill-color:#eef4fb!important;color-scheme:dark!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 :is(input,textarea)::placeholder{color:#7f91a8!important;-webkit-text-fill-color:#7f91a8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .ps-ae-reason-box{background:#14243a!important;border-color:#365878!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .ps-ae-reason-box label{color:#bfdbfe!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .ps-ae-reason-hint{color:#9fb0c6!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-attendance-edit-v94-214 .cancel{background:#1c2a3e!important;color:#e5edf7!important}

/* Add, edit, former-employee, sex and salary dialogs. */
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109){background:rgba(2,6,23,.88)!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .card,
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) .identity-card{background:#0b1423!important;border-color:#2b3d55!important;color:#eef4fb!important;box-shadow:0 28px 80px rgba(0,0,0,.58)!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .steps,
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .foot{background:#101a2b!important;border-color:#2b3d55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .step-dot{background:#162236!important;border-color:#31445f!important;color:#c3d0e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .step-dot.active{background:#2563eb!important;color:#fff!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77) .section,
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 :is(.employee-card,.report-box,.table-wrap,.empty),
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-legacy-employee-sex-v94-94 .legacy-row{background:#101a2b!important;border-color:#2b3d55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) :is(h2,h3,h4,.employee-name,.legacy-name,.fact strong,.report-box strong,.sum-row strong){color:#f1f5f9!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) :is(.sub,.note,.help,.employee-user,.fact span,.report-box span,.salary-help,.loading){color:#9fb0c6!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 :is(label,.ps-ew-custom-day-name){color:#cbd5e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-edit-employee-identity-v94-109) :is(input,select,textarea),
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-legacy-employee-sex-v94-94,#ps-edit-employee-identity-v94-109) .sex-choice{background:#0c1626!important;border-color:#354963!important;color:#eef4fb!important;-webkit-text-fill-color:#eef4fb!important;color-scheme:dark!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-edit-employee-identity-v94-109) :is(input,textarea)::placeholder{color:#7f91a8!important;-webkit-text-fill-color:#7f91a8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 input:disabled{background:#1a2638!important;color:#95a4b8!important;-webkit-text-fill-color:#95a4b8!important;border-color:#33445b!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 :is(.day,.ps-ew-custom-week,.ps-ew-custom-day,.sum-row),
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 .fact{background:#151f31!important;border-color:#2b3c53!important;color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-custom-day.off{background:#111b2b!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-custom-week h4{background:#172943!important;color:#bfdbfe!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-toggle-card{background:#102822!important;border-color:#315c55!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 :is(.ps-ew-toggle-copy strong,.ps-ew-switch){color:#8de5dc!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-employee-wizard-v94-77 .ps-ew-toggle-copy span{color:#a4d8d2!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 table{background:#101a2b!important;color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 th{background:#162236!important;color:#c3d0e1!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 td{color:#e7eef8!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 :is(th,td){border-color:#26374d!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-former-employees-v94-77 .badge{background:#3b2814!important;border-color:#6b4823!important;color:#fed7aa!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 .locked-name-note{background:#2c2114!important;border-color:#75532c!important;color:#fed7aa!important}
html[data-ps-role="owner"][data-ps-owner-theme="dark"] :is(#ps-employee-wizard-v94-77,#ps-former-employees-v94-77,#ps-edit-employee-identity-v94-109) .ps-em-secondary,
html[data-ps-role="owner"][data-ps-owner-theme="dark"] #ps-edit-employee-identity-v94-109 .cancel-identity{background:#1c2a3e!important;color:#e5edf7!important;border-color:#354963!important}


/* ===== SOURCE: /employee-schedule-night-mode-v94-383.css ===== */
/* PharmaSync v94.383 — employee schedule modal night-mode adaptation.
   Scope: employee/staff account only. No layout or behavior changes. */
html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 {
  color-scheme: dark;
  background: rgba(2, 6, 23, .84) !important;
  color: #e7eef8 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-card {
  background: #09111f !important;
  border: 1px solid #273951 !important;
  color: #e7eef8 !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-body {
  background: #09111f !important;
  color: #e7eef8 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-summary {
  background: #10243b !important;
  border: 1px solid #345574 !important;
  color: #cfe7ff !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-section,
html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-week,
html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-day {
  background: #101a2b !important;
  border-color: #2b3d55 !important;
  color: #e7eef8 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 :is(.ps-us-section h3, .ps-us-day strong, .ps-us-rule strong) {
  color: #f1f5f9 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-preview-note,
html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-source {
  color: #9fb0c6 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-preview-toggle {
  background: #1c2a3e !important;
  border: 1px solid #354963 !important;
  color: #e5edf7 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-week-title {
  background: #172943 !important;
  color: #bfdbfe !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-rule {
  background: #111c2d !important;
  border-color: #26374d !important;
  color: #dce6f3 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 :is(.ps-us-rule.off, .ps-us-day.off) {
  background: #151f31 !important;
  color: #9fb0c6 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-day.today {
  border-color: #60a5fa !important;
  box-shadow: inset 0 0 0 1px #2563eb !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-cycle {
  background: #2b2144 !important;
  color: #d8b4fe !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-override {
  background: #2d2411 !important;
  border-color: #735b24 !important;
  color: #fde7a8 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-error {
  background: #31181e !important;
  color: #fecdd3 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  [data-ps-owner-theme="dark"],
  .dark
) #ps-upcoming-schedule-modal-v94-170 .ps-us-body > div[style*="color:#64748b"] {
  color: #9fb0c6 !important;
}

/* v95.20za — canonical Employee dashboard Active Schedule dark text parity.
   Light-mode values and schedule/status logic remain untouched. */
html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] [data-ps-role="title"] {
  color: #aab8ca !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] [data-ps-role="primary"] {
  color: #93c5fd !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] [data-ps-role="next"] {
  color: #cbd5e1 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] [data-ps-role="mode"][style*="color:#166534"] {
  color: #86efac !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] [data-ps-role="mode"][style*="color:#7c3aed"] {
  color: #c4b5fd !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] :is(
  [data-ps-role="title"],
  [data-ps-role="primary"]
)[style*="color:#b45309"] {
  color: #fdba74 !important;
}

html[data-ps-role="staff"]:is(
  [data-ps-ui-theme="dark"],
  [data-ps-dashboard-theme="dark"],
  .dark
) [data-ps-employee-active-schedule-canonical-host="1"] div[style*="color:#64748b"] {
  color: #aab8ca !important;
}



/* ===== SOURCE: /app-shell-v94-414.css ===== */
html{color-scheme:light}input,textarea{outline:none}html,body{height:100%}body{overflow:hidden}#root{display:flex;height:100%;flex:1}


/* v94.414 — lock-screen complete logout is compact from the first paint.
   Exact aria-label selectors override the legacy React Native inline dimensions
   before any post-render enhancement code runs. */
[aria-label="تسجيل خروج كامل"],
[aria-label="Déconnexion complète"],
[data-ps-lockscreen-logout-compact-v94-414="1"] {
  width: auto !important;
  max-width: 230px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 9px 16px !important;
  margin-top: 18px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 11px !important;
  border-width: 1px !important;
  box-shadow: none !important;
  align-self: center !important;
}
[aria-label="تسجيل خروج كامل"] > *,
[aria-label="Déconnexion complète"] > *,
[data-ps-lockscreen-logout-compact-v94-414="1"] > * {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  [aria-label="تسجيل خروج كامل"],
  [aria-label="Déconnexion complète"],
  [data-ps-lockscreen-logout-compact-v94-414="1"] {
    max-width: 190px !important;
    min-height: 38px !important;
    padding: 7px 12px !important;
    margin-top: 14px !important;
    border-radius: 10px !important;
  }
  [aria-label="تسجيل خروج كامل"] > *,
  [aria-label="Déconnexion complète"] > *,
  [data-ps-lockscreen-logout-compact-v94-414="1"] > * {
    font-size: 13.5px !important;
    line-height: 18px !important;
  }
}
@media (max-width: 360px) {
  [aria-label="تسجيل خروج كامل"],
  [aria-label="Déconnexion complète"],
  [data-ps-lockscreen-logout-compact-v94-414="1"] {
    max-width: 176px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
  }
  [aria-label="تسجيل خروج كامل"] > *,
  [aria-label="Déconnexion complète"] > *,
  [data-ps-lockscreen-logout-compact-v94-414="1"] > * {
    font-size: 13px !important;
  }
}

/* v94.424: dedicated pharmacy-owner Logs scroll viewport (AR + FR). */
#ps-owner-logs-scroll-v94-424 {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}


/* ===== SOURCE: /job-support-night-mode-v94-283.css ===== */
/* PharmaSync v94.283 — complete Job Seekers / Marketplace / Support night mode. */
html[data-ps-ui-theme="dark"]{color-scheme:dark!important}

/* Job marketplace and job-seeker account — owner, platform admin and seeker; PC + phone. */
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay{
  background:#09111f!important;color:#e7eef8!important;color-scheme:dark!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-main{background:#09111f!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-tabs,.psm-toolbar,.psm-stat,.psm-card,.psm-panel,.psm-sheet,.psm-empty){
  background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important;box-shadow:none!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-card h3,.psm-section-title h2,.psm-section-title h3,.psm-sheet h2,.psm-label,.psm-stat strong){color:#f8fafc!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-muted,.psm-sub,.psm-message-meta,.psm-stat span){color:#9fb0c6!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-tabs{border-bottom-color:#2a3b52!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-tab{background:#172236!important;color:#c4d0e0!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-tab.active{background:#1d4ed8!important;color:#fff!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-tab-badge{box-shadow:0 0 0 2px #172236!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-tab.active .psm-tab-badge{background:#fee2e2!important;color:#b91c1c!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-input,.psm-select,.psm-textarea,.psm-thread-input){
  background:#0b1424!important;border-color:#3a4a63!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;caret-color:#fff!important;color-scheme:dark!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-input,.psm-textarea,.psm-thread-input)::placeholder{color:#8190a5!important;-webkit-text-fill-color:#8190a5!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-select option{background:#0b1424!important;color:#f1f5f9!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-btn.secondary,.psm-stage,.psm-modal-close,.psm-owner-refresh){
  background:#243247!important;border-color:#3c4d66!important;color:#e5edf8!important;box-shadow:none!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-stage.active{background:#1d4ed8!important;border-color:#3b82f6!important;color:#fff!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span{background:#263246!important;color:#cbd5e1!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span.done{background:#123626!important;color:#86efac!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-progress span.current{background:#123256!important;color:#93c5fd!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-modal{background:rgba(2,6,23,.88)!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chat-modal .psm-chat-sheet,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chat-modal.psm-chat-desktop .psm-chat-sheet{
  background:#0d1727!important;border-color:#3b506c!important;border-top-color:#3b82f6!important;color:#e7eef8!important;box-shadow:0 24px 70px rgba(0,0,0,.62)!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-chat-sheet .psm-sheet-head,.psm-chat-sheet .psm-chat-livebar,.psm-chat-sheet .psm-chat-composer),
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chat-modal.psm-chat-desktop .psm-chat-sheet :is(.psm-sheet-head,.psm-chat-livebar,.psm-chat-composer){
  background:#0d1727!important;border-color:#2a3b52!important;color:#e7eef8!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-thread-messages,.psm-chat-sheet .psm-thread-messages),
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chat-modal.psm-chat-desktop .psm-chat-sheet .psm-thread-messages{
  background:#09111f!important;border-color:#2a3b52!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-message-row.mine .psm-message-bubble{background:#123256!important;border-color:#285a8e!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-message-row.theirs .psm-message-bubble{background:#162236!important;border-color:#304159!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-distance-badge{background:#102b3d!important;border-color:#286787!important;color:#bae6fd!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-distance-badge strong{color:#e0f2fe!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chip{background:#25254a!important;color:#c7d2fe!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.green{background:#123626!important;color:#86efac!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.orange{background:#3a2714!important;color:#fdba74!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.red{background:#3b1721!important;color:#fda4af!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-chip.gray{background:#263246!important;color:#cbd5e1!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-error{background:#3b1721!important;border-color:#7f1d1d!important;color:#fda4af!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-success{background:#123626!important;border-color:#23623f!important;color:#86efac!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-loading{color:#93c5fd!important}

/* Native Job Seekers / Platform Admin cards that still use React inline light colors. */
html[data-ps-ui-theme="dark"] [data-ps-job-support-night-surface="1"]{
  background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important;box-shadow:none!important
}
html[data-ps-ui-theme="dark"] [data-ps-job-support-night-surface="1"] [data-ps-job-support-night-text="primary"]{color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important}
html[data-ps-ui-theme="dark"] [data-ps-job-support-night-surface="1"] [data-ps-job-support-night-text="muted"]{color:#a8b7ca!important;-webkit-text-fill-color:#a8b7ca!important}
html[data-ps-ui-theme="dark"] [data-ps-job-support-night-surface="1"] :is(input,textarea,select){background:#0b1424!important;border-color:#3a4a63!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;color-scheme:dark!important}

/* In-app membership and technical-support center — owner and platform admin, PC + phone. */
html[data-ps-ui-theme="dark"] #ps-ms-root{background:rgba(2,6,23,.88)!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-shell{background:#09111f!important;border-color:#304159!important;color:#e7eef8!important;box-shadow:0 35px 100px rgba(0,0,0,.62)!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-tabs,.ms-list-pane,.ms-list-head,.ms-list-filters,.ms-detail,.ms-detail-head,.ms-chat,.ms-compose,.ms-form,.ms-actions){background:#0d1727!important;border-color:#2a3b52!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-item,.ms-empty,.ms-msg,.ms-form-card,.ms-suggestion,#ps-membership-support-info,.ps-info-box,.ms-file-preview){background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important;box-shadow:none!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-item-title,.ms-detail-title,.ms-list-title,.ms-section-title,.ms-form h3,.ms-form-hero h3,.ps-info-title,.ps-info-box strong,.ms-empty strong){color:#f8fafc!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-item-sub,.ms-item-time,.ms-detail-meta,.ms-msg-time,.ms-form-hero p,.ps-info-pc,.ms-empty p){color:#9fb0c6!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-item:hover,
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-item.active{background:#172943!important;border-color:#3b82f6!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-tab{background:#172236!important;color:#c4d0e0!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-tab.active{background:#1d4ed8!important;color:#fff!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-filter,.ms-small-btn,.ms-secondary,.ms-attach,.ms-file-preview button){background:#243247!important;border-color:#3c4d66!important;color:#e5edf8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-filter.active{background:#1d4ed8!important;border-color:#3b82f6!important;color:#fff!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(input,textarea,select){background:#0b1424!important;border-color:#3a4a63!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;caret-color:#fff!important;color-scheme:dark!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(input,textarea)::placeholder{color:#8190a5!important;-webkit-text-fill-color:#8190a5!important}
html[data-ps-ui-theme="dark"] #ps-ms-root select option{background:#0b1424!important;color:#f1f5f9!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-msg.mine{background:#123256!important;border-color:#285a8e!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-msg.other{background:#162236!important;border-color:#304159!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-error{background:#3b1721!important;border-color:#7f1d1d!important;color:#fda4af!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-image-disabled-note{background:#352014!important;border-color:#7c4a22!important;color:#fdba74!important}
html[data-ps-ui-theme="dark"] #ps-ms-root :is(.ms-image-preview-dialog,.ms-image-preview-caption){background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #ps-ms-root .ms-image-preview-close{background:#263246!important;color:#f8fafc!important}

/* Standalone/embedded owner-support.html — all viewport sizes. */
html[data-ps-ui-theme="dark"],html[data-ps-owner-theme="dark"]{background:#09111f!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] body,html[data-ps-owner-theme="dark"] body,
html[data-ps-ui-theme="dark"] #support-app,html[data-ps-owner-theme="dark"] #support-app,
html[data-ps-ui-theme="dark"] .support-page,html[data-ps-owner-theme="dark"] .support-page{background:#09111f!important;color:#e7eef8!important}
html[data-ps-ui-theme="dark"] #support-app :is(.layout,.sidebar,.content,.main-tabs,.sidebar-head,.ticket-head,.composer,.form-wrap),
html[data-ps-owner-theme="dark"] #support-app :is(.layout,.sidebar,.content,.main-tabs,.sidebar-head,.ticket-head,.composer,.form-wrap){background:#0d1727!important;border-color:#2a3b52!important;color:#e7eef8!important;box-shadow:none!important}
html[data-ps-ui-theme="dark"] #support-app :is(.ticket,.support-form,.plan-card,.empty,.loading-card,.error-card,.message),
html[data-ps-owner-theme="dark"] #support-app :is(.ticket,.support-form,.plan-card,.empty,.loading-card,.error-card,.message){background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important;box-shadow:none!important}
html[data-ps-ui-theme="dark"] #support-app .ticket:hover,html[data-ps-ui-theme="dark"] #support-app .ticket.active,
html[data-ps-owner-theme="dark"] #support-app .ticket:hover,html[data-ps-owner-theme="dark"] #support-app .ticket.active{background:#172943!important;border-color:#3b82f6!important}
html[data-ps-ui-theme="dark"] #support-app :is(.ticket-title,.ticket-head h2,.support-form h2,.field label,.plan-card strong,.empty strong,.loading-card strong),
html[data-ps-owner-theme="dark"] #support-app :is(.ticket-title,.ticket-head h2,.support-form h2,.field label,.plan-card strong,.empty strong,.loading-card strong){color:#f8fafc!important}
html[data-ps-ui-theme="dark"] #support-app :is(.ticket-meta,.ticket-preview,.ticket-head p,.support-form>p,.plan-card small,.empty,.message-time),
html[data-ps-owner-theme="dark"] #support-app :is(.ticket-meta,.ticket-preview,.ticket-head p,.support-form>p,.plan-card small,.empty,.message-time){color:#9fb0c6!important}
html[data-ps-ui-theme="dark"] #support-app :is(.field input,.field textarea,.field select,.composer textarea),
html[data-ps-owner-theme="dark"] #support-app :is(.field input,.field textarea,.field select,.composer textarea){background:#0b1424!important;border-color:#3a4a63!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;color-scheme:dark!important}
html[data-ps-ui-theme="dark"] #support-app .message.mine,html[data-ps-owner-theme="dark"] #support-app .message.mine{background:#123256!important;border-color:#285a8e!important}
html[data-ps-ui-theme="dark"] #support-app .message.other,html[data-ps-owner-theme="dark"] #support-app .message.other{background:#162236!important;border-color:#304159!important}
html[data-ps-ui-theme="dark"] #support-app :is(.main-tab,.secondary-btn,.attach-btn,.mobile-list-btn),
html[data-ps-owner-theme="dark"] #support-app :is(.main-tab,.secondary-btn,.attach-btn,.mobile-list-btn){background:#243247!important;border-color:#3c4d66!important;color:#e5edf8!important}
html[data-ps-ui-theme="dark"] #support-app .main-tab.active,html[data-ps-owner-theme="dark"] #support-app .main-tab.active{background:#1d4ed8!important;color:#fff!important}
html[data-ps-ui-theme="dark"] #support-app .attachment-preview,html[data-ps-owner-theme="dark"] #support-app .attachment-preview{background:#132238!important;border-color:#315074!important;color:#dbeafe!important}
html[data-ps-ui-theme="dark"] #support-app .payment-box,html[data-ps-owner-theme="dark"] #support-app .payment-box{background:#352914!important;border-color:#826426!important;color:#fde68a!important}
html[data-ps-ui-theme="dark"] #support-app .closed-note,html[data-ps-owner-theme="dark"] #support-app .closed-note{background:#172236!important;border-color:#304159!important;color:#cbd5e1!important}

/* Native React Job Seeker / Platform Admin fallbacks for hard-coded inline colors. */
html[data-ps-ui-theme="dark"][data-ps-role="seeker"] #root [style*="background-color: rgb(255, 255, 255)"],
html[data-ps-ui-theme="dark"][data-ps-role="super_admin"] #root [style*="background-color: rgb(255, 255, 255)"]{background-color:#111c2e!important}
html[data-ps-ui-theme="dark"][data-ps-role="seeker"] #root :is([style*="background-color: rgb(248, 250, 252)"],[style*="background-color: rgb(244, 247, 251)"],[style*="background-color: rgb(241, 245, 249)"]),
html[data-ps-ui-theme="dark"][data-ps-role="super_admin"] #root :is([style*="background-color: rgb(248, 250, 252)"],[style*="background-color: rgb(244, 247, 251)"],[style*="background-color: rgb(241, 245, 249)"]){background-color:#0d1727!important}
html[data-ps-ui-theme="dark"][data-ps-role="seeker"] #root :is([style*="color: rgb(15, 23, 42)"],[style*="color: rgb(13, 27, 46)"]),
html[data-ps-ui-theme="dark"][data-ps-role="super_admin"] #root :is([style*="color: rgb(15, 23, 42)"],[style*="color: rgb(13, 27, 46)"]){color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important}
html[data-ps-ui-theme="dark"][data-ps-role="seeker"] #root :is([style*="color: rgb(71, 85, 105)"],[style*="color: rgb(100, 116, 139)"],[style*="color: rgb(82, 96, 114)"]),
html[data-ps-ui-theme="dark"][data-ps-role="super_admin"] #root :is([style*="color: rgb(71, 85, 105)"],[style*="color: rgb(100, 116, 139)"],[style*="color: rgb(82, 96, 114)"]){color:#a8b7ca!important;-webkit-text-fill-color:#a8b7ca!important}
html[data-ps-ui-theme="dark"][data-ps-role="seeker"] #root :is(input,textarea,select),
html[data-ps-ui-theme="dark"][data-ps-role="super_admin"] #root :is(input,textarea,select){color-scheme:dark}


/* ===== SOURCE: /job-marketplace-professional-v94-512.css ===== */
/* PharmaSync v94.512 — dark-mode coverage for the professional Job Marketplace UI additions. */
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-filter-panel{
  background:#111c2e!important;border-color:#304159!important;color:#e7eef8!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-filter-panel>summary{
  color:#dbe7f5!important;border-color:#2a3b52!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-advanced-toolbar{
  background:#0d1727!important;border-color:#304159!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-job-pharmacy,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-job-highlights strong,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-terms-title{
  color:#f1f5f9!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-job-highlights>div,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-details,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-reasons span,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-grid>div{
  background:#0d1727!important;border-color:#304159!important;color:#e7eef8!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay :is(.psm-job-highlights span,.psm-job-line,.psm-job-description,.psm-job-deadline,.psm-match-details p,.psm-match-details summary,.psm-offer-grid span){
  color:#9fb0c6!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-job-deadline{border-color:#304159!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-badge{
  background:#25254a!important;color:#c7d2fe!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-badge.excellent{background:#123626!important;color:#86efac!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-badge.strong{background:#123256!important;color:#93c5fd!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-match-badge.good{background:#3a2f14!important;color:#fde68a!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-terms{
  background:#352914!important;border-color:#826426!important;color:#fde68a!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-terms.accepted,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-box.accepted{
  background:#123626!important;border-color:#23623f!important;color:#86efac!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-terms.declined,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-terms.expired,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-box.declined,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-offer-box.expired{
  background:#172236!important;border-color:#304159!important;color:#cbd5e1!important
}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-owner-contact-inline{
  background:#10233b!important;border-color:#315074!important;color:#dbeafe!important
}


/* ===== SOURCE: /job-marketplace-desktop-compact-cards-v94-540.css ===== */
/* PharmaSync v94.540 — Job Seeker Marketplace desktop Offers density.
   Fine-pointer desktop only. Mobile/tablet layouts and marketplace logic are untouched. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  #ps-marketplace-pro-overlay.psm-seeker .psm-main {
    max-width: 1280px !important;
    padding: 10px 14px 28px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-j-list > .psm-discovery-card {
    margin-bottom: 10px !important;
    border-radius: 14px !important;
    border-top-width: 3px !important;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .065) !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-j-list > .psm-discovery-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .09) !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-topbar {
    gap: 10px !important;
    padding: 9px 12px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-kicker {
    font-size: 9px !important;
    margin-bottom: 2px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-title h3 {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-state .psm-chip {
    padding: 4px 7px !important;
    font-size: 10px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-body {
    padding: 10px 12px 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer {
    gap: 10px !important;
    margin-bottom: 7px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer-main {
    gap: 8px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-avatar {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    font-size: 14px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-pharmacy {
    font-size: 14px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-location {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-top: 1px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-distance {
    gap: 3px !important;
    margin-inline-start: 3px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-display {
    gap: 4px !important;
    padding: 4px 6px !important;
    font-size: 10px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-shell,
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-shell svg {
    width: 13px !important;
    height: 13px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-fill {
    height: 13px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-number {
    font-size: 11px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-count,
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-text {
    font-size: 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match {
    grid-template-columns: minmax(108px, auto) 78px auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    gap: 7px !important;
    margin: 7px 0 8px !important;
    padding: 6px 8px !important;
    border-radius: 10px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match-copy span {
    font-size: 8px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match-copy strong,
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match > b {
    font-size: 11px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-meter {
    width: 78px !important;
    height: 6px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts {
    gap: 5px !important;
    margin: 0 0 8px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts > div {
    min-height: 49px !important;
    padding: 6px 7px !important;
    border-radius: 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts span {
    font-size: 9px !important;
    margin-bottom: 1px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts strong {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts .psm-discovery-salary strong {
    font-size: 12px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match-details {
    margin: 0 0 7px !important;
    padding: 6px 8px !important;
    border-radius: 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-match-details summary {
    font-size: 11px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-match-reasons {
    gap: 4px !important;
    margin-top: 5px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-match-reasons span {
    padding: 3px 6px !important;
    font-size: 10px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-match-details p {
    margin-top: 5px !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-details {
    margin-top: 6px !important;
    border-radius: 10px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-description {
    padding: 7px 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-description > span {
    margin-bottom: 2px !important;
    font-size: 8px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-description p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-detail-row {
    grid-template-columns: minmax(68px, 92px) 1fr !important;
    gap: 7px !important;
    padding: 6px 9px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions {
    gap: 6px !important;
    padding: 8px 12px 9px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions .psm-btn {
    min-height: 36px !important;
    padding: 7px 10px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
  }
}

/* Wide PC: use the available horizontal space instead of stretching one mobile-style card across the screen. */
@media (min-width: 1080px) and (hover: hover) and (pointer: fine) {
  #ps-marketplace-pro-overlay.psm-seeker .psm-j-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
    align-items: start !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-j-list > .psm-discovery-card {
    margin-bottom: 0 !important;
    min-width: 0 !important;
  }
}


/* ===== SOURCE: /job-marketplace-mobile-compact-cards-v94-541.css ===== */
/* PharmaSync v94.541 — Job Seeker Marketplace mobile Offers density.
   Phone-only. Preserves v94.540 desktop layout and all marketplace logic. */
@media (max-width: 760px) {
  #ps-marketplace-pro-overlay.psm-seeker .psm-j-list > .psm-discovery-card {
    margin-bottom: 10px !important;
    border-radius: 14px !important;
    border-top-width: 3px !important;
    box-shadow: 0 5px 16px rgba(15,23,42,.065) !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-topbar {
    flex-direction: row !important; align-items: center !important;
    gap: 8px !important; padding: 8px 10px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-title { min-width: 0 !important; flex: 1 1 auto !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-kicker { font-size: 8px !important; margin-bottom: 1px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-title h3 {
    font-size: 16px !important; line-height: 1.25 !important; white-space: normal !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-state { align-self: center !important; flex: 0 0 auto !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-state .psm-chip { padding: 4px 7px !important; font-size: 9px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-body { padding: 9px 10px 8px !important; }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer {
    display: grid !important; grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important; gap: 8px !important; margin-bottom: 6px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer-main { gap: 7px !important; min-width: 0 !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-avatar {
    width: 36px !important; height: 36px !important; flex-basis: 36px !important; font-size: 13px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-pharmacy { font-size: 13px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-employer .psm-job-location {
    font-size: 10px !important; line-height: 1.3 !important; margin-top: 1px !important;
    display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-distance { gap: 2px !important; margin-inline-start: 2px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-reputation {
    margin-inline-start: 0 !important; max-width: 42vw !important; min-width: 0 !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-display { gap: 3px !important; padding: 3px 5px !important; font-size: 9px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-shell,
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-shell svg { width: 12px !important; height: 12px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-star-fill { height: 12px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-number { font-size: 10px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-count,
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-text { font-size: 8px !important; }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match {
    grid-template-columns: minmax(0,1fr) auto !important; gap: 5px 7px !important;
    margin: 6px 0 7px !important; padding: 6px 8px !important; border-radius: 10px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match-copy span { font-size: 8px !important; margin-bottom: 0 !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match-copy strong,
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-match > b { font-size: 11px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-meter {
    grid-column: 1/-1 !important; grid-row: 2 !important; width: 100% !important; height: 5px !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 5px !important; margin: 0 0 6px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts > div {
    min-height: 47px !important; padding: 5px 7px !important; border-radius: 9px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts span { font-size: 8px !important; margin-bottom: 1px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts strong { font-size: 11px !important; line-height: 1.25 !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-facts .psm-discovery-salary strong { font-size: 12px !important; }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-card.psm-mobile-offer-card-v541 .psm-discovery-match-details,
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-card.psm-mobile-offer-card-v541 .psm-discovery-details { display: none !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-card.psm-mobile-offer-card-v541.psm-mobile-details-open-v541 .psm-discovery-match-details,
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-card.psm-mobile-offer-card-v541.psm-mobile-details-open-v541 .psm-discovery-details { display: block !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-toggle-v541 {
    width: 100%; border: 0; border-top: 1px solid #e8edf4; background: transparent; color: #2563eb;
    padding: 7px 2px 2px; margin: 2px 0 0; font: inherit; font-size: 11px; font-weight: 900;
    display: flex; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-toggle-v541::after { content: '⌄'; font-size: 14px; line-height: 1; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-mobile-details-toggle-v541::after { content: '⌃'; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-discovery-match-details {
    margin: 6px 0 !important; padding: 6px 8px !important; border-radius: 9px !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-match-details summary { font-size: 11px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-discovery-details { margin-top: 6px !important; border-radius: 10px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-discovery-description { padding: 7px 9px !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-discovery-description p { font-size: 11px !important; line-height: 1.45 !important; }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-open-v541 .psm-discovery-detail-row {
    grid-template-columns: minmax(66px,82px) 1fr !important; gap: 7px !important; padding: 6px 9px !important; font-size: 10px !important; line-height: 1.35 !important;
  }

  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions {
    display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 6px !important; padding: 8px 10px 9px !important; align-items: stretch !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions .psm-btn {
    width: 100% !important; min-height: 42px !important; margin: 0 !important; padding: 7px 8px !important;
    border-radius: 9px !important; font-size: 11px !important; line-height: 1.25 !important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions .psm-report-subtle {
    grid-column: 1/-1 !important; min-height: 30px !important; padding: 4px 7px !important;
    margin-inline-start: 0 !important; background: transparent !important; border-color: transparent !important;
    box-shadow: none !important; opacity: .78; font-size: 10px !important;
  }
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-toggle-v541 {
    border-top-color: #334155; color: #93c5fd;
  }
}


/* ===== SOURCE: /job-seeker-profile-conversations-modern-v94-542.css ===== */
/* PharmaSync v94.542 — Job Seeker Profile + Conversations modern UI
   Scoped to Job Marketplace seeker views only. */
#ps-marketplace-pro-overlay .psm-profile-modern,
#ps-marketplace-pro-overlay .psm-conversations-modern{width:100%}

/* Shared modern section heading */
#ps-marketplace-pro-overlay .psm-modern-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:2px 0 16px}
#ps-marketplace-pro-overlay .psm-modern-page-head .psm-modern-eyebrow{font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:#2563eb;margin-bottom:7px}
#ps-marketplace-pro-overlay .psm-modern-page-head h2{margin:0;font-size:24px;line-height:1.15;letter-spacing:-.02em;color:#0f172a}
#ps-marketplace-pro-overlay .psm-modern-page-head p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.5}

/* Profile hero */
#ps-marketplace-pro-overlay .psm-profile-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:20px 22px;margin-bottom:14px;border:1px solid #dbe6f3;border-radius:20px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 62%,#eef6ff 100%);box-shadow:0 12px 34px rgba(15,23,42,.07)}
#ps-marketplace-pro-overlay .psm-profile-hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;inset:-112px -66px auto auto;background:radial-gradient(circle,rgba(37,99,235,.14),rgba(37,99,235,0) 70%);pointer-events:none}
#ps-marketplace-pro-overlay[dir="rtl"] .psm-profile-hero:after{inset:-112px auto auto -66px}
#ps-marketplace-pro-overlay .psm-profile-avatar{position:relative;z-index:1;width:64px;height:64px;display:grid;place-items:center;flex:0 0 64px;border-radius:18px;background:linear-gradient(145deg,#1d4ed8,#0f766e);color:#fff;font-size:25px;font-weight:950;box-shadow:0 8px 22px rgba(29,78,216,.22)}
#ps-marketplace-pro-overlay .psm-profile-hero-copy{position:relative;z-index:1;min-width:0;flex:1}
#ps-marketplace-pro-overlay .psm-profile-hero-kicker{font-size:11px;font-weight:900;color:#2563eb;letter-spacing:.06em;margin-bottom:4px}
#ps-marketplace-pro-overlay .psm-profile-hero h2{margin:0;color:#0f172a;font-size:23px;line-height:1.2;overflow-wrap:anywhere}
#ps-marketplace-pro-overlay .psm-profile-hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin-top:8px;color:#64748b;font-size:12px;font-weight:750}
#ps-marketplace-pro-overlay .psm-profile-hero-meta span{display:inline-flex;align-items:center;gap:5px}
#ps-marketplace-pro-overlay .psm-profile-status{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;font-size:12px;font-weight:900;white-space:nowrap}
#ps-marketplace-pro-overlay .psm-profile-status.is-hidden{border-color:#e2e8f0;background:#f8fafc;color:#64748b}
#ps-marketplace-pro-overlay .psm-profile-status-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}
#ps-marketplace-pro-overlay .psm-profile-status.is-hidden .psm-profile-status-dot{background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.12)}

/* Profile form blocks */
#ps-marketplace-pro-overlay .psm-profile-form-modern{display:grid;gap:14px;padding:0!important;margin:0 0 14px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#ps-marketplace-pro-overlay .psm-profile-block{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.045)}
#ps-marketplace-pro-overlay .psm-profile-block-head{display:flex;align-items:center;gap:11px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #edf2f7}
#ps-marketplace-pro-overlay .psm-profile-block-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:#eff6ff;color:#1d4ed8}
#ps-marketplace-pro-overlay .psm-profile-block-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ps-marketplace-pro-overlay .psm-profile-block-head h3{margin:0;font-size:16px;color:#0f172a}
#ps-marketplace-pro-overlay .psm-profile-block-head p{margin:3px 0 0;color:#64748b;font-size:11.5px;line-height:1.45}
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-label{font-size:11.5px;color:#475569;margin-bottom:6px}
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-input,
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-select,
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-textarea{border-radius:11px;border-color:#dbe4ef;background:#fbfdff;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-input:focus,
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-select:focus,
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-textarea:focus{outline:none;border-color:#60a5fa;background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
#ps-marketplace-pro-overlay .psm-profile-form-modern .psm-textarea{min-height:92px;resize:vertical}
#ps-marketplace-pro-overlay .psm-profile-visibility{display:flex;align-items:center;gap:12px;padding:12px 13px;border:1px solid #dbeafe;border-radius:13px;background:#f8fbff;cursor:pointer}
#ps-marketplace-pro-overlay .psm-profile-visibility>input{position:absolute;opacity:0;pointer-events:none}
#ps-marketplace-pro-overlay .psm-profile-toggle{width:43px;height:24px;border-radius:999px;background:#cbd5e1;padding:3px;flex:0 0 43px;transition:background .16s ease}
#ps-marketplace-pro-overlay .psm-profile-toggle:before{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.28);transition:transform .16s ease}
#ps-marketplace-pro-overlay .psm-profile-visibility>input:checked + .psm-profile-toggle{background:#22c55e}
#ps-marketplace-pro-overlay .psm-profile-visibility>input:checked + .psm-profile-toggle:before{transform:translateX(19px)}
#ps-marketplace-pro-overlay[dir="rtl"] .psm-profile-visibility>input:checked + .psm-profile-toggle:before{transform:translateX(-19px)}
#ps-marketplace-pro-overlay .psm-profile-visibility-copy strong{display:block;color:#0f172a;font-size:12.5px}
#ps-marketplace-pro-overlay .psm-profile-visibility-copy small{display:block;color:#64748b;font-size:11px;margin-top:2px;line-height:1.35}
#ps-marketplace-pro-overlay .psm-profile-savebar{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dbeafe;border-radius:15px;background:linear-gradient(135deg,#f8fbff,#eff6ff)}
#ps-marketplace-pro-overlay .psm-profile-savebar .psm-btn{min-width:190px;min-height:42px;border-radius:11px}

/* Location/password utilities */
#ps-marketplace-pro-overlay .psm-profile-utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#ps-marketplace-pro-overlay .psm-profile-utility-card{margin:0!important;padding:17px!important;border-radius:18px!important;box-shadow:0 6px 20px rgba(15,23,42,.045)!important}
#ps-marketplace-pro-overlay .psm-profile-utility-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
#ps-marketplace-pro-overlay .psm-profile-utility-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:#f1f5f9;color:#334155}
#ps-marketplace-pro-overlay .psm-profile-utility-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#ps-marketplace-pro-overlay .psm-profile-utility-head h3{margin:0;font-size:15px;color:#0f172a}
#ps-marketplace-pro-overlay .psm-profile-utility-head p{margin:3px 0 0;color:#64748b;font-size:11.5px;line-height:1.4}
#ps-marketplace-pro-overlay .psm-profile-utility-card .psm-actions{margin-top:10px}
#ps-marketplace-pro-overlay .psm-password-form .psm-form-grid{grid-template-columns:1fr}

/* Conversation list */
#ps-marketplace-pro-overlay .psm-conversations-modern .psm-st-list{display:grid;gap:9px}
#ps-marketplace-pro-overlay .psm-seeker-thread-card{position:relative;margin:0!important;padding:0!important;border-radius:16px!important;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
#ps-marketplace-pro-overlay .psm-seeker-thread-card:hover{transform:translateY(-1px);border-color:#cbd8e7;box-shadow:0 9px 25px rgba(15,23,42,.08)}
#ps-marketplace-pro-overlay .psm-seeker-thread-card.is-unread{border-color:#bfdbfe;box-shadow:inset 3px 0 0 #2563eb,0 6px 18px rgba(37,99,235,.07)}
#ps-marketplace-pro-overlay[dir="rtl"] .psm-seeker-thread-card.is-unread{box-shadow:inset -3px 0 0 #2563eb,0 6px 18px rgba(37,99,235,.07)}
#ps-marketplace-pro-overlay .psm-seeker-thread-main{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px}
#ps-marketplace-pro-overlay .psm-seeker-thread-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#eff6ff,#e0f2fe);border:1px solid #bfdbfe;color:#1d4ed8;font-size:18px;font-weight:950}
#ps-marketplace-pro-overlay .psm-seeker-thread-copy{min-width:0}
#ps-marketplace-pro-overlay .psm-seeker-thread-title-row{display:flex;align-items:center;gap:8px;min-width:0}
#ps-marketplace-pro-overlay .psm-seeker-thread-title-row h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:#0f172a}
#ps-marketplace-pro-overlay .psm-seeker-thread-time{margin-inline-start:auto;white-space:nowrap;color:#94a3b8;font-size:10.5px;font-weight:700}
#ps-marketplace-pro-overlay .psm-seeker-thread-preview{margin-top:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569;font-size:12.5px;line-height:1.45}
#ps-marketplace-pro-overlay .psm-seeker-thread-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}
#ps-marketplace-pro-overlay .psm-thread-state{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:850;color:#64748b}
#ps-marketplace-pro-overlay .psm-thread-state.unread{color:#1d4ed8}
#ps-marketplace-pro-overlay .psm-thread-state.blocked{color:#b91c1c}
#ps-marketplace-pro-overlay .psm-thread-state-dot{width:6px;height:6px;border-radius:50%;background:currentColor}
#ps-marketplace-pro-overlay .psm-thread-unread-pill{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#2563eb;color:#fff;font-size:10px;font-weight:950}
#ps-marketplace-pro-overlay .psm-seeker-open-thread{min-width:110px;border-radius:10px!important;white-space:nowrap}
#ps-marketplace-pro-overlay .psm-seeker-thread-tools{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:8px 12px;border-top:1px solid #edf2f7;background:#fbfcfe}
#ps-marketplace-pro-overlay .psm-seeker-thread-tools .psm-btn{min-height:30px;padding:6px 9px;font-size:10.5px;border-radius:9px;box-shadow:none}

/* Dark mode */
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-modern-page-head h2,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-hero h2,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-block-head h3,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-visibility-copy strong,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-utility-head h3,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-title-row h3{color:#f8fafc}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-hero{background:linear-gradient(135deg,#111827,#132033);border-color:#334155;box-shadow:none}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-block,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-utility-card{background:#111827;border-color:#334155;box-shadow:none!important}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-block-head{border-bottom-color:#263449}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-block-icon{background:#172554;color:#93c5fd}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-form-modern .psm-input,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-form-modern .psm-select,
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-form-modern .psm-textarea{background:#0f172a;border-color:#334155;color:#e2e8f0}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-visibility{background:#0f172a;border-color:#334155}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-savebar{background:#111c31;border-color:#334155}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-profile-utility-icon{background:#1e293b;color:#cbd5e1}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-card{background:#111827;border-color:#334155}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-card.is-unread{border-color:#1d4ed8}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-avatar{background:linear-gradient(145deg,#172554,#0c4a6e);border-color:#1e40af;color:#bfdbfe}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-preview{color:#cbd5e1}
html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay .psm-seeker-thread-tools{background:#0f172a;border-top-color:#293548}

/* Phone/tablet adaptation */
@media (max-width:760px){
  #ps-marketplace-pro-overlay .psm-modern-page-head{margin-bottom:12px;align-items:flex-start}
  #ps-marketplace-pro-overlay .psm-modern-page-head h2{font-size:20px}
  #ps-marketplace-pro-overlay .psm-profile-hero{padding:15px;gap:12px;border-radius:17px;align-items:flex-start;flex-wrap:wrap}
  #ps-marketplace-pro-overlay .psm-profile-avatar{width:52px;height:52px;flex-basis:52px;border-radius:15px;font-size:21px}
  #ps-marketplace-pro-overlay .psm-profile-hero h2{font-size:18px}
  #ps-marketplace-pro-overlay .psm-profile-status{margin-inline-start:64px;margin-top:-7px;padding:6px 9px;font-size:10.5px}
  #ps-marketplace-pro-overlay .psm-profile-block{padding:14px;border-radius:16px}
  #ps-marketplace-pro-overlay .psm-profile-block-head{margin-bottom:12px}
  #ps-marketplace-pro-overlay .psm-profile-form-modern .psm-form-grid{grid-template-columns:1fr}
  #ps-marketplace-pro-overlay .psm-profile-form-modern .psm-span2{grid-column:auto}
  #ps-marketplace-pro-overlay .psm-profile-savebar{padding:10px}
  #ps-marketplace-pro-overlay .psm-profile-savebar .psm-btn{width:100%;min-width:0}
  #ps-marketplace-pro-overlay .psm-profile-utility-grid{grid-template-columns:1fr;gap:10px}
  #ps-marketplace-pro-overlay .psm-profile-utility-card{padding:14px!important;border-radius:16px!important}
  #ps-marketplace-pro-overlay .psm-seeker-thread-main{grid-template-columns:42px minmax(0,1fr);gap:10px;padding:11px}
  #ps-marketplace-pro-overlay .psm-seeker-thread-avatar{width:42px;height:42px;border-radius:13px;font-size:16px}
  #ps-marketplace-pro-overlay .psm-seeker-thread-title-row{align-items:flex-start}
  #ps-marketplace-pro-overlay .psm-seeker-thread-time{font-size:9.5px}
  #ps-marketplace-pro-overlay .psm-seeker-thread-preview{font-size:12px}
  #ps-marketplace-pro-overlay .psm-seeker-open-thread{grid-column:1/-1;width:100%;min-height:38px;margin-top:1px}
  #ps-marketplace-pro-overlay .psm-seeker-thread-tools{justify-content:stretch;padding:7px 10px}
  #ps-marketplace-pro-overlay .psm-seeker-thread-tools .psm-btn{flex:1;min-width:0;white-space:normal}
}


/* ===== SOURCE: /job-marketplace-mobile-friendly-v94-543.css ===== */
/* PharmaSync v94.543 — Job Seeker Marketplace phone usability pass.
   Scope: #ps-marketplace-pro-overlay.psm-seeker at <=760 CSS px only. */
@media (max-width:760px){
  /* Reduce duplicate chrome: the account shell already identifies Recruitment. */
  #ps-marketplace-pro-overlay.psm-seeker.psm-inline > .psm-head{display:none!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-main{
    padding:8px 8px calc(18px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
  }

  /* Phone-native primary navigation: four always-visible destinations.
     Reports, when present, becomes a compact secondary row instead of squeezing all five tabs. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-tabs{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
    padding:6px 7px!important;
    overflow:visible!important;
    background:#fff!important;
    border-bottom:1px solid #e2e8f0!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-tab{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    padding:6px 3px!important;
    border-radius:10px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.12!important;
    font-size:10.5px!important;
    font-weight:900!important;
    touch-action:manipulation;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-tab-label-v543{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}
  #ps-marketplace-pro-overlay.psm-seeker .psm-tab[data-tab="reports"]{
    grid-column:1/-1!important;
    min-height:40px!important;
    padding:5px 10px!important;
    background:#f8fafc!important;
    border:1px solid #e2e8f0!important;
    color:#475569!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-tab[data-tab="reports"].active{
    background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-tab-badge{
    position:absolute!important;top:3px!important;inset-inline-end:3px!important;
    min-width:18px!important;height:18px!important;padding:0 5px!important;font-size:9px!important;
    box-shadow:0 0 0 2px #fff!important;
  }

  /* Compact page heading so useful content starts higher. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-main > .psm-section-title{
    margin:1px 0 7px!important;gap:7px!important;min-height:44px!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-main > .psm-section-title h2{font-size:17px!important;line-height:1.2!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-main > .psm-section-title .psm-muted{display:none!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-j-refresh,
  #ps-marketplace-pro-overlay.psm-seeker .psm-a-refresh{
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    padding:0!important;font-size:0!important;border-radius:12px!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-j-refresh::after,
  #ps-marketplace-pro-overlay.psm-seeker .psm-a-refresh::after{content:"↻";font-size:22px;line-height:1}

  /* Search: one real search row + a compact sort/filter utility row. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-search-row.psm-mobile-search-row-v543{
    display:grid!important;grid-template-columns:minmax(0,1fr) 72px!important;gap:6px!important;margin:0 0 6px!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-row-v543 .psm-j-q{grid-column:1!important;min-width:0!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-row-v543 .psm-j-search{grid-column:2!important;min-width:0!important;padding-inline:8px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;align-items:stretch!important;margin:0 0 6px!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543 > .psm-j-sort{min-width:0!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543 > .psm-filter-panel{
    margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543 > .psm-filter-panel > summary{
    display:flex!important;align-items:center!important;justify-content:center!important;min-width:92px!important;min-height:44px!important;
    padding:7px 10px!important;border:1px solid #cbd5e1!important;border-radius:11px!important;background:#fff!important;color:#334155!important;
    line-height:1.15!important;font-size:12px!important;white-space:nowrap!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543 > .psm-filter-panel[open] > summary{
    border-color:#93c5fd!important;background:#eff6ff!important;color:#1d4ed8!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-active-filters-v543{
    display:flex;align-items:center;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;margin:0 0 8px;padding:0 1px;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-active-filters-v543:empty{display:none}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-active-filters-v543::-webkit-scrollbar{display:none}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-chip-v543{
    flex:0 0 auto;display:inline-flex;align-items:center;min-height:30px;padding:4px 8px;border-radius:999px;
    border:1px solid #bfdbfe;background:#eff6ff;color:#1e40af;font-size:10px;font-weight:850;white-space:nowrap;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-clear-filters-v543{
    flex:0 0 auto;min-height:30px;border:0;background:transparent;color:#b91c1c;font-size:10px;font-weight:900;padding:4px 7px;cursor:pointer;
  }

  /* Filters are a real bottom sheet on phones. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-backdrop-v543{
    position:fixed;inset:0;z-index:2147482950;background:rgba(15,23,42,.46);backdrop-filter:blur(1px);
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-filter-panel[open] > .psm-advanced-toolbar{
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:2147483000!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
    width:100%!important;max-height:min(76dvh,620px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;
    margin:0!important;padding:12px max(12px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
    border:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;box-shadow:0 -18px 48px rgba(15,23,42,.24)!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-sheet-head-v543{
    grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 4px;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-sheet-head-v543 strong{font-size:16px;color:#0f172a}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-close-v543{
    width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#334155;
    font-size:20px;font-weight:900;cursor:pointer;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-actions-v543{
    grid-column:1/-1;position:sticky;bottom:calc(-14px - env(safe-area-inset-bottom));display:block;margin:2px -2px -2px;padding:8px 2px 2px;background:linear-gradient(to top,#fff 78%,rgba(255,255,255,.86));
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-apply-v543{width:100%!important;min-height:46px!important}

  /* iOS-friendly controls and consistent touch targets. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-input,
  #ps-marketplace-pro-overlay.psm-seeker .psm-select,
  #ps-marketplace-pro-overlay.psm-seeker .psm-textarea{font-size:16px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-input,
  #ps-marketplace-pro-overlay.psm-seeker .psm-select{min-height:44px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-btn,
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-eye,
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-toggle-v541,
  #ps-marketplace-pro-overlay.psm-seeker .psm-modal-close,
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-button{min-height:44px!important;touch-action:manipulation}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-eye{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-rating-button{width:44px!important;height:44px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-details-toggle-v541{padding:8px 4px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions .psm-btn{min-height:44px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-discovery-actions .psm-report-subtle{min-height:44px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-message-report{min-height:36px!important;padding:7px 6px!important}

  /* My Applications: compact professional cards instead of long phone stacks. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-a-list > .psm-application-card{margin-bottom:10px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-application-statusbar{padding:7px 9px!important;gap:8px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-status-copy span{font-size:9px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-status-copy strong{font-size:12.5px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-body{padding:9px 10px 10px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-identity{gap:8px!important;margin-bottom:7px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-avatar{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:13px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-reference{font-size:8.5px!important;margin-bottom:1px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-identity h3{font-size:16px!important;line-height:1.2!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-pharmacy{font-size:11.5px!important;margin-top:1px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-location{font-size:10.5px!important;margin-top:1px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-quickfacts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin:7px 0!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-quickfacts > div{min-height:44px!important;padding:5px 7px!important;border-radius:9px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-quickfacts > div:nth-child(3){grid-column:1/-1!important;min-height:38px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-quickfacts span{font-size:8.5px!important;margin-bottom:1px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-quickfacts strong{font-size:10.5px!important;line-height:1.25!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-progress{
    gap:4px!important;margin:6px 0!important;padding:1px 0 3px!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-progress::-webkit-scrollbar{display:none}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-progress span{padding:4px 7px!important;font-size:9px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-offer-terms{margin-top:7px!important;padding:8px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-offer-grid{grid-template-columns:1fr 1fr!important;gap:5px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-offer-box{margin-top:7px!important;padding:8px 9px!important;font-size:11px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-application-card .psm-actions{margin-top:7px!important;gap:6px!important}

  /* Conversation inbox: safety actions stay secondary visually but are easy to tap. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-seeker-open-thread{min-height:44px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-seeker-thread-tools{gap:6px!important;padding:7px 9px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-seeker-thread-tools .psm-btn{min-height:44px!important;padding:7px 9px!important;font-size:11px!important}

  /* Profile: reduce scrolling by collapsing less-frequent professional/password sections on phone. */
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-section-toggle-v543{
    margin-inline-start:auto;flex:0 0 auto;min-width:74px;min-height:44px;padding:6px 9px;border:1px solid #cbd5e1;border-radius:11px;
    background:#f8fafc;color:#334155;font-size:11px;font-weight:900;cursor:pointer;
  }
  #ps-marketplace-pro-overlay.psm-seeker .psm-profile-block-head{align-items:center!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-profile-block.psm-mobile-collapsed-v543 > .psm-form-grid{display:none!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-profile-block.psm-mobile-collapsed-v543 .psm-profile-block-head p,
  #ps-marketplace-pro-overlay.psm-seeker .psm-password-form.psm-mobile-collapsed-v543 .psm-profile-utility-head p{display:none!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-password-form.psm-mobile-collapsed-v543 > .psm-form-grid,
  #ps-marketplace-pro-overlay.psm-seeker .psm-password-form.psm-mobile-collapsed-v543 > .psm-actions{display:none!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-password-form .psm-profile-utility-head{align-items:center!important}

  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-tabs{background:#101827!important;border-bottom-color:#334155!important}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-tab[data-tab="reports"]{background:#172033!important;border-color:#334155!important;color:#cbd5e1!important}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-search-tools-v543 > .psm-filter-panel > summary{background:#111827!important;border-color:#334155!important;color:#e2e8f0!important}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-filter-panel[open] > .psm-advanced-toolbar{background:#111827!important}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-sheet-head-v543 strong{color:#f8fafc}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-close-v543,
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-section-toggle-v543{background:#172033;border-color:#334155;color:#e2e8f0}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-chip-v543{background:#172554;border-color:#1e40af;color:#bfdbfe}
  html[data-ps-ui-theme="dark"] #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-actions-v543{background:linear-gradient(to top,#111827 78%,rgba(17,24,39,.86))}
}

@media (max-width:360px){
  #ps-marketplace-pro-overlay.psm-seeker .psm-tab{font-size:9.5px!important;padding-inline:2px!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-filter-panel[open] > .psm-advanced-toolbar{grid-template-columns:1fr!important}
  #ps-marketplace-pro-overlay.psm-seeker .psm-mobile-filter-sheet-head-v543{grid-column:1!important}
}


/* ===== SOURCE: /responsive-utility-menu-v94-417.css ===== */
:root{--psu-blue:#1a6fd8;--psu-text:#0f172a;--psu-muted:#64748b;--psu-panel:#fff;--psu-soft:#f8fafc;--psu-border:rgba(15,23,42,.14);--psu-danger:#dc2626;--psu-shadow:0 18px 60px rgba(15,23,42,.24)}
html[data-ps-ui-theme="dark"]{--psu-text:#f8fafc;--psu-muted:#cbd5e1;--psu-panel:#111827;--psu-soft:#1f2937;--psu-border:rgba(148,163,184,.28);--psu-shadow:0 18px 60px rgba(0,0,0,.48)}
#psu-desktop-language-v94-286,#psu-mobile-menu-trigger-v94-286{box-sizing:border-box;border:1px solid var(--psu-border);background:var(--psu-panel);color:var(--psu-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:800;cursor:pointer;align-items:center;justify-content:center;box-shadow:0 5px 18px rgba(15,23,42,.15);-webkit-tap-highlight-color:transparent}
#psu-desktop-language-v94-286{display:none;min-width:102px;height:38px;padding:0 13px;border-radius:999px;font-size:13px;gap:7px;white-space:nowrap;z-index:2147482000}
#psu-desktop-language-v94-286.psu-inline{position:relative;margin-inline:4px;box-shadow:none}
#psu-desktop-language-v94-286.psu-floating{position:fixed;top:max(12px,env(safe-area-inset-top));inset-inline-start:max(12px,env(safe-area-inset-left))}
#psu-mobile-menu-trigger-v94-286{display:none;width:42px;height:42px;padding:0;border-radius:13px;font-size:23px;line-height:1;z-index:2147483002;flex:0 0 42px}
#psu-mobile-menu-trigger-v94-286.psu-inline{position:relative;margin:0 2px;box-shadow:none}
#psu-mobile-menu-trigger-v94-286.psu-floating{position:fixed;top:max(10px,env(safe-area-inset-top));inset-inline-start:max(10px,env(safe-area-inset-left))}
#psu-mobile-shell-v94-286{display:none;position:fixed;inset:0;z-index:2147483001;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:none}
#psu-mobile-shell-v94-286.psu-open{pointer-events:auto}
#psu-mobile-shell-v94-286 .psu-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.52);opacity:0;transition:opacity .22s ease;backdrop-filter:blur(2px)}
#psu-mobile-shell-v94-286.psu-open .psu-backdrop{opacity:1}
#psu-mobile-shell-v94-286 .psu-drawer{position:absolute;top:0;bottom:0;width:min(84vw,340px);background:var(--psu-panel);color:var(--psu-text);box-shadow:var(--psu-shadow);display:flex;flex-direction:column;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));transition:transform .24s ease;overflow:auto}
html[data-ps-lang="fr"] #psu-mobile-shell-v94-286 .psu-drawer{left:0;right:auto;transform:translateX(-105%);direction:ltr;text-align:left}
html:not([data-ps-lang="fr"]) #psu-mobile-shell-v94-286 .psu-drawer{right:0;left:auto;transform:translateX(105%);direction:rtl;text-align:right}
#psu-mobile-shell-v94-286.psu-open .psu-drawer{transform:translateX(0)!important}
#psu-mobile-shell-v94-286 .psu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 16px;border-bottom:1px solid var(--psu-border)}
#psu-mobile-shell-v94-286 .psu-brand{display:flex;align-items:center;gap:10px;min-width:0}
#psu-mobile-shell-v94-286 .psu-logo{width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,#1a6fd8,#22c55e);display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:900;box-shadow:0 7px 20px rgba(26,111,216,.25)}
#psu-mobile-shell-v94-286 .psu-title{font-size:19px;font-weight:900;line-height:1.2}
#psu-mobile-shell-v94-286 .psu-subtitle{font-size:12px;color:var(--psu-muted);margin-top:3px}
#psu-mobile-shell-v94-286 .psu-close{width:38px;height:38px;border:0;border-radius:12px;background:var(--psu-soft);color:var(--psu-text);font-size:23px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#psu-mobile-shell-v94-286 .psu-actions{display:flex;flex-direction:column;gap:10px;padding-top:18px}
#psu-mobile-shell-v94-286 .psu-action{width:100%;min-height:54px;border:1px solid var(--psu-border);border-radius:15px;background:var(--psu-soft);color:var(--psu-text);display:flex;align-items:center;gap:13px;padding:10px 14px;font:800 15px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;text-align:inherit}
#psu-mobile-shell-v94-286 .psu-action:active{transform:scale(.985)}
#psu-mobile-shell-v94-286 .psu-action-icon{width:34px;height:34px;border-radius:11px;background:var(--psu-panel);display:flex;align-items:center;justify-content:center;font-size:19px;flex:0 0 34px;position:relative}
#psu-mobile-shell-v94-286 .psu-action-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
#psu-mobile-shell-v94-286 .psu-action-note{font-size:11px;font-weight:600;color:var(--psu-muted)}
#psu-mobile-shell-v94-286 .psu-action.psu-logout{margin-top:8px;color:var(--psu-danger);background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.22)}
#psu-mobile-shell-v94-286 .psu-badge{position:absolute;top:-7px;inset-inline-end:-7px;min-width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;padding:0 4px;display:none;align-items:center;justify-content:center;font-size:10px;font-weight:900;border:2px solid var(--psu-panel)}
#psu-mobile-shell-v94-286 .psu-badge.psu-show{display:flex}
#psu-mobile-shell-v94-286 .psu-footer{margin-top:auto;padding:22px 5px 0;color:var(--psu-muted);font-size:11px;text-align:center}
@media(min-width:769px){#psu-desktop-language-v94-286.psu-desktop-ready{display:flex!important}#psu-mobile-menu-trigger-v94-286,#psu-mobile-shell-v94-286{display:none!important}}
@media(max-width:768px){#psu-desktop-language-v94-286{display:none!important}#psu-mobile-menu-trigger-v94-286.psu-available{display:flex!important}#psu-mobile-shell-v94-286{display:block}html.psu-mobile-menu-open,html.psu-mobile-menu-open body{overflow:hidden!important;overscroll-behavior:none!important}[data-ps-utility-relocated-v94-286]{display:none!important}}
@media(max-width:380px){#psu-mobile-shell-v94-286 .psu-drawer{width:min(88vw,326px)}#psu-mobile-shell-v94-286 .psu-action{min-height:51px}}
@media(prefers-reduced-motion:reduce){#psu-mobile-shell-v94-286 .psu-backdrop,#psu-mobile-shell-v94-286 .psu-drawer{transition:none}}
#psu-mobile-shell-v94-286,#psu-mobile-shell-v94-286 *{box-sizing:border-box}
@media(max-width:768px){html.psu-mobile-menu-open #psu-mobile-menu-trigger-v94-286{opacity:0;pointer-events:none}}

/* PharmaSync v94.310 — make the mobile drawer trigger a true top-bar control. */
@media(max-width:768px){
  [data-psu-mobile-topbar-v94-310="1"]{
    overflow:visible!important;
    align-items:center!important;
  }
  #psu-mobile-menu-trigger-v94-286.psu-topbar-attached{
    position:relative!important;
    inset:auto!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    margin:0 2px!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
    align-self:center!important;
  }
  #psu-mobile-menu-trigger-v94-286.psu-topbar-attached:active{
    background:rgba(100,116,139,.14)!important;
    transform:scale(.96);
  }
  #psu-mobile-menu-trigger-v94-286.psu-floating{
    display:none!important;
  }
}


/* PharmaSync v94.310 — reliable mobile top-bar overlay.
   The trigger stays outside React's managed DOM but occupies the exact header slot. */
@media(max-width:768px){
  #psu-mobile-menu-trigger-v94-286.psu-topbar-overlay{
    display:flex!important;
    position:fixed!important;
    left:var(--psu-trigger-left,10px)!important;
    top:var(--psu-trigger-top,10px)!important;
    right:auto!important;
    bottom:auto!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    flex:0 0 40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
    z-index:2147483002!important;
  }
  #psu-mobile-menu-trigger-v94-286.psu-topbar-overlay:active{
    background:rgba(100,116,139,.16)!important;
    transform:scale(.96)!important;
  }
}

/* PharmaSync v94.314 — one mobile menu trigger only, hidden while drawer is open. */
@media (max-width: 768px) {
  /* Arabic uses the native React header button. Keep the shared trigger in the
     DOM only as the drawer controller, but never render it visually. */
  html:not([data-ps-lang="fr"]) body #psu-mobile-menu-trigger-v94-286,
  html:not([data-ps-lang="fr"]) body #psu-mobile-menu-trigger-v94-286.psu-available,
  html:not([data-ps-lang="fr"]) body #psu-mobile-menu-trigger-v94-286.psu-topbar-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* In both languages, the visible menu trigger disappears while the drawer
     is open and returns when the drawer closes. */
  html.psu-mobile-menu-open body #psu-mobile-menu-trigger-v94-286,
  html.psu-mobile-menu-open body #psu-mobile-menu-trigger-v94-286.psu-available,
  html.psu-mobile-menu-open body #psu-mobile-menu-trigger-v94-286.psu-topbar-overlay,
  html.psu-mobile-menu-open body #ps-ar-native-menu-trigger-v94-314 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* PharmaSync v94.420 — rendered desktop language + Night Mode segmented pair.
   Mobile and touch-tablet behavior remains on the existing v94.417 path. */
#ps-language-switch-v94-285{display:none!important}
#psu-desktop-language-v94-286.psu-sidebar-docked,
#psu-desktop-language-v94-286.psu-header-docked,
#psu-desktop-language-v94-286.psu-corner-docked,
#psu-desktop-language-v94-286.psu-tablet-docked{
  position:fixed!important;
  left:var(--psu-desktop-left,12px)!important;
  right:auto!important;
  top:var(--psu-desktop-top,12px)!important;
  width:var(--psu-desktop-width,112px)!important;
  min-width:0!important;
  height:var(--psu-desktop-height,38px)!important;
  margin:0!important;
  transform:none!important;
  transition:none!important;
  flex:0 0 auto!important;
  z-index:2147482000!important;
}
#psu-desktop-language-v94-286.psu-sidebar-docked{
  border-radius:11px!important;
  box-shadow:none!important;
  background:var(--psu-soft)!important;
}
#psu-desktop-language-v94-286.psu-header-docked,
#psu-desktop-language-v94-286.psu-corner-docked{border-radius:999px!important}

#psu-desktop-utility-pair-v94-419,
#psu-desktop-night-v94-419{display:none}

@media(min-width:769px){
  #psu-desktop-language-v94-286.psu-desktop-ready{
    display:flex!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  #psu-desktop-language-v94-286:not(.psu-desktop-ready):not(.psu-pair-member){display:none!important}

  #psu-desktop-utility-pair-v94-419.psu-pair-ready{
    box-sizing:border-box!important;
    display:flex!important;
    position:fixed!important;
    left:var(--psu-pair-left,12px)!important;
    right:auto!important;
    top:var(--psu-pair-top,12px)!important;
    width:var(--psu-pair-width,208px)!important;
    height:var(--psu-pair-height,40px)!important;
    min-width:0!important;
    padding:3px!important;
    margin:0!important;
    gap:3px!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    border:1px solid rgba(26,111,216,.22)!important;
    border-radius:13px!important;
    background:var(--psu-panel)!important;
    color:var(--psu-text)!important;
    box-shadow:0 5px 16px rgba(15,23,42,.12)!important;
    overflow:hidden!important;
    z-index:2147482001!important;
    isolation:isolate!important;
  }
  html[data-ps-ui-theme="dark"] #psu-desktop-utility-pair-v94-419.psu-pair-ready{
    border-color:rgba(96,165,250,.30)!important;
    box-shadow:0 6px 18px rgba(0,0,0,.28)!important;
  }

  #psu-desktop-utility-pair-v94-419.psu-pair-ready > button{
    box-sizing:border-box!important;
    display:flex!important;
    position:relative!important;
    inset:auto!important;
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 8px!important;
    gap:5px!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    color:var(--psu-text)!important;
    box-shadow:none!important;
    transform:none!important;
    transition:background-color .16s ease,color .16s ease,box-shadow .16s ease!important;
    font:800 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    overflow:hidden!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:auto!important;
  }
  #psu-desktop-utility-pair-v94-419.psu-pair-ready > button:hover{
    background:var(--psu-soft)!important;
  }
  #psu-desktop-utility-pair-v94-419.psu-pair-ready > button:active{
    transform:scale(.98)!important;
  }
  #psu-desktop-utility-pair-v94-419.psu-pair-ready > button:focus-visible{
    outline:2px solid rgba(26,111,216,.32)!important;
    outline-offset:-1px!important;
  }
  #psu-desktop-utility-pair-v94-419.psu-pair-ready #psu-desktop-language-v94-286{
    background:rgba(26,111,216,.10)!important;
    color:#1459ad!important;
  }
  html[data-ps-ui-theme="dark"] #psu-desktop-utility-pair-v94-419.psu-pair-ready #psu-desktop-language-v94-286{
    background:rgba(96,165,250,.16)!important;
    color:#bfdbfe!important;
  }
  #psu-desktop-utility-pair-v94-419.psu-pair-ready #psu-desktop-night-v94-419{
    background:var(--psu-soft)!important;
  }
  #psu-desktop-utility-pair-v94-419 .psu-pair-icon{font-size:14px;line-height:1;flex:0 0 auto}
  #psu-desktop-utility-pair-v94-419 .psu-pair-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  /* Preserve the React control's layout slot while the paired replacement is
     displayed above it. Programmatic clicks still target the original control. */
  [data-psu-night-source-v94-419="1"]{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

@media(max-width:768px){
  #psu-desktop-utility-pair-v94-419,
  #psu-desktop-night-v94-419{display:none!important}
}


/* ===== SOURCE: /owner-mobile-working-surface-v94-544.css ===== */
/* PharmaSync v94.544 — Pharmacy Owner phone working-surface guard.
   Hide account-level hamburger controls while a full-screen owner task surface is active. */
@media (max-width: 768px) {
  html[data-ps-owner-working-surface-v94-544="1"] #psu-mobile-menu-trigger-v94-286,
  html[data-ps-owner-working-surface-v94-544="1"] #ps-ar-native-menu-trigger-v94-314 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* ===== SOURCE: /job-seeker-mobile-sidebar-identity-v94-493.css ===== */
/* PharmaSync v94.493 — Job Seeker mobile identity is a distinct profile section, not a utility action. */
@media (max-width: 768px) {
  #psu-mobile-shell-v94-286 .psu-seeker-profile {
    display:none;
    align-items:center;
    gap:13px;
    margin:16px 2px 4px;
    padding:14px 10px 16px;
    border:0;
    border-bottom:1px solid var(--psu-border);
    border-radius:0;
    background:transparent;
    color:var(--psu-text);
    min-width:0;
    box-shadow:none;
    cursor:default;
  }
  #psu-mobile-shell-v94-286 .psu-seeker-avatar {
    width:48px;
    height:48px;
    flex:0 0 48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(26,111,216,.12);
    border:1px solid rgba(26,111,216,.20);
    color:var(--psu-blue);
    font-size:23px;
    box-shadow:none;
  }
  #psu-mobile-shell-v94-286 .psu-seeker-copy {
    display:flex;
    flex-direction:column;
    min-width:0;
    flex:1;
  }
  #psu-mobile-shell-v94-286 .psu-seeker-name {
    color:var(--psu-text);
    font-size:16px;
    line-height:1.28;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  #psu-mobile-shell-v94-286 .psu-seeker-role {
    margin-top:4px;
    color:var(--psu-muted);
    font-size:12px;
    line-height:1.4;
    font-weight:650;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  #psu-mobile-shell-v94-286 .psu-actions {
    padding-top:14px;
  }
  html[data-ps-ui-theme="dark"] #psu-mobile-shell-v94-286 .psu-seeker-avatar {
    background:rgba(59,130,246,.16);
    border-color:rgba(96,165,250,.28);
    color:#bfdbfe;
  }
  html[data-ps-lang="fr"] #psu-mobile-shell-v94-286 .psu-seeker-profile,
  html[data-ps-lang="fr"] #psu-mobile-shell-v94-286 .psu-seeker-copy {
    direction:ltr;
    text-align:left;
  }
  html:not([data-ps-lang="fr"]) #psu-mobile-shell-v94-286 .psu-seeker-profile,
  html:not([data-ps-lang="fr"]) #psu-mobile-shell-v94-286 .psu-seeker-copy {
    direction:rtl;
    text-align:right;
  }
}


/* ===== SOURCE: /mobile-admin-owner-more-v94-434.css ===== */
/* PharmaSync v94.434 — phone-only Platform Admin layout and owner More badges. */

.ps-owner-more-live-badge-v94-434{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:18px!important;
  height:18px!important;
  margin-inline-start:4px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#dc2626!important;
  color:#fff!important;
  font:900 10px/1 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.96)!important;
  pointer-events:none!important;
}

#ps-platform-mobile-tools-sheet-v94-434{
  position:fixed;
  inset:0;
  z-index:2147483645;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:rgba(15,23,42,.58);
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  box-sizing:border-box;
}
#ps-platform-mobile-tools-sheet-v94-434 *{box-sizing:border-box}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-panel{
  width:100%;
  max-width:720px;
  max-height:84dvh;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:12px max(14px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
  border-radius:22px 22px 0 0;
  background:#f8fafc;
  box-shadow:0 -18px 55px rgba(15,23,42,.28);
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-head{
  position:sticky;
  top:-12px;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 -2px 12px;
  padding:12px 2px 8px;
  background:#f8fafc;
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-title{margin:0;color:#0f172a;font-size:19px;font-weight:900}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-close{
  min-height:40px;
  border:0;
  border-radius:11px;
  padding:8px 13px;
  background:#e2e8f0;
  color:#0f172a;
  font-weight:900;
  cursor:pointer;
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-note{
  margin:-4px 0 12px;
  color:#64748b;
  font-size:12px;
  line-height:1.6;
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool{
  position:relative;
  min-width:0;
  min-height:70px;
  border:1px solid #dbe4f0;
  border-radius:15px;
  padding:11px 10px;
  background:#fff;
  color:#0f172a;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  text-align:start;
  font-weight:900;
  line-height:1.35;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(15,23,42,.05);
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool:active{transform:scale(.985)}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#eef6ff;
  font-size:19px;
}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-label{min-width:0;overflow-wrap:anywhere}
#ps-platform-mobile-tools-sheet-v94-434 .ps-pam-count{
  position:absolute;
  top:6px;
  inset-inline-end:6px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#dc2626;
  color:#fff;
  font-size:10px;
  font-weight:950;
}
html.ps-platform-mobile-tools-open-v94-434,
html.ps-platform-mobile-tools-open-v94-434 body{overflow:hidden!important;overscroll-behavior:none!important}

@media(max-width:768px){
  html[data-ps-role="super_admin"],
  html[data-ps-role="super_admin"] body,
  html[data-ps-role="super_admin"] #root{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  html[data-ps-role="super_admin"] .ps-platform-tab-stack-parent-v94-105{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  html[data-ps-role="super_admin"] .ps-platform-admin-header-v94-170{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:58px!important;
    padding:8px 10px!important;
    gap:7px!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-admin-header-v94-170 > *{
    min-width:0!important;
    max-width:100%!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-admin-header-v94-170 [data-ps-platform-admin-title-v94-434="1"]{
    flex:1 1 150px!important;
    font-size:16px!important;
    line-height:1.3!important;
    text-align:center!important;
    white-space:normal!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-admin-header-v94-170 [data-ps-platform-admin-role-v94-434="1"]{
    max-width:145px!important;
    padding:5px 8px!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-admin-header-v94-170 [data-ps-platform-admin-role-v94-434="1"] *{
    font-size:11px!important;
    line-height:1.25!important;
    white-space:normal!important;
    text-align:center!important;
  }

  html[data-ps-role="super_admin"] .ps-platform-native-tabs-v94-105{
    position:relative!important;
    inset:auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    gap:7px!important;
    padding:8px 10px!important;
    overflow:visible!important;
    background:#fff!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-native-tabs-v94-105 > *{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:44px!important;
    margin:0!important;
    padding:7px 5px!important;
    font-size:11.5px!important;
    line-height:1.25!important;
    white-space:normal!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
  }

  html[data-ps-role="super_admin"] #ps-platform-admin-tools-tabs-v94-7{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    padding:7px 10px 10px!important;
    overflow:visible!important;
    background:#f4f7fb!important;
  }
  html[data-ps-role="super_admin"] #ps-platform-admin-tools-tabs-v94-7 > .ps-platform-tool-tab{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html[data-ps-role="super_admin"] #ps-platform-mobile-tools-launcher-v94-434{
    box-sizing:border-box!important;
    width:100%!important;
    min-height:46px!important;
    border:1px solid rgba(37,99,235,.25)!important;
    border-radius:13px!important;
    padding:9px 12px!important;
    background:#eaf2ff!important;
    color:#174ea6!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    font:900 13px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    cursor:pointer!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  html[data-ps-role="super_admin"] #ps-platform-mobile-tools-launcher-v94-434 .ps-pam-launch-main{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  html[data-ps-role="super_admin"] #ps-platform-mobile-tools-launcher-v94-434 .ps-pam-launch-count{
    display:none;
    min-width:21px;
    height:21px;
    padding:0 5px;
    border-radius:999px;
    align-items:center;
    justify-content:center;
    background:#dc2626;
    color:#fff;
    font-size:10px;
    font-weight:950;
  }
  html[data-ps-role="super_admin"] #ps-platform-mobile-tools-launcher-v94-434.has-count .ps-pam-launch-count{display:inline-flex}

  html[data-ps-role="super_admin"] .ps-platform-scroll-content-v94-105{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding-bottom:calc(24px + env(safe-area-inset-bottom))!important;
    scrollbar-gutter:auto!important;
  }
  html[data-ps-role="super_admin"] .ps-platform-scroll-content-v94-105 > *{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  html[data-ps-role="super_admin"] [data-ps-platform-stats-grid-v94-434="1"]{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
  }
  html[data-ps-role="super_admin"] [data-ps-platform-stat-card-v94-434="1"]{
    box-sizing:border-box!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    min-height:92px!important;
  }
  html[data-ps-role="super_admin"] [data-ps-platform-stat-card-v94-434="1"]:last-child:nth-child(odd){grid-column:1 / -1!important}
  html[data-ps-role="super_admin"] [data-ps-platform-stat-card-v94-434="1"] *{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }

  html[data-ps-role="super_admin"] [data-ps-platform-mobile-card-v94-434="1"]{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
}

@media(max-width:360px){
  #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-grid{grid-template-columns:1fr}
  html[data-ps-role="super_admin"] .ps-platform-native-tabs-v94-105{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-panel,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-panel{background:#111827;color:#e5edf8}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-head,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-head{background:#111827}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-title,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-title{color:#f8fafc}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-note,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-note{color:#9fb0c7}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool{background:#172236;border-color:#31445e;color:#f8fafc}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-icon,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-icon{background:#20324b}
html[data-ps-ui-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-close,
html[data-ps-owner-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-close{background:#263750;color:#f8fafc}


/* ===== SOURCE: /platform-admin-night-visibility-v94-435.css ===== */
/* PharmaSync v94.435 — Platform Admin dark-mode visibility and contrast.
   Scoped to the authenticated super_admin account. */

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"]{
  --ps-pa435-bg:#0d1117;
  --ps-pa435-surface:#161b22;
  --ps-pa435-surface-2:#1c2633;
  --ps-pa435-surface-3:#223047;
  --ps-pa435-border:#3d4b5f;
  --ps-pa435-text:#e6edf3;
  --ps-pa435-text-2:#b7c2d0;
  --ps-pa435-muted:#8fa0b5;
  --ps-pa435-blue:#65b1ff;
  color-scheme:dark;
}

/* Phone shell introduced in v94.434. */
@media(max-width:768px){
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] .ps-platform-admin-header-v94-170,
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] .ps-platform-native-tabs-v94-105,
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-admin-tools-tabs-v94-7{
    background:var(--ps-pa435-surface)!important;
    border-color:var(--ps-pa435-border)!important;
    color:var(--ps-pa435-text)!important;
  }

  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] .ps-platform-native-tabs-v94-105 > *{
    border-color:var(--ps-pa435-border)!important;
    color:var(--ps-pa435-text)!important;
  }

  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-launcher-v94-434{
    background:#172a43!important;
    border-color:#3f6b9e!important;
    color:#dbeafe!important;
    box-shadow:none!important;
  }
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-launcher-v94-434 small{
    color:#a9bdd5!important;
    opacity:1!important;
  }

  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] [data-ps-platform-stat-card-v94-434="1"],
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] [data-ps-platform-mobile-card-v94-434="1"]{
    border-color:var(--ps-pa435-border)!important;
    color:var(--ps-pa435-text)!important;
  }

  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] [data-ps-platform-stat-card-v94-434="1"][style*="background-color: rgb(255, 255, 255)"],
  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] [data-ps-platform-mobile-card-v94-434="1"][style*="background-color: rgb(255, 255, 255)"]{
    background-color:var(--ps-pa435-surface)!important;
  }
}

/* The mobile tools sheet is appended to body, outside #root. */
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434{
  background:rgba(2,6,23,.78)!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-panel,
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-head{
  background:var(--ps-pa435-surface)!important;
  color:var(--ps-pa435-text)!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-title,
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-label{
  color:#f8fafc!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-note{
  color:var(--ps-pa435-text-2)!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool{
  background:var(--ps-pa435-surface-2)!important;
  border-color:var(--ps-pa435-border)!important;
  color:#f8fafc!important;
  box-shadow:none!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-tool:focus-visible{
  outline:3px solid rgba(101,177,255,.52)!important;
  outline-offset:2px!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-icon{
  background:var(--ps-pa435-surface-3)!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-close{
  background:#29384e!important;
  border:1px solid var(--ps-pa435-border)!important;
  color:#f8fafc!important;
}

/* React-Native-Web light inline colors still used by some Platform Admin cards. */
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="background-color: rgb(248, 250, 255)"],
  [style*="background-color: rgb(248, 250, 252)"]
){background-color:var(--ps-pa435-bg)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="background-color: rgb(255, 255, 255)"],
  [style*="background-color: rgba(255, 255, 255, 1)"]
){background-color:var(--ps-pa435-surface)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="background-color: rgb(241, 245, 251)"],
  [style*="background-color: rgb(241, 245, 249)"],
  [style*="background-color: rgb(244, 247, 251)"],
  [style*="background-color: rgb(238, 242, 247)"],
  [style*="background-color: rgb(226, 232, 240)"]
){background-color:var(--ps-pa435-surface-2)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="color: rgb(13, 27, 46)"],
  [style*="color: rgb(15, 23, 42)"],
  [style*="color: rgb(17, 24, 39)"],
  [style*="color: rgb(30, 41, 59)"],
  [style*="color: rgb(0, 0, 0)"]
){color:var(--ps-pa435-text)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="color: rgb(74, 85, 104)"],
  [style*="color: rgb(71, 85, 105)"],
  [style*="color: rgb(82, 96, 114)"],
  [style*="color: rgb(75, 85, 99)"],
  [style*="color: rgb(51, 65, 85)"]
){color:var(--ps-pa435-text-2)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="color: rgb(148, 163, 184)"],
  [style*="color: rgb(100, 116, 139)"],
  [style*="color: rgb(107, 114, 128)"]
){color:var(--ps-pa435-muted)!important;}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] #root :is(
  [style*="border-color: rgb(156, 172, 192)"],
  [style*="border-color: rgb(124, 147, 171)"],
  [style*="border-color: rgb(226, 232, 240)"],
  [style*="border-color: rgb(203, 213, 225)"],
  [style*="border-color: rgb(209, 213, 219)"]
){border-color:var(--ps-pa435-border)!important;}

/* Native controls and empty states that are not inside one of the older tool IDs. */
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] :is(
  .ps-platform-scroll-content-v94-105,
  #ps-platform-admin-tools-tabs-v94-7,
  #ps-platform-mobile-tools-sheet-v94-434
) :is(input,textarea,select){
  background:#0b1424!important;
  border-color:var(--ps-pa435-border)!important;
  color:#f8fafc!important;
  caret-color:#fff!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] :is(
  .ps-platform-scroll-content-v94-105,
  #ps-platform-admin-tools-tabs-v94-7,
  #ps-platform-mobile-tools-sheet-v94-434
) :is(input,textarea)::placeholder{
  color:#8191a6!important;
  opacity:1!important;
}
html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] :is(
  .ps-platform-scroll-content-v94-105,
  #ps-platform-admin-tools-tabs-v94-7,
  #ps-platform-mobile-tools-sheet-v94-434
) select option{
  background:#0b1424!important;
  color:#f8fafc!important;
}

html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] :is(
  .ps-platform-scroll-content-v94-105,
  #ps-platform-mobile-tools-sheet-v94-434 .ps-pam-panel
){scrollbar-color:#52637a #111827;}


/* ===== SOURCE: /platform-admin-mobile-fixes-v94-436.css ===== */
/* PharmaSync v94.436 — platform-admin phone Total Employees and language control. */
@media(max-width:768px){
  html[data-ps-role="super_admin"] [data-ps-platform-admin-language-v94-436="1"]{
    box-sizing:border-box!important;
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:relative!important;
    inset:auto!important;
    flex:0 0 auto!important;
    min-width:96px!important;
    min-height:40px!important;
    max-width:132px!important;
    margin:0!important;
    padding:7px 10px!important;
    border:1px solid rgba(37,99,235,.28)!important;
    border-radius:11px!important;
    background:rgba(37,99,235,.08)!important;
    color:#1d4ed8!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    font:800 12px/1.2 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    cursor:pointer!important;
    z-index:2!important;
  }
  html[data-ps-role="super_admin"] [data-ps-platform-admin-language-v94-436="1"] *{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    color:inherit!important;
    font-size:inherit!important;
    line-height:inherit!important;
    max-width:none!important;
  }

  html[data-ps-role="super_admin"] [data-ps-platform-stats-grid-v94-436="1"]{
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    gap:8px!important;
    overflow:visible!important;
    flex-wrap:unset!important;
  }
  html[data-ps-role="super_admin"] [data-ps-platform-stat-card-v94-436="1"]{
    box-sizing:border-box!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:relative!important;
    inset:auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:92px!important;
    margin:0!important;
    overflow:visible!important;
    flex-direction:column!important;
  }
  html[data-ps-role="super_admin"] [data-ps-platform-total-employees-v94-436="1"]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    grid-column:1 / -1!important;
    width:100%!important;
    min-height:92px!important;
  }

  html[data-ps-role="super_admin"][data-ps-platform-theme="dark"] [data-ps-platform-admin-language-v94-436="1"]{
    border-color:#3b82f6!important;
    background:#172b48!important;
    color:#dbeafe!important;
  }
}


/* ===== SOURCE: /tablet-layout-v94-417.css ===== */
/* PharmaSync v94.417 — iPad/touch-tablet layout stabilization.
   Scope: 769–1366 CSS px touch tablets. Desktop and phone layouts remain unchanged. */
@media (min-width:769px) and (max-width:1366px) and (any-pointer:coarse){
  html{--ps-tablet-layout-v94-417:1}
  #psu-desktop-language-v94-286.psu-tablet-docked{
    position:fixed!important;left:var(--psu-desktop-left,12px)!important;right:auto!important;
    top:var(--psu-desktop-top,12px)!important;width:var(--psu-desktop-width,124px)!important;
    min-width:0!important;height:40px!important;margin:0!important;transform:none!important;transition:none!important;
    display:flex!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    border-radius:12px!important;box-shadow:none!important;background:var(--psu-soft)!important;z-index:2147482000!important;
  }

  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-dashboard-stats="1"]{
    width:min(100%,680px)!important;max-width:680px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;align-self:flex-start!important;align-items:start!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-stat-card="1"]{
    min-height:78px!important;height:78px!important;padding:10px 11px!important;border-radius:15px!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;column-gap:8px!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-stat-icon="1"]{width:34px!important;height:34px!important;border-radius:10px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-stat-icon="1"]>*{font-size:17px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-stat-label="1"]{
    font-size:12px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;overflow:hidden!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="staff"] body #root [data-ps-employee-stat-value="1"]{min-width:34px!important;padding:6px 7px!important;border-radius:9px!important;font-size:20px!important}

  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-dashboard-stats="1"]{
    width:min(100%,780px)!important;max-width:780px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:82px!important;gap:10px!important;align-items:start!important;align-self:flex-start!important;margin-inline:auto!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-card="1"]{
    min-height:82px!important;height:82px!important;padding:10px 11px!important;border-radius:15px!important;
    grid-template-columns:auto minmax(0,1fr) 34px!important;column-gap:8px!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-icon="1"]{width:34px!important;height:34px!important;border-radius:10px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-icon="1"]>*{font-size:17px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-label="1"]{
    font-size:11px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;overflow:hidden!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-value="1"]{min-width:34px!important;padding:6px 7px!important;border-radius:9px!important;font-size:20px!important}

  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-card-main{padding:11px 12px 9px!important;gap:9px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-avatar{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;font-size:18px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-facts{padding:0 12px 10px!important;gap:6px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-fact{padding:7px 8px!important;border-radius:10px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-open{padding:9px 12px!important}
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] #ps-employee-control-center-list-v94-214 .ps-ecl-open-copy span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media (min-width:769px) and (max-width:980px) and (any-pointer:coarse){
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-dashboard-stats="1"]{
    width:min(100%,590px)!important;max-width:590px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:80px!important;
  }
  html:not([data-ps-lang="fr"])[data-ps-role="owner"] body #root [data-ps-owner-stat-card="1"]{min-height:80px!important;height:80px!important}
}


/* ===== SOURCE: /arabic-mobile-native-header-v94-314.css ===== */
/* PharmaSync v94.313 — Arabic mobile header is rendered natively by the app bundle.
   Keep the utility trigger available for programmatic drawer opening, but do not
   render its external overlay button. */
@media (max-width: 768px) {
  #psu-mobile-menu-trigger-v94-286 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* v94.314: the real Arabic header trigger has a stable id and hides with the open drawer. */
@media (max-width: 768px) {
  html.psu-mobile-menu-open #ps-ar-native-menu-trigger-v94-314 {
    display: none !important;
  }
}



/* ===== SOURCE: /v95-runtime/desktop-responsive-v95-1.css ===== */
/* PharmaSync v95.1 — Owner/Employee desktop responsive hardening. */
/* 769–820 remains the core mobile/tablet shell. Suppress only the shared desktop utility pair
   for Owner/Employee so their native mobile/tablet controls remain the single source of truth. */
@media (min-width:769px) and (max-width:820px){
  html[data-ps-role="owner"] :is(#psu-desktop-utility-pair-v94-419,#psu-desktop-language-v94-286,#psu-desktop-night-v94-419),
  html[data-ps-role="staff"] :is(#psu-desktop-utility-pair-v94-419,#psu-desktop-language-v94-286,#psu-desktop-night-v94-419){display:none!important}
}

@media (min-width:821px) and (hover:hover) and (pointer:fine){
  /* Expand only the authenticated Owner/Employee outer shell. The compiled Expo bundle remains unchanged. */
  html[data-ps-role="owner"] [data-ps-owner-employee-shell-v95-1],
  html[data-ps-role="staff"] [data-ps-owner-employee-shell-v95-1]{
    width:min(100vw,1600px)!important;max-width:1600px!important;min-width:0!important;
  }

  html[data-ps-role="owner"] body,
  html[data-ps-role="staff"] body,
  html[data-ps-role="owner"] #root,
  html[data-ps-role="staff"] #root{min-width:0!important;max-width:100%!important;overflow-x:hidden}

  html[data-ps-role="owner"] [data-testid="ps-welcome-card-v94-269"],
  html[data-ps-role="staff"] [data-testid="ps-welcome-card-v94-269"]{
    width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;min-width:0!important;
    box-sizing:border-box!important;align-self:stretch!important;
  }

  html[data-ps-role="owner"] [data-ps-owner-summary-grid-v95-1]{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;max-width:none!important;min-width:0!important;gap:10px!important;
    align-items:stretch!important;box-sizing:border-box!important;
  }
  html[data-ps-role="owner"] [data-ps-owner-summary-item-v95-1],
  html[data-ps-role="owner"] [data-ps-owner-summary-item-v95-1] > *{
    width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
  }

  html[data-ps-role="staff"] body #root [data-ps-employee-dashboard-stats="1"]{
    width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;
  }
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-control="1"],
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-card="1"]{
    min-width:0!important;max-width:none!important;box-sizing:border-box!important;
  }

  html[data-ps-role="owner"] :is(#ps-ms-root,#ps-employee-control-center-list-v94-214,#ps-employee-control-center-dom-v94-252,#ps-employee-attendance-center-v94-214,#ps-former-employees-v94-77),
  html[data-ps-role="staff"] #ps-ms-root{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
}

/* Compact laptop: keep the existing 230px sidebar and visual styling, but let cards reflow. */
@media (min-width:821px) and (max-width:999px) and (hover:hover) and (pointer:fine){
  html[data-ps-role="owner"] [data-ps-owner-summary-grid-v95-1]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
  }
  html[data-ps-role="owner"] [data-ps-owner-summary-item-v95-1] > *{min-height:88px!important}

  html[data-ps-role="staff"] body #root [data-ps-employee-dashboard-stats="1"]{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;
  }
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-card="1"]{
    padding:11px 10px!important;column-gap:8px!important;
    grid-template-columns:36px minmax(0,1fr) auto!important;
  }
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-icon="1"]{width:36px!important;height:36px!important;border-radius:11px!important}
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-label="1"]{font-size:11.5px!important;line-height:1.35!important}
  html[data-ps-role="staff"] body #root [data-ps-employee-stat-value="1"]{min-width:34px!important;font-size:20px!important;padding:6px!important}
}

/* Owner attendance recap: five cards return only when the content pane is wide enough. */
@media (min-width:821px) and (max-width:1199px) and (hover:hover) and (pointer:fine){
  html[data-ps-role="owner"] body #ps-owner-attendance-recap-v94-271 .ps-att-recap-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;
  }
  html[data-ps-role="owner"] body #ps-owner-attendance-recap-v94-271 .ps-att-recap-card{min-width:0!important;min-height:68px!important}
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
  html[data-ps-role="owner"] body #ps-owner-attendance-recap-v94-271 .ps-att-recap-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* ===== SOURCE: /arabic-vacation-rtl-v95-3.css ===== */
/* PharmaSync v95.3 — Arabic Vacation RTL hardening */
html[dir="rtl"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress,
html[dir="rtl"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-head,
html[dir="rtl"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-progress-foot {
  direction: rtl !important;
  text-align: right !important;
}
html[dir="rtl"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-track {
  direction: rtl !important;
}
html[dir="rtl"] #ps-employee-control-center-dom-v94-252 .ps-cc-leave-track > span {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  margin: 0 !important;
  background: linear-gradient(270deg,#22a06b,#0d7b72) !important;
}

