:root { color-scheme: light; font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #000; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #000; font-size: 18px; line-height: 1.75; }
main { width: min(820px, calc(100% - 48px)); margin: 44px auto 64px; outline: none; }
h1 { font-size: 27px; line-height: 1.4; font-weight: 600; margin: 0 0 26px; }
.welcome-title { text-align: center; }
h2 { font-size: 21px; font-weight: 600; margin: 28px 0 12px; }
p { margin: 12px 0; }
ul, ol { margin: 12px 0; padding-left: 1.5em; }
li { margin: 8px 0; }
a { color: #000; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: #000; background: #fff; border: 1px solid #000; border-radius: 0; }
button, .start-prompt { padding: 8px 22px; line-height: 1.5; min-height: 42px; }
button { cursor: pointer; }
.start-prompt { border: 1px solid #000; cursor: default; user-select: none; }
button:disabled { color: #666; border-color: #888; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
input[type="text"] { width: min(360px, 100%); padding: 7px 10px; }
input[type="number"] { width: 90px; padding: 5px 8px; -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="checkbox"], input[type="radio"] { appearance: auto; accent-color: #000; width: 18px; height: 18px; margin: 5px 8px 0 0; flex: 0 0 auto; }
textarea { width: 100%; max-width: 650px; min-height: 90px; padding: 8px; resize: vertical; }
label { cursor: pointer; }
fieldset { border: 0; margin: 22px 0; padding: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.checkline, .radioline { display: flex; align-items: flex-start; margin: 9px 0; }
.field { margin: 24px 0; }
.field > label { display: block; margin-bottom: 8px; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.text-button { border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; font-size: 15px; min-height: auto; }
.small { font-size: 15px; line-height: 1.7; }
.important, .error { color: #b00000; }
.error { margin-top: 12px; min-height: 1em; }
.muted-rule { border: 0; border-top: 1px solid #bbb; margin: 30px 0 20px; }
.example-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0; }
.example { width: 158px; text-align: center; }
.example canvas { display: block; margin: 0 auto 6px; }
.example figcaption { font-size: 16px; }
.example figure { margin: 0; }
.key { font-family: Arial, sans-serif; font-weight: bold; }
.key-guide { display: flex; justify-content: center; gap: 100px; font-size: 18px; margin: 14px 0 0; }
.task-main { width: 820px; max-width: calc(100% - 32px); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.task-space { position: relative; width: 800px; max-width: 100%; height: 480px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.task-space canvas { display: block; }
.mode-label { color: #b00000; font-weight: 700; }
.central-cue { font-size: 28px; font-weight: 400; text-align: center; }
.fixation { font-family: Arial, sans-serif; font-size: 52px; line-height: 1; }
.trial-footer { text-align: center; min-height: 42px; margin-top: 24px; }
.trial-footer .text-button { font-size: 14px; }
.feedback-main { text-align: center; }
.feedback-text { margin-top: 18px; min-height: 32px; }
.feedback-task { height: 480px; }
.rating-table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.rating-table th, .rating-table td { text-align: left; padding: 10px 12px 10px 0; vertical-align: top; border-bottom: 1px solid #bbb; font-weight: normal; }
.rating-table thead th { font-weight: 600; }
.rating-options { display: flex; gap: 14px; flex-wrap: wrap; }
.rating-options label { white-space: nowrap; display: inline-flex; align-items: center; }
.rating-options input { margin-top: 0; }
.admin-main { width: min(1150px, calc(100% - 48px)); }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { border-bottom: 1px solid #aaa; padding: 9px 10px; text-align: left; white-space: nowrap; }
.admin-table th { font-weight: 600; }
code { font-size: .9em; }
[hidden] { display: none !important; }
@media (max-width: 700px) { main { margin-top: 26px; } body { font-size: 17px; } .key-guide { gap: 50px; } .rating-table td, .rating-table th { padding-right: 6px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
