/* =====================================================================
 * sis-theme.css — 学生资讯系统（FYK Student Learning Portal）统一界面样式
 *
 * 设计依据：教学记录簿统一版面设计（cssdesign.md）
 *   暖白底、青绿主色、一点阳光黄；干净、平、不花哨。
 *   卡片不加阴影，只有 1px 暖灰边线和圆角；只有弹窗、下拉菜单、轻提示有轻微阴影。
 *   所有可点击元素 ≥ 40px（手机 44px），输入框 44px；手机上输入框字号 16px。
 *
 * 完全自有的样式表：不依赖 Sneat / Bootstrap / 任何外部网站、字体或 CDN。
 * 图标见 sis-icons.css；登录页见 sis-auth.css；公开首页见 sis-landing.css；交互脚本见 ../js/sis.js。
 *
 * 写页面样式时：颜色一律用 var(--fy-…)，不要写十六进制色；页面特例写在页面自己的 <style> 里。
 *
 * 目录
 *   1. 设计令牌        2. 基础重置与排版      3. 栅格与通用工具类
 *   4. 页面骨架（侧边栏 / 顶栏 / 内容区 / 页脚）
 *   5. 页面横幅 .ap-hero                    6. 卡片与标题
 *   7. 按钮            8. 表单                9. 表格
 *  10. 徽章 / 提示 / 进度 / 头像            11. 分页签 / 下拉菜单 / 弹窗
 *  12. 通用组件       13. 全站交互附属样式   14. 手机版 / 打印 / 减少动态
 * ===================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
    --fy-primary: #0F7C8A;
    --fy-primary-d: #0C616C;
    --fy-primary-t: #E7F2F3;
    --fy-ground: #FBF8F1;
    --fy-surface: #FFFFFF;
    --fy-line: #E8E2D4;
    --fy-ink: #1E2A38;
    --fy-muted: #5C6878;
    --fy-sun: #F6B93B;
    --fy-sun-t: #FFF3D1;
    --fy-sun-ink: #7A4B00;
    --fy-green: #1E8E5A;
    --fy-green-t: #E3F3E8;
    --fy-green-ink: #17663F;
    --fy-coral: #E2674A;
    --fy-coral-t: #FDE8E2;
    --fy-coral-ink: #A63A22;
    --fy-grey-t: #EEF0F4;
    --fy-placeholder: #8A94A3;
    --fy-stripe: #FDFBF6;
    --fy-row-hover: #F6FAFA;
    --fy-check: #B9B4A5;
    --fy-line-d: color-mix(in srgb, var(--fy-line) 62%, var(--fy-muted));

    --fy-radius: 14px;
    --fy-radius-sm: 10px;
    --fy-radius-md: 12px;
    --fy-radius-lg: 16px;
    --fy-shadow-modal: 0 12px 40px rgba(30, 42, 56, .2);
    --fy-shadow-menu: 0 8px 24px rgba(30, 42, 56, .12);
    --fy-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
    --fy-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --sb-width: 272px;

    --ap-blue: var(--fy-primary);
    --ap-blue-dark: var(--fy-primary-d);
    --ap-blue-soft: var(--fy-primary-t);
    --ap-gold: var(--fy-sun);
    --ap-gold-deep: var(--fy-sun-ink);
    --ap-ink: var(--fy-ink);
    --ap-ink-2: var(--fy-muted);
    --ap-muted: var(--fy-muted);
    --ap-line: var(--fy-line);
    --ap-line-strong: var(--fy-line-d);
    --ap-bg: var(--fy-ground);
    --ap-soft: var(--fy-ground);
    --ap-success: var(--fy-green);
    --ap-info: var(--fy-primary-d);
    --ap-warning: var(--fy-sun-ink);
    --ap-danger: var(--fy-coral);
    --ap-radius: var(--fy-radius);
    --ap-radius-sm: var(--fy-radius-sm);
    --ap-font: var(--fy-font);
    --ap-mono: var(--fy-mono);
}

/* ---------- 2. 基础重置与排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--fy-ground); color: var(--fy-ink);
    font-family: var(--fy-font); font-size: 1rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; z-index: 2000; top: 0; left: 0; right: 0; height: 4px; background: var(--fy-sun); pointer-events: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; color: var(--fy-ink); font-weight: 700; line-height: 1.3; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.25rem; } h4 { font-size: 1.35rem; } h5 { font-size: 1.05rem; } h6 { font-size: .95rem; }
p { margin: 0 0 1rem; }
a { color: var(--fy-primary-d); text-decoration: none; }
a:hover { color: var(--fy-primary); text-decoration: underline; }
img, svg, video { max-width: 100%; vertical-align: middle; }
img { height: auto; }
hr { border: 0; border-top: 1px solid var(--fy-line); margin: 1.25rem 0; opacity: 1; }
small, .small { font-size: .875rem; }
strong, b { font-weight: 700; color: inherit; }
ul, ol { padding-left: 1.4rem; }
label { display: inline-block; }
button, input, select, textarea, optgroup { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
button:disabled, [disabled] { cursor: not-allowed; }
textarea { resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 .5rem; font-size: inherit; } legend + * { clear: both; }
summary { cursor: pointer; }
dl, dd { margin: 0; } dt { font-weight: 700; }
blockquote { margin: 0 0 1rem; }
figure { margin: 0; }
table { border-collapse: collapse; }
code, pre, kbd { font-family: var(--fy-mono); font-size: .875em; }
code { padding: .1em .35em; border-radius: 6px; background: var(--fy-grey-t); color: var(--fy-coral-ink); }
::selection { background: var(--fy-primary-t); }
:focus-visible { outline: 2px solid var(--fy-primary); outline-offset: 2px; }
[hidden] { display: none !important; }
.sis-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

* { scrollbar-width: thin; scrollbar-color: var(--fy-check) transparent; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--fy-check); border-radius: 9px; border: 2px solid transparent; background-clip: content-box; }

/* ---------- 3. 栅格与通用工具类（类名沿用通用约定，便于阅读） ---------- */
.row { --gx: 1.5rem; --gy: 0rem; display: flex; flex-wrap: wrap; margin-top: calc(var(--gy) * -1); margin-left: calc(var(--gx) * -.5); margin-right: calc(var(--gx) * -.5); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-left: calc(var(--gx) * .5); padding-right: calc(var(--gx) * .5); margin-top: var(--gy); }
.col { flex: 1 0 0%; } .col-auto { flex: 0 0 auto; width: auto; }
.g-0 { --gx: 0; --gy: 0; } .gx-0 { --gx: 0; } .gy-0 { --gy: 0; }
.gap-0 { gap: 0; }
.g-1 { --gx: .25rem; --gy: .25rem; } .gx-1 { --gx: .25rem; } .gy-1 { --gy: .25rem; }
.gap-1 { gap: .25rem; }
.g-2 { --gx: .5rem; --gy: .5rem; } .gx-2 { --gx: .5rem; } .gy-2 { --gy: .5rem; }
.gap-2 { gap: .5rem; }
.g-3 { --gx: 1rem; --gy: 1rem; } .gx-3 { --gx: 1rem; } .gy-3 { --gy: 1rem; }
.gap-3 { gap: 1rem; }
.g-4 { --gx: 1.5rem; --gy: 1.5rem; } .gx-4 { --gx: 1.5rem; } .gy-4 { --gy: 1.5rem; }
.gap-4 { gap: 1.5rem; }
.g-5 { --gx: 3rem; --gy: 3rem; } .gx-5 { --gx: 3rem; } .gy-5 { --gy: 3rem; }
.gap-5 { gap: 3rem; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-1 { margin-left: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-2 { margin-left: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25.0%; }
.offset-3 { margin-left: 25.0%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-4 { margin-left: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-5 { margin-left: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50.0%; }
.offset-6 { margin-left: 50.0%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-7 { margin-left: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-8 { margin-left: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75.0%; }
.offset-9 { margin-left: 75.0%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-10 { margin-left: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-11 { margin-left: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100.0%; }
.offset-12 { margin-left: 100.0%; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }
.d-table-cell { display: table-cell !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-1 { flex-grow: 1 !important; } .flex-shrink-0 { flex-shrink: 0 !important; } .flex-fill { flex: 1 1 auto !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-self-start { align-self: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-self-end { align-self: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-self-center { align-self: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-self-baseline { align-self: baseline !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-stretch { align-self: stretch !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }
.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: .25rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: .25rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: .25rem !important; }
.ps-2 { padding-left: .5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }
.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: .25rem !important; }
.pe-2 { padding-right: .5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

@media (min-width: 576px) {
.col-sm-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-sm-1 { margin-left: 8.333333%; }
.col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-sm-2 { margin-left: 16.666667%; }
.col-sm-3 { flex: 0 0 auto; width: 25.0%; }
.offset-sm-3 { margin-left: 25.0%; }
.col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-sm-4 { margin-left: 33.333333%; }
.col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-sm-5 { margin-left: 41.666667%; }
.col-sm-6 { flex: 0 0 auto; width: 50.0%; }
.offset-sm-6 { margin-left: 50.0%; }
.col-sm-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-sm-7 { margin-left: 58.333333%; }
.col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-sm-8 { margin-left: 66.666667%; }
.col-sm-9 { flex: 0 0 auto; width: 75.0%; }
.offset-sm-9 { margin-left: 75.0%; }
.col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-sm-10 { margin-left: 83.333333%; }
.col-sm-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-sm-11 { margin-left: 91.666667%; }
.col-sm-12 { flex: 0 0 auto; width: 100.0%; }
.offset-sm-12 { margin-left: 100.0%; }
.col-sm { flex: 1 0 0%; } .col-sm-auto { flex: 0 0 auto; width: auto; }
.d-sm-none { display: none !important; }
.d-sm-block { display: block !important; }
.d-sm-inline { display: inline !important; }
.d-sm-inline-block { display: inline-block !important; }
.d-sm-flex { display: flex !important; }
.d-sm-inline-flex { display: inline-flex !important; }
.d-sm-grid { display: grid !important; }
.d-sm-table-cell { display: table-cell !important; }
.flex-sm-row { flex-direction: row !important; }
.flex-sm-column { flex-direction: column !important; }
.flex-sm-row-reverse { flex-direction: row-reverse !important; }
.flex-sm-column-reverse { flex-direction: column-reverse !important; }
.flex-sm-wrap { flex-wrap: wrap !important; }
.flex-sm-nowrap { flex-wrap: nowrap !important; }
.flex-sm-grow-1 { flex-grow: 1 !important; } .flex-sm-shrink-0 { flex-shrink: 0 !important; } .flex-sm-fill { flex: 1 1 auto !important; }
.justify-content-sm-start { justify-content: flex-start !important; }
.justify-content-sm-end { justify-content: flex-end !important; }
.justify-content-sm-center { justify-content: center !important; }
.justify-content-sm-between { justify-content: space-between !important; }
.justify-content-sm-around { justify-content: space-around !important; }
.align-items-sm-start { align-items: flex-start !important; }
.align-self-sm-start { align-self: flex-start !important; }
.align-items-sm-end { align-items: flex-end !important; }
.align-self-sm-end { align-self: flex-end !important; }
.align-items-sm-center { align-items: center !important; }
.align-self-sm-center { align-self: center !important; }
.align-items-sm-baseline { align-items: baseline !important; }
.align-self-sm-baseline { align-self: baseline !important; }
.align-items-sm-stretch { align-items: stretch !important; }
.align-self-sm-stretch { align-self: stretch !important; }
.text-sm-start { text-align: left !important; }
.text-sm-end { text-align: right !important; }
.text-sm-center { text-align: center !important; }
.m-sm-0 { margin: 0 !important; }
.m-sm-1 { margin: .25rem !important; }
.m-sm-2 { margin: .5rem !important; }
.m-sm-3 { margin: 1rem !important; }
.m-sm-4 { margin: 1.5rem !important; }
.m-sm-5 { margin: 3rem !important; }
.m-sm-auto { margin: auto !important; }
.mt-sm-0 { margin-top: 0 !important; }
.mt-sm-1 { margin-top: .25rem !important; }
.mt-sm-2 { margin-top: .5rem !important; }
.mt-sm-3 { margin-top: 1rem !important; }
.mt-sm-4 { margin-top: 1.5rem !important; }
.mt-sm-5 { margin-top: 3rem !important; }
.mt-sm-auto { margin-top: auto !important; }
.mb-sm-0 { margin-bottom: 0 !important; }
.mb-sm-1 { margin-bottom: .25rem !important; }
.mb-sm-2 { margin-bottom: .5rem !important; }
.mb-sm-3 { margin-bottom: 1rem !important; }
.mb-sm-4 { margin-bottom: 1.5rem !important; }
.mb-sm-5 { margin-bottom: 3rem !important; }
.mb-sm-auto { margin-bottom: auto !important; }
.ms-sm-0 { margin-left: 0 !important; }
.ms-sm-1 { margin-left: .25rem !important; }
.ms-sm-2 { margin-left: .5rem !important; }
.ms-sm-3 { margin-left: 1rem !important; }
.ms-sm-4 { margin-left: 1.5rem !important; }
.ms-sm-5 { margin-left: 3rem !important; }
.ms-sm-auto { margin-left: auto !important; }
.me-sm-0 { margin-right: 0 !important; }
.me-sm-1 { margin-right: .25rem !important; }
.me-sm-2 { margin-right: .5rem !important; }
.me-sm-3 { margin-right: 1rem !important; }
.me-sm-4 { margin-right: 1.5rem !important; }
.me-sm-5 { margin-right: 3rem !important; }
.me-sm-auto { margin-right: auto !important; }
.mx-sm-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-sm-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-sm-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-sm-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-sm-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-sm-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-sm-auto { margin-left: auto !important; margin-right: auto !important; }
.my-sm-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-sm-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-sm-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-sm-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-sm-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-sm-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-sm-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-sm-0 { padding: 0 !important; }
.p-sm-1 { padding: .25rem !important; }
.p-sm-2 { padding: .5rem !important; }
.p-sm-3 { padding: 1rem !important; }
.p-sm-4 { padding: 1.5rem !important; }
.p-sm-5 { padding: 3rem !important; }
.pt-sm-0 { padding-top: 0 !important; }
.pt-sm-1 { padding-top: .25rem !important; }
.pt-sm-2 { padding-top: .5rem !important; }
.pt-sm-3 { padding-top: 1rem !important; }
.pt-sm-4 { padding-top: 1.5rem !important; }
.pt-sm-5 { padding-top: 3rem !important; }
.pb-sm-0 { padding-bottom: 0 !important; }
.pb-sm-1 { padding-bottom: .25rem !important; }
.pb-sm-2 { padding-bottom: .5rem !important; }
.pb-sm-3 { padding-bottom: 1rem !important; }
.pb-sm-4 { padding-bottom: 1.5rem !important; }
.pb-sm-5 { padding-bottom: 3rem !important; }
.ps-sm-0 { padding-left: 0 !important; }
.ps-sm-1 { padding-left: .25rem !important; }
.ps-sm-2 { padding-left: .5rem !important; }
.ps-sm-3 { padding-left: 1rem !important; }
.ps-sm-4 { padding-left: 1.5rem !important; }
.ps-sm-5 { padding-left: 3rem !important; }
.pe-sm-0 { padding-right: 0 !important; }
.pe-sm-1 { padding-right: .25rem !important; }
.pe-sm-2 { padding-right: .5rem !important; }
.pe-sm-3 { padding-right: 1rem !important; }
.pe-sm-4 { padding-right: 1.5rem !important; }
.pe-sm-5 { padding-right: 3rem !important; }
.px-sm-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-sm-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-sm-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-sm-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-sm-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-sm-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-sm-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-sm-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-sm-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-sm-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-sm-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-sm-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 768px) {
.col-md-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-md-1 { margin-left: 8.333333%; }
.col-md-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-md-2 { margin-left: 16.666667%; }
.col-md-3 { flex: 0 0 auto; width: 25.0%; }
.offset-md-3 { margin-left: 25.0%; }
.col-md-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-md-4 { margin-left: 33.333333%; }
.col-md-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-md-5 { margin-left: 41.666667%; }
.col-md-6 { flex: 0 0 auto; width: 50.0%; }
.offset-md-6 { margin-left: 50.0%; }
.col-md-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-md-7 { margin-left: 58.333333%; }
.col-md-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-md-8 { margin-left: 66.666667%; }
.col-md-9 { flex: 0 0 auto; width: 75.0%; }
.offset-md-9 { margin-left: 75.0%; }
.col-md-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-md-10 { margin-left: 83.333333%; }
.col-md-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-md-11 { margin-left: 91.666667%; }
.col-md-12 { flex: 0 0 auto; width: 100.0%; }
.offset-md-12 { margin-left: 100.0%; }
.col-md { flex: 1 0 0%; } .col-md-auto { flex: 0 0 auto; width: auto; }
.d-md-none { display: none !important; }
.d-md-block { display: block !important; }
.d-md-inline { display: inline !important; }
.d-md-inline-block { display: inline-block !important; }
.d-md-flex { display: flex !important; }
.d-md-inline-flex { display: inline-flex !important; }
.d-md-grid { display: grid !important; }
.d-md-table-cell { display: table-cell !important; }
.flex-md-row { flex-direction: row !important; }
.flex-md-column { flex-direction: column !important; }
.flex-md-row-reverse { flex-direction: row-reverse !important; }
.flex-md-column-reverse { flex-direction: column-reverse !important; }
.flex-md-wrap { flex-wrap: wrap !important; }
.flex-md-nowrap { flex-wrap: nowrap !important; }
.flex-md-grow-1 { flex-grow: 1 !important; } .flex-md-shrink-0 { flex-shrink: 0 !important; } .flex-md-fill { flex: 1 1 auto !important; }
.justify-content-md-start { justify-content: flex-start !important; }
.justify-content-md-end { justify-content: flex-end !important; }
.justify-content-md-center { justify-content: center !important; }
.justify-content-md-between { justify-content: space-between !important; }
.justify-content-md-around { justify-content: space-around !important; }
.align-items-md-start { align-items: flex-start !important; }
.align-self-md-start { align-self: flex-start !important; }
.align-items-md-end { align-items: flex-end !important; }
.align-self-md-end { align-self: flex-end !important; }
.align-items-md-center { align-items: center !important; }
.align-self-md-center { align-self: center !important; }
.align-items-md-baseline { align-items: baseline !important; }
.align-self-md-baseline { align-self: baseline !important; }
.align-items-md-stretch { align-items: stretch !important; }
.align-self-md-stretch { align-self: stretch !important; }
.text-md-start { text-align: left !important; }
.text-md-end { text-align: right !important; }
.text-md-center { text-align: center !important; }
.m-md-0 { margin: 0 !important; }
.m-md-1 { margin: .25rem !important; }
.m-md-2 { margin: .5rem !important; }
.m-md-3 { margin: 1rem !important; }
.m-md-4 { margin: 1.5rem !important; }
.m-md-5 { margin: 3rem !important; }
.m-md-auto { margin: auto !important; }
.mt-md-0 { margin-top: 0 !important; }
.mt-md-1 { margin-top: .25rem !important; }
.mt-md-2 { margin-top: .5rem !important; }
.mt-md-3 { margin-top: 1rem !important; }
.mt-md-4 { margin-top: 1.5rem !important; }
.mt-md-5 { margin-top: 3rem !important; }
.mt-md-auto { margin-top: auto !important; }
.mb-md-0 { margin-bottom: 0 !important; }
.mb-md-1 { margin-bottom: .25rem !important; }
.mb-md-2 { margin-bottom: .5rem !important; }
.mb-md-3 { margin-bottom: 1rem !important; }
.mb-md-4 { margin-bottom: 1.5rem !important; }
.mb-md-5 { margin-bottom: 3rem !important; }
.mb-md-auto { margin-bottom: auto !important; }
.ms-md-0 { margin-left: 0 !important; }
.ms-md-1 { margin-left: .25rem !important; }
.ms-md-2 { margin-left: .5rem !important; }
.ms-md-3 { margin-left: 1rem !important; }
.ms-md-4 { margin-left: 1.5rem !important; }
.ms-md-5 { margin-left: 3rem !important; }
.ms-md-auto { margin-left: auto !important; }
.me-md-0 { margin-right: 0 !important; }
.me-md-1 { margin-right: .25rem !important; }
.me-md-2 { margin-right: .5rem !important; }
.me-md-3 { margin-right: 1rem !important; }
.me-md-4 { margin-right: 1.5rem !important; }
.me-md-5 { margin-right: 3rem !important; }
.me-md-auto { margin-right: auto !important; }
.mx-md-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-md-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-md-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-md-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-md-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-md-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-md-auto { margin-left: auto !important; margin-right: auto !important; }
.my-md-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-md-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-md-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-md-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-md-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-md-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-md-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-md-0 { padding: 0 !important; }
.p-md-1 { padding: .25rem !important; }
.p-md-2 { padding: .5rem !important; }
.p-md-3 { padding: 1rem !important; }
.p-md-4 { padding: 1.5rem !important; }
.p-md-5 { padding: 3rem !important; }
.pt-md-0 { padding-top: 0 !important; }
.pt-md-1 { padding-top: .25rem !important; }
.pt-md-2 { padding-top: .5rem !important; }
.pt-md-3 { padding-top: 1rem !important; }
.pt-md-4 { padding-top: 1.5rem !important; }
.pt-md-5 { padding-top: 3rem !important; }
.pb-md-0 { padding-bottom: 0 !important; }
.pb-md-1 { padding-bottom: .25rem !important; }
.pb-md-2 { padding-bottom: .5rem !important; }
.pb-md-3 { padding-bottom: 1rem !important; }
.pb-md-4 { padding-bottom: 1.5rem !important; }
.pb-md-5 { padding-bottom: 3rem !important; }
.ps-md-0 { padding-left: 0 !important; }
.ps-md-1 { padding-left: .25rem !important; }
.ps-md-2 { padding-left: .5rem !important; }
.ps-md-3 { padding-left: 1rem !important; }
.ps-md-4 { padding-left: 1.5rem !important; }
.ps-md-5 { padding-left: 3rem !important; }
.pe-md-0 { padding-right: 0 !important; }
.pe-md-1 { padding-right: .25rem !important; }
.pe-md-2 { padding-right: .5rem !important; }
.pe-md-3 { padding-right: 1rem !important; }
.pe-md-4 { padding-right: 1.5rem !important; }
.pe-md-5 { padding-right: 3rem !important; }
.px-md-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-md-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-md-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-md-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-md-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-md-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-md-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-md-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-md-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-md-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-md-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-md-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 992px) {
.col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-lg-1 { margin-left: 8.333333%; }
.col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-lg-2 { margin-left: 16.666667%; }
.col-lg-3 { flex: 0 0 auto; width: 25.0%; }
.offset-lg-3 { margin-left: 25.0%; }
.col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-lg-4 { margin-left: 33.333333%; }
.col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-lg-5 { margin-left: 41.666667%; }
.col-lg-6 { flex: 0 0 auto; width: 50.0%; }
.offset-lg-6 { margin-left: 50.0%; }
.col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-lg-7 { margin-left: 58.333333%; }
.col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-lg-8 { margin-left: 66.666667%; }
.col-lg-9 { flex: 0 0 auto; width: 75.0%; }
.offset-lg-9 { margin-left: 75.0%; }
.col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-lg-10 { margin-left: 83.333333%; }
.col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-lg-11 { margin-left: 91.666667%; }
.col-lg-12 { flex: 0 0 auto; width: 100.0%; }
.offset-lg-12 { margin-left: 100.0%; }
.col-lg { flex: 1 0 0%; } .col-lg-auto { flex: 0 0 auto; width: auto; }
.d-lg-none { display: none !important; }
.d-lg-block { display: block !important; }
.d-lg-inline { display: inline !important; }
.d-lg-inline-block { display: inline-block !important; }
.d-lg-flex { display: flex !important; }
.d-lg-inline-flex { display: inline-flex !important; }
.d-lg-grid { display: grid !important; }
.d-lg-table-cell { display: table-cell !important; }
.flex-lg-row { flex-direction: row !important; }
.flex-lg-column { flex-direction: column !important; }
.flex-lg-row-reverse { flex-direction: row-reverse !important; }
.flex-lg-column-reverse { flex-direction: column-reverse !important; }
.flex-lg-wrap { flex-wrap: wrap !important; }
.flex-lg-nowrap { flex-wrap: nowrap !important; }
.flex-lg-grow-1 { flex-grow: 1 !important; } .flex-lg-shrink-0 { flex-shrink: 0 !important; } .flex-lg-fill { flex: 1 1 auto !important; }
.justify-content-lg-start { justify-content: flex-start !important; }
.justify-content-lg-end { justify-content: flex-end !important; }
.justify-content-lg-center { justify-content: center !important; }
.justify-content-lg-between { justify-content: space-between !important; }
.justify-content-lg-around { justify-content: space-around !important; }
.align-items-lg-start { align-items: flex-start !important; }
.align-self-lg-start { align-self: flex-start !important; }
.align-items-lg-end { align-items: flex-end !important; }
.align-self-lg-end { align-self: flex-end !important; }
.align-items-lg-center { align-items: center !important; }
.align-self-lg-center { align-self: center !important; }
.align-items-lg-baseline { align-items: baseline !important; }
.align-self-lg-baseline { align-self: baseline !important; }
.align-items-lg-stretch { align-items: stretch !important; }
.align-self-lg-stretch { align-self: stretch !important; }
.text-lg-start { text-align: left !important; }
.text-lg-end { text-align: right !important; }
.text-lg-center { text-align: center !important; }
.m-lg-0 { margin: 0 !important; }
.m-lg-1 { margin: .25rem !important; }
.m-lg-2 { margin: .5rem !important; }
.m-lg-3 { margin: 1rem !important; }
.m-lg-4 { margin: 1.5rem !important; }
.m-lg-5 { margin: 3rem !important; }
.m-lg-auto { margin: auto !important; }
.mt-lg-0 { margin-top: 0 !important; }
.mt-lg-1 { margin-top: .25rem !important; }
.mt-lg-2 { margin-top: .5rem !important; }
.mt-lg-3 { margin-top: 1rem !important; }
.mt-lg-4 { margin-top: 1.5rem !important; }
.mt-lg-5 { margin-top: 3rem !important; }
.mt-lg-auto { margin-top: auto !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-lg-1 { margin-bottom: .25rem !important; }
.mb-lg-2 { margin-bottom: .5rem !important; }
.mb-lg-3 { margin-bottom: 1rem !important; }
.mb-lg-4 { margin-bottom: 1.5rem !important; }
.mb-lg-5 { margin-bottom: 3rem !important; }
.mb-lg-auto { margin-bottom: auto !important; }
.ms-lg-0 { margin-left: 0 !important; }
.ms-lg-1 { margin-left: .25rem !important; }
.ms-lg-2 { margin-left: .5rem !important; }
.ms-lg-3 { margin-left: 1rem !important; }
.ms-lg-4 { margin-left: 1.5rem !important; }
.ms-lg-5 { margin-left: 3rem !important; }
.ms-lg-auto { margin-left: auto !important; }
.me-lg-0 { margin-right: 0 !important; }
.me-lg-1 { margin-right: .25rem !important; }
.me-lg-2 { margin-right: .5rem !important; }
.me-lg-3 { margin-right: 1rem !important; }
.me-lg-4 { margin-right: 1.5rem !important; }
.me-lg-5 { margin-right: 3rem !important; }
.me-lg-auto { margin-right: auto !important; }
.mx-lg-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-lg-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-lg-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-lg-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-lg-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-lg-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-lg-auto { margin-left: auto !important; margin-right: auto !important; }
.my-lg-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-lg-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-lg-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-lg-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-lg-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-lg-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-lg-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-lg-0 { padding: 0 !important; }
.p-lg-1 { padding: .25rem !important; }
.p-lg-2 { padding: .5rem !important; }
.p-lg-3 { padding: 1rem !important; }
.p-lg-4 { padding: 1.5rem !important; }
.p-lg-5 { padding: 3rem !important; }
.pt-lg-0 { padding-top: 0 !important; }
.pt-lg-1 { padding-top: .25rem !important; }
.pt-lg-2 { padding-top: .5rem !important; }
.pt-lg-3 { padding-top: 1rem !important; }
.pt-lg-4 { padding-top: 1.5rem !important; }
.pt-lg-5 { padding-top: 3rem !important; }
.pb-lg-0 { padding-bottom: 0 !important; }
.pb-lg-1 { padding-bottom: .25rem !important; }
.pb-lg-2 { padding-bottom: .5rem !important; }
.pb-lg-3 { padding-bottom: 1rem !important; }
.pb-lg-4 { padding-bottom: 1.5rem !important; }
.pb-lg-5 { padding-bottom: 3rem !important; }
.ps-lg-0 { padding-left: 0 !important; }
.ps-lg-1 { padding-left: .25rem !important; }
.ps-lg-2 { padding-left: .5rem !important; }
.ps-lg-3 { padding-left: 1rem !important; }
.ps-lg-4 { padding-left: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-0 { padding-right: 0 !important; }
.pe-lg-1 { padding-right: .25rem !important; }
.pe-lg-2 { padding-right: .5rem !important; }
.pe-lg-3 { padding-right: 1rem !important; }
.pe-lg-4 { padding-right: 1.5rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.px-lg-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-lg-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-lg-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-lg-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-lg-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-lg-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-lg-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-lg-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-lg-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-lg-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-lg-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-lg-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 1200px) {
.col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-xl-1 { margin-left: 8.333333%; }
.col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-xl-2 { margin-left: 16.666667%; }
.col-xl-3 { flex: 0 0 auto; width: 25.0%; }
.offset-xl-3 { margin-left: 25.0%; }
.col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-xl-4 { margin-left: 33.333333%; }
.col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-xl-5 { margin-left: 41.666667%; }
.col-xl-6 { flex: 0 0 auto; width: 50.0%; }
.offset-xl-6 { margin-left: 50.0%; }
.col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-xl-7 { margin-left: 58.333333%; }
.col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-xl-8 { margin-left: 66.666667%; }
.col-xl-9 { flex: 0 0 auto; width: 75.0%; }
.offset-xl-9 { margin-left: 75.0%; }
.col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-xl-10 { margin-left: 83.333333%; }
.col-xl-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-xl-11 { margin-left: 91.666667%; }
.col-xl-12 { flex: 0 0 auto; width: 100.0%; }
.offset-xl-12 { margin-left: 100.0%; }
.col-xl { flex: 1 0 0%; } .col-xl-auto { flex: 0 0 auto; width: auto; }
.d-xl-none { display: none !important; }
.d-xl-block { display: block !important; }
.d-xl-inline { display: inline !important; }
.d-xl-inline-block { display: inline-block !important; }
.d-xl-flex { display: flex !important; }
.d-xl-inline-flex { display: inline-flex !important; }
.d-xl-grid { display: grid !important; }
.d-xl-table-cell { display: table-cell !important; }
.flex-xl-row { flex-direction: row !important; }
.flex-xl-column { flex-direction: column !important; }
.flex-xl-row-reverse { flex-direction: row-reverse !important; }
.flex-xl-column-reverse { flex-direction: column-reverse !important; }
.flex-xl-wrap { flex-wrap: wrap !important; }
.flex-xl-nowrap { flex-wrap: nowrap !important; }
.flex-xl-grow-1 { flex-grow: 1 !important; } .flex-xl-shrink-0 { flex-shrink: 0 !important; } .flex-xl-fill { flex: 1 1 auto !important; }
.justify-content-xl-start { justify-content: flex-start !important; }
.justify-content-xl-end { justify-content: flex-end !important; }
.justify-content-xl-center { justify-content: center !important; }
.justify-content-xl-between { justify-content: space-between !important; }
.justify-content-xl-around { justify-content: space-around !important; }
.align-items-xl-start { align-items: flex-start !important; }
.align-self-xl-start { align-self: flex-start !important; }
.align-items-xl-end { align-items: flex-end !important; }
.align-self-xl-end { align-self: flex-end !important; }
.align-items-xl-center { align-items: center !important; }
.align-self-xl-center { align-self: center !important; }
.align-items-xl-baseline { align-items: baseline !important; }
.align-self-xl-baseline { align-self: baseline !important; }
.align-items-xl-stretch { align-items: stretch !important; }
.align-self-xl-stretch { align-self: stretch !important; }
.text-xl-start { text-align: left !important; }
.text-xl-end { text-align: right !important; }
.text-xl-center { text-align: center !important; }
.m-xl-0 { margin: 0 !important; }
.m-xl-1 { margin: .25rem !important; }
.m-xl-2 { margin: .5rem !important; }
.m-xl-3 { margin: 1rem !important; }
.m-xl-4 { margin: 1.5rem !important; }
.m-xl-5 { margin: 3rem !important; }
.m-xl-auto { margin: auto !important; }
.mt-xl-0 { margin-top: 0 !important; }
.mt-xl-1 { margin-top: .25rem !important; }
.mt-xl-2 { margin-top: .5rem !important; }
.mt-xl-3 { margin-top: 1rem !important; }
.mt-xl-4 { margin-top: 1.5rem !important; }
.mt-xl-5 { margin-top: 3rem !important; }
.mt-xl-auto { margin-top: auto !important; }
.mb-xl-0 { margin-bottom: 0 !important; }
.mb-xl-1 { margin-bottom: .25rem !important; }
.mb-xl-2 { margin-bottom: .5rem !important; }
.mb-xl-3 { margin-bottom: 1rem !important; }
.mb-xl-4 { margin-bottom: 1.5rem !important; }
.mb-xl-5 { margin-bottom: 3rem !important; }
.mb-xl-auto { margin-bottom: auto !important; }
.ms-xl-0 { margin-left: 0 !important; }
.ms-xl-1 { margin-left: .25rem !important; }
.ms-xl-2 { margin-left: .5rem !important; }
.ms-xl-3 { margin-left: 1rem !important; }
.ms-xl-4 { margin-left: 1.5rem !important; }
.ms-xl-5 { margin-left: 3rem !important; }
.ms-xl-auto { margin-left: auto !important; }
.me-xl-0 { margin-right: 0 !important; }
.me-xl-1 { margin-right: .25rem !important; }
.me-xl-2 { margin-right: .5rem !important; }
.me-xl-3 { margin-right: 1rem !important; }
.me-xl-4 { margin-right: 1.5rem !important; }
.me-xl-5 { margin-right: 3rem !important; }
.me-xl-auto { margin-right: auto !important; }
.mx-xl-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-xl-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-xl-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-xl-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-xl-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-xl-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-xl-auto { margin-left: auto !important; margin-right: auto !important; }
.my-xl-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-xl-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-xl-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-xl-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-xl-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-xl-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-xl-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-xl-0 { padding: 0 !important; }
.p-xl-1 { padding: .25rem !important; }
.p-xl-2 { padding: .5rem !important; }
.p-xl-3 { padding: 1rem !important; }
.p-xl-4 { padding: 1.5rem !important; }
.p-xl-5 { padding: 3rem !important; }
.pt-xl-0 { padding-top: 0 !important; }
.pt-xl-1 { padding-top: .25rem !important; }
.pt-xl-2 { padding-top: .5rem !important; }
.pt-xl-3 { padding-top: 1rem !important; }
.pt-xl-4 { padding-top: 1.5rem !important; }
.pt-xl-5 { padding-top: 3rem !important; }
.pb-xl-0 { padding-bottom: 0 !important; }
.pb-xl-1 { padding-bottom: .25rem !important; }
.pb-xl-2 { padding-bottom: .5rem !important; }
.pb-xl-3 { padding-bottom: 1rem !important; }
.pb-xl-4 { padding-bottom: 1.5rem !important; }
.pb-xl-5 { padding-bottom: 3rem !important; }
.ps-xl-0 { padding-left: 0 !important; }
.ps-xl-1 { padding-left: .25rem !important; }
.ps-xl-2 { padding-left: .5rem !important; }
.ps-xl-3 { padding-left: 1rem !important; }
.ps-xl-4 { padding-left: 1.5rem !important; }
.ps-xl-5 { padding-left: 3rem !important; }
.pe-xl-0 { padding-right: 0 !important; }
.pe-xl-1 { padding-right: .25rem !important; }
.pe-xl-2 { padding-right: .5rem !important; }
.pe-xl-3 { padding-right: 1rem !important; }
.pe-xl-4 { padding-right: 1.5rem !important; }
.pe-xl-5 { padding-right: 3rem !important; }
.px-xl-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-xl-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-xl-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-xl-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-xl-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-xl-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-xl-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-xl-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-xl-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-xl-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-xl-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-xl-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

@media (min-width: 1400px) {
.col-xxl-1 { flex: 0 0 auto; width: 8.333333%; }
.offset-xxl-1 { margin-left: 8.333333%; }
.col-xxl-2 { flex: 0 0 auto; width: 16.666667%; }
.offset-xxl-2 { margin-left: 16.666667%; }
.col-xxl-3 { flex: 0 0 auto; width: 25.0%; }
.offset-xxl-3 { margin-left: 25.0%; }
.col-xxl-4 { flex: 0 0 auto; width: 33.333333%; }
.offset-xxl-4 { margin-left: 33.333333%; }
.col-xxl-5 { flex: 0 0 auto; width: 41.666667%; }
.offset-xxl-5 { margin-left: 41.666667%; }
.col-xxl-6 { flex: 0 0 auto; width: 50.0%; }
.offset-xxl-6 { margin-left: 50.0%; }
.col-xxl-7 { flex: 0 0 auto; width: 58.333333%; }
.offset-xxl-7 { margin-left: 58.333333%; }
.col-xxl-8 { flex: 0 0 auto; width: 66.666667%; }
.offset-xxl-8 { margin-left: 66.666667%; }
.col-xxl-9 { flex: 0 0 auto; width: 75.0%; }
.offset-xxl-9 { margin-left: 75.0%; }
.col-xxl-10 { flex: 0 0 auto; width: 83.333333%; }
.offset-xxl-10 { margin-left: 83.333333%; }
.col-xxl-11 { flex: 0 0 auto; width: 91.666667%; }
.offset-xxl-11 { margin-left: 91.666667%; }
.col-xxl-12 { flex: 0 0 auto; width: 100.0%; }
.offset-xxl-12 { margin-left: 100.0%; }
.col-xxl { flex: 1 0 0%; } .col-xxl-auto { flex: 0 0 auto; width: auto; }
.d-xxl-none { display: none !important; }
.d-xxl-block { display: block !important; }
.d-xxl-inline { display: inline !important; }
.d-xxl-inline-block { display: inline-block !important; }
.d-xxl-flex { display: flex !important; }
.d-xxl-inline-flex { display: inline-flex !important; }
.d-xxl-grid { display: grid !important; }
.d-xxl-table-cell { display: table-cell !important; }
.flex-xxl-row { flex-direction: row !important; }
.flex-xxl-column { flex-direction: column !important; }
.flex-xxl-row-reverse { flex-direction: row-reverse !important; }
.flex-xxl-column-reverse { flex-direction: column-reverse !important; }
.flex-xxl-wrap { flex-wrap: wrap !important; }
.flex-xxl-nowrap { flex-wrap: nowrap !important; }
.flex-xxl-grow-1 { flex-grow: 1 !important; } .flex-xxl-shrink-0 { flex-shrink: 0 !important; } .flex-xxl-fill { flex: 1 1 auto !important; }
.justify-content-xxl-start { justify-content: flex-start !important; }
.justify-content-xxl-end { justify-content: flex-end !important; }
.justify-content-xxl-center { justify-content: center !important; }
.justify-content-xxl-between { justify-content: space-between !important; }
.justify-content-xxl-around { justify-content: space-around !important; }
.align-items-xxl-start { align-items: flex-start !important; }
.align-self-xxl-start { align-self: flex-start !important; }
.align-items-xxl-end { align-items: flex-end !important; }
.align-self-xxl-end { align-self: flex-end !important; }
.align-items-xxl-center { align-items: center !important; }
.align-self-xxl-center { align-self: center !important; }
.align-items-xxl-baseline { align-items: baseline !important; }
.align-self-xxl-baseline { align-self: baseline !important; }
.align-items-xxl-stretch { align-items: stretch !important; }
.align-self-xxl-stretch { align-self: stretch !important; }
.text-xxl-start { text-align: left !important; }
.text-xxl-end { text-align: right !important; }
.text-xxl-center { text-align: center !important; }
.m-xxl-0 { margin: 0 !important; }
.m-xxl-1 { margin: .25rem !important; }
.m-xxl-2 { margin: .5rem !important; }
.m-xxl-3 { margin: 1rem !important; }
.m-xxl-4 { margin: 1.5rem !important; }
.m-xxl-5 { margin: 3rem !important; }
.m-xxl-auto { margin: auto !important; }
.mt-xxl-0 { margin-top: 0 !important; }
.mt-xxl-1 { margin-top: .25rem !important; }
.mt-xxl-2 { margin-top: .5rem !important; }
.mt-xxl-3 { margin-top: 1rem !important; }
.mt-xxl-4 { margin-top: 1.5rem !important; }
.mt-xxl-5 { margin-top: 3rem !important; }
.mt-xxl-auto { margin-top: auto !important; }
.mb-xxl-0 { margin-bottom: 0 !important; }
.mb-xxl-1 { margin-bottom: .25rem !important; }
.mb-xxl-2 { margin-bottom: .5rem !important; }
.mb-xxl-3 { margin-bottom: 1rem !important; }
.mb-xxl-4 { margin-bottom: 1.5rem !important; }
.mb-xxl-5 { margin-bottom: 3rem !important; }
.mb-xxl-auto { margin-bottom: auto !important; }
.ms-xxl-0 { margin-left: 0 !important; }
.ms-xxl-1 { margin-left: .25rem !important; }
.ms-xxl-2 { margin-left: .5rem !important; }
.ms-xxl-3 { margin-left: 1rem !important; }
.ms-xxl-4 { margin-left: 1.5rem !important; }
.ms-xxl-5 { margin-left: 3rem !important; }
.ms-xxl-auto { margin-left: auto !important; }
.me-xxl-0 { margin-right: 0 !important; }
.me-xxl-1 { margin-right: .25rem !important; }
.me-xxl-2 { margin-right: .5rem !important; }
.me-xxl-3 { margin-right: 1rem !important; }
.me-xxl-4 { margin-right: 1.5rem !important; }
.me-xxl-5 { margin-right: 3rem !important; }
.me-xxl-auto { margin-right: auto !important; }
.mx-xxl-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-xxl-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-xxl-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-xxl-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-xxl-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-xxl-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-xxl-auto { margin-left: auto !important; margin-right: auto !important; }
.my-xxl-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-xxl-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-xxl-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-xxl-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-xxl-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-xxl-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-xxl-auto { margin-top: auto !important; margin-bottom: auto !important; }
.p-xxl-0 { padding: 0 !important; }
.p-xxl-1 { padding: .25rem !important; }
.p-xxl-2 { padding: .5rem !important; }
.p-xxl-3 { padding: 1rem !important; }
.p-xxl-4 { padding: 1.5rem !important; }
.p-xxl-5 { padding: 3rem !important; }
.pt-xxl-0 { padding-top: 0 !important; }
.pt-xxl-1 { padding-top: .25rem !important; }
.pt-xxl-2 { padding-top: .5rem !important; }
.pt-xxl-3 { padding-top: 1rem !important; }
.pt-xxl-4 { padding-top: 1.5rem !important; }
.pt-xxl-5 { padding-top: 3rem !important; }
.pb-xxl-0 { padding-bottom: 0 !important; }
.pb-xxl-1 { padding-bottom: .25rem !important; }
.pb-xxl-2 { padding-bottom: .5rem !important; }
.pb-xxl-3 { padding-bottom: 1rem !important; }
.pb-xxl-4 { padding-bottom: 1.5rem !important; }
.pb-xxl-5 { padding-bottom: 3rem !important; }
.ps-xxl-0 { padding-left: 0 !important; }
.ps-xxl-1 { padding-left: .25rem !important; }
.ps-xxl-2 { padding-left: .5rem !important; }
.ps-xxl-3 { padding-left: 1rem !important; }
.ps-xxl-4 { padding-left: 1.5rem !important; }
.ps-xxl-5 { padding-left: 3rem !important; }
.pe-xxl-0 { padding-right: 0 !important; }
.pe-xxl-1 { padding-right: .25rem !important; }
.pe-xxl-2 { padding-right: .5rem !important; }
.pe-xxl-3 { padding-right: 1rem !important; }
.pe-xxl-4 { padding-right: 1.5rem !important; }
.pe-xxl-5 { padding-right: 3rem !important; }
.px-xxl-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-xxl-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-xxl-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-xxl-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-xxl-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-xxl-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-xxl-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-xxl-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-xxl-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-xxl-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-xxl-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-xxl-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* 文字 */
.fs-1 { font-size: 2.2rem !important; } .fs-2 { font-size: 1.8rem !important; } .fs-3 { font-size: 1.45rem !important; }
.fs-4 { font-size: 1.2rem !important; } .fs-5 { font-size: 1.05rem !important; } .fs-6 { font-size: .9rem !important; }
.fw-light { font-weight: 300 !important; } .fw-normal { font-weight: 400 !important; } .fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; } .fw-bold { font-weight: 700 !important; } .fw-bolder { font-weight: 800 !important; }
.fst-italic { font-style: italic !important; } .lh-1 { line-height: 1 !important; } .lh-sm { line-height: 1.3 !important; } .lh-base { line-height: 1.6 !important; }
.text-uppercase { text-transform: uppercase !important; } .text-nowrap { white-space: nowrap !important; }
.text-break { word-wrap: break-word !important; word-break: break-word !important; }
.text-decoration-none { text-decoration: none !important; } .text-decoration-underline { text-decoration: underline !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-muted { color: var(--fy-muted) !important; } .text-body { color: var(--fy-ink) !important; } .text-dark { color: var(--fy-ink) !important; }
.text-white { color: var(--fy-surface) !important; } .text-primary { color: var(--fy-primary-d) !important; } .text-success { color: var(--fy-green-ink) !important; }
.text-danger { color: var(--fy-coral-ink) !important; } .text-warning { color: var(--fy-sun-ink) !important; } .text-info { color: var(--fy-primary-d) !important; }
.text-secondary { color: var(--fy-ink) !important; }
.align-middle { vertical-align: middle !important; } .align-baseline { vertical-align: baseline !important; }
.list-unstyled { padding-left: 0; list-style: none; }
.pre-wrap { white-space: pre-wrap; }
/* 尺寸 / 边框 / 圆角 / 阴影 / 其它 */
.w-100 { width: 100% !important; } .w-50 { width: 50% !important; } .w-auto { width: auto !important; }
.h-100 { height: 100% !important; } .h-auto { height: auto !important; } .mw-100 { max-width: 100% !important; }
.border { border: 1px solid var(--fy-line) !important; } .border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--fy-line) !important; } .border-bottom { border-bottom: 1px solid var(--fy-line) !important; }
.border-primary { border-color: var(--fy-primary) !important; } .border-success { border-color: var(--fy-green) !important; }
.border-danger { border-color: var(--fy-coral) !important; } .border-warning { border-color: var(--fy-sun) !important; }
.rounded { border-radius: var(--fy-radius-sm) !important; } .rounded-0 { border-radius: 0 !important; } .rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 99px !important; }
.shadow-none { box-shadow: none !important; } .shadow-sm { box-shadow: none !important; }
.shadow { box-shadow: none !important; } .shadow-lg { box-shadow: none !important; }
.cursor-pointer { cursor: pointer !important; } .overflow-hidden { overflow: hidden !important; } .overflow-auto { overflow: auto !important; }
.position-relative { position: relative !important; } .position-absolute { position: absolute !important; } .position-fixed { position: fixed !important; }
.float-end { float: right !important; } .float-start { float: left !important; }
.clearfix::after { content: ""; display: table; clear: both; }
.visible { visibility: visible !important; } .invisible { visibility: hidden !important; }
.show { }
/* ---------- 4. 页面骨架 ---------- */
.layout-wrapper { min-height: 100vh; }
.layout-container { display: flex; min-height: 100vh; }

.layout-menu {
    position: fixed; z-index: 1040; inset: 0 auto 0 0; width: var(--sb-width);
    display: flex; flex-direction: column; background: var(--fy-surface); border-right: 1px solid var(--fy-line);
    transform: translateX(-100%); transition: transform .25s ease;
}
.layout-menu .app-brand { flex: none; display: flex; align-items: center; justify-content: center; padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--fy-line); }
.layout-menu .app-brand a { display: block; width: 100%; text-align: center; }
.layout-menu .app-brand img { width: 74%; max-width: 190px; height: auto; margin: 0 auto; }
.layout-menu .menu-inner { flex: 1; min-height: 0; margin: 0; padding: .75rem .75rem 1.5rem; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.menu-header { padding: 1.1rem .9rem .4rem; list-style: none; }
.menu-header-text { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--fy-muted); text-transform: uppercase; }
.menu-item { list-style: none; margin: 2px 0; position: relative; }
.menu-link {
    position: relative; display: flex; align-items: center; gap: .7rem; min-height: 42px; padding: .5rem .85rem; border-radius: var(--fy-radius-sm);
    color: var(--fy-ink); font-weight: 600; font-size: .9375rem; line-height: 1.35; cursor: pointer; text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.menu-link:hover { background: var(--fy-primary-t); color: var(--fy-primary-d); text-decoration: none; }
.menu-link > div { flex: 1; min-width: 0; }
.menu-icon { font-size: 1.2rem; color: var(--fy-muted); }
.menu-link:hover .menu-icon { color: var(--fy-primary-d); }
.menu-arrow { margin-left: auto; font-size: 1rem; color: var(--fy-muted); transition: transform .2s ease; }
.menu-item.open > .menu-link .menu-arrow { transform: rotate(180deg); }
.menu-item.active > .menu-link { background: var(--fy-primary-t); color: var(--fy-primary-d); }
.menu-item.active > .menu-link .menu-icon { color: var(--fy-primary-d); }
.menu-item.active:not(.open) > .menu-link::before, .menu-sub > .menu-item.active > .menu-link::before {
    content: ""; position: absolute; left: -.75rem; top: 6px; bottom: 6px; width: 4px; border-radius: 0 4px 4px 0; background: var(--fy-sun);
}
.menu-sub { display: none; margin: 2px 0 6px; padding: 0 0 0 1.4rem; list-style: none; position: relative; }
.menu-sub::before { content: ""; position: absolute; left: 1.55rem; top: 4px; bottom: 4px; width: 1px; background: var(--fy-line); }
.menu-item.open > .menu-sub { display: block; }
.menu-sub .menu-link { min-height: 40px; padding: .4rem .85rem .4rem 1.25rem; font-weight: 500; font-size: .9rem; }
.menu-sub .menu-item.active > .menu-link { font-weight: 700; }

.layout-overlay { position: fixed; inset: 0; z-index: 1035; background: rgba(30, 42, 56, .45); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
html.layout-menu-expanded .layout-menu { transform: none; }
html.layout-menu-expanded .layout-overlay { opacity: 1; visibility: visible; }
html.layout-menu-expanded body { overflow: hidden; }

.layout-page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.content-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.container-xxl, .container { width: 100%; max-width: 1340px; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-p-y { padding-top: 1.5rem; padding-bottom: 2rem; }
.content-wrapper > .container-xxl { flex: 1 0 auto; }

.layout-navbar {
    position: sticky; top: 1rem; z-index: 1030; display: flex; align-items: center;
    margin: 1rem 1.5rem 0; padding: .5rem 1rem; min-height: 56px;
    background: var(--fy-surface); border: 1px solid var(--fy-line); border-radius: var(--fy-radius);
}
.navbar-nav-right { display: flex; align-items: center; flex: 1; min-width: 0; }
.navbar-nav { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-welcome { font-size: .9375rem; color: var(--fy-muted); }
.nav-welcome strong { color: var(--fy-ink); }
.menu-toggle-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: .6rem; border-radius: var(--fy-radius-sm); background: var(--fy-surface); border: 1px solid var(--fy-line); color: var(--fy-ink); font-size: 1.4rem; }
.menu-toggle-btn:hover { background: var(--fy-primary-t); color: var(--fy-primary-d); }
.user-trigger { display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: .15rem .3rem .15rem .6rem; border: 0; border-radius: 99px; background: transparent; color: inherit; text-align: right; }
.user-trigger:hover { background: var(--fy-primary-t); }
.user-trigger .student-meta { line-height: 1.25; }
.user-trigger .student-meta strong { display: block; color: var(--fy-ink); font-size: .9375rem; }
.user-trigger .student-meta small { color: var(--fy-muted); }
.student-dropdown { min-width: 280px; }
.student-card { display: flex !important; align-items: center; gap: .85rem; height: auto !important; padding: .75rem !important; white-space: normal; }
.student-card .fw-semibold { color: var(--fy-ink); }
.nav-logout { color: var(--fy-coral-ink) !important; }
.nav-logout:hover { background: var(--fy-coral-t) !important; }

.content-footer { flex: none; border-top: 1px solid var(--fy-line); background: transparent; color: var(--fy-muted); font-size: .875rem; }
.content-footer .container-xxl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding-top: 1rem; padding-bottom: 1rem; }
.content-footer a { color: var(--fy-ink); font-weight: 700; }
.content-footer a:hover { color: var(--fy-primary-d); }

@media (min-width: 1200px) {
    .layout-menu { transform: none; }
    .layout-page { margin-left: var(--sb-width); }
    .layout-overlay { display: none; }
    .menu-toggle-btn { display: none; }
}

/* ---------- 5. 页面横幅 .ap-hero（平面卡片，不用渐变） ---------- */
.ap-hero { position: relative; overflow: hidden; background: var(--fy-surface); border: 1px solid var(--fy-line); border-radius: var(--fy-radius); color: var(--fy-ink); }
.ap-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fy-sun); }
.ap-hero-in { position: relative; padding: 1.4rem 1.6rem 1.4rem 1.8rem; }
.ap-eyebrow { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--fy-primary-d); }
.ap-eyebrow .bx { font-size: 1.05rem; }
.ap-hero h1 { margin: 0; color: var(--fy-ink); font-size: 1.35rem; font-weight: 700; line-height: 1.35; }
.ap-hero .ap-sub, .ap-hero-sub { margin: .45rem 0 0; max-width: 720px; font-size: .9375rem; line-height: 1.7; color: var(--fy-muted); }
.ap-rule { display: none; }
.ap-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; }
.ap-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 99px; background: var(--fy-primary-t); border: 0; color: var(--fy-primary-d); font-size: .875rem; font-weight: 600; }
.ap-tag .bx { font-size: 1.05rem; color: inherit; }
.ap-tag.gold { background: var(--fy-sun-t); color: var(--fy-sun-ink); }
.ap-tag.ok { background: var(--fy-green-t); color: var(--fy-green-ink); }
.ap-tag.bad { background: var(--fy-coral-t); color: var(--fy-coral-ink); }

/* ---------- 6. 卡片与标题 ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--fy-surface); border: 1px solid var(--fy-line); border-radius: var(--fy-radius); box-shadow: none; }
.card-body { flex: 1 1 auto; padding: 1.25rem 1.5rem; }
.card-header { padding: 1rem 1.5rem; background: transparent; border-bottom: 1px solid var(--fy-line); color: var(--fy-ink); font-weight: 700; border-radius: var(--fy-radius) var(--fy-radius) 0 0; }
.card-header h5, .card-header h6, .card-title { margin: 0; color: var(--fy-ink); font-weight: 700; }
h5.card-header { margin: 0; font-size: 1.05rem; }
.card-title { font-size: 1.05rem; margin-bottom: .5rem; }
.card-text:last-child { margin-bottom: 0; }
.card-footer { padding: .85rem 1.5rem; background: var(--fy-ground); border-top: 1px solid var(--fy-line); border-radius: 0 0 var(--fy-radius) var(--fy-radius); }
.card-img-top { width: 100%; border-radius: var(--fy-radius) var(--fy-radius) 0 0; object-fit: cover; }
.card > .table-responsive:last-child, .card > .table:last-child { border-radius: 0 0 var(--fy-radius) var(--fy-radius); }
.card-hover { transition: border-color .15s ease; }
.card-hover:hover { border-color: var(--fy-primary); }

.section-title, .ap-section-title { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: 1.15rem; font-weight: 700; color: var(--fy-ink); }
.section-title::before, .ap-section-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--fy-sun); flex: none; }
.section-title .bx, .ap-section-title .bx { color: var(--fy-primary); font-size: 1.3rem; }
.section-count { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--fy-muted); }
.form-section-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; font-size: 1.05rem; font-weight: 700; color: var(--fy-ink); }
.form-section-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--fy-sun); flex: none; }

/* ---------- 7. 按钮 ---------- */
.btn {
    --btn-bg: var(--fy-surface); --btn-bd: var(--fy-line-d); --btn-fg: var(--fy-ink);
    --btn-hbg: var(--fy-grey-t); --btn-hbd: var(--fy-line-d); --btn-hfg: var(--fy-ink);
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 40px; padding: .45rem 1.1rem;
    border: 1px solid var(--btn-bd); border-radius: var(--fy-radius-sm); background: var(--btn-bg); color: var(--btn-fg);
    font-size: .9375rem; font-weight: 600; line-height: 1.4; text-align: center; white-space: nowrap; vertical-align: middle; user-select: none; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--btn-hbg); border-color: var(--btn-hbd); color: var(--btn-hfg); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--fy-primary); outline-offset: 2px; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn .bx { font-size: 1.15em; }
.btn-sm { min-height: 34px; padding: .25rem .8rem; font-size: .875rem; }
.btn-lg { min-height: 48px; padding: .6rem 1.5rem; font-size: 1.0625rem; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }

.btn-primary { --btn-bg: var(--fy-primary); --btn-bd: var(--fy-primary); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-primary-d); --btn-hbd: var(--fy-primary-d); --btn-hfg: var(--fy-surface); }
.btn-secondary { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-line-d); --btn-fg: var(--fy-ink); }
.btn-success { --btn-bg: var(--fy-green); --btn-bd: var(--fy-green); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-green-ink); --btn-hbd: var(--fy-green-ink); --btn-hfg: var(--fy-surface); }
.btn-danger { --btn-bg: var(--fy-coral); --btn-bd: var(--fy-coral); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-coral-ink); --btn-hbd: var(--fy-coral-ink); --btn-hfg: var(--fy-surface); }
.btn-warning { --btn-bg: var(--fy-sun); --btn-bd: var(--fy-sun); --btn-fg: var(--fy-ink); --btn-hbg: color-mix(in srgb, var(--fy-sun) 82%, var(--fy-sun-ink)); --btn-hbd: color-mix(in srgb, var(--fy-sun) 82%, var(--fy-sun-ink)); --btn-hfg: var(--fy-ink); }
.btn-info { --btn-bg: var(--fy-primary-d); --btn-bd: var(--fy-primary-d); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-primary); --btn-hbd: var(--fy-primary); --btn-hfg: var(--fy-surface); }
.btn-light { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-line); --btn-fg: var(--fy-ink); --btn-hbg: var(--fy-grey-t); --btn-hbd: var(--fy-line); --btn-hfg: var(--fy-ink); }
.btn-dark { --btn-bg: var(--fy-ink); --btn-bd: var(--fy-ink); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-muted); --btn-hbd: var(--fy-muted); --btn-hfg: var(--fy-surface); }
.btn-outline-primary { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-primary); --btn-fg: var(--fy-primary-d); --btn-hbg: var(--fy-primary-t); --btn-hbd: var(--fy-primary); --btn-hfg: var(--fy-primary-d); }
.btn-outline-secondary { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-line-d); --btn-fg: var(--fy-ink); --btn-hbg: var(--fy-grey-t); --btn-hbd: var(--fy-line-d); --btn-hfg: var(--fy-ink); }
.btn-outline-success { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-green); --btn-fg: var(--fy-green-ink); --btn-hbg: var(--fy-green-t); --btn-hbd: var(--fy-green); --btn-hfg: var(--fy-green-ink); }
.btn-outline-danger { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-coral); --btn-fg: var(--fy-coral-ink); --btn-hbg: var(--fy-coral-t); --btn-hbd: var(--fy-coral); --btn-hfg: var(--fy-coral-ink); }
.btn-outline-warning { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-sun); --btn-fg: var(--fy-sun-ink); --btn-hbg: var(--fy-sun-t); --btn-hbd: var(--fy-sun); --btn-hfg: var(--fy-sun-ink); }
.btn-outline-info { --btn-bg: var(--fy-surface); --btn-bd: var(--fy-primary-d); --btn-fg: var(--fy-primary-d); --btn-hbg: var(--fy-primary-t); --btn-hbd: var(--fy-primary-d); --btn-hfg: var(--fy-primary-d); }
.btn-outline-light { --btn-bg: transparent; --btn-bd: var(--fy-surface); --btn-fg: var(--fy-surface); --btn-hbg: var(--fy-surface); --btn-hbd: var(--fy-surface); --btn-hfg: var(--fy-primary-d); }
.btn-label-primary { --btn-bg: var(--fy-primary-t); --btn-bd: transparent; --btn-fg: var(--fy-primary-d); --btn-hbg: color-mix(in srgb, var(--fy-primary-t) 80%, var(--fy-primary)); --btn-hbd: transparent; --btn-hfg: var(--fy-primary-d); }
.btn-label-secondary { --btn-bg: var(--fy-grey-t); --btn-bd: transparent; --btn-fg: var(--fy-ink); --btn-hbg: var(--fy-line); --btn-hbd: transparent; --btn-hfg: var(--fy-ink); }
.btn-ghost { --btn-bg: transparent; --btn-bd: var(--fy-line-d); --btn-fg: var(--fy-ink); }
.btn-link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--fy-primary-d); --btn-hbg: transparent; --btn-hbd: transparent; --btn-hfg: var(--fy-primary); padding-left: .25rem; padding-right: .25rem; }
.btn-link:hover { text-decoration: underline; }
.btn-group { display: inline-flex; vertical-align: middle; }
.btn-group > .btn { border-radius: 0; margin-left: -1px; }
.btn-group > .btn:first-child { border-radius: var(--fy-radius-sm) 0 0 var(--fy-radius-sm); margin-left: 0; }
.btn-group > .btn:last-child { border-radius: 0 var(--fy-radius-sm) var(--fy-radius-sm) 0; }
.btn-group > .btn:hover { z-index: 1; position: relative; }
.btn-group-sm > .btn { min-height: 34px; padding: .25rem .8rem; font-size: .875rem; }
.btn-close {
    position: relative; flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--fy-radius-sm); background: transparent; color: var(--fy-muted);
}
.btn-close::before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 1.05rem; height: 1.05rem; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-close:hover { background: var(--fy-grey-t); color: var(--fy-ink); }

.ap-cta {
    display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .45rem 1.1rem; border: 1px solid var(--fy-primary); border-radius: var(--fy-radius-sm); cursor: pointer;
    background: var(--fy-primary); color: var(--fy-surface) !important; font-size: .9375rem; font-weight: 600; text-decoration: none;
    transition: background-color .15s ease;
}
.ap-cta:hover { background: var(--fy-primary-d); border-color: var(--fy-primary-d); text-decoration: none; }
.ap-cta .bx { font-size: 1.15rem; }

/* ---------- 8. 表单 ---------- */
.form-label { margin-bottom: .4rem; color: var(--fy-ink); font-weight: 600; font-size: .9375rem; text-transform: none; }
.form-control, .form-select {
    display: block; width: 100%; min-height: 44px; padding: .5rem .85rem; border: 1px solid var(--fy-line-d); border-radius: var(--fy-radius-sm);
    background-color: var(--fy-surface); color: var(--fy-ink); font-size: 1rem; line-height: 1.5;
    transition: border-color .15s ease, outline-color .15s ease; appearance: none; -webkit-appearance: none;
}
.form-control:focus, .form-select:focus { outline: 2px solid var(--fy-primary); outline-offset: 0; border-color: var(--fy-primary); }
.form-control::placeholder { color: var(--fy-placeholder); opacity: 1; }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--fy-grey-t); color: var(--fy-muted); }
.form-control-sm, .form-select-sm { min-height: 36px; padding: .25rem .65rem; font-size: .875rem; }
.form-control-lg { min-height: 52px; padding: .6rem 1.1rem; font-size: 1.0625rem; }
textarea.form-control { min-height: 88px; }
input[type="file"].form-control { padding: .4rem .6rem; }
input[type="file"]::file-selector-button { margin: -.1rem .75rem -.1rem 0; padding: .3rem .8rem; border: 0; border-radius: 8px; background: var(--fy-primary-t); color: var(--fy-primary-d); font-weight: 600; cursor: pointer; }
input[type="color"].form-control { padding: .25rem; }
.form-select {
    padding-right: 2.4rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6878' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}
.form-select[multiple], .form-select[size]:not([size="1"]) { background-image: none; padding-right: .85rem; }
.form-text { margin-top: .3rem; color: var(--fy-muted); font-size: .875rem; }
.trb-hint { display: block; margin-top: .4rem; padding: .5rem .75rem; border-radius: var(--fy-radius-sm); background: var(--fy-primary-t); color: var(--fy-primary-d); font-size: .875rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--fy-coral); }
.form-control.is-valid, .form-select.is-valid { border-color: var(--fy-green); }
.invalid-feedback { display: none; margin-top: .3rem; font-size: .875rem; color: var(--fy-coral-ink); }
.is-invalid ~ .invalid-feedback { display: block; }

.form-check { display: block; min-height: 1.5rem; padding-left: 1.75rem; margin-bottom: .25rem; }
.form-check .form-check-input { float: left; margin-left: -1.75rem; }
.form-check-inline { display: inline-block; margin-right: 1.1rem; }
.form-check-input {
    appearance: none; -webkit-appearance: none; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .2rem; vertical-align: top;
    background: var(--fy-surface) center / 80% no-repeat; border: 1.5px solid var(--fy-check);
}
.form-check-input[type="checkbox"] { border-radius: 6px; }
.form-check-input[type="radio"] { border-radius: 50%; }
.form-check-input:hover:not(:disabled) { border-color: var(--fy-primary); }
.form-check-input:focus-visible { outline: 2px solid var(--fy-primary); outline-offset: 2px; }
.form-check-input:checked { background-color: var(--fy-primary); border-color: var(--fy-primary); }
.form-check-input[type="checkbox"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.form-check-input[type="radio"]:checked { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.2' fill='%23fff'/%3E%3C/svg%3E"); background-size: 100%; }
.form-check-input:disabled { opacity: .5; }
.form-check-input:disabled ~ .form-check-label { opacity: .6; }
.form-check-label { color: var(--fy-ink); cursor: pointer; }

.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group-text { display: flex; align-items: center; padding: .5rem .85rem; border: 1px solid var(--fy-line-d); background: var(--fy-ground); color: var(--fy-muted); font-size: .9375rem; white-space: nowrap; }
.input-group > :not(:first-child) { margin-left: -1px; }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > :not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > :first-child { border-radius: var(--fy-radius-sm) 0 0 var(--fy-radius-sm); }
.input-group > :last-child { border-radius: 0 var(--fy-radius-sm) var(--fy-radius-sm) 0; }
.input-group > :only-child { border-radius: var(--fy-radius-sm); }
.input-group > .form-control:focus { z-index: 3; }
.input-group-sm > .form-control, .input-group-sm > .input-group-text, .input-group-sm > .btn { min-height: 36px; padding: .25rem .65rem; font-size: .875rem; }
.input-group-merge .input-group-text { background: var(--fy-surface); }
.input-group-merge > .input-group-text:first-child { border-right: 0; }
.input-group-merge > .input-group-text:last-child { border-left: 0; cursor: pointer; }
.input-group-merge > .form-control:not(:first-child) { border-left: 0; padding-left: .25rem; }
.input-group-merge > .form-control:not(:last-child) { border-right: 0; }
.input-group-merge > .form-control:focus { outline: 0; }
.input-group-merge:focus-within { border-radius: var(--fy-radius-sm); outline: 2px solid var(--fy-primary); }
.input-group-merge:focus-within > .input-group-text, .input-group-merge:focus-within > .form-control { border-color: var(--fy-primary); }
.form-password-toggle .input-group-text { cursor: pointer; }
.form-password-toggle .input-group-text:hover { color: var(--fy-primary-d); }

/* ---------- 9. 表格 ---------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; margin-bottom: 0; color: var(--fy-ink); border-collapse: collapse; vertical-align: middle; }
.table > :not(caption) > * > * { padding: .75rem 1rem; border-bottom: 1px solid var(--fy-line); background-color: transparent; }
.table > thead > tr > th, .table > thead > tr > td { background: var(--fy-ground); color: var(--fy-ink); font-weight: 700; font-size: .875rem; text-align: left; white-space: nowrap; border-bottom: 2px solid var(--fy-line); }
.table > tbody > tr:last-child > *, .table-border-bottom-0 > tr:last-child > * { border-bottom-color: transparent; }
.table-sm > :not(caption) > * > * { padding: .4rem .65rem; }
.table-hover > tbody > tr:hover > * { background-color: var(--fy-row-hover); }
.table-striped > tbody > tr:nth-of-type(even) > * { background-color: var(--fy-stripe); }
.table-bordered { border: 1px solid var(--fy-line); }
.table-bordered > :not(caption) > * > * { border: 1px solid var(--fy-line); }
.table-bordered > tbody > tr:last-child > * { border-bottom-color: var(--fy-line); }
.table-light > :not(caption) > * > *, thead.table-light > tr > *, .table-light { background-color: var(--fy-ground); color: var(--fy-ink); }
.table td, .table th { vertical-align: middle; }
.align-top { vertical-align: top !important; }

/* ---------- 10. 徽章 / 提示 / 进度 / 头像 ---------- */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .3em .75em; border-radius: 99px; font-size: .8125rem; font-weight: 600; line-height: 1.25; white-space: normal; vertical-align: baseline; }
.bg-label-primary { background-color: var(--fy-primary-t); color: var(--fy-primary-d); }
.bg-label-info { background-color: var(--fy-primary-t); color: var(--fy-primary-d); }
.bg-label-secondary { background-color: var(--fy-grey-t); color: var(--fy-muted); }
.bg-label-success { background-color: var(--fy-green-t); color: var(--fy-green-ink); }
.bg-label-warning { background-color: var(--fy-sun-t); color: var(--fy-sun-ink); }
.bg-label-danger { background-color: var(--fy-coral-t); color: var(--fy-coral-ink); }
.bg-label-dark { background-color: var(--fy-grey-t); color: var(--fy-ink); }
.bg-primary { background-color: var(--fy-primary) !important; color: var(--fy-surface); }
.bg-secondary { background-color: var(--fy-muted) !important; color: var(--fy-surface); }
.bg-success { background-color: var(--fy-green) !important; color: var(--fy-surface); }
.bg-info { background-color: var(--fy-primary-d) !important; color: var(--fy-surface); }
.bg-warning { background-color: var(--fy-sun) !important; color: var(--fy-ink); }
.bg-danger { background-color: var(--fy-coral) !important; color: var(--fy-surface); }
.bg-dark { background-color: var(--fy-ink) !important; color: var(--fy-surface); }
.bg-light, .bg-lighter { background-color: var(--fy-ground) !important; }
.bg-white { background-color: var(--fy-surface) !important; }
.bg-transparent { background-color: transparent !important; }

.alert { position: relative; padding: .8rem 1.1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: var(--fy-radius-md); font-size: .9375rem; }
.alert-heading { margin-bottom: .35rem; color: inherit; font-size: 1rem; }
.alert > :last-child { margin-bottom: 0; }
.alert-dismissible { padding-right: 3.2rem; }
.alert-dismissible .btn-close { position: absolute; top: .4rem; right: .5rem; color: inherit; }
.alert-primary, .alert-info { background: var(--fy-primary-t); border-color: color-mix(in srgb, var(--fy-primary-t) 70%, var(--fy-primary)); color: var(--fy-primary-d); }
.alert-secondary { background: var(--fy-grey-t); border-color: var(--fy-line); color: var(--fy-muted); }
.alert-success { background: var(--fy-green-t); border-color: color-mix(in srgb, var(--fy-green-t) 70%, var(--fy-green)); color: var(--fy-green-ink); }
.alert-warning { background: var(--fy-sun-t); border-color: color-mix(in srgb, var(--fy-sun-t) 60%, var(--fy-sun)); color: var(--fy-sun-ink); }
.alert-danger { background: var(--fy-coral-t); border-color: color-mix(in srgb, var(--fy-coral-t) 70%, var(--fy-coral)); color: var(--fy-coral-ink); }
.alert-light { background: var(--fy-surface); border-color: var(--fy-line); color: var(--fy-muted); }
.alert a { color: inherit; font-weight: 700; text-decoration: underline; }

.progress { display: flex; height: .6rem; overflow: hidden; background: var(--fy-grey-t); border-radius: 99px; }
.progress-bar { display: flex; align-items: center; justify-content: center; background: var(--fy-primary); color: var(--fy-surface); font-size: .75rem; transition: width .4s ease; }
.spinner-border { display: inline-block; width: 2rem; height: 2rem; border: .2em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sis-spin .75s linear infinite; vertical-align: -.125em; }
.spinner-border-sm { width: 1rem; height: 1rem; border-width: .15em; }
@keyframes sis-spin { to { transform: rotate(360deg); } }

.avatar { position: relative; display: inline-block; flex: none; width: 2.5rem; height: 2.5rem; vertical-align: middle; }
.avatar img, .avatar .avatar-initial { width: 100%; height: 100%; }
.avatar img { position: relative; z-index: 1; border-radius: 50%; object-fit: cover; background: var(--fy-surface); }
.avatar-initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fy-primary-t); color: var(--fy-primary-d); font-weight: 700; font-size: .9rem; }
.avatar-initial.rounded { border-radius: var(--fy-radius-sm); }
.avatar-sm { width: 2rem; height: 2rem; } .avatar-sm .avatar-initial { font-size: .75rem; }
.avatar-lg { width: 3.4rem; height: 3.4rem; } .avatar-lg .avatar-initial { font-size: 1.2rem; }
.avatar-online::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: 0; width: .65rem; height: .65rem; border-radius: 50%; background: var(--fy-green); border: 2px solid var(--fy-surface); box-sizing: content-box; }
.student-avatar { width: 2.5rem; height: 2.5rem; }
.student-avatar .avatar-initial { background: var(--fy-primary); color: var(--fy-surface); }
.student-avatar-lg { width: 3.2rem; height: 3.2rem; }
.legend-indicator { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }

/* ---------- 11. 分页签 / 下拉菜单 / 弹窗 ---------- */
.nav { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav-item { list-style: none; }
.nav-link { display: block; min-height: 40px; padding: .55rem 1rem; color: var(--fy-muted); font-weight: 600; background: none; border: 0; cursor: pointer; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.nav-link:hover { color: var(--fy-primary-d); text-decoration: none; }
.nav-tabs { border-bottom: 1px solid var(--fy-line); gap: .25rem; }
.nav-tabs .nav-link { margin-bottom: -1px; border-bottom: 3px solid transparent; border-radius: var(--fy-radius-sm) var(--fy-radius-sm) 0 0; }
.nav-tabs .nav-link:hover { background: var(--fy-primary-t); }
.nav-tabs .nav-link.active { color: var(--fy-primary-d); border-bottom-color: var(--fy-sun); background: transparent; }
.nav-pills { gap: .4rem; }
.nav-pills .nav-link { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1.1rem; border-radius: 99px; background: var(--fy-surface); border: 1px solid var(--fy-line); color: var(--fy-ink); }
.nav-pills .nav-link:hover { color: var(--fy-primary-d); background: var(--fy-primary-t); border-color: var(--fy-primary-t); }
.nav-pills .nav-link.active { background: var(--fy-primary); color: var(--fy-surface); border-color: var(--fy-primary); }
.nav-pills .nav-link.active .badge { background: rgba(255, 255, 255, .22) !important; color: var(--fy-surface) !important; }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }
.fade { transition: opacity .18s linear; }
.fade:not(.show) { opacity: 0; }
.collapse:not(.show) { display: none; }

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; z-index: 1050; display: none; min-width: 12rem; margin: .4rem 0 0; padding: .4rem; list-style: none;
    background: var(--fy-surface); border: 1px solid var(--fy-line); border-radius: var(--fy-radius-md); box-shadow: var(--fy-shadow-menu);
}
.dropdown-menu.show { display: block; }
.dropdown-menu-end { right: 0; left: auto; }
.dropdown-item { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 40px; padding: .4rem .8rem; border: 0; border-radius: var(--fy-radius-sm); background: none; color: var(--fy-ink); font-weight: 600; font-size: .9375rem; text-align: left; white-space: nowrap; text-decoration: none; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--fy-primary-t); color: var(--fy-primary-d); text-decoration: none; }
.dropdown-divider { height: 0; margin: .4rem 0; border-top: 1px solid var(--fy-line); }

.modal { position: fixed; inset: 0; z-index: 1060; display: none; overflow-x: hidden; overflow-y: auto; outline: 0; -webkit-overflow-scrolling: touch; }
.modal-dialog { position: relative; width: auto; max-width: 520px; margin: 1.75rem auto; pointer-events: none; padding: 0 .75rem; }
.modal.fade .modal-dialog { transform: translateY(-14px); transition: transform .2s ease-out; }
.modal.show .modal-dialog { transform: none; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
.modal-dialog-scrollable { height: calc(100% - 3.5rem); }
.modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-body { overflow-y: auto; }
.modal-sm { max-width: 340px; } .modal-lg { max-width: 820px; } .modal-xl { max-width: 1140px; }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: var(--fy-surface); border: 0; border-radius: var(--fy-radius-lg); box-shadow: var(--fy-shadow-modal); outline: 0; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--fy-line); }
.modal-title { margin: 0; color: var(--fy-ink); font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1.25rem 1.5rem; }
.modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; padding: .9rem 1.5rem; border-top: 1px solid var(--fy-line); background: var(--fy-surface); }
.modal-footer.border-0 { border-top: 0; }
.modal-backdrop { position: fixed; inset: 0; z-index: 1055; background: rgba(30, 42, 56, .45); }
.modal-backdrop.fade { opacity: 0; } .modal-backdrop.show { opacity: 1; }
body.modal-open { overflow: hidden; }

.list-group { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-radius: var(--fy-radius-sm); }
.list-group-item { padding: .7rem 1rem; background: var(--fy-surface); border: 1px solid var(--fy-line); margin-top: -1px; }
.list-group-item:first-child { margin-top: 0; border-radius: var(--fy-radius-sm) var(--fy-radius-sm) 0 0; }
.list-group-item:last-child { border-radius: 0 0 var(--fy-radius-sm) var(--fy-radius-sm); }
.list-group-item.active { background: var(--fy-primary); border-color: var(--fy-primary); color: var(--fy-surface); }
.pagination { display: flex; gap: .3rem; padding: 0; margin: 0; list-style: none; }
.page-link { display: block; min-width: 40px; padding: .4rem .8rem; border: 1px solid var(--fy-line); border-radius: var(--fy-radius-sm); background: var(--fy-surface); color: var(--fy-ink); font-weight: 600; text-align: center; text-decoration: none; }
.page-link:hover { background: var(--fy-primary-t); color: var(--fy-primary-d); text-decoration: none; }
.page-item.active .page-link { background: var(--fy-primary); border-color: var(--fy-primary); color: var(--fy-surface); }
.page-item.disabled .page-link { opacity: .5; pointer-events: none; }

/* ---------- 12. 通用组件 ---------- */
.stat-card .stat-icon { width: 50px; height: 50px; border-radius: var(--fy-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; margin-right: 1rem; }
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--fy-ink); line-height: 1.2; }
.stat-label { font-size: .875rem; color: var(--fy-muted); }
.ap-empty { padding: 2.2rem 1rem; text-align: center; color: var(--fy-muted); background: var(--fy-surface); border: 1px dashed var(--fy-line-d); border-radius: var(--fy-radius); }
.ap-empty .bx { display: block; margin: 0 auto .4rem; color: var(--fy-check); font-size: 2.5rem; }
[class*="empty"] > i.bx { margin-left: auto; margin-right: auto; }
.ap-alert { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; margin-bottom: 1rem; border-radius: var(--fy-radius-md); background: var(--fy-coral-t); border: 1px solid color-mix(in srgb, var(--fy-coral-t) 70%, var(--fy-coral)); color: var(--fy-coral-ink); font-size: .9375rem; }

/* ---------- 13. 全站交互附属样式（配合 js/sis.js） ---------- */
.sis-progress { position: fixed; z-index: 2200; top: 4px; left: 0; width: 0; height: 3px; background: var(--fy-primary); opacity: 0; transition: width .6s ease, opacity .2s ease; pointer-events: none; }
.sis-progress.on { opacity: 1; width: 78%; }
.sis-toast { position: fixed; z-index: 2300; left: 50%; bottom: 1.5rem; max-width: calc(100vw - 2rem); padding: .7rem 1.2rem; border-radius: var(--fy-radius-md); background: var(--fy-ink); color: var(--fy-surface); font-size: .9375rem; font-weight: 600; box-shadow: var(--fy-shadow-menu); transform: translate(-50%, 12px); opacity: 0; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.sis-toast.on { opacity: 1; transform: translate(-50%, 0); }
.sis-fadeout { opacity: 0 !important; transition: opacity .5s ease; }
.table.trb-stack { width: 100%; }

/* ---------- 14. 手机版 / 打印 / 减少动态 ---------- */
@media (max-width: 1199.98px) {
    .layout-navbar { margin: .75rem .9rem 0; top: .75rem; }
}
@media (max-width: 991.98px) {
    .container-xxl, .container { padding-left: .9rem; padding-right: .9rem; }
}
@media (max-width: 767.98px) {
    h4 { font-size: 1.15rem; }
    .ap-hero h1 { font-size: 1.15rem; }
    .ap-hero-in { padding: 1.1rem 1.1rem 1.1rem 1.3rem; }
    .btn { min-height: 44px; }
    .btn-sm { min-height: 40px; }
    .btn-icon { width: 44px; } .btn-icon.btn-sm { width: 40px; }
    .form-control, .form-select { min-height: 44px; font-size: 16px; }
    .form-control-sm, .form-select-sm { min-height: 40px; font-size: 16px; }
    textarea.form-control { min-height: 88px; }
    .card-body { padding: 1rem; }
    .card-header, .card-footer { padding-left: 1rem; padding-right: 1rem; }
    .table > :not(caption) > * > * { padding: .6rem .7rem; }
    .modal-dialog { margin: .5rem auto; padding: 0 .5rem; }
    .modal-dialog-centered { min-height: calc(100% - 1rem); }
    .modal-header, .modal-body, .modal-footer { padding-left: 1rem; padding-right: 1rem; }
    .modal-footer > .btn { flex: 1 1 100%; }
    .nav-tabs, .nav-pills { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .nav-tabs::-webkit-scrollbar, .nav-pills::-webkit-scrollbar { display: none; }
    .nav-tabs .nav-link, .nav-pills .nav-link { white-space: nowrap; min-height: 44px; }
    .nav-link { min-height: 44px; }
    .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .dropdown-item { min-height: 44px; }
    .table.trb-stack thead { display: none; }
    .table.trb-stack, .table.trb-stack tbody, .table.trb-stack tr, .table.trb-stack td { display: block; width: 100%; }
    .table.trb-stack tr { margin-bottom: .75rem; border: 1px solid var(--fy-line); border-radius: var(--fy-radius-sm); background: var(--fy-surface); overflow: hidden; }
    .table.trb-stack > tbody > tr > td { display: flex; gap: .75rem; justify-content: space-between; align-items: flex-start; text-align: right; border-bottom: 1px solid var(--fy-line); }
    .table.trb-stack > tbody > tr > td:last-child { border-bottom: 0; }
    .table.trb-stack > tbody > tr > td::before { content: attr(data-label); flex: none; max-width: 42%; font-weight: 700; color: var(--fy-muted); text-align: left; }
    .table.trb-stack > tbody > tr > td[colspan]::before, .table.trb-stack > tbody > tr > td:empty { display: none; }
    .table.trb-stack > tbody > tr > td:empty { padding: 0; border: 0; }
}
@media (max-width: 575.98px) {
    .card-header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
}
@media print {
    body::before, .layout-menu, .layout-navbar, .content-footer, .layout-overlay, .no-print, .sis-progress, .sis-toast { display: none !important; }
    .layout-page { margin-left: 0 !important; }
    body { background: #fff !important; }
    .card { border-color: #ccc; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
