/* GraceRace v6 application refinements */
:root{--grv6-navy:#09275a;--grv6-gold:#c8911e;--grv6-green:#0b5a3c}
.gr-session-message{position:fixed;z-index:99999;top:18px;left:50%;transform:translateX(-50%);max-width:min(92vw,620px);background:#fff7df;border:1px solid #e7c96e;color:#6b4b00;padding:12px 16px;border-radius:12px;box-shadow:0 14px 40px rgba(0,0,0,.16);font:600 14px/1.4 system-ui}
/* Compact all data tables. Prevent a long cell/action group from stretching entire rows. */
table{border-collapse:collapse!important}table th,table td{padding:.5rem .65rem!important;vertical-align:middle!important;line-height:1.25!important;height:auto!important}table tr{height:auto!important;min-height:0!important}table td p,table td div{margin-top:0!important;margin-bottom:0!important}table td [class*="py-"]{padding-top:.25rem!important;padding-bottom:.25rem!important}
.gr-v6-icon-action{width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important}.gr-v6-icon-action svg{width:15px;height:15px}.gr-v6-action-wrap{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;align-items:center!important;white-space:nowrap!important}
.gr-v6-notify{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer}.gr-v6-notify svg{width:18px;height:18px}.gr-v6-notify-badge{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#c62828;color:#fff;font:700 11px/19px system-ui;text-align:center;border:2px solid #fff}
.gr-v6-modal-backdrop{position:fixed;inset:0;z-index:99990;background:rgba(2,18,38,.55);display:flex;align-items:center;justify-content:center;padding:18px}.gr-v6-modal{width:min(920px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:24px;color:#14213d}.gr-v6-modal h2{font-size:1.5rem;font-weight:800;color:var(--grv6-navy);margin:0 0 6px}.gr-v6-modal h3{font-size:1rem;font-weight:800;color:var(--grv6-navy);margin:18px 0 8px}.gr-v6-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gr-v6-card{border:1px solid #e6e8eb;border-radius:12px;padding:14px;background:#fafbfc}.gr-v6-btn{border:0;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer;background:var(--grv6-green);color:#fff}.gr-v6-btn.secondary{background:#fff;color:var(--grv6-navy);border:1px solid #d7dce3}.gr-v6-btn.gold{background:var(--grv6-gold);color:#fff}.gr-v6-btn.danger{background:#b42318}.gr-v6-input,.gr-v6-select{width:100%;border:1px solid #d4d8df;border-radius:9px;padding:10px 11px;background:#fff;font:inherit}.gr-v6-label{display:grid;gap:5px;font-size:13px;font-weight:700;color:#344054}.gr-v6-help{font-size:12px;color:#667085}.gr-v6-status{padding:7px 10px;border-radius:9px;background:#f0fdf4;color:#166534;font-size:13px}.gr-v6-onboard{min-height:100vh;background:#f6f8fa;padding:30px 16px}.gr-v6-onboard-shell{max-width:980px;margin:auto;background:#fff;border-radius:20px;box-shadow:0 20px 70px rgba(9,39,90,.11);overflow:hidden}.gr-v6-onboard-head{background:linear-gradient(135deg,var(--grv6-navy),#0f4a75);color:#fff;padding:24px 28px;display:flex;gap:18px;align-items:center}.gr-v6-onboard-head img{width:76px;height:76px;border-radius:50%;background:#fff;object-fit:contain}.gr-v6-onboard-body{padding:26px 28px}.gr-v6-section{border-top:1px solid #eef0f3;padding-top:20px;margin-top:20px}.gr-v6-terms{max-height:280px;overflow:auto;border:1px solid #e2e5e9;border-radius:12px;padding:16px;background:#fbfbfa;font-size:13px;line-height:1.55}.gr-v6-signature{border:1px dashed #aeb6c2;border-radius:10px;width:100%;height:130px;touch-action:none;background:#fff}.gr-v6-error{background:#fff1f0;border:1px solid #f3b5b0;color:#8a1c16;padding:10px 12px;border-radius:9px;margin-bottom:12px}.gr-v6-success{background:#effaf3;border:1px solid #b9e2c7;color:#176533;padding:10px 12px;border-radius:9px;margin-bottom:12px}
@media(max-width:760px){.gr-v6-grid{grid-template-columns:1fr}.gr-v6-onboard-body{padding:20px}.gr-v6-onboard-head{padding:20px}table th,table td{padding:.4rem .45rem!important;font-size:12px!important}}
