/*
 * FDRS buttons (0.49.1): one look for every button in FDRS screens on the website, matching the app
 * (FDRS-iOS/Design/FDRSTheme.swift: fdrsPrimary / fdrsOutline) and the Site Design buttons.
 *  - Primary (main action: submit buttons, .fdrs-btn-primary): filled FDRS red, white text.
 *  - Secondary (every other button): white, red outline, red text.
 *  - Same shape everywhere: 8px corners, 44px tall, 15px semibold, sentence case (never uppercase).
 * Loaded on every front-end page. Segmented controls (tabs, Cards / List, pages) keep their layout but use the
 * same type, corners and red selection. Close (×) buttons are left alone.
 */
:root{--fdrs-btn-red:#DC0F2E;--fdrs-btn-red-deep:#B00A23;--fdrs-btn-pale:#FDECEE}
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-college-map,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-bar,.fdrs-owner-modal,.fdrs-upgrade,.fdrs-rri-ai,.fdrs-events,.fdrs-announce,.fdrs-work-queue,.fdrs-player-profile)
 :is(button,input[type=submit],input[type=button],a.fdrs-btn,a.fdrs-owner-btn,a.fdrs-college-button,a.fdrs-player-action,.fdrs-help-ask button):not(.fdrs-owner-close):not([aria-label=Close]):not(.fdrs-plain){
 display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;vertical-align:middle;height:auto;
 min-height:44px;padding:10px 18px !important;margin:0;
 border:1.5px solid var(--fdrs-btn-red) !important;border-radius:8px !important;
 background:#fff !important;color:var(--fdrs-btn-red) !important;
 font-family:inherit !important;font-size:15px !important;font-weight:600 !important;line-height:1.2 !important;
 letter-spacing:0 !important;text-transform:none !important;text-decoration:none !important;text-shadow:none !important;
 box-shadow:none !important;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s;white-space:normal;text-align:center}
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-college-map,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-bar,.fdrs-owner-modal,.fdrs-upgrade,.fdrs-rri-ai,.fdrs-events,.fdrs-announce,.fdrs-work-queue,.fdrs-player-profile)
 :is(button,input[type=submit],input[type=button],a.fdrs-btn,a.fdrs-owner-btn,a.fdrs-college-button):not(.fdrs-owner-close):not([aria-label=Close]):not(.fdrs-plain):hover:not(:disabled){background:var(--fdrs-btn-pale) !important}
/* Primary */
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-college-map,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-bar,.fdrs-owner-modal,.fdrs-upgrade,.fdrs-rri-ai,.fdrs-events,.fdrs-announce,.fdrs-work-queue,.fdrs-player-profile)
 :is(button[type=submit],input[type=submit],.fdrs-btn-primary,.fdrs-admin-primary,.fdrs-owner-btn:not(.is-quiet),a.fdrs-player-action,.fdrs-announce-cta,.fdrs-rri-ai-run,[aria-pressed=true],.fdrs-dir-pages button.is-current):not(.fdrs-owner-close):not(.fdrs-plain){
 background:var(--fdrs-btn-red) !important;border-color:var(--fdrs-btn-red) !important;color:#fff !important}
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-college-map,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-bar,.fdrs-owner-modal,.fdrs-upgrade,.fdrs-rri-ai,.fdrs-events,.fdrs-announce,.fdrs-work-queue,.fdrs-player-profile)
 :is(button[type=submit],input[type=submit],.fdrs-btn-primary,.fdrs-admin-primary,.fdrs-owner-btn:not(.is-quiet),a.fdrs-player-action,.fdrs-announce-cta,.fdrs-rri-ai-run):not(.fdrs-plain):hover:not(:disabled){background:var(--fdrs-btn-red-deep) !important;border-color:var(--fdrs-btn-red-deep) !important}
/* Disabled and focus */
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-modal,.fdrs-player-profile) :is(button,input[type=submit]):disabled{opacity:.5 !important;cursor:not-allowed !important}
:is(.fdrs-ap,.fdrs-account,.fdrs-colleges,.fdrs-dir,.fdrs-help,.fdrs-outreach,.fdrs-dashboard,.fdrs-profile-editor,.fdrs-owner-modal,.fdrs-owner-bar,.fdrs-player-profile) :is(button,a.fdrs-btn,a.fdrs-owner-btn):focus-visible{outline:3px solid rgba(220,15,46,.35) !important;outline-offset:2px}
/* Segmented controls keep their joined layout */
.fdrs-dir-views button{border-radius:0 !important;border-width:0 !important;min-height:38px}
.fdrs-dir-views button+button{border-left:1px solid #D1D5DB !important}
.fdrs-dir-views{border:1.5px solid var(--fdrs-btn-red) !important}
.fdrs-dir-pages button{min-width:44px;padding:8px 12px !important}
/* Rows of actions wrap with even spacing */
.fdrs-editor-actions,.fdrs-review-actions,.fdrs-owner-actions,.fdrs-owner-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
[hidden]{display:none !important}
