* {
    box-sizing: border-box;
}

/* 全站薄荷绿主题（加深一档） */
:root {
    --gb-bg-page: #F8FAFA;
    --gb-bg-subtle: #F4F7F7;
    --gb-bg-card: #FFFFFF;
    --gb-border: #E2E8E8;
    --gb-border-soft: #E2E8E8;
    --gb-border-input: #D0DADA;
    --gb-text: #2B2B2B;
    --gb-text-strong: #2B2B2B;
    --gb-text-muted: #667070;
    --gb-accent: #2A847C;
    --gb-accent-dark: #1F655E;
    --gb-accent-ink: #1A544E;
    --gb-accent-soft: #E6F6F4;
    --gb-accent-softer: #F4F7F7;
    --gb-link: #2A847C;
    --gb-shadow: rgba(43, 43, 43, 0.06);
    --gb-success: #52B788;
    --gb-warning: #F2994A;
    --gb-danger: #E55949;
    --gb-aux: #84A98C;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", sans-serif;
    color: #2B2B2B;
    background: var(--gb-bg-page);
}

a {
    color: inherit;
    text-decoration: none;
}

/* 全站主宽度：通栏，仅保留少量左右内边距避免贴边 */
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e6ddd4;
    backdrop-filter: blur(10px);
}

.topbar-inner,
.footer-inner,
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-inner,
.footer-inner {
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #667070;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    overflow: hidden;
}
.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav a {
    padding: 10px 14px;
    border-radius: 10px;
    color: #667070;
}

.nav a.active,
.nav a:hover {
    background: #fff6ea;
    color: #8b633f;
}

.inline-form {
    margin: 0;
}

.nav-btn {
    border: 0;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    color: #b42318;
    background: #fee4e2;
}

/* 访客顶栏 v2：暖棕深色 + 金色强调线 */
.topbar--public {
    position: sticky;
    top: 0;
    z-index: 20;
    background: transparent;
    border-bottom: none;
}

.topbar-public-main {
    background: linear-gradient(180deg, #2a1f18 0%, #3d2a1f 100%);
}

.topbar-public-accent {
    height: 4px;
    background: linear-gradient(90deg, #6b4423 0%, #b18659 45%, #e8c9a0 100%);
}

.topbar-inner--public-v2 {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto auto;
    align-items: center;
    gap: 12px 20px;
    padding: 12px 0;
    flex-wrap: nowrap;
}

@media (max-width: 1024px) {
    .topbar-inner--public-v2 {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
}

.brand--public {
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.brand--public .brand-mark {
    flex-shrink: 0;
}

.topbar--public .brand-mark {
    background: transparent;
}

.brand-public-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fffaf5;
    line-height: 1.35;
}

.topbar-public-mid,
.topbar-public-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.topbar-public-side {
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .topbar-public-mid,
    .topbar-public-side {
        justify-content: flex-start;
    }
}

.topbar-pub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(255, 250, 245, 0.88);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.topbar-pub-link:hover,
.topbar-pub-link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.topbar-pub-link--soon {
    opacity: 0.55;
    cursor: default;
}

.topbar-pub-link--accent.is-active,
.topbar-pub-link--accent:hover {
    background: rgba(177, 134, 89, 0.35);
    color: #fff8f0;
}

.topbar-pub-link--register {
    background: rgba(177, 134, 89, 0.35);
    border: 1px solid rgba(232, 201, 160, 0.45);
    color: #fff8f0;
}

.topbar-pub-link--register:hover {
    background: rgba(177, 134, 89, 0.5);
    color: #fff;
}

.topbar-pub-ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.92;
}

.topbar-pub-form {
    margin: 0;
    display: inline;
}

.topbar-pub-link--btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.topbar-pub-user {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fdebd4;
    font-size: 12px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 兼容旧类名（登录页等若仍引用） */
.topbar-inner--public {
    flex-wrap: wrap;
    row-gap: 10px;
}

.topbar-public-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.topbar-user-chip {
    font-size: 13px;
    color: var(--gb-text-muted);
    padding: 6px 12px;
    background: var(--gb-accent-softer);
    border-radius: 999px;
    border: 1px solid var(--gb-border-soft);
    white-space: nowrap;
}

.topbar-public-nav > a {
    padding: 8px 14px;
    border-radius: 10px;
    color: #667070;
    font-size: 14px;
}

.topbar-public-nav > a:hover,
.topbar-public-nav > a.is-active {
    background: #fff6ea;
    color: #8b633f;
}

.nav-btn--public {
    padding: 8px 14px;
    font-size: 14px;
}

.notice {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: opacity 0.35s ease, max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.notice--hiding {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border-width: 0;
}

.site-flash-wrap,
.uc-flash-wrap {
    display: none !important;
}

.ath-notice-dialog {
    width: min(440px, 92vw);
    border: 0;
    border-radius: 14px;
    padding: 0;
    background: transparent;
    margin: auto;
    position: fixed;
    inset: 0;
    max-height: calc(100vh - 32px);
}

.ath-notice-dialog::backdrop {
    background: rgba(43, 43, 43, 0.45);
}

.ath-notice-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 22px 16px;
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.18);
}

.ath-notice-msg {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #111827;
    white-space: pre-wrap;
    word-break: break-word;
}
.ath-notice-dialog.is-center-msg .ath-notice-msg {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}
.ath-notice-dialog.is-center-msg .ath-notice-actions {
    justify-content: center;
}
.ath-notice-dialog.is-center-msg .ath-notice-ok,
.ath-notice-dialog.is-center-msg .btn {
    font-weight: 400 !important;
}

.ath-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}
.ath-notice-unlock {
    text-decoration: none;
    display: none;
    align-items: center;
}
.ath-notice-unlock.is-visible {
    display: inline-flex;
}
.ath-notice-dialog .ath-notice-close-gray,
.ath-notice-dialog .btn.ath-notice-close-gray {
    background: #e5e7eb;
    border-color: #e5e7eb;
    color: #374151;
}
.ath-notice-dialog .ath-notice-close-gray:hover,
.ath-notice-dialog .btn.ath-notice-close-gray:hover {
    background: #d1d5db;
    border-color: #d1d5db;
    color: #111827;
    filter: none;
    box-shadow: none;
}

.ath-notice-dialog .btn,
.ath-notice-dialog .btn:focus,
.ath-notice-dialog .btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.ath-notice-dialog .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 3px 10px rgba(120, 78, 48, 0.22);
}

.ath-notice-dialog .btn-secondary:hover {
    box-shadow: none;
}

.ath-notice-dialog.is-success .ath-notice-card {
    border-color: #bbf7d0;
}

.ath-notice-dialog.is-error .ath-notice-card {
    border-color: #fecaca;
}

.ath-notice-dialog.is-warning .ath-notice-card,
.ath-notice-dialog.is-confirm .ath-notice-card {
    border-color: #fde68a;
}

.wf-pre-ready-dialog {
    width: min(460px, 92vw);
    border: 0;
    border-radius: 14px;
    padding: 0;
    background: transparent;
    margin: auto;
}

.wf-pre-ready-dialog::backdrop {
    background: rgba(43, 43, 43, 0.45);
}

.wf-pre-ready-card {
    background: #fff;
    border: 1px solid #c5ddd4;
    border-radius: 14px;
    padding: 22px 22px 16px;
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.18);
}

.wf-pre-ready-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f6f68;
    text-align: center;
}

.wf-pre-ready-msg {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #111827;
    text-align: center;
}

.wf-pre-ready-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.wf-pre-ready-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
}

.wf-pre-ready-btn--stay {
    color: #2A847C;
    background: #fff;
    border-color: #2A847C;
}

.wf-pre-ready-btn--stay:hover {
    background: #f3faf8;
}

.wf-pre-ready-btn--go {
    color: #fff;
    background: #2A847C;
    border-color: #2A847C;
}

.wf-pre-ready-btn--go:hover {
    background: #24756e;
}

.site-flash-wrap:empty {
    display: none;
}

.notice-success {
    color: #2A847C;
    background: #F4F7F7;
    border-color: #C5DDD4;
}

.notice-error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

.notice-info {
    color: #6b4423;
    background: #fff6ea;
    border-color: #ecd4b8;
}

.user-card {
    margin-bottom: 20px;
}

.hero {
    background: linear-gradient(135deg, #2a1f18, #8b633f 55%, #dcc9a8);
    color: #fff;
    padding: 64px 0;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: 44px;
}

.hero p {
    margin: 0 0 24px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    min-width: 280px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metric + .hero-metric {
    margin-top: 18px;
}

.hero-metric span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.76);
}

.hero-metric strong {
    display: block;
    margin-top: 6px;
    font-size: 24px;
}

.section-gap {
    padding: 48px 0;
}

.section-title {
    margin-bottom: 24px;
}

.section-title h1,
.section-title h2 {
    margin: 0 0 10px;
}

.section-title p {
    margin: 0;
    color: #667070;
}

.feature-groups,
.stats-grid,
.panel-grid,
.quick-grid,
.flow-grid {
    display: grid;
    gap: 18px;
}

.feature-groups {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.panel-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.quick-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 18px;
}

.flow-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.card,
.auth-card,
.table-card {
    background: #fff;
    border: 1px solid #E2E8E8;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(43, 43, 43, 0.05);
}

.stat-card strong {
    display: block;
    margin: 12px 0 8px;
    font-size: 32px;
    color: #2B2B2B;
}

.stat-card span,
.quick-item span {
    color: #667070;
}

.quick-item {
    display: block;
    padding: 18px;
    border-radius: 16px;
    background: #faf7f2;
    border: 1px solid #e3d9ce;
}

.quick-item strong {
    display: block;
    margin-bottom: 8px;
}

.plain-list {
    margin: 14px 0 0;
    padding-left: 20px;
    line-height: 1.9;
    color: #667070;
}

.flow-item {
    padding: 18px 16px;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    background: #ffffff;
    border: 1px dashed #dfc4ae;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, filter .16s ease, box-shadow .16s ease;
}

.btn:focus-visible {
    outline: 2px solid #2A847C;
    outline-offset: 2px;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #c8a277 0%, #9f7750 100%);
    border: 1px solid rgba(120, 78, 48, 0.35);
    box-shadow: 0 1px 2px rgba(45, 32, 22, 0.06);
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 3px 10px rgba(120, 78, 48, 0.22);
}

.btn-primary:active {
    filter: brightness(0.95);
}

.btn-secondary {
    color: #8b633f;
    background: #fdebd4;
    border: 1px solid rgba(180, 140, 90, 0.28);
}

.btn-secondary:hover {
    color: #6b4423;
    background: #f3d2a8;
    border-color: rgba(160, 110, 60, 0.4);
}

.btn-secondary:active {
    background: #edc48c;
}

.btn-warning {
    color: #5c4718;
    background: linear-gradient(180deg, #ffe896 0%, #f0ca4a 100%);
    border: 1px solid rgba(180, 140, 40, 0.45);
    box-shadow: 0 1px 2px rgba(45, 32, 22, 0.06);
}

.btn-warning:hover {
    filter: brightness(1.03);
}

.btn-success {
    color: #fff;
    background: #52B788;
    border: 1px solid rgba(27, 94, 32, 0.45);
    box-shadow: 0 1px 2px rgba(27, 94, 32, 0.18);
}

.btn-success:hover {
    background: #3D9B6E;
    filter: none;
}

.auth-section {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 160px);
    padding: 48px 0;
}

.auth-card {
    width: min(520px, 100%);
}

.auth-card-wide {
    width: min(640px, 100%);
}

.auth-card-online-reg {
    width: min(1200px, 100%);
    max-width: 100%;
}

.gb-admin-app .auth-card-online-reg {
    width: 100%;
    max-width: none;
}

.judge-login-card .judge-login-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B2B2B;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e4e7ec;
}

.judge-login-tip {
    margin-top: 14px;
}

.portal-meet-wrap.is-hidden {
    display: none !important;
}

.online-reg-portal-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: #fff6ea;
    border: 1px solid #ecd4b8;
    border-radius: 10px;
    font-size: 14px;
    color: #2B2B2B;
}

.online-reg-portal-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.online-reg-filter-tip {
    margin-top: 4px;
    margin-bottom: 16px;
}

.online-reg-context-line {
    margin-top: 4px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.online-reg-context-line a {
    white-space: nowrap;
}

.online-reg-bound-hint {
    color: #2A847C;
    font-weight: 500;
}

.online-reg-unit-bound {
    margin: 0;
    padding: 10px 12px;
    background: #f2f4f7;
    border-radius: 8px;
}

.online-reg-submit-form {
    margin-top: 8px;
    min-width: 0;
}

.online-reg-batch-filters {
    margin-top: 0;
}

.online-reg-staff-scroll {
    margin-top: 8px;
    margin-bottom: 14px;
    width: 100%;
    overflow: visible;
}

.online-reg-staff-scroll .online-reg-staff-grid {
    margin-top: 0;
}

.online-reg-staff-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 16px;
    width: 100%;
    min-width: 0;
    margin-top: 0;
}

.online-reg-staff-grid label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    margin: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.online-reg-staff-grid label span {
    display: inline !important;
    margin-bottom: 0 !important;
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 14px;
}

.online-reg-staff-grid label input {
    flex: 0 0 8.5em;
    width: 8.5em !important;
    min-width: 8.5em;
    max-width: 8.5em;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .online-reg-staff-grid {
        gap: 10px 8px;
    }

    .online-reg-staff-grid label span {
        font-size: 13px;
    }
}

.online-reg-staff-tip {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.online-reg-batch-tip {
    margin: 0 0 14px;
}

.online-reg-batch-foot-tip {
    margin: 10px 0 0;
}

.online-reg-table-card {
    margin-top: 0;
    border: 1px solid #E6E8EA;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.online-reg-batch-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 10px;
    border-bottom: 1px solid #E6E8EA;
    background: #f7fbf9;
}

.online-reg-batch-toolbar-btns {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.online-reg-batch-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: #fff;
}

.online-reg-batch-table {
    --online-reg-seq-w: 2.6rem;
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

#online-reg-batch-tbody {
    counter-reset: online-reg-seq;
}

.online-reg-batch-table tbody tr.online-reg-batch-tr {
    counter-increment: online-reg-seq;
}

.online-reg-batch-tr--error td {
    background: #fef3f2 !important;
}

.online-reg-batch-tr--error td.online-reg-seq-cell,
.online-reg-batch-tr--error td.online-reg-name-cell {
    background: #fef3f2 !important;
    box-shadow: 1px 0 0 #fecdca;
}

.online-reg-batch-tr--error {
    outline: 2px solid #f04438;
    outline-offset: -2px;
}

.online-reg-seq-num::before {
    content: counter(online-reg-seq);
}

.online-reg-batch-table th,
.online-reg-batch-table td {
    border: 1px solid #ece4da;
    padding: 6px 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.online-reg-batch-table thead th {
    background: #2A847C;
    font-weight: 600;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
    border-color: #1F655E;
}

.online-reg-col-seq {
    width: var(--online-reg-seq-w);
    text-align: center;
    position: sticky;
    left: 0;
    z-index: 5;
    background: #2A847C;
    color: #fff;
    box-shadow: 1px 0 0 #1F655E;
}

.online-reg-col-name {
    width: 6.2rem;
    position: sticky;
    left: var(--online-reg-seq-w);
    z-index: 4;
    background: #2A847C;
    color: #fff;
    box-shadow: 1px 0 0 #1F655E;
}

.online-reg-seq-cell {
    text-align: center;
    font-weight: 600;
    color: #667070;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 1px 0 0 #ece4da;
}

.online-reg-batch-table tbody td.online-reg-name-cell {
    position: sticky;
    left: var(--online-reg-seq-w);
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 0 #ece4da;
}

.online-reg-col-gender {
    width: 4.4rem;
}

.online-reg-col-id {
    width: 9.2rem;
    white-space: nowrap;
}

.online-reg-col-ev {
    width: auto;
    min-width: 3.2rem;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    font-size: 12px;
    padding: 6px 4px;
}

.online-reg-col-relay {
    width: 4.6rem;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
}

.online-reg-ev-cell {
    text-align: center;
    padding: 6px 4px;
}

.online-reg-batch-chk {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
}

.online-reg-batch-chk input {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #2A847C;
}

.online-reg-in-name {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 5px 6px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    box-sizing: border-box;
}

.online-reg-in-id {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 5px 6px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    box-sizing: border-box;
}

.online-reg-in-gender {
    width: 100%;
    min-width: 0;
    padding: 5px 4px;
    border-radius: 6px;
    border: 1px solid #dfc4ae;
    box-sizing: border-box;
}

.auth-card-online-reg input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]),
.auth-card-online-reg select,
.auth-card-online-reg textarea {
    border: 1px solid #C5DDD4 !important;
    background: #fff !important;
    color: #2B2B2B !important;
    box-shadow: none !important;
    outline: none !important;
    caret-color: #2A847C;
}

.auth-card-online-reg input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):focus,
.auth-card-online-reg input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):focus-visible,
.auth-card-online-reg select:focus,
.auth-card-online-reg select:focus-visible,
.auth-card-online-reg textarea:focus,
.auth-card-online-reg textarea:focus-visible {
    border-color: #2A847C !important;
    box-shadow: none !important;
    outline: none !important;
}

.online-reg-batch-table tbody tr.online-reg-batch-tr:hover td,
.online-reg-batch-table tbody tr.online-reg-batch-tr:focus-within td {
    background: #eef1f4;
}

.online-reg-batch-table tbody tr.online-reg-batch-tr:hover td.online-reg-seq-cell,
.online-reg-batch-table tbody tr.online-reg-batch-tr:hover td.online-reg-name-cell,
.online-reg-batch-table tbody tr.online-reg-batch-tr:focus-within td.online-reg-seq-cell,
.online-reg-batch-table tbody tr.online-reg-batch-tr:focus-within td.online-reg-name-cell {
    background: #eef1f4;
}

.online-reg-in-relay {
    width: 100%;
    min-width: 0;
    padding: 5px 4px;
    border-radius: 6px;
    border: 1px solid #dfc4ae;
    text-align: center;
    box-sizing: border-box;
}

.online-reg-batch-actions {
    margin-top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
}

.online-reg-events-fieldset {
    border: 1px solid #e6ddd4;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0;
    min-width: 0;
    overflow: visible;
}

.online-reg-events-fieldset legend {
    padding: 0 6px;
    font-size: 14px;
    color: #2B2B2B;
    font-weight: 600;
}

.online-reg-events-hint {
    margin: 0 0 10px;
    font-size: 13px;
}

.online-reg-event-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    overflow: visible;
}

.online-reg-event-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.online-reg-event-item input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    margin-top: 4px;
    flex-shrink: 0;
    padding: 0;
    border-radius: 4px;
    accent-color: #b18659;
}

/* 避免 .form-grid label span 把项目名变成块级并换行错位 */
.form-grid label.online-reg-event-item > span {
    display: inline;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    text-align: left;
    color: #2B2B2B;
    font-size: 15px;
}

.form-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.form-grid label span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #2B2B2B;
}

.form-grid.online-reg-pwd-form label.online-reg-pwd-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid.online-reg-pwd-form label.online-reg-pwd-row > span {
    display: inline-block;
    flex: 0 0 7.5em;
    margin-bottom: 0;
    text-align: right;
    white-space: nowrap;
}

.form-grid input:not([type="checkbox"]):not([type="radio"]),
.form-grid select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dfc4ae;
    border-radius: 12px;
    outline: none;
}

.form-grid input[type="checkbox"],
.form-grid input[type="radio"] {
    width: auto;
    max-width: none;
    padding: 0;
    vertical-align: middle;
}

.table-card {
    overflow-x: visible;
}

.tip {
    margin-top: 12px;
    color: #667070;
}

.meet-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: end;
}

.meet-form-grid label span {
    display: block;
    margin-bottom: 8px;
    color: #2B2B2B;
}

.meet-form-grid input,
.meet-form-grid select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfc4ae;
    border-radius: 10px;
}

.reg-batch-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.reg-batch-card-head h2 {
    margin: 0;
}

.reg-batch-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reg-batch-form .reg-batch-meet-row {
    margin-bottom: 8px;
}

.reg-batch-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reg-batch-row {
    padding-top: 16px;
    border-top: 1px solid #ece4da;
}

.reg-batch-rows > .reg-batch-row:first-child {
    padding-top: 0;
    border-top: none;
}

.reg-batch-submit-wrap {
    margin-top: 8px;
}

.reg-batch-fixed-unit-hint {
    margin: 0 0 12px;
}

input.reg-batch-unit-readonly {
    background: #fcf9f4;
    color: #2B2B2B;
    cursor: default;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #ece4da;
}

th {
    color: #667070;
    font-weight: 600;
}

.table-card input,
.table-card select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
}

.badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #F4F7F7;
    color: #2A847C;
    font-size: 13px;
}

.row-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.btn-danger {
    color: #fff;
    background: #d92d20;
    border: 1px solid rgba(155, 28, 20, 0.35);
}

.btn-danger:hover {
    background: #b42318;
    box-shadow: 0 2px 8px rgba(217, 45, 32, 0.25);
}

.btn-danger:active {
    background: #912018;
}

.action-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-sm {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.order-cover {
    text-align: center;
    padding: 40px 24px;
}

.order-cover h2 {
    margin-bottom: 8px;
    font-size: 32px;
}

.order-section h3 {
    margin-top: 0;
}

.order-book-h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.order-book-meta {
    margin: 0 0 10px;
}

.order-book-matrix-wrap {
    overflow-x: auto;
    margin-top: 4px;
}

.order-book-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.order-book-matrix th,
.order-book-matrix td {
    border: 1px solid #dfc4ae;
    padding: 8px 10px;
    vertical-align: top;
}

.order-book-corner {
    min-width: 4.5rem;
    background: #fcf9f4;
}

.order-book-heat-label {
    white-space: nowrap;
    background: #fcf9f4;
    font-weight: 600;
}

.order-book-cell {
    min-width: 6.5rem;
    line-height: 1.35;
}

.order-book-cell-block {
    margin-bottom: 6px;
    white-space: pre-line;
}

.order-book-cell-block:last-child {
    margin-bottom: 0;
}

.sign-cell,
.remark-cell {
    height: 44px;
}

.certificate-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 2px solid #d4af37;
}

.certificate-title {
    font-size: 36px;
    font-weight: 700;
    color: #9a6b00;
    letter-spacing: 6px;
    margin-bottom: 24px;
}

.certificate-text {
    font-size: 20px;
    line-height: 2;
    color: #2B2B2B;
    margin: 10px 0;
}

.certificate-text--recipient {
    text-align: left;
}

.certificate-text--body {
    text-align: left;
    text-indent: 2em;
}

.certificate-footer {
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    color: #667070;
    flex-wrap: wrap;
}

.certificate-footer__score {
    text-align: left;
    text-indent: 2em;
}

.certificate-footer__sign-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-left: auto;
}

.certificate-footer__sign,
.certificate-footer__date {
    display: block;
    line-height: 1.8;
}

.certificate-card--land {
    min-height: 280px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.certificate-card--land .certificate-title {
    text-align: center;
}

.certificate-card.mpt-preview-cert {
    border-style: solid;
}

.timeline-item + .timeline-item {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #ece4da;
}

.timeline-item p,
.footer p,
.card p {
    color: #667070;
    line-height: 1.8;
}

.footer {
    margin-top: 40px;
    background: #2a1f18;
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer a {
    color: #d4c4b6;
}

/* 官网首页主区：仅五项横向工具条 */
.home-portal {
    background: #f2f4f7;
    padding: 40px 16px 56px;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-portal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(20px, 5vw, 56px);
    width: 100%;
    max-width: none;
}

.home-portal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    max-width: 140px;
    padding: 10px 8px;
    border-radius: 12px;
    color: #667070;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.home-portal-item:hover:not(.home-portal-item--disabled) {
    background: rgba(177, 134, 89, 0.08);
    color: #8b633f;
}

.home-portal-item--disabled {
    cursor: default;
    opacity: 0.55;
}

.home-portal-svg {
    display: block;
    flex-shrink: 0;
}

.home-portal-label {
    font-size: 14px;
    line-height: 1.35;
    color: inherit;
}

.home-portal-item--form {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.home-portal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    max-width: 140px;
    padding: 10px 8px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: #667070;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.home-portal-btn:hover {
    background: rgba(177, 134, 89, 0.08);
    color: #8b633f;
}

/* 系统首页主区（2×2 铺满 + 联系区） */
.gb-admin-inner--sys-home.section-gap {
    padding: 16px 0 28px;
}

.gb-admin-content:has(.sys-home-wrap) {
    padding: 16px 20px 32px;
}

.sys-home-wrap {
    width: 100%;
    padding-top: 0;
}

.sys-home-portal {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.sys-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 18px;
    align-items: stretch;
}

@media (max-width: 720px) {
    .sys-home-portal {
        max-width: none;
    }

    .sys-home-grid {
        grid-template-columns: 1fr;
    }
}

.sys-home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E2E8E8;
    box-shadow: 0 2px 8px rgba(43, 43, 43, 0.07);
    padding: 0 0 22px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.sys-home-card--clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.sys-home-card--clickable:hover,
a.sys-home-card--clickable:focus-visible {
    transform: translateY(-5px);
    border-color: #a7d4ab;
    box-shadow: 0 10px 28px rgba(56, 168, 157, 0.14);
    outline: none;
}

a.sys-home-card--clickable:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 168, 157, 0.12);
}

.sys-home-card--disabled:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(43, 43, 43, 0.08);
    cursor: default;
}

.sys-home-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 4px;
    transform: none;
    border-radius: 0;
}

.sys-home-card--track::before {
    background: linear-gradient(90deg, #b18659, #c8a277);
}

.sys-home-card--ball::before {
    background: linear-gradient(90deg, #ea580c, #fb923c);
}

.sys-home-card--racket::before {
    background: linear-gradient(90deg, #059669, #34d399);
}

.sys-home-card--health::before {
    background: #a89888;
}

.sys-home-card--disabled {
    opacity: 1;
}

.sys-home-card--disabled .sys-home-card-icon {
    opacity: 0.92;
}

.sys-home-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px 0;
}

.sys-home-card-icon {
    flex-shrink: 0;
    font-size: 42px;
    line-height: 1;
    margin: 0;
}

.sys-home-card-title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.4;
}

.sys-home-card-desc {
    margin: 0;
    padding: 12px 22px 0;
    font-size: 16px;
    color: #2B2B2B;
    line-height: 1.7;
    flex: 1;
}

.sys-home-card-actions {
    padding: 14px 22px 0;
    margin-top: auto;
}

.sys-home-use-btn {
    display: inline-block;
    min-width: 108px;
    padding: 9px 20px;
    font-size: 14px;
    text-align: center;
}

.sys-home-card--disabled .sys-home-use-btn {
    cursor: default;
    pointer-events: none;
    opacity: 0.85;
}

a.sys-home-card--clickable .sys-home-use-btn {
    pointer-events: none;
}

.sys-home-soon-label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #667070;
    background: #F8FAFA;
    border: 1px dashed #D0DADA;
}

.sys-home-contact {
    padding: 20px 20px 24px;
    border-radius: 10px;
    border: 1px solid #E2E8E8;
    box-shadow: 0 1px 4px rgba(43, 43, 43, 0.05);
    background: #fff;
}

.sys-home-contact-title {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    text-align: center;
}

.sys-home-qr-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
    justify-items: center;
    align-items: start;
}

@media (max-width: 900px) {
    .sys-home-qr-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sys-home-qr-row {
        grid-template-columns: 1fr;
    }
}

.sys-home-qr {
    margin: 0;
    width: 100%;
    max-width: 160px;
    text-align: center;
}

.sys-home-qr-box {
    width: 100%;
    aspect-ratio: 1;
    max-width: 160px;
    margin: 0 auto 10px;
    border: 1px dashed #D0DADA;
    border-radius: 10px;
    background: #F8FAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #667070;
    line-height: 1.5;
    padding: 10px;
    box-sizing: border-box;
}

.sys-home-qr-box--img {
    border-style: solid;
    border-color: #D9E4E2;
    background: #fff;
    padding: 8px;
}

.sys-home-qr-box--img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sys-home-qr-box--text {
    font-size: 13px;
    font-weight: 600;
    color: #2B2B2B;
}

.sys-home-qr-box--qq {
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
}

.sys-home-qr-box--qq span {
    display: block;
    white-space: nowrap;
}

.sys-home-qr-cap {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #2B2B2B;
}

/* 四大板块工作台 */
.workbench-quad {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

@media (max-width: 1100px) {
    .workbench-quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .workbench-quad {
        grid-template-columns: 1fr;
    }
}

.workbench-pillar {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e6ddd4;
    box-shadow: 0 1px 3px rgba(45, 32, 22, 0.06);
    padding: 18px 16px 14px;
    min-height: 100%;
}

.workbench-pillar-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #faf6f1;
}

.workbench-pillar-title {
    margin: 0;
    font-size: 17px;
    color: #2a1f18;
}

.workbench-pillar-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #667070;
    line-height: 1.45;
}

.workbench-pillar--blue {
    border-top: 4px solid #b18659;
}

.workbench-pillar--teal {
    border-top: 4px solid #2A847C;
}

.workbench-pillar--amber {
    border-top: 4px solid #d97706;
}

.workbench-pillar--violet {
    border-top: 4px solid #b18659;
}

.workbench-linklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.workbench-linkitem + .workbench-linkitem {
    margin-top: 2px;
}

.workbench-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: #3d342f;
    transition: background 0.15s ease;
}

.workbench-link:hover {
    background: #faf6f1;
    color: #8b633f;
}

.workbench-link strong {
    display: block;
    font-size: 14px;
}

.workbench-desc {
    display: block;
    font-size: 12px;
    color: #667070;
    margin-top: 2px;
    line-height: 1.4;
}

.workbench-soon,
.workbench-denied {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
}

.workbench-soon {
    background: #faf7f2;
    border: 1px dashed #d4c4b6;
}

.workbench-soon strong {
    display: block;
    font-size: 14px;
    color: #667070;
}

.workbench-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e3d9ce;
    color: #667070;
}

.workbench-denied {
    opacity: 0.55;
    cursor: not-allowed;
}

.workbench-denied strong {
    display: block;
    font-size: 14px;
}

.workbench-stats-card {
    margin-top: 8px;
}

.page-admin-shell .page {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.topbar--admin-shell {
    border-bottom: 1px solid #e3d9ce;
}

.topbar-inner--admin-shell {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.topbar-shell-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.topbar-shell-toggle {
    flex-shrink: 0;
    border: 1px solid #e3d9ce;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    color: #4a3f36;
    cursor: pointer;
}

.topbar-shell-toggle:hover {
    background: #faf7f2;
}

.brand--shell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.brand--shell .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
}

.brand-name-shell {
    font-size: 15px;
    color: #2a1f18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.topbar-shell-title {
    font-size: 17px;
    font-weight: 700;
    color: #2a1f18;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-shell-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 12px;
    font-size: 14px;
}

.topbar-shell-actions > a {
    padding: 6px 4px;
    color: #667070;
    border-radius: 8px;
}

.topbar-shell-actions > a:hover {
    color: #8b633f;
    background: #fff6ea;
}

.topbar-shell-user {
    font-size: 13px;
    color: #667070;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-btn--shell {
    padding: 8px 12px;
    font-size: 13px;
}

@media (max-width: 900px) {
    .topbar-inner--admin-shell {
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .topbar-shell-title {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
        font-size: 16px;
    }

    .topbar-shell-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .topbar-shell-left {
        grid-column: 1;
        grid-row: 1;
    }

    .gb-admin-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .gb-admin-strip-left {
        width: 100%;
    }

    .gb-admin-strip-title {
        white-space: normal;
    }

    .gb-admin-strip-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.page-admin-shell .gb-admin-sidebar {
    transition: width 0.2s ease, opacity 0.18s ease, padding 0.2s ease, min-width 0.2s ease;
}

.admin-shell-sidebar-collapsed .gb-admin-sidebar {
    width: 0;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    border: none;
}

.nav-btn-compact {
    padding: 8px 12px;
    font-size: 13px;
}

.gb-admin-app {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    position: relative;
    isolation: isolate;
}

/* 主栏：顶条固定置顶，下方内容区独立滚动 */
.gb-admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    background: #F8FAFA;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.gb-admin-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 120;
    min-height: var(--gb-shell-header-h, 60px);
    box-sizing: border-box;
    padding: 0 16px;
    margin-bottom: 0;
    background: #F8FAFA;
    border: none;
    border-bottom: 1px solid #D9E4E2;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(45, 32, 22, 0.06);
}

.gb-admin-strip.mpts-toolbar {
    margin-bottom: 0;
}

.gb-admin-strip-nav {
    flex-shrink: 0;
}

.gb-admin-strip-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.gb-admin-strip-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
    text-align: left;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-admin-strip-actions {
    flex-shrink: 0;
}

/* 左侧栏：浅薄荷绿底、品牌区与栏体同色、白底折叠内容 */
.gb-admin-sidebar {
    width: 276px;
    max-width: 276px;
    flex-shrink: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
    background: #F8FAFA;
    color: #303133;
    padding: 0 0 8px;
    border-right: 1px solid #D9E4E2;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.gb-sb-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    min-height: var(--gb-shell-header-h, 60px);
    padding: 0 12px;
    border-bottom: none;
    background: #F8FAFA;
    flex-shrink: 0;
}

.gb-sb-brand::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #D9E4E2;
    transform: none;
    pointer-events: none;
}

.gb-sb-brand-mark {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    border: 0;
    padding: 0;
}

.gb-sb-brand-logo,
.gb-sb-brand-svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-sb-brand-text {
    min-width: 0;
    flex: 1;
}

.gb-sb-brand-title {
    display: block;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #000;
    line-height: 1.35;
}

.gb-sb-tagline {
    margin: 4px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: #8b735e;
    line-height: 1.45;
}

.gb-sb-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-sb-nav::-webkit-scrollbar-thumb {
    background: #dfc2a2;
    border-radius: 999px;
}

.gb-sb-home {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.gb-sb-home:hover {
    background: #fff;
    color: #5c3d28;
}

.gb-sb-home.is-active {
    background: #00897b;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 105, 92, 0.2);
}

.gb-sb-ico {
    display: flex;
    color: #909399;
}

.gb-sb-home.is-active .gb-sb-ico {
    color: #fff;
}

.gb-sb-details {
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
}

.gb-sb-details > .gb-sb-sum {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
    border-radius: 8px;
    user-select: none;
    transition: background 0.15s ease, border-radius 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 6px rgba(56, 168, 157, 0.22);
}

.gb-sb-details[open] > .gb-sb-sum {
    border-radius: 8px 8px 0 0;
}

.gb-sb-details > .gb-sb-sum:hover {
    filter: brightness(1.04);
}

.gb-sb-nav .gb-sb-details:nth-of-type(1) > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.gb-sb-nav .gb-sb-details:nth-of-type(2) > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.gb-sb-nav .gb-sb-details:nth-of-type(3) > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.gb-sb-details > .gb-sb-sum::-webkit-details-marker {
    display: none;
}

.gb-sb-sum-ico {
    display: flex;
    flex-shrink: 0;
    color: #fff;
}

.gb-sb-sum-ico svg {
    display: block;
}

.gb-sb-sum-txt {
    flex: 1;
    min-width: 0;
}

.gb-sb-sum-chev {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    border-right: 2px solid rgba(255, 255, 255, 0.92);
    border-bottom: 2px solid rgba(255, 255, 255, 0.92);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.gb-sb-details[open] > .gb-sb-sum .gb-sb-sum-chev {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.gb-sb-panel {
    padding: 6px 0 8px;
    background: #fdfefe;
    border: 1px solid #ead8c4;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 1px 3px rgba(45, 32, 22, 0.05);
}

.gb-sb-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 12px 8px 14px;
    margin: 2px 6px;
    border-radius: 6px;
    text-decoration: none;
    color: #303133;
    transition: background 0.15s ease, color 0.15s ease;
}

.gb-sb-item:hover {
    background: #faf5ee;
    color: #5c3d28;
}

.gb-sb-item.is-active {
    background: #f3e6d8;
    color: #5c3d28;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #b18659;
}

.gb-sb-item-title {
    font-size: 13px;
    line-height: 1.4;
}

.gb-sb-item-sub {
    font-size: 12px;
    color: #909399;
    line-height: 1.35;
}

.gb-sb-item--iconic {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.gb-sb-item--iconic .gb-sb-item-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    min-width: 16px;
    font-size: 12px;
    line-height: 1;
    opacity: 0.9;
}

.gb-sb-item--iconic .gb-sb-item-title {
    font-size: 14px;
}

.gb-sb-item--iconic:hover .gb-sb-item-title,
.gb-sb-item--iconic.is-active .gb-sb-item-title {
    color: #2A847C;
}

.gb-sb-item--iconic:hover .gb-sb-item-ico,
.gb-sb-item--iconic.is-active .gb-sb-item-ico {
    opacity: 1;
}

.gb-sb-item.is-vip-locked {
    opacity: 0.72;
}
.gb-sb-item.is-vip-locked:hover {
    opacity: 0.9;
}

.meet-vip-dialog {
    border: none;
    border-radius: 14px;
    padding: 0;
    max-width: 420px;
    width: calc(100% - 32px);
    box-shadow: 0 18px 48px rgba(43, 43, 43, 0.22);
}
.meet-vip-dialog::backdrop {
    background: rgba(43, 43, 43, 0.45);
}
.meet-vip-dialog-card {
    margin: 0;
    padding: 22px 22px 18px;
}
.meet-vip-dialog-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #2B2B2B;
}
.meet-vip-dialog-card p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #2B2B2B;
}
.meet-vip-dialog-hint {
    color: #667070 !important;
    font-size: 13px !important;
}
.meet-vip-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}
.meet-vip-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
}
.meet-vip-btn--ghost {
    background: #F4F7F7;
    color: #667070;
}
.meet-vip-btn--primary {
    background: #2A847C;
    color: #fff;
}
.meet-vip-btn--primary:hover {
    background: #2A847C;
}

/* 赛前工作子菜单：标题左、说明右（小字）+ 序号图标 */
.gb-sb-item--pre {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.gb-sb-item-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gb-sb-item-ord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #8b633f;
    background: #fdebd4;
    line-height: 1;
}

.gb-sb-item--pre .gb-sb-item-title {
    font-size: 14px;
}

.gb-sb-item--pre .gb-sb-item-sub {
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46%;
}

.gb-sb-item--pre:hover .gb-sb-item-title,
.gb-sb-item--pre.is-active .gb-sb-item-title {
    color: #2A847C;
}

.gb-sb-item--pre:hover .gb-sb-item-ord,
.gb-sb-item--pre.is-active .gb-sb-item-ord {
    color: #ffffff;
    background: #2A847C;
}

/* 赛后统计：深蓝折叠头 + 暖白子项 + 左图标 */
.gb-sb-details--post-stats > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.gb-sb-panel--post-stats {
    background: #fff9f1;
    border-color: #ecdcc9;
}

.gb-sb-item--poststat {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.gb-sb-item--poststat .gb-sb-item-title {
    font-size: 14px;
    color: #303133;
}

.gb-sb-post-ico {
    display: flex;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: #606266;
}

.gb-sb-post-ico svg {
    display: block;
}

.gb-sb-item--poststat:hover .gb-sb-post-ico,
.gb-sb-item--poststat.is-active .gb-sb-post-ico {
    color: #9f7750;
}

.gb-sb-item--poststat.is-active {
    box-shadow: inset 3px 0 0 #b18659;
}

.gb-sb-item.is-active .gb-sb-item-sub {
    color: #8b735e;
}

.gb-sb-foot {
    flex-shrink: 0;
    margin-top: auto;
    padding: 10px 10px 6px;
    border-top: 1px solid #e5dcd3;
    background: #efe6dc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gb-sb-foot-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #646a73;
    text-decoration: none;
}

.gb-sb-foot-link:hover {
    background: rgba(255, 255, 255, 0.75);
    color: #5c3d28;
}

.gb-sb-foot-ico {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e4d5c8;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #646a73;
}

.gb-sb-expand-fab {
    display: none;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-height: 72px;
    padding: 8px 0;
    border: 1px solid #a67f52;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #5c3d28;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    box-shadow: 2px 0 8px rgba(26, 35, 126, 0.3);
}

.admin-shell-sidebar-collapsed .gb-sb-expand-fab {
    display: flex;
}

.gb-sb-expand-fab:hover {
    filter: brightness(1.08);
}

.gb-admin-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 20px 24px 40px;
    background: transparent;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gb-admin-inner {
    max-width: none;
    width: 100%;
    min-width: 1100px;
    margin: 0;
}

/* 基础设置：减少主区内上下留白 */
.gb-admin-inner.gb-admin-inner--meet-basic {
    padding-top: 2px;
    padding-bottom: 24px;
}

.gb-admin-inner.gb-admin-inner--meet-basic > .gb-meet-tip {
    margin: 0 0 10px;
}

/* 裁判员管理：收敛主标题上方留白（默认 section-gap 顶 48px 偏大） */
.gb-admin-inner.gb-admin-inner--meet-referees.section-gap {
    padding-top: 12px;
    padding-bottom: 40px;
}

/* 径赛/田赛成绩录入 hub：同上 */
.gb-admin-inner.gb-admin-inner--results-hub.section-gap {
    padding-top: 12px;
    padding-bottom: 40px;
}

/* 总分排名 · 分组积分排名：收敛顶栏与深蓝标题条之间留白 */
.gb-admin-inner.gb-admin-inner--rankings-group-points.section-gap {
    padding-top: 10px;
    padding-bottom: 32px;
}

/* 奖状中心：收敛标题上方留白 */
.gb-admin-inner.gb-admin-inner--certificates.section-gap {
    padding-top: 12px;
    padding-bottom: 32px;
}

/* 打印奖状 hub（mpcert-） */
.gb-admin-inner.gb-admin-inner--print-certificates.section-gap {
    padding: 8px 8px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.page-meet-print-certificates .gb-admin-content {
    padding: 8px 8px 28px;
}

.mpcert-root {
    width: min(100%, 1420px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mpcert-root--templates {
    width: min(100%, 1420px);
    gap: 14px;
}

.mpcert-root--custom-design {
    width: min(100%, 1780px);
}

.mpcert-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2B2B2B 100%);
    color: #E2E8E8;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.mpcert-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

.mpcert-head > * {
    position: relative;
    z-index: 1;
}

.mpcert-title {
    margin: 0 0 2px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #F8FAFA;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.mpcert-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #8A9696;
    line-height: 1.3;
}

.mpcert-back-btn {
    flex-shrink: 0;
    margin-top: 2px;
}

.mpcert-template-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 0;
    padding: 11px 18px;
    border-radius: 10px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0c4a6e;
    font-size: 0.88rem;
}

.mpcert-template-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}

.mpcert-template-banner strong {
    color: #0369a1;
    font-weight: 700;
}

.mpcert-date-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 2px 2px 4px;
    margin-bottom: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.mpcert-date-label {
    font-size: 0.88rem;
    color: #667070;
    font-weight: 600;
}

.mpcert-date-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mpcert-date-plain {
    display: inline-flex;
    align-items: center;
    padding: 4px 2px;
    color: #667070;
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 0.15s;
}

.mpcert-date-plain:hover {
    color: #2B2B2B;
}

.mpcert-date-plain.is-active {
    color: #2A847C;
    font-weight: 600;
}

.mpcert-date-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 16px;
    border-radius: 999px;
    border: 1px solid #D0DADA;
    background: #fff;
    color: #667070;
    font-size: 0.84rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.mpcert-date-chip:hover {
    border-color: #8A9696;
    color: #2B2B2B;
}

.mpcert-date-chip.is-active {
    background: #2A847C;
    border-color: #2A847C;
    color: #fff;
}

.mpcert-panel {
    padding: 18px 20px 20px;
    margin-bottom: 0;
    background: #fff;
    border: 1px solid #E2E8E8;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(43, 43, 43, 0.04);
}

.mpcert-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8E8;
}

.mpcert-panel-head .mpcert-date-filters {
    margin-left: auto;
}

.mpcert-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1rem;
    font-weight: 700;
    color: #2B2B2B;
}

.mpcert-panel-title::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #2A847C;
    flex-shrink: 0;
}

.mpcert-day-box {
    margin: 0 0 14px;
}

.mpcert-day-box-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid #E2E8E8;
    border-radius: 8px;
    background: #F8FAFA;
    font-size: 0.84rem;
    font-weight: 600;
    color: #667070;
}

.mpcert-kind-block + .mpcert-kind-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #E2E8E8;
}

.mpcert-kind-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.mpcert-kind-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #166534;
}

.mpcert-kind-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mpcert-kind-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.mpcert-select-all {
    border: none;
    background: transparent;
    padding: 0;
    color: #2563eb;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.mpcert-select-all:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.mpcert-batch-btn,
.mpcert-batch-print,
.mpcert-batch-btn--field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    background: #15803d !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s;
}

.mpcert-batch-btn:hover,
.mpcert-batch-btn--field:hover {
    background: #166534 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    text-decoration: none;
}

.mpcert-batch-print {
    background: #2563eb !important;
}

.mpcert-batch-print:hover {
    background: #1d4ed8 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.mpcert-event-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mpcert-event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 16px;
    border: 1px solid #E2E8E8;
    border-radius: 8px;
    background: #F8FAFA;
}

.mpcert-event-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
}

.mpcert-event-check {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    cursor: pointer;
}

.mpcert-event-check input {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid #16a34a;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.mpcert-event-check input:checked {
    background-color: #16a34a;
    border-color: #16a34a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.2l3.1 3.1 6.5-6.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.mpcert-event-name {
    margin: 0;
    flex: 0 0 9.75rem;
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 400;
    color: #2B2B2B;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mpcert-event-time {
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #667070;
    white-space: nowrap;
}

.mpcert-event-time--empty {
    display: none;
}

.mpcert-event-tags {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 8px;
    min-width: 0;
}

.mpcert-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

.mpcert-tag--muted {
    background: #667070;
    color: #fff;
}

.mpcert-tag--award {
    background: #ea580c;
    color: #fff;
}

.mpcert-tag--export {
    background: #16a34a;
    color: #fff;
}

.mpcert-tag--export:hover {
    background: #15803d;
    color: #fff;
}

.mpcert-tag--sheet {
    background: #38bdf8;
    color: #0c4a6e;
}

.mpcert-tag--sheet:hover {
    background: #0ea5e9;
    color: #fff;
}

.mpcert-tag--count {
    background: #2A847C;
    color: #fff;
}

.mpcert-empty {
    margin: 0;
    padding: 6px 0;
    color: #8A9696;
    font-size: 0.86rem;
}

body.mpcert-sheet-modal-open {
    overflow: hidden;
}

.mpcert-sheet-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mpcert-sheet-modal[hidden] {
    display: none !important;
}

.mpcert-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.55);
}

.mpcert-sheet-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 96vw);
    height: min(88vh, 900px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(43, 43, 43, 0.28);
    overflow: hidden;
}

.mpcert-sheet-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #E2E8E8;
    background: #F8FAFA;
}

.mpcert-sheet-dialog-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2B2B2B;
}

.mpcert-sheet-close {
    border: none;
    background: transparent;
    color: #667070;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.mpcert-sheet-close:hover {
    color: #2B2B2B;
}

.mpcert-sheet-frame {
    flex: 1 1 auto;
    width: 100%;
    border: none;
    background: #fff;
}

.mpcert-print-frame {
    position: fixed;
    left: -10000px;
    top: 0;
    width: 1200px;
    height: 900px;
    border: 0;
}

body.mpcert-tpl-modal-open {
    overflow: hidden;
}

.mpcert-tpl-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mpcert-tpl-modal[hidden] {
    display: none !important;
}

.mpcert-tpl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.55);
}

.mpcert-tpl-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 96vw);
    max-height: min(88vh, 900px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(43, 43, 43, 0.28);
    overflow: hidden;
}

.mpcert-tpl-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8E8;
    background: #F8FAFA;
    flex-shrink: 0;
}

.mpcert-tpl-dialog-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #2B2B2B;
}

.mpcert-tpl-close {
    border: none;
    background: transparent;
    color: #667070;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.mpcert-tpl-close:hover {
    color: #2B2B2B;
}

.mpcert-tpl-body {
    overflow: auto;
    padding: 8px 12px 16px;
}

.mpcert-tpl-dialog .mct-page-title {
    display: none;
}

.mpcert-tpl-dialog .mct-panel {
    margin: 0;
    box-shadow: none;
    border: none;
}

.mpcert-template-picker-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #fff;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
    transition: background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    cursor: pointer;
}

.mpcert-template-picker-btn:hover {
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.38);
    color: #fff;
}

.mpcert-root--templates .mct-panel {
    margin-top: 0;
}

.mpcert-root--templates .mct-page-title {
    display: none;
}

/* 模板列表：操作链接与下方表单蓝色样式 */
.mpcert-root--templates .mct-link {
    color: #2A847C;
    font-weight: 400;
}

.mpcert-root--templates .mct-link:hover {
    color: #2A847C;
    text-decoration: underline;
}

.mpcert-root--templates .mct-sep {
    color: #A8D5CF;
}

.mpcert-root--templates .mct-field label span {
    color: #111827;
}

.mpcert-root--templates .mct-field input[type="text"] {
    border: 1px solid #2A847C;
    color: #111827;
    -webkit-text-fill-color: #111827;
}

.mpcert-root--templates .mct-field input[type="text"]:focus {
    border-color: #2A847C;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
    color: #111827;
    -webkit-text-fill-color: #111827;
}

.mpcert-root--templates .mct-field input[type="text"]::placeholder {
    color: #111827;
    opacity: 1;
}

/* 自定义奖状模板设计（mccd-） */
.mccd-root {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mccd-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mccd-title {
    margin: 0;
    font-size: 1.35rem;
    color: #2B2B2B;
}

.mccd-subtitle {
    margin: 6px 0 0;
    color: #667070;
    font-size: 0.9rem;
}

.mccd-back-btn {
    flex-shrink: 0;
    margin-top: 2px;
    color: #1e3a5f;
    background: #fff;
    border: 1px solid #8A9696;
    box-shadow: 0 1px 2px rgba(43, 43, 43, 0.06);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mccd-back-btn:hover,
.mccd-back-btn:focus-visible {
    color: #fff;
    background: #1e3a5f;
    border-color: #1e3a5f;
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.28);
}

.mccd-back-btn:active {
    color: #fff;
    background: #152a47;
    border-color: #152a47;
    box-shadow: 0 1px 3px rgba(21, 42, 71, 0.32);
}

.mccd-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(480px, 580px);
    gap: 20px;
    align-items: start;
}

.mccd-preview-col,
.mccd-settings-col {
    padding: 16px 18px 20px;
}

.mccd-preview-viewport .mccd-preview-doc p {
    color: #111;
    line-height: 1.8;
}

.mccd-preview-body {
    text-align: justify;
    text-justify: inter-ideograph;
    color: #111;
}

.mccd-preview-sign {
    margin: 0;
    color: #111;
}

.mccd-section-title {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #2B2B2B;
}

.mccd-preview-viewport {
    overflow: auto;
    background: #E2E8E8;
    border-radius: 10px;
    padding: 16px;
    min-height: 280px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#mccd-preview-inner {
    display: block;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    visibility: hidden;
}

.mccd-preview-viewport.is-ready #mccd-preview-inner {
    visibility: visible;
}

.mccd-preview-doc {
    box-shadow: 0 8px 24px rgba(43, 43, 43, 0.12);
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.mccd-preview-content {
    margin-top: 0;
}

.mccd-preview-block {
    margin: 0;
    width: 100%;
}

.mccd-preview-recipient,
.mccd-preview-body,
.mccd-preview-rank,
.mccd-preview-closing {
    margin: 0;
}

.mccd-preview-rank {
    text-align: center;
    display: block;
    width: 100%;
}

.mccd-fieldset {
    border: none;
    border-top: 1px solid #E2E8E8;
    border-radius: 0;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    min-width: 0;
}

.mccd-fieldset:first-of-type {
    border-top: none;
    padding-top: 0;
    row-gap: 0;
}

.mccd-fieldset:first-of-type > .mccd-field-row,
.mccd-fieldset:first-of-type > .mccd-field-grid {
    margin-top: 20px;
}

.mccd-fieldset:not(:first-of-type) {
    padding-top: 20px;
}

.mccd-fieldset legend {
    padding: 0;
    margin: 0;
    font-weight: 700;
    color: #1e3a5f;
    font-size: 0.95rem;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    float: none;
}

.mccd-fieldset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.85;
}

.mccd-field-row,
.mccd-field-grid {
    display: grid;
    gap: 10px 12px;
}

.mccd-fieldset .mccd-field-grid + .mccd-field-grid {
    margin-top: 10px;
}

.mccd-field-grid--name-row,
.mccd-field-grid--has-check,
.mccd-field-grid--sign-row {
    align-items: end;
}

.mccd-field-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mccd-field-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mccd-field-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mccd-settings-col .mccd-field-grid--name-row {
    grid-template-columns: minmax(56px, 0.62fr) minmax(62px, 0.68fr) minmax(168px, 1.65fr) minmax(72px, 0.78fr);
}

.mccd-settings-col .mccd-field-grid--sign-row {
    grid-template-columns: minmax(56px, 0.62fr) minmax(62px, 0.68fr) auto minmax(0, 1fr);
}

.mccd-field-grid--has-check {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.mccd-field-grid--rank-equal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.mccd-field-grid--rank-equal .mccd-field input,
.mccd-field-grid--rank-equal .mccd-field select {
    width: 100%;
}

.mccd-fieldset .mccd-field-grid--rank-equal + .mccd-field-grid--rank-gap-row {
    margin-top: 10px;
}

.mccd-field-grid--rank-gap-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.mccd-field-grid--rank-gap-row > .mccd-field input {
    width: 100%;
}

.mccd-field--gap-after-check {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    font-size: 0.82rem;
    color: #667070;
}

.mccd-gap-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mccd-gap-check-row > input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 34px;
    padding: 6px 8px;
    border: 1px solid #D0DADA;
    border-radius: 6px;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.mccd-gap-check-row .mccd-field--check {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-start;
}

.mccd-gap-check-row .mccd-field-check-row {
    height: 34px;
}

.mccd-field-label {
    display: block;
    line-height: 1.28;
    font-size: 0.78rem;
}

.mccd-field--long-label .mccd-field-label {
    font-size: 0.78rem;
    line-height: 1.28;
    white-space: normal;
}

.mccd-field-label--spacer {
    visibility: hidden;
    user-select: none;
    height: 1.28em;
    overflow: hidden;
}

.mccd-field--long-label {
    line-height: 1.35;
}

.mccd-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
    color: #667070;
    min-width: 0;
}

.mccd-field input,
.mccd-field select {
    width: 100%;
    height: 34px;
    padding: 6px 8px;
    border: 1px solid #D0DADA;
    border-radius: 6px;
    font-size: 0.88rem;
    box-sizing: border-box;
}

.mccd-field--check {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 4px;
    padding-top: 0;
    white-space: nowrap;
    width: auto;
    min-width: 0;
    max-width: none;
}

.mccd-field-check-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    height: 34px;
    white-space: nowrap;
}

.mccd-field--check input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0;
    flex-shrink: 0;
}

.mccd-field--check .mccd-field-check-row > span {
    writing-mode: horizontal-tb;
    white-space: nowrap;
    font-size: 0.82rem;
    line-height: 1;
}

.mccd-help {
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: #667070;
}

.mccd-help ul {
    margin: 8px 0 0;
    padding-left: 1.2em;
}

.mccd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.mccd-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    box-sizing: border-box;
    text-align: center;
}

.mccd-btn-export {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.mccd-btn-export:hover {
    color: #fff;
    background: #15803d;
}

.mccd-btn-params {
    background: #667070;
    border-color: #667070;
    color: #fff;
}

.mccd-btn-params:hover {
    background: #667070;
    border-color: #667070;
    color: #fff;
}

/* 参数详解弹层 */
.mccd-params-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
}

.mccd-params-modal[hidden] {
    display: none !important;
}

.mccd-params-modal:not([hidden]) {
    display: flex;
}

.mccd-params-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.52);
    cursor: pointer;
}

.mccd-params-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(96vw, 980px);
    max-height: min(94vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(43, 43, 43, 0.28);
    padding: 14px 18px 18px;
}

.mccd-params-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8E8;
}

.mccd-params-modal__head strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2B2B2B;
}

.mccd-params-modal__close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: #F4F7F7;
    color: #667070;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.mccd-params-modal__close:hover {
    background: #E2E8E8;
    color: #2B2B2B;
}

.mccd-params-diagram {
    padding: 8px;
    text-align: center;
    background: #F8FAFA;
    border: 1px solid #E2E8E8;
    border-radius: 8px;
    overflow: auto;
}

.mccd-params-diagram__svg,
.mccd-params-diagram svg {
    display: block;
    width: 100%;
    min-width: 860px;
    max-width: 900px;
    height: auto;
    min-height: 580px;
    margin: 0 auto;
    border: none;
}

.mccd-params-modal__foot {
    margin: 14px 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: #667070;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .mccd-workspace {
        grid-template-columns: 1fr;
    }

    .mccd-field-grid--4:not(.mccd-field-grid--name-row):not(.mccd-field-grid--sign-row) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mccd-settings-col .mccd-field-grid--name-row {
        grid-template-columns: minmax(56px, 0.62fr) minmax(62px, 0.68fr) minmax(168px, 1.65fr) minmax(72px, 0.78fr);
    }

    .mccd-settings-col .mccd-field-grid--sign-row {
        grid-template-columns: minmax(58px, 0.72fr) minmax(64px, 0.78fr) auto minmax(0, 1fr);
    }
}

body.page-certificates .gb-admin-content {
    padding-top: 10px;
}

body.page-rankings-group-points .gb-admin-content {
    padding: 10px 0 40px;
}

/* 流程管理：居中流程指引标题区 + 步骤卡片 */
body.page-meet-workflow .gb-admin-content {
    padding-top: 10px;
}

.gb-admin-inner.wf-page.section-gap {
    padding-top: 0;
    padding-bottom: 28px;
}

.wf-guide-hero {
    text-align: center;
    margin: 0 0 16px;
    padding: 8px 0 4px;
    background: transparent;
    border: none;
}

.wf-guide-hero-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.wf-guide-hero-title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wf-guide-hero-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2A847C;
}

.wf-guide-hero-svg {
    display: block;
}

.wf-guide-hero-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2A847C;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.wf-guide-hero-sub {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #667070;
    line-height: 1.5;
}

.wf-meet-card {
    margin-bottom: 8px;
}

.wf-meet-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #667070;
}

.wf-empty-card {
    padding: 20px 22px;
}

.wf-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 14px;
}

.wf-step {
    border-radius: 10px;
    padding: 14px 16px 10px;
    border: 1px solid #e6ddd4;
    background: #fff;
    box-shadow: 0 1px 2px rgba(45, 32, 22, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 96px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* 整块卡片进入主页面；副链接单独可点（主链接铺底，副链接触控在上层） */
.wf-step--clickable {
    position: relative;
    cursor: pointer;
}

.wf-step--clickable:hover {
    border-color: #e8c9a8;
    box-shadow: 0 2px 8px rgba(120, 78, 48, 0.14);
}

.wf-step-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-decoration: none;
}

.wf-step-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    height: 100%;
}

.wf-step-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.wf-step-extra-btn {
    font-size: 13px;
}

.wf-step--todo .wf-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e6ddd4;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
}

.wf-step--done {
    background: #F4F7F7;
    border-color: #a5d6a7;
    box-shadow: 0 1px 4px rgba(46, 125, 50, 0.12);
    padding-bottom: 8px;
}

.wf-step--done .wf-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2A847C;
    border: 1px solid #1F655E;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.wf-step-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wf-step-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
}

.wf-step--done .wf-step-title {
    color: #1F655E;
}

.wf-step-desc {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}

.wf-step--done .wf-step-desc {
    color: #2A847C;
}

.wf-step-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.wf-step-link {
    font-size: 13px;
}

.wf-step-status-slot {
    margin-top: 4px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-step--done .wf-step-status-slot {
    margin-top: 0;
    transform: translateY(-4px);
}

.wf-done-label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2A847C;
    text-align: center;
}

.wf-done-check {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.wf-done-label--hidden {
    visibility: hidden;
}

.gb-main-panel {
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #d8e2f1;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.gb-panel-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e3eaf5;
    background: #f8fbff;
}

.gb-panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.gb-guide-link {
    font-size: 14px;
    color: #667070;
    padding: 8px 4px;
}

.gb-btn-outline {
    background: #fff;
    border: 1px solid #dfc4ae;
    color: #2B2B2B;
}

.gb-btn-outline:hover {
    background: #fcf9f4;
}

.gb-th-index {
    width: 48px;
}

.gb-th-sort {
    width: 72px;
}

.gb-th-actions {
    min-width: 200px;
}

.btn-pill {
    border-radius: 999px;
    padding: 8px 14px;
}

.gb-op-full {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.gb-op-row-tight {
    width: 100%;
}

.gb-faq-block {
    padding: 12px 16px 6px;
    border-top: 1px solid #ece4da;
    background: #fafafa;
}

.gb-faq-title {
    margin: 0 0 8px;
    font-size: 15px;
    color: #b18659;
}

.gb-faq-item {
    border: 1px solid #e3d9ce;
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 0 10px;
    background: #fff;
}

.gb-faq-item summary {
    cursor: pointer;
    padding: 8px 0;
    font-weight: 400;
    color: #2B2B2B;
    list-style: none;
}

.gb-faq-item summary::-webkit-details-marker {
    display: none;
}

.gb-faq-item[open] summary {
    border-bottom: 1px solid #f2f4f7;
    margin-bottom: 8px;
}

.gb-faq-item p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #667070;
    line-height: 1.5;
}

.gb-next-row {
    display: flex;
    justify-content: flex-end;
    padding: 10px 16px 14px;
    background: #fff;
    border-top: 1px solid #ece4da;
}

.gb-main-panel > .gb-active-meet-banner {
    margin: 12px 16px 10px;
}

.gb-main-panel .table-card {
    margin: 0 16px 10px;
}

.gb-meet-bar .gb-meet-tip {
    margin-bottom: 0;
}

.gb-subpage-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.gb-subpage-title {
    margin: 0;
    font-size: 18px;
}

.gb-batch-desc {
    margin: 0 0 12px;
    color: #667070;
    font-size: 14px;
}

.gb-copy-scope-fieldset {
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 0 16px;
}

.gb-copy-scope-fieldset legend {
    padding: 0 6px;
    font-weight: 600;
}

.gb-copy-scope-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.gb-copy-scope-row label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.gb-batch-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.gb-batch-form .gb-subpage-actions,
.gb-subpage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.gb-batch-table .gb-col-idx {
    width: 56px;
    text-align: center;
}

.gb-group-table th.gb-copy-check-col,
.gb-group-table td.gb-copy-check-col {
    width: 140px;
}

.gb-group-table td.gb-copy-check-col {
    text-align: left !important;
    padding-left: 10px !important;
}

.gb-group-table td.gb-copy-check-col label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gb-group-table td.gb-copy-check-col input[type="checkbox"] {
    margin: 0 !important;
}

.gb-copy-target-table {
    display: inline-table;
    width: 620px !important;
    min-width: 620px;
    max-width: 620px;
    table-layout: fixed;
    margin-left: 0;
}

.gb-copy-target-table th:first-child,
.gb-copy-target-table td:first-child {
    width: 480px;
}

.gb-copy-target-table th:last-child,
.gb-copy-target-table td:last-child {
    width: 140px;
}

.gb-sort-batch-table {
    width: 100%;
    max-width: 720px;
    table-layout: auto;
}

.gb-sort-batch-table th,
.gb-sort-batch-table td {
    vertical-align: middle;
    white-space: nowrap;
    word-break: keep-all;
}

.gb-sort-batch-table th:nth-child(1),
.gb-sort-batch-table td:nth-child(1) {
    width: 72px;
    text-align: center;
}

.gb-sort-batch-table th:nth-child(3),
.gb-sort-batch-table td:nth-child(3) {
    width: 140px;
}

.gb-sort-batch-table input[type="number"] {
    width: 88px;
    height: 36px;
    box-sizing: border-box;
    padding: 4px 8px;
    text-align: center;
    border: 1px solid #D0DADA;
    border-radius: 8px;
}

.gb-batch-table .gb-col-sort {
    width: 100px;
}

.gb-batch-table input[type="text"],
.gb-batch-table input[type="number"] {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #D0DADA;
    border-radius: 8px;
    background: #fff;
    color: #2B2B2B;
    box-sizing: border-box;
}

.gb-batch-groups-page .gb-grade-fill {
    margin: 0 0 16px;
    padding: 20px 22px 18px;
}
.gb-grade-fill-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.gb-grade-fill-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.gb-grade-fill-desc {
    margin: 4px 0 0;
    color: #667070;
    font-size: 13px;
}
.gb-grade-fill-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gb-grade-panels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gb-grade-panel {
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.gb-grade-panel summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    list-style: none;
    cursor: pointer;
    background: #F8FAFA;
    user-select: none;
}
.gb-grade-panel summary::-webkit-details-marker {
    display: none;
}
.gb-grade-panel[open] summary {
    background: #E6F6F4;
}
.gb-grade-panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
}
.gb-grade-panel[open] .gb-grade-panel-title {
    color: #1A544E;
}
.gb-grade-panel-note {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 500;
    color: #667070;
}
.gb-grade-panel-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #84A98C;
    border-bottom: 2px solid #84A98C;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
}
.gb-grade-panel[open] .gb-grade-panel-chevron {
    transform: rotate(225deg);
}
.gb-grade-panel-body {
    padding: 12px 14px 14px;
}
.gb-grade-block + .gb-grade-block {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #E6E6E6;
}
.gb-grade-block-caption {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #5C7A64;
}
.gb-grade-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
}
.gb-grade-list li {
    margin: 0;
    padding: 0;
}
.gb-grade-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #2B2B2B;
}
.gb-grade-list input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2A847C;
}
.gb-batch-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.gb-batch-list-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}
.gb-batch-table .gb-col-op {
    width: 72px;
    text-align: center;
}
.gb-batch-del {
    border: 0;
    background: none;
    color: #dc2626;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 6px;
}
.gb-batch-del:hover {
    text-decoration: underline;
}

.gb-cell-add {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #d46b08;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.gb-cell-add:hover {
    background: #ffe7ba;
    color: #ad4e00;
}
.gb-cell-tags-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.gb-cell-tags-clip {
    overflow: hidden;
    width: 100%;
}
.gb-cell-tags-box:not(.is-expanded) .gb-cell-tags-clip {
    max-height: var(--gb-tags-two-rows, 54px);
}
.gb-cell-tags-foot {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-top: 6px;
}
.gb-cell-tags-box.is-collapsible .gb-cell-tags-foot,
.gb-cell-tags-box.has-more .gb-cell-tags-foot {
    display: flex;
}
.gb-cell-tags-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8c8c8c;
    cursor: pointer;
    line-height: 1;
}
.gb-cell-tags-box.is-collapsible .gb-cell-tags-toggle {
    display: flex;
}
.gb-cell-tags-toggle:hover {
    color: #595959;
}
.gb-cell-tags-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}
.gb-cell-tags-box.is-expanded .gb-cell-tags-chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.gb-cell-tags {
    display: grid;
    gap: 6px;
    margin-bottom: 0;
    align-content: start;
}
.gb-cell-tags-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    justify-items: stretch;
    align-content: start;
}
.gb-cell-tags-ev {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    justify-items: stretch;
    align-content: start;
}
.gb-cell-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 24px;
    height: auto;
    padding: 3px 6px;
    font-size: 12px;
    text-align: center;
    color: #fff;
    background: #2A847C;
    border-radius: 12px;
    line-height: 1.25;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.gb-cell-tag[hidden],
.gb-cell-tag.is-overflow {
    display: none !important;
}
.gb-cell-tag-ev,
.gb-cell-tag-ev.is-f,
.gb-cell-tag-ev.is-x {
    background: #389e0d;
}
.gb-cell-tag-more { background: #8c8c8c; }
.gb-cell-more {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 12px;
    border: 1px dashed #95de64;
    border-radius: 12px;
    background: #f6ffed;
    color: #389e0d;
    font-size: 12px;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    white-space: nowrap;
}
.gb-cell-more:hover {
    background: #d9f7be;
    border-color: #73d13d;
    border-style: solid;
    color: #237804;
}
.gb-ops-groups {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
}
.gb-ops-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.gb-ops-k {
    color: #667070;
}
.gb-ops-line a,
.gb-ops-line button {
    color: #2A847C;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
}
.gb-ops-line button { color: #dc2626; }

.gb-units-top3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
}
.gb-units-mini {
    padding: 14px 16px 16px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    height: 100%;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}
.gb-units-top3 .gb-units-paste {
    flex: 1;
    min-height: 140px;
    margin-bottom: 12px;
}
.gb-units-top3 .gb-units-empty-box {
    flex: 1;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 12px;
}
.gb-units-mini .gb-units-wide:last-child {
    margin-top: auto;
}
.gb-units-mini-title { margin: 0; font-size: 15px; }
.gb-units-mini-desc { margin: 4px 0 10px; color: #667070; font-size: 13px; }
.gb-units-paste {
    width: 100%;
    min-height: 120px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    resize: vertical;
}
.gb-units-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 13px; }
.gb-units-page #gb-units-grade,
.gb-units-page #gb-units-class-count,
.gb-units-page .gb-units-table .input {
    height: 35px;
    min-height: 35px;
    box-sizing: border-box;
    line-height: 33px;
    padding-top: 0;
    padding-bottom: 0;
}
.gb-units-wide { width: 100%; }
.gb-units-list-card {
    padding: 16px 18px 18px;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}
.gb-units-list-title { margin: 0 0 12px; font-size: 15px; }
.gb-units-head-actions { display: flex; gap: 8px; }
@media (max-width: 960px) {
    .gb-units-top3 { grid-template-columns: 1fr; }
}

.gb-pick-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}
.gb-pick-tab {
    border: 0;
    background: none;
    padding: 6px 2px;
    cursor: pointer;
    color: #1677ff;
    font-size: 14px;
    font-weight: 700;
}
.gb-pick-tab.is-on {
    color: #1677ff;
    font-weight: 700;
    box-shadow: inset 0 -2px 0 #1677ff;
}
.gb-pick-gender-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 0 0 14px;
    font-size: 14px;
}
.gb-pick-exist-tip { margin-left: auto; color: #667070; font-size: 13px; }
.gb-pick-box {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #F8FAFA;
}
.gb-pick-box-sel { background: #fffbeb; }
.gb-pick-box-title { margin: 0 0 8px; font-size: 14px; font-weight: 400; }
.gb-pick-box-exist .gb-pick-chip {
    font-weight: 400;
}
.gb-pick-exist-row + .gb-pick-exist-row {
    margin-top: 8px;
}
.gb-pick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-pick-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}
.gb-pick-chip.is-m { background: #2A847C; }
.gb-pick-chip.is-f { background: #eb2f96; }
.gb-pick-chip.is-mix { background: #722ed1; }
.gb-pick-chip.is-on { outline: 2px solid #111827; outline-offset: 1px; }
.gb-pick-chip.is-exist { outline: 1px dashed rgba(255,255,255,.95); outline-offset: 1px; cursor: default; }
.gb-pick-x {
    border: 0;
    background: rgba(255,255,255,.25);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 16px;
    cursor: pointer;
}
.gb-pick-pane { display: none; }
.gb-pick-pane.is-on { display: block; }
.gb-pick-group { margin: 12px 0 16px; }
.gb-pick-group-title { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #111827; }
.gb-pick-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.gb-lib-wait-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0 16px;
    color: #98a2b3;
    font-size: 13px;
}
.gb-lib-wait-line::before,
.gb-lib-wait-line::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #e5e7eb;
}
.gb-lib-wait-line span {
    flex: 0 0 auto;
    white-space: nowrap;
}
.gb-lib-chip.is-picked,
.gb-pick-pane[data-pane="library"] .gb-pick-group.is-empty {
    display: none;
}
.gb-lib-chip {
    cursor: pointer;
}
.gb-lib-pick-label {
    pointer-events: none;
}
.gb-lib-act {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0 1px;
    font-size: 12px;
    line-height: 1;
    opacity: 0.92;
}
.gb-lib-act:hover { opacity: 1; }
.gb-lib-create {
    margin-top: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px 14px;
    background: #fff;
}
.gb-lib-create-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.gb-lib-create-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}
.gb-lib-create-tip {
    font-size: 12px;
    color: #98a2b3;
}
.gb-lib-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
}
.gb-lib-k {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
.gb-lib-field .input,
.gb-lib-field #gb-lib-name {
    width: 100%;
    max-width: 420px;
    height: 35px;
    min-height: 35px;
    box-sizing: border-box;
    line-height: 33px;
    padding: 0 10px;
}
.gb-pick-same-btn {
    height: 35px;
    min-height: 35px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 33px;
    border-radius: 8px;
    box-sizing: border-box;
}
.gb-lib-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    align-items: center;
    font-size: 14px;
    color: #2B2B2B;
}
.gb-lib-field--span {
    grid-column: 1 / -1;
}
.gb-lib-save {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}
@media (max-width: 800px) {
    .gb-lib-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .gb-grade-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gb-grade-col:nth-child(3),
    .gb-grade-col:nth-child(4) {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }
}

.req {
    color: #d92d20;
}

.gb-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gb-list-title {
    margin: 0;
    font-size: 18px;
}

.gb-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gb-guide-muted {
    font-size: 13px;
    color: #98a2b3;
}

.gb-active-meet-banner {
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f3f8ff 0%, #eaf2ff 100%);
    border: 1px solid #d5e3fb;
    color: #1d3f72;
    font-size: 14px;
    margin-bottom: 0;
}

.gb-active-meet-banner strong {
    color: #16325c;
    font-weight: 700;
}

.gb-group-table-wrap {
    overflow-x: auto;
}

.gb-group-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.gb-group-table th,
.gb-group-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ece4da;
    vertical-align: top;
}

.gb-group-table th {
    text-align: left;
    background: linear-gradient(180deg, #fff6ea 0%, #fdebd4 100%);
    color: #6b4423;
    font-weight: 600;
    border-bottom: 1px solid #e8c9a8;
}

.gb-inline-sort-input {
    width: 72px;
    min-width: 72px;
    height: 36px;
    box-sizing: border-box;
    padding: 4px 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #2B2B2B;
    background: #fff;
    border: 1px solid #2A847C;
    border-radius: 8px;
}

.gb-cell-btn {
    display: inline-block;
    margin: 2px 4px 2px 0;
}

.gb-group-cell-stack {
    max-width: 320px;
}

.gb-group-preview {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #1f2937;
    word-break: break-word;
}

.gb-group-preview-empty {
    display: block;
    margin: 0 0 8px;
}

.gb-group-preview-empty.gb-muted {
    margin-top: 0;
}

.gb-muted {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #98a2b3;
}

.gb-op-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-op-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gb-empty-tip {
    margin: 12px 0 0;
}

.btn-warn {
    background: #facc15;
    color: #422006;
    border: 1px solid #eab308;
}

.btn-warn:hover {
    filter: brightness(0.96);
}

.btn-teal {
    background: #2dd4bf;
    color: #134e4a;
    border: 1px solid #14b8a6;
}

.btn-teal:hover {
    filter: brightness(0.97);
}

.btn-ghost-danger {
    background: transparent;
    color: #d92d20;
    border: 1px solid #fda29b;
}

.btn-ghost-danger:hover {
    background: #fef3f2;
}

.meet-basic-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.meet-basic-card-head h2 {
    margin: 0;
    font-size: 18px;
}

.meet-basic-form {
    display: grid;
    gap: 12px 16px;
}

.meet-basic-form > label {
    display: block;
    min-width: 0;
    grid-column: 1 / -1;
}

.meet-basic-span2 {
    grid-column: 1 / -1;
}

.meet-basic-inline-field--name {
    grid-column: 1 / 2;
}

.meet-basic-inline-field--name input[type="text"] {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 14px;
}

.meet-basic-inline-field--sort {
    grid-column: 2 / 3;
}

.meet-basic-inline-field--sort input[type="number"] {
    width: 100%;
    text-align: center;
}

/* 添加/编辑分组：除首行字段外，其余模块全部占满，避免右侧窄列挤压说明文案 */
.meet-basic-form > .meet-basic-h3,
.meet-basic-form > .tip,
.meet-basic-form > .table-card,
.meet-basic-form > .meet-basic-ev-actions,
.meet-basic-form > .meet-form-grid,
.meet-basic-form > .gb-subpage-actions {
    grid-column: 1 / -1;
}

@media (max-width: 899px) {
    .meet-basic-inline-field--name,
    .meet-basic-inline-field--sort {
        grid-column: 1 / -1;
    }

    .meet-basic-inline-field--sort input[type="number"] {
        text-align: left;
    }
}

.meet-basic-dual {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: 14px 16px;
    align-items: start;
}

.meet-basic-dual-col {
    min-width: 0;
}

.meet-basic-dual-col .meet-basic-span2 {
    grid-column: auto;
}

@media (max-width: 1199px) {
    .meet-basic-dual {
        grid-template-columns: 1fr;
    }
}

.meet-basic-combined-card {
    grid-column: 1 / -1;
    padding: 0;
    overflow: hidden;
}

.meet-basic-combined-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.meet-basic-combined-table th,
.meet-basic-combined-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #D9E4E2;
    vertical-align: top;
}

.meet-basic-combined-table thead th {
    font-size: 14px;
    font-weight: 700;
    color: #1f3f68;
    background: linear-gradient(180deg, #eff6ff 0%, #E6F6F4 100%);
}

.meet-basic-combined-table tbody td + td {
    border-left: 1px solid #D9E4E2;
}

.meet-basic-combined-cell .tip {
    margin-top: 0;
}

.meet-basic-combined-group {
    display: block;
}

.meet-basic-combined-group > span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #2B2B2B;
}

.meet-basic-combined-group input[type="text"] {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #b9c8da;
    border-radius: 8px;
}

.meet-basic-combined-cell .table-card {
    margin-bottom: 8px;
}

.meet-basic-events--plain {
    width: 100%;
    border-collapse: collapse;
}

.meet-basic-events--plain td {
    padding: 0 0 8px;
    border: 0;
    background: transparent;
}

.gb-mg-limit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.gb-mg-copy-dialog {
    width: min(560px, 92vw);
    border: 1px solid #D9E4E2;
    border-radius: 12px;
    padding: 16px 18px;
}

.gb-mg-copy-dialog::backdrop {
    background: rgba(43, 43, 43, 0.35);
}

.gb-mg-copy-dialog h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.meet-basic-limit-grid {
    display: grid;
    gap: 8px;
}

.meet-basic-limit-grid label {
    display: block;
}

.meet-basic-limit-grid label span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #2B2B2B;
    line-height: 1.45;
}

.meet-basic-limit-grid input[type="number"] {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #b9c8da;
    border-radius: 8px;
}

.meet-basic-limit-gender-pair {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meet-basic-limit-gender-head {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.meet-basic-limit-gender-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.meet-basic-limit-gender-inputs label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.meet-basic-limit-gender-inputs label span {
    margin: 0;
    font-size: 12px;
    color: #4b5563;
}

.gb-mg-gender-pair {
    grid-column: 1 / -1;
}

@media (max-width: 1199px) {
    .meet-basic-combined-table,
    .meet-basic-combined-table thead,
    .meet-basic-combined-table tbody,
    .meet-basic-combined-table tr,
    .meet-basic-combined-table th,
    .meet-basic-combined-table td {
        display: block;
        width: 100%;
    }

    .meet-basic-combined-table thead th {
        border-bottom: 1px solid #D9E4E2;
    }

    .meet-basic-combined-table tbody td + td {
        border-left: none;
    }
}

.meet-basic-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dfc4ae;
    border-radius: 12px;
    font-family: inherit;
}

.meet-basic-h3 {
    margin: 8px 0 0;
    font-size: 15px;
    color: #2B2B2B;
}

.meet-basic-events {
    table-layout: fixed;
}

.meet-basic-ev-col-name {
    width: 100%;
}

.meet-basic-ev-rounds {
    vertical-align: middle;
}

.ev-rounds-cb-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 4px 0;
}

.ev-rounds-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #2B2B2B;
    cursor: pointer;
    white-space: nowrap;
}

.ev-rounds-label input {
    margin: 0;
    accent-color: #b18659;
}

.meet-basic-events input[type="text"],
.meet-basic-events input[type="number"] {
    width: 100%;
    min-width: 0;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
}

.meet-basic-events select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
}

.meet-basic-ev-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin: 8px 0 16px;
}

.meet-basic-ev-actions .btn {
    min-height: 36px;
    padding: 8px 14px;
}

.meet-basic-card .table-card {
    margin-bottom: 2px;
}

/* 分组管理页：基础设置汇总块（页眉式标题区 + 只读表） */
.gb-events-summary-block {
    margin-top: 12px;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: #fff;
    box-shadow: none;
}

.gb-events-summary-pagehead {
    padding: 10px 16px 16px;
    background: linear-gradient(180deg, #f7faff 0%, #eff5ff 100%);
    border-bottom: none;
    box-shadow: none;
}

.gb-events-summary-pagehead-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}

.gb-events-summary-pagehead-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1f3658;
}

.gb-events-summary-pagehead-meta {
    font-size: 14px;
    font-weight: 600;
    color: #3b5f8f;
    white-space: nowrap;
}

.gb-events-summary-pagehead-tip {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #667070;
}

.gb-events-summary-sheet {
    padding: 0;
    background: #fff;
}

.gb-events-summary-matrix-wrap {
    overflow-x: hidden;
    max-width: 100%;
}

.gb-main-panel .gb-events-summary-matrix-wrap.table-card {
    margin: 0;
    padding: 12px 16px 8px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.gb-events-summary-matrix .gb-th-index {
    width: 44px;
}

.gb-events-summary-gname-cell {
    vertical-align: top;
}

.gb-events-summary-gname {
    display: block;
    margin: 0;
    font-size: 13px;
}

.gb-events-summary-th-op {
    width: 248px;
    min-width: 248px;
    max-width: 248px;
    white-space: nowrap;
    text-align: center;
}

.gb-events-summary-op-cell {
    vertical-align: top;
    white-space: nowrap;
    text-align: center;
    width: 248px;
    min-width: 248px;
    max-width: 248px;
    padding-right: 12px;
}

.gb-events-summary-op-stack {
    display: grid;
    grid-template-columns: 180px 44px;
    grid-template-rows: 36px 36px;
    width: 232px;
    height: 80px;
    gap: 8px;
    margin: 0 auto;
    box-sizing: border-box;
}

.gb-events-summary-op-stack .gb-events-summary-del-form {
    display: block;
    width: 44px;
    height: 80px;
    margin: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.gb-events-summary-op-stack .gb-events-summary-del-form .gb-op-full {
    width: 44px;
    height: 80px;
    min-width: 44px;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .gb-op-full {
    box-sizing: border-box;
    width: 180px;
    height: 36px;
    min-height: 36px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 36px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.gb-events-summary-op-stack > a.gb-op-full {
    display: block;
    grid-column: 1;
    text-align: center;
    overflow: hidden;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-primary.gb-op-full {
    background: #1e63d9;
    border-color: #1e63d9;
    color: #F8FAFA;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-primary.gb-op-full:hover {
    background: #1959c4;
    border-color: #1959c4;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-primary.gb-op-full.gb-op-units {
    background: #1e63d9;
    border-color: #1e63d9;
    color: #F8FAFA;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-primary.gb-op-full.gb-op-units:hover {
    background: #1959c4;
    border-color: #1959c4;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-primary.gb-op-full.gb-op-units:active {
    background: #1747ad;
    border-color: #1747ad;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-success.gb-op-full {
    background: #389e0d;
    border-color: #389e0d;
    color: #fff;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-success.gb-op-full:hover {
    background: #237804;
    border-color: #237804;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-secondary.gb-op-full {
    background: #fbbc04;
    border-color: #f0b400;
    color: #1f2937;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-secondary.gb-op-full:hover {
    background: #f4b400;
    border-color: #e5aa00;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-danger.gb-op-full {
    background: #e31b23;
    border: 1px solid #e31b23;
    color: #fff;
    width: 44px !important;
    height: 80px !important;
    min-height: 80px;
    padding: 6px 0;
    line-height: 1.15;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: none;
    outline: none;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-danger.gb-op-full:hover {
    background: #c9151d;
    border-color: #c9151d;
    color: #fff;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-danger.gb-op-full:active {
    background: #aa1017;
    border-color: #aa1017;
    color: #fff;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-danger.gb-op-full:focus,
.gb-events-summary-matrix .gb-events-summary-op-stack .btn.btn-danger.gb-op-full:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    border-color: #e31b23;
}

@media (max-width: 1100px) {
    .gb-events-summary-th-op,
    .gb-events-summary-op-cell {
        width: 248px;
        min-width: 248px;
        max-width: 248px;
    }
}

.gb-events-summary-th-unit {
    min-width: 0;
    width: 28%;
}

.gb-events-summary-unit-cell {
    vertical-align: top;
    font-size: 12px;
    min-width: 0;
}

.gb-events-summary-unit-preview {
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.gb-events-summary-th-ev {
    min-width: 0;
    width: 42%;
}

.gb-events-summary-th-lim {
    min-width: 120px;
    width: 120px;
    text-align: center;
}

.gb-events-summary-ev-cell {
    vertical-align: top;
    font-size: 12px;
    min-width: 0;
}

.gb-events-summary-gender-line {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
    color: #1f2937;
    white-space: normal;
    word-break: break-all;
}

.gb-events-summary-gender-line + .gb-events-summary-gender-line {
    margin-top: 4px;
}

.gb-events-summary-evlist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: center;
}

.gb-events-summary-evitem {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #ebe5df;
    background: #fffaf5;
}

.gb-events-summary-evitem:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.gb-events-summary-evname {
    font-weight: 600;
    color: #2B2B2B;
}

.gb-events-summary-rounds {
    color: #667070;
    font-size: 12px;
}

.gb-events-summary-lim-cell {
    vertical-align: middle;
    font-size: 12px;
    line-height: 1.4;
    color: #2B2B2B;
    text-align: center;
    overflow: visible;
}

.gb-events-summary-lim-cell .gb-inline-sort-input {
    display: inline-block;
    margin: 0 auto;
    width: 72px;
    min-width: 72px;
    font-size: 13px;
    font-weight: 500;
}

.gb-events-summary-lim-line {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-events-summary-matrix.gb-group-table th,
.gb-events-summary-matrix.gb-group-table td {
    padding: 6px 8px;
    vertical-align: middle;
}

.gb-events-summary-matrix.gb-group-table tbody td {
    vertical-align: top;
}

.gb-events-summary-matrix.gb-group-table tbody tr:hover td {
    background-color: #eceff3;
}

.gb-events-summary-matrix .gb-events-summary-op-stack .btn.gb-op-full {
    font-weight: 400;
}

.gb-events-summary-matrix.gb-group-table thead th {
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    color: #274777;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #f5f9ff 0%, #eaf2ff 100%);
    border-bottom: 2px solid #d5e3fb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.65);
}

.gb-events-summary-matrix.gb-group-table thead th.gb-th-index {
    font-size: 14px;
    color: #456089;
    text-align: center;
}

.gb-events-summary-matrix.gb-group-table thead th.gb-events-summary-th-lim,
.gb-events-summary-matrix.gb-group-table td.gb-events-summary-lim-cell {
    text-align: center;
    width: 120px;
    min-width: 120px;
    padding-left: 12px;
    padding-right: 12px;
    overflow: visible;
}

.gb-events-summary-matrix.gb-group-table thead th.gb-events-summary-th-op,
.gb-events-summary-matrix.gb-group-table td.gb-events-summary-op-cell {
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
}

.gb-mg-head-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.gb-mg-form {
    display: block;
}

.gb-mg-head-card {
    border: 0;
    padding: 12px 14px;
    background: #fff;
    min-height: 248px;
}

.gb-mg-head-card + .gb-mg-head-card {
    border-left: 1px solid #e5e7eb;
}

.gb-mg-head-card h3 {
    margin: 0 0 2px;
    font-size: 16px;
    color: #111827;
}

.gb-mg-card-sub {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6b7280;
}

.gb-mg-rule-card {
    padding: 0;
    background: #fff;
}

.gb-mg-rule-card h3 {
    margin: 0;
    padding: 8px 14px;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.gb-mg-rule-card .gb-mg-card-sub {
    margin: 12px 0 8px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #2A847C;
}

.gb-mg-rule-card .gb-mg-limit-grid {
    padding: 0 14px;
    gap: 10px 12px;
}

.gb-mg-rule-card .gb-mg-limit-grid label span {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.gb-mg-rule-card .meet-basic-limit-gender-head {
    color: #111827;
}

.gb-mg-rule-card .meet-basic-limit-gender-inputs label span {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

.gb-mg-rule-card .gb-mg-limit-grid input {
    height: 30px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 2px 8px;
}

.gb-mg-input-suffix {
    display: grid;
    grid-template-columns: 1fr 30px;
}

.gb-mg-input-suffix em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: #f9fafb;
    color: #374151;
    font-style: normal;
    font-size: 12px;
    min-height: 30px;
}

.gb-mg-input-suffix input {
    border-radius: 4px 0 0 4px !important;
}

.gb-mg-rule-card .gb-mg-limit-foot {
    margin-top: 8px;
    padding: 0 14px 6px;
}

.gb-mg-rule-card .gb-mg-check-inline {
    font-size: 13px;
    color: #4b5563;
}

.gb-mg-rule-card .gb-mg-limit-foot + .gb-subpage-actions,
.gb-mg-rule-card .gb-subpage-actions {
    padding: 0 14px 14px;
}

.gb-mg-limit-actions {
    padding: 0 14px 12px;
}

.gb-mg-rule-card .btn.btn-primary {
    min-height: 34px;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
}

.gb-mg-limit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
}

.gb-mg-limit-grid label span,
.gb-mg-batch-box label span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #374151;
}

.gb-mg-limit-foot {
    margin-top: 8px;
}

.gb-mg-check-inline {
    font-size: 12px;
    color: #667070;
}

.gb-mg-batch-box {
    display: grid;
    gap: 8px;
}

.gb-mg-batch-card h3 {
    margin: 0 0 2px;
    padding: 0;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2A847C;
}

.gb-mg-batch-card .gb-mg-card-sub {
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    color: #6b7280;
}

.gb-mg-batch-card .gb-mg-batch-box label span {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.gb-mg-batch-card .gb-mg-input-suffix input {
    height: 30px;
    border: 1px solid #cfd8e3 !important;
    box-shadow: none !important;
    outline: none;
}

#gb-mg-batch-max-signup,
#gb-mg-batch-rank,
#gb-mg-custom-rule {
    border: 1px solid #cfd8e3 !important;
    box-shadow: none !important;
    outline: none;
}

#gb-mg-batch-max-signup:focus,
#gb-mg-batch-rank:focus,
#gb-mg-custom-rule:focus {
    border-color: #cfd8e3 !important;
    box-shadow: none !important;
    outline: none !important;
}

.gb-mg-batch-card .gb-mg-input-suffix em {
    border-color: #cfd8e3;
    box-shadow: none;
}

.gb-mg-batch-card .gb-mg-score-btns {
    gap: 0;
    border: 1px solid #2A847C;
    border-radius: 8px;
    overflow: hidden;
}

.gb-mg-batch-card .gb-mg-score-btns .btn {
    border: 0;
    border-right: 1px solid #2A847C;
    border-radius: 0;
    min-height: 32px;
    background: #fff;
    color: #2A847C;
    font-size: 13px;
}

.gb-mg-batch-card .gb-mg-score-btns .btn small {
    margin-left: 4px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.95;
}

.gb-mg-batch-card .gb-mg-score-btns .btn:last-child {
    border-right: 0;
}

.gb-mg-batch-card .gb-mg-rank-type {
    color: #2A847C !important;
}

.gb-mg-batch-card .gb-mg-score-rule.is-active,
.gb-mg-batch-card .gb-mg-rank-type.is-active {
    background: #2A847C;
    color: #fff !important;
    border-color: #2A847C;
}

.gb-mg-score-btns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.gb-mg-score-btns .btn {
    border-radius: 4px;
    min-height: 30px;
    border: 1px solid #7da2c8;
    background: #f8fbff;
    color: #2f5f93;
    font-weight: 600;
}

.gb-mg-score-rule.is-active,
.gb-mg-rank-type.is-active {
    border-color: #2f8b62;
    color: #15603f;
    background: #f1fbf6;
}

.gb-mg-events-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.gb-mg-events-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}

.gb-mg-events-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.gb-mg-events-toolbar {
    display: flex;
    gap: 6px;
}

.gb-mg-events-table-wrap {
    margin: 0;
    border: 0;
    overflow-x: auto;
    padding: 10px 10px 12px;
    background: #f9fafb;
}

.gb-mg-events-table th,
.gb-mg-events-table td {
    padding: 5px 6px;
    text-align: center;
    vertical-align: middle;
}

.gb-mg-events-table thead th {
    background: #eef0f3;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #d1d5db;
}

.gb-mg-events-table tbody td {
    font-size: 15px;
    color: #1f2937;
}

.gb-mg-events-table tbody tr.gb-mg-ev-row {
    background: #fff;
}

.gb-mg-events-table tbody tr.gb-mg-ev-row.gb-mg-row-female {
    background: #f3f4f6;
}

.gb-mg-events-table tbody tr.gb-mg-ev-row.gb-mg-row-female:hover {
    background: #eceff3;
}

.gb-mg-events-table td:nth-child(4) {
    text-align: left;
}

.gb-mg-events-table .gb-mg-ev-name {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}

.gb-mg-sort,
.gb-mg-small {
    width: 58px;
    text-align: center;
}

.gb-mg-events-table th:nth-child(3),
.gb-mg-events-table td:nth-child(3) {
    width: 72px;
    min-width: 72px;
}

.gb-mg-events-table .gb-mg-sort {
    width: 48px;
    min-width: 48px;
    padding-left: 4px;
    padding-right: 4px;
}

.gb-mg-events-table th:nth-child(7),
.gb-mg-events-table td:nth-child(7),
.gb-mg-events-table th:nth-child(9),
.gb-mg-events-table td:nth-child(9) {
    width: 82px;
    min-width: 82px;
}

.gb-mg-events-table th:nth-child(10),
.gb-mg-events-table td:nth-child(10) {
    width: 82px;
    min-width: 82px;
}

.gb-mg-events-table th:nth-child(4),
.gb-mg-events-table td:nth-child(4) {
    width: 212px;
    min-width: 212px;
}

.gb-mg-events-table th:nth-child(8),
.gb-mg-events-table td:nth-child(8) {
    width: 165px;
    min-width: 165px;
}

.gb-mg-events-table td:nth-child(8) .input {
    width: 150px;
    min-width: 150px;
}

.gb-mg-events-table td:nth-child(7) .input,
.gb-mg-events-table td:nth-child(9) .input {
    width: 56px;
    min-width: 56px;
    padding-left: 4px;
    padding-right: 4px;
}

.gb-mg-events-table td:nth-child(10) .input {
    width: 56px;
    min-width: 56px;
    padding-left: 4px;
    padding-right: 4px;
}

.gb-mg-events-table input.input,
.gb-mg-events-table select.input,
.gb-mg-batch-box input,
.gb-mg-limit-grid input {
    height: 24px;
    border-color: #d1d5db;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 14px;
}

.gb-mg-events-table .gb-summary-type-badge {
    font-size: 13px;
    font-weight: 700;
}

.gb-mg-events-table select.gb-mg-gender-male {
    color: #2A847C;
    font-weight: 700;
}

.gb-mg-events-table select.gb-mg-gender-female {
    color: #dc2626;
    font-weight: 700;
}

.gb-mg-events-table select.gb-mg-gender-mix {
    color: #374151;
    font-weight: 600;
}

.gb-mg-events-table select[name="ev_gender[]"] option {
    color: #111827;
    background: #fff;
}

.gb-mg-empty {
    color: #9ca3af;
    font-weight: 600;
}

.gb-mg-limit-grid input {
    width: 100%;
}

#gb-mg-apply-batch {
    width: 100%;
    min-height: 32px;
    border-radius: 8px;
    background: #10b981;
    border-color: #10b981;
    border-width: 1px;
    border-style: solid;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: none;
    outline: none;
}

#gb-mg-del-selected {
    background: #ff4d6d;
    border-color: #f43f5e;
    color: #fff;
    box-shadow: none !important;
    outline: none !important;
}

#gb-mg-sort-selected {
    background: #06b6d4;
    border-color: #0891b2;
    color: #fff;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

#gb-mg-add-row {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
    box-shadow: none !important;
    outline: none !important;
}

#gb-mg-del-selected:hover,
#gb-mg-del-selected:active,
#gb-mg-del-selected:focus,
#gb-mg-del-selected:focus-visible,
#gb-mg-sort-selected:hover,
#gb-mg-sort-selected:active,
#gb-mg-sort-selected:focus,
#gb-mg-sort-selected:focus-visible,
#gb-mg-add-row:hover,
#gb-mg-add-row:active,
#gb-mg-add-row:focus,
#gb-mg-add-row:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.gb-mg-events-toolbar .btn {
    border-radius: 8px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
}

.gb-mg-del-row {
    min-width: 26px;
    min-height: 26px;
    padding: 0;
    line-height: 1;
    border-radius: 5px;
    background: #ef4444;
    border: 1px solid #dc2626;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.gb-mg-del-row:hover {
    background: #dc2626;
    border-color: #b91c1c;
}

.gb-mg-del-row:active {
    transform: translateY(1px);
}

.gb-mg-trash-svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gb-mg-events-table .btn.btn-primary.btn-sm {
    min-width: 22px;
    min-height: 22px;
    padding: 0;
    border-radius: 4px;
}

.gb-mg-events-table tbody td {
    border-bottom: 1px solid #e5e7eb;
}

.gb-mg-events-table {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.gb-sortable-row {
    cursor: grab;
}

.gb-sortable-row.is-dragging {
    opacity: 0.65;
}

.gb-drag-cell {
    white-space: nowrap;
    user-select: none;
    color: #4b5f77;
}

.gb-drag-handle {
    display: inline-block;
    margin-right: 6px;
    color: #2f6fb6;
    font-size: 12px;
}

.gb-summary-type-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
}

.gb-events-summary-evitem .gb-summary-type-badge {
    padding: 1px 6px;
    font-size: 11px;
}

.gb-evtype-track {
    color: #6b4423;
    background: #fff6ea;
}

.gb-evtype-field {
    color: #2A847C;
    background: #F4F7F7;
}

.gb-evtype-relay {
    color: #b54708;
    background: #fffaeb;
}

@media (min-width: 900px) {
    .meet-basic-form {
        grid-template-columns: minmax(280px, 1fr) minmax(110px, 140px);
    }
}

@media (max-width: 900px) {
    .gb-mg-head-grid {
        grid-template-columns: 1fr;
    }

    .hero-inner,
    .topbar-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 34px;
    }
}

.gb-basic-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    align-items: center;
}

.gb-basic-tab {
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #667070;
    background: #faf7f2;
    border: 1px solid #e3d9ce;
}

.gb-basic-tab:hover {
    background: #fff6ea;
    color: #8b633f;
}

.gb-basic-tab.is-active {
    background: #b18659;
    color: #fff;
    border-color: #b18659;
}

.mr-rules-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mr-rules-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
}

.mr-rules-pair > .mr-card {
    min-width: 0;
    height: 100%;
}

@media (max-width: 900px) {
    .mr-rules-pair {
        grid-template-columns: 1fr;
    }
}

/* 规则配置：卡片边框与背景与侧栏米杏色系一致 */
.mr-rules-form > .mr-card.card,
.mr-rules-form .mr-rules-pair > .mr-card.card {
    border: 1px solid #e8d2bc;
    border-radius: 12px;
    background: linear-gradient(180deg, #fffdfb 0%, #fff9f2 100%);
    box-shadow: 0 1px 3px rgba(120, 78, 48, 0.07);
}

.mr-rules-form > .mr-card.card > .mr-card-body .table-card {
    border: 1px solid #efd9c6;
    border-radius: 10px;
    background: #fffaf6;
    box-shadow: none;
}

.mr-card .mr-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 0;
}

.mr-card-title {
    margin: 0;
    font-size: 17px;
    color: #5c3d2e;
}

.mr-card-body {
    padding: 8px 16px 12px;
}

.mr-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.mr-icon-blue {
    background: linear-gradient(145deg, #c9a06d 0%, #9a7349 100%);
}

.mr-icon-blue2 {
    background: linear-gradient(145deg, #c4a574 0%, #a68452 100%);
}

.mr-icon-red {
    background: linear-gradient(145deg, #d48a6a 0%, #b86a52 100%);
}

.mr-icon-violet {
    background: linear-gradient(145deg, #b89a8c 0%, #8f6f5f 100%);
}

.mr-icon-green {
    background: linear-gradient(145deg, #6b8fbf 0%, #5C8F88 100%);
}

.mr-icon-amber {
    background: linear-gradient(145deg, #d9a55c 0%, #b8833d 100%);
}

.mr-ranking-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) 1.1fr;
    gap: 24px 32px;
    align-items: center;
}

@media (max-width: 900px) {
    .mr-ranking-row {
        grid-template-columns: 1fr;
    }
}

.mr-minus1-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.mr-current-meet {
    margin: 0;
    font-size: 14px;
    color: #2B2B2B;
}

.mr-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.mr-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.mr-switch-ui {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d0d5dd;
    position: relative;
    flex: 0 0 auto;
    transition: background 0.15s ease;
}

.mr-switch-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.18);
    transition: transform 0.15s ease;
}

.mr-switch input:checked + .mr-switch-ui {
    background: #12b76a;
}

.mr-switch input:checked + .mr-switch-ui::after {
    transform: translateX(20px);
}

.mr-switch-text {
    font-size: 14px;
    font-weight: 600;
    color: #12b76a;
}

.mr-switch input:not(:checked) ~ .mr-switch-text {
    color: #667070;
}

.mr-legend {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #2B2B2B;
    line-height: 1.6;
}

.mr-legend li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 10px;
}

.mr-legend li:last-child {
    margin-bottom: 0;
}

.mr-legend-dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: #98a2b3;
}

.mr-legend .mr-ok .mr-legend-dot {
    background: #12b76a;
}

.mr-legend .mr-bad .mr-legend-dot {
    background: #f04438;
}

.mr-legend .mr-warn .mr-legend-dot,
.mr-legend .mr-def .mr-legend-dot {
    background: #f79009;
}

.mr-legend strong {
    color: #2B2B2B;
}

.mr-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.mr-field-row label span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #2B2B2B;
}

.mr-field-row input[type="number"] {
    width: 88px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
}

.mr-venue-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.mr-rules-form .mr-module .mr-venue-head .mr-block-title {
    margin: 0;
}

.mr-venue-special {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px dashed #d7e3df;
    border-radius: 10px;
    background: #f7fbf9;
}

.mr-rules-form .mr-venue-special .mr-switch input:checked ~ .mr-switch-text {
    color: #12b76a;
}

.mr-rules-form .mr-venue-global.is-locked label,
.mr-rules-form .mr-venue-global.is-locked label span {
    color: #b0b7bf;
}

.mr-venue-global.is-locked input[type="number"] {
    background: #f2f4f7;
    color: #98a2b3;
    border-color: #e4e7ec;
    pointer-events: none;
    cursor: not-allowed;
}

.mr-venue-special-title {
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.mr-venue-edit {
    height: 30px;
    padding: 0 12px;
    border: 1px solid #12b76a;
    border-radius: 8px;
    background: #fff;
    color: #067647;
    font-size: 13px;
    cursor: pointer;
}

.mr-venue-edit:hover {
    background: #ecfdf3;
}

.mr-venue-dialog[hidden] {
    display: none;
}

.mr-venue-dialog {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.mr-venue-dialog-mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.mr-venue-dialog-panel {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 188px);
    margin: 148px auto 24px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18);
}

.mr-venue-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #eef0f4;
}

.mr-venue-dialog-head h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #1f2937;
}

.mr-venue-dialog-head p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #667085;
}

.mr-venue-dialog-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #667085;
    cursor: pointer;
}

.mr-venue-dialog-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 20px;
    background: #f8faf9;
}

.mr-venue-filter,
.mr-venue-batch-num {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #344054;
}

.mr-venue-filter select,
.mr-venue-batch-num input,
.mr-venue-table input[type="number"] {
    height: 32px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 8px;
    background: #fff;
}

.mr-venue-batch-num input,
.mr-venue-table input[type="number"] {
    width: 72px;
    text-align: center;
}

.mr-venue-apply,
.mr-venue-done {
    height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #12b76a;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}

.mr-venue-reset {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font-size: 13px;
}

.mr-venue-count {
    margin-left: auto;
    font-size: 13px;
    color: #667085;
}

.mr-venue-dialog-body {
    overflow: auto;
    padding: 0 20px;
    min-height: 180px;
}

.mr-venue-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mr-venue-table th,
.mr-venue-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f2f4f7;
    text-align: left;
    color: #1f2937;
}

.mr-venue-table th {
    position: sticky;
    top: 0;
    background: #fff;
    color: #667085;
    font-weight: 600;
}

.mr-venue-check {
    width: 42px;
    text-align: center;
}

.mr-venue-shape {
    display: inline-block;
    min-width: 42px;
    padding: 2px 8px;
    border-radius: 999px;
    text-align: center;
    background: #f2f4f7;
    color: #667085;
}

.mr-venue-shape--straight {
    background: #ecfdf3;
    color: #067647;
}

.mr-venue-shape--curve {
    background: #eff8ff;
    color: #175cd3;
}

.mr-venue-empty {
    margin: 28px 0;
    text-align: center;
    color: #98a2b3;
}

.mr-venue-dialog-foot {
    display: flex;
    justify-content: flex-end;
    padding: 12px 20px 16px;
    border-top: 1px solid #eef0f4;
}

body.mr-venue-dialog-open {
    overflow: hidden;
}

.mr-radio-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 6px;
}

.mr-radio-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.mr-radio-fixed-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.mr-inline-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.mr-bonus-setup-btn {
    font-size: 13px;
    padding: 8px 14px;
}

.mr-rules-form .mr-record-bonus-hint {
    margin-top: 4px !important;
    margin-bottom: 0;
}

/* 破纪录加分配置页 meet_record_bonus */
.mrb-page {
    padding: 16px 18px 24px;
}

.mrb-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px 20px;
    margin-bottom: 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e3d9ce;
}

.mrb-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2B2B2B;
}

.mrb-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #667070;
}

.mrb-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mrb-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-bottom: 20px;
    align-items: start;
}

@media (max-width: 1024px) {
    .mrb-grid {
        grid-template-columns: 1fr;
    }
}

.mrb-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3d9ce;
    background: #fff;
    box-shadow: 0 2px 10px rgba(45, 32, 22, 0.05);
}

.mrb-card-head {
    margin: 0;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
}

.mrb-card--meet .mrb-card-head,
.mrb-card--best .mrb-card-head {
    background: #2A847C;
}
.mrb-card-head--name {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mrb-sheet-name {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 32px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
}
.mrb-sheet-switch {
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    flex: 0 0 112px;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    box-sizing: border-box;
}
.mrb-sheet-tip {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff8e8;
    border: 1px solid #f3d48a;
    color: #8a4b08;
    font-size: 13px;
    line-height: 1.6;
}
.mrb-sheet-switch-text {
    display: inline-block;
    width: 46px;
    min-width: 46px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}
.mrb-sheet-switch-text--on {
    display: none;
    color: #ffe08a;
    font-weight: 700;
}
.mrb-sheet-switch input:checked ~ .mrb-sheet-switch-text--off {
    display: none;
}
.mrb-sheet-switch input:checked ~ .mrb-sheet-switch-text--on {
    display: inline-block;
}
.mrb-card-head .mrb-sheet-switch .mgr-toggle-ui {
    background: rgba(255, 255, 255, 0.35);
}
.mrb-card-head .mrb-sheet-switch input:checked + .mgr-toggle-ui {
    background: #ff8a00;
    box-shadow: 0 0 0 2px rgba(255, 214, 102, 0.95);
}
.mrb-card-head .mrb-sheet-switch input:checked + .mgr-toggle-ui::after {
    background: #fff;
}

.mrb-card--school .mrb-card-head {
    background: linear-gradient(90deg, #1959c4 0%, #1747ad 100%);
}

.mrb-card-body {
    padding: 14px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mrb-card--meet .mrb-card-body.mrb-score-grid,
.mrb-card--best .mrb-card-body.mrb-score-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    align-items: start;
}
.mrb-score-col {
    display: grid;
    grid-template-columns: max-content 52px max-content;
    gap: 10px 6px;
    align-items: center;
    justify-content: start;
    min-width: 0;
}
.mrb-score-col .mrb-field,
.mrb-score-col .mrb-field-inp {
    display: contents;
}
.mrb-score-col .mrb-field-title {
    font-size: 13px;
}
.mrb-score-col .mrb-field-inp input[type="number"] {
    width: 52px;
    max-width: 52px;
    height: 28px;
    padding: 2px 4px;
    box-sizing: border-box;
    font-size: 13px;
}
.mrb-tie-note {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #333;
}

.mrb-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
}

.mrb-field-title {
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
    flex: 0 0 auto;
    white-space: nowrap;
}

.mrb-field-desc {
    font-size: 12px;
    color: #667070;
    line-height: 1.45;
}

.mrb-field-inp {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
}

.mrb-field-inp input[type="number"] {
    width: 100%;
    max-width: 120px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
    font-size: 14px;
}

.mrb-unit {
    font-size: 13px;
    color: #667070;
}

.mrb-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

.mrb-mode-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: #2B2B2B;
    cursor: pointer;
    user-select: none;
}

.mrb-mode-opt,
.mrb-mode-opt span {
    color: #2B2B2B;
}

.mrb-mode-opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
}

.mrb-strategy {
    margin: 0;
    padding: 0;
}
.mrb-grid > .mrb-card {
    margin-top: 0;
}
.mrb-card--opt {
    overflow: visible;
    height: auto;
    border: none;
    box-shadow: none;
    background: transparent;
}
.mrb-card--opt .mrb-card-head {
    background: none;
    color: #2B2B2B;
    padding: 0 0 8px;
    font-size: 15px;
}
.mrb-card--opt .mrb-card-body {
    padding: 0;
    gap: 8px;
}
.mrb-card--opt .mrb-breakers-note {
    margin: 0;
}
.mrb-card--opt .mrb-strategy-list,
.mrb-card--opt .mrb-mode-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.mrb-card--opt .mrb-strategy-opt,
.mrb-card--opt .mrb-mode-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    min-height: 22px;
    width: 100%;
}
.page-admin-shell .mrb-strategy-opt input,
.page-admin-shell .mrb-mode-opt input {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    pointer-events: none;
}
.mrb-card--opt .mrb-strategy-box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
}
.mrb-breakers-note {
    margin: 10px 0 0;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.7;
}
.mrb-tie-opt {
    margin-top: 0;
}

.mrb-strategy-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #2B2B2B;
}

.mrb-strategy-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.mrb-strategy-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: #2B2B2B;
    cursor: pointer;
    user-select: none;
}

.mrb-strategy-opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.mrb-strategy-box {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    border: 1.5px solid #2A847C;
    border-radius: 4px;
    background: #fff;
}

.mrb-strategy-opt input:checked + .mrb-strategy-box,
.mrb-mode-opt input:checked + .mrb-strategy-box {
    border-color: #2A847C;
    background: #2A847C;
}

.mrb-strategy-opt input:checked + .mrb-strategy-box::after,
.mrb-mode-opt input:checked + .mrb-strategy-box::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mrb-strategy-text {
    line-height: 1.4;
}

.mrb-strategy-pop {
    display: none;
    position: absolute;
    left: 24px;
    top: calc(100% + 6px);
    z-index: 8;
    width: max-content;
    max-width: 360px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #2B2B2B;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.18);
}

.mrb-strategy-opt:hover .mrb-strategy-pop,
.mrb-strategy-opt:focus-within .mrb-strategy-pop {
    display: block;
}

.mrb-save-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 28px;
}

.mrb-save-btn {
    min-width: 0;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
}

.mrb-help {
    margin-top: 8px;
    padding: 18px 18px 22px;
}

.mrb-help-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #2B2B2B;
}

.mrb-help-banner {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #2B2B2B;
}

.mrb-help-banner strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #2B2B2B;
}

.mrb-help-banner--blue {
    background: #fff6ea;
    border: 1px solid #e8c9a8;
}

.mrb-help-banner--amber {
    background: #fffaeb;
    border: 1px solid #fedf89;
}

.mrb-help-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .mrb-help-cols {
        grid-template-columns: 1fr;
    }
}

.mrb-help-h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4a301f;
}

.mrb-help-ol,
.mrb-help-ul {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    line-height: 1.6;
    color: #667070;
}

.mrb-help-ol li,
.mrb-help-ul li {
    margin: 6px 0;
}

.mr-limits-table th small,
.mr-limits-table td {
    font-size: 13px;
}

.mr-info-tip {
    margin: 12px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff6ea;
    color: #4a301f;
    font-size: 13px;
}

.mr-time-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-end;
}

.mr-time-summary label {
    font-size: 14px;
    color: #2B2B2B;
}

.mr-time-summary input[type="date"],
.mr-time-summary input[type="number"] {
    margin-left: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
}

.mr-meet-days-label .mr-meet-days-readonly {
    display: inline-block;
    min-width: 2.75em;
    margin-left: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
    background: #fcf9f4;
    color: #2B2B2B;
    font-weight: 600;
    text-align: center;
}

.mr-unit-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}

.mr-unit-overview-card,
.mr-unit-overview-card--accent {
    border: 1px solid #2f8f75;
    border-radius: 10px;
    background: #eaf7f2;
    padding: 8px 12px;
    text-align: center;
}

.mr-unit-overview-label {
    font-size: 15px;
    color: #2B2B2B;
    margin-bottom: 4px;
}

.mr-unit-overview-main {
    font-size: 22px;
    font-weight: 700;
    color: #1747ad;
    line-height: 1.3;
}

.mr-unit-overview-arrow {
    margin: 0;
    color: #1747ad;
    font-weight: 700;
}

.mr-unit-overview-days,
.mr-unit-overview-total {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #1747ad;
}

.mr-unit-overview-sub {
    margin-top: 8px;
    font-size: 10px;
    color: #2B2B2B;
}

@media (max-width: 1100px) {
    .mr-unit-overview {
        grid-template-columns: 1fr;
    }
}

.mr-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fdebd4;
    border: 1px solid #e8cfae;
    color: #7c4a2e;
    font-size: 13px;
    font-weight: 600;
}

.mr-rules-form .mr-sessions-table {
    width: 100%;
    border-collapse: collapse;
}

.mr-rules-form .mr-sessions-table th {
    padding: 8px 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #6b3f26;
    background: linear-gradient(180deg, #fff6ea 0%, #fdebd4 100%);
    border-bottom: 1px solid #e8c9a8;
}

.mr-rules-form .mr-sessions-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f0e4d8;
    vertical-align: middle;
}

.mr-sessions-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
}

.mr-sess-limit-hint {
    font-size: 13px;
    color: #6b5c52;
}

.mr-sessions-table input[type="text"],
.mr-sessions-table input[type="time"] {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfc4ae;
    background: #fffefb;
}

.mr-rules-form .mr-sessions-table th.mr-sess-ops,
.mr-rules-form .mr-sessions-table td.mr-sess-ops {
    width: 5em;
    text-align: center;
    white-space: nowrap;
}

.mr-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 8px 0 24px;
}

.mct-panel {
    padding: 20px 22px 28px;
}

.mct-page-title {
    margin: 0 0 18px;
    font-size: 20px;
    color: #2B2B2B;
}

.mct-table-wrap {
    margin-bottom: 24px;
}

.mct-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mct-table th,
.mct-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ece4da;
    vertical-align: top;
    text-align: left;
}

.mct-table th {
    background: #fcf9f4;
    color: #2B2B2B;
    font-weight: 600;
}

.mct-col-radio {
    width: 56px;
    text-align: center;
}

.mct-col-actions {
    min-width: 120px;
    white-space: nowrap;
}

.mct-radio-label {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.mct-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #667070;
}

.mct-link {
    color: #b18659;
    font-weight: 600;
}

.mct-link:hover {
    text-decoration: underline;
}

.mct-link--btn {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.mct-sep {
    margin: 0 6px;
    color: #dfc4ae;
}

.mct-action-muted {
    font-size: 13px;
    color: #98a2b3;
}

.mct-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .mct-fields {
        grid-template-columns: 1fr;
    }
}

.mct-field label span {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2B2B2B;
    font-size: 14px;
}

.mct-field input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfc4ae;
    border-radius: 10px;
}

.mct-hint {
    margin: 8px 0 0;
    font-size: 13px;
    color: #667070;
    line-height: 1.5;
}

.mct-save-row {
    display: flex;
    justify-content: flex-start;
}

/* 记录管理（赛前工作第四项） */
.rm-panel {
    padding: 20px 22px;
    overflow: visible;
}

.card.rm-panel {
    overflow: visible;
}

.rm-page-head {
    position: relative;
    z-index: 30;
    margin-bottom: 20px;
    overflow: visible;
}

.rm-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-title-icon {
    font-size: 26px;
    line-height: 1;
}

.rm-iconbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    padding: 4px 0 16px;
    border-bottom: none;
    overflow: visible;
}

.rm-iconbtn {
    position: relative;
    width: 92px;
    min-height: 92px;
    padding: 10px 6px 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(43, 43, 43, 0.06);
    color: #2A847C;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.rm-iconbtn:hover:not(:disabled),
.rm-iconbtn:focus-visible {
    z-index: 31;
    border-color: #2A847C;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.14);
}

.rm-iconbtn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rm-iconbtn-ic {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

.rm-iconbtn-ic svg {
    width: 26px;
    height: 26px;
}

.rm-iconbtn--required {
    width: auto;
    min-width: 92px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    color: #2A847C;
    border: 2px solid #2A847C;
    background: #fff;
    box-shadow: none;
}

.rm-iconbtn--required:hover:not(:disabled) {
    border-color: #2A847C;
    background: #fff;
}

.rm-iconbtn-must {
    position: absolute;
    top: -8px;
    right: -6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.rm-next-row,
.rm-imported-next {
    display: flex;
    justify-content: flex-end;
    margin: 16px 0 4px;
}

.rm-tool-kind {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 12px;
}

.rm-tool-label {
    font-size: 13px;
    color: #2B2B2B;
}

.rm-unify-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #F8FAFA;
}

.rm-unify-targets .rm-unify-target--off {
    display: none !important;
}

.rm-iconbtn--danger {
    color: #e11d48;
    border-color: #fecdd3;
}

.rm-iconbtn--danger:hover:not(:disabled) {
    border-color: #e11d48;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.14);
}

.rm-iconbtn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    left: 0;
    right: auto;
    bottom: calc(100% + 8px);
    top: auto;
    display: block;
    width: 260px;
    height: max-content;
    max-height: none;
    flex: none;
    align-self: flex-start;
    padding: 10px 12px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(43, 43, 43, 0.22);
    opacity: 0;
    pointer-events: none;
    z-index: 80;
    white-space: normal;
    overflow: visible;
}

.rm-iconbar .rm-iconbtn:nth-child(n+4)[data-tip]::after {
    left: auto;
    right: 0;
}

.rm-iconbtn[data-tip]:hover::after,
.rm-iconbtn[data-tip]:focus-visible::after {
    opacity: 1;
}

.rm-tool-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 13px;
    color: #2B2B2B;
}

.rm-tool-field select {
    height: 36px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0 10px;
}

.rm-tool-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 8px;
}

.rm-tool-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2B2B2B;
}

.rm-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.rm-toolbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #5b3d22;
    background: #f4e6d4;
    border: 1px solid #e0c4a4;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.rm-toolbtn:hover:not(:disabled) {
    background: #ead4b6;
    border-color: #c9a06d;
    box-shadow: 0 3px 10px rgba(120, 78, 48, 0.16);
    filter: brightness(1.03);
}

.rm-toolbtn:active:not(:disabled) {
    filter: brightness(0.96);
    box-shadow: none;
}

.rm-toolbtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.rm-toolbtn-link {
    font-weight: 500;
}

.rm-toolbtn-ic {
    font-size: 15px;
    line-height: 1;
}

.rm-import-form {
    display: inline-flex;
    align-items: stretch;
    margin: 0;
}

.rm-import-file {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.rm-import-label {
    margin: 0;
}

.rm-bulk-tip {
    margin: 0 0 12px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #667070;
}

.rm-toolbtn--danger {
    color: #b42318;
    border-color: #fecdca;
}

.rm-toolbtn--danger:hover:not(:disabled) {
    background: #fef3f2;
    border-color: #fecdca;
}

.rm-toolbtn--guide {
    background: #fef3c7;
    border-color: #f6c453;
    color: #92400e;
}

.rm-toolbtn--guide:hover:not(:disabled) {
    background: #fde68a;
    border-color: #eab308;
}

.rm-toolbtn--meet {
    border-color: #f6c453;
    background: #fff7ed;
    color: #9a3412;
}

.rm-toolbtn--meet:hover:not(:disabled) {
    background: #ffedd5;
    border-color: #f59e0b;
}

.rm-toolbtn--school {
    border-color: #A8D5CF;
    background: #E6F6F4;
    color: #2A847C;
}

.rm-toolbtn--school:hover:not(:disabled) {
    background: #D7EEEB;
    border-color: #2A847C;
}

.rm-toolbtn--export {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

.rm-toolbtn--export:hover:not(:disabled) {
    background: #bbf7d0;
    border-color: #22c55e;
}

.rm-toolbtn--upload {
    background: #ffedd5;
    border-color: #fdba74;
    color: #9a3412;
}

.rm-toolbtn--upload:hover:not(:disabled) {
    background: #fed7aa;
    border-color: #f97316;
}

.rm-import-dialog {
    width: min(520px, 92vw);
    border: 0;
    border-radius: 14px;
    padding: 0;
    background: transparent;
}

.rm-import-dialog::backdrop {
    background: rgba(43, 43, 43, 0.45);
}

.rm-import-dialog-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px 16px;
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.18);
}

.rm-import-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
}

.rm-import-dialog-form h3 {
    margin: 0;
    font-size: 18px;
    color: #111827;
}

.rm-import-tpl {
    flex: 0 0 auto;
    white-space: nowrap;
}

.rm-import-dialog-hint {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}

.rm-import-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 16px 0 0;
}

.rm-import-progress {
    border: 0;
    padding: 0;
    background: transparent;
}

.rm-import-progress::backdrop {
    background: rgba(43, 43, 43, 0.45);
}

.rm-import-progress-box {
    min-width: min(360px, 86vw);
    background: #fff;
    border-radius: 14px;
    padding: 28px 26px 22px;
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.18);
    text-align: center;
}

.rm-import-progress-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.rm-import-progress-text {
    margin: 0 0 16px;
    font-size: 13px;
    color: #4b5563;
}

.rm-import-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.rm-import-progress-bar span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: #2A847C;
    animation: rm-import-progress-slide 1.1s ease-in-out infinite;
}

@keyframes rm-import-progress-slide {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

.rm-toolbtn--summary {
    background: #e0e7ff;
    border-color: #a5b4fc;
    color: #3730a3;
}

.rm-toolbtn--summary:hover:not(:disabled) {
    background: #c7d2fe;
    border-color: #6366f1;
}

.rm-toolbtn--manual {
    background: #ccfbf1;
    border-color: #5eead4;
    color: #0f766e;
}

.rm-toolbtn--manual:hover:not(:disabled) {
    background: #99f6e4;
    border-color: #14b8a6;
}

.rm-toolbtn--bonus {
    background: #f3e8ff;
    border-color: #d8b4fe;
    color: #6b21a8;
}

.rm-toolbtn--bonus:hover:not(:disabled) {
    background: #e9d5ff;
    border-color: #a855f7;
}

.rm-import-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 8px 0 18px;
}
.rm-import-drop {
    position: relative;
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 16px;
    border: 1px dashed #c7d2fe;
    border-radius: 12px;
    background: #F8FAFA;
    cursor: pointer;
}
.rm-import-drop:hover {
    border-color: #6366f1;
    background: #eef2ff;
}
.rm-import-file-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.rm-import-drop-title {
    font-weight: 700;
    color: #1F655E;
}
.rm-import-drop-sub {
    font-size: 13px;
    color: #667070;
}
.rm-import-drop-sub.is-picked {
    color: #2B2B2B;
}
.rm-import-fname {
    color: #2A847C;
    font-weight: 700;
    word-break: break-all;
}
.rm-import-submit {
    min-height: 40px;
    padding: 8px 18px;
}
.rm-import-result {
    padding: 16px 18px 20px;
}
.rm-import-result-title {
    margin: 0 0 10px;
    font-size: 16px;
}
.rm-import-result-msg {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
}
.rm-import-result-msg.is-ok {
    background: #ecfdf3;
    color: #067647;
}
.rm-import-result-msg.is-err {
    background: #fef3f2;
    color: #b42318;
}
.rm-import-result-at {
    margin-left: 8px;
    color: #98a2b3;
    font-size: 12px;
}
.rm-import-ocr {
    margin: 0 0 12px;
    font-size: 13px;
}
.rm-import-ocr-pre {
    white-space: pre-wrap;
    background: #F8FAFA;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
}
.rm-import-table th,
.rm-import-table td {
    font-size: 13px;
}

.rm-info {
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ecd4b8;
    border-radius: 12px;
    background: #fff;
}

.rm-info-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, #fff6ea 0%, #ecd4b8 100%);
    border-bottom: 1px solid #e8c9a8;
    font-size: 15px;
    color: #4a301f;
}

.rm-info-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #9f7750;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.rm-info-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    padding: 18px 20px 20px;
}

@media (max-width: 900px) {
    .rm-info-body {
        grid-template-columns: 1fr;
    }
}

.rm-info-subtitle {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.rm-info-list {
    margin: 0;
    padding-left: 1.2em;
    color: #667070;
    font-size: 14px;
    line-height: 1.65;
}

.rm-info-list li + li {
    margin-top: 8px;
}

.rm-bonus-mode-card {
    margin: 0 0 20px;
}

.rm-bonus-mode-card .mr-card-title {
    color: #000;
}

.rm-bonus-mode-card .mr-record-bonus-hint {
    margin-top: 8px;
    margin-bottom: 0;
}

.rm-info-note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #667070;
    line-height: 1.55;
}

.rm-imported {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    padding: 16px 18px 18px;
}

.rm-imported--school,
.rm-imported--combined {
    border: 1px solid #dbe3ee;
    background: #fff;
}

.rm-imported--meet {
    border: 1px solid #A8D5CF;
    background: #eff6ff;
}

.rm-imported-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.rm-imported-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rm-imported-toolbar .rm-del-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #E55949;
    cursor: pointer;
}

.rm-imported-toolbar .rm-del-ico:hover {
    background: #fff5f4;
}

.rm-imported-toolbar .rm-del-ico svg {
    display: block;
}

.rm-imported-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    color: #000;
}

.rm-imported--meet .rm-imported-title {
    color: #000;
}

.rm-sum-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rm-sum-group {
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #E4DFD8;
    background: #fff;
}

.rm-sum-group-title {
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #243331;
    background: #F6F3EE;
    text-align: center;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #E6DFD6;
}

.rm-sum-wrap {
    overflow-x: visible;
}

.rm-sum-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}

.rm-sum-table th,
.rm-sum-table td {
    border: 1px solid #E4DFD8;
    padding: 7px 6px;
    text-align: center;
    vertical-align: middle;
}

.rm-sum-th-key {
    background: #F3F5F4;
    color: #2C3836;
    font-weight: 700;
}

.rm-sum-table--pair {
    min-width: 980px;
}
.rm-sum-table--single {
    min-width: 640px;
}

.rm-sum-table--pair .rm-sum-th-key:first-child {
    width: 9%;
}

.rm-sum-table--pair .rm-sum-th-key:nth-child(2) {
    width: 5%;
}

.rm-sum-th-meet {
    background: #2A847C;
    color: #fff;
    font-weight: 700;
}

.rm-sum-th-best {
    background: #8A6844;
    color: #fff;
    font-weight: 700;
}

.rm-sum-table thead tr:nth-child(2) .rm-sum-th-meet {
    background: #35988F;
}

.rm-sum-table thead tr:nth-child(2) .rm-sum-th-best {
    background: #9A7652;
}

.rm-sum-table thead tr:first-child .rm-sum-th-meet,
.rm-sum-table thead tr:first-child .rm-sum-th-best {
    font-size: 13px;
    white-space: nowrap;
    padding: 8px 6px;
}

.rm-sum-td-event {
    text-align: left;
    padding-left: 10px;
    font-weight: 600;
    background: #fafafa;
}

.rm-sum-td-gen {
    font-weight: 600;
    background: #fafafa;
}

.rm-sum-td-meet {
    background: #F7FBFA;
}

.rm-sum-td-best {
    background: #FBF8F3;
}

.rm-sum-td-score {
    font-weight: 700;
    color: #243331;
}

.rm-sum-inp {
    display: block;
    width: 100%;
    min-width: 0;
    height: 28px;
    box-sizing: border-box;
    border: 1px solid #DDD6CC;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    color: #243331;
    background: #fff;
    text-align: center;
}

.rm-sum-date-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.rm-sum-date-wrap .rm-sum-date-text {
    cursor: pointer;
}

.rm-sum-date-wrap .rm-sum-date-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    background: transparent;
}

.rm-sum-date-wrap .rm-sum-date-native::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
}

.rm-sum-inp:focus {
    outline: 2px solid rgba(42, 132, 124, 0.28);
    border-color: #2A847C;
}

.rm-sum-table tbody tr:nth-child(even) .rm-sum-td-meet {
    background: #E8F4F1;
}

.rm-sum-table tbody tr:nth-child(even) .rm-sum-td-best {
    background: #F4EDE3;
}

.rm-sum-td-best .rm-sum-inp:focus {
    outline-color: rgba(138, 104, 68, 0.28);
    border-color: #8A6844;
}

.rm-sum-table tbody tr:nth-child(even) .rm-sum-td-event,
.rm-sum-table tbody tr:nth-child(even) .rm-sum-td-gen {
    background: #F4F7F7;
}

.rm-imported-tip,
.rm-imported-empty {
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

.rm-imported-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.rm-imported-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 13px;
}

.rm-imported-table th,
.rm-imported-table td {
    border: 1px solid #e5e7eb;
    padding: 4px 6px;
    vertical-align: middle;
}

.rm-imported-table th {
    font-size: 12px;
    font-weight: 700;
}

.rm-imported--school .rm-imported-table thead th {
    background: #bbf7d0;
    color: #14532d;
}

.rm-imported--meet .rm-imported-table thead th {
    background: #A8D5CF;
    color: #1F655E;
}

.rm-imported-table .rm-th-type,
.rm-imported-table .rm-th-group,
.rm-imported-table .rm-th-event,
.rm-imported-table .rm-th-gender,
.rm-imported-table .rm-cell-type,
.rm-imported-table .rm-cell-group,
.rm-imported-table .rm-cell-event,
.rm-imported-table .rm-cell-gender {
    white-space: nowrap;
    padding: 6px 16px;
    text-align: center;
}

.rm-imported-table .rm-cell-type {
    min-width: 5.5em;
}

.rm-imported-table .rm-cell-group {
    min-width: 5em;
    background: #ecfdf5;
    font-weight: 600;
}

.rm-imported-table .rm-cell-event {
    min-width: 5.5em;
    background: #fef3c7;
    font-weight: 600;
}

.rm-imported-table .rm-cell-gender {
    min-width: 3.2em;
    text-align: center;
}

.rm-imported-table .rm-cell-gender.is-male {
    background: #E6F6F4;
}

.rm-imported-table .rm-cell-gender.is-female {
    background: #fce7f3;
}

.rm-imported-table .rm-cell-gender.is-mix {
    background: #ede9fe;
}

.rm-imported-table td .input {
    display: block;
    width: 9em;
    min-width: 7em;
    max-width: 11em;
    height: 28px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 2px 6px;
    box-sizing: border-box;
}

.rm-imported-table td .rm-inp-date {
    width: 7.5em;
    min-width: 6.5em;
    max-width: 8.5em;
}

.rm-imported-table td .rm-inp-score {
    width: 7em;
    min-width: 6em;
    max-width: 8em;
}

.rm-imported-table .rm-th-ops,
.rm-imported-table .rm-imported-ops {
    width: 4.5em;
    text-align: center;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
}

.rm-imported-ops .btn {
    margin: 0;
}

.rm-inline-form {
    display: inline-block;
    margin: 0 4px 0 0;
}

.rm-faq {
    padding: 18px 20px 8px;
}

.rm-faq-title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 600;
    color: #2B2B2B;
}

.rm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rm-faq-item {
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.rm-faq-q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #2B2B2B;
    list-style: none;
}

.rm-faq-q::-webkit-details-marker {
    display: none;
}

.rm-faq-q::after {
    content: '';
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #667070;
    border-bottom: 2px solid #667070;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.rm-faq-item[open] .rm-faq-q::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.rm-faq-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #c8a277;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.rm-faq-a {
    padding: 0 14px 14px 46px;
    font-size: 13px;
    color: #667070;
    line-height: 1.6;
}

.rm-faq-a p {
    margin: 0;
}

body.rm-onboard-open {
    overflow: hidden;
}

/* 新手引导：挂到 body 下，避免主布局层叠与 pointer-events 导致无法点击关闭 */
.rm-onboard-root {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: none;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

.rm-onboard-root--open {
    display: flex;
}

.rm-onboard-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background: rgba(45, 32, 22, 0.5);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.rm-onboard-dialog {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    align-self: center;
    width: min(100%, 720px);
    max-height: min(90vh, 880px);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.rm-onboard-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    max-height: min(90vh, 880px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.18);
    border: 1px solid #e3d9ce;
    overflow: hidden;
}

.rm-onboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #e3d9ce;
    background: linear-gradient(180deg, #faf7f2 0%, #fff 100%);
}

.rm-onboard-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-onboard-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rm-onboard-step-meta {
    font-size: 13px;
    font-weight: 600;
    color: #667070;
    white-space: nowrap;
}

.rm-onboard-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f2f4f7;
    color: #2B2B2B;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.rm-onboard-close:hover {
    background: #e3d9ce;
}

.rm-onboard-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 8px;
    min-height: 200px;
}

.rm-onboard-slide {
    outline: none;
}

.rm-onboard-welcome {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, #fef9c3 0%, #fef08a 100%);
    font-size: 15px;
    font-weight: 600;
    color: #713f12;
}

.rm-onboard-trophy {
    font-size: 20px;
}

.rm-guide-section {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.rm-guide-section--blue {
    background: #fff6ea;
    border-color: #ecd4b8;
}

.rm-guide-section--green {
    background: #F4F7F7;
    border-color: #C5DDD4;
}

.rm-guide-h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #4a301f;
}

.rm-guide-section--green .rm-guide-h3 {
    color: #2A847C;
}

.rm-guide-h3-ic {
    margin-right: 4px;
}

.rm-guide-h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-guide-p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #2B2B2B;
}

.rm-guide-p:last-child {
    margin-bottom: 0;
}

.rm-guide-p.formula {
    font-size: 15px;
    font-weight: 600;
    color: #2B2B2B;
}

.rm-guide-ol,
.rm-guide-ul {
    margin: 8px 0 0;
    padding-left: 1.35em;
    color: #2B2B2B;
    font-size: 14px;
    line-height: 1.65;
}

.rm-guide-ul--compact li + li {
    margin-top: 4px;
}

.rm-guide-foot {
    margin: 12px 0 0;
    font-size: 13px;
    color: #667070;
}

.rm-guide-muted {
    font-size: 13px;
    color: #667070;
    margin-bottom: 12px;
}

.rm-slide-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-slide-title-ic {
    font-size: 18px;
    color: #c8a277;
}

.rm-guide-callout {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e3d9ce;
}

.rm-guide-callout--blue {
    background: #fff6ea;
    border-color: #A8D5CF;
}

.rm-guide-callout--warn {
    background: #fffaeb;
    border-color: #fedf89;
}

.rm-guide-callout--soft {
    background: #fcf9f4;
    border-color: #dfc4ae;
}

.rm-guide-num {
    color: #b42318;
    font-weight: 800;
}

.rm-guide-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .rm-guide-feature-grid {
        grid-template-columns: 1fr;
    }
}

.rm-guide-feature {
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #dfc4ae;
    background: #fff;
}

.rm-guide-feature--blue {
    border-color: #A8D5CF;
}

.rm-guide-feature--green {
    border-color: #84A98C;
    background: #F8FAFA;
}

.rm-guide-feature--amber {
    border-color: #fdb022;
    background: #fffaeb;
}

.rm-guide-feature--softblue {
    border-color: #A8D5CF;
    background: #f5fbff;
}

.rm-guide-feature--navy {
    border-color: #c49a6c;
    background: #fff6ea;
}

.rm-guide-feature--danger {
    border-color: #fecdca;
    background: #fef3f2;
}

.rm-guide-feature-ic {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e3d9ce;
    font-weight: 700;
    font-size: 14px;
    color: #2B2B2B;
}

.rm-guide-feature--green .rm-guide-feature-ic {
    background: #E6F0EE;
    color: #2A847C;
}

.rm-guide-feature--danger .rm-guide-feature-ic {
    background: #fee4e2;
    color: #b42318;
}

.rm-guide-done-banner {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #E6F0EE 0%, #C5DDD4 100%);
    border: 1px solid #84A98C;
    font-size: 14px;
    line-height: 1.55;
    color: #2A847C;
}

.rm-onboard-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 18px 16px;
    border-top: 1px solid #e3d9ce;
    background: #fafafa;
}

.rm-onboard-hint {
    flex: 1 1 200px;
    margin: 0;
    text-align: center;
    font-size: 12px;
    color: #98a2b3;
    order: 2;
}

.rm-onboard-footer .btn {
    order: 1;
}

.rm-onboard-footer #rm-onboard-next {
    order: 3;
}

@media (max-width: 560px) {
    .rm-onboard-hint {
        order: 3;
        flex-basis: 100%;
    }

    .rm-onboard-footer #rm-onboard-next {
        order: 2;
    }
}

.rm-onboard-btn-done {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #2A847C;
    background: #1e63d9;
    color: #fff;
    cursor: pointer;
}

.rm-onboard-btn-done:hover {
    background: #2A847C;
}

/* 分组录入纪录（记录管理 · 添加记录） */
.rm-entry-page {
    padding: 22px 24px 28px;
}

.rm-entry-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px 20px;
    margin-bottom: 20px;
}

.rm-entry-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-entry-title-ic {
    font-size: 24px;
    line-height: 1;
}

.rm-entry-topactions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.rm-entry-import-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.rm-entry-import-file {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.rm-entry-import,
.rm-entry-backlist {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-height: 36px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.rm-entry-import {
    border: 1px solid #84A98C;
    background: #1e63d9;
    color: #fff;
    opacity: 1;
}

.rm-entry-import:hover {
    background: #1854bc;
    color: #fff;
}

.rm-entry-import[disabled] {
    cursor: not-allowed;
    opacity: 0.85;
}

.rm-entry-backlist {
    border: 1px solid #84A98C;
    background: #eef4fd;
    color: #1e4b8a;
}

.rm-entry-backlist:hover {
    background: #dce9fb;
    color: #1e4b8a;
}

.rm-entry-banner {
    margin-bottom: 22px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8c9a8;
    border-radius: 12px;
    background: #fff;
}

.rm-entry-banner-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, #fff6ea 0%, #ecd4b8 100%);
    border-bottom: 1px solid #e8c9a8;
    font-size: 15px;
    color: #4a301f;
}

.rm-entry-banner-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #9f7750;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.rm-entry-banner-text {
    margin: 0;
    padding: 14px 16px 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #2B2B2B;
}

.rm-entry-empty {
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px dashed #98a2b3;
    border-radius: 12px;
    background: #fcf9f4;
    font-size: 14px;
    line-height: 1.65;
    color: #667070;
}

.rm-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 960px) {
    .rm-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .rm-entry-grid {
        grid-template-columns: 1fr;
    }
}

.rm-entry-card {
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
    border: 1px solid #e3d9ce;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(45, 32, 22, 0.06);
}

.rm-entry-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rm-entry-card-ic {
    font-size: 22px;
    line-height: 1;
}

.rm-entry-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-entry-card-badge {
    margin: 0 0 6px;
}

.rm-entry-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff6ea;
    border: 1px solid #A8D5CF;
    color: #6b4423;
    font-size: 13px;
    font-weight: 700;
}

.rm-entry-card-sub {
    margin: 0 0 14px;
    font-size: 13px;
    color: #667070;
}

.rm-entry-card-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-weight: 600;
}

.rm-entry-card-btn-ic {
    font-size: 15px;
}

.rm-entry-card--meet-best {
    border-color: #fcd34d;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 40%);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);
}

.rm-entry-badge--gold {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #b45309;
}

.rm-entry-card-btn--gold {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
}

.rm-entry-card-btn--gold:hover {
    filter: brightness(1.05);
}

.rm-rec-meet-best-lead .rm-rec-meet-best-desc {
    margin: 0;
    padding: 0 16px 16px;
    line-height: 1.6;
    color: #667070;
    font-size: 14px;
}

.rm-rec-global-best-notice {
    margin: 0 0 12px;
}

.rm-rec-hidden-school-post,
.rm-rec-hidden-best-post {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rm-entry-help {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ecd4b8;
    border-radius: 12px;
    background: #fff;
}

.rm-entry-help-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(180deg, #fff6ea 0%, #fdebd4 100%);
    border-bottom: 1px solid #dfc4ae;
    font-size: 15px;
    color: #1F655E;
}

.rm-entry-help-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c8a277;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.rm-entry-help-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 28px;
    padding: 18px 20px 22px;
}

@media (max-width: 900px) {
    .rm-entry-help-body {
        grid-template-columns: 1fr;
    }
}

.rm-entry-help-h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-entry-help-list {
    margin: 0;
    padding-left: 1.25em;
    font-size: 14px;
    line-height: 1.7;
    color: #667070;
}

.rm-entry-help-ul {
    list-style: disc;
}

.rm-entry-meet-hint {
    margin: 16px 0 0;
    font-size: 13px;
    color: #667070;
}

.rm-entry-stub .rm-entry-stub-body {
    padding: 8px 0 0;
}

.rm-entry-stub-h2 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-entry-stub-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 分组内纪录录入表 */
.rm-rec-page {
    padding: 0 0 24px;
}

.rm-rec-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px 20px;
    margin-bottom: 18px;
    padding: 16px 18px;
}

.rm-rec-page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2B2B2B;
}

.rm-rec-top-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rm-rec-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2B2B2B;
    cursor: pointer;
    user-select: none;
}

.rm-rec-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #c8a277;
}

.rm-rec-form {
    position: relative;
}

.rm-rec-form--hide-meet .rm-sum-th-meet,
.rm-rec-form--hide-meet .rm-sum-td-meet {
    display: none;
}
.rm-rec-form--hide-best .rm-rec-best-col {
    display: none;
}

.rm-rec-sum {
    margin-top: 0;
}

.rm-rec-sum-table td {
    vertical-align: middle;
    padding: 6px 4px;
}

.rm-rec-sum-table .rm-rec-score-cell {
    vertical-align: middle;
    min-width: 0;
}

.rm-rec-sum-table .rm-rec-score-wrap {
    position: relative;
    display: block;
    height: 32px;
}

.rm-rec-sum-table .rm-rec-score-preview {
    position: absolute;
    left: 2px;
    right: 2px;
    top: 100%;
    min-height: 0;
    font-size: 11px;
    line-height: 1.2;
    z-index: 1;
}

.rm-rec-sum-table .rm-rec-inp,
.rm-rec-sum-table .rm-rec-date,
.page-admin-shell .rm-rec-sum-table input.rm-rec-inp {
    display: block;
    width: 100%;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    margin: 0;
    padding: 0 8px;
    line-height: 30px;
    border-color: #c5d0dc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.rm-rec-sum-table .rm-rec-date {
    max-width: 100%;
}

.rm-rec-date-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.rm-rec-date-wrap .rm-rec-date {
    padding-right: 30px;
}

.rm-rec-date-ico {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    line-height: 1;
    pointer-events: none;
    opacity: 0.72;
}

.rm-rec-date-native {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    background: transparent;
}

.rm-rec-date-native::-webkit-calendar-picker-indicator {
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 1;
}

.rm-rec-card {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.rm-rec-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
    color: #fff;
}

.rm-rec-card-head--school {
    background: #2A847C;
}

.rm-rec-card-head--best {
    background: #1F655E;
}

.rm-rec-card-ic {
    font-size: 18px;
}

.rm-rec-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.rm-rec-smart-tip {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 12px 16px;
    background: #fffaeb;
    border-bottom: 1px solid #fedf89;
    font-size: 14px;
    color: #53389e;
}

.rm-rec-smart-ic {
    font-size: 20px;
    flex-shrink: 0;
}

.rm-rec-smart-p {
    margin: 6px 0 0;
    line-height: 1.55;
    color: #667070;
}

.rm-rec-smart-lead {
    margin: 0 0 8px;
    line-height: 1.55;
    color: #667070;
}

.rm-rec-smart-ul {
    margin: 0;
    padding-left: 1.25em;
    line-height: 1.55;
    color: #667070;
    font-size: 13px;
}

.rm-rec-smart-ul li {
    margin: 6px 0;
}

.rm-rec-smart-p code,
.rm-rec-smart-ul code {
    padding: 1px 6px;
    border-radius: 4px;
    background: #fef3c7;
    font-size: 13px;
}

.rm-rec-score-cell {
    vertical-align: top;
    min-width: 148px;
}

.rm-rec-score-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rm-rec-score-preview {
    font-size: 12px;
    line-height: 1.35;
    color: #1570ef;
    min-height: 1.2em;
    word-break: break-all;
}

.rm-rec-table-wrap {
    margin: 0;
    border: none;
    border-radius: 0;
}

.rm-rec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rm-rec-table thead th {
    padding: 10px 8px;
    text-align: center;
    font-weight: 700;
    color: #2B2B2B;
    border-bottom: 1px solid #c5d9ef;
}

.rm-rec-table--school thead th {
    background: #7ec8e3;
    color: #16324f;
    border-bottom-color: #5eb0d0;
}

.rm-rec-table--best thead th {
    background: #81c784;
    color: #1b4332;
    border-bottom-color: #66bb6a;
}

.rm-rec-table td {
    padding: 8px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    text-align: center;
}

.rm-rec-table tbody tr:nth-child(even) td {
    background: #F4F7F7;
}

.rm-rec-cell-name {
    font-weight: 600;
    color: #2B2B2B;
}

.rm-rec-inp {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 7px 8px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
}

.rm-rec-date {
    max-width: 11rem;
}

.rm-rec-save-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.rm-rec-save-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
}

.rm-rec-format-dlg {
    max-width: 520px;
    width: calc(100% - 32px);
    border: none;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.2);
}

.rm-rec-format-dlg::backdrop {
    background: rgba(45, 32, 22, 0.45);
}

.rm-rec-format-inner {
    padding: 0;
}

.rm-rec-format-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e3d9ce;
    background: #faf7f2;
}

.rm-rec-format-head h3 {
    margin: 0;
    font-size: 16px;
}

.rm-rec-format-close {
    border: none;
    background: #e3d9ce;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.rm-rec-format-body {
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: #2B2B2B;
}

.rm-rec-format-body p {
    margin: 0 0 12px;
}

.rm-rec-format-body p:last-child {
    margin-bottom: 0;
}

.rm-rec-format-foot {
    padding: 12px 16px 16px;
    text-align: right;
    border-top: 1px solid #e3d9ce;
}

@media (max-width: 960px) {
    .rm-rec-table thead {
        display: none;
    }

    .rm-rec-table tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e3d9ce;
        border-radius: 10px;
        padding: 8px;
    }

    .rm-rec-table td {
        display: block;
        border: none;
        padding: 6px 4px;
    }

    .rm-rec-table td::before {
        display: block;
        font-size: 11px;
        color: #667070;
        margin-bottom: 4px;
        font-weight: 600;
    }

    .rm-rec-table--school td:nth-child(1)::before {
        content: '项目';
    }

    .rm-rec-table--school td:nth-child(2)::before {
        content: '性别';
    }

    .rm-rec-table--school td:nth-child(3)::before {
        content: '成绩';
    }

    .rm-rec-table--school td:nth-child(4)::before {
        content: '保持者';
    }

    .rm-rec-table--school td:nth-child(5)::before {
        content: '地点';
    }

    .rm-rec-table--school td:nth-child(6)::before {
        content: '比赛名称';
    }

    .rm-rec-table--school td:nth-child(7)::before {
        content: '日期';
    }

    .rm-rec-table--best td:nth-child(1)::before {
        content: '项目';
    }

    .rm-rec-table--best td:nth-child(2)::before {
        content: '性别';
    }

    .rm-rec-table--best td:nth-child(3)::before {
        content: '成绩';
    }

    .rm-rec-table--best td:nth-child(4)::before {
        content: '保持者';
    }

    .rm-rec-table--best td:nth-child(5)::before {
        content: '地点';
    }

    .rm-rec-table--best td:nth-child(6)::before {
        content: '比赛名称';
    }

    .rm-rec-table--best td:nth-child(7)::before {
        content: '日期';
    }
}

/* 运动会报名（赛前工作 · 网络 / 手动 / 表格导入） */
.mgr-tabs {
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.mgr-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e3d9ce;
}

.mgr-tab {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #667070;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.mgr-tab:hover {
    color: #2B2B2B;
    background: #fcf9f4;
}

.mgr-tab.is-active {
    color: #1570ef;
    border-bottom-color: #1570ef;
    background: #fff;
}

.mgr-tab-no {
    display: inline-block;
    min-width: 1.25em;
    margin-right: 2px;
}

.mgr-settings-block-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.mgr-settings-block-head .mgr-settings-block-title {
    margin: 0;
}

.mgr-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.mgr-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2B2B2B;
}

.mgr-title-ic {
    font-size: 22px;
}

.mgr-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mgr-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.mgr-settings-block-title {
    margin: 0 0 16px;
}

.mgr-card-status {
    display: flex;
    flex-direction: column;
}

.mgr-online-link-panel {
    margin-top: auto;
    padding-top: 18px;
}

.mgr-online-link-panel .mgr-card-title {
    margin-bottom: 8px;
}

.mgr-online-link-panel .mgr-url-box {
    margin: 0;
}

@media (max-width: 960px) {
    .mgr-settings-grid {
        grid-template-columns: 1fr;
    }
}

.mgr-card-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    color: #2B2B2B;
}

.mgr-toggle {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: fit-content;
    max-width: 100%;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.mgr-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mgr-toggle-ui {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #c5d4ea;
    flex-shrink: 0;
    position: relative;
    transition: background 0.2s;
}

.mgr-toggle-ui::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
}

.mgr-toggle input:checked + .mgr-toggle-ui {
    background: #2A847C;
}

.mgr-toggle input:checked + .mgr-toggle-ui::after {
    transform: translateX(20px);
}

.mgr-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #2B2B2B;
}

.mgr-toggle-text small {
    font-weight: 400;
    color: #667070;
    font-size: 12px;
}

.mgr-datetime-row {
    display: grid;
    gap: 14px;
    margin-top: 8px;
    width: 100%;
}

.mgr-datetime-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mgr-datetime-field label,
.mgr-datetime-row label {
    display: inline-block;
    width: auto;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #2B2B2B;
    cursor: pointer;
}

.mgr-datetime-row input[type="datetime-local"] {
    width: auto;
    max-width: 280px;
    min-width: 220px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #2A847C;
    color: #2A847C;
    border-radius: 8px;
    accent-color: #2A847C;
    caret-color: #2A847C;
}

.mgr-datetime-row input[type="datetime-local"]:focus {
    outline: none;
    border-color: #2A847C;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.mgr-datetime-row small {
    display: block;
    margin-top: 4px;
    color: #667070;
    font-size: 12px;
}

.mgr-save-row {
    margin-top: 16px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.mgr-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mgr-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.mgr-card-status .mgr-badge {
    font-size: 14px;
    padding: 6px 12px;
}

.mgr-badge-warn {
    background: #fef0c7;
    color: #b54708;
}

.mgr-badge-ok {
    background: #E6F0EE;
    color: #2A847C;
}

.mgr-badge-muted {
    background: #f2f4f7;
    color: #667070;
}

.mgr-badge-cyan {
    background: #fff6ea;
    color: #6b4423;
}

.mgr-status-label {
    margin: 0 0 8px;
    font-size: 13px;
    color: #667070;
}

.mgr-time-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.mgr-pill {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
}

.mgr-pill span {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.mgr-pill strong {
    font-size: 14px;
    font-weight: 600;
}

.mgr-pill-blue {
    background: #fff6ea;
    color: #6b4423;
}

.mgr-pill-green {
    background: #F4F7F7;
    color: #2A847C;
}

.mgr-pill-orange {
    background: #fff6ed;
    color: #b93815;
}

.mgr-online-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .mgr-online-grid {
        grid-template-columns: 1fr;
    }
}

.mgr-url-box {
    display: flex;
    align-items: stretch;
    height: 38px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #667070;
    border-radius: 8px;
    margin: 12px 0;
}

.page-admin-shell .mgr-url-box {
    border: 1px solid #667070 !important;
    background: #fff !important;
}

.page-admin-shell .mgr-url-box {
    border: 1px solid #667070 !important;
    background: #fff !important;
}

.mgr-url-box code {
    font-size: 13px;
    color: #2B2B2B;
}

.mgr-url-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    border-right: 0;
    background: transparent;
    padding: 0 12px;
    font-size: 13px;
    line-height: 36px;
    color: #2B2B2B;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mgr-url-input:focus {
    outline: none;
}

.mgr-url-copy-btn,
.mgr-url-copy-btn.btn-primary {
    flex: 0 0 auto;
    align-self: stretch;
    margin: 0;
    border-radius: 0 7px 7px 0;
    min-width: 72px;
    height: auto;
    padding: 0 14px;
    background: #7D92A8;
    border: none;
    border-left: none;
    box-shadow: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    transition: background-color .15s ease;
}

.mgr-url-copy-btn:hover,
.mgr-url-copy-btn:focus,
.mgr-url-copy-btn.btn-primary:hover,
.mgr-url-copy-btn.btn-primary:focus {
    background: #5A7088;
    border: none;
    border-left: none;
    box-shadow: none;
    outline: none;
    color: #fff;
}

.mgr-online-single {
    margin-top: 12px;
    max-width: 920px;
}

.mgr-lead {
    color: #667070;
    line-height: 1.6;
}

/* 报名系统设置卡片下方接参赛队账户区块 */
.mgr-settings.card + .mgr-team-accounts.card {
    margin-top: 20px;
}

/* 运动会报名 · 参赛队账户管理 */
.mgr-ta-head {
    flex-wrap: wrap;
    gap: 10px;
}

.mgr-ta-banner,
.mgr-ta-banner strong {
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f2f4f7;
    border-radius: 8px;
    color: #2B2B2B;
    font-size: 14px;
}

.mgr-ta-banner strong {
    margin: 0;
    padding: 0;
    background: transparent;
}

.mgr-ta-grid {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 18px;
    align-items: start;
}

@media (max-width: 1024px) {
    .mgr-ta-grid {
        grid-template-columns: 1fr;
    }
}

.mgr-ta-gen {
    border: 2px solid #6ee7b7;
    border-radius: 12px;
    padding: 16px;
    background: #F8FAFA;
}

.mgr-ta-gen-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mgr-ta-bolt {
    font-size: 18px;
}

.mgr-ta-mode-field {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid #C5DDD4;
    border-radius: 10px;
    background: #fff;
}

.mgr-ta-mode-field legend {
    font-weight: 600;
    padding: 0 6px;
    color: #2B2B2B;
}

.mgr-ta-mode-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #2B2B2B;
    cursor: pointer;
}

.mgr-ta-mode-row:last-child {
    margin-bottom: 0;
}

.mgr-ta-mode-row input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.mgr-ta-prefix-block {
    margin-bottom: 14px;
}

.mgr-ta-prefix-block--hidden {
    display: none;
}

.mgr-ta-username-hint {
    margin: 0 0 14px;
    line-height: 1.55;
}

.mgr-ta-gen-form .mgr-ta-label {
    display: block;
    margin-bottom: 14px;
}

.mgr-ta-gen-form .mgr-ta-label span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2B2B2B;
}

.mgr-ta-gen-form input[type="text"] {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
}

.mgr-ta-gen-form small {
    display: block;
    margin-top: 6px;
    color: #667070;
    font-size: 12px;
    line-height: 1.45;
}

.mgr-ta-share-field {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.mgr-ta-share-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.mgr-ta-share-title {
    font-weight: 600;
    color: #2B2B2B;
    font-size: 14px;
}

.mgr-ta-select-all {
    color: #2A847C;
    font-size: 13px;
    text-decoration: none;
}

.mgr-ta-share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.mgr-ta-share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2B2B2B;
}

.mgr-ta-gen-btn {
    width: 100%;
    margin-top: 8px;
}

.mgr-ta-main {
    padding: 16px;
}

.mgr-ta-main-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mgr-ta-export-btn {
    margin-left: auto;
    background: #2A847C;
    color: #fff;
    border: 1px solid #2A847C;
}

.mgr-ta-export-btn:hover,
.mgr-ta-export-btn:focus {
    background: #2A847C;
    border-color: #1F655E;
    color: #fff;
}

.mgr-ta-empty {
    margin-top: 8px;
}

.mgr-ta-table-wrap {
    overflow-x: auto;
}

.mgr-ta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.mgr-ta-table th,
.mgr-ta-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ece4da;
    color: #2B2B2B;
}

.mgr-ta-table th {
    background: #fcf9f4;
    font-weight: 600;
    color: #2B2B2B;
}

.mgr-ta-code {
    font-size: 13px;
    background: none;
    padding: 0;
    border-radius: 0;
    color: #2B2B2B;
    box-shadow: none;
}

.mgr-ta-login-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #e3d9ce;
    color: #2B2B2B;
}

.mgr-ta-login-pill--muted {
    background: #2A847C;
    color: #fff;
}

.mgr-ta-ops {
    white-space: nowrap;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.mgr-ta-inline-form {
    display: inline;
    margin: 0;
}

.mgr-ta-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #2A847C;
    cursor: pointer;
}

.mgr-ta-iconbtn:hover {
    background: #f0f9f6;
    border-radius: 8px;
}

.mgr-ta-iconbtn--danger {
    color: #E55949;
}

.mgr-ta-iconbtn--danger:hover {
    background: #fff5f4;
}

.mgr-ta-iconbtn svg {
    display: block;
    width: 16px;
    height: 16px;
}

.mgr-ta-clear-form {
    margin-top: 16px;
}

.mgr-ta-clear-btn {
    border-color: #fda29b;
    color: #b42318;
}

.mgr-banner {
    padding: 12px 16px;
    background: #fff6ea;
    border-radius: 10px;
    color: #4a301f;
    font-size: 15px;
    margin-bottom: 16px;
}

/* ---------- 运动会列表（赛事管理）页面 ---------- */
.meets-page {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* 顶栏与「运动会管理」标题之间默认 section-gap 48px 过大 */
.gb-admin-inner.meets-page.section-gap {
    padding-top: 0;
    padding-bottom: 28px;
}

.meets-list-dash {
    padding-bottom: 8px;
}

.meets-list-toolbar {
    display: flex;
    justify-content: flex-start;
    margin: 4px 0 12px;
}

.meets-btn-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meets-btn-new-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
}

.meets-table-panel {
    background: #fff;
    border: 1px solid #D9E4E2;
    border-radius: 6px;
    padding: 16px 16px 12px;
    box-shadow: 0 1px 2px rgba(43, 43, 43, 0.05);
    margin-bottom: 8px;
}

.meets-table-panel .meets-table-section-title {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meets-table-panel .meets-table-wrap.table-card {
    padding: 0;
    border: none;
    box-shadow: none;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f8fb;
}

.meets-table-title-ic {
    font-size: 1.1rem;
}

.meets-page-footer {
    display: flex;
    justify-content: flex-end;
    margin: 16px 0 0;
    padding: 0;
}

.meets-table-pager {
    margin-top: 10px;
}

.meets-table-pager .pagination-bar {
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    margin-top: 0;
}

.meets-table-pager .pagination-bar__meta {
    color: #667070;
    font-size: 13px;
}

.meets-table-panel {
    padding-bottom: 20px;
}

.meets-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: #2A847C;
    border: none;
    box-shadow: none;
}

.meets-next-btn:hover {
    background: #1F655E;
    color: #fff;
    filter: none;
}

.meets-next-ico {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.18s ease;
}

.meets-next-btn:hover .meets-next-ico {
    transform: translateX(3px);
}

.meets-next-btn .meets-ico-svg {
    width: 16px;
    height: 16px;
}

.meets-ico-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.meets-stat-ic .meets-ico-svg {
    width: 22px;
    height: 22px;
}

.meets-next-ico .meets-ico-svg {
    width: 16px;
    height: 16px;
}

body.meets-delete-modal-open {
    overflow: hidden;
}

.meets-delete-modal[hidden] {
    display: none !important;
}

.meets-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.meets-delete-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.45);
}

.meets-delete-modal-panel {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.meets-delete-modal-head {
    padding: 18px 20px 12px;
    border-bottom: 1px solid #f2f4f7;
}

.meets-delete-modal-title {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    color: #2B2B2B;
}

.meets-delete-modal-warn-ic {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1.2;
    color: #faad14;
}

.meets-delete-modal-body {
    padding: 12px 20px 18px;
    overflow: auto;
}

.meets-delete-modal-lead {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.meets-delete-modal-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.75;
    color: #667070;
}

.meets-delete-modal-list li {
    margin: 0;
    padding-left: 0;
}

.meets-delete-modal-list li::before {
    content: "- ";
    color: #667070;
}

.meets-delete-modal-target {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff7e6;
    border: 1px solid #ffd591;
    font-size: 13px;
    font-weight: 600;
    color: #ad6800;
}

.meets-delete-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid #f2f4f7;
    background: #fafafa;
}

.meets-delete-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid transparent;
}

.meets-delete-modal-btn--cancel {
    background: #fff;
    color: #667070;
    border-color: #d0d5dd;
}

.meets-delete-modal-btn--cancel:hover {
    background: #f9fafb;
}

.meets-delete-modal-btn--confirm {
    background: #E55949;
    color: #fff;
    border-color: #E55949;
}

.meets-delete-modal-btn--confirm:hover {
    background: #C94A3C;
}

.meets-op-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meets-col-actions .meets-op-row {
    white-space: normal;
}

.meets-op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.25;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 64px;
    width: auto;
    height: 32px;
    box-shadow: 0 1px 2px rgba(43, 43, 43, 0.06);
    white-space: nowrap;
}

.meets-op-btn--copy {
    background: #F4F7F7;
    color: #667070;
    border-color: #E2E8E8;
}

.meets-op-btn--copy:hover {
    background: #E8EDED;
}

.meets-op-btn--edit {
    background: #E8F0EA;
    color: #5C7A64;
    border-color: #84A98C;
}

.meets-op-btn--edit:hover {
    background: #DCE8DE;
}

.meets-op-btn--del {
    background: #ffece8;
    color: #E55949;
    border-color: #ffbb96;
}

.meets-op-btn--del:hover {
    background: #ffd8d2;
}

.meets-op-btn--pause {
    background: #fff4e6;
    color: #d48806;
    border-color: #ffc069;
}

.meets-op-btn--pause:hover {
    background: #ffe7ba;
}

.meets-op-btn--finish {
    background: #f5f5f5;
    color: #434343;
    border-color: #d9d9d9;
}

.meets-op-btn--finish:hover {
    background: #ebebeb;
}

.meets-op-btn--archive {
    background: #667070;
    color: #fff;
    border-color: #4B5563;
}

.meets-op-btn--archive:hover {
    background: #4B5563;
    color: #fff;
}

.meets-archived-label {
    color: #667070;
    font-size: 13px;
    font-weight: 600;
}

.meets-op-btn--edit.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.meets-op-btn--act {
    background: linear-gradient(180deg, #1f9a4a 0%, #157a38 100%);
    color: #fff;
    border-color: #0f5c2a;
    box-shadow: 0 1px 2px rgba(15, 92, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.meets-op-btn--act:hover,
.meets-op-btn--act:focus-visible {
    background: linear-gradient(180deg, #17853e 0%, #0f5c2a 100%);
    border-color: #0a4720;
    color: #fff;
    box-shadow: 0 2px 4px rgba(10, 71, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.meets-op-btn--act:active {
    background: linear-gradient(180deg, #0f5c2a 0%, #0a4720 100%);
    border-color: #08361a;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
}

.meets-stat-ic--square,
.meets-stat-ic--tile {
    border-radius: 4px;
    width: 42px;
    height: 42px;
}

.meets-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 14px;
}

.meets-page-title-block {
    min-width: 0;
}

.meets-page-title {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2B2B2B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meets-page-title-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #F4F7F7;
    color: #2A847C;
    font-size: 1.1rem;
}

.meets-page-lead {
    margin: 0;
    color: #667070;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 520px;
}

.meets-page-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.meets-page-head-actions .meets-head-btn {
    box-sizing: border-box;
    min-width: 0;
    width: auto;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 8px;
    justify-content: center;
    white-space: nowrap;
}

.meets-btn-video {
    border: 1px solid #dfc4ae;
    background: #fff;
    color: #2B2B2B;
}

.meets-stat-grid,
.meets-stat-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.meets-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid #D9E4E2;
    background: #fff;
    box-shadow: 0 1px 2px rgba(43, 43, 43, 0.04);
}

.meets-stat-card--blue {
    border-color: #D9E4E2;
    border-left: 4px solid #2A847C;
    background: #fff;
}

.meets-stat-card--green {
    border-color: #D9E4E2;
    border-left: 4px solid #0f8a5f;
    background: #fff;
}

.meets-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #667070;
    margin-bottom: 6px;
}

.meets-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #2B2B2B;
    line-height: 1.1;
}

.meets-stat-value--sm {
    font-size: 1.35rem;
    font-weight: 700;
}

.meets-stat-desc {
    margin: 8px 0 0;
    font-size: 12px;
    color: #667070;
    line-height: 1.4;
}

.meets-stat-ic {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.meets-stat-ic--blue {
    background: #F4F7F7;
    color: #2A847C;
}

.meets-stat-ic--green {
    background: #e8f6ef;
    color: #0f8a5f;
}

.meets-edit-status-ops {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #D9E4E2;
}

.meets-edit-status-label {
    font-size: 13px;
    font-weight: 600;
    color: #667070;
}

.meets-subsection-title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2B2B2B;
}

.meets-table-section-title {
    margin-bottom: 12px;
}

.meets-create-card,
.meets-edit-card {
    margin-bottom: 20px;
}

.meets-create-tip {
    margin: 0 0 12px;
}

.meets-edit-actions,
.meets-create-actions {
    grid-column: 1 / -1;
}

.meets-table-wrap {
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.meets-list-table {
    margin: 0;
}

.meets-list-table thead th {
    background: #F4F7F7;
    color: #2B2B2B;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    padding: 12px 10px;
    border-bottom: 1px solid #D9E4E2;
}

.meets-list-table tbody td {
    padding: 14px 10px;
    border-bottom: 1px solid #f2f4f7;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    vertical-align: middle;
}

.meets-list-table th,
.meets-list-table td {
    vertical-align: middle;
}

.meets-list-table .meets-col-idx,
.meets-list-table .meets-col-year,
.meets-list-table .meets-col-status {
    text-align: center;
    width: 72px;
}

.meets-list-table .meets-col-year {
    width: 76px;
}

.meets-list-table .meets-col-curst {
    text-align: center;
    min-width: 132px;
    white-space: nowrap;
}

.meets-col-curst .meets-op-row {
    justify-content: center;
    flex-wrap: nowrap;
}

.meets-list-table .meets-col-date-h,
.meets-list-table .meets-col-date {
    white-space: nowrap;
}

.meets-list-table .meets-col-status {
    width: 110px;
}

.meets-list-table .meets-col-actions {
    text-align: left;
    min-width: 196px;
    width: 22%;
}

.meets-inline-form {
    display: inline-flex;
    margin: 0;
    vertical-align: middle;
}

.meets-col-name-text {
    display: block;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    color: #111827;
}

.meets-example-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2A847C;
    background: #e8f1fb;
    vertical-align: middle;
}

.meets-example-prefix {
    color: #2A847C;
    font-weight: 700;
}

.meets-col-date {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.45;
    vertical-align: middle;
    padding-top: 0;
}

.meets-col-date-main {
    font-size: 14px;
    font-weight: 500;
    color: #667070;
    font-variant-numeric: tabular-nums;
}

.meets-col-name strong {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: #111827;
}

.meets-col-venue {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
    color: #667070;
    font-weight: 400;
}

.meets-col-date-sub {
    font-size: 12px;
    color: #667070;
    font-variant-numeric: tabular-nums;
}

.meets-empty-cell {
    text-align: center;
    color: #667070;
    padding: 28px 16px !important;
}

.meets-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meets-action-row--secondary {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #ece4da;
}

.meet-status-pill,
.meet-status-text {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
}

.meet-status-pill-ic,
.meet-status-text-ic {
    margin-right: 0;
    font-size: 10px;
    line-height: 1;
}

.meet-status-pill--prep,
.meet-status-text--prep {
    background: none;
    color: #667070;
    border: none;
}

.meet-status-pill--ongoing,
.meet-status-text--ongoing {
    background: none;
    color: #2A847C;
    border: none;
}

.meet-status-pill--reg,
.meet-status-text--reg {
    background: none;
    color: #2A847C;
    border: none;
}

.meet-status-pill--arr,
.meet-status-text--arr {
    background: none;
    color: #5C7A64;
    border: none;
}

.meet-status-pill--done,
.meet-status-text--done {
    background: none;
    color: #667070;
    border: none;
}

.meet-status-pill--idle,
.meet-status-text--idle {
    background: none;
    color: #b54708;
    border: none;
}

@media (max-width: 720px) {
    .meets-col-actions .meets-op-row {
        flex-wrap: wrap;
        white-space: normal;
    }

    .meets-list-table .meets-col-actions {
        min-width: 200px;
        width: auto;
    }
}

.mgr-team-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mgr-subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mgr-count-badge {
    background: #E6F0EE;
    color: #2A847C;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.mgr-pill-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #f2f4f7;
    border-radius: 999px;
    font-size: 12px;
    color: #667070;
}

.mgr-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.mgr-num-blue {
    background: #fff6ea;
    color: #6b4423;
}

.mgr-num-green {
    background: #F4F7F7;
    color: #2A847C;
}

/* 手动报名参赛队伍表：序号与数量列与表头居中对齐 */
.mgr-team-table th:nth-child(1),
.mgr-team-table td:nth-child(1),
.mgr-team-table th:nth-child(4),
.mgr-team-table td:nth-child(4),
.mgr-team-table th:nth-child(5),
.mgr-team-table td:nth-child(5) {
    text-align: center;
    vertical-align: middle;
}

.mgr-btn-muted {
    opacity: 0.85;
    pointer-events: none;
}

.mgr-excel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 12px;
}

@media (max-width: 960px) {
    .mgr-excel-grid {
        grid-template-columns: 1fr;
    }
}

.mgr-excel-panel {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3d9ce;
}

.mgr-excel-panel-head {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
}

.mgr-excel-panel-teal .mgr-excel-panel-head {
    background: linear-gradient(180deg, #5eead4 0%, #2dd4bf 100%);
    color: #134e4a;
}

.mgr-excel-panel-head-dark {
    background: #2B2B2B !important;
    color: #fff !important;
}

.mgr-excel-panel-gray .mgr-excel-panel-head {
    background: #ece4da;
    color: #2B2B2B;
}

.mgr-excel-panel-body {
    padding: 16px;
    background: #fff;
}

.mgr-excel-dl {
    margin-top: 12px;
}

.mgr-group-dl {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e3d9ce;
}

.mgr-group-dl-empty {
    margin: 0;
}

.mgr-group-dl-details {
    margin: 0;
}

.mgr-group-dl-summary {
    cursor: pointer;
    font-size: 14px;
    line-height: 1.45;
}

.mgr-group-dl-details-body {
    padding: 10px 0 2px;
}

.mgr-group-dl-sub {
    font-weight: 400;
    color: #667070;
    font-size: 12px;
}

.mgr-excel-dl-hint {
    margin: 0 0 10px;
    font-size: 13px;
}

.mgr-group-dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
    gap: 8px;
    margin: 0;
}

.mgr-group-dl-link {
    display: block;
    padding: 8px 10px;
    text-align: center;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    background: #fcf9f4;
    font-size: 13px;
    font-weight: 500;
    color: #1570ef;
    text-decoration: none;
    line-height: 1.25;
    word-break: break-all;
}

.mgr-group-dl-link:hover {
    background: #fff6ea;
    border-color: #A8D5CF;
    color: #6b4423;
}

.mgr-staging-form label span {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.mgr-staging-form .mgr-staging-file-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.mgr-staging-form .mgr-staging-file-name {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
}

.mgr-staging-file-input {
    color: transparent;
    max-width: 118px;
}

.mgr-staging-file-input::-webkit-file-upload-button,
.mgr-staging-file-input::file-selector-button {
    color: #1f2937;
    cursor: pointer;
}

.mgr-staging-file-name {
    font-size: 13px;
    color: #94a3b8;
    word-break: break-all;
}

.mgr-staging-file-name.is-picked {
    color: #2563eb;
    font-weight: 600;
}

.mgr-staging-btn-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

.mgr-staging-more-item {
    flex: 1 1 180px;
    min-width: 160px;
}

.mgr-staging-replace {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 14px;
    font-size: 13px;
    color: #4a5568;
    line-height: 1.45;
    cursor: pointer;
}

.mgr-staging-replace input {
    margin-top: 3px;
    flex-shrink: 0;
}

.mgr-staging-replace-note {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
}

.mgr-staging-main-btn {
    min-width: 160px;
}

.mgr-staging-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.mgr-staging-more {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #e3d9ce;
}

.mgr-staging-more > summary {
    cursor: pointer;
    color: #64748b;
    font-size: 13px;
    user-select: none;
}

.mgr-staging-more-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mgr-staging-table {
    margin-top: 20px;
    overflow-x: auto;
}

.mgr-staging-table table {
    width: 100%;
    table-layout: fixed;
}

.mgr-staging-table th,
.mgr-staging-table td {
    vertical-align: top;
    padding: 8px 10px;
}

.mgr-staging-table th:nth-child(1),
.mgr-staging-table td:nth-child(1) { width: 7%; white-space: nowrap; }
.mgr-staging-table th:nth-child(2),
.mgr-staging-table td:nth-child(2) { width: 12%; white-space: nowrap; }
.mgr-staging-table th:nth-child(3),
.mgr-staging-table td:nth-child(3) { width: 12%; white-space: nowrap; }
.mgr-staging-table th:nth-child(4),
.mgr-staging-table td:nth-child(4) { width: 7%; white-space: nowrap; }
.mgr-staging-table th:nth-child(5),
.mgr-staging-table td:nth-child(5) { width: 10%; white-space: nowrap; }
.mgr-staging-table th:nth-child(6),
.mgr-staging-table td:nth-child(6) { width: 18%; word-break: break-word; }
.mgr-staging-table th:nth-child(7),
.mgr-staging-table td:nth-child(7) { width: 6%; white-space: nowrap; }
.mgr-staging-table th:nth-child(8),
.mgr-staging-table td:nth-child(8) {
    width: 28%;
    max-width: 280px;
    font-size: 12px;
    line-height: 1.45;
    word-break: break-word;
    white-space: normal;
}

.mgr-staging-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.mgr-staging-preview-head .mgr-subtitle {
    margin: 0;
}

.mgr-staging-commit-btn.btn.btn-primary,
.gb-admin-app .mgr-staging-commit-btn.btn.btn-primary {
    background: #16a34a !important;
    color: #fff !important;
    border: 1.5px solid #15803d !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(22, 101, 52, 0.18) !important;
    filter: none !important;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.mgr-staging-commit-btn.btn.btn-primary:hover,
.mgr-staging-commit-btn.btn.btn-primary:focus,
.mgr-staging-commit-btn.btn.btn-primary:focus-visible,
.gb-admin-app .mgr-staging-commit-btn.btn.btn-primary:hover,
.gb-admin-app .mgr-staging-commit-btn.btn.btn-primary:focus,
.gb-admin-app .mgr-staging-commit-btn.btn.btn-primary:focus-visible {
    background: #15803d !important;
    color: #fff !important;
    border-color: #166534 !important;
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.28) !important;
    filter: none !important;
}

.mgr-staging-commit-btn.btn.btn-primary:active,
.gb-admin-app .mgr-staging-commit-btn.btn.btn-primary:active {
    background: #166534 !important;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(22, 101, 52, 0.2) !important;
}

.mgr-row-err {
    background: #fef3f2;
}

.mgr-help {
    margin-top: 18px;
    padding: 12px 16px;
}

.mgr-help-sum {
    cursor: pointer;
    font-size: 14px;
}

.mgr-help-body {
    padding: 10px 0 4px;
    font-size: 13px;
    color: #667070;
    line-height: 1.6;
}

.mgr-excel-lead {
    margin-top: 0;
}

/* 赛前管理（报名统计、领队教练、号码布、编排引导、秩序册、锁定） */
.pm-page-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2a1f18;
    margin: 0 0 12px;
}

.pm-page-title.pm-page-title--program-hub {
    padding-left: 4px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.pm-subtitle {
    margin: -8px 0 20px;
    color: #667070;
    font-size: 14px;
}

.pm-meet-bar {
    margin-bottom: 16px;
}

/* 秩序册页：代表队排序策略（紧凑表格与说明间距） */
.pm-order-sort h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #2a1f18;
}

.pm-order-sort-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.pm-order-sort-head h2 {
    margin: 0;
}

.pm-order-sort-help-link {
    border: 0;
    background: none;
    padding: 0;
    color: #2A847C;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.pm-order-sort-explain {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.65;
    color: #2B2B2B;
}

.pm-order-sort-explain ul {
    margin: 0 0 8px;
    padding-left: 1.2em;
}

.pm-order-sort-explain p {
    margin: 0 0 8px;
}

.pm-order-sort-modal[hidden] {
    display: none !important;
}

.pm-order-sort-modal {
    position: fixed;
    inset: 0;
    z-index: 10080;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43, 43, 43, 0.45);
    padding: 16px;
}

.pm-order-sort-modal__box {
    width: min(560px, 92vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(43, 43, 43, 0.18);
    padding: 18px 20px 16px;
}

.pm-order-sort-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pm-order-sort-modal__head h3 {
    margin: 0;
    font-size: 16px;
}

.pm-order-sort-modal__x {
    border: 0;
    background: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #667070;
}

.pm-order-sort-modal__body {
    font-size: 14px;
    line-height: 1.65;
    color: #2B2B2B;
}

.pm-order-sort-modal__body ul {
    margin: 0 0 8px;
    padding-left: 1.2em;
}

.pm-order-sort-modal__body p {
    margin: 0 0 8px;
}

.pm-order-sort .table-card {
    padding: 10px 12px;
}

.pm-order-sort .pm-table th,
.pm-order-sort .pm-table td {
    padding: 6px 10px;
    vertical-align: middle;
}

.pm-order-sort .pm-table th {
    font-size: 13px;
}

.pm-order-sort .pm-table td:first-child {
    width: 38%;
    max-width: 12rem;
    font-weight: 500;
    color: #2B2B2B;
}

.pm-order-sort .table-card select {
    width: 100%;
    max-width: 260px;
    padding: 6px 10px;
    min-height: 0;
    font-size: 14px;
}

.pm-order-sort form > .btn {
    margin-top: 10px;
}

.pm-order-sort form > .btn.btn-sm {
    font-weight: 700;
}

.pm-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.pm-stat-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pm-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e6ddd4;
    border-radius: 10px;
}

.pm-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: #f2f4f7;
    flex: 0 0 44px;
}

.pm-stat-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.pm-stat-icon-blue {
    background: #e0edff;
    color: #3B82F6;
}

.pm-stat-icon-green {
    background: #E6F0EE;
    color: #2A847C;
}

.pm-stat-icon-amber {
    background: #fef3c7;
    color: #D97706;
}

.pm-stat-icon-purple {
    background: #ede9fe;
    color: #7C3AED;
}

.pm-stat-icon-cyan {
    background: #d5f5f6;
}

.pm-stat-body strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
}

.pm-stat-body span {
    font-size: 13px;
    color: #667070;
}

.pm-section {
    margin-bottom: 18px;
}

.pm-stats-pair {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 18px;
}

.pm-stats-pair .pm-section {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    padding: 12px 14px;
}

.pm-stats-pair .pm-section-head {
    margin-bottom: 8px;
    gap: 8px;
}

.pm-stats-pair .pm-section-head h2 {
    font-size: 15px;
}

.pm-stats-pair .pm-section-exports {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pm-stats-pair .table-card {
    overflow: auto;
    max-height: 68vh;
    border: none;
    box-shadow: none;
    margin: 0;
}

.pm-stats-pair .pm-table {
    font-size: 12px;
    width: 100%;
}

.pm-stats-pair .pm-table th,
.pm-stats-pair .pm-table td {
    padding: 5px 6px;
    line-height: 1.35;
    white-space: nowrap;
}

.pm-stats-pair .pm-table td.pm-bib-cell {
    max-width: 7.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1180px) {
    .pm-stats-pair {
        flex-direction: column;
    }
    .pm-stats-pair .table-card {
        max-height: none;
    }
}

/* 秩序册页：文档导出（左条板块 + 三列表，避免与竞品四列表/绿线/左按钮同构） */
.pm-od-hub.card,
.page-admin-shell .pm-od-hub.card.pm-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    border-radius: 0;
}

.pm-od-hub {
    margin-bottom: 8px;
}

.pm-od-hub-sec {
    margin-top: 28px;
    padding: 16px 18px 10px;
    background: #f6faf8;
    border: 1px solid #cfdcd6;
    border-left: 4px solid #2A847C;
    border-radius: 4px;
}

.pm-od-hub-sec:first-of-type {
    margin-top: 4px;
}

.pm-od-hub-sec-head {
    display: block;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #2f6f62;
}

.pm-od-hub-sec-ic {
    display: none;
}

.pm-od-hub .table-card.pm-od-hub-table-wrap {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pm-od-hub-table-wrap {
    overflow-x: auto;
}

.pm-od-hub-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    table-layout: fixed;
    background: #fff;
    border: 1px solid #c5ddd6;
}

.pm-od-hub-table th,
.pm-od-hub-table td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #d7e6e1;
    vertical-align: top;
    text-align: left;
}

.pm-od-hub-table tbody tr:last-child td {
    border-bottom: 0;
}

.pm-od-hub-table thead th {
    background: #e8f3ef;
    font-weight: 600;
    font-size: 12px;
    color: #2f6f62;
    white-space: nowrap;
    border-bottom: 2px solid #b7d4cb;
}

.pm-od-hub-th-name {
    width: 22%;
}

.pm-od-hub-th-desc {
    width: auto;
}

.pm-od-hub-th-act {
    width: 7.5rem;
    text-align: right !important;
}

.pm-od-hub-table tbody tr:nth-child(even) {
    background: #fff;
}

.pm-od-hub-table tbody tr:hover {
    background: #f0f9f6;
}

.pm-od-hub-td-name {
    width: 22%;
    min-width: 10rem;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.pm-od-hub-td-name strong {
    font-weight: 600;
    color: #243b36;
}

.pm-od-hub-td-desc {
    width: auto;
    color: #5b6d69;
    line-height: 1.6;
    font-size: 13px;
    min-width: 0;
    word-break: break-word;
}

.pm-od-hub-td-desc--pick,
.pm-od-hub-table tr:has(.pm-od-hub-td-desc--pick) > td {
    vertical-align: top;
}

.pm-ob-pick {
    color: #243b36;
    font-size: 13px;
    line-height: 1.7;
}

.pm-ob-pick__label {
    margin: 8px 0 4px;
    font-weight: 700;
}

.pm-ob-pick__label:first-child {
    margin-top: 0;
}

.pm-ob-pick__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.pm-ob-pick__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.pm-ob-pick__item input[type="checkbox"],
.pm-ob-pick__item input[type="radio"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 16px !important;
    border: 1.5px solid #C5CDCD !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
    vertical-align: middle !important;
    cursor: pointer;
}

.pm-ob-pick__item input[type="checkbox"]:hover,
.pm-ob-pick__item input[type="radio"]:hover {
    border-color: #2A847C !important;
}

.pm-ob-pick__item input[type="checkbox"]:checked,
.pm-ob-pick__item input[type="radio"]:checked {
    border-color: #2A847C !important;
    background-color: #2A847C !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.2 6.1-6.5'/%3E%3C/svg%3E") !important;
}

.pm-ob-pick__item input:focus-visible {
    outline: 2px solid rgba(42, 132, 124, 0.35);
    outline-offset: 1px;
}

.pm-ob-pick__note {
    margin: 10px 0 0;
    color: #5b6d69;
    line-height: 1.65;
}

.pm-ob-pick__blocked {
    margin: 0 0 8px;
    color: #8a5a12;
    line-height: 1.55;
}

.pm-od-hub-td-act {
    width: 7.5rem;
    text-align: right;
    vertical-align: middle;
}

.pm-od-hub-act {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 4.75rem;
    margin-left: auto;
    gap: 6px;
}

.gb-admin-app .pm-od-hub .btn.btn-primary.pm-od-hub-fn:not(.meets-next-btn),
.pm-od-hub .pm-od-hub-fn.btn.btn-primary.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 4.75rem;
    min-width: 4.75rem;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 6px !important;
    background: #2f6f62 !important;
    color: #fff !important;
    border: 1px solid #2f6f62 !important;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none !important;
}

.gb-admin-app .pm-od-hub .btn.btn-primary.pm-od-hub-fn:not(.meets-next-btn):hover,
.gb-admin-app .pm-od-hub .btn.btn-primary.pm-od-hub-fn:not(.meets-next-btn):focus,
.pm-od-hub .pm-od-hub-fn.btn.btn-primary.btn-sm:hover {
    background: #24574d !important;
    color: #fff !important;
    border-color: #24574d !important;
}

.pm-od-hub-fn--dis {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.pm-od-hub-badge {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    line-height: 1.3;
    background: transparent !important;
    color: #7a8c88 !important;
}

.pm-od-hub .pm-od-hub-table tbody td.pm-od-hub-td-act .pm-od-hub-badge.pm-od-hub-badge--pending {
    background: transparent !important;
    color: #7a8c88 !important;
    border: 0 !important;
}

.pm-od-hub .pm-od-hub-table tbody td.pm-od-hub-td-act .pm-od-hub-badge.pm-od-hub-badge--done {
    background: transparent !important;
    color: #2f6f62 !important;
    border: 0 !important;
}

.pm-od-hub .pm-od-hub-table tbody td.pm-od-hub-td-act .pm-od-hub-badge.pm-od-hub-badge--na {
    background: transparent !important;
    color: #9aaeaa !important;
    border: 0 !important;
}

.pm-od-hub-footnote {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #667070;
}

/* 秩序册嵌入：仅显示秩序册主体（无侧栏壳） */
body.order-book-embed button.gb-sb-expand-fab,
body.meet-program-regs-embed button.gb-sb-expand-fab {
    display: none !important;
}

body.order-book-embed main.page,
body.meet-program-regs-embed main.page {
    max-width: none;
    padding: 12px 16px 24px;
}

/* 嵌入页不显示全站页脚（系统名、一期目标、底部导航） */
body.order-book-embed footer.footer,
body.meet-program-regs-embed footer.footer,
body.mpp-print-pick-embed footer.footer,
body.mras-sheet-embed footer.footer {
    display: none !important;
}

/* 检录单项目选择嵌入（弹窗）：无侧栏顶条壳，仅主体 */
body.mpp-print-pick-embed button.gb-sb-expand-fab,
body.mras-sheet-embed button.gb-sb-expand-fab {
    display: none !important;
}

body.mpp-print-pick-embed {
    overflow-x: hidden;
    max-width: 100%;
}

body.mpp-print-pick-embed .topbar--public,
body.mpp-print-pick-embed header.topbar {
    display: none !important;
}

body.mpp-print-pick-embed .gb-admin-sidebar,
body.mpp-print-pick-embed .gb-admin-strip,
body.mpp-print-pick-embed .gb-sb-expand-fab {
    display: none !important;
}

body.mpp-print-pick-embed main.page,
body.mras-sheet-embed main.page {
    max-width: none;
    padding: 12px 16px 24px;
    overflow-x: hidden;
}

.mpp-print-pick-embed-shell {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

body.mpp-print-pick-embed .mpp-page {
    max-width: 100%;
}

body.mpp-print-pick-embed .mpp-table-wrap {
    overflow-x: hidden;
}

body.mpp-print-pick-embed .mpp-table {
    table-layout: fixed;
    width: 100%;
}

body.meet-program-regs-embed .pm-regs-embed-wrap {
    padding-top: 4px;
}

.pm-od-hub-preview__frame--regs-embed {
    min-height: min(58vh, 620px);
}

/* 赛中管理页（单页多模块） */
.during-hub-meet {
    margin-bottom: 10px;
}

.during-hub-form .during-hub-mod {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e3d9ce;
}

.during-hub-form .during-hub-mod:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.during-hub-mod--links .during-hub-actions {
    flex-wrap: wrap;
}

.during-hub-mod-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #2a1f18;
}

.during-hub-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.during-hub-field > span:first-child {
    font-weight: 600;
    font-size: 13px;
    color: #4a3f36;
}

.during-hub-field input[type="text"],
.during-hub-field textarea {
    width: 100%;
    max-width: 52rem;
    box-sizing: border-box;
}

.during-hub-submit {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e3d9ce;
}

/* 与客户端数据同步（meet_client_sync） */
.mcs-page {
    max-width: 920px;
    margin: 0 auto;
}

.mcs-hero {
    position: relative;
    border-radius: 16px;
    padding: 28px 24px 26px;
    background: linear-gradient(135deg, #1d7afc 0%, #0b5bd3 48%, #0a4bb8 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 76, 180, 0.22);
    overflow: hidden;
}

.mcs-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
    background-size: 18px 18px;
    opacity: 0.45;
    pointer-events: none;
}

.mcs-hero-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.mcs-hero-title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mcs-hero-desc {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 46rem;
    line-height: 1.65;
    font-size: 14px;
    opacity: 0.95;
}

.mcs-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.55;
}

.mcs-alert--info {
    background: #fff6ea;
    border-color: #ecd4b8;
    color: #0f355a;
}

.mcs-alert--user {
    background: #F4F7F7;
    border-color: #C5DDD4;
    color: #054f31;
}

.mcs-alert-ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1d7afc;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mcs-alert--user .mcs-alert-ico {
    background: #1e63d9;
    font-size: 12px;
    font-weight: 600;
}

.mcs-alert-title {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.mcs-alert-list {
    margin: 0;
    padding-left: 1.15rem;
}

.mcs-alert-list li {
    margin-bottom: 6px;
}

.mcs-alert-list li:last-child {
    margin-bottom: 0;
}

.mcs-user-line {
    margin: 4px 0 0;
    font-size: 14px;
}

.mcs-user-line span {
    color: #667070;
    margin-right: 8px;
}

.mcs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mcs-tab {
    border: 1px solid #dfc4ae;
    background: #fff;
    color: #2B2B2B;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mcs-tab.is-active {
    background: #2A847C;
    border-color: #2A847C;
    color: #fff;
}

.mcs-tab-panel.is-hidden {
    display: none;
}

.mcs-card {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.mcs-card-title {
    margin: 0 0 14px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2B2B2B;
}

.mcs-card-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fef3c7;
    color: #b45309;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mcs-card-ico--faq {
    background: #fff6ea;
    color: #6b4423;
}

.mcs-table-wrap {
    overflow-x: auto;
    border: 1px solid #e3d9ce;
    border-radius: 10px;
}

.mcs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mcs-table th,
.mcs-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f2f4f7;
}

.mcs-table thead th {
    background: #fcf9f4;
    font-weight: 600;
    color: #667070;
}

.mcs-table tbody tr:last-child td {
    border-bottom: none;
}

.mcs-th-narrow {
    width: 64px;
    text-align: center;
}

.mcs-radio-wrap {
    display: flex;
    justify-content: center;
}

.mcs-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #f2f4f7;
    color: #2B2B2B;
}

.mcs-badge--ok {
    background: #F4F7F7;
    color: #2A847C;
}

.mcs-badge--info {
    background: #fff6ea;
    color: #6b4423;
}

.mcs-badge--muted {
    background: #f2f4f7;
    color: #667070;
}

.mcs-card-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mcs-btn-export {
    min-width: 160px;
}

.mcs-file-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: #2B2B2B;
    margin-bottom: 8px;
}

.mcs-file-label input[type="file"] {
    font-size: 13px;
}

.mcs-faq {
    margin-top: 20px;
}

.mcs-faq-item {
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    padding: 0 12px;
    margin-bottom: 10px;
    background: #fff;
}

.mcs-faq-item summary {
    cursor: pointer;
    padding: 12px 4px;
    font-weight: 600;
    color: #2B2B2B;
    list-style: none;
}

.mcs-faq-item summary::-webkit-details-marker {
    display: none;
}

.mcs-faq-item summary::after {
    content: "⌄";
    float: right;
    color: #98a2b3;
    font-size: 14px;
    transform: translateY(-2px);
}

.mcs-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.mcs-faq-item p {
    margin: 0 4px 12px;
    padding-top: 0;
    color: #667070;
    font-size: 14px;
    line-height: 1.6;
}

/* 打印检录单入口（meet_print_checkin） */
.mpc-page {
    max-width: 960px;
    margin: 0 auto;
}

.mpc-hero {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 22px 20px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(90deg, #2A847C 0%, #2A847C 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(9, 88, 217, 0.25);
}

.mpc-hero--solo {
    border-radius: 14px;
}

.mpc-hero-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpc-hero-text {
    min-width: 0;
    flex: 1;
}

.mpc-hero-title-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.mpc-hero-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.mpc-hero-side {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.92;
    line-height: 1.35;
    white-space: nowrap;
}

.mpc-hero-sub {
    margin: 0;
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.55;
}

.mpc-warn {
    margin-top: 16px;
}

.mpc-shell {
    margin-top: 0;
    padding: 20px 18px 22px;
    background: #f4f7f9;
    border-radius: 0 0 14px 14px;
    border: 1px solid #e3d9ce;
    border-top: none;
}

.mpc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .mpc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .mpc-grid {
        grid-template-columns: 1fr;
    }
}

.mpc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    text-decoration: none;
    color: #2B2B2B;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.mpc-card:hover {
    border-color: #A8D5CF;
    box-shadow: 0 4px 14px rgba(22, 119, 255, 0.12);
    transform: translateY(-1px);
}

.mpc-card-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid #2A847C;
    color: #2A847C;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFA;
}

.mpc-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.mpc-lock-banner {
    margin-top: 16px;
    margin-bottom: 0;
    color: #7a2e0e;
    background: #fffaeb;
    border-color: #f5d49a;
}

.mpc-lock-banner__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mpc-lock-banner__text {
    flex: 1;
    min-width: 0;
}

.mpc-lock-banner__title {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.mpc-lock-banner__sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.95;
}

.mpc-lock-banner__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.mpc-lock-banner__cta-ico {
    display: inline-flex;
    line-height: 0;
}

.mpp-lock-banner {
    margin-bottom: 14px;
}

.mpc-card--disabled {
    cursor: not-allowed;
    opacity: 0.68;
    pointer-events: none;
    box-shadow: none;
}

.mpc-card--disabled:hover {
    border-color: #e3d9ce;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transform: none;
}

.mpc-card--disabled .mpc-card-ico {
    border-color: #c9cdd4;
    color: #8f959e;
    background: #f5f5f5;
}

.mpc-card-title--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.mpc-card-lock-ico {
    flex-shrink: 0;
    display: inline-flex;
    color: #8f959e;
    line-height: 0;
}

.mpc-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 13px;
    color: #667070;
    line-height: 1.55;
}

.mpc-hint-ico {
    flex-shrink: 0;
    color: #2A847C;
    font-weight: 700;
}

.mpc-hint--subtle {
    margin-top: 10px;
    font-size: 12px;
    color: #667070;
}

.mpc-faq {
    margin-top: 20px;
    padding: 16px 16px 8px;
}

.mpc-faq-head {
    margin: 0 0 12px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2B2B2B;
}

.mpc-faq-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F4F7F7;
    color: #2A847C;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mpc-faq-item {
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    padding: 0 12px;
    margin-bottom: 10px;
    background: #fff;
}

.mpc-faq-item summary {
    cursor: pointer;
    padding: 12px 4px;
    font-weight: 600;
    color: #2B2B2B;
    list-style: none;
}

.mpc-faq-item summary::-webkit-details-marker {
    display: none;
}

.mpc-faq-item summary::after {
    content: "⌄";
    float: right;
    color: #98a2b3;
    font-size: 14px;
}

.mpc-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.mpc-faq-body {
    padding: 0 4px 12px;
    color: #667070;
    font-size: 14px;
    line-height: 1.6;
}

.mpc-faq-body p {
    margin: 0 0 8px;
}

.mpc-faq-body ul {
    margin: 0;
    padding-left: 1.2rem;
}

.mpc-faq-body li {
    margin-bottom: 6px;
}

/* 检录单分类勾选页（meet_print_checkin_pick） */
.mpp-page {
    max-width: 1100px;
    margin: 0 auto;
}

.mpp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.mpp-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2B2B2B;
    flex: 1 1 280px;
}

.mpp-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mpp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #2B2B2B;
    box-shadow: 0 1px 4px rgba(16, 24, 40, 0.1);
}

.mpp-btn-ico {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mpp-btn--green {
    background: linear-gradient(180deg, #5b8ed4 0%, #1e63d9 100%);
    color: #fff;
}

.mpp-btn--amber {
    background: linear-gradient(180deg, #ffd666 0%, #d48806 100%);
    color: #1a1a1a;
}

.mpp-btn--sky {
    background: linear-gradient(180deg, #91d5ff 0%, #40a9ff 100%);
    color: #0b1f33;
}

.mpp-btn--export:hover {
    filter: brightness(1.05);
}

.mpp-btn--locked-out,
.mpp-btn--export:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.2);
    box-shadow: none;
}

.mpp-btn--export:disabled:hover {
    filter: grayscale(0.2);
}

.mpp-card {
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.mpp-card-cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(90deg, #2A847C 0%, #2A847C 100%);
    color: #fff;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 15px;
}

.mpp-card-cap-title {
    flex: 0 1 auto;
}

.mpp-global-sel {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    padding: 0;
    border-bottom: none;
}

.mpp-card-cap .mpp-global-sel .btn.btn-sm {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    min-height: 32px;
    height: 32px;
    color: #2A847C;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: none;
    cursor: pointer;
}

.mpp-card-cap .mpp-global-sel .btn.btn-sm:hover:not(:disabled) {
    color: #5d3a1f;
    background: #f2dcc2;
    border-color: #c79f79;
}

.mpp-card-cap .mpp-global-sel .btn.btn-sm:active:not(:disabled) {
    color: #6b4423;
    background: #edc48c;
    border-color: #b88858;
    transform: translateY(1px);
}

.mpp-card-cap .mpp-global-sel .btn.btn-sm:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.mpp-card-cap .mpp-global-sel .btn.btn-sm:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mpp-session-block {
    border-bottom: 1px solid #e3d9ce;
}

.mpp-session-block:last-of-type {
    border-bottom: none;
}

.mpp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f2f4f7;
    background: #fafafa;
}

.mpp-session {
    flex: 1 1 200px;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.mpp-toolbar-btns {
    display: flex;
    gap: 8px;
}

.mpp-toolbar-btns .btn.btn-sm {
    min-height: 32px;
    height: 32px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.mpp-foot-disabled {
    color: #98a2b3;
    cursor: not-allowed;
}

.mpp-count {
    margin-left: auto;
    background: #F4F7F7;
    color: #2A847C;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.mpp-empty {
    padding: 16px;
}

.mpp-empty-compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 16px 12px;
    padding: 14px 16px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    color: #5c4a21;
}

.mpp-empty-compact__ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 4px;
    background: #faad14;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.mpp-empty-compact__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #3d2f12;
    margin-bottom: 6px;
}

.mpp-empty-compact__sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5c4a21;
}

.mpp-empty-compact-foot {
    margin: 0 16px 16px;
    font-size: 13px;
}

.mpp-empty-compact-foot a {
    font-weight: 600;
}

.mpp-empty-sub {
    margin-top: 6px;
    padding-top: 0;
    padding-bottom: 0;
}

.mpp-empty-list {
    margin: 8px 0 12px 20px;
    padding: 0;
    font-size: 13px;
    color: #667070;
    line-height: 1.55;
}

.mpp-empty-links li {
    margin: 4px 0;
}

.mpp-table-wrap {
    overflow-x: auto;
}

.mpp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mpp-table th,
.mpp-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f2f4f7;
    text-align: center;
}

.mpp-table thead th {
    background: #fcfcfd;
    font-weight: 600;
    color: #667070;
}

.mpp-table tbody tr:hover {
    background: #fafafa;
}

.mpp-table tbody tr:has(.mpp-pick:checked) td {
    background: #b9d0f4;
}

.mpp-table tbody tr:has(.mpp-pick:checked):hover td {
    background: #a6c3ef;
}

.mpp-th-check,
.mpp-td-check {
    width: 44px;
}

.mpp-foot-tip {
    margin-top: 14px;
}

body.mpp-export-progress--lock {
    overflow: hidden;
}

.mpp-export-progress {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.mpp-export-progress[hidden] {
    display: none !important;
}

.mpp-export-progress__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.45);
}

.mpp-export-progress__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(43, 43, 43, 0.22);
    overflow: hidden;
}

.mpp-export-progress__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #2A847C 0%, #2A847C 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.mpp-export-progress__sync {
    display: inline-flex;
    opacity: 0.95;
    animation: mpp-export-spin 1.1s linear infinite;
}

@keyframes mpp-export-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mpp-export-progress__body {
    padding: 18px 20px 16px;
}

.mpp-export-progress__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #2B2B2B;
}

.mpp-export-progress__badge {
    flex-shrink: 0;
    min-width: 44px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F4F7F7;
    color: #2A847C;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.mpp-export-progress__bar-outer {
    height: 22px;
    border-radius: 999px;
    background: #f2f4f7;
    overflow: hidden;
    margin-bottom: 14px;
}

.mpp-export-progress__bar-inner {
    height: 100%;
    min-width: 0;
    max-width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #35988F 0%, #2A847C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.12s ease-out;
    box-sizing: border-box;
}

.mpp-export-progress__bar-inner span {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    padding: 0 8px;
}

.mpp-export-progress__detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #667070;
    line-height: 1.45;
    margin-bottom: 14px;
}

.mpp-export-progress__arrow {
    flex-shrink: 0;
    color: #2A847C;
    font-size: 12px;
    margin-top: 2px;
}

.mpp-export-progress__foot {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #667070;
    padding-top: 4px;
    border-top: 1px solid #f2f4f7;
}

.mpp-export-progress__foot strong {
    color: #2B2B2B;
    font-weight: 700;
}

@media (max-width: 900px) {
    .mpp-head {
        flex-direction: column;
    }

    .mpp-head-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.gb-sb-panel--during .gb-sb-item--during-link .gb-sb-item-title {
    font-size: 14px;
}

body.order-book-embed,
body.order-book-embed .ob-doc,
body.order-book-embed .ob-doc p,
body.order-book-embed .ob-doc h2,
body.order-book-embed .ob-doc h3,
body.order-book-embed .card p,
body.order-book-embed #ob-roster p,
body.order-book-embed .ob-roster-unit-title,
body.order-book-embed .ob-roster-staff-line,
body.order-book-embed .ob-roster-staff-label,
body.order-book-embed .ob-roster-gender-head,
body.order-book-embed .ob-sheet-main-title,
body.order-book-embed .tip {
    color: #111111 !important;
}

body.order-book-embed {
    background: #ffffff;
    color: #111111;
}

body.order-book-embed main.page {
    background: #ffffff;
}

body.order-book-embed #ob-roster.card {
    background: #ffffff;
    box-shadow: none;
    border: none;
}

body.order-book-embed .ob-sheet-main-title--doc-top {
    background: #ffffff;
}

.order-book-embed-shell {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
}

.order-book-embed-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.order-book-embed-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2a1f18;
}

/* 秩序册下载中心：弹窗预览 */
body.pm-od-hub-preview--lock {
    overflow: hidden;
}

.pm-od-hub-preview {
    position: fixed;
    inset: 0;
    z-index: 40000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 16px 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.pm-od-hub-preview.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.pm-od-hub-preview__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(45, 32, 22, 0.48);
    cursor: pointer;
}

.pm-od-hub-preview__dlg {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1120px);
    height: min(860px, calc(100vh - 92px));
    max-height: calc(100vh - 92px);
    background: #2A847C;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(43, 43, 43, 0.28);
    border: 0;
    overflow: hidden;
}

.pm-od-hub-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    min-height: 40px;
    padding: 6px 12px;
    margin: 0;
    border: 0;
    border-bottom: 0;
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.pm-od-hub-preview__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    padding-right: 8px;
}

.pm-od-hub-preview__x {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
}

.pm-od-hub-preview__x:hover {
    background: rgba(255, 255, 255, 0.32);
}

.pm-od-hub-preview__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    position: relative;
}

.pm-od-hub-preview__wait {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #fff;
    color: #667070;
    font-size: 15px;
    line-height: 1.6;
}

.pm-od-hub-preview__wait[hidden] {
    display: none;
}

.pm-od-hub-preview__frame {
    flex: 1;
    width: 100%;
    min-height: 200px;
    border: 0;
    background: #fff;
}

.pm-od-hub-preview__hint {
    flex-shrink: 0;
    margin: 0;
    padding: 8px 14px;
    font-size: 12px;
    line-height: 1.5;
    color: #111111;
    background: #F8FAFA;
    border-top: 1px solid #D9E4E2;
}

.pm-od-hub-preview__hint-sub {
    display: block;
    margin-top: 6px;
}

.pm-od-hub-preview__hint-link {
    font-weight: 600;
    color: #8b633f;
    text-decoration: underline;
}

.pm-od-hub-preview__hint-link:hover {
    color: #1F655E;
}

.pm-od-hub-preview__foot {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid #D9E4E2;
    background: #fff;
}

@media (max-width: 900px) {
    .pm-od-hub-table {
        table-layout: auto;
        min-width: 32rem;
    }

    .pm-od-hub-th-name,
    .pm-od-hub-td-name {
        width: auto;
        max-width: 12rem;
    }

    .pm-od-hub-th-act,
    .pm-od-hub-td-act {
        width: auto;
        white-space: nowrap;
    }
}

/* 竞赛规程表单区（原下载中心嵌入，现多在独立页展示） */
/* 下载中心「秩序册框架」嵌入：目录卡片（位于竞赛规程表单上方） */
.pm-hub-framework-toc {
    margin-bottom: 16px;
    padding: 14px 16px 16px;
    border: 1px solid #c5d4e6;
    border-radius: 12px;
    background: linear-gradient(180deg, #f5f9ff 0%, #fff 42%);
    box-shadow: 0 1px 3px rgba(15, 37, 71, 0.06);
}

.pm-hub-framework-toc__h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.12em;
    color: #2B2B2B;
}

.pm-hub-framework-toc__note {
    margin: 0 0 10px !important;
    text-align: center;
    font-size: 12px;
}

.pm-hub-framework-toc__table-wrap {
    overflow: auto;
    border-radius: 8px;
    border: 1px solid #D9E4E2;
    background: #fff;
}

.pm-hub-framework-toc__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pm-hub-framework-toc__table th,
.pm-hub-framework-toc__table td {
    border: 1px solid #D9E4E2;
    padding: 8px 10px;
    vertical-align: middle;
}

.pm-hub-framework-toc__td-content {
    vertical-align: baseline;
}

.pm-hub-framework-toc__td-content--depth-0 .pm-hub-framework-toc__title {
    font-weight: 650;
    color: #2B2B2B;
}

.pm-hub-framework-toc__td-content--depth-1 .pm-hub-framework-toc__line {
    padding-left: 1.15em;
}

.pm-hub-framework-toc__td-content--depth-2 .pm-hub-framework-toc__line {
    padding-left: 2.35em;
}

.pm-hub-framework-toc__td-content--depth-3 .pm-hub-framework-toc__line {
    padding-left: 3.55em;
}

.pm-hub-framework-toc__line {
    display: flex;
    align-items: baseline;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pm-hub-framework-toc__title {
    flex: 0 1 auto;
    max-width: 100%;
    text-align: left;
    line-height: 1.45;
}

.pm-hub-framework-toc__dots {
    flex: 1 1 auto;
    min-width: 14px;
    border-bottom: 1px dotted #98a2b3;
    margin: 0 8px 4px;
    height: 0;
}

.pm-hub-framework-toc__th-content {
    width: 72%;
}

.pm-hub-framework-toc__th-page {
    width: 28%;
    text-align: center;
}

.pm-hub-framework-toc__page {
    text-align: center;
    color: #667070;
    white-space: nowrap;
}

.pm-hub-framework-toc__table thead th {
    background: #eef4fc;
    font-weight: 700;
    text-align: center;
}

.pm-od-hub-reg-embed {
    margin-top: 20px;
    padding: 16px 18px 18px;
    border: 1px solid #e3d9ce;
    border-radius: 12px;
    background: #fafafa;
    scroll-margin-top: 88px;
}

.pm-reg-back-row {
    margin: 0 0 16px;
}

.pm-od-hub-reg-title {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #2a1f18;
}

.pm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.pm-section-head h2 {
    margin: 0;
    font-size: 1.1rem;
}

.pm-table th {
    background: #faf7f2;
    font-weight: 600;
}

/* 报名统计：男子/女子号码列允许换行，避免长列表撑破版面 */
.pm-table td.pm-bib-cell {
    max-width: min(36rem, 48vw);
    white-space: normal;
    word-break: break-word;
    vertical-align: top;
    line-height: 1.45;
    font-variant-numeric: tabular-nums;
}

.pm-inline-actions {
    margin-bottom: 10px;
}

.pm-action-row {
    flex-wrap: wrap;
    gap: 10px;
}

.pm-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e0edff;
    color: #6b4423;
    font-size: 13px;
}

.pm-pill-blue {
    background: #e0edff;
    color: #6b4423;
}

.pm-input {
    width: 100%;
    max-width: 220px;
    padding: 6px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    font-size: 14px;
}

.pm-bib-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid #e6ddd4;
}

.pm-bib-tab {
    display: inline-block;
    padding: 12px 20px;
    margin-bottom: -2px;
    font-size: 15px;
    font-weight: 600;
    color: #667070;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
}

.pm-bib-tab:hover {
    color: #6b4423;
    background: #faf7f2;
}

.pm-bib-tab.is-active {
    color: #6b4423;
    border-bottom-color: #6b4423;
    background: #fff;
}

.pm-bib-tab-lead {
    margin: -4px 0 16px;
    max-width: 52rem;
}

.pm-bib-tab-lead,
.pm-bib-range-mode-p,
.pm-bib-range-bullets,
.pm-bib-range-digits .pm-field .pm-bib-field-hint,
.pm-bib-radio-sub,
.pm-bib-unit-table-hint,
.pm-bib-mode-tip,
.pm-bib-autosave-hint {
    font-size: 14px;
    line-height: 1.55;
}

.pm-bib-oneclick-wrap {
    margin: 0 0 22px;
}

.pm-bib-oneclick-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #2B2B2B;
}

.pm-bib-oneclick-desc {
    margin: 0 0 14px;
    max-width: 48rem;
    line-height: 1.55;
}

.pm-bib-oneclick-btn {
    min-width: 8rem;
}

.pm-bib-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .pm-bib-method-grid {
        grid-template-columns: 1fr;
    }
}

.pm-bib-main-split {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
    gap: 16px;
    align-items: start;
}

.pm-bib-right-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-bib-method1-card .pm-bib-tab-lead {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .pm-bib-main-split {
        grid-template-columns: 1fr;
    }
}

.pm-bib-page-split {
    display: grid;
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.pm-bib-page-side {
    min-width: 0;
}

.pm-bib-page-side .table-card {
    overflow-x: auto;
}

.pm-bib-page-split .pm-bib-custom-merged .pm-bib-rule-row {
    grid-template-columns: 1fr;
    padding-right: 0;
    row-gap: 12px;
}

.pm-bib-page-split .pm-bib-custom-merged .pm-bib-range-fieldset {
    width: 100%;
    min-width: 0;
    max-width: none;
}

@media (max-width: 1100px) {
    .pm-bib-page-split {
        grid-template-columns: 1fr;
    }
}

.pm-bib-method-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
}

.pm-bib-method-stack > .card {
    min-height: 0;
}

.pm-bib-method-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.pm-bib-method-chevron {
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 2px solid #2A847C;
    border-bottom: 2px solid #2A847C;
    transform: rotate(-45deg);
    flex: 0 0 auto;
}

.pm-bib-method-card.is-open .pm-bib-method-chevron {
    margin-top: 2px;
    transform: rotate(45deg);
}

.pm-bib-method-card:not(.is-open) .pm-bib-method-head,
.pm-bib-method-card:not(.is-open) .pm-bib-custom-merged .pm-bib-method-head,
.pm-bib-method1-card:not(.is-open) .pm-bib-method-head {
    margin-bottom: 0;
}

.pm-bib-method-card:not(.is-open) .pm-bib-method-body {
    display: none;
}

.pm-bib-custom-merged {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 18px 16px;
}

.pm-bib-custom-merged .pm-bib-method-head {
    margin-bottom: 12px;
    min-height: 28px;
}

.pm-bib-custom-merged .pm-bib-tab-lead {
    margin-bottom: 10px;
}

.pm-bib-custom-merged .pm-bib-range-hero {
    display: block;
    gap: 0;
    margin-bottom: 0;
}

.pm-bib-custom-merged .pm-bib-range-note,
.pm-bib-custom-merged .pm-bib-range-panel {
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.pm-bib-custom-merged .pm-bib-range-note {
    border-left: 1px solid #e6ddd4;
    padding-left: 10px;
}

.pm-bib-custom-merged .pm-bib-range-panel {
    padding-right: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pm-bib-custom-merged .pm-bib-range-panel .pm-bib-range-panel-body {
    flex: 1;
}

@media (max-width: 960px) {
    .pm-bib-custom-merged .pm-bib-range-note {
        border-left: 0;
        border-top: 1px solid #e6ddd4;
        padding-left: 0;
        padding-top: 8px;
    }

    .pm-bib-custom-merged .pm-bib-range-panel {
        padding-right: 0;
        padding-bottom: 6px;
    }
}

.pm-bib-method-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.pm-bib-help-pop {
    position: relative;
    display: inline-block;
    z-index: 40;
}

.pm-bib-help-pop > summary {
    list-style: none;
    cursor: pointer;
}

.pm-bib-help-pop > summary::-webkit-details-marker {
    display: none;
}

.pm-bib-help-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #C5DDD4;
    border-radius: 999px;
    background: #fff;
    color: #667070;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.pm-bib-help-q:hover,
.pm-bib-help-pop[open] .pm-bib-help-q {
    border-color: #2A847C;
    color: #2A847C;
}

.pm-bib-help-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: min(340px, 72vw);
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #E6E8EA;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(43, 43, 43, 0.1);
    z-index: 80;
}

.pm-bib-help-panel p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
    color: #667070;
}

.pm-bib-help-panel p:last-child {
    margin-bottom: 0;
}

.pm-bib-method-head h2 {
    margin: 0;
}

.pm-bib-method1-title {
    margin: 0;
    font-size: 1.15rem;
    color: #2A847C;
}

.pm-bib-stage-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2B2B;
}

.pm-bib-stage-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
    margin: 0 0 8px;
}

.pm-bib-stage-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #2A847C;
    cursor: pointer;
    user-select: none;
}

.pm-bib-stage-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    accent-color: #2A847C;
}

.pm-bib-save-bar {
    margin: 20px 0 8px;
    padding: 16px 18px;
    border: 1px solid #E6F6F4;
    border-radius: 10px;
    background: #F8FAFA;
}

.pm-bib-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.pm-bib-save-settings-btn.btn.btn-primary.btn-sm {
    height: 32px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.pm-bib-method2-title {
    margin: 0;
    font-size: 1.15rem;
    color: #2A847C;
}

.pm-bib-generate-btn.btn.btn-primary.btn-sm,
.pm-bib-generate-btn.btn.btn-primary.btn-sm:hover,
.pm-bib-generate-btn.btn.btn-primary.btn-sm:active,
.pm-bib-generate-btn.btn.btn-primary.btn-sm:focus,
.pm-bib-generate-btn.btn.btn-primary.btn-sm:focus-visible {
    min-width: 88px;
    height: 36px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    justify-content: center;
    background: #fff !important;
    border: 1.5px solid #2A847C !important;
    color: #2A847C !important;
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    font-weight: 600;
}

.pm-bib-generate-btn.btn.btn-primary.btn-sm:hover {
    background: #f0f9f6 !important;
    border-color: #2A847C !important;
    color: #2A847C !important;
}

.pm-bib-generate-btn.btn.btn-primary.btn-sm:active {
    background: #e8f6f1 !important;
    border-color: #2A847C !important;
}

.pm-bib-generate-btn.btn.btn-primary.btn-sm::before {
    content: none;
    margin: 0;
}

.pm-bib-method-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.pm-bib-clear-all-btn.btn.btn-danger.btn-sm,
.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:hover,
.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:active,
.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:focus,
.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:focus-visible {
    height: 32px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #E55949;
    color: #E55949;
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:hover {
    background: #fef3f2;
    border-color: #E55949;
    color: #E55949;
}

.pm-bib-clear-all-btn.btn.btn-danger.btn-sm:active {
    background: #fee4e2;
    border-color: #E55949;
}

.pm-bib-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pm-bib-group-head h2 {
    margin: 0;
}

.pm-bib-clear-group-btn.btn.btn-danger.btn-sm,
.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:hover,
.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:active,
.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:focus,
.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:focus-visible {
    min-width: 36px;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 8px;
    justify-content: center;
    font-size: 0;
    font-weight: 400;
    background: #fff;
    border: 1.5px solid #E55949;
    color: #E55949;
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.pm-bib-clear-group-btn.btn.btn-danger.btn-sm svg {
    display: block;
    width: 16px;
    height: 16px;
}

.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:hover {
    background: #fef3f2;
    border-color: #E55949;
    color: #E55949;
}

.pm-bib-clear-group-btn.btn.btn-danger.btn-sm:active {
    background: #fee4e2;
    border-color: #E55949;
}

.pm-bib-method1-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 18px 16px;
}

.pm-bib-method1-card .pm-bib-method-head {
    margin-bottom: 12px;
    min-height: 28px;
}

.pm-bib-method-actions--left {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
}

.pm-bib-custom-merged .pm-bib-method-actions--left {
    position: static;
    left: auto;
    bottom: auto;
    margin-top: auto;
    padding-top: 16px;
}

.pm-bib-method-actions--in-panel {
    margin-top: auto;
}

.pm-bib-custom-merged .pm-bib-range-hero,
.pm-bib-custom-merged .pm-bib-range-panel,
.pm-bib-custom-merged .pm-bib-range-panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pm-bib-method-action {
    margin: 0;
}

.pm-bib-method-grid .pm-section {
    margin: 0;
}

.pm-bib-method1-line {
    white-space: normal;
}

.pm-bib-method-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.pm-bib-method-picker label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #2B2B2B;
}

/* 批量设置号码区间：左说明 + 右参数（对照图2双栏） */
.pm-bib-range-hero {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 8px;
}

@media (max-width: 960px) {
    .pm-bib-range-hero {
        grid-template-columns: 1fr;
    }
}

.pm-bib-range-note {
    background: linear-gradient(165deg, #F8FAFA 0%, #eef4ff 100%);
    border: 1px solid #c7d7fe;
    box-shadow: none;
    border-radius: 10px;
    padding: 12px;
}

.pm-bib-range-note h2 {
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 400;
    color: #667070;
}

.pm-bib-range-mode-block {
    margin: 14px 0;
}

.pm-bib-range-mode-title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #667070;
}

.pm-bib-range-mode-p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    color: #667070;
}

.pm-bib-range-extra {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #667070;
}

.pm-bib-method1-line,
.pm-bib-unit-table-hint {
    font-weight: 400;
    color: #667070;
}

.pm-bib-range-panel {
    border: 1px solid #e6ddd4;
    box-shadow: none;
    border-radius: 10px;
    padding: 12px;
}

.pm-bib-range-panel-title {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: #2B2B2B;
}

.pm-bib-range-panel-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-bib-range-reset-line {
    align-items: flex-start;
    padding: 10px 12px;
    margin: 0;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fedf89;
}

.pm-bib-range-reset-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-bib-range-reset-sub {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #667070;
}

.pm-bib-range-digits .pm-field .pm-bib-field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.pm-bib-range-digits--single .pm-field {
    flex: 1 1 280px;
    max-width: 100%;
}

.pm-bib-range-digits--single .pm-field input {
    width: 260px;
    max-width: 100%;
    min-height: 36px;
    box-sizing: border-box;
}

.pm-bib-range-continuous-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    padding: 0;
    border-radius: 8px;
    border: 0;
    background: transparent;
}

.pm-bib-range-panel-body .pm-field > input {
    width: 260px;
    max-width: 100%;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.pm-bib-range-panel-body .pm-field > input:focus {
    outline: none;
    border-color: #c49a6c;
    box-shadow: 0 0 0 2px rgba(177, 134, 89, 0.22);
}

@media (max-width: 720px) {
    .pm-bib-range-continuous-extra {
        grid-template-columns: 1fr;
    }
}

.pm-bib-unit-table-hint {
    margin: 0 0 12px;
}

table.pm-bib-hide-team-cols th.pm-bib-only-team,
table.pm-bib-hide-team-cols td.pm-bib-only-team {
    display: none;
}

.pm-bib-range-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.pm-bib-range-legend {
    font-weight: 600;
}

.pm-bib-radio-rich {
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e6ddd4;
    background: #fafafa;
}

.pm-bib-radio-rich:has(input:checked) {
    border-color: #84adff;
    background: #f4f8ff;
}

.pm-bib-custom-merged .pm-bib-range-digits--single .pm-field {
    flex: 0 0 auto;
    max-width: none;
}

.pm-bib-custom-merged .pm-bib-range-digits--single .pm-field input,
.pm-bib-custom-merged .pm-bib-range-panel-body .pm-field > input[type="number"] {
    width: 88px;
    max-width: 88px;
}

.pm-bib-custom-merged .pm-bib-range-panel-body .pm-field > input[type="text"],
.pm-bib-custom-merged .pm-bib-range-continuous-extra .pm-field > input[type="text"] {
    width: 148px;
    max-width: 148px;
}

.pm-bib-custom-merged .pm-bib-mode-extra {
    position: relative;
    width: 100%;
    min-height: 120px;
    margin-top: 10px;
}

.pm-bib-custom-merged .pm-bib-range-continuous-extra {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    gap: 12px 16px;
    margin-top: 0;
}

.pm-bib-custom-merged .pm-bib-team-extra {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.pm-bib-custom-merged .pm-bib-team-defaults {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    gap: 12px 16px;
}

.pm-bib-custom-merged .pm-bib-team-group-select.pm-input,
.pm-bib-custom-merged .pm-bib-team-extra select {
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    box-sizing: border-box;
}

.pm-bib-custom-merged .pm-bib-range-continuous-extra.is-off,
.pm-bib-custom-merged .pm-bib-team-extra.is-off {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.pm-bib-group-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
}

.pm-bib-group-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    min-width: 0;
}

.pm-bib-group-tab {
    height: 32px;
    padding: 0 14px;
    border: 1.5px solid #2A847C;
    border-radius: 999px;
    background: #fff;
    color: #2A847C;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pm-bib-group-tab:hover {
    background: #f0f9f6;
}

.pm-bib-group-tab.is-on {
    background: #2A847C;
    color: #fff;
}

.pm-bib-custom-merged .pm-bib-rule-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 268px;
    align-items: start;
    column-gap: 24px;
    padding-right: 56px;
}

.pm-bib-custom-merged .pm-bib-rule-left {
    min-width: 0;
}

.pm-bib-custom-merged .pm-bib-range-fieldset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    width: 268px;
    min-width: 268px;
    max-width: 268px;
}

.pm-bib-custom-merged .pm-bib-range-legend {
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2B2B;
    float: none;
}

.pm-bib-custom-merged .pm-bib-range-panel-title {
    margin: 0 0 12px;
}

.pm-bib-custom-merged .pm-bib-mode-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.pm-bib-custom-merged .pm-bib-unit-pick.is-off {
    display: none;
}

.pm-bib-custom-merged .pm-bib-mode-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    color: #2A847C;
    cursor: pointer;
    user-select: none;
}

.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
    box-sizing: border-box;
    border: 1.5px solid #2A847C;
    border-radius: 3px;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]::before {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
}

.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]:checked {
    background: #2A847C;
    border-color: #2A847C;
}

.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]:checked::before {
    transform: rotate(45deg) scale(1);
}

.pm-bib-custom-merged .pm-bib-rule-left .pm-field > span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2B2B;
}

.pm-bib-custom-merged .pm-bib-global-grid {
    margin-bottom: 0;
}

.pm-bib-radio-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.pm-bib-radio-sub {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #667070;
}

.pm-bib-range-status {
    margin: 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: #faf7f2;
}

.pm-bib-top {
    margin-bottom: 16px;
}

.pm-bib-note h2 {
    margin-top: 0;
    font-size: 1.05rem;
}

.pm-bib-global-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.pm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

.pm-fieldset {
    border: 1px solid #e6ddd4;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px 0;
}

.pm-radio-line,
.pm-check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 14px;
}

.pm-bib-mode-tip {
    margin-top: 8px;
}

.pm-table td.pm-bib-cell-bibline {
    vertical-align: middle;
    white-space: nowrap;
    max-width: 18rem;
}

/* 号码布规则表：固定列宽，避免生成后列位移 */
table.pm-bib-unit-rules-table {
    table-layout: fixed;
    width: 100%;
}

table.pm-bib-unit-rules-table th:nth-child(1),
table.pm-bib-unit-rules-table td:nth-child(1) {
    width: 44px;
}

table.pm-bib-unit-rules-table th:nth-child(2),
table.pm-bib-unit-rules-table td:nth-child(2) {
    width: 18%;
}

table.pm-bib-unit-rules-table th:nth-child(3),
table.pm-bib-unit-rules-table td:nth-child(3) {
    width: 76px;
    white-space: nowrap;
}

table.pm-bib-unit-rules-table td:nth-child(3) .pm-pill {
    white-space: nowrap;
}

table.pm-bib-unit-rules-table th:nth-child(4),
table.pm-bib-unit-rules-table td:nth-child(4) {
    width: auto;
}

table.pm-bib-unit-rules-table th:nth-child(5),
table.pm-bib-unit-rules-table td:nth-child(5) {
    width: 112px;
}

table.pm-bib-unit-rules-table th:nth-child(6),
table.pm-bib-unit-rules-table td:nth-child(6) {
    width: 88px;
}

table.pm-bib-unit-rules-table td.pm-bib-only-team .pm-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 8px;
}

.pm-bib-bibline {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #2a1f18;
}

.pm-bib-actions-bar {
    margin: 16px 0 24px;
}

.pm-bib-generate-card {
    text-align: center;
}

.pm-bib-big-btn {
    margin-top: 12px;
    padding: 12px 28px;
    font-size: 16px;
}

.pm-flow-guide h2 {
    margin-top: 0;
}

.pm-flow-steps {
    margin: 0;
    padding-left: 1.2rem;
    color: #667070;
    line-height: 1.6;
}

.pm-flow-steps li {
    margin-bottom: 12px;
}

.pm-page-lead {
    margin: -8px 0 20px;
    color: #667070;
    line-height: 1.65;
    max-width: 920px;
}

.pm-arr-h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.pm-arr-checklist .pm-arr-check-ol {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.75;
    color: #2B2B2B;
}

.pm-arr-checklist .pm-arr-check-ol a {
    color: #1570ef;
    text-decoration: underline;
}

.pm-arr-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.pm-arr-stat-card {
    background: #fcf9f4;
    border: 1px solid #ece4da;
    border-radius: 10px;
    padding: 14px 16px;
}

.pm-arr-stat-card span {
    display: block;
    font-size: 0.85rem;
    color: #667070;
    margin-bottom: 6px;
}

.pm-arr-stat-card strong {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-arr-stat-card--accent {
    background: linear-gradient(135deg, #F4F7F7 0%, #E6F0EE 100%);
    border-color: #84A98C;
}

.pm-arr-stat-tip {
    margin: 12px 0 0;
}

.pm-arr-plan-wrap {
    overflow-x: auto;
    margin-top: 8px;
}

.pm-arr-plan-wrap.table-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    background: transparent;
}

.pm-arr-plan-wrap .pm-plan-table thead th {
    background: transparent !important;
    color: #2B2B2B !important;
    border: none !important;
}

.pm-plan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pm-plan-table th,
.pm-plan-table td {
    border: none;
    padding: 9px 10px;
    text-align: center;
    vertical-align: middle;
}

.pm-plan-table th {
    background: transparent;
    font-weight: 600;
    color: #2B2B2B;
    white-space: nowrap;
}

.pm-plan-table tbody tr {
    transition: background-color 0.12s ease;
}

.pm-plan-table tbody tr:nth-child(even) {
    background: #F4F7F7;
}

.pm-plan-table tbody tr:hover {
    background: #dbe4f0;
}

.pm-plan-note {
    color: #667070;
    font-size: 0.82rem;
    line-height: 1.5;
    max-width: 280px;
}

.pm-plan-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pm-plan-type-track {
    background: #fff6ea;
    color: #6b4423;
}

.pm-plan-type-field {
    background: #fef6ee;
    color: #b93815;
}

.pm-plan-type-relay {
    background: #f4f3ff;
    color: #5C7A64;
}

.pm-plan-table--matrix .btn.pm-plan-view-btn {
    padding: 5px 12px;
    font-size: 12px;
    min-height: 0;
    height: auto;
    border-radius: 4px;
    font-weight: 600;
    color: #0f3a4d !important;
    background: #7dd3f0 !important;
    border: 1px solid #4fc3e8 !important;
    box-shadow: none;
}

.pm-plan-table--matrix .btn.pm-plan-view-btn:hover {
    background: #5ec8ea !important;
    color: #0a2e3d !important;
    filter: none;
}

/* 分道编排预览：查看赛程弹窗 */
body.pm-plan-sched-modal-open {
    overflow: hidden;
}

.pm-plan-sched-modal[aria-hidden="true"] {
    display: none !important;
}

.pm-plan-sched-modal[aria-hidden="false"] {
    display: flex !important;
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10050;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    box-sizing: border-box;
}

body.page-admin-shell .pm-plan-sched-modal[aria-hidden="false"] {
    left: 276px;
}

body.page-admin-shell.admin-shell-sidebar-collapsed .pm-plan-sched-modal[aria-hidden="false"] {
    left: 0;
}

.pm-plan-sched-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 32, 22, 0.45);
    cursor: pointer;
}

.pm-plan-sched-modal__box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(88vw, 1080px);
    max-width: 100%;
    height: min(86vh, 760px);
    max-height: 86vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.pm-plan-sched-modal__head {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
    padding: 12px 18px;
    min-height: 0;
    border-bottom: 1px solid #e4e7ec;
    background: #ffffff;
}

.pm-plan-sched-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-plan-sched-modal__head .btn,
.pm-plan-sched-modal__head .btn-primary {
    background: transparent;
    color: #667070;
    border: none !important;
    box-shadow: none !important;
    padding: 0 6px;
    min-height: 0;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
}

.pm-plan-sched-modal__head .btn:hover,
.pm-plan-sched-modal__head .btn-primary:hover {
    filter: brightness(0.96);
    background: #f2f4f7;
    color: #2B2B2B;
}

.pm-plan-sched-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pm-plan-sched-modal__frame {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #ffffff;
    overflow: hidden;
}

/* 第四步：确认生成秩序册后的进度弹窗 */
body.pm-ob-modal-open {
    overflow: hidden;
}

.pm-ob-modal[aria-hidden="true"] {
    display: none !important;
}

.pm-ob-modal[aria-hidden="false"] {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    padding: max(6px, env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.pm-ob-modal.pm-od-word-dl-modal[aria-hidden="false"] {
    z-index: 10100;
}

.pm-od-word-dl-modal .pm-ob-modal__box {
    height: min(90vh, 520px);
    max-height: min(90vh, 520px);
}

.pm-od-word-dl-modal .pm-ob-modal__head {
    min-height: 48px;
    padding: 12px 16px;
    gap: 6px 12px;
    background: #F4F7F7;
    border-bottom: 1px solid #E2E8E8;
}

.pm-od-word-dl-modal .pm-ob-modal__title-row {
    gap: 8px;
}

.pm-od-word-dl-modal .pm-ob-modal__title {
    font-size: 1rem;
    line-height: 1.3;
    color: #111111;
}

.pm-od-word-dl-modal .pm-ob-modal__check {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: #8A9696;
    color: #fff;
    font-size: 0;
    visibility: visible;
    opacity: 1;
}

.pm-od-word-dl-modal .pm-ob-modal__check.is-on {
    background: #2A847C;
    color: #fff;
}

.pm-od-word-dl-modal .pm-ob-modal__check svg {
    display: block;
    width: 14px;
    height: 14px;
}

.pm-od-word-dl-modal .pm-ob-modal__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.pm-od-word-dl-modal .pm-ob-log {
    flex: 1;
    min-height: 180px;
    max-height: none;
}

.pm-od-word-dl-modal .pm-ob-modal__foot {
    display: flex;
    min-height: 0;
    margin-top: auto;
    visibility: hidden;
}

.pm-od-word-dl-modal .pm-ob-modal__foot.is-on {
    visibility: visible;
}

.pm-od-word-dl-modal .pm-ob-result-btn {
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    line-height: 1.3;
    min-height: 0;
}

.pm-ob-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 32, 22, 0.5);
    cursor: pointer;
}

.pm-ob-modal__box {
    position: relative;
    z-index: 1;
    width: min(92vw, 520px);
    max-width: 100%;
    max-height: min(90vh, 640px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.pm-ob-modal__head {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #ece4da;
    background: #faf7f2;
}

.pm-ob-modal__title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm-ob-modal__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

.pm-ob-modal__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #2a1f18;
}

.pm-ob-modal__body {
    padding: 16px 18px 18px;
    overflow-y: auto;
}

.pm-ob-bar-block {
    margin-bottom: 14px;
}

.pm-ob-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    color: #667070;
    margin-bottom: 6px;
}

.pm-ob-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #f0f0f0;
    overflow: hidden;
}

.pm-ob-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #2A847C;
    transition: width 0.28s ease;
    position: relative;
    overflow: hidden;
}

#pm-step4-ob-bar-overall {
    transition: width 0.28s ease;
}

.pm-ob-bar-fill--striped,
.pm-ob-bar-fill--cyan {
    background: #2A847C;
}

.pm-ob-bar-fill.is-running::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: pm-ob-bar-shine 1.15s ease-in-out infinite;
}

.pm-ob-bar-fill.is-done,
.pm-ob-bar-fill.is-done.pm-ob-bar-fill--striped,
.pm-ob-bar-fill.is-done.pm-ob-bar-fill--cyan {
    background: #2A847C;
}

.pm-ob-bar-fill.is-done::after {
    display: none;
    animation: none;
}

@keyframes pm-ob-bar-shine {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

.pm-ob-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0 12px;
    text-align: center;
}

.pm-ob-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: #667070;
}

.pm-ob-stat strong {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
}

.pm-ob-stat--ok {
    color: #16a34a;
}

.pm-ob-stat--bad {
    color: #dc2626;
}

.pm-ob-stat--all {
    color: #b18659;
}

.pm-ob-log-title {
    margin: 0 0 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-ob-log {
    max-height: 220px;
    overflow: auto;
    padding: 10px 12px;
    border: 1px solid #e3d9ce;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #3d342f;
    white-space: pre-wrap;
    white-space: pre-wrap;
    word-break: break-word;
}

.pm-ob-modal__foot {
    margin-top: 16px;
    padding-top: 4px;
    display: flex;
    justify-content: flex-end;
}

.pm-ob-result-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff !important;
    background: #16a34a !important;
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.pm-ob-result-btn:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

/* 赛程页 iframe 嵌入：无侧栏，隐藏顶条；宽度贴合弹窗，避免底部横向滚动 */
html:has(.pm-asc-embed-shell),
body:has(.pm-asc-embed-shell) {
    overflow-x: hidden;
    max-width: 100%;
}

.pm-asc-embed-shell {
    display: flex !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    overflow-x: hidden;
}

.pm-asc-embed-shell .gb-admin-strip-toggle {
    display: none;
}

.pm-asc-embed-shell .gb-admin-strip {
    display: none;
}

.pm-asc-embed-shell .gb-admin-main,
.page-admin-shell.admin-shell-has-topnav .pm-asc-embed-shell .gb-admin-main,
.page-admin-shell.admin-shell-no-sidebar .pm-asc-embed-shell .gb-admin-main {
    grid-column: 1 !important;
    grid-row: auto;
    margin: 0 !important;
    min-height: 100%;
    max-height: none;
    height: auto;
    overflow-x: hidden;
}

.pm-asc-embed-shell .gb-admin-content {
    padding: 8px 10px 12px;
    background: #fff;
    overflow-x: hidden !important;
    overflow-y: auto;
}

.pm-asc-embed-shell .gb-admin-inner,
.pm-asc-embed-shell .asc-page {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pm-asc-embed-shell .asc-page .asc-head {
    margin-top: 0;
    margin-bottom: 0;
}

.asc-page-h1 {
    margin: 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asc-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.asc-v2-top {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 12px;
    align-items: stretch;
}

@media (max-width: 800px) {
    .asc-v2-top {
        grid-template-columns: 1fr;
    }
}

.asc-info-card {
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.asc-info-card__title {
    margin: 0;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #fff;
    background: #2A847C;
}

.asc-info-dl {
    margin: 0;
    padding: 10px 14px 12px;
}

.asc-info-dl div {
    display: grid;
    grid-template-columns: 5.5em 1fr;
    gap: 6px;
    font-size: 13px;
    line-height: 1.55;
}

.asc-info-dl dt {
    margin: 0;
    color: #2B2B2B;
    font-weight: 600;
}

.asc-info-dl dd {
    margin: 0;
    color: #2B2B2B;
}

.asc-time-card {
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    padding: 12px 16px;
}

.asc-time-card__k {
    margin: 0 0 6px;
    font-size: 15px;
    color: #2B2B2B;
}

.asc-time-card__k strong {
    color: #2A847C;
}

.asc-time-card__hint {
    margin: 0 0 12px;
    font-size: 12px;
    color: #667070;
    line-height: 1.5;
}

.asc-time-card__pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.asc-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 88px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #F8FAFA;
    font-size: 13px;
    font-weight: 700;
    color: #2B2B2B;
}

.asc-pill small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #2A847C;
}

.asc-pill--round small {
    color: #2A847C;
}

.asc-pill--total small {
    color: #0ba5c8;
}

.asc-round-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    background: #2A847C;
    color: #fff;
    font-size: 14px;
    min-width: 0;
}

.asc-round-bar strong {
    font-size: 15px;
}

.asc-round-bar span {
    font-size: 12px;
    opacity: 0.95;
    min-width: 0;
    flex: 1 1 auto;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asc-heat-block {
    border: 1px solid #e4e7ec;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background: #fff;
    margin-top: -1px;
}

.asc-heat-block + .asc-heat-block {
    margin-top: 12px;
    border-radius: 10px;
}

.asc-heat-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #F8FAFA;
    border-bottom: 1px solid #e4e7ec;
}

.asc-heat-band__left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.asc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.asc-chip--min {
    background: #fce7f6;
    color: #c11574;
}

.asc-chip--ppl {
    background: #f2f4f7;
    color: #2B2B2B;
}

.asc-chip--wait {
    background: #fef0c7;
    color: #b54708;
    border: 1px solid #fec84b;
}

.asc-lane-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
}

.asc-lane-table th,
.asc-lane-table td {
    padding: 7px 8px;
    text-align: left;
    border-bottom: 1px solid #eef2f6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asc-lane-table th {
    background: #fff;
    color: #2B2B2B;
    font-weight: 700;
}

.asc-th-grip,
.asc-td-grip {
    width: 22px;
    color: #98a2b3;
    cursor: grab;
    letter-spacing: -2px;
    user-select: none;
}

.asc-th-lane,
.asc-td-lane {
    width: 52px;
}

.asc-td-lane {
    color: #2B2B2B;
}

.asc-th-gender,
.asc-td-gender {
    width: 56px;
}

.asc-th-unit,
.asc-td-unit {
    width: 28%;
}

.asc-lane-filled:nth-child(even) {
    background: #F8FAFA;
}

.asc-lane-filled:hover {
    background: #eef4ff;
}

.asc-lane-empty td {
    color: #98a2b3;
    font-style: italic;
}

.asc-empty-lab {
    font-style: italic;
}

.asc-lane-table tr.is-dragging {
    opacity: 0.45;
}

.asc-lane-table tr.is-drop {
    outline: 2px solid #2A847C;
    outline-offset: -2px;
    background: #eff8ff;
}

.asc-mid-inline {
    margin: 0;
}

.asc-confirm[hidden] {
    display: none !important;
}

.asc-confirm {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, 0.35);
    padding: 16px;
}

.asc-confirm__box {
    width: min(92vw, 380px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.2);
    padding: 18px 18px 14px;
}

.asc-confirm__msg {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
    color: #2B2B2B;
    white-space: pre-line;
}

.asc-confirm__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.asc-confirm__ok,
.asc-confirm__cancel {
    min-width: 72px;
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.asc-confirm__ok {
    border: none;
    background: #2A847C;
    color: #fff;
}

.asc-confirm__cancel {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #2B2B2B;
}

.pm-asc-embed-shell .asc-page--embed {
    padding: 4px 8px 16px;
}

.pm-plan-status-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pm-plan-status--progress {
    background: #fef0c7;
    color: #b54708;
    border: 1px solid #fec84b;
}

.pm-plan-status--wait {
    background: #f2f4f7;
    color: #667070;
    border: 1px solid #dfc4ae;
}

.pm-plan-status--empty {
    background: #fcf9f4;
    color: #98a2b3;
    border: 1px solid #ece4da;
}

.pm-plan-arr-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pm-plan-arr--ok {
    background: #F4F7F7;
    color: #1747ad;
    border: 1px solid #84A98C;
}

.pm-plan-arr--wait {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
}

.pm-arr-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.pm-arr-flow-step {
    border: 1px solid #ece4da;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.pm-arr-flow-step h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.pm-arr-flow-step p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #667070;
    line-height: 1.55;
}

.pm-arr-flow-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0ba5c8;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pm-arr-details summary.pm-arr-summary {
    cursor: pointer;
    font-weight: 600;
    color: #2B2B2B;
    padding: 4px 0;
}

.pm-arr-details-body {
    padding-top: 12px;
    color: #667070;
    line-height: 1.65;
}

.pm-arr-guidelines-ol {
    margin: 0;
    padding-left: 1.35em;
}

.pm-arr-guidelines-ol > li {
    margin-bottom: 10px;
}

.pm-arr-guidelines-ol ul {
    margin: 8px 0 0;
    padding-left: 1.25em;
}

.pm-arr-schedule-form {
    margin-top: 16px;
}

.pm-arr-schedule-start-inner {
    margin-bottom: 20px;
    padding: 16px 18px;
}

.pm-arr-schedule-start-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: flex-end;
    margin-top: 10px;
}

.pm-arr-schedule-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #2B2B2B;
}

.pm-arr-schedule-input {
    min-width: 160px;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
}

.pm-arr-schedule-table-wrap {
    overflow-x: auto;
    margin-bottom: 16px;
}

.pm-arr-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pm-arr-schedule-table th,
.pm-arr-schedule-table td {
    border: 1px solid #e3d9ce;
    padding: 8px 10px;
    vertical-align: middle;
}

.pm-arr-schedule-table th {
    background: #fcf9f4;
    font-weight: 600;
    text-align: left;
}

.pm-arr-schedule-table .pm-arr-td-num {
    text-align: center;
}

.pm-arr-schedule-def {
    color: #667070;
    font-size: 12px;
    max-width: 220px;
}

.pm-arr-schedule-min-input {
    width: 5.5rem;
    padding: 6px 8px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    font-size: 13px;
}

.pm-arr-flow .btn-sm {
    margin-right: 8px;
    margin-top: 4px;
}

.pm-arr-subtitle a {
    color: #1570ef;
    text-decoration: underline;
}

.pm-arr-wiz-card {
    border: 1px solid #dfc4ae;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.pm-arr-wiz-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: linear-gradient(90deg, #fff6ea 0%, #fcf9f4 100%);
    border-bottom: 1px solid #ece4da;
}

.pm-arr-wiz-card-ic {
    font-size: 1.6rem;
    line-height: 1;
}

.pm-arr-wiz-card-ic--idx {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(180deg, #2e90fa 0%, #1570ef 100%);
    color: #fff;
    border: 1px solid #1570ef;
    box-shadow: 0 3px 8px rgba(21, 112, 239, 0.28);
}

.pm-arr-wiz-card-title {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #2B2B2B;
}

.pm-arr-wiz-card-sub {
    margin: 0;
    font-size: inherit;
    color: #667070;
    line-height: 1.5;
}

.pm-arr-wiz-card-body {
    padding: 18px;
}

.pm-arr-wiz-empty-note {
    margin: 0 0 12px;
    color: #667070;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pm-arr-wiz-info-ic {
    flex-shrink: 0;
}

.pm-arr-wiz-skip {
    margin: 0;
}

.pm-arr-wiz-skip a {
    color: #0ba5c8;
    font-weight: 600;
    text-decoration: underline;
}

.pm-arr-wiz-mini-table-wrap {
    margin-top: 12px;
}

.pm-arr-wiz-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.pm-arr-wiz-mini-table th,
.pm-arr-wiz-mini-table td {
    border: 1px solid #e3d9ce;
    padding: 8px 10px;
}

.pm-arr-wiz-mini-table th {
    background: #fcf9f4;
    text-align: left;
    font-weight: 600;
}

.pm-arr-coll-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 16px;
    margin: 0 0 12px;
    padding: 14px 18px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2A847C 0%, #2A847C 100%);
    color: #fff;
}

.pm-arr-coll-head-main {
    min-width: 0;
}

.pm-arr-coll-head-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.pm-arr-coll-head-ic {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 6px;
    background:
        radial-gradient(circle at 8px 8px, #fff 0 3px, transparent 3.5px),
        radial-gradient(circle at 15px 8px, #fff 0 3px, transparent 3.5px),
        radial-gradient(circle at 11px 16px, #fff 0 4px, transparent 4.5px);
    opacity: 0.95;
}

.pm-arr-coll-head-num {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.pm-arr-coll-head-sub {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    opacity: 0.92;
    line-height: 1.4;
}

.pm-arr-coll-table-wrap {
    margin-top: 8px;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    overflow: auto;
    background: #fff;
}

.pm-arr-coll-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 14px;
}

.pm-arr-coll-table th,
.pm-arr-coll-table td {
    border: 1px solid #e7eefb;
    padding: 9px 10px;
}

.pm-arr-coll-table thead th {
    text-align: center;
    font-weight: 700;
    color: #2B2B2B;
    background: #f5f8ff;
    vertical-align: middle;
}

.pm-arr-coll-th-ev {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.3;
}

.pm-arr-coll-th-gen {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-arr-coll-table tbody td {
    background: #fff;
}

.pm-arr-coll-table tbody tr:hover td {
    background: #f2f3f5;
}

.pm-arr-coll-ev {
    font-weight: 600;
}

.pm-arr-coll-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

#pm-arr-step1-collective-clear,
#pm-arr-step1-collective-save,
#pm-arr-step1-collective-next-btn,
#pm-arr-step1-collective-next {
    background: #fff !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    color: #2A847C !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-shadow: none !important;
    filter: none !important;
}

#pm-arr-step1-collective-clear:hover,
#pm-arr-step1-collective-save:hover,
#pm-arr-step1-collective-next-btn:hover,
#pm-arr-step1-collective-next:hover {
    background: #f0f9f6 !important;
    border-color: #2A847C !important;
    color: #2A847C !important;
}

#pm-arr-step1-collective-clear:active,
#pm-arr-step1-collective-save:active,
#pm-arr-step1-collective-next-btn:active,
#pm-arr-step1-collective-next:active {
    background: #e8f6f1 !important;
    border-color: #2A847C !important;
    color: #2A847C !important;
}

#pm-arr-step1-collective-clear:focus,
#pm-arr-step1-collective-clear:focus-visible,
#pm-arr-step1-collective-save:focus,
#pm-arr-step1-collective-save:focus-visible,
#pm-arr-step1-collective-next-btn:focus,
#pm-arr-step1-collective-next-btn:focus-visible,
#pm-arr-step1-collective-next:focus,
#pm-arr-step1-collective-next:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.pm-arr-coll-group-row + .pm-arr-coll-group-row {
    margin-top: 14px;
}

.pm-arr-coll-group-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 2px 6px;
    color: #2B2B2B;
}

.pm-arr-coll-badges {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pm-arr-coll-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #0b63d1;
    background: #eaf2ff;
    border: 1px solid #cfe0ff;
}

.pm-arr-coll-badge--muted {
    color: #667070;
    background: #f4f6fb;
    border-color: #e4e7ec;
}

.pm-arr-coll-table.pm-arr-coll-table--matrix {
    min-width: 820px;
    table-layout: fixed;
}

.pm-arr-coll-th-team {
    width: 38%;
    min-width: 180px;
    text-align: center;
}

.pm-arr-coll-team-cell {
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

.pm-arr-coll-check-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 auto;
}

.pm-arr-coll-check {
    width: 14px;
    height: 14px;
}

.pm-arr-coll-table.pm-arr-coll-table--matrix td.pm-arr-td-center,
.pm-arr-coll-table.pm-arr-coll-table--matrix th {
    text-align: center;
    vertical-align: middle;
}

.pm-arr-coll-table.pm-arr-coll-table--matrix td.pm-arr-coll-team-cell {
    text-align: center;
}

.pm-arr-wiz-step-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ece4da;
}

.pm-arr-wiz-step-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #2B2B2B;
}

.pm-arr-wiz-step-num {
    flex: 0 0 auto;
    font-size: 1.15em;
    line-height: 1;
    font-weight: 700;
}

.pm-arr-s1-stepper-wrap {
    position: relative;
    margin: 0 0 18px;
}

.pm-arr-s1-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 20px 88px 26px 16px;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    background: #fff;
}

.pm-arr-s1-stepper__back {
    position: absolute;
    top: 22px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}

.pm-arr-s1-stepper__back:hover {
    border-color: #98a2b3;
    color: #2B2B2B;
}

.pm-arr-s1-stepper__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 4px 8px;
    text-decoration: none;
    color: #2B2B2B;
    position: relative;
}

.pm-arr-s1-stepper__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #2A847C;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
}

.pm-arr-s1-stepper__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    white-space: nowrap;
}

.pm-arr-s1-stepper__item.is-current {
    color: #2B2B2B;
}

.pm-arr-s1-stepper__item.is-current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    border-radius: 3px;
    background: #2A847C;
}

.pm-arr-s1-stepper__arrow {
    margin: 0 4px 8px;
    color: #98a2b3;
    font-size: 16px;
    line-height: 40px;
}

.pm-arr-step1-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 10px 0 18px;
}

.pm-arr-step1-hub-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border: 1px solid #d0ddff;
    border-radius: 12px;
    min-height: 74px;
    padding: 12px 12px;
    background: #f8faff;
    text-decoration: none;
    color: #2B2B2B;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pm-arr-step1-hub-card:hover {
    border-color: #84adff;
    box-shadow: none;
    transform: none;
}

.pm-arr-step1-hub-card.is-active {
    border: 2px solid #0b63d1;
    background: linear-gradient(180deg, #eaf2ff 0%, #dceafe 100%);
    box-shadow: none;
}

.pm-arr-step1-hub-title {
    font-size: 1rem;
    line-height: 1.2;
    color: #2B2B2B;
}

.pm-arr-step1-hub-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    flex: 1 1 auto;
}

.pm-arr-step1-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pm-arr-step1-hub-status {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}

.pm-arr-step1-hub-status.is-done {
    background: #0b63d1;
    color: #ffffff;
    border: 1px solid #0b63d1;
}

.pm-arr-step1-hub-status.is-todo {
    background: #f2f4f7;
    color: #667070;
    border: 1px solid #d0d5dd;
}

.pm-arr-step1-hub-desc {
    color: #667070;
    font-size: inherit;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-arr-step1-hub-ic {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0;
    background: #e3eeff;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #c4d7ff;
    box-sizing: border-box;
}

.pm-arr-step1-hub-ic--idx {
    background: linear-gradient(180deg, #2e90fa 0%, #1570ef 100%);
    color: #fff;
    border: 1px solid #1570ef;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(21, 112, 239, 0.28);
    font-size: 14px;
    font-family: Arial, "Helvetica Neue", sans-serif;
    letter-spacing: 0;
    text-indent: 0;
    transform: translateY(-0.5px);
}

/* 第一步进入编排前的提醒页 */
.pm-arr-step1-intro {
    text-align: center;
    padding: 48px 24px 56px;
    border: none !important;
    box-shadow: none !important;
    background: #fff;
}

.pm-arr-step1-intro__hero,
.pm-arr-step1-intro__alert,
.pm-arr-step1-intro__actions {
    position: relative;
    left: -14px;
}

.pm-arr-step1-intro__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.pm-arr-step1-intro__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin: 0 auto 4px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2A847C 0%, #2A847C 100%);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
    position: relative;
    border: none;
    font-size: 0;
}

.pm-arr-step1-intro__icon::before,
.pm-arr-step1-intro__icon::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.92);
}

.pm-arr-step1-intro__icon::before {
    top: 13px;
    transform: perspective(20px) rotateX(18deg);
}

.pm-arr-step1-intro__icon::after {
    top: 24px;
    transform: perspective(20px) rotateX(18deg);
    opacity: 0.85;
}

.pm-arr-step1-intro__title {
    margin: 0 0 4px;
    font-size: 1.22rem;
    color: #2B2B2B;
}

.pm-arr-step1-intro__lead {
    margin: 0;
    color: #667070;
    font-size: 15px;
}

.pm-arr-step1-intro__warn {
    border: 1px solid rgba(220, 90, 90, 0.45);
    background: linear-gradient(180deg, #fff5f5 0%, #ffecec 100%);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.pm-arr-step1-intro__warn-title {
    display: block;
    color: #b42318;
    font-size: 15px;
    margin-bottom: 10px;
}

.pm-arr-step1-intro__warn-list {
    margin: 0;
    padding-left: 1.25rem;
    color: #7f1d1d;
    line-height: 1.65;
    font-size: 14px;
}

.pm-arr-step1-intro__warn-list li + li {
    margin-top: 8px;
}

.pm-arr-step1-intro__warn-tip {
    margin: 12px 0 0;
    font-size: 13px;
    color: #991b1b;
}

.pm-arr-step1-intro__tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 6px;
}

.pm-arr-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pm-arr-tag--ob {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid rgba(180, 120, 40, 0.35);
}

.pm-arr-tag--rs {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid rgba(190, 80, 120, 0.3);
}

.pm-arr-step1-intro__note {
    margin-bottom: 20px;
}

.pm-arr-step1-intro__alert {
    margin: 0 auto 22px;
    width: max-content;
    max-width: calc(100% - 40px);
    color: #d92d20;
    font-weight: 400;
    line-height: 1.75;
    text-align: left;
}

.pm-arr-step1-intro__alert-kicker,
.card p.pm-arr-step1-intro__alert-kicker,
.card .pm-arr-step1-intro__alert-kicker {
    margin: 0 0 6px;
    color: #d92d20 !important;
}

.pm-arr-step1-intro__alert ol {
    margin: 0;
    padding: 0 0 0 1.5em;
}

.pm-arr-step1-intro__alert li {
    margin: 0;
    white-space: nowrap;
}

.pm-arr-step1-intro__actions {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.pm-arr-step1-intro__cta.btn {
    min-width: 240px;
    height: 48px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B !important;
    background: #f5c84c !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(180, 130, 20, 0.22);
}

.pm-arr-step1-intro__cta.btn:hover {
    filter: brightness(1.04);
}

.pm-arr-step1-intro__cta span {
    margin-right: 6px;
}

.pm-arr-step1-intro__cta--locked,
.btn.pm-arr-wiz-next.pm-arr-step1-intro__cta--locked {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    box-shadow: none;
    background: #9aa3af !important;
    border-color: #9aa3af !important;
    color: #fff !important;
}

.pm-arr-wf-item--locked {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

.pm-arr-step1-hub-gate-tip {
    margin: 0 18px 14px;
    color: #8a4b1a;
}

.pm-arr-step1-intro__cta-lock-tip {
    flex: 1 1 220px;
    margin: 0;
    color: #5c4a3a;
}

.pm-arr-h3--sched {
    margin-top: 22px;
}

.pm-arr-wizard-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-top: 1px solid #ece4da;
    background: #fcfcfd;
}

.pm-arr-wizard-foot--end {
    justify-content: flex-end;
    align-items: flex-start;
}

.pm-arr-step2-proceed-hint {
    display: none !important;
}

.pm-arr-step2-proceed-form.pm-arr-step2-proceed-hit {
    position: relative;
    display: inline-flex;
}

.pm-arr-step2-proceed-hit .pm-arr-step2-save:disabled {
    pointer-events: none;
}

.pm-arr-step2-proceed-pop {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 8;
    width: max-content;
    max-width: min(520px, 70vw);
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    text-align: left;
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(154, 52, 18, 0.12);
    white-space: normal;
}

.pm-arr-step2-proceed-pop[hidden] {
    display: none !important;
}

.pm-arr-wiz-next {
    font-weight: 600;
}

.pm-arr-wiz-next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.pm-arr-sum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px;
}

.pm-arr-sum-item {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #fcf9f4;
    border: 1px solid #ece4da;
}

.pm-arr-sum-k {
    display: block;
    font-size: 0.78rem;
    color: #667070;
    margin-bottom: 4px;
}

.pm-arr-sum-v {
    font-size: 1.05rem;
    color: #2B2B2B;
}

.pm-arr-sum-grid--step3 {
    padding: 0;
    margin-bottom: 22px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-item {
    padding: 16px 10px;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-k {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-v {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-item:nth-child(1) .pm-arr-sum-v {
    color: #1570ef;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-item:nth-child(2) .pm-arr-sum-v {
    color: #12b76a;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-item:nth-child(3) .pm-arr-sum-v {
    color: #f79009;
}

.pm-arr-sum-grid--step3 .pm-arr-sum-item:nth-child(4) .pm-arr-sum-v {
    color: #7a5af8;
}

.pm-arr-confirm-sum-grid .pm-arr-sum-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
    padding: 22px 12px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pm-arr-confirm-sum-grid .pm-arr-sum-k {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #667070;
}

.pm-arr-confirm-sum-grid .pm-arr-sum-v {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: #1570ef;
}

.pm-arr-confirm-sum-grid .pm-arr-sum-item:nth-child(2) .pm-arr-sum-v {
    color: #12b76a;
}

.pm-arr-confirm-sum-grid .pm-arr-sum-item:nth-child(3) .pm-arr-sum-v {
    color: #0ba5ec;
}

.pm-arr-confirm-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 14px;
    padding: 14px 18px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    background: #fff;
}

.pm-arr-confirm-head-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.3;
}

.pm-arr-confirm-head-ic {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #12b76a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.pm-arr-confirm-ready {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #abefc6;
    border-radius: 10px;
    background: #ecfdf3;
    color: #067647;
    font-size: 14px;
    line-height: 1.55;
}

.pm-arr-confirm-ready-ic {
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: #12b76a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.pm-arr-confirm-body {
    margin: 0;
}

.pm-arr-confirm-sum-grid {
    margin-bottom: 18px;
    padding: 0;
}

.pm-arr-confirm-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.pm-arr-confirm-preview-h {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 12px;
    font-size: 15px;
}

.pm-arr-confirm-preview-sub {
    font-size: 13px;
    font-weight: 400;
    color: #667070;
}

.pm-arr-confirm-pv-wrap {
    overflow: auto;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    background: #fff;
}

.pm-arr-confirm-pv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pm-arr-confirm-pv-table th,
.pm-arr-confirm-pv-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f2f4f7;
    text-align: left;
    vertical-align: middle;
}

.pm-arr-confirm-pv-table th {
    background: #f9fafb;
    color: #2B2B2B;
    font-weight: 600;
    white-space: nowrap;
}

.pm-arr-confirm-pv-table tbody tr:last-child td {
    border-bottom: 0;
}

.pm-arr-confirm-pv-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pm-arr-confirm-pv-type--track {
    background: #E6F6F4;
    color: #175cd3;
}

.pm-arr-confirm-pv-type--relay {
    background: #fce7f3;
    color: #c11574;
}

.pm-arr-confirm-pv-type--field {
    background: #d1fadf;
    color: #067647;
}

.pm-arr-confirm-pv-scheme {
    line-height: 1.45;
}

.pm-arr-confirm-pv-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 4px 4px 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.pm-arr-confirm-pv-badge--final {
    background: #dcfae6;
    color: #067647;
}

.pm-arr-confirm-pv-badge--pre {
    background: #e0f2fe;
    color: #026aa2;
}

.pm-arr-confirm-pv-note {
    margin-top: 2px;
    font-size: 12px;
    color: #667070;
}

.pm-arr-confirm-pv-empty {
    color: #98a2b3;
}

.pm-arr-workflow-steps--4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pm-arr-workflow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pm-arr-workflow-head .pm-arr-workflow-title {
    margin: 0;
}

.pm-arr-workflow-head-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pm-arr-workflow-steps--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-arr-wf-item--step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: default;
    user-select: none;
}

.pm-arr-wf-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2A847C;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-arr-wf-num.is-done {
    background: #16a34a;
}

.pm-arr-wf-copy {
    min-width: 0;
}

.pm-arr-wf-item--locked {
    opacity: 0.65;
}

.pm-arr-inner-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #ece4da;
}

.pm-arr-inner-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px 8px 0 0;
    background: #f4f6f8;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.pm-arr-inner-tab.is-active {
    font-weight: 700;
    color: #000;
    box-shadow: inset 0 -1.5px 0 #2A847C;
}

.pm-arr-inner-tab--s1 {
    background: #e0eaff;
    color: #000;
    border-color: #b2ccff;
}

.pm-arr-inner-tab--s1.is-active {
    background: #d1e0ff;
    color: #000;
    border-color: #84adff;
    box-shadow: inset 0 -1.5px 0 #2A847C;
}

.pm-arr-inner-tab-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.pm-arr-inner-tab--s2,
.pm-arr-inner-tab.is-active.is-step2 {
    background: #d1fadf;
    color: #000;
    border-color: #6ce9a6;
}

.pm-arr-inner-tab--s2.is-active,
.pm-arr-inner-tab.is-active.is-step2 {
    background: #a9efc5;
    color: #000;
    border-color: #32d583;
    box-shadow: inset 0 -1.5px 0 #2A847C;
}

.pm-arr-inner-tab--s3 {
    background: #eee9fe;
    color: #000;
    border-color: #d9d6fe;
}

.pm-arr-inner-tab--s3.is-active {
    background: #d9d6fe;
    color: #000;
    border-color: #bdb4fe;
    box-shadow: inset 0 -1.5px 0 #2A847C;
}

.pm-arr-inner-tab.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.pm-arr-status-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.pm-arr-step2-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pm-arr-step2-toolbar-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pm-arr-step2-help {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1.5px solid #2A847C;
    border-radius: 50%;
    background: #fff;
    color: #2A847C;
    font-size: 13px;
    font-weight: 800;
    line-height: 19px;
    text-align: center;
    cursor: pointer;
}

.pm-arr-step2-help:hover {
    background: #f0f9f6;
    color: #217066;
    border-color: #217066;
}

.pm-arr-step2-toolbar-ic {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff8ff;
    box-shadow: inset 0 0 0 1px #b2ddff;
    position: relative;
}

.pm-arr-step2-toolbar-ic::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 2px solid #1570ef;
    border-radius: 50%;
}

.pm-arr-step2-toolbar-ic::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 10px;
    width: 2px;
    height: 7px;
    background: #1570ef;
    border-radius: 1px;
    box-shadow: 2px 5px 0 -0.5px #1570ef;
}

.pm-arr-step2-toolbar-title {
    margin: 0;
    font-size: 1.15rem;
}

.pm-arr-step2-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-arr-step2-toolbar-actions .pm-arr-step2-nav-link {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.pm-arr-guide-modal[hidden],
.pm-arr-tour[hidden] {
    display: none !important;
}

.pm-arr-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.pm-arr-guide-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.45);
}

.pm-arr-guide-modal__box {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 8vh auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.pm-arr-guide-modal__box--wide {
    max-width: 760px;
}

.pm-arr-guide-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
}

.pm-arr-guide-modal__head--blue {
    background: #2A847C;
    color: #fff;
    border-bottom: 0;
}

.pm-arr-guide-modal__head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.pm-arr-guide-modal__x {
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: inherit;
}

.pm-arr-guide-modal__body {
    padding: 16px 18px 20px;
}

.pm-arr-guide-ol {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.65;
}

.pm-arr-guide-modal__foot-row {
    margin: 16px 0 0;
    text-align: right;
}

.pm-arr-tour {
    position: fixed;
    inset: 0;
    z-index: 85;
    pointer-events: none;
}

.pm-arr-tour__mask {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.35);
    pointer-events: auto;
}

.pm-arr-tour__card {
    pointer-events: auto;
    position: absolute;
    left: 24px;
    top: 28%;
    width: min(360px, calc(100vw - 48px));
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pm-arr-tour__step {
    margin: 0 0 6px;
    color: #2A847C;
    font-weight: 700;
    font-size: 0.85rem;
}

.pm-arr-tour__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 8px;
}

.pm-arr-tour-spot {
    position: relative;
    z-index: 86;
    outline: 3px solid #2A847C;
    outline-offset: 4px;
    border-radius: 8px;
    background: #fff;
}

.pm-arr-dual-matrix-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.pm-arr-dual-matrix-card {
    margin-bottom: 16px;
}

.pm-arr-dual-matrix-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 0;
}

.pm-arr-dual-matrix-card-head h3 {
    margin: 0;
}

.pm-arr-dual-matrix-count {
    font-size: 0.85rem;
    color: #667070;
}

.pm-arr-dual-matrix-table {
    width: 100%;
    border-collapse: collapse;
}

.pm-arr-dual-matrix-table th,
.pm-arr-dual-matrix-table td {
    border: 1px solid #e4e7ec;
    text-align: center;
    padding: 8px;
}

.pm-arr-dual-matrix-table td.is-diag {
    background: #eff8ff;
    color: #175cd3;
    font-weight: 700;
}

.pm-arr-dual-matrix-table td.is-cross {
    background: #fef9c3;
}

body.arr-matrix-solo button.gb-sb-expand-fab {
    display: none !important;
}

body.arr-matrix-solo main.page {
    max-width: none;
    padding: 20px 24px 40px;
    background: #f5f7fb;
}

body.arr-matrix-solo footer.footer {
    display: none !important;
}

.pm-arr-matrix-solo-page {
    max-width: 1180px;
    margin: 0 auto;
}

.pm-arr-matrix-solo-page .pm-arr-dual-matrix-page {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
}

.pm-arr-matrix-solo-page .pm-arr-panel-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

@media (max-width: 900px) {
    .pm-arr-workflow-steps--3 {
        grid-template-columns: 1fr;
    }
}

.card.pm-arr-workflow-bar,
.pm-arr-workflow-bar {
    border-left: none;
    box-shadow: none !important;
}

.card.pm-arr-flowboard,
.pm-arr-flowboard {
    padding: 18px 20px 8px;
    border: 1px solid #E6E8EA;
    border-radius: 6px;
    background: #fff;
    box-shadow: none !important;
}

.pm-arr-flowboard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.pm-arr-flowboard__title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-arr-flowboard__hint {
    margin: 0;
    max-width: 42em;
    font-size: 14px;
    line-height: 1.55;
    color: #667070;
}

.pm-arr-flowboard__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-arr-toolbtn {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #C5DDD4;
    border-radius: 4px;
    background: #fff;
    color: #3d5a52;
    font-size: 13px;
    cursor: pointer;
}

.pm-arr-toolbtn--accent {
    border-color: #2A847C;
    color: #2d7a68;
    background: #f3faf8;
}

.pm-arr-toolbtn:hover,
.pm-arr-toolbtn--accent:hover {
    border-color: #2A847C;
    color: #2A847C;
}

.pm-arr-timeline {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pm-arr-timeline__item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 12px;
    position: relative;
    padding: 0 0 14px;
}

.pm-arr-timeline__item:last-child {
    padding-bottom: 4px;
}

.pm-arr-timeline__rail {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border: 2px solid #2A847C;
    border-radius: 2px;
    background: #fff;
    position: relative;
}

.pm-arr-timeline__item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 18px;
    bottom: 0;
    width: 1px;
    background: #D7E4DF;
}

.pm-arr-timeline__item:last-child::before {
    display: none;
}

.pm-arr-timeline__item.is-done .pm-arr-timeline__rail {
    background: #2A847C;
}

.pm-arr-timeline__item.is-doing .pm-arr-timeline__rail {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 181, 154, 0.18);
}

.pm-arr-timeline__item.is-todo .pm-arr-timeline__rail {
    border-color: #C5CDCA;
}

.pm-arr-timeline__row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pm-arr-timeline__body strong {
    font-size: 15px;
    color: #2B2B2B;
}

.pm-arr-timeline__body p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #667070;
}

.pm-arr-state {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.pm-arr-state--todo {
    background: #F3F4F5;
    color: #667070;
}

.pm-arr-state--doing {
    background: #E8F6F1;
    color: #2d7a68;
}

.pm-arr-state--done {
    background: #2A847C;
    color: #fff;
}

.pm-arr-steplinks {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 4px -20px 0;
    padding: 0 12px;
    border-top: 1px solid #E6E8EA;
}

.pm-arr-steplink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    color: #667070;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.pm-arr-stepico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #2A847C;
    flex-shrink: 0;
}

.pm-arr-steplink.is-disabled .pm-arr-stepico {
    background: #C5CDCD;
}

.pm-arr-stepcheck {
    margin-left: 4px;
    color: #2A847C;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 0.6px #2A847C;
}

.pm-arr-steplink.is-active,
.pm-arr-steplink.is-done {
    color: #2B2B2B;
}

.pm-arr-steplink.is-active {
    border-bottom-color: #2A847C;
}

.pm-arr-steplink.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pm-arr-steplink--overview {
    align-self: center;
    min-height: 30px;
    height: 30px;
    margin: 6px 8px 6px 4px;
    padding: 0 14px;
    border-radius: 6px;
    border-bottom: none;
    background: #1677ff;
    color: #fff;
}

.pm-arr-steplink--overview:hover {
    background: #0958d9;
    color: #fff;
}

.pm-arr-steplink--overview.is-active {
    background: #0958d9;
    color: #fff;
    border-bottom: none;
}

.pm-arr-workpane {
    padding: 18px 20px 22px;
    border: 1px solid #E6E8EA;
    border-radius: 6px;
    background: #fff;
    box-shadow: none !important;
}

.pm-arr-workpane--plain {
    box-shadow: none;
}

.pm-arr-workpane__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.pm-arr-workpane__title {
    margin: 0 0 6px;
    font-size: 1.18rem;
    color: #2B2B2B;
}

.pm-arr-workpane__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #667070;
}

.pm-arr-workpane__sidebtn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: 108px;
    padding: 8px 18px;
    border: 1.5px solid #2A847C;
    border-radius: 999px;
    background: #fff;
    color: #2A847C;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.pm-arr-workpane__sidebtn:hover {
    background: #f0f9f6;
    color: #2A847C;
}

.pm-arr-entrylist-reqhint {
    margin: 0 0 10px;
    padding: 8px 12px;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    background: #fff5f5;
    color: #b42318;
    font-size: 13px;
    line-height: 1.5;
}

.pm-arr-entrylist-reqhint strong {
    font-weight: 800;
}

.pm-arr-entrylist__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
}

.pm-arr-entrylist__req {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fee4e2;
    color: #b42318;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pm-arr-workpane__cta,
.pm-arr-workpane__cta.btn {
    flex: 0 0 auto;
    min-width: 132px;
    height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 14px;
}

.pm-arr-risk {
    max-width: 40em;
    padding: 12px 14px;
    border-left: 3px solid #C9783A;
    background: #FFF8F1;
    color: #6B4A28;
}

.pm-arr-risk strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.pm-arr-risk p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.pm-arr-statstack {
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #E6E8EA;
}

.pm-arr-statstack > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid #E6E8EA;
}

.pm-arr-statstack > div:first-child {
    border-top: 0;
}

.pm-arr-statstack dt {
    margin: 0;
    font-size: 13px;
    color: #667070;
}

.pm-arr-statstack dd {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
}

.pm-arr-entrylist {
    display: flex;
    flex-direction: column;
    border: 1px solid #E6E8EA;
}

.pm-arr-entrylist__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #E6E8EA;
    text-decoration: none;
    color: #2B2B2B;
}

.pm-arr-entrylist__row:first-child {
    border-top: 0;
}

.pm-arr-entrylist__row em,
.pm-arr-entrylist__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 7px 16px;
    border: 1.5px solid #2A847C;
    border-radius: 999px;
    background: #fff;
    color: #2A847C;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
}

.pm-arr-entrylist__row:hover {
    background: #f7fbf9;
}

.pm-arr-entrylist__row:hover .pm-arr-entrylist__btn,
.pm-arr-entrylist__row:hover em {
    background: #f0f9f6;
}

.pm-arr-helplist {
    padding: 16px 18px 10px;
    border: 1px solid #E6E8EA;
    border-radius: 6px;
    background: #fff;
    box-shadow: none !important;
}

.pm-arr-helplist__title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #2B2B2B;
}

.pm-arr-helplist__item {
    border-top: 1px solid #E6E8EA;
    padding: 0;
    background: transparent;
}

.pm-arr-helplist__item summary {
    cursor: pointer;
    padding: 12px 22px 12px 0;
    font-weight: 600;
    color: #2B2B2B;
    list-style: none;
    position: relative;
}

.pm-arr-helplist__item summary::-webkit-details-marker {
    display: none;
}

.pm-arr-helplist__item summary::after {
    content: "展开";
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #2A847C;
}

.pm-arr-helplist__item[open] summary::after {
    content: "收起";
}

.pm-arr-helplist__body {
    padding: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
    color: #667070;
}

.pm-arr-helplist__body p {
    margin: 0 0 8px;
}

.pm-arr-workflow-title {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.pm-arr-workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.pm-arr-wf-item {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fcf9f4;
    border: 1px solid #ece4da;
}

a.pm-arr-wf-item--step {
    display: flex;
    text-decoration: none;
    color: inherit;
}

a.pm-arr-wf-item--step:hover {
    border-color: #ece4da;
    background: #fcf9f4;
}

a.pm-arr-wf-item--step:focus-visible {
    outline: 2px solid #0ba5c8;
    outline-offset: 2px;
}

.pm-arr-wf-item--active {
    border-color: #0ba5c8;
    background: linear-gradient(180deg, #ecfeff 0%, #f0fdfa 100%);
    box-shadow: none;
}

.pm-arr-wf-item strong {
    display: block;
    margin-bottom: 6px;
    color: #2B2B2B;
}

.pm-arr-wf-item p {
    margin: 0;
    font-size: 0.88rem;
    color: #667070;
    line-height: 1.5;
}

.pm-arr-wf-meta {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #0ba5c8;
    font-weight: 600;
}

.pm-arr-wf-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pm-arr-wf-badge--ok {
    background: #2A847C;
    color: #fff;
}

.pm-arr-wf-badge--muted {
    background: #e3d9ce;
    color: #2B2B2B;
}

.pm-arr-wf-badge--info {
    background: #1570ef;
    color: #fff;
}

.pm-arr-tab-ic {
    margin-right: 6px;
    opacity: 0.85;
    font-size: 0.85em;
}

.pm-arr-panel--step2 {
    padding-top: 8px;
}

.pm-arr-step2-landing {
    text-align: center;
    padding: 40px 20px 36px;
    max-width: 640px;
    margin: 0 auto;
}

.pm-arr-step2-landing .pm-arr-step1-intro__hero {
    left: 0;
    margin-bottom: 14px;
}

.pm-arr-step2-landing--compact {
    padding: 20px 16px 8px;
}

.pm-arr-step2-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 14px;
    background: linear-gradient(145deg, #2A847C, #2A847C);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
    position: relative;
}

.pm-arr-step2-icon::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    top: 13px;
    bottom: 13px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.95) 32%, transparent 34%);
    background-size: 33.33% 33.33%;
    opacity: 0.98;
}

.pm-arr-step2-icon--small {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
}

.pm-arr-step2-icon--small::after {
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
}

.pm-arr-step2-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #2B2B2B;
}

.pm-arr-step2-lead {
    margin: 0 0 28px;
    color: #667070;
    font-size: 0.98rem;
    line-height: 1.55;
}

.pm-arr-step2-landing--compact .pm-arr-step2-lead {
    margin-bottom: 16px;
}

.pm-arr-step2-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 280px;
    margin: 0 auto;
}

.pm-arr-step2-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
    border: none;
    box-shadow: none;
    transition: filter 0.12s ease;
}

.pm-arr-step2-cta:hover {
    transform: none;
    filter: brightness(1.05);
    box-shadow: none;
    color: #fff;
}

.pm-arr-step2-cta--track {
    background: linear-gradient(180deg, #2A847C 0%, #2A847C 100%);
}

.pm-arr-step2-cta--field {
    background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
}

.pm-arr-step2-cta--matrix {
    background: linear-gradient(180deg, #8b5cf6 0%, #6d28d9 100%);
}

.pm-arr-step2-cta-ic {
    font-size: 16px;
    line-height: 1;
}

.pm-arr-step2-back {
    margin: 0 0 8px;
}

.pm-arr-faq-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    margin-right: 6px;
    border-radius: 50%;
    background: #1570ef;
    color: #fff;
    font-size: 0.85em;
    font-weight: 800;
}

.pm-arr-sched-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ece4da;
}

.pm-arr-sched-page-title {
    margin: 0;
    font-size: 1.25rem;
    color: #2B2B2B;
}

/* 径赛第二步：日程时间设置与比赛单元、双栏编排 */
.pm-arr-sched-time-panel {
    margin-top: 4px;
}

/* 去掉内层整块 card，避免与向导外层 card 叠出三层边框 */
.pm-arr-sched-time-panel--flat {
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* 第二步向导里内层日程卡片，避免与外层 card 叠加出过大的上下留白 */
.pm-arr-panel--wiz > .pm-arr-sched-time-panel.card {
    padding: 10px 14px 16px;
}

.pm-arr-panel--wiz > .pm-arr-sched-time-panel--flat {
    padding: 0;
}

.pm-arr-sched-time-panel__head {
    padding: 8px 4px 8px;
    border-bottom: 1px solid #ece4da;
}

.pm-arr-sched-time-panel__title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pm-arr-sched-time-panel__body {
    padding: 0 4px 12px;
}

/* 比赛单元 + 右侧编排说明（同一行） */
.pm-arr-sched-unit-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 8px;
    padding: 4px 0 8px;
    border-bottom: 1px solid #f2f4f7;
}

/* 比赛单元放在边框外：紧凑一行，不再单独成卡片 */
.pm-arr-sched-unit-strip--outside {
    margin: 0 0 10px;
    padding: 0 0 8px;
    border-bottom: 1px solid #ece4da;
}

.pm-arr-sched-unit-strip--outside .pm-arr-sched-unit-label-text {
    font-weight: 600;
    color: #2B2B2B;
}

.pm-arr-sched-col--flat {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.pm-arr-sched-col-head--outside {
    margin: 0 0 8px;
    padding: 0;
}

.pm-arr-sched-table-shell,
.pm-arr-sched-pending-shell {
    margin: 0;
    padding: 10px 12px 12px;
}

/* 已排列表：去掉外层大边框，仅保留表格本身 */
.pm-arr-sched-table-shell--borderless {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    border-radius: 0;
}

.pm-arr-sched-pending-shell .pm-arr-track-board-toolbar--embedded {
    margin: 0 0 4px;
    padding: 4px 0 2px;
}

.pm-arr-sched-pending-shell .pm-arr-track-merge-tip {
    margin: 0 0 8px;
}

.card.pm-arr-sched-pending-shell,
.pm-arr-track-board-merge {
    overflow: visible;
}

.pm-arr-sched-unit-strip--field-sync .pm-arr-step2-info--beside-unit {
    flex: 1 1 100%;
    min-width: 0;
}

.pm-arr-sched-unit-row--embedded.pm-arr-sched-unit-row--in-strip {
    margin: 0;
    padding: 0;
    border-bottom: 0;
    flex: 0 0 auto;
}

.pm-arr-step2-info--beside-unit {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    max-width: 100%;
    padding: 8px 10px;
}

.pm-arr-step2-info--full {
    margin: 10px 0 12px;
    width: 100%;
}

.pm-arr-sched-unit-row--embedded {
    margin: 12px 0 14px;
    padding: 12px 0 14px;
    border-bottom: 1px solid #f2f4f7;
}

.pm-arr-sched-time-panel__body > .pm-arr-sched-dual.pm-arr-track-board-dual {
    margin-bottom: 0;
}

.pm-arr-sched-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.pm-arr-sched-unit-row {
    padding: 12px 16px;
    margin-bottom: 14px;
}

.pm-arr-sched-unit-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pm-arr-sched-unit-label span {
    font-weight: 600;
    color: #2B2B2B;
}

.pm-arr-sched-unit-select {
    min-width: 260px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

.pm-arr-sched-unit-label--board {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.pm-arr-sched-unit-label--board .pm-arr-sched-unit-select {
    width: 100%;
    min-width: 0;
}

.pm-arr-sched-unit-tip {
    margin: 10px 0 0;
}

.pm-arr-sched-relay-tip {
    margin-bottom: 14px;
}

.pm-arr-sched-lead {
    margin: 0 0 14px;
    color: #667070;
    font-size: 0.95rem;
    line-height: 1.55;
}

.pm-arr-hidden-chain {
    display: none;
}

.pm-arr-sched-dual--locked .pm-arr-track-board-mode,
.pm-arr-sched-dual--locked .pm-arr-track-quick-add,
.pm-arr-sched-dual--locked .pm-arr-track-bulk-add,
.pm-arr-sched-dual--locked .pm-field-auto-cta,
.pm-arr-sched-dual--locked .pm-single-pool-pick {
    display: none !important;
}

.pm-arr-sched-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
    align-items: start;
}

/* 径赛/田赛日程：左已排 6、右待选 4 */
.pm-arr-sched-dual.pm-arr-track-board-dual {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: 14px;
}

@media (max-width: 1024px) {
    .pm-arr-sched-dual {
        grid-template-columns: 1fr;
    }
}

.pm-arr-sched-col {
    padding: 14px 16px 16px;
    min-width: 0;
}

.pm-arr-sched-col-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pm-arr-sched-col-title {
    margin: 0;
    font-size: 1.05rem;
    color: #2B2B2B;
}

.pm-arr-sched-warm {
    margin: 0 0 12px;
    font-size: 0.88rem;
}

.pm-track-placed-head-row {
    align-items: center;
}

.pm-track-placed-head-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.pm-track-placed-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pm-track-placed-help {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #98a2b3;
    background: #faf7f2;
    color: #667070;
    font-size: 12px;
    font-weight: 700;
    cursor: help;
    line-height: 1;
    padding: 0;
}

.pm-track-placed-help:hover {
    background: #fff6ea;
    border-color: #1570ef;
    color: #1570ef;
}

.pm-track-placed-show-all {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
    white-space: nowrap;
}

.pm-track-placed-show-all-lab {
    font-weight: 600;
}

.pm-track-placed-show-all-sub {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.88;
}

.pm-track-placed-detail--stripe,
.pm-arr-track-board-table tbody tr.pm-track-placed-detail,
.pm-arr-track-board-table tbody tr.pm-track-placed-detail td {
    background: transparent;
}

.pm-track-time--board {
    border-color: #1570ef;
    box-shadow: 0 0 0 1px rgba(21, 112, 239, 0.15);
}

.pm-track-dur-td {
    vertical-align: middle;
}

.pm-track-dur-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.pm-track-combo-cell--compact {
    white-space: nowrap;
    vertical-align: middle;
}

.pm-track-time-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    max-width: 100%;
}

/* 日程已排表：比赛时刻只读展示（非时间选择器） */
.pm-track-time-display {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
    color: #2B2B2B;
}

.pm-track-time-md {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: #2B2B2B;
    white-space: nowrap;
}

.pm-track-time-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.6em;
    padding: 2px 10px;
    border: 1.5px solid #2e90fa;
    border-radius: 6px;
    color: #1570ef;
    background: #fff;
    font-weight: 500;
    line-height: 1.35;
}

.pm-track-unit-time-prefix {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #2B2B2B;
    white-space: nowrap;
    line-height: 1.2;
}

.pm-track-dur-cell--inline {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.pm-track-dur-read {
    font-weight: 400;
    font-size: 0.85rem;
    color: #2B2B2B;
    white-space: nowrap;
}

.pm-track-dur-cell--inline .pm-track-dur-read {
    font-size: 0.78rem;
    line-height: 1.2;
}

.pm-track-dur-inp--board {
    max-width: 4.25rem;
    text-align: center;
}

.pm-track-dur-cell--inline .pm-track-dur-inp--board {
    max-width: 3.1rem;
}

.pm-arr-step2-dual-table-wrap {
    overflow-x: auto;
}

.pm-arr-step2-dual-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: auto;
}

.pm-arr-step2-dual-table th,
.pm-arr-step2-dual-table td {
    border: 1px solid #d8e2ec;
    padding: 7px 9px;
    vertical-align: middle;
    line-height: 1.35;
}

.pm-arr-step2-dual-table th {
    background: #f2f7fd;
    font-weight: 600;
    color: #2B2B2B;
    text-align: left;
    font-size: 0.86rem;
    border-bottom: 1px solid #e4e7ec;
}

/* 固定表头样式由下方主规则统一控制 */

.pm-arr-step2-th-num {
    width: 34px;
    text-align: center !important;
}

/* 保障右侧两列（预计/分组数）不会被挤没 */
.pm-arr-track-board-table th:nth-child(5),
.pm-arr-track-board-table td:nth-child(5) {
    min-width: 64px;
    white-space: nowrap;
}

.pm-arr-track-board-table th:nth-child(6),
.pm-arr-track-board-table td:nth-child(6) {
    min-width: 56px;
    white-space: nowrap;
}

/* 比赛时间、组别留出足够可读宽度；“项目名称”上限略收紧以平衡版面 */
.pm-arr-track-board-table th:nth-child(2),
.pm-arr-track-board-table td:nth-child(2) {
    width: 196px;
}

.pm-arr-track-board-table th:nth-child(3),
.pm-arr-track-board-table td:nth-child(3) {
    width: 100px;
}

.pm-arr-track-board-table th:nth-child(4),
.pm-arr-track-board-table td:nth-child(4) {
    min-width: 0;
    width: auto;
    max-width: none;
}

.pm-arr-track-board-table tbody td.pm-track-ev-cell--layout {
    padding-right: 0.14rem;
}

.pm-arr-track-board-table tbody td:nth-child(5) {
    padding-left: 0.28rem;
}

.pm-arr-track-board-table td.pm-track-grp-cell {
    font-weight: 400;
    color: #2B2B2B;
    max-width: none;
    white-space: nowrap;
}

.pm-arr-track-board-table td.pm-track-ev-cell.pm-track-ev-cell--layout {
    display: table-cell;
    width: auto;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.pm-arr-track-board-table td.pm-track-ev-cell--layout > .pm-arr-step2-ev {
    display: inline;
    min-width: 0;
    margin-right: 0;
    font-weight: 400;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.pm-arr-track-board-table td.pm-track-ev-cell--layout > .pm-arr-sex-chip,
.pm-arr-track-board-table td.pm-track-ev-cell--layout > .pm-arr-sex-chip-slot {
    display: inline-block;
    margin: 0 4px !important;
    font-weight: 400;
    vertical-align: middle;
}

.pm-arr-track-board-table td.pm-track-ev-cell--layout > .pm-arr-round {
    display: inline-block;
    text-align: center;
    margin-left: 0 !important;
    white-space: nowrap;
    font-weight: 400;
    vertical-align: middle;
}

.pm-arr-sex-chip-slot {
    display: inline-block;
    width: 0;
    overflow: hidden;
}

/* 无 --layout 时的旧版一行展示（占位） */
.pm-arr-track-board-table td.pm-track-ev-cell:not(.pm-track-ev-cell--layout) .pm-arr-step2-ev {
    display: inline-block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.pm-arr-step2-empty {
    text-align: center;
    color: #667070;
    padding: 16px 8px !important;
}

.pm-arr-step2-date,
.pm-arr-step2-time {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pm-arr-step2-time {
    color: #667070;
    font-weight: 600;
    font-size: 0.86rem;
}

.pm-arr-step2-ev {
    margin-right: 4px;
    font-weight: 600;
    color: #111827;
    font-size: 0.96rem;
}

.pm-arr-round {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pm-arr-round--pre {
    background: #fff6ea;
    color: #6b4423;
}

.pm-arr-round--fin {
    background: #d1fadf;
    color: #039855;
}

.pm-arr-sex-chip {
    display: inline-block;
    margin: 0 4px 0 0;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pm-arr-track-board-table .pm-track-time--dense.pm-track-time--board {
    border-radius: 6px;
    border-color: #5aa3e8;
    box-shadow: none;
    font-size: 0.8rem;
    height: 28px;
    min-height: 28px;
    padding: 2px 7px;
    max-width: 5rem;
}

.pm-arr-track-board-table .pm-track-dur-inp--dense.pm-track-dur-inp--board {
    height: 28px;
    min-height: 28px;
    font-size: 0.8rem;
    padding: 2px 5px;
}

.pm-arr-track-board-table input[type='checkbox'] {
    width: 12px;
    height: 12px;
}

.pm-arr-sex-chip--m {
    background: #d1e9ff;
    color: #6b4423;
}

.pm-arr-sex-chip--f {
    background: #fce7f3;
    color: #c11574;
}

.pm-arr-sex-chip--x {
    background: #e8f5e9;
    color: #1b7a3d;
}

.pm-arr-sched-pending-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-arr-step2-top-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.pm-arr-step2-top-actions .btn {
    border-radius: 8px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 0.82rem;
}

.pm-arr-step2-toggle {
    margin-top: 0;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.pm-arr-step2-info {
    margin: 10px 0 12px;
    padding: 10px 12px;
    border: 1px solid #b9e6dc;
    background: linear-gradient(180deg, #eafaf6 0%, #e4f7f3 100%);
    color: #0f5132;
    border-radius: 8px;
}

.pm-arr-step2-info p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.pm-arr-step2-info p + p {
    margin-top: 4px;
}

.pm-arr-sched-pending-toolbar {
    margin-bottom: 12px;
}

.pm-arr-pending-filter-label {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-size: 0.88rem;
    color: #2B2B2B;
}

.pm-arr-pending-filter-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 30px;
    min-height: 30px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #e4e7ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none;
    line-height: 28px;
}

.pm-arr-step2-hintbar {
    margin: 0 0 8px;
    padding: 8px 10px;
    border: 1px solid #b9e6dc;
    border-radius: 8px;
    background: linear-gradient(180deg, #ecfdf8 0%, #e6faf3 100%);
    color: #0f5132;
    font-size: 0.8rem;
    line-height: 1.45;
}

.pm-arr-track-board-mode .pm-arr-track-mode-btn.btn-primary {
    background: linear-gradient(180deg, #12b981 0%, #0e9f6e 100%);
    border-color: #0e9f6e;
}

.pm-arr-track-board-mode .pm-arr-track-mode-btn.btn-secondary {
    border-color: #C5DDD4;
    color: #2A847C;
    background: #F4F7F7;
}

.pm-arr-track-board-toolbar {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
    padding: 6px 10px;
}

.pm-arr-sched-col {
    border: 1px solid #dbe5ee;
    border-radius: 10px;
    background: #fff;
}

.pm-arr-sched-col-head {
    padding: 10px 12px;
    border-bottom: 1px solid #e5edf4;
    background: #f8fbff;
}

.pm-arr-track-board-table thead th {
    background: #F8FAFA;
    color: #2B2B2B;
    font-weight: 600;
}

.pm-arr-track-merge-card {
    border: 1px solid #e4edf4;
    background: #f4fffb;
}

.pm-arr-badge-merge-count {
    background: #12b886;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.pm-arr-badge-merge-time {
    background: #F4F7F7;
    color: #2A847C;
    border: 1px solid #D0DADA;
}

.pm-arr-pending-quick {
    margin: 8px 0 0;
}

.pm-arr-pending-empty {
    text-align: center;
    padding: 28px 12px 20px;
    color: #667070;
}

.pm-arr-pending-empty-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #F4F7F7;
    color: #2A847C;
    font-size: 1.6rem;
    font-weight: 700;
}

.pm-arr-pending-empty-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2A847C;
}

.pm-arr-sched-guide {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #ece4da;
    border-radius: 10px;
    background: #fcfcfd;
}

.pm-arr-sched-guide summary {
    cursor: pointer;
    font-weight: 600;
    color: #6b4423;
}

.pm-arr-sched-guide-body {
    padding-top: 10px;
    font-size: 0.9rem;
    color: #667070;
    line-height: 1.6;
}

.pm-arr-sched-guide-body ol {
    margin: 0;
    padding-left: 1.2em;
}

.pm-arr-wf-foot {
    margin: 14px 0 0;
}

.pm-arr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 18px 0 16px;
    padding: 4px;
    background: #eef2f6;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.pm-arr-tab {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667070;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.pm-arr-tab:hover {
    background: rgba(255, 255, 255, 0.7);
    color: #2B2B2B;
}

.pm-arr-tab--active {
    background: #fff;
    color: #0ba5c8;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.pm-arr-panel {
    margin-bottom: 20px;
}

.pm-arr-panel-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.pm-arr-status-next-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 16px 0 4px;
}

.pm-arr-status-next-btn {
    min-height: 40px;
}

.pm-arr-h3 {
    margin: 20px 0 10px;
    font-size: 1.02rem;
}

.pm-plan-status--done {
    background: #dcfae6;
    color: #027a48;
    border: 1px solid #73e2a3;
}

.pm-arr-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
    margin-bottom: 16px;
}

.pm-arr-filter-card {
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ece4da;
}

.pm-arr-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: flex-end;
    margin-top: 0;
}

.pm-arr-filter-grid label span {
    display: block;
    font-size: 0.85rem;
    color: #2B2B2B;
    font-weight: 600;
    margin-bottom: 4px;
}

.pm-arr-filter-grid select {
    min-width: 160px;
    height: 36px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    background: #fff;
}

.pm-arr-filter-actions {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    height: 36px;
}

.pm-arr-filter-submit.btn {
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
    border-radius: 8px;
    box-sizing: border-box;
}

.pm-arr-filter-clear {
    font-size: 0.9rem;
    color: #1570ef;
    text-decoration: underline;
}

.pm-arr-hero {
    text-align: center;
    padding: 32px 20px 28px;
    margin: 8px 0 24px;
    border-radius: 16px;
    background: linear-gradient(165deg, #f0f9ff 0%, #ecfeff 40%, #faf7f2 100%);
    border: 1px solid #ecd4b8;
}

.pm-arr-hero-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 12px;
    background: linear-gradient(145deg, #dcc9a8, #0ba5c8);
    box-shadow: 0 8px 20px rgba(11, 165, 200, 0.25);
    position: relative;
}

.pm-arr-hero-icon::before,
.pm-arr-hero-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 3px;
}

.pm-arr-hero-icon::before {
    width: 28px;
    height: 8px;
    top: 16px;
}

.pm-arr-hero-icon::after {
    width: 22px;
    height: 8px;
    top: 28px;
    opacity: 0.85;
}

.pm-arr-hero-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #4a301f;
}

.pm-arr-hero-text {
    margin: 0 auto 20px;
    max-width: 520px;
    color: #667070;
    line-height: 1.65;
    font-size: 0.95rem;
}

.pm-arr-start-btn {
    min-width: 220px;
    padding: 12px 28px;
    font-size: 1rem;
}

.pm-arr-start-form {
    margin: 0;
}

.pm-arr-hero-foot {
    margin: 16px auto 0;
    max-width: 560px;
    font-size: 0.85rem;
    color: #667070;
    line-height: 1.55;
}

.pm-arr-hero-warn {
    max-width: 480px;
    margin: 0 auto 16px;
    text-align: left;
}

.pm-arr-track-settings {
    margin-bottom: 8px;
}

.pm-arr-track-settings > .pm-arr-h3 {
    margin: 0 0 8px;
}

.pm-arr-track-settings-scroll {
    overflow-x: auto;
    margin-top: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.pm-arr-track-settings-table {
    min-width: 1280px;
    width: 100%;
    table-layout: fixed;
}

.pm-arr-track-settings-table col.pm-arr-track-col-seq {
    width: 3.25rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-group {
    width: 5.5rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-name {
    width: 14%;
}

.pm-arr-track-settings-table col.pm-arr-track-col-count {
    width: 5rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-toggle {
    width: 4.5rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-sched {
    width: 9.75rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-num {
    width: 4.25rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-max {
    width: 5.25rem;
}

.pm-arr-track-settings-table col.pm-arr-track-col-adv-mode {
    width: 6rem;
}

.pm-arr-track-settings-table th.pm-arr-track-th-max {
    white-space: nowrap;
    word-break: keep-all;
}

.pm-arr-track-th-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
    vertical-align: middle;
}

.pm-arr-track-th-label {
    white-space: nowrap;
    word-break: keep-all;
}

.pm-arr-track-th-sched-wrap {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    max-width: 100%;
}

.pm-arr-track-select--batch {
    width: 4.25rem !important;
    max-width: 4.25rem !important;
    min-width: 0 !important;
    flex: 0 0 4.25rem;
    font-size: 11px;
    padding: 1px 0 1px 2px;
    height: 24px;
    min-height: 24px;
    line-height: 1.2;
    box-sizing: border-box;
}

.pm-arr-track-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 2px;
    border: 1px solid #8ab0d8;
    border-radius: 999px;
    background: #eef5fc;
    color: #2f6fad;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
}

.pm-arr-track-help:hover {
    background: #dceaf8;
}

.pm-arr-track-help-dialog {
    border: 0;
    border-radius: 10px;
    padding: 0;
    max-width: 420px;
    width: calc(100% - 32px);
    box-shadow: 0 12px 40px rgba(20, 40, 70, 0.22);
}

.pm-arr-track-help-dialog::backdrop {
    background: rgba(20, 30, 50, 0.35);
}

.pm-arr-track-help-panel {
    margin: 0;
}

.pm-arr-track-help-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #e6edf5;
}

.pm-arr-track-help-close {
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #667788;
}

.pm-arr-track-help-body {
    padding: 12px 14px 4px;
    color: #2B2B2B;
    font-size: 13px;
    line-height: 1.55;
}

.pm-arr-track-help-body ul {
    margin: 8px 0 0;
    padding-left: 1.2em;
}

.pm-arr-track-help-foot {
    display: flex;
    justify-content: flex-end;
    padding: 8px 14px 12px;
}

.pm-arr-track-settings-table input.pm-arr-track-num {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.88);
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.pm-arr-track-settings-table input.input.pm-arr-track-num:disabled,
.pm-arr-track-settings-table input.pm-arr-track-num:disabled,
.pm-arr-track-settings-table input.input.pm-arr-track-num.is-disabled,
.pm-arr-track-settings-table input.pm-arr-track-num.is-disabled,
.pm-arr-track-settings-table input.input.pm-arr-track-num[readonly],
.pm-arr-track-settings-table input.pm-arr-track-num[readonly] {
    background-color: #f5f5f5 !important;
    background-image: none !important;
    color: rgba(0, 0, 0, 0.25) !important;
    border-color: #d9d9d9 !important;
    cursor: not-allowed;
    opacity: 1 !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.25);
    box-shadow: none !important;
}

.pm-arr-track-settings-table.hide-adv-pre col.pm-arr-track-col-adv-pre,
.pm-arr-track-settings-table.hide-adv-pre th.pm-arr-track-th-adv-pre,
.pm-arr-track-settings-table.hide-adv-pre td.pm-arr-track-td-adv-pre,
.pm-arr-track-settings-table.hide-adv-semi col.pm-arr-track-col-adv-semi,
.pm-arr-track-settings-table.hide-adv-semi th.pm-arr-track-th-adv-semi,
.pm-arr-track-settings-table.hide-adv-semi td.pm-arr-track-td-adv-semi,
.pm-arr-track-settings-table.hide-qq-pre col.pm-arr-track-col-q-pre,
.pm-arr-track-settings-table.hide-qq-pre col.pm-arr-track-col-q-prex,
.pm-arr-track-settings-table.hide-qq-pre th.pm-arr-track-th-q-pre,
.pm-arr-track-settings-table.hide-qq-pre th.pm-arr-track-th-q-prex,
.pm-arr-track-settings-table.hide-qq-pre td.pm-arr-track-td-q-pre,
.pm-arr-track-settings-table.hide-qq-pre td.pm-arr-track-td-q-prex,
.pm-arr-track-settings-table.hide-qq-semi col.pm-arr-track-col-q-semi,
.pm-arr-track-settings-table.hide-qq-semi col.pm-arr-track-col-q-semix,
.pm-arr-track-settings-table.hide-qq-semi th.pm-arr-track-th-q-semi,
.pm-arr-track-settings-table.hide-qq-semi th.pm-arr-track-th-q-semix,
.pm-arr-track-settings-table.hide-qq-semi td.pm-arr-track-td-q-semi,
.pm-arr-track-settings-table.hide-qq-semi td.pm-arr-track-td-q-semix {
    display: none;
}

.pm-arr-track-settings-table th,
.pm-arr-track-settings-table td {
    vertical-align: middle;
    word-break: break-word;
    padding: 4px 8px;
    line-height: 1.25;
}

.pm-arr-track-settings-table thead th {
    color: #000000;
    font-weight: 700;
    padding: 8px 6px;
    border-bottom: 2px solid #c8cdd6;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
}

.pm-arr-track-settings-table td.pm-arr-td-center,
.pm-arr-track-settings-table th.pm-arr-td-center {
    text-align: center;
    vertical-align: middle;
}

.pm-arr-track-settings-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 8px;
}

.pm-arr-track-settings-table tbody tr:hover td {
    box-shadow: inset 0 0 0 9999px rgba(29, 41, 57, 0.1);
}

.pm-arr-track-group {
    text-align: center;
}

.pm-arr-track-group-pill {
    display: inline-block;
    min-width: 3.6rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.pm-arr-track-row--g1 td { background: #eef6ff; }
.pm-arr-track-row--g1 .pm-arr-track-group-pill { background: #d1e4ff; color: #175cd3; }
.pm-arr-track-row--g2 td { background: #ecfdf3; }
.pm-arr-track-row--g2 .pm-arr-track-group-pill { background: #c8f0d6; color: #067647; }
.pm-arr-track-row--g3 td { background: #fff7ed; }
.pm-arr-track-row--g3 .pm-arr-track-group-pill { background: #ffd9b8; color: #c4320a; }
.pm-arr-track-row--g4 td { background: #f5f3ff; }
.pm-arr-track-row--g4 .pm-arr-track-group-pill { background: #ddd6fe; color: #5C7A64; }
.pm-arr-track-row--g5 td { background: #fdf2fa; }
.pm-arr-track-row--g5 .pm-arr-track-group-pill { background: #fcccee; color: #c11574; }
.pm-arr-track-row--g6 td { background: #fffbeb; }
.pm-arr-track-row--g6 .pm-arr-track-group-pill { background: #fde68a; color: #b54708; }
.pm-arr-track-row--g7 td { background: #f0f9ff; }
.pm-arr-track-row--g7 .pm-arr-track-group-pill { background: #bae6fd; color: #0369a1; }
.pm-arr-track-row--g8 td { background: #f0fdf4; }
.pm-arr-track-row--g8 .pm-arr-track-group-pill { background: #bbf7d0; color: #15803d; }
.pm-arr-track-row--g9 td { background: #fdf4ff; }
.pm-arr-track-row--g9 .pm-arr-track-group-pill { background: #e9d5ff; color: #7e22ce; }
.pm-arr-track-row--g10 td,
.pm-arr-track-row--g11 td,
.pm-arr-track-row--g12 td { background: #F8FAFA; }
.pm-arr-track-row--g10 .pm-arr-track-group-pill,
.pm-arr-track-row--g11 .pm-arr-track-group-pill,
.pm-arr-track-row--g12 .pm-arr-track-group-pill { background: #E2E8E8; color: #2B2B2B; }
.pm-arr-track-row--g0 td { background: #fff; }
.pm-arr-track-row--g0 .pm-arr-track-group-pill { background: #e4e7ec; color: #667070; }
.pm-arr-track-row.pm-arr-sexrow--m td,
.pm-arr-field-row.pm-arr-sexrow--m td {
    background: #E7F1FB;
}
.pm-arr-track-row.pm-arr-sexrow--f td,
.pm-arr-field-row.pm-arr-sexrow--f td {
    background: #FDECF2;
}
.pm-arr-track-row.pm-arr-sexrow--x td,
.pm-arr-field-row.pm-arr-sexrow--x td {
    background: #EEF8F5;
}

.pm-arr-track-settings-table .pm-arr-track-seq {
    width: 3.25rem;
    text-align: center;
    color: #667070;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
}

.pm-arr-track-settings-table .pm-arr-track-name {
    font-weight: 700;
    text-align: center;
}

.pm-arr-track-settings-table .pm-arr-track-num {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 28px;
    height: 28px;
    padding: 2px 4px;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.pm-arr-track-settings-table .pm-arr-track-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 28px;
    height: 28px;
    padding: 2px 4px;
    text-align: center;
    text-align-last: center;
}

.pm-arr-track-settings-table .pm-arr-track-select--batch {
    text-align: left;
    text-align-last: left;
}

.pm-arr-track-settings-table input.input.pm-arr-track-num:disabled,
.pm-arr-track-settings-table input.input.pm-arr-track-num.is-disabled {
    background-color: #f5f5f5 !important;
    color: rgba(0, 0, 0, 0.25) !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.25);
    cursor: not-allowed;
}

.pm-arr-track-board-lead {
    margin-bottom: 12px;
}

.pm-arr-track-board-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 20px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.pm-arr-track-board-toolbar--embedded {
    margin: 0 0 12px;
    padding: 4px 0 10px;
    border: none;
    border-bottom: none;
    background: transparent;
    border-radius: 0;
}

.pm-arr-track-pending-head {
    margin-bottom: 0;
}

.pm-arr-track-board-mode {
    display: inline-flex;
    gap: 8px;
}

.pm-arr-track-board-dual {
    align-items: flex-start;
}

.pm-arr-track-board-scroll {
    max-height: 520px;
    overflow: auto;
    position: relative;
}

.pm-arr-track-board-table {
    font-size: 0.8125rem;
    border-collapse: separate;
    border-spacing: 0;
    position: relative;
}

.pm-arr-track-board-table thead th {
    position: static;
    background: #F8FAFA;
    color: #2B2B2B;
    box-shadow: none;
    border-bottom: 1px solid #e4e7ec;
    padding: 0.28rem 0.35rem;
    white-space: nowrap;
    line-height: 1.3;
    text-align: center;
}

.pm-arr-track-board-table td {
    padding: 0.18rem 0.35rem;
    vertical-align: middle;
    line-height: 1.35;
    position: relative;
    z-index: 1;
    text-align: center;
}

.pm-arr-track-board-table tbody td {
    padding: 0.3rem 0.42rem;
    border-bottom: 1px solid #edf1f7;
}

.pm-arr-track-board-table tbody tr.pm-track-placed-detail:hover td,
.pm-arr-track-board-table tbody tr.pm-track-placed-detail--stripe:hover td {
    background: #eef6ff;
}

.pm-arr-track-board-table tbody tr.pm-track-placed-detail:has(.pm-track-placed-cb:checked) td {
    background: #e0effe !important;
}

.pm-arr-track-board-table .pm-track-th-time {
    width: min(15.75rem, 38vw);
    min-width: 11.875rem;
}

.pm-arr-track-board-table .pm-track-time--dense.pm-track-time--board {
    padding: 1px 4px;
    font-size: 0.75rem;
    line-height: 1.2;
    min-height: 0;
    max-width: 5.5rem;
}

.pm-arr-track-board-table .pm-track-th-grp {
    width: 6.75rem;
}

.table-card .pm-arr-track-board-table thead th {
    color: #2B2B2B;
    border-bottom: 1px solid #e4e7ec;
    box-shadow: none;
}

.pm-arr-track-board-table .pm-arr-step2-ev,
.pm-arr-track-board-table .pm-track-dur-read,
.pm-arr-track-board-table td.pm-track-grp-cell {
    font-weight: 400;
}

.pm-track-combo-cell {
    vertical-align: middle;
}

.pm-track-combo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pm-track-combo--timeonly {
    gap: 2px;
}

.pm-track-combo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pm-track-date-zh {
    font-size: 0.8rem;
    color: #667070;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pm-track-date--dense,
.pm-track-time--dense {
    padding: 2px 6px;
    font-size: 0.78rem;
    min-height: 0;
    max-width: 9rem;
}

.pm-track-time--dense {
    border-radius: 6px;
}

.pm-track-ellipsis {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-track-ev-cell {
    min-width: 0;
}

.pm-track-ev-cell .pm-arr-sex-chip {
    margin-left: 4px;
}

.pm-track-dur,
.pm-track-heats {
    font-variant-numeric: tabular-nums;
}

.pm-track-placed-ghead td {
    background: #faf7f2;
    border-top: 1px solid #e3d9ce;
}

.pm-track-ghead-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.pm-track-ghead-ev {
    font-weight: 700;
    color: #2B2B2B;
}


.pm-arr-track-merge-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: none;
    overflow: visible;
}

.pm-arr-track-merge-more-wrap {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.pm-arr-track-merge-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: -2px 0 8px;
    font-size: 0.78rem;
    color: #667070;
    line-height: 1.35;
}

.pm-arr-track-merge-tip-ic {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border-radius: 50%;
    background: #12b886;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    line-height: 16px;
    text-align: center;
}

.pm-arr-track-merge-card {
    border: 1px solid #e4edf4;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    background: #f4fffb;
}

.pm-arr-track-merge-card-main {
    display: flex;
    align-items: stretch;
    min-height: 64px;
}

.pm-arr-track-merge-card-head {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: stretch;
}

.pm-arr-track-merge-card-actions {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
}

.pm-arr-track-merge-card-actions .pm-arr-track-quick-add,
.pm-arr-track-merge-card-actions .pm-arr-track-quick-add.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    height: auto;
    padding: 8px 10px;
    border: none;
    border-radius: 0;
    background: #12b886 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.25;
    white-space: pre-line;
    box-shadow: none !important;
    filter: none !important;
}

.pm-arr-track-merge-card-actions .pm-arr-track-quick-add:hover,
.pm-arr-track-merge-card-actions .pm-arr-track-quick-add:focus,
.pm-arr-track-merge-card-actions .pm-arr-track-quick-add:focus-visible,
.pm-arr-track-merge-card-actions .pm-arr-track-quick-add.btn-primary:hover,
.pm-arr-track-merge-card-actions .pm-arr-track-quick-add.btn-primary:focus {
    background: #0d9a6f !important;
    border-color: #0d9a6f !important;
    color: #fff !important;
    filter: none !important;
    box-shadow: none !important;
}

.pm-arr-track-merge-card-actions .pm-arr-track-pick-only {
    border-color: #9ecabf;
    background: #F4F7F7;
    color: #2A847C;
    font-weight: 700;
}

.pm-arr-track-merge-card-mid {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 8px 12px;
}

.pm-arr-track-merge-card-left {
    flex: 1 1 auto;
    min-width: 8em;
}

.pm-arr-track-merge-card-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-left: 12px;
    padding-right: 8px;
    min-width: 7.8em;
}

.pm-arr-track-merge-card-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
}

.pm-arr-badge-merge-count,
.pm-arr-badge-soft.pm-arr-badge-merge-count {
    background: #12b886;
    color: #fff;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.78rem;
}

.pm-arr-track-merge-toggle {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #667070;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    align-self: flex-end;
    margin-left: 10px;
}

.pm-arr-track-merge-card.is-open .pm-arr-track-merge-toggle {
    transform: rotate(180deg);
}

.pm-arr-track-merge-time {
    margin-left: 0;
    color: #667070;
    font-size: 0.8rem;
    white-space: nowrap;
}

.pm-arr-badge-soft {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    background: #f2f4f7;
    color: #667070;
}

.pm-arr-badge-soft.pm-arr-badge-merge-count {
    background: #12b886;
    color: #fff;
    border-radius: 999px;
    padding: 2px 10px;
}

.pm-arr-track-merge-sub {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #667070;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
}

.pm-arr-track-merge-body {
    display: none;
    padding: 4px 10px 10px 10px;
    background: #fff;
    border-top: 1px solid #eef2f6;
}

.pm-arr-track-merge-card.is-open .pm-arr-track-merge-body {
    display: block;
}

.pm-arr-track-merge-heat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 8px 8px;
    border-radius: 6px;
    border-bottom: none;
    font-size: 0.82rem;
    color: #2B2B2B;
}

.pm-arr-track-merge-heat:hover {
    background: #f2f4f7;
}

.pm-arr-track-merge-heat-no {
    flex: 0 0 auto;
    min-width: 48px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #2B2B2B;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
}

.pm-arr-track-merge-heat-main {
    flex: 1 1 160px;
    min-width: 0;
}

.pm-arr-track-merge-heat-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.pm-arr-track-merge-heat-bot {
    margin-top: 0;
    color: #667070;
    font-size: 0.78rem;
}

@media (max-width: 680px) {
    .pm-arr-track-merge-card-actions {
        flex-direction: row;
    }

    .pm-arr-track-merge-meta {
        justify-content: flex-start;
        margin-left: 0;
    }
}

.pm-arr-track-merge-grades {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 0;
    row-gap: 2px;
    flex: 0 1 auto;
    min-width: 0;
    color: #065f46;
    font-size: 0.82rem;
    line-height: 1.45;
}

.pm-arr-track-merge-grade {
    white-space: nowrap;
}

.pm-arr-track-merge-grades strong {
    color: #047857;
    font-weight: 700;
}

.pm-arr-track-merge-sub .pm-arr-track-merge-genders {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pm-arr-track-merge-genders {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pm-arr-track-merge-tip {
    margin-bottom: 8px;
}

.pm-arr-track-bulk-add,
.pm-arr-track-board-single .pm-arr-track-bulk-add.btn-primary {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background: #12b886 !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: none !important;
}

.pm-arr-track-board-single .pm-arr-track-bulk-add.btn-primary:hover {
    background: #0d9a6f !important;
}

.pm-arr-track-board-single--fig1 .pm-arr-track-bulk-add.btn-primary {
    min-height: 32px;
    padding: 4px 12px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    line-height: 1.2;
}

.pm-arr-track-board-single .pm-single-pool-list {
    max-height: 440px;
    overflow: auto;
    gap: 8px;
}

.pm-arr-track-board-single .pm-arr-track-merge-card.pm-single-pool-card {
    display: block;
    padding: 0;
    background: #f4fffb;
    border: 1px solid #e4edf4;
}

.pm-arr-track-board-single .pm-arr-track-merge-card.pm-single-pool-card:has(.pm-track-pool-cb:checked) {
    border-color: #12b886;
    box-shadow: 0 0 0 2px rgba(18, 184, 134, 0.22);
}

.pm-single-pool-pick {
    display: inline-flex;
    align-items: center;
    margin: 0 6px 0 0;
    cursor: pointer;
}

.pm-single-pool-pick .pm-track-pool-cb {
    width: 16px;
    height: 16px;
    margin: 0;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-card,
.pm-arr-track-board-single--fig1 .pm-single-pool-card.pm-single-fig1-card {
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0;
    padding: 0;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-card:has(.pm-track-pool-cb:checked),
.pm-arr-track-board-single--fig1 .pm-single-pool-card.pm-single-fig1-card:has(.pm-track-pool-cb:checked) {
    border-color: #12b886;
    box-shadow: none !important;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    cursor: default;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    overflow: visible;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-ev {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2B2B2B;
    white-space: nowrap;
    flex-shrink: 0;
}

.pm-arr-track-board-single--fig1 .pm-single-tag,
.pm-arr-track-board-single--fig1 .pm-arr-round {
    border-radius: 999px;
    padding: 1px 7px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.pm-arr-track-board-single--fig1 .pm-single-tag--gender-m {
    background: #e8f1fb;
    color: #2A847C;
}

.pm-arr-track-board-single--fig1 .pm-single-tag--gender-f {
    background: #fce7f3;
    color: #db2777;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-meta {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    flex-shrink: 0;
    color: #667070;
    font-size: 0.78rem;
    white-space: nowrap;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-heats {
    display: inline-block;
    background: #f2f4f7;
    color: #667070;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.78rem;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-card .pm-arr-track-merge-toggle {
    align-self: center;
    margin-left: 0;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-card.is-open .pm-arr-track-merge-body {
    display: block;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-heat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 8px 10px 8px 40px;
    font-size: 0.82rem;
    color: #2B2B2B;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-heat-no {
    font-weight: 700;
}

.pm-arr-track-board-single--fig1 .pm-single-fig1-heat-min,
.pm-arr-track-board-single--fig1 .pm-single-fig1-heat-people {
    color: #667070;
}

.pm-single-mode-lead {
    margin-bottom: 8px;
}

.pm-single-pool-hint {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 0.82rem;
}

.pm-single-pool-scroll {
    max-height: 440px;
    overflow: auto;
}

.pm-single-pool-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 8px;
}

.pm-single-pool-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: start;
    border: 1px solid #dfc4ae;
    border-radius: 10px;
    padding: 10px 12px 10px 10px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pm-single-pool-card:has(.pm-track-pool-cb:checked) {
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
}

/* 径赛待选：多组项目仅部分枪次已排时弱化显示 */
.pm-single-pool-card--partial {
    opacity: 0.55;
    background: #f8f5f1;
}

.pm-single-pool-card-hit {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    margin: 0;
    grid-column: 1;
    min-width: 0;
}

.pm-single-pool-card-main {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 12px;
    min-width: 0;
}

.pm-single-pool-card-hit .pm-track-pool-cb {
    margin-top: 6px;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}

.pm-single-pool-card-center {
    flex: 1 1 200px;
    min-width: 0;
}

.pm-single-pool-card-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    line-height: 1.35;
}

.pm-single-pool-ev {
    font-size: 1rem;
    color: #2B2B2B;
}

.pm-single-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pm-single-tag--grade {
    background: #f2f4f7;
    color: #667070;
}

.pm-single-tag--gender-m {
    background: #fdebd4;
    color: #8b633f;
}

.pm-single-tag--gender-f {
    background: #fce7f3;
    color: #be185d;
}

.pm-single-pool-card-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #667070;
    line-height: 1.4;
    word-break: break-word;
}

.pm-single-pool-card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    min-width: 7.5rem;
    text-align: right;
}

.pm-single-pool-dur {
    font-size: 0.82rem;
    color: #667070;
    font-variant-numeric: tabular-nums;
}

.pm-single-pool-heats-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    background: #F4F7F7;
    color: #047857;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pm-single-pool-expand {
    grid-column: 2;
    grid-row: 1;
    border: none;
    background: #f2f4f7;
    color: #667070;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.pm-single-pool-expand:hover {
    background: #e3d9ce;
}

.pm-single-pool-detail {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed #e3d9ce;
}

.pm-single-pool-detail .tip {
    margin: 0;
    font-size: 0.8rem;
}

.pm-track-batch-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.pm-track-batch-modal[hidden] {
    display: none !important;
}

.pm-track-batch-modal.is-open {
    display: flex !important;
}

.pm-track-batch-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 32, 22, 0.45);
}

.pm-track-batch-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    border: 2px solid #2A847C;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(56, 168, 157, 0.28);
}

.pm-track-batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 14px;
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
}

.pm-track-batch-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
}

.pm-track-batch-x {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.pm-track-batch-x:hover {
    background: rgba(255, 255, 255, 0.15);
}

.pm-track-batch-body {
    padding: 14px 16px;
    overflow: auto;
    flex: 1 1 auto;
}

.pm-track-batch-section-k {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
}

.pm-track-batch-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.pm-track-batch-sort-lab {
    font-weight: 600;
    color: #667070;
}

.pm-track-batch-radio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #2B2B2B;
}

.pm-track-batch-list-wrap {
    max-height: 280px;
    overflow: auto;
    margin-bottom: 12px;
}

.pm-track-batch-table {
    font-size: 0.88rem;
}

.pm-track-batch-table th,
.pm-track-batch-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.pm-track-batch-heat-seq {
    white-space: nowrap;
    min-width: 3.5rem;
    font-weight: 600;
    color: #2B2B2B;
}

.pm-track-batch-group {
    min-width: 4.5rem;
    max-width: 8rem;
}

.pm-track-batch-group-main {
    font-weight: 600;
    color: #2B2B2B;
    line-height: 1.35;
}

.pm-track-batch-group-sub {
    margin-top: 2px;
    font-size: 0.78rem;
    color: #667070;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.pm-track-batch-row2,
.pm-track-batch-row3 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 10px;
    align-items: flex-start;
}

.pm-track-batch-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1 1 160px;
    max-width: 220px;
}

.pm-track-batch-field > span:first-child {
    font-size: 0.82rem;
    font-weight: 600;
    color: #667070;
}

.pm-track-batch-time-wrap {
    position: relative;
    max-width: 240px;
    width: 100%;
}

.pm-track-batch-time-wrap .input {
    width: 100%;
    max-width: none;
    padding-right: 36px;
}

.pm-track-batch-time-native {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
    padding: 0;
}

.pm-track-batch-time-btn {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #2A847C;
    cursor: pointer;
    padding: 0;
}

.pm-track-batch-time-btn:hover {
    background: #e8f1fb;
}

.pm-track-batch-field .input {
    max-width: 240px;
    height: auto;
    min-height: 0;
    padding: 4px 6px;
    box-sizing: border-box;
    border: 1px solid #C5DDD4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #2B2B2B !important;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
    -webkit-appearance: none;
    appearance: none;
}

.pm-track-batch-field input[type="time"],
.pm-track-batch-field input[type="number"] {
    height: auto;
    min-height: 0;
    padding: 4px 6px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #2B2B2B;
    line-height: 1.35;
}

.pm-track-batch-field input[type="time"]::-webkit-datetime-edit,
.pm-track-batch-field input[type="time"]::-webkit-datetime-edit-fields-wrapper,
.pm-track-batch-field input[type="time"]::-webkit-datetime-edit-text,
.pm-track-batch-field input[type="time"]::-webkit-datetime-edit-hour-field,
.pm-track-batch-field input[type="time"]::-webkit-datetime-edit-minute-field,
.pm-track-batch-field input[type="time"]::-webkit-datetime-edit-ampm-field {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    color: #2B2B2B;
    padding: 0;
}

.pm-track-batch-field--session-readonly {
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 100%;
}

.pm-track-batch-session-text {
    margin: 0;
    padding: 4px 6px;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #C5DDD4;
    border-radius: 8px;
    max-width: none;
    width: fit-content;
    min-width: 280px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.35;
    color: #2B2B2B;
    white-space: nowrap;
}

.pm-track-batch-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.pm-track-batch-hint {
    display: block;
    font-size: 0.75rem;
    color: #667070;
    line-height: 1.35;
}

.pm-track-batch-hint--warn {
    color: #d92d20;
    font-weight: 600;
}

.pm-track-batch-field .input.pm-track-batch-prev-end,
.pm-track-batch-prev-end {
    max-width: 240px;
    background: #fff !important;
    color: #667070 !important;
    -webkit-text-fill-color: #667070 !important;
    cursor: default;
    opacity: 1;
}

.pm-track-batch-summary {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f3f6fb;
    border: 1px solid #d8e0ec;
    font-size: 0.88rem;
    color: #2B2B2B;
    line-height: 1.5;
}

.pm-track-dur-inp--dense {
    width: 4.2rem;
    padding: 4px 6px;
    text-align: center;
}

.pm-arr-field-settings {
    margin-bottom: 8px;
}

.pm-arr-field-head {
    background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d;
    border-radius: 8px 8px 0 0;
    padding: 12px 16px;
    margin: 0;
}

.pm-arr-field-head-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #92400e;
}

.pm-arr-field-head-count {
    margin-left: 10px;
    font-weight: 600;
    color: #b45309;
}

.pm-arr-field-tip {
    margin: 10px 0 0;
}

.pm-arr-field-settings-scroll {
    overflow-x: auto;
    margin-top: 0;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.pm-arr-field-settings-table {
    min-width: 880px;
    width: 100%;
    table-layout: fixed;
}

.pm-arr-field-settings-table col.pm-arr-field-col-seq {
    width: 3.25rem;
}

.pm-arr-field-settings-table col.pm-arr-field-col-grade {
    width: 6.5rem;
}

.pm-arr-field-settings-table col.pm-arr-field-col-name {
    width: 22%;
}

.pm-arr-field-settings-table col.pm-arr-field-col-cat {
    width: 5rem;
}

.pm-arr-field-settings-table col.pm-arr-field-col-count {
    width: 7.5rem;
}

.pm-arr-field-settings-table col.pm-arr-field-col-toggle {
    width: 6.5rem;
}

.pm-arr-field-settings-table col.pm-arr-field-col-num {
    width: 6.5rem;
}

.pm-arr-field-settings-table th,
.pm-arr-field-settings-table td {
    vertical-align: middle;
    word-break: break-word;
    padding: 4px 8px;
    line-height: 1.25;
}

.pm-arr-field-settings-table thead th {
    color: #000000;
    font-weight: 700;
    padding: 8px 6px;
    border-bottom: 2px solid #c8cdd6;
    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
}

.pm-arr-field-settings-table .pm-arr-field-name {
    text-align: center;
    font-weight: 700;
}

.pm-arr-field-settings-table .pm-arr-field-num {
    width: 100%;
    max-width: 5.5rem;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    text-align: center;
}

.pm-arr-field-settings-table td.pm-arr-td-center,
.pm-arr-field-settings-table th.pm-arr-td-center {
    text-align: center;
    vertical-align: middle;
}

.pm-arr-field-settings-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding-top: 8px;
    padding-bottom: 8px;
}

.pm-arr-field-settings-table tbody tr:hover td {
    box-shadow: inset 0 0 0 9999px rgba(29, 41, 57, 0.1);
}

.pm-arr-field-group {
    text-align: center;
}

.pm-arr-field-group-pill {
    display: inline-block;
    min-width: 3.6rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.pm-arr-field-row--g1 td { background: #eef6ff; }
.pm-arr-field-row--g1 .pm-arr-field-group-pill { background: #d1e4ff; color: #175cd3; }
.pm-arr-field-row--g2 td { background: #ecfdf3; }
.pm-arr-field-row--g2 .pm-arr-field-group-pill { background: #c8f0d6; color: #067647; }
.pm-arr-field-row--g3 td { background: #fff7ed; }
.pm-arr-field-row--g3 .pm-arr-field-group-pill { background: #ffd9b8; color: #c4320a; }
.pm-arr-field-row--g4 td { background: #f5f3ff; }
.pm-arr-field-row--g4 .pm-arr-field-group-pill { background: #ddd6fe; color: #5C7A64; }
.pm-arr-field-row--g5 td { background: #fdf2fa; }
.pm-arr-field-row--g5 .pm-arr-field-group-pill { background: #fcccee; color: #c11574; }
.pm-arr-field-row--g6 td { background: #fffbeb; }
.pm-arr-field-row--g6 .pm-arr-field-group-pill { background: #fde68a; color: #b54708; }
.pm-arr-field-row--g7 td { background: #f0f9ff; }
.pm-arr-field-row--g7 .pm-arr-field-group-pill { background: #bae6fd; color: #0369a1; }
.pm-arr-field-row--g8 td { background: #f0fdf4; }
.pm-arr-field-row--g8 .pm-arr-field-group-pill { background: #bbf7d0; color: #15803d; }
.pm-arr-field-row--g9 td { background: #fdf4ff; }
.pm-arr-field-row--g9 .pm-arr-field-group-pill { background: #e9d5ff; color: #7e22ce; }
.pm-arr-field-row--g10 td,
.pm-arr-field-row--g11 td,
.pm-arr-field-row--g12 td { background: #F8FAFA; }
.pm-arr-field-row--g10 .pm-arr-field-group-pill,
.pm-arr-field-row--g11 .pm-arr-field-group-pill,
.pm-arr-field-row--g12 .pm-arr-field-group-pill { background: #E2E8E8; color: #2B2B2B; }
.pm-arr-field-row--g0 td { background: #fff; }
.pm-arr-field-row--g0 .pm-arr-field-group-pill { background: #e4e7ec; color: #667070; }
.pm-arr-field-row.pm-arr-sexrow--m td { background: #E7F1FB; }
.pm-arr-field-row.pm-arr-sexrow--f td { background: #FDECF2; }
.pm-arr-field-row.pm-arr-sexrow--x td { background: #EEF8F5; }

.pm-arr-field-settings-table .pm-arr-field-seq {
    width: 3rem;
    text-align: center;
    color: #667070;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.pm-arr-field-th-sub {
    font-weight: 400;
    font-size: 0.78rem;
    color: #667070;
}

.pm-arr-field-grade {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #2B2B2B;
    font-size: 0.88rem;
}

.pm-arr-field-cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
}

.pm-arr-field-cat--m {
    background: #fdebd4;
    color: #8b633f;
}

.pm-arr-field-cat--f {
    background: #fce7f3;
    color: #be185d;
}

.pm-arr-field-cat--x {
    background: #f2f4f7;
    color: #667070;
}

.pm-arr-field-num {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 28px;
    height: 28px;
    padding: 2px 6px;
}

.pm-arr-field-settings-actions {
    margin: 14px 0 0;
    display: flex;
    justify-content: flex-end;
}

.pm-arr-field-preview {
    margin-top: 16px;
}

.pm-arr-track-settings-actions {
    margin: 14px 0 0;
    display: flex;
    justify-content: flex-end;
}

/* 第一步四页保存按钮：始终悬浮在视口右下角，避免长表滚到底才找得到 */
.pm-arr-panel--has-fab {
    padding-bottom: 88px;
}

.pm-arr-step1-fab,
.pm-arr-wizard-foot.pm-arr-step1-fab,
.pm-arr-track-settings-actions.pm-arr-step1-fab,
.pm-arr-field-settings-actions.pm-arr-step1-fab,
.pm-arr-confirm-actions.pm-arr-step1-fab {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    left: auto;
    top: auto;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 0;
    border: none;
    border-top: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

.pm-arr-wizard-foot.pm-arr-step1-fab .pm-arr-coll-actions {
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media print {
    .pm-arr-step1-fab,
    .pm-arr-wizard-foot.pm-arr-step1-fab {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }
}

.pm-arr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #2B2B2B;
}

.pm-arr-body-text {
    color: #667070;
    line-height: 1.7;
    margin: 0 0 16px;
}

.pm-arr-dual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.pm-arr-dual-actions--right {
    width: 100%;
    justify-content: flex-end;
}

/* 第三步秩序册确认区：主按钮水平居中 */
.pm-arr-dual-actions--step3-ob {
    justify-content: center;
    width: 100%;
}

.pm-arr-dual-actions--step3-ob .pm-arr-step4-save-form {
    margin-left: 0;
    margin-right: 0;
}

.pm-arr-step4-submit-btn.btn,
.gb-admin-app .pm-arr-step4-submit-btn.btn {
    color: #fff !important;
    background: #52B788 !important;
    border: 1px solid rgba(27, 94, 32, 0.45) !important;
    box-shadow: 0 1px 2px rgba(27, 94, 32, 0.18) !important;
}

.pm-arr-step4-submit-btn.btn:hover,
.gb-admin-app .pm-arr-step4-submit-btn.btn:hover {
    background: #3D9B6E !important;
    color: #fff !important;
}

.pm-arr-step4-submit-btn.is-done.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pm-arr-wizard-foot.pm-arr-wizard-foot--step3 {
    padding-left: 0;
    padding-right: 0;
    align-items: center;
}

.pm-arr-workpane__cta-wrap .pm-arr-step4-save-form {
    display: inline-flex;
    margin: 0;
}

.gb-admin-app .pm-arr-step4-submit-btn.btn,
.gb-admin-app .pm-arr-step3-dl.btn {
    box-sizing: border-box !important;
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    justify-content: center;
    white-space: nowrap;
}

.pm-arr-step4-submit-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 12px;
    line-height: 1;
}

/* 与「下一步：下载秩序册」同为 btn-primary；禁用态保持同色、无黑框 */
.pm-arr-step4-done-btn.btn-primary {
    cursor: default;
}

.gb-admin-app .pm-arr-step4-done-btn.btn-primary:disabled,
.gb-admin-app .pm-arr-step4-done-btn.btn-primary[disabled] {
    opacity: 1;
    color: #fff;
    cursor: default;
    outline: none;
    box-shadow: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(135deg, #2A847C 0%, #2A847C 100%);
}

.pm-arr-step-list {
    margin: 0 0 16px;
    padding-left: 1.25rem;
    color: #2B2B2B;
    line-height: 1.7;
}

.pm-arr-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pm-arr-badge--ok {
    background: #F4F7F7;
    color: #2A847C;
}

.pm-arr-badge--wait {
    background: #fffaeb;
    color: #b93815;
}

.pm-plan-pending {
    color: #b93815;
    font-weight: 600;
    white-space: nowrap;
}

.pm-arr-checklist--nested {
    margin-top: 24px;
    background: #fcf9f4;
}

.pm-arr-faq-title {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.pm-arr-faq-item {
    border: 1px solid #ece4da;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 0 14px;
    background: #fff;
}

.pm-arr-faq-item summary {
    cursor: pointer;
    padding: 14px 0;
    font-weight: 400;
    color: #2B2B2B;
    list-style: none;
}

.pm-arr-faq-item summary::-webkit-details-marker {
    display: none;
}

.pm-arr-faq-item summary::after {
    content: "+";
    float: right;
    color: #0ba5c8;
    font-weight: 700;
}

.pm-arr-faq-item[open] summary::after {
    content: "−";
}

.pm-arr-faq-body {
    padding: 0 0 14px;
    font-size: 0.9rem;
    color: #667070;
    line-height: 1.65;
}

.pm-arr-faq-body p {
    margin: 0 0 10px;
}

.pm-staff-footer {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pm-staff-tip {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.pm-lock-statusline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin: -6px 0 22px;
    padding: 0;
    font-size: 13px;
    color: #5b6d69;
}

.pm-lock-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;
}

.pm-lock-panel {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 22px 18px;
    background: #fff;
    border: 1px solid #d4ddd8;
    border-radius: 4px;
    box-shadow: none;
}

.pm-lock-panel--reg {
    border-left: 5px solid #c4a574;
    background: #fffdf8;
}

.pm-lock-panel--arr {
    border-left: 5px solid #2f6f62;
    background: #f6faf8;
}

.pm-lock-panel-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.pm-lock-panel-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #243b36;
}

.pm-lock-panel-lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #5b6d69;
}

.pm-lock-panel-actions {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.gb-admin-app .pm-lock-panel .btn.pm-lock-btn,
.pm-lock-btn {
    width: auto;
    min-width: 6.5rem;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 4px !important;
    padding: 8px 16px;
    box-shadow: none !important;
}

.gb-admin-app .pm-lock-panel .btn.pm-lock-btn.pm-lock-btn--lock,
.pm-lock-btn--lock {
    color: #fff !important;
    background: #2f6f62 !important;
    border: 1px solid #2f6f62 !important;
}

.gb-admin-app .pm-lock-panel .btn.pm-lock-btn.pm-lock-btn--lock:hover,
.pm-lock-btn--lock:hover {
    color: #fff !important;
    background: #24574d !important;
    border-color: #24574d !important;
}

.gb-admin-app .pm-lock-panel .btn.pm-lock-btn.pm-lock-btn--unlock,
.pm-lock-btn--unlock {
    color: #8a5a1a !important;
    background: transparent !important;
    border: 1px solid #c4a574 !important;
}

.gb-admin-app .pm-lock-panel .btn.pm-lock-btn.pm-lock-btn--unlock:hover,
.pm-lock-btn--unlock:hover {
    color: #8a5a1a !important;
    background: #f7eedd !important;
    border-color: #c4a574 !important;
}

@media (max-width: 640px) {
    .pm-lock-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .pm-lock-panel-actions {
        align-self: flex-end;
    }
}

.reg-batch-toolbar {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.reg-batch-toolbar--wrap {
    align-items: flex-start;
}

.reg-batch-hint {
    margin: 0;
    flex: 1 1 100%;
    min-width: 200px;
}

.pagination-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.pagination-bar__meta {
    margin: 0;
}

.pagination-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination-nav__disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-nav__current {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    background: #ffe8d4;
    color: #312e81;
}

.pagination-nav__num {
    min-width: 2.25rem;
    text-align: center;
}

.reg-col-check {
    width: 40px;
    text-align: center;
    vertical-align: middle;
}

.reg-admin-table .reg-row-actions {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.reg-edit-card {
    margin-bottom: 20px;
}

.reg-edit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.reg-edit-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.reg-edit-group-switch {
    margin-bottom: 16px;
}

@media print {
    .topbar,
    .footer,
    .notice,
    .action-row,
    .section-title p,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .card,
    .table-card {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .order-cover {
        page-break-after: always;
    }

    .order-section {
        page-break-inside: avoid;
        margin-bottom: 16px;
    }

    .certificate-card {
        page-break-after: always;
    }

    .certificates-page--land .certificate-card--land {
        min-height: auto;
        width: 100%;
    }

    @page certificates-landscape {
        size: landscape;
        margin: 12mm;
    }

    .certificates-page--land .certificate-card--land {
        page: certificates-landscape;
    }

    .ob-doc {
        max-width: none;
        padding: 0;
    }

    .ob-cover.ob-cover--classic {
        min-height: 277mm;
    }

    /* 秩序册分页：与 Word 一致，由模板中的 .ob-doc-hard-page-break 承担，避免与 section 双重要求叠加出空白页 */
    .ob-doc section.ob-page {
        page-break-before: auto;
        break-before: auto;
    }

    .ob-doc section.ob-cover + section.ob-page {
        page-break-before: auto;
        break-before: auto;
    }

    .ob-doc p.ob-doc-hard-page-break {
        margin: 0;
        padding: 0;
        font-size: 1pt;
        line-height: 1pt;
        page-break-before: always;
        break-before: page;
    }

    .ob-doc #ob-toc.ob-toc-sheet {
        min-height: 0;
        padding: 12px 0 0;
        display: block;
    }

    .ob-toc-sheet-inner {
        max-width: none;
    }
}

/* ---------- 秩序册长文档（封面、目录、日程、代表队、分组表） ---------- */
.ob-doc {
    max-width: 210mm;
    margin: 0 auto;
    padding: 16px 12px 48px;
    font-family: "SimSun", "Songti SC", "STSong", serif;
    font-size: 10.5pt;
    line-height: 1.45;
    color: #111;
}

/* 浏览器预览/打印：单格大表 + 重复 tfoot，便于 Chromium 系打印时每页底栏显示页码 */
.ob-doc-print-grid {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0;
    padding: 0;
    table-layout: fixed;
}

.ob-doc-print-grid-thead,
.ob-doc-print-grid-tfoot {
    display: none;
}

.ob-doc-print-grid-body {
    padding: 0;
    border: none;
    vertical-align: top;
}

/* HTML 导出用 Word 打开时，常会忽略或不完全支持 CSS 的 border-collapse，出现“格子之间有空隙”（实为双边框）。辅以 table cellspacing=0 与此处 mso-* 可改善。 */
.ob-doc table {
    border-collapse: collapse;
    border-spacing: 0;
    mso-table-lspace: 0pt;
    mso-table-rspace: 0pt;
}

/* 秩序册数据表：与参考稿一致的全表线框（网页与导出同源） */
.ob-doc table.ob-data-grid-table {
    border: 1px solid #333333;
    box-sizing: border-box;
}

.ob-doc table.ob-data-grid-table th,
.ob-doc table.ob-data-grid-table td {
    border: 1px solid #333333;
}

/* Word 导出专用样式见 assets/order_book_word_export.css（不再嵌入本站 style.css） */

.ob-doc h1,
.ob-doc h2,
.ob-doc h3 {
    font-family: inherit;
}

/* ---------- 秩序册封面（网页预览：白底无装饰图；顶栏横向金字赛事名；竖排「秩序册」；主办 / 承办） ---------- */
.ob-cover.ob-cover--classic {
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0 auto;
    max-width: 210mm;
    min-height: 0;
    page-break-after: always;
    background: #ffffff;
}

.ob-cover-scene-wrap {
    display: none;
}

.ob-cover.ob-cover--classic .ob-cover-inner {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: min(100vh, 297mm);
    padding: 48px 22px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ob-cover-head {
    text-align: center;
    margin: 0 auto;
    padding: 0 12px;
    width: 100%;
    max-width: 580px;
    writing-mode: horizontal-tb;
    flex-shrink: 0;
}

.ob-cover-head-line1 {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
    font-size: 26pt;
    font-weight: 700;
    line-height: 1.38;
    color: #000000;
    font-family: "SimSun", "Songti SC", "STSong", "Times New Roman", serif;
}

/* 届次与会名：一号（26pt）、居中 */
.ob-cover-head-line2 {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    text-align: center;
    font-size: 26pt;
    font-weight: 700;
    line-height: 1.38;
    color: #000000;
    font-family: "SimSun", "Songti SC", "STSong", "Times New Roman", serif;
}

.ob-cover-head-line2:last-child {
    margin-bottom: 0;
}

/* 「秩序册」顶栏与三字间距再加大 */
.ob-cover-title-vertical {
    margin: 118px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36pt;
    font-family: inherit;
    flex-shrink: 0;
}

/* 小初 · 竖排 · 黑色 */
.ob-cover-title-char {
    font-size: 36pt;
    font-weight: 700;
    color: #000000;
    line-height: 1.05;
    letter-spacing: 0;
    text-indent: 0;
    font-family: "SimSun", "Songti SC", "STSong", serif;
}

.ob-cover-main-spacer {
    flex: 1 1 auto;
    width: 100%;
    min-height: 48px;
}

.ob-cover-footer {
    width: 100%;
    max-width: 420px;
    margin-top: auto;
    flex-shrink: 0;
    text-align: center;
}

/* 四号 · 外层居中；表格内「主」「承」首字对齐 */
.ob-cover-org-block--footer {
    width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    text-align: center;
    font-size: 14pt;
    line-height: 1.75;
    color: #000000;
    font-family: "SimSun", "Songti SC", "STSong", serif;
}

/* 覆盖全站 table{width:100%}，使整块按内容宽度在页脚水平居中 */
.ob-cover-org-table-shell {
    display: block;
    width: 100%;
    text-align: center;
}

.ob-cover-org-table {
    display: inline-table;
    width: auto;
    max-width: 100%;
    margin: 0;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    vertical-align: top;
}

.ob-cover-org-table td {
    border: none;
    padding: 2px 0;
    vertical-align: top;
    font-size: 14pt;
    line-height: 1.72;
    font-weight: 700;
}

.ob-cover-org-td-label {
    width: 5.75em;
    white-space: nowrap;
    font-weight: 700;
    text-align: left;
    padding-right: 4px;
}

.ob-cover-org-td-val {
    text-align: left;
}

.ob-cover-org-td-val--placeholder {
    color: #444444;
}

.ob-cover-org-line-c--date {
    margin: 40px 0 0 !important;
    font-weight: 700;
    font-size: 14pt;
    text-align: center;
}

.ob-page-break {
    page-break-before: always;
}

/* 目录单独成页感（预览）：整屏白底 + 居中块；打印时紧接封面分页后 */
.ob-doc #ob-toc.ob-toc-sheet {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: #ffffff;
    min-height: min(100vh, 297mm);
    box-sizing: border-box;
    padding: 36px 28px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    page-break-before: auto;
    break-before: auto;
}

.ob-toc-sheet-inner {
    width: 100%;
    max-width: 520px;
}

.ob-doc #ob-toc .ob-toc-h2 {
    margin-top: 8px;
    margin-bottom: 22px;
    font-size: 22pt;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    text-align: center;
    width: 100%;
}

/* 目录：标题 + 点线同一行 flex，点线紧贴标题；右栏页码占位 */
.ob-toc-leader-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 14px;
    font-size: 10.5pt;
    table-layout: fixed;
}

.ob-toc-leader-table col.ob-toc-col-main {
    width: auto;
}

.ob-toc-leader-table col.ob-toc-col-page-col {
    width: 2.85em;
}

.ob-toc-leader-table td,
.ob-toc-leader-table th {
    border: none;
    padding: 0;
    vertical-align: middle;
}

.ob-toc-l-tr + .ob-toc-l-tr .ob-toc-l-cell {
    padding-top: 5px;
}

.ob-toc-l-main.ob-toc-l-text {
    text-align: left;
    padding-right: 8px;
    line-height: 1.65;
}

.ob-toc-l-line {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.ob-toc-l-line .ob-toc-l-text-wrap {
    flex: 0 1 auto;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
    padding-right: 0;
    white-space: normal;
}

/* 点线：与标题行垂直居中（非贴底），并占满至页码列前 */
.ob-toc-l-line .ob-toc-l-rule {
    flex: 1 1 0%;
    min-width: 0.5em;
    margin: 0;
    border: none;
    border-bottom: 1px dotted #111111;
    height: 0;
    align-self: center;
    box-sizing: border-box;
}

/* 首条为规程全称标题：强制单行不换行（略收窄字号以利排布） */
.ob-toc-leader-table tbody tr:first-child .ob-toc-l-text-wrap {
    white-space: nowrap;
    font-size: 10pt;
    line-height: 1.5;
    max-width: none;
}

.ob-toc-l-text--d0 .ob-toc-l-text-wrap {
    padding-left: 0;
}

.ob-toc-l-text--d1 .ob-toc-l-text-wrap {
    padding-left: 2em;
}

.ob-toc-l-text--d2 .ob-toc-l-text-wrap {
    padding-left: 4em;
}

.ob-toc-l-text--d3 .ob-toc-l-text-wrap,
.ob-toc-l-text--d4 .ob-toc-l-text-wrap {
    padding-left: 6em;
}

.ob-toc-l-page {
    width: 2.75em;
    text-align: right;
    padding-left: 6px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}

.ob-doc #ob-toc .ob-toc-leader-table a,
.ob-doc #ob-toc .ob-toc-leader-table a:link,
.ob-doc #ob-toc .ob-toc-leader-table a:visited,
.ob-doc #ob-toc .ob-toc-leader-table a:hover,
.ob-doc #ob-toc .ob-toc-leader-table a:focus {
    color: #000000;
    text-decoration: none;
}

.ob-h2 {
    font-size: 15pt;
    text-align: center;
    margin: 20px 0 12px;
    font-weight: 700;
}

/* 秩序册：代表队名单 / 竞赛日程表 / 竞赛分组表主标题（与 Word 导出一致） */
.ob-h2.ob-sheet-main-title {
    font-size: 18pt;
    margin: 16px 0 14px;
    letter-spacing: 0.12em;
    text-align: center;
    text-indent: 0;
    width: 100%;
    box-sizing: border-box;
}

.ob-h3 {
    font-size: 10.5pt;
    margin: 14px 0 8px;
    font-weight: 600;
}

/* 秩序册 — 竞赛规程正文；左对齐避免 Word 导出时分散对齐导致字间距异常 */
.ob-reg-doc {
    margin-top: 12px;
    text-align: left;
    text-justify: none;
    font-size: 10.5pt;
    line-height: 1.65;
}

.ob-reg-doc-title {
    font-size: 14pt;
    font-weight: 700;
    text-align: center;
    margin: 0 0 16px;
    line-height: 1.5;
}

.ob-reg-kv {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    text-indent: 0;
    text-align: left;
}

.ob-reg-k {
    flex: 0 0 6.5em;
    font-weight: 600;
}

.ob-reg-v {
    flex: 1;
    min-width: 0;
}

.ob-reg-block {
    margin: 12px 0 14px;
}

.ob-reg-block .ob-reg-h3 {
    font-size: 10.5pt;
    font-weight: 700;
    margin: 0 0 6px;
}

.ob-reg-body {
    text-align: left;
    text-indent: 2em;
    margin: 0;
    padding-left: 0;
}

.ob-reg-body.ob-reg-html {
    text-indent: 0;
}

.ob-reg-html ul,
.ob-reg-html ol {
    margin: 6px 0 6px 1.5em;
    padding-left: 0;
}

.ob-reg-html p {
    text-align: left;
    margin: 4px 0;
    text-indent: 2em;
}

/* 组别条（flex）：勿再叠一段落的 2em 首行缩进，仅保留本条 padding-left */
.ob-doc .ob-reg-groups-compact p.ob-reg-group-line--ge {
    text-indent: 0 !important;
}

/* 秩序册在 .card 内时，覆盖 .card p 的灰色为正文字色 */
.ob-doc .ob-reg-groups-compact .ob-reg-group-line {
    color: #111;
}

.ob-reg-groups-compact .ob-reg-group-line {
    text-align: left;
    margin: 0.28em 0;
    line-height: 1.65;
    text-indent: 2em;
}

/* 个人/集体两行与「序号、组名」分栏，集体行与「个人」左缘对齐 */
.ob-reg-groups-compact .ob-reg-group-line--ge {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    text-indent: 0;
    padding-left: 2em;
    box-sizing: border-box;
}

.ob-reg-groups-compact .ob-reg-ge-label {
    flex: 0 0 auto;
}

.ob-reg-groups-compact .ob-reg-ge-body {
    flex: 1 1 0;
    min-width: 0;
}

.ob-reg-groups-compact .ob-reg-ge-k {
    font-weight: inherit;
}

.ob-doc .ob-reg-body-numbered {
    text-indent: 0;
    color: #111;
    /* 与组别块同级：补上 HTML 段落才有的「全文左边距」，使 1. 与「1、」同垂线 */
    padding-left: 2em;
    box-sizing: border-box;
}

/* 规程「1./1、」列表：悬挂缩进，折行与首行正文对齐；覆盖 .card 内段落灰色 */
.ob-doc .ob-reg-body-numbered .ob-reg-num-item {
    color: #111;
}

/* 与「竞赛组别」条目前缘一致：整块左缩进 2em，阿拉伯序号与「1、」同列 */
.ob-reg-body-numbered .ob-reg-num-item {
    margin: 0.28em 0;
    padding-left: 2em;
    text-indent: -2em;
    line-height: 1.65;
    text-align: left;
}

.ob-reg-body-numbered .ob-reg-num-item--plain {
    padding-left: 0;
    text-indent: 0;
}

.ob-reg-sign {
    margin-top: 20px;
    text-align: right;
    line-height: 1.6;
    color: #111;
}

.ob-doc .ob-reg-sign p {
    margin: 4px 0;
    color: #111;
    line-height: 1.65;
}

.ob-reg-warn {
    margin-bottom: 12px;
}

.ob-reg-placeholder {
    padding: 12px;
    border: 1px dashed #ccc;
    background: #fafafa;
}

/* 赛前管理 — 竞赛规程编辑表单 */
.pm-reg-section .tip {
    margin-bottom: 12px;
}

.pm-reg-missing {
    margin-bottom: 16px;
}

.pm-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-bottom: 16px;
}

.pm-reg-grid label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pm-reg-grid label span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #2B2B2B;
}

.pm-reg-span2 {
    grid-column: 1 / -1;
}

.pm-reg-grid input[type="text"],
.pm-reg-grid textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #dfc4ae;
    border-radius: 10px;
    font: inherit;
}

.pm-reg-textarea-block {
    margin-bottom: 16px;
}

.pm-reg-textarea-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.pm-reg-label {
    font-weight: 700;
    font-size: 1rem;
}

.pm-reg-ta {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #dfc4ae;
    border-radius: 10px;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
}

.pm-reg-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.pm-reg-actions .pm-reg-download {
    margin-left: auto;
}

@media (max-width: 720px) {
    .pm-reg-grid {
        grid-template-columns: 1fr;
    }
}

.ob-rules-plc {
    border: 1px dashed #999;
    padding: 12px;
    background: #fafafa;
    margin-bottom: 16px;
}

.ob-schedule-note {
    font-size: 10.5pt;
    color: #444;
    margin: 0 0 12px;
    text-align: center;
}

.ob-schedule-pending-note {
    font-size: 10.5pt;
    margin: 0 0 8px;
    text-align: left;
}

.ob-schedule-kind {
    font-size: 10.5pt;
    font-weight: 700;
    text-align: center;
    margin: 16px 0 8px;
}

.ob-doc .ob-schedule-kind:first-of-type {
    margin-top: 4px;
}

/* 竞赛日程表：按比赛单元分块（参照正式秩序册版式） */
.ob-schedule-session {
    margin-bottom: 16px;
    page-break-inside: auto;
}

.ob-keep-block {
    page-break-inside: avoid;
    break-inside: avoid-page;
    margin-bottom: 20px;
}

.ob-schedule-session-title {
    font-size: 14pt;
    font-weight: 700;
    text-align: center;
    margin: 8px 0 10px;
    padding-bottom: 0;
    letter-spacing: 0.06em;
}

.ob-schedule-subkind {
    font-size: 13pt;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 6px;
    letter-spacing: 0.35em;
}

/* 竞赛分组表：单元（上/下午等）→ 径赛 / 田赛，版式对齐竞赛日程表 */
.ob-group-session {
    margin-bottom: 16px;
    page-break-inside: auto;
}

.ob-group-meet-banner {
    font-size: 12pt;
    font-weight: 700;
    text-align: center;
    margin: 12px 0 6px;
}

.ob-group-session-title {
    font-size: 14pt;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 8px;
}

.ob-group-subkind {
    font-size: 13pt;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 8px;
    letter-spacing: 0.2em;
}

.ob-group-block {
    margin-bottom: 18px;
}

/* 竞赛分组：每项前的说明行（序号、项目、赛别、人数…）左对齐，与常见秩序册一致 */
.ob-group-header-line {
    text-align: left;
    font-weight: 700;
    margin: 0 0 0.5em;
    font-size: 10.5pt;
    line-height: 1.5;
}

.ob-field-seq-th {
    background: #e8e8e8;
    font-weight: 700;
    text-align: center;
    font-size: 10.5pt;
    white-space: nowrap;
}

/* 秩序册末页：赛会最高纪录（与赛前记录管理赛会表同源） */
.ob-meet-records-page {
    page-break-before: always;
    min-height: 18cm;
}

.ob-meet-records-vcenter {
    width: 100%;
    height: 18cm;
    border: none;
}

.ob-meet-records-vcenter td {
    vertical-align: middle;
    text-align: center;
    border: none;
}

.ob-meet-records-lead {
    font-size: 10.5pt;
    margin: 0 0 10px;
    text-align: left;
}

.ob-meet-records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5pt;
    margin-bottom: 8px;
}

.ob-meet-records-table th,
.ob-meet-records-table td {
    border: 1px solid #333;
    padding: 4px 6px;
    vertical-align: middle;
}

.ob-meet-records-table thead th {
    background: #e8e8e8;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.ob-meet-records-table tbody td:nth-child(1),
.ob-meet-records-table tbody td:nth-child(4),
.ob-meet-records-table tbody td:nth-child(5),
.ob-meet-records-table tbody td:nth-child(6) {
    text-align: left;
}

.ob-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5pt;
    margin-bottom: 16px;
}

.ob-schedule-table th,
.ob-schedule-table td {
    border: 1px solid #333;
    padding: 4px 5px;
    vertical-align: middle;
}

.ob-schedule-table th {
    background: #e8e8e8;
    text-align: center;
    font-weight: 700;
}

.ob-schedule-table tbody td {
    text-align: center;
}

.ob-td-center {
    text-align: center;
}

.ob-roster-unit {
    margin-bottom: 0;
    page-break-inside: avoid;
}

.ob-roster-unit + .ob-roster-unit {
    padding-top: 1.35em;
    margin-top: 0;
}

.ob-roster-between-units {
    margin: 0;
    padding: 0;
    font-size: 10.5pt;
    line-height: 22pt;
    min-height: 22pt;
    overflow: visible;
}

.ob-roster-unit-title {
    font-size: 10.5pt;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
}

.ob-roster-staff-block {
    max-width: none;
    width: 100%;
    margin: 0 auto 10px;
    font-size: 10.5pt;
    line-height: 1.55;
    text-align: left;
}

.ob-roster-staff-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    padding: 0;
    border: none;
}

.ob-roster-staff-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px;
}

.ob-roster-staff-table td,
.ob-roster-staff-table th {
    border: none;
    vertical-align: top;
    padding: 0;
    font-size: 10.5pt;
    line-height: 1.55;
}

.ob-roster-staff-td--leader {
    text-align: left;
    width: 52%;
}

.ob-roster-staff-td--coach {
    text-align: center;
    width: 48%;
}

.ob-roster-staff-label {
    font-weight: 700;
}

.ob-roster-between-genders {
    margin: 0;
    padding: 0;
    font-size: 10.5pt;
    line-height: 1.35em;
    height: 1.35em;
    overflow: hidden;
}

.ob-roster-gender-head {
    font-size: 10.5pt;
    font-weight: 700;
    margin: 10px 0 4px;
    text-align: left;
}

.ob-roster-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5pt;
    margin-bottom: 8px;
}

.ob-roster-table.ob-roster-table-paired {
    table-layout: fixed;
}

.ob-roster-table-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.ob-roster-table-wrap .ob-roster-grid-mm {
    margin-left: auto;
    margin-right: auto;
}

/* 代表队名单：总宽 15.8cm、列各 3.95cm（四等分） */
.ob-roster-table.ob-roster-table-paired.ob-roster-grid-mm {
    width: 15.8cm;
    max-width: 100%;
    box-sizing: border-box;
}

.ob-roster-grid-mm.ob-roster-table-paired col,
.ob-roster-grid-mm.ob-roster-table-paired col.ob-roster-col-paired {
    width: 3.95cm;
}

.ob-roster-paired-name {
    text-align: center;
}

.ob-roster-paired-events {
    text-align: center;
    line-height: 1.45;
    word-break: break-word;
}

.ob-roster-table th,
.ob-roster-table td {
    border: 1px solid #333;
    padding: 4px 5px;
    vertical-align: middle;
}

.ob-roster-table th {
    background: #d9d9d9;
    text-align: center;
    font-weight: 700;
}

.ob-r-num {
    width: 40px;
    text-align: center;
}

.ob-r-numbib {
    width: 72px;
    text-align: center;
}

.ob-r-events {
    width: auto;
}

.ob-r-id {
    width: 140px;
    font-size: 10.5pt;
}

.ob-r-birth {
    width: 120px;
}

.ob-r-events-inline {
    font-size: 10.5pt;
    line-height: 1.4;
    word-break: break-all;
}

.ob-r-events-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}

.ob-r-events-two-col .ob-r-e {
    font-size: 10.5pt;
    line-height: 1.35;
}

.ob-section {
    margin-bottom: 28px;
    page-break-inside: avoid;
}

.ob-matrix-caption {
    text-align: center;
    font-weight: 600;
    margin: 0 0 8px;
    font-size: 10.5pt;
    line-height: 1.5;
}

.ob-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5pt;
    margin-bottom: 16px;
    table-layout: fixed;
}

.ob-matrix col.ob-matrix-col-heat {
    width: 1.25cm;
}

.ob-matrix th,
.ob-matrix td {
    border: 1px solid #333;
    padding: 2px 3px;
    vertical-align: middle;
}

.ob-matrix td {
    text-align: center;
    word-break: keep-all;
    overflow: hidden;
}

.ob-matrix th {
    background: #d9d9d9;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    word-break: keep-all;
}

.ob-matrix th.ob-heat-th,
.ob-matrix th.ob-corner {
    width: 1.25cm;
    white-space: nowrap;
    word-break: keep-all;
}

.ob-matrix-cell,
.ob-cell-stack,
.ob-cell-stack p.ob-fm-line {
    font-family: "SimSun", "宋体", serif;
    font-size: 9pt;
}

.ob-cell-stack {
    line-height: 1.35;
    text-align: center;
}

.ob-cell-stack p.ob-fm-line {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
}

.ob-cell-lane {
    width: 28px;
    text-align: center;
    font-weight: 600;
    background: #f7f7f7;
}

.ob-cell-ath {
    min-width: 0;
}

.ob-cell-lines {
    white-space: pre-line;
    line-height: 1.35;
}

.ob-field-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5pt;
    margin-bottom: 16px;
    table-layout: fixed;
}

.ob-field-grid th,
.ob-field-grid td {
    border: 1px solid #333;
    padding: 4px;
    vertical-align: top;
    min-height: 52px;
}

.ob-field-grid th {
    background: #eee;
    text-align: center;
    font-weight: 600;
    width: 12.5%;
}

.ob-field-cell {
    min-height: 48px;
}

/* 秩序册田赛分组：表格线框，首列 rowspan「第N组」，右侧每行 8 格，格内四行（序号/号码/姓名/单位） */
.ob-field-sheet {
    margin: 4px 0 10px;
}

.ob-field-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
    margin-bottom: 10px;
    table-layout: fixed;
}

.ob-field-matrix-table th,
.ob-field-matrix-table td {
    border: 1px solid #333;
    padding: 4px 3px;
    vertical-align: middle;
}

.ob-field-matrix-group {
    width: 2.8em;
    background: #e8e8e8;
    font-weight: 700;
    text-align: center;
    font-size: 10.5pt;
    line-height: 1.35;
}

.ob-field-matrix-cell {
    text-align: center;
    vertical-align: middle;
    min-width: 0;
}

.ob-field-matrix-cell-empty {
    background: #fafafa;
}

.ob-field-matrix-stack {
    line-height: 1.28;
}

.ob-fm-line {
    display: block;
}

.ob-fm-seq {
    font-weight: 700;
}

.ob-fm-bib {
    font-variant-numeric: tabular-nums;
}

.ob-fm-name,
.ob-fm-unit {
    word-break: break-all;
}

/* 赛前基础 — 分组参赛单位（逐行填写） */
.gb-unit-names-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    grid-column: 1 / -1;
}

.gb-unit-names-label {
    font-weight: 600;
    color: #2B2B2B;
    line-height: 1.45;
}

.gb-unit-names-lead {
    margin: 0;
    line-height: 1.5;
}

.gb-unit-custom-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
}

.gb-unit-custom-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gb-unit-custom-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.gb-unit-custom-row input[type="text"] {
    flex: 0 0 148px;
    width: 148px;
    min-width: 0;
    max-width: 148px;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #b9c8da;
    border-radius: 8px;
    font: inherit;
}

.gb-unit-custom-row .gb-unit-custom-del {
    flex: 0 0 auto;
    min-width: 56px;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
}

.gb-unit-custom-add {
    align-self: flex-start;
    min-height: 30px;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
}

/* 赛前基础 — 管理参赛单位（新版双栏） */
.gb-units-form {
    display: block;
}

.gb-units-grid {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(360px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.gb-units-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    padding: 12px;
    height: 100%;
}

.gb-units-card-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.gb-units-card-title-note {
    font-weight: 400;
}

.gb-units-table-wrap {
    margin: 0;
}

.gb-units-table .gb-units-sort-col {
    width: 110px;
}

.gb-units-table .gb-units-op-col {
    width: 96px;
}

.gb-units-table .input {
    height: 35px;
    min-height: 35px;
    box-sizing: border-box;
}

.gb-units-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.gb-units-form .btn {
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-form .btn:focus,
.gb-units-form .btn:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-form .btn:hover {
    filter: brightness(0.95);
}

.gb-units-form .btn:active {
    filter: brightness(0.9);
}

#gb-units-add-custom,
#gb-units-quick-add,
#gb-units-paste-save,
#gb-units-save-system,
#gb-units-scroll-custom,
#gb-units-manage-custom {
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
}

.gb-units-form .gb-units-del {
    border: 1px solid #d92d20 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 12px !important;
    line-height: 1.1;
}

.gb-units-form .gb-units-del:focus,
.gb-units-form .gb-units-del:focus-visible,
.gb-units-form .gb-units-del:hover,
.gb-units-form .gb-units-del:active {
    border-color: #d92d20 !important;
    box-shadow: none !important;
    outline: none !important;
}

#gb-units-save-system:hover,
#gb-units-scroll-custom:hover,
#gb-units-save-system:active,
#gb-units-scroll-custom:active {
    filter: none !important;
}

.gb-units-quick-row {
    display: grid;
    grid-template-columns: 1fr 140px 120px;
    gap: 10px;
    align-items: end;
    min-height: 72px;
    padding: 6px 0;
}

.gb-units-quick-row label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gb-units-quick-row label span {
    font-size: 12px;
    color: #667070;
    line-height: 1.2;
    min-height: 16px;
}

.gb-units-quick-row .input,
.gb-units-quick-row .btn {
    height: 36px;
    border: 1px solid #d0d5dd !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.gb-units-quick-row .btn {
    align-self: end;
}

.gb-units-quick-row input.input,
.gb-units-quick-row select.input {
    padding-left: 12px;
    padding-right: 12px;
}

.gb-units-tip {
    margin: 10px 0 0;
    font-size: 12px;
    color: #98a2b3;
}

.gb-units-empty-box {
    margin-top: 14px;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    background: #fafafa;
}

.gb-units-card-right {
    display: flex;
    flex-direction: column;
}

.gb-units-card-right .gb-units-empty-box {
    flex: 1;
}

.gb-units-quick-row .input,
.gb-units-quick-row .btn {
    border-color: #d0d5dd !important;
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-quick-row .input:focus,
.gb-units-quick-row .input:focus-visible,
.gb-units-quick-row .btn:focus,
.gb-units-quick-row .btn:focus-visible {
    border-color: #98a2b3 !important;
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-empty-star {
    font-size: 34px;
    line-height: 1;
    color: #9ca3af;
}

.gb-units-modal[hidden] {
    display: none !important;
}

.gb-units-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gb-units-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.45);
}

.gb-units-lib-panel {
    position: relative;
    width: min(860px, 94vw);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px 16px;
    box-shadow: 0 18px 48px rgba(43, 43, 43, 0.2);
}
.gb-units-lib-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 10px;
}
.gb-units-lib-x {
    border: 0;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #667070;
}
.gb-units-lib-hint {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #eff6ff;
    color: #2A847C;
    border-radius: 8px;
    font-size: 13px;
}
.gb-units-lib-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 12px;
}
.gb-units-lib-add textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
}
.gb-units-lib-add-actions,
.gb-units-lib-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
.gb-units-lib-count {
    padding: 8px 0;
    font-weight: 700;
}
.gb-units-lib-body {
    min-height: 220px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 10px;
}
.gb-units-lib-empty {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #667070;
}
.gb-units-lib-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}
.gb-units-lib-list label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.gb-units-lib-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}
.gb-units-lib-foot-ops { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-units-lib-file { cursor: pointer; }
.gb-units-modal-panel {
    position: relative;
    width: min(1080px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gb-units-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #F8FAFA;
}

.gb-units-modal-body {
    padding: 14px 16px 16px;
    overflow: auto;
}

.gb-units-modal-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.gb-units-modal-table .input {
    height: 34px;
    border: 1px solid #d0d5dd !important;
    box-shadow: none !important;
    outline: none !important;
    background: #fff;
}

.gb-units-modal-table .input:focus,
.gb-units-modal-table .input:focus-visible {
    border-color: #98a2b3 !important;
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-modal-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.gb-units-modal .btn {
    box-shadow: none !important;
    outline: none !important;
}

.gb-units-modal .btn:focus,
.gb-units-modal .btn:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

@media (max-width: 1200px) {
    .gb-units-grid {
        grid-template-columns: 1fr;
    }

    .gb-units-quick-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* 查看赛程（分项组次视图） */
.asc-page .asc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.asc-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.asc-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .asc-layout {
        grid-template-columns: 1fr;
    }
}

.asc-side {
    padding: 0;
    overflow: hidden;
}

.asc-side-title {
    margin: 0;
    padding: 12px 16px;
    font-size: 1rem;
    background: #2A847C;
    color: #fff;
}

.asc-dl {
    margin: 0;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 5.8em 1fr;
    column-gap: 10px;
    row-gap: 10px;
    align-items: baseline;
}

.asc-dl dt {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #667070;
    white-space: nowrap;
}

.asc-dl dt::after {
    content: "：";
}

.asc-dl dd {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #2B2B2B;
    word-break: break-word;
}

.asc-dl dd strong {
    font-size: inherit;
    font-weight: 700;
}

.asc-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.asc-summary {
    padding: 16px 20px;
}

.asc-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.asc-total-label {
    display: block;
    font-size: 13px;
    color: #667070;
    margin-bottom: 4px;
}

.asc-total-value {
    font-size: 1.75rem;
    color: #2B2B2B;
}

.asc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.asc-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.asc-badge--heat {
    background: #fff6ea;
    color: #6b4423;
    border: 1px solid #A8D5CF;
}

.asc-badge--total {
    background: #f0f9ff;
    color: #026aa2;
    border: 1px solid #b9e6fe;
}

.asc-opt-box {
    border: 1px solid #fec84b;
    background: #fffaeb;
    border-radius: 12px;
    padding: 16px 18px;
}

.asc-opt-title {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #b54708;
}

.asc-opt-desc {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #93370d;
}

.asc-opt-form {
    margin: 0;
}

.asc-opt-btn {
    background: #f79009;
    border: none !important;
    box-shadow: none !important;
    color: #fff;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.asc-opt-btn:hover {
    filter: brightness(0.95);
    border: none !important;
    box-shadow: none !important;
}

.asc-opt-btn:focus,
.asc-opt-btn:focus-visible,
.asc-opt-btn:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.asc-tip-muted {
    color: #667070;
}

.asc-heats {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.asc-heat-card {
    padding: 0;
    overflow: hidden;
}

.asc-heat-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fcf9f4;
    border-bottom: 1px solid #ece4da;
}

.asc-heat-title {
    margin: 0;
    font-size: 1.1rem;
    color: #2B2B2B;
}

.asc-heat-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.asc-heat-chip {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8d4ba;
    border: 1px solid #c4a07a;
    color: #3f2a16;
}

.asc-heat-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef0c7;
    color: #b54708;
    border: 1px solid #fec84b;
}

.asc-heat-table-wrap {
    margin: 0;
    border: none;
    border-radius: 0;
}

.asc-heat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.asc-heat-table th,
.asc-heat-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #ece4da;
}

.asc-heat-table th {
    background: #fcfcfd;
    font-weight: 600;
    color: #667070;
}

/* ---------- 裁判员管理（赛中 · 门户账号） ---------- */
.ref-acc-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #6b4423 0%, #1570ef 55%, #c8a277 100%);
    color: #fff;
    border: none;
    margin-bottom: 18px;
}

.ref-acc-hero-ic {
    font-size: 36px;
    line-height: 1;
    opacity: 0.95;
}

.ref-acc-hero-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ref-acc-hero-sub {
    margin: 0;
    font-size: 14px;
    opacity: 0.92;
    line-height: 1.5;
}

.ref-acc-feature-banner {
    margin-bottom: 18px;
}

.ref-acc-gen-hint-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ref-acc-gen-hint-ic {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    background: #F4F7F7;
    border: 1px solid #b6d9ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.ref-acc-gen-hint-body {
    min-width: 0;
    flex: 1 1 auto;
}

.ref-acc-gen-hint-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #2d2419;
    letter-spacing: 0.02em;
}

.ref-acc-gen-hint-intro {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.55;
}

.ref-acc-gen-hint-list {
    margin: 0 0 12px;
    padding-left: 1.25em;
    font-size: 15px;
    line-height: 1.65;
}

.ref-acc-gen-hint-list li {
    margin-bottom: 4px;
}

.ref-acc-gen-hint-foot {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.95;
}

.ref-acc-section {
    margin-bottom: 18px;
}

.ref-acc-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.ref-acc-pair > .ref-acc-section {
    margin-bottom: 0;
    min-width: 0;
}

@media (max-width: 900px) {
    .ref-acc-pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ref-acc-gen-form {
    padding: 4px 0 0;
}

.ref-acc-gen-form .ref-acc-gen-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
}

.ref-acc-gen-form .ref-acc-gen-row .mgr-ta-label {
    margin-bottom: 0;
}

.ref-acc-gen-form .ref-acc-gen-pwd-label {
    flex: 0 0 auto;
}

.ref-acc-gen-form.mgr-ta-gen-form input.ref-acc-gen-pwd-input {
    width: 140px;
    max-width: 44vw;
    box-sizing: border-box;
    line-height: 1.35;
    min-height: 36px;
}

.ref-acc-gen-form .ref-acc-gen-row .mgr-ta-gen-btn {
    width: auto;
    margin-top: 0;
    white-space: nowrap;
}

.ref-acc-gen-note {
    display: block;
    margin-top: 10px;
    color: #667070;
    font-size: 12px;
    line-height: 1.45;
}

.ref-acc-url-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
}

.ref-acc-url-input {
    flex: 1 1 240px;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.35;
    min-height: 36px;
}

.ref-acc-pwd {
    color: #b42318;
    font-weight: 600;
    background: #fef3f2;
}

.ref-acc-ops {
    vertical-align: middle;
}

.ref-acc-copy-url-btn {
    border: 1px solid #e0c9a8;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ref-acc-copy-url-btn:hover {
    background: #f5d7a8;
    color: #4a301f;
    border-color: #c8a277;
    box-shadow: 0 1px 3px rgba(45, 32, 22, 0.12);
}

.ref-acc-copy-url-btn:focus-visible {
    outline: 2px solid #9f7750;
    outline-offset: 2px;
}

.ref-acc-copy-url-btn:active {
    background: #e9c896;
    border-color: #b8926a;
}

.ref-acc-op-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ref-acc-op-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ref-acc-op-btn {
    box-sizing: border-box;
    min-width: 6.5rem;
    justify-content: center;
}

.ref-acc-op-btn-reset {
    border: 1px solid #ca8a04;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ref-acc-op-btn-reset:hover {
    background: #fbbf24;
    border-color: #a16207;
    filter: none;
    box-shadow: 0 1px 3px rgba(66, 32, 6, 0.15);
}

.ref-acc-op-btn-reset:focus-visible {
    outline: 2px solid #a16207;
    outline-offset: 2px;
}

.ref-acc-op-btn-reset:active {
    background: #f59e0b;
    border-color: #92400e;
}

.ref-acc-op-btn-delete {
    border: 1px solid #b42318;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ref-acc-op-btn-delete:hover {
    background: #f04438;
    border-color: #912018;
    filter: none;
    box-shadow: 0 1px 4px rgba(180, 35, 24, 0.35);
}

.ref-acc-op-btn-delete:focus-visible {
    outline: 2px solid #b42318;
    outline-offset: 2px;
}

.ref-acc-op-btn-delete:active {
    background: #b42318;
    border-color: #7f1d1d;
}

.ref-acc-pwd-input {
    width: 120px;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    font-size: 13px;
}

.ref-acc-table .mgr-ta-ops {
    white-space: normal;
    max-width: min(520px, 100%);
}

.ref-acc-portal-actions {
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- 赛中 · 径赛成绩录入 ---------- */
.trk-hub-title {
    margin-bottom: 14px;
}

.trk-hub-lead {
    margin-bottom: 16px;
}

.trk-hub-toolbar {
    margin-bottom: 18px;
    padding: 16px 18px;
}

.trk-hub-toolbar-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.trk-hub-quick-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn {
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    font-weight: 600;
}

.gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on,
.gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on:hover {
    background: #2A847C !important;
    color: #fff !important;
    border-color: #2A847C !important;
}

.trk-hub-today-form {
    margin: 0;
}

.trk-hub-today-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2B2B2B;
    cursor: pointer;
    user-select: none;
}

.trk-hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: flex-end;
}

.trk-hub-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 14px;
    width: 100%;
}

.trk-hub-filters-wrap > .trk-hub-filters {
    flex: 1 1 auto;
    min-width: 0;
}

.trk-hub-dev-seed-form {
    display: inline;
    margin: 0;
}

.trk-hub-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 120px;
}

.trk-hub-filter span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #667070;
}

.trk-hub-filter select {
    min-width: 140px;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.trk-hub-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.trk-hub-ico-refresh {
    font-size: 18px;
    line-height: 1;
    padding: 8px 12px;
    text-decoration: none;
}

.trk-hub-table-wrap {
    padding: 0;
    overflow: hidden;
}

.trk-hub-table-wrap.card {
    border-radius: 6px;
}

.trk-hub-empty {
    margin: 16px;
}

.trk-hub-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.trk-hub-table thead th.trk-hub-col-time {
    padding: 12px 14px 12px 22px;
}

.trk-hub-table thead th {
    background: #1f2937;
    color: #fcf9f4;
    padding: 12px 14px;
    text-align: left;
    font-weight: 600;
}

.trk-hub-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #ece4da;
    vertical-align: middle;
}

.trk-hub-table tbody td.trk-hub-col-time {
    padding: 11px 14px 11px 22px;
}

.trk-hub-table tbody tr:not(.trk-hub-sub) td {
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.35;
}

.trk-hub-table tbody tr:not(.trk-hub-sub) td.trk-hub-col-time {
    padding-top: 8px;
    padding-bottom: 8px;
}

.trk-hub-table tbody tr:not(.trk-hub-sub) .trk-hub-badge {
    padding: 3px 10px;
}

.trk-hub-table tbody tr:not(.trk-hub-sub) .btn-sm {
    padding: 5px 11px;
    font-size: 13px;
    line-height: 1.35;
}

/* 前 5 列（时间～组次/轮次）：略右移、正文加粗（径赛/田赛表结构一致） */
.trk-hub-table thead th:nth-child(-n+5),
.trk-hub-table tbody tr:not(.trk-hub-sub) td:nth-child(-n+5) {
    padding-left: 22px;
    font-weight: 700;
}

.trk-hub-table tbody tr:hover:not(.trk-hub-sub) td {
    background: #ececec;
}

.trk-hub-table tbody tr.trk-hub-sub--date-session:hover td {
    background: linear-gradient(180deg, #eef2ff 0%, #f5f7ff 100%);
    color: #1F655E;
}

.trk-hub-table tbody tr.trk-hub-sub--date-session td::selection,
.trk-hub-table tbody tr.trk-hub-sub--date-session td *::selection {
    background: transparent;
    color: inherit;
}

.trk-hub-sub td {
    background: #f2f4f7;
    font-weight: 600;
    color: #2B2B2B;
    padding: 10px 14px;
    border-bottom: 1px solid #e3d9ce;
}

.trk-hub-sub--date-session td {
    background: linear-gradient(180deg, #eef2ff 0%, #f5f7ff 100%);
    color: #1F655E;
    border-bottom: 1px solid #c7d2fe;
    padding: 10px 14px;
    text-align: center;
}

.trk-hub-sub-row-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
}

.trk-hub-sub-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: inherit;
}

.trk-hub-sub-cal {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    display: block;
}

.trk-hub-sub-session {
    font-weight: 600;
    color: inherit;
}

.trk-hub-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #9f7750 0%, #b18659 100%);
    color: #fff;
}

.trk-hub-badge--done {
    background: linear-gradient(135deg, #2A847C 0%, #2A847C 100%);
}

.trk-hub-badge--progress {
    background: #F06292;
}

.trk-modal-td-lane {
    white-space: nowrap;
}

.trk-modal-table.is-team-entry .trk-modal-th-athlete {
    display: none;
}

.trk-lane-grip {
    display: inline-block;
    margin-right: 6px;
    cursor: grab;
    color: #64748b;
    font-weight: 700;
    letter-spacing: -1px;
    user-select: none;
    line-height: 1;
    vertical-align: middle;
}

.trk-modal-tr-heat-row.is-lane-drop > td {
    background: #FDE7EF !important;
}

.trk-final-wait {
    padding: 28px 16px;
    text-align: center;
    color: #9f1239;
    font-weight: 700;
    background: #fff1f2;
}

.trk-hub-actions {
    white-space: nowrap;
}

.trk-hub-actions .btn-sm {
    margin-right: 6px;
}

.trk-hub-btn-checkin {
    color: #fff !important;
    background: #2A847C !important;
    border: 1px solid #1F655E !important;
    text-decoration: none;
}

.trk-hub-btn-checkin:hover,
.trk-hub-btn-checkin:focus {
    color: #fff !important;
    background: #1F655E !important;
}

.trk-hub-btn-view-results.btn-secondary:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0369a1;
}

a.trk-hub-btn-view-results.is-viewed,
a.trk-hub-btn-view-results.is-viewed:hover,
a.trk-hub-btn-view-results.is-viewed:focus {
    background: #E8E8E8 !important;
    background-image: none !important;
    color: #555555 !important;
    border-color: #9A9A9A !important;
    box-shadow: none !important;
}

.trk-hub-btn-enter {
    font-weight: 600;
}

.trk-hub-btn-hj {
    color: #fff !important;
    background: #2563eb !important;
    border: 1px solid #1d4ed8 !important;
}

.trk-hub-btn-hj:hover,
.trk-hub-btn-hj:focus {
    color: #fff !important;
    background: #1d4ed8 !important;
}

/* ---------- 临时报名管理 ---------- */
.mtr-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
}

.mtr-page-title {
    margin-bottom: 0;
}

.mtr-help {
    position: relative;
    display: inline-flex;
    align-items: center;
}

button.mtr-help-btn {
    width: 22px !important;
    height: 22px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid #2A847C !important;
    background: #fff !important;
    color: #2A847C !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    box-shadow: none !important;
}

.mtr-help-pop {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 40;
    width: min(560px, 72vw);
    background: #fff;
    border: 1px solid #ecd4b8;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(43, 43, 43, 0.16);
    padding: 12px 14px;
}

.mtr-help:hover .mtr-help-pop,
.mtr-help:focus-within .mtr-help-pop {
    display: block;
}

.mtr-help-pop.mpa-help-pop {
    width: min(640px, 78vw);
    max-height: min(70vh, 520px);
    overflow: auto;
}

.mtr-empty {
    margin-bottom: 1rem;
}

.mtr-notice {
    border: 1px solid #ecd4b8;
    background: #f0f9ff;
    padding: 12px 16px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.mtr-notice-ol {
    margin: 0.5rem 0 0 1.1rem;
    padding: 0;
    line-height: 1.65;
}

.mtr-filter {
    margin-bottom: 1rem;
    padding: 14px 16px;
}

.mtr-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: flex-end;
    margin-bottom: 10px;
}

.mtr-filter-row--pool {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid #e6ddd4;
}

.mtr-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.mtr-filter-field--grow {
    flex: 1 1 200px;
    min-width: 180px;
}

.mtr-filter-field span {
    font-size: 0.82rem;
    color: #4b5563;
}

.mtr-filter-field select,
.mtr-filter-field input[type="text"] {
    min-height: 36px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 4px 8px;
}

.mtr-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
    align-items: center;
}

.mtr-filter-actions .mtr-filter-btn {
    padding: 4px 10px !important;
    min-height: 0 !important;
    height: 30px;
    font-size: 13px;
    line-height: 1.2;
}

.mtr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.mtr-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    order: 2;
}

.mtr-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    order: 1;
}

.mtr-main .mtr-filter {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .mtr-grid {
        grid-template-columns: 1fr;
    }

    .mtr-main {
        order: -1;
    }
}

.mtr-panel {
    padding: 0;
    overflow: hidden;
}

.mtr-panel.mtr-panel--add {
    overflow: visible;
}

.mtr-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e6ddd4;
    background: #fcf9f4;
}

.mtr-panel-title {
    margin: 0;
    font-size: 1.05rem;
}

.mtr-head-side {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
}

.mtr-stat {
    margin: 0;
    font-size: 0.88rem;
    color: #374151;
}

.mtr-subh {
    margin: 14px 16px 8px;
    font-size: 0.95rem;
}

.mtr-table-wrap {
    overflow-x: auto;
    padding: 0 16px 16px;
}

.mtr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.mtr-table th,
.mtr-table td {
    border-bottom: 1px solid #e6ddd4;
    padding: 8px 10px;
    text-align: left;
    vertical-align: middle;
}

.mtr-table th {
    background: #3d342f;
    color: #fff;
    font-weight: 600;
}

.mtr-row-empty td {
    background: #fafafa;
}

.mtr-sub {
    display: inline;
    font-size: 0.85rem;
    color: #6b7280;
    margin-left: 8px;
}

.mtr-muted {
    color: #9ca3af;
}

.mtr-inline-form {
    display: inline;
}

.mtr-btn-del {
    margin-left: 6px;
}

.mtr-id-inp {
    width: 108px;
    max-width: 100%;
    height: 30px;
    box-sizing: border-box;
}

.mtr-id-bib {
    width: 72px;
}

.mtr-team-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.btn-link-like {
    border: none;
    background: none;
    color: #b18659;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
}

.mtr-new-inner {
    margin: 16px 16px 16px;
    padding: 14px;
    border: 1px solid #e6ddd4;
    border-radius: 8px;
    background: #fff;
}

.mtr-new-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: flex-end;
}

.mtr-new-row .mtr-filter-field {
    min-width: 0;
    flex: 0 0 auto;
}

.mtr-new-row .mtr-new-name {
    width: 128px;
}

.mtr-new-row .mtr-new-gender {
    width: 72px;
}

.mtr-new-row .mtr-new-unit {
    width: 156px;
}

.mtr-new-row .mtr-filter-field select,
.mtr-new-row .mtr-filter-field input[type="text"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mtr-new-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.mtr-btn-save {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.mtr-btn-save:hover {
    filter: brightness(1.05);
}

.mtr-btn-save:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mtr-pick-name {
    position: relative;
    width: 168px;
}

.mtr-pick-unit {
    width: 180px;
}

.mtr-pick-name-select,
.mtr-pick-unit-select {
    width: 100%;
}

.mtr-pick-unit-select:disabled {
    background: #f9fafb;
    color: #6b7280;
}

.mtr-pick-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    max-height: 240px;
    overflow: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.mtr-pick-opt {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #111827;
}

.mtr-pick-opt:hover,
.mtr-pick-opt.is-active {
    background: #f3f4f6;
}

.mtr-pick-none,
.mtr-pick-empty {
    margin: 0;
    padding: 8px 10px;
    color: #6b7280;
    font-size: 13px;
}

.mtr-pick-empty {
    margin: 0 16px 16px;
    padding: 0;
}

.mtr-warn-units {
    margin-top: 8px;
    color: #b45309;
}

/* ---------- 径赛成绩录入 · 弹窗 ---------- */
body.trk-modal-open {
    overflow: hidden;
}

.trk-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    box-sizing: border-box;
    overflow: hidden;
}

.trk-modal.is-open {
    display: flex;
}

.trk-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 32, 22, 0.45);
}

.trk-modal-dialog {
    position: relative;
    width: min(1080px, calc(100vw - 72px));
    max-width: calc(100vw - 72px);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(45, 32, 22, 0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.trk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 6px 16px;
    border-bottom: 1px solid #ece4da;
}

.trk-modal-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trk-modal-heading-ic {
    color: #6b4423;
}

.trk-modal-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #667070;
    padding: 0 6px;
}

.trk-modal-close:hover {
    color: #2B2B2B;
}

.trk-modal-body {
    padding: 0 18px 16px;
    overflow: hidden;
    flex: 1;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.trk-modal-main-inner {
    flex: 1;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.trk-modal-banner {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 4px 28px 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.35;
    position: relative;
}

.trk-modal-banner.is-hidden {
    display: none;
}

.trk-modal-banner--info {
    background: #fff6ea;
    border: 1px solid #7cd4fd;
    color: #4a301f;
}

.trk-modal-banner--keys {
    background: #fff;
    border: 1px solid #dfc4ae;
    color: #2B2B2B;
    margin-top: 8px;
}

.trk-modal-banner-ic {
    flex-shrink: 0;
    font-weight: 700;
}

.trk-modal-banner-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.trk-modal-banner kbd {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #dfc4ae;
    font-size: 12px;
    background: #fcf9f4;
}

.trk-modal-banner-x {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #667070;
    line-height: 1;
}

.trk-modal-bar {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #6b4423 0%, #1570ef 100%);
    color: #fff;
    border-radius: 10px;
}

.trk-modal-bar-title {
    font-weight: 600;
    font-size: 15px;
    flex: 1;
    min-width: 200px;
}

.trk-modal-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trk-modal-bar-actions .btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

#trk-result-modal-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.trk-modal-table-scroll {
    margin-top: 12px;
    flex: 1 1 auto;
    min-height: 120px;
    max-height: none;
    overflow: auto;
    border: 1px solid #ece4da;
    border-radius: 10px;
}

.trk-modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.trk-modal-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f2f4f7;
    color: #111;
    text-align: center;
    padding: 10px 12px;
    border-bottom: 1px solid #ece4da;
    font-weight: 700;
}

.trk-modal-table tbody td {
    padding: 8px 12px;
    border-bottom: 1px solid #f2f4f7;
    vertical-align: middle;
    text-align: center;
}

.trk-modal-tr-heat-split > td {
    border-top: 3px solid #111 !important;
}

.trk-modal-table tbody tr.trk-modal-tr-heat-row:hover > td:not(.trk-modal-td-heat),
.trk-modal-table tbody tr.trk-modal-tr-heat-row:focus-within > td:not(.trk-modal-td-heat) {
    background: #D7F3EF;
}

.trk-modal-tr-heat-row--a > td:not(.trk-modal-td-heat) {
    background: #fcfcfd;
}

.trk-modal-tr-heat-row--b > td:not(.trk-modal-td-heat) {
    background: #fcfcfd;
}

.trk-modal-td-heat {
    font-weight: 700;
    color: #2B2B2B;
    vertical-align: middle;
    border-right: 1px solid #ece4da;
}

.trk-modal-td-heat--a {
    background: #eef4ff;
    color: #1F655E;
}

.trk-modal-td-heat--b {
    background: #eef4ff;
    color: #1F655E;
}

.trk-modal-perf {
    display: block;
    width: 100%;
    max-width: 140px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.trk-modal-perf:focus {
    outline: none;
    border-color: #dfc4ae;
    box-shadow: none;
    background: #fff;
}

.trk-modal-perf--changed {
    border-color: #059669 !important;
    background: #F8FAFA !important;
    box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.28);
}

.trk-modal-perf--changed:focus {
    border-color: #059669 !important;
    background: #F8FAFA !important;
    box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.28);
}

.trk-modal-table tbody td input[type="text"] {
    display: block;
    width: 100%;
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
    padding: 6px 8px;
    border: 1px solid #dfc4ae;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.trk-modal-td-valid {
    text-align: center;
}

.trk-modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 10px;
    margin-top: 12px;
    padding-top: 0;
    border-top: none;
}

/* 径赛成绩弹窗 · 临时添加运动员子层 */
.trk-temp-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: #fff;
    overflow: auto;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 0 18px 8px;
}

.trk-temp-layer.is-open {
    display: flex;
}

.trk-temp-title {
    margin: 4px 0 0;
    font-size: 17px;
    font-weight: 800;
    color: #2B2B2B;
    text-align: center;
}

.trk-temp-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    border: 1px solid #ecd4b8;
    background: #f0f9ff;
    border-radius: 10px;
    padding: 10px 12px;
}

.trk-temp-info-line {
    flex: 1 1 220px;
    font-size: 13px;
    line-height: 1.55;
    color: #6b4423;
}

.trk-temp-total-box {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    background: #fff;
    padding: 6px 12px;
    text-align: center;
    white-space: nowrap;
}

.trk-temp-total-lbl {
    display: inline;
    font-size: 13px;
    color: #667070;
    line-height: 1;
}

.trk-temp-total-num {
    font-size: 18px;
    font-weight: 800;
    color: #2B2B2B;
    line-height: 1;
}

.trk-temp-blue-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(90deg, #6b4423 0%, #1570ef 100%);
    color: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

.trk-temp-blue-title {
    font-weight: 700;
}

.trk-temp-blue-bar .btn {
    flex-shrink: 0;
}

.trk-temp-panel {
    border: 1px solid #ece4da;
    border-radius: 10px;
    padding: 12px;
    background: #fcfcfd;
}

.trk-temp-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.trk-temp-panel-h {
    font-weight: 700;
    font-size: 14px;
    color: #2B2B2B;
    margin-bottom: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.trk-temp-panel-head .trk-temp-panel-h {
    margin-bottom: 0;
}

.trk-temp-tip {
    margin: 0 !important;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.4;
    flex: 1 1 auto;
}

.trk-temp-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: flex-end;
}

.trk-temp-filters {
    margin-bottom: 8px;
}

.trk-temp-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #667070;
    min-width: 120px;
}

.trk-temp-field--grow {
    flex: 1 1 200px;
    min-width: 180px;
}

.trk-temp-field span:first-child {
    font-weight: 600;
}

.trk-temp-select,
.trk-temp-text,
.trk-temp-field input[type="text"],
.trk-temp-field select {
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
    min-height: 40px;
    box-sizing: border-box;
}

.trk-temp-unit-host {
    display: block;
}

.trk-temp-unit-host select,
.trk-temp-unit-host input {
    width: 100%;
}

.trk-temp-form-actions {
    margin-top: 10px;
}

.trk-temp-form-actions--inline {
    margin-top: 0;
    align-self: flex-end;
}

.trk-temp-warn {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.45;
}

.trk-temp-preview-scroll {
    flex: 0 0 auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    margin-top: 0;
}

.trk-temp-ro {
    background: #f2f4f7 !important;
    color: #667070 !important;
    cursor: not-allowed;
}

/* 棒次表管理 */
.mrb-card {
    overflow: hidden;
    margin-top: 16px;
}

.mrb-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #1e3a5f 0%, #3d342f 100%);
    color: #faf7f2;
}

.mrb-card-head-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.mrb-card-title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
}

.mrb-card-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.92;
}

.mrb-card-body {
    padding: 16px 18px 20px;
    background: #fff;
}

.mrb-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mrb-banner-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #b18659;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.mrb-tip {
    margin-bottom: 16px;
}

.mrb-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.mrb-team-card {
    margin-top: 0;
}

@media (max-width: 900px) {
    .mrb-team-grid {
        grid-template-columns: 1fr;
    }
}

.mrb-team-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #2a1f18;
}

.mrb-team-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mrb-leg-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.mrb-leg-label {
    min-width: 72px;
    font-weight: 600;
    color: #4a3f36;
}

.mrb-leg-select {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 520px;
    padding: 8px 10px;
    border: 1px solid #dfc4ae;
    border-radius: 8px;
    font-size: 14px;
}

.mrb-card {
    margin-bottom: 88px;
}

.mrb-card.mrb-card--opt,
.mrb-card.mrb-card--meet,
.mrb-card.mrb-card--best {
    overflow: visible;
    margin-bottom: 0;
}
.mrb-sheet-switch {
    flex: 0 0 112px;
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    white-space: nowrap;
    box-sizing: border-box;
}
.mrb-card--meet .mrb-card-head.mrb-card-head--name,
.mrb-card--best .mrb-card-head.mrb-card-head--name {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2A847C;
    color: #fff;
}
.mrb-card-head .mrb-sheet-switch {
    margin: 0;
}
.mrb-card.mrb-card--opt .mrb-card-body {
    overflow: visible;
    background: transparent;
}
.mrb-card--opt .mrb-strategy-opt:hover,
.mrb-card--opt .mrb-strategy-opt:focus-within {
    z-index: 30;
}
.mrb-card--opt .mrb-strategy-pop {
    z-index: 31;
}

.mrb-page-actions {
    position: fixed;
    right: 28px;
    bottom: 24px;
    z-index: 40;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.gb-admin-app .mrb-page-actions .btn.mrb-btn-fill {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff !important;
    background: #2A847C !important;
    border: 1px solid #1F655E !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(31, 101, 94, 0.28) !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.gb-admin-app .mrb-page-actions .btn.mrb-btn-fill:hover,
.gb-admin-app .mrb-page-actions .btn.mrb-btn-fill:focus {
    color: #fff !important;
    background: #1F655E !important;
    border-color: #1A544E !important;
}

.gb-admin-app .mrb-page-actions .btn.mrb-btn-fill:active {
    color: #fff !important;
    background: #1A544E !important;
    border-color: #164740 !important;
}

.mrb-readonly {
    margin: 0;
}

.mrb-readonly-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e6ddd4;
    font-size: 0.95rem;
}

.mrb-readonly-row:last-child {
    border-bottom: none;
}

.mrb-readonly-row dt {
    margin: 0;
    font-weight: 600;
    color: #667070;
}

.mrb-readonly-row dd {
    margin: 0;
    color: #2a1f18;
}

/* 赛后打印奖状（mpt- 前缀，与打印检录单 mpc- 区分） */
.mpt-print-center {
    margin-top: 20px;
    padding: 20px 22px;
}

.mpt-print-center-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1F655E;
}

.mpt-print-center-desc {
    margin: 0 0 16px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.mpt-shell {
    margin-top: 12px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 32, 22, 0.08);
    border: 1px solid #e3d9ce;
    background: #fff;
}

.mpt-hero {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #3730a3 0%, #1e1b4b 100%);
    color: #eef2ff;
    position: relative;
}

.mpt-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

.mpt-hero > * {
    position: relative;
    z-index: 1;
}

.mpt-hero-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.mpt-hero-text {
    min-width: 0;
}

.mpt-hero-title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
}

.mpt-hero-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.93;
}

.mpt-body {
    padding: 20px 20px 22px;
}

.mpt-intro {
    margin: 0 0 18px;
    font-size: 0.92rem;
    color: #667070;
    line-height: 1.6;
}

.mpt-form {
    margin: 0;
}

.mpt-tpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.mpt-tpl-card {
    display: block;
    position: relative;
    margin: 0;
    border: 2px solid #e3d9ce;
    border-radius: 12px;
    padding: 14px 12px 12px 38px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    background: #faf7f2;
}

.mpt-tpl-card:hover {
    border-color: #c4b5fd;
    background: #faf5ff;
}

.mpt-tpl-card:has(.mpt-tpl-radio:checked) {
    border-color: #b18659;
    background: #f5f3ff;
    box-shadow: 0 0 0 1px rgba(177, 134, 89, 0.28);
}

.mpt-tpl-radio {
    position: absolute;
    left: 14px;
    top: 18px;
    width: 16px;
    height: 16px;
    accent-color: #b18659;
}

.mpt-tpl-name {
    display: block;
    font-weight: 700;
    font-size: 0.98rem;
    color: #2a1f18;
    margin-bottom: 6px;
}

.mpt-tpl-meta {
    display: block;
    font-size: 0.82rem;
    color: #667070;
    line-height: 1.4;
}

.mpt-tpl-style {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #a89888;
    line-height: 1.35;
}

.mpt-save-row {
    margin-bottom: 8px;
}

.mpt-save-btn {
    padding: 11px 24px;
    border-radius: 10px;
    background: #b18659 !important;
    border-color: #b18659 !important;
}

.mpt-save-btn:hover {
    filter: brightness(1.05);
}

.mpt-links {
    text-align: center;
    padding-top: 18px;
    margin-top: 10px;
    border-top: 1px solid #e3d9ce;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.mpt-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b21b6;
    text-decoration: none;
}

.mpt-links a:hover {
    text-decoration: underline;
}

.mpt-tpl-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mpt-preview-open {
    align-self: flex-start;
}

/* 奖状模板预览弹层 */
.mpt-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
}

.mpt-preview-modal[hidden] {
    display: none !important;
}

.mpt-preview-modal:not([hidden]) {
    display: flex;
}

.mpt-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 32, 22, 0.55);
    cursor: pointer;
}

.mpt-preview-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    padding: 16px 18px 20px;
}

.mpt-preview-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.mpt-preview-modal__head strong {
    font-size: 1.05rem;
    color: #2a1f18;
}

.mpt-preview-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #faf6f1;
    color: #667070;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.mpt-preview-modal__close:hover {
    background: #e3d9ce;
    color: #2a1f18;
}

.mpt-preview-modal__hint {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #667070;
    line-height: 1.5;
}

.mpt-preview-modal__meta {
    margin: 0 0 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4338ca;
    line-height: 1.45;
    min-height: 1.2em;
}

.mpt-preview-modal__cert-wrap {
    padding: 4px 0;
}

.mpt-preview-modal__cert-wrap--land .mpt-preview-cert {
    max-width: none;
    width: 100%;
}

.mpt-preview-modal__cert-wrap:not(.mpt-preview-modal__cert-wrap--land) .mpt-preview-cert {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* 各模板预览：边框与标题色区分（与目录中纸张/方向对应） */
.mpt-preview-cert--tpl1 {
    border-color: #b8860b;
}

.mpt-preview-cert--tpl1 .certificate-title {
    color: #9a6b00;
}

.mpt-preview-cert--tpl2 {
    border-color: #b18659;
    border-width: 3px;
}

.mpt-preview-cert--tpl2 .certificate-title {
    color: #1F655E;
    letter-spacing: 3px;
}

.mpt-preview-cert--tpl3 {
    border-color: #2A847C;
    border-style: double;
    border-width: 4px;
}

.mpt-preview-cert--tpl3 .certificate-title {
    color: #2A847C;
}

.mpt-preview-cert--tpl4 {
    border-color: #d97706;
    border-width: 3px;
}

.mpt-preview-cert--tpl4 .certificate-title {
    color: #b45309;
    font-size: 32px;
}

.mpt-preview-cert--tpl5 {
    border-color: #be123c;
}

.mpt-preview-cert--tpl5 .certificate-title {
    color: #9f1239;
    font-size: 26px;
    letter-spacing: 8px;
}

.mpt-preview-cert--tpl6 {
    border-color: #b18659;
}

.mpt-preview-cert--tpl6 .certificate-title {
    color: #5b21b6;
}

.mpt-preview-cert--tpl7 {
    border-color: #9f7750;
}

.mpt-preview-cert--tpl7 .certificate-title {
    color: #6b4423;
}

.mpt-preview-cert--tpl8 {
    border-color: #57534e;
    border-width: 3px;
}

.mpt-preview-cert--tpl8 .certificate-title {
    color: #44403c;
    font-size: 34px;
}

.mpt-preview-cert--tpl9 {
    border-color: #9f7750;
    border-width: 3px;
}

.mpt-preview-cert--tpl9 .certificate-title {
    color: #4338ca;
    letter-spacing: 2px;
}

.mpt-preview-cert--tpl10 {
    border-color: #667070;
}

.mpt-preview-cert--tpl10 .certificate-title {
    color: #4a3f36;
}

.mpt-preview-cert--custom,
.mpt-preview-cert--custom_a,
.mpt-preview-cert--custom_b {
    border-style: dashed;
    border-width: 2px;
    border-color: #9333ea;
    background: linear-gradient(180deg, #faf5ff 0%, #fff 40%);
}

.mpt-preview-cert--custom .certificate-title,
.mpt-preview-cert--custom_a .certificate-title,
.mpt-preview-cert--custom_b .certificate-title {
    color: #7e22ce;
}

.mpt-preview-modal .mpt-preview-cert {
    min-height: auto;
    padding: 22px 18px;
    margin: 0;
}

.mpt-preview-modal .certificate-title {
    font-size: 28px;
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.mpt-preview-modal .certificate-text {
    font-size: 17px;
    line-height: 1.85;
}

.mpt-preview-modal .certificate-footer {
    margin-top: 28px;
    font-size: 0.95rem;
}

/* 赛中：修改预赛录取人数（mpa-） */
.mpa-shell {
    margin-top: 12px;
    padding-bottom: 72px;
}

.mpa-intro {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid #dfc4ae;
    background: linear-gradient(180deg, #fff6ea 0%, #faf7f2 100%);
    color: #1e3a5f;
    font-size: 0.92rem;
    line-height: 1.65;
}

.mpa-intro-title {
    margin: 10px 0 6px;
    font-weight: 700;
    color: #1F655E;
    font-size: 0.95rem;
}

.mpa-intro-title:first-child {
    margin-top: 0;
}

.mpa-intro-p {
    margin: 0 0 4px;
}

.mpa-intro-ul {
    margin: 6px 0 0;
    padding-left: 1.2em;
}

.mpa-body-card {
    padding: 18px 18px 20px;
}

.mpa-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mpa-card-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: #2a1f18;
}

.mpa-card-sub {
    margin: 0;
    font-size: 0.88rem;
    color: #667070;
}

.mpa-empty {
    margin: 0;
}

.mpa-table-wrap {
    margin-bottom: 8px;
    overflow-x: auto;
}

.mpa-table {
    width: 100%;
}

.mpa-table th,
.mpa-table td {
    padding: 5px 8px;
    vertical-align: middle;
    white-space: nowrap;
}

.mpa-table tbody td,
.mpa-table tbody .mpa-enroll,
.mpa-table tbody .mpa-badge-group,
.mpa-table tbody .mpa-gender,
.mpa-table tbody .mpa-pill,
.mpa-table tbody .mpa-direct {
    font-weight: 400;
}

.mpa-table th:last-child,
.mpa-table td:last-child {
    white-space: normal;
}

.mpa-table tbody tr:hover td,
.mpa-table tbody tr:focus-within td {
    background: #E7F3F1;
}

.mpa-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mpa-th-stack {
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.mpa-enroll {
    font-weight: 400;
    color: #2a1f18;
    white-space: nowrap;
}

.mpa-mode-select,
.mpa-adv-input,
.mpa-final-input {
    width: 64px;
    max-width: none;
    padding: 2px 4px;
    border: 1px solid #d9cfc4;
    border-radius: 8px;
    background: #fff;
    color: #2a1f18;
    font-size: 0.88rem;
    text-align: center;
}

.mpa-mode-select {
    width: 108px;
}

.mpa-adv-box.is-qq .mpa-adv-rank,
.mpa-adv-box:not(.is-qq) .mpa-adv-qq {
    display: none;
}

.mpa-adv-qq {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mpa-qq-field {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 11px;
    color: #667070;
    line-height: 1.15;
    white-space: nowrap;
}

.mpa-q-input,
.mpa-qx-input {
    width: 40px;
    padding: 2px 2px;
    border: 1px solid #d9cfc4;
    border-radius: 8px;
    background: #fff;
    color: #2a1f18;
    font-size: 0.88rem;
    text-align: center;
}

.mpa-direct {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #E7F3F1;
    color: #1F655E;
    font-size: 0.82rem;
    font-weight: 400;
    white-space: nowrap;
}

.mpa-muted {
    color: #667070;
}

.mpa-pill--final {
    background: #E7F3F1;
    color: #1A544E;
}

.mpa-table tbody tr:nth-child(even) {
    background: #F4F7F7;
}

.mpa-th-narrow {
    white-space: nowrap;
    width: 1%;
}

.mpa-th-input {
    min-width: 88px;
}

.mpa-badge-group {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 10px;
    background: #eef2ff;
    color: #3730a3;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 400;
}

.mpa-gender {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 400;
    color: #fff;
}

.mpa-gender--male {
    background: #b18659;
}

.mpa-gender--female {
    background: #db2777;
}

.mpa-gender--any {
    background: #667070;
}

.mpa-pill {
    display: inline-flex;
    padding: 1px 8px;
    border-radius: 999px;
    background: #fff6ea;
    color: #6b4423;
    font-weight: 400;
    font-size: 0.9rem;
}

.mpa-desc {
    display: block;
    color: #667070;
    font-size: 0.9rem;
}

.mpa-desc-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #a89888;
    line-height: 1.35;
}

.mpa-save-row {
    margin-top: 14px;
}

.mpa-save-btn {
    padding: 10px 22px;
    border-radius: 10px;
}

.mpa-form {
    margin: 0;
}

/* 赛中：电计时设置（mts-） */
.mts-shell {
    margin-top: 12px;
}

.mts-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #2A847C 0%, #2A847C 100%);
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(9, 88, 217, 0.25);
}

.mts-banner-ico {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.mts-banner-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.mts-card {
    background: #fff;
    border: 1px solid #e6ddd4;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(45, 32, 22, 0.04);
}

.mts-step1 {
    position: relative;
    margin-bottom: 10px;
}

.mts-step-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mts-step-badge--blue {
    background: #F4F7F7;
    color: #2A847C;
}

.mts-step-badge--green {
    background: #F8FAFA;
    color: #2A847C;
}

.mts-step1-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 10px;
}

.mts-step1-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff6ea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mts-h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #2a1f18;
}

.mts-h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #3d342f;
}

.mts-lead {
    margin: 0 0 14px;
    color: #667070;
    font-size: 0.92rem;
    line-height: 1.55;
}

.mts-desc {
    margin: 0 0 12px;
    color: #667070;
    font-size: 0.88rem;
    line-height: 1.55;
}

.mts-export-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.mts-btn-export {
    min-width: 148px;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
}

.mts-btn-export--blue {
    background: #2A847C;
}

.mts-btn-export--blue:hover {
    filter: brightness(1.06);
    color: #fff;
}

.mts-btn-export--amber {
    background: #faad14;
    color: #1f2937;
}

.mts-btn-export--amber:hover {
    filter: brightness(1.05);
    color: #111827;
}

.mts-btn-export--red {
    background: #f5222d;
}

.mts-btn-export--red:hover {
    filter: brightness(1.06);
    color: #fff;
}

.mts-fine {
    margin: 0;
    font-size: 0.82rem;
    color: #a89888;
}

.mts-fine a {
    color: #b18659;
    font-weight: 600;
    text-decoration: none;
}

.mts-fine a:hover {
    text-decoration: underline;
}

.mts-between {
    text-align: center;
    margin: 18px 0 14px;
    font-weight: 600;
    color: #667070;
    font-size: 0.95rem;
}

.mts-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.mts-method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mts-method-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.mts-method-ico--upload {
    background-color: #F4F7F7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338A89D' stroke-width='1.8'%3E%3Cpath d='M12 4v12M8 8l4-4 4 4'/%3E%3Crect x='4' y='16' width='16' height='4' rx='1'/%3E%3C/svg%3E");
}

.mts-method-ico--folder {
    background-color: #F8FAFA;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338A89D' stroke-width='1.6'%3E%3Cpath d='M4 6h6l2 2h8v12H4z'/%3E%3C/svg%3E");
}

.mts-callout {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.mts-callout-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #ad6800;
}

.mts-callout-ol {
    margin: 0;
    padding-left: 1.2em;
    font-size: 0.85rem;
    color: #595959;
    line-height: 1.55;
}

.mts-callout-ol a {
    color: #2A847C;
    font-weight: 600;
}

.mts-go {
    width: 100%;
    justify-content: center;
    font-weight: 600;
}

.mts-btn-green {
    background: #1e63d9;
    border-color: #1e63d9;
    color: #fff;
}

.mts-btn-green:hover {
    filter: brightness(1.05);
    color: #fff;
}

.mts-foot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.mts-info {
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.88rem;
    line-height: 1.55;
}

.mts-info--blue {
    background: #F8FAFA;
    border: 1px solid #D7EEEB;
    color: #2B2B2B;
}

.mts-info--amber {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    color: #595959;
}

.mts-ol {
    margin: 0;
    padding-left: 1.2em;
}

.mts-prefs {
    margin-top: 4px;
}

.mts-prefs-form {
    margin-top: 8px;
}

.mts-prefs-actions {
    margin-top: 12px;
}

/* 赛后成绩汇总：分组表（mrps-） */
.mrps-shell {
    margin-top: 12px;
}

.mrps-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    background: #3d342f;
    color: #faf7f2;
    border-radius: 10px;
    margin-bottom: 14px;
}

.mrps-topbar-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.mrps-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mrps-export-btn.btn,
.mrps-export-btn.btn.btn-primary {
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 600;
}

.mrps-export-btn .mrps-export-ico svg {
    width: 16px;
    height: 16px;
}

.mrps-export-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mrps-export-ico {
    display: flex;
}

.mrps-block {
    margin-bottom: 16px;
    padding: 16px 18px 18px;
}

.mrps-block-title {
    margin: 0.65em 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2a1f18;
    text-align: center;
}

.mrps-table-wrap {
    margin: 0;
}

.mrps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    font-family: SimSun, "Songti SC", STSong, "Noto Serif CJK SC", serif;
}

.mrps-table th,
.mrps-table td {
    border: 1px solid #d4c4b6;
    padding: 14px 8px;
    text-align: center;
    vertical-align: middle;
}

.mrps-table thead th {
    background: #e3d9ce;
    color: #141210;
    font-weight: 700;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 0.96rem;
    font-family: "Microsoft YaHei", "Microsoft JhengHei", SimHei, "PingFang SC", "Heiti SC", "Noto Sans CJK SC", sans-serif;
}

.mrps-table thead th.mrps-th-gender {
    white-space: nowrap;
    width: 6.5em;
    min-width: 6.5em;
    max-width: 8em;
}

.mrps-td-event,
.mrps-td-gender {
    font-weight: 600;
}

.mrps-td-event {
    width: 9.5em;
    max-width: 11em;
    white-space: normal;
    word-break: break-word;
}

.mrps-td-gender {
    width: 6.5em;
    min-width: 6em;
    max-width: 8em;
    text-align: center;
    white-space: nowrap;
}

.mrps-row--male .mrps-td-event,
.mrps-row--male .mrps-td-gender {
    background: #d4edda;
    color: #14532d;
}

.mrps-row--female .mrps-td-event,
.mrps-row--female .mrps-td-gender {
    background: #fce4ec;
    color: #9d174d;
}

.mrps-row--mixed .mrps-td-event,
.mrps-row--mixed .mrps-td-gender {
    background: #fff3e0;
    color: #b45309;
}

.mrps-td-rank {
    color: #141210;
    min-width: 72px;
    font-size: 0.96rem;
    font-family: "Microsoft YaHei", "Microsoft JhengHei", SimHei, "PingFang SC", "Heiti SC", "Noto Sans CJK SC", sans-serif;
}

.mrps-legend {
    margin-top: 20px;
    padding: 14px 16px;
    background: #faf7f2;
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #667070;
}

.mrps-legend-item {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 6px;
}

.mrps-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mrps-swatch--male {
    background: #d4edda;
}

.mrps-swatch--female {
    background: #fce4ec;
}

.mrps-swatch--mixed {
    background: #fff3e0;
}

.mrps-legend-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #a89888;
}

/* 成绩汇总：主区上移、名次格三行 */
.gb-admin-inner--mrps-result-summary.section-gap {
    padding-top: 6px;
}

body.page-mrps-result-summary .gb-admin-content {
    padding-top: 8px;
}

body.page-mrps-result-summary .mrps-shell {
    margin-top: 4px;
}

body.page-mrps-result-summary .mrps-topbar {
    margin-bottom: 10px;
}

body.page-mrps-result-summary .mrps-block.card {
    padding-top: 10px;
    padding-bottom: 14px;
}

body.page-mrps-result-summary .mrps-block-title {
    margin-top: 0.65em;
    margin-bottom: 0.65em;
}

.mrps-cell-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.4;
    font-size: inherit;
    text-align: center;
}

.mrps-cell-line {
    max-width: 100%;
    word-break: break-word;
}

.mrps-cell-name {
    font-weight: 600;
}

.mrps-cell-perf {
    font-size: 1em;
    color: #1f1c1a;
}

.mrps-cell-class {
    font-size: 0.98em;
    color: #252220;
    line-height: 1.35;
}

.mrps-cell-mark {
    font-size: 0.92em;
    color: #9a3412;
    line-height: 1.35;
}

.mrank-td-mark {
    text-align: left;
    white-space: normal;
    min-width: 8em;
}

.mrank-mark-line {
    line-height: 1.35;
    color: #9a3412;
}

.mrank-mark-empty {
    color: #9ca3af;
}

.mpts-record-mark {
    color: #9a3412;
    line-height: 1.35;
    white-space: normal;
}

.mrps-empty {
    margin-top: 12px;
}

/* 赛后综合查询平台（mpcq-） */
.mpcq-platform {
    margin-top: 12px;
    padding: 0;
}

.mpcq-card {
    margin: 0;
    padding: 22px 20px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(45, 32, 22, 0.08);
    border: 1px solid #e8ecf4;
}

.mpcq-query-panel {
    background: #eef1f6;
    border-radius: 10px;
    padding: 16px 16px 18px;
    margin-bottom: 4px;
}

.mpcq-panel-tip {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #a89888;
    line-height: 1.45;
}

.mpcq-unit-form {
    margin: 0;
}

.mpcq-card-pad {
    margin-top: 8px;
}

.mpcq-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.mpcq-card-ico {
    display: flex;
    color: #637ae8;
}

.mpcq-card-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2a1f18;
    letter-spacing: 0.02em;
}

.mpcq-type-label {
    margin: 0 0 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #667070;
}

.mpcq-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mpcq-type-tab {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #4a3f36;
    text-decoration: none;
    border: 1px solid #d8dee9;
    border-radius: 10px;
    background: #fff;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mpcq-type-tab:hover {
    border-color: #637ae8;
    color: #637ae8;
}

.mpcq-type-tab.is-active {
    background: #637ae8;
    border-color: #637ae8;
    color: #fff;
}

.mpcq-type-tab.is-active .mpcq-type-tab-ico {
    color: inherit;
}

.mpcq-type-tab-ico {
    display: flex;
    color: #a89888;
}

.mpcq-type-tab.is-active .mpcq-type-tab-ico {
    color: #fff;
}

.mpcq-group-form {
    margin-bottom: 0;
}

.mpcq-group-block {
    display: block;
}

.mpcq-group-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #667070;
}

.mpcq-group-select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
}

.mpcq-session-card {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #e8ecf4;
}

.mpcq-session-hint {
    margin: 0 0 12px;
    font-size: 0.86rem;
    color: #667070;
}

.mpcq-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px 16px;
    margin-bottom: 16px;
}

.mpcq-filter-grid--compact {
    margin-bottom: 12px;
}

.mpcq-field--wide {
    grid-column: 1 / -1;
}

@media (min-width: 900px) {
    .mpcq-field--wide {
        grid-column: span 2;
    }
}

.mpcq-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #667070;
}

.mpcq-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mpcq-athlete-search {
    margin: 14px 0 18px;
    padding: 18px 20px;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    background: #fff;
}

.mpcq-athlete-label {
    display: block;
    margin: 0 0 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #667070;
}

.mpcq-athlete-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
}

.mpcq-athlete-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.mpcq-athlete-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
}

.mpcq-athlete-submit-ico {
    display: flex;
    color: inherit;
}

.mpcq-athlete-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 32px;
    text-align: center;
}

.mpcq-athlete-idle--nomatch {
    padding-top: 28px;
}

.mpcq-athlete-idle-ico {
    display: flex;
    margin-bottom: 14px;
}

.mpcq-athlete-idle-text {
    margin: 0;
    max-width: 420px;
    font-size: 0.95rem;
    color: #a89888;
    line-height: 1.55;
}

.mpcq-result-panel {
    min-height: 220px;
    margin-top: 8px;
}

.mpcq-idle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 16px 28px;
    text-align: center;
}

.mpcq-idle-ico {
    display: flex;
    margin-bottom: 12px;
    opacity: 0.95;
}

.mpcq-idle-text {
    margin: 0;
    font-size: 0.95rem;
    color: #a89888;
}

.mpcq-idle-text--plain {
    padding: 20px 8px;
    text-align: center;
}

.mpcq-result-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.mpcq-result-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #3d342f;
}

.mpcq-result-meta {
    margin: 0;
    font-size: 0.86rem;
    color: #667070;
}

.mpcq-result-meta--pad {
    margin-bottom: 10px;
}

.mpcq-table-wrap {
    overflow-x: auto;
}

.mpcq-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.mpcq-table th,
.mpcq-table td {
    border: 1px solid #e3d9ce;
    padding: 9px 8px;
    text-align: center;
    vertical-align: middle;
}

.mpcq-table thead th {
    background: #faf6f1;
    color: #4a3f36;
    font-weight: 700;
    white-space: nowrap;
}

.mpcq-table tbody tr:nth-child(even) {
    background: #F4F7F7;
}

.mpcq-td-remark {
    max-width: 160px;
    text-align: left;
    word-break: break-word;
}

.mpcq-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.mpcq-session-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 4px;
}

@media (min-width: 960px) {
    .mpcq-session-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.mpcq-session-block {
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    padding: 14px 14px 16px;
}

.mpcq-session-block-title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #2B2B2B;
}

.mpcq-session-empty {
    margin: 0;
    font-size: 0.88rem;
    color: #8A9696;
}

.mpcq-session-table-wrap {
    margin: 0;
    border: none;
    box-shadow: none;
    padding: 0;
}

.mpcq-session-table th,
.mpcq-session-table td {
    font-size: 0.86rem;
    padding: 10px 8px;
}

.mpcq-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.mpcq-status-badge--done {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.mpcq-status-badge--pending {
    background: #fef9c3;
    color: #a16207;
    border: 1px solid #fde68a;
}

/* 赛后队伍得分统计（mpts-） */
.mpts-root {
    margin-top: 8px;
}

.mpts-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 16px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(45, 32, 22, 0.06);
}

.mpts-toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mpts-toolbar-menu {
    padding: 6px 10px;
    font-size: 1.1rem;
    line-height: 1;
    border: 1px solid #e3d9ce;
    border-radius: 8px;
    background: #fff;
    color: #4a3f36;
    cursor: pointer;
}

.mpts-toolbar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2a1f18;
}

.mpts-toolbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.mpts-toolbar-meet {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #1A544E;
}

.mpts-toolbar-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    margin-right: 2px;
}

.mpts-toolbar-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #F4F7F7;
    border: 1px solid #dbe4f0;
}

.mpts-toolbar-user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mpts-toolbar-user-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: #2B2B2B;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpts-toolbar-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: #2B2B2B;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}

.mpts-toolbar-link:hover {
    color: #2A847C;
}

.gb-admin-strip .mpts-toolbar-nav .mpts-toolbar-link,
.gb-admin-strip .mpts-toolbar-nav .mpts-toolbar-link--btn {
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    font-family: inherit;
    color: #2B2B2B;
}

.gb-admin-strip .mpts-toolbar-nav .mpts-toolbar-link:hover,
.gb-admin-strip .mpts-toolbar-nav .mpts-toolbar-link--btn:hover {
    color: #2A847C;
}

.mpts-toolbar-link--btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gb-admin-strip .mpts-toolbar-ico {
    opacity: 0.9;
    width: 20px;
    height: 20px;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-admin-strip .mpts-toolbar-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.mpts-toolbar-ico {
    opacity: 0.8;
    font-size: 0.75rem;
}

.mpts-toolbar-logout {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.mpts-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-bottom: 12px;
}

/* 个人中心（user_center）独立壳层 */
body.page-user-center-shell {
    overflow: hidden;
}

body.page-user-center-shell .page {
    max-width: none;
    margin: 0;
    padding: 0;
}

.uc-app {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    background: #F8FAFA;
}

.uc-app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.uc-topbar {
    flex-shrink: 0;
}

.uc-topbar-user {
    font-size: 14px;
    font-weight: 600;
    color: #2A847C;
    margin-right: 4px;
}

.uc-topbar-nav .mpts-toolbar-link,
.uc-topbar-nav .mpts-toolbar-link--btn {
    font-size: 14px;
    font-weight: 500;
}

.uc-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px 24px;
}

.uc-flash-wrap {
    margin-bottom: 12px;
}

.uc-sidebar {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border-right: 1px solid #E2E8E8;
    overflow-y: auto;
    transition: width 0.2s ease, margin 0.2s ease;
}

body.uc-shell-sidebar-collapsed .uc-sidebar {
    width: 0;
    margin-left: -220px;
    overflow: hidden;
    border: none;
}

.uc-sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #2A847C;
    border-bottom: 1px solid #F4F7F7;
    background: #f8fbff;
}

.uc-sidebar-head-ico {
    font-size: 16px;
}

.uc-nav {
    padding: 8px 0 10px;
}

.uc-nav-group-title {
    padding: 10px 14px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2A847C;
}

.uc-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 14px;
    color: #2B2B2B;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.uc-nav-item:hover {
    background: #F4F7F7;
    color: #2A847C;
}

.uc-nav-item.is-active {
    background: #F4F7F7;
    color: #2A847C;
    font-weight: 600;
    border-left-color: #2A847C;
}

.uc-nav-item-ico {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D0DADA;
    flex-shrink: 0;
}

.uc-nav-item.is-active .uc-nav-item-ico {
    background: #2A847C;
}

.uc-main {
    min-width: 0;
}

.uc-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.uc-card {
    background: #fff;
    border: 1px solid #E2E8E8;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
    color: #2B2B2B;
}

.uc-card--links {
    background: #F4F7F7;
    border-color: #d4e3f5;
}

.uc-card-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
}

.uc-quick-link {
    display: block;
    padding: 8px 0;
    color: #2A847C;
    font-weight: 600;
    text-decoration: none;
}

.uc-quick-link + .uc-quick-link {
    border-top: 1px solid #d4e3f5;
}

.uc-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.uc-stat {
    text-align: center;
    padding: 10px 6px;
    background: #F8FAFA;
    border-radius: 8px;
}

.uc-stat strong {
    display: block;
    font-size: 20px;
    color: #2B2B2B;
}

.uc-stat span {
    font-size: 12px;
    color: #667070;
}

.uc-field {
    display: block;
    margin-bottom: 14px;
}

.uc-field > span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.uc-field input,
.uc-field textarea {
    width: 100%;
    box-sizing: border-box;
    color: #2B2B2B;
}

.uc-field-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #667070;
}

.uc-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.uc-input-row input {
    flex: 1;
    min-width: 0;
}

.uc-form-actions {
    margin-top: 8px;
}

.uc-tip-box {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 13px;
    color: #2B2B2B;
    background: #eff6ff;
    border: 1px solid #D7EEEB;
    border-radius: 8px;
}

.uc-card--referral {
    border-left: 4px solid #22c55e;
}

.uc-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.uc-quick-grid a {
    padding: 10px 12px;
    background: #F8FAFA;
    border: 1px solid #E2E8E8;
    border-radius: 8px;
    color: #2A847C;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.uc-quick-grid a:hover {
    background: #F4F7F7;
}

.uc-card--placeholder {
    padding: 28px 24px;
}

.uc-placeholder-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #2B2B2B;
}

.uc-placeholder-desc {
    margin: 0 0 12px;
    color: #2B2B2B;
    line-height: 1.6;
}

.uc-page-head {
    margin-bottom: 14px;
}

.uc-page-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.uc-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #2B2B2B;
}

.uc-back-link {
    font-size: 14px;
    color: #2A847C;
    text-decoration: none;
}

.uc-back-link:hover {
    text-decoration: underline;
}

.uc-card--filter {
    margin-bottom: 14px;
}

.uc-card-title--sm {
    font-size: 15px;
    margin-bottom: 12px;
}

.uc-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
}

.uc-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #2B2B2B;
}

.uc-filter-field select {
    min-width: 140px;
    padding: 8px 10px;
    border: 1px solid #D0DADA;
    border-radius: 6px;
}

.uc-filter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-reset-link {
    font-size: 14px;
    color: #667070;
}

.uc-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.uc-record-count {
    font-size: 13px;
    color: #667070;
}

.uc-table-wrap {
    overflow-x: auto;
}

.uc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #2B2B2B;
}

.uc-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: #2B2B2B;
    border-bottom: 2px solid #E2E8E8;
    background: #F8FAFA;
}

.uc-table td {
    padding: 12px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.uc-order-no {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: #dc2626;
    word-break: break-all;
}

.uc-amount {
    font-weight: 600;
    color: #dc2626;
}

.uc-amount--plus {
    color: #16a34a;
}

.uc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.uc-badge--ok {
    background: #dcfce7;
    color: #166534;
}

.uc-badge--warn {
    background: #fef3c7;
    color: #b45309;
}

.uc-badge--muted {
    background: #F4F7F7;
    color: #667070;
}

.uc-badge--type {
    background: #E6F6F4;
    color: #2A847C;
}

.uc-action-link {
    color: #2A847C;
    font-weight: 500;
    text-decoration: none;
}

.uc-action-link:hover {
    text-decoration: underline;
}

.uc-empty {
    margin: 0;
    padding: 20px 0;
    color: #667070;
}

.uc-dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px 16px;
    margin: 0 0 16px;
}

.uc-dl dt {
    font-weight: 600;
    color: #667070;
}

.uc-balance-line {
    margin: 0 0 8px;
    font-size: 15px;
}

.uc-balance-num {
    font-size: 20px;
    color: #2A847C;
}

.uc-recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.uc-plan-price {
    font-size: 22px;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 8px;
}

.uc-plan-desc {
    margin: 0 0 12px;
    color: #667070;
    font-size: 14px;
    line-height: 1.5;
}

.uc-task-list {
    display: grid;
    gap: 12px;
}

.uc-task-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.uc-task-reward {
    margin: 0 0 10px;
    color: #667070;
}

@media (max-width: 960px) {
    .uc-profile-grid {
        grid-template-columns: 1fr;
    }

    body.uc-shell-sidebar-collapsed .uc-sidebar {
        margin-left: 0;
        width: 220px;
        position: fixed;
        z-index: 200;
        height: 100%;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
    }
}

.mpts-hero-bar {
    padding: 14px 18px;
    margin-bottom: 14px;
    background: #4a3f36;
    color: #faf7f2;
    font-size: 1.02rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.mpts-card {
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(45, 32, 22, 0.06);
}

.mpts-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #b18659 0%, #c49a6c 100%);
    color: #fff;
}

.mpts-card-head--blue {
    background: linear-gradient(90deg, #2A847C 0%, #2A847C 100%);
}

.mpts-card-head-ico {
    display: flex;
    color: inherit;
}

.mpts-card-head-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.mpts-card-body {
    padding: 18px 20px 22px;
}

.mpts-notice {
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4A4466;
    background: #E7E4EF;
    border: 1px solid #D8D5E2;
    border-radius: 8px;
}

.mpts-table-empty {
    margin: 0;
    font-size: 0.9rem;
    color: #667070;
    text-align: center;
    padding: 12px 8px;
}

.mpts-table-wrap {
    overflow-x: auto;
}

.mpts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: #4A4466;
}

.mpts-table th,
.mpts-table td {
    border: 1px solid #e3d9ce;
    padding: 10px 12px;
    text-align: center;
}

.mpts-table thead th {
    background: #F5F4F8;
    font-weight: 700;
    color: #4A4466;
}

.mpts-table tbody tr:nth-child(even) {
    background: #F4F7F7;
}

.mpts-empty {
    margin-top: 12px;
}

.mpts-section {
    margin-top: 22px;
}

.mpts-section:first-of-type {
    margin-top: 8px;
}

.mpts-section-title {
    margin: 0 0 10px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #3C3754;
}

.mpts-detail-title {
    margin: 16px 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667070;
}

.mpts-table-wrap--wide {
    overflow-x: auto;
}

.mpts-table--rank th,
.mpts-table--rank td {
    font-size: 0.82rem;
}

.mpts-table--rank td:nth-child(3) {
    text-align: left;
}

.mpts-th-sub {
    font-weight: 600;
    font-size: 0.75rem;
}

.mpts-tr--alt {
    background: #F8FAFA;
}

.mpts-table--detail th,
.mpts-table--detail td {
    font-size: 0.85rem;
}

.mpts-table--team thead th {
    background: #F5F4F8;
    color: #4A4466;
    font-weight: 600;
    white-space: nowrap;
}

.mpts-table--team .mpts-th-rank {
    width: 72px;
    text-align: center;
}

.mpts-table--team .mpts-th-team {
    min-width: 160px;
    text-align: left;
}

.mpts-td-rank,
.mpts-td-count {
    text-align: center;
}

.mpts-rank-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mpts-rank-num {
    font-weight: 700;
    color: #3C3754;
}

.mpts-medal {
    font-size: 1rem;
    line-height: 1;
}

.mpts-team-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: #4A4466;
    text-align: left;
}

.mpts-team-toggle:hover:not([disabled]) {
    color: #3C3754;
}

.mpts-team-toggle[disabled] {
    cursor: default;
    color: #807B96;
}

.mpts-team-toggle[aria-expanded="true"] .mpts-team-caret {
    transform: rotate(180deg);
}

.mpts-team-name {
    font-weight: 600;
}

.mpts-team-caret {
    display: inline-block;
    font-size: 0.65rem;
    color: #59527A;
    transition: transform 0.15s ease;
}

.mpts-pill {
    display: inline-block;
    min-width: 44px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.mpts-pill--blue {
    background: #E7E4EF;
    color: #3C3754;
}

.mpts-pill--green {
    background: #D8D5E2;
    color: #4A4466;
}

.mpts-pill--amber {
    background: #D4C4B8;
    color: #9E8775;
}

.mpts-dash {
    color: #B4B0C7;
}

.mpts-team-detail-row > td {
    padding: 0 !important;
    border-top: none;
    background: #F8FAFA;
}

.mpts-team-detail-panel {
    margin: 0 0 8px;
    padding: 14px 16px 16px 20px;
    border-left: 4px solid #4A4466;
    background: #fff;
}

.mpts-team-detail-title {
    margin: 0 0 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #3C3754;
}

.mpts-table-wrap--inner {
    overflow-x: auto;
}

.mpts-table--team-detail {
    font-size: 0.84rem;
}

.mpts-table--team-detail thead th {
    background: #F5F4F8;
    font-weight: 600;
    color: #59527A;
    white-space: nowrap;
}

.mpts-event-name {
    margin-right: 6px;
    font-weight: 500;
}

.mpts-tag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    vertical-align: middle;
}

.mpts-tag--event {
    background: #E7E4EF;
    color: #4A4466;
}

.mpts-tag--gender {
    background: #F5F4F8;
    color: #59527A;
}

.mpts-rank-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #E7E4EF;
    color: #4A4466;
}

.mpts-rank-badge--1 {
    background: #D4C4B8;
    color: #9E8775;
}

.mpts-rank-badge--2 {
    background: #D8D5E2;
    color: #59527A;
}

.mpts-rank-badge--3 {
    background: #F5F4F8;
    color: #B89F8A;
}

.mpts-manual-tag {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: #A83C3C;
    font-weight: 500;
}

/* 赛后破纪录汇总（mprs-） */
.mprs-root {
    margin-top: 8px;
}

.mprs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    margin-bottom: 14px;
    background: #4A4466;
    color: #FFFFFF;
    border-radius: 10px;
}

.mprs-head-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
}

.mprs-export-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: #FFFFFF;
    color: #4A4466;
    border: 1px solid #FFFFFF;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mprs-export-btn:hover {
    background: #E7E4EF;
    color: #4A4466;
    border-color: #E7E4EF;
}

.mprs-empty-line {
    margin: 0 0 12px;
    color: #4A4466;
}

.mprs-empty {
    margin-top: 12px;
}

.mprs-notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 16px;
    background: #e6f7ff;
    border: 1px solid #A8D5CF;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(45, 32, 22, 0.04);
}

.mprs-notice-banner--ok {
    background: #F4F7F7;
    border-color: #6ee7b7;
}

.mprs-notice-banner-ico {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 50%;
    background: #2A847C;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.mprs-notice-banner--ok .mprs-notice-banner-ico {
    background: #059669;
}

.mprs-notice-banner-text {
    flex: 1;
    min-width: 0;
}

.mprs-notice-banner-lead {
    margin: 0 0 6px;
    font-size: 0.98rem;
    color: #4a301f;
    line-height: 1.45;
}

.mprs-notice-banner--ok .mprs-notice-banner-lead {
    color: #064e3b;
}

.mprs-notice-banner-meta {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #667070;
    line-height: 1.5;
}

.mprs-table-wrap {
    margin-top: 0;
}

.mprs-groups {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mprs-group {
    background: #fff;
    border: 1px solid #D8D5E2;
    border-radius: 10px;
    overflow: hidden;
}

.mprs-group-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #E7E4EF;
    color: #4A4466;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.mprs-group-sum::-webkit-details-marker {
    display: none;
}

.mprs-group-sum::before {
    content: "▸";
    margin-right: 8px;
    color: #4A4466;
    font-size: 0.85rem;
}

.mprs-group[open] > .mprs-group-sum::before {
    content: "▾";
}

.mprs-group-name {
    flex: 1;
}

.mprs-group-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #59527A;
}

.mprs-group .mprs-table-wrap {
    padding: 0 0 2px;
}

/* 赛后导出成绩数据（mpde-） */
.mpde-root {
    margin-top: 8px;
}

.mpde-empty {
    margin-top: 12px;
}

.mpde-card {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e3d9ce;
    border-top: 4px solid #b18659;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(45, 32, 22, 0.06);
    overflow: hidden;
}

.mpde-card-head {
    padding: 14px 20px;
    background: linear-gradient(90deg, #b18659 0%, #c49a6c 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}

.mpde-card-body {
    padding: 22px 24px 26px;
}

.mpde-subtitle {
    margin: 0 0 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #4a3f36;
}

.mpde-subtitle-note {
    margin-left: 6px;
    font-size: 0.86rem;
    font-weight: 400;
    color: #9a9a9a;
}

.mpde-format-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

@media (max-width: 640px) {
    .mpde-format-grid {
        grid-template-columns: 1fr;
    }
}

.mpde-format-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 16px;
    border: 2px solid #e3d9ce;
    border-radius: 10px;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mpde-format-card:hover {
    border-color: #dfc4ae;
    background: #fff;
}

.mpde-format-card--active {
    border-color: #b18659;
    background: #fff6ea;
    box-shadow: 0 0 0 1px rgba(177, 134, 89, 0.15);
}

.mpde-format-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.mpde-format-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #b18659;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.mpde-format-ico--pdf {
    background: #fdecea;
    color: #b42318;
}

.mpde-format-ico--doc {
    background: #8b633f;
}

.mpde-format-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2a1f18;
}

.mpde-format-desc {
    font-size: 0.82rem;
    color: #667070;
    line-height: 1.45;
}

.mpde-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    margin-bottom: 22px;
    padding-top: 4px;
}

@media (max-width: 640px) {
    .mpde-checks {
        grid-template-columns: 1fr;
    }
}

.mpde-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #667070;
    cursor: pointer;
}

.mpde-check input {
    width: 18px;
    height: 18px;
    accent-color: #b18659;
}

.mpde-check-hint {
    margin: 6px 0 0 28px;
    font-size: 0.78rem;
    color: #a89888;
    line-height: 1.45;
}

.mpde-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #b18659 0%, #c49a6c 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(177, 134, 89, 0.35);
}

.mpde-submit:hover {
    filter: brightness(1.05);
}

.mpde-submit-ico {
    font-size: 1.1rem;
    line-height: 1;
}

/* 运动会列表 — 创建新运动会（mct-） */
.meets-page--create-only {
    max-width: 960px;
    background: #faf6f1;
    margin: -12px auto 0;
    padding: 16px 20px 28px;
    border-radius: 12px;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .meets-page--create-only {
        padding: 20px 24px 32px;
    }
}

.mct-create-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.mct-toolbar {
    margin-bottom: 18px;
}

.mct-card {
    background: #fff;
    border: 1px solid #e3d9ce;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(45, 32, 22, 0.06);
    overflow: hidden;
}

.mct-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e3d9ce;
}

.mct-card-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mct-card-head-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff6ea;
    color: #b18659;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.mct-card-head-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2a1f18;
}

.mct-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: #667070;
    background: #faf7f2;
    border: 1px solid #e3d9ce;
    border-radius: 8px;
    text-decoration: none;
}

.mct-back-btn:hover {
    background: #faf6f1;
    color: #3d342f;
}

.mct-back-ico {
    font-size: 0.95rem;
    line-height: 1;
}

.mct-card-body {
    padding: 22px 22px 24px;
}

.mct-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

@media (max-width: 640px) {
    .mct-form-grid {
        grid-template-columns: 1fr;
    }
}

.mct-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.mct-field--full {
    grid-column: 1 / -1;
}

.mct-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #667070;
}

.mct-req {
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
}

.mct-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #d4c4b6;
    border-radius: 8px;
    background: #fff;
    color: #2a1f18;
    box-sizing: border-box;
}

.mct-input:focus {
    outline: none;
    border-color: #b18659;
    box-shadow: 0 0 0 3px rgba(177, 134, 89, 0.15);
}

.mct-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 26px;
    padding-top: 4px;
}

.mct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.mct-btn-ico {
    font-size: 1rem;
    line-height: 1;
}

.mct-btn--ghost {
    background: #fff;
    color: #667070;
    border: 1px solid #d4c4b6;
}

.mct-btn--ghost:hover {
    background: #faf7f2;
}

.mct-btn--primary {
    background: linear-gradient(90deg, #b18659 0%, #c49a6c 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(177, 134, 89, 0.3);
}

.mct-btn--primary:hover {
    filter: brightness(1.05);
}

/* 运动会列表 — 复制运动会（mcp-） */
.meets-page--copy-only {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.mcp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    font-size: 13px;
    color: #667070;
}

.mcp-breadcrumb a {
    color: #667070;
    text-decoration: none;
}

.mcp-breadcrumb a:hover {
    color: #2A847C;
    text-decoration: underline;
}

.mcp-breadcrumb-sep {
    color: #98a2b3;
}

.mcp-breadcrumb-current {
    color: #2B2B2B;
    font-weight: 600;
}

.mcp-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcp-source-card,
.mcp-form-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d6e4ff;
}

.mcp-source-card {
    background: #eef4ff;
    border-color: #A8D5CF;
}

.mcp-form-card {
    background: #fff;
    border-color: #ece4da;
    box-shadow: 0 2px 8px rgba(45, 32, 22, 0.04);
}

.mcp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(145, 202, 255, 0.45);
}

.mcp-form-card .mcp-card-head {
    border-bottom-color: #ece4da;
}

.mcp-card-head-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2A847C;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.mcp-card-head-ic--form {
    background: #fff6ea;
    color: #b18659;
    border-radius: 6px;
    width: auto;
    height: auto;
    padding: 2px 4px;
    font-size: 16px;
}

.mcp-card-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2B2B2B;
}

.mcp-source-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
    padding: 16px 18px 18px;
}

@media (max-width: 720px) {
    .mcp-source-grid {
        grid-template-columns: 1fr;
    }
}

.mcp-kv-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcp-kv-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 8px 12px;
    align-items: start;
    font-size: 14px;
    line-height: 1.5;
}

.mcp-kv-label {
    color: #667070;
}

.mcp-kv-value {
    color: #2B2B2B;
    font-weight: 600;
}

.mcp-form-body {
    padding: 18px 18px 20px;
}

.mcp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

@media (max-width: 640px) {
    .mcp-form-grid {
        grid-template-columns: 1fr;
    }
}

.mcp-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.mcp-field--full {
    grid-column: 1 / -1;
}

.mcp-label {
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
}

.mcp-req {
    color: #f5222d;
    text-decoration: none;
    font-weight: 700;
}

.mcp-input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    color: #2B2B2B;
    box-sizing: border-box;
}

.mcp-input:focus {
    outline: none;
    border-color: #2A847C;
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.12);
}

.mcp-notice {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #e6fffb;
    border: 1px solid #87e8de;
    color: #135200;
}

.mcp-notice-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #08979c;
}

.mcp-notice-list {
    margin: 0 0 10px;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.7;
    color: #237804;
}

.mcp-notice-foot {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #08979c;
}

.mcp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.mcp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #667070;
    text-decoration: none;
}

.mcp-back-link:hover {
    color: #2A847C;
}

.mcp-confirm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 6px;
    background: #2A847C;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 2px 6px rgba(22, 119, 255, 0.25);
}

.mcp-confirm-btn:hover {
    background: #35988F;
}

.mcp-confirm-ic {
    font-size: 15px;
    line-height: 1;
}

/* 全局高可读性优化（户外强光场景）：保留暖色，提升对比度 */
:root {
    --gb-bg-page: #f6efe6;
    --gb-bg-subtle: #efe2d2;
    --gb-border: #cfae8d;
    --gb-border-soft: #d9c0a5;
    --gb-border-input: #ba936f;
    --gb-text: #2f241b;
    --gb-text-strong: #22170f;
    --gb-text-muted: #5f4a39;
    --gb-accent: #9f6d3f;
    --gb-accent-dark: #7f5128;
    --gb-accent-ink: #5f3b1f;
    --gb-accent-soft: #f4ddbf;
    --gb-accent-softer: #f8ebd7;
    --gb-link: #6b4325;
}

body {
    color: var(--gb-text);
    background: var(--gb-bg-page);
}

.card,
.auth-card,
.table-card,
.gb-admin-strip,
.gb-sb-panel,
.mct-card {
    border-color: var(--gb-border-soft) !important;
}

.gb-admin-main,
.gb-admin-content,
.gb-admin-inner,
.meets-page--create-only {
    background: var(--gb-bg-page);
}

.gb-group-table th,
.table-card thead th,
.mr-rules-form .mr-sessions-table th {
    color: var(--gb-accent-ink);
    background: linear-gradient(180deg, #f8ebd7 0%, #f0d5b1 100%);
    border-bottom-color: #cfae8d;
}

.btn-primary,
.team-login-submit,
.mct-btn--primary,
.mpde-submit {
    background: linear-gradient(135deg, #b27a45 0%, #8a582e 100%);
    border: 1px solid rgba(76, 45, 23, 0.38);
}

.btn-secondary {
    color: #5d3a1f;
    background: #f2dcc2;
    border: 1px solid #c79f79;
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="time"],
input[type="date"],
select,
textarea,
.mct-input {
    border-color: var(--gb-border-input);
    color: var(--gb-text-strong);
    background: #fffdf9;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus,
.mct-input:focus {
    border-color: var(--gb-accent);
    box-shadow: 0 0 0 3px rgba(159, 109, 63, 0.24);
}

.nav a.active,
.nav a:hover,
.topbar-public-nav > a:hover,
.topbar-public-nav > a.is-active {
    background: #f4ddbf;
    color: #6a3f1f;
}

/* 全局主题：薄荷青绿 */
:root {
    --gb-shell-header-h: 60px;
    --gb-bg-page: #F8FAFA;
    --gb-bg-subtle: #F4F7F7;
    --gb-bg-card: #FFFFFF;
    --gb-border: #E2E8E8;
    --gb-border-soft: #E2E8E8;
    --gb-border-input: #D0DADA;
    --gb-text: #2B2B2B;
    --gb-text-strong: #2B2B2B;
    --gb-text-muted: #667070;
    --gb-accent: #2A847C;
    --gb-accent-dark: #1F655E;
    --gb-accent-ink: #1A544E;
    --gb-accent-soft: #E6F6F4;
    --gb-accent-softer: #F4F7F7;
    --gb-link: #2A847C;
    --gb-cta-orange: #F2994A;
    --gb-success: #52B788;
    --gb-warning: #F2994A;
    --gb-danger: #E55949;
    --gb-aux: #84A98C;
    --gb-shadow: rgba(43, 43, 43, 0.06);
}

body,
.gb-admin-main,
.gb-admin-content,
.gb-admin-inner,
.meets-page--create-only {
    color: var(--gb-text);
    background: var(--gb-bg-page);
}

.card,
.auth-card,
.table-card,
.gb-sb-panel,
.mct-card {
    border-color: var(--gb-border-soft) !important;
    background: #fff;
}

.gb-group-table th,
.table-card thead th,
.mr-rules-form .mr-sessions-table th {
    color: var(--gb-text-strong);
    background: #F4F7F7;
    border-bottom-color: #E2E8E8;
}

.table-card .pm-arr-track-board-table thead th {
    color: #2B2B2B !important;
    background: #F8FAFA !important;
    border-bottom: 1px solid #e4e7ec !important;
    box-shadow: none !important;
}

.btn-primary,
.team-login-submit,
.mct-btn--primary,
.mpde-submit {
    color: #fff;
    background: var(--gb-accent);
    border: 1px solid var(--gb-accent-dark);
    box-shadow: 0 1px 2px rgba(43, 43, 43, 0.08);
}

.btn-primary:hover,
.team-login-submit:hover,
.mct-btn--primary:hover,
.mpde-submit:hover {
    background: var(--gb-accent-dark);
    filter: none;
}

.btn-success {
    color: #fff;
    background: #52B788;
    border: 1px solid rgba(27, 94, 32, 0.45);
    box-shadow: 0 2px 6px rgba(27, 94, 32, 0.26);
}

.btn-success:hover {
    background: #3D9B6E;
    filter: none;
}

.btn-secondary {
    color: var(--gb-accent);
    background: #fff;
    border: 1.5px solid var(--gb-accent);
}

input[type="text"],
input[type="number"],
input[type="password"],
input[type="time"],
input[type="date"],
select,
textarea,
.mct-input {
    border-color: var(--gb-border-input);
    color: var(--gb-text-strong);
    background: #ffffff;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="time"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus,
.mct-input:focus {
    border-color: var(--gb-accent);
    box-shadow: 0 0 0 3px rgba(56, 168, 157, 0.18);
}

.nav a.active,
.nav a:hover,
.topbar-public-nav > a:hover,
.topbar-public-nav > a.is-active {
    background: var(--gb-accent-soft);
    color: var(--gb-accent-dark);
}

.gb-admin-app {
    background: #F8FAFA;
}

.gb-admin-main {
    background: #F8FAFA;
}

.gb-admin-strip {
    background: #F8FAFA;
    border-bottom-color: #D9E4E2;
    min-height: var(--gb-shell-header-h);
    padding-top: 0;
    padding-bottom: 0;
}

.gb-admin-strip-title {
    color: var(--gb-text-strong);
    font-size: 17px;
}

.page-admin-shell .gb-sb-brand {
    min-height: var(--gb-shell-header-h);
}

.page-admin-shell .gb-admin-strip {
    min-height: var(--gb-shell-header-h);
    align-items: center;
}

.topbar-shell-actions > a {
    color: var(--gb-text-muted);
}

.topbar-shell-actions > a:hover {
    color: var(--gb-accent);
    background: var(--gb-accent-soft);
}

.topbar-shell-user {
    color: var(--gb-text-muted);
}

.nav-btn--shell {
    color: var(--gb-text-muted);
    border: 1px solid var(--gb-border);
    background: #fff;
    border-radius: 10px;
}

.nav-btn--shell:hover {
    color: var(--gb-accent);
    border-color: var(--gb-accent);
    background: var(--gb-accent-soft);
}

.gb-admin-sidebar {
    background: #F8FAFA;
    border-right: 1px solid #D9E4E2;
}

.gb-sb-details > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
    box-shadow: 0 2px 6px rgba(56, 168, 157, 0.22);
}

/* 蓝色主题：侧栏与流程菜单 */
.gb-sb-brand {
    background: #F8FAFA;
}

.gb-sb-brand::after {
    background: #D9E4E2;
}

.gb-sb-brand-mark {
    background: transparent;
}

.gb-sb-brand-title {
    font-size: 17px;
    font-weight: 700;
    color: #000;
    line-height: 1.35;
}

.gb-sb-home {
    font-weight: 700;
    color: var(--gb-text-strong);
}

.gb-sb-home .gb-sb-ico {
    color: var(--gb-accent);
}

.gb-sb-home:hover,
.gb-sb-item:hover,
.gb-sb-item.is-active,
.gb-sb-foot-link:hover {
    color: var(--gb-accent-dark);
}

.gb-sb-tagline,
.gb-sb-item-sub,
.gb-guide-muted,
.gb-muted {
    color: var(--gb-text-muted);
}

.gb-sb-home.is-active {
    background: var(--gb-accent);
    color: #fff;
    box-shadow: 0 1px 4px rgba(56, 168, 157, 0.22);
}

.gb-sb-home.is-active .gb-sb-ico {
    color: #fff;
}

.gb-sb-panel,
.gb-sb-panel--post-stats {
    background: #fcfcfd;
    border-color: var(--gb-border);
}

.gb-sb-item:hover {
    background: var(--gb-accent-softer);
}

.gb-sb-item.is-active {
    background: var(--gb-accent-soft);
    box-shadow: inset 3px 0 0 var(--gb-accent);
}

.gb-sb-item--iconic:hover .gb-sb-item-title,
.gb-sb-item--iconic.is-active .gb-sb-item-title,
.gb-sb-item--pre:hover .gb-sb-item-title,
.gb-sb-item--pre.is-active .gb-sb-item-title {
    color: var(--gb-accent);
}

.gb-sb-item-ord {
    color: var(--gb-accent-dark);
    background: var(--gb-accent-soft);
}

.gb-sb-item--pre:hover .gb-sb-item-ord,
.gb-sb-item--pre.is-active .gb-sb-item-ord {
    background: var(--gb-accent);
    color: #fff;
}

.gb-sb-details--post-stats > .gb-sb-sum,
.gb-sb-nav .gb-sb-details:nth-of-type(1) > .gb-sb-sum,
.gb-sb-nav .gb-sb-details:nth-of-type(2) > .gb-sb-sum,
.gb-sb-nav .gb-sb-details:nth-of-type(3) > .gb-sb-sum {
    background: linear-gradient(180deg, #35988F 0%, #2A847C 100%);
}

.gb-sb-item--poststat:hover .gb-sb-post-ico,
.gb-sb-item--poststat.is-active .gb-sb-post-ico {
    color: var(--gb-accent);
}

.gb-sb-item--poststat.is-active {
    box-shadow: inset 3px 0 0 var(--gb-accent);
}

/* 侧栏子项选中/悬停：与分组头深蓝 #2A847C 一致（仅 .gb-admin-sidebar 内） */
.gb-admin-sidebar .gb-sb-item:hover {
    background: #F4F7F7;
    color: #2A847C;
}

.gb-admin-sidebar .gb-sb-item.is-active {
    background: #F4F7F7;
    color: #2A847C;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #2A847C;
}

.gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-sub {
    color: #5C8F88;
}

.gb-admin-sidebar .gb-sb-item--iconic:hover .gb-sb-item-title,
.gb-admin-sidebar .gb-sb-item--iconic.is-active .gb-sb-item-title,
.gb-admin-sidebar .gb-sb-item--pre:hover .gb-sb-item-title,
.gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-title {
    color: #2A847C;
}

.gb-admin-sidebar .gb-sb-item--pre:hover .gb-sb-item-ord,
.gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-ord {
    background: #2A847C;
    color: #fff;
}

.gb-admin-sidebar .gb-sb-item--poststat:hover .gb-sb-item-title,
.gb-admin-sidebar .gb-sb-item--poststat.is-active .gb-sb-item-title {
    color: #2A847C;
}

.gb-admin-sidebar .gb-sb-item--poststat:hover .gb-sb-post-ico,
.gb-admin-sidebar .gb-sb-item--poststat.is-active .gb-sb-post-ico {
    color: #2A847C;
}

.gb-admin-sidebar .gb-sb-item--poststat.is-active {
    box-shadow: inset 3px 0 0 #2A847C;
}

.gb-sb-foot {
    background: var(--gb-accent-softer);
    border-top-color: var(--gb-border);
}

.gb-sb-foot-ico {
    background: var(--gb-accent-soft);
    color: var(--gb-accent);
}

.gb-sb-expand-fab {
    border-color: var(--gb-accent);
    background: var(--gb-accent-dark);
    box-shadow: 2px 0 8px rgba(56, 168, 157, 0.25);
}

.gb-active-meet-banner {
    background: linear-gradient(90deg, #f0f9f8 0%, var(--gb-accent-soft) 100%);
    border-color: #D0DADA;
    color: var(--gb-accent-ink);
}

.gb-active-meet-banner strong,
.mr-current-meet,
.mr-current-meet strong {
    color: var(--gb-accent-dark);
}

.mr-rules-form .mr-card,
.mr-rules-form .table-card {
    border-color: var(--gb-border);
}

.mr-badge,
.mrb-tag {
    background: var(--gb-accent-soft);
    color: var(--gb-accent-dark);
    border-color: #D0DADA;
}

/* 系统首页模块卡片：与官网配色一致 */
.page-admin-shell .sys-home-card {
    border-color: var(--gb-border);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
}

.page-admin-shell .sys-home-card--track::before {
    background: linear-gradient(90deg, var(--gb-accent) 0%, #43a047 100%);
}

.page-admin-shell .sys-home-card--ball::before {
    background: linear-gradient(90deg, var(--gb-cta-orange) 0%, #ff8a50 100%);
}

.page-admin-shell .sys-home-card--racket::before {
    background: linear-gradient(90deg, var(--gb-accent-dark) 0%, var(--gb-accent) 100%);
}

.page-admin-shell .sys-home-card--health::before {
    background: #8A9696;
}

.page-admin-shell .sys-home-card-title {
    color: #2B2B2B;
    font-size: 18px;
    font-weight: 700;
}

.page-admin-shell .sys-home-card-desc {
    color: #2B2B2B;
    font-size: 16px;
    line-height: 1.7;
}

.page-admin-shell .sys-home-card--disabled .sys-home-card-desc {
    color: #2B2B2B;
    opacity: 1;
}

.page-admin-shell .sys-home-contact {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.page-admin-shell .sys-home-card--track .sys-home-use-btn.btn-primary,
.gb-admin-app .sys-home-card--track .sys-home-use-btn.btn.btn-primary,
a.sys-home-card--track:hover .sys-home-use-btn.btn-primary,
a.sys-home-card--track:focus-visible .sys-home-use-btn.btn-primary {
    color: #fff !important;
    background: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    box-shadow: none !important;
    filter: none !important;
}

.page-admin-shell .sys-home-card--track .sys-home-use-btn.btn-primary:hover,
.gb-admin-app .sys-home-card--track .sys-home-use-btn.btn.btn-primary:hover,
.gb-admin-app .sys-home-card--track .sys-home-use-btn.btn.btn-primary:focus {
    color: #fff !important;
    background: #1F655E !important;
    border-color: #1F655E !important;
}

.page-admin-shell .sys-home-card--disabled .sys-home-use-btn.btn-secondary {
    color: var(--gb-accent);
    background: #fff;
    border: 1.5px solid var(--gb-accent);
}

.page-admin-shell .sys-home-soon-label {
    color: var(--gb-text-muted);
    background: var(--gb-accent-softer);
    border-color: #D0DADA;
}

.page-admin-shell .sys-home-contact {
    border-color: var(--gb-border);
    background: #fff;
}

.page-admin-shell .sys-home-contact-title {
    color: var(--gb-text-strong);
}

.page-admin-shell .sys-home-qr-box {
    border-color: var(--gb-border);
    background: var(--gb-accent-softer);
    color: var(--gb-text-muted);
}

.page-admin-shell .sys-home-qr-box--qq {
    color: #2B2B2B;
}

.page-admin-shell .sys-home-contact .sys-home-qr-cap,
.page-admin-shell .sys-home-qr-row .sys-home-qr-cap,
.page-admin-shell figcaption.sys-home-qr-cap {
    color: #2B2B2B;
    font-weight: 500;
    opacity: 1;
}

/* 系统首页：说明与二维码标签统一深色（避免禁用卡 opacity 冲淡） */
.sys-home-portal .sys-home-card .sys-home-card-desc,
.sys-home-portal .sys-home-contact .sys-home-qr-cap {
    color: #2B2B2B;
}

/* 集体项目底部按钮：与径赛/田赛「保存并进入下一步」同一套薄荷绿空心胶囊 */
#pm-arr-step1-collective-clear.btn,
#pm-arr-step1-collective-save.btn,
#pm-arr-step1-collective-next-btn.btn,
#pm-arr-step1-collective-clear.btn:hover,
#pm-arr-step1-collective-save.btn:hover,
#pm-arr-step1-collective-next-btn.btn:hover,
#pm-arr-step1-collective-clear.btn:active,
#pm-arr-step1-collective-save.btn:active,
#pm-arr-step1-collective-next-btn.btn:active,
#pm-arr-step1-collective-clear.btn:focus,
#pm-arr-step1-collective-save.btn:focus,
#pm-arr-step1-collective-next-btn.btn:focus,
#pm-arr-step1-collective-clear.btn:focus-visible,
#pm-arr-step1-collective-save.btn:focus-visible,
#pm-arr-step1-collective-next-btn.btn:focus-visible {
    background: #fff !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    color: #2A847C !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    text-shadow: none !important;
    filter: none !important;
}

#pm-arr-step1-collective-clear.btn:hover,
#pm-arr-step1-collective-save.btn:hover,
#pm-arr-step1-collective-next-btn.btn:hover {
    background: #f0f9f6 !important;
    border-color: #2A847C !important;
    color: #2A847C !important;
}

#pm-arr-step1-collective-clear.btn:active,
#pm-arr-step1-collective-save.btn:active,
#pm-arr-step1-collective-next-btn.btn:active {
    background: #e8f6f1 !important;
    border-color: #2A847C !important;
    color: #2A847C !important;
}

/* 强制覆盖：编辑分组工具栏三按钮去黑边 */
.gb-mg-events-toolbar #gb-mg-del-selected,
.gb-mg-events-toolbar #gb-mg-sort-selected,
.gb-mg-events-toolbar #gb-mg-add-row,
.gb-mg-events-toolbar #gb-mg-del-selected:hover,
.gb-mg-events-toolbar #gb-mg-sort-selected:hover,
.gb-mg-events-toolbar #gb-mg-add-row:hover,
.gb-mg-events-toolbar #gb-mg-del-selected:active,
.gb-mg-events-toolbar #gb-mg-sort-selected:active,
.gb-mg-events-toolbar #gb-mg-add-row:active,
.gb-mg-events-toolbar #gb-mg-del-selected:focus,
.gb-mg-events-toolbar #gb-mg-sort-selected:focus,
.gb-mg-events-toolbar #gb-mg-add-row:focus,
.gb-mg-events-toolbar #gb-mg-del-selected:focus-visible,
.gb-mg-events-toolbar #gb-mg-sort-selected:focus-visible,
.gb-mg-events-toolbar #gb-mg-add-row:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.gb-mg-events-toolbar #gb-mg-del-selected {
    border: 1px solid #f43f5e !important;
}

.gb-mg-events-toolbar #gb-mg-sort-selected {
    border: 1px solid #0891b2 !important;
}

.gb-mg-events-toolbar #gb-mg-add-row {
    border: 1px solid #16a34a !important;
}

/* 编辑分组页四个主按钮：补齐 hover/active 变色 */
#gb-mg-apply-batch:hover {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #fff !important;
}

#gb-mg-apply-batch:active {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-del-selected:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-del-selected:active {
    background: #be123c !important;
    border-color: #be123c !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-sort-selected:hover {
    background: #0891b2 !important;
    border-color: #0891b2 !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-sort-selected:active {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-add-row:hover {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
}

.gb-mg-events-toolbar #gb-mg-add-row:active {
    background: #15803d !important;
    border-color: #15803d !important;
    color: #fff !important;
}

/* 成绩录入弹窗 · 底部操作按钮 */
.trk-modal-footer {
    flex-direction: column;
    align-items: stretch;
}

.trk-modal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.trk-modal-btn-save-rank,
.trk-modal-btn-reset-score,
.trk-modal-btn-clear-all {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.trk-modal-btn-save-rank {
    background: #16a34a;
    color: #fff;
    font-weight: 700;
}

.trk-modal-btn-save-rank:hover {
    background: #15803d;
    color: #fff;
}

.trk-modal-btn-reset-score {
    background: #6b7280;
    color: #fff;
    font-weight: 600;
}

.trk-modal-btn-reset-score:hover {
    background: #4b5563;
    color: #fff;
}

.trk-modal-btn-clear-all {
    background: #dc2626;
    color: #fff;
    font-weight: 600;
}

.trk-modal-btn-clear-all:hover {
    background: #b91c1c;
    color: #fff;
}

.trk-modal-footer-legend {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f0f9ff;
    border: 1px solid #E6F6F4;
    font-size: 12px;
    line-height: 1.35;
    color: #2B2B2B;
}

.trk-modal-legend-title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 12px;
    color: #1F655E;
}

.trk-modal-legend-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0 20px;
    align-items: start;
}

.trk-modal-legend-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.trk-modal-legend-col p {
    margin: 0;
}

@media (max-width: 720px) {
    .trk-modal-legend-grid {
        grid-template-columns: 1fr;
    }
}

/* 排名处理页 */
.mrrp-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.mrrp-header {
    background: linear-gradient(90deg, #2A847C, #2A847C);
    color: #fff;
    padding: 16px 20px;
}

.mrrp-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.mrrp-progress-wrap {
    padding: 18px 20px 8px;
}

.mrrp-progress-label {
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F655E;
}

.mrrp-progress-bar {
    position: relative;
    height: 28px;
    border-radius: 6px;
    background: #e5e7eb;
    overflow: hidden;
}

.mrrp-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2A847C, #2A847C);
    transition: width 0.45s ease;
}

.mrrp-progress-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.mrrp-steps {
    list-style: none;
    margin: 0;
    padding: 12px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mrrp-step {
    border: 1px solid #E6F6F4;
    border-left: 4px solid #A8D5CF;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
    color: #667070;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.mrrp-step.is-done {
    background: #eff6ff;
    color: #1F655E;
    border-left-color: #2A847C;
    font-weight: 600;
}

.mrrp-success {
    margin: 0 20px 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #F4F7F7;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #16a34a;
    color: #166534;
}

.mrrp-success.is-hidden {
    display: none;
}

.mrrp-success p {
    margin: 6px 0 0;
}

/* 成绩公告（排名成绩单） */
.mras-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 12px 16px 24px;
    font-family: "SimSun", "Songti SC", "STSong", "宋体", serif;
    color: #111;
}

.mras-shell--embed,
.mras-embed-shell {
    max-width: none;
    margin: 0;
    padding: 0 16px 16px;
}

.mras-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 16px;
    margin-top: 20px;
    margin-bottom: 14px;
}

.mras-toolbar-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.mras-print-btn,
a.mras-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 6px;
    height: 34px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #2A847C;
    border-radius: 6px;
    background: #2A847C;
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

.mras-print-btn:hover,
a.mras-save-btn:hover {
    background: #1F655E;
    color: #fff;
}

.mras-print-tip {
    flex: 1 1 280px;
    max-width: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff1f2;
    border: 1px solid #fda4af;
    color: #be123c;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.mras-doc {
    background: #fff;
}

.mras-header {
    text-align: center;
    margin-top: 14px;
    margin-bottom: 10px;
}

.mras-meet-name {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.mras-doc-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 900;
}

.mras-round-line {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
}

.mras-meta-right {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    white-space: nowrap;
}

.mras-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 6px 0 8px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    font-size: 0.92rem;
    font-weight: 600;
}

.mras-event-line {
    text-align: left;
    padding-left: 22px;
}

.mras-datetime {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    padding-right: 18px;
}

.mras-table-wrap {
    margin-top: 0;
}

.mras-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.mras-table thead th {
    padding: 8px 6px;
    border-bottom: 1px solid #111;
    font-weight: 700;
    text-align: center;
    color: #000;
}

.mras-table thead th:first-child {
    text-align: left;
    padding-left: 22px;
}

.mras-table thead th:last-child {
    text-align: right;
    padding-right: 18px;
}

.mras-table tbody td {
    padding: 10px 6px;
    text-align: center;
    vertical-align: middle;
}

.mras-table tbody tr + tr td {
    border-top: 1px solid #d1d5db;
}

.mras-table tbody tr:last-child td {
    border-bottom: 1px solid #111;
}

.mras-td-rank {
    font-weight: 700;
    text-align: left;
    padding-left: 22px;
}

.mras-rank-inner {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.mras-rank-num {
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.mras-rank-star {
    flex: 0 0 1.15em;
    width: 1.15em;
    text-align: center;
    font-size: 0.82em;
    line-height: 1;
}

.mras-td-unit {
    white-space: nowrap;
}

.mras-strike {
    text-decoration: line-through;
    color: #6b7280;
}

.mras-empty {
    padding: 24px 8px !important;
    color: #6b7280;
}

.mras-footer {
    margin-top: 28px;
    padding-top: 12px;
    border-top: 1px solid #111;
}

.mras-sign-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.92rem;
}

.mras-sign-line {
    flex: 0 0 auto;
    white-space: nowrap;
}

.mras-sign-line--left {
    text-align: left;
    margin-left: 72px;
}

.mras-sign-line--right {
    text-align: right;
    margin-left: auto;
    margin-right: 72px;
}

.mras-brand {
    margin: 18px 0 0;
    text-align: right;
    font-size: 0.72rem;
    color: #6b7280;
}

body.mras-sheet-embed footer.footer,
body.mras-sheet-embed .topbar,
body.mras-sheet-embed .gb-admin-sidebar,
body.mras-sheet-embed .gb-admin-strip {
    display: none !important;
}

body.mras-sheet-embed main.page {
    padding: 0 !important;
    max-width: none !important;
}

body.mras-sheet-embed .gb-admin-content,
body.mras-sheet-embed .gb-admin-inner--results-ranking {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 0;
    }

    .mras-no-print,
    body.page-mrrs-ranking-sheet .gb-admin-topnav,
    body.page-mrrs-ranking-sheet .wf-guide-rail,
    body.page-mrrs-ranking-sheet .gb-admin-sidebar,
    body.page-mrrs-ranking-sheet .gb-admin-strip,
    body.page-mrrs-ranking-sheet .gb-sb-expand-fab,
    body.page-mrrs-ranking-sheet .topbar,
    body.page-mrrs-ranking-sheet footer,
    body.mras-sheet-embed .gb-admin-topnav,
    body.mras-sheet-embed .wf-guide-rail,
    body.mras-sheet-embed .gb-admin-sidebar,
    body.mras-sheet-embed .gb-admin-strip,
    body.mras-sheet-embed .topbar,
    body.mras-sheet-embed footer {
        display: none !important;
    }

    body.page-mrrs-ranking-sheet,
    body.page-mrrs-ranking-sheet .page,
    body.page-admin-shell.admin-shell-has-topnav,
    body.page-admin-shell.admin-shell-has-topnav .page {
        height: auto !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.page-mrrs-ranking-sheet .gb-admin-app,
    body.mras-sheet-embed .gb-admin-app {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        background: #fff !important;
        grid-template-columns: 1fr !important;
    }

    body.page-mrrs-ranking-sheet .gb-admin-main,
    body.mras-sheet-embed .gb-admin-main {
        display: block !important;
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: visible !important;
        background: #fff !important;
    }

    body.page-mrrs-ranking-sheet .gb-admin-content,
    body.page-mrrs-ranking-sheet .gb-admin-inner--results-ranking,
    body.mras-sheet-embed .gb-admin-content,
    body.mras-sheet-embed main.page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .mras-shell {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .mras-doc {
        width: 100%;
        box-sizing: border-box;
        padding: 14mm 12mm 16mm;
    }

    .mras-footer {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* 总分排名 · 分组积分排名统计表 */
.mrank-root {
    max-width: none;
    margin: 0;
    width: 100%;
}

.mrank-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 18px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: linear-gradient(90deg, #1e3a5f 0%, #2c4a6e 45%, #2B2B2B 100%);
    color: #F8FAFA;
    box-shadow: 0 4px 14px rgba(43, 43, 43, 0.2);
}

.mrank-toolbar-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mrank-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mrank-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #F4F7F7;
    background: transparent;
    border: 1px solid rgba(248, 250, 252, 0.55);
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.mrank-toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.mrank-empty {
    margin-top: 12px;
}

.mrank-options {
    margin-bottom: 14px;
    padding: 12px 16px;
}

.mrank-cross-form {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mrank-cross-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
    cursor: pointer;
}

.mrank-cross-help {
    position: relative;
    display: inline-block;
}

.mrank-cross-help > summary {
    list-style: none;
    cursor: pointer;
}

.mrank-cross-help > summary::-webkit-details-marker {
    display: none;
}

.mrank-cross-help-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid #C5DDD4;
    border-radius: 999px;
    background: #fff;
    color: #667070;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.mrank-cross-help-q:hover,
.mrank-cross-help[open] .mrank-cross-help-q {
    border-color: #2A847C;
    color: #2A847C;
}

.mrank-cross-help-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: min(320px, 72vw);
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #E6E8EA;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(43, 43, 43, 0.1);
    z-index: 80;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #4a5555;
}

.tex-hint {
    margin: 12px 0;
    padding: 10px 14px;
    background: #eef5ff;
    border: 1px solid #d6e4f5;
    border-radius: 8px;
    color: #3d4d63;
    font-size: 13px;
    line-height: 1.55;
}

.tex-table-wrap {
    overflow-x: auto;
    background: #fff;
}

.tex-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #2b2b2b;
}

.tex-table th,
.tex-table td {
    border: 1px solid #e6e8ea;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
}

.tex-table thead th {
    background: #f7f8fa;
    font-weight: 600;
    white-space: nowrap;
}

.tex-th-grade,
.tex-grade {
    width: 72px;
    background: #fafbfc;
    font-weight: 600;
}

.tex-gap td {
    height: 18px;
    padding: 0;
    border: 0;
    background: #eef1f4;
}

.tex-th-unit,
.tex-unit {
    text-align: left;
    min-width: 120px;
    white-space: nowrap;
}

.tex-num,
.tex-note {
    width: 88px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d7dde3;
    border-radius: 4px;
    text-align: center;
    font: inherit;
    color: #2b2b2b;
    background: #fff;
}

.tex-note {
    width: 140px;
    text-align: left;
}

.tex-note::placeholder {
    color: #b0b7c0;
}

.tex-sum {
    min-width: 72px;
    background: #fff8e8;
    font-weight: 700;
    color: #8a5a12;
}

.tex-save-row {
    display: flex;
    justify-content: center;
    margin: 22px 0 8px;
}

.tex-save {
    min-width: 168px;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: #1f3f73;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.tex-save:hover {
    background: #18325c;
}

.mrank-block {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.mrank-block.card .mrank-table-wrap.table-card {
    padding: 0;
    margin: 0;
}

.mrank-block-title {
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    color: #2B2B2B;
    background: linear-gradient(180deg, #F8FAFA, #F4F7F7);
    border-bottom: 1px solid #E2E8E8;
}

.mrank-table-wrap {
    overflow-x: auto;
    padding: 0;
}

.mrank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
}

.mrank-table th,
.mrank-table td {
    border: 1px solid #D0DADA;
    padding: 8px 6px;
    text-align: center;
    vertical-align: middle;
}

.mrank-table thead th {
    background: #E2E8E8;
    font-weight: 800;
    color: #2B2B2B;
}

.mrank-th-dist {
    text-align: center;
}

.mrank-th-sub {
    font-size: 12px;
    font-weight: 700;
}

.mrank-td-rank {
    font-weight: 800;
    width: 48px;
}

.mrank-td-total {
    font-weight: 800;
    min-width: 56px;
    background: #fffbeb;
    color: #92400e;
}

.mrank-td-unit {
    text-align: left;
    padding-left: 10px;
    min-width: 120px;
}

.mrank-tr--alt td {
    background: #F8FAFA;
}

.mrank-tr--alt .mrank-td-total {
    background: #fef3c7;
}

.mrank-legend {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #667070;
}

.mrank-legend ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

@media print {
    body.page-rankings-group-points .gb-admin-sidebar,
    body.page-rankings-group-points .gb-admin-strip,
    body.page-rankings-group-points .mrank-toolbar-actions,
    body.page-rankings-group-points .mrank-options,
    body.page-rankings-group-points .mrank-legend {
        display: none !important;
    }

    body.page-rankings-group-points .gb-admin-app {
        display: block !important;
    }

    body.page-rankings-group-points .gb-admin-main {
        min-height: 0 !important;
        background: #fff !important;
    }

    body.page-rankings-group-points .gb-admin-content,
    body.page-rankings-group-points .gb-admin-inner--rankings-group-points {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-rankings-group-points .mrank-toolbar {
        background: #fff !important;
        color: #2B2B2B !important;
        box-shadow: none !important;
        border-bottom: 1px solid #D0DADA;
        border-radius: 0;
        page-break-after: avoid;
    }

    body.page-rankings-group-points .mrank-root {
        max-width: 100%;
        padding: 6mm 8mm;
    }

    body.page-rankings-group-points .mrank-block.card {
        box-shadow: none !important;
        border: none !important;
        page-break-inside: avoid;
    }

    body.page-rankings-group-points .mrank-table thead th,
    body.page-rankings-group-points .mrank-td-total {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.page-mrps-result-summary .gb-admin-sidebar,
    body.page-mrps-result-summary .gb-admin-strip {
        display: none !important;
    }

    body.page-mrps-result-summary .gb-admin-app {
        display: block !important;
    }

    body.page-mrps-result-summary .gb-admin-main {
        min-height: 0 !important;
        background: #fff !important;
    }

    body.page-mrps-result-summary .gb-admin-content,
    body.page-mrps-result-summary .gb-admin-inner--mrps-result-summary {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-mrps-result-summary .mrps-shell {
        margin-top: 0;
        padding: 4mm 6mm 8mm;
    }

    body.page-mrps-result-summary .mrps-topbar {
        page-break-after: avoid;
    }

    body.page-mrps-result-summary .mrps-block.card {
        box-shadow: none !important;
        border: none !important;
        page-break-inside: avoid;
    }

    body.page-mrps-result-summary .mrps-table thead th,
    body.page-mrps-result-summary .mrps-row--male .mrps-td-event,
    body.page-mrps-result-summary .mrps-row--male .mrps-td-gender,
    body.page-mrps-result-summary .mrps-row--female .mrps-td-event,
    body.page-mrps-result-summary .mrps-row--female .mrps-td-gender,
    body.page-mrps-result-summary .mrps-row--mixed .mrps-td-event,
    body.page-mrps-result-summary .mrps-row--mixed .mrps-td-gender {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media print {
    body.page-certificates .gb-admin-sidebar,
    body.page-certificates .gb-sb-expand-fab,
    body.page-certificates .gb-admin-strip,
    body.page-certificates .section-title,
    body.page-certificates .action-row,
    body.page-certificates .notice,
    body.page-certificates .flash {
        display: none !important;
    }

    body.page-certificates .gb-admin-app {
        display: block !important;
    }

    body.page-certificates .gb-admin-main {
        min-height: 0 !important;
        background: #fff !important;
    }

    body.page-certificates .gb-admin-content,
    body.page-certificates .gb-admin-inner--certificates {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-certificates .certificate-card {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        box-shadow: none !important;
        border-style: solid !important;
        page-break-after: always;
        break-after: page;
        page-break-inside: avoid;
        break-inside: avoid;
        min-height: 0;
        margin: 0;
        padding: 18mm 16mm;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.page-certificates .certificate-card:last-child {
        page-break-after: auto;
        break-after: auto;
    }

    body.page-certificates .certificate-card .certificate-title,
    body.page-certificates .certificate-card .certificate-text,
    body.page-certificates .certificate-card .certificate-footer {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body.page-certificates .certificates-page--land .certificate-card--land {
        min-height: auto;
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

/* 运动会后台各栏目输入框：图2蓝边，去掉焦点光晕气泡 */
.page-admin-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="image"]):not([type="reset"]):not([type="range"]):not([type="color"]),
.page-admin-shell select,
.page-admin-shell textarea,
.page-admin-shell .input,
.page-admin-shell .mct-input,
.page-admin-shell .gb-units-table .input,
.page-admin-shell .gb-units-quick-row .input,
.page-admin-shell .gb-units-modal-table .input,
.page-admin-shell .gb-inline-sort-input {
    border: 1px solid #C5DDD4 !important;
    background: #fff !important;
    color: #2B2B2B !important;
    box-shadow: none !important;
    outline: none !important;
    caret-color: #2A847C;
}

.page-admin-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="image"]):not([type="reset"]):not([type="range"]):not([type="color"]):focus,
.page-admin-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="file"]):not([type="image"]):not([type="reset"]):not([type="range"]):not([type="color"]):focus-visible,
.page-admin-shell select:focus,
.page-admin-shell select:focus-visible,
.page-admin-shell textarea:focus,
.page-admin-shell textarea:focus-visible,
.page-admin-shell .input:focus,
.page-admin-shell .input:focus-visible,
.page-admin-shell .mct-input:focus,
.page-admin-shell .mct-input:focus-visible,
.page-admin-shell .gb-units-quick-row .input:focus,
.page-admin-shell .gb-units-quick-row .input:focus-visible,
.page-admin-shell .gb-inline-sort-input:focus,
.page-admin-shell .gb-inline-sort-input:focus-visible {
    border-color: #2A847C !important;
    box-shadow: none !important;
    outline: none !important;
}

.page-admin-shell .gb-units-page #gb-units-grade,
.page-admin-shell .gb-units-page #gb-units-class-count,
.page-admin-shell .gb-units-page .gb-units-table .input {
    height: 35px !important;
    min-height: 35px !important;
    box-sizing: border-box !important;
}

/* 运动会后台右侧内容区：去掉栏目顶部多余空白 */
.page-admin-shell .gb-admin-content {
    padding-top: 8px;
    padding-bottom: 24px;
}

.page-admin-shell .gb-admin-inner.section-gap {
    padding-top: 0;
    padding-bottom: 16px;
}

.pm-field-auto-banner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a5f;
    font-size: 0.82rem;
    line-height: 1.45;
}

.pm-field-auto-banner-keep {
    white-space: nowrap;
}

.pm-field-auto-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.pm-field-auto-stat {
    background: #F8FAFA;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
}

.pm-field-auto-stat strong {
    display: block;
    font-size: 1.4rem;
    color: #2A847C;
    line-height: 1.2;
}

.pm-field-auto-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #667070;
}

.pm-field-auto-cta,
.pm-field-auto-cta.btn-primary {
    width: 100%;
    min-height: 40px;
    border: none;
    border-radius: 8px;
    background: #12b886 !important;
    color: #fff !important;
    font-weight: 700;
}

.pm-field-auto-cta:hover {
    background: #0d9a6f !important;
}

.pm-field-auto-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.pm-field-auto-modal[hidden] {
    display: none;
}

.pm-field-auto-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 43, 0.45);
}

.pm-field-auto-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(640px, 94vw);
    max-height: min(88vh, 720px);
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
}

.pm-field-auto-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #12b886;
    color: #fff;
    flex: 0 0 auto;
}

.pm-field-auto-dialog-head h3 {
    margin: 0;
    font-size: 1rem;
}

.pm-field-auto-x {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.pm-field-auto-stepbar {
    margin: 0;
    padding: 10px 16px 0;
    font-size: 0.82rem;
    color: #000 !important;
    font-weight: 600;
    flex: 0 0 auto;
}

.pm-field-auto-dialog-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 16px 4px;
    overflow: auto;
    scrollbar-gutter: stable;
}

.pm-field-auto-step[data-auto-step="2"] {
    min-height: 248px;
}

.pm-field-auto-step-tip {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eff6ff;
    font-size: 0.8rem;
    color: #000 !important;
    line-height: 1.45;
    min-height: calc(8px + 8px + 1.45em * 2);
    box-sizing: border-box;
}

.pm-field-auto-preview,
.pm-field-auto-units {
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
}

.pm-field-auto-preview-head,
.pm-field-auto-preview-row,
.pm-field-auto-assign-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 6px 0;
}

.pm-field-auto-preview-row {
    border-top: 1px solid #f2f4f7;
    font-size: 0.75rem;
    color: #2B2B2B;
}

.pm-field-auto-preview-row strong {
    font-size: 0.78rem;
    font-weight: 600;
}

.pm-field-auto-ref-lab {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 4px;
    font-size: 0.88rem;
    color: #2B2B2B;
}

.pm-field-auto-ref-lab .input {
    width: 96px;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    box-sizing: border-box;
    padding: 0 8px !important;
    line-height: 26px;
    border-radius: 8px !important;
}

.pm-field-auto-ref-hint,
.pm-field-auto-unassigned {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: #2B2B2B;
}

.pm-field-auto-unassigned {
    min-height: 1.4em;
}

.pm-field-auto-assign-row {
    flex-wrap: nowrap;
}

.pm-field-auto-assign-row > span {
    flex: 0 0 72px;
    font-weight: 600;
}

.pm-field-auto-assign-row > div {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 14px;
    min-width: 0;
}

.pm-field-auto-assign-row > div label {
    white-space: nowrap;
}

.pm-field-auto-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.86rem;
}

.pm-field-auto-dialog-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #eef2f6;
    flex: 0 0 auto;
}

.pm-field-auto-foot-right {
    display: flex;
    gap: 8px;
}

/* ===== 顶部一级 + 左侧二级 布局框架 ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-admin-shell.admin-shell-has-topnav {
    overflow: hidden;
    height: 100vh;
}

.page-admin-shell.admin-shell-has-topnav .page {
    height: 100vh;
    overflow: hidden;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-app {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    align-items: stretch;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-app--no-sidebar,
.page-admin-shell.admin-shell-no-sidebar .gb-admin-app {
    grid-template-columns: minmax(0, 1fr);
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-topnav {
    grid-column: 1 / -1;
    grid-row: 1;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-sidebar {
    display: none !important;
}

.page-admin-shell.admin-shell-has-topnav .wf-guide-rail {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-main,
.page-admin-shell.admin-shell-has-topnav .gb-admin-app--no-sidebar .gb-admin-main,
.page-admin-shell.admin-shell-no-sidebar .gb-admin-main {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    max-height: none;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-app--no-sidebar .gb-admin-main,
.page-admin-shell.admin-shell-no-sidebar .gb-admin-main {
    grid-column: 1;
}

body.admin-shell-has-topnav .gb-sb-expand-fab,
body.admin-shell-no-sidebar .gb-sb-expand-fab,
body.admin-shell-no-sidebar.admin-shell-sidebar-collapsed .gb-sb-expand-fab {
    display: none !important;
}

.gb-admin-topnav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: var(--gb-shell-header-h, 60px);
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #D9E4E2;
    box-sizing: border-box;
    z-index: 130;
}

.gb-admin-topnav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    min-height: var(--gb-shell-header-h, 60px);
    padding: 0 16px 0 12px;
}

.gb-admin-topnav--home .gb-admin-topnav-row {
    display: flex;
    justify-content: space-between;
}

.gb-admin-topnav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.gb-admin-topnav-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.gb-admin-topnav-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-admin-topnav-title {
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.3;
    white-space: nowrap;
}

.gb-admin-topnav-primary {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
}

.gb-admin-topnav-split {
    align-self: center;
    width: 1px;
    height: 16px;
    margin: 0 22px 0 18px;
    background: #E6E6E6;
    flex-shrink: 0;
}

.gb-admin-topnav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--gb-shell-header-h, 60px);
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #2B2B2B;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease, font-size 0.16s ease;
}

.gb-admin-topnav-item:hover {
    color: #2A847C;
    background: #F8FAFA;
    font-size: 17px;
}

.gb-admin-topnav-item.is-active {
    color: #2A847C;
}

.gb-admin-topnav-item.is-active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #2A847C;
}

.gb-admin-topnav-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px 10px;
    background: #F8FAFA;
    border-top: 1px solid #F4F7F7;
    overflow-x: auto;
}

.gb-admin-topnav-subitem {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #667070;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, font-size 0.16s ease;
}

.gb-admin-topnav-subitem:hover {
    color: #2A847C;
    background: #fff;
    font-size: 15px;
}

.gb-admin-topnav-subitem.is-active {
    color: #2A847C;
    background: #fff;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(56, 168, 157, 0.12);
}

.gb-admin-topnav-subitem.is-vip-locked {
    opacity: 0.72;
}

.gb-admin-topnav .mpts-toolbar-nav {
    justify-self: end;
    flex-shrink: 0;
    margin-left: 0;
}

.gb-admin-topnav .mpts-toolbar-nav .mpts-toolbar-link,
.gb-admin-topnav .mpts-toolbar-nav .mpts-toolbar-link--btn {
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    font-family: inherit;
    color: #2B2B2B;
}

.gb-admin-topnav .mpts-toolbar-nav .mpts-toolbar-link:hover,
.gb-admin-topnav .mpts-toolbar-nav .mpts-toolbar-link--btn:hover {
    color: #2A847C;
}

.pm-guide-player {
    position: fixed;
    z-index: 2147483000;
    width: 720px;
    height: auto;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    display: flex;
    flex-direction: column;
    background: #1b2422;
    border: 1px solid #2A847C;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    user-select: none;
}

.pm-guide-player[hidden] {
    display: none !important;
}

.pm-guide-player__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    flex-shrink: 0;
    padding: 0 6px 0 14px;
    background: #2A847C;
    cursor: move;
}

.pm-guide-player__title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.pm-guide-player__tools {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pm-guide-player__zoom,
.pm-guide-player__close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pm-guide-player__close {
    font-size: 22px;
}

.pm-guide-player__zoom:hover,
.pm-guide-player__close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.pm-guide-player__body {
    position: relative;
    flex: 0 0 auto;
    line-height: 0;
    background: #000;
}

.pm-guide-player__video {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    background: #000;
    object-fit: fill;
    vertical-align: top;
}

.pm-guide-player__err {
    margin: 8px 12px 12px;
    color: #c2410c;
    font-size: 13px;
}

.pm-guide-player__resize {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 0 46%, #fff 46% 54%, transparent 54% 70%, #fff 70% 78%, transparent 78%);
    opacity: 0.7;
}

.gb-admin-topnav .mpts-toolbar-ico {
    opacity: 0.9;
    width: 20px;
    height: 20px;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-admin-topnav .mpts-toolbar-svg {
    display: block;
    width: 20px;
    height: 20px;
}

.gb-sb-brand--section {
    min-height: 48px;
    padding: 0 16px;
}

.gb-sb-brand--section .gb-sb-brand-title {
    font-size: 15px;
    color: #2A847C;
}

.gb-sb-nav--sub {
    gap: 2px;
    padding-top: 10px;
}

.gb-sb-nav--sub .gb-sb-item {
    transition: background 0.16s ease, color 0.16s ease;
}

.gb-admin-strip--crumb {
    background: #F8FAFA;
    justify-content: center;
}

.gb-admin-strip--crumb .gb-admin-strip-left {
    justify-content: center;
    flex: 1;
}

.gb-admin-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.gb-admin-crumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #667070;
    line-height: 1.4;
}

.gb-admin-crumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #8A9696;
}

.gb-admin-crumb-item a {
    color: #667070;
    text-decoration: none;
    transition: color 0.15s ease;
}

.gb-admin-crumb-item a:hover {
    color: #2A847C;
}

.gb-admin-crumb-item.is-current {
    color: #2B2B2B;
    font-weight: 600;
}

@media (max-width: 900px) {
    .gb-admin-topnav-row {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        min-height: var(--gb-shell-header-h, 60px);
        padding-top: 8px;
        padding-bottom: 0;
    }

    .gb-admin-topnav-primary {
        order: 3;
        width: 100%;
        justify-content: center;
        border-top: 1px solid #F4F7F7;
    }

    .gb-admin-topnav-item {
        height: 44px;
    }

    .page-admin-shell.admin-shell-has-topnav .gb-admin-app {
        height: auto;
        min-height: 100vh;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .page-admin-shell.admin-shell-has-topnav .wf-guide-rail {
        grid-column: 1;
        grid-row: 2;
        max-height: 42vh;
        border-right: none;
        border-bottom: 1px solid #ead8c4;
    }

    .page-admin-shell.admin-shell-has-topnav .gb-admin-main {
        grid-column: 1;
        grid-row: 3;
    }
}

/* 左侧流程指引：时间线步骤，与顶部导航区分 */
.wf-guide-rail {
    display: flex;
    flex-direction: column;
    background: #F4F7F7;
    border-right: 1px solid #E2E8E8;
    box-sizing: border-box;
    overflow: hidden;
}

.wf-guide-rail-head {
    flex-shrink: 0;
    padding: 14px 14px 10px;
    border-bottom: 1px solid #E2E8E8;
}

.wf-guide-rail-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2B2B2B;
    line-height: 1.35;
}

.wf-guide-rail-meet {
    margin: 6px 0 0;
    font-size: 12px;
    color: #3a3a3a;
    line-height: 1.4;
}

.wf-guide-rail-list {
    list-style: none;
    margin: 0;
    padding: 8px 10px 16px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.wf-guide-rail-list > li {
    margin: 0 0 6px;
}

.wf-guide-rail-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    padding: 8px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #2B2B2B;
    background: #fff;
    border: 1px solid #E2E8E8;
    box-shadow: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.wf-guide-rail-item:hover {
    border-color: #84A98C;
    background: #FFFFFF;
}

.wf-guide-rail-item.is-current {
    border-color: #2A847C;
    background: #E6F6F4;
}

.wf-guide-rail-num {
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #2A847C;
    background: #E6F6F4;
    line-height: 1;
}

.wf-guide-rail-item.is-done .wf-guide-rail-num {
    color: #fff;
    background: var(--gb-accent);
}

.wf-guide-rail-text {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.wf-guide-rail-mark {
    margin-top: 2px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.wf-guide-rail-mark--done {
    color: #fff;
    background: var(--gb-accent);
    border-radius: 4px;
    padding: 1px 5px;
}

.wf-guide-rail-mark--todo {
    display: none;
}

.wf-guide-rail-item.is-vip-locked {
    opacity: 0.72;
}

/* 悬浮卡片风格：仅容器外观，不改颜色变量与交互 */
body.page-admin-shell,
.gb-admin-app,
.gb-admin-main,
.gb-admin-content,
.gb-admin-inner {
    background-color: #F8FAFA;
}

.card,
.auth-card,
.table-card,
.mct-card,
.gb-sb-panel,
.meets-table-panel,
.meets-stat-card,
.meets-stat-card--blue,
.meets-stat-card--green,
.wf-guide-rail,
.mcp-source-card,
.mcp-form-card,
.sys-home-card,
.mpc-card,
.mr-card,
.rm-panel,
.gb-mg-rule-card,
.mgr-excel-panel,
.mgr-online-link-panel,
.pm-bib-range-panel,
.pm-arr-sched-time-panel {
    background-color: #FFFFFF;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.card .table-card,
.meets-table-panel .table-card,
.mct-card .table-card,
.mr-card .table-card,
.rm-panel .table-card,
.pm-od-hub .table-card {
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.page-admin-shell.admin-shell-has-topnav .wf-guide-rail {
    margin: 12px 8px 16px 16px;
    background: #FFFFFF;
    border: none !important;
    border-right: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-height: 0;
    max-height: 100%;
    align-self: stretch;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-main {
    margin: 12px 16px 16px 8px;
    background: #F8FAFA;
    border: none;
}

.page-admin-shell.admin-shell-has-topnav .gb-admin-app--no-sidebar .gb-admin-main,
.page-admin-shell.admin-shell-no-sidebar .gb-admin-main {
    margin: 12px 16px 16px 16px;
}

.gb-admin-sidebar {
    border-right: none !important;
}

.gb-sb-brand::after {
    display: none;
}

.wf-guide-rail {
    background: #FFFFFF;
    border: none;
    border-right: none;
}

.wf-guide-rail-head {
    border-bottom: 1px solid #E6E6E6;
}

.wf-guide-rail-item {
    border: none;
    box-shadow: none;
}

.wf-guide-rail-item.is-current {
    border: none;
    color: #2A847C;
}

.wf-guide-rail-item.is-current .wf-guide-rail-text {
    color: #2A847C;
    font-weight: 600;
}

.wf-guide-rail--phase .wf-guide-rail-item {
    color: #2B2B2B;
    background: #fff;
}

.wf-guide-rail--phase .wf-guide-rail-text {
    color: #2B2B2B;
    font-weight: 500;
}

.wf-guide-rail--phase .wf-guide-rail-num {
    color: #fff;
    background: var(--gb-accent);
}

.wf-guide-rail--phase .wf-guide-rail-item.is-current {
    color: #2A847C;
    background: #E6F6F4;
}

.wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-text {
    color: #2A847C;
    font-weight: 600;
}

.wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-num {
    color: #fff;
    background: var(--gb-accent);
}

.sys-home-card {
    background-color: #FFFFFF;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

a.sys-home-card--clickable:hover,
a.sys-home-card--clickable:focus-visible,
.sys-home-card--disabled:hover {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gb-admin-topnav {
    border-bottom: none;
    box-shadow: none;
}

.gb-admin-topnav-sub {
    border-top: none;
    background: #F8FAFA;
}

.gb-admin-strip {
    border-bottom: none;
    box-shadow: none;
}

.gb-admin-topnav-item.is-active,
.gb-admin-topnav-subitem.is-active,
.gb-admin-topnav-item:hover,
.gb-admin-topnav-subitem:hover {
    color: #2A847C;
}

.gb-admin-topnav-item.is-active::after {
    background: #2A847C;
}

.mct-card-head,
.mcp-card-head,
.meets-edit-status-ops {
    border-bottom-color: #E6E6E6;
    border-top-color: #E6E6E6;
}

.meets-list-table thead th,
.table-card thead th,
thead th {
    background: #F4F7F7;
    border-bottom: 1px solid #E6E6E6;
}

.meets-list-table tbody td,
.table-card tbody td {
    border-bottom: 1px solid #E6E6E6;
}

.btn-primary,
.team-login-submit,
.mct-btn--primary,
.mpde-submit,
.meets-next-btn,
.meets-btn-new {
    color: #fff;
    background: #2A847C;
    border-color: #1F655E;
}

.btn-primary:hover,
.team-login-submit:hover,
.mct-btn--primary:hover,
.mpde-submit:hover,
.meets-next-btn:hover,
.meets-btn-new:hover {
    background: #1F655E;
    color: #fff;
}

.meets-next-btn {
    height: 40px;
    padding: 0 24px;
    border: none;
    border-radius: 6px;
    box-shadow: none;
    gap: 8px;
}

.meets-page a.meets-next-btn,
.gb-group-list-card a.meets-next-btn,
.gb-lim-page a.meets-next-btn,
.gb-admin-app .gb-lim-page a.meets-next-btn,
.mr-rules-form button.meets-next-btn,
.gb-admin-app .mr-rules-form button.meets-next-btn,
.pm-staff-form button.meets-next-btn,
.gb-admin-app .pm-staff-form button.meets-next-btn,
.gb-admin-app button.meets-next-btn,
.gb-admin-app .meets-next-btn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;
    width: auto;
    height: 40px;
    padding: 0 22px;
    border: none;
    border-radius: 6px;
    flex-direction: row;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #2A847C;
    box-shadow: 0 4px 14px rgba(43, 43, 43, 0.08);
    cursor: pointer;
}

.meets-page a.meets-next-btn:hover,
.gb-group-list-card a.meets-next-btn:hover,
.gb-lim-page a.meets-next-btn:hover,
.gb-admin-app .gb-lim-page a.meets-next-btn:hover,
.mr-rules-form button.meets-next-btn:hover,
.gb-admin-app .mr-rules-form button.meets-next-btn:hover,
.pm-staff-form button.meets-next-btn:hover,
.gb-admin-app .pm-staff-form button.meets-next-btn:hover,
.gb-admin-app button.meets-next-btn:hover,
.gb-admin-app .meets-next-btn:hover {
    color: #fff;
    background: #217066;
    border: none;
    filter: none;
}

.mgr-settings-nextbar {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-admin-app .mgr-settings-nextbar button.meets-next-btn,
.gb-admin-app .mgr-settings-nextbar button.meets-next-btn:hover {
    position: static;
    right: auto;
    bottom: auto;
}

.meets-page a.meets-btn-new {
    height: 40px;
    padding: 0 22px;
    border: 1.5px solid #2A847C;
    border-radius: 6px;
    background: #fff;
    color: #2A847C;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.meets-page a.meets-btn-new:hover {
    background: #f0f9f6;
    color: #2A847C;
    border-color: #2A847C;
    filter: none;
}

.meets-page a.meets-btn-new .meets-btn-new-plus,
.meets-page a.meets-btn-new .meets-ico-svg {
    color: inherit;
}

.meets-page a.meets-next-btn:hover .meets-next-ico,
.gb-group-list-card a.meets-next-btn:hover .meets-next-ico,
.gb-lim-page a.meets-next-btn:hover .meets-next-ico,
.gb-admin-app .gb-lim-page a.meets-next-btn:hover .meets-next-ico,
.mr-rules-form button.meets-next-btn:hover .meets-next-ico,
.gb-admin-app .mr-rules-form button.meets-next-btn:hover .meets-next-ico,
.pm-staff-form button.meets-next-btn:hover .meets-next-ico,
.gb-admin-app .pm-staff-form button.meets-next-btn:hover .meets-next-ico,
.gb-admin-app button.meets-next-btn:hover .meets-next-ico,
.gb-admin-app .meets-next-btn:hover .meets-next-ico {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .page-admin-shell.admin-shell-has-topnav .wf-guide-rail {
        margin: 12px 16px 8px;
        border-bottom: none !important;
        max-height: 42vh;
    }

    .page-admin-shell.admin-shell-has-topnav .gb-admin-main {
        margin: 8px 16px 16px;
    }

    .gb-admin-topnav-primary {
        border-top: none;
    }
}

/* 赛事管理中心：纵向统计卡、薄荷绿表头、状态旗标、更多菜单 */
.meets-page .meets-stat-stack {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.meets-page .meets-stat-stack .meets-stat-card,
.meets-page .meets-stat-stack .meets-stat-card--blue,
.meets-page .meets-stat-stack .meets-stat-card--green {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    border: none !important;
    border-left: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    background: #F6FAF9;
}

.meets-page .meets-stat-stack .meets-stat-card--green {
    background: #E6F6F4;
}

.meets-page .meets-stat-stack .meets-stat-card--blue {
    background: #E3EDF4;
}

.meets-page .meets-stat-stack .meets-stat-ic,
.meets-page .meets-stat-stack .meets-stat-ic--tile,
.meets-page .meets-stat-stack .meets-stat-ic--blue,
.meets-page .meets-stat-stack .meets-stat-ic--green {
    border-radius: 10px;
    width: 42px;
    height: 42px;
    background: #FFFFFF;
    color: #2A847C;
}
@media (max-width: 900px) {
    .meets-page .meets-stat-stack {
        flex-direction: column;
    }
}

.meets-page .meets-list-table thead th,
.meets-page .meets-table-wrap.table-card thead th {
    background: #E6F6F4 !important;
    color: #1A544E;
    border-bottom: 1px solid #C5E4DF;
    font-weight: 700;
}

.meets-page .meets-list-table {
    table-layout: auto;
    width: 100%;
}
.meets-page .meets-list-table thead th,
.meets-page .meets-list-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
}
.meets-page .meets-list-table .meets-col-idx {
    width: 8%;
}
.meets-page .meets-list-table .meets-col-status {
    width: 10%;
}
.meets-page .meets-list-table .meets-col-name {
    text-align: center;
    white-space: nowrap;
}
.meets-page .meets-list-table .meets-col-name-text {
    display: inline;
    width: auto;
    text-align: center;
    white-space: nowrap;
}
.meets-page .meets-list-table .meets-col-date-h,
.meets-page .meets-list-table .meets-col-date,
.meets-page .meets-list-table .meets-col-date-main {
    width: 18%;
    text-align: center;
}
.meets-page .meets-list-table .meets-col-year {
    width: 10%;
    text-align: center;
}
.meets-page .meets-list-table .meets-col-curst {
    width: 16%;
    min-width: 0;
    text-align: center;
}

.meets-page .meets-col-curst .meets-op-row {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
}

.meets-page .meets-list-table .meets-col-actions {
    min-width: 0;
    width: 16%;
    text-align: center;
}

.meets-page .meets-col-actions .meets-op-row {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
}
.meets-page .meets-row-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #C45C5C;
    cursor: pointer;
    box-shadow: none;
}
.meets-page .meets-row-del:hover {
    background: #FDECEC;
    color: #B42318;
}
.meets-page .meets-row-del svg {
    display: block;
    width: 16px;
    height: 16px;
}

.meet-status-flag {
    display: inline-block;
    padding: 0;
    border-left: none;
    border-radius: 0;
    background: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
    white-space: nowrap;
}

.meet-status-flag--prep {
    color: #5C7A64;
}

.meet-status-flag--ongoing {
    color: #2A847C;
}

.meet-status-flag--reg {
    color: #1F655E;
}

.meet-status-flag--arr {
    color: #84A98C;
}

.meet-status-flag--done {
    color: #667070;
}

.meet-status-flag--idle {
    color: #F2994A;
}

.meets-page .meets-table-panel,
.meets-page .meets-table-wrap,
.meets-page .meets-table-panel .meets-table-wrap.table-card,
.meets-page .meets-list-table,
.meets-page .meets-list-table tbody,
.meets-page .meets-list-table tr,
.meets-page .meets-list-table td.meets-col-actions {
    overflow: visible !important;
}

.meets-page .meets-list-table td.meets-col-actions {
    position: relative;
    z-index: 1;
}

.meets-page .meets-list-table tr:has(.meets-more[open]) {
    position: relative;
    z-index: 20;
}

.meets-more {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.meets-more[open] {
    z-index: 40;
}

.meets-more > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.meets-more > summary::-webkit-details-marker {
    display: none;
}

.meets-op-btn--more {
    background: #fff;
    color: #5C7A64;
    border-color: #D9E4E2;
}

.meets-op-btn--more:hover {
    background: #F4F7F7;
    color: #1A544E;
    border-color: #C5E4DF;
}

.meets-more-panel {
    position: absolute;
    right: 0;
    top: auto;
    bottom: calc(100% + 6px);
    min-width: 108px;
    padding: 6px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(43, 43, 43, 0.12);
    z-index: 80;
}

.meets-more-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 14px;
    border: none;
    background: none;
    color: #2B2B2B;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.35;
}

.meets-more-item:hover {
    background: #F4F7F7;
    color: #1A544E;
}

.meets-more-item--danger {
    color: #E55949;
}

.meets-more-item--danger:hover {
    background: #FDECEC;
    color: #C94A3C;
}

.meets-more .meets-delete-form,
.meets-more .meets-inline-form {
    display: block;
    width: 100%;
}

.meets-page .meets-ico-svg {
    display: block;
}

.meets-page .meets-btn-new-plus .meets-ico-svg,
.meets-page .meets-next-ico .meets-ico-svg,
.meets-page .meets-table-title-ic .meets-ico-svg,
.meets-page .mct-btn-ico .meets-ico-svg,
.meets-page .mct-back-ico .meets-ico-svg,
.meets-page .mct-card-head-ico .meets-ico-svg,
.meets-page .mcp-card-head-ic .meets-ico-svg,
.meets-page .mcp-confirm-ic .meets-ico-svg {
    display: block;
}

.meets-page .meets-table-title-ic {
    display: inline-flex;
    color: #2A847C;
}

.meets-page .meets-delete-modal-warn-ic {
    display: inline-flex;
    color: #E55949;
}

/* 分组管理：版式对标赛事管理中心（仅容器/表底色/表框） */
.gb-admin-inner:has(.gb-group-list-card) {
    background: #F8FAFA;
    overflow-x: clip;
    max-width: 100%;
}

.gb-main-panel.card.gb-group-list-card {
    overflow: visible;
    box-sizing: border-box;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.gb-group-list-card .gb-panel-topbar {
    position: relative;
    overflow: visible;
    padding: 0 0 18px;
    margin-bottom: 0;
    background: transparent;
    border-bottom: none;
}

.gb-group-list-card .gb-events-summary-block {
    margin-top: 0;
    background: transparent;
    box-shadow: none;
}

.gb-group-list-card .gb-events-summary-pagehead {
    margin: 0 0 14px;
    padding: 14px 16px;
    background: #fff;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gb-group-list-card .gb-events-summary-pagehead-title {
    color: #2B2B2B;
}

.gb-group-list-card .gb-events-summary-pagehead-meta {
    color: #5C7A64;
}

.gb-group-list-card .gb-events-summary-sheet {
    margin: 0;
    padding: 16px 16px 12px;
    background: #fff;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gb-group-list-card .gb-events-summary-matrix-wrap,
.gb-group-list-card .table-card.gb-events-summary-matrix-wrap,
.gb-group-list-card .gb-events-summary-matrix-wrap.table-card {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.gb-group-list-card .gb-events-summary-matrix,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table {
    border: none !important;
    background: transparent;
    table-layout: fixed;
    width: 100%;
    max-width: 100%;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table thead th {
    background: #E6F6F4 !important;
    color: #1A544E !important;
    border-bottom: 1px solid #C5E4DF !important;
    box-shadow: none !important;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody td,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr td,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:nth-child(even) td,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:nth-child(odd) td {
    background-color: #fff !important;
    border-bottom: 1px solid #E6E6E6;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:hover td {
    background-color: #F8FAFA !important;
}

.gb-group-list-card .gb-next-row {
    margin: 0;
    padding: 0;
    height: 0;
    overflow: visible;
    background: transparent;
    border: none;
}

.gb-group-list-card .gb-add-group-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 22px;
    border: 1.5px solid #2A847C;
    border-radius: 999px;
    background: #2A847C;
    color: #fff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
}

.gb-group-list-card .gb-add-group-btn:hover {
    background: #24756e;
    color: #fff;
    border-color: #24756e;
    filter: none;
}

.gb-group-list-card .gb-add-group-plus {
    display: inline-flex;
    color: inherit;
}

.gb-group-list-card .gb-add-group-plus svg {
    display: block;
    width: 16px;
    height: 16px;
}

.gb-group-list-card .gb-batch-sort-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 2px;
    border: none;
    background: transparent;
    color: #1A544E;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.gb-group-list-card .gb-batch-sort-link:hover {
    color: #256F66;
    background: transparent;
}

.gb-group-list-card .gb-gmore--toolbar {
    z-index: 6;
}

.gb-group-list-card .gb-gmore--toolbar .gb-gmore-btn {
    min-width: 64px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #C5E4DF;
    border-radius: 999px;
    background: #fff;
    color: #1A544E;
    font-size: 14px;
    font-weight: 600;
}

.gb-group-list-card .gb-gmore--toolbar .gb-gmore-btn:hover,
.gb-group-list-card .gb-gmore--toolbar[open] .gb-gmore-btn {
    background: #E6F6F4;
    border-color: #2A847C;
    color: #1A544E;
}

.gb-group-list-card .gb-gmore--toolbar .gb-gmore-panel {
    top: calc(100% + 6px);
    bottom: auto;
    min-width: 148px;
}

.gb-group-list-card .gb-empty-tip {
    margin: 0 !important;
    padding: 16px 18px;
    background: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gb-group-list-card .gb-panel-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gb-group-faq-pop {
    position: relative;
    display: inline-block;
    z-index: 50;
}

.gb-group-faq-pop > summary {
    list-style: none;
    cursor: pointer;
}

.gb-group-faq-pop > summary::-webkit-details-marker {
    display: none;
}

.gb-group-faq-qbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #B7DDD8;
    border-radius: 8px;
    background: #F4FBFA;
    color: #1A544E;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.gb-group-faq-qbtn:hover,
.gb-group-faq-pop[open] .gb-group-faq-qbtn {
    background: #E6F6F4;
    border-color: #2A847C;
    color: #2A847C;
}

.gb-group-faq-panel {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: min(520px, 72vw);
    padding: 12px 14px 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(43, 43, 43, 0.12);
    z-index: 90;
}

.gb-group-list-card .gb-faq-title {
    color: #2B2B2B;
    font-weight: 700;
}

.gb-group-list-card .gb-faq-item {
    border-color: #E6E6E6;
    background: #F8FAFA;
}

.gb-group-list-card .gb-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gb-group-faq-q {
    min-width: 0;
    line-height: 1.45;
}

.gb-group-faq-ico {
    flex-shrink: 0;
    display: inline-flex;
    color: #2A847C;
    transition: transform 0.15s ease;
}

.gb-group-list-card .gb-faq-item[open] .gb-group-faq-ico {
    transform: rotate(45deg);
}

.gb-group-list-card .gb-events-summary-pagehead-tip {
    color: #667070;
}

.gb-group-list-card .gb-events-summary-matrix-wrap,
.gb-group-list-card .gb-events-summary-sheet,
.gb-group-list-card .gb-events-summary-block {
    overflow-x: clip;
    max-width: 100%;
}

.gb-group-list-card .gb-events-summary-op-cell {
    overflow: visible !important;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr td,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:nth-child(even) td,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:nth-child(odd) td {
    background-color: #fff !important;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody tr:hover td {
    background-color: #F8FAFA !important;
}

.gb-group-list-card .gb-events-summary-th-op,
.gb-group-list-card .gb-events-summary-op-cell {
    width: 88px;
    min-width: 88px;
    text-align: right;
}

.gb-group-list-card .gb-events-summary-matrix thead th:nth-child(2),
.gb-group-list-card .gb-events-summary-gname-cell {
    text-align: center;
}

.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody td.gb-events-summary-lim-cell,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody td.gb-events-summary-gname-cell,
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody td.gb-events-summary-op-cell {
    vertical-align: middle;
}

.gb-group-list-card .gb-events-summary-gname {
    text-align: center;
}

.gb-group-list-card .gb-events-summary-th-unit,
.gb-group-list-card .gb-events-summary-unit-cell {
    text-align: left;
    padding-left: 4px;
    min-width: 0;
    width: 26%;
}

/* 空单位：添加参赛单位在单元格内水平+垂直居中 */
.gb-group-list-card .gb-events-summary-matrix.gb-group-table tbody td.gb-events-summary-unit-cell:has(> .gb-cell-add) {
    text-align: center;
    vertical-align: middle;
    padding-left: 12px;
    padding-right: 12px;
}

.gb-group-list-card .gb-events-summary-th-ev,
.gb-group-list-card .gb-events-summary-ev-cell {
    min-width: 0;
    width: 50%;
}

.gb-group-list-card .gb-events-summary-unit-cell,
.gb-group-list-card .gb-events-summary-ev-cell {
    overflow: visible;
}

.gb-group-list-card .gb-cell-tags-units {
    justify-content: start;
    justify-items: start;
}

.gb-group-list-card .gb-events-summary-unit-cell .gb-cell-tag {
    justify-content: flex-start;
    text-align: left;
    padding-left: 8px;
}

.gb-group-list-card .gb-events-summary-lim-cell {
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.gb-group-list-card .gb-events-summary-lim-cell,
.gb-group-list-card .gb-seq-cell {
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.gb-group-list-card tr.is-dragging .gb-events-summary-lim-cell,
.gb-group-list-card tr.is-dragging .gb-seq-cell {
    cursor: grabbing;
}

.gb-group-list-card .gb-seq-cell {
    display: block;
    position: relative;
    width: 100%;
    min-height: 22px;
    text-align: center;
}

.gb-group-list-card .gb-seq-drag {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 22px;
    color: #84A98C;
    cursor: grab;
    user-select: none;
}

.gb-group-list-card .gb-seq-drag:active,
.gb-group-list-card tr.is-dragging .gb-seq-drag {
    cursor: grabbing;
    color: #2A847C;
}

.gb-group-list-card .gb-seq-num {
    display: inline-block;
    min-width: 1.2em;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
    font-variant-numeric: tabular-nums;
    line-height: 22px;
    text-align: center;
}

.gb-group-list-card .gb-events-summary-matrix tr.is-dragging {
    opacity: 0.45;
}

.gb-cell-kicker {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: #5C7A64;
    letter-spacing: 0.03em;
}

.gb-group-list-card .gb-cell-tags-ev {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

.gb-group-list-card .gb-cell-tags-units {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

.gb-group-list-card .gb-cell-tag,
.gb-group-list-card .gb-cell-tag-ev,
.gb-group-list-card .gb-cell-tag-ev.is-f,
.gb-group-list-card .gb-cell-tag-ev.is-x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 26px;
    padding: 4px 6px;
    color: #fff;
    background: #2A847C;
    border: 1px solid #1F655E;
    border-radius: 6px;
    line-height: 1.25;
    font-weight: 600;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    box-sizing: border-box;
}

.gb-group-list-card .gb-events-summary-unit-cell .gb-cell-tag {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 26px;
    padding: 4px 6px;
    line-height: 1.25;
    color: #fff;
    background: #2A847C;
    border-color: #1F655E;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.gb-group-list-card .gb-cell-tag-ev,
.gb-group-list-card .gb-cell-tag-ev.is-f,
.gb-group-list-card .gb-cell-tag-ev.is-x {
    color: #145E57;
    background: #D4F3EF;
    border-color: #5ECCC0;
}

.gb-group-list-card .gb-cell-more {
    position: static;
    transform: none;
    height: 24px;
    padding: 0 10px;
    border: 1px dashed #B7DDD8;
    border-radius: 6px;
    background: #F4FBFA;
    color: #1A544E;
}

.gb-group-list-card .gb-cell-more:hover {
    background: #E6F6F4;
    border-color: #2A847C;
    border-style: solid;
    color: #1A544E;
}

.gb-group-list-card .gb-cell-tags-box .gb-cell-tags-clip,
.gb-group-list-card .gb-cell-tags-box:not(.is-expanded) .gb-cell-tags-clip,
.gb-group-list-card .gb-cell-tags-box.is-expanded .gb-cell-tags-clip {
    overflow: visible;
    max-height: none;
}

.gb-group-list-card .gb-cell-tags-box.is-collapsible .gb-cell-tags-foot,
.gb-group-list-card .gb-cell-tags-box.is-collapsible .gb-cell-tags-toggle {
    display: flex;
}

.gb-group-list-card .gb-cell-tag[hidden],
.gb-group-list-card .gb-cell-tag.is-overflow,
.gb-group-list-card .gb-cell-tag-ev[hidden],
.gb-group-list-card .gb-cell-tag-ev.is-overflow {
    display: none !important;
}

.gb-group-list-card .gb-cell-tags-foot {
    justify-content: center;
    width: 100%;
    gap: 0;
    margin-top: 4px;
}

.gb-gmore {
    position: relative;
    display: inline-block;
    z-index: 1;
    overflow-anchor: none;
}

.gb-gmore[open] {
    z-index: 40;
}

.gb-gmore > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.gb-gmore > summary::-webkit-details-marker {
    display: none;
}

.gb-gmore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 32px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #E4C56A;
    border-radius: 6px;
    background: #F6D98A;
    color: #6B4E16;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.25;
    box-shadow: none;
}

.gb-gmore-btn:hover {
    background: #F0CC6A;
    color: #5C4010;
    border-color: #DDB44E;
}

.gb-gmore-panel {
    position: absolute;
    right: 0;
    top: auto;
    bottom: calc(100% + 6px);
    min-width: 176px;
    padding: 6px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(43, 43, 43, 0.12);
    z-index: 80;
}

.gb-group-list-card .gb-gmore-panel {
    display: flex;
    flex-direction: column;
    min-width: 168px;
    top: auto;
    bottom: calc(100% + 6px);
}

.gb-group-list-card .gb-gmore-item {
    display: block !important;
}

.gb-gmore--page .gb-gmore-panel {
    top: auto;
    bottom: calc(100% + 6px);
}

.gb-gmore-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 14px;
    border: none;
    background: none;
    color: #2B2B2B;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.35;
}

.gb-gmore-item:hover {
    background: #F4F7F7;
    color: #1A544E;
}

.gb-gmore-item--danger {
    color: #E55949;
}

.gb-gmore-item--danger:hover {
    background: #FDECEC;
    color: #C94A3C;
}

.gb-gmore .gb-events-summary-del-form,
.gb-gmore .inline-form {
    display: block;
    width: 100%;
    margin: 0;
}

/* 批量添加分组：学段折叠、表头无底色、主按钮胶囊 */
.gb-batch-groups-page .gb-batch-lead {
    margin: 6px 0 0;
    max-width: 640px;
    color: #667070;
    font-size: 13px;
    line-height: 1.55;
}

.gb-batch-groups-page .gb-grade-fill-head {
    justify-content: space-between;
    align-items: center;
}

.gb-batch-groups-page .gb-grade-fill-title {
    margin: 0;
    font-size: 1.35rem;
}

.gb-batch-groups-page .gb-grade-fill-actions {
    align-items: center;
}

.gb-batch-groups-page .gb-batch-list-title {
    margin: 0 0 12px;
}

.gb-batch-groups-page .gb-batch-list-head {
    align-items: center;
    margin-bottom: 12px;
}

.gb-batch-groups-page .gb-batch-table {
    width: 100%;
    border-collapse: collapse;
}

.gb-batch-groups-page .gb-batch-table thead th {
    padding: 8px 10px 10px;
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    color: #2B2B2B;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.gb-batch-groups-page .gb-batch-table thead th.gb-col-idx,
.gb-batch-groups-page .gb-batch-table thead th.gb-col-sort,
.gb-batch-groups-page .gb-batch-table thead th.gb-col-op,
.gb-batch-groups-page .gb-batch-table td.gb-col-idx,
.gb-batch-groups-page .gb-batch-table td.gb-col-sort,
.gb-batch-groups-page .gb-batch-table td.gb-col-op {
    text-align: center;
}

.gb-batch-groups-page .gb-batch-table tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid #E6E6E6;
    background: #fff;
    vertical-align: middle;
}

.gb-batch-groups-page .gb-batch-table input[type="text"]:focus,
.gb-batch-groups-page .gb-batch-table input[type="number"]:focus {
    border-color: #2A847C;
    box-shadow: 0 0 0 3px rgba(56, 168, 157, 0.18);
    outline: none;
}

.gb-batch-groups-page .gb-batch-table .gb-col-idx {
    width: 96px;
}

.gb-batch-groups-page .gb-batch-seq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gb-batch-groups-page .gb-batch-drag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 22px;
    color: #84A98C;
    cursor: grab;
    user-select: none;
}

.gb-batch-groups-page .gb-batch-drag:active,
.gb-batch-groups-page tr.is-dragging .gb-batch-drag {
    cursor: grabbing;
    color: #2A847C;
}

.gb-batch-groups-page .gb-batch-seq-num {
    min-width: 1.2em;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
    font-variant-numeric: tabular-nums;
    line-height: 22px;
}

.gb-batch-groups-page tr.is-dragging {
    opacity: 0.45;
}

.gb-batch-groups-page .gb-batch-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #E55949;
    line-height: 0;
}

.gb-batch-groups-page .gb-batch-del:hover {
    background: transparent;
    color: #C94A3C;
    text-decoration: none;
}

.gb-batch-groups-page .btn.btn-primary {
    height: 40px;
    padding: 0 22px;
    border: none;
    border-radius: 6px;
    background: #2A847C;
    box-shadow: none;
}

.gb-batch-groups-page .btn.btn-primary.btn-sm {
    height: 34px;
    padding: 0 16px;
}

.gb-batch-groups-page .btn.btn-primary:hover {
    background: #1F655E;
    color: #fff;
    filter: none;
}

.gb-batch-groups-page .btn.btn-ghost-danger {
    height: 34px;
    padding: 0 14px;
    border-radius: 8px;
}

.gb-batch-groups-page #gb-grade-all.btn,
.gb-batch-groups-page #gb-grade-none.btn,
.gb-batch-groups-page #gb-batch-reset.btn {
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gb-batch-groups-page #gb-grade-all.btn:hover,
.gb-batch-groups-page #gb-grade-none.btn:hover,
.gb-batch-groups-page #gb-batch-reset.btn:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #1F655E;
}

.gb-batch-groups-page .gb-outline-plus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 22px;
    border: 1.5px solid #2A847C;
    border-radius: 6px;
    background: #fff;
    color: #2A847C;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.gb-batch-groups-page .gb-outline-plus:hover {
    background: #f0f9f6;
    color: #2A847C;
    border-color: #2A847C;
    filter: none;
}

.gb-batch-groups-page .gb-outline-plus-ico {
    display: inline-flex;
    color: inherit;
}

.gb-batch-groups-page .gb-outline-plus-ico svg {
    display: block;
    width: 16px;
    height: 16px;
}

.gb-batch-groups-page .gb-btn-ico {
    gap: 6px;
}

.gb-batch-groups-page .gb-btn-ico svg {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    color: currentColor;
    filter: none;
    box-shadow: none;
}

/* 编排系统实心主按钮统一为空心胶囊，右下角下一步按钮除外 */
.gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.rm-kind-save-btn):not(.pm-arr-step2-save):not(.pm-arr-track-mode-btn--active):not(.sys-home-use-btn):not(.pm-field-auto-cta):not(.mgr-staging-commit-btn) {
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    filter: none !important;
}

.gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.rm-kind-save-btn):not(.pm-arr-step2-save):not(.pm-arr-track-mode-btn--active):not(.sys-home-use-btn):not(.pm-field-auto-cta):not(.mgr-staging-commit-btn):hover,
.gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.rm-kind-save-btn):not(.pm-arr-step2-save):not(.pm-arr-track-mode-btn--active):not(.sys-home-use-btn):not(.pm-field-auto-cta):not(.mgr-staging-commit-btn):focus {
    background: #f0f9f6 !important;
    color: #2A847C !important;
    border-color: #2A847C !important;
    filter: none !important;
}

.gb-admin-app .btn.btn-primary.rm-kind-save-btn,
.gb-admin-app .btn.btn-primary.rm-kind-save-btn:hover,
.gb-admin-app .btn.btn-primary.rm-kind-save-btn:focus {
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
    box-shadow: none !important;
    filter: none !important;
}

.gb-admin-app .btn.btn-primary.rm-kind-save-btn:hover,
.gb-admin-app .btn.btn-primary.rm-kind-save-btn:focus {
    background: #24756e !important;
    border-color: #24756e !important;
}

.gb-admin-app .btn.btn-primary.trk-hub-btn-record {
    color: #0f3a4d !important;
    background: #7dd3f0 !important;
    border: 1px solid #4fc3e8 !important;
    box-shadow: none !important;
    filter: none !important;
}

.gb-admin-app .btn.btn-primary.trk-hub-btn-record:hover,
.gb-admin-app .btn.btn-primary.trk-hub-btn-record:focus {
    color: #0a2e3d !important;
    background: #5ec8ea !important;
    border-color: #4fc3e8 !important;
    filter: none !important;
}

.gb-sort-page.card {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 18px 16px;
}

.gb-sort-page .table-card {
    width: 100%;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.gb-sort-page .gb-sort-batch-table {
    width: 100%;
    max-width: none;
    table-layout: fixed;
}

.gb-sort-page .gb-sort-batch-table th,
.gb-sort-page .gb-sort-batch-table td {
    vertical-align: middle;
}

.gb-sort-page .gb-sort-batch-table .gb-sort-idx {
    width: 72px;
    text-align: center;
}

.gb-sort-page .gb-sort-batch-table .gb-sort-order {
    width: 96px;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

.gb-sort-page .gb-sort-batch-table input[type="number"] {
    display: block;
    width: 72px;
    margin: 0 auto;
    text-align: center;
}

/* 管理参赛单位：左右两栏 + 浅薄荷卡片 */
.gb-units-page {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.gb-units-page .gb-subpage-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-units-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 16px;
}

.gb-units-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.gb-units-panel,
.gb-units-list-card {
    background: #F3FAF8;
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(37, 111, 102, 0.08);
    padding: 18px 18px 16px;
}

.gb-units-panel-side {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
}

.gb-units-mini-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-units-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2A847C;
}

.gb-units-ico svg {
    display: block;
}

.gb-units-mini-desc,
.gb-units-list-lead,
.gb-units-example,
.gb-units-tip {
    margin: 6px 0 12px;
    color: #5C7A74;
    font-size: 13px;
    line-height: 1.55;
}

.gb-units-example,
.gb-units-tip {
    margin-top: 8px;
    margin-bottom: 12px;
}

.gb-units-page .gb-units-paste {
    width: 100%;
    height: 84px;
    min-height: 84px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #D5E8E3;
    border-radius: 10px;
    background: #fff;
    color: #2B2B2B;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.gb-units-page .gb-units-paste:focus {
    border-color: #2A847C;
    outline: none;
}

.gb-units-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #3D5C56;
}

.page-admin-shell .gb-units-page #gb-units-grade,
.page-admin-shell .gb-units-page #gb-units-class-count,
.page-admin-shell .gb-units-page .gb-units-table .input,
.gb-units-page #gb-units-grade,
.gb-units-page #gb-units-class-count,
.gb-units-page .gb-units-table .input {
    height: 40px !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid #D5E8E3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #2B2B2B !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.gb-units-page .gb-units-table .gb-units-sort {
    width: 72px;
    text-align: center;
}

.gb-units-panel-side .gb-units-empty-box {
    flex: 1 1 auto;
    flex-direction: column;
    margin: 4px 0 14px;
    height: auto;
    min-height: 0;
    border: 1px dashed #C5E4DC;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: #5C7A74;
}

.gb-units-empty-star {
    display: inline-flex;
    color: #2A847C;
    font-size: 0;
    line-height: 0;
}

.gb-units-list-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-units-list-lead {
    margin-top: 6px;
}

.gb-units-page .gb-units-table-wrap {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    overflow: hidden;
}

.gb-units-page .gb-units-table {
    width: 100%;
    background: #fff;
}

.gb-units-page .gb-units-table thead th {
    background: #E6F6F4;
    color: #1A544E;
    font-weight: 600;
    border-bottom: none;
}

.gb-units-page .gb-units-table tbody td {
    background: #fff;
    border-bottom: 1px solid #E6E6E6;
    vertical-align: middle;
}

.gb-units-page .gb-units-seq-col,
.gb-units-page .gb-units-seq-cell {
    width: 92px;
    white-space: nowrap;
    text-align: left;
}

.gb-units-page .gb-units-drag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    padding: 0;
    border: 1px solid #E6E6E6;
    border-radius: 6px;
    background: #fff;
    color: #667070;
    cursor: grab;
    vertical-align: middle;
}

.gb-units-page .gb-units-drag:active,
.gb-units-page tr.is-dragging .gb-units-drag {
    cursor: grabbing;
}

.gb-units-page .gb-units-seq {
    min-width: 1.4em;
    color: #2B2B2B;
    font-weight: 600;
}

.gb-units-page tr.is-dragging td {
    background: #f0f9f6;
}

.gb-units-page .gb-units-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #E55949;
    cursor: pointer;
    box-shadow: none;
}

.gb-units-page .gb-units-del:hover {
    color: #c94436;
    background: #fff5f4;
    border-radius: 8px;
}

.gb-units-page .gb-units-name[readonly] {
    background: #f3f4f6;
    color: #4b5563;
    cursor: not-allowed;
}

.gb-units-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.gb-units-page .btn.gb-units-confirm,
.gb-units-page .btn.gb-units-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none !important;
    filter: none !important;
}

.gb-units-page .btn.gb-units-confirm svg,
.gb-units-page .btn.gb-units-outline svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.gb-admin-app .gb-units-page .btn.gb-units-confirm,
.gb-units-page .btn.gb-units-confirm {
    background: #256F66 !important;
    color: #fff !important;
    border: 1.5px solid #256F66 !important;
}

.gb-admin-app .gb-units-page .btn.gb-units-confirm:hover,
.gb-admin-app .gb-units-page .btn.gb-units-confirm:focus,
.gb-units-page .btn.gb-units-confirm:hover,
.gb-units-page .btn.gb-units-confirm:focus {
    background: #1F5F58 !important;
    color: #fff !important;
    border-color: #1F5F58 !important;
    filter: none !important;
}

.gb-admin-app .gb-units-page .btn.gb-units-outline,
.gb-units-page .btn.gb-units-outline {
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
}

.gb-admin-app .gb-units-page .btn.gb-units-outline:hover,
.gb-admin-app .gb-units-page .btn.gb-units-outline:focus,
.gb-units-page .btn.gb-units-outline:hover,
.gb-units-page .btn.gb-units-outline:focus {
    background: #f0f9f6 !important;
    color: #2A847C !important;
    border-color: #2A847C !important;
    filter: none !important;
}

.gb-units-page .gb-units-wide {
    width: 100%;
    margin-top: auto;
}

.gb-units-form .btn:hover,
.gb-units-form .btn:active {
    filter: none;
}

.gb-units-lib-head strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gb-units-lib-head .gb-units-ico svg {
    width: 18px;
    height: 18px;
}

.gb-units-lib-hint {
    background: #F3FAF8;
    color: #1A544E;
}

.gb-units-page .gb-units-lib-add textarea {
    width: 100%;
    margin-bottom: 0;
    padding: 12px 14px;
    border: 1px solid #D5E8E3;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 960px) {
    .gb-units-split {
        grid-template-columns: 1fr;
    }
}

/* 比赛项目管理：竖向勾选清单 */
.gb-pick-page.card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.gb-pick-page .gb-subpage-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-admin-app .gb-pick-page .btn.gb-pick-back,
.gb-pick-page .btn.gb-pick-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.gb-admin-app .gb-pick-page .btn.gb-pick-back:hover,
.gb-admin-app .gb-pick-page .btn.gb-pick-back:focus,
.gb-pick-page .btn.gb-pick-back:hover,
.gb-pick-page .btn.gb-pick-back:focus {
    background: #f0f9f6 !important;
    color: #2A847C !important;
    border-color: #2A847C !important;
}

.gb-pick-page .gb-pick-tabs {
    gap: 4px 18px;
    margin: 0 0 14px;
    border-bottom: 1px dashed #D5E8E3;
    padding-bottom: 0;
}

.gb-pick-page .gb-pick-tab {
    padding: 8px 2px 10px;
    color: #1677ff;
    font-weight: 700;
    background: transparent;
}

.gb-pick-page .gb-pick-tab.is-on {
    color: #1677ff;
    font-weight: 700;
    box-shadow: inset 0 -2px 0 #1677ff;
}

.gb-pick-page .gb-pick-gender-bar {
    margin: 0 0 14px;
    color: #2B2B2B;
}

.gb-pick-page .gb-pick-gender-bar input {
    accent-color: #2A847C;
}

.gb-pick-page .gb-pick-exist-tip {
    color: #6B8F88;
}

.gb-pick-page .gb-pick-box {
    background: #F3FAF8;
    border: 1px solid #D5E8E3;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(37, 111, 102, 0.06);
    padding: 14px 16px 10px;
}

.gb-pick-page .gb-pick-box-sel {
    background: #F7FCFB;
}

.gb-pick-page .gb-pick-box-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #256F66;
}

.gb-pick-page .gb-pick-empty {
    margin: 0 0 6px;
    color: #6B8F88;
    font-size: 13px;
}

.gb-pick-page .gb-lib-wait-line {
    margin: 8px 0 14px;
    color: #6B8F88;
}

.gb-pick-page .gb-lib-wait-line::before,
.gb-pick-page .gb-lib-wait-line::after {
    height: 0;
    border-top: 1px dashed #C5E4DC;
    background: none;
}

.gb-pick-page .gb-pick-group {
    margin: 0 0 12px;
    padding: 0;
    background: #fff;
    border: 1px solid #E4F2EE;
    border-radius: 12px;
}

.gb-pick-page .gb-pick-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.gb-pick-page .gb-pick-group > summary::-webkit-details-marker {
    display: none;
}

.gb-pick-page .gb-pick-group-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #256F66;
}

.gb-pick-page .gb-pick-group-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #2A847C;
    border-bottom: 1.6px solid #2A847C;
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.gb-pick-page .gb-pick-group[open] .gb-pick-group-chevron {
    transform: rotate(225deg);
    margin-top: 4px;
}

.gb-pick-page .gb-pick-group .gb-pick-list {
    padding: 0 14px 8px;
}

.gb-pick-page .gb-pick-list {
    display: flex;
    flex-direction: column;
}

.gb-pick-page .gb-pick-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 0;
    padding: 4px 2px;
    border: 0;
    border-bottom: 1px solid #E7F3F0;
    border-radius: 0;
    background: transparent;
    color: #2B2B2B;
    font-size: 14px;
    cursor: pointer;
}

.gb-pick-page .gb-pick-list > .gb-pick-row:last-child {
    border-bottom: 0;
}

.gb-pick-page .gb-pick-row.is-on {
    background: #F4FBF9;
}

.gb-pick-page .gb-pick-row.is-exist {
    cursor: default;
}

.gb-pick-page .gb-pick-exist-table {
    display: flex;
    flex-direction: column;
}

.gb-pick-page .gb-pick-exist-head,
.gb-pick-page .gb-pick-exist-table .gb-pick-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 28px;
    align-items: center;
    gap: 4px;
}

.gb-pick-page .gb-pick-exist-head {
    padding: 4px 4px 8px;
    color: #256F66;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #D5E8E3;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-row {
    min-height: 38px;
    padding: 4px;
    border-bottom: 1px solid #E7F3F0;
    border-radius: 6px;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-idx {
    color: #2B2B2B;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-name,
.gb-pick-page .gb-pick-exist-table .gb-pick-kind,
.gb-pick-page .gb-pick-exist-table .gb-pick-gtag {
    flex: none;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-row:hover {
    filter: brightness(0.93);
}

.gb-pick-page .gb-pick-exist-table .gb-pick-row.is-g-m {
    background: #DDF4ED;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-row.is-g-f {
    background: #F8E8EC;
}

.gb-pick-page .gb-pick-exist-table .gb-pick-row.is-g-mix {
    background: #E8EAF6;
}


.gb-pick-page .gb-pick-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.gb-pick-page .gb-pick-name {
    flex: 1 1 auto;
    min-width: 0;
}

.gb-pick-page .gb-pick-gtag {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1;
    color: #6B8F88;
}

.gb-pick-page .gb-pick-chk {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2A847C;
    flex: 0 0 auto;
}

.gb-pick-page .gb-pick-x,
.gb-pick-page .gb-lib-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1A544E;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
}

.gb-pick-page .gb-pick-x:hover,
.gb-pick-page .gb-lib-act:hover {
    background: #F3FAF8;
    color: #256F66;
    opacity: 1;
}

.gb-pick-page .gb-lib-chip.is-picked,
.gb-pick-page .gb-pick-pane[data-pane="library"] .gb-pick-group.is-empty {
    display: none;
}

.gb-pick-page .gb-lib-create {
    margin-top: 8px;
    border: 1px solid #D5E8E3;
    border-radius: 12px;
    background: #F3FAF8;
    box-shadow: none;
}

.gb-pick-page .gb-lib-create-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #256F66;
}

.gb-pick-page .gb-lib-create-tip {
    color: #6B8F88;
}

.gb-pick-page .gb-lib-k {
    color: #2B2B2B;
}

.gb-pick-page .gb-lib-field .input,
.gb-pick-page .gb-lib-field #gb-lib-name {
    border: 1px solid #D5E8E3;
    border-radius: 10px;
    background: #fff;
}

.gb-pick-page .gb-lib-radios label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.gb-pick-page .gb-lib-radios input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid #2A847C;
    border-radius: 3px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.gb-pick-page .gb-lib-radios input[type="radio"]::before {
    content: "";
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    margin-top: -2px;
}

.gb-pick-page .gb-lib-radios input[type="radio"]:checked {
    background: #2A847C;
    border-color: #2A847C;
}

.gb-pick-page .gb-lib-radios input[type="radio"]:checked::before {
    transform: rotate(45deg) scale(1);
}

.gb-pick-page .gb-pick-board {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    column-gap: 16px;
    row-gap: 16px;
    align-items: start;
}

.gb-pick-page #gb-pick-form,
.gb-pick-page .gb-pick-split,
.gb-pick-page .gb-pick-tail {
    display: contents;
}

.gb-pick-page .gb-pick-side {
    grid-column: 1;
    grid-row: 1 / span 4;
}

.gb-pick-page .gb-pick-main {
    grid-column: 2;
    grid-row: 1;
}

.gb-pick-page #gb-lib-create {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
}

.gb-pick-page .gb-pick-footer {
    grid-column: 2;
    grid-row: 3;
}

.gb-pick-page .gb-pick-side {
    position: sticky;
    top: 12px;
}

.gb-pick-page .gb-pick-side .gb-pick-box-exist {
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.gb-pick-page .gb-pick-exist-tip {
    flex: 1 1 100%;
    margin-left: 0;
}

.gb-pick-page .gb-pick-footer {
    margin-top: 16px;
}

@media (max-width: 960px) {
    .gb-pick-page .gb-pick-board {
        grid-template-columns: 1fr;
    }

    .gb-pick-page .gb-pick-side,
    .gb-pick-page .gb-pick-main,
    .gb-pick-page #gb-lib-create,
    .gb-pick-page .gb-pick-footer {
        grid-column: 1;
        grid-row: auto;
    }

    .gb-pick-page .gb-pick-side {
        position: static;
    }

    .gb-pick-page .gb-pick-side .gb-pick-box-exist {
        max-height: none;
    }
}

.gb-admin-app .gb-pick-page .btn.gb-pick-commit,
.gb-pick-page .btn.gb-pick-commit {
    position: fixed;
    right: 24px;
    bottom: 76px;
    z-index: 40;
    height: 40px;
    min-height: 40px;
    padding: 0 18px;
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    box-shadow: 0 6px 16px rgba(66, 181, 154, 0.28) !important;
    font-weight: 600;
}

.gb-admin-app .gb-pick-page .btn.gb-pick-commit:hover,
.gb-admin-app .gb-pick-page .btn.gb-pick-commit:focus,
.gb-pick-page .btn.gb-pick-commit:hover,
.gb-pick-page .btn.gb-pick-commit:focus {
    background: #217066 !important;
    color: #fff !important;
    border-color: #217066 !important;
}

/* 限报规则管理：上下通栏 */
.gb-mg-page.card,
.gb-admin-app .gb-mg-page.card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.gb-mg-page .gb-subpage-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2B2B2B;
}

.gb-mg-page .gb-mg-block {
    margin: 0 0 16px;
    padding: 16px 18px 14px;
    background: #F3FAF8;
    border: 1px solid #E4F2EE;
    border-radius: 12px;
    box-shadow: none;
}

.gb-mg-page .gb-mg-block.gb-mg-events-wrap {
    overflow: visible;
    background: #F3FAF8;
    border: 1px solid #E4F2EE;
}

.gb-mg-page .gb-mg-defaults {
    padding-bottom: 18px;
    border-bottom: 1px solid #E6E6E6;
}

.gb-mg-page .gb-mg-block-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #256F66;
}

.gb-mg-page .gb-mg-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.gb-mg-page .gb-mg-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
}

.gb-mg-page .gb-mg-field > span {
    font-size: 13px;
    color: #2B2B2B;
    text-align: left;
}

.gb-mg-page .gb-mg-field .input {
    width: 100%;
    height: 40px;
    border: 1px solid #D5E8E3;
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
}

.gb-mg-page .gb-mg-hint,
.gb-mg-page .gb-mg-hint-check {
    margin: 12px 0 0;
    font-size: 13px;
    color: #6B8F88;
}

.gb-mg-page .gb-mg-hint-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gb-mg-page .gb-mg-block-actions,
.gb-mg-page .gb-mg-page-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.gb-mg-page .gb-mg-events-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.gb-mg-page .gb-mg-lead {
    margin: 0;
    max-width: 640px;
    font-size: 13px;
    line-height: 1.6;
    color: #6B8F88;
}

.gb-mg-page .gb-mg-count {
    font-weight: 400;
    color: #6B8F88;
}

.gb-mg-page .gb-mg-events-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gb-mg-page .gb-mg-events-table-wrap {
    overflow: auto;
    border: 1px solid #E7F3F0;
    border-radius: 10px;
}

.gb-mg-page .gb-mg-events-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gb-mg-page .gb-mg-events-table th,
.gb-mg-page .gb-mg-events-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #EEF4F2;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.gb-mg-page .gb-mg-events-table thead th {
    background: #fff;
    color: #6B8F88;
    font-weight: 600;
    border-bottom: 1px solid #D5E8E3;
}

.gb-mg-page .gb-mg-events-table tbody tr:nth-child(even) {
    background: #F7FBFA;
}

.gb-mg-page .gb-mg-events-table tbody tr:hover {
    background: #F3FAF8;
}

.gb-mg-page .gb-mg-events-table .input {
    width: 100%;
    min-width: 0;
    height: 34px;
    border: 1px solid #D5E8E3;
    border-radius: 8px;
    background: #fff;
}

.gb-mg-page .gb-mg-col-check {
    width: 36px;
    text-align: center;
}

.gb-mg-page .gb-mg-type,
.gb-mg-page .gb-mg-group {
    color: #2B2B2B;
}

.gb-mg-page .gb-mg-del-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #C45C5C;
    cursor: pointer;
}

.gb-mg-page .gb-mg-del-row:hover {
    background: #FDECEC;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-commit,
.gb-mg-page .btn.gb-mg-commit {
    height: 40px;
    padding: 0 18px;
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-commit:hover,
.gb-mg-page .btn.gb-mg-commit:hover {
    background: #217066 !important;
    border-color: #217066 !important;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-outline,
.gb-mg-page .btn.gb-mg-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-outline:hover,
.gb-mg-page .btn.gb-mg-outline:hover {
    background: #f0f9f6 !important;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-danger,
.gb-mg-page .btn.gb-mg-danger {
    height: 36px;
    padding: 0 14px;
    background: #fff !important;
    color: #C45C5C !important;
    border: 1.5px solid #E3A3A3 !important;
    border-radius: 6px !important;
}

.gb-admin-app .gb-mg-page .btn.gb-mg-danger:hover,
.gb-mg-page .btn.gb-mg-danger:hover {
    background: #FDECEC !important;
}

@media (max-width: 960px) {
    .gb-mg-page .gb-mg-events-head {
        flex-direction: column;
    }
}

.gb-mg-page .gb-mg-block {
    background: #F3FAF8;
}
.gb-mg-page .gb-mg-block.gb-mg-events-wrap {
    overflow: visible !important;
    background: #F3FAF8 !important;
    border: 1px solid #E4F2EE !important;
    box-shadow: none !important;
}
.gb-mg-page .gb-mg-defaults {
    padding-bottom: 16px;
    border-bottom: none;
    margin-bottom: 0;
}
.gb-mg-page .gb-mg-events-head {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    align-items: flex-start !important;
}
.gb-mg-page .gb-mg-events-head h3 {
    color: #256F66;
    background: transparent;
}
.gb-mg-page .gb-mg-events-table-wrap {
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #E7F3F0 !important;
    border-radius: 10px !important;
}
.gb-mg-page .gb-mg-events-table th,
.gb-mg-page .gb-mg-events-table td {
    text-align: left !important;
    width: auto !important;
    min-width: 0 !important;
}
.gb-mg-page .gb-mg-events-table thead th {
    background: #fff !important;
    color: #6B8F88 !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #D5E8E3 !important;
}
.gb-mg-page .gb-mg-events-table tbody td {
    background: transparent !important;
    font-size: 13px !important;
}
.gb-mg-page .gb-mg-events-table tbody tr.gb-mg-ev-row {
    background: #fff;
}
.gb-mg-page .gb-mg-events-table tbody tr.gb-mg-ev-row:nth-child(even) {
    background: #F7FBFA;
}
.gb-mg-page .gb-mg-events-table .gb-mg-ev-name,
.gb-mg-page .gb-mg-events-table .gb-mg-score,
.gb-mg-page .gb-mg-events-table td .input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 34px !important;
    border: 1px solid #D5E8E3 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.gb-mg-page .gb-mg-field .input,
.gb-mg-page .gb-mg-field select.input,
.gb-mg-page #gb-mg-batch-max-signup,
.gb-mg-page #gb-mg-batch-rank,
.gb-mg-page #gb-mg-custom-rule,
.gb-mg-page #gb-mg-batch-score-sel,
.gb-mg-page #gb-mg-collective-sel {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid #D5E8E3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #2B2B2B !important;
    box-shadow: none !important;
    outline: none !important;
}
.gb-mg-page #gb-mg-batch-max-signup:focus,
.gb-mg-page #gb-mg-batch-rank:focus,
.gb-mg-page #gb-mg-custom-rule:focus,
.gb-mg-page .gb-mg-field .input:focus {
    border-color: #2A847C !important;
    box-shadow: none !important;
}
.gb-mg-page .gb-mg-sort,
.gb-mg-page .gb-mg-small {
    width: 88px !important;
    min-width: 72px !important;
    text-align: left;
}
.gb-admin-app .gb-mg-page #gb-mg-apply-batch,
.gb-mg-page #gb-mg-apply-batch {
    width: auto !important;
    min-width: 108px;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 18px !important;
    background: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    box-shadow: none !important;
}
.gb-admin-app .gb-mg-page #gb-mg-apply-batch:hover,
.gb-mg-page #gb-mg-apply-batch:hover {
    background: #217066 !important;
    border-color: #217066 !important;
}
.gb-admin-app .gb-mg-page #gb-mg-del-selected,
.gb-mg-page #gb-mg-del-selected {
    background: #fff !important;
    color: #C45C5C !important;
    border: 1.5px solid #E3A3A3 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.gb-admin-app .gb-mg-page #gb-mg-del-selected:hover,
.gb-mg-page #gb-mg-del-selected:hover {
    background: #FDECEC !important;
}
.gb-admin-app .gb-mg-page #gb-mg-sort-selected,
.gb-admin-app .gb-mg-page #gb-mg-add-row,
.gb-mg-page #gb-mg-sort-selected,
.gb-mg-page #gb-mg-add-row {
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
.gb-admin-app .gb-mg-page #gb-mg-sort-selected:hover,
.gb-admin-app .gb-mg-page #gb-mg-add-row:hover,
.gb-mg-page #gb-mg-sort-selected:hover,
.gb-mg-page #gb-mg-add-row:hover {
    background: #f0f9f6 !important;
}
.gb-mg-page .gb-mg-events-toolbar .btn {
    border-radius: 6px !important;
    min-height: 36px !important;
    font-weight: 600 !important;
}
.gb-mg-page .gb-mg-del-row {
    background: transparent !important;
    border: 0 !important;
    color: #C45C5C !important;
    box-shadow: none !important;
    min-width: 28px;
    min-height: 28px;
}
.gb-mg-page .gb-mg-del-row:hover {
    background: #FDECEC !important;
    border: 0 !important;
}


.gb-mg-page .gb-mg-settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin: 0 0 16px;
}
.gb-mg-page .gb-mg-settings-row > .gb-mg-block {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.gb-mg-page .gb-mg-settings-row .gb-mg-fields {
    max-width: none;
    flex: 1 1 auto;
}
.gb-mg-page .gb-mg-settings-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}
.gb-admin-app .gb-mg-page .gb-mg-settings-actions #gb-mg-apply-batch,
.gb-mg-page .gb-mg-settings-actions #gb-mg-apply-batch {
    width: auto !important;
}
@media (max-width: 960px) {
    .gb-mg-page .gb-mg-settings-row {
        grid-template-columns: 1fr;
    }
}

.gb-mg-page .gb-mg-field[hidden],
.gb-mg-page #gb-mg-custom-rule-wrap[hidden] {
    display: none !important;
}

.gb-mg-page .gb-mg-name-text,
.gb-mg-page .gb-mg-gender-text,
.gb-mg-page .gb-mg-collective-text,
.gb-mg-page .gb-mg-type,
.gb-mg-page .gb-mg-group {
    display: inline-block;
    color: #2B2B2B;
    font-size: 13px;
    line-height: 34px;
    white-space: nowrap;
}
.gb-mg-page .gb-mg-events-table td:nth-child(2),
.gb-mg-page .gb-mg-events-table th:nth-child(2),
.gb-mg-page .gb-mg-events-table td:nth-child(6),
.gb-mg-page .gb-mg-events-table th:nth-child(6),
.gb-mg-page .gb-mg-events-table td:nth-child(7),
.gb-mg-page .gb-mg-events-table th:nth-child(7) {
    text-align: left !important;
}
.gb-mg-page .gb-mg-events-table .input.gb-mg-num,
.gb-mg-page .gb-mg-events-table .gb-mg-max-signup,
.gb-mg-page .gb-mg-events-table .gb-mg-award-rank {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    padding: 4px 8px !important;
    text-align: left !important;
}


.gb-mg-page .gb-mg-events-table .gb-mg-score,
.gb-mg-page .gb-mg-events-table td .input.gb-mg-score {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
    padding: 4px 8px !important;
}
.gb-mg-page .gb-mg-events-table th:nth-child(9),
.gb-mg-page .gb-mg-events-table td:nth-child(9) {
    text-align: center !important;
}
.gb-mg-page .gb-mg-collective-text {
    display: block;
    text-align: center;
    width: 100%;
}


.gb-mg-page .gb-mg-targets .gb-mg-target-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}
.gb-mg-page .gb-mg-target-item,
.gb-mg-page .gb-mg-target-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2B2B2B;
}
.gb-mg-page .gb-mg-target-all {
    font-weight: 600;
    color: #256F66;
    margin-right: 8px;
}


.gb-lim-page .meet-basic-form.gb-lim-form,
.gb-admin-app .gb-lim-page .meet-basic-form.gb-lim-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
    .gb-lim-page .meet-basic-form.gb-lim-form,
    .gb-admin-app .gb-lim-page .meet-basic-form.gb-lim-form {
        display: flex;
        flex-direction: column;
        grid-template-columns: minmax(0, 1fr);
    }
}
.gb-lim-page .gb-lim-settings-row,
.gb-admin-app .gb-lim-page .gb-lim-settings-row {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    overflow: visible;
}
.gb-lim-page .gb-lim-settings-row > .gb-lim-block,
.gb-admin-app .gb-lim-page .gb-lim-settings-row > .gb-lim-block {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    grid-column: auto;
    height: auto;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-score-sel {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-custom {
    width: 100%;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-table-wrap {
    overflow: visible;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-table th,
.gb-lim-page .gb-lim-settings-row .gb-lim-table td {
    padding: 8px 4px;
    text-align: center;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-table thead th {
    color: #111;
    font-weight: 700;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-table th:first-child,
.gb-lim-page .gb-lim-settings-row .gb-lim-table td:first-child {
    text-align: left;
    padding-left: 6px;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-suffix {
    justify-content: center;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-suffix .input {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    padding: 0 2px;
    text-align: center;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-suffix em {
    min-width: 20px;
    padding: 0 4px;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-num {
    -moz-appearance: textfield;
    appearance: textfield;
}
.gb-lim-page .gb-lim-settings-row .gb-lim-num::-webkit-outer-spin-button,
.gb-lim-page .gb-lim-settings-row .gb-lim-num::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 900px) {
    .gb-lim-page .gb-lim-settings-row,
    .gb-admin-app .gb-lim-page .gb-lim-settings-row {
        flex-direction: column;
    }
}
.gb-lim-page .gb-lim-settings-row > .gb-lim-block {
    padding: 16px 12px 16px;
    overflow: visible;
}
.gb-lim-page .gb-lim-settings-row > .gb-lim-block:first-child {
    z-index: 3;
}
.gb-lim-page .gb-lim-block {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 18px 20px 20px;
    background: #fff;
    border: 1px solid #E8EEF0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(20, 40, 36, 0.04);
}
.gb-lim-page .gb-lim-block-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 14px;
}
.gb-lim-page .gb-lim-block-head > div {
    width: 100%;
}
.gb-lim-page .gb-lim-block-hint {
    margin: 0;
    max-width: none;
    width: 100%;
    font-size: 12px;
    line-height: 1.55;
    color: #7A8B87;
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: justify;
}
.gb-lim-page .gb-lim-th-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}
.gb-lim-page .gb-lim-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.gb-lim-page button.gb-lim-help-btn {
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    min-width: 16px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.2px solid #2A847C !important;
    background: #fff !important;
    color: #2A847C !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    box-shadow: none !important;
}
.gb-lim-page .gb-lim-help-pop {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    bottom: auto;
    z-index: 80;
    width: 228px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #D5E8E3;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(20, 40, 36, 0.14);
    color: #3A4A47;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    white-space: normal;
}
.gb-lim-page .gb-lim-table thead th:nth-last-child(-n+2) .gb-lim-help-pop {
    left: auto;
    right: 0;
}
.gb-lim-page .gb-lim-help:hover .gb-lim-help-pop,
.gb-lim-page .gb-lim-help:focus-within .gb-lim-help-pop {
    display: block;
}
.gb-lim-page .gb-lim-block-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #1F2A2A;
}
.gb-lim-page .gb-lim-block-title .gb-lim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2A847C;
    box-shadow: 0 0 0 3px rgba(66, 181, 154, 0.16);
    flex-shrink: 0;
}
.gb-lim-page .gb-lim-block-desc {
    margin: 0;
    font-size: 12px;
    color: #8A9B97;
    line-height: 1.5;
}
.gb-lim-page .gb-lim-block-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.gb-lim-page .gb-lim-apply-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2B2B2B;
    white-space: nowrap;
}
.gb-lim-page .gb-lim-table-wrap {
    overflow: auto;
}
.gb-lim-page .gb-lim-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    table-layout: auto;
}
.gb-lim-page .gb-lim-table th,
.gb-lim-page .gb-lim-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #F0F3F2;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}
.gb-lim-page .gb-lim-table thead th {
    background: #fff;
    color: #6B7A78;
    font-weight: 600;
    border-bottom: 1px solid #E6EDEC;
}
.gb-lim-page .gb-lim-table thead th > span:not(.gb-lim-th-main):not(.gb-lim-th-award-row) {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 400;
    color: #A0A8A6;
}
.gb-lim-page .gb-lim-table thead th .gb-lim-th-main {
    margin-top: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.gb-lim-page .gb-lim-table tbody tr:hover {
    background: #F8FBFA;
}
.gb-lim-page .gb-lim-name {
    font-weight: 600;
    color: #2B2B2B;
    white-space: nowrap;
    overflow: visible;
}
.gb-lim-page .gb-lim-name-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}
.gb-lim-page .gb-lim-name-main,
.gb-lim-page .gb-lim-name-sub {
    display: block;
    width: max-content;
    max-width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
}
.gb-lim-page .gb-lim-name-sub {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: #9aa6a3;
    line-height: 1.3;
}
.gb-lim-page .gb-lim-name-hang {
    display: inline-block;
    width: 0;
    overflow: visible;
    transform: translateX(-1em);
}
.gb-lim-page .gb-lim-table .input {
    height: 36px;
    border: 1px solid #D5E8E3;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}
.gb-lim-page .gb-lim-score-sel {
    min-width: 248px;
    width: 100%;
    max-width: 320px;
}
.gb-lim-page .gb-lim-mult-sel {
    min-width: 96px;
}
.gb-lim-page .gb-lim-custom {
    display: block;
    margin-top: 6px;
    width: 268px;
    max-width: 100%;
}
.gb-lim-page .gb-lim-custom[hidden] {
    display: none !important;
}
.gb-lim-page .gb-lim-suffix {
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.gb-lim-page .gb-lim-suffix .input {
    width: 72px;
    border-radius: 8px 0 0 8px;
    text-align: left;
}
.gb-lim-page .gb-lim-suffix em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 28px;
    padding: 0 8px;
    border: 1px solid #D5E8E3;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #F3FAF8;
    color: #5C7A74;
    font-style: normal;
    font-size: 12px;
}
@media (max-width: 960px) {
    .gb-lim-page .gb-lim-block-head {
        flex-direction: column;
    }
    .gb-lim-page .gb-lim-block-hint {
        max-width: none;
        text-align: justify;
        text-align-last: justify;
    }
}
.gb-lim-page .gb-lim-events-block {
    margin-top: 0;
}
.gb-lim-page .gb-lim-ev-table thead th {
    color: #1A2220;
    font-weight: 700;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-col-center {
    text-align: center;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-pill {
    font-weight: 700;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--track,
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--male,
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--yes {
    color: #123833;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--field,
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--mix,
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--no {
    color: #1F2A2A;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--relay {
    color: #7A4308;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-pill--female {
    color: #8B2424;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-col-center .input {
    margin: 0 auto;
    text-align: center;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-ev-award {
    width: 72px;
    text-align: center;
}
.gb-lim-page .gb-lim-ev-table thead th.gb-lim-th-award,
.gb-lim-page .gb-lim-ev-table .gb-lim-th-award-row {
    color: #1A2220;
    font-weight: 700;
}
.gb-lim-page .gb-lim-th-award-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0;
    font-size: inherit;
}
.gb-lim-page button.gb-lim-award-fill {
    border: 1px solid #9ec9bf;
    background: #e8f6f1;
    color: #0f766e;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
}
.gb-lim-page button.gb-lim-award-fill:hover {
    background: #d5efe8;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-coll-sel {
    width: 4.5rem;
    min-width: 4.5rem;
    height: 32px;
    padding: 0 8px;
    text-align: center;
    font-weight: 700;
}
.gb-lim-page .gb-lim-ev-table .gb-lim-ev-score {
    width: 248px;
    max-width: 100%;
}
.gb-lim-page .gb-lim-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}
.gb-lim-page .gb-lim-tab,
.gb-lim-page button.gb-lim-tab {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center;
    gap: 4px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #D5E8E3;
    border-radius: 999px;
    background: #fff;
    color: #4A5F5B;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}
.gb-lim-page .gb-lim-tab em {
    display: inline !important;
    margin: 0;
    font-style: normal;
    color: #8A9B97;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}
.gb-lim-page .gb-lim-tab.is-on {
    background: #2A847C;
    border-color: #2A847C;
    color: #fff;
}
.gb-lim-page .gb-lim-tab.is-on em {
    color: rgba(255, 255, 255, 0.85);
}
.gb-lim-page .gb-lim-ev-panel {
    display: none;
}
.gb-lim-page .gb-lim-ev-panel.is-on {
    display: block;
}
.gb-lim-page .gb-lim-ev-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin-bottom: 0;
    background: #F3FAF8;
    border: 1px solid #E7F3F0;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    color: #256F66;
    font-size: 14px;
}
.gb-lim-page .gb-lim-ev-panel-head span {
    color: #6B8F88;
    font-size: 13px;
}
.gb-lim-page .gb-lim-ev-panel .gb-lim-table-wrap {
    border: 1px solid #E7F3F0;
    border-radius: 0 0 10px 10px;
}
.gb-lim-page .gb-lim-ev-empty {
    margin: 0;
    padding: 18px 12px;
    border: 1px solid #E7F3F0;
    border-radius: 0 0 10px 10px;
    color: #8A9B97;
    font-size: 13px;
}
.gb-lim-page .gb-lim-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}
.gb-lim-page .gb-lim-pill--track,
.gb-lim-page .gb-lim-pill--male,
.gb-lim-page .gb-lim-pill--yes {
    background: #E8F7F3;
    color: #256F66;
}
.gb-lim-page .gb-lim-pill--field,
.gb-lim-page .gb-lim-pill--mix,
.gb-lim-page .gb-lim-pill--no {
    background: #F2F4F4;
    color: #5C7A74;
}
.gb-lim-page .gb-lim-pill--relay {
    background: #FFF4E5;
    color: #B56A1B;
}
.gb-lim-page .gb-lim-pill--female {
    background: #FDECEC;
    color: #C24B4B;
}

.gb-admin-app .gb-admin-inner:has(.mr-rules-form),
.page-admin-shell.admin-shell-has-topnav .gb-admin-main:has(.mr-rules-form) {
    background: #fff;
}
.mr-rules-form {
    gap: 0;
    background: #fff;
    padding: 8px 8px 28px;
}
.mr-rules-form .mr-block {
    margin: 0 0 16px;
    padding: 18px 20px 20px;
    background: #fff;
    border: 1px solid #E8EEF0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(20, 40, 36, 0.04);
}
.mr-rules-form .mr-block-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #2B2B2B;
}
.mr-rules-form .mr-block-body {
    padding: 0;
}
.mr-rules-form .mr-module-stack {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    margin-top: 0;
}
.mr-rules-form .mr-module {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 18px 20px 20px;
    background: #fff;
    border: 1px solid #E8EEF0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(20, 40, 36, 0.04);
}
.mr-rules-form .mr-module .mr-block-title {
    margin-bottom: 14px;
}
.mr-rules-form .mr-unit-overview-card,
.mr-rules-form .mr-unit-overview-card--accent {
    background: #F4F6F7 !important;
    border: none !important;
    box-shadow: none;
}
.mr-rules-form .mr-unit-overview-label,
.mr-rules-form .mr-sess-limit-hint,
.mr-rules-form .mr-hint,
.mr-rules-form .mr-field-row label span {
    color: #8A9399;
}
.mr-rules-form .mr-unit-overview-main,
.mr-rules-form .mr-unit-overview-days,
.mr-rules-form .mr-unit-overview-total {
    color: #2B2B2B !important;
}
.mr-rules-form .table-card {
    background: transparent;
    border: none !important;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.mr-rules-form .mr-sessions-table th {
    color: #6B7280 !important;
    background: #F7F8F9 !important;
    border-bottom: 1px solid #E6E8EA !important;
}
.mr-rules-form .mr-sessions-table td {
    border-bottom-color: #F0F2F4;
    background: #fff;
}
.mr-rules-form .mr-badge {
    background: #F4F6F7;
    border: 1px solid #E6E8EA;
    color: #4B5563;
}
.mr-rules-form input[type="text"],
.mr-rules-form input[type="time"],
.mr-rules-form input[type="number"] {
    background: #fff !important;
    border: 1px solid #D9DEE3 !important;
    color: #2B2B2B;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}
.mr-rules-form .mr-sessions-table input[type="time"],
.mr-rules-form .mr-sessions-table input[type="text"] {
    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
}
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-datetime-edit,
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-datetime-edit-fields-wrapper,
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-datetime-edit-text,
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-datetime-edit-hour-field,
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-datetime-edit-minute-field,
.mr-rules-form .mr-sessions-table input[type="time"]::-webkit-calendar-picker-indicator {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #2B2B2B;
}
.mr-rules-form .mr-btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 22px;
    border: 1.5px solid #2A847C;
    border-radius: 999px;
    background: #fff;
    color: #2A847C;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
}
.mr-rules-form .mr-btn-add:hover,
.mr-rules-form .mr-btn-add:focus {
    background: #f0f9f6;
    color: #2A847C;
    border-color: #2A847C;
    filter: none;
}
.mr-rules-form .mr-btn-add-plus {
    display: inline-flex;
    color: inherit;
}
.mr-rules-form .mr-btn-add-plus svg {
    display: block;
    width: 16px;
    height: 16px;
}
.mr-rules-form .mr-sess-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #C45C5C;
    cursor: pointer;
    box-shadow: none;
}
.mr-rules-form .mr-sess-del:hover {
    background: #FDECEC;
    color: #B42318;
}
.mr-rules-form .mr-sess-del svg {
    display: block;
    width: 16px;
    height: 16px;
}
.mr-rules-form .mr-minus1-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mr-rules-form .mr-hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}
.mr-rules-form .mr-rule-fold {
    margin-top: 12px;
}
.mr-rules-form .mr-rule-fold summary {
    width: fit-content;
    color: #6B7280;
    font-size: 13px;
    cursor: pointer;
}
.mr-rules-form .mr-rule-fold-body {
    margin-top: 8px;
    padding: 10px 12px;
    background: #F7F8F9;
    border-radius: 8px;
}
.mr-rules-form .mr-rule-fold-body p {
    margin: 0 0 6px;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.6;
}
.mr-rules-form .mr-rule-fold-body p:last-child {
    margin-bottom: 0;
}
.mr-rules-form .mr-form-actions {
    padding-top: 8px;
}
.mr-rules-form .mr-module-grade {
    width: 100%;
    margin-top: 16px;
    box-sizing: border-box;
}
.mr-rules-form .mr-grade-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.mr-rules-form .mr-grade-head .mr-block-title {
    margin-bottom: 0;
}
.mr-rules-form .mr-grade-std-btn {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #2A847C;
    border-radius: 8px;
    background: #fff;
    color: #2A847C;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.mr-rules-form .mr-grade-std-btn:hover,
.mr-rules-form .mr-grade-std-btn:focus {
    background: #F0F9F6;
    color: #1F655E;
    border-color: #1F655E;
}
.mr-grade-std[hidden] {
    display: none;
}
.mr-grade-std {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 16px 24px;
    box-sizing: border-box;
}
.mr-grade-std-mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 28, 0.45);
}
.mr-grade-std-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - 96px);
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(17, 24, 28, 0.2);
    overflow: hidden;
}
.mr-grade-std-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 8px;
}
.mr-grade-std-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}
.mr-grade-std-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.mr-grade-std-close:hover {
    background: #F4F6F7;
}
.mr-grade-std-tabs {
    display: flex;
    gap: 8px;
    padding: 0 18px 10px;
}
.mr-grade-std-tab {
    height: 32px;
    padding: 0 16px;
    border: 1px solid #C5D5D3;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.mr-grade-std-tab.is-on {
    background: #2A847C;
    border-color: #2A847C;
    color: #fff;
}
.mr-grade-std-note {
    margin: 0 18px 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}
.mr-grade-std-body {
    overflow: auto;
    padding: 0 18px 18px;
}
.mr-grade-std-pane {
    display: none;
}
.mr-grade-std-pane.is-on {
    display: block;
}
.mr-grade-std-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #111;
}
.mr-grade-std-table th,
.mr-grade-std-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #E8EEF0;
    text-align: center;
    white-space: nowrap;
}
.mr-grade-std-table th {
    position: sticky;
    top: 0;
    background: #F7F8F9;
    color: #333;
    font-weight: 700;
}
.mr-grade-std-table td.mr-grade-std-event {
    text-align: left;
    font-weight: 600;
}
.mr-rules-form .mr-grade-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
    margin-top: 14px;
}
.mr-rules-form .mr-grade-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
}
.mr-rules-form .mr-grade-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #2B2B2B;
}
.mr-rules-form .mr-grade-table th,
.mr-rules-form .mr-grade-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #E8EEF0;
    text-align: center;
    font-weight: 500;
}
.mr-rules-form .mr-grade-table thead th {
    background: #F7F8F9;
    color: #333;
    font-weight: 700;
}
.mr-rules-form .mr-grade-table tbody th {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.mr-rules-form .mr-grade-table input[type="number"] {
    width: 72px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    text-align: center;
}
.mr-rules-form .mr-grade-table .mr-grade-unit {
    margin-left: 4px;
}
.mr-rules-form .mr-grade-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
}
.mr-rules-form .mr-grade-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #2B2B2B;
    font-size: 14px;
    line-height: 1.4;
}
.mr-rules-form .mr-grade-row input[type="number"] {
    width: 88px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    text-align: center;
    flex: 0 0 auto;
}
.mr-rules-form .mr-grade-unit {
    color: #8A9399;
    font-size: 13px;
    flex: 0 0 auto;
}
.mr-rules-form .mr-grade-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    background: #F7F8F9;
    border-radius: 8px;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .mr-rules-form .mr-module-stack {
        flex-direction: column;
    }
    .mr-rules-form .mr-minus1-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .mr-rules-form .mr-grade-list {
        grid-template-columns: 1fr;
    }
}

.gb-admin-app .meets-page-title,
.gb-admin-app .gb-panel-title,
.gb-admin-app .gb-subpage-title,
.gb-admin-app .rm-page-title,
.gb-admin-app .mgr-title,
.gb-admin-app .pm-page-title,
.gb-admin-app .pm-arr-flowboard__title,
.gb-admin-app .pm-arr-workflow-title,
.gb-admin-app .mrb-title,
.gb-admin-app .mr-page-title {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #2B2B2B !important;
    line-height: 1.3;
}
.gb-admin-app .mr-page-title {
    margin: 0 0 16px;
}

.gb-admin-app .mgr-tabs.card,
.gb-admin-app .mgr-tabs {
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.gb-admin-app .mgr-tab-nav {
    flex: 0 0 auto;
}
.gb-admin-app .mgr-tab-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
    padding: 6px 12px 6px 0;
}
.gb-admin-app .mgr-tab-stats .pm-stat-card {
    padding: 6px 10px;
    gap: 8px;
    border: none;
    box-shadow: none;
    background: transparent;
}
.gb-admin-app .mgr-tab-stats .pm-stat-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
}
.gb-admin-app .mgr-tab-stats .pm-stat-icon svg {
    width: 16px;
    height: 16px;
}
.gb-admin-app .mgr-tab-stats .pm-stat-body strong {
    font-size: 16px;
    line-height: 1.2;
}
.gb-admin-app .mgr-tab-stats .pm-stat-body span {
    font-size: 12px;
}

.gb-admin-app .pm-staff-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.gb-admin-app .pm-staff-head .mr-page-title {
    margin: 0;
}
.gb-admin-app .pm-staff-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}
.gb-admin-app .pm-staff-stats .pm-stat-card {
    padding: 6px 10px;
    gap: 8px;
    border: none;
    box-shadow: none;
    background: transparent;
}
.gb-admin-app .pm-staff-stats .pm-stat-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
    font-size: 16px;
}
.gb-admin-app .pm-staff-stats .pm-stat-icon svg {
    width: 16px;
    height: 16px;
}
.gb-admin-app .pm-staff-stats .pm-stat-body strong {
    font-size: 16px;
    line-height: 1.2;
}
.gb-admin-app .pm-staff-stats .pm-stat-body span {
    font-size: 12px;
}

.gb-admin-app .pm-staff-folds {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gb-admin-app .pm-staff-fold {
    border: 1px solid #E6E8EA;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.gb-admin-app .pm-staff-fold-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    color: #2B2B2B;
    user-select: none;
}
.gb-admin-app .pm-staff-fold-sum::-webkit-details-marker,
.gb-admin-app .pm-staff-fold-sum::marker {
    display: none;
    content: none;
}
.gb-admin-app .pm-staff-fold-sum::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #2A847C;
    margin-left: 8px;
}
.gb-admin-app .pm-staff-fold[open] > .pm-staff-fold-sum::after {
    transform: rotate(180deg);
}
.gb-admin-app .pm-staff-fold-n {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: #667070;
}
.gb-admin-app .pm-staff-fold .table-card {
    margin: 0;
    border: none;
    border-top: 1px solid #E6E8EA;
    box-shadow: none;
}
.gb-admin-app .mgr-tab-nav {
    overflow: visible;
    position: relative;
}
.gb-admin-app .mgr-tab-fold {
    position: relative;
    display: inline-flex;
}
.gb-admin-app .mgr-tab-fold > summary.mgr-tab {
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.gb-admin-app .mgr-tab-fold > summary.mgr-tab::-webkit-details-marker,
.gb-admin-app .mgr-tab-fold > summary.mgr-tab::marker {
    display: none;
    content: none;
}
.gb-admin-app .mgr-tab-fold > summary.mgr-tab::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: 2px;
}
.gb-admin-app .mgr-tab-fold-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 60;
    min-width: 200px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #E6E8EA;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.1);
}
.gb-admin-app .mgr-tab-fold-panel a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    color: #2B2B2B;
    text-decoration: none;
    line-height: 1.4;
}
.gb-admin-app .mgr-tab-fold-group {
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid #F3F4F6;
}
.gb-admin-app .mgr-tab-fold-label {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 400;
    color: #2B2B2B;
    line-height: 1.4;
}
.gb-admin-app .mgr-tab-fold-label.is-on {
    color: #2B2B2B;
}
.gb-admin-app .mgr-tab-fold-group a {
    padding-left: 24px;
}
.gb-admin-app .mgr-tab-fold-no {
    display: inline-block;
    min-width: 1.4em;
    margin-right: 2px;
}
.gb-admin-app .mgr-tab-fold-panel a:hover,
.gb-admin-app .mgr-tab-fold-panel a.is-on {
    background: #f0f9f6;
    color: #2A847C;
}
.gb-admin-app .mgr-tab.is-active {
    color: #2A847C;
    border-bottom-color: #2A847C;
}

.gb-admin-app .mgr-ta-mode-row input[type="radio"],
.gb-admin-app .mgr-ta-share-cb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 1.5px solid #2A847C;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}
.gb-admin-app .mgr-ta-mode-row input[type="radio"]:checked,
.gb-admin-app .mgr-ta-share-cb:checked {
    background: #2A847C;
    border-color: #2A847C;
}
.gb-admin-app .mgr-ta-mode-row input[type="radio"]:checked::after,
.gb-admin-app .mgr-ta-share-cb:checked::after {
    content: none;
}

/* 全站勾选：薄荷绿底 + 白色勾图片 */
.site-body input[type="checkbox"],
.page-admin-shell input[type="checkbox"],
.page-public-shell input[type="checkbox"],
.pm-ob-pick__item input[type="checkbox"],
.pm-ob-pick__item input[type="radio"],
.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"],
.gb-pick-page .gb-lib-radios input[type="radio"],
.gb-admin-app .mgr-ta-mode-row input[type="radio"],
.gb-admin-app .mgr-ta-share-cb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
    border: 1.5px solid #C5CDCD !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    cursor: pointer;
    accent-color: #2A847C;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    display: inline-block;
}
.site-body input[type="checkbox"]:hover,
.page-admin-shell input[type="checkbox"]:hover,
.page-public-shell input[type="checkbox"]:hover,
.pm-ob-pick__item input[type="checkbox"]:hover,
.pm-ob-pick__item input[type="radio"]:hover,
.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]:hover,
.gb-pick-page .gb-lib-radios input[type="radio"]:hover,
.gb-admin-app .mgr-ta-mode-row input[type="radio"]:hover,
.gb-admin-app .mgr-ta-share-cb:hover {
    border-color: #2A847C !important;
}
.site-body input[type="checkbox"]:checked,
.page-admin-shell input[type="checkbox"]:checked,
.page-public-shell input[type="checkbox"]:checked,
.pm-ob-pick__item input[type="checkbox"]:checked,
.pm-ob-pick__item input[type="radio"]:checked,
.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]:checked,
.gb-pick-page .gb-lib-radios input[type="radio"]:checked,
.gb-admin-app .mgr-ta-mode-row input[type="radio"]:checked,
.gb-admin-app .mgr-ta-share-cb:checked {
    background-color: #2A847C !important;
    border-color: #2A847C !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.2 6.1-6.5'/%3E%3C/svg%3E") !important;
}
.site-body input.pm-arr-coll-check:checked,
.page-admin-shell input.pm-arr-coll-check:checked,
.page-public-shell input.pm-arr-coll-check:checked,
.site-body.page-admin-shell input.pm-arr-coll-check:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.2 6.1-6.5'/%3E%3C/svg%3E") !important;
}
.page-admin-shell .mpcert-event-check input[type="checkbox"] {
    border-color: #16a34a !important;
}
.page-admin-shell .mpcert-event-check input[type="checkbox"]:hover {
    border-color: #15803d !important;
}
.page-admin-shell .mpcert-event-check input[type="checkbox"]:checked {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.2 6.1-6.5'/%3E%3C/svg%3E") !important;
}
.trk-modal-td-valid input[type="checkbox"]:checked {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.2 6.1-6.5'/%3E%3C/svg%3E") !important;
}
.site-body input[type="checkbox"]:disabled,
.page-admin-shell input[type="checkbox"]:disabled,
.page-public-shell input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: default;
}
.site-body input[type="checkbox"]:focus-visible,
.page-admin-shell input[type="checkbox"]:focus-visible,
.page-public-shell input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(66, 181, 154, 0.4);
    outline-offset: 2px;
}
.page-admin-shell .mgr-toggle input[type="checkbox"],
.site-body .mgr-toggle input[type="checkbox"],
.gb-admin-app .mgr-toggle input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    pointer-events: none;
}
.page-admin-shell .mgr-url-box,
.gb-admin-app .mgr-url-box {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
}
.page-admin-shell .mgr-url-box .mgr-url-input,
.gb-admin-app .mgr-url-box .mgr-url-input {
    border: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    height: 100% !important;
    padding: 0 12px !important;
}
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:hover,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:focus,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:focus-visible,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:active {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 14px !important;
    line-height: 1 !important;
    white-space: nowrap;
    transform: none !important;
    border: none !important;
    border-left: none !important;
    border-radius: 0 7px 7px 0 !important;
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
}
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary {
    background: #7D92A8 !important;
    color: #fff !important;
    cursor: pointer;
}
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:hover,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:focus,
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:focus-visible {
    background: #5A7088 !important;
    color: #fff !important;
}
.gb-admin-app .mgr-url-copy-btn.btn.btn-primary:active {
    background: #465C74 !important;
}
.pm-bib-custom-merged .pm-bib-mode-opt input[type="radio"]::before,
.gb-pick-page .gb-lib-radios input[type="radio"]::before,
.gb-admin-app .mgr-ta-mode-row input[type="radio"]::after,
.gb-admin-app .mgr-ta-share-cb::after {
    content: none !important;
    display: none !important;
}

/* 径赛/田赛日程页：统一薄荷绿胶囊按钮，避免全局 999 圆角把「快速添加」撑成大圆 */
.pm-arr-track-merge-card-main {
    align-items: center;
}
.pm-arr-track-merge-card-actions {
    align-items: center;
    align-self: center;
    padding: 0 10px 0 12px;
}
.pm-arr-track-board-mode {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid #d7eee7;
    border-radius: 999px;
    background: #f4faf8;
}
.gb-admin-app .pm-arr-step2-toolbar-actions .btn,
.gb-admin-app .pm-arr-sched-dual .btn {
    height: 32px !important;
    min-height: 32px !important;
    min-width: 0 !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
}
.gb-admin-app .pm-arr-step2-toolbar-actions .btn,
.gb-admin-app .pm-arr-step2-toolbar-actions .btn.btn-primary,
.gb-admin-app .pm-arr-step2-toolbar-actions .btn.btn-secondary,
.gb-admin-app .pm-arr-sched-dual .btn.btn-primary,
.gb-admin-app .pm-arr-sched-dual .btn.btn-secondary {
    background: #fff !important;
    color: #2A847C !important;
    border: 1.5px solid #2A847C !important;
}
.gb-admin-app .pm-arr-step2-toolbar-actions .btn:hover,
.gb-admin-app .pm-arr-step2-toolbar-actions .btn.btn-primary:hover,
.gb-admin-app .pm-arr-step2-toolbar-actions .btn.btn-secondary:hover,
.gb-admin-app .pm-arr-sched-dual .btn.btn-primary:hover,
.gb-admin-app .pm-arr-sched-dual .btn.btn-secondary:hover {
    background: #f0f9f6 !important;
    color: #2A847C !important;
    border-color: #2A847C !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-quick-add.btn,
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-bulk-add.btn {
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-quick-add.btn:hover,
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-bulk-add.btn:hover {
    background: #217066 !important;
    color: #fff !important;
    border-color: #217066 !important;
}
.gb-admin-app .pm-arr-step2-toolbar .pm-arr-step2-toolbar-actions a.btn.pm-arr-step2-nav-link.pm-arr-step2-nav-go,
.gb-admin-app .pm-arr-step2-toolbar .pm-arr-step2-toolbar-actions a.btn.pm-arr-step2-nav-link.pm-arr-step2-nav-go:hover,
.gb-admin-app .pm-arr-step2-toolbar .pm-arr-step2-toolbar-actions a.btn.pm-arr-step2-nav-link.pm-arr-step2-nav-go:focus,
.gb-admin-app .pm-arr-wizard-foot .btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save,
.gb-admin-app .pm-arr-wizard-foot .btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save:hover,
.gb-admin-app .pm-arr-wizard-foot .btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save:focus,
.gb-admin-app .pm-arr-wizard-foot span.btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save {
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
    box-shadow: none !important;
}
.gb-admin-app .pm-arr-step2-toolbar .pm-arr-step2-toolbar-actions a.btn.pm-arr-step2-nav-link.pm-arr-step2-nav-go:hover,
.gb-admin-app .pm-arr-step2-toolbar .pm-arr-step2-toolbar-actions a.btn.pm-arr-step2-nav-link.pm-arr-step2-nav-go:focus,
.gb-admin-app .pm-arr-wizard-foot .btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save:hover,
.gb-admin-app .pm-arr-wizard-foot .btn.btn-primary.pm-arr-wiz-next.pm-arr-step2-save:focus {
    background: #217066 !important;
    border-color: #217066 !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-board-mode .pm-arr-track-mode-btn.pm-arr-track-mode-btn--active.btn,
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-board-mode .pm-arr-track-mode-btn.pm-arr-track-mode-btn--active.btn:hover,
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-board-mode .pm-arr-track-mode-btn.pm-arr-track-mode-btn--active.btn:focus {
    background: #FFE58A !important;
    color: #3D2A00 !important;
    border: 1.5px solid #E6C04A !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-board-mode .pm-arr-track-mode-btn.pm-arr-track-mode-btn--active.btn:hover,
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-board-mode .pm-arr-track-mode-btn.pm-arr-track-mode-btn--active.btn:focus {
    background: #FFD85A !important;
    color: #3D2A00 !important;
    border-color: #E0B020 !important;
}
.gb-admin-app .pm-arr-track-board-mode .pm-arr-track-mode-btn {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 12px !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn,
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn.btn-primary,
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn.btn-primary:hover,
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn.btn-primary:focus {
    height: 36px !important;
    min-height: 36px !important;
    background: #2A847C !important;
    color: #fff !important;
    border: 1.5px solid #2A847C !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn.btn-primary:hover,
.gb-admin-app .pm-arr-sched-dual .pm-field-auto-cta.btn.btn-primary:focus {
    background: #217066 !important;
    border-color: #217066 !important;
}
.gb-admin-app .pm-arr-sched-dual .btn.btn-danger {
    background: #fff !important;
    color: #e24b4a !important;
    border: 1.5px solid #e24b4a !important;
}
.gb-admin-app .pm-arr-sched-dual .btn.btn-danger:hover {
    background: #fff5f5 !important;
    color: #c81e1d !important;
    border-color: #c81e1d !important;
}
.gb-admin-app .pm-arr-sched-dual .pm-arr-track-bulk-add.btn {
    width: auto !important;
    min-width: 168px !important;
    margin-bottom: 10px;
}

button:not(.mgr-url-copy-btn),
input[type="button"]:not(.mgr-url-copy-btn),
input[type="submit"],
input[type="reset"],
.btn:not(.mgr-url-copy-btn),
a.btn,
.btn-pill,
.meets-op-btn,
.meets-btn-new,
.meets-next-btn,
.mct-btn,
.gb-gmore-btn,
.gb-add-group-btn,
.gb-outline-plus,
.mr-btn-add,
.pm-arr-entrylist__btn,
.pm-bib-generate-btn,
.pm-bib-group-tab {
    border-radius: 6px !important;
}

.gb-admin-app .mpa-table thead th,
.gb-admin-app .mpa-table tbody td,
.gb-admin-app .table-card.mpa-table-wrap .mpa-table thead th,
.gb-admin-app .table-card.mpa-table-wrap .mpa-table tbody td {
    height: 1px;
    vertical-align: middle !important;
}

.gb-admin-app .mpa-table tbody td .mpa-badge-group,
.gb-admin-app .mpa-table tbody td .mpa-gender,
.gb-admin-app .mpa-table tbody td .mpa-pill,
.gb-admin-app .mpa-table tbody td .mpa-direct,
.gb-admin-app .mpa-table tbody td .mpa-enroll,
.gb-admin-app .mpa-table tbody td input,
.gb-admin-app .mpa-table tbody td select {
    vertical-align: middle !important;
}

/* 赛中管理：白底黑字，橙色仅作按钮和当前项标记 */
body.page-during-sun {
    --gb-bg-page: #FFFFFF;
    --gb-bg-subtle: #FFFFFF;
    --gb-bg-card: #FFFFFF;
    --gb-text: #000000;
    --gb-text-strong: #000000;
    --gb-text-muted: #333333;
    --gb-accent: #E65100;
    --gb-accent-dark: #E65100;
    --gb-accent-ink: #000000;
    --gb-accent-soft: #FFFFFF;
    --gb-accent-softer: #FFFFFF;
    --gb-link: #E65100;
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.page-during-sun .gb-admin-app,
body.page-during-sun .gb-admin-main,
body.page-during-sun .gb-admin-content,
body.page-during-sun .gb-admin-inner,
body.page-during-sun .gb-admin-strip,
body.page-during-sun .gb-admin-sidebar,
body.page-during-sun .gb-sb-brand,
body.page-during-sun .gb-sb-panel,
body.page-during-sun .gb-admin-topnav,
body.page-during-sun .gb-admin-topnav-sub,
body.page-during-sun .page,
body.page-during-sun .card,
body.page-during-sun .mtr-panel,
body.page-during-sun .mtr-panel-head,
body.page-during-sun .mtr-filter,
body.page-during-sun .mtr-new-inner,
body.page-during-sun .mtr-pick-list,
body.page-during-sun .notice,
body.page-during-sun .notice-warn {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.page-during-sun .gb-sb-details > .gb-sb-sum {
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: none !important;
    border-bottom: 1px solid #333333;
}

body.page-during-sun h1,
body.page-during-sun h2,
body.page-during-sun h3,
body.page-during-sun h4,
body.page-during-sun p,
body.page-during-sun li,
body.page-during-sun label,
body.page-during-sun th,
body.page-during-sun td,
body.page-during-sun .gb-admin-topnav-title,
body.page-during-sun .gb-admin-topnav-item,
body.page-during-sun .mtr-panel-title,
body.page-during-sun .pm-page-title {
    color: #000000 !important;
}

body.page-during-sun .tip,
body.page-during-sun .mtr-muted,
body.page-during-sun .mtr-stat,
body.page-during-sun .mtr-pick-none,
body.page-during-sun .gb-sb-item-sub,
body.page-during-sun .gb-admin-topnav-subitem {
    color: #333333 !important;
}

body.page-during-sun table thead th,
body.page-during-sun table tbody td,
body.page-during-sun .mtr-table th,
body.page-during-sun .mtr-row-empty td {
    background: #FFFFFF !important;
    color: #000000 !important;
    border-color: #333333 !important;
}

body.page-during-sun table thead th,
body.page-during-sun .mtr-table th {
    border-bottom: 2px solid #000000 !important;
}

body.page-during-sun .card,
body.page-during-sun .mtr-panel,
body.page-during-sun .mtr-filter,
body.page-during-sun .mtr-new-inner,
body.page-during-sun .gb-admin-sidebar,
body.page-during-sun .gb-admin-topnav,
body.page-during-sun .notice,
body.page-during-sun .notice-warn {
    border-color: #333333 !important;
}

body.page-during-sun input,
body.page-during-sun select,
body.page-during-sun textarea {
    background: #FFFFFF !important;
    color: #000000 !important;
    border-color: #333333 !important;
}

body.page-during-sun input::placeholder,
body.page-during-sun textarea::placeholder {
    color: #333333 !important;
    opacity: 1;
}

body.page-during-sun .btn-primary,
body.page-during-sun .mtr-btn-save,
body.page-during-sun button.btn-primary,
body.page-during-sun a.btn-primary,
body.page-during-sun input[type="submit"].btn-primary {
    background: #E65100 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #E65100 !important;
    box-shadow: none !important;
}

body.page-during-sun .btn-secondary,
body.page-during-sun a.btn-secondary {
    background: #FFFFFF !important;
    background-image: none !important;
    color: #E65100 !important;
    border: 1px solid #E65100 !important;
    box-shadow: none !important;
}

body.page-during-sun .btn-link-like,
body.page-during-sun a.btn-link-like,
body.page-during-sun .gb-admin-topnav-item.is-active,
body.page-during-sun .gb-admin-topnav-item:hover,
body.page-during-sun .gb-admin-topnav-subitem.is-active,
body.page-during-sun .gb-admin-topnav-subitem:hover {
    background: #FFFFFF !important;
    color: #E65100 !important;
}

body.page-during-sun .gb-admin-topnav-item.is-active::after {
    background: #E65100 !important;
}

body.page-during-sun .gb-sb-item,
body.page-during-sun .gb-sb-item:hover,
body.page-during-sun .gb-sb-item.is-active {
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.page-during-sun .gb-sb-item.is-active {
    color: #E65100 !important;
    box-shadow: inset 3px 0 0 #E65100 !important;
}

body.page-during-sun .gb-sb-item.is-active .gb-sb-item-title,
body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-title {
    color: #E65100 !important;
}

body.page-during-sun .btn:disabled,
body.page-during-sun button:disabled,
body.page-during-sun .mtr-btn-save:disabled {
    background: #FFFFFF !important;
    background-image: none !important;
    color: #333333 !important;
    border: 1px solid #333333 !important;
    opacity: 1 !important;
}

body.page-during-sun .btn:focus-visible {
    outline-color: #E65100 !important;
}

body.page-during-sun .ref-acc-hero,
body.page-during-sun .mcs-hero {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.page-during-sun .mcs-hero-icon,
body.page-during-sun .mcs-hero::after,
body.page-during-sun .ref-acc-hero-ic {
    background: transparent !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: none !important;
}

body.page-during-sun .mpc-card:hover {
    border-color: #333333 !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item:hover {
    background: #FFF8F1 !important;
    color: #E65100 !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active,
body.page-during-sun .gb-sb-item.is-active {
    background: #FFF3E0 !important;
    color: #E65100 !important;
    box-shadow: inset 3px 0 0 #E65100 !important;
}

body.page-during-sun .gb-sb-item-ord,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--pre .gb-sb-item-ord {
    background: #FFF3E0 !important;
    color: #E65100 !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-ord,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-ord,
body.page-during-sun .gb-sb-item.is-active .gb-sb-item-ord {
    background: #E65100 !important;
    color: #fff !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-title,
body.page-during-sun .gb-admin-sidebar .gb-sb-item:hover .gb-sb-item-title,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-title,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--iconic.is-active .gb-sb-item-title {
    color: #E65100 !important;
}

body.page-during-sun .gb-admin-topnav-item.is-active,
body.page-during-sun .gb-admin-topnav-item:hover,
body.page-during-sun .gb-admin-topnav-subitem.is-active,
body.page-during-sun .gb-admin-topnav-subitem:hover {
    color: #E65100 !important;
    background: transparent !important;
}

body.page-during-sun .gb-admin-topnav-item.is-active::after {
    background: #E65100 !important;
}

body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn {
    color: #E65100 !important;
    border-color: #E65100 !important;
    background: #fff !important;
}

body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on,
body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on:hover {
    background: #E65100 !important;
    color: #fff !important;
    border-color: #E65100 !important;
}

body.page-during-sun input[type="checkbox"],
body.page-during-sun input[type="radio"] {
    accent-color: #E65100 !important;
}

body.page-during-sun button.mtr-help-btn {
    background: #fff !important;
    color: #0055CC !important;
    border-color: #0055CC !important;
}

body.page-during-sun .mrb-banner-ico,
body.page-during-sun .trk-hub-badge--done {
    background: #0055CC !important;
    color: #fff !important;
    border-color: #0055CC !important;
}

/* 赛中管理：白底黑字，强调色只用于按钮和标记 */
body.page-during-sun .ref-acc-hero,
body.page-during-sun .mpc-shell,
body.page-during-sun .mpc-card {
    background: #FFFFFF !important;
    background-image: none !important;
    color: #000000 !important;
    box-shadow: none !important;
    border-color: #333333 !important;
}

body.page-during-sun .ref-acc-hero h1,
body.page-during-sun .ref-acc-hero h2,
body.page-during-sun .ref-acc-hero .ref-acc-hero-title,
body.page-during-sun .pm-page-title,
body.page-during-sun .mtr-page-title,
body.page-during-sun .mtr-panel-title {
    color: #000000 !important;
}

body.page-during-sun .ref-acc-hero .ref-acc-hero-sub,
body.page-during-sun .ref-acc-hero p,
body.page-during-sun .tip,
body.page-during-sun small,
body.page-during-sun .mtr-muted,
body.page-during-sun .mtr-stat,
body.page-during-sun .gb-sb-item-sub {
    color: #555555 !important;
}

body.page-during-sun .mpc-card-ico,
body.page-during-sun .mpc-card-lock-ico {
    background: #FFFFFF !important;
    color: #0055CC !important;
    border-color: #0055CC !important;
}

body.page-during-sun .mpc-card-title,
body.page-during-sun .mpc-card {
    color: #000000 !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item,
body.page-during-sun .gb-admin-sidebar .gb-sb-item:hover,
body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active,
body.page-during-sun .gb-sb-item.is-active {
    background: #FFFFFF !important;
    color: #000000 !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active {
    box-shadow: inset 3px 0 0 #E65100 !important;
}

body.page-during-sun .gb-sb-item-ord,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--pre .gb-sb-item-ord {
    background: #FFFFFF !important;
    color: #0055CC !important;
    border: 1px solid #0055CC !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-ord,
body.page-during-sun .gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-ord,
body.page-during-sun .gb-sb-item.is-active .gb-sb-item-ord {
    background: #0055CC !important;
    color: #FFFFFF !important;
    border-color: #0055CC !important;
}

body.page-during-sun .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-title,
body.page-during-sun .gb-admin-sidebar .gb-sb-item:hover .gb-sb-item-title {
    color: #000000 !important;
}

body.page-during-sun .gb-admin-topnav-item,
body.page-during-sun .gb-admin-topnav-item.is-active,
body.page-during-sun .gb-admin-topnav-item:hover {
    color: #000000 !important;
    background: transparent !important;
}

body.page-during-sun .gb-admin-topnav-item.is-active::after {
    background: #0055CC !important;
}

body.page-during-sun .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill),
body.page-during-sun .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):hover,
body.page-during-sun .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):focus,
body.page-during-sun .gb-admin-app .btn.btn-primary.trk-hub-btn-record,
body.page-during-sun .gb-admin-app .btn.btn-primary.trk-hub-btn-record:hover,
body.page-during-sun .gb-admin-app .mrb-page-actions .btn.btn-primary.mrb-btn-fill,
body.page-during-sun .gb-admin-app .mrb-page-actions .btn.btn-primary.mrb-btn-fill:hover,
body.page-during-sun .gb-admin-app .mrb-page-actions .btn.btn-primary.mrb-btn-fill:focus {
    background: #E65100 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #E65100 !important;
    box-shadow: none !important;
    filter: none !important;
}

body.page-during-sun .gb-admin-app a.btn.btn-secondary.trk-hub-btn-view-results.is-viewed,
body.page-during-sun .gb-admin-app a.btn.btn-secondary.trk-hub-btn-view-results.is-viewed:hover,
body.page-during-sun .gb-admin-app a.btn.btn-secondary.trk-hub-btn-view-results.is-viewed:focus {
    background: #E8E8E8 !important;
    background-image: none !important;
    color: #555555 !important;
    border: 1px solid #9A9A9A !important;
    box-shadow: none !important;
}

body.page-during-sun .gb-admin-app .btn.btn-secondary,
body.page-during-sun .gb-admin-app a.btn.btn-secondary,
body.page-during-sun .gb-admin-app .mrb-page-actions .btn.btn-secondary.mrb-btn-fill,
body.page-during-sun a.trk-hub-btn-checkin,
body.page-during-sun a.trk-hub-btn-checkin:hover,
body.page-during-sun a.trk-hub-btn-checkin:focus,
body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn {
    background: #FFFFFF !important;
    background-image: none !important;
    color: #0055CC !important;
    border: 1px solid #0055CC !important;
    box-shadow: none !important;
}

body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on,
body.page-during-sun .gb-admin-app .trk-hub-quick-dates a.trk-hub-day-btn.is-on:hover,
body.page-during-sun .mpp-btn--amber,
body.page-during-sun .mpp-btn--sky {
    background: #0055CC !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #0055CC !important;
}

body.page-during-sun .mpp-btn--green {
    background: #E65100 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border-color: #E65100 !important;
}

body.page-during-sun input::placeholder,
body.page-during-sun textarea::placeholder {
    color: #555555 !important;
}

/* 打印检录/成绩记录表：亮橙标题栏 */
body.page-during-sun header.mpc-hero,
body.page-during-sun header.mpc-hero.mpc-hero--solo {
    background: linear-gradient(90deg, #E65100 0%, #F57C00 100%) !important;
    background-color: #E65100 !important;
    background-image: linear-gradient(90deg, #E65100 0%, #F57C00 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 24px rgba(230, 81, 0, 0.22) !important;
}

body.page-during-sun header.mpc-hero h1,
body.page-during-sun header.mpc-hero .mpc-hero-title,
body.page-during-sun header.mpc-hero .mpc-hero-side,
body.page-during-sun header.mpc-hero .mpc-hero-sub,
body.page-during-sun header.mpc-hero p {
    color: #FFFFFF !important;
}

body.page-during-sun header.mpc-hero .mpc-hero-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* 赛后工作：灰紫主色，香槟金只用于收官重点按钮 */
body.page-post-close {
    --gb-accent: #4A4466;
    --gb-accent-dark: #3C3754;
    --gb-accent-soft: #E7E4EF;
    --gb-accent-softer: #F5F4F8;
    --gb-link: #4A4466;
}

body.page-post-close .wf-guide-rail-item:hover,
body.page-post-close .wf-guide-rail--phase .wf-guide-rail-item:hover {
    background: #F5F4F8 !important;
    color: #4A4466 !important;
    border-color: #4A4466 !important;
}

body.page-post-close .wf-guide-rail-item.is-current,
body.page-post-close .wf-guide-rail--phase .wf-guide-rail-item.is-current {
    background: #E7E4EF !important;
    color: #4A4466 !important;
    border-color: #4A4466 !important;
}

body.page-post-close .wf-guide-rail-item.is-current .wf-guide-rail-text,
body.page-post-close .wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-text,
body.page-post-close .wf-guide-rail-item:hover .wf-guide-rail-text {
    color: #4A4466 !important;
}

body.page-post-close .wf-guide-rail-num,
body.page-post-close .wf-guide-rail--phase .wf-guide-rail-num,
body.page-post-close .wf-guide-rail-item.is-current .wf-guide-rail-num,
body.page-post-close .wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-num {
    background: #4A4466 !important;
    color: #FFFFFF !important;
}

body.page-post-close .gb-admin-topnav-item.is-active,
body.page-post-close .gb-admin-topnav-item:hover,
body.page-post-close .gb-admin-topnav-subitem.is-active,
body.page-post-close .gb-admin-topnav-subitem:hover {
    color: #4A4466 !important;
}

body.page-post-close .gb-admin-topnav-item.is-active::after {
    background: #4A4466 !important;
}

body.page-post-close .gb-admin-sidebar .gb-sb-item.is-active,
body.page-post-close .gb-sb-item.is-active {
    background: #E7E4EF !important;
    color: #4A4466 !important;
    box-shadow: inset 3px 0 0 #4A4466 !important;
}

body.page-post-close .gb-admin-sidebar .gb-sb-item.is-active .gb-sb-item-title,
body.page-post-close .gb-admin-sidebar .gb-sb-item--pre.is-active .gb-sb-item-title {
    color: #4A4466 !important;
}

body.page-post-close .mrank-toolbar,
body.page-post-close .mrps-topbar,
body.page-post-close .mpts-hero-bar,
body.page-post-close .mpcert-head,
body.page-post-close .mpde-card-head,
body.page-post-close .mpts-card-head,
body.page-post-close .mpts-card-head--blue {
    background: #4A4466 !important;
    background-image: none !important;
    color: #FFFFFF !important;
}

body.page-post-close .mpcert-head::after {
    display: none !important;
}

body.page-post-close .mpcert-title,
body.page-post-close .mpcert-subtitle,
body.page-post-close .mrank-toolbar-title,
body.page-post-close .mrps-topbar-title {
    color: #FFFFFF !important;
}

body.page-post-close .mpcert-date-plain.is-active {
    color: #4A4466 !important;
}

body.page-post-close .mpcert-date-chip.is-active {
    background: #4A4466 !important;
    border-color: #4A4466 !important;
    color: #FFFFFF !important;
}

body.page-post-close .mpcert-kind-title,
body.page-post-close .mpcert-batch-btn,
body.page-post-close .mpcert-batch-btn--field,
body.page-post-close .mpts-toolbar-link,
body.page-post-close .mpts-toolbar-link:hover {
    color: #4A4466 !important;
}

body.page-post-close input[type="checkbox"],
body.page-post-close input[type="radio"] {
    accent-color: #4A4466 !important;
}

body.page-post-close .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.btn-post-highlight),
body.page-post-close .mpde-submit,
body.page-post-close .tex-save,
body.page-post-close .mrps-export-btn.btn.btn-primary,
body.page-post-close .mpcq-athlete-submit.btn.btn-primary,
body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight) {
    background: #4A4466 !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #4A4466 !important;
    box-shadow: none !important;
    filter: none !important;
}

body.page-post-close .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.btn-post-highlight):hover,
body.page-post-close .mpde-submit:hover,
body.page-post-close .tex-save:hover,
body.page-post-close .mrps-export-btn.btn.btn-primary:hover,
body.page-post-close .mpcq-athlete-submit.btn.btn-primary:hover,
body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight):hover {
    background: #59527A !important;
    color: #FFFFFF !important;
    border-color: #59527A !important;
}

body.page-post-close .gb-admin-app .btn.btn-primary:not(.meets-next-btn):not(.mgr-url-copy-btn):not(.trk-hub-btn-record):not(.mrb-btn-fill):not(.btn-post-highlight):active,
body.page-post-close .mpde-submit:active,
body.page-post-close .tex-save:active,
body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight):active {
    background: #3C3754 !important;
    color: #FFFFFF !important;
    border-color: #3C3754 !important;
}

body.page-post-close .btn.btn-primary:disabled,
body.page-post-close .mpde-submit:disabled,
body.page-post-close .tex-save:disabled,
body.page-post-close .mrps-export-btn.is-disabled {
    background: #807B96 !important;
    color: #D8D5E2 !important;
    border-color: #807B96 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

body.page-post-close .gb-admin-app .btn.btn-secondary,
body.page-post-close .gb-admin-app a.btn.btn-secondary,
body.page-post-close .mpcert-back-btn {
    background: transparent !important;
    background-image: none !important;
    color: #4A4466 !important;
    border: 1px solid #4A4466 !important;
    box-shadow: none !important;
}

body.page-post-close .gb-admin-app .btn.btn-secondary:hover,
body.page-post-close .gb-admin-app a.btn.btn-secondary:hover,
body.page-post-close .mpcert-back-btn:hover {
    background: #E7E4EF !important;
    color: #4A4466 !important;
    border-color: #4A4466 !important;
}

body.page-post-close .gb-admin-app .btn.btn-secondary:active,
body.page-post-close .mpcert-back-btn:active {
    background: #D8D5E2 !important;
    color: #3C3754 !important;
    border-color: #3C3754 !important;
}

body.page-post-close .btn.btn-secondary:disabled {
    background: transparent !important;
    color: #B4B0C7 !important;
    border-color: #B4B0C7 !important;
    opacity: 1 !important;
}

body.page-post-close .btn-post-highlight,
body.page-post-close .mrank-toolbar .btn-post-highlight,
body.page-post-close .mpcert-template-picker-btn {
    background: #B89F8A !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #B89F8A !important;
    box-shadow: none !important;
}

body.page-post-close .btn-post-highlight:hover,
body.page-post-close .mrank-toolbar .btn-post-highlight:hover,
body.page-post-close .mpcert-template-picker-btn:hover {
    background: #C8AF99 !important;
    color: #FFFFFF !important;
    border-color: #C8AF99 !important;
}

body.page-post-close .btn-post-highlight:active,
body.page-post-close .mpcert-template-picker-btn:active {
    background: #9E8775 !important;
    color: #FFFFFF !important;
    border-color: #9E8775 !important;
}

body.page-post-close .btn-post-highlight:disabled,
body.page-post-close .mpcert-template-picker-btn:disabled {
    background: #D4C4B8 !important;
    color: #F5F4F8 !important;
    border-color: #D4C4B8 !important;
}

body.page-post-close .mpcert-template-picker-btn {
    background: #9A8270 !important;
    border-color: #9A8270 !important;
    color: #FFFFFF !important;
}

body.page-post-close .mpcert-template-picker-btn:hover,
body.page-post-close .mpcert-template-picker-btn.is-open,
body.page-post-close .mpcert-template-picker-btn:active {
    background: #7D6554 !important;
    border-color: #7D6554 !important;
    color: #FFFFFF !important;
}

body.page-post-close .btn.btn-danger,
body.page-post-close .gb-admin-app .btn.btn-danger {
    background: #A83C3C !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid #A83C3C !important;
    box-shadow: none !important;
}

body.page-post-close .btn.btn-danger:hover,
body.page-post-close .gb-admin-app .btn.btn-danger:hover {
    background: #BD4848 !important;
    color: #FFFFFF !important;
    border-color: #BD4848 !important;
}

body.page-post-close .btn.btn-danger:active,
body.page-post-close .gb-admin-app .btn.btn-danger:active {
    background: #8A3030 !important;
    color: #FFFFFF !important;
    border-color: #8A3030 !important;
}

body.page-post-close .btn.btn-danger:disabled {
    background: #D49494 !important;
    color: #F5F4F8 !important;
    border-color: #D49494 !important;
    opacity: 1 !important;
}

body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight),
body.page-post-close .mrps-topbar .mrps-export-btn.btn.btn-primary {
    background: #FFFFFF !important;
    color: #4A4466 !important;
    border-color: #FFFFFF !important;
}

body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight):hover,
body.page-post-close .mrps-topbar .mrps-export-btn.btn.btn-primary:hover {
    background: #E7E4EF !important;
    color: #4A4466 !important;
    border-color: #E7E4EF !important;
}

body.page-post-close .mrank-toolbar .mrank-toolbar-btn:not(.btn-post-highlight):active {
    background: #D8D5E2 !important;
    color: #3C3754 !important;
    border-color: #D8D5E2 !important;
}

/* 赛中管理左侧列表：当前项不用薄荷绿 */
body.page-during-sun .wf-guide-rail-item:hover {
    background: #FFF8F1 !important;
    border-color: #E65100 !important;
    color: #E65100 !important;
}

body.page-during-sun .wf-guide-rail-item.is-current,
body.page-during-sun .wf-guide-rail--phase .wf-guide-rail-item.is-current {
    background: #FFF3E0 !important;
    border-color: #E65100 !important;
    color: #E65100 !important;
}

body.page-during-sun .wf-guide-rail-item.is-current .wf-guide-rail-text,
body.page-during-sun .wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-text,
body.page-during-sun .wf-guide-rail-item:hover .wf-guide-rail-text {
    color: #E65100 !important;
}

body.page-during-sun .wf-guide-rail-num,
body.page-during-sun .wf-guide-rail--phase .wf-guide-rail-num,
body.page-during-sun .wf-guide-rail-item.is-current .wf-guide-rail-num,
body.page-during-sun .wf-guide-rail--phase .wf-guide-rail-item.is-current .wf-guide-rail-num {
    background: #E65100 !important;
    color: #FFFFFF !important;
}

/* 全站按钮：鼠标悬停时在原背景上叠一层，背景变深，文字保持清晰 */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    position: relative;
    isolation: isolate;
}

.btn::after,
button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.16s ease;
}

.btn:hover::after,
button:hover::after,
.sys-home-card:hover .sys-home-use-btn::after,
a.sys-home-card--clickable:hover .sys-home-use-btn::after,
a.sys-home-card--clickable:focus-visible .sys-home-use-btn::after {
    opacity: 1;
}

.btn:disabled::after,
.btn[disabled]::after,
button:disabled::after,
button[disabled]::after,
.btn:disabled:hover::after,
button:disabled:hover::after {
    opacity: 0;
}

input[type="button"]:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled),
input[type="reset"]:hover:not(:disabled) {
    filter: brightness(0.86);
}

/* 左侧栏目：鼠标悬停时整行浅灰 */
.wf-guide-rail .wf-guide-rail-item:hover,
.wf-guide-rail--phase .wf-guide-rail-item:hover,
.gb-admin-sidebar .gb-sb-item:hover {
    background: #ececec !important;
    background-color: #ececec !important;
    background-image: none !important;
}

/* 信息列表：鼠标悬停时整行背景变色 */
.gb-admin-app table tbody tr:hover > td,
body.page-during-sun table tbody tr:hover > td,
body.page-post-close table tbody tr:hover > td {
    background: #ececec !important;
    background-color: #ececec !important;
    background-image: none !important;
}

/* 第一步四页悬浮按钮：与「下一步：运动员报名管理」同款薄荷绿底白字 */
.gb-admin-app .pm-arr-step1-fab .btn.btn-primary,
.gb-admin-app .pm-arr-step1-fab .btn,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-clear.btn,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-save.btn,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-next-btn.btn,
.pm-arr-step1-fab .btn.btn-primary,
.pm-arr-step1-fab .btn,
#pm-arr-step1-collective-clear.btn,
#pm-arr-step1-collective-save.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 22px !important;
    background: #2A847C !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(43, 43, 43, 0.08) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    filter: none !important;
    text-shadow: none !important;
}

.gb-admin-app .pm-arr-step1-fab .btn.btn-primary:hover,
.gb-admin-app .pm-arr-step1-fab .btn:hover,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-clear.btn:hover,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-save.btn:hover,
.gb-admin-app .pm-arr-step1-fab #pm-arr-step1-collective-next-btn.btn:hover,
.pm-arr-step1-fab .btn.btn-primary:hover,
.pm-arr-step1-fab .btn:hover,
#pm-arr-step1-collective-clear.btn:hover,
#pm-arr-step1-collective-save.btn:hover,
.gb-admin-app .pm-arr-step1-fab .btn.btn-primary:focus,
.gb-admin-app .pm-arr-step1-fab .btn:focus,
.pm-arr-step1-fab .btn.btn-primary:focus,
#pm-arr-step1-collective-clear.btn:focus,
#pm-arr-step1-collective-save.btn:focus {
    background: #217066 !important;
    background-image: none !important;
    color: #fff !important;
    border: none !important;
    filter: none !important;
}

