.shotPlanning{position:relative;overflow:auto;min-height:0;flex:1;padding:4px 6px 20px;scrollbar-width:none}.shotPlanning::-webkit-scrollbar{display:none}.shotPlanHint{font-size:12px;color:#aaa;line-height:1.5;margin:6px 0 14px}.shotPlanGroup{font-size:12px;font-weight:650;padding:14px 4px 8px;color:#ccc}.shotPlanRow{display:flex;position:relative;align-items:stretch;background:#24282d;border:1px solid #3c4148;border-radius:8px;margin:5px 0;min-height:58px}.shotPlanRow.block{background:var(--block-color,#f97316);color:#0b0b0b}.shotPlanSelect{background:none;border:0;color:inherit;text-align:left;display:grid;grid-template-columns:146px 1fr;gap:14px;padding:12px;flex:1;min-width:0;cursor:pointer;font:inherit}.shotPlanClock{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.shotPlanClock small{display:block;opacity:.75;margin-top:5px}.shotPlanSelect strong{font-size:13px}.shotPlanDescription{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;opacity:.72;margin-top:4px}.shotPlanGrip{touch-action:none;background:none;border:0;color:#bbb;font-size:24px;cursor:grab;padding:8px}.shotPlanGrip:disabled{opacity:.3}.shotPlanRow.selected{outline:2px solid #ddd}.shotPlanRow.dragging{z-index:3;opacity:.7}.shotPlanRow.dropTarget{outline:2px solid #90c6ff}.shotPlanDetail{position:sticky;bottom:0;background:#17191c;border:1px solid #555;border-radius:10px;padding:16px;box-shadow:0 -8px 24px #0008;z-index:4;max-height:65%;overflow:auto}.shotPlanDetail[hidden]{display:none}.shotPlanClose{float:right}.shotPlanDetail h3{margin:2px 0 10px}.shotPlanDetail label{display:block;max-width:220px}.shotPlanFullDescription{white-space:pre-wrap;line-height:1.5}.shot-unit-active .dayplanBody{display:none!important}.shot-unit-active #shotPlanDay{display:block}.shot-unit-active #dayplanHead{flex:0 0 auto}.shot-unit-active .cardContent{min-height:0;display:flex;flex-direction:column}.shotPlanBoard{display:flex!important;gap:14px;align-items:stretch;overflow:auto}.shotPlanDayColumn{flex:1 0 340px;min-width:280px;max-width:520px;display:flex;flex-direction:column;min-height:0}.shotPlanDayHeading{position:sticky;top:0;background:#242424;border:1px solid #444;border-radius:9px;padding:12px;z-index:5;font-size:13px}.shotPlanDayColumn .shotPlanSelect{grid-template-columns:1fr;gap:5px}.shotPlanDayColumn .shotPlanClock small{display:inline;margin-left:10px}.shotPlanDayColumn .shotPlanHint{display:none}.shotPlanningUnit{align-items:center;white-space:nowrap}.shotPlanningUnit select{width:120px}@media(max-width:700px){.shotPlanSelect{grid-template-columns:1fr;gap:5px;padding:10px}.shotPlanClock small{display:inline;margin-left:10px}.shotPlanDetail{max-height:55%}.shotPlanDayColumn{flex-basis:85vw}.shotPlanHint{font-size:11px}}@media print{.shotPlanning,.shotPlanningUnit{display:none!important}}

#schedBoard.shotPlanBoard{height:100%;box-sizing:border-box;overflow:visible}.shotPlanDayColumn{width:360px;flex:0 0 360px}.shotPlanning[hidden]{display:none!important}

.shotPlanRow.dropTarget{outline:0}.shotPlanRow.dropTarget:before{content:"";position:absolute;left:0;right:0;height:4px;background:#9accff;z-index:9;top:-4px;border-radius:4px}.shotPlanRow.dropTarget[data-drop-position="after"]:before{top:auto;bottom:-4px}.shotPlanning.dropEmpty{outline:2px dashed #9accff;outline-offset:-4px}.shotPlanMove{display:flex;flex-wrap:wrap;gap:10px;align-items:end;border-top:1px solid #3c4148;margin-top:14px;padding-top:14px}.shotPlanMove label{flex:1 1 180px;max-width:none}.shotPlanMove select{width:100%;margin-top:6px}.shot-plan-dragging{user-select:none;cursor:grabbing}.shotPlanRows{min-height:70px}.shotPlanDetail .shotPlanMove button{min-height:40px}

@media(max-width:700px){.shotPlanDetail:not([hidden]){position:fixed;inset:110px 12px 20px;max-height:none;z-index:200;overflow:auto;box-shadow:0 0 0 100vmax #0008}.shotPlanMove{display:grid;grid-template-columns:1fr}.shotPlanDetail label{max-width:none}.shotPlanMove button{width:100%}}

.shotPlanAdd{margin:6px 0 12px;font-size:12px}.shotPlanAdd summary{cursor:pointer;padding:8px;border:1px solid #444;border-radius:6px}.shotPlanAdd select{width:100%;max-width:100%;margin:8px 0}.shotPlanAdd button{margin-bottom:8px}

/* The planning unit changes the cards, not the board's visual language. */
@media screen{
  .shotPlanning.shotPlanTimeline{padding:0!important;border:1px solid var(--border);border-radius:6px;background:rgba(0,0,0,.08);}
  .shotPlanRows{position:relative;box-sizing:border-box;}
  .shotPlanTimeline .shotPlanRows{min-height:0;}
  .shotPlanGridLine{position:absolute;left:88px;right:0;height:1px;background:rgba(255,255,255,.12);pointer-events:none;}
  .shotPlanGridLine.hour{background:rgba(255,255,255,.18);}
  .shotPlanGridLine span{position:absolute;right:100%;width:78px;margin-right:10px;padding-left:10px;box-sizing:border-box;transform:translateY(-50%);font-size:12px;opacity:.78;white-space:nowrap;}
  .shotPlanRow{border:1px solid #ffffff0d;border-left:3px solid #bfdbfe;border-radius:5px;background:#24282d;box-shadow:none;min-height:0;box-sizing:border-box;}
  .shotPlanRow.block{border-left:0;background:var(--block-color,#f97316);}
  .shotPlanTimeline .shotPlanRow{position:absolute;left:98px;right:10px;margin:0;}
  .shotPlanSelect{padding:5px 9px;gap:7px;grid-template-columns:94px minmax(0,1fr);align-content:start;align-items:baseline;overflow:hidden;}
  .shotPlanSelect strong{font-size:12px;line-height:18px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .shotPlanClock{font-size:11px;line-height:18px;font-weight:500;opacity:.9;}
  .shotPlanTimeline .shotPlanClock small{display:none;}
  .shotPlanTimeline .shotPlanRow.is-short .shotPlanSelect{padding-top:0;padding-bottom:0;}
  .shotPlanRow.is-short .shotPlanSelect strong,.shotPlanRow.is-short .shotPlanClock{line-height:16px;}
  .shotPlanGrip{position:absolute;right:0;top:0;bottom:0;width:28px;padding:0;font-size:20px;opacity:0;z-index:1;}
  .shotPlanRow:hover .shotPlanGrip,.shotPlanGrip:focus-visible{opacity:1;background:#ffffff12;}
  .shotPlanRow:has(.shotPlanGrip) .shotPlanSelect{padding-right:30px;}
  .shotPlanCompact .shotPlanRows{display:flex;flex-direction:column;gap:5px;padding:8px 0;}
  .shotPlanCompact .shotPlanRow{margin:0;min-height:48px;}
  .shotPlanCompact .shotPlanSelect{padding:10px;grid-template-columns:165px minmax(0,1fr);}
  .shotPlanCompact .shotPlanClock small{display:inline;margin-left:10px;font-weight:600;}
  #schedBoard.shotPlanBoard{height:auto;min-height:100%;align-items:stretch;gap:12px;}
  .shotPlanDayColumn{display:block;width:360px;flex:0 0 360px;min-width:0;max-width:none;}
  .shotPlanDayHeading.schedHead{border:0;border-bottom:1px solid var(--border);border-radius:18px 18px 0 0;z-index:70;}
  .shotPlanDayColumn .shotPlanning{overflow:visible;max-height:none!important;border:0;border-radius:0;padding:0!important;}
  .shotPlanDayColumn .shotPlanGridLine{left:56px;background:rgba(255,255,255,.06);}
  .shotPlanDayColumn .shotPlanGridLine span{width:46px;margin-right:0;left:-48px;right:auto;padding:0;font-size:11px;}
  .shotPlanDayColumn .shotPlanTimeline .shotPlanRow{left:56px;right:10px;}
  .shotPlanDayColumn .shotPlanSelect{grid-template-columns:1fr;gap:3px;}
  .shotPlanDayColumn .shotPlanClock{font-size:10px;line-height:13px;opacity:.8;}
  .shotPlanDayColumn .shotPlanSelect strong{line-height:16px;}
  .shotPlanDayColumn .is-short .shotPlanSelect{display:flex;gap:6px;}
  .shotPlanDayColumn .is-short .shotPlanClock{font-size:9px;flex:none;}
  .shotPlanDayColumn .is-short .shotPlanSelect strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;display:block;}
  .shotPlanDayColumn .shotPlanCompact .shotPlanRows{padding:8px 18px;}
  .shotPlanDayColumn .shotPlanDetail{position:fixed;right:24px;top:170px;bottom:24px;width:320px;max-height:none;box-sizing:border-box;z-index:90;}
  .shotPlanDetail{border:1px solid #363636;background:#191919;border-radius:8px;font-size:12px;}
  .shotPlanDetail h3{font-size:15px;line-height:1.4;}
  @media(max-width:700px){
    .shotPlanSelect{grid-template-columns:1fr;gap:2px;}
    .shotPlanTimeline .shotPlanRow{left:56px;right:6px;}
    .shotPlanGridLine{left:50px;}.shotPlanGridLine span{width:46px;margin-right:4px;font-size:10px;padding-left:6px;}
    .shotPlanCompact .shotPlanSelect{grid-template-columns:1fr;gap:3px;}
    .shotPlanDayColumn{width:280px;flex-basis:280px;}
    .shotPlanDayColumn .shotPlanDetail:not([hidden]){inset:110px 12px 20px;width:auto;}
  }
  @media(pointer:coarse){.shotPlanGrip{opacity:1;width:44px;background:#ffffff0c;}.shotPlanRow:has(.shotPlanGrip) .shotPlanSelect{padding-right:46px;}}
}

@media screen and (min-width:701px){
  #shotPlanDay .shotPlanDetail:not([hidden]){position:fixed;bottom:auto;max-height:none;z-index:80;box-sizing:border-box;overflow:auto;}
}
@media screen and (min-width:1101px){#shotPlanDay.has-detail .shotPlanRows{margin-right:334px;}}

@media screen{
  #dayplanHead .shotPlanAdd{margin:8px 0 0;max-width:480px;}
  @media(max-width:700px){
    .shotPlanTimeline .is-tight .shotPlanSelect{display:flex;align-items:baseline;gap:5px;padding-top:0;padding-bottom:0;}
    .shotPlanTimeline .is-tight .shotPlanClock{font-size:9px;flex:none;}
    .shotPlanTimeline .is-tight .shotPlanSelect strong{display:block;white-space:nowrap;text-overflow:ellipsis;line-height:16px;font-size:11px;}
  }
}
