.staff-system-page{min-height:0;flex:1;overflow:auto;padding:20px;background:linear-gradient(145deg,var(--panel,#112c43),var(--bg,#0b1a2c));box-sizing:border-box}.staff-system-page[hidden]{display:none!important}.staff-system-header{display:flex;align-items:center;gap:12px;margin-bottom:20px;position:sticky;top:-20px;background:var(--panel,#112c43);z-index:4;padding:14px 0;border-bottom:1px solid var(--border,#38506a)}.staff-system-header>div{flex:1;font-size:11px;letter-spacing:2px;color:var(--muted,#b5c6da)}.staff-system-body{display:grid;gap:18px;min-width:0;max-width:1200px;margin:auto}.staff-system-card{display:grid;gap:12px;min-width:0;background:var(--panel,#15334b);border:1px solid var(--border,#42617b);border-radius:16px;padding:20px}.staff-system-card h2{font-size:20px;margin:0}.staff-system-card h3,.staff-system-card p{margin:0;line-height:1.65}.staff-system-card small{color:var(--muted,#b5c6da)}.staff-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.staff-tool-cube{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;min-height:130px!important;padding:20px!important;border-radius:16px!important;background:linear-gradient(135deg,#31506c70,#25405a45)!important;border:1px solid var(--border,#42617b)!important;text-align:left!important;font-size:15px!important}.staff-cube{display:inline-flex;width:24px;height:24px;flex:none;vertical-align:middle;color:var(--accent,#edc474)}.staff-cube svg{height:100%;width:100%}.staff-home-shortcuts{display:flex;gap:12px;margin-bottom:20px}.staff-home-shortcuts button{display:flex;align-items:center;gap:10px}.staff-system-page button,.staff-system-page a.secondary{min-height:38px;padding:9px 14px;border-radius:10px;justify-self:start;max-width:100%;box-sizing:border-box}.staff-system-page .channel-button{width:100%}.staff-system-page label{display:grid;gap:7px;font-size:12px;margin:0}.staff-system-page input:not([type=checkbox]),.staff-system-page textarea,.staff-system-page select{width:100%;box-sizing:border-box;min-width:0;min-height:40px;border:1px solid var(--border,#42617b);border-radius:9px;padding:10px;background:var(--input-bg,#0c2439);color:inherit;font:inherit}.staff-system-page textarea{min-height:100px;resize:vertical}.staff-system-page input[type=checkbox]{width:18px;height:18px}.staff-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.staff-form label:has(textarea){grid-column:1/-1}.staff-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:end}.staff-action-row{display:flex;flex-wrap:wrap;gap:10px}.staff-ticket-count{color:var(--accent,#edc474);font-size:17px}.support-message-list{display:grid;gap:12px}.support-message{padding:15px;border-radius:12px;border:1px solid var(--border,#42617b);background:#12273d40;overflow-wrap:anywhere}.support-message p{white-space:pre-wrap}.support-message.staff{border-left:3px solid #e6bd6b}.support-message.system{font-size:12px;opacity:.8}.staff-system-open>.chat-header{flex:none}.staff-system-page .staff-content{display:grid;gap:14px;width:100%;min-width:0}.staff-system-page .staff-content>label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.staff-system-page .workforce-card[hidden]{display:none!important}.staff-system-page .payroll-line{align-items:end}.staff-system-page .payroll-line button{align-self:end}.staff-system-page .settings-note{line-height:1.6}.staff-system-page form{min-width:0}#channel-list .staff-cube{width:18px;height:18px;margin-right:8px}
@media(max-width:700px){.staff-system-page{padding:12px}.staff-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-tool-cube{padding:14px!important;min-height:110px!important;font-size:12px!important}.staff-form{grid-template-columns:1fr}.staff-system-header{gap:6px;flex-wrap:wrap;top:-12px}.staff-system-header>div{order:-1;width:100%;flex-basis:100%}.staff-system-header button{font-size:11px;padding:8px}.staff-search{grid-template-columns:1fr 1fr}.staff-search>label:first-child{grid-column:1/-1}.staff-system-card{padding:14px}.staff-home-shortcuts{flex-wrap:wrap}}
.nexo-image-viewer{width:min(96vw,1500px);height:94dvh;max-width:96vw;max-height:94dvh;padding:14px;border:1px solid #57728b;border-radius:18px;background:#0c1c2b;color:#e7f0fa;box-sizing:border-box;overflow:hidden}.nexo-image-viewer::backdrop{background:#020913d9}.nexo-image-viewer[open]{display:flex;flex-direction:column;gap:12px}.nexo-image-viewer header{display:flex;align-items:center;gap:12px;flex:none}.nexo-image-viewer header strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nexo-image-viewport{display:grid;place-items:center;min-height:0;flex:1;overflow:auto}.nexo-image-viewport img{display:block;max-width:100%;max-height:100%;object-fit:contain}.uploaded-photo,.message-media img,.feed-post-image,.home-announcement-image,.chat-media-image{cursor:zoom-in}.message-body a{color:var(--accent,#f1cd7c);text-decoration:underline;text-underline-offset:3px}.handbook-document{font-family:Arial,sans-serif;background:#f3f6fa;color:#19354b;line-height:1.7;margin:0}.handbook-document main{max-width:850px;margin:30px auto;padding:40px;background:white;border-top:8px solid #dfba6e}.handbook-document h1{color:#000}.handbook-document h2{color:#244c6b;margin-top:30px}.handbook-document .version{color:#657b90;font-size:12px}
.staff-system-page .staff-tool-cube{justify-self:stretch;width:100%;min-width:0}.staff-system-nav{background:transparent!important;margin-bottom:5px!important}.staff-system-nav.selected{background:var(--active,#29455f)!important}.staff-system-open .chat-header #conversation-search,.staff-system-open .chat-header #pinned-messages{display:none}
.nexo-image-viewport{position:relative;display:block}.nexo-image-viewport img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.staff-system-open .chat-header button[aria-label="Search this conversation"],.staff-system-open .chat-header button[aria-label="Pinned messages"],.staff-system-open #members-toggle{display:none!important}.chat-media,.custom-sticker-message{cursor:zoom-in}
.duty-week-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.duty-week-controls label{min-width:180px;flex:1;max-width:260px}.duty-week-range{font-size:17px;font-weight:800}.duty-week-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.duty-week-summary>div{display:grid;gap:6px;padding:14px;border:1px solid var(--border,#42617b);border-radius:12px}.duty-week-summary strong{font-size:20px;color:var(--accent,#edc474)}.duty-table-wrap{min-width:0;overflow:auto}.duty-week-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.duty-week-table caption{text-align:left;padding:0 0 12px;color:var(--muted,#b5c6da);font-size:12px}.duty-week-table th,.duty-week-table td{padding:14px 9px;border-bottom:1px solid var(--border,#42617b);vertical-align:middle;white-space:nowrap}.duty-week-table thead th{color:var(--muted,#b5c6da);font-size:11px}.duty-week-table .duty-staff-name{white-space:normal;min-width:145px;max-width:230px}.staff-system-page .duty-staff-name button{display:block;background:transparent;border:0;padding:0;min-height:28px;font-weight:800;text-align:left;overflow-wrap:anywhere}.duty-staff-name small{display:block;margin-top:4px;font-weight:400}.duty-active-badge{display:inline-flex;font-size:10px;color:#80d9af;margin-top:6px}.duty-total{font-weight:800;color:var(--accent,#edc474)}.duty-empty{padding:20px 0;color:var(--muted,#b5c6da)}.duty-person-records{border:1px solid var(--border,#42617b);border-radius:12px;padding:14px}.duty-person-records+details{margin-top:10px}.duty-person-records summary{cursor:pointer;font-weight:700;line-height:1.5}.duty-shift-record{display:grid;gap:6px;font-size:12px;line-height:1.6;padding:14px 0;border-top:1px solid var(--border,#42617b);margin-top:12px}.duty-shift-record span{color:var(--muted,#b5c6da)}
@media(max-width:700px){.duty-week-summary{gap:7px}.duty-week-summary>div{padding:10px}.duty-week-summary strong{font-size:16px}.duty-week-summary small{font-size:10px}.duty-week-controls label{max-width:none;flex-basis:100%}.duty-week-controls button{flex:1;font-size:11px;padding:8px!important}.duty-week-table,.duty-week-table tbody{display:block}.duty-week-table thead{display:none}.duty-week-table tr{display:block;margin:10px 0;padding:12px;border:1px solid var(--border,#42617b);border-radius:12px}.duty-week-table caption{display:block}.duty-week-table .duty-staff-name{display:block;max-width:none;min-width:0;padding:0 0 10px}.duty-week-table td{display:flex;justify-content:space-between;align-items:center;padding:10px 0;white-space:normal}.duty-week-table td::before{content:attr(data-label);color:var(--muted,#b5c6da);font-weight:400}.duty-week-table td:last-child{border:0}.duty-table-wrap{overflow:visible}}

/* Staff tools occupy the conversation pane even during late server refreshes. */
.staff-system-open>.server-home-panel,.staff-system-open>.server-home-header-icon,.staff-system-open>.nexo-discover-home,.staff-system-open>.news-feed-page,.staff-system-open>#conversation,.staff-system-open>#voice-room,.staff-system-open>#empty-workspace{display:none!important}
#workspace.staff-tools-active>.members-card{display:none!important}

.staff-handbook-downloads{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:20px}.staff-handbook-downloads a{display:flex;align-items:center;min-height:46px;margin:0;text-decoration:none;padding:12px;border-radius:12px;border:1px solid var(--line)}

.learning-hub-private{color:#edcb82;font-weight:800;font-size:11px;letter-spacing:1.4px}.learning-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;margin-top:22px}.learning-hub-card{display:flex;flex-direction:column;gap:10px;padding:20px;background:#142c43;border:1px solid #3d5871;border-radius:16px;min-width:0}.learning-hub-card>.staff-cube{color:#edcb82}.learning-hub-card h3{margin:0;font-size:18px}.learning-hub-card p{margin:0 0 12px;color:#b7cce0;line-height:1.6;flex:1}.learning-hub-card a{display:flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;border-radius:10px;text-align:center}.learning-hub-card a:focus-visible{outline:3px solid #80baff;outline-offset:3px}@media(max-width:650px){.learning-hub-grid{grid-template-columns:1fr;gap:12px}.learning-hub-card{padding:16px}}
