/* Vespa Club Cesena v0.3.0 — iOS/iPadOS and touch improvements */
:root { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { touch-action: manipulation; }
@supports(padding: env(safe-area-inset-bottom)) {
  .workspace main { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .topbar { padding-top: env(safe-area-inset-top); }
  .sidebar { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .modal-backdrop { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .toast { bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px)); }
}
.modal, .sidebar, .table-scroll { -webkit-overflow-scrolling: touch; }
.modal { overscroll-behavior: contain; }
@media (hover:none) and (pointer:coarse) {
  .icon-button, .notification-button, .edit-actions button, .vc-push-entry { min-width:44px; min-height:44px; }
  .segmented button, .tabs button { min-height:44px; }
  input, select, textarea { font-size:16px!important; }
}
@media (max-width:600px) {
  .modal { max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .modal-backdrop { align-items: center; }
  .form-footer { flex-wrap:wrap; }
  .form-footer .button { min-height:44px; }
  .tabs { overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
  .tabs button { flex:0 0 auto; }
  .topbar-actions { gap:7px; }
}
.vc-push-entry { display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d1dcd7;background:#f6faf6;color:#275b3c;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:750;white-space:nowrap; }
.vc-push-entry:hover, .vc-push-entry:focus-visible { background:#e5f3e9; outline-offset:2px; }
.vc-push-entry[data-active="true"] { background:#e7f2eb;color:#245a3b; }
.vc-push-banner { margin:0 0 18px;padding:20px 22px;background:#fff;border:1px solid #dce4e0;border-radius:12px;box-shadow:0 2px 12px #152c4608; }
.vc-push-banner h2 { font-size:17px;margin:0 0 8px; }
.vc-push-banner p { font-size:13px;line-height:1.6;max-width:720px;margin:0 0 12px; }
.vc-push-actions { display:flex;gap:10px;flex-wrap:wrap;align-items:center; }
.vc-push-actions button { min-height:44px;border-radius:8px;padding:11px 16px;border:1px solid #cdd8d0;font-size:13px;font-weight:650; }
.vc-push-actions .vc-push-primary { color:white;background:#245b42;border-color:#245b42; }
.vc-push-actions button:disabled { opacity:.6;cursor:wait; }
.vc-push-detail { padding-top:10px;font-size:12px;line-height:1.6;color:#516679; }
.vc-push-message { margin-top:10px;font-size:12px;line-height:1.65;overflow-wrap:anywhere; }
.vc-push-message[data-error="true"] { color:#9b453c; }
.vc-push-dialog { position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;z-index:120;background:#071625a8; }
.vc-push-dialog > div { width:min(100%,480px);max-height:calc(100dvh - 30px);overflow-y:auto;-webkit-overflow-scrolling:touch;background:white;border-radius:14px;padding:25px;box-shadow:0 12px 45px #0003; }
.vc-push-dialog header { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px; }
.vc-push-dialog header h2 { font-size:20px; }
.vc-push-dialog .vc-close { font-size:22px;min-width:44px;min-height:44px; }
.vc-push-dialog:focus-visible { outline:none; }
@media(max-width:480px) { .vc-push-entry .vc-push-label { display:none; } .vc-push-banner { padding:17px; } }
