/* Till shifts: the Start / Close / Report sheets and the header dot. */
.sh-dot { width: 8px; height: 8px; border-radius: 99px; background: rgba(150,150,150,.45); flex: none; }
.sh-dot.on { background: #34d399; box-shadow: 0 0 8px #34d399; }
.sh-dot.off { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,.7); }

.sh-muted { font-size: 13px; opacity: .6; margin: 0 0 12px; line-height: 1.5; }
.sh-note { font-size: 13.5px; padding: 10px 12px; border-radius: 12px; margin: 0 0 12px;
  background: rgba(245,158,11,.12); color: #f59e0b; border: 1px solid rgba(245,158,11,.3); }
.sh-h { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin: 18px 0 8px; font-weight: 600; }
.sh-hint { font-size: 12px; opacity: .55; margin: 4px 0 0; min-height: 1em; }

.sh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-field { display: block; margin-top: 10px; }
.sh-field span { display: block; font-size: 12px; opacity: .6; margin-bottom: 5px; }
.sh-field input { width: 100%; height: 48px; border-radius: 12px; padding: 0 14px; font-size: 16px;
  background: rgba(127,127,127,.08); border: 1px solid rgba(127,127,127,.25); color: inherit; outline: none; }
.sh-field input:focus { border-color: rgb(var(--brand)); box-shadow: 0 0 0 3px rgba(var(--brand), .18); }

.sh-primary, .sh-second { width: 100%; height: 50px; border-radius: 14px; font-size: 15px; font-weight: 600; margin-top: 16px; cursor: pointer; }
.sh-primary { background: linear-gradient(135deg, rgb(var(--brand)), rgb(var(--brand2, var(--brand)))); color: rgb(var(--on-brand, 0 0 0));
  border: 0; box-shadow: 0 8px 24px -8px rgba(var(--brand), .7); }
.sh-second { background: transparent; color: inherit; border: 1px solid rgba(127,127,127,.3); }
.sh-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-actions > :only-child { grid-column: 1 / -1; }
.sh-link { display: block; margin: 14px auto 0; background: none; border: 0; color: rgb(var(--brand)); font-size: 13.5px; cursor: pointer; }

.sh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sh-tile { border-radius: 14px; padding: 10px 12px; border: 1px solid rgba(127,127,127,.2); background: rgba(127,127,127,.06); min-width: 0; }
.sh-tile p { margin: 0; font-size: 11.5px; opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-tile b { display: block; font-size: 19px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-tile small { display: block; font-size: 11px; opacity: .5; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-tile.hot { border-color: rgba(var(--brand), .5); background: linear-gradient(160deg, rgba(var(--brand), .2), rgba(var(--brand), .04)); }
.sh-tile.hot b { color: rgb(var(--brand)); }

.sh-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; font-size: 14px;
  border-bottom: 1px dashed rgba(127,127,127,.2); }
.sh-rows > div > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sh-rows > div > span:last-child { white-space: nowrap; }
.sh-rows .sh-strong { font-weight: 700; }
.sh-items { max-height: 260px; overflow-y: auto; }
.sh-ok, .sh-diff.ok { color: #34d399; }
.sh-bad, .sh-diff.bad { color: #f87171; }
.sh-warn, .sh-diff.warn { color: #f59e0b; }
.sh-rows .sh-ok, .sh-rows .sh-bad, .sh-rows .sh-warn { font-weight: 700; }
.sh-diff { font-size: 15px; font-weight: 700; margin: 8px 0 0; min-height: 1.2em; }

.sh-list { display: grid; gap: 8px; }
.sh-list button { display: flex; justify-content: space-between; gap: 10px; text-align: left; width: 100%; padding: 12px 14px;
  border-radius: 14px; border: 1px solid rgba(127,127,127,.2); background: rgba(127,127,127,.05); color: inherit; cursor: pointer; font-size: 14px; }
.sh-list button:hover { border-color: rgba(var(--brand), .5); }
.sh-list small { display: block; font-size: 12px; opacity: .6; margin-top: 2px; }
.sh-list .num { text-align: right; white-space: nowrap; }

@media (max-width: 639.98px) {
  .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-tile.hot { grid-column: 1 / -1; }
}
.sh-live { font-style: normal; font-size: 11px; color: #34d399; margin-left: 6px; }
