/* Shared V1 control geometry; service/personal appearance supplies all colours. */
.sc-window{padding:16px;width:min(560px,calc(100vw - 16px));max-height:calc(100dvh - 16px);border:1px solid var(--sc-line);border-radius:16px;background:var(--sc-surface);color:var(--sc-ink);overflow:auto;overscroll-behavior:contain}
.sc-window .sc-window-header{position:sticky;top:-16px;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:0 0 12px;background:var(--sc-surface)}
.sc-window .sc-window-title{flex:1;min-width:0;clear:none;margin:0;padding-top:6px;font-size:1.125rem;line-height:1.3;font-weight:700;letter-spacing:-.3px;overflow-wrap:anywhere}
.sc-window-actions{display:flex;align-items:center;gap:4px;flex:none}.sc-window .sc-window-actions button{float:none;width:44px;min-width:44px;min-height:44px;margin:0;padding:6px;border:1px solid var(--sc-line);border-radius:10px;background:var(--sc-surface);color:var(--sc-ink);font-size:1.4rem;line-height:1}
.sc-window::backdrop{background:rgb(20 38 52 / .46)}
.sc-window button,.onboarding-panel button,.ledger-panel button{min-height:44px;padding:9px 12px;border-radius:10px;font-size:.875rem;font-weight:650;line-height:1.4;white-space:normal;overflow-wrap:anywhere;background:var(--sc-surface);color:var(--sc-ink);border:1px solid var(--sc-line)}
.sc-window button:disabled,.onboarding-panel button:disabled,.ledger-panel button:disabled{background:var(--sc-raised);color:var(--sc-muted);cursor:default}
.sc-window button.sc-button-primary:not(:disabled){background:var(--sc-accent);color:var(--sc-onAccent);border-color:var(--sc-accent)}
.sc-window :is(input,select,textarea),.onboarding-panel :is(input,select,textarea),.ledger-panel :is(input,select,textarea){max-width:100%;min-width:0;border:1px solid var(--sc-line);border-radius:8px;background:var(--sc-surface);color:var(--sc-ink);padding:9px 10px;font:inherit}
.sc-window :is(input,select):not([type=checkbox]):not([type=radio]){min-height:44px}
.sc-window :is(input[type=checkbox],input[type=radio]){accent-color:var(--sc-accent)}
.sc-window :focus-visible{outline:3px solid var(--sc-focus);outline-offset:2px}
.sc-window .base-menu-group{margin:12px 0}.sc-window .base-menu-group h3{margin:0 0 4px;font-size:.875rem;color:var(--sc-muted)}
.sc-window button.sc-menu-row{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 8px;text-align:left;border:0;border-radius:6px;background:transparent;font-weight:600}
.sc-window button.sc-menu-row+button.sc-menu-row{border-top:1px solid var(--sc-line)}.sc-menu-row>span:first-child{flex:1;min-width:0}.sc-menu-chevron{flex:none;color:var(--sc-muted);font-size:1.25rem;line-height:1}
.sc-window button.sc-menu-row:hover:not(:disabled){background:var(--sc-soft)}.sc-window button.sc-menu-row:disabled{background:transparent}
.notification-actions {
 margin:0;
 padding:0;
 list-style:none;
}
.notification-actions li + li {border-top:1px solid var(--sc-line)}
.notification-actions button {margin:0}
.attention-trade-context {display:block;margin-top:.25rem;color:var(--sc-muted);font-size:.8rem;font-weight:600;line-height:1.35}
.notification-section + .notification-section {
 border-top:1px solid var(--sc-line);
 margin-top:.35rem;
 padding-top:.65rem;
}
.notification-section h3 {margin:0 0 .3rem;font-size:.95rem}
.notifications-dialog .notification-refresh {margin:.4rem 0 0}
.notifications-dialog .notification-learning-toggle {
 display:flex;
 align-items:center;
 gap:.5rem;
 min-height:44px;
 margin:0;
 padding:.3rem .45rem;
 font-size:.875rem;
}
.notification-learning-toggle input {flex:none;width:18px;height:18px;margin:0}
.notification-install summary {
 align-content:center;
 min-height:44px;
 padding:.4rem .5rem;
 cursor:pointer;
 font-weight:650;
 overflow-wrap:anywhere;
}
.notification-install ol {
 margin:.25rem .5rem .65rem;
 padding-inline-start:1.25rem;
 font-size:.875rem;
 line-height:1.5;
}
.notification-install li + li {margin-top:.25rem}
.sc-window .calendar-day-details{border:0;margin:0;padding:0}.sc-window .calendar-day-module{margin:8px 0;padding:12px;border:1px solid var(--sc-line);border-radius:12px}.sc-window .calendar-day-module p{font-size:.875rem;line-height:1.45}.sc-window .calendar-role-legend{gap:8px;font-size:.75rem}
@media(prefers-reduced-motion:reduce){.sc-window{scroll-behavior:auto}}

.trade-panel article{border:1px solid var(--sc-line);border-radius:12px;padding:12px;margin:8px 0;background:var(--sc-surface);color:var(--sc-ink)}.trade-panel label{display:flex;align-items:center;gap:8px;font-size:.875rem;margin:8px 0}.trade-panel input[type=checkbox]{flex:none;width:24px;height:24px}.trade-panel form{display:flex;flex-direction:column;gap:6px}.trade-panel form label{margin:0}.trade-panel form :is(input,select){width:100%;min-width:0}.trade-panel button{margin:4px 2px;max-width:100%}.trade-panel h4,.trade-panel p{overflow-wrap:anywhere}

#base-notifications-trigger{position:relative;display:grid;place-items:center}.notification-count{position:absolute;top:-4px;right:-4px;min-width:18px;padding:1px 4px;border-radius:20px;font-size:.7rem;font-weight:750;background:var(--sc-request);color:var(--sc-surface)}.calendar-attention{border:1px solid var(--sc-line);border-radius:12px;padding:10px 12px;margin:6px 0 10px;background:var(--sc-surface)}.calendar-attention h3{font-size:.95rem;margin:0 0 4px}.calendar-attention p{font-size:.8rem;color:var(--sc-muted);margin:4px 0}.calendar-attention button,.notifications-dialog button:not(.sc-window-close){min-height:44px;max-width:100%;margin:4px 0;white-space:normal}.notifications-dialog p{font-size:.875rem}.notifications-dialog>div:not(.sc-window-header){display:flex;flex-direction:column;gap:6px}

.sc-shift-card{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;margin:8px 0;padding:12px;border:1px solid var(--sc-line);border-radius:12px;background:var(--sc-surface);color:var(--sc-ink);font:inherit;cursor:pointer}.sc-shift-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sc-shift-card-heading strong{font-size:.95rem;min-width:0}.sc-shift-status{font-size:.75rem;font-weight:700;background:var(--sc-soft);color:var(--sc-accent);padding:3px 6px;border-radius:6px}.sc-shift-time{font-size:.875rem;font-weight:650}.sc-shift-context{font-size:.8rem;color:var(--sc-muted)}.sc-shift-portions{display:flex;gap:3px;min-width:0}.sc-shift-portion{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px;border-radius:5px;background:var(--sc-raised);color:var(--sc-ink);font-size:.75rem}.sc-shift-portion[data-state=requested]{background:var(--sc-soft);color:var(--sc-accent)}.sc-shift-portion[data-state=arranged]{background:var(--sc-dutySoft);color:var(--sc-duty)}.sc-shift-card-footer{display:flex;justify-content:space-between;gap:8px;font-size:.75rem;color:var(--sc-muted)}.sc-shift-card :is(strong,span,b){overflow-wrap:anywhere}.sc-shift-card:focus-visible{outline:3px solid var(--sc-focus);outline-offset:2px}.sample-opportunity-dialog{width:min(560px,calc(100vw - 16px));max-height:calc(100dvh - 16px)}

.recipient-picker{border:1px solid var(--sc-line);border-radius:12px;padding:10px;margin:8px 0;min-width:0;background:var(--sc-surface);color:var(--sc-ink)}.recipient-picker label{display:flex;align-items:center;gap:8px;font-size:.875rem;margin:6px 0;overflow-wrap:anywhere}.recipient-picker>label{flex-direction:column;align-items:stretch}.recipient-picker input[type=search],.recipient-picker input:not([type]){width:100%;min-width:0;min-height:44px}.recipient-picker input[type=checkbox]{width:24px;height:24px;flex:none}.recipient-picker button{min-height:44px;max-width:100%;margin:4px 2px;white-space:normal;overflow-wrap:anywhere}.recipient-picker h4{font-size:.95rem;margin:10px 0 6px}.recipient-picker p{font-size:.8rem}

.calendar-portion-track [data-opportunity=true]{border:1px solid var(--sc-opportunity,#08773c);border-radius:3px;min-width:14px;line-height:14px;justify-self:center;color:var(--sc-opportunity,#08773c)}.trade-full-choice{padding:10px;border:1px solid var(--sc-line);border-radius:10px;margin:8px 0}.trade-full-choice h3{font-size:1rem;margin:0 0 6px}
.calendar-availability-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.9rem}.calendar-availability-toggle input{width:20px;height:20px;accent-color:var(--sc-accent)}.calendar-availability-note{font-size:.8rem;color:var(--sc-muted);margin:0 0 6px}.base-calendar[data-show-availability=true] .base-calendar-grid button{grid-template-rows:18px clamp(30px,10vw,48px) 18px 12px}.calendar-availability-marker{font-size:9px;line-height:12px;white-space:nowrap;text-align:center}.calendar-own-availability{border:1px solid var(--sc-line);border-radius:8px;padding:8px;margin:8px 0}
/* V1 card hierarchy; service-supplied times and skin-supplied colours. */
.sc-shift-card-heading{flex-wrap:wrap}.sc-shift-status{max-width:100%;overflow-wrap:anywhere}.sc-shift-portions{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}.sc-shift-portion{background:transparent!important;padding:0;font-size:.8rem}.sc-shift-portion small{font-size:.7rem;overflow-wrap:anywhere}.sc-shift-bar{display:block;min-height:8px;background:var(--sc-raised);border-radius:3px}.sc-shift-portion[data-state=requested] .sc-shift-bar{background:var(--sc-request)}.sc-shift-portion[data-state=arranged] .sc-shift-bar{background:var(--sc-accent)}.sc-shift-portion[data-state=confirmed] .sc-shift-bar,.sc-shift-portion[data-state=completed] .sc-shift-bar{background:var(--sc-duty)}.sc-shift-portion[data-state=closed]{color:var(--sc-muted)}.sc-shift-card-footer{flex-wrap:wrap}.day-request-overview{border:1px solid var(--sc-line);border-radius:12px;padding:10px;margin:8px 0}.day-request-overview h5{font-size:.9rem;margin:0 0 6px}.trade-panel .day-request-row{display:flex;justify-content:space-between;gap:8px;width:100%;min-width:0;min-height:44px;text-align:left;border:0;border-radius:0;margin:0;padding:10px 0;background:transparent;font-weight:400}.day-request-row+.day-request-row{border-top:1px solid var(--sc-line)}.day-request-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.trade-panel .sc-shift-card{margin:8px 0}
/* Quiet initial read placeholders; text remains available to assistive technology. */
.sc-loading{display:block!important;box-sizing:border-box;width:min(12rem,100%);height:14px!important;min-height:14px!important;max-height:14px!important;margin:.65rem 0;color:transparent!important;background:var(--sc-raised)!important;border-radius:5px;overflow:hidden;white-space:nowrap;user-select:none}.sc-loading::selection{color:transparent}.trade-panel[aria-busy=true] .sc-shift-card{opacity:.65}
.sc-quiet-status{display:none!important}
.workflow-points{margin:.5rem 0;padding-left:1.25rem;font-size:.875rem;line-height:1.45}.workflow-points li{padding:.15rem 0;overflow-wrap:anywhere}


/* Owner UI polish 2026-11-20: My Trades + Find Shifts list; presentation only. */
.schedule-list-pane,.schedule-trades-pane{min-width:0}
.schedule-list-pane .trade-browse,.schedule-trades-pane .trade-activity{min-width:0;margin:.45rem 0 .8rem}
.schedule-list-pane .trade-browse h3,.schedule-trades-pane .trade-activity h3{
  font-size:clamp(.95rem,3.5vw,1.08rem);line-height:1.3;overflow-wrap:anywhere
}
.schedule-list-pane .trade-browse>p,.schedule-trades-pane .trade-activity>p{
  font-size:.79rem;line-height:1.45;margin:.3rem 0 .65rem;
  color:var(--sc-muted,#536273);overflow-wrap:anywhere
}
.schedule-list-pane .trade-browse>label{
  display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem;font-size:.8rem;color:var(--sc-muted,#536273)
}
.schedule-list-pane .trade-browse input[type=month]{
  max-width:min(100%,12rem);min-height:44px;border:1px solid var(--sc-line,#c8d0d8);
  border-radius:.55rem;padding:.45rem;background:var(--sc-surface,#fff);color:var(--sc-ink,#17232c)
}
.schedule-list-pane .trade-browse>button,.schedule-trades-pane .trade-activity>button{
  box-sizing:border-box;min-height:44px;max-width:100%;padding:.5rem .7rem;
  border:1px solid var(--sc-line,#c8d0d8);border-radius:.55rem;
  background:var(--sc-surface,#fff);color:var(--sc-accent,#1760b2);
  font:inherit;font-size:.84rem;font-weight:650;white-space:normal;overflow-wrap:anywhere
}
.schedule-list-pane .trade-browse>div>section{margin:.75rem 0;min-width:0}
.schedule-list-pane .trade-browse>div>section>h3{
  font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;font-weight:750;
  color:var(--sc-muted,#536273);margin:.7rem .1rem .45rem;padding-bottom:.3rem;
  border-bottom:1px solid var(--sc-line,#c8d0d8)
}
.schedule-list-pane .trade-panel,.schedule-trades-pane .trade-panel{min-width:0}
.schedule-list-pane .trade-panel .sc-shift-card,.schedule-trades-pane .trade-panel .sc-shift-card{
  box-sizing:border-box;width:100%;min-width:0;margin:.45rem 0;
  padding:clamp(.55rem,2.4vw,.8rem);gap:.37rem;border-radius:.75rem;
  border:1px solid var(--sc-line,#c8d0d8);background:var(--sc-surface,#fff);
  color:var(--sc-ink,#17232c);box-shadow:0 1px 4px rgb(15 23 42 / .045);
  text-align:left
}
.schedule-list-pane .sc-shift-card-heading,.schedule-trades-pane .sc-shift-card-heading{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:.4rem;line-height:1.28
}
.schedule-list-pane .sc-shift-card-heading>strong,.schedule-trades-pane .sc-shift-card-heading>strong{
  flex:1 1 10rem;min-width:0;font-size:.91rem;line-height:1.3
}
.schedule-list-pane .sc-shift-status,.schedule-trades-pane .sc-shift-status{
  flex:0 1 auto;max-width:100%;padding:.22rem .45rem;border-radius:100px;
  font-size:.72rem;line-height:1.35;text-align:center;white-space:normal
}
.schedule-list-pane .trade-direction,.schedule-trades-pane .trade-direction{
  align-self:flex-start;display:inline-flex;align-items:center;gap:.2rem;max-width:100%;
  padding:.17rem .4rem;font-size:.75rem;line-height:1.3;font-weight:750;
  border-radius:.4rem;overflow-wrap:anywhere;background:var(--sc-raised,#f2f5f8)
}
.schedule-list-pane .trade-direction[data-direction=pick],
.schedule-trades-pane .trade-direction[data-direction=pick]{color:var(--sc-opportunity,#138044)}
.schedule-list-pane .trade-direction[data-direction=give],
.schedule-trades-pane .trade-direction[data-direction=give]{color:var(--sc-trade-request,#1760b2)}
.schedule-list-pane .trade-direction[data-direction=confirmed],
.schedule-trades-pane .trade-direction[data-direction=confirmed]{color:var(--sc-muted,#536273)}
.schedule-list-pane .sc-shift-time,.schedule-trades-pane .sc-shift-time{
  font-size:.83rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere
}
.schedule-list-pane .sc-shift-context,.schedule-trades-pane .sc-shift-context{
  font-size:.78rem;line-height:1.4;color:var(--sc-muted,#536273)
}
.schedule-list-pane .sc-shift-portions,.schedule-trades-pane .sc-shift-portions{
  gap:.45rem;min-width:0;margin:.2rem 0
}
.schedule-list-pane .sc-shift-portion,.schedule-trades-pane .sc-shift-portion{
  min-width:0;gap:.18rem;font-size:.79rem;line-height:1.28
}
.schedule-list-pane .sc-shift-portion small,.schedule-trades-pane .sc-shift-portion small{
  font-size:.7rem;line-height:1.3
}
.schedule-list-pane .sc-shift-bar,.schedule-trades-pane .sc-shift-bar{
  height:.45rem;min-height:.45rem;border-radius:.25rem
}
.schedule-list-pane .sc-shift-card-footer,.schedule-trades-pane .sc-shift-card-footer{
  border-top:1px solid var(--sc-line,#c8d0d8);padding-top:.42rem;margin-top:.1rem;line-height:1.4
}
.schedule-list-pane .rotation-preview,.schedule-trades-pane .rotation-preview{
  display:block;width:100%;min-width:0;margin:.3rem 0 .1rem;padding:.4rem;
  border:1px solid var(--sc-line,#c8d0d8);border-radius:.55rem;
  background:var(--sc-raised,#f2f5f8);color:var(--sc-ink,#17232c);
  font-size:.72rem;line-height:1.3
}
.schedule-list-pane .rotation-preview>span:first-child,
.schedule-trades-pane .rotation-preview>span:first-child{
  display:block;font-size:.73rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere
}
.schedule-list-pane .rotation-week-grid,.schedule-trades-pane .rotation-week-grid{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));
  gap:2px;width:100%;min-width:0;margin:.4rem 0 .2rem
}
.schedule-list-pane .rotation-week-day,.schedule-trades-pane .rotation-week-day{
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;
  min-width:0;min-height:58px;padding:.25rem .05rem;border:1px solid var(--sc-line,#c8d0d8);
  border-radius:.3rem;background:var(--sc-surface,#fff);
  font-size:clamp(.58rem,2.3vw,.72rem);font-weight:600;line-height:1.2;text-align:center
}
.schedule-list-pane .rotation-week-day[data-offer=true],
.schedule-trades-pane .rotation-week-day[data-offer=true]{
  outline:2px solid var(--sc-opportunity,#138044);outline-offset:-2px
}
.schedule-trades-pane .sc-shift-card:has(>.trade-direction[data-direction=give]) .rotation-week-day[data-offer=true]{
  outline-color:var(--sc-trade-request,#1760b2)
}
.schedule-trades-pane .sc-shift-card:has(>.trade-direction[data-direction=confirmed]) .rotation-week-day[data-offer=true]{
  outline-color:var(--sc-muted,#536273)
}
.schedule-list-pane .rotation-week-day>span,.schedule-trades-pane .rotation-week-day>span{
  min-width:0;max-width:100%;white-space:nowrap;overflow:hidden
}
.schedule-list-pane .rotation-preview>span:last-child,
.schedule-trades-pane .rotation-preview>span:last-child{
  display:block;margin-top:.25rem;font-size:.7rem;color:var(--sc-muted,#536273);line-height:1.35
}
@media(max-width:360px){
 .schedule-list-pane .sc-shift-card,.schedule-trades-pane .sc-shift-card{padding:.5rem}
 .schedule-list-pane .rotation-preview,.schedule-trades-pane .rotation-preview{padding:.25rem}
 .schedule-list-pane .rotation-week-day,.schedule-trades-pane .rotation-week-day{min-height:55px;font-size:.59rem}
}

/* Named day/night portions keep their half-shift position, including single-half requests. */
.sc-shift-portions:has(>.sc-shift-portion[data-slot]){grid-template-columns:repeat(2,minmax(0,1fr))}
.sc-shift-portion[data-slot=day]{grid-column:1}
.sc-shift-portion[data-slot=night]{grid-column:2}
.schedule-trades-pane .trade-activity-month button{min-height:44px;font-size:1.1rem;padding:.25rem}

.calendar-mixed-markers{display:flex;justify-content:center;align-items:center;gap:1px;flex-wrap:wrap}.calendar-mixed-markers>span{font-size:.7rem}.calendar-portion-track:has(.calendar-mixed-markers){height:auto;min-height:16px}.base-calendar-grid button:has(.calendar-mixed-markers){grid-template-rows:18px clamp(28px,8.5vw,40px) minmax(16px,auto)}
.calendar-portion-track [data-own-request=true]:not([data-confirmed=true]){color:var(--sc-trade-request,#1760b2);font-size:.875rem;line-height:1;font-weight:800;-webkit-text-stroke:.3px currentColor}
/* Semantic attention indicator stays red across appearance palettes. */
#base-notifications-trigger .notification-dot{box-sizing:border-box;display:block;top:3px;right:3px;width:12px;height:12px;min-width:0;padding:0;border:2px solid var(--sc-surface,#fff);border-radius:50%;background:var(--sc-attention-badge,#d92d20)}
/* Compact rotation strips must not inherit full calendar icon dimensions. */
.rotation-week-grid .rotation-week-day>.rotation-week-duty{height:20px;min-height:20px;overflow:visible}
.rotation-week-grid .rotation-week-day .calendar-duty-track{height:20px;min-height:20px;overflow:visible}
.rotation-week-day .calendar-duty-full .calendar-work-symbol{flex:none;width:14px;max-width:14px;height:14px;aspect-ratio:1}
.rotation-week-day .calendar-duty-half .calendar-work-symbol{flex:none;width:12px;max-width:12px;height:12px;aspect-ratio:1}
.rotation-week-day .calendar-work-symbol svg{width:100%;height:100%}
[data-calendar-symbols=checks] .rotation-week-day .calendar-work-check{flex:none;width:100%;height:100%;aspect-ratio:1;font-size:clamp(8px,.55rem,10px)}
.rotation-week-day .calendar-role-token{font-size:clamp(7px,.55rem,9px)}

/* V1-style progress stays beside the dated schedule in trade details. */
.trade-detail-content {min-width:0}
.trade-detail-date {display:block;margin:0 0 .45rem;font-weight:650;line-height:1.35}
.trade-detail-sample-note {margin:0 0 .45rem;color:var(--sc-muted);font-size:.8rem;line-height:1.35}
.trade-detail-week {margin:.7rem 0;min-width:0}
.trade-detail-week h3,.trade-progress h3 {margin:.3rem 0 .45rem;font-size:1rem;line-height:1.3}
.trade-detail-week .rotation-week-day[data-offer=true] {outline-color:var(--sc-accent)}
.trade-detail-week .rotation-week-day>span:first-child {white-space:normal;overflow-wrap:anywhere}
.trade-progress {display:grid;gap:.5rem;margin:.7rem 0;min-width:0}
.trade-progress h3 {margin:0}
.trade-progress-portion {
 min-width:0;padding:.55rem .65rem;border:1px solid var(--sc-line);border-radius:.65rem;background:var(--sc-surface)
}
.trade-progress-portion h4 {margin:0;font-size:.95rem;line-height:1.3}
.trade-progress-note {margin:.25rem 0 .45rem;color:var(--sc-muted);font-size:.85rem;line-height:1.4;overflow-wrap:anywhere}
.trade-progress-steps {list-style:none;padding:0;margin:0;display:grid;gap:.15rem}
.trade-progress-steps li {
 display:grid;grid-template-columns:1rem minmax(0,1fr) fit-content(38%);gap:.35rem;align-items:center;
 min-height:2rem;padding:.2rem .35rem;border-radius:.35rem;font-size:.85rem;line-height:1.35;overflow-wrap:anywhere
}
.trade-progress-steps small {color:var(--sc-muted);font-size:.75rem}
.trade-progress-marker {
 display:grid;place-items:center;inline-size:1rem;block-size:1rem;box-sizing:border-box;
 border:1px solid var(--sc-line);border-radius:50%;font-size:.66rem;line-height:1
}
.trade-progress-steps [data-state=complete] .trade-progress-marker {font-weight:750;border-color:var(--sc-muted)}
.trade-progress-steps [aria-current=step] {background:var(--sc-soft);color:var(--sc-ink);font-weight:750}
.trade-progress-steps [aria-current=step] .trade-progress-marker {color:var(--sc-accent);border-color:var(--sc-accent)}
@media(max-width:22rem) {
 .trade-progress-steps li {grid-template-columns:1rem minmax(0,1fr);row-gap:0}
 .trade-progress-steps small {grid-column:2}
}

 /* Shared colours and line weight for work, requests and confirmed coverage. */
 :root {--sc-trade-work:#cc5244;--sc-trade-covered:#64748b;--sc-trade-request:#1760b2;--sc-detail-bar-height:5px}
 @supports (color:light-dark(#000,#fff)) {
  :root {--sc-trade-work:light-dark(#cc5244,#ff8a80);--sc-trade-covered:light-dark(#64748b,#94a3b8);--sc-trade-request:light-dark(#1760b2,#79b8ff)}
 }
 .sc-shift-portion[data-state=working] .sc-shift-bar {background:var(--sc-trade-work)}
 .sc-shift-portion[data-state=covered] .sc-shift-bar {background:var(--sc-trade-covered)}
 .sc-shift-portion[data-state=requested] .sc-shift-bar {
  height:var(--sc-detail-bar-height);min-height:var(--sc-detail-bar-height);background:var(--sc-trade-request);
 }
 .sc-shift-portion[data-state=opportunity] .sc-shift-bar {
  height:var(--sc-detail-bar-height);min-height:var(--sc-detail-bar-height);background:var(--sc-opportunity,#08773c);
 }
 .sc-shift-card:has(.sc-shift-portion[data-state=opportunity]) .sc-shift-status {
  color:var(--sc-opportunity,#08773c);
  background:color-mix(in srgb,var(--sc-opportunity,#08773c) 12%,var(--sc-surface));
 }
 .sc-shift-portion[data-state=unavailable] .sc-shift-bar {background:var(--sc-line)}
 .rotation-week-day .calendar-duty-track[data-duty-bar=true].calendar-duty-full::after,
 .rotation-week-day .calendar-duty-track[data-duty-bar=true] .calendar-duty-half:has(.calendar-work-symbol)::after {background:var(--sc-trade-work)}
 .rotation-week-day:has(.trade-week-timeline) .calendar-duty-track[data-duty-bar=true]::after,
 .rotation-week-day:has(.trade-week-timeline) .calendar-duty-half:has(.calendar-work-symbol)::after {display:none}
 .rotation-week-day .trade-week-timeline {
  display:block;position:relative;width:92%;height:3px;min-height:3px;overflow:hidden;border-radius:3px
 }
 .trade-week-timeline>span {position:absolute;inset-block:0;background:var(--sc-trade-work)}
 .trade-week-timeline>span[data-state=covered] {background:var(--sc-trade-covered)}

.sample-trade-actions {min-width:0;margin-block:.55rem}
.sample-trade-actions p {font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}
.sample-trade-actions button {min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Detail actions live outside the list host; retain readable, bounded controls. */
.trade-detail-content .trade-card{min-width:0;overflow-wrap:anywhere}
.trade-detail-content .trade-card label{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;margin:.5rem 0}
.trade-detail-content .trade-card input[type=checkbox]{width:24px;height:24px;vertical-align:middle;margin-right:.45rem}
.trade-detail-content .trade-card :is(input,select){max-width:100%;min-width:0}
.trade-detail-content .trade-card button{min-height:44px;max-width:calc(100% - 4px);white-space:normal;overflow-wrap:anywhere}

.trade-crew-response {
 margin-block: .65rem; padding: .65rem;
 border: 1px solid var(--sc-accent); border-inline-start-width: 4px;
 border-radius: .5rem; overflow-wrap: anywhere;
}
.trade-crew-response > strong { color: var(--sc-accent) }
.trade-detail-content .trade-crew-response button:not(:disabled) {
 background: var(--sc-accent); color: var(--sc-onAccent, #fff);
}

.trade-detail-content .trade-interest-choice {
 margin-block: .65rem;
 padding: .65rem;
 border: 1px solid var(--sc-accent);
 border-inline-start-width: 4px;
 border-radius: .5rem;
}
.trade-detail-content .trade-interest-choice > :is(h3,summary) { color: var(--sc-accent) }
.trade-detail-content .trade-interest-choice button,
.trade-detail-content button.trade-express-interest {
 min-height: 44px;
 background: var(--sc-accent);
 color: var(--sc-onAccent, #fff);
}

.notification-needs-attention .notification-actions {
 border-inline-start: 3px solid var(--sc-accent);
 border-radius: .4rem;
 background: color-mix(in srgb,var(--sc-accent) 7%,var(--sc-surface));
}
