:root {
  --page-bg: #ffffff; --surface: #ffffff; --ink: #24262d; --muted: #727580;
  --accent: #6255c7; --accent-hover: #4c3faa; --line: #e8e9ed; --accent-soft: #f0eefb;
  --bs-primary: #6255c7; --bs-primary-rgb: 98, 85, 199; --bs-body-color: #24262d;
  --bs-secondary-color: #727580; --bs-body-bg: #ffffff; --bs-border-color: #e8e9ed;
}
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: var(--page-bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif; font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { letter-spacing: -.025em; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.page-container { max-width: 1256px; padding-left: 40px; padding-right: 40px; }
.workspace-content { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.workspace-body .workspace-content { margin-left: 218px; }
.site-main { flex: 1; min-width: 0; }
.site-main:focus { outline: none; }
.workspace-sidebar { position: fixed; inset: 0 auto 0 0; width: 218px; display: flex; flex-direction: column; padding: 28px 16px 0; background: #f7f7f9; border-right: 1px solid var(--line); z-index: 20; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 17px; line-height: 1.5; }
.brand small { display: block; color: #92949e; font-size: 8px; font-weight: 500; letter-spacing: .1em; }
.brand-mark { display: grid; grid-template: repeat(2, 5px) / repeat(2, 5px); align-content: center; justify-content: center; gap: 4px; width: 32px; height: 32px; flex-shrink: 0; background: var(--accent); border-radius: 8px; }
.brand-mark span { background: white; border-radius: 1px; }
.brand-mark span:last-child { opacity: .5; }
.workspace-sidebar .brand { padding: 0 8px; }
.sidebar-nav { display: grid; gap: 5px; margin-top: 36px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; color: #656873; text-decoration: none; font-size: 13px; }
.sidebar-link:hover { color: var(--ink); background: #ededf1; }
.sidebar-link[aria-current] { color: var(--accent-hover); background: #eae7f5; font-weight: 600; }
.sidebar-bottom { margin-top: auto; padding-top: 32px; }
.sidebar-help { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 11px; color: #848791; text-decoration: none; }
.sidebar-account { display: flex; align-items: center; gap: 9px; padding: 20px 6px; border-top: 1px solid var(--line); margin-top: 12px; }
.account-avatar { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #e8e6ef; color: #666173; font-size: 12px; font-weight: 600; }
.sidebar-account > div { min-width: 0; flex: 1; }
.sidebar-account strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 550; }
.sidebar-account div > span { display: block; color: var(--muted); font-size: 10px; }
.logout-form { margin: 0; }
.logout-button { padding: 4px; background: none; border: 0; color: #888b94; }
.logout-button:hover { color: var(--ink); }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-nav { display: flex; gap: 22px; align-items: center; font-size: 13px; }
.nav-item-link { text-decoration: none; color: var(--muted); }
.nav-button { border: 0; background: transparent; font: inherit; }
.site-footer { margin-top: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 20px; padding-bottom: 22px; font-size: 10px; color: #92949c; }
.footer-inner a { color: inherit; text-decoration: none; }
.footer-inner { justify-content: center; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -70px; background: white; border: 2px solid var(--accent); padding: 8px 14px; border-radius: 5px; }
.skip-link:focus { top: 10px; }
.dashboard-page { padding-top: 28px; padding-bottom: 24px; }
.course-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; color: #888b94; font-size: 12px; overflow-wrap: anywhere; }
.course-breadcrumb a { color: #7c7f89; text-decoration: none; }
.course-breadcrumb a:hover { color: var(--accent); }
.course-breadcrumb > [aria-current], .course-breadcrumb > span:last-child { color: #4f525d; }
.page-heading { margin-bottom: 24px; }
.page-heading h1 { font-size: 26px; font-weight: 650; line-height: 1.4; margin: 0 0 9px; overflow-wrap: anywhere; }
.page-heading > p:last-child { font-size: 13px; }
.eyebrow { color: #7e818c; font-size: 11px; font-weight: 500; margin-bottom: 8px; letter-spacing: .02em; }
.course-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.course-page-heading > .page-heading { min-width: 0; }
.course-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.btn { border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; line-height: 1.6; transition: background-color .12s, border-color .12s; }
.btn span { margin-left: 8px; }
.btn-sm { padding: 5px 11px; font-size: 12px; }
.btn-lg { padding: 10px 20px; font-size: 14px; }
.btn-primary { --bs-btn-color: white; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-color: white; --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover); --bs-btn-active-bg: var(--accent-hover); --bs-btn-active-border-color: var(--accent-hover); --bs-btn-disabled-bg: #a6a0c8; --bs-btn-disabled-border-color: #a6a0c8; }
.btn-outline-primary { --bs-btn-color: #515460; --bs-btn-bg: white; --bs-btn-border-color: #dcdde3; --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #f5f5f8; --bs-btn-hover-border-color: #c5c6d0; --bs-btn-active-color: var(--ink); --bs-btn-active-bg: #ededf2; --bs-btn-active-border-color: #c5c6d0; }
.small-action { font-size: 12px; text-decoration: none; font-weight: 500; }
.small-action:hover { text-decoration: underline; }
.workspace-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; overflow-y: hidden; }
.workspace-tab { display: inline-flex; align-items: center; gap: 7px; padding: 12px 1px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; color: #797c86; text-decoration: none; white-space: nowrap; }
.workspace-tab:hover { color: var(--ink); }
.workspace-tab[aria-current='page'] { color: var(--ink); border-bottom-color: var(--accent); }
.surface-card { background: white; border: 1px solid var(--line); border-radius: 8px; }
.card-heading { padding: 17px 22px; border-bottom: 1px solid var(--line); }
.card-heading h2, .account-card h2, .course-form-card h2 { font-size: 14px; font-weight: 600; margin: 0; }
.course-card-body { padding: 22px; }
.course-description { font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.section-toolbar, .course-list-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.section-toolbar { margin-bottom: 18px; }
.card-heading.section-toolbar { margin-bottom: 0; }
.section-toolbar h2 { font-size: 15px; margin: 0; font-weight: 600; }
.section-toolbar p { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.info-strip { display: flex; flex-wrap: wrap; gap: 20px 36px; padding: 16px 0; font-size: 12px; }
.info-item { display: grid; gap: 4px; }
.info-item dd { margin: 0; }
.info-strip dt { font-size: 11px; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.info-strip dd { margin-bottom: 0; }
.info-item > :first-child { color: var(--muted); font-size: 11px; font-weight: 400; }
.role-label, .status-label { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 4px; font-size: 11px; font-weight: 500; line-height: 1.6; white-space: nowrap; background: var(--accent-soft); color: var(--accent-hover); }
.status-label { color: #34765d; background: #edf6f0; }
.status-muted { color: #7b7e89; background: #f0f1f4; }
.experiment-heading-meta, .offering-item-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.meta-separator { padding: 0 5px; }
.empty-state { padding: 52px 24px; text-align: center; }
.empty-state h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.empty-state p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.9; }
.empty-book { display: none; }
.compact-empty-state { padding: 40px 22px; }
.account-card { padding: 22px; }
.account-details { margin: 20px 0; }
.account-details > div + div { margin-top: 16px; }
.account-details dt { color: var(--muted); font-weight: 400; font-size: 11px; margin-bottom: 3px; }
.account-details dd { font-size: 13px; margin: 0; overflow-wrap: anywhere; }
.teacher-name { display: block; }
.management-entry, .account-help { border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: var(--muted); }
.offering-list, .member-list { list-style: none; padding: 0; margin: 0; }
.offering-list-item, .member-list-item { padding: 20px 22px; }
.offering-list-item + .offering-list-item, .member-list-item + .member-list-item { border-top: 1px solid var(--line); }
.offering-list-item h3 { font-size: 16px; margin: 9px 0 5px; }
.offering-list-item h3 a { text-decoration: none; display: flex; justify-content: space-between; gap: 16px; }
.offering-list-item > p { font-size: 12px; color: var(--muted); margin: 0; }
.member-list-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.member-identity { min-width: 0; overflow-wrap: anywhere; }
.member-identity h3 { font-size: 14px; margin: 0 0 3px; }
.member-identity p { font-size: 12px; color: var(--muted); margin: 0; }
.member-actions { display: flex; align-items: center; gap: 14px; }
.member-remove-form { margin: 0; }
.member-remove-form .btn { font-size: 11px; padding: 5px 10px; }
.member-note { margin: 12px 0; }
.member-form-intro { margin: 12px 0 20px; }
.course-form-card { max-width: 800px; padding: 26px; }
.form-label { font-size: 12px; font-weight: 550; margin-bottom: 7px; }
.form-control, .course-form select { background: white; border: 1px solid #dcdde4; border-radius: 6px; padding: 9px 11px; font-size: 13px; color: var(--ink); }
.course-form select { width: 100%; }
.form-control:focus, .course-form select:focus { background: white; border-color: #9187d5; box-shadow: 0 0 0 3px rgba(98,85,199,.08); }
.form-control:disabled, .course-form select:disabled { background: #f6f6f8; color: var(--muted); }
.course-form textarea { resize: vertical; min-height: 120px; }
.course-form .errorlist { list-style: none; padding: 0; margin: 0; }
.field-optional { color: var(--muted); font-size: 11px; font-weight: 400; }
.field-help, .member-note { font-size: 11px; color: var(--muted); line-height: 1.85; margin-top: 7px; }
.field-errors { color: #b34545; font-size: 12px; margin-top: 5px; }
.field-errors:empty { margin: 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.alert { font-size: 13px; border-radius: 6px; padding: 12px 16px; }
.demo-notice { padding: 13px 16px; border: 1px solid #ede4cd; border-radius: 6px; background: #fffcf5; color: #826d40; font-size: 12px; }
.demo-notice strong { display: block; font-weight: 600; }
.demo-notice p { margin: 3px 0 0; font-size: 12px; }
.experiment-hint { padding: 12px 14px; background: #f6f6f9; border-radius: 5px; color: var(--muted); font-size: 12px; }
.experiment-dates { display: flex; flex-wrap: wrap; gap: 18px 44px; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.experiment-dates dt { font-size: 11px; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.experiment-dates dd { margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.submission-instructions { font-size: 13px; line-height: 1.9; }
.upload-form input[type='file'] { font-size: 12px; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--line); font-size: 13px; }
.table-responsive { position: relative; overflow-y: hidden; }
.course-table td:first-child { min-width: 160px; }
.table > :not(caption) > * > * { padding: 15px 20px; vertical-align: middle; box-shadow: none; }
.table thead th { font-size: 11px; font-weight: 500; white-space: nowrap; color: var(--muted); background: #fafafb; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafafb; }
.table td a { text-decoration: none; }
.table td a:hover { text-decoration: underline; }
.rank-cell, .score-cell, .time-cell { font-variant-numeric: tabular-nums; }
.rank-cell, .score-cell { font-weight: 600; }
.score-cell, .time-cell { white-space: nowrap; }
.time-cell { color: var(--muted) !important; font-size: 12px; }
.filename-cell, .ranking-name { overflow-wrap: anywhere; min-width: 120px; max-width: 320px; }
.ranking-name { min-width: 180px; white-space: nowrap; }
.ranking-summary { padding: 18px 22px; }
.ranking-summary > p { font-size: 12px; margin-bottom: 5px; }
.ranking-summary > p:last-child { margin-bottom: 0; }
.ranking-footer { border-top: 1px solid var(--line); padding: 12px 22px; font-size: 11px; color: var(--muted); }
.ranking-empty { padding: 40px 20px !important; text-align: center; color: var(--muted) !important; font-size: 12px; }
.submission-pagination { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.evaluation-item { padding: 24px; }
.evaluation-item + .evaluation-item { border-top: 1px solid var(--line); }
.evaluation-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.evaluation-heading h3 { font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.evaluation-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.evaluation-score { font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.evaluation-score > span { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.evaluation-feedback { font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.file-digest { font-family: ui-monospace, Consolas, monospace; font-size: 10px !important; word-break: break-all; }
/* One editor; section links only navigate within this form. */
.experiment-editor-page { max-width: 1160px; }
.editor-sections { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.editor-sections a { padding: 11px 0; font-size: 12px; color: var(--muted); text-decoration: none; }
.editor-sections a:hover { color: var(--accent); }
.editor-sections a span { margin-right: 5px; color: #a4a6af; font-size: 10px; }
.editor-section { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 32px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 28px 0; scroll-margin-top: 24px; }
.editor-section-heading { padding: 0; }
.editor-section-heading h2 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.editor-section-heading p { color: var(--muted); font-size: 11px; line-height: 1.9; margin: 0; }
.editor-section-body { min-width: 0; }
.analysis-module { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.analysis-module > .form-check > .form-check-label { font-weight: 600; }
.editor-basic-grid { display: grid; gap: 18px; }
.editor-upload-grid, .editor-schedule-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.experiment-editor textarea { min-height: 88px; }
.experiment-editor #id_description { height: 88px; }
.editor-upload-field { min-width: 0; padding: 14px; background: #fafafb; border: 1px solid var(--line); border-radius: 6px; }
.editor-upload-field input[type='file'] { font-size: 11px; padding: 7px; }
.editor-template-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 11px; margin-bottom: 18px; }
.editor-template-links a { text-decoration: none; }
.editor-current-script { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #f5f4fb; padding: 13px 15px; border-radius: 6px; font-size: 12px; margin-bottom: 18px; }
.editor-current-script span, .editor-history-row span { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.editor-current-script > a, .editor-history-row > a { flex-shrink: 0; font-size: 11px; }
.editor-expected-score { max-width: 320px; }
.editor-trial-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.editor-trial-actions > button { flex-shrink: 0; }
.editor-script-help, .editor-script-history { font-size: 11px; color: var(--muted); margin-top: 18px; }
summary { cursor: pointer; }
.editor-script-help summary, .editor-script-history summary { color: #616471; }
.editor-script-help p { margin: 10px 0 0; line-height: 1.9; }
.editor-trial-result { margin-top: 20px; padding: 18px; border-radius: 6px; border: 1px solid var(--line); }
.editor-trial-result.trial-success { background: #f3faf5; border-color: #d4e7d9; }
.editor-trial-result.trial-failure { background: #fff6f5; border-color: #f0d6d2; }
.editor-trial-result h3, .editor-subheading { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.editor-trial-result p { font-size: 12px; margin-bottom: 8px; }
.editor-trial-result .editor-trial-score { font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; }
.editor-trial-result pre { max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; margin-top: 10px; }
.editor-script-history { border-top: 1px solid var(--line); padding-top: 16px; }
.editor-history-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; }
.editor-history-row + .editor-history-row { border-top: 1px solid var(--line); }
.editor-save-bar { position: sticky; bottom: 0; padding: 16px 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); z-index: 5; }
.editor-save-bar > .field-help:first-child { margin-bottom: 10px; }
.editor-save-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-save-bar #editor-status:empty { display: none; }
.editor-errors { margin-top: 20px; }
.editor-errors ul { padding-left: 20px; margin-top: 8px; }
.editor-errors a { color: inherit; }
.experiment-form .form-check { display: flex; align-items: center; gap: 10px; padding-left: 0; }
.experiment-form .form-check input { float: none; margin: 0; accent-color: var(--accent); }
/* Public entrance */
.public-body { background: #fafafb; }
.public-body .workspace-content { min-height: calc(100vh - 77px); }
.login-body .workspace-content { min-height: 100vh; }
.login-body .site-main { display: flex; align-items: center; }
.public-body .login-page { width: 100%; max-width: 400px; margin: 0 auto; padding: 32px 20px; }
.login-card { padding: 32px; }
.login-card h1 { font-size: 22px; font-weight: 650; margin-bottom: 28px; }
.login-body .site-footer { margin-top: 0; }
.form-error { font-size: 12px; }
.course-form-card > h2 { margin-bottom: 14px; }
.course-form-card > p + h2 { margin-top: 30px; }
@media (min-width: 1600px) { .page-container { max-width: 1376px; padding-left: 56px; padding-right: 56px; } }
@media (max-width: 1199.98px) { .workspace-sidebar { width: 192px; padding-left: 10px; padding-right: 10px; } .workspace-body .workspace-content { margin-left: 192px; } .page-container { padding-left: 28px; padding-right: 28px; } .editor-section { grid-template-columns: 155px minmax(0,1fr); gap: 24px; } }
@media (max-width: 991.98px) { .editor-section { grid-template-columns: 1fr; gap: 20px; } .course-page-heading { align-items: flex-start; } .editor-upload-grid { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) {
  .workspace-sidebar { position: static; width: 100%; padding: 16px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
  .workspace-sidebar .brand { padding: 0; font-size: 15px; }
  .brand small, .sidebar-section-label, .sidebar-help, .sidebar-account > div, .account-avatar { display: none; }
  .sidebar-bottom { margin: 0 0 0 auto; padding: 0; order: 1; }
  .sidebar-account { border: 0; margin: 0; padding: 0; }
  .sidebar-nav { display: flex; width: 100%; order: 2; gap: 8px; margin-top: 0; padding-bottom: 12px; }
  .sidebar-link { font-size: 12px; padding: 7px 10px; }
  .sidebar-link svg { width: 15px; height: 15px; }
  .workspace-body .workspace-content { margin-left: 0; min-height: calc(100vh - 114px); }
  .page-container { padding-left: 20px; padding-right: 20px; }
  .dashboard-page { padding-top: 22px; }
  .course-breadcrumb { margin-bottom: 22px; font-size: 11px; gap: 7px; }
  .course-page-heading { flex-wrap: wrap; gap: 16px; }
  .page-heading h1 { font-size: 23px; }
  .workspace-tabs { gap: 24px; margin-bottom: 22px; }
  .course-card-body, .card-heading, .account-card { padding: 18px; }
  .editor-trial-actions, .editor-current-script { align-items: flex-start; flex-direction: column; gap: 10px; }
  .editor-sections { gap: 18px; overflow-x: auto; }
  .editor-sections a { white-space: nowrap; font-size: 11px; }
  .editor-sections a span { display: none; }
  .editor-schedule-grid { grid-template-columns: 1fr; }
  .editor-save-bar { position: static; }
  .member-list-item { flex-wrap: wrap; gap: 12px; }
  .member-actions { flex-wrap: wrap; }
  .course-form-card { padding: 22px; }
  .login-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
/* Course lists and experiment workspace */
.table-primary-link { display: inline-block; font-weight: 550; color: var(--ink); }
.table .table-secondary { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; background: transparent; }
.course-details { padding-top: 22px; font-size: 12px; }
.course-details > summary { color: var(--muted); }
.course-details > div { padding-top: 14px; }
.compact-form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: start; gap: 18px; }
.experiment-overview { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,1fr); align-items: start; gap: 32px; }
.experiment-section h2 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.experiment-upload-panel { background: #fafafb; border: 1px solid var(--line); border-radius: 8px; padding: 0; }
.experiment-upload-panel .card-heading h2 { margin-bottom: 0; }
.settlement-summary { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.experiment-upload-panel h2 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.experiment-info { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 24px; }
.experiment-info dt { color: var(--muted); font-weight: 400; font-size: 11px; margin-bottom: 5px; }
.experiment-info dd { font-size: 12px; margin: 0; }
.ranking-notes { font-size: 11px; color: var(--muted); }
.ranking-notes summary { margin-bottom: 8px; }
@media (max-width: 1100px) { .experiment-overview { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 767.98px) { .compact-form-grid { grid-template-columns: 1fr; gap: 16px; } .experiment-info { grid-template-columns: 1fr; } }
