| :root { |
| color-scheme: light dark; |
| --page: #f5f7fb; --surface: #ffffff; --surface-soft: #f8fafc; |
| --ink: #172033; --muted: #64748b; --line: #dbe3ee; |
| --brand: #3157d5; --brand-hover: #2648ba; --focus: #7c9cff; |
| --badge-bg: #eef2ff; --badge-ink: #3346a8; |
| --error-bg: #fff7ed; --error-line: #fed7aa; --error-ink: #7c2d12; |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| } |
| * { box-sizing: border-box; } |
| [hidden] { display: none !important; } |
| body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.55; } |
| button, select, textarea { font: inherit; } |
| .shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; } |
| .hero { padding: 1rem 0 1.25rem; } |
| .eyebrow { margin: 0; color: var(--brand); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; } |
| .hero h1 { margin: .45rem 0 .65rem; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.045em; line-height: 1.03; } |
| .hero-copy { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.05rem; } |
| .status, .inline-status { min-height: 1.5rem; margin-bottom: .85rem; color: var(--muted); } |
| .status:empty, .inline-status:empty { min-height: 0; margin: 0; } |
| .status.loading::before { content: ""; display: inline-block; width: .65rem; height: .65rem; margin-right: .5rem; border-radius: 50%; background: var(--brand); } |
| .status.error, .inline-status.error { min-height: auto; padding: .8rem 1rem; border: 1px solid var(--error-line); border-radius: 12px; background: var(--error-bg); color: var(--error-ink); } |
| .filter-panel, .answer-card, .review-card { margin-bottom: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); } |
| .filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .85rem; align-items: end; } |
| label span { display: block; margin-bottom: .35rem; font-size: .86rem; font-weight: 650; } |
| select, textarea { width: 100%; border: 1px solid #b8c4d4; border-radius: 10px; background: var(--surface); color: var(--ink); } |
| select { min-height: 2.7rem; padding: .55rem .7rem; } |
| textarea { min-height: 13rem; padding: .85rem; resize: vertical; } |
| textarea::placeholder { color: #718096; opacity: 1; } |
| .button { min-height: 2.7rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-weight: 700; } |
| .button.primary { background: var(--brand); color: #fff; } |
| .button.primary:hover:not(:disabled) { background: var(--brand-hover); } |
| .button.secondary { border-color: var(--line); background: var(--surface-soft); color: var(--ink); } |
| .button:disabled { cursor: not-allowed; opacity: .5; } |
| button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } |
| .question-card, .score-card { margin-bottom: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); } |
| .question-card h2, .score-card h2 { color: var(--ink); } |
| .question-card h2 { margin: .65rem 0 .1rem; font-size: 1.25rem; line-height: 1.45; } |
| .question-card p { color: var(--ink); } |
| .question-card .muted { color: var(--muted); } |
| .badges { display: flex; flex-wrap: wrap; gap: .35rem; } |
| .badge { padding: .24rem .55rem; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); font-size: .76rem; font-weight: 700; } |
| .answer-card h2, .review-card h2 { margin: 0 0 .25rem; } |
| .instructions { margin: 0 0 .8rem; color: var(--muted); } |
| .actions { display: flex; gap: .65rem; margin-top: .75rem; } |
| .score-card > h2 { margin: .25rem 0; font-size: 1.8rem; } |
| .heuristic-warning { margin: 0; color: var(--muted); font-size: .9rem; } |
| .heuristic-warning strong { color: var(--ink); } |
| .score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: .9rem 0; } |
| .metric { padding: .75rem; border-radius: 12px; background: var(--surface-soft); color: var(--ink); } |
| .metric span, .metric strong, .metric small { display: block; } |
| .metric strong { font-size: 1.2rem; } |
| .metric small { color: var(--muted); } |
| .concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; } |
| .concept-grid h3 { margin-bottom: .25rem; font-size: 1rem; } |
| .concept-grid ul { margin-top: 0; } |
| .feedback { margin-bottom: 0; } |
| .review-card h3 { margin: 1.35rem 0 .5rem; } |
| .rubric { display: grid; gap: .6rem; margin: 0; } |
| .rubric div { padding: .75rem; border-radius: 10px; background: var(--surface-soft); } |
| .rubric dt { font-weight: 750; } |
| .rubric dd { margin: .2rem 0 0; color: var(--muted); } |
| .muted { color: var(--muted); } |
| .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } |
| @media (prefers-color-scheme: dark) { |
| :root { --page: #0f1420; --surface: #182031; --surface-soft: #222c40; --ink: #edf2f8; --muted: #aab7c8; --line: #344157; --brand: #8da7ff; --brand-hover: #7897ff; --focus: #a9baff; } |
| .question-card, .score-card { background: #fff; color: #172033; --ink: #172033; --muted: #64748b; --surface-soft: #f8fafc; --line: #dbe3ee; --brand: #3157d5; } |
| .badge { background: #eef2ff; color: #3346a8; } |
| textarea::placeholder { color: #aab7c8; } |
| } |
| @media (max-width: 760px) { |
| .shell { width: min(100% - 1rem, 1120px); padding-top: 1rem; } |
| .filters { grid-template-columns: 1fr; } |
| .score-grid, .concept-grid { grid-template-columns: 1fr 1fr; } |
| .actions { flex-direction: column; } |
| } |
| @media (max-width: 480px) { .score-grid, .concept-grid { grid-template-columns: 1fr; } } |
|
|