body.login-page { overflow: auto; min-height: 100vh; display: grid; place-items: center; background: #f1f4f4; padding: 24px; }
.login-form { width: min(100%, 380px); }
.login-form h1 { font-size: 24px; margin: 0 0 32px; }
.login-form label { display: block; margin: 18px 0 8px; }
.login-error { color: #ad3b39; min-height: 22px; overflow-wrap: anywhere; }
.team-dialog { width: min(780px, calc(100% - 24px)); max-height: 85vh; border: 1px solid #cbd3d3; border-radius: 8px; padding: 0; color: #182227; }
.team-dialog::backdrop { background: rgb(0 0 0 / 35%); }
.team-body { padding: 16px; overflow: auto; }
#teamMessage { margin: 0 0 12px; color: #8e4b29; overflow-wrap: anywhere; }
.team-job, .team-user { padding: 14px 0; border-bottom: 1px solid #dde3e3; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.team-job-preview { position: relative; flex: 0 0 240px; width: 240px; height: 80px; display: grid; place-items: center; background: #edf1f2; color: #64737a; font-size: 12px; }
.team-job-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.team-job-preview img[hidden] { display: none; }
.team-job-details { display: grid; gap: 6px; flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.team-job-details > span { font-size: 12px; color: #64737a; line-height: 1.5; }
.team-job-details strong { font-size: 14px; line-height: 1.5; }
.task-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 0 0 12px; border-bottom: 1px solid #dde3e3; }
.task-pagination > span { margin-right: auto; color: #64737a; font-size: 12px; }
.task-pagination .select { width: 130px; height: 30px; }
.team-job small { flex-basis: 100%; color: #965744; overflow-wrap: anywhere; }
.team-user-form { display: grid; grid-template-columns: 1fr 1.2fr 110px auto; gap: 10px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid #cbd3d3; }
.team-user-form label { display: grid; gap: 6px; min-width: 0; }
.team-user > strong { flex: 1 1 90px; overflow-wrap: anywhere; }
.team-user .input { width: 100px; }
.team-user input[type=password] { width: 150px; }
.team-user label { display: inline-flex; align-items: center; gap: 6px; }
.top-actions #teamUser { font-size: 12px; max-width: 150px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .task-pagination > span { flex-basis: 100%; }
  .team-job-preview { flex-basis: 100%; width: 100%; height: auto; aspect-ratio: 3 / 1; }
  .team-user-form { grid-template-columns: 1fr; }
  .topbar { height: auto; min-height: 58px; flex-wrap: wrap; gap: 10px; padding: 10px; }
  .top-actions { flex-wrap: wrap; gap: 6px; }
  .top-actions #teamUser { max-width: none; }
}
