:root {
    --navy: #092a47;
    --blue: #0d5f8f;
    --cyan: #19a9c4;
    --sky: #e9f8fb;
    --coral: #ff786b;
    --ink: #173044;
    --muted: #627789;
    --line: #dbe8ee;
    --white: #fff;
    --shadow: 0 20px 55px rgba(15, 64, 91, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-site-lang="en"] [data-lang="zh"], html[data-site-lang="zh"] [data-lang="en"] { display: none !important; }
body { margin: 0; color: var(--ink); background: #f7fbfd; font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(9,42,71,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-logo { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; }
.brand strong { display: block; font-size: 18px; letter-spacing: .03em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 650; }
.main-nav a { color: #28485e; transition: color .2s; }
.main-nav a:hover { color: var(--cyan); }
.main-nav small { display: block; font-size: 9px; color: #8aa0ad; font-weight: 500; }
.main-nav .nav-cta { padding: 10px 17px; color: white; border-radius: 9px; background: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 25px; color: var(--navy); }
.language-switch { flex: 0 0 auto; min-width: 76px; padding: 9px 13px; color: var(--blue); border: 1px solid #a9cbd8; border-radius: 20px; background: #f4fbfc; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.language-switch:hover { color: white; border-color: var(--blue); background: var(--blue); }

.hero { min-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; background: #75cddd url('https://hk-edu-site.oss-cn-beijing.aliyuncs.com/sites/acssm/image/2026/09/20260905125936-aef9be1be765f1f9ed5f.jpg') center bottom / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,37,64,.9) 0%, rgba(4,50,80,.72) 58%, rgba(7,76,103,.14) 88%); }
.hero-content { position: relative; z-index: 1; padding-top: 25px; padding-bottom: 180px; color: white; }
.hero-badge { display: inline-flex; padding: 7px 13px; border: 1px solid rgba(255,255,255,.5); border-radius: 50px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.hero-kicker { margin: 25px 0 8px; max-width: 980px; font-size: 18px; letter-spacing: .03em; }
.hero h1 { max-width: 1080px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 6vw, 82px); line-height: 1.03; letter-spacing: -.035em; }
.hero-subtitle { max-width: 980px; margin: 18px 0 20px; font-size: 21px; color: #d9f7fb; }
.hero-cn { display: flex; flex-direction: column; padding-left: 18px; border-left: 4px solid var(--coral); }
.hero-cn strong { font-size: 24px; }
.hero-cn span { color: #d9f7fb; }
.hero-copy { max-width: 980px; margin: 24px 0; color: rgba(255,255,255,.88); font-size: 15px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.conference-timing { width: 100%; min-height: 216px; margin-top: 38px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(340px, .85fr) minmax(600px, 1.55fr); color: white; border: 1px solid rgba(255,255,255,.48); border-top: 6px solid var(--coral); border-radius: 8px; background: linear-gradient(115deg, rgba(4,31,55,.94), rgba(5,66,88,.9)); box-shadow: 0 30px 70px rgba(0,20,38,.48); backdrop-filter: blur(16px); overflow: hidden; animation: countdown-panel-energy 3.2s ease-in-out infinite alternate; }
.conference-timing::after { content: ''; position: absolute; z-index: 3; top: 0; left: 8%; width: 84%; height: 6px; background: var(--coral); box-shadow: 0 0 18px 5px rgba(255,120,107,.55); animation: countdown-energy-line 1.8s ease-in-out infinite alternate; pointer-events: none; }
.conference-date-block, .countdown-block { min-width: 0; padding: 30px 36px; }
.conference-date-block { display: grid; align-content: center; border-right: 1px solid rgba(255,255,255,.32); background: rgba(0,18,35,.18); }
.countdown-block { position: relative; overflow: hidden; }
.countdown-block::before { content: ''; position: absolute; z-index: 0; inset: -115%; background: repeating-conic-gradient(from -8deg at 50% 55%, transparent 0 12deg, rgba(126,215,229,.2) 12deg 13deg, transparent 13deg 24deg, rgba(255,120,107,.16) 24deg 25deg); opacity: .34; transform-origin: 50% 55%; animation: countdown-burst 5.2s ease-in-out infinite; pointer-events: none; }
.countdown-block > * { position: relative; z-index: 1; }
.conference-date-block > span, .countdown-label { color: #9de6ef; font-size: 18px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.conference-date-block strong { margin-top: 14px; overflow-wrap: anywhere; font-size: 34px; line-height: 1.3; text-shadow: 0 4px 18px rgba(0,0,0,.25); }
.countdown-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(88px, 1fr)); gap: 12px; }
.countdown-grid > div { min-width: 0; min-height: 112px; padding: 17px 10px 14px; display: grid; align-content: center; text-align: center; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; background: rgba(255,255,255,.12); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,18,35,.18); animation: countdown-tile-impact 4.8s cubic-bezier(.2,.8,.2,1) infinite; will-change: transform, box-shadow; }
.countdown-grid > div:nth-child(2) { animation-delay: .14s; }
.countdown-grid > div:nth-child(3) { animation-delay: .28s; }
.countdown-grid > div:nth-child(4) { animation-delay: .42s; }
.countdown-grid strong { display: block; font-size: 60px; line-height: .95; font-variant-numeric: tabular-nums; text-shadow: 0 5px 22px rgba(0,0,0,.28); }
.countdown-grid span { display: block; margin-top: 9px; color: #c7eaf0; font-size: 16px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.countdown-status { min-height: 132px; display: flex; align-items: center; color: white; font-size: 38px; }
.countdown-status[hidden] { display: none; }

@keyframes countdown-burst {
    0%, 68%, 100% { opacity: .18; transform: rotate(-4deg) scale(.82); }
    76% { opacity: .52; transform: rotate(2deg) scale(1.14); }
    84% { opacity: .26; transform: rotate(5deg) scale(.94); }
}
@keyframes countdown-tile-impact {
    0%, 72%, 100% { transform: translateY(0) scale(1); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,18,35,.18); }
    78% { transform: translateY(-5px) scale(1.045); box-shadow: inset 0 1px rgba(255,255,255,.2), 0 18px 34px rgba(0,18,35,.38), 0 0 24px rgba(126,215,229,.28); }
    84% { transform: translateY(1px) scale(.99); }
    89% { transform: translateY(-2px) scale(1.018); }
}
@keyframes countdown-panel-energy {
    from { box-shadow: 0 30px 70px rgba(0,20,38,.42), 0 0 0 rgba(255,120,107,0); }
    to { box-shadow: 0 34px 82px rgba(0,20,38,.56), 0 0 28px rgba(255,120,107,.2); }
}
@keyframes countdown-energy-line {
    from { opacity: .72; transform: scaleX(.82); }
    to { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .conference-timing,
    .conference-timing::after,
    .countdown-block::before,
    .countdown-grid > div { animation: none; }
}

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border: 0; border-radius: 9px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, var(--coral), #ff5f71); box-shadow: 0 12px 26px rgba(255,95,113,.25); }
.button.dark { color: white; background: var(--navy); }
.button.ghost { color: white; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
.button.ghost-dark { color: var(--navy); border: 1px solid #bcd0dc; background: white; }
.button.small { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.button.full { width: 100%; }

.eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 55px); line-height: 1.16; }
.section-heading .en-title { margin: 12px 0; color: var(--muted); font-size: 19px; }
.section-heading.centered { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.section-heading.compact h2 { font-size: 32px; }
.two-column { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.intro-section { background: white; }
.intro-copy { max-height: 510px; overflow: hidden; position: relative; }
.intro-copy::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, white); }
.rich-content { color: #354f61; font-size: 16px; }
.rich-content p { margin: 0 0 18px; }
.rich-content h2 { margin: 34px 0 12px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.rich-content h2:first-child { margin-top: 0; }

.tracks-section { background: linear-gradient(180deg, #f4fbfd, #e8f7fa); }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.track-card { min-height: 190px; padding: 25px; border: 1px solid rgba(19,110,143,.12); border-radius: 17px; background: rgba(255,255,255,.86); box-shadow: 0 14px 32px rgba(26,107,135,.07); transition: transform .25s, box-shadow .25s; }
.track-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.track-card span { color: var(--coral); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.track-card h3 { margin: 13px 0 8px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.3; }
.track-card p { margin: 0; color: var(--muted); }
.center-actions { margin-top: 38px; text-align: center; }

.cta-section { padding: 70px 0; background: white; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 50px 56px; color: white; border-radius: 24px; background: linear-gradient(115deg, var(--navy), var(--blue)); box-shadow: var(--shadow); }
.cta-card h2 { max-width: 740px; margin: 5px 0; font-size: 31px; }
.cta-card p { margin: 5px 0; color: #c9edf5; }

.page-hero { padding: 22px 0 18px; color: white; background: linear-gradient(115deg, rgba(5,44,72,.96), rgba(12,104,141,.88)), url('https://hk-edu-site.oss-cn-beijing.aliyuncs.com/sites/acssm/image/2026/09/20260905125936-aef9be1be765f1f9ed5f.jpg') center 48% / cover; }
.page-hero h1 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5vw, 65px); line-height: 1.15; }
.page-hero p:last-child { margin: 0; color: #cef2f7; font-size: 21px; }
.page-section { background: white; }
.single-language-content { max-width: 920px; }
.bilingual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.english-content { color: #536b7a; }
.language-label { display: inline-flex; margin-bottom: 28px; padding: 6px 12px; color: var(--blue); border-radius: 30px; background: var(--sky); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.page-tracks { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); }
.page-tracks > h2 { margin-bottom: 30px; color: var(--navy); font-size: 32px; text-align: center; }

.partners-section { padding: 60px 0; background: #f3f8fa; border-top: 1px solid var(--line); }
.conference-document-download { margin-top: 28px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 28px; }
.logo-item { height: 100px; padding: 14px; display: grid; place-items: center; border: 1px solid #83949f; border-radius: 11px; background: #71838f; }
.logo-item img { max-width: 100%; max-height: 70px; object-fit: contain; }
.partners-section-compact { padding: 34px 0; }
.partners-section-compact .logo-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.partners-section-compact .logo-item { height: 66px; padding: 8px; border-radius: 6px; }
.partners-section-compact .logo-item img { max-height: 48px; }
.partners-section-compact .logo-item:nth-child(n+21) { display: none; }
.site-footer { padding: 45px 0; color: #c8d9e2; background: #071f33; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1.5fr 1fr; gap: 35px; }
.footer-grid strong { color: white; font-size: 17px; }
.footer-grid p { margin: 5px 0; }
.footer-grid a { display: block; color: #7ed7e5; }

.form-page { min-height: 640px; padding: 75px 20px; display: grid; place-items: start center; background: linear-gradient(145deg, #edf9fb, #f8fbfd); }
.form-card { width: min(520px, 100%); padding: 42px; border: 1px solid rgba(13,95,143,.12); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.payment-card { width: min(520px, calc(100vw - 40px)); }
.payment-page { min-height: 0; padding: 24px 20px 32px; }
.payment-page .payment-card { padding: 24px 32px; }
.form-card h1 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 38px; }
.form-intro { margin: 8px 0 28px; color: var(--muted); }
.form-card form { display: grid; gap: 18px; }
.auth-banner { min-height: 100px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #75cddd url('https://hk-edu-site.oss-cn-beijing.aliyuncs.com/sites/acssm/image/2026/09/20260905125936-aef9be1be765f1f9ed5f.jpg') center 44% / cover no-repeat; }
.auth-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,37,64,.88), rgba(4,50,80,.42), rgba(7,76,103,.08)); }
.auth-banner-content { position: relative; z-index: 1; padding-top: 8px; padding-bottom: 8px; color: white; }
.auth-banner .eyebrow { color: #9de6ef; }
.auth-banner-title { max-width: 780px; margin: 4px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 700; line-height: 1.2; }
.auth-layout-page { place-items: start center; }
.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1fr); align-items: start; gap: 38px; }
.auth-layout .auth-form-card { width: 100%; }
.auth-privacy-panel { min-width: 0; padding: 32px; border-left: 3px solid #8fc8d3; background: rgba(255,255,255,.58); }
.auth-privacy-panel .eyebrow { color: #4c9cad; }
.auth-privacy-panel > h1 { margin: 4px 0 22px; color: #29485c; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.25; }
.auth-privacy-panel .rich-content { color: #627986; font-size: 13px; line-height: 1.7; }
.auth-privacy-panel .rich-content p { margin-bottom: 12px; }
.auth-privacy-panel .rich-content h2 { margin: 20px 0 7px; color: #29485c; font-family: inherit; font-size: 16px; }
.register-form-card { padding: 32px 36px; }
.register-form-card .form-intro { margin-bottom: 20px; }
.register-form-card form { gap: 12px; }
.register-form-card label { gap: 5px; }
.register-form-card input { padding: 10px 12px; }
.register-form-card .form-link { margin-top: 16px; }
label { display: grid; gap: 7px; color: #29485c; font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px 13px; color: var(--ink); border: 1px solid #cddde4; border-radius: 8px; outline: none; background: white; font: inherit; font-size: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(25,169,196,.12); }
textarea { resize: vertical; }
label small { color: var(--muted); font-weight: 400; }
.form-link { margin: 22px 0 0; text-align: center; color: var(--muted); }
.form-link a { color: var(--blue); font-weight: 750; }
.wide-form-card { width: min(880px, 100%); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.span-2 { grid-column: span 2; }
.file-field { padding: 18px; border: 1px dashed #a9c8d5; border-radius: 10px; background: #f7fbfc; }
.submission-type-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.submission-type-fieldset legend { margin-bottom: 7px; color: #29485c; font-size: 13px; font-weight: 700; }
.submission-type-options { display: grid; gap: 9px; }
.submission-type-row { min-height: 54px; padding: 8px 10px 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #cddde4; border-radius: 8px; background: #f9fcfd; }
.submission-type-row label { display: flex; align-items: center; gap: 9px; }
.submission-type-row input { width: 18px; height: 18px; margin: 0; }
.template-download-link { flex: 0 0 auto; padding: 7px 11px; color: var(--blue); border: 1px solid #a9cbd8; border-radius: 7px; background: white; font-size: 12px; font-weight: 750; }
.template-download-link:hover { color: white; border-color: var(--blue); background: var(--blue); }
.submission-form-page { min-height: 0; padding: 44px 20px; }
.submission-form-page .wide-form-card { padding: 34px 40px; }
.submission-form-page .form-intro { margin: 6px 0 18px; }
.submission-form-page .form-card form { gap: 14px; }
.submission-form-page .form-grid { column-gap: 18px; row-gap: 13px; }
.submission-form-page label { gap: 5px; }
.submission-form-page input,
.submission-form-page select,
.submission-form-page textarea { padding-top: 10px; padding-bottom: 10px; }
.submission-form-page .submission-type-fieldset legend { margin-bottom: 5px; }
.submission-form-page .submission-type-options { gap: 7px; }
.submission-form-page .submission-type-row { min-height: 48px; padding-top: 6px; padding-bottom: 6px; }
.submission-form-page .file-field { padding: 14px 16px; }
.submission-form-page .agreement { gap: 9px; padding: 12px 14px; }
.agreement { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; padding: 15px; border-radius: 9px; background: #f5fafb; }
.agreement input { width: 18px; margin-top: 4px; }
.agreement a { color: var(--blue); }
.accepted-box { margin: 22px 0; padding: 18px; border-left: 4px solid var(--cyan); background: var(--sky); }
.accepted-box p { margin: 6px 0 0; }
.payment-amount { display: flex; align-items: center; justify-content: space-between; margin: 24px 0; padding: 20px; color: white; border-radius: 12px; background: var(--navy); }
.payment-amount strong { font-size: 24px; }
.payment-wallet-options { margin: 0; padding: 0; border: 0; }
.payment-wallet-options legend { margin-bottom: 12px; color: var(--navy); font-weight: 800; }
.payment-wallet-option { position: relative; min-height: 68px; margin-top: 8px; padding: 12px 14px 12px 46px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.payment-wallet-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(15, 139, 166, .14); }
.payment-wallet-option input { position: absolute; left: 16px; width: auto; margin: 0; }
.payment-wallet-option span { min-width: 0; }
.payment-wallet-option strong, .payment-wallet-option small { display: block; }
.payment-wallet-option small { margin-top: 2px; color: var(--muted); font-weight: 500; }
.payment-wallet-option b { color: var(--navy); font-size: 17px; }
.payment-wallet-option em { grid-column: 1 / -1; color: #9b5961; font-size: 12px; font-style: normal; }
.payment-wallet-option.is-disabled { color: #80919b; background: #f4f6f7; cursor: not-allowed; opacity: .72; }
.fee-option { margin-right: 9px; font-style: normal; white-space: nowrap; }
.payment-instructions { margin-bottom: 24px; padding: 18px; color: #405a6b; border: 1px solid var(--line); border-radius: 10px; background: #fbfdfe; }
.alipay-direct-form { margin-bottom: 20px; padding: 18px; border: 1px solid #83c6d2; border-radius: 8px; background: #f3fbfc; }
.payment-page .accepted-box { margin: 14px 0; padding: 14px 16px; }
.payment-page .payment-card > p:not(.eyebrow) { margin: 12px 0; }
.payment-page .alipay-direct-form { gap: 12px; margin-bottom: 14px; padding: 14px; }
.payment-page .payment-wallet-options legend { margin-bottom: 6px; }
.payment-page .payment-wallet-option { min-height: 58px; margin-top: 6px; padding: 9px 12px 9px 42px; }
.payment-page .payment-wallet-option input { left: 14px; }
.payment-page .payment-wallet-option span { display: flex; align-items: center; gap: 10px; }
.payment-page .payment-wallet-option small { margin-top: 0; }
.payment-page .payment-amount { margin: 0; padding: 14px 16px; }
.payment-page .payment-amount strong { font-size: 22px; }
.alipay-payment-summary { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 18px; border: 1px solid #b8d7ff; border-radius: 8px; background: white; }
.alipay-payment-brand { min-width: 0; display: flex; align-items: center; gap: 12px; }
.alipay-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: white; border-radius: 8px; background: #1677ff; font-size: 27px; font-weight: 800; line-height: 1; }
.alipay-payment-copy strong, .alipay-payment-copy small, .alipay-payment-total span, .alipay-payment-total strong { display: block; }
.alipay-payment-copy strong { color: #102a43; font-size: 19px; }
.alipay-payment-copy small { margin-top: 3px; color: var(--muted); font-size: 13px; }
.alipay-payment-total { flex: 0 0 auto; text-align: right; }
.alipay-payment-total span { margin-bottom: 3px; color: var(--muted); font-size: 13px; }
.alipay-payment-total strong { color: #102a43; font-size: 22px; white-space: nowrap; }
.alipay-pay-button { color: white; background: #1677ff; box-shadow: 0 10px 22px rgba(22, 119, 255, .22); }
.alipay-pay-button:hover { background: #0e67df; }
.payment-page .payment-instructions { margin-bottom: 14px; padding: 14px; }
.alipay-direct-form small { display: block; margin-top: 9px; color: #405a6b; text-align: center; }
.alipay-direct-form button:disabled { cursor: wait; opacity: .68; }
.payment-qr-dialog { width: min(430px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; color: var(--ink); border: 0; border-radius: 8px; background: white; box-shadow: 0 24px 70px rgba(9, 42, 71, .28); }
.payment-qr-dialog::backdrop { background: rgba(5, 28, 47, .66); backdrop-filter: blur(3px); }
.payment-qr-dialog [hidden] { display: none !important; }
.payment-qr-modal { position: relative; padding: 30px; text-align: center; }
.payment-qr-modal .eyebrow { margin: 0 0 4px; }
.payment-qr-modal h2 { margin: 0 34px 20px; color: var(--navy); font-size: 26px; }
.payment-qr-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0; color: #496779; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 24px; line-height: 1; }
.payment-qr-close:hover { color: white; border-color: var(--blue); background: var(--blue); }
.payment-qr-loading { min-height: 290px; display: grid; place-items: center; color: var(--muted); }
.payment-qr-code { width: min(290px, 100%); aspect-ratio: 1; margin: 0 auto 14px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: white; }
.payment-qr-code img { width: 100%; height: 100%; padding: 8px; object-fit: contain; image-rendering: pixelated; }
.payment-qr-amount { display: block; color: var(--navy); font-size: 24px; }
.payment-qr-content p { margin: 6px 0 16px; color: var(--muted); }
.payment-qr-content .button { display: inline-flex; justify-content: center; }
.payment-verify-button { min-width: 130px; }
.payment-verify-button:disabled { cursor: wait; opacity: .68; }
.payment-qr-content .payment-verify-message { margin: 10px 0 0; color: #405a6b; font-size: 13px; }
.payment-qr-success { min-height: 290px; display: grid; place-content: center; gap: 8px; color: #167244; }
.payment-qr-success strong { font-size: 24px; }
.payment-qr-success p { margin: 0; color: var(--muted); }
.payment-qr-error { margin: 12px 0 0; text-align: left; }
.alipay-payment-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 20px; border: 1px solid #8fc8d3; border-radius: 10px; background: #f3fbfc; }
.alipay-payment-info h2 { margin: 2px 0 12px; color: var(--navy); font-size: 20px; }
.alipay-payment-info p { margin: 6px 0; overflow-wrap: anywhere; }
.alipay-qr-display { width: 180px; max-width: 42%; text-align: center; }
.alipay-qr-display img { width: 100%; max-width: 100%; aspect-ratio: 1; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: white; object-fit: contain; }
.alipay-qr-display p { margin: 9px 0 0; color: #405a6b; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }

.dashboard-page { min-height: 650px; background: #f6fafc; }
.dashboard-page.section { padding: 42px 0; }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.page-title-row h1 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 45px; }
.page-title-row p { margin: 2px 0; color: var(--muted); }
.creator-reward-panel { margin-bottom: 16px; padding: 18px 20px; color: white; border-radius: 12px; background: linear-gradient(120deg, var(--navy), #116f88); box-shadow: 0 14px 30px rgba(9,42,71,.16); }
.creator-reward-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.creator-reward-heading h2 { margin: 0; font-size: 22px; }
.creator-reward-heading .eyebrow { color: #7ed7e5; }
.referral-code { padding: 6px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 800; }
.creator-reward-stats { margin: 13px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.creator-reward-stats > div { min-width: 0; padding: 10px 16px; border-right: 1px solid rgba(255,255,255,.18); }
.creator-reward-stats > div:first-child { padding-left: 0; }
.creator-reward-stats > div:last-child { border-right: 0; }
.creator-reward-stats span { display: block; color: #bce8ee; font-size: 12px; }
.creator-reward-stats strong { display: block; margin-top: 3px; font-size: 20px; }
.referral-link-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); }
.referral-link-row input { min-width: 0; color: #27475b; background: white; }
.creator-reward-description { margin: 0 0 12px; color: #d7f2f5; font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.submission-list { display: grid; gap: 12px; }
.submission-card { display: flex; justify-content: space-between; gap: 22px; padding: 19px 22px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 20px rgba(19,64,86,.05); }
.submission-main h2 { margin: 5px 0 1px; color: var(--navy); font-size: 21px; }
.submission-main > p { margin: 3px 0; color: var(--muted); }
.submission-no { display: inline; margin-left: 10px !important; font-size: 12px; font-weight: 800; }
.submission-details { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 7px 0 4px; color: var(--muted); font-size: 13px; }
.submission-details strong { margin-right: 4px; color: var(--navy); }
.submission-actions { min-width: 170px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 30px; font-size: 11px; font-weight: 800; }
.status-pending { color: #956000; background: #fff2c8; }
.status-accepted { color: #087087; background: #dff7fa; }
.status-rejected { color: #a13e48; background: #ffe3e6; }
.status-paid { color: #197443; background: #dcf6e8; }
.paid-mark, .pending-mark { padding: 7px; text-align: center; border-radius: 6px; font-size: 12px; font-weight: 750; }
.paid-mark { color: #197443; background: #dcf6e8; }
.pending-mark { color: #956000; background: #fff2c8; }
.review-note { margin-top: 14px; padding: 12px; border-radius: 8px; background: #f2f7f9; font-size: 13px; }
.empty-state { padding: 80px 30px; text-align: center; border: 1px dashed #bdd1da; border-radius: 18px; background: white; }

.alert { padding: 13px 16px; border-radius: 9px; font-size: 14px; }
.alert.success { color: #17623d; background: #dff5e8; border: 1px solid #b7e2c9; }
.alert.error { color: #913a44; background: #ffe8ea; border: 1px solid #f2c5ca; }
.global-alert { margin-top: 16px; }
.submission-success-dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 8px; color: var(--ink); background: white; box-shadow: 0 24px 70px rgba(9, 42, 71, .28); }
.submission-success-dialog::backdrop { background: rgba(5, 28, 47, .66); backdrop-filter: blur(3px); }
.submission-success-modal { position: relative; padding: 34px 30px 30px; text-align: center; }
.submission-success-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0; color: #496779; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 24px; line-height: 1; }
.submission-success-close:hover { color: white; border-color: var(--blue); background: var(--blue); }
.submission-success-icon { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; color: white; border-radius: 50%; background: #198754; font-size: 32px; }
.submission-success-modal h2 { margin: 0 30px 12px; color: var(--navy); font-size: 26px; }
.submission-success-message { margin: 0 auto 24px; color: var(--muted); line-height: 1.7; }
.submission-success-modal .button { min-width: 180px; justify-content: center; }
.auth-page { min-height: 100vh; padding: 30px; display: grid; place-items: center; background: linear-gradient(145deg, #dff6fa, #f7fbfc); }
.auth-card { width: min(460px, 100%); padding: 40px; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.auth-card h1 { margin-top: 0; color: var(--navy); }
.auth-card form { display: grid; gap: 18px; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 76px; left: 20px; right: 20px; padding: 18px; display: none; align-items: stretch; flex-direction: column; gap: 12px; border-radius: 12px; background: white; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .language-switch { margin-left: auto; }
    .main-nav small { display: inline; margin-left: 5px; }
    .hero { min-height: 720px; }
    .hero-content { padding-bottom: 120px; }
    .two-column, .bilingual-grid { grid-template-columns: 1fr; gap: 35px; }
    .track-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .partners-section-compact .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-card { align-items: flex-start; flex-direction: column; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-layout .auth-form-card { order: 1; }
    .auth-privacy-panel { order: 2; }
    .conference-timing { grid-template-columns: 1fr; }
    .conference-date-block { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
}

@media (max-width: 640px) {
    .container { width: min(100% - 26px, 1180px); }
    .section { padding: 60px 0; }
    .brand small { display: none; }
    .nav-wrap { gap: 10px; }
    .language-switch { min-width: 68px; padding: 8px 10px; }
    .hero { min-height: 700px; background-position: 57% bottom; }
    .hero-overlay { background: linear-gradient(90deg, rgba(4,37,64,.94), rgba(4,50,80,.72)); }
    .hero-content { padding-bottom: 95px; }
    .hero-kicker { font-size: 14px; }
    .hero h1 { font-size: 44px; }
    .hero-subtitle { font-size: 17px; }
    .hero-cn strong { font-size: 20px; }
    .hero-copy { font-size: 13px; }
    .conference-timing { min-height: 0; margin-top: 30px; border-top-width: 5px; }
    .conference-date-block, .countdown-block { padding: 24px 18px; }
    .conference-date-block > span, .countdown-label { font-size: 15px; }
    .conference-date-block strong { margin-top: 10px; font-size: 27px; }
    .countdown-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .countdown-grid > div { min-height: 82px; padding: 12px 2px 10px; }
    .countdown-grid strong { font-size: 38px; }
    .countdown-grid span { margin-top: 7px; font-size: 12px; }
    .countdown-status { min-height: 96px; font-size: 28px; }
    .track-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .track-card { min-height: auto; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-section-compact .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-card { padding: 35px 25px; }
    .cta-card h2 { font-size: 25px; }
    .form-card { padding: 28px 20px; }
    .payment-page { padding: 14px 12px 20px; }
    .payment-page .payment-card { padding: 20px 16px; }
    .payment-qr-dialog { width: calc(100vw - 26px); max-height: calc(100vh - 26px); }
    .payment-qr-modal { padding: 26px 20px 22px; }
    .payment-qr-code { width: min(270px, 100%); }
    .payment-wallet-option { grid-template-columns: minmax(0, 1fr); }
    .payment-page .payment-wallet-option { grid-template-columns: minmax(0, 1fr) auto; }
    .payment-page .payment-wallet-option b { grid-column: 2; }
    .payment-wallet-option b { grid-column: 1; }
    .alipay-payment-summary { min-height: 74px; gap: 12px; padding: 13px 14px; }
    .alipay-mark { width: 40px; height: 40px; flex-basis: 40px; font-size: 23px; }
    .alipay-payment-copy strong { font-size: 17px; }
    .alipay-payment-total strong { font-size: 19px; }
    .payment-amount { gap: 12px; }
    .payment-amount strong { font-size: 20px; white-space: nowrap; }
    .register-form-card { padding: 24px 20px; }
    .auth-banner { min-height: 72px; background-position: 55% 44%; }
    .auth-banner-content { padding-top: 8px; padding-bottom: 8px; }
    .auth-banner-title { max-width: 310px; font-size: 21px; }
    .auth-layout-page { padding: 42px 13px; }
    .auth-layout { gap: 26px; }
    .auth-privacy-panel { padding: 26px 22px; }
    .auth-privacy-panel > h1 { font-size: 23px; }
    .dashboard-page.section { padding: 30px 0; }
    .page-title-row { gap: 16px; margin-bottom: 16px; }
    .creator-reward-panel { margin-bottom: 14px; padding: 16px; }
    .page-title-row, .submission-card { align-items: stretch; flex-direction: column; }
    .submission-card { gap: 14px; padding: 17px; }
    .alipay-payment-panel { align-items: flex-start; flex-direction: column; }
    .alipay-qr-display { width: min(220px, 100%); max-width: 100%; }
    .submission-actions { min-width: 0; }
    .submission-type-row { align-items: stretch; flex-direction: column; }
    .template-download-link { text-align: center; }
    .submission-form-page { padding: 28px 13px; }
    .submission-form-page .wide-form-card { padding: 24px 20px; }
    .submission-form-page .form-intro { margin-bottom: 16px; }
    .submission-form-page .form-grid { row-gap: 12px; }
    .submission-form-page .submission-type-row { gap: 10px; }
    .creator-reward-heading { align-items: flex-start; flex-direction: column; }
    .creator-reward-stats { grid-template-columns: 1fr; }
    .creator-reward-stats > div, .creator-reward-stats > div:first-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .creator-reward-stats > div:last-child { border-bottom: 0; }
    .referral-link-row { grid-template-columns: 1fr; }
}

.admin-body { min-height: 100vh; background: #f1f6f8; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 235px; padding: 28px 18px; color: #d8e8ef; background: #071f33; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand > img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; }
.admin-brand strong { color: white; }
.admin-brand small { display: block; color: #87a9b9; font-size: 10px; font-weight: 500; }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 24px; }
.admin-sidebar nav a { padding: 11px 13px; border-radius: 8px; font-size: 14px; }
.admin-sidebar nav a:hover { color: white; background: rgba(255,255,255,.08); }
.admin-sidebar nav a.active { color: white; background: linear-gradient(135deg, rgba(25,169,196,.34), rgba(13,95,143,.55)); box-shadow: inset 3px 0 0 #55d8e9; }
.admin-main { min-height: 100vh; margin-left: 235px; padding: 38px; }
.admin-topbar { min-height: 42px; margin: -12px 0 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-user-menu { position: relative; }
.admin-user-menu summary { padding: 7px 10px; display: flex; align-items: center; gap: 8px; color: var(--navy); border: 1px solid var(--line); border-radius: 22px; background: white; cursor: pointer; list-style: none; font-size: 13px; box-shadow: 0 6px 16px rgba(18,65,88,.06); }
.admin-user-menu summary::-webkit-details-marker { display: none; }
.admin-user-avatar { width: 27px; height: 27px; display: grid; place-items: center; color: white; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); font-size: 12px; font-weight: 850; }
.admin-user-arrow { color: var(--muted); font-size: 10px; }
.admin-user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; min-width: 130px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: var(--shadow); }
.admin-user-dropdown a { display: block; padding: 8px 10px; color: #a13e48; border-radius: 6px; font-size: 13px; font-weight: 700; }
.admin-user-dropdown a:hover { background: #fff0f1; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.admin-heading h1 { margin: 0; color: var(--navy); font-size: 38px; }
.admin-heading p { margin: 3px 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.stat-card span { display: block; color: var(--muted); font-size: 13px; }
.stat-card strong { color: var(--navy); font-size: 35px; }
.dashboard-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.dashboard-kpis article { min-width: 0; padding: 14px 15px; border: 1px solid var(--line); border-top: 3px solid #168da6; border-radius: 7px; background: white; box-shadow: 0 8px 22px rgba(15,55,76,.055); }
.dashboard-kpis article:nth-child(4n + 2) { border-top-color: #d1a12a; }
.dashboard-kpis article:nth-child(4n + 3) { border-top-color: #2f7d5a; }
.dashboard-kpis article:nth-child(4n + 4) { border-top-color: #a65d6a; }
.dashboard-kpis span, .dashboard-kpis small { display: block; color: var(--muted); font-size: 12px; }
.dashboard-kpis strong { display: block; margin: 4px 0 1px; color: var(--navy); font-size: 27px; line-height: 1.15; }
.dashboard-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dashboard-insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dashboard-chart-panel .panel-heading { align-items: flex-start; }
.dashboard-chart-panel .panel-heading h2 { margin: 0; }
.dashboard-chart-panel .panel-heading p, .dashboard-insight-grid .panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.chart-summary { display: flex; align-items: stretch; gap: 8px; }
.chart-summary span { min-width: 74px; padding: 8px 10px; color: var(--muted); border: 1px solid #dce8ec; border-radius: 6px; background: #f7fafb; font-size: 10px; text-align: right; }
.chart-summary strong { display: block; margin-top: 2px; color: var(--navy); font-size: 18px; line-height: 1; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: 11px; }
.chart-legend span::before { content: ''; width: 8px; height: 8px; margin-right: 5px; display: inline-block; border-radius: 2px; background: #168da6; }
.chart-legend .is-devices::before { background: #d1a12a; }
.chart-legend .is-register::before { background: #2f7d5a; }
.chart-legend .is-login::before { background: #287aa1; }
.chart-legend .is-submission::before { background: #a65d6a; }
.trend-chart { height: 230px; padding: 15px 4px 0; display: grid; grid-template-columns: repeat(14, minmax(16px, 1fr)); gap: 5px; align-items: end; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 49px, #edf2f4 50px); }
.trend-day { min-width: 0; height: 214px; display: grid; grid-template-rows: 1fr 22px; gap: 6px; align-items: end; }
.trend-bars { height: 180px; display: flex; align-items: end; justify-content: center; gap: 2px; }
.trend-bars .bar { position: relative; width: min(9px, 42%); border-radius: 2px 2px 0 0; background: #168da6; }
.trend-bars .bar-value { position: absolute; left: 50%; bottom: calc(100% + 3px); color: #526a78; font-size: 8px; font-style: normal; line-height: 1; transform: translateX(-50%); }
.trend-bars .devices { background: #d1a12a; }
.trend-bars.business .register { background: #2f7d5a; }
.trend-bars.business .login { background: #287aa1; }
.trend-bars.business .submission { background: #a65d6a; }
.trend-day > span { overflow: hidden; color: #78909c; font-size: 9px; text-align: center; white-space: nowrap; }
.source-list, .top-page-list { display: grid; gap: 13px; }
.source-row > div, .top-page-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.source-row span { color: #36586b; font-size: 13px; }
.source-row strong, .top-page-list strong { color: var(--navy); font-size: 13px; }
.source-row > i { height: 6px; margin-top: 6px; display: block; overflow: hidden; border-radius: 3px; background: #e8f0f3; }
.source-row > i b { height: 100%; display: block; border-radius: inherit; background: #168da6; }
.top-page-list > div { padding-bottom: 10px; border-bottom: 1px solid #edf2f4; }
.top-page-list code { min-width: 0; overflow: hidden; color: #36586b; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-empty { color: var(--muted); font-size: 13px; }
.device-breakdown { display: grid; gap: 13px; }
.device-breakdown > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 12px; }
.device-breakdown span { color: #36586b; font-size: 13px; }
.device-breakdown strong { color: var(--navy); font-size: 15px; }
.device-breakdown i { height: 7px; overflow: hidden; border-radius: 4px; background: #e8f0f3; }
.device-breakdown i b { height: 100%; display: block; border-radius: inherit; background: #168da6; }
.device-breakdown > div:nth-child(2) i b { background: #d1a12a; }
.device-breakdown > div:nth-child(3) i b { background: #78909c; }
.device-breakdown small { color: var(--muted); font-size: 11px; }
.access-log-filter-form { grid-template-columns: minmax(220px, 1fr) 140px 155px 130px auto auto; }
.access-log-table { min-width: 1560px; }
.access-log-path, .access-log-message { min-width: 190px; max-width: 360px; word-break: break-word; white-space: normal; }
.access-log-path small { display: block; margin-bottom: 3px; }
.access-log-agent { min-width: 220px; max-width: 340px; word-break: break-word; white-space: normal; }
.device-id { color: #315f75; font-size: 10px; }
.actor-badge { display: inline-block; padding: 4px 7px; border-radius: 4px; white-space: nowrap; font-size: 11px; font-weight: 750; }
.actor-admin { color: #8f3745; background: #fde8eb; }
.actor-user { color: #17653e; background: #e3f4ea; }
.actor-guest { color: #526a78; background: #eaf0f3; }
.admin-panel { margin-bottom: 24px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-heading h2, .admin-panel > h2 { margin: 0; color: var(--navy); font-size: 20px; }
.panel-heading a, .table-link { color: var(--blue); font-size: 13px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
.submission-table { min-width: 1240px; }
.submission-table th:nth-child(1), .submission-table td:nth-child(1) { width: 145px; }
.submission-table th:nth-child(2), .submission-table td:nth-child(2) { min-width: 280px; }
.submission-table th:nth-child(3), .submission-table td:nth-child(3) { min-width: 190px; }
.submission-table th:nth-child(4), .submission-table td:nth-child(4) { min-width: 125px; }
.submission-table th:nth-child(5), .submission-table td:nth-child(5) { width: 58px; white-space: nowrap; }
.submission-table th:nth-child(6), .submission-table td:nth-child(6) { width: 100px; white-space: nowrap; }
.submission-table th:nth-child(7), .submission-table td:nth-child(7) { width: 108px; white-space: nowrap; }
.submission-table th:nth-child(8), .submission-table td:nth-child(8) { width: 122px; white-space: nowrap; }
.submission-table th:nth-child(9), .submission-table td:nth-child(9) { width: 100px; white-space: nowrap; }
th { padding: 11px; color: var(--muted); border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
td { padding: 13px 11px; border-bottom: 1px solid #edf2f4; vertical-align: top; }
td small { display: block; color: var(--muted); }
.submission-table .status,
.submission-table .table-link { display: inline-block; white-space: nowrap; word-break: keep-all; }
.admin-form-stack { display: grid; gap: 0; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.code-textarea { min-height: 250px; font-family: Consolas, monospace; font-size: 12px; }
.topic-editor { display: grid; gap: 10px; }
.topic-row { display: grid; grid-template-columns: 35px 1fr 1.3fr 115px 115px 70px 75px; align-items: center; gap: 9px; }
.topic-fee-field { display: grid; gap: 3px; color: var(--muted); font-size: 11px; }
.sort-input { text-align: center; }
.inline-check { display: flex; align-items: center; gap: 6px; }
.inline-check input { width: auto; }
.logo-upload-form { display: grid; grid-template-columns: 1fr 1fr 90px 1fr auto; align-items: end; gap: 12px; }
.admin-logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 25px; }
.admin-logo-item { min-width: 0; padding: 10px; display: grid; place-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; }
.admin-logo-item img { width: 100%; height: 70px; padding: 8px 10px; box-sizing: border-box; border-radius: 7px; background: #71838f; object-fit: contain; }
.admin-logo-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.admin-logo-item button { color: #a13e48; border: 0; background: none; cursor: pointer; }
.filter-form { display: grid; grid-template-columns: 1fr 180px auto; gap: 10px; margin-bottom: 20px; }
.submission-filter-form { grid-template-columns: minmax(220px, 1fr) 180px 160px auto auto auto; }
.user-filter-form { grid-template-columns: 1fr auto; }
.mail-log-filter-form { grid-template-columns: minmax(240px, 1fr) 150px 150px auto auto; }
.mail-log-subject { min-width: 220px; }
.mail-log-error { min-width: 260px; max-width: 420px; color: #7b4a51; white-space: normal; word-break: break-word; }
.table-actions { min-width: 165px; display: flex; align-items: center; gap: 7px; }
.table-actions form { margin: 0; }
.mail-log-detail-panel { max-width: 920px; }
.mail-log-body { padding: 14px 16px !important; border: 1px solid var(--line); border-radius: 6px; background: #f7fafb; white-space: pre-wrap; word-break: break-word; }
.mail-log-detail-error { color: #7b4a51; white-space: pre-wrap; word-break: break-word; }
.mail-log-resend-form { margin-top: 18px; }
.admin-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.admin-pagination a { padding: 7px 11px; color: var(--blue); border: 1px solid var(--line); border-radius: 6px; background: white; font-weight: 750; }
.admin-detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 24px; }
.detail-panel dl { display: grid; grid-template-columns: 115px 1fr; margin: 20px 0; }
.detail-panel dt, .detail-panel dd { margin: 0; padding: 10px 0; border-bottom: 1px solid #edf2f4; }
.detail-panel dt { color: var(--muted); font-size: 12px; }
.detail-panel dd small { display: block; color: var(--muted); }
.long-text { white-space: normal; }
.current-status { display: flex; align-items: center; justify-content: space-between; margin: 20px 0; padding: 15px; border-radius: 9px; background: #f3f8fa; }
.review-panel form { display: grid; gap: 17px; }
.payment-summary { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }

.content-section-nav { position: sticky; top: 14px; z-index: 20; margin-bottom: 24px; padding: 12px; display: flex; gap: 8px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 9px 25px rgba(18,65,88,.08); }
.content-section-nav a { flex: 0 0 auto; padding: 8px 13px; color: var(--blue); border-radius: 7px; background: #edf7fa; font-size: 12px; font-weight: 750; }
.content-section-nav a:hover { color: white; background: var(--blue); }
.content-edit-section { scroll-margin-top: 25px; }
.content-edit-section .panel-heading > div { display: flex; align-items: center; gap: 11px; }
.content-edit-section .panel-heading > span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.section-number { min-width: 35px; padding: 5px 7px; color: white; border-radius: 6px; background: var(--blue); font-size: 10px; font-weight: 850; text-align: center; }
.section-save-row { margin-top: 20px; display: flex; justify-content: flex-end; padding-top: 18px; border-top: 1px solid var(--line); }
.template-admin-list { display: grid; gap: 12px; }
.template-admin-row { min-width: 0; padding: 15px; display: grid; grid-template-columns: minmax(170px, .7fr) minmax(320px, 1.3fr) auto; align-items: end; gap: 14px; border-top: 1px solid var(--line); }
.template-admin-row:first-child { border-top: 0; }
.template-admin-row > div { min-width: 0; display: grid; }
.template-admin-row > div strong { color: var(--navy); }
.template-admin-row > div small, .template-admin-row > div span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.template-admin-row form { display: flex; align-items: end; gap: 9px; }
.template-admin-row form input[type="file"] { min-width: 0; }
.page-title-fields { margin-bottom: 22px; }
.language-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.editor-field { min-width: 0; border: 1px solid #cbdde4; border-radius: 11px; overflow: hidden; background: #f8fbfc; }
.editor-field-title { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: white; }
.editor-field-title strong { color: var(--navy); font-size: 13px; }
.editor-field-title span { color: var(--muted); font-size: 10px; }
.rich-editor-toolbar { padding: 8px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: #edf5f8; }
.rich-editor-toolbar button, .rich-editor-toolbar select { width: auto; min-height: 32px; padding: 5px 9px; color: #315166; border: 1px solid #bfd2db; border-radius: 5px; background: white; font: inherit; font-size: 11px; cursor: pointer; }
.rich-editor-toolbar button:hover { color: white; border-color: var(--blue); background: var(--blue); }
.rich-page-editor { min-height: 360px; max-height: 620px; padding: 18px; overflow: auto; outline: none; background: white; color: #304c5e; font-size: 14px; }
.rich-page-editor:focus { box-shadow: inset 0 0 0 2px rgba(25,169,196,.25); }
.rich-page-editor h2 { margin: 25px 0 10px; color: var(--navy); font-size: 23px; }
.rich-page-editor h3 { margin: 20px 0 8px; color: var(--blue); font-size: 18px; }
.rich-page-editor p { margin: 0 0 12px; }
.editor-source { display: none; }
.content-columns { margin: 22px 0; display: grid; gap: 18px; }
.content-columns > div { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #f7fbfc; }
.content-columns.cols-1 { grid-template-columns: 1fr; }
.content-columns.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-columns.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-columns.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-logo-grid { grid-template-columns: repeat(4, 1fr); }
    .logo-upload-form { grid-template-columns: 1fr 1fr; }
    .admin-detail-grid { grid-template-columns: 1fr; }
    .language-editor-grid { grid-template-columns: 1fr; }
    .content-columns.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-chart-grid, .dashboard-insight-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .admin-sidebar { position: static; width: 100%; }
    .admin-sidebar nav { grid-template-columns: repeat(2, 1fr); }
    .admin-main { margin-left: 0; padding: 20px 13px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-heading { align-items: stretch; flex-direction: column; }
    .admin-form-grid, .filter-form, .logo-upload-form, .template-admin-row { grid-template-columns: 1fr; }
    .template-admin-row form { align-items: stretch; flex-direction: column; }
    .topic-row { grid-template-columns: 30px 1fr; }
    .topic-row > input, .topic-row > label { grid-column: 2; }
    .admin-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .content-columns.cols-2, .content-columns.cols-3, .content-columns.cols-4 { grid-template-columns: 1fr; }
    .editor-field-title { align-items: flex-start; flex-direction: column; }
    .dashboard-kpis { grid-template-columns: 1fr 1fr; }
    .trend-chart { min-width: 620px; }
    .dashboard-chart-panel { overflow-x: auto; }
}
