:root{color:#171717;background:#fff;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--app-bg,#fff);color:inherit}.shell{min-height:100vh;background:transparent}.site-header{height:72px;padding:0 clamp(20px,5vw,80px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(128,128,128,.18);position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--app-bg,#fff) 92%,transparent);backdrop-filter:blur(14px)}.site-header nav{display:flex;gap:8px}.brand{border:0;background:transparent;font-size:21px;font-weight:750;letter-spacing:-.7px;cursor:pointer;padding:0}.brand span{display:inline-grid;place-items:center;width:29px;height:29px;color:#fff;background:#171717;border-radius:7px;font-size:17px;margin-right:8px}.site-main{flex:1;max-width:1320px;margin:0 auto;width:100%;padding:0 28px 80px}.site-footer{border-top:1px solid rgba(128,128,128,.18);padding:28px clamp(20px,5vw,80px);display:flex;justify-content:space-between;color:#777;font-size:13px}.hero{min-height:500px;display:grid;grid-template-columns:1.5fr .75fr;align-items:center;gap:72px;padding:90px 5vw;border-bottom:1px solid rgba(128,128,128,.18)}.hero h1{font-size:clamp(40px,5vw,72px)!important;line-height:1.1!important;letter-spacing:-3px;max-width:720px;margin:12px 0 24px!important}.hero .ant-typography-paragraph{font-size:16px;line-height:1.8;max-width:610px;color:#666}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#777}.hero-stats{border:1px solid rgba(128,128,128,.22);border-radius:12px;padding:28px}.hero-stats .ant-statistic-content{font-size:22px}.section{padding:84px 5vw}.section-title,.admin-toolbar{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:30px}.section-title .ant-typography{margin:6px 0 0}.group-card{height:100%;border-color:#80808040}.group-card .ant-card-body{display:flex;flex-direction:column;gap:15px}.group-card .ant-btn{margin-top:auto}.mono,code{font-family:SFMono-Regular,Consolas,monospace;font-size:12px}.clamp{min-height:45px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.api-strip{margin:0 5vw 84px;padding:30px;display:flex;align-items:center;gap:20px;border:1px solid rgba(128,128,128,.25);border-radius:12px}.api-strip>span{font-size:34px}.api-strip div{flex:1}.api-strip h3{margin:0 0 6px!important}.api-strip code{white-space:nowrap;padding:10px 12px;background:rgba(128,128,128,.13);border-radius:6px}.exam-wrap,.result-wrap,.page-wrap{max-width:960px;margin:0 auto;padding:58px 0}.exam-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:34px}.exam-head h2{margin:6px 0!important}.exam-meta{display:flex;align-items:center;gap:16px}.question-list{margin-top:32px;display:grid;gap:16px}.question-card .ant-card-head{min-height:50px}.question-card .ant-card-body{padding:22px}.question-num{font-family:monospace;font-weight:800;font-size:15px}.choice{padding:5px 0;cursor:pointer}.choice input{margin:0 10px 0 0}.question-audio{display:block;width:min(100%,420px);margin:0 0 18px}.exam-submit{position:sticky;bottom:18px;margin-top:25px;padding:16px 18px;background:color-mix(in srgb,var(--app-bg,#fff) 92%,transparent);backdrop-filter:blur(12px);border:1px solid rgba(128,128,128,.22);border-radius:10px;display:flex;justify-content:space-between;align-items:center}.result-wrap>.ant-result{padding:36px 0}.answer-row{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid rgba(128,128,128,.15)}.key-notice{margin-top:18px;background:#171717!important;color:#fff}.key-notice .ant-card-body{display:flex;gap:15px;align-items:start}.key-notice .ant-typography{color:#fff}.key-notice>span{font-size:27px}.admin-layout{min-height:calc(100vh - 72px);margin:0 calc(-28px - 1rem) calc(-80px - 1rem);background:#fafafa!important}.admin-layout .ant-pro-layout{min-height:calc(100vh - 72px)}.admin-content{padding:32px;max-width:1280px}.admin-content h2{margin:6px 0 26px!important}.admin-tip{margin-top:24px}.config-page{max-width:900px}@media (prefers-color-scheme:dark){:root{--app-bg:#141414}}[data-theme=dark]{--app-bg:#141414}.ant-layout{background:transparent!important}@media (max-width:760px){.site-header{padding:0 16px}.site-header nav{display:none}.site-main{padding:0 16px 50px}.site-footer{padding:20px 16px;display:block}.site-footer span{display:block;margin-top:8px}.hero{display:block;padding:58px 8px}.hero-stats{margin-top:36px}.section{padding:54px 8px}.section-title,.admin-toolbar,.exam-head{align-items:start;gap:15px;flex-direction:column}.api-strip{margin:0 8px 52px;display:block}.api-strip>span{display:block;margin-bottom:14px}.api-strip code{display:block;overflow:auto;margin-top:15px}.exam-wrap,.result-wrap,.page-wrap{padding:36px 0}.exam-submit{bottom:10px}.admin-layout{margin:0 -16px -50px}.admin-content{padding:20px 14px}}:root{--app-bg: #ffffff;--app-bg-elevated: #ffffff;--app-bg-soft: #ffffff;--app-text: #111111;--app-muted: #525252;--app-border: rgba(17, 17, 17, .14);--app-fill: rgba(17, 17, 17, .04);--app-header: color-mix(in srgb, #ffffff 92%, transparent);--app-shadow: 0 12px 40px rgba(0, 0, 0, .08);--brand-mark-bg: #111111;--brand-mark-fg: #ffffff;--chart-hole: #ffffff;color:var(--app-text);background:var(--app-bg);color-scheme:light}[data-theme=dark]{--app-bg: #0f0f0f;--app-bg-elevated: #181818;--app-bg-soft: #141414;--app-text: #f5f5f5;--app-muted: #a3a3a3;--app-border: rgba(255, 255, 255, .14);--app-fill: rgba(255, 255, 255, .08);--app-header: rgba(15, 15, 15, .94);--app-shadow: 0 16px 48px rgba(0, 0, 0, .45);--brand-mark-bg: #f5f5f5;--brand-mark-fg: #0f0f0f;--chart-hole: #181818;color:var(--app-text);background:var(--app-bg);color-scheme:dark}html,body,#root{min-height:100%;background:var(--app-bg);color:var(--app-text)}body{margin:0}.shell,.admin-layout,.admin-main,.admin-boot{background:var(--app-bg)!important;color:var(--app-text)}.site-header{background:var(--app-header)!important;border-bottom-color:var(--app-border)!important}.site-footer{border-top-color:var(--app-border)!important;color:var(--app-muted)!important}.brand{color:var(--app-text)!important}.brand span{color:var(--brand-mark-fg)!important;background:var(--brand-mark-bg)!important}.eyebrow,.hero .ant-typography-paragraph,.section-title .ant-typography-secondary,.exam-head .ant-typography-secondary{color:var(--app-muted)!important}.hero,.section,.api-strip,.group-card,.question-card,.exam-submit,.answer-row,.record-key,.admin-sider,.admin-header,.drawing-board,.drawing-toolbar,.admin-geetest-box,.totp-qr-box{border-color:var(--app-border)!important}.api-strip,.group-card,.question-card,.dashboard-stat-card,.chart-card,.admin-tip,.key-verify,.review-card{background:var(--app-bg-elevated)!important}.api-strip code,.record-key code,.choice{background:var(--app-fill)}.exam-submit{background:var(--app-header)!important;color:var(--app-text)}.drawing-board{background:var(--app-bg-soft)!important}.drawing-toolbar{background:var(--app-bg-elevated)!important}.drawing-board canvas{background:#ffffff}[data-theme=dark] .drawing-board canvas{background:#f8f8f8}.review-response,.review-reference{background:var(--app-fill)!important;color:var(--app-text)}.admin-brand,.admin-header,.admin-content,.dashboard-page,.config-page{color:var(--app-text)}.admin-login{background:var(--app-bg)!important}.admin-login .ant-card{background:var(--app-bg-elevated)!important;border-color:var(--app-border)!important;box-shadow:var(--app-shadow)!important}.admin-boot{background:var(--app-bg)!important}.chart-day-label,.chart-day-value,.chart-empty,.chart-legend-item{color:var(--app-muted)}.chart-pie{--chart-hole: var(--chart-hole)}[data-theme=dark] .ant-message .ant-message-notice-content{background:#1f1f1f!important;color:#f5f5f5!important;border:1px solid rgba(255,255,255,.12);box-shadow:0 8px 24px #0000008c!important}[data-theme=dark] .ant-message-custom-content,[data-theme=dark] .ant-message-notice-content span{color:#f5f5f5!important}[data-theme=dark] .ant-notification-notice{background:#1f1f1f!important;color:#f5f5f5!important}[data-theme=dark] .ant-notification-notice-message,[data-theme=dark] .ant-notification-notice-description{color:#f5f5f5!important}[data-theme=dark] .ant-typography,[data-theme=dark] .ant-form-item-label>label,[data-theme=dark] .ant-descriptions-item-label,[data-theme=dark] .ant-descriptions-item-content,[data-theme=dark] .ant-statistic-title,[data-theme=dark] .ant-statistic-content,[data-theme=dark] .ant-empty-description,[data-theme=dark] .ant-steps-item-title,[data-theme=dark] .ant-steps-item-description,[data-theme=dark] .ant-pagination,[data-theme=dark] .ant-tabs-tab,[data-theme=dark] .ant-menu-item-group-title,[data-theme=dark] .ant-list-item,[data-theme=dark] .ant-result-title,[data-theme=dark] .ant-result-subtitle{color:var(--app-text)!important}[data-theme=dark] .ant-typography-secondary,[data-theme=dark] .ant-statistic-title,[data-theme=dark] .ant-menu-item-group-title,[data-theme=dark] .ant-empty-description,[data-theme=dark] .ant-result-subtitle,[data-theme=dark] .ant-form-item-extra{color:var(--app-muted)!important}[data-theme=dark] .ant-input,[data-theme=dark] .ant-input-affix-wrapper,[data-theme=dark] .ant-input-number,[data-theme=dark] .ant-input-textarea textarea,[data-theme=dark] .ant-select-selector,[data-theme=dark] .ant-picker,[data-theme=dark] .ant-mentions{background:#1a1a1a!important;border-color:var(--app-border)!important;color:var(--app-text)!important}[data-theme=dark] .ant-input::placeholder,[data-theme=dark] textarea::placeholder{color:#8c8c8c!important}[data-theme=dark] .ant-btn-default{background:#1f1f1f!important;border-color:var(--app-border)!important;color:var(--app-text)!important}[data-theme=dark] .ant-btn-text,[data-theme=dark] .ant-btn-link{color:var(--app-text)!important}[data-theme=dark] .ant-tabs-nav:before,[data-theme=dark] .ant-divider,[data-theme=dark] .ant-table,[data-theme=dark] .ant-table-container,[data-theme=dark] .ant-descriptions-bordered .ant-descriptions-view{border-color:var(--app-border)!important}[data-theme=dark] .ant-table-cell-fix-left,[data-theme=dark] .ant-table-cell-fix-right{background:#181818!important}[data-theme=dark] .ant-tag{border-color:#434343}[data-theme=dark] .ant-tag-default{color:#d9d9d9;background:#262626}[data-theme=dark] .ant-progress-inner{background:#2a2a2a!important}[data-theme=dark] .ant-steps-item-wait .ant-steps-item-icon{background:#262626!important;border-color:#434343!important}[data-theme=dark] .ant-radio-wrapper,[data-theme=dark] .ant-checkbox-wrapper{color:var(--app-text)!important}[data-theme=dark] .ant-segmented{background:#1a1a1a!important}[data-theme=dark] .ant-segmented-item-selected{background:#2a2a2a!important}[data-theme=dark] .ant-drawer-footer,[data-theme=dark] .ant-modal-footer{border-top-color:var(--app-border)!important}[data-theme=dark] .ant-card-head{border-bottom-color:var(--app-border)!important;color:var(--app-text)}[data-theme=dark] .ant-list-split .ant-list-item{border-block-end-color:var(--app-border)!important}[data-theme=dark] .ant-pagination-item,[data-theme=dark] .ant-pagination-prev .ant-pagination-item-link,[data-theme=dark] .ant-pagination-next .ant-pagination-item-link{background:#1a1a1a!important;border-color:var(--app-border)!important}[data-theme=dark] .ant-select-dropdown,[data-theme=dark] .ant-dropdown-menu,[data-theme=dark] .ant-popover-inner{background:#1f1f1f!important}[data-theme=dark] .key-notice{background:#262626!important}[data-theme=dark] .admin-geetest-box,[data-theme=dark] .totp-qr-box{background:var(--app-fill)!important}[data-theme=dark] .admin-nav-drawer .ant-drawer-content,[data-theme=dark] .admin-nav-drawer .ant-drawer-header{background:#101010!important;color:var(--app-text)}[data-theme=dark] .admin-nav-drawer-dark .ant-menu-dark{background:#101010!important}.mobile-nav-trigger,.admin-mobile-menu-btn{display:none}@media (max-width: 760px){.mobile-nav-trigger{display:inline-flex}.site-header nav.site-nav-desktop{display:none!important}.admin-sider-desktop{display:none!important}.admin-main{margin-left:0!important}.admin-mobile-menu-btn{display:inline-flex!important}.admin-layout{flex-direction:column!important}.admin-header{position:sticky;top:0;z-index:50;background:var(--app-header)!important;backdrop-filter:blur(12px)}.admin-content{padding:16px 12px 28px!important}.dashboard-stats .ant-col{flex:0 0 50%;max-width:50%}.chart-pie-wrap{flex-direction:column}.chart-bar-row{grid-template-columns:72px 1fr 36px}.exam-submit{position:sticky;bottom:0;left:0;right:0;z-index:40;margin:16px -14px 0;border-radius:0;border-left:0;border-right:0;padding:12px 14px calc(12px + env(safe-area-inset-bottom))!important;gap:10px}.exam-wrap{padding-bottom:24px}.admin-login{padding:16px}.admin-login .ant-card{width:100%;padding:12px}.key-verify .ant-form-inline{display:grid!important;gap:10px}.key-verify .ant-form-item{margin:0!important}.admin-toolbar{flex-direction:column;align-items:stretch!important;gap:12px}.admin-toolbar .ant-space{width:100%;justify-content:flex-start}.question-bank-tabs .ant-tabs-nav{margin-bottom:12px}.resource-form .ant-form-item{margin-bottom:14px}}.page-loading{min-height:220px;display:grid;place-items:center;padding:48px 16px}.review-media{display:grid;gap:10px;margin:12px 0 16px}.review-media .question-image{max-width:min(100%,420px);max-height:280px;object-fit:contain;border:1px solid rgba(128,128,128,.2);border-radius:8px}.review-media .question-audio{width:min(100%,420px)}*{scrollbar-width:thin;scrollbar-color:rgba(120,120,120,.55) transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:rgba(120,120,120,.45);border-radius:999px;border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:rgba(90,90,90,.7);border:2px solid transparent;background-clip:padding-box}[data-theme=dark] *{scrollbar-color:rgba(180,180,180,.45) transparent}[data-theme=dark] *::-webkit-scrollbar-thumb{background:rgba(180,180,180,.35);border:2px solid transparent;background-clip:padding-box}[data-theme=dark] *::-webkit-scrollbar-thumb:hover{background:rgba(210,210,210,.55);border:2px solid transparent;background-clip:padding-box}.import-row-error>td{background:rgba(255,77,79,.08)!important}.import-format-guide{margin-bottom:14px;padding:14px 16px;border:1px solid var(--app-border, rgba(17, 17, 17, .14));border-radius:8px;background:var(--app-panel, #fafafa);color:var(--app-text, #171717)}.import-format-guide ul{margin:0;padding-left:1.2em}.import-format-guide li{margin:6px 0;line-height:1.55;color:var(--app-text, #171717)}.import-format-guide .ant-typography,.import-format-guide .ant-typography strong{color:inherit!important}.import-code-block{display:block;padding:10px 12px;border-radius:6px;background:#111;color:#f5f5f5;white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.5}.import-switch-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--app-text, #171717);cursor:pointer;white-space:nowrap}.media-uploader-compact{gap:6px}.media-uploader-compact img{max-width:96px;max-height:64px}.media-uploader-compact audio{width:140px;height:32px}[data-theme=dark] .import-format-guide{background:#1a1a1a;border-color:#ffffff24;color:#f5f5f5}[data-theme=dark] .import-format-guide li,[data-theme=dark] .import-switch-label{color:#f5f5f5}.ant-btn-default{background:#ffffff!important;color:#111!important;border-color:#111!important}.ant-btn-primary{box-shadow:none!important}.admin-boot{min-height:100vh;display:grid;place-items:center;background:#f5f5f5}[data-theme=dark] .admin-boot{background:#0f0f0f}.admin-login{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,rgba(100,100,100,.16),transparent 36%)}.admin-login .ant-card{width:min(100%,420px);padding:20px;border:1px solid rgba(128,128,128,.22);box-shadow:0 20px 55px #0000001f}.admin-login h2{margin:8px 0!important}.admin-layout.admin-layout{width:100%;min-height:100vh;background:#f3f5f9;margin:0!important}.admin-sider.admin-sider-desktop{position:fixed!important;left:0;top:0;bottom:0;height:100vh!important;z-index:40;overflow:hidden}.admin-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%;overflow:hidden}.admin-main{flex:1 1 auto;min-width:0;margin-left:var(--admin-sider, 220px)!important;min-height:100vh;background:transparent!important}.admin-brand{height:64px;display:flex;align-items:center;padding:0 22px;font-size:20px;font-weight:750;letter-spacing:.02em;color:#1677ff}.admin-sider{border-right:1px solid rgba(15,23,42,.06)!important;background:#f7f8fa!important}.admin-menu{flex:1;min-height:0;overflow:auto;border-inline-end:none!important;background:transparent!important;padding:8px 0 24px}.admin-menu .ant-menu-item{margin:0!important;width:100%!important;border-radius:0!important;height:44px!important;line-height:44px!important}.admin-menu .ant-menu-item:after,.admin-menu .ant-menu-item-selected:after{display:none!important;border:0!important;box-shadow:none!important;content:none!important}.admin-menu .ant-menu-item-selected{background:rgba(22,119,255,.1)!important;color:#1677ff!important;box-shadow:none!important}.admin-main{flex:1 1 auto;min-width:0;background:transparent!important}.admin-content-wrap{width:100%;padding:0}.admin-content{width:100%;max-width:none;padding:16px 20px 28px}.admin-sider-toggle{margin:8px 12px 16px;height:36px;border:1px solid rgba(15,23,42,.08);border-radius:8px;background:#fff;color:#64748b;cursor:pointer}.admin-main{min-width:0;background:transparent!important}.admin-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(15,23,42,.06);position:sticky;top:0;z-index:20}.admin-header-title{font-size:16px}.admin-content-wrap{padding:0}.admin-content{padding:20px 24px 32px}.admin-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.admin-toolbar h2{margin:0!important}.admin-table-card{border-radius:12px!important;box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a0a;background:#fff!important}.admin-table-card .ant-card-body,.admin-table-card .ant-table-wrapper,.admin-table-card .ant-table{width:100%}.admin-table-card .ant-card-body{padding:8px 8px 4px}.admin-table-card .ant-table{background:transparent}.dashboard-toolbar{margin-bottom:12px}.dashboard-stats{margin-bottom:4px}.dashboard-page .dashboard-stat-card{border:none!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a0a;min-height:118px}.dashboard-stat-title{color:#64748b;font-size:13px;margin-bottom:8px}.dashboard-stat-value{color:#0f172a;font-size:28px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}.dashboard-stat-hint{margin-top:10px;color:#94a3b8;font-size:12px}.dashboard-charts{margin-top:4px}.chart-card{min-height:300px;border-radius:12px!important;box-shadow:0 1px 2px #0f172a0a,0 8px 24px #0f172a0a;background:#fff!important}.chart-card .ant-card-head{border-bottom:1px solid rgba(15,23,42,.06);min-height:48px}.chart-pie-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:center;padding-top:8px}.chart-legend{display:grid;gap:8px;min-width:120px}.chart-legend-item{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:13px}.chart-dot{width:10px;height:10px;border-radius:50%}.chart-bars{display:grid;gap:14px;padding:8px 4px 4px}.chart-bar-row{display:grid;grid-template-columns:108px 1fr 44px;gap:10px;align-items:center}.chart-bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#475569}.chart-bar-track{height:12px;border-radius:999px;background:rgba(22,119,255,.08);overflow:hidden}.chart-bar-fill{height:100%;border-radius:999px}.chart-bar-value{text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:#334155}.chart-area-wrap{position:relative;min-height:0;padding:8px 4px 0}.chart-area-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-top:8px}.chart-area-col{display:flex;flex-direction:column;align-items:center;gap:2px}.chart-day-value{font-size:12px;color:#334155;font-variant-numeric:tabular-nums;min-height:16px}.chart-day-label{font-size:11px;color:#94a3b8}.chart-empty{min-height:160px;display:grid;place-items:center;color:#94a3b8}[data-theme=dark] .admin-layout.admin-layout{background:#0b1220!important}[data-theme=dark] .admin-sider{background:#111827!important;border-right-color:#ffffff14!important}[data-theme=dark] .admin-brand{color:#69b1ff}[data-theme=dark] .admin-menu .ant-menu-item-selected{background:rgba(22,119,255,.18)!important;color:#69b1ff!important;box-shadow:none!important}[data-theme=dark] .admin-sider-toggle{background:#1f2937;border-color:#ffffff1a;color:#cbd5e1}[data-theme=dark] .admin-header{background:rgba(17,24,39,.92);border-bottom-color:#ffffff14}[data-theme=dark] .admin-table-card,[data-theme=dark] .dashboard-page .dashboard-stat-card,[data-theme=dark] .chart-card{background:#111827!important;box-shadow:none}[data-theme=dark] .dashboard-stat-title,[data-theme=dark] .dashboard-stat-hint,[data-theme=dark] .chart-bar-label,[data-theme=dark] .chart-day-label{color:#94a3b8}[data-theme=dark] .dashboard-stat-value,[data-theme=dark] .chart-bar-value,[data-theme=dark] .chart-day-value{color:#f8fafc}[data-theme=dark] .chart-bar-track{background:rgba(105,177,255,.12)}[data-theme=dark] .chart-card .ant-card-head{border-bottom-color:#ffffff14}.key-verify{margin-bottom:24px}.key-verify-result{display:flex;align-items:center;gap:12px;margin-top:16px}.question-bank-tabs{margin-bottom:18px}.admin-pagination{margin-top:24px;text-align:right}[data-theme=dark] .ant-drawer-content,[data-theme=dark] .ant-drawer-header,[data-theme=dark] .ant-modal-content,[data-theme=dark] .ant-modal-header,[data-theme=dark] .dynamic-options,[data-theme=dark] .review-response,[data-theme=dark] .review-reference{background-color:#1f1f1f!important;color:#f3f3f3}[data-theme=dark] .drawing-board,[data-theme=dark] .drawing-toolbar{background-color:#262626}[data-theme=dark] .media-uploader audio{color-scheme:dark}[data-theme=dark]{color-scheme:dark;--app-bg: #0f0f0f;--app-text: #f3f3f3;--app-muted: #ababab}[data-theme=dark] body,[data-theme=dark] .admin-layout{color:var(--app-text);background:var(--app-bg)!important}[data-theme=dark] .site-header,[data-theme=dark] .exam-submit{background:rgba(15,15,15,.96)}[data-theme=dark] .hero .ant-typography-paragraph,[data-theme=dark] .eyebrow,[data-theme=dark] .site-footer,[data-theme=dark] .admin-login p{color:var(--app-muted)!important}[data-theme=dark] .brand,[data-theme=dark] .admin-brand{color:var(--app-text)}[data-theme=dark] .brand span{color:#0f0f0f;background:#f3f3f3}[data-theme=dark] .admin-login{background:#0f0f0f}[data-theme=dark] .admin-login .ant-card{box-shadow:0 20px 55px #00000059}[data-theme=dark] .ant-card,[data-theme=dark] .ant-table-container,[data-theme=dark] .ant-descriptions-view,[data-theme=dark] .ant-segmented,[data-theme=dark] .ant-collapse,[data-theme=dark] .ant-message-notice-content,[data-theme=dark] .ant-notification-notice,[data-theme=dark] .ant-select-dropdown{background-color:#1f1f1f!important;color:#f5f5f5!important}[data-theme=dark] .ant-message .ant-message-notice-content,[data-theme=dark] .ant-message-custom-content,[data-theme=dark] .ant-message-success .anticon,[data-theme=dark] .ant-message-error .anticon,[data-theme=dark] .ant-message-warning .anticon,[data-theme=dark] .ant-message-info .anticon,[data-theme=dark] .ant-notification-notice-message,[data-theme=dark] .ant-notification-notice-description{color:#f5f5f5!important}[data-theme=dark] .ant-message-notice-content{box-shadow:0 8px 24px #0000008c!important;border:1px solid rgba(255,255,255,.12)}[data-theme=dark] .ant-tooltip .ant-tooltip-inner,[data-theme=dark] .ant-popover .ant-popover-inner{background:#1f1f1f!important;color:#f5f5f5!important}[data-theme=dark] .ant-table-thead>tr>th,[data-theme=dark] .ant-table-thead>tr>td{background-color:#202020!important}[data-theme=dark] .ant-table-tbody>tr>td{background-color:#181818!important}[data-theme=dark] .ant-table-tbody>tr:hover>td{background-color:#242424!important}[data-theme=dark] .ant-tag-blue,[data-theme=dark] .ant-tag-processing,[data-theme=dark] .ant-alert-info{color:#d9d9d9!important;background-color:#262626!important;border-color:#4a4a4a!important}@media (max-width: 760px){.admin-header{padding:0 14px}}.admin-login{position:relative}.admin-login-theme{position:absolute;top:16px;right:16px;z-index:2}.admin-geetest-box{min-height:44px;padding:8px 12px;border:1px dashed rgba(128,128,128,.35);border-radius:8px;background:rgba(128,128,128,.04)}.totp-qr-box{margin:8px 0 16px;padding:12px;border:1px solid rgba(128,128,128,.2);border-radius:8px;text-align:center;background:rgba(128,128,128,.04)}.totp-qr-box img{display:inline-block;border-radius:8px;background:#fff}[data-theme=dark] .chart-pie{--chart-hole: #111827}[data-theme=light] .chart-pie,:root .chart-pie{--chart-hole: #fff}.chart-area-svg{width:100%;height:auto;display:block}@media (max-width: 768px){.admin-sider-desktop{display:none!important}.admin-main{margin-left:0!important;width:100%!important}.admin-header{height:52px;padding:0 12px;gap:8px}.admin-header-actions{gap:4px!important}.admin-content{padding:12px 12px 24px!important}.admin-toolbar{flex-wrap:wrap;align-items:flex-start}.dashboard-stat-value{font-size:22px}.chart-card{min-height:0}.chart-bar-row{grid-template-columns:72px 1fr 32px}.admin-table-card .ant-table{font-size:13px}}@media (max-width: 768px){.admin-sider-desktop{display:none!important}.admin-mobile-menu-btn{display:inline-flex!important}.admin-main{margin:0!important;width:100%!important}[data-theme=light] .admin-sider,.ant-layout-sider{background-color:#fffffffa!important}[data-theme=dark] .admin-sider,[data-theme=dark] .ant-layout-sider,[data-theme=dark] .admin-nav-drawer-dark .ant-menu{background-color:#101010!important}.site-main{padding:0 16px 60px}.hero{grid-template-columns:1fr!important;gap:24px;padding:24px 16px!important}.section-title{margin-bottom:16px!important}.group-card{height:auto!important;min-height:200px!important;display:flex!important;flex-direction:column!important}.group-card .ant-card-body{flex:1!important}.statistic-card{height:auto!important;min-height:unset!important}.table-wrap{overflow-x:auto}.table-wrap .ant-table-wrapper{min-width:600px}code{white-space:pre!important;word-break:break-all!important;overflow-x:auto!important;display:inline-block!important;max-width:100%!important;margin-top:12px!important}.ant-table-content{overflow-x:auto!important}.question-card{margin-bottom:16px!important}.exam-submit{position:fixed!important;bottom:0;left:0;right:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;background:var(--app-header, var(--app-bg, #fff))!important;box-shadow:0 -2px 10px #0000001f;z-index:100;border-color:var(--app-border, rgba(128,128,128,.22))!important}@media (orientation: landscape){.exam-submit{position:sticky!important}}}@media (min-width: 769px) and (max-width: 1024px){.site-main{padding:0 24px 60px}.hero{grid-template-columns:1fr;gap:40px;padding:40px 24px!important}.section{padding:40px 24px}.group-card{height:auto!important;min-height:220px!important}}@media (hover: none){.group-card{touch-action:manipulation}.choice{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a,.ant-btn{touch-action:manipulation}input,select,textarea{font-size:16px!important}}.ant-spin-nested-loading,.ant-progress-circle{touch-action:pan}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:rgba(128,128,128,.3);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:rgba(128,128,128,.5)}[data-theme=dark] ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2)}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.hero h1{font-size:48px!important;line-height:1.15!important;letter-spacing:0!important}.hero-proof{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.api-strip{display:grid;grid-template-columns:auto minmax(220px,.65fr) minmax(360px,1fr);border-radius:8px}.api-strip .api-copy{min-width:0;flex:none}.api-strip h3{font-size:18px!important}.api-strip code{min-width:0;width:auto!important;white-space:normal!important;overflow-wrap:anywhere;padding:12px}.question-image{display:block;max-width:min(100%,640px);max-height:420px;object-fit:contain;margin:0 0 18px;border-radius:6px}.media-uploader{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.media-uploader input[type=file]{display:none!important}.media-uploader audio{width:min(100%,360px)}.media-uploader img{max-width:240px;max-height:160px;object-fit:contain;border:1px solid rgba(128,128,128,.2);border-radius:6px}.key-notice code{display:block;color:#fff;overflow-wrap:anywhere;margin-top:6px}.record-list{display:grid;gap:14px}.record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.record-head>div{display:flex;flex-direction:column;gap:4px}.record-key{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(128,128,128,.18)}.record-key code{overflow-wrap:anywhere;word-break:break-all;padding:5px 8px;background:rgba(128,128,128,.12);border-radius:4px}.answer-reason{margin-top:18px}.drawing-board{margin-top:18px;border:1px solid rgba(128,128,128,.25);border-radius:6px;overflow:hidden;background:#f5f5f5}.drawing-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;border-bottom:1px solid rgba(128,128,128,.2)}.drawing-toolbar>.ant-slider{width:120px;margin:0 8px}.drawing-colors{display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:280px}.drawing-colors button,.drawing-colors input{width:24px;height:24px;padding:0;border:2px solid transparent;border-radius:50%;cursor:pointer}.drawing-colors button.swatch-light{border-color:#0000002e}.drawing-colors button.active{border-color:#fff;box-shadow:0 0 0 2px #8c8c8c}.drawing-colors input[type=color]{border-radius:6px;overflow:hidden}.drawing-board canvas{display:block;width:100%;aspect-ratio:9 / 5;background:#fff;touch-action:none;cursor:crosshair}.dynamic-options{display:grid;gap:8px;margin-bottom:20px}.option-row{display:grid!important;grid-template-columns:24px minmax(0,1fr) 36px;width:100%}.option-row .ant-form-item{width:100%;margin-bottom:0}.review-list{display:grid;gap:16px}.review-response,.review-reference{margin:16px 0;padding:14px;background:rgba(128,128,128,.08);border-left:3px solid rgba(128,128,128,.35)}.review-reference{border-left-color:#8c8c8c}.review-response img{display:block;max-width:100%;max-height:480px;object-fit:contain;margin-top:8px;background:#fff;border:1px solid rgba(128,128,128,.2)}@media (max-width: 760px){.site-header{height:60px;padding:0 12px}.site-header .ant-space{gap:4px!important}.site-header .ant-btn{padding-inline:9px}.site-header .ant-btn .anticon+span{display:none}.brand{font-size:18px;letter-spacing:0}.brand span{width:27px;height:27px}.site-main{padding:0 14px 76px}.hero{min-height:auto;padding:44px 4px!important}.hero h1{font-size:32px!important}.hero-proof{margin-top:34px;display:grid!important;grid-template-columns:1fr 1fr;gap:18px}.hero-proof .ant-divider{display:none}.section{padding:48px 4px}.section-title h2{font-size:26px!important}.api-strip{margin:0 4px 48px;padding:22px;display:grid;grid-template-columns:auto 1fr}.api-strip>span{margin:0}.api-strip code{grid-column:1 / -1;display:block!important;margin:0!important;overflow-wrap:anywhere}.exam-wrap,.result-wrap,.page-wrap{padding:30px 0}.exam-meta{width:100%;justify-content:space-between}.question-card .ant-card-head,.question-card .ant-card-body{padding-inline:14px}.question-image{max-height:280px}.answer-row{align-items:flex-start}.answer-row>div{min-width:0}.exam-submit{bottom:8px;gap:12px}.exam-submit .ant-btn{white-space:normal;height:auto;min-height:40px}.record-key{align-items:flex-start;flex-wrap:wrap}.record-key code{width:100%;margin-top:0!important;white-space:normal!important;display:block!important}.drawing-toolbar{align-items:stretch}.drawing-toolbar .ant-segmented{width:100%;overflow-x:auto}.drawing-toolbar>.ant-slider{flex:1;min-width:100px}.drawing-colors{max-width:100%}.drawing-board canvas{min-height:240px}.review-card .ant-card-head{padding-inline:14px}.review-card .ant-card-body{padding:14px}.review-card .ant-form-inline{display:grid;gap:10px}.review-card .ant-form-item{margin:0}.key-notice code{margin-top:6px!important;white-space:normal!important}.exam-submit{background:color-mix(in srgb,var(--app-bg, #fff) 94%,transparent)}.admin-layout{flex-direction:column!important;min-height:100vh}.admin-sider,.admin-sider-desktop{display:none!important}.admin-main{margin-left:0!important}.admin-mobile-menu-btn{display:inline-flex!important}.admin-brand{height:48px;padding:0 14px}.admin-header{height:52px;padding:0 12px;position:sticky;top:0;z-index:50;background:var(--app-header, var(--app-bg, #fff))!important}.admin-main{flex:1 1 auto!important;width:100%!important;min-width:0!important}.admin-toolbar .ant-space{width:100%;justify-content:flex-end}}html{overscroll-behavior-y:contain;scroll-behavior:smooth;scroll-snap-type:y proximity}body{-webkit-overflow-scrolling:touch}.hero,.section,.api-strip,.exam-wrap,.result-wrap,.page-wrap{scroll-margin-top:72px;scroll-snap-align:start}@media (prefers-reduced-motion: reduce){html{scroll-snap-type:none}}
