.repeat-visits { display: grid; gap: 20px; min-width: 0; }
.repeat-visits > div { min-width: 0; }
.repeat-visits .panel { padding: 24px; min-width: 0; }
.repeat-visits h2 { margin: 0 0 16px; font-size: 18px; }
.repeat-visits p { line-height: 1.65; }
.rv-form { display: flex; align-items: end; gap: 20px; flex-wrap: wrap; }
.rv-form label { display: grid; gap: 10px; font-weight: 600; font-size: 15px; }
#repeat-visit-form input, #repeat-visit-form select { width: 100%; min-height: 64px; padding: 16px 18px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; font-size: 17px; }
#repeat-visit-form input { font-size: 24px; font-weight: 600; letter-spacing: .05em; }
#repeat-visit-form input::placeholder { font-size: 15px; font-weight: 400; letter-spacing: normal; }
.rv-number { flex: 1; min-width: 220px; }
#repeat-visit-form button { min-height: 64px; padding: 16px 24px; font-size: 17px; font-weight: 600; }
.repeat-visits .rv-help { font-size: 13px; color: #64748b; margin-bottom: 0; }
.rv-result-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.rv-status { padding: 7px 12px; border-radius: 8px; background: #f1f5f9; color: #334155; font-size: 13px; font-weight: 600; }
.repeat-visits .panel.rv-result.rv-repeat { background: #fef2f2; border-color: #fca5a5; border-left: 5px solid #dc2626; }
.repeat-visits .panel.rv-result.rv-clear { background: #f0fdf4; border-color: #86efac; border-left: 5px solid #16a34a; }
.rv-result.rv-repeat h2, .rv-result.rv-repeat .rv-stats strong { color: #991b1b; }
.rv-result.rv-clear h2, .rv-result.rv-clear .rv-stats strong { color: #166534; }
.rv-status.rv-repeat { background: #dc2626; color: #fff; }
.rv-status.rv-clear { background: #15803d; color: #fff; }
.rv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
.rv-stats > div { display: grid; gap: 8px; align-content: start; }
.rv-stats span, .rv-stats small { color: #64748b; font-size: 13px; }
.rv-stats strong { font-size: 20px; color: #0f172a; }
.rv-history { margin-top: 20px; }
.rv-table-wrap { width: 100%; overflow-x: auto; }
.rv-table-wrap table { width: 100%; border-collapse: collapse; min-width: 800px; font-size: 13px; }
.rv-table-wrap th, .rv-table-wrap td { padding: 14px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.rv-table-wrap th { background: #f8fafc; }
.rv-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 13px; flex-wrap: wrap; }
.rv-error { color: #b91c1c; }
.rv-empty { text-align: center; color: #64748b; }
.ve-form { display: block; }
.ve-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: end; }
.ve-identity-help { grid-column: 1 / -1; margin: 0; }
#visit-entry-form input, #visit-entry-form select, #visit-entry-form button { min-height: 64px; padding: 16px; width: 100%; border-radius: 10px; font-size: 17px; }
#visit-entry-form input { font-size: 24px; letter-spacing: .05em; font-weight: 600; }
#visit-entry-form input::placeholder { font-size: 15px; letter-spacing: normal; font-weight: 400; }
.ve-date { display: grid; gap: 8px; padding: 14px 0; }
.ve-date span { font-weight: 600; font-size: 15px; }
.ve-date strong { font-size: 20px; }
.ve-date small { color: #64748b; }
.repeat-visits .panel.ve-success { background: #f0fdf4; border-color: #86efac; border-left: 5px solid #16a34a; }
@media (max-width: 640px) {
  .repeat-visits .panel { padding: 16px; }
  .rv-form { display: grid; grid-template-columns: 1fr; }
  .rv-number { min-width: 0; }
  .rv-stats { grid-template-columns: 1fr; }
  .rv-pagination { justify-content: center; }
  .ve-form fieldset { grid-template-columns: 1fr; }
  #visit-entry-form #ve-nik { font-size: 20px; letter-spacing: .02em; }
}
