/* Team pages: crew, settings, hours, time per task, my work. Area-specific only; the kit lives in app.css. */

/* local tabs (shared pattern; the lead may move this to app.css) */
.ltabs { margin-bottom: 14px; overflow-y: hidden; }

/* crew */
.crew-p .rc .av { margin: 0; }
.crew-p .rt { display: inline-flex; align-items: center; gap: 6px; }
.crew-groups { display: inline-block; } .crew-groups > summary { font-size: .78rem; padding: 0; }
.crew-member-f { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 0 4px; font-size: .86rem; }
.crew-add { margin: 0 0 12px; } .crew-add > summary { font-weight: 600; }
.crew-form { margin-top: 6px; } .crew-check { padding-top: 22px; }
.crew-rename { gap: 4px; flex-wrap: nowrap; } .crew-rename input[name=name] { height: 30px; width: min(280px, 60vw); }
.crew-acct-a { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .crew-acct-a form { display: contents; } .crew-acct-a .inline input[name=password] { width: 190px; height: 30px; }
.crew-logins td { vertical-align: middle; }
.crew-secret { display: flex; flex-direction: column; gap: 4px; } .crew-secret code { font-size: 1.05rem; padding: 3px 8px; }
.crew-foot { margin-top: 20px; }
.flip .ic { transform: rotate(180deg); }

/* settings */
.acct-card { margin-bottom: 14px; }
.acct-you { display: flex; align-items: center; gap: 14px; } .acct-you > div { flex: 1; } .acct-you b { font-size: 1.05rem; }

/* hours */
.period-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.period-nav { display: inline-flex; align-items: center; gap: 4px; } .period-nav b { font-weight: 600; font-size: .92rem; min-width: 150px; text-align: center; }
.hrs-person { width: auto; height: 32px; }
.hrs-rate { justify-content: flex-end; } .hrs-rate input[name=rate] { width: 80px; height: 28px; text-align: right; }
.hrs-shift-f { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .hrs-shift-f input[type=datetime-local] { height: 30px; width: auto; } .hrs-shift-f input[name=note] { height: 30px; width: auto; flex: 1; min-width: 120px; }
.hrs-shifts td { vertical-align: middle; }
.hrs-add { margin-top: 6px; }

/* time per task */
.stats-type-f { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .stats-type-f input[name], .stats-type-f select[name] { height: 30px; width: auto; } .stats-type-f select[name] { max-width: 190px; }
.stats-type-f input[name=name] { flex: 1 1 200px; } .stats-type-f input[name=unit] { width: 120px; }

/* my work */
.me-chart .card-b { padding-top: 6px; }
.me-legend { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.me-legend i, .daychart i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.b-clock { background: var(--border-2); } .b-task { background: var(--accent); }
.daychart { display: flex; gap: 6px; align-items: flex-end; height: 140px; padding: 6px 0 0; }
.daychart .day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.daychart .bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--border); padding: 0 2px; }
.daychart .bars i { width: 45%; max-width: 22px; border-radius: 3px 3px 0 0; min-height: 2px; height: 0; }
.daychart .day span { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.daychart.month .bars { gap: 1px; } .daychart.month .bars i { width: 48%; }
.pbar { display: block; width: 100%; min-width: 80px; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; } .pbar i { display: block; height: 100%; background: var(--accent); }

@media (max-width: 720px) {
  .crew-acct-a .inline input { width: 100%; }
  .period-nav b { min-width: 0; }
  .daychart { height: 110px; } .daychart.month .day span { display: none; }
  .stats-type-f input[name], .stats-type-f select[name] { width: 100%; } .stats-type-f input[name=name] { flex-basis: 100%; }
  .hrs-shift-f input[type=datetime-local], .hrs-shift-f input[name=note] { width: 100%; }
}
