:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#27292d;background:#f5f6f7;font-size:14px;letter-spacing:0;--line:#e2e5e8;--muted:#646a72;--accent:#b72b34;--fc-border-color:#e2e5e8;--fc-today-bg-color:#f0f7f5;--fc-neutral-bg-color:#f7f8f9;--fc-event-border-color:#b9d6ce;--fc-event-bg-color:#edf6f2;--fc-event-text-color:#24584b}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{min-height:44px;border:1px solid #cfd3d8;border-radius:5px;background:#fff;color:inherit;padding:0 14px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}button:hover:not(:disabled){background:#f0f2f4}button:disabled{cursor:not-allowed;opacity:.5}button.primary{background:var(--accent);border-color:var(--accent);color:#fff}button.primary:hover:not(:disabled){background:#94222a}a{color:inherit}img,svg{max-width:100%;flex-shrink:0}svg{width:18px;height:18px;vertical-align:middle}input,select{min-width:0;max-width:100%;min-height:44px;border:1px solid #cfd3d8;border-radius:5px;background:#fff;color:inherit;padding:8px 10px}input:read-only{background:#f3f5f6;color:var(--muted)}input[type=date]{width:100%;min-inline-size:0}input[type=search]{width:100%}input:focus,select:focus{border-color:#586777}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.fc-event:focus-visible{outline:3px solid #246c98;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:24px;line-height:1.35;margin-bottom:0}h2{font-size:18px}h3{font-size:15px}p{line-height:1.6}label{font-size:12px;color:var(--muted)}[hidden]{display:none!important}.muted{color:var(--muted);font-size:12px}.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:0;color:var(--muted);margin-bottom:6px}.badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;font-size:11px;line-height:1.5;font-weight:600;border-radius:4px;white-space:normal;overflow-wrap:anywhere}.neutral{background:#eceff2;color:#515860}.amber{background:#fff2d6;color:#78500c}.green{background:#e6f3ed;color:#23604b}.red{background:#fbeaec;color:#962a38}.blue{background:#e8effb;color:#365c93}.skip-link{position:fixed;left:12px;top:-70px;z-index:100;background:#fff;padding:12px}.skip-link:focus{top:12px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;flex-shrink:0}.access{min-height:100dvh;display:flex;flex-direction:column;padding:24px;gap:32px;background:#fff}.access-brand{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700}.access-content{width:100%;max-width:350px;margin:auto}.access-content h1{margin-bottom:12px;font-size:28px}.access-content>.badge{margin-bottom:20px}.access-content form{display:grid;gap:9px}.access-content label:not(:first-child){margin-top:8px}.access-content form button{margin-top:16px}.access-content>p{font-size:13px;color:var(--muted)}.access-content .error-text{color:#9d2939}.access footer{font-size:11px;color:var(--muted)}.workspace{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr)}.sidebar{background:#242629;color:#e3e5e8;min-width:0}.brand{display:none}.sidebar-label,.sidebar-bottom,#unavailable-nav{display:none}nav{display:flex;gap:0;overflow-x:auto;padding:5px 8px;scrollbar-width:thin}nav button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#c6cbd0;border-radius:4px;flex:0 0 auto;padding:0 12px;min-height:46px;font-size:12px}nav button[aria-current=page]{background:#414348;color:#fff}nav button:hover:not(:disabled){background:#37393e}.main-shell{min-width:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px;padding:10px 12px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}.topbar-title{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;overflow-wrap:anywhere}.topbar-title>span:first-child{display:none}.topbar-divider{display:none}.topbar-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.topbar-actions .icon-button{border:0;color:#545b65}.topbar-actions .badge{font-size:10px}main{padding:14px 12px 28px;min-width:0;flex:1}.provenance{border-bottom:1px solid var(--line);padding-bottom:12px;font-size:11px;color:var(--muted)}.provenance-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.provenance-dates{display:flex;flex-wrap:wrap;gap:5px 18px;margin:8px 0}.provenance-dates>div{display:flex;gap:6px;min-width:0}.provenance dd{margin:0;overflow-wrap:anywhere}.provenance dt{color:#787e86}.source-details summary{cursor:pointer;min-height:36px;align-content:center}.source-details p{margin:6px 0;overflow-wrap:anywhere}.coverage-list{padding-left:18px;margin:4px 0;line-height:1.7;overflow-wrap:anywhere}.notice{margin-top:12px;padding:12px;border:1px solid #e8cbd0;background:#fff3f4;color:#8c2a37;font-size:13px;overflow-wrap:anywhere}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:22px 0 18px;flex-wrap:wrap}.page-heading>p{margin:0;font-size:12px;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:16px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.search-field{flex:1 1 100%}.date-field{flex:1 1 120px}.status-field{flex:1 1 160px}.search-input{position:relative;min-width:0}.search-input>span{position:absolute;left:11px;top:13px;color:#7b828a;pointer-events:none}.search-input input{padding-left:37px}.filter-submit{flex:1 1 80px}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.calendar-navigation{display:flex;gap:4px;align-items:center;flex-wrap:wrap;min-width:0}.calendar-navigation h2{font-size:15px;margin:0 0 0 7px;overflow-wrap:anywhere}.calendar-navigation>button:not(.icon-button){padding:0 12px}.segments{display:inline-flex;border:1px solid #cfd3d8;border-radius:5px;background:#fff}.segments button{border:0;border-radius:0;min-width:44px;padding:0 12px;background:transparent}.segments button[aria-pressed=true]{background:#34383e;color:#fff}.segments button:first-child{border-radius:4px 0 0 4px}.segments button:last-child{border-radius:0 4px 4px 0}#calendar{background:#fff;min-width:0}.fc{font-size:11px}.fc .fc-toolbar{display:none}.fc .fc-col-header-cell-cushion{padding:10px 2px;white-space:normal;overflow-wrap:anywhere}.fc .fc-timegrid-slot{height:34px}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{font-size:10px;padding:0 3px}.fc .fc-scrollgrid{border-radius:0}.fc .fc-event{cursor:pointer;border-radius:3px;border-left:3px solid #5f9788;overflow:hidden}.fc .fc-event-main{padding:3px}.fc .fc-event-time{white-space:normal;font-weight:600}.fc .fc-daygrid-day-number{padding:7px}.fc .fc-daygrid-event{white-space:normal;word-break:break-word}.fc .fc-daygrid-event-dot{display:none}.event-title{font-weight:600;overflow-wrap:anywhere;white-space:normal}.event-meta{font-size:10px;line-height:1.5;overflow-wrap:anywhere}.table-scroll{width:100%;max-width:100%;overflow-x:auto;background:#fff;border:1px solid var(--line);scrollbar-width:thin}.table-scroll:focus-visible{outline:3px solid #246c98;outline-offset:2px}table{border-collapse:collapse;width:100%;font-size:12px;min-width:620px}th,td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;line-height:1.6;overflow-wrap:anywhere;max-width:250px}th{background:#f7f8fa;color:#606873;font-weight:500;font-size:11px;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfc}.member-link{padding:5px 0;min-height:44px;border:0;background:none;color:#285f80;text-align:left;font-weight:600}.member-link:hover:not(:disabled){background:none;text-decoration:underline}.cell-sub{display:block;color:var(--muted);font-size:11px}.empty{margin:0;padding:50px 16px;text-align:center;background:#fff;border:1px solid var(--line);color:var(--muted);font-size:13px}.pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:14px;font-size:12px}.pagination p{margin:0;color:var(--muted);overflow-wrap:anywhere}.pagination>button{margin-left:auto}.pagination #list-snapshot{flex-basis:100%;font-size:10px}.app-footer{padding:16px 12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);display:flex;gap:12px;justify-content:space-between}dialog{width:min(760px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #d7dce1;border-radius:7px;color:inherit;background:#fff;overflow:auto}dialog::backdrop{background:rgb(20 24 29 / .45)}.dialog-heading{position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid var(--line);padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-heading h2{font-size:18px;margin:0;overflow-wrap:anywhere}.dialog-heading>div{min-width:0}#detail-content{padding:16px;overflow-wrap:anywhere}#detail-content h3{margin:24px 0 12px}#detail-content .table-scroll{margin-bottom:12px}.detail-dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px;font-size:13px}.detail-dl dt{color:var(--muted)}.detail-dl dd{margin:0}.detail-note{color:var(--muted);font-size:12px}.detail-pass{padding:14px 0;border-bottom:1px solid var(--line)}.detail-pass>strong{display:block;margin-bottom:8px}.pass-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pass-counts>div{padding:8px;background:#f6f8f9;min-width:0}.pass-counts dt{font-size:11px;color:var(--muted)}.pass-counts dd{margin:3px 0 0;font-size:16px;font-weight:600}.detail-loading{color:var(--muted);padding:24px 0}.detail-pass .detail-note{margin-bottom:0}.read-only-dot{width:6px;height:6px;border-radius:50%;background:#82b6a6;display:inline-block;margin-right:7px}
@media(min-width:768px){.workspace{grid-template-columns:176px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;padding:22px 10px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:12px;font-weight:700;line-height:1.45;padding:0 8px 28px}.sidebar-label{display:block;font-size:10px;color:#969da6;padding:16px 12px 9px}nav{display:grid;padding:0;overflow:visible;gap:3px}nav button{justify-content:flex-start;font-size:13px;min-width:0;width:100%;padding:0 12px}.sidebar-bottom{display:block;margin-top:auto;font-size:11px;color:#aeb7c0;padding:20px 12px 0}#unavailable-nav{display:grid;gap:3px}#unavailable-nav button{display:flex;gap:10px;align-items:center;border:0;background:none;color:#b4bac2;justify-content:flex-start;padding:0 12px;font-size:12px}.topbar{padding:10px 24px;flex-wrap:nowrap}.topbar-title>span:first-child,.topbar-divider{display:inline}.topbar-title{font-size:12px}.topbar-divider{color:#b5bbc3}main{padding:18px 24px 32px}.search-field{flex:1 1 170px}.date-field{flex:0 1 145px}.status-field{flex:0 1 155px}.filter-submit{flex:0 0 auto}.calendar-navigation h2{font-size:17px}.provenance-dates{gap:5px 20px}.app-footer{padding:16px 24px}.fc{font-size:12px}.fc .fc-timegrid-slot{height:38px}.pass-counts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1200px){.workspace{grid-template-columns:196px minmax(0,1fr)}main{padding:20px 30px 32px}.topbar{padding:10px 30px}.provenance{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 20px;align-items:center}.provenance-dates{justify-content:flex-end;margin:0}.source-details{grid-column:1/-1}.page-heading{padding:24px 0 20px}.search-field{max-width:300px}}
.unavailable-item{position:relative;display:block;border-radius:4px}.unavailable-item:focus-visible{outline:3px solid #83b8d7;outline-offset:2px}.unavailable-tooltip{display:none;position:absolute;left:8px;top:100%;z-index:5;width:150px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:4px;color:#34383e;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.unavailable-item:hover .unavailable-tooltip,.unavailable-item:focus-visible .unavailable-tooltip{display:block}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.fc table{min-width:0;max-width:100%}

/* Approved LAB calendar layout; authentication and read-only filters stay separate. */
#calendar-section{min-width:0;max-width:100%}
.calendar-viewport{position:relative;width:100%;max-width:100%;min-width:0;background:#fff;scroll-padding:44px 44px 8px}
.calendar-viewport:focus-visible{outline:3px solid #246c98;outline-offset:3px}
.calendar-status{min-width:0;margin:0 0 10px;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.calendar-status:empty{margin:0}
.week-rail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;min-width:0;margin-bottom:8px;padding:4px 0;background:#fff;border-bottom:1px solid var(--line)}
.week-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:52px;padding:5px 2px;border:0;border-radius:0;background:transparent;line-height:1.25}
.week-rail .weekday{font-size:11px;color:var(--muted)}
.week-rail .day-number{font-size:16px;font-weight:600;line-height:20px}
.week-rail .is-today .day-number{text-decoration:underline;text-underline-offset:4px}
.week-rail button[aria-pressed=true]{background:#edf7f5;color:#24584b;box-shadow:inset 0 -3px 0 #5f9788}
.week-rail button[aria-pressed=true] .weekday{color:#24584b}
.event-content{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.3}
.event-content .event-top{display:flex;align-items:center;justify-content:space-between;gap:5px}
.event-content .event-staff{font-size:10px}
#calendar .fc-timegrid-event .fc-event-main{height:100%;min-height:0;overflow:hidden;padding:3px}
#calendar .fc-timegrid-event .fc-event-main>div{display:flex;flex-direction:column;gap:2px;height:100%;min-height:0;min-width:0;max-width:100%;overflow:hidden;line-height:1.25}
#calendar .fc-timegrid-event .event-title,#calendar .fc-timegrid-event .event-content strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:0;max-height:2.5em;flex:0 1 auto;font-size:12px;line-height:1.25;overflow-wrap:anywhere}
#calendar .fc-timegrid-event .event-meta,#calendar .fc-timegrid-event .event-staff{display:block;min-width:0;min-height:12px;flex:0 0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:12px}
#calendar .fc-timegrid-event .event-top{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;min-height:12px;flex:0 0 12px;line-height:12px}
#calendar .fc-timegrid-event .event-top>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;line-height:12px}
#calendar .fc-timegrid-event .event-top>span:first-child{flex:1 1 auto}
#calendar .fc-timegrid-event .event-top>span:last-child{flex:0 0 auto}

@media(max-width:900px){
  .calendar-viewport{height:max(420px,calc(100dvh - 300px));max-height:max(420px,calc(100dvh - 300px));overflow:auto;overscroll-behavior:contain;isolation:isolate;scrollbar-width:thin}
  #calendar{width:100%;min-width:0}
  #calendar:is([data-view=timeGridWeek],:has(.fc-timeGridWeek-view)){min-width:calc(7 * 124px + 44px)}
  #calendar .fc-scroller{overflow:visible!important;height:auto!important}
  #calendar .fc-scroller-harness{overflow:visible!important}
  #calendar .fc-scrollgrid-section-header{position:sticky;top:0;z-index:10;background:#fff}
  #calendar .fc-scrollgrid-section-header>th,#calendar .fc-scrollgrid-section-header>td{position:sticky;top:0;z-index:10;background:#fff}
  #calendar .fc-col-header-cell{background:#fff}
  #calendar .fc-col-header-cell-cushion{white-space:nowrap;font-size:12px;line-height:18px;padding:10px 4px}
  #calendar .fc-timegrid-slots{z-index:auto}
  #calendar .fc-timegrid-axis,#calendar .fc-timegrid-slot-label{position:sticky;left:0;width:44px;min-width:44px;max-width:44px;z-index:6;background:#fff;box-shadow:1px 0 0 var(--line)}
  #calendar .fc-timegrid-axis-cushion,#calendar .fc-timegrid-slot-label-cushion{width:42px;max-width:42px;padding:0 4px;font-size:10px;text-align:right;white-space:nowrap}
  #calendar .fc-col-header .fc-timegrid-axis{z-index:12;background:#fff}
  /* The foreground axis is a spacer, not the actual sticky time-label column. */
  #calendar .fc-timegrid-cols .fc-timegrid-axis{position:static;z-index:auto;background:transparent;box-shadow:none;pointer-events:none}
}
@media(min-width:901px){.week-rail{display:none}}
@media(max-width:600px){
  #calendar-section .calendar-toolbar{gap:8px}
  #calendar-section .calendar-navigation{display:grid;grid-template-columns:44px auto 44px minmax(0,1fr);width:100%;min-width:0;gap:4px}
  #calendar-section .calendar-navigation h2{min-width:0;font-size:14px;line-height:1.4;margin:0 0 0 4px}
  #calendar-section .calendar-navigation>button{min-height:44px;min-width:44px}
  #calendar-section .segments{display:flex;width:100%;min-width:0}
  #calendar-section .segments button{flex:1;min-height:44px;min-width:44px}
  #calendar:is([data-view=timeGridWeek],:has(.fc-timeGridWeek-view)) .fc-timegrid-slot{height:42px}
  .week-rail button{min-height:52px;padding:5px 0}
  .week-rail .weekday{font-size:10px}
  .week-rail .day-number{font-size:15px}
}
