/* Team work programme only. The portal header, sidebar and other panels keep
   their existing appearance and behaviour. The repeated programme-modern class
   overrides older shell selectors without changing global styles. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern{
  --pm-ink:#17333e;--pm-muted:#6d808a;--pm-line:#e1e9ed;--pm-green:#078f68;
  --pm-dark:#123e4b;--pm-day-height:98px;--pm-card-height:14px;--pm-avatar:12px;--pm-avatar-font:6px;--pm-site-font:9px;--pm-meta-font:8px;--pm-card-line:12px;--pm-entry-gap:1px;min-width:0;max-width:100%;color:var(--pm-ink);overflow-x:clip;
}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern *{box-sizing:border-box}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern [hidden]{display:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(button,summary,select,input):focus-visible{outline:2px solid #13a078!important;outline-offset:3px;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:0;background:none;border:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero>:is(p,h2){display:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero>span{color:var(--pm-muted);font-size:12px;line-height:1.65;max-width:620px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero-actions{display:flex;align-items:center;flex:0 0 auto;gap:9px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-hero-actions,.programme-toolbar,.programme-granularity) button,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px!important;height:34px!important;padding:0 12px;border:1px solid #d7e2e6!important;border-radius:7px!important;background:#fff!important;color:#365461!important;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap;box-shadow:none!important;cursor:pointer;transition:background .15s,border-color .15s}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-hero-actions,.programme-toolbar,.programme-granularity) button:hover,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary:hover{background:#f0f6f7!important;border-color:#b8cdd4!important;transform:none!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern button[data-programme-allocate-toggle]{min-height:36px;height:36px;padding:0 16px;border-color:#058c66!important;background:#07946c!important;color:#fff!important;font-weight:700}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern button[data-programme-allocate-toggle]:hover{background:#057f5c!important;border-color:#057f5c!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-hero-actions,.programme-toolbar) svg{width:15px;height:15px;flex:0 0 15px;stroke:currentColor}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions{position:relative;z-index:12;margin:0;flex:0 0 auto}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary{list-style:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary::-webkit-details-marker{display:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:-3px 1px 0 5px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>div{position:absolute;right:0;top:calc(100% + 7px);display:grid;gap:3px;min-width:220px;max-width:min(300px,80vw);padding:6px;border:1px solid var(--pm-line);border-radius:9px;background:#fff;box-shadow:0 8px 24px #143d4b15}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>div button{justify-content:flex-start;width:100%;height:auto;min-height:34px;padding:9px 10px;border:0!important;background:transparent!important;text-align:left;white-space:normal;line-height:1.4}

/* A restrained strip of live statistics, with the same teal as the calendar. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 15px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;grid-template-rows:auto auto auto;align-content:center;gap:2px 12px;min-width:0;min-height:72px;margin:0;padding:9px 16px;border:1px solid #204d5b!important;border-radius:9px!important;background:linear-gradient(118deg,#183e4d 0%,#155365 100%)!important;color:#fff;box-shadow:none!important;overflow:hidden}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article:nth-child(2){background:linear-gradient(118deg,#173c4b,#1a5866)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article:nth-child(3){background:linear-gradient(118deg,#163f4d,#14586a)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article:nth-child(4){background:linear-gradient(118deg,#173d4c,#1b5261)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-stat-icon{grid-column:2;grid-row:1/4;align-self:center;display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff1c;border-radius:8px;background:#ffffff0b;color:#9bd8d2}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-stat-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;fill:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary strong[data-programme-stat]{grid-column:1;grid-row:1;font-size:24px;line-height:1.05;font-weight:750;letter-spacing:-.6px;color:#fff;font-variant-numeric:tabular-nums}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary article>span:not(.programme-stat-icon){grid-column:1;font-size:10px;line-height:1.2;font-weight:600;color:#e8f3f5}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary small{grid-column:1;margin:0;color:#b1ccd2;font-size:8px;line-height:1.2}

/* Allocation stays a deliberate action rather than an always-open form. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card{margin:0 0 16px;padding:16px!important;border:1px solid #cde3dc!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-heading :is(h3,p){margin:0;color:var(--pm-ink);font-size:13px;font-weight:700}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-heading button{min-height:30px;height:30px;padding:0 10px;border:1px solid #d8e4e7!important;border-radius:6px!important;background:#fff!important;color:#54707a!important;font-size:11px;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form{display:flex!important;flex-wrap:wrap;align-items:end;gap:12px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>label{flex:1 1 135px;min-width:0;font-size:10px;font-weight:600;color:#54707a}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>label:has(select[name="engineer"]){flex:2 1 220px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>label:has(input[type="time"]){flex:.5 1 85px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card :is(input,select){height:36px!important;min-width:0;max-width:100%;border-radius:6px!important;font-size:11px!important;background:#fff!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>button{height:36px;min-height:36px;flex:0 0 auto;border-radius:6px!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-help{margin:9px 0 14px;color:var(--pm-muted);font-size:10px;line-height:1.6}

/* Everything that can scroll horizontally is contained within this board. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board{min-width:0;max-width:100%;margin:0;padding:0!important;border:1px solid #dce6ea!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 6px #1a3b4b03!important;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b7cbd2 #f4f7f8}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:11px 16px;padding:15px 17px 11px;border-bottom:1px solid #eaf0f2}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-layout-toggle,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-density-toggle{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #dce6e9;border-radius:7px;background:#f4f7f8}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-layout-toggle button,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-density-toggle button{min-height:28px!important;height:28px!important;padding:0 10px;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;font-size:10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-layout-toggle,.programme-density-toggle) :is(button.active,button[aria-pressed="true"]){border-color:#d1e0e4!important;background:#fff!important;color:#123f4c!important;box-shadow:0 1px 3px #113d4b0b!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:center;gap:5px;min-width:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav>*{flex:0 0 auto}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav>button:is(#programme-prev,#programme-next){width:25px!important;min-width:25px!important;min-height:28px!important;height:28px!important;padding:0!important;border-color:transparent!important;background:transparent!important;font-size:20px;line-height:1}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-title{margin:0 5px;color:#193f4d;font-size:15px;line-height:1.4;font-weight:750;letter-spacing:-.25px;white-space:nowrap}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav :is(#programme-month,#programme-day){flex:0 0 125px!important;height:29px!important;min-height:29px!important;width:125px!important;min-width:0!important;max-width:125px!important;padding:0 6px!important;border:1px solid #dbe5e9!important;border-radius:5px!important;background:#fff!important;color:#526e7a;font-size:10px!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board:has(#clean-programme-grid.is-month) #programme-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board:has(#clean-programme-grid.is-month) #programme-month{flex-basis:151px!important;width:151px!important;max-width:151px!important;padding:0 3px!important;border-color:transparent!important;color:#193f4d!important;font-size:13px!important;font-weight:700;text-align:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-month::-webkit-datetime-edit{padding:0;text-align:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-today{flex:0 0 auto!important;width:auto!important;min-height:28px!important;height:28px!important;padding:0 9px!important;border-color:#c9e2d9!important;background:#f5fbf8!important;color:#13765b!important;font-size:10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options label{display:inline-flex;align-items:center;gap:5px;color:#617b85;font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options input[type="checkbox"]{width:12px;height:12px;min-height:0;margin:0;accent-color:#098d69;cursor:pointer}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options .programme-card-size{gap:7px;font-size:11px;font-weight:600}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-card-size{width:94px;min-width:94px;max-width:110px;height:32px!important;min-height:32px!important;margin:0;padding:0 9px!important;border:1px solid #cddfe3!important;border-radius:6px!important;background:#fff!important;color:#294f5d!important;font-family:inherit;font-size:12px!important;box-shadow:none!important;cursor:pointer}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern button[data-programme-expand]{min-height:28px!important;height:28px!important;padding:0 8px;border-color:transparent!important;color:#637b84!important;background:transparent!important;font-size:10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-granularity{display:flex;align-items:center;gap:4px;padding:9px 17px 0;margin:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-granularity button{min-height:27px!important;height:27px!important;padding:0 8px;border-color:transparent!important;background:transparent!important;color:#74868e!important;font-size:10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-granularity button.active{border-color:#c6e1d7!important;background:#edf7f2!important;color:#087454!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-toolbar .programme-granularity{flex:0 0 auto;padding:0!important;margin:0!important;gap:1px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px 12px;padding:12px 17px 14px;margin:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar>label{display:grid;gap:5px;flex:0 1 140px;min-width:120px;max-width:100%;font-size:9px;font-weight:600;color:#68808a}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar>label:has(#programme-search){flex:1 1 180px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar :is(select,input){width:100%!important;min-width:0;min-height:32px!important;height:32px!important;padding:0 9px!important;border:1px solid #dce6ea!important;border-radius:6px!important;background:#fbfcfd!important;color:#355462!important;font-family:inherit!important;font-size:10px!important;font-weight:500;line-height:1.3;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-person-legend{display:flex;flex:1 1 340px;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 10px;min-width:240px;margin:0;padding:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-person-legend>span{display:inline-flex;align-items:center;gap:4px;min-width:0;font-size:9px;color:#627984}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-person-legend b{font-size:9px;font-weight:600;overflow-wrap:normal}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-person-legend .programme-initials{display:inline-grid;place-items:center;width:17px;height:17px;min-width:17px;flex:0 0 17px;border-radius:50%;font-size:7px!important;font-style:normal;line-height:1;color:#fff;background:hsl(var(--person-hue,210) 45% 35%)}

/* Month view uses one compact line per booking; its complete title and person
   remain in the button's accessible label and tooltip. J/C references stay in
   view, even while the site name is shortened to fit a busy month. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;min-width:0;max-width:100%;border:0!important;border-top:1px solid #e1e9ed!important;border-radius:0 0 10px 10px!important;overflow:hidden!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .calendar-weekdays{display:contents}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .calendar-weekdays span{display:flex;align-items:center;justify-content:center;height:30px;min-width:0;padding:0 4px;background:#183f4c!important;border-right:1px solid #ffffff13;border-bottom:0!important;color:#e6f0f3!important;font-size:10px;font-weight:600;letter-spacing:.15px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.calendar-blank{display:flex;flex-direction:column;min-width:0!important;height:var(--pm-day-height)!important;min-height:var(--pm-day-height)!important;max-height:var(--pm-day-height)!important;margin:0;border:0!important;border-right:1px solid #e1e9ed!important;border-bottom:1px solid #e1e9ed!important;border-radius:0!important;background:#fff!important;overflow:hidden;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.calendar-blank{background:#f7f9fa!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>[data-weekend="true"]{background:#fafcfc!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day>header{display:flex;align-items:center;flex:0 0 18px;min-width:0;min-height:18px!important;height:18px!important;margin:0;padding:2px 6px!important;gap:4px;border:0!important;background:transparent!important;color:#4f6874!important;line-height:1!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day>header b{display:inline-flex;align-items:center;justify-content:center;min-width:15px;margin:0;font-size:10px;line-height:1;font-weight:650;color:inherit}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day>header small{display:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-day-count{display:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-day-entries{display:flex;flex-direction:column;gap:1px;flex:1 1 auto;min-width:0;min-height:0;max-height:none!important;height:auto!important;margin:0;padding:2px 4px!important;overflow:hidden!important;scrollbar-gutter:auto;box-sizing:border-box}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job{display:grid!important;grid-template-columns:12px auto minmax(0,1fr) auto!important;grid-template-areas:"person reference site time"!important;align-items:center;gap:3px!important;min-width:0!important;min-height:14px!important;height:14px;flex:0 0 14px;width:100%;margin:0!important;padding:0 3px!important;border:1px solid hsl(var(--person-hue,210) 35% 86%)!important;border-left:2px solid hsl(var(--person-hue,210) 45% 42%)!important;border-radius:3px!important;background:hsl(var(--person-hue,210) 50% 96%)!important;color:#274b5b!important;text-align:left;line-height:12px!important;box-shadow:none!important;overflow:hidden;transform:none!important;cursor:pointer}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job:hover{filter:brightness(.97);border-color:hsl(var(--person-hue,210) 40% 64%)!important;transform:none!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-job[hidden]{display:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job[draggable="true"]{cursor:grab}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job .programme-person{grid-area:person!important;display:flex;align-items:center;gap:0;min-width:0;margin:0!important;padding:0!important;overflow:visible}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job .programme-person small{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job .programme-initials{display:inline-grid;place-items:center;width:12px!important;height:12px!important;min-width:12px!important;flex:0 0 12px!important;border-radius:50%;background:hsl(var(--person-hue,210) 45% 35%);color:#fff;font-size:6px!important;font-weight:700;font-style:normal;line-height:1!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-ref{grid-area:reference!important;display:block;min-width:0;margin:0;color:#365462!important;font-size:8px!important;font-weight:700;line-height:12px!important;white-space:nowrap}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-booking-site{grid-area:site!important;display:block!important;min-width:0;margin:0!important;color:#365462!important;font-size:9px!important;line-height:12px!important;font-weight:500;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job time{grid-area:time!important;grid-column:auto!important;grid-row:auto!important;display:block;margin:0;color:#627d89!important;font-size:8px!important;font-weight:500;line-height:12px!important;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job.leave-entry{border-style:solid!important;border-color:#e9dfbd!important;border-left-color:#bd9645!important;background:#fbf5e5!important;color:#7d6636!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job.sickness-entry{border-color:#efd2cf!important;border-left-color:#bb756d!important;background:#fcf1ef!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job.office-entry{border-color:#c9e3df!important;border-left-color:#389589!important;background:#edf8f5!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-leave-badge{grid-area:reference!important;display:block;max-width:55px;min-width:0;font-size:7px!important;font-weight:700;line-height:12px!important;letter-spacing:0;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-leave-badge>span{font-size:8px!important;line-height:1}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-empty{margin:8px 1px;padding:0!important;border:0!important;background:transparent!important;color:#a2b0b6!important;font-size:9px!important;line-height:1.4;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-bank-holiday{padding:1px 3px!important;color:#7a8c94;font-size:8px;line-height:1.2;background:#f1f5f6;border-radius:3px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-bank-holiday small{display:none}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid button[data-programme-more]{display:block;flex:0 0 14px;min-height:14px!important;height:14px;max-width:100%;padding:0 3px!important;margin:0!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#0d8a67!important;text-align:left;font-size:9px!important;line-height:14px!important;font-weight:650;box-shadow:none!important;cursor:pointer}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid button[data-programme-more]:hover{background:#e9f5ef!important;transform:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day.is-today{position:relative;z-index:1;outline:2px solid #09966e!important;outline-offset:-2px;background:#eff9f4!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day.is-today>header{color:#087553!important;background:#e4f4eb!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .is-today>header b[aria-current="date"]{min-width:16px;height:15px;padding:0 3px!important;border-radius:4px;background:#078960!important;color:#fff!important;font-size:9px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-today-label{display:inline-flex;align-items:center;height:14px;padding:0 4px;border-radius:4px;background:none!important;color:#07845e!important;font-size:8px;line-height:1;font-weight:700}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] #clean-programme-grid:not(.is-day){grid-template-columns:repeat(5,minmax(0,1fr))!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] :is(#clean-programme-grid,.programme-engineer-grid) [data-weekend="true"]{display:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] .calendar-weekdays>:is([data-weekday="5"],[data-weekday="6"]){display:none!important}

/* A roomier option is explicit, so busy months remain compact by default. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"]{--pm-day-height:192px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] :is(#clean-programme-grid,.programme-engineer-grid) .programme-job{grid-template-columns:16px minmax(0,1fr) auto!important;grid-template-areas:"person site time" "person reference reference"!important;height:32px;min-height:32px!important;flex-basis:32px;padding:2px 4px!important;gap:0 5px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] :is(#clean-programme-grid,.programme-engineer-grid) .programme-job .programme-initials{width:16px!important;height:16px!important;min-width:16px!important;flex-basis:16px!important;font-size:7px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] :is(#clean-programme-grid,.programme-engineer-grid) .programme-booking-site{font-size:10px!important;font-weight:600}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] :is(#clean-programme-grid,.programme-engineer-grid) .programme-ref{font-size:9px!important;font-weight:500;color:#738892!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] #clean-programme-grid .programme-day-entries{gap:3px;padding:4px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] #clean-programme-grid .programme-day-entries{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#bbced5 transparent}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] button[data-programme-more]{min-height:20px!important;flex-basis:20px;line-height:20px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:is(.is-week,.is-day)>.programme-day{height:auto!important;max-height:none!important;min-height:300px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:is(.is-week,.is-day) .programme-day-entries{gap:4px;padding:5px!important;overflow-y:auto!important;max-height:600px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:is(.is-week,.is-day)>.programme-day>header{height:35px!important;min-height:35px!important;flex-basis:35px;font-size:11px;border-bottom:1px solid #e1e9ed!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-day{grid-template-columns:minmax(0,1fr)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-day .programme-job{grid-template-columns:20px 50px minmax(0,1fr) auto!important;grid-template-areas:"person reference site time"!important;min-height:35px!important;height:35px;flex-basis:35px;padding:4px 8px!important;font-size:11px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-day .programme-booking-site{font-size:12px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-day :is(.programme-ref,.programme-job time){font-size:11px!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-day .programme-job .programme-initials{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;font-size:8px!important}

/* Engineer rows share the appointment controls and never replace source data. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-grid{min-width:0;width:100%;border-top:1px solid #dce6ea;overflow:hidden;border-radius:0 0 10px 10px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-engineer-heading,.programme-engineer-row){display:grid;grid-template-columns:150px repeat(7,minmax(0,1fr));min-width:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] :is(.programme-engineer-heading,.programme-engineer-row){grid-template-columns:150px repeat(5,minmax(0,1fr))}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading{min-height:35px;background:#183f4c;color:#edf5f7;font-size:10px;font-weight:600}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading>*{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;padding:6px;border-right:1px solid #ffffff14}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading>:first-child{justify-content:flex-start;padding-left:14px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-row{min-height:90px;background:#fff;border-bottom:1px solid #e1e9ed}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-row:nth-child(odd){background:#fcfdfd}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-name{display:flex;align-items:center;gap:7px;min-width:0;padding:12px;color:#355360;font-size:11px;font-weight:600;border-right:1px solid #e1e9ed;overflow-wrap:anywhere}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-name .programme-initials{display:inline-grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:hsl(var(--person-hue,210) 45% 35%);color:#fff;font-size:9px;font-style:normal}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-day{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px 4px;border-right:1px solid #e1e9ed}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-day.is-today{background:#eff9f4;box-shadow:inset 0 2px #09966e,inset 0 -2px #09966e}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-day:empty::after{content:"—";color:#c2cdd2;font-size:11px;text-align:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-engineer,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-layout="engineer"] #clean-programme-grid,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:has(>.programme-engineer-row){display:block!important;min-width:0;max-width:100%}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-row{grid-template-columns:150px minmax(0,1fr)}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] .programme-engineer-row{grid-template-columns:150px minmax(0,1fr)}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] .programme-engineer-heading{grid-template-columns:150px minmax(0,1fr)}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] .programme-engineer-days{grid-template-columns:repeat(5,minmax(0,1fr))}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading>.programme-engineer-days{display:grid;padding:0;gap:0;border:0}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading>.programme-engineer-days>div{display:flex;align-items:center;justify-content:center;min-width:0;min-height:35px;padding:5px 3px;border-right:1px solid #ffffff14;font-size:9px;line-height:1.4;text-align:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-heading .is-today{background:#137457;color:#fff}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person{display:flex;align-items:center;gap:7px;min-width:0;padding:12px;color:#355360;font-size:11px;font-weight:600;border-right:1px solid #e1e9ed;overflow-wrap:anywhere}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person .programme-initials{display:inline-grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:50%;background:hsl(var(--person-hue,210) 45% 35%);color:#fff;font-size:9px;font-style:normal}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person{display:grid;grid-template-columns:25px minmax(0,1fr);grid-template-areas:"avatar name" "avatar status";gap:2px 7px;align-content:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person .programme-initials{grid-area:avatar}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person>b{grid-area:name;min-width:0;font-size:10px;font-weight:650;line-height:1.5}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-person>small{grid-area:status;min-width:0;color:#91a0a6;font-size:8px;line-height:1.4}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-empty{display:block;padding-top:7px;color:#c2cdd2;font-size:11px;text-align:center}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-help{margin:0;padding:8px 17px;color:#718892;font-size:10px;line-height:1.5}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.calendar-blank{padding:6px;color:#a2b1b9;font-size:10px;line-height:1.4}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.calendar-blank>header{min-height:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.calendar-blank>header b{color:#a2b1b9;font-size:10px;font-weight:500}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern.programme-calendar-expanded>.programme-hero,
#office-screen [data-office-panel="programme"].programme-modern.programme-modern.programme-calendar-expanded>.programme-summary{display:none!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern.programme-calendar-expanded{--pm-day-height:132px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern.programme-calendar-expanded .clean-programme-board{min-height:calc(100vh - 170px)}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid .programme-drop-target{outline:2px solid #06a276!important;outline-offset:-2px;background:#e5f5ed!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-dragging{opacity:.45;filter:none}

@media(max-width:1250px){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-toolbar{gap:10px;justify-content:flex-start}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options{margin-left:auto}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav{margin-left:auto}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{padding:9px 14px;gap:2px 6px}
}
@media(max-width:1050px){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary{gap:10px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{grid-template-columns:minmax(0,1fr) 28px;padding:9px 12px;min-height:72px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-stat-icon{width:28px;height:28px;border-radius:7px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-stat-icon svg{width:17px;height:17px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary strong[data-programme-stat]{font-size:24px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-toolbar{gap:9px;padding-inline:13px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-title{font-size:13px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav input{width:104px;max-width:104px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar{padding-inline:13px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-person-legend{flex-basis:100%;justify-content:flex-start;padding-top:2px}
}
@media(max-width:800px){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero{align-items:flex-start;gap:14px;margin-bottom:15px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero>span{font-size:11px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero-actions{gap:6px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero-actions>button{padding-inline:11px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary{padding-inline:9px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{min-height:94px;padding:15px 17px;grid-template-columns:minmax(0,1fr) 32px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-stat-icon{width:32px;height:32px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-toolbar{min-width:0;align-items:flex-start;padding:12px;gap:10px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav{justify-content:flex-start;margin-left:0;order:2;flex:1 1 100%}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options{margin-left:auto}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-title{font-size:14px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-granularity{padding-inline:12px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar{padding:11px 12px 13px;gap:10px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar>label{flex:1 1 130px;min-width:110px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-filterbar>label:has(#programme-search){flex-basis:100%}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:not(.is-day){min-width:770px;max-width:none}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] #clean-programme-grid:not(.is-day){min-width:600px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-engineer-grid{min-width:920px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] .programme-engineer-grid{min-width:730px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid.is-engineer,
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-layout="engineer"] #clean-programme-grid,
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid:has(>.programme-engineer-row){min-width:920px;max-width:none}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-hide-weekends="true"] #clean-programme-grid:is(.is-engineer,:has(>.programme-engineer-row)){min-width:730px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card :is(input,select){height:44px!important;min-height:44px!important;font-size:16px!important}
}
@media(max-width:480px){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero{flex-wrap:wrap;gap:11px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-hero-actions{width:100%}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{padding:13px;min-height:94px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary strong[data-programme-stat]{font-size:25px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary article>span:not(.programme-stat-icon){font-size:10px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary small{font-size:8px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav{gap:4px;flex-wrap:wrap}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav input{width:108px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-title{margin-inline:2px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-display-options{flex:1 1 100%;justify-content:flex-start;margin-left:0}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-layout-toggle{order:0}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card{padding:13px!important}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>label{flex-basis:calc(50% - 6px)}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>label:has(select[name="engineer"]){flex-basis:100%}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-allocation-card form>button{flex:1 1 100%}
}
/* The personal size setting controls the complete card, including its text. */
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="compact"]{--pm-day-height:98px;--pm-card-height:14px;--pm-avatar:12px;--pm-avatar-font:6px;--pm-site-font:9px;--pm-meta-font:8px;--pm-card-line:12px;--pm-card-padding:0 3px;--pm-entry-gap:1px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="medium"]{--pm-day-height:144px;--pm-card-height:22px;--pm-avatar:16px;--pm-avatar-font:7px;--pm-site-font:11px;--pm-meta-font:10px;--pm-card-line:16px;--pm-card-padding:2px 4px;--pm-entry-gap:2px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"]{--pm-day-height:232px;--pm-card-height:40px;--pm-avatar:20px;--pm-avatar-font:8px;--pm-site-font:12px;--pm-meta-font:11px;--pm-card-line:15px;--pm-card-padding:3px 5px;--pm-entry-gap:3px}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-job.programme-job{grid-template-columns:var(--pm-avatar) auto minmax(0,1fr) auto!important;min-height:var(--pm-card-height)!important;height:var(--pm-card-height)!important;flex:0 0 var(--pm-card-height)!important;padding:var(--pm-card-padding)!important;line-height:var(--pm-card-line)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="comfortable"] #clean-programme-grid .programme-job.programme-job{grid-template-columns:var(--pm-avatar) minmax(0,1fr) auto!important;grid-template-areas:"person site time" "person reference reference"!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-job .programme-initials{width:var(--pm-avatar)!important;height:var(--pm-avatar)!important;min-width:var(--pm-avatar)!important;flex-basis:var(--pm-avatar)!important;font-size:var(--pm-avatar-font)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-job .programme-booking-site{font-size:var(--pm-site-font)!important;line-height:var(--pm-card-line)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-job :is(.programme-ref,time){font-size:var(--pm-meta-font)!important;line-height:var(--pm-card-line)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-job .programme-leave-badge{font-size:calc(var(--pm-meta-font) - 1px)!important;line-height:var(--pm-card-line)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density] #clean-programme-grid .programme-day-entries{gap:var(--pm-entry-gap)!important}
#office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board[data-density="medium"] #clean-programme-grid button[data-programme-more]{min-height:18px!important;height:18px;flex-basis:18px;font-size:10px!important;line-height:18px!important}
@media(pointer:coarse){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board:is([data-density="compact"],[data-density="medium"]){--pm-day-height:172px;--pm-card-height:28px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern{--pm-day-height:172px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(.programme-hero-actions,.programme-toolbar,.programme-granularity) button,
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-more-actions>summary{min-height:36px;height:36px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern :is(#clean-programme-grid,.programme-engineer-grid) .programme-job{min-height:28px!important;height:28px;flex-basis:28px}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid button[data-programme-more]{min-height:28px!important;height:28px;flex-basis:28px;line-height:28px!important}
}
@media(prefers-reduced-motion:reduce){#office-screen [data-office-panel="programme"].programme-modern.programme-modern *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:800px){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #programme-card-size{height:40px!important;min-height:40px!important;font-size:16px!important}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-period-nav :is(#programme-month,#programme-day){font-size:14px!important}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .clean-programme-board:has(#clean-programme-grid.is-month) #programme-month{font-size:14px!important}
}
@media(forced-colors:active){
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary>article{border:1px solid CanvasText!important;background:Canvas!important;color:CanvasText}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern .programme-summary :is(strong,span,small){color:CanvasText!important}
  #office-screen [data-office-panel="programme"].programme-modern.programme-modern #clean-programme-grid>.programme-day.is-today{outline-color:Highlight!important}
}
