/* Participanți, Setări și listele pentru tipar (doar organizatorii). */

/* Setări */
.st { max-width: 760px; margin: 0 auto; padding: 24px 16px 96px; }
.st #st-body { display: flex; flex-direction: column; gap: 16px; }
.st-h { font-size: 28px; line-height: 1.1; }
.st-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.st-card h2 { font-size: 19px; }
.st-card.danger { border-color: #F0C3C6; }
.st-remind { padding: 12px 16px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.st-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-input { flex: 1 1 180px; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #C2CBC3; border-radius: 12px; background: var(--surface); font-size: 16px; }
.st-input.pin { flex: 0 1 160px; font-family: var(--display); font-size: 22px; letter-spacing: 0.2em; }
.st-input:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
.st-btn { width: auto; min-height: 48px; padding: 0 18px; }
.st-link { align-self: flex-start; text-decoration: none; color: var(--ink); }
.st-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-list > li + li { border-top: 1px solid var(--line-2); }
.st-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; }
.st-row .glob { --s: 22px; margin-top: 4px; }
.st-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.st-main b { font-size: 16px; }
.st-main .meta { flex-basis: 100%; overflow-wrap: anywhere; }
.st-code { font-family: var(--display); letter-spacing: 0.04em; }
.st-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.st-switch-row h2 { margin-bottom: 4px; }
.switch { position: relative; flex: none; width: 64px; height: 36px; border: 0; border-radius: 999px; background: #C2CBC3; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.switch[aria-pressed="true"] { background: var(--pine); }
.switch[aria-pressed="true"]::after { transform: translateX(28px); }

/* Formulare din fișe */
.tf-check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 600; }
.tf-check input { width: 22px; height: 22px; accent-color: var(--pine); }
.tf-f select { height: 48px; padding: 0 10px; border: 1px solid #C2CBC3; border-radius: 12px; background: var(--surface); font-size: 16px; font-weight: 400; }
.g-admin { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 40px; height: 40px; border: 2px solid transparent; border-radius: 50%; background: var(--tc); box-shadow: inset 0 0 0 3px var(--surface); }
.sw.light { box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px #AEB8B1; }
.sw[aria-pressed="true"] { border-color: var(--pine); }
.sw:disabled { opacity: 0.25; cursor: not-allowed; }

/* Participanți */
.pt { max-width: 1400px; margin: 0 auto; padding: 24px 24px 96px; display: flex; flex-direction: column; gap: 16px; }
.pt-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-btn { width: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
.pt-tools { display: flex; flex-direction: column; gap: 12px; }
.pt-tools .search { max-width: 480px; }
.pt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pt-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pt-table th { position: sticky; top: 0; padding: 12px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.pt-table td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.pt-table tr:last-child td { border-bottom: 0; }
.pt-table tr.just td { animation: just .9s ease-out; }
.pt-name { min-height: 40px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 600; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.pt-name:hover { text-decoration-color: var(--ink); }
.pt-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pt-select { min-width: 150px; height: 40px; padding: 0 8px; border: 1px solid #C2CBC3; border-radius: 10px; background: var(--surface); font-size: 14px; }
.pt-muted { color: var(--muted); font-size: 14px; }
.pt-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 600; }
@media (max-width: 760px) { .pt { padding: 16px 16px 96px; } }
@media (pointer: coarse) { .pt-btn, .pt-select, .pt-name { min-height: 48px; } }

/* Tipar: doar lista aleasă apare pe hârtie */
#print-root { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body.printing { background: #FFFFFF !important; color: #000000 !important; }
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; font-family: var(--body); color: #000000; }
  #print-root * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .pr-head { margin-bottom: 8mm; }
  .pr-head h1 { font-size: 18pt; }
  .pr-head p { font-size: 10pt; color: #444444; }
  .pr-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
  .pr-table th, .pr-table td { padding: 1.6mm 2mm; border-bottom: 0.3mm solid #CCCCCC; text-align: left; }
  .pr-table tr { break-inside: avoid; }
  .pr-box { width: 9mm; }
  td.pr-box::before, li .pr-box { content: ''; display: inline-block; width: 3.6mm; height: 3.6mm; border: 0.3mm solid #000000; vertical-align: middle; }
  .pr-dot { display: inline-block; width: 3.4mm; height: 3.4mm; margin-right: 1.6mm; border-radius: 50%; background: var(--tc); border: 0.2mm solid #888888; vertical-align: -0.4mm; }
  .pr-grid { columns: 2; column-gap: 8mm; }
  .pr-block { break-inside: avoid; margin-bottom: 6mm; }
  .pr-block.wide { column-span: all; }
  .pr-block.wide ul { columns: 3; }
  .pr-block h2 { font-size: 13pt; }
  .pr-block p { font-size: 9pt; color: #444444; margin-bottom: 1.5mm; }
  .pr-block ul { list-style: none; margin: 0; padding: 0; font-size: 10.5pt; }
  .pr-block li { display: flex; align-items: center; gap: 2mm; padding: 0.8mm 0; break-inside: avoid; }
}
