/* P5-85c (R-1012-37) the job card + crews sheet over the one-board schedule.
   House look: tokens.css / storm-look.css; nothing under 18 px; the designer's sheet
   (sketch2-quarter.html .sheet): navy ground, blue 3 px frame, 56 px buttons and x. */
.bc-layer { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; }
.bc-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.bc-sheet { position: relative; z-index: 1; width: 440px; max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px); overflow-y: auto; box-sizing: border-box;
  background: #0B0F15; color: var(--c-text, #FFFFFF); border: 3px solid var(--c-accent, #57A9FE);
  border-radius: 16px; padding: 14px 18px 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
  font-family: var(--font-ui, Arial, sans-serif); font-size: var(--fs-min, 18px); line-height: 1.3; }
.bc-sheet.bc-phone { position: absolute; left: 0; right: 0; bottom: 0; width: auto; max-width: none;
  border-radius: 16px 16px 0 0; border-width: 3px 0 0; }
.bc-layer:has(.bc-phone) { align-items: flex-end; }
/* P5-111 item 6 (R-1012-40): at 320 x 568 the sheet's bottom row (Edit crews / Close) was cut at the screen edge.
   The phone sheet scrolls inside itself and its button row stays pinned on screen at the sheet's foot */
.bc-sheet.bc-phone { overflow-y: auto; overscroll-behavior: contain; }
.bc-sheet.bc-phone .bc-btns { position: sticky; bottom: 0; z-index: 2; background: #0B0F15; padding: 8px 0 4px; margin-bottom: -4px; }
/* P5-95: the desk place sheet - same GF + week chips, wider so 13 weeks wrap in three rows */
.bc-sheet.bc-desk-place { width: 680px; }
.bc-h { margin: 0 64px 2px 0; font-size: var(--fs-head, 24px); font-weight: var(--fw-head, 700); }
.bc-cu { color: var(--c-border, #C7C7C7); font-size: 18px; margin-bottom: 10px; }
.bc-r { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  border-top: 1px solid #1C2634; padding: 8px 0; font-size: 18px; }
.bc-k { color: var(--c-border, #C7C7C7); font-size: 18px; }
.bc-v { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-weight: 600; }
.bc-v .bc-val { display: inline; }
.bc-b { display: block; font-size: 18px; font-weight: 400; color: var(--c-border, #C7C7C7); }
.bc-as { display: inline-block; margin-top: 2px; background: #FFB020; color: #000000; border-radius: 6px;
  padding: 0 6px; font-size: 18px; font-weight: 700; }
.bc-a { color: var(--c-accent, #57A9FE); text-decoration: underline; font-size: 18px; font-weight: 600;
  min-height: 48px; display: inline-flex; align-items: center; }
.bc-map { justify-content: flex-start; }
.bc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.bc-bt { flex: 1 1 120px; min-height: 56px; border-radius: 12px; font-size: 20px; font-weight: 700;
  font-family: inherit; cursor: pointer; }
.bc-bt.bc-p { background: var(--c-accent, #57A9FE); color: var(--c-on-accent, #000000); border: 2px solid var(--c-accent, #57A9FE); }
.bc-bt.bc-s { background: transparent; color: var(--c-text, #FFFFFF); border: 2px solid #7A8AA0; }
.bc-x { position: absolute; right: 12px; top: 10px; width: 56px; height: 56px; border: 2px solid #7A8AA0;
  border-radius: 12px; background: transparent; color: var(--c-text, #FFFFFF); font-size: 26px; cursor: pointer; }
.bc-bt:focus-visible, .bc-x:focus-visible, .bc-i:focus-visible, .bc-chip:focus-visible, .bc-a:focus-visible {
  outline: 3px solid var(--c-accent, #57A9FE); outline-offset: 2px; }
/* crews sheet */
.bc-mk { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid #1C2634; padding: 8px 0; font-size: 18px; }
.bc-step { display: inline-flex; align-items: center; gap: 10px; }
.bc-i { width: 56px; height: 56px; border-radius: 12px; border: 2px solid #7A8AA0; background: transparent;
  color: var(--c-text, #FFFFFF); font-size: 26px; font-weight: 700; cursor: pointer; }
.bc-n { min-width: 40px; text-align: center; font-size: var(--fs-number, 40px); font-weight: 500; }
.bc-in { width: 120px; min-height: 56px; box-sizing: border-box; font-size: 20px; font-family: inherit;
  background: #000000; color: var(--c-text, #FFFFFF); border: 2px solid var(--c-border, #C7C7C7);
  border-radius: 10px; padding: 0 10px; text-align: right; }
.bc-math { margin: 12px 0 0; padding: 10px 12px; border: 2px solid var(--c-rule, #007CFD); border-radius: 10px;
  font-size: 18px; font-weight: 600; }
.bc-math-need { border-color: #7A8AA0; color: var(--c-border, #C7C7C7); font-weight: 400; }
/* phone: put on the board */
.bc-pick-h { margin: 12px 0 6px; }
.bc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-chip { min-height: 56px; min-width: 96px; padding: 4px 12px; border-radius: 12px; border: 2px solid #7A8AA0;
  background: transparent; color: var(--c-text, #FFFFFF); font-size: 18px; font-family: inherit;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.bc-chip[aria-pressed="true"] { background: var(--c-chosen-bg, #57A9FE); color: var(--c-chosen-text, #000000);
  border-color: var(--c-accent, #57A9FE); }
.bc-chip[aria-pressed="true"] .bc-b { color: var(--c-chosen-text, #000000); }
.bc-line { display: flex; align-items: center; margin: 10px 0 0; font-size: 18px; font-weight: 500; }
.bc-line[hidden] { display: none; }
/* the ONE waiting picture (R-1011-24): the frameless hurricane, spinning */
.bc-buffer { display: inline-block; width: 28px; height: 28px; flex: none;
  background: url(img/hurricane-512.png) center / contain no-repeat;
  animation: bc-hspin 1.5s linear infinite; margin-right: 8px; }
@keyframes bc-hspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bc-buffer { animation: none; } }
