.object-exercise.sample-workspace {
  --sample-ink: #162f49;
  --sample-blue: #214997;
  --sample-border: #b8cce6;
  --sample-soft: #e9f1fd;
  color: var(--sample-ink);
  background: #f4f8fd;
  border-color: var(--sample-border);
}
.sample-workspace .sample-scope, .sample-workspace .sample-help { margin: .4rem 0 .65rem; color: #425b79; font-size: .88rem; }
.sample-workspace .sample-board { display: grid; gap: .35rem; min-width: 0; }
.sample-workspace .sample-branches { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .3rem; }
.sample-workspace .sample-branches button {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  min-width: 0; min-height: 43px; margin: 0; padding: .2rem .4rem; gap: .1rem;
  border: 1px solid var(--sample-border); border-radius: .55rem; background: #fff; color: var(--sample-ink);
}
.sample-workspace .sample-branches button[aria-pressed="true"] { border-color: var(--sample-blue); background: var(--sample-soft); box-shadow: inset 0 -2px var(--sample-blue); }
.sample-workspace [data-sample-class-count] { font-size: .8rem; font-variant-numeric: tabular-nums; }
.sample-workspace .sample-class, .sample-workspace .sample-tray { min-width: 0; border: 1px solid var(--sample-border); border-radius: .6rem; padding: .28rem; background: #fff; }
.sample-workspace .sample-class { margin: 0; }
.sample-workspace .sample-people { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .3rem; }
.sample-workspace .sample-people .sample-person {
  position: relative; display: grid; place-items: center; box-sizing: border-box;
  width: 100%; min-width: 0 !important; min-inline-size: 0 !important; min-height: 38px;
  margin: 0; padding: .05rem; border: 1px solid #6282bb; border-radius: .4rem;
  background: #e8f0fd; color: var(--sample-ink); touch-action: none; user-select: none; cursor: grab;
  font-weight: 750; font-variant-numeric: tabular-nums;
}
.sample-workspace .sample-people .sample-person:disabled { background: #f1f4f8; color: #66778d; opacity: .65; cursor: default; }
.sample-workspace .sample-person[aria-pressed="true"] { background: #cfe0ff; box-shadow: inset 0 0 0 2px var(--sample-blue); }
.sample-workspace .sample-club-mark { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 12px; height: 12px; padding: 0; border-radius: 3px; background: #fbe8bd; color: #563310; font-size: 8px; font-weight: 750; line-height: 1; }
.sample-workspace .sample-tray { margin: 0; border: 2px dashed #719bc7; background: #eaf4ff; min-height: 3.3rem; }
.sample-workspace .sample-tray-header { display: flex; align-items: center; justify-content: space-between; min-height: 1.8rem; }
.sample-workspace .sample-tray-header strong { padding-inline-start: .15rem; font-size: .83rem; }
.sample-workspace .sample-tray-nav { display: flex; gap: .2rem; }
.sample-workspace .sample-tray-nav[hidden] { display: none; }
.sample-workspace .sample-tray-nav button {
  display: grid; place-items: center; min-width: 2rem !important; min-height: 1.8rem !important;
  height: 1.8rem; margin: 0; padding: 0; border: 1px solid #7195cb; background: #fff; font-size: 1.05rem;
}
.sample-workspace .sample-picked {
  display: flex; gap: .3rem; align-items: center; min-height: 2.35rem;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin;
}
.sample-workspace .sample-picked > span { color: #3d5674; font-size: .83rem; padding-inline-start: .15rem; }
.sample-workspace .sample-picked button {
  display: inline-flex; align-items: center; gap: .18rem; flex: 0 0 auto;
  min-width: 42px; min-height: 37px; margin: 0; padding: .12rem .25rem;
  border: 1px solid #7195cb; border-radius: .4rem; background: #fff; color: var(--sample-ink);
  font-size: .8rem; white-space: nowrap; touch-action: none; user-select: none; cursor: grab;
}
.sample-workspace .sample-picked button small { color: #4a617c; font-size: .7rem; }
.sample-workspace[data-sample-dragging="sample"] [data-sample-tray], .sample-workspace[data-sample-dragging="return"] [data-sample-branch] { border-color: var(--sample-blue); background: #d5e7ff; }
.sample-workspace button:focus-visible { outline: 3px solid #584184; outline-offset: -3px; }
.sample-workspace .sample-notice { margin: 0; color: #743d17; font-size: .87rem; }
.sample-workspace .sample-notice:empty, .sample-workspace .sample-output:empty { display: none; }
.sample-workspace .sample-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0; }
.sample-workspace .sample-actions button { min-height: 42px; margin: 0; }
.sample-workspace [data-sample-stage][aria-pressed="true"] { box-shadow: inset 0 -3px var(--sample-blue); }
.sample-workspace .sample-output { scroll-margin-block: 6rem; }
.sample-workspace .sample-results { border-radius: .5rem; background: #e7f2ff; padding: .55rem; }
.sample-workspace .sample-comparison { display: grid; gap: .35rem; margin: .5rem 0; padding: .45rem; border: 1px solid var(--sample-border); border-radius: .5rem; background: #fff; }
.sample-workspace .sample-comparison > div { display: flex; justify-content: space-between; gap: .5rem; }
.sample-workspace .sample-comparison p { margin: 0; }
.sample-drag-ghost {
  position: fixed; z-index: 2147483640; transform: translate(8px,-110%); pointer-events: none;
  padding: .28rem .45rem; border-radius: .48rem; border: 1px solid #214997;
  background: #fff; color: #162f49; box-shadow: 0 4px 12px #213a6760; font-weight: 750;
}
