body.team.is-board[data-area=agenda] #team-board #portal-work-frame,body.team.is-board[data-area=agenda] #portal-body{background:var(--duv-cream-soft);padding:0;min-height:0;overflow:hidden;border:0;box-shadow:none}
body.team.is-board #team-board #area-detail.agenda-view{display:flex;flex-direction:column;height:100%;min-height:0;max-width:none;padding:18px 22px 0;background:var(--duv-cream-soft);color:var(--duv-ink);border:0;border-radius:0;box-shadow:none;font-family:var(--duv-font-ui)}
.agenda-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:0 0 16px;flex:none}
.agenda-preview-banner{position:fixed;top:0;left:0;right:0;z-index:1000;display:block;text-align:center;padding:3px 10px;background:#e4b465;color:#173844;font:600 10px/1.3 'Segoe UI',Arial,sans-serif;text-decoration:none;letter-spacing:.04em}.agenda-preview-banner:focus-visible{outline:2px solid #176c90;outline-offset:-2px}
.agenda-title{margin:0;font-size:clamp(23px,2vw,32px);font-weight:var(--duv-weight-title);line-height:1.2;letter-spacing:-.025em;color:var(--duv-ink)}
.agenda-meta{margin:0;font-size:12px;line-height:1.4;color:#516a73}
.agenda-status{margin:24px 0;max-width:650px;font-size:16px;line-height:1.7;color:var(--duv-ink)}
.agenda-scroll{--name-width:240px;--agenda-line:#17425021;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7896a0 transparent;border:0;background:transparent}
.agenda-scroll:focus-visible{outline:2px solid var(--duv-blue-action);outline-offset:-2px}
.agenda-timeline{width:calc(var(--name-width) + var(--days-width));min-height:100%;position:relative}
.agenda-calendar-head,.agenda-row{display:grid;grid-template-columns:var(--name-width) var(--days-width)}
.agenda-calendar-head{position:sticky;top:0;z-index:5;background:var(--duv-cream-soft);height:72px}
.agenda-project-head,.agenda-project{position:sticky;left:0;z-index:3;padding:12px 16px 12px 0;background:var(--duv-cream-soft);border-right:1px solid var(--agenda-line);border-bottom:1px solid var(--agenda-line);box-sizing:border-box}
.agenda-project-head{display:flex;align-items:end;font-size:12px;color:#516a73;padding-bottom:12px}
.agenda-project{display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:64px}
.agenda-project strong{font-weight:500;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.agenda-project small{font-size:10px;color:#59717a}
.agenda-dates-head{position:relative;height:72px}
.agenda-month{position:absolute;top:0;height:24px;padding-left:8px;box-sizing:border-box;text-transform:capitalize;font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;border-bottom:1px solid var(--agenda-line)}
.agenda-day{position:absolute;top:24px;box-sizing:border-box;width:64px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-right:1px solid var(--agenda-line);border-bottom:1px solid var(--agenda-line);font-size:13px}
.agenda-day small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#59717a}.agenda-day.is-weekend{background:#91bed417}.agenda-day.is-holiday{background:#e4b46527}.agenda-day.is-today span{background:#176c90;color:#fff;border-radius:50%;width:24px;line-height:24px;text-align:center}
.agenda-track{min-height:64px;position:relative;border-bottom:1px solid var(--agenda-line);background:repeating-linear-gradient(to right,transparent 0,transparent 63px,var(--agenda-line) 63px,var(--agenda-line) 64px)}
.agenda-band{position:absolute;top:50%;height:38px;transform:translateY(-50%);border-radius:4px;background:#216c87}
.agenda-band.is-booked{background:#e4b46570;border:1px dashed #b98943;box-sizing:border-box}.agenda-band.is-complete{background:#93ac7a7a}
.agenda-mark{position:absolute;top:0;width:64px;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;white-space:pre-line;font-size:10px;line-height:1.25;font-weight:550;color:#fff;z-index:2;overflow-wrap:anywhere;padding:0 2px;box-sizing:border-box}.agenda-mark.is-muted{color:#163d4b}
.agenda-today-line{position:absolute;top:0;bottom:0;width:1px;background:#176c9066;pointer-events:none}.agenda-empty{font-size:14px;position:sticky;left:0;width:400px;max-width:calc(100vw - 100px);line-height:1.6}
.agenda-event{position:absolute;height:24px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#c5dbe75c;border-left:3px solid #93ac7a;border-radius:3px;padding:3px 7px;font-size:11px;color:#164353}.agenda-events .agenda-project{font-size:12px;min-height:30px}
@media(max-width:700px){body.team.is-board #team-board #area-detail.agenda-view{padding:16px 10px 0}.agenda-heading{align-items:start;gap:10px}.agenda-meta{max-width:120px;font-size:10px}.agenda-scroll{--name-width:160px}.agenda-project strong{font-size:12px}}
/* LIVE DUV lettering: all Agenda roles reuse the shared brand tokens. */
.agenda-view{--agenda-name-width:240px;--agenda-today:var(--duv-blue-action);--agenda-weekend:rgb(100 100 100 / 22%);--agenda-holiday:rgb(100 100 100 / 26%);--agenda-line:color-mix(in srgb,var(--duv-ink) 13%,transparent);font-variant-numeric:tabular-nums}
.agenda-view :is(h2,p,strong,small,span){font-family:var(--duv-font-ui);font-style:normal;text-transform:none}
.agenda-heading{display:grid;grid-template-columns:var(--agenda-name-width) minmax(0,1fr);align-items:center;gap:0;padding-bottom:20px}
.agenda-summary{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
.agenda-meta{color:var(--duv-muted);font-size:11px;line-height:1.45;text-align:right}
.agenda-legend{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 18px;font-size:11px;line-height:1.4;color:var(--duv-ink)}
.agenda-key{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.agenda-key:before{content:'';width:8px;height:8px;border-radius:2px;background:var(--duv-attention);box-sizing:border-box}.agenda-key.is-start:before{background:transparent;border:1.5px solid var(--duv-attention)}.agenda-key.is-final:before{background:var(--duv-green-deep)}
.agenda-scroll{--name-width:var(--agenda-name-width);--agenda-line:color-mix(in srgb,var(--duv-ink) 13%,transparent);scrollbar-color:var(--duv-blue-line) transparent}
.agenda-title{font-weight:var(--duv-weight-title);letter-spacing:-.03em;line-height:1.1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agenda-project-head{font-size:11px;font-weight:var(--duv-weight-action);letter-spacing:.06em;color:var(--duv-muted)}
.agenda-project{min-height:68px;padding-right:18px}.agenda-project strong{font-weight:var(--duv-weight-subtitle);line-height:1.4;color:var(--duv-ink)}.agenda-project small{color:var(--duv-muted);line-height:1.4}
.agenda-month{font-weight:var(--duv-weight-subtitle);line-height:24px;color:var(--duv-blue-active)}
.agenda-day{line-height:1.25}.agenda-day small{font-size:10px;color:var(--duv-muted)}.agenda-day.is-weekend{background:var(--duv-blue-pale)}.agenda-day.is-holiday{background:color-mix(in srgb,var(--duv-attention) 18%,var(--duv-cream-soft))}.agenda-day.is-today span{background:var(--duv-blue-action);color:var(--duv-cream-soft);font-weight:var(--duv-weight-action)}
.agenda-day.is-weekend{background:var(--agenda-weekend)}
.agenda-day.is-holiday:not(.is-weekend){background:var(--agenda-holiday)}
.agenda-track{min-height:68px;background-image:repeating-linear-gradient(to right,transparent 0,transparent 63px,var(--agenda-line) 63px,var(--agenda-line) 64px),var(--holiday-shading,linear-gradient(transparent,transparent)),repeating-linear-gradient(to right,var(--agenda-weekend) 0,var(--agenda-weekend) 128px,transparent 128px,transparent 448px);background-position:0 0,0 0,var(--weekend-offset,0px) 0}
.agenda-band{height:32px;border-radius:3px;background:color-mix(in srgb,var(--duv-blue-action) 70%,transparent);border-block:1px solid color-mix(in srgb,var(--duv-blue-action) 70%,transparent);box-sizing:border-box}
.agenda-band.is-booked{background:color-mix(in srgb,var(--duv-attention) 70%,transparent);border:1px dashed color-mix(in srgb,var(--duv-attention) 70%,transparent)}.agenda-band.is-complete{background:color-mix(in srgb,var(--duv-green) 70%,transparent);border-color:color-mix(in srgb,var(--duv-green) 70%,transparent)}
.agenda-mark{flex-direction:column;gap:4px;padding:6px 3px;white-space:normal;font-weight:var(--duv-weight-action)}
.agenda-milestone{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-width:36px;min-height:22px;padding:3px 5px;box-sizing:border-box;border-radius:3px;border:1px solid var(--duv-attention);background:var(--duv-attention);color:var(--duv-ink);font-size:11px;line-height:1.2;font-weight:var(--duv-weight-action);text-align:center;overflow-wrap:anywhere}
.agenda-milestone.is-start{background:var(--duv-cream-soft);border-color:var(--duv-attention)}.agenda-milestone.is-final{background:var(--duv-green-deep);border-color:var(--duv-green-deep);color:var(--duv-cream-soft)}
.agenda-today-line{width:2px;margin-left:-1px;background:var(--agenda-today);z-index:1}
.agenda-day.is-today:after{content:'';position:absolute;left:50%;bottom:0;width:2px;height:5px;margin-left:-1px;background:var(--agenda-today)}
.agenda-events{position:sticky;top:72px;z-index:4;background:var(--duv-cream-soft)}
.agenda-events .agenda-track{min-height:44px}.agenda-events .agenda-project{min-height:44px;padding-block:7px}
body.team #team-board #area-detail .agenda-event{background:color-mix(in srgb,var(--duv-blue-line) 58%,var(--duv-cream-soft));border:0;border-left:2px solid color-mix(in srgb,var(--duv-blue-action) 45%,var(--duv-blue-line));color:var(--duv-ink);opacity:1;line-height:18px;font-weight:var(--duv-weight-subtitle);z-index:2}
@media(max-width:700px){.agenda-view{--agenda-name-width:160px}.agenda-heading{grid-template-columns:var(--agenda-name-width) minmax(0,1fr);align-items:center;gap:10px 0;padding-bottom:16px}.agenda-summary{grid-column:1/-1;align-items:flex-start;gap:6px}.agenda-meta{text-align:left;font-size:10px;max-width:none}.agenda-legend{justify-content:flex-start;font-size:10px;gap:8px 12px}}
.agenda-area-heading{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:10px;min-width:0;width:var(--agenda-name-width);box-sizing:border-box;padding-right:12px}
body.team #team-board #area-detail .agenda-next{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:1px solid var(--duv-blue-line);border-radius:50%;background:transparent;color:var(--duv-blue-action);box-shadow:none;cursor:pointer;line-height:1;transform:none}
body.team #team-board #area-detail .agenda-next svg{display:block;position:static;width:16px;height:16px;flex:none;margin:0;transform:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.team #team-board #area-detail .agenda-next:hover:not(:disabled){background:var(--duv-blue-action);color:var(--duv-cream-soft);border-color:var(--duv-blue-action)}
body.team #team-board #area-detail .agenda-next:focus-visible{outline:2px solid var(--duv-blue-action);outline-offset:3px}
body.team #team-board #area-detail .agenda-next:disabled{opacity:.3;cursor:default}
