/* Time Clock additions. Base look comes from app.css (shared with the repair app). */
.kicker { margin: 0; color: var(--ink-soft); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }
.status-card h1 { margin: 2px 0 6px; }
.big-timer, .big-num { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; margin: 6px 0; }
.big-num { font-size: 2.6rem; }
.clock-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.clock-note .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.row-item { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.row-item:first-of-type { border-top: 0; }
.row-item > strong { grid-column: 1; }
.row-item > span:nth-child(2) { grid-column: 1; color: var(--ink-soft); font-size: 0.95rem; }
.row-item .row-right { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.row-item form { margin: 0; }
.chip { display: inline-block; border-radius: 99px; padding: 1px 9px; font-size: 0.78rem; font-weight: 700; background: #f3efe8; color: var(--ink-soft); white-space: nowrap; }
.chip.ok { background: var(--pine-wash); color: var(--pine); }
.chip.warn { background: var(--clay-wash); color: var(--clay); }
.soon-row { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--ink-soft); font-size: 0.92rem; }
.soon-tag { display: inline-block; background: var(--orange-wash); color: var(--orange-deep); font-weight: 700; border-radius: 99px; padding: 4px 12px; }
.week-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.week-head h2 { margin: 0; font-size: 1.35rem; }
.week-total { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.week-total strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.more-list { display: grid; gap: 0; }
.more-list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 8px 2px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.more-list a:first-child { border-top: 0; }
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.title-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.title-actions .btn { width: auto; }
.period-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 12px; flex-wrap: wrap; }
.period-nav strong { font-family: var(--display); font-size: 1.4rem; }
.period-nav .btn { width: auto; }
.filter-row { display: grid; gap: 0 10px; align-items: end; grid-template-columns: 1fr 1fr; }
.filter-row > :first-child, .filter-row > .checkline, .filter-row > .filter-buttons { grid-column: 1 / -1; }
.filter-row > * { min-width: 0; }
.filter-buttons { display: flex; gap: 8px; padding-top: 8px; }
.filter-buttons .btn { width: auto; flex: 1; }
.checkline { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 600; }
.checkline input { width: 26px; height: 26px; margin: 0; flex: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair > * { min-width: 0; }
.sub-h { margin-top: 22px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); padding: 8px 6px; border-bottom: 2px solid var(--line-strong); white-space: nowrap; }
table.data td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data td a { color: var(--orange-deep); }
table.data .num { text-align: right; white-space: nowrap; }
table.data tr.off td { color: var(--ink-soft); }
table.data tr.flagged td { background: #fff6f2; }
table.data tr.week-row td { background: #f3efe8; font-size: 0.9rem; border-bottom: 2px solid var(--line-strong); }
table.data small, .muted { color: var(--ink-soft); }
.ot { color: var(--clay); font-weight: 700; }
.thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-strong); margin-top: 4px; display: block; background: var(--paper); }
.thumb.big { width: 96px; height: 72px; margin: 0; }
.ts-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ts-head h2 { margin: 0; }
.ts-sum { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.ts-sum strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; position: sticky; top: 0; z-index: 3; }
.bulk-bar .btn { width: auto; }
.punch { border-top: 1px solid var(--line); padding: 12px 0; }
.punch:first-of-type { border-top: 0; }
.punch-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.edit-box { margin-top: 8px; }
.edit-box summary { font-weight: 700; color: var(--orange-deep); min-height: 44px; display: flex; align-items: center; }
.audit-item { border-top: 1px solid var(--line); padding: 12px 0; }
.audit-item:first-of-type { border-top: 0; }
table.diff { margin-top: 6px; font-size: 0.88rem; }
.stack.row { display: grid; gap: 8px; }
.reveal { border-color: var(--orange); }
.secret { font-family: var(--display); font-size: 2.2rem; font-weight: 700; letter-spacing: 0.12em; background: var(--orange-wash); padding: 2px 10px; border-radius: 10px; display: inline-block; }
.area-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.area-row .btn { width: auto; }
.pager { display: flex; gap: 10px; margin-top: 12px; }
.pager .btn { width: auto; }
.gate { width: min(460px, calc(100% - 28px)); margin: 28px auto 48px; }
.gate .brand { margin-bottom: 18px; }
.gate .brand-kicker, .gate .brand-name { color: var(--pine-ink); }
@media (min-width: 700px) {
  .filter-row { grid-template-columns: repeat(4, 1fr) auto; gap: 4px 12px; }
  .filter-row > :first-child, .filter-row > .checkline, .filter-row > .filter-buttons { grid-column: auto; }
  .stack.row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .top-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
  .top-links a { color: var(--pine-ink); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; }
  .top-links a.on { background: rgba(255, 250, 246, 0.14); }
  .bottom-nav { display: none; }
  .wrap { padding-bottom: 64px; }
}
.area-pick { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; padding: 4px 12px; background: white; }
.area-pick-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.area-pick-row:first-child { border-top: 0; }
.area-pick-row .checkline { margin: 0; }
.primary-pick { color: var(--ink-soft); font-size: 0.92rem; }
.primary-pick input { width: 22px; height: 22px; }
.split-form { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Phones: tighter timesheet table so In, Out, Break, Hours and Flags fit without sideways scrolling */
@media (max-width: 520px) {
  .ts-table { font-size: 0.78rem; }
  .ts-table th, .ts-table td { padding: 6px 3px; }
  .ts-table td:first-child, .ts-table th:first-child { width: 26px; }
}
