/* Compact schedule/attendance overrides, including the live ERP decorator. */
#content#content.nw-compact-layout{--nw-compact-accent:#7768c7;--nw-compact-tint:#f0ecfc;min-width:0!important}
#content#content.nw-compact-layout.nw-compact-attendance{--nw-compact-accent:#238e8b;--nw-compact-tint:#e4f7f5}
#content#content.nw-compact-layout>.page-title{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;padding:8px 0!important;margin:4px 0 10px!important;min-height:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#253a55!important;overflow:visible!important}
#content#content.nw-compact-layout>.page-title::after{display:none!important}
#content#content.nw-compact-layout>.page-title h2{font-size:18px!important;line-height:1.4!important;color:#253a55!important;margin:0!important;gap:7px!important}
#content#content.nw-compact-layout>.page-title h2::before{width:30px!important;height:30px!important;border-radius:9px!important;background-size:19px!important}
#content#content.nw-compact-layout>.page-title p,#content#content.nw-compact-layout .nw-heading-icon{display:none!important}
#content#content.nw-compact-layout>.page-title .row-wrap{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;width:auto!important;max-width:100%;overflow-x:auto!important;padding:2px 0!important}
#content#content.nw-compact-layout>.page-title .btn{flex:none;width:auto!important;min-height:32px!important;padding:6px 10px!important;border-radius:9px!important;font-size:11px!important;line-height:1.4!important;color:#465b79!important;background:#f6f8fc!important;border:1px solid #e1e8f1!important;backdrop-filter:none!important}
#content#content.nw-compact-layout>.page-title .btn-primary{background:#347df1!important;color:#fff!important;border-color:#347df1!important}
/* Top segmented period navigation, retaining the registered period handlers. */
#content#content.nw-compact-layout>.nw-compact-filter{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;padding:10px!important;margin:0 0 8px!important;border-radius:14px!important;border:1px solid #e1e7f0!important;background:#fff!important;box-shadow:0 3px 12px #203e6b05!important}
#content#content.nw-compact-layout .nw-period-controls{display:contents!important}
#content#content.nw-compact-layout .nw-period-mode-label,#content#content.nw-compact-layout .nw-period-caption{display:none!important}
#content#content.nw-compact-layout .nw-compact-period-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));flex:1 0 100%;gap:8px!important;padding:0!important;border-radius:0;background:none!important;box-sizing:border-box}
#content#content.nw-compact-layout .nw-compact-period-tabs button{--nw-period-tone:#367fe1;--nw-period-light:#eef5ff;--nw-period-edge:#c3d7f3;--nw-period-icon-top:#60b3ff;--nw-period-icon-bottom:#3279e4;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px!important;min-width:0;min-height:78px!important;border:1px solid #e2e8f1!important;border-radius:14px!important;padding:10px 6px!important;margin:0!important;background:linear-gradient(160deg,#fff,#f8fafd)!important;color:#62758e!important;font-size:12px!important;font-weight:750;white-space:nowrap;box-shadow:0 3px 10px #263d6810!important;box-sizing:border-box;transition:background .15s,border-color .15s}
#content#content.nw-compact-layout .nw-compact-period-tabs .nw-period-card-quarter{--nw-period-tone:#8860cb;--nw-period-light:#f5efff;--nw-period-edge:#d6c5ef;--nw-period-icon-top:#b28bea;--nw-period-icon-bottom:#8057ca}
#content#content.nw-compact-layout .nw-compact-period-tabs .nw-period-card-year{--nw-period-tone:#239b9c;--nw-period-light:#eaf9f7;--nw-period-edge:#b7dfdc;--nw-period-icon-top:#66d4ca;--nw-period-icon-bottom:#209ca4}
#content#content.nw-compact-layout .nw-compact-period-tabs .nw-period-card-icon{display:flex!important;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:11px;color:#fff!important;background:linear-gradient(145deg,var(--nw-period-icon-top),var(--nw-period-icon-bottom));box-shadow:inset 0 1px 2px #ffffff80,0 4px 8px #263d6825;border:1px solid #ffffff50;box-sizing:border-box}
#content#content.nw-compact-layout .nw-compact-period-tabs .nw-period-card-icon svg{display:block!important;width:23px;height:23px;overflow:visible}
#content#content.nw-compact-layout .nw-compact-period-tabs .nw-period-card-label{display:block!important;font-size:12px!important;line-height:1.25!important;font-weight:750;letter-spacing:-.02em}
#content#content.nw-compact-layout .nw-compact-period-tabs button[aria-pressed="true"]{border-color:var(--nw-period-edge)!important;background:linear-gradient(155deg,#fff,var(--nw-period-light))!important;color:var(--nw-period-tone)!important;box-shadow:0 4px 11px #263d6812!important}
#content#content.nw-compact-layout .nw-compact-period-tabs button[aria-pressed="true"]::after{content:'✓';position:absolute;top:7px;right:8px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--nw-period-tone);color:#fff;font-size:9px;font-weight:800;line-height:1}
#content#content.nw-compact-layout .nw-compact-period-tabs button:focus-visible{outline:3px solid #aacdf3!important;outline-offset:2px}
#content#content.nw-compact-layout .nw-compact-filter :is(input,select){font-size:12px!important;min-height:36px!important;height:36px!important;padding:6px 9px!important;border-radius:9px!important;background:#f8fafc!important;border-color:#e1e7f0!important;box-sizing:border-box}
#content#content.nw-compact-layout .nw-compact-filter input[type="month"]{flex:1 1 140px!important;width:auto!important;max-width:220px!important}
#content#content.nw-compact-layout .nw-compact-filter #attUser{width:auto!important;flex:1 1 120px!important;max-width:240px!important;order:2}
#content#content.nw-compact-layout .nw-period-year-label,#content#content.nw-compact-layout .nw-period-quarter-label{display:inline-flex!important;align-items:center;gap:5px;font-size:11px!important}
#content#content.nw-compact-layout .nw-period-year-label>span,#content#content.nw-compact-layout .nw-period-quarter-label>span{font-size:10px!important;color:#7a899e}
#content#content.nw-compact-layout .nw-calendar-sync{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:7px!important;width:auto!important;min-width:0!important;margin:0 0 0 auto!important}
#content#content.nw-compact-layout .nw-calendar-sync button{min-height:34px!important;font-size:11px!important;padding:6px 10px!important;white-space:nowrap}
#content#content.nw-compact-layout .nw-calendar-sync small{font-size:10px!important;line-height:1.4!important;color:#8b97a7;max-width:160px}
#content#content.nw-compact-layout .attendance-shift-note{font-size:10px!important;margin:0!important;order:3}
#content#content.nw-compact-layout .att-month-chips{display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;width:100%!important;box-sizing:border-box;margin:8px 0 16px!important;padding:6px!important;gap:8px!important;background:transparent!important}
#content#content.nw-compact-layout .att-month-chip{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 18px!important;min-height:42px!important;min-width:96px!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;border-radius:12px!important;border:1px solid #dfe7ef!important;background:#fff!important;color:#61738b!important;box-shadow:0 2px 6px #253a5506!important;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
/* Four small metrics stay on one horizontal row, including on phones. */
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis){grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0 0 8px!important}
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;padding:10px!important;min-height:64px!important;border-radius:12px!important;box-shadow:none!important;background:#fff!important}
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat::before,#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat::after,#content#content.nw-compact-layout .nw-stat-icon{display:none!important}
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat small{font-size:10px!important;line-height:1.35!important;margin:0!important;white-space:nowrap!important;color:#75859b!important}
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat b{font-size:21px!important;line-height:1.15!important;margin:0!important;color:#253a55!important;white-space:nowrap!important;letter-spacing:-.02em!important}
#content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat em{display:none!important}
#content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total{grid-column:1/-1!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px 12px!important;min-height:38px!important;padding:8px 11px!important;background:#f6f9fc!important}
#content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total small{width:auto!important;font-size:10px!important}
#content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total b{font-size:12px!important;color:#238e8b!important}
#content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total em{display:block!important;font-size:11px!important;line-height:1.4!important;white-space:nowrap!important;margin:0!important}
/* Primary table, optional calendar. Calendar remains available with all names. */
#content#content.nw-compact-layout .nw-compact-view-tabs{display:flex;align-items:center;gap:4px;margin:10px 0 8px}
#content#content.nw-compact-layout .nw-compact-view-tabs button{border:1px solid #e1e7f0;border-radius:8px;padding:6px 12px;min-height:32px;font-size:12px;font-weight:700;background:#fff;color:#7a899e;white-space:nowrap}
#content#content.nw-compact-layout .nw-compact-view-tabs button[aria-pressed="true"]{background:var(--nw-compact-tint);color:var(--nw-compact-accent);border-color:transparent}
#content#content.nw-compact-layout .nw-compact-view-tabs>span{margin-left:auto;font-size:10px;color:#94a0b1;line-height:1.5}
#content#content.nw-compact-layout[data-nw-compact-view="table"] :is(.schedule-calendar-card,.attendance-calendar-card,.schedule-legend,.nw-schedule-calendar-note){display:none!important}
#content#content.nw-compact-layout[data-nw-compact-view="calendar"] :is(.nw-schedule-table-card,.attendance-month-table){display:none!important}
#content#content.nw-compact-layout .schedule-selected-detail:has(>.empty){display:none!important}
#content#content.nw-compact-layout :is(.card,.nw-compact-details){border-radius:14px!important;margin:0 0 10px!important;padding:12px!important;box-shadow:none!important}
#content#content.nw-compact-layout :is(.nw-schedule-table-card,.attendance-month-table)>.panel-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;min-height:0!important;margin:0 0 8px!important;padding:0!important}
#content#content.nw-compact-layout :is(.nw-schedule-table-card,.attendance-month-table)>.panel-head h3{font-size:13px!important;line-height:1.5!important;margin:0!important}
#content#content.nw-compact-layout .nw-schedule-table-card>.panel-head small{font-size:10px!important;line-height:1.5!important;color:#8c98a9!important}
#content#content.nw-compact-layout :is(.nw-schedule-table-card,.attendance-month-table) .table-wrap{max-height:min(56vh,520px)!important;overflow:auto!important;border-radius:9px!important;position:relative!important;scrollbar-width:thin!important;overscroll-behavior:contain}
#content#content.nw-compact-layout .nw-schedule-horizontal-table{width:max-content!important;min-width:100%!important;max-width:none!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;transform:none!important;zoom:1!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(th,td){padding:10px 12px!important;line-height:1.45!important;height:42px!important;font-size:12px!important;text-align:left!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;vertical-align:middle!important;max-width:none!important;border:0!important;border-bottom:1px solid #edf1f6!important;color:#536780!important;font-variant-numeric:tabular-nums}
#content#content.nw-compact-layout .nw-schedule-horizontal-table th{position:sticky;top:0;z-index:3;background:#f5f7fb!important;color:#7a899e!important;font-size:11px!important;font-weight:700}
#content#content.nw-compact-layout .nw-schedule-horizontal-table tbody tr:nth-child(even){background:#fafbfd}
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(th,td):first-child{position:sticky;left:0;z-index:2;min-width:64px;background:#fff!important;border-right:1px solid #edf1f6!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table th:first-child{z-index:4;background:#f5f7fb!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(th,td):nth-child(2){min-width:180px}
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(th,td):nth-child(4){min-width:160px}
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(th,td):nth-child(5){text-align:right!important;min-width:75px}
#content#content.nw-compact-layout .nw-schedule-horizontal-table .nw-project-link{display:inline!important;min-height:24px!important;padding:0!important;border:0!important;border-radius:0!important;color:#365b8b!important;background:none!important;white-space:nowrap!important;font-size:12px!important;font-weight:750!important;text-align:left!important;text-decoration:underline;text-underline-offset:3px;box-shadow:none!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table .nw-table-planned{color:#9b7540!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table .nw-table-actual{color:#238e8b!important}
#content#content.nw-compact-layout .nw-schedule-horizontal-table .status-badge{display:inline-block;padding:3px 7px!important;font-size:10px!important;border-radius:6px!important;line-height:1.4!important;white-space:nowrap!important}
#content#content.nw-compact-layout .status-badge.upcoming{background:#f0ecfc!important;color:#7768c7!important}#content#content.nw-compact-layout .status-badge.running{background:#e4f7f5!important;color:#238e8b!important}#content#content.nw-compact-layout .status-badge.done{background:#f0f3f7!important;color:#7a899e!important}
#content#content.nw-compact-layout .attendance-month-table .table{width:max-content!important;min-width:900px!important;max-width:none!important;table-layout:auto!important;transform:none!important;zoom:1!important}
#content#content.nw-compact-layout .attendance-month-table .table :is(th,td){padding:10px 12px!important;height:42px!important;font-size:12px!important;line-height:1.45!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;width:auto!important;min-width:70px}
#content#content.nw-compact-layout .attendance-month-table .table th{position:sticky;top:0;z-index:3}
#content#content.nw-compact-layout .attendance-month-table .table :is(th,td):first-child{position:sticky;left:0;z-index:2;background:#fff!important;border-right:1px solid #edf1f6!important}
#content#content.nw-compact-layout .attendance-month-table .table th:first-child{z-index:4;background:#f6f8fc!important}
#content#content.nw-compact-layout .attendance-month-table .table td :is(b,small,span){white-space:nowrap!important;overflow-wrap:normal!important}
#content#content.nw-compact-layout .attendance-month-table>.panel-head small{font-size:10px!important}
#content#content.nw-compact-layout .attendance-month-table>.panel-head .actions{display:flex;gap:5px;flex-wrap:nowrap}
#content#content.nw-compact-layout .attendance-month-table>.panel-head .actions button{min-height:30px!important;font-size:10px!important;padding:5px 8px!important}
#content#content.nw-compact-layout .nw-table-scrollbar{margin:5px 0!important;padding:5px 8px!important;font-size:10px!important;border-radius:8px!important;min-height:0!important;gap:4px!important}
#content#content.nw-compact-layout .nw-table-scrollbar button{min-height:26px!important;padding:4px 7px!important;font-size:10px!important}
#content#content.nw-compact-layout .nw-compact-details{background:#fff;border:1px solid #e3e8f0;padding:0!important;overflow:hidden}
#content#content.nw-compact-layout .nw-compact-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:11px 13px;font-size:12px;font-weight:700;color:#6b7e96;background:#fff}
#content#content.nw-compact-layout .nw-compact-details>summary::after{content:'＋';font-size:17px;color:#9ba8ba}#content#content.nw-compact-layout .nw-compact-details[open]>summary::after{content:'−'}
#content#content.nw-compact-layout .nw-compact-details>.card{border:0!important;margin:0!important;padding:12px!important}
#content#content.nw-compact-layout .schedule-inline-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
#content#content.nw-compact-layout .schedule-inline-grid>div{padding:8px!important;border-radius:8px!important}
#content#content.nw-compact-layout .schedule-inline-grid small{font-size:10px!important;margin-bottom:3px!important}
#content#content.nw-compact-layout .schedule-inline-grid :is(b,p){font-size:12px!important;line-height:1.5!important;margin:0!important}
#content#content.nw-compact-layout .nw-schedule-day-roster{padding-top:10px!important;margin-top:10px!important}
#content#content.nw-compact-layout .nw-schedule-day-roster h4{font-size:12px!important;margin-bottom:8px!important}
#content#content.nw-compact-layout .nw-schedule-roster-group ul{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:3px}
#content#content.nw-compact-layout .nw-schedule-person{flex:none!important;max-width:none!important;padding:6px 9px!important;border-radius:8px!important}
#content#content.nw-compact-layout .nw-schedule-person :is(b,small){white-space:nowrap!important;overflow-wrap:normal!important}
#content#content.nw-compact-layout .nw-schedule-person b{font-size:12px!important}#content#content.nw-compact-layout .nw-schedule-person small{font-size:10px!important}
/* Keep the optional seven-column calendar compact; heading stays in view when panned. */
#content#content.nw-compact-layout .schedule-calendar-inner{min-width:1260px!important}
#content#content.nw-compact-layout .schedule-calendar-card .schedule-cal-head{position:sticky;left:0;width:calc(100vw - 70px);max-width:900px;min-width:250px;margin:0 0 10px!important;gap:16px!important}
#content#content.nw-compact-layout .schedule-cal-head h3{font-size:14px!important}#content#content.nw-compact-layout .schedule-cal-head button{width:28px!important;height:28px!important;font-size:18px!important}
#content#content.nw-compact-layout .schedule-calendar-grid .day{min-height:88px!important;padding:7px!important}
#content#content.nw-compact-layout .schedule-calendar-grid .schedule-event{padding:6px 7px!important;border-radius:7px!important}
#content#content.nw-compact-layout .schedule-calendar-grid .schedule-event>span{font-size:11px!important;line-height:1.35!important}
#content#content.nw-compact-layout .schedule-calendar-grid .schedule-event :is(.nw-schedule-planned-count,.nw-schedule-actual-count){padding:3px 5px!important;margin-top:3px!important;line-height:1.4!important}
#content#content.nw-compact-layout .schedule-calendar-grid .schedule-event .nw-schedule-event-label{display:inline!important;font-size:9px!important;margin-right:4px}
#content#content.nw-compact-layout .schedule-calendar-grid .schedule-event .nw-schedule-event-person{font-size:10px!important;line-height:1.4!important}
#content#content.nw-compact-layout .schedule-calendar-grid .manpower-count{font-size:10px!important;padding-top:5px!important}
#content#content.nw-compact-layout .schedule-calendar-card::before{font-size:10px!important;margin-bottom:8px!important}
@media(max-width:760px){
 #content#content.nw-compact-layout>.page-title .row-wrap{width:100%!important}
 #content#content.nw-compact-layout>.page-title h2{font-size:17px!important}
 #content#content.nw-compact-layout .nw-calendar-sync small,#content#content.nw-compact-layout .attendance-shift-note{display:none!important}
 #content#content.nw-compact-layout .nw-compact-view-tabs>span{max-width:130px;font-size:9px;line-height:1.4}
 #content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total{gap:5px 8px!important}
 #content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total small{display:none!important}
 #content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total b{font-size:11px!important}
 #content#content.nw-compact-layout .schedule-summary-grid>.schedule-actual-total em{font-size:10px!important}
 #content#content.nw-compact-layout .nw-schedule-table-card>.panel-head small{display:none!important}
 #content#content.nw-compact-layout .attendance-month-table>.panel-head>div:first-child{width:100%}
 #content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat{padding:8px!important;min-height:60px!important}
 #content#content.nw-compact-layout :is(.schedule-summary-grid,.attendance-kpis)>.stat b{font-size:20px!important}
 #content#content.nw-compact-layout .schedule-calendar-card .schedule-cal-head{width:calc(100vw - 70px)}
}
@media print{
 #content#content.nw-compact-layout>.nw-compact-filter,#content#content.nw-compact-layout .nw-compact-view-tabs,#content#content.nw-compact-layout .nw-compact-details>summary{display:none!important}
 #content#content.nw-compact-layout .nw-compact-details:not([open]){display:none!important}
 #content#content.nw-compact-layout :is(.nw-schedule-table-card,.attendance-month-table) .table-wrap{max-height:none!important;overflow:visible!important}
 #content#content.nw-compact-layout :is(.nw-schedule-horizontal-table,.attendance-month-table .table){width:100%!important;min-width:0!important;table-layout:fixed!important}
 #content#content.nw-compact-layout :is(.nw-schedule-horizontal-table,.attendance-month-table .table) :is(th,td){position:static!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important;padding:5px!important;height:auto!important}
}


/* Keep every assigned and attending worker visible in schedule tables. */
#content#content.nw-compact-layout .nw-schedule-horizontal-table :is(.nw-table-planned,.nw-table-actual){white-space:normal!important;overflow-wrap:anywhere!important;min-width:140px;max-width:280px!important;height:auto!important}
#content#content.nw-compact-layout .nw-schedule-roster-group ul{flex-wrap:wrap!important;overflow:visible!important}
#content#content.nw-compact-layout .attendance-day-summary em{display:block!important;white-space:normal!important;overflow:visible!important;max-height:none!important;-webkit-line-clamp:unset!important;overflow-wrap:anywhere!important}

/* Centered month navigation with a clear selected state. */
#content#content.nw-compact-layout .att-month-chip.active{background:#e4f7f5!important;color:#167c79!important;border-color:#82cfca!important;box-shadow:0 2px 8px #238e8b14!important}
#content#content.nw-compact-layout .att-month-chip:hover{border-color:#82cfca!important;background:#f2fbfa!important}
#content#content.nw-compact-layout .att-month-chip:focus-visible{outline:3px solid #9bdcd7!important;outline-offset:3px}
@media(max-width:480px){#content#content.nw-compact-layout .att-month-chip{min-width:84px!important;padding:9px 13px!important;font-size:13px!important}}

/* Project selection stays at the start of the calendar toolbar on small screens. */
.nw-project-filter{order:-1;display:flex;align-items:center;gap:10px;max-width:100%;min-height:44px;padding:8px 14px;border:1px solid #bdb5e4;border-radius:10px;background:#f7f5ff;color:#38315e;text-align:left;cursor:pointer}
.nw-project-filter>span:first-child{white-space:nowrap;font-size:12px}
.nw-project-filter strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nw-project-filter>span:last-child{margin-left:auto}
.nw-calendar-project-dialog{box-sizing:border-box;width:min(450px,calc(100% - 28px));max-height:80vh;margin:auto;padding:20px;border:1px solid #dce1eb;border-radius:14px;background:white;color:#253a55;box-shadow:0 12px 48px #26364d33}
.nw-calendar-project-dialog::backdrop{background:#19253970}
.nw-project-dialog-head,.nw-project-history{display:flex;align-items:center;gap:8px}
.nw-project-dialog-head{justify-content:space-between;margin-bottom:14px}
.nw-project-dialog-head h3{margin:0}
.nw-calendar-project-dialog input[type=search]{width:100%;box-sizing:border-box;margin:0}
.nw-project-history{min-height:42px;font-size:14px}
.nw-project-options{display:grid;gap:5px;max-height:45vh;overflow-y:auto;overscroll-behavior:contain}
.nw-project-options button{min-height:44px;padding:8px 12px;border:1px solid #e1e5ed;background:white;border-radius:8px;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.nw-project-options button[aria-pressed=true]{border-color:#8373c9;background:#f3efff;font-weight:700}
.nw-project-filter:focus-visible,.nw-project-options button:focus-visible{outline:2px solid #6355ab;outline-offset:-2px}
@media(max-width:720px){.nw-project-filter{width:100%}}

#content#content .nw-schedule-person.editable{padding:0!important}
#content#content .nw-roster-edit{display:block;box-sizing:border-box;width:100%;height:100%;min-height:44px;margin:0;padding:7px 10px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
#content#content .nw-roster-edit:hover{background:#edf8f6}
#content#content .nw-roster-edit:focus-visible{outline:2px solid #16786d;outline-offset:-2px}
#content#content .nw-roster-edit-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#content#content .nw-roster-edit-title>span{color:#236c64;font-size:11px}
@media print{#content#content .nw-roster-edit-title>span{display:none}}

.nw-project-units{box-sizing:border-box;position:sticky;left:0;max-width:100%;margin:0 0 12px;padding:12px 14px;background:#f1f8f8;border:1px solid #cfe5e3;border-radius:10px;color:#1f4251}
.nw-project-units-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;overflow-wrap:anywhere}
.nw-project-units-heading span,.nw-project-units small{font-size:12px;color:#526877}
.nw-project-units dl{display:flex;flex-wrap:wrap;gap:8px 24px;margin:8px 0 0}
.nw-project-units dl div{display:flex;align-items:baseline;gap:6px}
.nw-project-units dt{font-size:12px}
.nw-project-units dd{margin:0;font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}
.nw-project-units dd span{white-space:nowrap}
.nw-project-units dl div:first-child dd{color:#076d69}
.nw-project-units small:not(:empty){display:block;margin-top:6px}
@media(max-width:600px){.nw-project-units dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nw-project-units dl div{display:block}.nw-project-units dd{overflow-wrap:anywhere}}
