/* Tela Configurações */
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1rem; margin-top: 1rem; max-width: 1100px; }
.st-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.st-card h2 { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--text-primary); }
.st-card h2 svg, .st-card h2 i { color: var(--accent-primary); }
.st-help { margin: -0.4rem 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }
.st-note { margin: 0; font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; padding: 0.5rem 0.7rem; background: var(--bg-surface-elevated); border-radius: 8px; }
.st-row { display: flex; flex-direction: column; gap: 0.4rem; }
.st-row > label { font-size: 0.8rem; font-weight: 700; color: var(--text-secondary); }
.st-sum { margin: 0; font-size: 0.85rem; color: var(--text-secondary); }
.st-sum b { color: var(--text-primary); }
.st-input { font-family: inherit; font-size: 0.95rem; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-surface-elevated); color: var(--text-primary); width: 9rem; }
.st-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.st-seg button { font-family: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.45rem 0.85rem; border: 0; border-right: 1px solid var(--border-color); background: transparent; color: var(--text-secondary); cursor: pointer; }
.st-seg button:last-child { border-right: 0; }
.st-seg button:hover { background: var(--bg-surface-elevated); }
.st-seg button.on { background: var(--accent-primary); color: #fff; }
.st-stepper { display: inline-flex; align-items: center; gap: 0.35rem; }
.st-stepper button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-color); background: transparent; color: var(--text-primary); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.st-stepper button:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.st-stepper input { width: 4.2rem; text-align: center; font-family: inherit; font-size: 1rem; font-weight: 700; padding: 0.35rem; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-surface-elevated); color: var(--text-primary); }
.st-stepper span { font-size: 0.82rem; color: var(--text-muted); margin-left: 0.2rem; }
.st-dh { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; }
.st-dh-cell { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.74rem; font-weight: 700; color: var(--text-secondary); }
.st-dh-cell.off { opacity: 0.55; }
.st-dh-cell input { width: 100%; min-width: 0; text-align: center; font-family: inherit; font-size: 0.95rem; font-weight: 700; padding: 0.35rem 0.1rem; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-surface-elevated); color: var(--text-primary); }
.st-dh-cell input:disabled { cursor: not-allowed; font-weight: 500; }
.st-dh-cell input::placeholder { font-weight: 500; font-size: 0.75rem; color: var(--text-muted); }
.st-hint { color: var(--text-muted); font-size: 0.76rem; font-weight: 400; }
/* na equipe a grade dos 7 dias fica numa segunda linha, embaixo das horas e dos dias (colunas 2 e 3) */
.st-person .st-dh { grid-column: 2 / 4; max-width: 520px; }
.st-days { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.st-days button { font-family: inherit; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 999px; border: 1px solid var(--border-color); background: transparent; color: var(--text-secondary); cursor: pointer; }
.st-days button.on { background: color-mix(in srgb, var(--accent-primary) 14%, transparent); border-color: var(--accent-primary); color: var(--accent-primary); }
.st-saved { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; font-weight: 700; color: #15803d; opacity: 0; transition: opacity .25s; }
.st-saved.on { opacity: 1; }
.st-team { margin-top: 1rem; max-width: 1100px; }
.st-team-body { display: flex; flex-direction: column; }
.st-person { display: grid; grid-template-columns: minmax(180px, 1.2fr) auto auto 3.5rem; align-items: center; gap: 0.8rem 1.2rem; padding: 0.65rem 0; border-top: 1px solid var(--border-subtle, var(--border-color)); }
.st-person:first-child { border-top: 0; }
.st-person-id { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.st-person-id img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--bg-surface-elevated); flex-shrink: 0; }
.st-person-id b { display: block; font-size: 0.9rem; }
.st-person-id small { display: block; font-size: 0.75rem; color: var(--text-muted); }
.st-person-saved { font-size: 0.75rem; font-weight: 700; color: #15803d; opacity: 0; transition: opacity .25s; }
.st-person-saved.on { opacity: 1; }
.st-empty { color: var(--text-muted); font-size: 0.88rem; padding: 0.5rem 0; }
@media (max-width: 800px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-person { grid-template-columns: 1fr; gap: 0.5rem; }
  .st-person .st-dh { grid-column: 1; max-width: none; }
  .st-seg { max-width: 100%; }
}

/* atalho da hora padrao no calendario de datas */
.dp-time-suggest { align-self: flex-start; font-family: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.2rem 0.6rem; margin: 0.1rem 0 0.2rem; border-radius: 999px; border: 1px dashed var(--border-color); background: transparent; color: var(--text-secondary); cursor: pointer; }
.dp-time-suggest:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.dp-time-suggest.is-hidden { display: none; }