/* Staff workspace: Manasik typography, operational hierarchy and bounded conversation surfaces. */
.site-admin{--staff-ink:#173f32;--staff-muted:#50675c;--staff-line:#cad5ca;--staff-paper:rgba(250,250,243,.97);--staff-sage:#eaf1e9;--staff-shadow:0 8px 24px rgba(10,36,27,.08)}
html body.site-admin.ms-site-chrome main#admin-main{width:min(1480px,calc(100% - 64px))!important;max-width:1480px!important;padding:28px 0 48px!important;margin-inline:auto!important}
html body.site-admin #workspace{display:grid;grid-template-columns:208px minmax(0,1fr);gap:24px;align-items:start;min-width:0}
html body.site-admin #workspace[hidden]{display:none!important}
html body.site-admin #workspace>.admin-welcome{display:none!important}
html body.site-admin #workspace>.ops-switch{grid-column:1;grid-row:1;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;position:sticky;top:104px;margin:0!important;padding:10px!important;border:1px solid rgba(241,244,231,.24);border-radius:20px;background:rgba(244,247,236,.96);box-shadow:var(--staff-shadow)}
html body.site-admin #workspace>.ops-switch button{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:10px!important;text-align:start!important;min-height:62px!important;width:100%!important;padding:10px 12px!important;border-radius:12px!important;background:transparent!important;border:1px solid transparent!important;color:var(--staff-ink)!important;box-shadow:none!important}
html body.site-admin #workspace>.ops-switch button>svg{width:21px!important;height:21px!important;flex:0 0 21px}
html body.site-admin #workspace>.ops-switch button span{display:grid;gap:2px;min-width:0}
html body.site-admin #workspace>.ops-switch button strong{font-size:14px!important;line-height:1.5;font-weight:600}
html body.site-admin #workspace>.ops-switch button small{display:block!important;font-size:12px!important;line-height:1.5;color:var(--staff-muted)!important}
html body.site-admin #workspace>.ops-switch button[aria-pressed=true]{color:#fffefa!important;background:#173f32!important;border-color:#173f32!important;box-shadow:inset -3px 0 #b59a5c!important}
html body.site-admin #workspace>.ops-switch button[aria-pressed=true] small{color:#e4ecdf!important}
html body.site-admin #workspace>.ops-switch button:hover:not([aria-pressed=true]){background:#e9efe5!important}
html body.site-admin #workspace>:is(section,#crm-workspace){grid-column:2;grid-row:1;min-width:0}
html body.site-admin #workspace :is(.desk-heading,.fin-header,.ops-heading){align-items:flex-start!important;gap:20px!important;margin:0 0 20px!important;min-width:0}
html body.site-admin #workspace :is(.desk-heading,.fin-header,.ops-heading) :is(h1,h2){font-family:Thmanyah,Tahoma,sans-serif!important;font-size:28px!important;font-weight:700!important;line-height:1.45;margin:0 0 4px!important}
html body.site-admin #workspace .desk-heading .desk-lead{display:block!important;margin:0!important;font-size:14px!important;line-height:1.8;color:var(--staff-muted)}
html body.site-admin #workspace .desk-controls{gap:10px!important;flex-shrink:0}
html body.site-admin #workspace .desk-controls label{font-size:12px!important;gap:5px}
html body.site-admin #workspace .desk-controls :is(select,.ms-action){min-height:44px!important;min-width:0!important;font-size:14px!important}
html body.site-admin #workspace .desk-controls select{width:142px!important;padding:9px 10px!important}
html body.site-admin #workspace .desk-controls>.ms-action{padding:10px 12px!important;background:var(--staff-paper)!important;border-color:var(--staff-line)!important;box-shadow:none!important}
.staff-period-note{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin:0 0 16px;font-size:12px;line-height:1.7;color:var(--staff-muted)}
.staff-period-note bdi{font-variant-numeric:tabular-nums}
html body.site-admin #workspace #overview-workspace>.desk-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 20px!important}
html body.site-admin #workspace button.desk-indicator{display:flex!important;align-items:stretch!important;gap:0!important;min-width:0;min-height:176px!important;padding:17px!important;text-align:start!important;border:1px solid var(--staff-line)!important;border-radius:22px!important;background:var(--staff-paper)!important;box-shadow:var(--staff-shadow)!important;overflow:hidden;transform:none!important}
html body.site-admin #workspace button.desk-indicator:hover{border-color:#789985!important;box-shadow:0 10px 26px rgba(10,36,27,.12)!important}
html body.site-admin #workspace button.desk-indicator>svg{align-self:flex-start;width:21px!important;height:21px!important;color:#446c56;margin:0 0 12px!important;flex:none}
html body.site-admin #workspace button.desk-indicator .desk-stat-label{font-size:14px!important;font-weight:600;line-height:1.6}
html body.site-admin #workspace button.desk-indicator .desk-stat-value{font-size:clamp(26px,2.35vw,36px)!important;font-weight:700!important;line-height:1.3!important;margin:7px 0!important;overflow-wrap:anywhere;white-space:normal}
html body.site-admin #workspace button.desk-indicator small{color:var(--staff-muted)!important;font-size:12px!important;line-height:1.7!important}
html body.site-admin #workspace button.desk-indicator.is-stale{border-style:dashed!important}
.staff-change{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:10px;color:#50675c;font-size:12px;line-height:1.6;min-height:20px}
.staff-change svg{width:15px;height:15px;flex:0 0 15px}
.staff-change.is-up{color:#246947}.staff-change.is-down{color:#8a3b43}
.staff-change bdi{font-variant-numeric:tabular-nums}
.staff-sparkline{width:100%!important;height:30px!important;display:block;margin-top:auto;padding-top:8px;color:#557d61}
.staff-sparkline path{vector-effect:non-scaling-stroke}
html body.site-admin #workspace #overview-workspace>.desk-live-strip{display:grid!important;grid-template-columns:minmax(190px,1fr) minmax(0,1.5fr);align-items:center;gap:12px!important;padding:16px 20px!important;margin:0 0 20px!important;border-radius:22px!important}
html body.site-admin #workspace #overview-workspace .desk-live-strip .desk-panel-head{padding:0!important;min-height:0!important;display:grid!important;gap:4px!important;margin:0!important}
html body.site-admin #workspace #overview-workspace .desk-live-strip .desk-panel-head h2{font-size:17px!important;margin:0!important}
html body.site-admin #workspace #overview-workspace .desk-live-strip .desk-panel-head p{font-size:12px!important;margin:0!important}
html body.site-admin #workspace #overview-workspace .desk-live-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
html body.site-admin #workspace #overview-workspace .desk-live-grid>div{display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:8px!important;padding:10px 12px!important;background:#edf2e9;border:1px solid #d5dfd0;border-radius:12px!important}
html body.site-admin #workspace #overview-workspace .desk-live-grid span{font-size:13px!important}
html body.site-admin #workspace #overview-workspace .desk-live-grid bdi{font-size:21px!important}
html body.site-admin #workspace #overview-workspace .desk-live-strip .desk-source{grid-column:1/-1;margin:0!important}
html body.site-admin #workspace #overview-workspace>.desk-priority{padding:18px 20px!important;margin:0 0 20px!important;border-radius:22px!important}
html body.site-admin #workspace #overview-workspace .desk-priority .desk-panel-head{display:block!important;padding:0!important;min-height:0!important;margin-bottom:10px!important}
html body.site-admin #workspace #overview-workspace .desk-priority .desk-panel-head h2{font-size:18px!important}
html body.site-admin #workspace #overview-workspace .desk-attention-more{position:static!important}
html body.site-admin #workspace #overview-workspace .desk-attention-more>summary{position:static!important;inset:auto!important;min-height:44px!important;max-width:none!important;font-size:13px!important;padding:8px 0!important}
html body.site-admin #workspace :is(.desk-panel,.fin-section,.ops-campaign){border-radius:22px!important;box-shadow:var(--staff-shadow)!important;background:var(--staff-paper)!important}
html body.site-admin #workspace .desk-panel{padding:20px!important;margin-bottom:20px!important}
html body.site-admin #workspace .desk-columns{gap:20px!important;margin-bottom:20px!important}
html body.site-admin #workspace .desk-columns>.desk-panel{margin-bottom:0!important;min-width:0}
html body.site-admin #workspace #overview-workspace .desk-overview-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:20px!important}
html body.site-admin #workspace #overview-workspace .desk-overview-insights>section:nth-child(3){grid-column:auto!important}
html body.site-admin #workspace .desk-panel-head h2{font-size:19px!important;font-weight:700;line-height:1.6}
html body.site-admin #workspace .desk-panel>svg[role=img]{width:100%;height:150px}
html body.site-admin #workspace .desk-table-scroll{max-width:100%;min-width:0}
html body.site-admin #workspace .desk-list-tools{gap:12px!important;margin-bottom:18px!important}
html body.site-admin #workspace .desk-subnav{gap:8px!important;margin-bottom:18px!important}
html body.site-admin #workspace .desk-subnav button{min-height:44px!important;padding:10px 14px!important}
html body.site-admin #workspace :is(.desk-controls,.desk-list-tools,.ops-actions,.fin-period) :is(input,select){font-size:16px!important}
html body.site-admin #workspace .desk-source{font-size:12px!important;line-height:1.7!important;color:var(--staff-muted)}
html body.site-admin #workspace .weekly-progress-control{margin-top:20px!important}
html body.site-admin #workspace .weekly-progress-control .weekly-report-copy p{font-size:13px!important}
html body.site-admin dialog.desk-chat-dialog[open]{position:fixed!important;display:flex!important;flex-direction:column!important;width:min(1120px,calc(100vw - 48px))!important;max-width:1120px!important;height:var(--chat-height,min(800px,calc(100dvh - 48px)))!important;max-height:calc(100dvh - 16px)!important;top:var(--chat-top,24px)!important;bottom:auto!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;border-radius:24px!important;background:#f7f8f0!important;box-shadow:0 28px 100px rgba(8,30,23,.3)!important}
html body.site-admin dialog.desk-chat-dialog>.desk-dialog-head{flex:0 0 auto!important;min-height:66px;padding:14px 22px!important;gap:12px!important;background:#f9faf4!important}
html body.site-admin dialog.desk-chat-dialog>.desk-dialog-head h2{font-size:20px!important;margin:0!important}
html body.site-admin dialog.desk-chat-dialog>.desk-dialog-head button{min-height:44px!important;padding:10px 14px!important;box-shadow:none!important}
html body.site-admin dialog.desk-chat-dialog .desk-chat-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;gap:12px!important;padding:16px 22px!important}
.desk-chat-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto}
html body.site-admin .desk-chat-toolbar>.ms-action{min-height:44px!important;padding:9px 12px!important;box-shadow:none!important;font-size:13px}
html body.site-admin dialog.desk-chat-dialog .desk-chat{display:flex!important;flex-direction:column!important;flex:1 1 0%!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;margin:0!important;padding:6px 8px!important;gap:12px!important;border:0!important;background:transparent!important;scroll-behavior:auto}
html body.site-admin .desk-chat-message{flex:none!important;width:fit-content;max-width:78%!important;padding:12px 16px!important;margin:0!important;border:1px solid #d2ddcf;border-radius:16px 16px 4px 16px!important;background:#fffefa!important;align-self:flex-end;overflow-wrap:anywhere}
html body.site-admin .desk-chat-message.is-admin{align-self:flex-start;background:#e4eee3!important;border-color:#c2d4bf!important;border-radius:16px 16px 16px 4px!important}
html body.site-admin .desk-chat-message p{font-size:16px!important;line-height:1.9!important;margin:4px 0!important;white-space:pre-wrap}
html body.site-admin .desk-chat-message small{display:block;color:#50675c!important;font-size:12px!important;line-height:1.7}
html body.site-admin .desk-chat-dialog .desk-form-result{flex:0 0 auto;margin:0!important;padding:8px 12px!important;font-size:13px!important}
html body.site-admin .desk-chat-dialog .desk-form-result:empty{display:none}
html body.site-admin dialog.desk-chat-dialog .desk-chat-composer{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important;gap:12px!important;flex:0 0 auto!important;margin:0!important;padding:14px 22px max(14px,env(safe-area-inset-bottom))!important;background:#f9faf4!important}
html body.site-admin dialog.desk-chat-dialog .desk-chat-composer[hidden]{display:none!important}
html body.site-admin .desk-chat-dialog .desk-chat-composer textarea{flex:1 1 0!important;width:0!important;min-width:0!important;min-height:56px!important;height:56px;max-height:144px!important;resize:none!important;font-size:16px!important;line-height:1.75!important;padding:12px!important;margin:0!important;border-radius:14px!important;overflow-y:auto}
html body.site-admin .desk-chat-dialog .desk-chat-composer .ms-action{flex:0 0 auto!important;min-height:48px!important;margin:0!important;padding:11px 16px!important;max-width:140px!important;box-shadow:none!important}
html body.site-admin .desk-chat-dialog .desk-chat-composer .ms-action--primary{background:#173f32!important;color:#fffefa!important;border-color:#173f32!important}
@media(min-width:1101px){html body.site-admin #workspace .ops-switch button small{max-width:145px}}
@media(max-width:1250px) and (min-width:1101px){html body.site-admin #workspace{grid-template-columns:184px minmax(0,1fr);gap:20px}html body.site-admin #workspace .desk-heading{flex-wrap:wrap}html body.site-admin #workspace #overview-workspace>.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1100px){
 html body.site-admin.ms-site-chrome main#admin-main{width:calc(100% - 40px)!important;padding-top:20px!important}
 html body.site-admin #workspace{display:block!important}
 html body.site-admin #workspace[hidden]{display:none!important}
 html body.site-admin #workspace>.ops-switch{position:static;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;margin-bottom:22px!important}
 html body.site-admin #workspace>.ops-switch button{min-height:52px!important;padding:8px 10px!important}
 html body.site-admin #workspace>.ops-switch button small{display:none!important}
 html body.site-admin #workspace>.ops-switch button strong{font-size:14px!important}
 html body.site-admin #workspace #overview-workspace>.desk-stats{gap:12px!important}
 html body.site-admin #workspace .desk-heading{flex-wrap:wrap}
}
@media(max-width:760px){
 html body.site-admin.ms-site-chrome main#admin-main{width:calc(100% - 32px)!important;padding:16px 0 32px!important}
 html body.site-admin #workspace>.ops-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:18px!important}
 html body.site-admin #workspace>.ops-switch button{min-height:48px!important;padding:8px!important;gap:6px!important}
 html body.site-admin #workspace>.ops-switch button strong{font-size:13px!important}
 html body.site-admin #workspace>.ops-switch button>svg{width:19px!important;height:19px!important;flex-basis:19px}
 html body.site-admin #workspace :is(.desk-heading,.fin-header,.ops-heading){gap:14px!important;margin-bottom:14px!important}
 html body.site-admin #workspace :is(.desk-heading,.fin-header,.ops-heading) :is(h1,h2){font-size:23px!important}
 html body.site-admin #workspace .desk-heading .desk-lead{font-size:13px!important}
 html body.site-admin #workspace .desk-controls{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important;gap:8px!important;width:100%}
 html body.site-admin #workspace .desk-controls>label{min-width:0;flex:1 1 0}
 html body.site-admin #workspace .desk-controls select{width:100%!important}
 html body.site-admin #workspace .desk-controls>.ms-action{grid-column:auto;flex:0 0 44px;min-width:44px!important;width:44px!important;padding:10px!important}.site-admin #workspace .desk-controls>.ms-action>span{display:none}
 html body.site-admin #workspace #overview-workspace>.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:16px!important}
 html body.site-admin #workspace button.desk-indicator{min-height:160px!important;padding:13px!important;border-radius:22px!important}
 html body.site-admin #workspace button.desk-indicator>svg{margin-bottom:8px!important}
 html body.site-admin #workspace button.desk-indicator .desk-stat-label{font-size:13px!important}
 html body.site-admin #workspace button.desk-indicator .desk-stat-value{font-size:27px!important}
 html body.site-admin #workspace button.desk-indicator small,.staff-change{font-size:12px!important}
 html body.site-admin #workspace #overview-workspace>.desk-live-strip{grid-template-columns:1fr!important;padding:16px!important;margin-bottom:16px!important}
 html body.site-admin #workspace #overview-workspace .desk-live-grid{gap:8px!important}
 html body.site-admin #workspace #overview-workspace .desk-live-grid>div{padding:9px 8px!important;gap:4px!important}
 html body.site-admin #workspace #overview-workspace .desk-live-grid bdi{font-size:19px!important}
 html body.site-admin #workspace #overview-workspace .desk-live-grid span{font-size:12px!important}
 html body.site-admin #workspace #overview-workspace .desk-overview-insights{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 html body.site-admin #workspace .desk-panel{padding:16px!important;margin-bottom:16px!important}
 html body.site-admin #workspace #overview-workspace>.desk-priority{padding:16px!important;margin-bottom:16px!important}
 html body.site-admin dialog.desk-chat-dialog[open]{width:calc(100vw - 16px)!important;border-radius:22px!important}
 html body.site-admin dialog.desk-chat-dialog>.desk-dialog-head{min-height:60px;padding:10px 14px!important}
 html body.site-admin dialog.desk-chat-dialog>.desk-dialog-head h2{font-size:18px!important}
 html body.site-admin dialog.desk-chat-dialog .desk-chat-body{padding:10px 12px!important;gap:8px!important}
 html body.site-admin .desk-chat-toolbar>.ms-action{padding:8px 10px!important;font-size:12px!important}
 html body.site-admin dialog.desk-chat-dialog .desk-chat{padding:4px!important;gap:10px!important}
 html body.site-admin .desk-chat-message{max-width:90%!important;padding:10px 12px!important}
 html body.site-admin dialog.desk-chat-dialog .desk-chat-composer{gap:8px!important;padding:10px 12px max(10px,env(safe-area-inset-bottom))!important}
 html body.site-admin .desk-chat-dialog .desk-chat-composer .ms-action{min-height:48px!important;padding:10px 12px!important;max-width:104px!important;font-size:13px!important}
 html body.site-admin .desk-chat-dialog .desk-chat-composer .ms-action svg{display:none}
}
@media(prefers-reduced-motion:reduce){html body.site-admin #workspace *{scroll-behavior:auto!important}}
@media print{html body.site-admin #workspace{display:block!important}html body.site-admin #workspace>.ops-switch{display:none!important}}

html body.site-admin .desk-chat-dialog .desk-chat-toolbar{order:0}
html body.site-admin .desk-chat-dialog .desk-template{order:1;flex:0 0 auto!important;min-height:44px;max-height:45%;overflow-y:auto;margin:0!important;padding-top:0!important;border-radius:12px}
html body.site-admin .desk-chat-dialog .desk-template>summary{position:sticky;top:0;z-index:1;min-height:44px;padding:8px 12px;background:#f9faf4}
html body.site-admin .desk-chat-dialog .desk-template>div{padding:0 12px 12px}
html body.site-admin .desk-chat-dialog .desk-chat{order:2}
html body.site-admin .desk-chat-dialog .desk-chat-body>.desk-form-result{order:3}

@media(max-width:720px){html body.site-admin #workspace .weekly-progress-control{border-radius:20px!important}}

html body.site-admin #workspace button.desk-indicator>svg.staff-sparkline{align-self:stretch;width:100%!important;height:30px!important;margin:10px 0 0!important;padding:0!important;color:#557d61}

html body.site-admin #workspace .weekly-report-disclosure>summary{min-height:44px!important;box-sizing:border-box}

/* Adapt to the width actually available, including embedded and enlarged layouts. */
html body.site-admin.ms-site-chrome main#admin-main{container-type:inline-size;container-name:staff-main}
html body.site-admin .ms-site-header{container-type:inline-size;container-name:staff-header}
html body.site-admin #workspace :is(.desk-heading,.fin-header,.ops-heading){flex-wrap:wrap!important}
@container staff-header (max-width:980px){
 html body.site-admin.ms-site-chrome header.ms-site-header[data-shared-header] .nav-links{display:none!important}
}
@container staff-main (max-width:1100px){
 html body.site-admin #workspace{display:block!important}
 html body.site-admin #workspace[hidden]{display:none!important}
 html body.site-admin #workspace>.ops-switch{position:static;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:22px!important}
 html body.site-admin #workspace>.ops-switch button{min-height:52px!important;padding:8px 10px!important}
 html body.site-admin #workspace>.ops-switch button small{display:none!important}
}
@container staff-main (max-width:720px){
 html body.site-admin #workspace .desk-heading{gap:14px!important;margin-bottom:14px!important}
 html body.site-admin #workspace .desk-controls{display:flex!important;flex-wrap:nowrap!important;align-items:flex-end!important;width:100%;gap:8px!important}
 html body.site-admin #workspace .desk-controls>label{min-width:0;flex:1 1 0}
 html body.site-admin #workspace .desk-controls select{width:100%!important}
 html body.site-admin #workspace .desk-controls>.ms-action{flex:0 0 44px;min-width:44px!important;width:44px!important;padding:10px!important}
 html body.site-admin #workspace .desk-controls>.ms-action>span{display:none}
 html body.site-admin #workspace #overview-workspace>.desk-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body.site-admin #workspace #overview-workspace .desk-overview-insights{grid-template-columns:minmax(0,1fr)!important}
 html body.site-admin #workspace #overview-workspace>.desk-live-strip{grid-template-columns:1fr!important}
 html body.site-admin #workspace .weekly-report-controls{grid-template-columns:minmax(0,1fr)!important}
 html body.site-admin #workspace .weekly-report-print{width:100%!important;min-width:0!important}
}
