/* Remedy Aviation Premium Glass — v10.0.33
   Purely visual layer. Scoped to the experience app; no print or invoice-paper rules.
   Keep dashboard dimensions, grid structure, visibility and interaction unchanged. */
@media screen {
  #rax-app { --rax-glass-line:rgba(170,216,255,.28);--rax-glass-highlight:rgba(255,255,255,.16);--rax-glass-shadow:0 12px 35px rgba(0,9,26,.26); }
  #rax-app .rax-nav { background:linear-gradient(120deg,rgba(8,25,46,.97),rgba(14,44,75,.95));border-bottom:1px solid rgba(154,211,255,.22);box-shadow:0 9px 30px rgba(1,10,27,.23); }
  #rax-app .rax-dark .rax-card,
  #rax-app .rax-dashboard,
  #rax-app .rax-hub-pane,
  #rax-app .rax-hub-tile,
  #rax-app .rax-training-card,
  #rax-app .rax-admin-subsection,
  #rax-app .rax-manage-pane {
    border-color:var(--rax-glass-line);
    background-image:linear-gradient(155deg,rgba(155,204,246,.16) 0%,rgba(52,101,147,.10) 35%,rgba(9,26,47,.13) 100%);
    box-shadow:inset 0 1px 0 var(--rax-glass-highlight),var(--rax-glass-shadow);
    border-radius:16px;
  }
  #rax-app .rax-dashboard,
  #rax-app .rax-hub-pane,
  #rax-app .rax-hub-tile {background-color:rgba(18,45,73,.88)}
  #rax-app .rax-dark .rax-card {background-color:rgba(17,43,68,.88)}
  #rax-app .rax-hub-tile {transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
  #rax-app .rax-hub-tile:hover {box-shadow:inset 0 1px 0 rgba(255,255,255,.27),0 17px 38px rgba(0,10,30,.34);border-color:rgba(177,223,255,.7)}
  /* Buttons: light-catching upper edge, depth, legible text, no change to click targets. */
  #rax-app .rax-btn,
  #rax-app .rax-hub-action,
  #rax-app .rax-hub-back,
  #rax-app .rax-navcta,
  #rax-app .rax-tool-launch,
  #rax-app .rax-manage-tab,
  #rax-app .rax-dash-actions button,
  #rax-app .rax-dashboard button,
  #rax-app .rax-hub-pane button:not(.rax-hub-tile) {
    border-radius:11px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.38),inset 0 -1px 0 rgba(1,21,43,.15),0 5px 13px rgba(1,14,35,.23);
    transition:filter .16s ease,transform .16s ease,box-shadow .16s ease;
  }
  #rax-app .rax-btn:not(.rax-outline),#rax-app .rax-navcta {
    background-image:linear-gradient(165deg,rgba(255,255,255,.38) 0%,rgba(255,255,255,.08) 40%,rgba(3,46,105,.17) 100%);
    background-color:var(--rax-accent);
  }
  #rax-app .rax-outline,#rax-app .rax-hub-back,#rax-app .rax-hub-action,
  #rax-app .rax-hub-pane button:not(.rax-hub-tile) {
    background-image:linear-gradient(160deg,rgba(184,223,255,.19),rgba(20,57,94,.18));
  }
  #rax-app .rax-btn:hover,#rax-app .rax-hub-action:hover,#rax-app .rax-hub-back:hover,
  #rax-app .rax-dash-actions button:hover,#rax-app .rax-dashboard button:hover {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.46),0 9px 22px rgba(2,18,43,.33);
    filter:brightness(1.08);
  }
  #rax-app button:focus-visible,#rax-app a:focus-visible,#rax-app input:focus-visible,#rax-app select:focus-visible,#rax-app textarea:focus-visible {
    outline:2px solid #a9ddff;outline-offset:3px;
  }
  #rax-app .rax-dark input:not([type=checkbox]):not([type=radio]),
  #rax-app .rax-dark select,#rax-app .rax-dark textarea,
  #rax-app .rax-dashboard input:not([type=checkbox]):not([type=radio]),
  #rax-app .rax-dashboard select,#rax-app .rax-dashboard textarea {
    border-radius:9px;
    box-shadow:inset 0 1px 3px rgba(0,13,31,.13);
  }
  /* Keep printed invoices and the existing invoice splash exactly as before. */
}
@media (prefers-reduced-motion:reduce) {
  #rax-app .rax-btn,#rax-app .rax-hub-tile,#rax-app .rax-hub-action,#rax-app .rax-hub-back {transition:none!important}
}
@media (prefers-reduced-transparency:reduce) {
  #rax-app .rax-hub-pane,#rax-app .rax-hub-tile,#rax-app .rax-dashboard {background-color:#17334f}
}

/* v10.0.34: Academy quick actions are standalone, without a surrounding card. */
#training-center .rax-training-academy-entry .rax-academy-launch{margin:0 0 1rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
#training-center .rax-training-academy-entry .rax-academy-actions{margin:0;gap:.75rem;}

/* v10.0.35 — Liquid Glass visual finish. Screen-only and scoped to Remedy's app.
   Intentionally avoids positioning, sizing, display, overflow, printing, and billing logic. */
@media screen {
  #rax-app {
    --rax-liquid-rim:rgba(215,238,255,.38);
    --rax-liquid-soft:rgba(187,223,255,.17);
    --rax-liquid-depth:0 16px 40px rgba(0,13,36,.25);
    -webkit-font-smoothing:antialiased;
  }
  #rax-app .rax-nav {
    background:linear-gradient(115deg,rgba(12,31,55,.88),rgba(24,54,87,.80),rgba(8,28,52,.9));
    border-bottom:1px solid rgba(225,243,255,.32);
    box-shadow:inset 0 1px rgba(255,255,255,.24),0 12px 36px rgba(1,11,30,.25);
    -webkit-backdrop-filter:blur(22px) saturate(160%);
    backdrop-filter:blur(22px) saturate(160%);
  }
  #rax-app .rax-card,#rax-app .rax-dash-card,#rax-app .rax-dashboard,
  #rax-app .rax-hub-pane,#rax-app .rax-hub-tile,#rax-app .rax-training-card,
  #rax-app .rax-fleetcard,#rax-app .rax-billing-account-panel,
  #rax-app .rax-admin-subsection,#rax-app .rax-manage-pane,
  #rax-app .rax-alerts-panel,#rax-app .rax-sidebar-assignments {
    border-color:var(--rax-liquid-rim);
    border-radius:18px;
    background-image:linear-gradient(148deg,rgba(255,255,255,.18) 0%,rgba(167,213,255,.09) 28%,rgba(9,34,68,.05) 64%,rgba(255,255,255,.08) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 1px 0 0 rgba(255,255,255,.08),var(--rax-liquid-depth);
    -webkit-backdrop-filter:blur(14px) saturate(145%);
    backdrop-filter:blur(14px) saturate(145%);
  }
  #rax-app .rax-btn,#rax-app .rax-navcta,#rax-app .rax-hub-action,
  #rax-app .rax-hub-back,#rax-app .rax-tool-launch,
  #rax-app .rax-manage-tab,#rax-app .rax-dash-actions button,
  #rax-app .rax-dashboard button {
    border-radius:13px;
    border-color:rgba(223,242,255,.42);
    background-image:linear-gradient(175deg,rgba(255,255,255,.43) 0%,rgba(255,255,255,.13) 36%,rgba(10,56,109,.10) 53%,rgba(255,255,255,.12) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.56),inset 0 -1px 0 rgba(7,35,72,.20),0 5px 16px rgba(1,14,35,.24);
    -webkit-backdrop-filter:blur(10px) saturate(155%);
    backdrop-filter:blur(10px) saturate(155%);
    transition:background-color .18s ease,box-shadow .18s ease,filter .18s ease,transform .18s ease;
  }
  #rax-app .rax-btn:hover,#rax-app .rax-navcta:hover,
  #rax-app .rax-hub-action:hover,#rax-app .rax-hub-back:hover,
  #rax-app .rax-dash-actions button:hover,#rax-app .rax-dashboard button:hover {
    filter:brightness(1.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 9px 24px rgba(2,18,43,.32);
  }
  #rax-app .rax-splash-dialog,#rax-app .rax-academy-splash-card,
  #rax-app .rax-metar-modal-panel,#rax-app .rax-training-modal,
  #rax-app .rax-alert-gate-card {
    border:1px solid rgba(224,242,255,.42);
    border-radius:22px;
    background-image:linear-gradient(150deg,rgba(196,226,255,.20),rgba(26,61,102,.09) 45%,rgba(255,255,255,.07));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 26px 72px rgba(0,10,27,.42);
    -webkit-backdrop-filter:blur(24px) saturate(155%);
    backdrop-filter:blur(24px) saturate(155%);
  }
  #rax-app input:not([type=checkbox]):not([type=radio]),
  #rax-app select,#rax-app textarea {
    border-radius:11px;
    border-color:rgba(154,198,232,.42);
    box-shadow:inset 0 2px 5px rgba(2,19,41,.10),0 1px 0 rgba(255,255,255,.12);
  }
  #rax-app .rax-hub-tile:hover {border-color:rgba(225,245,255,.78);}
  /* Preserve v10.0.34 standalone Academy actions: no new glass card around them. */
  #training-center .rax-training-academy-entry .rax-academy-launch {
    border:0;box-shadow:none;background:transparent;
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
@media screen and (prefers-reduced-motion:reduce) {
  #rax-app .rax-btn,#rax-app .rax-navcta,#rax-app .rax-hub-action,
  #rax-app .rax-hub-back,#rax-app .rax-dashboard button {transition:none}
}
@media screen and (prefers-reduced-transparency:reduce) {
  #rax-app .rax-nav,#rax-app .rax-card,#rax-app .rax-dash-card,
  #rax-app .rax-hub-pane,#rax-app .rax-hub-tile,
  #rax-app .rax-splash-dialog { -webkit-backdrop-filter:none;backdrop-filter:none; }
}

/* Admin Center: unframed assigned-students list, retaining expandable controls. */
#rax-app .rax-sidebar-assignments.rax-admin-student-list {
  background:none !important; background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  padding:0 !important; margin-top:16px;
}
#rax-app .rax-admin-student-list > .rax-assigned-student {
  background:transparent !important; background-image:none !important;
  border:0 !important; border-radius:0 !important; box-shadow:none !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  margin:0 !important; padding:7px 0 !important;
}
#rax-app .rax-admin-student-list > .rax-assigned-student + .rax-assigned-student {
  border-top:1px solid rgba(180,207,233,.15) !important;
}
#rax-app .rax-admin-student-list > .rax-assigned-student summary {
  padding:3px 0;
}

/* v10.0.37: Clean, unframed admin student roster. Do not change its controls. */
@media screen {
  #rax-app .rax-sidebar-assignments.rax-admin-student-list,
  #rax-app .rax-sidebar-assignments.rax-admin-student-list > details,
  #rax-app .rax-sidebar-assignments.rax-admin-student-list > .rax-assigned-student {
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }
  #rax-app .rax-sidebar-assignments.rax-admin-student-list {padding:0 !important;}
  #rax-app .rax-admin-student-list .rax-assigned-student {padding:7px 0 !important;margin:0 !important;}
  #rax-app .rax-admin-student-list .rax-assigned-student summary {background:transparent !important;background-image:none !important;border:0 !important;box-shadow:none !important;padding:5px 0 !important;}
  /* Replace low-contrast reddish headings with readable icy blue across role centers.
     Scoped to center content, not alerts, invoice status, or payment indicators. */
  #rax-app .rax-hub-workspace .rax-hub-welcome h4,
  #rax-app .rax-hub-workspace .rax-hub-pane-heading h4,
  #rax-app .rax-hub-workspace .rax-admin-heading,
  #rax-app .rax-hub-workspace .rax-sidebar-assignments h3,
  #rax-app .rax-hub-workspace .rax-sidebar-assignments h4,
  #rax-app .rax-hub-workspace .rax-hub-pane > h2,
  #rax-app .rax-hub-workspace .rax-hub-pane > h3,
  #rax-app .rax-hub-workspace .rax-hub-pane > h4,
  #rax-app .rax-hub-workspace .rax-hub-pane > details > summary {
    color:#d6efff !important;
    text-shadow:0 1px 2px rgba(0,13,32,.38);
  }
  #rax-app .rax-hub-workspace .rax-hub-pane-heading p,
  #rax-app .rax-hub-workspace .rax-hub-welcome p {color:#c6dced !important;}
}

/* v10.0.38: high-contrast, readable headings in role centers and scheduling.
   Screen-only and app-scoped: no print, invoice, or dashboard geometry changes. */
@media screen {
  #rax-app .rax-alerts-heading h3,
  #rax-app .rax-alerts-admin > h3,
  #rax-app .rax-approval-notifications h3,
  #rax-app .rax-schedule-overview .rax-dash-card h3,
  #rax-app .rax-sidebar-assignments h3,
  #rax-app .rax-hub-workspace .rax-admin-heading,
  #rax-app .rax-hub-workspace .rax-hub-welcome h4,
  #rax-app .rax-hub-workspace .rax-hub-pane-heading h4,
  #rax-app .rax-hub-workspace .rax-hub-pane > h2,
  #rax-app .rax-hub-workspace .rax-hub-pane > h3,
  #rax-app .rax-hub-workspace .rax-hub-pane > h4 {
    color:#e5f4ff !important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-.015em !important;
    text-shadow:none !important;
  }
}

/* v10.0.39: public Flight Training contrast and typography.
   Screen-only, strictly scoped; never affects print invoices or role dashboards. */
@media screen {
  #rax-app .rax-page-heading h1,
  #rax-app #training .rax-sectionhead h2,
  #rax-app #training .rax-sectionhead h2 em,
  #rax-app #training .rax-programs .rax-card h3 {
    color:#e5f4ff !important;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-weight:750 !important;
    letter-spacing:-.025em !important;
    text-shadow:none !important;
  }
  #rax-app #training .rax-sectionhead h2 em {
    color:#71caff !important;
  }
  #rax-app #training .rax-programs .rax-card h3 {
    font-size:clamp(17px,1.45vw,21px) !important;
    line-height:1.25 !important;
  }
}

/* v10.1.4: Student Center instructor name: unframed, readable, matching admin roster. */
@media screen {
  #rax-app .rax-sidebar-assignments.rax-my-instructor-list {
    background:transparent !important; background-image:none !important;
    border:0 !important; border-radius:0 !important; box-shadow:none !important;
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
    padding:0 !important; margin-top:16px !important; min-height:0 !important;
  }
  #rax-app .rax-sidebar-assignments.rax-my-instructor-list h4 {
    color:#e5f4ff !important; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-size:1.15rem !important; font-weight:700 !important; line-height:1.35 !important;
    letter-spacing:-.015em !important; text-shadow:none !important;
    margin:0 0 10px !important; padding:0 !important;
  }
  #rax-app .rax-sidebar-assignments.rax-my-instructor-list p {
    color:#e5f4ff !important; font-size:1rem !important; font-weight:500 !important;
    margin:0 !important; padding:0 !important;
  }
}

/* v10.1.5: Instructor Pilot's Lounge assigned students — same unframed list as Admin Center. */
@media screen {
  #rax-app .rax-sidebar-assignments.rax-instructor-student-list,
  #rax-app .rax-sidebar-assignments.rax-instructor-student-list > details,
  #rax-app .rax-sidebar-assignments.rax-instructor-student-list > .rax-assigned-student {
    background:transparent !important; background-image:none !important;
    border:0 !important; border-radius:0 !important; box-shadow:none !important;
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
  }
  #rax-app .rax-sidebar-assignments.rax-instructor-student-list {padding:0 !important; margin-top:16px !important; min-height:0 !important;}
  #rax-app .rax-instructor-student-list .rax-assigned-student {padding:7px 0 !important; margin:0 !important;}
  #rax-app .rax-instructor-student-list .rax-assigned-student > summary {
    background:transparent !important; background-image:none !important; border:0 !important;
    box-shadow:none !important; padding:5px 0 !important;
  }
  #rax-app .rax-instructor-student-list h3 {
    color:#e5f4ff !important; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
    font-weight:700 !important; letter-spacing:-.015em !important; text-shadow:none !important;
  }
}

/* 10.1.6: Academy course content without a redundant title/card. */
#training-center #rax-lms-student{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
#training-center #rax-lms-student[hidden]{display:none!important;}

/* 10.1.7: unobtrusive administrator-only footer shortcut. */
#rax-app .rax-footer .rax-footer-admin-pi {
  margin-left:auto; flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  min-width:32px; min-height:32px; padding:3px 7px; border:0; border-radius:8px;
  background:transparent; box-shadow:none; color:rgba(207,228,245,.55);
  font-family:Georgia,serif; font-size:17px; font-weight:400; text-decoration:none;
  transition:color .15s ease,background-color .15s ease;
}
#rax-app .rax-footer .rax-footer-admin-pi:hover,
#rax-app .rax-footer .rax-footer-admin-pi:focus-visible {color:#e5f4ff;background:rgba(255,255,255,.10);}
#rax-app .rax-footer .rax-footer-admin-pi:focus-visible {outline:2px solid #86caff;outline-offset:2px;}
