:root { --brand-blue: #0756b5; --brand-teal: #0b9f9b; }
body { color: #1c2b3c; }
body.auth-pending #login-view { visibility: hidden; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #eaf4fb, #f6f8fb 58%, #f3fbf7); }
.login-card { width: min(100%, 390px); border-color: #dbe6ef; }
.navbar-brand strong { display: block; letter-spacing: 0; }
.navbar-brand small { display: block; color: #718096; font-size: 11px; font-weight: 400; }
.brand-mark { width: 42px; height: 42px; overflow: hidden; position: relative; flex: 0 0 auto; }
.brand-mark img { width: 70px; height: 70px; max-width: none; position: absolute; top: -7px; left: -14px; }
.nav-pills .nav-link { color: #526477; font-size: 14px; }
.nav-pills .nav-link.active { background: var(--brand-blue); }
.sidebar { width: 236px; min-height: calc(100vh - 73px); }
.sidebar .list-group-item { border: 0; border-radius: 6px; color: #526477; font-size: 14px; margin-bottom: 4px; }
.sidebar .list-group-item.active { background: #e9f2ff; color: var(--brand-blue); font-weight: 600; }
.card { border-color: #dde6ef; }
.display-6 { color: var(--brand-blue); font-weight: 650; }
.admin-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; min-height:48px; margin:0 0 18px; }
.admin-page-heading__content { min-width:0; }
.admin-page-heading h1 { margin:0; color:#1c2b3c; font-size:20px; font-weight:650; line-height:1.35; }
.admin-page-heading p { margin:3px 0 0; color:#667789; font-size:13px; line-height:1.45; }
.admin-page-heading__action { display:flex; flex:0 0 auto; align-items:center; }
.admin-page-heading__action > .d-flex { flex-wrap:wrap; justify-content:flex-end; }
.admin-page-heading__action .btn { --bs-btn-padding-y:.3rem; --bs-btn-padding-x:.65rem; font-size:13px; white-space:nowrap; }
.scope-options { max-height: 280px; overflow-y: auto; background: #fbfdff; }
.scope-options .form-check { padding: 6px 0 6px 1.5rem; }
.event-workflow-modal { position: fixed; inset: 0; z-index: 1080; display: grid; place-items: center; padding: 24px; background: rgba(19, 34, 50, .42); }
.event-workflow-modal__dialog { width: min(920px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border: 1px solid #d9e4ee; border-radius: 8px; box-shadow: 0 20px 50px rgba(20, 42, 66, .22); }
.event-workflow-modal__dialog .card { border: 0; box-shadow: none !important; margin: 0 !important; }
.event-workflow-progress { border-left: 3px solid var(--brand-teal); }
.event-workflow-step { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e7edf3; }
.event-workflow-step:last-child { border-bottom: 0; }
.event-workflow-step__number { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e9f2ff; color: var(--brand-blue); font-size: 13px; font-weight: 700; }
.event-workflow-step.is-complete .event-workflow-step__number { background: #e2f6f2; color: #087a75; }
.event-detail-header { border: 1px solid #dbe6ef; border-radius: 8px; background: #fff; overflow: hidden; }
.event-detail-header__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 18px; }
.event-detail-header__meta { display: flex; flex-wrap: wrap; gap: 18px; color: #526477; font-size: 14px; }
.event-detail-header__meta i { color: var(--brand-blue); margin-right: 6px; }
.event-detail-header__registration { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 12px 24px; border-top: 1px solid #e7edf3; border-bottom: 1px solid #e7edf3; background: #fbfdff; }
.event-detail-config-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-detail-config-card { display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 16px 20px; border: 0; border-right: 1px solid #e7edf3; background: #fff; color: inherit; }
.event-detail-config-card:last-child { border-right: 0; }
.event-detail-config-card:hover { background: #f5f9fd; }
.event-detail-config-card:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: -2px; }
.event-detail-config-card__icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 6px; background: #e9f2ff; color: var(--brand-blue); }
.event-detail-tabs { border-bottom-color: #dbe6ef; overflow-x: auto; flex-wrap: nowrap; }
.event-detail-tabs .nav-link { white-space: nowrap; color: #526477; }
.event-detail-tabs .nav-link.active { color: var(--brand-blue); font-weight: 600; }
.content-cover-thumb { display: grid; width: 42px; height: 32px; place-items: center; overflow: hidden; border: 1px solid #dbe6ef; border-radius: 4px; background: #f5f8fb; flex: 0 0 auto; }
.content-cover-thumb img { width: 100%; height: 100%; object-fit: cover; }
.content-summary-cell { max-width: 300px; }
.content-interaction-stats { min-width:132px; display:grid; grid-template-columns:repeat(2,max-content); gap:3px 9px; color:#667a8d; font-variant-numeric:tabular-nums; white-space:nowrap; }
.content-wangeditor-shell { overflow: hidden; border: 1px solid #ced9e4; border-radius: 6px; background: #fff; }.content-wangeditor-toolbar { border-bottom: 1px solid #e2eaf1; background: #f8fbfd; }.content-wangeditor-editor { min-height: 340px; }.content-wangeditor-editor .w-e-text-container { min-height: 340px; }.content-wangeditor-editor .w-e-text-placeholder { top: 14px; }.content-wangeditor-notice { min-height: 18px; margin: 6px 10px; color: #637789; font-size: 12px; }.content-wangeditor-notice[data-tone="error"] { color: #b42318; }.content-wangeditor-notice[data-tone="success"] { color: #08725d; }
.content-cover-crop-modal { position:fixed; inset:0; z-index:1100; display:grid; place-items:center; padding:24px; background:rgba(18,36,53,.52); }.content-cover-crop-dialog { width:min(720px,100%); padding:22px; background:#fff; border-radius:8px; box-shadow:0 18px 50px rgba(12,31,47,.28); }.content-cover-crop-frame { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:#1e2c38; touch-action:none; cursor:grab; }.content-cover-crop-frame img { position:absolute; top:50%; left:50%; max-width:none; max-height:none; transform-origin:center; translate:-50% -50%; user-select:none; pointer-events:none; }
.content-media-list { display: grid; gap: 8px; }
.content-media-preview { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 54px; padding: 6px; border: 1px solid #dbe6ef; border-radius: 4px; background: #fbfdff; font-size: 12px; color: #526477; }
.content-media-preview img { width: 72px; height: 48px; object-fit: cover; }
.content-media-preview__insertable { cursor: copy; }
.content-media-preview--video { grid-template-columns: 1fr; }
.content-media-preview video { width: 100%; max-height: 220px; background: #111; }
.mobile-entry-modal { max-width:680px; margin:auto; }.mobile-entry-list { display:grid; gap:14px; }.mobile-entry-card { padding:16px; border:1px solid #dbe6ef; border-radius:8px; background:#fbfdff; }.mobile-entry-card--real { border-color:#9cbfe8; background:#f5f9ff; }.mobile-entry-card__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.mobile-entry-card__heading h3 { margin:0; color:#1c2b3c; font-size:16px; }.mobile-entry-card__heading p { margin:5px 0 0; color:#637789; font-size:12px; line-height:18px; }.mobile-entry-card__heading span { flex:0 0 auto; padding:3px 6px; border-radius:4px; color:#526477; background:#eef3f7; font-size:11px; }.mobile-entry-card--real .mobile-entry-card__heading span { color:#0756b5; background:#e9f2ff; }.mobile-entry-card__body { display:grid; grid-template-columns:112px minmax(0,1fr); gap:16px; align-items:center; margin-top:14px; }.mobile-entry-qr { width:112px; height:112px; display:block; border:1px solid #dbe6ef; background:#fff; }.mobile-entry-actions { min-width:0; }.mobile-entry-actions .form-control { font-size:12px; }.mobile-entry-actions .btn { white-space:nowrap; } @media (max-width:576px) { .mobile-entry-card__body { grid-template-columns:1fr; }.mobile-entry-qr { margin:auto; } }
.operation-manual-panel { overflow:hidden; }.operation-manual-frame-wrap { height:calc(100vh - 268px); min-height:680px; background:#f4f7fa; }.operation-manual-frame-wrap iframe { display:block; width:100%; height:100%; border:0; background:#fff; }
.mini-program-banner-thumb { width: 128px; height: 54px; display: block; border: 1px solid #dbe6ef; border-radius: 4px; object-fit: cover; background: #f5f8fb; }
.mini-program-banner-preview { width: min(100%, 320px); aspect-ratio: 2.4 / 1; display: block; border: 1px solid #dbe6ef; border-radius: 4px; object-fit: cover; background: #f5f8fb; }
.home-layout-workspace { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }.home-layout-settings { min-width:0; }.home-layout-live-preview { position:sticky; top:20px; padding-left:24px; border-left:1px solid #dbe6ef; }.home-layout-live-preview__heading { display:flex; flex-direction:column; gap:3px; margin-bottom:12px; }.home-layout-live-preview__heading span { color:#718096; font-size:12px; }.home-layout-phone { position:relative; width:300px; height:590px; padding:7px; overflow:hidden; border:1px solid #a8b9c8; border-radius:22px; background:#203848; box-shadow:0 12px 24px rgba(25,50,74,.16); }.home-layout-phone__screen { height:574px; overflow:auto; border-radius:16px; background:#edf3f8; scrollbar-width:none; }.home-layout-phone__screen::-webkit-scrollbar { display:none; }.home-layout-phone__nav-layer { position:absolute; z-index:4; right:7px; bottom:7px; left:7px; pointer-events:none; }.home-layout-phone__brand { padding:14px 12px 10px; display:flex; justify-content:space-between; background:#fff; color:#173f61; }.home-layout-phone__brand small { color:#718096; font-size:10px; }.home-layout-phone__section { margin:12px 9px; }.home-layout-phone__section h3 { margin:0 0 7px; font-size:14px; }.home-layout-phone__item { min-height:52px; padding:8px; display:grid; grid-template-columns:55px minmax(0,1fr); gap:8px; border-bottom:1px solid #e1e8ef; background:#fff; }.home-layout-phone__item img { grid-row:span 2; width:55px; height:42px; object-fit:cover; }.home-layout-phone__item strong,.home-layout-phone__item span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.home-layout-phone__item strong { align-self:end; font-size:11px; }.home-layout-phone__item span { color:#748496; font-size:9px; }.home-layout-phone__banner { min-height:108px; padding:62px 12px 10px; color:#fff; background:#176bca center/cover; font-size:13px; }.home-layout-phone__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }.home-layout-phone__grid .home-layout-phone__item { min-height:105px; display:flex; flex-direction:column; border:0; }.home-layout-phone__grid .home-layout-phone__item img { width:100%; height:63px; }.home-layout-phone__nav { position:sticky; bottom:0; padding:10px 5px; color:#597086; border-top:1px solid #dbe6ef; background:#fff; text-align:center; font-size:10px; }
@media (max-width: 576px) { .admin-page-heading { align-items:flex-start; flex-direction:column; gap:10px; margin-bottom:14px; }.admin-page-heading__action { width:100%; }.admin-page-heading__action > .d-flex { justify-content:flex-start; }.event-workflow-modal { padding: 0; } .event-workflow-modal__dialog { width: 100%; max-height: 100vh; min-height: 100vh; border: 0; border-radius: 0; } .event-workflow-step { grid-template-columns: 32px minmax(0, 1fr); } .event-workflow-step .btn { grid-column: 2; justify-self: start; } .event-detail-header__top { padding: 18px; flex-direction: column; } .event-detail-header__registration { padding: 12px 18px; } .event-detail-config-grid { grid-template-columns: 1fr; } .event-detail-config-card { border-right: 0; border-bottom: 1px solid #e7edf3; } .event-detail-config-card:last-child { border-bottom: 0; } }
@media (max-width: 992px) { .sidebar { display: none; } .navbar .nav { overflow-x: auto; margin-left: 1rem !important; flex-wrap: nowrap; } .home-layout-workspace { grid-template-columns:1fr; }.home-layout-live-preview { position:static; padding:20px 0 0; border-top:1px solid #dbe6ef; border-left:0; }.home-layout-phone { margin:auto; } }
@media (max-width: 768px) { .operation-manual-frame-wrap { height:calc(100vh - 236px); min-height:580px; } }
