:root{--bg:#07101f;--panel:#111c30;--panel2:#16243d;--line:#283a59;--text:#eef4ff;--muted:#8ea0bd;--primary:#5d85ff;--danger:#c94759;--success:#38b67d;--shadow:0 20px 60px #0005}*{box-sizing:border-box}body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:radial-gradient(circle at 20% 0,#17294c 0,#07101f 45%);color:var(--text)}button,input,textarea,select{font:inherit}.employee-login-body{min-height:100vh;display:grid;place-items:center;padding:20px}.employee-login-card{width:min(460px,100%);padding:32px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,#15233b,#0c1628);box-shadow:var(--shadow)}.employee-brand{display:flex;align-items:center;gap:13px;margin-bottom:27px}.employee-brand.compact{margin:0;padding:18px}.employee-brand-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#5d85ff,#7259e9);font-weight:900}.employee-brand h1{margin:0;font-size:22px}.employee-brand p{margin:2px 0 0;color:var(--muted)}.employee-login-card h2{margin:0 0 8px}.employee-muted{color:var(--muted);line-height:1.5}.employee-field{display:block;margin-top:17px}.employee-field span{display:block;font-size:12px;margin-bottom:7px;color:#c5d3e8}.employee-field input{width:100%;padding:13px;border:1px solid var(--line);border-radius:11px;background:#091426;color:#fff}.employee-primary,.employee-secondary,.employee-danger{border:0;border-radius:11px;padding:11px 15px;color:#fff;cursor:pointer;font-weight:700}.employee-primary{background:linear-gradient(135deg,#4f83ff,#7358e9)}.employee-secondary{background:#1d2c46;border:1px solid #364a6d}.employee-danger{background:#8f3040}.employee-login-card .employee-primary,.employee-login-card .employee-secondary{width:100%;margin-top:14px}.employee-login-message{padding:11px 13px;border-radius:10px;margin-top:14px}.employee-login-message.success{background:#183a31;color:#83dfb7}.employee-login-message.error{background:#48232c;color:#ffadb7}.employee-admin-link{display:block;text-align:center;color:#8eacf0;margin-top:20px;text-decoration:none}.employee-app-body{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.employee-sidebar{position:sticky;top:0;height:100vh;background:#091324;border-right:1px solid var(--line);display:flex;flex-direction:column}.employee-nav{display:grid;gap:5px;padding:10px}.employee-nav button{display:flex;align-items:center;gap:9px;width:100%;padding:11px;border:1px solid transparent;border-radius:10px;background:transparent;color:#aebcd2;text-align:left;cursor:pointer}.employee-nav button.active,.employee-nav button:hover:not(:disabled){background:#192a47;border-color:#304d78;color:#fff}.employee-nav button:disabled{opacity:.45;cursor:not-allowed}.employee-nav em{margin-left:auto;font-size:9px;font-style:normal;background:#283652;padding:3px 5px;border-radius:6px}.employee-logout{margin:auto 14px 16px;padding:10px;border:1px solid #62323c;border-radius:10px;background:#301922;color:#ffacb6;cursor:pointer}.employee-main{min-width:0;padding:0 25px 35px}.employee-topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #22314b}.employee-topbar small{color:var(--muted)}.employee-topbar h2{margin:2px 0 0}.employee-user-chip{display:flex;align-items:center;gap:10px}.employee-user-chip>span{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#294471;font-weight:800}.employee-user-chip b,.employee-user-chip small{display:block}.employee-welcome{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;margin-top:22px;padding:25px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#152845,#152038)}.employee-welcome>div>span{color:#8caff3}.employee-welcome h1{font-size:31px;margin:5px 0}.employee-welcome p{color:var(--muted)}.employee-shift-card{padding:16px;border-radius:15px;background:#0b172a;border:1px solid #304462;display:flex;flex-direction:column;gap:9px}.employee-shift-card>div{display:flex;align-items:center;gap:8px}.employee-shift-card strong{font-size:26px}.employee-shift-card small{color:var(--muted)}.employee-live-dot,.employee-offline-dot{width:9px;height:9px;border-radius:50%}.employee-live-dot{background:#48d394;box-shadow:0 0 0 5px #48d39420}.employee-offline-dot{background:#72829c}.employee-stat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:15px}.employee-stat-grid article{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#101b2e}.employee-stat-grid article>span{font-size:22px}.employee-stat-grid small,.employee-stat-grid b{display:block}.employee-stat-grid small{color:var(--muted);font-size:10px}.employee-stat-grid b{font-size:19px;margin-top:3px}.employee-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}.employee-panel{border:1px solid var(--line);border-radius:16px;background:#101b2e;overflow:hidden}.employee-panel>header{padding:16px;border-bottom:1px solid #25344e}.employee-panel h3{margin:0}.employee-panel header p{margin:3px 0 0;color:var(--muted);font-size:11px}.employee-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid #22314a}.employee-row:last-child{border-bottom:0}.employee-row b,.employee-row span{display:block}.employee-row span{color:var(--muted);font-size:10px;margin-top:3px}.employee-row em{font-style:normal;font-size:10px;padding:5px 8px;border-radius:99px;background:#263754}.employee-row em.approved,.employee-row em.completed{background:#173a31;color:#82dcb6}.employee-row em.rejected{background:#48232c;color:#ffadb7}.employee-row a{color:#87aefb}.employee-empty{padding:30px;text-align:center;color:var(--muted)}.employee-quick-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;padding:15px}.employee-quick-actions button{padding:15px;border:1px solid #30415f;border-radius:12px;background:#15233a;color:#dbe6f7;text-align:left;cursor:pointer}.employee-quick-actions button:disabled{opacity:.5}.employee-quick-actions small{display:block;color:#7f90aa;margin-top:5px}.employee-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin:22px 0 14px}.employee-section-head h2{margin:0}.employee-section-head p{margin:4px 0 0;color:var(--muted)}.employee-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-task-card{padding:17px;border:1px solid var(--line);border-radius:15px;background:#101b2e}.employee-task-card.completed{opacity:.72}.employee-task-card header{display:flex;justify-content:space-between;gap:10px}.employee-task-card small{color:var(--muted)}.employee-task-card h3{margin:4px 0}.employee-task-card header em{font-style:normal;font-size:10px;color:#b7c9e5}.employee-task-card p{color:#c3cede;white-space:pre-wrap}.employee-task-meta{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.employee-task-meta span{padding:5px 8px;border-radius:7px;background:#1b2941;color:#aebed8;font-size:10px}.employee-toast{position:fixed;right:24px;bottom:24px;padding:13px 16px;border-radius:12px;background:#173a31;border:1px solid #28634e;color:#8ce0ba;box-shadow:var(--shadow)}.employee-toast.error{background:#49232c;border-color:#743444;color:#ffabb4}@media(max-width:1200px){.employee-stat-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.employee-app-body{grid-template-columns:1fr}.employee-sidebar{position:static;height:auto}.employee-nav{grid-template-columns:repeat(2,1fr)}.employee-logout{margin:10px}.employee-main{padding:0 14px 25px}.employee-welcome{grid-template-columns:1fr}.employee-dashboard-grid,.employee-task-list{grid-template-columns:1fr}}@media(max-width:550px){.employee-stat-grid{grid-template-columns:repeat(2,1fr)}.employee-topbar{height:auto;padding:12px 0}.employee-user-chip div{display:none}.employee-nav{grid-template-columns:1fr}}

.employee-task-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.employee-task-summary article{padding:14px;border:1px solid var(--line);border-radius:13px;background:#101b2e}.employee-task-summary span{display:block;color:var(--muted);font-size:11px}.employee-task-summary b{display:block;font-size:24px;margin-top:4px}.employee-task-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.employee-task-tabs{display:flex;gap:7px;flex-wrap:wrap}.employee-task-tabs button{padding:8px 12px;border:1px solid #30415f;border-radius:9px;background:#111d31;color:#9fb0ca;cursor:pointer}.employee-task-tabs button.active{background:#24406d;border-color:#5278b6;color:#fff}.employee-task-toolbar select{padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#0d182a;color:#fff}.employee-task-list.ordered{grid-template-columns:1fr}.employee-task-card.organized{position:relative;display:grid;grid-template-columns:6px minmax(0,1fr);padding:0;overflow:hidden}.employee-task-card.organized .employee-task-color{background:#6389ff}.employee-task-card.organized.overdue .employee-task-color{background:#dc5366}.employee-task-card.organized.completed .employee-task-color{background:#42ba82}.employee-task-content{padding:17px}.employee-task-title h3{font-size:18px}.employee-task-state{font-size:10px;padding:6px 9px;border-radius:99px;white-space:nowrap}.employee-task-state.pending{background:#263b5d;color:#b7d0fb}.employee-task-state.overdue{background:#4b252e;color:#ffabb5}.employee-task-state.completed{background:#173a31;color:#82dcb6}.employee-task-labels{display:flex;gap:7px;flex-wrap:wrap;margin:9px 0}.employee-task-labels>span{padding:5px 8px;border-radius:8px;background:#19283f;color:#b4c3db;font-size:10px}.employee-task-labels .priority.urgent{background:#4d252d;color:#ffadb7}.employee-task-labels .priority.important{background:#46371e;color:#ffd17f}.employee-task-labels .priority.normal{background:#223752;color:#b6cff8}.employee-task-content footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid #24344e}.employee-complete-mark{color:#7fdcaf;font-size:12px;font-weight:700}@media(max-width:650px){.employee-task-summary{grid-template-columns:repeat(2,1fr)}.employee-task-toolbar{align-items:stretch;flex-direction:column}.employee-task-toolbar select{width:100%}.employee-task-content footer{align-items:stretch;flex-direction:column}}


/* TT MODER 1.0 — LIVE + материалы */
.employee-live-chip{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:16px;padding:7px 10px;border:1px solid #285a4c;border-radius:99px;background:#122d27}.employee-live-chip i{width:8px;height:8px;border-radius:50%;background:#49d595;box-shadow:0 0 0 5px #49d59522;animation:employeePulse 1.5s infinite}.employee-live-chip span{font-size:10px;font-weight:900;color:#7ee0b4}.employee-live-chip small{color:#9bc6b4}.employee-live-chip.offline{background:#382027;border-color:#6d3540}.employee-live-chip.offline i{background:#e45d6f;box-shadow:none;animation:none}@keyframes employeePulse{50%{box-shadow:0 0 0 9px #49d59508}}.employee-material-toolbar{display:grid;grid-template-columns:210px 210px minmax(220px,1fr) auto;gap:9px;margin-bottom:13px}.employee-material-toolbar select,.employee-material-toolbar input,.employee-modal-card select,.employee-modal-card textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0d182a;color:#fff}.employee-material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.employee-material-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#101b2e}.employee-material-card.pending{border-left:4px solid #668bff}.employee-material-card.approved{border-left:4px solid #47c18a}.employee-material-card.rejected{border-left:4px solid #db5365}.employee-material-card.edited{border-left:4px solid #a07af4}.employee-material-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.employee-material-card h3{margin:3px 0}.employee-material-card header small{color:var(--muted)}.employee-material-card p{white-space:pre-wrap;color:#c8d3e4;line-height:1.5;max-height:180px;overflow:auto}.employee-material-state{font-size:10px;padding:5px 8px;border-radius:99px;white-space:nowrap}.employee-material-state.pending{background:#263b5d;color:#b7d0fb}.employee-material-state.approved{background:#173a31;color:#82dcb6}.employee-material-state.rejected{background:#48232c;color:#ffadb7}.employee-material-state.edited{background:#352d61;color:#d1c2ff}.employee-material-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #24344e;color:var(--muted);font-size:10px}.employee-attachment-link{display:inline-block;padding:7px 10px;border-radius:8px;background:#1a2d4a;color:#8eb5ff;text-decoration:none}.employee-modal{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px}.employee-modal[hidden]{display:none}.employee-modal-backdrop{position:absolute;inset:0;background:#020711cc;backdrop-filter:blur(4px)}.employee-modal-card{position:relative;width:min(720px,96vw);max-height:92vh;overflow:auto;padding:24px;border:1px solid #34496b;border-radius:18px;background:#101b2e;box-shadow:var(--shadow)}.employee-modal-card>p{color:var(--muted)}.employee-modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#aebdd5;font-size:25px;cursor:pointer}.employee-modal-card textarea{resize:vertical}.employee-file-field{display:block;margin-top:15px;padding:12px;border:1px dashed #3c5278;border-radius:11px;background:#0c1729}.employee-file-field span{display:block;color:#b7c5dc;font-size:12px;margin-bottom:8px}.employee-file-field input{color:#aebed6}.employee-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.employee-no-scroll{overflow:hidden}@media(max-width:900px){.employee-material-list{grid-template-columns:1fr}.employee-material-toolbar{grid-template-columns:1fr 1fr}}@media(max-width:600px){.employee-live-chip small{display:none}.employee-material-toolbar{grid-template-columns:1fr}.employee-modal-actions{flex-direction:column-reverse}}


/* STEP 11 — employee workflow */
.employee-workflow-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-workflow-card{padding:16px;border:1px solid var(--line);border-radius:15px;background:#101b2e}.employee-workflow-card.active{border-left:4px solid #668bff}.employee-workflow-card.overdue{border-left:4px solid #df5668;background:#21151b}.employee-workflow-card.completed{border-left:4px solid #48c18a;opacity:.78}.employee-workflow-card.request-approved,.employee-workflow-card.call-confirmed,.employee-workflow-card.call-completed{border-left:4px solid #48c18a}.employee-workflow-card.request-rejected,.employee-workflow-card.call-cancelled{border-left:4px solid #df5668}.employee-workflow-card.request-pending,.employee-workflow-card.call-planned{border-left:4px solid #668bff}.employee-workflow-card.request-discussion,.employee-workflow-card.call-move_requested{border-left:4px solid #aa7bf4}.employee-workflow-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.employee-workflow-card header small{color:var(--muted)}.employee-workflow-card h3{margin:4px 0}.employee-workflow-card header>span{font-size:10px;padding:5px 8px;border-radius:99px;background:#213553;color:#b9cef0}.employee-workflow-card p{color:#c3cfdf;white-space:pre-wrap}.employee-workflow-meta{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.employee-workflow-meta span,.employee-call-time{padding:6px 9px;border-radius:8px;background:#182941;color:#b9c8de;font-size:11px}.employee-workflow-card footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #24344e}.employee-meeting-link{display:inline-block;margin-top:8px;padding:7px 10px;border-radius:8px;background:#1b3150;color:#8eb5ff;text-decoration:none}.employee-detail-card{width:min(800px,96vw)}.employee-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.employee-detail-grid>div{padding:12px;border:1px solid #293b59;border-radius:11px;background:#0c1729}.employee-detail-grid span{display:block;color:var(--muted);font-size:10px}.employee-detail-grid b{display:block;margin-top:4px}.employee-detail-feed{display:grid;gap:8px}.employee-detail-feed article{padding:12px;border:1px solid #293b59;border-radius:11px;background:#0c1729}.employee-detail-feed article.admin{background:#192846}.employee-detail-feed b,.employee-detail-feed span,.employee-detail-feed small{display:block}.employee-detail-feed span,.employee-detail-feed small{color:var(--muted);font-size:10px;margin-top:4px}.employee-detail-feed p{white-space:pre-wrap}.employeeWorkflowSelect,.employee-modal-card>select{width:100%;margin-bottom:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#0d182a;color:#fff}@media(max-width:850px){.employee-workflow-list{grid-template-columns:1fr}}@media(max-width:550px){.employee-detail-grid{grid-template-columns:1fr}}


/* STEP 12 — чаты сотрудника */
.employee-chat-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:13px;min-height:650px}.employee-chat-sidebar,.employee-chat-workspace{border:1px solid var(--line);border-radius:16px;background:#101b2e;overflow:hidden}.employee-chat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:9px;border-bottom:1px solid #25344e}.employee-chat-tabs button{padding:9px;border:1px solid #31435f;border-radius:9px;background:#121f34;color:#96a8c2;cursor:pointer}.employee-chat-tabs button.active{background:#254271;color:#fff}.employee-chat-room-list{padding:8px;max-height:590px;overflow:auto}.employee-chat-room{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;width:100%;padding:11px;border:1px solid transparent;border-bottom-color:#26354e;border-radius:10px;background:transparent;color:#fff;text-align:left;cursor:pointer}.employee-chat-room:hover{background:#16243b}.employee-chat-room.active{background:#1d3152;border-color:#3e5f91}.employee-chat-room>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#223a5d}.employee-chat-room b,.employee-chat-room small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-chat-room small{color:#8799b5;margin-top:3px}.employee-chat-workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.employee-chat-workspace>header{padding:15px 17px;border-bottom:1px solid #25344e}.employee-chat-workspace h3{margin:3px 0}.employee-chat-workspace header small,.employee-chat-workspace header p{color:var(--muted);margin:0}.employee-chat-messages{display:flex;flex-direction:column;gap:9px;padding:17px;overflow:auto;max-height:530px}.employee-chat-message{max-width:78%;padding:11px 13px;border:1px solid #2a3b59;border-radius:14px;background:#17243a}.employee-chat-message.mine{align-self:flex-end;background:#243765;border-color:#425998}.employee-chat-message.admin{align-self:flex-start;background:#243b32;border-color:#356a56}.employee-chat-message.other{align-self:flex-start}.employee-chat-message header{display:flex;justify-content:space-between;gap:12px}.employee-chat-message small{color:#8092ae}.employee-chat-message p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.employee-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px;border-top:1px solid #25344e}.employee-chat-composer textarea{resize:none;padding:11px;border:1px solid #344966;border-radius:11px;background:#0b1628;color:#fff;font:14px/1.5 Segoe UI,Arial,sans-serif}@media(max-width:850px){.employee-chat-layout{grid-template-columns:1fr}.employee-chat-room-list{max-height:300px}.employee-chat-workspace{min-height:580px}}@media(max-width:550px){.employee-chat-message{max-width:95%}.employee-chat-composer{grid-template-columns:1fr}}


/* STEP 13 — история нарушений, зарплата, звук */
.employee-section-actions{display:flex;gap:8px;flex-wrap:wrap}.employee-salary-layout{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);gap:14px}.employee-salary-form,.employee-salary-result{padding:20px;border:1px solid var(--line);border-radius:16px;background:#101b2e}.employee-salary-form select,.employee-salary-form input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#0d182a;color:#fff}.employee-salary-form>.employee-primary{width:100%;margin-top:17px}.employee-salary-gifts-head{margin-top:17px;padding:12px;border:1px solid #304361;border-radius:11px;background:#14223a}.employee-salary-gifts-head label{display:flex;align-items:center;gap:9px;cursor:pointer}.employee-salary-gifts-head input{width:auto;accent-color:#6289ff}.employee-salary-total{padding:20px;border-radius:15px;background:linear-gradient(135deg,#234477,#352d70);text-align:center}.employee-salary-total span{display:block;color:#b8ccef}.employee-salary-total strong{display:block;font-size:38px;margin-top:6px}.employee-salary-breakdown{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:12px}.employee-salary-breakdown>div{padding:12px;border:1px solid #2a3c5b;border-radius:11px;background:#0b1729}.employee-salary-breakdown span{display:block;color:var(--muted);font-size:10px}.employee-salary-breakdown b{display:block;margin-top:4px}.employee-salary-formula{margin-top:12px;padding:11px;border-radius:10px;background:#172740;color:#aebfda;text-align:center}@media(max-width:850px){.employee-salary-layout{grid-template-columns:1fr}}@media(max-width:550px){.employee-salary-breakdown{grid-template-columns:1fr}}


/* TT MODER 1.4 — громкий звук и настройки */
.notification-sound-control{
  position:fixed;
  right:22px;
  bottom:82px;
  z-index:120;
  font-family:Segoe UI,Arial,sans-serif;
}
.notification-sound-toggle{
  width:46px;
  height:46px;
  border:1px solid #4f6f9f;
  border-radius:14px;
  background:linear-gradient(145deg,#243e68,#172a49);
  color:#fff;
  font-size:21px;
  cursor:pointer;
  box-shadow:0 12px 30px #0007;
}
.notification-sound-toggle:hover{
  transform:translateY(-1px);
  filter:brightness(1.12);
}
.notification-sound-popover{
  position:absolute;
  right:0;
  bottom:55px;
  width:280px;
  padding:15px;
  border:1px solid #405878;
  border-radius:14px;
  background:#101b2e;
  color:#eef4ff;
  box-shadow:0 22px 55px #0009;
}
.notification-sound-title{
  margin-bottom:13px;
  font-weight:800;
}
.notification-sound-popover label{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
  color:#aebed7;
  font-size:12px;
}
.notification-sound-popover strong{
  color:#fff;
}
.notification-sound-range{
  width:100%;
  accent-color:#6d93ff;
}
.notification-sound-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:13px;
}
.notification-sound-actions button{
  padding:9px 10px;
  border:1px solid #395171;
  border-radius:9px;
  background:#1a2b47;
  color:#fff;
  cursor:pointer;
}
.notification-sound-test{
  background:#315b9a!important;
}
.notification-desktop-enable{
  grid-column:1/-1;
  background:#223b62!important;
}
@media(max-width:600px){
  .notification-sound-control{
    right:14px;
    bottom:72px;
  }
  .notification-sound-popover{
    width:min(280px,calc(100vw - 28px));
  }
}


/* STEP 15 — личные балансы */
.employee-personal-balances{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
  margin-top:15px;
}
.employee-personal-balances article{
  position:relative;
  overflow:hidden;
  padding:17px;
  border:1px solid #365079;
  border-radius:15px;
  background:linear-gradient(135deg,#172b49,#132039);
}
.employee-personal-balances article:after{
  content:"";
  position:absolute;
  width:90px;
  height:90px;
  right:-30px;
  top:-35px;
  border-radius:50%;
  background:#608cff18;
}
.employee-personal-balances span,
.employee-personal-balances b,
.employee-personal-balances small{
  display:block;
  position:relative;
  z-index:1;
}
.employee-personal-balances span{color:#b6c9e6;font-size:12px}
.employee-personal-balances b{font-size:29px;margin-top:7px}
.employee-personal-balances small{color:#7f93b2;margin-top:5px}
@media(max-width:1200px) and (min-width:851px){
  .employee-personal-balances{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .employee-personal-balances{grid-template-columns:1fr}
}

.employee-quick-actions button{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:55px;
}
.employee-quick-actions .employee-quick-icon{
  flex:0 0 auto;
  font-size:23px;
  line-height:1;
}


/* STEP 16 — баланс напарников */
.employee-balance-group-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#101b2e}.employee-balance-group-head h3{margin:4px 0}.employee-balance-group-head small,.employee-balance-group-head>span{color:var(--muted)}.employee-pair-total-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.employee-pair-total-grid article{padding:17px;border:1px solid #3d5681;border-radius:14px;background:linear-gradient(135deg,#1a3154,#182441)}.employee-pair-total-grid span,.employee-pair-total-grid b{display:block}.employee-pair-total-grid span{color:#aebfda}.employee-pair-total-grid b{font-size:27px;margin-top:6px}.employee-member-balance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.employee-member-balance-grid>article{padding:17px;border:1px solid var(--line);border-radius:15px;background:#101b2e}.employee-member-balance-grid>article.me{border-color:#557cba;background:#142744}.employee-member-balance-grid header{display:flex;align-items:center;gap:11px}.employee-balance-avatar{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#2c4c7d;font-weight:900}.employee-member-balance-grid h3{margin:0}.employee-member-balance-grid small{color:var(--muted)}.employee-member-balance-values{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px}.employee-member-balance-values>div{padding:11px;border-radius:10px;background:#0b1729}.employee-member-balance-values span,.employee-member-balance-values b{display:block}.employee-member-balance-values span{color:var(--muted);font-size:10px}.employee-member-balance-values b{margin-top:4px}@media(max-width:850px){.employee-pair-total-grid,.employee-member-balance-grid{grid-template-columns:1fr}}@media(max-width:550px){.employee-member-balance-values{grid-template-columns:1fr}}


/* TT MODER 3.0 — улучшенный чат сотрудника */
.employee-chat-tabs.three-tabs{grid-template-columns:repeat(3,1fr)}.employee-chat-composer.enhanced{position:relative;grid-template-columns:auto auto auto minmax(0,1fr) auto}.employee-composer-tool{border:1px solid #344966;border-radius:10px;background:#17263d;color:#fff;padding:9px;cursor:pointer}.employee-messenger-picker{position:absolute;left:10px;bottom:72px;z-index:10;display:grid;grid-template-columns:repeat(6,40px);gap:5px;padding:9px;border:1px solid #405779;border-radius:13px;background:#101b2e;box-shadow:0 20px 50px #0009}.employee-messenger-picker[hidden]{display:none}.employee-messenger-picker button{width:40px;height:40px;border:0;border-radius:9px;background:#172741;font-size:21px;cursor:pointer}.employee-messenger-picker.sticker-picker button{font-size:28px}.employee-chat-message.modern{padding:9px 11px;border-radius:15px}.employee-chat-message.modern.mine{border-bottom-right-radius:4px}.employee-chat-message.modern.admin{border-bottom-left-radius:4px}.employee-chat-message.modern footer{display:flex;justify-content:flex-end;gap:6px;color:#8fa2bd;margin-top:5px}.employee-message-photo{display:block;max-width:320px;max-height:360px;border-radius:11px;cursor:zoom-in}.employee-message-sticker{font-size:62px;line-height:1}.employee-task-buttons{display:flex;align-items:center;gap:8px}.employee-task-photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}.employee-task-photo-preview img{width:100%;height:110px;object-fit:cover;border-radius:9px}@media(max-width:550px){.employee-chat-composer.enhanced{grid-template-columns:auto auto auto 1fr}.employee-chat-composer.enhanced .employee-primary{grid-column:1/-1}}


/* STEP 20 — понятные вкладки мессенджера */
.employee-chat-tabs.two-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:10px;
  border-bottom:1px solid #2b3d59;
}
.employee-chat-tabs.two-tabs button{
  min-height:46px;
  padding:10px 14px;
  border:1px solid #3b5274;
  border-radius:11px;
  background:#122038;
  color:#9fb2ce;
  font-weight:700;
  cursor:pointer;
}
.employee-chat-tabs.two-tabs button.active{
  background:linear-gradient(135deg,#315a93,#294574);
  border-color:#5d82bb;
  color:#fff;
  box-shadow:0 8px 20px #0004;
}


/* STEP 23 — архивы в стиле «Мои задачи» */
.employee-archive-toolbar{
  margin:12px 0;
}
.employee-chat-tabs.three-clear-tabs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  padding:10px;
  border-bottom:1px solid #2b3d59;
}
.employee-chat-tabs.three-clear-tabs button{
  min-height:46px;
  padding:9px 8px;
  border:1px solid #3b5274;
  border-radius:11px;
  background:#122038;
  color:#9fb2ce;
  font-weight:700;
  cursor:pointer;
}
.employee-chat-tabs.three-clear-tabs button.active{
  background:linear-gradient(135deg,#315a93,#294574);
  border-color:#5d82bb;
  color:#fff;
}
.employee-direct-avatar{
  position:relative;
  width:38px!important;
  height:38px!important;
  border-radius:11px!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(135deg,#355f9d,#4c3d7c)!important;
  font-weight:900;
}
.employee-direct-avatar i{
  position:absolute;
  right:-2px;
  bottom:-2px;
  width:11px;
  height:11px;
  border:2px solid #101b2e;
  border-radius:50%;
}
.employee-direct-avatar i.online{background:#42d28c}
.employee-direct-avatar i.offline{background:#6b7890}
@media(max-width:650px){
  .employee-chat-tabs.three-clear-tabs{grid-template-columns:1fr}
}


/* STEP 24 — предпросмотр медиа и напарники */
.employee-pending-media{
  padding:10px 12px 0;
  border-top:1px solid #27364e;
  background:#0e192b;
}
.employee-pending-media[hidden]{display:none}
.employee-pending-media-card{
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 34px;
  gap:10px;
  align-items:center;
  padding:9px;
  border:1px solid #405779;
  border-radius:12px;
  background:#14223a;
}
.employee-pending-media-card img{
  width:72px;
  height:58px;
  object-fit:cover;
  border-radius:9px;
}
.employee-pending-media-card b,
.employee-pending-media-card small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.employee-pending-media-card small{
  margin-top:5px;
  color:#8ea0b9;
}
.employee-pending-media-card button{
  width:32px;
  height:32px;
  border:1px solid #8a4050;
  border-radius:9px;
  background:#4a1d2a;
  color:#fff;
  font-size:20px;
  cursor:pointer;
}

.employee-project-portfolio{margin-top:16px}
.employee-project-portfolio>header{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}
.employee-project-portfolio h2{margin:0;font-size:21px}
.employee-project-portfolio p{margin:4px 0 0;color:var(--muted);font-size:12px}
.employee-project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px}
.employee-project-card{padding:16px;border:1px solid #304764;border-radius:16px;background:linear-gradient(145deg,#13233b,#0d192b);box-shadow:0 18px 38px #0003;overflow:hidden}
.employee-project-card.active{border-color:#35bd8b;box-shadow:0 16px 38px #19aa6d18}
.employee-project-card>header{display:flex;justify-content:space-between;gap:12px;align-items:start}
.employee-project-card h3{margin:3px 0 0;font-size:18px}
.employee-project-card header small{color:#7695ca;font-size:9px;letter-spacing:.12em}
.employee-project-status{padding:5px 9px;border-radius:99px;background:#193451;color:#bcd4ff;font-size:10px}
.employee-project-card.active .employee-project-status{background:#154434;color:#72e0af}
.employee-project-meta{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0;color:#8296b6;font-size:10px}
.employee-project-meta b{color:#dbe8ff;margin-left:4px}
.employee-project-balances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.employee-project-balances>div{padding:9px;border:1px solid #263b5b;border-radius:10px;background:#0b1628}
.employee-project-balances small,.employee-project-balances b{display:block}
.employee-project-balances small{font-size:9px;color:#8599b7}
.employee-project-balances b{font-size:15px;margin-top:4px}
.employee-project-chart{height:84px;margin-top:8px;display:grid;place-items:center;color:#7489a9;font-size:11px}
.employee-project-chart svg{width:100%;height:100%;overflow:visible}
@media(max-width:700px){.employee-project-balances{grid-template-columns:repeat(2,1fr)}}


/* =========================================================
   STEP 25 — VISUAL POLISH / EMPLOYEE
   ========================================================= */

:root{
  --employee-accent:#6d7cff;
  --employee-accent-2:#8a5cf6;
  --employee-panel:#101b2e;
  --employee-panel-soft:#14223a;
  --employee-border:#304764;
  --employee-shadow:0 18px 48px rgba(0,0,0,.28);
}

html{
  scroll-behavior:smooth;
}

body{
  background:
    radial-gradient(circle at 18% 8%,rgba(73,111,255,.12),transparent 32%),
    radial-gradient(circle at 94% 5%,rgba(130,89,246,.09),transparent 26%),
    linear-gradient(180deg,#08111f,#0a1322 75%);
}

*{
  scrollbar-width:thin;
  scrollbar-color:#39577d transparent;
}

*::-webkit-scrollbar{
  width:9px;
  height:9px;
}
*::-webkit-scrollbar-track{
  background:transparent;
}
*::-webkit-scrollbar-thumb{
  background:#365274;
  border:2px solid transparent;
  background-clip:padding-box;
  border-radius:99px;
}

button,
input,
select,
textarea{
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
}

button:not(:disabled):active{
  transform:scale(.98);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:none;
  border-color:#788fff!important;
  box-shadow:0 0 0 3px rgba(109,124,255,.22)!important;
}

.employee-sidebar{
  background:
    linear-gradient(180deg,rgba(13,27,48,.98),rgba(8,17,31,.98));
  box-shadow:15px 0 42px rgba(0,0,0,.18);
}

.employee-nav button{
  border:1px solid transparent;
  border-radius:12px;
  margin:3px 8px;
}

.employee-nav button:hover{
  background:rgba(84,116,173,.13);
  border-color:rgba(107,139,198,.22);
  transform:translateX(2px);
}

.employee-nav button.active{
  background:
    linear-gradient(135deg,#20395f,#25345a);
  border-color:#486b9d;
  box-shadow:
    inset 3px 0 0 #7d90ff,
    0 9px 23px rgba(0,0,0,.2);
}

.employee-page-header{
  backdrop-filter:blur(14px);
}

.employee-card,
.employee-workflow-item,
.employee-task-card,
.employee-material-card,
.employee-stat-card,
.employee-modern-contacts,
.employee-modern-dialog,
.employee-modern-info,
.employee-chat-sidebar,
.employee-chat-dialog{
  box-shadow:var(--employee-shadow);
}

.employee-task-card,
.employee-workflow-item,
.employee-material-card,
.employee-chat-room{
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.employee-task-card:hover,
.employee-workflow-item:hover,
.employee-material-card:hover{
  transform:translateY(-2px);
  border-color:#48698f;
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}

.employee-primary{
  background:
    linear-gradient(135deg,#5977ff,#7c5cff)!important;
  border-color:#7d8bff!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(89,105,255,.23);
}
.employee-primary:hover{
  filter:brightness(1.08);
  box-shadow:0 13px 30px rgba(89,105,255,.3);
}

.employee-secondary{
  background:linear-gradient(180deg,#172844,#122038)!important;
  border-color:#405a80!important;
}
.employee-secondary:hover{
  background:linear-gradient(180deg,#20365a,#172a47)!important;
  border-color:#5879a8!important;
}

.employee-task-tabs{
  padding:6px;
  border:1px solid #2f4464;
  border-radius:12px;
  background:#0d192c;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.employee-task-tabs button.active{
  background:
    linear-gradient(135deg,#315a93,#4c4f91);
  border-color:#6484ba;
  color:#fff;
  box-shadow:0 8px 18px rgba(49,90,147,.25);
}

.employee-chat-tabs.three-clear-tabs button,
.employee-chat-tabs.two-tabs button{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.employee-chat-tabs.three-clear-tabs button.active,
.employee-chat-tabs.two-tabs button.active{
  box-shadow:
    0 9px 21px rgba(46,75,126,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.employee-chat-room:hover{
  transform:translateX(2px);
  background:#192c49;
}

.employee-chat-room.active{
  background:
    linear-gradient(135deg,#213d66,#26375e);
  border-color:#5278ad;
  box-shadow:
    inset 3px 0 0 #8192ff,
    0 8px 18px rgba(0,0,0,.18);
}

.employee-chat-message{
  animation:employeeMessageIn .16s ease-out;
}
@keyframes employeeMessageIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}

.employee-chat-message.mine{
  background:
    linear-gradient(135deg,#315d94,#4a4d8d)!important;
}

.employee-message-photo,
.employee-pending-media-card img{
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

.employee-pending-media-card{
  animation:employeeMediaIn .16s ease-out;
}
@keyframes employeeMediaIn{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:none}
}

.employee-personal-balances article,
.employee-pair-total-grid article{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.employee-personal-balances article:hover,
.employee-pair-total-grid article:hover{
  transform:translateY(-2px);
  border-color:#526f9c;
  box-shadow:0 13px 28px rgba(0,0,0,.22);
}

.employee-live-badge,
.employee-status-pill{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 18px rgba(0,0,0,.18);
}

.employee-modal:not([hidden]) .employee-modal-card{
  animation:employeeModalIn .2s ease-out;
}
@keyframes employeeModalIn{
  from{opacity:0;transform:translateY(12px) scale(.985)}
  to{opacity:1;transform:none}
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}

.tt-click{
  animation:ttButtonClick .18s ease!important;
}
@keyframes ttButtonClick{
  0%{transform:scale(1)}
  50%{transform:scale(.965)}
  100%{transform:scale(1)}
}


/* STEP 26 — мессенджер сотрудника как у администратора */
.employee-admin-style-messenger{
  display:grid;
  grid-template-columns:310px minmax(0,1fr) 270px;
  gap:14px;
  height:calc(100vh - 155px);
  min-height:650px;
}
.employee-messenger-contacts,
.employee-messenger-dialog,
.employee-messenger-info{
  min-width:0;
  border:1px solid #314765;
  border-radius:17px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(18,32,54,.97),rgba(13,24,42,.97));
  box-shadow:0 18px 48px rgba(0,0,0,.28);
}
.employee-messenger-contacts{
  display:flex;
  flex-direction:column;
}
.employee-messenger-contacts>header{
  padding:15px 16px 11px;
  border-bottom:1px solid #283b57;
}
.employee-messenger-contacts h3{
  margin:0;
}
.employee-messenger-contacts small{
  color:#8ea1bc;
}
.employee-messenger-search{
  padding:9px 10px;
}
.employee-messenger-search input{
  width:100%;
  padding:10px 12px;
  border:1px solid #344c6b;
  border-radius:11px;
  background:#0c182a;
  color:#fff;
}
.employee-chat-room-list{
  overflow:auto;
  padding:5px 7px 10px;
}
.employee-messenger-dialog{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto;
}
.employee-messenger-dialog>header{
  min-height:76px;
  padding:13px 17px;
  border-bottom:1px solid #283b57;
  background:rgba(14,26,45,.78);
}
.employee-messenger-dialog .employee-chat-messages{
  max-height:none;
  padding:18px;
  background:
    radial-gradient(circle at 50% 0,#172a48,#0b1627 67%);
}
.employee-messenger-info{
  padding:18px;
  text-align:center;
}
.employee-messenger-info-empty{
  display:grid;
  justify-items:center;
  gap:7px;
  padding-top:42px;
  color:#8799b3;
}
.employee-messenger-info-empty span{
  font-size:38px;
}
.employee-messenger-profile-avatar{
  width:78px;
  height:78px;
  margin:4px auto 11px;
  display:grid;
  place-items:center;
  border-radius:23px;
  background:linear-gradient(135deg,#365f9d,#5c4386);
  font-size:28px;
  font-weight:900;
}
.employee-messenger-info h3{
  margin:0;
}
.employee-messenger-info>p{
  color:#91a3bd;
}
.employee-messenger-info-list{
  display:grid;
  gap:8px;
  margin-top:18px;
  text-align:left;
}
.employee-messenger-info-list article{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px;
  border-bottom:1px solid #293a54;
}
.employee-messenger-info-list b,
.employee-messenger-info-list small{
  display:block;
}
.employee-messenger-info-list small{
  color:#8395af;
}
.employee-messenger-status{
  display:inline-block;
  margin-top:8px;
  padding:5px 9px;
  border-radius:99px;
  font-size:10px;
}
.employee-messenger-status.online{
  background:#173c31;
  color:#82dfb5;
}
.employee-messenger-status.offline{
  background:#252f40;
  color:#a0acc0;
}
@media(max-width:1200px){
  .employee-admin-style-messenger{
    grid-template-columns:290px minmax(0,1fr);
  }
  .employee-messenger-info{
    display:none;
  }
}
@media(max-width:780px){
  .employee-admin-style-messenger{
    grid-template-columns:1fr;
    height:auto;
  }
  .employee-messenger-contacts{
    max-height:360px;
  }
  .employee-messenger-dialog{
    min-height:620px;
  }
}

.employee-language-switch{display:flex;gap:3px;padding:3px;border:1px solid #314765;border-radius:10px;background:#101d31}
.employee-language-switch button{padding:6px 8px;border:0;border-radius:7px;background:transparent;color:#8295b3;font-size:10px;font-weight:900;cursor:pointer}
.employee-language-switch button.active{background:#526df0;color:#fff}
.employee-login-card .login-language-switch{display:flex;justify-content:center;gap:4px;margin:0 auto 18px;padding:4px;width:max-content;border:1px solid #314765;border-radius:11px;background:#101d31}
.employee-login-card .login-language-switch button{min-width:38px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#8295b3;font-size:11px;font-weight:900;cursor:pointer}
.employee-login-card .login-language-switch button.active{background:#526df0;color:#fff}
.employee-live-chip small b{color:inherit;font:inherit}
.employee-stat-grid article[role="button"]{cursor:pointer;transition:transform .16s,filter .16s}
.employee-stat-grid article[role="button"]:hover{transform:translateY(-2px);filter:brightness(1.08)}
.employee-nav button em,.employee-messenger-unread,[id$="Badge"]{min-width:21px;height:21px;padding:0 6px;display:inline-grid;place-items:center;border-radius:999px;background:#ff365f!important;color:#fff!important;box-shadow:0 0 0 2px #101b2d,0 0 16px rgba(255,54,95,.55);font-size:11px;font-style:normal;font-weight:900}
.employee-nav button em:empty,.employee-messenger-unread:empty,[id$="Badge"]:empty{display:none!important}
.employee-chat-dialog,.employee-modal-card{transition:border-color .18s,box-shadow .18s,background .18s}
.employee-chat-dialog.drop-active,.employee-modal.drop-active .employee-modal-card,.employee-modal-card.drop-active,.employee-file-field.drop-active{border-color:#6e8cff!important;background:#17294b!important;box-shadow:inset 0 0 0 2px rgba(110,140,255,.35)}

/* Уведомления всегда находятся выше карточек задач и модальных затемнений. */
.employee-toast{
  z-index:2147483647!important;
  isolation:isolate;
  opacity:1!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  max-width:min(520px,calc(100vw - 32px));
  background:#123d31;
  box-shadow:0 18px 55px rgba(0,0,0,.72),0 0 0 2px rgba(75,222,164,.28);
  pointer-events:auto;
}
.employee-toast.error{
  background:#54202c;
  box-shadow:0 18px 55px rgba(0,0,0,.72),0 0 0 2px rgba(255,105,125,.25);
}
.employee-material-drop-zone{display:grid;min-width:0;gap:9px;overflow:hidden;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.employee-material-drop-zone>span{min-width:0;margin:0;text-align:center}.employee-material-file-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));align-items:start;gap:10px;max-width:100%;max-height:230px;overflow-x:hidden;overflow-y:auto;padding:10px;border:1px solid #2f4668;border-radius:10px;background:#101e33}.employee-material-file-preview[hidden]{display:none}.employee-material-file-card{display:grid;min-width:0;gap:6px;margin:0;padding:6px;border:1px solid #2b4262;border-radius:10px;background:#0b1729}.employee-material-file-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:7px}.employee-material-file-card figcaption{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b9c9df;font-size:10px;text-align:center}.employee-material-file-card.document{place-items:center;min-height:92px}.employee-material-file-card.document>span{font-size:28px}.employee-material-drop-zone input{width:100%}.employee-material-drop-zone .employee-custom-file-row{overflow:hidden}.employee-material-drop-zone #newMaterialFileName{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-modal-card{min-width:0;max-width:96vw;box-sizing:border-box;overflow-x:hidden}
.balance-chart-card{padding:16px;border:1px solid #304766;border-radius:16px;background:#101e33}.balance-chart-card header{display:flex;justify-content:space-between;gap:12px;align-items:center}.balance-line-chart{min-height:260px;overflow:hidden}.balance-line-chart svg{display:block;width:100%;min-width:0;height:260px;touch-action:none}.balance-line-chart text{fill:#8295b3;font-size:11px}.balance-line-chart .chart-axis{stroke:#344966}.balance-line-chart .balance-line{fill:none;stroke:#6f82ff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.balance-line-chart .balance-line.pair{stroke:#31c994}.balance-line-chart circle{fill:#fff;stroke:#6f82ff;stroke-width:3}
@media(max-width:700px){.employee-language-switch{order:3;width:100%;justify-content:center}.employee-topbar{flex-wrap:wrap}.balance-chart-card header{align-items:stretch;flex-direction:column}}

/* Full task card with admin attachments. */
details.employee-task-card.organized{display:block;grid-template-columns:none;width:100%;min-height:76px;padding:0;overflow:hidden}
.employee-task-summary{display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 16px;cursor:pointer;list-style:none}
.employee-task-summary::marker{display:none;content:""}
.employee-task-summary::-webkit-details-marker{display:none}
.employee-task-summary .employee-task-color{align-self:stretch;width:4px;border-radius:99px;background:#667dff}
.employee-task-summary .employee-task-title{display:block;min-width:0;flex:1}
.employee-task-summary .employee-task-title small,.employee-task-summary .employee-task-title strong{display:block}
.employee-task-summary .employee-task-title small{color:#8295b3;font-size:10px;margin-bottom:4px}
.employee-task-summary .employee-task-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}
.employee-task-attachment-count{white-space:nowrap;color:#b9c7db;font-size:12px}
.employee-task-chevron{font-size:20px;color:#8295b3;transition:transform .18s ease}
details[open]>.employee-task-summary .employee-task-chevron{transform:rotate(180deg)}
.employee-task-expanded{display:block;padding:0 18px 18px 34px;border-top:1px solid #263a56}
.employee-task-full-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin:16px 0;color:#e5edf8}
.employee-task-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:14px 0 18px}
.employee-task-media{display:block;overflow:hidden;border:1px solid #385373;border-radius:12px;background:#0b1627;color:#a9c6ff;text-decoration:none}
.employee-task-media img{display:block;width:100%;height:180px;object-fit:cover;background:#07101d}
.employee-task-media span{display:block;padding:8px 10px;font-size:11px}
.employee-task-no-media{color:#788ca9;font-size:12px}
@media(max-width:620px){.employee-task-summary{align-items:flex-start;flex-wrap:wrap}.employee-task-summary .employee-task-title{min-width:calc(100% - 42px)}.employee-task-expanded{padding-left:18px}.employee-task-media-grid{grid-template-columns:1fr}.employee-task-media img{height:auto;max-height:360px}}
.employee-task-state.submitted{background:#49391e;color:#ffd17d}.employee-task-state.revision{background:#4b252e;color:#ffabb5}.employee-task-card.submitted .employee-task-color{background:#d8a538}.employee-task-card.revision .employee-task-color{background:#dc5366}.employee-task-review-note,.employee-task-proof{padding:10px 12px;border-radius:10px;background:#17243a;color:#c7d4e9}
.employee-workflow-card.call-requested{border-left:4px solid #668bff}
.safe-inline-link{
  color:#7eaaff;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.safe-inline-link:hover{color:#b2ceff}
.employee-vacation-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.employee-vacation-dates .employee-field{margin-top:17px}@media(max-width:600px){.employee-vacation-dates{grid-template-columns:1fr;gap:0}}
.employee-call-request-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:2px 0 14px}
.employee-call-request-fields .employee-field{margin:0}
.employee-call-request-fields .employee-call-topic-field{grid-column:1/-1}
.employee-call-request-fields input{width:100%;min-height:48px;padding:0 14px;border:1px solid #375278;border-radius:12px;background:#0d1a2c;color:#f5f8ff;font:inherit;color-scheme:dark}
.employee-call-request-fields input:focus{border-color:#718cff;outline:2px solid rgba(113,140,255,.18)}
@media(max-width:600px){.employee-call-request-fields{grid-template-columns:1fr}.employee-call-request-fields .employee-call-topic-field{grid-column:auto}}
.employee-message-pin{display:block;margin-top:7px;color:#ffd66b;font-size:11px}.partner-absence-schedule{display:block;margin-top:8px;padding:8px 10px;border:1px solid #425b80;border-radius:9px;background:#142640;color:#d8e7ff!important}
.employee-chat-view-tools{display:flex;gap:5px;flex-wrap:wrap}.employee-chat-view-tools button{padding:6px 8px}.employee-chat-view-tools button.active{border-color:#7799ff;background:#29467d}.employee-message-pin-button{border:0;background:transparent;color:#8395ae;cursor:pointer}.employee-message-pin-button.active{color:#ffd66b}
.employee-task-filters [data-employee-task-filter] em,
[data-employee-task-filter] em,
[data-employee-material-archive] em,
[data-employee-violation-archive] em{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:7px;padding:0 6px;border-radius:999px;background:rgba(124,140,255,.22);color:#fff;font-style:normal;font-size:12px;font-weight:800}
[data-employee-task-filter].active em,
[data-employee-material-archive].active em,
[data-employee-violation-archive].active em{background:#fff;color:#4054c8}
.employee-modal [hidden]{display:none!important}
.employee-shift-column{display:grid;align-content:start;gap:10px}
#employeeRecentReviews{max-height:270px;overflow-y:auto;scrollbar-gutter:stable}.employee-row[role="button"]{cursor:pointer}.employee-row[role="button"]:hover{background:#152640}
.employee-dashboard-balance-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.employee-dashboard-balance-head select{padding:7px 10px;border:1px solid #3a5275;border-radius:9px;background:#0d192c;color:#eef4ff}.employee-dashboard-balance-chart{min-height:285px;padding:12px}.employee-dashboard-balance-legend{display:flex;gap:12px;flex-wrap:wrap;padding:0 4px 7px}.employee-dashboard-balance-legend span,.employee-dashboard-balance-tooltip span{display:flex;align-items:center;gap:6px;color:#b8c8df;font-size:11px}.employee-dashboard-balance-legend i,.employee-dashboard-balance-tooltip i{display:inline-block;width:9px;height:9px;border-radius:50%}.employee-dashboard-balance-legend b{color:#eef4ff}.employee-dashboard-chart-stage{position:relative;overflow:hidden}.employee-dashboard-chart-stage svg{display:block;width:100%;height:245px;touch-action:none}.employee-dashboard-chart-stage text{fill:#8295b3;font-size:11px}.employee-dashboard-chart-stage .chart-axis{stroke:#344966}.employee-dashboard-chart-stage circle{stroke:#0b172a;stroke-width:1.5}.employee-dashboard-hover-line{stroke:#8fa6ca;stroke-width:1;stroke-dasharray:4 5}.employee-dashboard-balance-tooltip{position:absolute;z-index:4;display:grid;gap:5px;min-width:180px;padding:10px 12px;border:1px solid #4b6388;border-radius:10px;background:#081426;box-shadow:0 12px 30px #0008;pointer-events:none}.employee-dashboard-balance-tooltip strong{margin-bottom:2px}.employee-dashboard-balance-tooltip[hidden]{display:none}.employee-material-highlight{border-color:#8294ff!important;box-shadow:0 0 0 3px rgba(112,132,255,.25),0 18px 44px rgba(0,0,0,.35)!important;animation:employeeMaterialPulse .8s ease 2}@keyframes employeeMaterialPulse{50%{transform:translateY(-2px);filter:brightness(1.12)}}
@media(max-width:700px){.employee-dashboard-balance-head{align-items:stretch;flex-direction:column}}

.employee-welcome-main{min-width:0}
.employee-weekly-plan-card{margin-top:14px;overflow:hidden;border:1px solid #304766;border-radius:14px;background:#0b172a}
.employee-weekly-plan-card>header{padding:11px 13px;border-bottom:1px solid #263a56}
.employee-weekly-plan-card h3{margin:0;font-size:16px}
.employee-weekly-plan-card header p{margin:3px 0 0;color:#9bacc5;font-size:11px}
.employee-weekly-plan{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:7px;padding:8px;overflow-x:auto}
.employee-weekly-day{min-width:0;overflow:hidden;border:1px solid #293e5e;border-radius:10px;background:#101e33}
.employee-weekly-day>header{display:flex;align-items:center;gap:6px;padding:8px 9px;border-bottom:1px solid #293e5e;background:#142640}
.employee-weekly-day>header b{color:#fff;font-size:13px}
.employee-weekly-day>header span{overflow:hidden;color:#a1b2ca;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.employee-weekly-day-list{height:205px;overflow-y:auto;padding:7px;scrollbar-gutter:stable}
.employee-weekly-day-list article{padding:6px 4px;border-bottom:1px solid #263a56}
.employee-weekly-day-list article:last-child{border-bottom:0}
.employee-weekly-day-list time{display:block;margin-bottom:5px;color:#80adff;font-size:11px;font-weight:800}
.employee-weekly-task-lines{display:grid;gap:7px}
.employee-weekly-task-lines p{margin:0;padding:0 0 7px;border-bottom:1px solid #26364f;color:#e4ecf8;font-size:12px;line-height:1.42;overflow-wrap:anywhere}
.employee-weekly-task-lines p:last-child{padding-bottom:0;border-bottom:0}
.employee-weekly-day-list>small{display:block;padding:28px 2px;text-align:center;color:#7185a3;font-size:11px}
.employee-dashboard-task.completed{opacity:.66}
.employee-dashboard-task.completed b{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:#7e93b3}
.employee-today-work{display:flex!important;align-items:center!important;justify-content:space-between;gap:10px;padding:7px 9px;border:1px solid #2f4566;border-radius:9px;background:#101e33}
.employee-today-work span{color:#9eb0ca;font-size:11px}
.employee-today-work b{color:#eef4ff;font-size:14px;white-space:nowrap}
@media(max-width:850px){.employee-weekly-plan{grid-template-columns:repeat(7,165px)}.employee-weekly-day-list{height:205px}}

/* Keep all four employee Dashboard cards visually aligned. */
@media(min-width:851px){
  .employee-dashboard-grid{
    grid-auto-rows:370px;
    align-items:stretch;
  }
  .employee-dashboard-grid>.employee-panel{
    display:flex;
    min-height:0;
    height:370px;
    flex-direction:column;
  }
  .employee-dashboard-grid>.employee-panel>header{
    flex:0 0 auto;
  }
  #employeeRecentTasks,
  #employeeRecentReviews{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    scrollbar-gutter:stable;
  }
  .employee-dashboard-balance-chart,
  .employee-quick-actions{
    flex:1 1 auto;
    min-height:0;
  }
  .employee-quick-actions{
    align-content:start;
  }
}

/* Employee notification center */
.employee-topbar-actions{display:flex;align-items:center;gap:13px;margin-left:auto}
.employee-brand-with-wordmark{display:block;height:96px;padding:17px 18px!important}
.employee-brand-wordmark{position:relative;width:100%;height:62px;overflow:hidden}
.employee-brand-wordmark img{position:absolute;top:-24px;left:0;display:block;width:100%;height:auto;filter:drop-shadow(0 4px 12px rgba(231,139,176,.18))}
.employee-notification-button{position:relative;display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;padding:0;border:1px solid #365173;border-radius:12px;background:#12233b;color:#fff;font-size:18px;cursor:pointer;transition:.18s ease}
.employee-notification-button:hover{border-color:#718dff;background:#1a3152;transform:translateY(-1px)}
.employee-notification-button em{position:absolute;top:-7px;right:-7px;min-width:21px;height:21px;padding:0 6px;border:2px solid #091427;border-radius:999px;background:#ff3e69;color:#fff;font-size:11px;font-style:normal;font-weight:900;line-height:17px;text-align:center;box-shadow:0 0 16px #ff3e6977}
.employee-notification-shade{position:fixed;inset:0;z-index:1490;background:rgba(2,8,18,.56);backdrop-filter:blur(2px)}
.employee-notification-center{position:fixed;z-index:1500;top:0;right:0;display:flex;width:min(430px,100vw);height:100dvh;flex-direction:column;border-left:1px solid #334d70;background:#0b172a;box-shadow:-24px 0 60px rgba(0,0,0,.48);animation:employeeNotificationIn .2s ease}
.employee-notification-center[hidden],.employee-notification-shade[hidden]{display:none}
@keyframes employeeNotificationIn{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
.employee-notification-center>header{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;border-bottom:1px solid #263a56;background:#101f36}
.employee-notification-center>header small{display:block;margin-bottom:3px;color:#7195ce;font-size:10px;font-weight:900;letter-spacing:.12em}
.employee-notification-center>header h2{margin:0;color:#fff;font-size:22px}
.employee-notification-center>header button{display:grid;width:36px;height:36px;place-items:center;border:1px solid #375170;border-radius:10px;background:#0d1a2e;color:#fff;font-size:25px;cursor:pointer}
.employee-notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #253956;color:#aebdd2;font-size:12px}
.employee-notification-toolbar button{padding:8px 11px;border:1px solid #45638c;border-radius:9px;background:#142743;color:#e9f1ff;font-size:12px;font-weight:800;cursor:pointer}
.employee-notification-list{flex:1;overflow-y:auto;padding:12px;scrollbar-gutter:stable}
.employee-notification-item{display:grid;grid-template-columns:38px minmax(0,1fr) 9px;gap:11px;margin-bottom:8px;padding:13px;border:1px solid #263d5e;border-radius:13px;background:#101e33;color:#fff;text-align:left;cursor:pointer;transition:.16s ease}
.employee-notification-item:hover{border-color:#5678ae;background:#142743;transform:translateY(-1px)}
.employee-notification-item.unread{border-color:#536fd1;background:linear-gradient(135deg,#172a4a,#111f36)}
.employee-notification-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#213a61;font-size:18px}
.employee-notification-copy{min-width:0}.employee-notification-copy b{display:block;overflow:hidden;margin-bottom:4px;color:#f4f7ff;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.employee-notification-copy p{margin:0;color:#b8c6da;font-size:12px;line-height:1.42;overflow-wrap:anywhere}.employee-notification-copy time{display:block;margin-top:7px;color:#7186a4;font-size:10px}
.employee-notification-dot{align-self:center;width:8px;height:8px;border-radius:50%;background:transparent}.employee-notification-item.unread .employee-notification-dot{background:#ff3e69;box-shadow:0 0 10px #ff3e69}
.employee-notification-empty{display:grid;min-height:240px;place-items:center;color:#7f91ab;text-align:center}.employee-notification-empty span{display:block;margin-bottom:10px;font-size:36px}
@media(max-width:760px){.employee-topbar-actions{gap:8px;margin-left:0}.employee-topbar-actions .employee-language-switch{order:initial;width:auto;justify-content:initial}.employee-notification-center{width:100vw}.employee-topbar{flex-wrap:wrap}}

/* Employee home: avoid repeating the page caption and employee identity. */
.employee-home-greeting[hidden],.employee-page-heading[hidden]{display:none!important}
.employee-home-greeting{font-size:20px;font-weight:800;line-height:1.25;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(46vw,720px)}
.employee-welcome-main>span,.employee-welcome-main>#employeeWelcomeName,.employee-welcome-main>#employeeGroups{display:none}
.employee-welcome-main>.employee-weekly-plan-card{margin-top:0}
.employee-shift-column{align-self:center}
@media(max-width:850px){.employee-home-greeting{max-width:100%;font-size:18px}.employee-shift-column{align-self:stretch}}

.employee-login-wordmark{position:relative;width:100%;height:86px;margin:0 0 12px;overflow:hidden}
.employee-login-wordmark img{position:absolute;top:-39px;left:0;display:block;width:100%;height:auto;filter:drop-shadow(0 5px 14px rgba(0,87,183,.2))}
/* Clickable full-width summaries */
.employee-task-summary .employee-summary-tile{position:relative;display:grid;min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#121f34,#0d192b);color:#fff;text-align:left;cursor:pointer;transition:.18s ease}
.employee-task-summary .employee-summary-tile:hover{transform:translateY(-2px);border-color:#5679b2;background:#172944;box-shadow:0 12px 28px rgba(0,0,0,.22)}
.employee-task-summary .employee-summary-tile.active{border-color:#7191ff;background:linear-gradient(145deg,#203b68,#172b4a);box-shadow:inset 3px 0 #7695ff,0 10px 25px rgba(20,44,88,.28)}
.employee-task-summary .employee-summary-tile span{display:block;color:var(--muted);font-size:12px}.employee-task-summary .employee-summary-tile b{display:block;margin-top:4px;font-size:26px}.employee-task-summary .employee-summary-tile small{margin-top:8px;color:#86aaf0;font-size:10px;opacity:0;transition:.18s}.employee-task-summary .employee-summary-tile:hover small,.employee-task-summary .employee-summary-tile.active small{opacity:1}
.balance-line-chart{position:relative!important}
.balance-chart-tooltip{position:absolute;z-index:5;display:grid;gap:4px;min-width:116px;padding:9px 11px;border:1px solid #4d668e;border-radius:10px;background:#081426;color:#edf4ff;box-shadow:0 12px 30px #0008;pointer-events:none}.balance-chart-tooltip span{color:#a9c7ff;font-weight:800}.balance-chart-tooltip[hidden]{display:none}
.balance-chart-tooltip.is-visible{z-index:20!important;display:grid!important;visibility:visible!important;opacity:1!important}

/* Unified CharmConnect charts: smooth luminous area, dates below, no Y axis. */
.balance-line-chart,.employee-dashboard-chart-stage{position:relative;overflow:hidden;border-radius:14px}
.balance-line-chart svg,.employee-dashboard-chart-stage svg{display:block;width:100%;min-width:0;touch-action:none}
.balance-line-chart .chart-axis,.employee-dashboard-chart-stage .chart-axis{stroke:#2d4261;stroke-width:1}
.balance-line-chart .balance-area{fill:url(#employeeBalanceGradient)}
.balance-line-chart .balance-line{fill:none;stroke:#59dce6;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:url(#employeeBalanceGlow)}
.balance-line-chart .balance-line.pair{stroke:#48d4ad}
.balance-line-chart circle{fill:#f7fbff;stroke:#59dce6;stroke-width:3;filter:drop-shadow(0 0 5px rgba(89,220,230,.55))}
.balance-line-chart text,.employee-dashboard-chart-stage text{fill:#879ab8;font-size:11px}
.balance-hover-line,.employee-dashboard-hover-line{stroke:#8bdce7;stroke-width:1;stroke-dasharray:4 5;opacity:.85}
.balance-hover-dot{fill:#fff!important;stroke:#55dce6!important;stroke-width:4!important}
.employee-dashboard-curve{stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(91,214,229,.35))}
.employee-dashboard-area{opacity:.72}
.balance-chart-tooltip,.employee-dashboard-balance-tooltip{border-color:#526e9a;background:linear-gradient(145deg,rgba(10,22,41,.98),rgba(20,34,60,.98));box-shadow:0 14px 34px rgba(0,0,0,.48),0 0 22px rgba(65,203,223,.12)}
.employee-balance-mode{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px;border:1px solid #344e73;border-radius:12px;background:#091629}.employee-balance-mode button{padding:8px 11px;border:1px solid transparent;border-radius:9px;background:transparent;color:#9eb0cc;cursor:pointer;font-weight:700}.employee-balance-mode button:hover{color:#fff;background:#172b49}.employee-balance-mode button.active{border-color:#6486f5;background:linear-gradient(135deg,#315ca8,#564bd3);color:#fff;box-shadow:0 7px 18px rgba(59,80,180,.25)}
@media(max-width:650px){.employee-task-summary .employee-summary-tile{padding:13px}.employee-balance-mode{display:grid;grid-template-columns:1fr}.employee-balance-mode button{text-align:left}}
.employee-result-new-count{position:absolute;right:12px;top:12px;padding:4px 7px;border-radius:999px;background:#7457ef;color:#fff;font-size:10px;font-style:normal;font-weight:800}.employee-material-new-result{border-color:#806cff!important;box-shadow:0 0 0 2px rgba(128,108,255,.18),0 16px 36px rgba(0,0,0,.24)!important}.employee-material-new-badge{padding:5px 8px;border-radius:999px;background:linear-gradient(135deg,#5c86ff,#8159ee);color:#fff;font-size:10px;font-weight:900}.employee-approved-photo-result{display:grid;gap:5px;margin-bottom:13px;padding:15px;border:1px solid #356f5a;border-radius:12px;background:#102f27;color:#92e5c0}.employee-approved-photo-result span{color:#b8d8cb;font-size:12px}.employee-download-selected{display:inline-flex;align-items:center;justify-content:center;margin-top:2px;padding:10px 14px;border:1px solid #527ac2;border-radius:10px;background:#18345d;color:#dbe9ff;text-decoration:none;font-weight:800}.employee-download-selected:hover{background:#214476}

#employeeTaskSummary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;min-height:0;padding:0;cursor:default}
.employee-task-toolbar-sort-only{justify-content:flex-end}
.employee-task-labels>span{padding:7px 11px;font-size:13px;font-weight:700}
.employee-task-state{font-size:12px;padding:7px 11px;font-weight:800}
.employee-task-state.revision{background:#4b252e;color:#ffabb5}
@media(max-width:1050px){#employeeTaskSummary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#employeeTaskSummary{grid-template-columns:repeat(2,minmax(0,1fr))}}

#employeeMaterialSummary{display:grid;grid-template-columns:repeat(5,minmax(180px,1fr));gap:11px;min-height:0;padding:0 0 6px;overflow-x:auto;cursor:default}
.employee-material-list{grid-template-columns:1fr}
.employee-material-collapsible{padding:0;overflow:hidden}
.employee-material-collapsible>summary{list-style:none}
.employee-material-collapsible>summary::-webkit-details-marker{display:none}
.employee-material-summary-row{display:flex;align-items:center;gap:13px;min-height:74px;padding:14px 17px;cursor:pointer}
.employee-material-summary-row:hover{background:#152640}
.employee-material-heading{display:block;min-width:0;flex:1}
.employee-material-heading small,.employee-material-heading strong{display:block}
.employee-material-heading small{margin-bottom:4px;color:#8295b3;font-size:11px}
.employee-material-heading strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}
.employee-material-attachment-count{padding:6px 9px;border-radius:9px;background:#1d304d;color:#b7cdf0;font-size:12px}
.employee-material-chevron{font-size:18px;color:#92ace0;transition:.18s ease}
.employee-material-collapsible[open] .employee-material-chevron{transform:rotate(180deg)}
.employee-material-body{padding:16px 18px;border-top:1px solid #293c59}
.employee-material-copy,.employee-material-admin-comment,.employee-material-attachments{margin-bottom:13px;padding:13px;border-radius:11px;background:#0c182a}
.employee-material-copy small,.employee-material-admin-comment small,.employee-material-attachments>small{display:block;margin-bottom:7px;color:#8199bd;font-size:11px;font-weight:800}
.employee-material-copy p,.employee-material-admin-comment p{max-height:none;margin:0;color:#d5deec;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow:visible}
.employee-material-copy.corrected{border:1px solid #2d6b58;background:#10271f}
.employee-material-copy.original{border:1px solid #344968}
.employee-material-admin-comment{border:1px solid #7b3745;background:#351c25}
.employee-material-admin-comment p{color:#ffc0c9}
.employee-material-body footer{display:flex;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #24344e;color:var(--muted);font-size:11px}
@media(max-width:850px){#employeeMaterialSummary{grid-template-columns:repeat(5,minmax(180px,1fr))}}
.employee-violation-collapsible{padding:0!important;overflow:hidden}.employee-violation-collapsible>summary{list-style:none}.employee-violation-collapsible>summary::-webkit-details-marker{display:none}.employee-violation-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:14px;padding:16px 18px;cursor:pointer}.employee-violation-summary:hover{background:#152640}.employee-violation-heading{min-width:0}.employee-violation-heading small,.employee-violation-heading strong{display:block}.employee-violation-heading small{margin-bottom:5px;color:#8ea4c4}.employee-violation-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.employee-violation-deadline{padding:6px 8px;border-radius:8px;background:#192b47;color:#aebfda;font-size:11px}.employee-workflow-status{padding:6px 9px;border-radius:999px;background:#263d62;color:#bfd4fa;font-size:10px}.employee-violation-toggle{display:flex;align-items:center;gap:7px;color:#a8bef0;font-size:11px;font-weight:800}.employee-violation-toggle .open-label{display:none}.employee-violation-collapsible[open] .employee-violation-toggle .closed-label{display:none}.employee-violation-collapsible[open] .employee-violation-toggle .open-label{display:inline}.employee-violation-collapsible[open] .employee-violation-toggle{transform:none}.employee-violation-collapsible[open] .employee-violation-toggle>span+span+*{transform:rotate(180deg)}.employee-violation-body{padding:0 18px 17px;border-top:1px solid #263a56}.employee-violation-body>p{white-space:pre-wrap}.employee-violation-body footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:13px;border-top:1px solid #263a56}
@media(max-width:750px){.employee-violation-summary{grid-template-columns:minmax(0,1fr) auto}.employee-violation-deadline{grid-column:1}.employee-workflow-status{grid-column:2;grid-row:1}.employee-violation-toggle{grid-column:2;grid-row:2}.employee-violation-body footer{align-items:stretch;flex-direction:column}}

.employee-violation-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.employee-violation-summary-grid .employee-summary-tile{min-height:108px;text-align:left}
.employee-violation-summary{grid-template-columns:minmax(0,1fr) auto}
.employee-violation-summary-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.employee-violation-summary-right .employee-violation-deadline{order:2;white-space:nowrap}
.employee-violation-summary-right .employee-workflow-status{order:1;white-space:nowrap}
.employee-violation-summary-right .employee-violation-toggle{order:3;white-space:nowrap}
@media(max-width:980px){.employee-violation-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-violation-summary{align-items:start}.employee-violation-summary-right{align-items:flex-end;flex-direction:column}.employee-violation-summary-right .employee-workflow-status,.employee-violation-summary-right .employee-violation-deadline,.employee-violation-summary-right .employee-violation-toggle{order:initial}}
@media(max-width:560px){.employee-violation-summary-grid{grid-template-columns:1fr}.employee-violation-summary{grid-template-columns:1fr}.employee-violation-summary-right{align-items:flex-start;margin-top:10px}}
.employee-profile-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.employee-profile-column{min-width:0;padding:13px;border:1px solid #304766;border-radius:16px;background:#101e33}.employee-profile-column>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.employee-profile-column>header small{color:#8094b4}.employee-profile-column>header h3{margin:2px 0 0}.employee-profile-column>header>b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:#23416d}.employee-profile-labels,.employee-profile-summary{display:grid;grid-template-columns:minmax(150px,1.7fr) 58px 82px 82px 100px 18px;align-items:center;gap:8px}.employee-profile-labels{padding:0 9px 6px;color:#7f93b3;font-size:9px}.employee-profile-compact{margin-top:8px;border:1px solid #304766;border-radius:12px;background:#0d192b;overflow:hidden}.employee-profile-summary{width:100%;padding:11px 10px;border:0;background:transparent;color:#eef4ff;text-align:left;cursor:pointer}.employee-profile-summary:hover{background:#152640}.employee-profile-name{min-width:0}.employee-profile-name b,.employee-profile-name small{display:block}.employee-profile-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-profile-name small{margin-top:2px;color:#83a2d0;font-size:10px}.employee-profile-age,.employee-profile-money{text-align:center;font-size:11px;font-weight:700}.employee-profile-money.current{color:#53e6b4}.employee-profile-trend{font-size:10px;font-weight:800;text-align:center}.employee-profile-trend.growth{color:#58e4a5}.employee-profile-trend.decline{color:#ff7e92}.employee-profile-trend.stable{color:#a7b5cb}.employee-profile-trend.unknown{color:#7185a5}.employee-profile-chevron{transition:.18s}.employee-profile-compact.open .employee-profile-chevron{transform:rotate(180deg)}.employee-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;border-top:1px solid #293d5b;background:#101f35}.employee-profile-details>div{padding:9px;border-radius:9px;background:#0a1627}.employee-profile-details small,.employee-profile-details b{display:block}.employee-profile-details small{margin-bottom:4px;color:#8196b6}.employee-profile-details>details{grid-column:1/-1}.employee-profile-details details p{display:flex;justify-content:space-between;margin:6px 0;padding:7px 9px;border-radius:8px;background:#0a1627}
.employee-profiles-grid{display:block!important;width:100%;margin-top:18px}.employee-profile-board{width:100%}@media(max-width:1500px){.employee-profile-board{grid-template-columns:1fr}}
@media(max-width:1100px){.employee-profile-board{grid-template-columns:1fr}}@media(max-width:650px){.employee-profile-labels{display:none}.employee-profile-summary{grid-template-columns:minmax(130px,1fr) 75px 72px 18px}.employee-profile-age,.employee-profile-money:first-of-type{display:none}.employee-profile-trend{grid-column:3}.employee-profile-details{grid-template-columns:1fr}}
/* Keep employee navigation fixed and align its first item with Admin */
@media(min-width:851px){.employee-sidebar{position:fixed;inset:0 auto 0 0;width:250px;height:100dvh;overflow:hidden}.employee-main{grid-column:2}.employee-sidebar>.employee-brand-with-wordmark{flex:0 0 76px;height:76px;padding:5px 18px!important}.employee-brand-wordmark{height:66px}.employee-nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;padding-top:0}.employee-nav button{width:calc(100% - 4px)}.employee-logout{flex:0 0 auto;margin:8px 14px 16px}}

/* Embedded Flow workspace. The iframe stays mounted while other employee pages are open. */
.employee-flow-copilot-panel{position:absolute;right:14px;top:14px;z-index:4;width:min(330px,calc(100% - 28px));display:grid;gap:9px;padding:13px;border:1px solid #526da1;border-radius:14px;background:#0b1729ee;box-shadow:0 16px 40px #0008}.employee-flow-copilot-panel[hidden]{display:none}.employee-flow-copilot-panel textarea{width:100%;padding:9px;border:1px solid #304766;border-radius:9px;background:#081426;color:#fff;resize:vertical}.employee-flow-copilot-panel #employeeFlowCopilotResult{white-space:pre-wrap;line-height:1.45;color:#d8e5fa;max-height:180px;overflow:auto}
#employeeFlowScannerFrame{position:fixed;left:-20000px;top:-20000px;width:1600px;height:1000px;border:0;opacity:.001;pointer-events:none;z-index:-1}
.employee-flow-page{height:100dvh;min-height:620px;padding:6px 0}
.employee-flow-toolbar{height:46px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:5px 10px;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:#101b2e}
.employee-flow-toolbar strong,.employee-flow-toolbar small{display:block}
.employee-flow-toolbar small{margin-top:2px;color:var(--muted);font-size:11px}
.employee-flow-toolbar-actions{display:flex;align-items:center;gap:8px}
.employee-flow-toolbar-actions a{text-decoration:none}
.employee-flow-zoom{display:flex;align-items:center;height:36px;overflow:hidden;border:1px solid #364a6d;border-radius:10px;background:#0b172a}
.employee-flow-zoom button{height:100%;min-width:36px;padding:0 9px;border:0;border-right:1px solid #2c3e5d;background:transparent;color:#eef4ff;cursor:pointer;font-weight:800}
.employee-flow-zoom button:last-child{border-right:0}
.employee-flow-zoom button:hover{background:#233756}
.employee-flow-zoom button:nth-child(2){min-width:60px;font-size:12px}
.employee-flow-frame-wrap{position:relative;height:calc(100% - 46px);overflow:hidden;contain:layout paint;overscroll-behavior:none;border:1px solid var(--line);border-radius:0 0 10px 10px;background:#fff}
.employee-flow-frame-wrap iframe{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#fff;transform-origin:0 0;filter:none!important;opacity:1}
.employee-flow-loading{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:#0d182a;color:#aebed8;font-weight:700}
.employee-flow-loading[hidden]{display:none}
@media(min-width:851px){
  body.employee-flow-mode{grid-template-columns:76px minmax(0,1fr)}
  body.employee-flow-mode .employee-sidebar{width:76px;transition:width .18s ease}
  body.employee-flow-mode .employee-main{padding:0 6px}
  body.employee-flow-mode .employee-topbar{display:none}
  body.employee-flow-mode .employee-brand-wordmark{opacity:0}
  body.employee-flow-mode .employee-nav button{white-space:nowrap;overflow:hidden;justify-content:flex-start;min-height:44px}
  body.employee-flow-mode .employee-nav button em{display:none!important}
  body.employee-flow-mode .employee-logout{white-space:nowrap;overflow:hidden;padding:10px 4px}
  body.employee-flow-mode.employee-flow-sidebar-expanded{grid-template-columns:250px minmax(0,1fr)}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-sidebar{width:250px}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-brand-wordmark{opacity:1}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-nav button{font-size:inherit;justify-content:flex-start}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-nav button em:not(:empty){display:inline-grid!important}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-nav button em:empty{display:none!important}
  body.employee-flow-mode.employee-flow-sidebar-expanded .employee-logout{font-size:inherit}
}
@media(max-width:850px){body.employee-flow-mode .employee-topbar{display:none}.employee-flow-page{height:100dvh;min-height:520px;padding:4px 0}.employee-flow-toolbar-actions a{display:none}}
.employee-notification-shade{z-index:3090!important}.employee-notification-center{z-index:3100!important}

/* Global CharmConnect watermark background */
body{background-color:#071120;background-image:url('/static/charmconnect-watermark-background.png');background-position:center center;background-repeat:no-repeat;background-size:cover;background-attachment:fixed}
@media(max-width:720px){body{background-attachment:scroll}}
/* Workflow status boards and localized file picker. */
.employee-custom-file-row{display:flex!important;align-items:center;gap:10px;margin:8px 0 0!important}.employee-custom-file-row span{margin:0!important}
#employeeViolationList{align-items:start}
#employeeViolationList.employee-independent-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#employeeViolationList .employee-workflow-column{display:grid;gap:12px;align-content:start;min-width:0}
@media(max-width:850px){#employeeViolationList.employee-independent-columns{grid-template-columns:1fr}}
.employee-request-summary-grid,.employee-call-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0 16px}.employee-call-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.employee-request-summary-grid,.employee-call-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.employee-request-summary-grid,.employee-call-summary-grid{grid-template-columns:1fr}}

/* Status tiles outside the task/material summary containers. */
.employee-violation-summary-grid .employee-summary-tile,
.employee-request-summary-grid .employee-summary-tile,
.employee-call-summary-grid .employee-summary-tile{
  position:relative;
  display:grid;
  align-content:center;
  min-width:0;
  min-height:108px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(145deg,#121f34,#0d192b);
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.employee-violation-summary-grid .employee-summary-tile:hover,
.employee-request-summary-grid .employee-summary-tile:hover,
.employee-call-summary-grid .employee-summary-tile:hover{
  transform:translateY(-2px);
  border-color:#5679b2;
  background:#172944;
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.employee-violation-summary-grid .employee-summary-tile.active,
.employee-request-summary-grid .employee-summary-tile.active,
.employee-call-summary-grid .employee-summary-tile.active{
  border-color:#7191ff;
  background:linear-gradient(145deg,#203b68,#172b4a);
  box-shadow:inset 3px 0 #7695ff,0 10px 25px rgba(20,44,88,.28);
}
.employee-violation-summary-grid .employee-summary-tile span,
.employee-request-summary-grid .employee-summary-tile span,
.employee-call-summary-grid .employee-summary-tile span{display:block;color:var(--muted);font-size:12px}
.employee-violation-summary-grid .employee-summary-tile b,
.employee-request-summary-grid .employee-summary-tile b,
.employee-call-summary-grid .employee-summary-tile b{display:block;margin-top:4px;font-size:26px}
.employee-violation-summary-grid .employee-summary-tile small,
.employee-request-summary-grid .employee-summary-tile small,
.employee-call-summary-grid .employee-summary-tile small{display:block;margin-top:8px;color:#86aaf0;font-size:10px;opacity:0;transition:.18s}
.employee-violation-summary-grid .employee-summary-tile:hover small,
.employee-violation-summary-grid .employee-summary-tile.active small,
.employee-request-summary-grid .employee-summary-tile:hover small,
.employee-request-summary-grid .employee-summary-tile.active small,
.employee-call-summary-grid .employee-summary-tile:hover small,
.employee-call-summary-grid .employee-summary-tile.active small{opacity:1}

/* Readable violation cards: align with task typography and pin overdue state. */
.employee-violation-summary{position:relative;padding:18px 20px}
.employee-violation-collapsible.overdue .employee-violation-summary{padding-bottom:52px}
.employee-violation-heading small{margin-bottom:7px;font-size:13px;line-height:1.25}
.employee-violation-heading strong{font-size:19px;line-height:1.35}
.employee-violation-deadline{padding:8px 11px;font-size:13px;font-weight:700}
.employee-violation-summary .employee-workflow-status{padding:8px 11px;font-size:12px;font-weight:800}
.employee-violation-toggle{font-size:13px}
.employee-violation-countdown,.employee-violation-overdue{position:absolute!important;inset:auto 20px 14px auto!important;grid-column:auto!important;grid-row:auto!important;justify-self:auto!important;align-self:auto!important;display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:7px 11px;border:1px solid #7d501d;border-radius:999px;background:#3a2816;color:#ffca61;font-size:13px;font-weight:900;line-height:1;box-shadow:0 5px 16px rgba(0,0,0,.18)}
.employee-violation-body{padding-right:20px;padding-left:20px;font-size:15px;line-height:1.55}
.employee-violation-body>p{font-size:16px}
.employee-violation-body .employee-workflow-meta{font-size:13px}
@media(max-width:750px){.employee-violation-collapsible.overdue .employee-violation-summary{padding-bottom:52px}.employee-violation-countdown,.employee-violation-overdue{inset:auto 14px 12px auto!important}}

/* Calls arrive collapsed; each card expands independently. */
#employeeCallList{align-items:start}
#employeeCallList .employee-call-collapsible{align-self:start}
.employee-call-collapsible{padding:0!important;overflow:hidden}
.employee-call-collapsible>summary{list-style:none}
.employee-call-collapsible>summary::-webkit-details-marker{display:none}
.employee-call-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 20px;cursor:pointer}
.employee-call-summary:hover{background:#152640}
.employee-call-heading{min-width:0}
.employee-call-heading small,.employee-call-heading strong{display:block}
.employee-call-heading small{margin-bottom:7px;color:#8ea4c4;font-size:13px}
.employee-call-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;line-height:1.35}
.employee-call-summary-right{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.employee-call-toggle{display:flex;align-items:center;gap:7px;color:#a8bef0;font-size:13px;font-weight:800;white-space:nowrap}
.employee-call-toggle .open-label{display:none}
.employee-call-collapsible[open] .employee-call-toggle .closed-label{display:none}
.employee-call-collapsible[open] .employee-call-toggle .open-label{display:inline}
.employee-call-collapsible[open] .employee-call-toggle{transform:none}
.employee-call-body{padding:17px 20px 19px;border-top:1px solid #263a56;font-size:15px;line-height:1.55}
.employee-call-body>p{font-size:16px}
@media(max-width:650px){.employee-call-summary{grid-template-columns:1fr}.employee-call-summary-right{justify-content:space-between}.employee-call-body footer{align-items:stretch;flex-direction:column}}

/* Four balance summaries on desktop; keep cards readable on smaller screens. */
.employee-pair-total-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.employee-pair-total-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.employee-pair-total-grid{grid-template-columns:1fr}}
.employee-workflow-card.review{border-left:4px solid #e6b94a!important;background:#211e15!important}.employee-workflow-card.review .employee-violation-summary{padding-bottom:16px!important}
.employee-workflow-status.review{border:1px solid #8a691d!important;background:#433515!important;color:#ffd66f!important}.employee-workflow-status.completed{border:1px solid #237c55!important;background:#153b2d!important;color:#79efb4!important}.employee-workflow-status.overdue{border:1px solid #9a3347!important;background:#4b1c28!important;color:#ff93a5!important}
.employee-profile-sortbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:12px}
.employee-profile-sortbar button{padding:9px 12px;border:1px solid #38506f;border-radius:10px;background:#101e33;color:#bdcce2;font-weight:800;cursor:pointer}
.employee-profile-sortbar button.active{border-color:#708cff;background:#263f75;color:#fff}
.employee-pair-profile-table{overflow-x:auto;border:1px solid #304766;border-radius:15px;background:#101e33}
.employee-pair-profile-table>header,.employee-pair-profile-row{display:grid;grid-template-columns:105px minmax(170px,1.35fr) 65px 115px 115px 155px repeat(3,minmax(125px,1fr)) minmax(190px,1.2fr);gap:10px;align-items:center;min-width:1370px}
.employee-pair-profile-table>header{padding:11px 13px;border-bottom:1px solid #304766;color:#8297b8;font-size:10px;font-weight:800}
.employee-pair-profile-table>header .sortable{display:inline-flex;align-items:center;gap:5px;color:#b9c9e2;cursor:pointer;user-select:none}
.employee-pair-profile-table>header .sortable:hover{color:#fff}
.employee-pair-profile-row{padding:12px 13px;border-bottom:1px solid #243a58;color:#dfe9f8;font-size:12px}
.employee-pair-profile-row:last-child{border-bottom:0}
.employee-pair-profile-row:hover{background:#14243b}
.employee-pair-profile-row>span{min-width:0}
.employee-pair-profile-row .profile-id{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.employee-pair-profile-row .profile-id small,.employee-pair-profile-row .profile-id b{display:inline}
.employee-pair-profile-row .profile-id small{color:#7891b6}
.employee-pair-profile-row .profile-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-pair-profile-row .current{color:#55e4ae;font-weight:900}
.profile-responsible-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
.profile-responsible-control select,.profile-responsible-control button{min-width:0;padding:8px;border:1px solid #3a5274;border-radius:8px;background:#0c182a;color:#edf4ff}
.profile-responsible-control button{background:#586cff;font-weight:800;cursor:pointer}
@media(max-width:700px){.employee-profile-sortbar{display:grid;grid-template-columns:1fr 1fr}.employee-pair-profile-table>header,.employee-pair-profile-row{min-width:1280px}}
.balance-chart-hit{fill:transparent;pointer-events:all;cursor:crosshair}
.balance-hover-line{stroke:#90a8ff;stroke-width:1.5;stroke-dasharray:5 5;pointer-events:none}
.balance-hover-dot{fill:#fff!important;stroke:#58dce6!important;stroke-width:4;pointer-events:none}
.employee-native-file-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.employee-custom-file-row{display:flex!important;align-items:center;gap:10px;margin:0!important;text-align:left!important}
.employee-custom-file-row>button{flex:0 0 auto}
.employee-custom-file-row>span{min-width:0;margin:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b7c5dc;text-align:left!important}

/* Final compact Employee Flow navigation. Icons and counters remain readable. */
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-sidebar{width:76px!important;padding-left:9px!important;padding-right:9px!important;align-items:stretch!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px!important;overflow-x:hidden!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 48px!important;width:48px!important;max-width:48px!important;height:48px!important;min-height:48px!important;margin:0!important;padding:0!important;gap:0!important;overflow:visible!important;color:transparent!important;font-size:0!important;line-height:1!important;text-indent:0!important;border-radius:12px!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button::before{display:grid;place-items:center;width:48px;height:48px;color:#dce8fa;font-size:18px;line-height:1}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="home"]::before{content:'🏠'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="flow"]::before{content:'🌐'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="tasks"]::before{content:'📋'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="materials"]::before{content:'📨'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="violations"]::before{content:'⚠️'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="requests"]::before{content:'📩'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="calls"]::before{content:'📞'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="chats"]::before{content:'💬'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="balance"]::before{content:'💳'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="salary"]::before{content:'💰'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="profiles"]::before{content:'🗃'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="analytics"]::before{content:'📊'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="ai-handoffs"]::before{content:'👥'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[data-employee-page="settings"]::before{content:'⚙️'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button[disabled]::before{content:'🤖'}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button>span{display:none!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button>em:not(:empty){position:absolute!important;z-index:40!important;display:grid!important;visibility:visible!important;opacity:1!important;place-items:center!important;top:-5px!important;right:-7px!important;min-width:21px!important;width:auto!important;max-width:none!important;height:21px!important;padding:0 5px!important;margin:0!important;border-radius:999px!important;background:#ff365f!important;color:#fff!important;box-shadow:0 0 0 2px #10172a,0 0 14px rgba(255,54,95,.85)!important;font:900 10px/21px Segoe UI,Arial,sans-serif!important;text-indent:0!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav button>em:empty{display:none!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-logout{width:48px!important;min-width:48px!important;height:44px!important;margin-left:auto!important;margin-right:auto!important;padding:0!important;overflow:hidden!important;color:transparent!important;font-size:0!important}
body.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-logout::before{content:'↪';color:#ffb0ba;font-size:19px}

/* Floating DeepL translator next to the employee sound control. */
.employee-translator-control{position:fixed;right:76px;bottom:82px;z-index:121;font-family:Segoe UI,Arial,sans-serif}.employee-translator-toggle{width:46px;height:46px;border:1px solid #7857a5;border-radius:14px;background:linear-gradient(145deg,#7044a0,#412b70);color:#fff;font-size:20px;font-weight:900;cursor:pointer;box-shadow:0 12px 30px #0007}.employee-translator-toggle:hover{transform:translateY(-1px);filter:brightness(1.12)}
.employee-translator-panel{position:absolute;right:0;bottom:55px;width:min(390px,calc(100vw - 28px));padding:15px;border:1px solid #4d5f83;border-radius:16px;background:#101b2e;color:#eef4ff;box-shadow:0 24px 65px #000b}.employee-translator-panel[hidden]{display:none}.employee-translator-panel header{display:flex;align-items:flex-start;justify-content:space-between;margin:0 0 12px}.employee-translator-panel header b,.employee-translator-panel header small{display:block}.employee-translator-panel header small{margin-top:3px;color:#91a4c1;font-size:10px}.employee-translator-panel header button{width:30px;height:30px;border:1px solid #3c4f70;border-radius:9px;background:#172640;color:#fff;cursor:pointer;font-size:19px}
.employee-translator-panel textarea{width:100%;min-height:120px;resize:vertical;padding:11px 12px;border:1px solid #344c70;border-radius:11px;background:#091628;color:#f4f7ff;font:13px/1.5 Segoe UI,Arial,sans-serif}.employee-translator-panel textarea.employee-translator-result{min-height:95px;margin-top:10px;background:#0d1c31}.employee-translator-actions{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:10px}.employee-translator-actions label{display:grid;gap:5px;color:#a6b6ce;font-size:10px}.employee-translator-actions select{min-width:92px;padding:9px;border:1px solid #3a5072;border-radius:9px;background:#0c192b;color:#fff}.employee-translator-submit,.employee-translator-copy{padding:10px 13px;border:1px solid #6c72c8;border-radius:10px;background:linear-gradient(135deg,#596cff,#8057ec);color:#fff;font-weight:800;cursor:pointer}.employee-translator-copy{width:100%;margin-top:9px}.employee-translator-submit:disabled,.employee-translator-copy:disabled{opacity:.48;cursor:default}.employee-translator-status{min-height:18px;margin-top:8px;color:#91cfb7;font-size:11px}
.employee-translator-extension{display:flex;align-items:center;justify-content:center;margin-top:8px;padding:9px 11px;border:1px solid #3a5072;border-radius:10px;background:#162640;color:#dce8ff;font-size:11px;font-weight:800;text-decoration:none}.employee-translator-extension:hover{background:#20365a;color:#fff}
@media(max-width:600px){.employee-translator-control{right:68px;bottom:72px}.employee-translator-panel{position:fixed;right:14px;bottom:128px}}
.employee-ai-handoff-head{align-items:center;gap:20px}
.employee-ai-handoff-status{margin:0 0 18px;padding:12px 16px;border:1px solid rgba(124,92,255,.24);border-radius:12px;background:rgba(124,92,255,.08);color:var(--employee-muted,#9eabc2)}
.employee-ai-handoff-status>div{color:var(--employee-text,#f4f7ff);font-weight:800}.employee-ai-handoff-status>small{display:block;margin-top:5px;color:var(--employee-muted,#9eabc2);font-size:11px}
.employee-ai-profile-filters{display:flex;gap:8px;margin:-5px 0 15px}.employee-ai-profile-filters button{padding:8px 12px;border:1px solid rgba(124,92,255,.25);border-radius:10px;background:rgba(255,255,255,.025);color:var(--employee-muted,#9eabc2);cursor:pointer;font-weight:800}.employee-ai-profile-filters button.active{background:rgba(124,92,255,.18);border-color:rgba(124,92,255,.55);color:#fff}.employee-ai-profile-filters b{display:inline-flex;min-width:21px;justify-content:center;margin-left:5px;padding:2px 5px;border-radius:999px;background:rgba(255,255,255,.1);font-size:10px}
.employee-ai-analytics{margin:-5px 0 16px}.employee-ai-analytics details{overflow:hidden;border:1px solid rgba(58,198,155,.24);border-radius:14px;background:rgba(35,155,119,.07)}.employee-ai-analytics summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;cursor:pointer;list-style:none}.employee-ai-analytics summary::-webkit-details-marker{display:none}.employee-ai-analytics summary small,.employee-ai-analytics summary b{display:block}.employee-ai-analytics summary small{color:var(--employee-muted,#9eabc2);font-size:10px}.employee-ai-analytics summary b{margin-top:4px}.employee-ai-analytics summary>span{color:#65e9bd;font-size:10px;font-weight:900}.employee-ai-analytics details>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:12px 16px 16px;border-top:1px solid rgba(58,198,155,.15)}.employee-ai-analytics article{padding:11px;border-radius:10px;background:rgba(5,20,29,.35)}.employee-ai-analytics article small,.employee-ai-analytics article b{display:block}.employee-ai-analytics article small{color:var(--employee-muted,#9eabc2);font-size:9px}.employee-ai-analytics article b{margin-top:5px;font-size:17px}@media(max-width:720px){.employee-ai-analytics details>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
.employee-ai-analytics [data-ai-flow-detail]{padding:11px;border:0;border-radius:10px;background:rgba(5,20,29,.35);color:inherit;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(101,233,189,.28)}.employee-ai-analytics [data-ai-flow-detail]:hover{background:rgba(29,116,94,.25)}.employee-ai-analytics [data-ai-flow-detail] small,.employee-ai-analytics [data-ai-flow-detail] b{display:block}.employee-ai-analytics [data-ai-flow-detail] small{color:var(--employee-muted,#9eabc2);font-size:9px}.employee-ai-analytics [data-ai-flow-detail] b{margin-top:5px;font-size:17px}.employee-ai-analytics [data-ai-flow-detail] em{display:block;margin-top:5px;color:#65e9bd;font-size:8px;font-style:normal;font-weight:900}.employee-flow-details-card{width:min(1050px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto}.employee-flow-details-card h2{padding-right:45px}.employee-flow-details-list{display:grid;gap:9px;margin-top:14px}.employee-flow-detail-row{display:grid;gap:8px;padding:11px;border:1px solid rgba(255,135,154,.35);border-radius:12px;background:rgba(4,17,26,.55)}.employee-flow-detail-row.seen{border-color:rgba(101,233,189,.4)}.employee-flow-detail-main{display:grid;grid-template-columns:minmax(170px,1.25fr) minmax(170px,1fr) auto auto;align-items:center;gap:10px}.employee-flow-detail-main b,.employee-flow-detail-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-flow-detail-main span,.employee-flow-detail-main time{color:var(--employee-muted,#9eabc2);font-size:10px}.employee-flow-detail-main em{padding:6px 8px;border-radius:8px;background:rgba(171,56,76,.25);color:#ff9aad;font-size:9px;font-style:normal;font-weight:900}.employee-flow-detail-row.seen .employee-flow-detail-main em{background:rgba(29,116,94,.3);color:#65e9bd}.employee-flow-detail-row p{margin:0;padding:9px;border-radius:8px;background:rgba(7,25,37,.7);white-space:pre-wrap}.employee-flow-media{display:flex;gap:8px;overflow-x:auto}.employee-flow-media img,.employee-flow-media video{width:150px;height:100px;object-fit:cover;border-radius:9px;background:#050d14}.employee-flow-media audio{width:min(360px,80vw);height:42px}.employee-flow-media a{flex:0 0 auto}@media(max-width:720px){.employee-flow-detail-main{grid-template-columns:1fr}.employee-flow-detail-main b,.employee-flow-detail-main span{white-space:normal}}
.employee-ai-profile-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 0 14px;padding:0 13px;border:1px solid rgba(91,143,184,.42);border-radius:13px;background:rgba(5,18,29,.68);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.employee-ai-profile-search:focus-within{border-color:#65e9bd;box-shadow:0 0 0 3px rgba(101,233,189,.09)}.employee-ai-profile-search>span{color:#65e9bd;font-size:22px;line-height:1}.employee-ai-profile-search input{width:100%;height:44px;border:0;outline:0;background:transparent;color:var(--employee-text,#f4f7fb);font:inherit}.employee-ai-profile-search input::placeholder{color:var(--employee-muted,#8392aa)}.employee-ai-profile-search input::-webkit-search-cancel-button{display:none}.employee-ai-profile-search button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:rgba(101,233,189,.12);color:#65e9bd;font-size:20px;cursor:pointer}.employee-ai-profile-search button[hidden]{display:none}
.employee-ai-handoff-list{display:grid;gap:18px}
.employee-ai-handoff-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.employee-ai-handoff-actions button{min-height:42px}.employee-ai-handoff-actions button:disabled{opacity:.55;cursor:not-allowed}
.employee-ai-handoff-card{overflow:hidden;border:1px solid var(--employee-border,rgba(255,255,255,.1));border-radius:18px;background:var(--employee-card,#111c2e)}
.employee-ai-handoff-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;border-bottom:1px solid var(--employee-border,rgba(255,255,255,.1))}
.employee-ai-handoff-card h3{margin:5px 0 0}.employee-ai-handoff-card small{color:var(--employee-muted,#9eabc2)}
.employee-ai-handoff-card>header>span{padding:6px 10px;border-radius:999px;background:rgba(77,226,177,.1);color:#65e9bd;font-size:12px}
.employee-ai-editor{margin-top:14px;border:1px solid var(--employee-border,rgba(255,255,255,.1));border-radius:12px;background:rgba(10,20,36,.55)}.employee-ai-editor>summary{padding:12px 14px;cursor:pointer;font-weight:800}.employee-ai-editor>div{display:grid;gap:10px;padding:0 14px 14px}.employee-ai-edit-field{display:grid;gap:6px}.employee-ai-edit-field b{font-size:12px;color:#b9c8de}.employee-ai-edit-field textarea{width:100%;resize:vertical;padding:10px;border:1px solid #344866;border-radius:9px;background:#091426;color:#fff}
.employee-ai-dialogs{display:grid;gap:12px;padding:16px}
.employee-ai-dialog{overflow:hidden;border:1px solid var(--employee-border,rgba(255,255,255,.09));border-radius:14px;background:rgba(255,255,255,.025)}
.employee-ai-dialog summary{position:relative;display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr) auto;align-items:center;gap:18px;padding:15px 16px;cursor:pointer;list-style:none}.employee-ai-dialog summary::-webkit-details-marker{display:none}.employee-ai-dialog summary:hover{background:rgba(255,255,255,.035)}
.employee-ai-person>div{display:flex;align-items:center;gap:9px}.employee-ai-person strong{font-size:15px}.employee-ai-person small{display:block;margin-top:5px;font-size:11px}.employee-ai-person small b,.employee-ai-profile b{word-break:break-all;color:var(--employee-text,#f2f5fb)}
.employee-ai-profile{color:var(--employee-muted,#b8c2d5);font-size:12px;word-break:break-word}.employee-ai-profile small{display:block;margin-top:5px;font-size:10px}.employee-ai-chevron{font-size:22px;color:#91a4c1;transition:transform .18s}.employee-ai-dialog[open] .employee-ai-chevron{transform:rotate(180deg)}
.employee-ai-change{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.employee-ai-change.new{background:rgba(64,219,153,.16);color:#65e9bd}.employee-ai-change.update{background:rgba(94,139,255,.16);color:#8db1ff}
.employee-ai-dialog-body{padding:15px 16px;border-top:1px solid var(--employee-border,rgba(255,255,255,.09))}
.employee-ai-dialog-actions{display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--employee-border,rgba(255,255,255,.09))}.employee-ai-dialog-actions>span{flex:1}.employee-ai-dialog-actions button{padding:8px 11px;border:1px solid #405475;border-radius:9px;background:#172842;color:#dce7f8;font-size:10px;font-weight:900;cursor:pointer}.employee-ai-dialog-actions button:hover{background:#203654}.employee-ai-dialog-actions button.danger{border-color:rgba(255,101,120,.38);background:rgba(255,87,108,.1);color:#ff9aa8}.employee-ai-dialog-actions .employee-ai-regular{border-color:#596173;background:#252d3a;color:#99a4b5}.employee-ai-dialog-actions .employee-ai-regular.active{border-color:#278866;background:rgba(34,191,128,.16);color:#65e9bd}.employee-ai-dialog-actions button:disabled{opacity:.5;cursor:wait}
.employee-ai-dialog b{color:var(--employee-text,#f2f5fb)}.employee-ai-dialog ul{margin:6px 0 12px;padding-left:20px}.employee-ai-dialog li{margin:4px 0;color:var(--employee-muted,#b8c2d5)}
.employee-ai-next,.employee-ai-risk{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:rgba(68,214,166,.08)}
.employee-ai-risk{background:rgba(255,123,123,.09);color:#ffb0b0}
@media(max-width:720px){.employee-ai-handoff-head,.employee-ai-handoff-card>header{align-items:stretch;flex-direction:column}.employee-ai-handoff-actions{display:grid;grid-template-columns:1fr}.employee-ai-handoff-actions button{width:100%}.employee-ai-dialog summary{grid-template-columns:1fr;gap:8px}.employee-ai-chevron{position:absolute;right:28px}}
.employee-settings-card{width:min(720px,100%);overflow:hidden;border:1px solid var(--employee-border,rgba(255,255,255,.1));border-radius:18px;background:var(--employee-card,#111c2e);box-shadow:0 18px 45px rgba(0,0,0,.2)}
.employee-settings-card>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--employee-border,rgba(255,255,255,.1))}.employee-settings-card>header>div{display:flex;align-items:center;gap:12px}.employee-settings-card>header>div>span{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:linear-gradient(135deg,#596cff,#8057ec);font-size:19px;font-weight:900}.employee-settings-card h3,.employee-settings-card p{margin:0}.employee-settings-card p{margin-top:4px;color:var(--employee-muted,#9eabc2);font-size:11px}.employee-settings-card>header>em{padding:6px 10px;border-radius:999px;background:rgba(255,190,92,.12);color:#ffd18b;font-size:10px;font-style:normal;font-weight:900}.employee-settings-card>header>em.configured{background:rgba(77,226,177,.12);color:#65e9bd}
.employee-settings-field{display:grid;gap:7px;margin:18px 20px}.employee-settings-field>span{color:#dbe6f7;font-size:11px;font-weight:900;letter-spacing:.04em}.employee-settings-field input,.employee-settings-field select{width:100%;padding:12px 13px;border:1px solid #344c70;border-radius:11px;background:#091628;color:#f4f7ff}.employee-settings-field small{color:var(--employee-muted,#9eabc2);font-size:10px}.employee-settings-status{min-height:20px;margin:0 20px;color:#65e9bd;font-size:12px}.employee-settings-status.error{color:#ff9fa9}.employee-settings-card>footer{display:flex;justify-content:flex-end;gap:9px;padding:16px 20px;border-top:1px solid var(--employee-border,rgba(255,255,255,.1));background:rgba(255,255,255,.018)}.employee-settings-card button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.employee-settings-card>header,.employee-settings-card>footer{align-items:stretch;flex-direction:column}.employee-settings-card>header>em{align-self:flex-start}.employee-settings-card>footer button{width:100%}}

/* Standard redesigned employee interface. */
body.employee-ui-pilot{--pilot-surface:rgba(var(--charm-panel-rgb,8,25,39),.82);--pilot-soft:rgba(var(--charm-card-rgb,18,59,70),.68);--pilot-line:rgba(var(--charm-accent-rgb,53,242,209),.28);--pilot-accent:var(--charm-accent,var(--primary,#5d85ff));--pilot-text:var(--charm-text,var(--text,#eef4ff));--pilot-muted:var(--charm-muted,var(--muted,#8ea0bd));--pilot-shadow:0 18px 52px rgba(1,7,18,.28);grid-template-columns:232px minmax(0,1fr);font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;line-height:1.45;color:var(--pilot-text)}
body.employee-ui-pilot .employee-sidebar{width:232px;border-right:1px solid var(--pilot-line);background:color-mix(in srgb,var(--employee-card,#091324) 90%,transparent);box-shadow:14px 0 36px rgba(0,0,0,.16);backdrop-filter:blur(22px) saturate(125%)}
body.employee-ui-pilot .employee-sidebar>.employee-brand-with-wordmark{height:82px;flex-basis:82px;padding:8px 17px!important;border-bottom:1px solid var(--pilot-line)}body.employee-ui-pilot .employee-brand-wordmark{height:65px}
body.employee-ui-pilot .employee-nav{gap:3px;padding:11px 10px 14px}body.employee-ui-pilot .employee-nav button{min-height:43px;padding:10px 12px;border-radius:12px;color:color-mix(in srgb,var(--pilot-text) 72%,var(--pilot-muted));font-size:13px;font-weight:650;transition:.18s ease}body.employee-ui-pilot .employee-nav button:hover:not(:disabled){transform:translateX(2px);background:color-mix(in srgb,var(--pilot-accent) 13%,transparent);border-color:color-mix(in srgb,var(--pilot-accent) 34%,transparent)}body.employee-ui-pilot .employee-nav button.active{background:linear-gradient(100deg,color-mix(in srgb,var(--pilot-accent) 26%,transparent),color-mix(in srgb,var(--pilot-accent) 9%,transparent));border-color:color-mix(in srgb,var(--pilot-accent) 50%,transparent);color:var(--pilot-text)!important;box-shadow:inset 3px 0 var(--pilot-accent),0 7px 18px rgba(0,0,0,.12)}body.employee-ui-pilot .employee-nav em{padding:3px 7px;background:color-mix(in srgb,var(--pilot-accent) 18%,transparent);color:var(--pilot-text)}
body.employee-ui-pilot .employee-nav-group{display:grid;gap:3px;margin-bottom:11px}body.employee-ui-pilot .employee-nav-group-title{display:block;padding:0 12px 5px;color:color-mix(in srgb,var(--pilot-muted) 75%,transparent);font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}
body.employee-ui-pilot .employee-logout{margin:9px 12px 15px;border-color:rgba(255,111,132,.28);border-radius:12px;background:rgba(137,35,53,.18)}body.employee-ui-pilot .employee-logout:hover{border-color:rgba(255,111,132,.55);background:rgba(137,35,53,.3)}
body.employee-ui-pilot .employee-main{grid-column:2;padding:0 28px 42px}body.employee-ui-pilot .employee-topbar{position:sticky;top:0;z-index:60;height:78px;margin:0 -28px;padding:0 28px;border-bottom:1px solid var(--pilot-line);background:color-mix(in srgb,var(--employee-card,#091324) 82%,transparent);box-shadow:0 9px 28px rgba(0,0,0,.1);backdrop-filter:blur(24px) saturate(130%)}
body.employee-ui-pilot .employee-home-greeting{font-size:19px;font-weight:780;letter-spacing:-.01em}body.employee-ui-pilot .employee-topbar-actions{gap:9px}body.employee-ui-pilot .employee-live-chip{margin:0 4px 0 0;padding:7px 11px;background:rgba(20,90,71,.2);white-space:nowrap}
body.employee-ui-pilot .employee-language-switch,body.employee-ui-pilot .employee-notification-button,body.employee-ui-pilot .employee-user-chip{border-color:var(--pilot-line);background:var(--pilot-soft);box-shadow:0 7px 20px rgba(0,0,0,.1)}body.employee-ui-pilot .employee-notification-button{width:42px!important;min-width:42px;max-width:42px;overflow:visible}body.employee-ui-pilot .employee-user-chip{padding:6px 10px;border:1px solid var(--pilot-line);border-radius:14px}body.employee-ui-pilot .employee-user-chip>span{border-radius:10px;background:linear-gradient(135deg,color-mix(in srgb,var(--pilot-accent) 75%,#437fff),color-mix(in srgb,var(--pilot-accent) 55%,#875bf4))}body.employee-ui-pilot .charm-theme-toggle{min-height:40px;border-color:var(--pilot-line);background:var(--pilot-soft);box-shadow:0 7px 20px rgba(0,0,0,.1)}
body.employee-ui-pilot .employee-welcome{grid-template-columns:minmax(0,1fr) 310px;gap:16px;margin-top:22px;padding:18px;border-color:var(--pilot-line);border-radius:22px;background:var(--pilot-surface);box-shadow:var(--pilot-shadow);backdrop-filter:blur(20px) saturate(115%)}
body.employee-ui-pilot .employee-weekly-plan-card{margin:0;border:0;border-radius:16px;background:transparent;box-shadow:none}body.employee-ui-pilot .employee-weekly-plan-card>header{display:flex;align-items:center;min-height:57px;padding:4px 4px 14px;border-bottom:0}body.employee-ui-pilot .employee-weekly-plan-card h3{font-size:18px;letter-spacing:-.015em}body.employee-ui-pilot .employee-weekly-plan-card header p{margin-top:4px;color:var(--pilot-muted);font-size:12px}
body.employee-ui-pilot .employee-weekly-plan{grid-template-columns:repeat(7,minmax(210px,1fr));gap:10px;padding:0 1px 8px;scroll-snap-type:x proximity;scrollbar-color:color-mix(in srgb,var(--pilot-accent) 38%,transparent) transparent}body.employee-ui-pilot .employee-weekly-day{scroll-snap-align:start;border-color:var(--pilot-line);border-radius:14px;background:var(--pilot-soft);box-shadow:0 8px 20px rgba(0,0,0,.1)}body.employee-ui-pilot .employee-weekly-day>header{min-height:45px;padding:9px 11px;border-color:var(--pilot-line);background:color-mix(in srgb,var(--pilot-accent) 8%,var(--pilot-soft))}body.employee-ui-pilot .employee-weekly-day>header b{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:color-mix(in srgb,var(--pilot-accent) 17%,transparent);color:var(--pilot-text);font-size:11px}body.employee-ui-pilot .employee-weekly-day>header span{flex:1;color:var(--pilot-muted);font-size:11px;font-weight:650}body.employee-ui-pilot .employee-weekly-day>header em{display:grid;min-width:21px;height:21px;place-items:center;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--pilot-accent) 17%,transparent);color:var(--pilot-text);font-size:10px;font-style:normal;font-weight:800}body.employee-ui-pilot .employee-weekly-day.is-empty{opacity:.66}
body.employee-ui-pilot .employee-weekly-day-list{height:auto;min-height:124px;max-height:290px;padding:8px;overflow:auto}body.employee-ui-pilot .employee-weekly-day-list article{display:grid;grid-template-columns:49px minmax(0,1fr);gap:8px;padding:9px 7px;border-color:var(--pilot-line)}body.employee-ui-pilot .employee-weekly-day-list time{margin:0;padding-top:2px;color:color-mix(in srgb,var(--pilot-accent) 65%,#b9d8ff);font-variant-numeric:tabular-nums}body.employee-ui-pilot .employee-weekly-task-lines{gap:8px}body.employee-ui-pilot .employee-weekly-task-lines p{padding:0 0 8px;border-color:var(--pilot-line);color:var(--pilot-text);font-size:12px;line-height:1.5}
body.employee-ui-pilot .employee-shift-card{min-height:100%;justify-content:center;padding:18px;border-color:var(--pilot-line);border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--pilot-accent) 9%,var(--pilot-soft)),var(--pilot-soft));box-shadow:0 10px 24px rgba(0,0,0,.12)}
body.employee-ui-pilot .employee-project-portfolio,body.employee-ui-pilot .employee-personal-balances article,body.employee-ui-pilot .employee-panel,body.employee-ui-pilot .employee-task-card,body.employee-ui-pilot .employee-workflow-card,body.employee-ui-pilot .employee-material-card,body.employee-ui-pilot .employee-settings-card,body.employee-ui-pilot .employee-ai-handoff-card{border-color:var(--pilot-line);background:var(--pilot-surface);box-shadow:var(--pilot-shadow);backdrop-filter:blur(18px) saturate(112%)}
body.employee-ui-pilot .employee-project-portfolio{margin-top:16px;border-radius:18px}body.employee-ui-pilot .employee-personal-balances{gap:12px;margin-top:16px}body.employee-ui-pilot .employee-personal-balances article{min-height:112px;padding:17px;border-radius:16px;transition:.18s ease}body.employee-ui-pilot .employee-personal-balances article:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--pilot-accent) 44%,var(--pilot-line))}body.employee-ui-pilot .employee-personal-balances article b{font-size:25px;letter-spacing:-.025em}
body.employee-ui-pilot .employee-dashboard-grid{gap:16px;margin-top:16px;grid-auto-rows:auto}body.employee-ui-pilot .employee-dashboard-grid>.employee-panel{height:auto;min-height:360px;border-radius:18px}body.employee-ui-pilot .employee-panel>header{padding:18px 19px;border-color:var(--pilot-line)}body.employee-ui-pilot .employee-panel h3{font-size:17px;letter-spacing:-.01em}body.employee-ui-pilot .employee-panel header p{font-size:12px}
body.employee-ui-pilot .employee-dashboard-balance-chart{padding:15px 18px 18px}body.employee-ui-pilot .employee-dashboard-balance-head select,body.employee-ui-pilot input,body.employee-ui-pilot textarea,body.employee-ui-pilot select{border-color:var(--pilot-line);background:rgba(var(--charm-card-rgb,18,59,70),.74);color:var(--pilot-text)}body.employee-ui-pilot input:focus,body.employee-ui-pilot textarea:focus,body.employee-ui-pilot select:focus{border-color:color-mix(in srgb,var(--pilot-accent) 72%,white 8%);outline:3px solid color-mix(in srgb,var(--pilot-accent) 18%,transparent)}
body.employee-ui-pilot .employee-dashboard-chart-stage{padding:6px;border:1px solid color-mix(in srgb,var(--pilot-line) 70%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--pilot-accent) 4%,transparent),transparent)}body.employee-ui-pilot .employee-dashboard-balance-legend{gap:8px;padding:0 0 11px}body.employee-ui-pilot .employee-dashboard-balance-legend span{padding:6px 9px;border:1px solid var(--pilot-line);border-radius:999px;background:var(--pilot-soft)}
body.employee-ui-pilot .employee-dashboard-chart-stage .chart-grid{stroke:color-mix(in srgb,var(--pilot-line) 58%,transparent);stroke-width:1;stroke-dasharray:3 6}body.employee-ui-pilot .employee-dashboard-chart-stage .chart-value{fill:var(--pilot-muted);font-size:9px;font-variant-numeric:tabular-nums}
body.employee-ui-pilot .balance-line-chart .chart-grid{stroke:color-mix(in srgb,var(--pilot-line) 58%,transparent);stroke-width:1;stroke-dasharray:3 6}body.employee-ui-pilot .balance-line-chart .chart-value{fill:var(--pilot-muted);font-size:9px;font-variant-numeric:tabular-nums}
body.employee-ui-pilot .employee-quick-actions{gap:10px;padding:17px}body.employee-ui-pilot .employee-quick-actions button{display:flex;min-height:65px;align-items:center;gap:11px;padding:13px;border-color:var(--pilot-line);background:var(--pilot-soft);font-weight:700;transition:.18s ease}body.employee-ui-pilot .employee-quick-actions button:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--pilot-accent) 50%,var(--pilot-line));background:color-mix(in srgb,var(--pilot-accent) 10%,var(--pilot-soft));box-shadow:0 10px 24px rgba(0,0,0,.14)}body.employee-ui-pilot .employee-quick-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--pilot-accent) 14%,transparent)}
body.employee-ui-pilot .employee-section-head{min-height:68px;margin:18px 0 14px;padding:0 2px 12px;border-bottom:1px solid var(--pilot-line)}body.employee-ui-pilot .employee-section-head h2{font-size:24px;letter-spacing:-.025em}body.employee-ui-pilot .employee-section-head p{max-width:720px;color:var(--pilot-muted);font-size:13px}body.employee-ui-pilot .employee-primary,body.employee-ui-pilot .employee-secondary,body.employee-ui-pilot .employee-danger{min-height:40px;border-radius:11px;transition:.16s ease}body.employee-ui-pilot .employee-primary:hover,body.employee-ui-pilot .employee-secondary:hover,body.employee-ui-pilot .employee-danger:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 8px 20px rgba(0,0,0,.16)}
body.employee-ui-pilot .employee-task-summary .employee-summary-tile{border-color:var(--pilot-line);background:var(--pilot-surface);box-shadow:0 10px 28px rgba(0,0,0,.14)}body.employee-ui-pilot .employee-task-card,body.employee-ui-pilot .employee-workflow-card,body.employee-ui-pilot .employee-material-card{border-radius:16px}body.employee-ui-pilot .employee-row{border-color:var(--pilot-line)}body.employee-ui-pilot .employee-row[role="button"]:hover{background:color-mix(in srgb,var(--pilot-accent) 8%,transparent)}
body.employee-ui-pilot .employee-ai-handoff-status{border-color:var(--pilot-line);border-radius:14px;background:var(--pilot-surface);box-shadow:0 10px 30px rgba(0,0,0,.13)}body.employee-ui-pilot .employee-ai-profile-filters{gap:7px;padding:5px;border:1px solid var(--pilot-line);border-radius:13px;background:var(--pilot-surface);width:max-content;max-width:100%}body.employee-ui-pilot .employee-ai-profile-filters button{border:0;border-radius:9px;background:transparent}body.employee-ui-pilot .employee-ai-profile-filters button.active{background:color-mix(in srgb,var(--pilot-accent) 20%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pilot-accent) 44%,transparent)}body.employee-ui-pilot .employee-ai-profile-search{margin-top:12px;border-color:var(--pilot-line);background:var(--pilot-surface)}body.employee-ui-pilot .employee-ai-handoff-list{gap:14px}body.employee-ui-pilot .employee-ai-handoff-card{border-radius:18px}body.employee-ui-pilot .employee-ai-dialog{border-color:var(--pilot-line);background:var(--pilot-soft)}body.employee-ui-pilot .employee-ai-dialog summary:hover{background:color-mix(in srgb,var(--pilot-accent) 7%,transparent)}
body.employee-ui-pilot #employeeSettingsPage{width:min(1040px,100%);margin-inline:auto}body.employee-ui-pilot .employee-settings-card{width:100%;border-radius:20px}body.employee-ui-pilot .employee-settings-card>header{padding:22px 24px;border-color:var(--pilot-line);background:linear-gradient(100deg,color-mix(in srgb,var(--pilot-accent) 11%,transparent),transparent)}body.employee-ui-pilot .employee-settings-card>header>div>span{width:48px;height:48px;border-radius:14px}body.employee-ui-pilot .employee-settings-card h3{font-size:19px}body.employee-ui-pilot .employee-settings-card p{font-size:12px}body.employee-ui-pilot .employee-settings-field{gap:8px;margin:22px 24px}body.employee-ui-pilot .employee-settings-field input,body.employee-ui-pilot .employee-settings-field select{min-height:47px}body.employee-ui-pilot .employee-settings-status{margin:0 24px}body.employee-ui-pilot .employee-settings-card>footer{padding:18px 24px;border-color:var(--pilot-line);background:color-mix(in srgb,var(--pilot-soft) 74%,transparent)}
body.employee-ui-pilot .employee-settings-card h3,body.employee-ui-pilot .employee-settings-field>span{color:var(--pilot-text)}body.employee-ui-pilot .employee-settings-card p,body.employee-ui-pilot .employee-settings-field small{color:var(--pilot-muted)}
body.employee-ui-pilot .employee-admin-style-messenger{border-color:var(--pilot-line);border-radius:20px;background:var(--pilot-surface);box-shadow:var(--pilot-shadow);overflow:hidden}body.employee-ui-pilot .employee-messenger-contacts,body.employee-ui-pilot .employee-messenger-dialog,body.employee-ui-pilot .employee-messenger-info{background:color-mix(in srgb,var(--pilot-surface) 88%,transparent);border-color:var(--pilot-line)}body.employee-ui-pilot .employee-chat-room.active{border-color:color-mix(in srgb,var(--pilot-accent) 50%,transparent);background:color-mix(in srgb,var(--pilot-accent) 16%,transparent)}body.employee-ui-pilot .employee-empty{min-height:110px;display:grid;place-items:center;color:var(--pilot-muted)}body.employee-ui-pilot .employee-toast{z-index:2000;max-width:min(420px,calc(100vw - 32px));border-radius:13px;box-shadow:0 18px 46px rgba(0,0,0,.32)}
body.employee-ui-pilot .notification-sound-toggle{border-color:var(--pilot-line);background:var(--pilot-surface);color:var(--pilot-text);box-shadow:0 10px 28px rgba(0,0,0,.2)}body.employee-ui-pilot .notification-sound-popover{border-color:var(--pilot-line);background:rgba(var(--charm-panel-rgb,8,25,39),.96);color:var(--pilot-text);box-shadow:0 20px 54px rgba(0,0,0,.35);backdrop-filter:blur(22px) saturate(125%)}body.employee-ui-pilot .notification-sound-popover label{color:var(--pilot-muted)}body.employee-ui-pilot .notification-sound-actions button,body.employee-ui-pilot .notification-tone-select{border-color:var(--pilot-line);background:var(--pilot-soft);color:var(--pilot-text)}
@media(max-width:1400px){body.employee-ui-pilot{grid-template-columns:218px minmax(0,1fr)}body.employee-ui-pilot .employee-sidebar{width:218px}body.employee-ui-pilot .employee-main{padding-inline:20px}body.employee-ui-pilot .employee-topbar{margin-inline:-20px;padding-inline:20px}body.employee-ui-pilot .employee-welcome{grid-template-columns:minmax(0,1fr) 280px}body.employee-ui-pilot .employee-user-chip small{display:none}}
@media(max-width:1000px){body.employee-ui-pilot .employee-welcome{grid-template-columns:1fr}body.employee-ui-pilot .employee-shift-card{min-height:auto}body.employee-ui-pilot .employee-personal-balances{grid-template-columns:repeat(2,minmax(0,1fr))}body.employee-ui-pilot .employee-dashboard-grid{grid-template-columns:1fr}body.employee-ui-pilot .employee-dashboard-grid>.employee-panel{min-height:0}}
@media(max-width:850px){body.employee-ui-pilot{display:block}body.employee-ui-pilot .employee-sidebar{position:relative;width:auto;height:auto;border-right:0;border-bottom:1px solid var(--pilot-line)}body.employee-ui-pilot .employee-sidebar>.employee-brand-with-wordmark{display:none}body.employee-ui-pilot .employee-nav{display:block;max-height:none;overflow:visible}body.employee-ui-pilot .employee-nav-group{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:8px}body.employee-ui-pilot .employee-nav-group-title{grid-column:1/-1}body.employee-ui-pilot .employee-nav button:hover:not(:disabled){transform:none}body.employee-ui-pilot .employee-logout{margin:6px 10px 12px}body.employee-ui-pilot .employee-main{padding:0 14px 30px}body.employee-ui-pilot .employee-topbar{margin:0 -14px;padding:10px 14px;height:auto;min-height:70px;flex-wrap:wrap}body.employee-ui-pilot .employee-weekly-plan{grid-template-columns:repeat(7,230px)}}
body.employee-ui-pilot.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav-group{display:contents}body.employee-ui-pilot.employee-flow-mode:not(.employee-flow-sidebar-expanded) .employee-nav-group-title{display:none}
@media(max-width:620px){body.employee-ui-pilot .employee-nav-group{grid-template-columns:repeat(2,minmax(0,1fr))}body.employee-ui-pilot .employee-topbar-actions{width:100%;justify-content:space-between}body.employee-ui-pilot .employee-live-chip{display:none}body.employee-ui-pilot .employee-user-chip div{display:none}body.employee-ui-pilot .employee-welcome{padding:12px;border-radius:16px}body.employee-ui-pilot .employee-personal-balances{grid-template-columns:1fr}body.employee-ui-pilot .employee-section-head{align-items:stretch;flex-direction:column;gap:12px}body.employee-ui-pilot .employee-section-head>button,body.employee-ui-pilot .employee-head-actions button{width:100%}body.employee-ui-pilot .employee-settings-card>header,body.employee-ui-pilot .employee-settings-card>footer{padding:17px;flex-direction:column;align-items:stretch}body.employee-ui-pilot .employee-settings-field{margin:18px 17px}body.employee-ui-pilot .employee-settings-card>footer button{width:100%}}

/* Flow uses a compact 76px sidebar; keep the content grid in sync with it. */
@media(min-width:851px){
  body.employee-ui-pilot.employee-flow-mode:not(.employee-flow-sidebar-expanded){grid-template-columns:76px minmax(0,1fr)}
  body.employee-ui-pilot.employee-flow-mode .employee-main{padding:0}
}

/* Pilot notification experience: compact live toast + structured history. */
body.employee-ui-pilot .employee-toast{top:92px;right:22px;bottom:auto;display:grid;width:min(440px,calc(100vw - 32px));max-width:none;grid-template-columns:42px minmax(0,1fr) 28px;align-items:start;gap:11px;padding:14px;border:1px solid color-mix(in srgb,var(--pilot-accent) 42%,var(--pilot-line));border-radius:17px;background:rgba(var(--charm-panel-rgb,8,25,39),.96);color:var(--pilot-text);box-shadow:0 20px 58px rgba(0,0,0,.38),0 0 0 1px color-mix(in srgb,var(--pilot-accent) 13%,transparent);animation:employeePilotToastIn .22s ease;cursor:pointer!important}
body.employee-ui-pilot .employee-toast[hidden]{display:none!important}
body.employee-ui-pilot .employee-toast.error{border-color:rgba(255,105,125,.5);background:rgba(67,22,35,.97)}
@keyframes employeePilotToastIn{from{opacity:0;transform:translateY(-12px) scale(.98)}to{opacity:1;transform:none}}
body.employee-ui-pilot .employee-toast-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--pilot-accent) 18%,var(--pilot-soft));color:var(--pilot-accent);font-size:21px;font-weight:900}
body.employee-ui-pilot .employee-toast.error .employee-toast-icon{background:rgba(255,105,125,.15);color:#ff91a3}
body.employee-ui-pilot .employee-toast-copy{display:block;min-width:0}
body.employee-ui-pilot .employee-toast-copy small{display:block;margin-bottom:2px;color:var(--pilot-muted);font-size:9px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
body.employee-ui-pilot .employee-toast-copy strong{display:block;color:var(--pilot-text);font-size:14px;line-height:1.35}
body.employee-ui-pilot .employee-toast-copy p{margin:5px 0 0;color:color-mix(in srgb,var(--pilot-text) 78%,var(--pilot-muted));font-size:12px;line-height:1.45}
body.employee-ui-pilot .employee-toast-close{display:grid;width:28px;height:28px;place-items:center;padding:0;border:1px solid var(--pilot-line);border-radius:9px;background:var(--pilot-soft);color:var(--pilot-muted);font-size:18px;line-height:1;cursor:pointer}
body.employee-ui-pilot .employee-notification-shade{background:rgba(1,7,18,.42);backdrop-filter:blur(5px)}
body.employee-ui-pilot .employee-notification-center{width:min(480px,100vw);border-left-color:var(--pilot-line);background:rgba(var(--charm-panel-rgb,8,25,39),.98);color:var(--pilot-text);box-shadow:-30px 0 80px rgba(0,0,0,.4);backdrop-filter:blur(26px) saturate(125%)}
body.employee-ui-pilot .employee-notification-center>header{padding:22px 24px;border-color:var(--pilot-line);background:linear-gradient(110deg,color-mix(in srgb,var(--pilot-accent) 13%,var(--pilot-soft)),var(--pilot-surface))}
body.employee-ui-pilot .employee-notification-center>header small{color:var(--pilot-accent)}
body.employee-ui-pilot .employee-notification-center>header h2{color:var(--pilot-text);font-size:23px}
body.employee-ui-pilot .employee-notification-center>header button,body.employee-ui-pilot .employee-notification-toolbar button{border-color:var(--pilot-line);background:var(--pilot-soft);color:var(--pilot-text)}
body.employee-ui-pilot .employee-notification-toolbar{padding:13px 18px;border-color:var(--pilot-line);color:var(--pilot-muted);background:color-mix(in srgb,var(--pilot-soft) 62%,transparent)}
body.employee-ui-pilot .employee-notification-list{padding:14px 14px 28px}
body.employee-ui-pilot .employee-notification-section{display:grid;gap:8px;margin-bottom:18px}
body.employee-ui-pilot .employee-notification-section-title{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 4px;color:var(--pilot-muted);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
body.employee-ui-pilot .employee-notification-section-title em{display:grid;min-width:22px;height:22px;place-items:center;padding:0 6px;border-radius:999px;background:var(--pilot-soft);color:var(--pilot-text);font-size:10px;font-style:normal;letter-spacing:0}
body.employee-ui-pilot .employee-notification-item{grid-template-columns:42px minmax(0,1fr) 9px;margin:0;padding:13px;border-color:var(--pilot-line);border-radius:15px;background:var(--pilot-soft);color:var(--pilot-text);box-shadow:0 8px 22px rgba(0,0,0,.11)}
body.employee-ui-pilot .employee-notification-item:hover{border-color:color-mix(in srgb,var(--pilot-accent) 55%,var(--pilot-line));background:color-mix(in srgb,var(--pilot-accent) 9%,var(--pilot-soft));transform:translateY(-1px)}
body.employee-ui-pilot .employee-notification-item.unread{border-color:color-mix(in srgb,var(--pilot-accent) 58%,var(--pilot-line));background:linear-gradient(135deg,color-mix(in srgb,var(--pilot-accent) 14%,var(--pilot-soft)),var(--pilot-soft));box-shadow:inset 3px 0 var(--pilot-accent),0 10px 26px rgba(0,0,0,.14)}
body.employee-ui-pilot .employee-notification-icon{width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--pilot-accent) 15%,transparent);color:var(--pilot-text)}
body.employee-ui-pilot .employee-notification-copy b{color:var(--pilot-text);white-space:normal}
body.employee-ui-pilot .employee-notification-copy p{color:var(--pilot-muted);display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}
body.employee-ui-pilot .employee-notification-copy time{color:color-mix(in srgb,var(--pilot-muted) 78%,transparent)}
@media(max-width:620px){body.employee-ui-pilot .employee-toast{top:12px;right:12px;width:calc(100vw - 24px)}}

/* Ekaterina pilot: grouped AI Center analytics. */
body.employee-ui-pilot .employee-ai-analytics{margin:0 0 18px}
body.employee-ui-pilot .employee-ai-analytics-pilot{overflow:hidden;border:1px solid var(--pilot-line);border-radius:20px;background:rgba(var(--charm-panel-rgb,8,25,39),.83);box-shadow:var(--pilot-shadow);backdrop-filter:blur(22px) saturate(118%)}
body.employee-ui-pilot .employee-ai-analytics-pilot>summary{min-height:80px;padding:16px 19px;border:0;background:linear-gradient(105deg,color-mix(in srgb,var(--pilot-accent) 12%,var(--pilot-soft)),color-mix(in srgb,var(--pilot-soft) 78%,transparent))}
body.employee-ui-pilot .employee-ai-analytics-pilot>summary small{color:var(--pilot-accent);font-size:9px;font-weight:900;letter-spacing:.11em}
body.employee-ui-pilot .employee-ai-analytics-pilot>summary b{margin-top:3px;color:var(--pilot-text);font-size:18px;letter-spacing:-.015em}
body.employee-ui-pilot .employee-ai-analytics-pilot>summary p{margin:3px 0 0;color:var(--pilot-muted);font-size:11px}
body.employee-ui-pilot .employee-ai-analytics-pilot>summary>span{padding:7px 10px;border:1px solid var(--pilot-line);border-radius:999px;background:var(--pilot-soft);color:var(--pilot-text);white-space:nowrap}
body.employee-ui-pilot .employee-ai-analytics-pilot>.employee-ai-analytics-layout{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(500px,1.18fr);gap:14px;padding:14px;border-top:1px solid var(--pilot-line)}
body.employee-ui-pilot .employee-ai-analytics-column{display:grid;align-content:start;gap:12px}
body.employee-ui-pilot .employee-ai-stat-block{overflow:hidden;padding:0;border:1px solid color-mix(in srgb,var(--pilot-line) 80%,transparent);border-radius:16px;background:rgba(var(--charm-card-rgb,18,59,70),.77);box-shadow:0 10px 28px rgba(0,0,0,.11)}
body.employee-ui-pilot .employee-ai-stat-block>header{display:flex;align-items:center;gap:10px;min-height:58px;padding:11px 13px;border-bottom:1px solid color-mix(in srgb,var(--pilot-line) 75%,transparent);background:color-mix(in srgb,var(--pilot-accent) 6%,transparent)}
body.employee-ui-pilot .employee-ai-stat-block>header>span{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--pilot-accent) 15%,transparent);color:var(--pilot-accent);font-size:16px;font-weight:900}
body.employee-ui-pilot .employee-ai-stat-block>header b{display:block;color:var(--pilot-text);font-size:13px}
body.employee-ui-pilot .employee-ai-stat-block>header small{display:block;margin-top:2px;color:var(--pilot-muted);font-size:9px}
body.employee-ui-pilot .employee-ai-stat-grid,body.employee-ui-pilot .employee-ai-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
body.employee-ui-pilot .employee-ai-stat-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
body.employee-ui-pilot .employee-ai-stat-block.work .employee-ai-metric:first-child{grid-column:1/-1}
body.employee-ui-pilot .employee-ai-stat-block.media{min-height:100%}
body.employee-ui-pilot .employee-ai-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;padding:12px}
body.employee-ui-pilot .employee-ai-media-grid .employee-ai-metric:last-child{grid-column:1/-1}
body.employee-ui-pilot .employee-ai-metric{position:relative;display:flex;min-width:0;min-height:90px;flex-direction:column;justify-content:center;padding:12px;border:1px solid color-mix(in srgb,var(--pilot-line) 70%,transparent);border-radius:13px;background:color-mix(in srgb,var(--pilot-soft) 84%,transparent);color:var(--pilot-text);text-align:left;box-shadow:none}
body.employee-ui-pilot button.employee-ai-metric{font:inherit;cursor:pointer;transition:.17s ease}
body.employee-ui-pilot .employee-ai-metric small{display:block;color:var(--pilot-muted);font-size:9px;font-weight:700}
body.employee-ui-pilot .employee-ai-metric b{display:block;margin-top:5px;color:var(--pilot-text);font-size:20px;line-height:1.1;letter-spacing:-.025em}
body.employee-ui-pilot .employee-ai-metric em{display:block;margin-top:7px;color:var(--pilot-muted);font-size:8px;font-style:normal;font-weight:750}
body.employee-ui-pilot .employee-ai-metric.is-action{border-color:color-mix(in srgb,var(--pilot-accent) 48%,var(--pilot-line));background:linear-gradient(135deg,color-mix(in srgb,var(--pilot-accent) 11%,var(--pilot-soft)),var(--pilot-soft));box-shadow:inset 3px 0 color-mix(in srgb,var(--pilot-accent) 72%,transparent)}
body.employee-ui-pilot .employee-ai-metric.is-action::after{content:'↗';position:absolute;top:10px;right:11px;color:var(--pilot-accent);font-size:12px;font-weight:900}
body.employee-ui-pilot .employee-ai-metric.is-action:hover{transform:translateY(-2px);border-color:var(--pilot-accent);background:color-mix(in srgb,var(--pilot-accent) 16%,var(--pilot-soft));box-shadow:inset 3px 0 var(--pilot-accent),0 10px 24px rgba(0,0,0,.15)}
body.employee-ui-pilot .employee-ai-metric-progress{display:block;height:5px;margin-top:9px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--pilot-muted) 18%,transparent)}
body.employee-ui-pilot .employee-ai-metric-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pilot-accent),color-mix(in srgb,var(--pilot-accent) 58%,#72d5ff));box-shadow:0 0 12px color-mix(in srgb,var(--pilot-accent) 45%,transparent)}
body.employee-ui-pilot .employee-ai-stat-hint{margin:2px 12px 12px;padding:10px 11px;border:1px dashed color-mix(in srgb,var(--pilot-line) 85%,transparent);border-radius:11px;color:var(--pilot-muted);font-size:9px;text-align:center}
@media(max-width:1180px){body.employee-ui-pilot .employee-ai-analytics-pilot>.employee-ai-analytics-layout{grid-template-columns:1fr}body.employee-ui-pilot .employee-ai-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.employee-ui-pilot .employee-ai-media-grid .employee-ai-metric:last-child{grid-column:auto}}
@media(max-width:720px){body.employee-ui-pilot .employee-ai-analytics-pilot>summary{align-items:flex-start;flex-direction:column}body.employee-ui-pilot .employee-ai-analytics-pilot>.employee-ai-analytics-layout{display:grid;grid-template-columns:1fr;padding:9px}body.employee-ui-pilot .employee-ai-media-grid{grid-template-columns:1fr 1fr}body.employee-ui-pilot .employee-ai-stat-grid.compact{grid-template-columns:1fr}body.employee-ui-pilot .employee-ai-metric{min-height:82px}}
.employee-ai-media-state{margin-top:12px;padding:12px;border:1px solid #304766;border-radius:12px;background:#0a1729}.employee-ai-media-state>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#9fb1cc;font-size:12px}.employee-ai-gift-state{padding:6px 9px;border-radius:99px;font-weight:800}.employee-ai-gift-state.available{background:#143d31;color:#69e0ac}.employee-ai-gift-state.unavailable{background:#303747;color:#aeb8c8}.employee-ai-media-state ul{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.employee-ai-media-state li{display:flex;align-items:center;gap:10px;padding:8px 9px;border-radius:9px;background:#101f35;font-size:12px}.employee-ai-media-state li.seen span{color:#63e0ac}.employee-ai-media-state li.sent span{color:#f0bd69}.employee-ai-media-state li small{margin-left:auto;color:#7f93b3}.employee-ai-media-state li a{color:#8fb4ff}
/* Personal analytics: clear left-to-right reading — chart first, exact values second. */
.employee-personal-analytics-page{display:grid;gap:18px}
.employee-personal-analytics-page[hidden]{display:none!important}
.employee-analytics-head{align-items:flex-end}
.employee-analytics-period{display:flex;gap:7px;padding:5px;border:1px solid var(--pilot-line,rgba(124,151,255,.25));border-radius:14px;background:rgba(var(--charm-panel-rgb,8,23,40),.58)}
.employee-analytics-period button{border:0;border-radius:10px;padding:9px 15px;color:var(--pilot-muted,#9fb1c8);background:transparent;font:inherit;font-weight:800;cursor:pointer;transition:.18s ease}
.employee-analytics-period button:hover{color:var(--pilot-text,#fff);background:var(--pilot-soft,rgba(112,139,255,.12))}
.employee-analytics-period button.active{color:#071522;background:linear-gradient(135deg,#5ae9f4,#79f0b0);box-shadow:0 8px 22px rgba(63,224,215,.2)}
.employee-analytics-status{padding:14px 16px;border:1px solid var(--pilot-line,rgba(124,151,255,.22));border-radius:14px;color:var(--pilot-muted,#aab8cb);background:rgba(var(--charm-panel-rgb,8,23,40),.65)}
.employee-personal-analytics{display:grid;gap:16px}
.employee-analytics-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.employee-analytics-summary-strip .employee-analytics-kpi{min-height:105px;background:linear-gradient(145deg,rgba(61,220,225,.14),rgba(var(--charm-panel-rgb,8,23,40),.78))}
.employee-analytics-section{overflow:hidden;border:1px solid var(--pilot-line,rgba(103,151,206,.25));border-radius:20px;background:rgba(var(--charm-panel-rgb,8,23,40),.78);box-shadow:0 18px 45px rgba(0,0,0,.13)}
.employee-analytics-section>header{display:flex;align-items:center;gap:12px;padding:17px 20px;border-bottom:1px solid var(--pilot-line,rgba(103,151,206,.2));background:linear-gradient(90deg,rgba(41,211,225,.1),transparent)}
.employee-analytics-section>header>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(67,221,225,.13);font-size:18px}
.employee-analytics-section h3,.employee-analytics-engagement-head h3{margin:0;color:var(--pilot-text,#f7fbff)}
.employee-analytics-section p,.employee-analytics-engagement-head p{margin:4px 0 0;color:var(--pilot-muted,#9eafc3);font-size:13px}
.employee-analytics-section-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.55fr);min-height:390px}
.employee-analytics-visual{min-width:0;padding:20px;border-right:1px solid var(--pilot-line,rgba(103,151,206,.18));background:linear-gradient(155deg,rgba(72,130,214,.055),transparent)}
.employee-analytics-visual svg{display:block;width:100%;height:325px;overflow:visible}
.employee-analytics-visual svg line{stroke:var(--pilot-line,rgba(135,157,188,.2));stroke-width:1}
.employee-analytics-visual svg path{fill:none;stroke:var(--series);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 6px color-mix(in srgb,var(--series) 25%,transparent))}
.employee-analytics-visual svg circle.employee-analytics-point-dot{fill:var(--series);stroke:rgba(var(--charm-panel-rgb,8,23,40),.95);stroke-width:2}
.employee-analytics-visual svg circle.employee-analytics-point-hit{fill:transparent;stroke:transparent;pointer-events:all;cursor:help}
.employee-analytics-visual svg .employee-analytics-point-value{fill:var(--pilot-text,#fff);font-size:10px;font-weight:800;paint-order:stroke;stroke:rgba(var(--charm-panel-rgb,8,23,40),.9);stroke-width:3px;stroke-linejoin:round}
.employee-analytics-visual svg .employee-analytics-axis-value{font-size:10px}
.employee-analytics-point:hover .employee-analytics-point-dot{r:7;filter:drop-shadow(0 0 8px var(--series))}
.employee-analytics-visual svg text{fill:var(--pilot-muted,#94a7bd);font-size:11px}
.employee-analytics-chart-legend{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:5px;color:var(--pilot-muted,#a6b6c9);font-size:12px;font-weight:700}
.employee-analytics-chart-legend span{display:flex;align-items:center;gap:6px}
.employee-analytics-chart-legend i{width:9px;height:9px;border-radius:50%}
.employee-analytics-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;align-content:start}
.employee-analytics-kpi{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:86px;padding:14px;border:1px solid var(--pilot-line,rgba(116,150,195,.2));border-radius:14px;background:var(--pilot-soft,rgba(91,124,178,.08))}
.employee-analytics-kpi small{color:var(--pilot-muted,#9bacbf);font-size:11px}
.employee-analytics-kpi b{color:var(--pilot-text,#fff);font-size:21px;line-height:1.1}
.employee-analytics-kpi em{color:#5ae2d8;font-size:10px;font-style:normal}
.employee-analytics-media-kpi{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;appearance:none;transition:.18s ease}
.employee-analytics-media-kpi:hover,.employee-analytics-media-kpi:focus-visible{border-color:var(--pilot-accent,#58e4e8);background:color-mix(in srgb,var(--pilot-accent,#58e4e8) 12%,var(--pilot-soft,rgba(91,124,178,.08)));transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.2)}
.employee-analytics-media-kpi:focus-visible{outline:2px solid color-mix(in srgb,var(--pilot-accent,#58e4e8) 65%,white);outline-offset:2px}
.employee-analytics-media-bars{display:flex;align-items:flex-end;justify-content:space-around;gap:14px;height:315px;padding:20px 5px 0}
.employee-analytics-media-bars>button{display:grid;grid-template-rows:auto 205px auto auto;gap:7px;min-width:62px;padding:9px;border:1px solid transparent;border-radius:13px;background:transparent;text-align:center;color:var(--pilot-muted,#a5b6c9);font:inherit;font-size:10px;cursor:pointer;transition:.18s ease}
.employee-analytics-media-bars>button:hover{border-color:var(--pilot-accent,#58e4e8);background:color-mix(in srgb,var(--pilot-accent,#58e4e8) 11%,transparent);transform:translateY(-3px)}
.employee-analytics-media-bars b{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-analytics-media-bars span{display:flex;align-items:flex-end;justify-content:center;gap:5px}
.employee-analytics-media-bars i{display:block;width:15px;min-height:2px;border-radius:6px 6px 2px 2px;background:linear-gradient(#55e5ef,#4c73ff)}
.employee-analytics-media-bars i.seen{background:linear-gradient(#76efaf,#19b98d)}
.employee-analytics-media-bars em{color:var(--pilot-accent,#5ae2d8);font-size:9px;font-style:normal;font-weight:800}
.employee-analytics-engagement-head{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:20px;border:1px solid var(--pilot-line,rgba(93,219,225,.25));border-radius:18px;background:linear-gradient(105deg,rgba(29,210,217,.16),rgba(var(--charm-panel-rgb,8,23,40),.7))}
.employee-analytics-engagement-head small{display:block;margin-bottom:5px;color:#51e5e4;font-weight:900;letter-spacing:.15em}
.employee-ai-analytics-moved{margin-top:-6px}
@media(max-width:1050px){.employee-analytics-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-analytics-section-body{grid-template-columns:1fr}.employee-analytics-visual{border-right:0;border-bottom:1px solid var(--pilot-line,rgba(103,151,206,.18))}}
@media(max-width:620px){.employee-analytics-head{align-items:stretch}.employee-analytics-period{width:100%}.employee-analytics-period button{flex:1;padding-inline:8px}.employee-analytics-summary-strip,.employee-analytics-values{grid-template-columns:1fr}.employee-analytics-section-body{min-height:0}.employee-analytics-visual{padding:12px}.employee-analytics-visual svg{height:180px}}

/* Theme coverage: legacy cards used fixed navy fills and ignored the selected theme. */
body.employee-ui-pilot .employee-balance-group-head,
body.employee-ui-pilot .employee-pair-total-grid article,
body.employee-ui-pilot .employee-member-balance-grid>article,
body.employee-ui-pilot .employee-member-balance-grid>article.me,
body.employee-ui-pilot .employee-member-balance-values>div,
body.employee-ui-pilot .employee-salary-form,
body.employee-ui-pilot .employee-salary-result,
body.employee-ui-pilot .employee-salary-gifts-head,
body.employee-ui-pilot .employee-salary-breakdown>div,
body.employee-ui-pilot .employee-salary-formula,
body.employee-ui-pilot .employee-request-summary-grid .employee-summary-tile,
body.employee-ui-pilot .employee-violation-summary-grid .employee-summary-tile,
body.employee-ui-pilot .employee-call-summary-grid .employee-summary-tile,
body.employee-ui-pilot .employee-profile-column,
body.employee-ui-pilot .employee-profile-compact,
body.employee-ui-pilot .employee-profile-details,
body.employee-ui-pilot .employee-profile-details>div,
body.employee-ui-pilot .employee-profile-details details p,
body.employee-ui-pilot .employee-pair-profile-table,
body.employee-ui-pilot .employee-pair-profile-table table,
body.employee-ui-pilot .employee-pair-profile-table th,
body.employee-ui-pilot .employee-pair-profile-table td,
body.employee-ui-pilot .employee-workflow-card,
body.employee-ui-pilot .employee-material-card{
  border-color:var(--pilot-line)!important;
  background:var(--pilot-surface)!important;
  color:var(--pilot-text)!important;
}
body.employee-ui-pilot .employee-workflow-card:hover,
body.employee-ui-pilot .employee-material-card:hover,
body.employee-ui-pilot .employee-profile-summary:hover,
body.employee-ui-pilot .employee-request-summary-grid .employee-summary-tile:hover,
body.employee-ui-pilot .employee-violation-summary-grid .employee-summary-tile:hover{
  background:color-mix(in srgb,var(--pilot-accent) 12%,var(--pilot-surface))!important;
}
body.employee-ui-pilot .employee-workflow-card.overdue{background:color-mix(in srgb,#df5668 13%,var(--pilot-surface))!important}
body.employee-ui-pilot .employee-workflow-card.review{background:color-mix(in srgb,#e6b94a 12%,var(--pilot-surface))!important}
body.employee-ui-pilot .employee-salary-form input,
body.employee-ui-pilot .employee-salary-form select,
body.employee-ui-pilot .employee-pair-profile-table select{
  border-color:var(--pilot-line)!important;
  background:color-mix(in srgb,var(--pilot-soft) 88%,transparent)!important;
  color:var(--pilot-text)!important;
}
.employee-messenger-group-card{width:min(660px,96vw)!important}.employee-group-name-field{display:grid;gap:7px}.employee-group-name-field span{color:var(--muted);font-size:11px}.employee-group-name-field input{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#0d182a;color:#fff}.employee-group-member-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto;margin-top:14px}.employee-group-member-picker label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #2d4261;border-radius:10px;background:#0d192b;cursor:pointer}.employee-group-member-picker input{accent-color:#6486ff}@media(max-width:650px){.employee-group-member-picker{grid-template-columns:1fr}}
/* A captured media event may occasionally have no retrievable preview URL. */
.employee-flow-media-missing{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px dashed color-mix(in srgb,var(--employee-accent,#57e5f2) 45%,transparent);border-radius:12px;background:color-mix(in srgb,var(--employee-surface,#102237) 76%,transparent);color:var(--employee-text,#eef8ff)}
.employee-flow-media-missing span{font-size:12px;color:var(--employee-muted,#9bb0c7)}

/* GPU-safe SVG charts: preserve geometry, colors, area fills and tooltips
   without allocating a compositor layer for every path and point. */
.balance-line-chart .balance-line,.balance-line-chart .balance-line.previous,.balance-line-chart circle,.balance-line-chart .balance-hover-dot,.employee-dashboard-chart-stage path,.employee-dashboard-chart-stage circle,.employee-dashboard-curve,.employee-analytics-visual svg path,.employee-analytics-visual svg circle,.flow-analytics-chart svg path,.flow-analytics-chart svg circle{filter:none!important}
.balance-line-chart .balance-line{stroke-width:4.5px}.balance-line-chart circle{stroke-width:3px}

/* Polished data drill-downs shared by video, voice, Chat Post and gifts. */
.employee-flow-details .employee-modal-backdrop{
  background:rgba(1,7,16,.82);
  backdrop-filter:blur(9px) saturate(.8);
}
.employee-flow-details-card{
  display:flex;
  flex-direction:column;
  width:min(1120px,calc(100vw - 40px));
  height:min(900px,calc(100vh - 42px));
  max-height:none;
  padding:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--pilot-accent,#56e4e8) 24%,var(--pilot-line,#274158));
  border-radius:24px;
  background:
    radial-gradient(circle at 8% 0%,color-mix(in srgb,var(--pilot-accent,#56e4e8) 10%,transparent),transparent 34%),
    linear-gradient(155deg,color-mix(in srgb,var(--pilot-surface,#102237) 96%,#101830),color-mix(in srgb,var(--pilot-surface,#102237) 88%,#020914));
  box-shadow:0 32px 90px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.035);
}
.employee-flow-details-card>h2{
  flex:0 0 auto;
  margin:0;
  padding:24px 76px 21px 30px;
  border-bottom:1px solid var(--pilot-line,rgba(105,151,195,.2));
  background:linear-gradient(90deg,color-mix(in srgb,var(--pilot-accent,#56e4e8) 7%,transparent),transparent 55%);
  color:var(--pilot-text,#f3f8ff);
  font-size:25px;
  line-height:1.2;
  letter-spacing:-.025em;
}
.employee-flow-details-card>h2::before{
  content:'◈';
  display:inline-grid;
  place-items:center;
  width:31px;
  height:31px;
  margin-right:11px;
  border:1px solid color-mix(in srgb,var(--pilot-accent,#56e4e8) 42%,transparent);
  border-radius:10px;
  background:color-mix(in srgb,var(--pilot-accent,#56e4e8) 13%,transparent);
  color:var(--pilot-accent,#56e4e8);
  font-size:15px;
  vertical-align:1px;
}
.employee-flow-details-card>.employee-modal-close{
  z-index:3;
  right:22px;
  top:18px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid var(--pilot-line,rgba(113,151,195,.24));
  border-radius:12px;
  background:rgba(5,16,29,.58);
  color:var(--pilot-muted,#9fb1c7);
  font-size:24px;
  line-height:1;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.employee-flow-details-card>.employee-modal-close:hover{
  border-color:color-mix(in srgb,#ff7890 55%,transparent);
  background:rgba(178,51,73,.2);
  color:#ff9bae;
  transform:rotate(4deg) scale(1.04);
}
.employee-flow-details-list{
  display:grid;
  grid-auto-rows:max-content;
  align-content:start;
  gap:12px;
  min-height:0;
  margin:0;
  padding:20px 22px 26px;
  overflow:auto;
  overscroll-behavior:contain;
  scrollbar-color:color-mix(in srgb,var(--pilot-accent,#56e4e8) 35%,transparent) transparent;
}
.employee-flow-details-list>.employee-analytics-summary-strip{
  grid-template-columns:repeat(2,minmax(0,230px));
  gap:10px;
  margin-bottom:4px;
}
.employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi{
  position:relative;
  min-height:82px;
  padding:15px 17px;
  overflow:hidden;
  border-color:color-mix(in srgb,var(--pilot-accent,#56e4e8) 28%,var(--pilot-line,#294057));
  background:linear-gradient(135deg,color-mix(in srgb,var(--pilot-accent,#56e4e8) 15%,var(--pilot-surface,#102237)),var(--pilot-surface,#102237));
}
.employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi::after{
  content:'';
  position:absolute;
  right:-22px;
  bottom:-32px;
  width:86px;
  height:86px;
  border-radius:50%;
  background:color-mix(in srgb,var(--pilot-accent,#56e4e8) 9%,transparent);
}
.employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi small{font-size:11px;letter-spacing:.02em}
.employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi b{font-size:26px}
.employee-flow-detail-row{
  position:relative;
  display:grid;
  gap:11px;
  padding:15px 17px 16px;
  overflow:hidden;
  border:1px solid var(--pilot-line,rgba(105,151,195,.19));
  border-left:3px solid rgba(255,132,153,.62);
  border-radius:16px;
  background:linear-gradient(125deg,color-mix(in srgb,var(--pilot-soft,rgba(65,105,155,.11)) 88%,transparent),rgba(3,14,25,.26));
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:border-color .18s,background .18s,transform .18s,box-shadow .18s;
}
.employee-flow-detail-row:hover{
  border-color:color-mix(in srgb,var(--pilot-accent,#56e4e8) 35%,var(--pilot-line,#294057));
  background:color-mix(in srgb,var(--pilot-accent,#56e4e8) 5%,var(--pilot-soft,rgba(65,105,155,.11)));
  transform:translateY(-1px);
  box-shadow:0 13px 30px rgba(0,0,0,.18);
}
.employee-flow-detail-row.seen,.employee-flow-detail-row.available{border-left-color:#5ce0a4}
.employee-flow-detail-row.sent{border-left-color:#a986ff}
.employee-flow-detail-main{
  display:grid;
  grid-template-columns:minmax(220px,1.3fr) minmax(190px,1fr) max-content 145px;
  align-items:center;
  gap:14px;
}
.employee-flow-detail-main>b{
  min-width:0;
  overflow:hidden;
  color:var(--pilot-text,#f4f8ff);
  font-size:15px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.employee-flow-detail-main>b small,.employee-flow-detail-main>span small{
  margin-left:4px;
  color:color-mix(in srgb,var(--pilot-accent,#56e4e8) 74%,var(--pilot-muted,#9fb0c4));
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.employee-flow-detail-main>span{
  min-width:0;
  overflow:hidden;
  color:var(--pilot-muted,#9fb0c4);
  font-size:12px;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.employee-flow-detail-main>em{
  justify-self:start;
  padding:7px 10px;
  border:1px solid rgba(255,126,148,.16);
  border-radius:999px;
  background:rgba(171,56,76,.2);
  color:#ff9fb0;
  font-size:10px;
  font-style:normal;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}
.employee-flow-detail-row.seen .employee-flow-detail-main>em,
.employee-flow-detail-row.available .employee-flow-detail-main>em{
  border-color:rgba(92,224,164,.2);
  background:rgba(27,137,99,.2);
  color:#78edb7;
}
.employee-flow-detail-row.sent .employee-flow-detail-main>em{
  border-color:rgba(169,134,255,.2);
  background:rgba(112,75,204,.2);
  color:#c8b3ff;
}
.employee-flow-detail-statuses{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.employee-flow-detail-statuses>em{
  padding:7px 10px;
  border:1px solid rgba(169,134,255,.2);
  border-radius:999px;
  background:rgba(112,75,204,.2);
  color:#c8b3ff;
  font-size:10px;
  font-style:normal;
  font-weight:850;
  line-height:1;
  white-space:nowrap;
}
.employee-flow-detail-statuses>em.available{
  border-color:rgba(92,224,164,.24);
  background:rgba(27,137,99,.22);
  color:#78edb7;
}
.employee-flow-detail-main>time{
  justify-self:end;
  color:var(--pilot-muted,#90a3ba);
  font-size:10px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.employee-flow-detail-row>p{
  margin:0;
  padding:12px 14px;
  border:1px solid color-mix(in srgb,var(--pilot-line,#294057) 70%,transparent);
  border-radius:11px;
  background:rgba(1,12,22,.42);
  color:color-mix(in srgb,var(--pilot-text,#f4f8ff) 91%,var(--pilot-muted,#9fb0c4));
  font-size:13px;
  line-height:1.55;
  white-space:pre-wrap;
}
.employee-flow-detail-row>.employee-flow-detail-subject{
  border-left:3px solid var(--pilot-accent,#56e4e8);
  background:color-mix(in srgb,var(--pilot-accent,#56e4e8) 7%,rgba(1,12,22,.42));
}
.employee-flow-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;overflow:visible}
.employee-flow-media a{display:block;min-width:0}
.employee-flow-media img,.employee-flow-media video{width:100%;height:150px;border:1px solid var(--pilot-line,rgba(105,151,195,.2));border-radius:12px;object-fit:cover;background:#050d14}
.employee-flow-media audio{width:100%;height:44px;grid-column:1/-1}
.employee-flow-video-layout{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:stretch;gap:14px}
.employee-flow-video-layout>.employee-flow-media{grid-template-columns:1fr}
.employee-flow-video-layout>.employee-flow-media img,.employee-flow-video-layout>.employee-flow-media video{height:148px}
.employee-flow-video-workup{display:grid;grid-template-rows:1fr 1fr;gap:8px}
.employee-flow-video-workup>div{display:grid;align-content:center;padding:10px 13px;border:1px solid color-mix(in srgb,var(--pilot-accent,#56e4e8) 18%,var(--pilot-line,#294057));border-radius:11px;background:rgba(1,12,22,.42)}
.employee-flow-video-workup small{display:block;margin-bottom:5px;color:color-mix(in srgb,var(--pilot-accent,#56e4e8) 78%,var(--pilot-muted,#9fb0c4));font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.employee-flow-video-workup p{margin:0;color:var(--pilot-text,#f4f8ff);font-size:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.employee-flow-video-workup i{color:var(--pilot-muted,#90a3ba);font-style:normal}
@media(max-width:800px){
  .employee-flow-details{padding:10px}
  .employee-flow-details-card{width:100%;height:calc(100vh - 20px);border-radius:18px}
  .employee-flow-details-card>h2{padding:20px 65px 18px 18px;font-size:21px}
  .employee-flow-details-card>h2::before{width:28px;height:28px;margin-right:8px}
  .employee-flow-details-card>.employee-modal-close{right:14px;top:14px}
  .employee-flow-details-list{padding:14px 12px 18px}
  .employee-flow-detail-main{grid-template-columns:1fr auto;gap:8px 12px}
  .employee-flow-detail-main>b,.employee-flow-detail-main>span{white-space:normal}
  .employee-flow-detail-main>span{grid-column:1/-1;grid-row:2}
  .employee-flow-detail-main>em,.employee-flow-detail-statuses{grid-column:1;grid-row:3}
  .employee-flow-detail-main>time{grid-column:2;grid-row:3}
}
@media(max-width:520px){
  .employee-flow-details-list>.employee-analytics-summary-strip{grid-template-columns:1fr 1fr}
  .employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi{min-height:72px;padding:12px}
  .employee-flow-details-list>.employee-analytics-summary-strip .employee-analytics-kpi b{font-size:22px}
  .employee-flow-detail-row{padding:13px 12px}
  .employee-flow-media{grid-template-columns:1fr}
  .employee-flow-video-layout{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.employee-flow-detail-row,.employee-flow-details-card>.employee-modal-close{transition:none}}

/* Dedicated employee call-request composer. */
.employee-workflow-text-field{display:block}
.employee-workflow-text-field>span,.employee-workflow-text-field>small{display:none}
.employee-call-request-modal .employee-modal-backdrop{background:rgba(1,7,15,.82);backdrop-filter:blur(10px)}
.employee-call-request-modal .employee-modal-card{width:min(680px,96vw);padding:30px;border:1px solid color-mix(in srgb,var(--pilot-accent,#53e4df) 42%,#27405d);border-radius:24px;background:radial-gradient(circle at 88% 0,color-mix(in srgb,var(--pilot-accent,#53e4df) 15%,transparent),transparent 34%),linear-gradient(145deg,rgba(15,31,50,.98),rgba(7,20,35,.99));box-shadow:0 30px 90px rgba(0,0,0,.56),inset 0 1px rgba(255,255,255,.04)}
.employee-call-request-modal .employee-modal-card::before{content:'📞';display:grid;place-items:center;width:52px;height:52px;margin-bottom:17px;border:1px solid color-mix(in srgb,var(--pilot-accent,#53e4df) 55%,transparent);border-radius:17px;background:color-mix(in srgb,var(--pilot-accent,#53e4df) 13%,#11253a);box-shadow:0 12px 30px color-mix(in srgb,var(--pilot-accent,#53e4df) 12%,transparent);font-size:24px}
.employee-call-request-modal #employeeWorkflowTitle{margin:0 52px 7px 0;color:var(--pilot-text,#f4f8ff);font-size:25px;line-height:1.2}
.employee-call-request-modal #employeeWorkflowDescription{max-width:570px;margin:0 0 23px;color:var(--pilot-muted,#9fb0c4);font-size:13px;line-height:1.55}
.employee-call-request-modal .employee-modal-close{top:18px;right:20px;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(133,158,188,.25);border-radius:11px;background:rgba(20,39,62,.7);color:#aebed2;font-size:22px;line-height:1}
.employee-call-request-modal .employee-modal-close:hover{border-color:var(--pilot-accent,#53e4df);color:#fff}
.employee-call-request-modal .employee-call-request-fields{gap:14px;margin:0 0 15px}
.employee-call-request-modal .employee-call-request-fields .employee-field{position:relative;display:grid;gap:8px}
.employee-call-request-modal .employee-call-request-fields .employee-field>span,.employee-call-request-modal .employee-workflow-text-field>span{display:flex;align-items:center;gap:7px;color:#b9c9dc;font-size:11px;font-weight:850;letter-spacing:.035em}
.employee-call-request-modal .employee-call-date-field>span::before{content:'📅'}
.employee-call-request-modal .employee-call-time-field>span::before{content:'⏰'}
.employee-call-request-modal .employee-call-topic-field>span::before{content:'💬'}
.employee-call-request-modal .employee-call-request-fields input,.employee-call-request-modal #employeeWorkflowText{border:1px solid rgba(79,111,146,.7);border-radius:13px;background:rgba(5,17,30,.76);color:#f5f8ff;box-shadow:inset 0 1px 2px rgba(0,0,0,.25);transition:border-color .18s,box-shadow .18s,background .18s}
.employee-call-request-modal .employee-call-request-fields input{min-height:51px;padding:0 15px}
.employee-call-request-modal .employee-call-request-fields input:focus,.employee-call-request-modal #employeeWorkflowText:focus{border-color:var(--pilot-accent,#53e4df);outline:0;background:rgba(8,24,40,.94);box-shadow:0 0 0 3px color-mix(in srgb,var(--pilot-accent,#53e4df) 14%,transparent)}
.employee-call-request-modal .employee-workflow-text-field{display:grid;gap:8px;margin-top:4px}
.employee-call-request-modal .employee-workflow-text-field>span::before{content:'✎';color:var(--pilot-accent,#53e4df);font-size:15px}
.employee-call-request-modal #employeeWorkflowText{min-height:108px;padding:14px 15px;resize:vertical}
.employee-call-request-modal .employee-workflow-text-field>small{display:block;color:#71869f;font-size:10px;line-height:1.45}
.employee-call-request-modal .employee-modal-actions{align-items:center;margin:24px -30px -30px;padding:18px 30px;border-top:1px solid rgba(72,99,129,.5);background:rgba(4,14,26,.42)}
.employee-call-request-modal #employeeWorkflowCancel,.employee-call-request-modal #employeeWorkflowSubmit{min-height:43px;padding:0 18px;border-radius:12px;font-weight:850}
.employee-call-request-modal #employeeWorkflowSubmit{min-width:190px;border-color:transparent;background:linear-gradient(135deg,var(--pilot-accent,#53e4df),#7562ff);color:#06131e;box-shadow:0 12px 28px color-mix(in srgb,var(--pilot-accent,#53e4df) 18%,transparent)}
.employee-call-request-modal #employeeWorkflowSubmit::before{content:'📨';margin-right:7px}
@media(max-width:600px){.employee-call-request-modal .employee-modal-card{padding:22px 18px;border-radius:19px}.employee-call-request-modal .employee-modal-card::before{width:46px;height:46px}.employee-call-request-modal .employee-modal-actions{margin:20px -18px -22px;padding:15px 18px}.employee-call-request-modal #employeeWorkflowSubmit{width:100%}}

/* Polished employee call cards. */
#employeeCallList .employee-call-card{
  --call-accent:#668bff;
  position:relative;
  border:1px solid color-mix(in srgb,var(--call-accent) 35%,var(--pilot-line,#294057));
  border-left:4px solid var(--call-accent);
  border-radius:20px;
  background:radial-gradient(circle at 88% 0,color-mix(in srgb,var(--call-accent) 12%,transparent),transparent 34%),linear-gradient(145deg,rgba(14,31,50,.97),rgba(7,20,35,.98));
  box-shadow:0 18px 42px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.035);
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
#employeeCallList .employee-call-card.call-confirmed,#employeeCallList .employee-call-card.call-completed{--call-accent:#48c18a}
#employeeCallList .employee-call-card.call-move_requested{--call-accent:#aa7bf4}
#employeeCallList .employee-call-card.call-cancelled,#employeeCallList .employee-call-card.call-rejected{--call-accent:#df5668}
#employeeCallList .employee-call-card:hover{border-color:color-mix(in srgb,var(--call-accent) 62%,var(--pilot-line,#294057));box-shadow:0 22px 52px rgba(0,0,0,.27),0 0 28px color-mix(in srgb,var(--call-accent) 8%,transparent)}
#employeeCallList .employee-call-card .employee-call-summary{grid-template-columns:52px minmax(0,1fr) auto;gap:15px;padding:19px 21px;background:transparent}
#employeeCallList .employee-call-card .employee-call-summary:hover{background:color-mix(in srgb,var(--call-accent) 5%,transparent)}
.employee-call-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid color-mix(in srgb,var(--call-accent) 46%,transparent);border-radius:15px;background:color-mix(in srgb,var(--call-accent) 14%,rgba(12,28,46,.82));box-shadow:0 10px 26px color-mix(in srgb,var(--call-accent) 10%,transparent);font-size:23px}
#employeeCallList .employee-call-card .employee-call-heading small{margin:0 0 4px;color:color-mix(in srgb,var(--call-accent) 72%,#bac9db);font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
#employeeCallList .employee-call-card .employee-call-heading strong{color:var(--pilot-text,#f4f8ff);font-size:19px}
.employee-call-preview{display:block;margin-top:5px;color:var(--pilot-muted,#9fb0c4);font-size:11px;font-variant-numeric:tabular-nums}
#employeeCallList .employee-call-card .employee-workflow-status{border:1px solid color-mix(in srgb,var(--call-accent) 35%,transparent);background:color-mix(in srgb,var(--call-accent) 16%,rgba(13,29,47,.7));color:color-mix(in srgb,var(--call-accent) 70%,#fff)}
#employeeCallList .employee-call-card .employee-call-toggle{color:#afc0d5}
#employeeCallList .employee-call-card .employee-call-toggle::after{content:'⌄';display:inline-block;color:var(--call-accent);font-size:18px;line-height:1;transition:transform .2s}
#employeeCallList .employee-call-card[open] .employee-call-toggle::after{transform:rotate(180deg)}
#employeeCallList .employee-call-card .employee-call-toggle{font-size:0}
#employeeCallList .employee-call-card .employee-call-toggle .closed-label,#employeeCallList .employee-call-card .employee-call-toggle .open-label{font-size:12px}
#employeeCallList .employee-call-card .employee-call-body{display:grid;gap:14px;padding:18px 21px 21px;border-top:1px solid color-mix(in srgb,var(--call-accent) 23%,#263a56);background:rgba(3,13,24,.22)}
.employee-call-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.employee-call-schedule article{padding:13px 15px;border:1px solid rgba(89,119,151,.32);border-radius:13px;background:rgba(7,21,36,.7)}
.employee-call-schedule span,.employee-call-comment>span{display:block;margin-bottom:6px;color:#8fa4bd;font-size:10px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}
.employee-call-schedule b{display:block;color:#eef5ff;font-size:15px;font-variant-numeric:tabular-nums}
.employee-call-comment{padding:14px 15px;border:1px solid rgba(89,119,151,.27);border-radius:13px;background:rgba(9,23,39,.62)}
#employeeCallList .employee-call-comment p{margin:0;color:#d4dfed;font-size:14px;line-height:1.55;white-space:pre-wrap}
#employeeCallList .employee-call-meeting{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin:0;padding:13px 15px;border:1px solid color-mix(in srgb,var(--call-accent) 40%,transparent);border-radius:13px;background:color-mix(in srgb,var(--call-accent) 12%,rgba(10,26,43,.86));color:#c8d8ff;transition:border-color .18s,background .18s,transform .18s}
#employeeCallList .employee-call-meeting:hover{border-color:var(--call-accent);background:color-mix(in srgb,var(--call-accent) 18%,rgba(10,26,43,.9));transform:translateY(-1px)}
.employee-call-meeting b{font-size:13px}.employee-call-meeting i{color:var(--call-accent);font-size:16px;font-style:normal}
#employeeCallList .employee-call-actions{margin-top:0;padding-top:15px;border-top:1px solid rgba(86,112,143,.28)}
#employeeCallList .employee-call-actions button{min-height:43px;padding:0 17px;border-radius:12px;font-weight:850}
#employeeCallList .employee-call-actions .employee-primary{border-color:transparent;background:linear-gradient(135deg,var(--call-accent),#735fff);box-shadow:0 10px 24px color-mix(in srgb,var(--call-accent) 16%,transparent)}
@media(max-width:650px){
  #employeeCallList .employee-call-card .employee-call-summary{grid-template-columns:44px minmax(0,1fr);padding:16px}
  .employee-call-icon{width:42px;height:42px;border-radius:13px;font-size:20px}
  #employeeCallList .employee-call-card .employee-call-summary-right{grid-column:1/-1;justify-content:space-between}
  #employeeCallList .employee-call-card .employee-call-body{padding:15px}
  .employee-call-schedule{grid-template-columns:1fr}
  #employeeCallList .employee-call-actions button{width:100%}
}
.employee-ai-copilot-panel{margin:10px 0;padding:12px 14px;border:1px solid #3c6e8f;border-radius:14px;background:linear-gradient(135deg,#10283b,#14253c);color:#eaf6ff;box-shadow:0 8px 24px #00152533}.employee-ai-copilot-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.employee-ai-copilot-head button{border:0;background:transparent;color:#9db7c9;font-size:20px;cursor:pointer}.employee-ai-copilot-status{margin-top:7px;color:#78d8dc;font-size:12px}.employee-ai-copilot-body{margin-top:8px;white-space:pre-wrap;line-height:1.45;color:#f5fbff}.employee-ai-copilot-actions{display:flex;gap:8px;margin-top:10px}
