:root { --blue: #0757a8; --blue-dark: #063c75; --blue-soft: #eaf3ff; --red: #d9273f; --red-dark: #b51e33; --ink: #12243a; --muted: #6c7b90; --line: #dce5ef; --surface: #fff; --surface-soft: #f5f8fc; --shadow: 0 18px 46px rgba(24, 54, 89, .08); --radius: 16px; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f3f7fb; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 75% 15%, rgba(217,39,63,.12), transparent 30%), linear-gradient(140deg, #f4f9ff, #edf4fc); }
.login-shell { width: min(100%, 472px); }
.login-card { position: relative; padding: 42px; overflow: hidden; background: #fff; border: 1px solid rgba(7,87,168,.12); border-radius: 24px; box-shadow: 0 22px 70px rgba(21,61,104,.16); }
.login-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg, var(--red) 0 27%, var(--blue) 27% 100%); }
.brand-lockup, .sidebar-brand, .topbar-user, .account-table-row { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: var(--blue); border-radius: 14px 14px 14px 4px; font-size: 20px; font-weight: 800; letter-spacing: -1px; box-shadow: 5px 5px 0 var(--red); }
.brand-mark.small { width: 40px; height: 40px; border-radius: 10px 10px 10px 3px; font-size: 14px; box-shadow: 3px 3px 0 var(--red); }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
.brand-name { margin-top: 4px; font-size: 18px; font-weight: 800; }
.login-rule { height: 1px; margin: 34px 0 30px; background: var(--line); }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 10px; font-size: 30px; letter-spacing: -.04em; } h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.02em; }
.muted { color: var(--muted); line-height: 1.6; } .small-text { font-size: 12px; }
.stack-form { display: grid; gap: 18px; margin-top: 30px; }
.stack-form label, .field-label { display: grid; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 700; }
.stack-form input, textarea, .search-form input, .answer-row input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; color: var(--ink); background: #fbfdff; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,87,168,.1); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; border: 0; border-radius: 10px; padding: 0 18px; cursor: pointer; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-1px); } .button-primary { color: #fff; background: var(--blue); } .button-primary:hover { background: var(--blue-dark); } .button-wide { width: 100%; min-height: 48px; } .button-light { color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); }
.form-error { min-height: 18px; margin: -2px 0 -6px; color: var(--red); font-size: 12px; } .login-footnote { margin: 28px 0 0; color: #a4afbc; font-size: 11px; text-align: center; }
.app-frame { display: flex; min-height: 100vh; }
.sidebar { display: flex; flex: 0 0 256px; flex-direction: column; min-height: 100vh; padding: 28px 18px 18px; color: #dbeaff; background: linear-gradient(180deg, #074f98, #06386f); }
.sidebar-brand { padding: 0 12px 34px; color: #fff; } .sidebar-brand strong { display: block; font-size: 15px; } .sidebar-brand span { display: block; margin-top: 4px; color: #a6c6e9; font-size: 10px; }
.sidebar-section-label { margin: 6px 12px 12px; color: #8eb7e3; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.sidebar-nav { display: grid; gap: 5px; } .sidebar-link { display: flex; gap: 12px; align-items: center; padding: 13px 14px; color: #bed7f1; border-radius: 10px; font-size: 13px; font-weight: 600; } .sidebar-link:hover, .sidebar-link.active { color: #fff; background: rgba(255,255,255,.13); } .sidebar-link.active { box-shadow: inset 3px 0 var(--red); }
.nav-icon { width: 18px; color: #fff; font-size: 19px; text-align: center; } .sidebar-bottom { margin-top: auto; } .sidebar-note { display: flex; align-items: center; gap: 8px; margin: 0 8px 18px; color: #91bce4; font-size: 11px; } .status-dot { width: 7px; height: 7px; background: #41d990; border-radius: 50%; box-shadow: 0 0 0 4px rgba(65,217,144,.13); } .sidebar-logout { width: 100%; padding: 12px 14px; color: #d2e5f8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; cursor: pointer; text-align: left; font-size: 12px; }
.content-shell { flex: 1; min-width: 0; } .topbar { display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 18px 44px; background: #fff; border-bottom: 1px solid var(--line); } .topbar-kicker { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; } .topbar-title { margin-top: 5px; font-size: 16px; font-weight: 700; } .topbar-user { gap: 10px; } .topbar-user strong, .topbar-user span { display: block; } .topbar-user strong { font-size: 12px; } .topbar-user span { margin-top: 3px; color: var(--muted); font-size: 10px; } .avatar { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: var(--red); border-radius: 50%; font-size: 13px; font-weight: 800; } .avatar.large { width: 48px; height: 48px; }
.main-content { width: min(100%, 1440px); margin: 0 auto; padding: 42px 44px 22px; } .page-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; } .page-intro.compact { align-items: start; } .page-intro h1 { margin: 7px 0 6px; } .page-intro p { margin-bottom: 0; font-size: 13px; } .back-link { color: var(--blue); font-size: 12px; font-weight: 700; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; } .stat-card { position: relative; min-height: 122px; padding: 19px 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); } .stat-card::after { content: ''; position: absolute; right: -14px; bottom: -20px; width: 76px; height: 76px; border: 12px solid rgba(7,87,168,.05); border-radius: 50%; } .stat-label { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; } .stat-card strong { display: block; margin: 10px 0 4px; font-size: 31px; letter-spacing: -.05em; } .stat-accent { color: var(--red); font-size: 11px; font-weight: 700; }
.notice { margin-bottom: 18px; padding: 12px 15px; border-radius: 10px; font-size: 12px; } .notice.success { color: #147147; background: #e8f8f0; border: 1px solid #bde8d1; } .notice.info { margin-top: 26px; color: var(--blue-dark); background: var(--blue-soft); border: 1px solid #cfe2fb; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); } .panel-toolbar, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); } .panel-toolbar h2 { margin-bottom: 3px; } .search-form { display: flex; width: min(100%, 315px); } .search-form input { border-radius: 9px 0 0 9px; padding: 10px 12px; font-size: 12px; } .search-button { width: 42px; color: #fff; background: var(--blue); border: 0; border-radius: 0 9px 9px 0; cursor: pointer; font-size: 18px; }
.table-scroll { overflow-x: auto; } .question-table { width: 100%; min-width: 900px; border-collapse: collapse; } .question-table th { padding: 14px 18px; color: var(--muted); background: #f9fbfd; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: left; } .question-table td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: middle; } .id-cell { color: var(--blue); font-size: 12px; font-weight: 800; } .question-text { max-width: 440px; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } .answer-count { margin-top: 5px; color: var(--muted); font-size: 11px; } .type-pill, .role-pill, .security-badge { display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 6px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; } .type-pill { color: var(--blue-dark); background: var(--blue-soft); } .type-pill.type-1 { color: #7e4a06; background: #fff4dc; } .type-pill.type-2 { color: #8a2749; background: #fde9f0; } .type-pill.type-3 { color: #4f3788; background: #eeeafe; } .type-dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; } .answer-preview { display: flex; flex-wrap: wrap; gap: 5px; max-width: 240px; } .answer-chip { display: block; max-width: 112px; overflow: hidden; padding: 5px 7px; color: var(--muted); background: #f4f7fa; border-radius: 5px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .answer-chip.correct { color: #17764c; background: #e7f8ef; font-weight: 700; } .row-actions { display: flex; gap: 7px; } .row-actions form { margin: 0; } .icon-button { display: grid; place-items: center; width: 31px; height: 31px; color: var(--blue); background: var(--blue-soft); border: 0; border-radius: 8px; cursor: pointer; font-size: 16px; } .icon-button.danger { color: var(--red); background: #fff0f2; } .empty-state { padding: 50px !important; color: var(--muted); text-align: center; }
.editor-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; } .editor-panel { padding: 0 24px 24px; } .editor-panel .panel-heading { margin: 0 -24px 25px; } .required-note { color: var(--muted); font-size: 11px; } .required-note::first-letter { color: var(--red); } .field-label { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; } .field-label span { color: var(--red); line-height: 1; } .type-selector { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 24px; } .type-option { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; } .type-option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); } .type-option input { accent-color: var(--blue); } .type-option strong, .type-option small { display: block; } .type-option strong { font-size: 12px; } .type-option small { margin-top: 3px; color: var(--muted); font-size: 10px; } .challenge-level-select-wrap { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 5px 10px 5px 7px; border: 1px solid #cbdced; border-radius: 13px; background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%); box-shadow: 0 5px 14px rgba(20, 77, 132, .06); transition: border-color .2s, box-shadow .2s, transform .2s; } .challenge-level-select-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 87, 168, .1), 0 8px 18px rgba(20, 77, 132, .1); transform: translateY(-1px); } .challenge-level-select-icon { display: grid; flex: 0 0 46px; place-items: center; width: 46px; height: 46px; overflow: hidden; border: 1px solid rgba(7, 87, 168, .12); border-radius: 11px; background: #fff; box-shadow: 0 3px 8px rgba(20, 77, 132, .1); } .challenge-level-select-icon img { display: block; width: 100%; height: 100%; object-fit: cover; } .challenge-level-select-wrap select { flex: 1; min-width: 0; height: 48px; padding: 0 34px 0 2px; color: var(--ink); border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; appearance: none; } .challenge-level-select-wrap { position: relative; } .challenge-level-select-wrap::after { position: absolute; right: 16px; color: var(--blue); content: '⌄'; pointer-events: none; font-size: 20px; font-weight: 800; line-height: 1; transform: translateY(-2px); } .challenge-level-select-wrap select option { color: var(--ink); background: #fff; font-weight: 600; } textarea { resize: vertical; } .field-hint { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.answers-editor { display: grid; gap: 10px; } .answer-row { display: grid; grid-template-columns: 22px 26px minmax(0, 1fr) 35px; align-items: center; gap: 9px; } .answer-row input { padding: 11px 12px; } .answer-radio input { display: none; } .answer-radio span { display: block; width: 15px; height: 15px; border: 2px solid #b8c5d2; border-radius: 50%; cursor: pointer; } .answer-radio input:checked + span { border: 4px solid var(--blue); } .answer-number { display: grid; place-items: center; width: 25px; height: 25px; color: var(--blue); background: var(--blue-soft); border-radius: 7px; font-size: 11px; font-weight: 800; } .correct-label { color: #238354; font-size: 10px; font-weight: 700; } .form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); } .account-card { padding-bottom: 22px; } .account-table-row { justify-content: start; padding: 24px; } .account-table-row strong, .account-table-row span { display: block; } .account-table-row strong { margin-bottom: 4px; font-size: 14px; } .account-table-row span:not(.role-pill) { color: var(--muted); font-size: 12px; } .role-pill { margin-left: auto; color: var(--blue); background: var(--blue-soft); } .security-badge { color: #17764c; background: #e7f8ef; } .footer { padding: 0 44px 28px; color: #9aa8b7; font-size: 10px; } .footer span { margin: 0 5px; color: var(--red); }
@media (max-width: 980px) { .sidebar { flex-basis: 210px; } .main-content, .topbar { padding-left: 24px; padding-right: 24px; } .stat-grid { grid-template-columns: repeat(2, 1fr); } .editor-layout { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .app-frame { display: block; } .sidebar { min-height: 0; padding: 18px; } .sidebar-brand { padding-bottom: 18px; } .sidebar-section-label, .sidebar-bottom { display: none; } .sidebar-nav { grid-template-columns: repeat(2, 1fr); } .sidebar-link { padding: 10px; font-size: 11px; } .topbar { min-height: 70px; } .topbar-user { display: none; } .main-content { padding: 28px 16px 20px; } .page-intro { display: block; } .page-intro .button { margin-top: 20px; } .stat-grid { gap: 9px; } .stat-card { min-height: 105px; padding: 14px; } .stat-card strong { font-size: 25px; } .panel-toolbar { display: block; } .search-form { margin-top: 15px; width: 100%; } .login-card { padding: 30px 24px; } }
.level-divider td { padding: 10px 18px; background: #eef5fd; border-top: 1px solid #cfe0f3; border-bottom: 1px solid #dceaf7; } .level-title { display: flex; align-items: center; gap: 10px; } .level-title strong { color: var(--blue-dark); font-size: 12px; } .level-title > span:last-child { color: var(--muted); font-size: 11px; } .level-badge { padding: 5px 8px; color: #fff; background: var(--red); border-radius: 6px; font-size: 9px !important; font-weight: 800; letter-spacing: .08em; } .question-hint { margin-top: 5px; color: #8a5a08; font-size: 10px; } .asset-link { display: inline-block; max-width: 330px; margin-top: 5px; overflow: hidden; color: var(--blue); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.eyebrow, .stat-label, .question-table th { font-weight: 700; } .type-pill, .role-pill, .security-badge { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; font-size: 11px; font-weight: 700; line-height: 1.25; } .type-dot { flex: 0 0 auto; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 72% 20%, rgba(217,39,63,.12), transparent 30%), linear-gradient(140deg, #f4f9ff, #edf4fc); } .error-card { width: min(100%, 560px); padding: 48px; text-align: center; background: #fff; border: 1px solid rgba(7,87,168,.12); border-radius: 24px; box-shadow: 0 22px 70px rgba(21,61,104,.16); } .error-mark { color: var(--red); font-size: 88px; font-weight: 800; letter-spacing: -.08em; line-height: 1; } .error-card h1 { margin: 12px 0 8px; } .error-card .muted { margin-bottom: 18px; } .error-path { display: block; max-width: 100%; overflow: hidden; padding: 10px 12px; color: var(--blue-dark); background: var(--blue-soft); border-radius: 8px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } .error-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.editor-panel > .field-label, .account-form > .field-label { margin-top: 14px; margin-bottom: 4px; } .editor-panel > .panel-heading + .field-label, .account-form > .field-label:first-of-type { margin-top: 0; } .editor-panel > .field-label + input, .editor-panel > .field-label + textarea, .account-form > .field-label + input, .account-form > .field-label + select { margin-top: 0; } .asset-input-wrap { display: flex; align-items: center; overflow: hidden; background: #fbfdff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; } .asset-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,87,168,.1); } .asset-input-icon { display: grid; place-items: center; width: 38px; height: 40px; color: var(--blue); background: var(--blue-soft); border-right: 1px solid #d6e5f5; font-size: 16px; font-weight: 700; } .asset-input-wrap input { min-width: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; } .asset-input-wrap input:focus { box-shadow: none; } .account-management-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 20px; align-items: start; } .account-list-panel, .account-editor-panel { min-width: 0; } .account-table { width: 100%; min-width: 680px; border-collapse: collapse; } .account-table th { padding: 14px 18px; color: var(--muted); background: #f9fbfd; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-align: left; } .account-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; } .account-table tr.current-account { background: #f8fbff; } .account-name-cell { display: flex; align-items: center; gap: 10px; } .account-name-cell strong, .account-name-cell span { display: block; } .account-name-cell strong { font-size: 12px; } .account-name-cell span { margin-top: 3px; color: var(--muted); font-size: 11px; } .small-avatar { width: 32px; height: 32px; font-size: 11px; } .role-pill.role-super { color: #8a2749; background: #fde9f0; } .account-status { display: inline-flex; align-items: center; gap: 7px; color: #17764c; font-size: 11px; font-weight: 600; } .icon-button.disabled { color: #aeb9c5; background: #f0f3f6; cursor: not-allowed; } .account-editor-panel { padding: 0 24px 24px; } .account-editor-panel .panel-heading { margin: 0 -24px 22px; } .account-form { display: grid; } .account-form input, .account-form select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fbfdff; outline: none; } .account-form input:focus, .account-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,87,168,.1); } .account-form .form-actions { margin-top: 22px; }
@media (max-width: 980px) { .account-management-layout { grid-template-columns: 1fr; } }
.filter-panel { padding: 18px 22px; margin-bottom: 20px; } .record-filter-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 12px; } .record-filter-form label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; } .record-filter-form input { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 11px; color: var(--ink); background: #fbfdff; outline: none; } .record-filter-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7,87,168,.1); } .filter-actions, .export-actions { display: flex; gap: 8px; } .filter-actions .button, .export-actions .button { white-space: nowrap; } .button-export { min-height: 36px; padding: 0 12px; color: var(--blue); background: var(--blue-soft); font-size: 11px; } .button-export.excel { color: #17764c; background: #e7f8ef; } .playrecord-table { width: 100%; min-width: 1050px; border-collapse: collapse; } .playrecord-table th { padding: 14px 18px; color: var(--muted); background: #f9fbfd; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-align: left; } .playrecord-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; } .record-time { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; } .region-pill { display: inline-block; padding: 6px 9px; color: var(--blue-dark); background: var(--blue-soft); border-radius: 7px; font-size: 11px; font-weight: 700; } .result-pill { display: inline-block; padding: 6px 9px; border-radius: 7px; font-size: 10px; font-weight: 800; } .result-win { color: #17764c; background: #e7f8ef; } .result-loss { color: var(--red); background: #fff0f2; } .record-details { min-width: 320px; } .record-details summary { color: var(--blue); cursor: pointer; font-size: 11px; font-weight: 700; } .detail-list { display: grid; gap: 8px; margin-top: 10px; } .detail-item { padding: 10px 12px; border-left: 3px solid var(--line); background: #f9fbfd; border-radius: 0 8px 8px 0; } .detail-correct { border-left-color: #41b77b; } .detail-wrong { border-left-color: var(--red); } .detail-topline { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; } .detail-correct .detail-topline span { color: #17764c; font-weight: 700; } .detail-wrong .detail-topline span { color: var(--red); font-weight: 700; } .detail-question { margin-top: 6px; font-size: 11px; font-weight: 600; line-height: 1.45; } .detail-answer { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; } .detail-answer span:first-child { color: var(--ink); font-weight: 700; } .detail-correct-answer { color: #17764c; } .detail-hint { margin-top: 5px; color: #8a5a08; font-size: 10px; } .pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; } .level-cell { display: flex; align-items: center; gap: 9px; } .level-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--blue); background: var(--blue-soft); border-radius: 8px; font-size: 16px; } .level-icon img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; display: block; } .icon-input-row { display: flex; align-items: center; gap: 12px; } .icon-input-row input { flex: 1; min-width: 0; } .icon-preview-box { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid #dce5f1; border-radius: 12px; background: #f7faff; overflow: hidden; } .icon-preview-box img { width: 100%; height: 100%; object-fit: cover; display: block; } .upload-input-wrap { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 10px; border: 1px dashed #b9cbe0; border-radius: 10px; background: #f8fbff; } .upload-input-wrap input { min-width: 0; padding: 5px 0; border: 0; background: transparent; } .upload-input-wrap input:focus { box-shadow: none; } .upload-limit { flex: 0 0 auto; color: var(--muted); font-size: 10px; white-space: nowrap; } .level-order { display: inline-grid; place-items: center; min-width: 26px; height: 26px; color: var(--blue); background: var(--blue-soft); border-radius: 7px; font-size: 11px; font-weight: 800; } .inactive-dot { background: #aeb9c5; box-shadow: none; }
@media (max-width: 900px) { .record-filter-form { grid-template-columns: repeat(2, 1fr); } .filter-actions { grid-column: span 2; } }
.question-asset-editor { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid #d7e3f0; border-radius: 13px; background: linear-gradient(135deg, #fbfdff 0%, #f1f7fd 100%); }
.question-asset-preview { display: grid; place-items: center; min-height: 112px; overflow: hidden; border: 1px solid #d8e4f0; border-radius: 10px; background: #fff; }
.question-asset-preview img { display: block; width: 100%; height: 112px; object-fit: cover; }
.question-asset-preview audio { width: calc(100% - 16px); }
.asset-preview-empty { color: var(--muted); font-size: 11px; }
.question-asset-details { min-width: 0; }
.asset-url-caption { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.asset-url-display { display: block; max-width: 100%; margin: 5px 0 10px; overflow: hidden; color: var(--blue); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.asset-url-empty { display: block; margin: 5px 0 10px; color: var(--muted); font-size: 11px; }
.asset-upload-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 36px; padding: 0 12px; overflow: hidden; color: var(--blue); background: var(--blue-soft); border: 1px solid #c9def5; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.asset-upload-picker:hover { background: #dcecff; border-color: #9fc5ed; transform: translateY(-1px); }
.asset-upload-picker input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.answer-content { display: grid; min-width: 0; gap: 7px; }
@media (max-width: 680px) { .question-asset-editor { grid-template-columns: 1fr; } .question-asset-preview { min-height: 150px; } .question-asset-preview img { height: 150px; } }
.time-pill { display: inline-block; padding: 6px 9px; color: var(--blue-dark); background: var(--blue-soft); border-radius: 7px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.detail-timeout { border-left-color: #d09a25; background: #fffaf0; }
.detail-timeout .detail-topline span { color: #a66b00; font-weight: 700; }
