/* ============================================================
   CCMA 报送表单 - 整体样式
   品牌色: #B08843 (主) / #C09119 (亮) / #8B6914 (暗)
   ============================================================ */

/* ---------- 品牌变量 ---------- */
:root {
    --gold: #C09119;
    --gold-hover: #a87d15;
    --gold-light: #FBF4E3;
    --gold-lighter: #FDF8EF;
    --text-primary: #333;
    --text-secondary: #666;
    --text-muted: #999;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --bg-page: #f5f5f5;
    --bg-white: #ffffff;
    --radius: 6px;
    --radius-lg: 10px;
}

/* ---------- 侧边栏 / 导航栏覆盖 ---------- */
.main-header {
    height: 64px;
    border-bottom: 1px solid #e8dfcf;
    box-shadow: 0 2px 10px rgba(99, 75, 24, 0.04);
}

.skin-blue .main-header .logo {
    height: 64px;
    background: #fff !important;
    border-right: 1px solid #e8dfcf;
}

.skin-blue .main-header .navbar {
    min-height: 64px;
    background: rgba(255, 255, 255, 0.98) !important;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover { background: transparent !important; }
.skin-blue .main-header .navbar .nav > li > a { color: #475669 !important; }
.main-header .sidebar-toggle:before { display: none; }

.skin-blue .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side { background: #fff !important; }
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a { background: #fff !important; color: #475669 !important; }
.skin-blue .sidebar a { color: #000 !important; font-weight: bold; }
.skin-blue .sidebar-menu > li > .treeview-menu { background: #fff !important; color: #475669 !important; }
.skin-blue .treeview-menu > li > a { font-weight: normal !important; }
.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover { color: var(--gold) !important; }
.main-sidebar { border-right: 1px solid #e8dfcf; }
.content-wrapper, .right-side { background: var(--bg-page) !important; }

.ccma-logo-wrap {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 10px;
}

.ccma-logo-image {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.ccma-logo-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.ccma-logo-copy strong {
    color: #2f2510;
    font-size: 16px;
    font-weight: 800;
}

.ccma-logo-copy em {
    margin-top: 3px;
    color: #9b8b73;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.ccma-header-main {
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-static-top-1 {
    height: 64px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.ccma-sidebar-toggle-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f7f0df;
    color: #8f6f1b;
    font-size: 17px;
}

.ccma-header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
}

.ccma-header-title strong {
    color: #2f2510;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.ccma-header-title span {
    margin-top: 4px;
    color: #8a8172;
    font-size: 12px;
    line-height: 1.3;
}

.navbar-custom-menu {
    height: 64px;
    display: flex;
    align-items: center;
    padding-right: 18px;
}

.ccma-user-trigger {
    min-height: 54px;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 7px 10px !important;
    border-radius: 999px;
    color: #2f2510 !important;
}

.ccma-user-trigger:hover,
.ccma-user-trigger:focus {
    background: #fff8e8 !important;
}

.ccma-user-avatar,
.ccma-user-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    flex: 0 0 auto;
}

.ccma-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ccma-user-name {
    max-width: 180px;
    color: #2f2510;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ccma-user-role {
    margin-top: 3px;
    color: #9b8b73;
    font-size: 12px;
}

.ccma-user-caret {
    color: #9b8b73;
}

.ccma-user-menu {
    width: 300px !important;
    padding: 10px !important;
    border: 1px solid #eadfc7 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 12px 30px rgba(99, 75, 24, 0.12) !important;
}

.ccma-user-menu .user-header {
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.ccma-user-card-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    background: #fffdf8;
}

.ccma-user-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.ccma-user-card-copy strong {
    color: #2f2510;
    font-size: 14px;
}

.ccma-user-card-copy span,
.ccma-user-card-copy small {
    color: #8a8172;
    font-size: 12px;
}

.ccma-user-menu-section {
    padding: 10px 2px;
}

.ccma-user-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5f6f58;
    font-size: 12px;
}

.ccma-user-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
}

.ccma-user-menu-actions {
    padding: 0 !important;
    background: transparent !important;
}

.ccma-user-menu-link {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    border-radius: var(--radius);
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.ccma-user-menu-link-danger {
    background: #fff5f5;
    color: #c0392b !important;
}

.ccma-user-menu-link-danger:hover {
    background: #c0392b;
    color: #fff !important;
}

.sidebar {
    padding: 14px 14px 24px;
    height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(192, 145, 25, 0.22) transparent;
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(192, 145, 25, 0.18);
    border-radius: 999px;
}
.sidebar:hover::-webkit-scrollbar-thumb { background: rgba(192, 145, 25, 0.32); }

.sidebar .sidebar-menu {
    padding: 0;
    white-space: normal;
    overflow: visible;
}

.sidebar-menu > li { margin-bottom: 4px; }

.sidebar-menu > li > a,
.sidebar-primary-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 44px;
    padding: 0 12px !important;
    border-radius: 10px;
    overflow: visible;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #000 !important;
    font-weight: bold;
    position: relative;
}

.sidebar-link-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f6f2e8;
    color: #9a7b26;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.sidebar-link-label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-menu > li > a:hover,
.sidebar-primary-link:hover {
    background: #f8f3e8 !important;
    color: #8f6f1b !important;
    text-decoration: none;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li > a.active,
.nav-item.active > .sidebar-primary-link {
    background: linear-gradient(180deg, #fbf6ea 0%, #f6edd8 100%) !important;
    color: #8f6f1b !important;
}

.sidebar-menu > li.active > a::before,
.nav-item.active > .sidebar-primary-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.sidebar-menu > li.active > a .sidebar-link-icon,
.sidebar-menu > li > a:hover .sidebar-link-icon,
.nav-item.active .sidebar-link-icon {
    background: rgba(192, 145, 25, 0.14);
    color: #8f6f1b;
}

.sidebar-mini.sidebar-collapse .main-sidebar {
    width: 50px !important;
    overflow: hidden;
}

.sidebar-mini.sidebar-collapse .sidebar {
    padding: 14px 0 20px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li {
    margin-bottom: 8px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
    justify-content: center;
    width: 38px;
    min-height: 38px;
    margin: 0 auto;
    padding: 6px !important;
    border-radius: 12px;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .sidebar-link-label,
.sidebar-mini.sidebar-collapse .sidebar-link-badge {
    display: none !important;
}

.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .sidebar-link-icon {
    display: inline-flex !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 auto;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo,
.skin-blue.sidebar-mini.sidebar-collapse .main-sidebar {
    width: 50px !important;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .navbar,
.skin-blue.sidebar-mini.sidebar-collapse .content-wrapper,
.skin-blue.sidebar-mini.sidebar-collapse .right-side,
.skin-blue.sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 50px !important;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo {
    height: 64px;
    padding: 0;
    overflow: hidden;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo .logo-mini {
    display: flex !important;
    height: 64px;
    align-items: center;
    justify-content: center;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo .logo-lg,
.skin-blue.sidebar-mini.sidebar-collapse .ccma-logo-copy {
    display: none !important;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo .ccma-logo-image {
    width: 24px;
    margin: 0;
}

.skin-blue.sidebar-mini.sidebar-collapse .main-header .logo .ccma-logo-wrap {
    justify-content: center;
    padding-left: 0;
}

.main-footer {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 30px;
    border-top: 1px solid #e8dfcf;
    background: #fff;
    color: #8a8172;
    font-size: 12px;
}

.main-footer-copy,
.main-footer-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.main-footer-copy strong {
    color: #5f5131;
    font-weight: 800;
}

.main-footer-meta span + span {
    padding-left: 10px;
    border-left: 1px solid #eadfc7;
}

/* ============================================================
   页面布局
   ============================================================ */
.content {
    width: 100%;
    padding: 0 !important;
}

.containerMain {
    max-width: 1440px;
    margin: 0 auto;
    padding: 26px 40px 34px;
}

.ccma-form-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 22px 26px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
    box-shadow: 0 8px 22px rgba(99, 75, 24, 0.08);
}

.ccma-form-eyebrow {
    margin-bottom: 6px;
    color: #9a6d18;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.ccma-form-title {
    margin: 0;
    color: #2f2510;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.ccma-form-subtitle {
    margin: 8px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.ccma-form-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #ead7aa;
    border-radius: var(--radius);
    background: #fff;
    color: #8f6f1b !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.ccma-form-back:hover {
    background: var(--gold-lighter);
    border-color: var(--gold);
    color: var(--gold-hover) !important;
}

/* ============================================================
   SmartWizard 步骤导航
   ============================================================ */
.sw-theme-arrows > .nav {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #eee4cf;
    box-shadow: 0 8px 22px rgba(99, 75, 24, 0.08);
    transform: translateZ(0);
    background: var(--bg-white);
}

.sw-theme-arrows > .nav .nav-item {
    flex: 1;
}

.sw-theme-arrows > .nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    position: relative;
    text-decoration: none;
    min-height: 68px;
    will-change: background-color, color;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 步骤编号圆圈 */
.sw-theme-arrows > .nav .nav-link .num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #f2ead8;
    color: #8f6f1b;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* 默认步骤（未激活） */
.sw-theme-arrows > .nav .nav-link.default {
    background: #fafafa;
}

/* 覆盖 SmartWizard 库的 transition: all，减少卡顿 */
.sw-theme-arrows > .nav .nav-link::after,
.sw-theme-arrows > .nav .nav-link::before {
    transition: border-color 0.2s ease !important;
}

.sw-theme-arrows > .nav .nav-link.default::after {
    border-left-color: #fafafa !important;
}

/* 当前激活步骤 — 清晰高亮 */
.sw-theme-arrows > .nav .nav-link.active {
    background: linear-gradient(180deg, #fff8e8 0%, #f7edd6 100%) !important;
    color: #5f4510 !important;
    font-weight: 600;
    font-size: 15px;
    box-shadow: inset 0 -3px 0 var(--gold), 0 6px 16px rgba(192,145,25,.12);
}

.sw-theme-arrows > .nav .nav-link.active::after {
    border-left-color: #f7edd6 !important;
}

.sw-theme-arrows > .nav .nav-link.active .num {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 2px 6px rgba(192,145,25,.3);
}

/* 已完成步骤 — 带完成感 */
.sw-theme-arrows > .nav .nav-link.done {
    background: #f8fbf7 !important;
    color: #5d7a56 !important;
}

.sw-theme-arrows > .nav .nav-link.done::after {
    border-left-color: #f4f7f4 !important;
}

.sw-theme-arrows > .nav .nav-link.done .num {
    background: #6a9a6a;
    color: #fff;
}

/* 进度条 */
.sw > .progress {
    height: 3px;
    border-radius: 0;
    margin-top: 0;
    background: var(--border-light);
}

.sw > .progress > .progress-bar {
    background: var(--gold);
    transition: width 0.3s ease;
    will-change: width;
}

/* ============================================================
   内容区容器
   SmartWizard 源码给 .sw>.tab-content 加了 overflow:hidden，
   导致底部内容（案例视频等）被裁掉，这里覆盖为 visible
   ============================================================ */
.sw > .tab-content {
    overflow: visible !important;
    height: auto !important;
    padding: 24px 32px 48px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   Wizard 底部固定操作区
   ============================================================ */
.sw .toolbar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0 !important;
    padding: 16px 24px !important;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #eee4cf;
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 -8px 22px rgba(99, 75, 24, 0.08);
    backdrop-filter: blur(8px);
}

.sw .toolbar #fixed-message {
    order: -1;
    flex: 1 1 auto;
    margin: 0 !important;
    text-align: left !important;
    color: #9a6d18 !important;
    font-size: 13px;
    font-weight: 600 !important;
}

.sw .toolbar > .sw-btn,
.sw .toolbar > .custom-buttons {
    height: 40px;
    min-width: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sw .toolbar .is-loading,
.sw .toolbar .disabled,
.sw .toolbar button:disabled {
    cursor: not-allowed;
    opacity: .72;
    pointer-events: none;
}

.sw .toolbar .ccma-save-button {
    background: #fff !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    border-radius: var(--radius);
    font-weight: 600;
}

.sw .toolbar .ccma-save-button:hover {
    background: var(--gold-lighter) !important;
    color: var(--gold-hover) !important;
}

.sw .toolbar .ccma-submit-button {
    background: linear-gradient(135deg, #c0392b, #d85a4f) !important;
    border: 1px solid #c0392b !important;
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.22);
}

.sw .toolbar .ccma-submit-button:hover {
    background: linear-gradient(135deg, #a93226, #c84a40) !important;
    border-color: #a93226 !important;
    color: #fff !important;
}

.notific8-notification.ocho.tangerine {
    background: var(--gold) !important;
    border-color: #d8b06c !important;
    color: #fff !important;
}

.notific8-notification.ocho.tangerine .notific8-close {
    background: #8f6f1b !important;
    color: #fff !important;
}

.sw > .tab-content > .tab-pane {
    padding: 0;
}

.ccma-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0 10px;
    padding: 15px 18px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
}

.ccma-section-heading:first-child {
    margin-top: 0;
}

.ccma-section-heading .section-index {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.ccma-section-heading .section-title {
    color: #2f2510;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.ccma-section-heading .section-desc {
    margin-top: 4px;
    color: #7f7565;
    font-size: 12px;
    line-height: 1.6;
}

/* ============================================================
   表单基础
   ============================================================ */
.containerMain .form-group {
    margin-bottom: 0;
}

.form-group.row {
    margin-left: 0;
    margin-right: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    transition: background-color .15s ease, border-color .15s ease;
}

.form-group.row:hover {
    background: #fffdf8;
}

.form-group.row:first-child {
    padding-top: 0;
}

.form-group.row:last-child {
    border-bottom: none;
}

/* Label */
.containerMain .form-group label.col-form-label,
.containerMain .form-group label.control-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    padding-top: 7px;
    line-height: 1.5;
}

/* 列宽: 使用 Bootstrap 4 原生 col-lg-2 + col-lg-8 / col-lg-10 */

/* ============================================================
   输入框
   ============================================================ */
.form-control {
    border-color: #ded8cc !important;
    border-radius: var(--radius) !important;
    height: 42px;
    font-size: 14px;
    padding: 7px 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(192, 145, 25, 0.12) !important;
}

.ccma-field-error .form-control,
.form-control.ccma-field-error,
.ccma-field-error.note-editor,
.ccma-field-error.file-input,
.ccma-field-error.table,
.form-group.ccma-field-error {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.1) !important;
}

.form-group.ccma-field-error {
    border-radius: var(--radius);
    background: #fff8f7;
}

.ccma-error-message {
    margin-top: 6px;
    color: #c0392b;
    font-size: 12px;
    line-height: 1.5;
}

textarea.form-control {
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ============================================================
   提示文字
   ============================================================ */
.text-danger {
    font-size: 13px;
    color: #b55553 !important;
}

.spanTi {
    font-size: 12px;
    color: #8a8172;
    margin-top: 6px;
    display: inline-block;
    line-height: 1.7;
}

.text-info {
    color: var(--text-secondary) !important;
    font-size: 13px;
}

/* ============================================================
   区块标题 (bg-light)
   ============================================================ */
.form-group.bg-light {
    background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%) !important;
    border-radius: var(--radius);
    border: 1px solid #f0e4cc !important;
    border-bottom: none !important;
    margin: 20px 0 8px 0;
    padding: 16px 24px !important;
}

.form-group.bg-light .font-weight-bold {
    color: var(--text-primary);
    font-size: 15px;
}

.form-group.bg-light .text-danger.font-weight-bold {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
}

/* ============================================================
   提示区块 (重要说明)
   ============================================================ */
.zhu_dao {
    background: #fffaf0;
    padding: 14px 18px !important;
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 4px;
}

/* ============================================================
   Radio / Checkbox
   ============================================================ */
.tou_radio label {
    margin-right: 18px;
    cursor: pointer;
}

.tou_radio label input {
    margin-right: 5px;
}

.checkbox-inline {
    margin-left: 10px;
}

.checkbox-inline input {
    margin-right: 5px;
}

.custom-control-label::before { top: auto; }
.custom-control-label::after { top: 0; }

/* ============================================================
   按钮（柔和配色）
   ============================================================ */
.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all .2s;
}
.btn-primary:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* 主操作按钮 — 描边风格 */
.bthColorCcma {
    background-color: var(--bg-white) !important;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    border-radius: var(--radius) !important;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 20px;
    transition: all .2s;
}
.bthColorCcma:hover {
    background-color: var(--gold-lighter) !important;
    color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    transform: none;
    box-shadow: none;
}

/* 删除按钮 — 柔和描边 */
.container-fluid .form-group .btn-danger {
    background: var(--bg-white);
    color: #c0392b;
    border: 1px solid #e0d6cc;
    border-radius: var(--radius);
    font-size: 13px;
    padding: 5px 16px;
    transition: all .15s;
}
.container-fluid .form-group .btn-danger:hover {
    background: #fdf2f2;
    border-color: #c0392b;
    color: #a93226;
}

/* 删除按钮（ccmaEdit 中的 .choose / .del / .bdlj_del / .zc_del） */
.btn.btn-danger.choose,
.btn.btn-danger {
    background: var(--bg-white);
    color: #999;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 12px;
    padding: 3px 12px;
    transition: all .15s;
}
.btn.btn-danger.choose:hover,
.btn.btn-danger:hover {
    background: #fdf2f2;
    border-color: #c0392b;
    color: #c0392b;
}

/* Wizard 底部按钮 */
.sw .toolbar > .sw-btn {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #fff;
    border-radius: var(--radius);
    min-width: 100px;
    font-weight: 500;
    transition: all .2s;
}
.sw .toolbar > .sw-btn:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* 添加人员按钮 */
#add_person {
    height: 40px;
    min-width: 100px;
    border: 0;
    font-size: 14px;
    border-radius: var(--radius);
}

/* ============================================================
   Step 3 - 网盘信息输入区
   3个input竖排 + 添加按钮在右侧垂直居中
   ============================================================ */
.cloud-form-wrapper {
    display: flex;
    align-items: center;
}

.cloud-inputs {
    flex: 1;
    min-width: 0;
}

.cloud-btn-wrap {
    flex: 0 0 auto;
    padding-left: 20px;
}

.cloud-btn-wrap .btn {
    height: 40px;
    min-width: 100px;
    white-space: nowrap;
}

/* ============================================================
   表格
   ============================================================ */
.table-bordered {
    border: 1px solid #ebe4d8;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #fffdf8 !important;
}

.table-striped > tbody > tr:hover {
    background-color: var(--gold-light) !important;
    transition: background-color 0.15s;
}

thead {
    background: #f8f2e7;
}

thead th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    border-bottom-width: 1px !important;
    white-space: nowrap;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.table td {
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-secondary);
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

#jxtable .dimension-cell {
    min-width: 260px;
    max-width: 420px;
}

#jxtable .dimension-label {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    margin-bottom: 6px;
    border-radius: 999px;
    background: #f7f0df;
    color: #8f6f1b;
    font-size: 12px;
    font-weight: 600;
}

#jxtable .dimension-text {
    white-space: pre-line;
    color: #4f5660;
    line-height: 1.7;
}

#jxtable .price-cell {
    min-width: 110px;
    text-align: center;
}

#jxtable .price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff7e7;
    border: 1px solid #ead7aa;
    color: #8f6f1b;
    font-weight: 700;
    white-space: nowrap;
}

#jxtable .price {
    color: var(--gold);
    font-size: 15px;
}

/* ============================================================
   Summernote 编辑器
   ============================================================ */
.note-editor {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    width: 100% !important;
}

.note-editor .note-toolbar {
    background: #fafafa !important;
    border-bottom: 1px solid #ebeef5 !important;
    padding: 8px 10px !important;
}

.note-editor .note-editing-area .note-editable {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    min-height: 260px;
    padding: 12px 14px;
}

.note-editor:focus-within {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 2px rgba(192, 145, 25, 0.12);
}

.note-editor .note-status-output {
    min-height: 0;
}

.note-editor .note-toolbar .note-btn-group .note-btn[aria-label*="Picture"],
.note-editor .note-toolbar .note-btn-group .note-btn[aria-label*="Video"] {
    display: none !important;
}

/* ============================================================
   上传控件状态
   ============================================================ */
.file-input {
    border: 1px solid #eadfc7;
    border-radius: var(--radius-lg);
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    box-shadow: 0 4px 14px rgba(99, 75, 24, 0.05);
}

.file-input .file-drop-zone {
    border: 1px dashed #d5c296;
    border-radius: var(--radius);
    background: #fff;
}

.file-input .file-preview {
    border-color: #eadfc7;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.file-input .btn-file,
.file-input .fileinput-upload-button {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #fff !important;
}

.ccma-upload-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f7f7f7;
    color: var(--text-muted);
    font-size: 12px;
}

.ccma-upload-status .upload-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.ccma-upload-status .upload-name {
    color: #5f513b;
    font-weight: 700;
}

.ccma-upload-status .upload-count {
    margin-left: 4px;
    padding-left: 8px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    color: #8f6f1b;
    font-weight: 700;
}

.ccma-upload-status.is-ready {
    background: #f7f0df;
    color: #9a6d18;
}

.ccma-upload-status.is-uploading {
    background: #eef5ff;
    color: #2f6fb5;
}

.ccma-upload-status.is-uploading .upload-dot {
    animation: ccmaPulse 1s infinite ease-in-out;
}

.ccma-upload-status.is-success {
    background: #eef8ef;
    color: #3d7a47;
}

.ccma-upload-status.is-error {
    background: #fff0f0;
    color: #c0392b;
}

@keyframes ccmaPulse {
    0%, 100% { opacity: .35; transform: scale(.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ============================================================
   已选公司 / 品牌表格
   使用 Bootstrap col-lg-10 自然撑满，不再限制宽度
   ============================================================ */
.agent-class-1 table,
.brand-class-1 table {
    width: 100%;
}

/* ============================================================
   Step 2 - 奖项选择
   ============================================================ */
/* 奖项3级联动 + 添加按钮 同行排列 */
.prize-cascade-row {
    flex-wrap: nowrap;
}

.prize-cascade-row .col-auto {
    padding-left: 6px;
    padding-right: 6px;
    flex: 1 1 0;
    min-width: 0;
}

.prize-cascade-row .col-auto .form-control {
    width: 100%;
    min-width: 120px;
}

/* 添加奖项按钮列不要拉伸 */
.prize-cascade-row .col-auto:last-child {
    flex: 0 0 auto;
}

/* 专项信息区块 */
[id^="classType_"] .page-header {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    margin: 24px 0 16px 0;
}

[id^="classType_"] .form-group.row {
    padding-left: 12px;
    padding-right: 12px;
}

/* ============================================================
   Step 4 - 人员信息
   label + input 两列布局: col-lg-1(label) + col-lg-4(input) + col-lg-1(label) + col-lg-4(input)
   ============================================================ */

/* 第4步首个标题块 */
#step-4 .step4-header {
    border-bottom: none !important;
}

.form-group_new {
    align-items: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.form-group_new label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    text-align: right;
    padding-right: 8px;
}

.form-group_new .form-control {
    width: 100%;
}

#add_person {
    margin-top: 2px;
}

/* ============================================================
   费用显示
   ============================================================ */
.font-weight-bold {
    font-size: 15px;
}

.charges {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
}

/* ============================================================
   弹窗提示
   ============================================================ */
#divInfo,
#divInfo1,
#divInfo2,
#divInfo3,
#divInfo4,
#divInfo5,
#divInfo6,
#divInfo7,
#divInfo8 {
    position: absolute;
    display: none;
    width: 265px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--bg-white);
    padding: 16px;
    line-height: 20px;
    top: 40px;
    z-index: 999999999999;
    font-size: 13px;
    text-align: justify;
    font-weight: normal;
    left: 10px;
    border-radius: var(--radius);
}

/* ============================================================
   首页相关
   ============================================================ */
.b_span {
    background: rgba(192, 145, 25, 0.1);
    border: 1px solid var(--gold);
    color: #B08843 !important;
    padding: 10px;
}

.td_judge {
    color: #B08843 !important;
}

.b_img {
    cursor: pointer;
}

.panel-info > .panel-heading {
    color: var(--gold) !important;
    background: rgba(192, 145, 25, 0.1) !important;
    display: inline-block !important;
    border-radius: 2px !important;
    padding: 5px 40px !important;
    border: 1px solid var(--gold);
    margin-left: 15px;
}

.panel-info {
    border: none;
}

.panel-footer {
    background: var(--bg-white) !important;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background: var(--gold);
    color: #fff !important;
    border: 1px solid var(--gold) !important;
}

.panel-headMain {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.panel-title {
    margin-right: 20px;
}

.pic_p {
    height: 35px !important;
    width: 100%;
}

.caption {
    padding: 10px;
}

.thumbnail a > img,
.thumbnail > img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 1s ease;
}

.thumbnail a > img:hover {
    transform: scale(1.1);
}

/* ============================================================
   金瞳奖页面标题（列表页等复用）
   ============================================================ */
.jintong {
    background: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    border: 0;
    margin-top: 26px;
}

.jintong .mb-0 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
}

/* ============================================================
   参赛须知入口页 v2
   ============================================================ */
.ccma-index-page {
    max-width: 1360px;
    margin: 0 auto 32px;
}

.ccma-index-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 26px 32px;
    margin-bottom: 16px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    box-shadow: 0 8px 24px rgba(99, 75, 24, 0.06);
}

.index-eyebrow {
    margin-bottom: 8px;
    color: #9a6d18;
    font-size: 12px;
    font-weight: 700;
}

.index-title {
    margin: 0;
    color: #2f2510;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
}

.index-desc {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.index-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #ead7aa;
    border-radius: 999px;
    background: #fffdf8;
    color: #8f6f1b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.index-status.is-done {
    border-color: #d7ead8;
    background: #eef8ef;
    color: #3d7a47;
}

.ccma-index-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ccma-rules-panel,
.index-action-card {
    border: 1px solid #eee4cf;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    box-shadow: 0 8px 24px rgba(99, 75, 24, 0.06);
}

.ccma-rules-panel {
    padding: 24px 28px;
}

.index-section-head {
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eee4cf;
}

.index-section-head h3 {
    margin: 0;
    color: #2f2510;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.index-section-head p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.index-rule-list {
    display: grid;
    gap: 12px;
}

.index-rule-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: #fffdf8;
}

.rule-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gold);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.rule-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #2f2510;
    font-size: 15px;
    font-weight: 700;
}

.rule-title i {
    color: var(--gold);
    font-size: 14px;
}

.rule-summary {
    margin-bottom: 8px;
    color: #8f6f1b;
    font-size: 13px;
    font-weight: 700;
}

.rule-main p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
    text-align: justify;
}

.ccma-index-aside {
    position: static;
}

.index-action-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 640px);
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
}

.action-copy {
    min-width: 0;
}

.action-title {
    color: #2f2510;
    font-size: 16px;
    font-weight: 700;
}

.action-desc {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.index-agree-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #ead7aa;
    border-radius: var(--radius);
    background: #fffdf8;
    color: #5f5131;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}

.action-controls {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.index-agree-box.is-checked {
    border-color: #d7ead8;
    background: #eef8ef;
    color: #3d7a47;
}

.index-agree-box.is-saving {
    opacity: .78;
    cursor: wait;
}

.index-agree-box input {
    width: 17px;
    height: 17px;
    margin-top: 0;
    accent-color: var(--gold);
    cursor: pointer;
    flex: 0 0 auto;
}

.index-agree-box input:disabled {
    cursor: default;
}

.index-submit-button {
    width: 180px;
    height: 42px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    background: var(--gold);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, opacity .2s;
}

#submitButton.index-submit-button {
    width: 180px;
    height: 42px;
    min-width: 0;
    border-radius: var(--radius);
    font-size: 14px;
    box-shadow: none;
    transform: none;
}

.index-submit-button:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

#submitButton.index-submit-button:hover {
    transform: none;
    box-shadow: none;
}

.index-submit-button:disabled {
    opacity: .72;
    cursor: not-allowed;
}

.index-secondary-link {
    height: 42px;
    margin-top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 180px;
    border: 1px solid #ded8cc;
    border-radius: var(--radius);
    background: #fff;
    color: #756b5d;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.index-secondary-link:hover {
    background: var(--gold-lighter);
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 992px) {
    .ccma-header-title span {
        display: none;
    }

    .ccma-user-meta,
    .ccma-user-caret {
        display: none;
    }

    .navbar-custom-menu {
        padding-right: 10px;
    }

    .ccma-index-layout {
        grid-template-columns: 1fr;
    }

    .ccma-index-aside {
        position: static;
    }

    .index-action-card {
        grid-template-columns: 1fr;
    }

    .action-controls {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        width: 100%;
    }

    .index-submit-button,
    .index-secondary-link {
        flex: 1 1 0;
        width: auto;
    }

    #submitButton.index-submit-button {
        width: auto;
    }
}

@media (max-width: 768px) {
    .ccma-header-title strong {
        font-size: 15px;
    }

    .ccma-sidebar-toggle-icon {
        width: 38px;
        height: 38px;
    }

    .main-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 18px;
    }

    .main-footer-meta span + span {
        padding-left: 0;
        border-left: none;
    }

    .ccma-index-hero {
        flex-direction: column;
        padding: 20px;
    }

    .ccma-rules-panel,
    .index-action-card {
        padding: 20px;
    }

    .index-rule-card {
        grid-template-columns: 1fr;
    }

    .rule-number {
        width: 38px;
        height: 38px;
    }
}

/* ============================================================
   列表页
   ============================================================ *//* ============================================================
   杂项修正
   ============================================================ */
.content-wrapper {
    display: flex;
}

.card-body {
    margin-bottom: 3rem;
}

.container-fluid .form-group .spanTi {
    margin-top: 4px;
    display: inline-block;
}

.container-fluid .form-group table {
    margin-bottom: 0 !important;
}

.container-fluid .form-group .btn-danger .align-items-center {
    align-items: flex-start;
}

/* ============================================================
   响应式
   ============================================================ */

/* ---------- 大屏自适应 (> 1400px) ---------- */
@media (min-width: 1400px) {
    .containerMain {
        max-width: 1600px;
        padding: 32px 80px;
    }
}

/* ---------- 中等屏幕 (768px ~ 992px) ---------- */
@media (max-width: 992px) {
    .containerMain {
        padding: 20px 16px;
    }

    .ccma-form-hero {
        padding: 18px 20px;
        align-items: flex-start;
    }

    .sw > .tab-content {
        padding: 16px 20px 32px;
    }

    .form-group_new .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 4px;
    }

    /* 步骤导航缩小 */
    .sw-theme-arrows > .nav .nav-link {
        padding: 14px 12px !important;
        font-size: 13px;
        gap: 6px;
    }

    .sw-theme-arrows > .nav .nav-link .num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* ---------- 小屏幕 (< 768px) ---------- */
@media (max-width: 768px) {
    .containerMain {
        padding: 12px 8px;
    }

    .ccma-form-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .ccma-form-title {
        font-size: 20px;
    }

    .ccma-form-back {
        justify-content: center;
        width: 100%;
    }

    /* 步骤导航：横向可滚动 */
    .sw-theme-arrows > .nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sw-theme-arrows > .nav::-webkit-scrollbar {
        display: none;
    }

    .sw-theme-arrows > .nav .nav-item {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .sw-theme-arrows > .nav .nav-link {
        padding: 12px 10px !important;
        font-size: 12px;
        gap: 4px;
        white-space: nowrap;
    }

    .sw-theme-arrows > .nav .nav-link .num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    /* 箭头指示器缩小 */
    .sw-theme-arrows > .nav .nav-link::after {
        border-width: 20px 0 20px 10px !important;
    }

    /* 内容区 */
    .sw > .tab-content {
        padding: 12px 12px 24px;
    }

    /* 表单行：label 和 input 竖排 */
    .form-group.row {
        flex-direction: column;
        padding: 12px 0;
    }

    .containerMain .form-group label.col-form-label,
    .containerMain .form-group label.control-label {
        text-align: left !important;
        padding-top: 0;
        margin-bottom: 6px;
    }

    .form-group.row > [class*="col-lg-"],
    .form-group.row > [class*="col-md-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* 人员信息双列变单列 */
    .form-group_new {
        flex-direction: column;
    }

    .form-group_new [class*="col-lg-"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .form-group_new label {
        text-align: left !important;
        margin-bottom: 4px;
    }

    /* 奖项三级联动换行 */
    .prize-cascade-row {
        flex-wrap: wrap !important;
    }

    .prize-cascade-row .col-auto {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        margin-bottom: 8px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .prize-cascade-row .col-auto .form-control {
        min-width: 0;
    }

    /* 表格横向滚动 */
    .table-bordered,
    .table-striped {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 提示区块 */
    .zhu_dao {
        font-size: 13px;
        padding: 10px 14px !important;
        line-height: 1.6;
    }

    /* 按钮区域 */
    .sw .toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .sw .toolbar > .sw-btn {
        min-width: 80px;
        font-size: 13px;
        padding: 6px 16px;
    }

    /* 网盘表单 */
    .cloud-form-wrapper {
        flex-direction: column;
    }

    .cloud-btn-wrap {
        padding-left: 0;
        margin-top: 10px;
        text-align: center;
    }

    /* 模态框 */
    .modal-content {
        width: 95vw !important;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ---------- 超小屏幕 (< 480px) ---------- */
@media (max-width: 480px) {
    .containerMain {
        padding: 8px 4px;
    }

    .sw-theme-arrows > .nav .nav-item {
        min-width: 100px;
    }

    .sw-theme-arrows > .nav .nav-link {
        padding: 10px 6px !important;
        font-size: 11px;
        gap: 3px;
    }

    .sw > .tab-content {
        padding: 8px 8px 20px;
    }

    .form-group.row {
        padding: 10px 0;
    }

    .form-control {
        height: 36px;
        font-size: 13px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .sw .toolbar > .sw-btn {
        min-width: 70px;
        font-size: 12px;
    }
}

/* ============================================================
   列表页专用样式
   ============================================================ */

/* ---------- 调研通知条 ---------- */
.survey-notice {
    background: var(--gold-lighter);
    border: 1px solid var(--gold);
    color: var(--gold-hover);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.survey-notice a {
    background-color: var(--gold);
    color: #fff;
    padding: 4px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s;
}

.survey-notice a:hover {
    background-color: var(--gold-hover);
    color: #fff;
}

/* ---------- 统计卡片 ---------- */
.ccma-header {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 18px rgba(99, 75, 24, 0.05);
    padding: 22px 24px;
    margin-bottom: 16px;
}

.ccma-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ccma-header .ccma-header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
}

.ccma-header-subtitle {
    margin: 8px 0 0 18px;
    color: var(--text-muted);
    font-size: 13px;
}

.ccma-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ccma-stat-card {
    position: relative;
    background: #fffbf3;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    padding: 14px 16px 14px 54px;
    text-align: left;
    overflow: hidden;
}

.ccma-stat-card .stat-icon {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--gold);
    box-shadow: 0 2px 8px rgba(99, 75, 24, 0.08);
}

.ccma-stat-card.is-primary {
    background: linear-gradient(180deg, #fff8e8 0%, #f7edd6 100%);
    border-color: #ead7aa;
}

.ccma-stat-card.is-primary .stat-value {
    color: #c0392b;
}

.ccma-stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

.ccma-stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ---------- 列表筛选 ---------- */
.ccma-list-filter {
    margin-bottom: 16px;
    padding: 14px 18px;
    background: var(--bg-white);
    border: 1px solid #eee4cf;
    border-radius: var(--radius-lg);
    box-shadow: 0 3px 14px rgba(99, 75, 24, 0.04);
}

.ccma-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 0;
}

.ccma-filter-form .filter-field {
    flex: 0 0 180px;
}

.ccma-filter-form .filter-keyword {
    flex: 0 1 420px;
    max-width: 420px;
}

.ccma-filter-form label {
    display: block;
    margin-bottom: 6px;
    color: #5f5131;
    font-size: 12px;
    font-weight: 700;
}

.filter-input-wrap {
    position: relative;
}

.filter-input-wrap .fa-search {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #b8aa8f;
    z-index: 1;
}

.filter-input-wrap .form-control {
    padding-left: 38px;
}

.filter-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.filter-actions .bthColorCcma {
    width: 116px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.btn-filter-reset {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #ded8cc;
    border-radius: var(--radius);
    background: #fff;
    color: #756b5d;
    font-size: 13px;
    font-weight: 600;
}

.btn-filter-reset:hover {
    background: #f7f0df;
    color: var(--gold);
}

/* ---------- 列表表格 ---------- */
.ccma-list-table {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid #eee4cf;
    box-shadow: 0 4px 16px rgba(99, 75, 24, 0.04);
    overflow: hidden;
}

.ccma-list-table table {
    margin-bottom: 0 !important;
    table-layout: fixed;
    width: 100%;
}

.ccma-list-responsive {
    overflow-x: visible !important;
}

.ccma-list-table .col-case-name { width: 18%; }
.ccma-list-table .col-prizes { width: 29%; }
.ccma-list-table .col-count { width: 9%; }
.ccma-list-table .col-price { width: 11%; }
.ccma-list-table .col-status { width: 11%; }
.ccma-list-table .col-actions { width: 22%; }

.ccma-list-table th,
.ccma-list-table td {
    white-space: normal;
    word-break: break-word;
}

.ccma-list-table thead th {
    background: #fbfaf7;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    border-bottom-width: 1px !important;
    white-space: nowrap;
    padding: 13px 16px;
}

.ccma-list-table tbody td {
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 16px;
}

.ccma-list-table tbody tr:hover {
    background-color: var(--gold-lighter) !important;
    transition: background-color 0.15s;
}

/* 操作按钮 */
.ccma-list-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    min-width: 54px;
    height: 28px;
    padding: 0 8px;
    border-radius: var(--radius);
    margin: 0;
    line-height: 1;
}

.ccma-list-table .btn-view,
.ccma-list-table .btn-edit {
    background: var(--bg-white);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.ccma-list-table .btn-view:hover,
.ccma-list-table .btn-edit:hover {
    background: var(--gold);
    color: #fff;
}

.ccma-list-table .btn-del {
    background: var(--bg-white);
    color: #dd4b39;
    border: 1px solid #dd4b39;
}

.ccma-list-table .btn-del:hover {
    background: #dd4b39;
    color: #fff;
}

.ccma-list-table .btn-disabled {
    background: #f5f5f5;
    color: #bbb;
    border: 1px solid #ddd;
    cursor: not-allowed;
}

/* 分页区域 */
.ccma-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: #fafafa;
}

/* ---------- 列表页响应式 ---------- */
@media (max-width: 992px) {
    .ccma-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ccma-header {
        padding: 16px;
    }

    .ccma-header-top {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .ccma-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ccma-stat-card {
        padding: 12px;
    }

    .ccma-stat-card .stat-icon {
        position: static;
        margin-bottom: 8px;
    }

    .ccma-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .ccma-filter-form .filter-field,
    .ccma-filter-form .filter-keyword,
    .filter-actions {
        flex: 1 1 auto;
        width: 100%;
    }

    .filter-actions .btn,
    .filter-actions .btn-filter-reset {
        flex: 1 1 0;
    }

    .ccma-stat-card .stat-value {
        font-size: 18px;
    }

    .ccma-list-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ccma-list-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ccma-stat-card .stat-value {
        font-size: 16px;
    }

    .ccma-stat-card .stat-label {
        font-size: 12px;
    }
}

/* ============================================================
   作品详情页 v2
   ============================================================ */

/* --- 入场动画 --- */
@keyframes ccmaFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ccma-detail,
.ccma-section,
.ccma-info-grid { animation: ccmaFadeUp .45s ease both; }
.ccma-section:nth-child(2) { animation-delay: .06s; }
.ccma-section:nth-child(3) { animation-delay: .12s; }
.ccma-section:nth-child(4) { animation-delay: .18s; }
.ccma-section:nth-child(5) { animation-delay: .24s; }
.ccma-section:nth-child(6) { animation-delay: .30s; }
.ccma-section:nth-child(7) { animation-delay: .36s; }

/* --- 主卡片 --- */
.ccma-detail {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

/* --- 头部 --- */
.ccma-detail-header {
    background: var(--gold-lighter);
    padding: 20px 32px 18px;
    text-align: center;
    border-bottom: 1px solid rgba(192,145,25,.12);
}

.ccma-detail-name {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.5;
}

.ccma-detail-meta {
    color: var(--text-muted);
    font-size: 13px;
}
.ccma-detail-meta i { margin-right: 3px; color: var(--gold); opacity: .6; }
.ccma-detail-meta .sep {
    margin: 0 8px;
    opacity: .3;
    font-weight: 300;
}

.ccma-detail-body {
    padding: 36px 40px;
}

/* --- 区块 --- */
.ccma-section {
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}
.ccma-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ccma-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
    padding: 10px 0 10px 16px;
    border-left: 4px solid var(--gold);
    background: linear-gradient(90deg, var(--gold-lighter), transparent 60%);
    border-radius: 0 var(--radius) var(--radius) 0;
    line-height: 1.4;
}
.ccma-section-title i {
    margin-right: 8px;
    color: var(--gold);
    font-size: 15px;
}

.ccma-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 14px;
    padding: 8px 0 8px 12px;
    border-left: 3px solid var(--gold-light);
}

/* --- 基础信息网格 --- */
.ccma-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 44px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}

.ccma-info-card {
    background: var(--gold-lighter);
    border-radius: var(--radius);
    padding: 18px 22px;
    border: 1px solid rgba(192,145,25,.06);
    transition: box-shadow .25s ease, transform .25s ease;
}
.ccma-info-card:hover {
    box-shadow: 0 4px 14px rgba(176,136,67,.12);
    transform: translateY(-2px);
}

.ccma-info-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
}
.ccma-info-label i {
    margin-right: 4px;
    font-size: 11px;
    color: var(--gold);
}

.ccma-info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.7;
    word-break: break-all;
}

/* --- 文章式内容 --- */
.ccma-article {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--bg-page);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    transition: background .2s ease;
}
.ccma-article:hover {
    background: #f2f2f2;
}
.ccma-article:last-child {
    margin-bottom: 0;
}

.ccma-article-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    margin: 0 0 12px;
    padding: 0;
    letter-spacing: .2px;
}
.ccma-article-title i {
    font-size: 10px;
    margin-right: 6px;
    opacity: .7;
}

.ccma-article-body {
    font-size: 15px;
    line-height: 2;
    color: var(--text-secondary);
    word-wrap: break-word;
}

/* --- 导图 --- */
.ccma-main-img {
    display: block;
    max-width: 860px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform .35s ease, box-shadow .35s ease;
}
.ccma-main-img:hover {
    transform: scale(1.008);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

/* --- 图片网格（最多50张） --- */
.ccma-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.ccma-img-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}
.ccma-img-grid img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
/* 数量标签 */
.ccma-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gold-lighter);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/* --- 视频区域 --- */
.ccma-video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
}
.ccma-video-card {
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transition: box-shadow .3s ease;
}
.ccma-video-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
}
.ccma-video-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- 表格 --- */
.ccma-detail-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ccma-detail-table {
    width: 100%;
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}
.ccma-detail-table thead th {
    background: linear-gradient(180deg, #fafafa, #f5f5f5);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-light);
    white-space: nowrap;
    letter-spacing: .3px;
}
.ccma-detail-table tbody td {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-light);
}
.ccma-detail-table tbody tr:last-child td { border-bottom: none; }
.ccma-detail-table tbody tr:hover td { background: var(--gold-lighter); }

.ccma-detail-table tbody a {
    color: var(--gold);
    text-decoration: none;
    word-break: break-all;
    transition: color .2s;
}
.ccma-detail-table tbody a:hover { color: var(--gold-hover); text-decoration: underline; }

.ccma-detail-table .price {
    font-weight: 600;
    color: var(--text-primary);
}

.ccma-total-row { background: var(--gold-lighter); }
.ccma-total-row td {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: none !important;
}
.ccma-total-row .price-total {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold);
}

/* --- PDF 按钮 --- */
.ccma-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #fff;
    padding: 11px 30px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(176,136,67,.25);
}
.ccma-pdf-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), #8B6914);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(176,136,67,.35);
}

/* --- 人员卡片 --- */
.ccma-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ccma-person-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow .25s, transform .25s;
}
.ccma-person-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}

.ccma-person-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-hover));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(176,136,67,.25);
}

.ccma-person-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ccma-person-role {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 500;
}

.ccma-person-contact {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}
.ccma-person-contact i {
    width: 14px;
    text-align: center;
    margin-right: 4px;
    color: var(--gold);
    opacity: .6;
}

/* --- 详情页响应式 --- */
@media (max-width: 992px) {
    .ccma-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ccma-detail-header { padding: 16px 20px; }
    .ccma-detail-name   { font-size: 16px; }
    .ccma-detail-body   { padding: 20px; }
    .ccma-info-grid     { grid-template-columns: 1fr; gap: 10px; }
    .ccma-section       { margin-bottom: 28px; padding-bottom: 24px; }
    .ccma-section-title { font-size: 15px; margin-bottom: 16px; }
    .ccma-article       { padding: 16px 18px; }
    .ccma-img-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ccma-video-list    { grid-template-columns: 1fr; }
    .ccma-people-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ccma-detail-body { padding: 16px; }
    .ccma-img-grid    { grid-template-columns: 1fr; }
    .ccma-people-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   作品详情页 v3
   ============================================================ */
.ccma-detail-v3 {
    max-width: 1500px;
    margin: 0 auto 32px;
}

.ccma-detail-hero,
.detail-panel {
    background: var(--bg-white);
    border: 1px solid #eee4cf;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(99, 75, 24, 0.06);
}

.ccma-detail-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 32px;
    margin-bottom: 16px;
}

.detail-eyebrow {
    margin-bottom: 8px;
    color: #9a6d18;
    font-size: 12px;
    font-weight: 700;
}

.detail-title {
    margin: 0;
    color: #2f2510;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 700;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f7f0df;
    color: #75613a;
    font-size: 12px;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.btn-detail-light {
    height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #ded8cc;
    border-radius: var(--radius);
    background: #fff;
    color: #756b5d;
    font-size: 13px;
    font-weight: 600;
}

.btn-detail-light:hover {
    background: var(--gold-lighter);
    border-color: var(--gold);
    color: var(--gold);
}

.ccma-detail-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid #ead7aa;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff 0%, #fff8e8 100%);
}

.summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--gold);
    box-shadow: 0 3px 10px rgba(99, 75, 24, 0.08);
    flex: 0 0 auto;
}

.summary-value {
    color: #8f6f1b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.summary-label {
    margin-top: 4px;
    color: #8a8172;
    font-size: 13px;
}

.detail-panel {
    padding: 24px 30px;
    margin-bottom: 16px;
}

.detail-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee4cf;
}

.detail-section-head h4 {
    margin: 0;
    color: #2f2510;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.detail-section-head h4 i {
    margin-right: 8px;
    color: var(--gold);
}

.detail-section-head p {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-info-item {
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: #fffdf8;
}

.detail-info-item span {
    display: block;
    margin-bottom: 7px;
    color: #8a8172;
    font-size: 12px;
}

.detail-info-item strong {
    color: #2f2510;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.detail-relation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.relation-box {
    padding: 14px 16px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: #fff;
}

.relation-title {
    margin-bottom: 10px;
    color: #5f5131;
    font-size: 13px;
    font-weight: 700;
}

.relation-title i {
    margin-right: 6px;
    color: var(--gold);
}

.relation-content {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.relation-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border: 1px solid #ead7aa;
    border-radius: 999px;
    background: var(--gold-lighter);
    color: #8f6f1b;
    font-size: 12px;
}

.material-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.material-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: #fffdf8;
}

.material-title {
    color: #2f2510;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.material-title i {
    margin-right: 6px;
    color: var(--gold);
}

.material-desc {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
}

.material-status {
    min-width: 58px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef8ef;
    color: #3d7a47;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.detail-media-block {
    margin-top: 22px;
}

.detail-subhead {
    margin-bottom: 12px;
    color: #5f5131;
    font-size: 14px;
    font-weight: 700;
}

.content-stack {
    display: grid;
    gap: 12px;
}

.content-block {
    padding: 18px 20px;
    border: 1px solid #eee4cf;
    border-radius: var(--radius);
    background: #fffdf8;
}

.content-block h5 {
    margin: 0 0 10px;
    color: #8f6f1b;
    font-size: 14px;
    font-weight: 700;
}

.content-body {
    color: #3f3a32;
    font-size: 14px;
    line-height: 1.9;
    word-break: break-word;
}

.content-body img,
.content-body video,
.content-body iframe {
    max-width: 100%;
}

.detail-panel .ccma-detail-table-wrap {
    overflow-x: visible;
}

.detail-panel .ccma-detail-table {
    table-layout: fixed;
}

.detail-panel .ccma-detail-table thead th {
    background: #faf7ef;
}

.detail-panel .ccma-detail-table tbody td {
    word-break: break-word;
}

.detail-panel .ccma-person-card {
    align-items: flex-start;
    text-align: left;
    background: #fffdf8;
}

.detail-panel .ccma-person-avatar {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    font-size: 15px;
}

.detail-empty {
    padding: 24px;
    border: 1px dashed #ead7aa;
    border-radius: var(--radius);
    background: #fffdf8;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 1200px) {
    .ccma-detail-summary,
    .material-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ccma-detail-hero {
        flex-direction: column;
        padding: 20px;
    }

    .detail-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .detail-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .ccma-detail-summary,
    .detail-info-grid,
    .detail-relation-grid,
    .material-list {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        padding: 20px;
    }
}

/* ============================================================
   列表页增强样式
   ============================================================ */

/* 空状态 */
.ccma-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.ccma-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--gold);
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ccma-empty-state p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* 表格行 hover 动效 */
.ccma-list-table tbody tr {
    transition: all 0.2s ease;
}

.ccma-list-table tbody tr:hover {
    background-color: var(--gold-lighter) !important;
}

/* 奖项标签 */
.prize-tag {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold);
    padding: 4px 10px;
    border: 1px solid #ead7aa;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.45;
    margin: 3px 5px 3px 0;
}

.ccma-prize-cell {
    min-width: 0;
    max-width: none;
    line-height: 1.8;
}

/* 状态徽章 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.editable {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.submitted {
    background: var(--gold-light);
    color: var(--gold);
}

/* 单元格优化 */
.ccma-name-cell {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 0;
}

.ccma-name-cell .case-name {
    max-width: none;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.ccma-name-cell .case-meta {
    margin-top: 4px;
    color: #9b9285;
    font-size: 12px;
    font-weight: 500;
}

.ccma-price-cell {
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
}

.ccma-price-cell .price-strong {
    color: #8f6f1b;
    font-size: 15px;
}

.ccma-count-cell {
    text-align: center;
    font-weight: 600;
}

.count-badge {
    min-width: 34px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff7e7;
    border: 1px solid #ead7aa;
    color: #8f6f1b;
    font-weight: 700;
}

.ccma-action-cell {
    white-space: normal !important;
    min-width: 0;
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* 操作按钮增强 */
.ccma-action-cell .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ccma-action-cell .btn + .btn { margin-left: 0; }

/* 分页区域增强 */
.ccma-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: #fafafa;
}

.ccma-list-footer strong {
    color: var(--gold);
}

.ccma-list-footer .footer-muted {
    color: var(--text-muted);
    font-size: 13px;
}

/* 统计卡片增强 */
.ccma-stat-card {
    position: relative;
    overflow: hidden;
}

.ccma-stat-card::before {
    content: '';
    position: absolute;
    top: -26px;
    right: -26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(192, 145, 25, 0.035);
}

/* 报送按钮增强 */
.ccma-header-top .bthColorCcma {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 文件上传按钮 */
.rightBtn {
    background-color: var(--gold-lighter) !important;
    border: 1px solid rgba(192,145,25,.25) !important;
    color: var(--gold) !important;
    font-size: 13px !important;
    font-weight: 500;
    border-radius: var(--radius) !important;
    transition: all .2s;
}
.rightBtn:hover {
    background-color: var(--gold-light) !important;
    border-color: var(--gold) !important;
    color: var(--gold-hover) !important;
}

/* 表格区域 */
.table-bordered {
    border: 1px solid var(--border-light) !important;
}
.table td, .table th {
    vertical-align: middle;
    font-size: 13px;
}

/* 公司/品牌查询 */
.search1.bthColorCcma,
.search2.bthColorCcma {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    height: 34px;
    border-radius: var(--radius);
    font-weight: 500;
}

.agent-class-1 table,
.brand-class-1 table {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
}

.agent-class-1 thead td,
.brand-class-1 thead td {
    background: #faf7ef;
    color: #5f5131;
    font-weight: 600;
}

.agent-class-2 td,
.brand-class-2 td {
    background: #fffdf8;
}

.ccma-search-loading {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #999;
    font-size: 14px;
}

.ccma-search-loading .fa {
    color: var(--gold);
    font-size: 28px;
}

.ccma-search-loading.ccma-search-error {
    color: #d93025;
}

.ccma-search-loading.ccma-search-error .fa {
    color: #d93025;
}

/* ============================================================
   报送系统 PC / 平板整体适配收口
   ============================================================ */
@media (max-width: 1366px) and (min-width: 1200px) {
    .containerMain {
        max-width: 1260px;
        padding: 24px 28px 34px;
    }

    .ccma-form-hero,
    .ccma-header,
    .ccma-index-hero,
    .ccma-detail-hero {
        padding: 20px 24px;
    }

    .sw > .tab-content {
        padding: 22px 26px 44px;
    }

    .ccma-list-table thead th,
    .ccma-list-table tbody td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ccma-list-table .btn-sm {
        min-width: 50px;
        height: 28px;
        margin-right: 4px;
        padding: 0 7px;
    }

    .detail-panel {
        padding: 22px 26px;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .containerMain {
        max-width: 100%;
        padding: 22px 24px 34px;
    }

    .ccma-form-hero,
    .ccma-header,
    .ccma-index-hero,
    .ccma-list-filter,
    .ccma-list-table,
    .ccma-detail-hero,
    .detail-panel,
    .ccma-rules-panel,
    .index-action-card {
        border-radius: 8px;
    }

    .ccma-form-hero,
    .ccma-header,
    .ccma-index-hero,
    .ccma-detail-hero {
        padding: 20px 22px;
    }

    .ccma-form-hero,
    .ccma-header-top,
    .ccma-detail-hero {
        align-items: flex-start;
    }

    .sw-theme-arrows > .nav .nav-link {
        min-height: 60px;
        padding: 14px 12px !important;
        font-size: 13px;
    }

    .sw > .tab-content {
        padding: 20px 22px 40px;
    }

    .form-group.row {
        padding: 16px 0;
    }

    .form-group.row > [class*="col-lg-"] {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .containerMain .form-group label.col-form-label,
    .containerMain .form-group label.control-label {
        text-align: left !important;
        padding-top: 0;
        margin-bottom: 8px;
    }

    .form-group_new {
        align-items: stretch;
    }

    .form-group_new label {
        text-align: left;
    }

    .prize-cascade-row {
        flex-wrap: wrap;
        gap: 8px 0;
    }

    .prize-cascade-row .col-auto {
        flex: 1 1 32%;
        min-width: 220px;
    }

    .prize-cascade-row .col-auto:last-child {
        flex: 0 0 120px;
    }

    .cloud-form-wrapper {
        align-items: flex-start;
    }

    .file-input {
        padding: 14px;
    }

    .file-drop-zone {
        min-height: 210px;
    }

    .modal-content {
        width: min(800px, calc(100vw - 56px)) !important;
        max-width: calc(100vw - 56px);
        margin-left: auto;
        margin-right: auto;
    }

    .note-editor .note-editing-area .note-editable {
        min-height: 220px;
    }

    .ccma-filter-form {
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .ccma-filter-form .filter-keyword {
        flex: 1 1 280px;
        max-width: none;
    }

    .ccma-filter-form .filter-field {
        flex: 0 0 180px;
    }

    .filter-actions {
        flex: 0 0 auto;
    }

    .ccma-list-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .ccma-list-table table {
        min-width: 980px;
    }

    .ccma-list-table .col-case-name { width: 20%; }
    .ccma-list-table .col-prizes { width: 29%; }
    .ccma-list-table .col-actions { width: 22%; }

    .ccma-index-page,
    .ccma-detail-v3 {
        max-width: 100%;
    }

    .index-action-card {
        grid-template-columns: 1fr;
    }

    .action-controls {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ccma-detail-summary,
    .material-list,
    .detail-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-relation-grid {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        padding: 22px 24px;
    }

    .detail-panel .ccma-detail-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .detail-panel .ccma-detail-table {
        min-width: 760px;
    }

    .agent-class-1,
    .brand-class-1,
    .agent-class-2,
    .brand-class-2 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .agent-class-1 table,
    .brand-class-1 table,
    .agent-class-2 table,
    .brand-class-2 table {
        min-width: 640px;
    }

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

    .ccma-video-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .content-wrapper {
        display: block;
    }

    .containerMain {
        padding: 18px 18px 30px;
    }

    .ccma-header-title span {
        display: none;
    }

    .ccma-stats,
    .ccma-detail-summary,
    .material-list,
    .detail-info-grid,
    .ccma-img-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ccma-filter-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 180px auto;
        gap: 12px;
    }

    .ccma-filter-form .filter-field,
    .ccma-filter-form .filter-keyword,
    .filter-actions {
        width: auto;
        max-width: none;
    }

    .sw .toolbar {
        padding: 14px 18px !important;
    }

    .sw .toolbar #fixed-message {
        flex: 1 1 100%;
    }

    .ccma-video-list,
    .ccma-people-grid {
        grid-template-columns: 1fr;
    }
}
