#ceo-employee-sms-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:var(--em-height,40px)!important;min-height:36px!important;padding:var(--em-padding,8px 14px)!important;margin:0 0 0 8px!important;background:var(--em-background,#244d68)!important;color:var(--em-color,#fff)!important;-webkit-text-fill-color:var(--em-color,#fff)!important;border:var(--em-border,1px solid #5485a6)!important;border-radius:var(--em-radius,10px)!important;font:var(--em-font,700 14px system-ui)!important;white-space:nowrap!important;cursor:pointer!important}
#ceo-employee-messages-r1{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;background:#020617b3!important;font:14px/1.6 system-ui,sans-serif!important;color:#17384a!important}
#ceo-employee-messages-r1 *{box-sizing:border-box}
#ceo-employee-messages-r1 .em-sheet{width:760px;max-width:100%;max-height:95dvh;display:flex;flex-direction:column;border:1px solid #91aabe;border-radius:16px;overflow:hidden;background:#fff;color:#17384a}
#ceo-employee-messages-r1 header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 18px;border-bottom:1px solid #91aabe;background:#f1f7f5;flex:none}
#ceo-employee-messages-r1 h2{font-size:19px;margin:0;color:inherit}
#ceo-employee-messages-r1 h3{font-size:16px;color:inherit}
#ceo-employee-messages-r1 .em-body{overflow:auto;padding:18px;overscroll-behavior:contain}
#ceo-employee-messages-r1 p{margin:9px 0;color:inherit;overflow-wrap:anywhere}
#ceo-employee-messages-r1 :is(button,input,textarea,select){font:inherit;position:static}
#ceo-employee-messages-r1 button{min-height:42px;padding:9px 12px;border:1px solid #365caf;border-radius:9px;background:#305bc2;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:700;cursor:pointer;width:auto}
#ceo-employee-messages-r1 button:disabled{opacity:.5;cursor:not-allowed}
#ceo-employee-messages-r1 :is(input,textarea,select){width:100%;min-height:44px;padding:9px 11px;margin:5px 0;border:1px solid #8fa5bb;border-radius:8px;background:#fff;color:#17384a;-webkit-text-fill-color:#17384a}
#ceo-employee-messages-r1 label{display:block;margin:12px 0;font-weight:700;color:inherit}
#ceo-employee-messages-r1 fieldset{min-width:0;margin:10px 0 0;border:1px solid #91aabe;border-radius:10px;padding:12px}
#ceo-employee-messages-r1 details{padding:10px;border:1px solid #91aabe;border-radius:10px}
#ceo-employee-messages-r1 summary{cursor:pointer;font-weight:700}
#ceo-employee-messages-r1 .em-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#ceo-employee-messages-r1 .em-warning{padding:12px;border:1px solid #d6b95d;border-radius:9px;background:#fff8dc;color:#55420b}
#ceo-employee-messages-r1 .em-clients{max-height:220px;overflow:auto}
#ceo-employee-messages-r1 .em-check{display:flex;align-items:center;gap:8px;margin:8px 0}
#ceo-employee-messages-r1 .em-check input{width:20px;min-height:20px;height:20px;flex:0 0 20px;margin:0;padding:0}
#ceo-employee-messages-r1 .em-card,#ceo-employee-messages-r1 .em-review img{max-width:min(360px,100%);max-height:240px;object-fit:contain}
#ceo-employee-messages-r1 [hidden]{display:none!important}
#ceo-employee-messages-r1 .em-review{border:1px solid #8fa5bb;border-radius:10px;padding:12px}
#ceo-employee-messages-r1 pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}
html[data-ceo-policy-theme=dark] #ceo-employee-messages-r1 .em-sheet{background:#122033;color:#eef6ff}
html[data-ceo-policy-theme=dark] #ceo-employee-messages-r1 header{background:#192c40}
html[data-ceo-policy-theme=dark] #ceo-employee-messages-r1 :is(input,textarea,select){background:#0e1929;color:#eef6ff;-webkit-text-fill-color:#eef6ff}
@media(max-width:520px){#ceo-employee-messages-r1{padding:5px!important}#ceo-employee-messages-r1 .em-body{padding:12px}#ceo-employee-messages-r1 .em-sheet{max-height:97dvh}#ceo-employee-messages-r1 header{padding:12px}}

#ceo-employee-messages-r1 .em-sheet{width:640px;color:#172239}
#ceo-employee-messages-r1 header{background:#fff;padding:20px 16px;min-height:78px}
#ceo-employee-messages-r1 .em-body{padding:16px;font-size:14px}
#ceo-employee-messages-r1 fieldset{border:0;padding:0;margin:0}
#ceo-employee-messages-r1 .em-intro{font-weight:700;font-size:13px}
#ceo-employee-messages-r1 [data-e=notice]{font-size:13px;color:#536175}
#ceo-employee-messages-r1 label{font-size:13px;color:#536175}
#ceo-employee-messages-r1 button{background:#454fda;border-color:#6975ed;border-radius:8px;font-size:13px}
#ceo-employee-messages-r1 textarea{resize:vertical;min-height:84px}
#ceo-employee-messages-r1 .em-recipient{border:1px solid #8fa5bb;background:#f1f7f5;border-radius:9px;padding:12px;font-weight:700;margin:14px 0 10px}
#ceo-employee-messages-r1 .em-card-box{display:flex;align-items:center;gap:12px;border:1px solid #8fa5bb;border-radius:9px;padding:10px;min-height:74px;font-size:13px}
#ceo-employee-messages-r1 .em-card{width:96px;height:56px;object-fit:contain}
#ceo-employee-messages-r1 .em-send-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0 8px}
#ceo-employee-messages-r1 .em-send-actions button{width:100%;padding:12px 4px}
#ceo-employee-messages-r1 .em-lock{display:flex;align-items:center;gap:14px;padding:14px;border:2px solid #a1abc0;border-radius:9px;background:#f1f5f9;font-size:13px}
#ceo-employee-messages-r1 .em-lock input{appearance:none;-webkit-appearance:none;width:58px;min-height:32px;height:32px;flex:none;border-radius:30px;background:#68748b;border:0;padding:0;position:relative;opacity:1}
#ceo-employee-messages-r1 .em-lock input:before{content:'';position:absolute;width:24px;height:24px;background:#fff;border-radius:50%;top:4px;left:4px}
#ceo-employee-messages-r1 .em-picker{border:1px solid #8fa5bb;border-radius:9px;padding:12px;margin-top:8px}
html[data-ceo-policy-theme=dark] #ceo-employee-messages-r1 :is(.em-recipient,.em-lock){background:#18283b;color:#eef6ff}
html[data-ceo-policy-theme=dark] #ceo-employee-messages-r1 :is(label,[data-e=notice]){color:#c6d4e5}
@media(max-width:400px){#ceo-employee-messages-r1 .em-send-actions button{font-size:12px}}

 #ceo-employee-messages-r1 .em-lock:has(input:checked){background:#326b3c;color:white} #ceo-employee-messages-r1 [data-e=records] article{margin:12px 0} #ceo-employee-messages-r1 [data-e=records] pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* SMS_TOGGLE_ALL_ROLES_R1: one 58x32 switch for PC/mobile and both themes. */
#ceo-employee-messages-r1 .em-lock{min-height:80px;cursor:pointer;line-height:1.45}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]{appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;box-sizing:border-box!important;position:relative!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;max-width:58px!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#64748b!important;opacity:1!important;cursor:pointer}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]::before{content:"";display:block;position:absolute!important;box-sizing:border-box;width:24px!important;height:24px!important;top:4px!important;left:4px!important;margin:0;border:0;border-radius:50%;background:#fff!important;box-shadow:0 1px 3px #0005;transform:translateX(0);transition:transform .15s}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]:checked{background:#15803d!important}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]:checked::before{transform:translateX(26px)}
#ceo-employee-messages-r1 .em-lock>div{min-width:0}
#ceo-employee-messages-r1 .em-lock>div strong{font-size:16px;color:inherit!important;-webkit-text-fill-color:currentColor!important}
#ceo-employee-messages-r1 .em-lock>div span{font-size:14px;color:inherit!important;-webkit-text-fill-color:currentColor!important}
#ceo-employee-messages-r1 .em-lock:has(input:checked){background:#166534!important;border-color:#4ade80!important;color:#fff!important;-webkit-text-fill-color:currentColor!important}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}
#ceo-employee-messages-r1 .em-lock input[data-e="arm"]:disabled{cursor:not-allowed}
html[data-ceo-policy-theme="dark"] #ceo-employee-messages-r1 .em-lock:not(:has(input:checked)){background:#18283b!important;border-color:#64748b!important;color:#eef6ff!important;-webkit-text-fill-color:currentColor!important}
@media(prefers-reduced-motion:reduce){#ceo-employee-messages-r1 .em-lock input[data-e="arm"]::before{transition:none}}

/* SMS_TOGGLE_REFERENCE_R2: match the existing personal-account reference. */
#ceo-employee-messages-r1 .em-lock{padding:14px 16px!important;margin:12px 0!important;min-height:80px!important;gap:14px!important;border:2px solid #94a3b8!important;border-radius:8px!important;font-family:system-ui!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;box-shadow:none!important;opacity:1!important}
#ceo-employee-messages-r1 .em-lock:not(:has(input:checked)){background:#f1f5f9!important;color:#19334a!important;-webkit-text-fill-color:currentColor!important}
#ceo-employee-messages-r1 .em-lock>div{display:flex;flex-direction:column;gap:4px;line-height:1.45;white-space:normal}
#ceo-employee-messages-r1 .em-lock>div br{display:none}
#ceo-employee-messages-r1 .em-lock>div strong{font-size:16px!important;font-weight:900!important;line-height:1.45!important}
#ceo-employee-messages-r1 .em-lock>div span{font-size:14px!important;font-weight:700!important;line-height:1.45!important}
html[data-ceo-policy-theme="dark"] #ceo-employee-messages-r1 .em-lock:not(:has(input:checked)){background:#334155!important;border-color:#94a3b8!important;color:#fff!important}
#ceo-employee-messages-r1 .em-lock:has(input:checked){background:#166534!important;border-color:#4ade80!important;color:#fff!important}
