:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#29313f;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #5267d7;outline-offset:3px}[hidden]{display:none!important}.experiment{display:flex;min-height:100vh;min-height:100dvh}.panel{width:288px;flex-shrink:0;padding:26px 26px 22px;background:#fff;border-right:1px solid #e5e8ee;display:flex;flex-direction:column}.header-row{display:flex;align-items:center;justify-content:space-between}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;color:#8a93a3}h1{font-size:23px;font-weight:600;margin:13px 0}header p{font-size:12px;line-height:1.9;color:#858d9c;margin:0 0 28px}.icon-button{background:none;border:0;color:#7f8998;font-size:24px;width:30px;height:30px;border-radius:5px}.icon-button:hover{background:#f0f2f6}.control{margin-bottom:27px}.control>label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:500;margin-bottom:12px}.unit{font-size:10px;color:#969eaa;font-weight:400}select{width:100%;padding:10px;border:1px solid #e0e3e9;border-radius:5px;background:#fafbfc;color:#414c5d;font-size:13px}fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.6}.number-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.number-row input{width:86px;padding:8px 10px;border:1px solid #e0e3e9;border-radius:5px;font:22px ui-monospace,SFMono-Regular,Consolas,monospace;color:#333b49;background:#fbfcfd}.number-row>span{font-size:12px;color:#9ca1aa}input[type=range]{appearance:none;display:block;width:100%;height:6px;border-radius:4px;background:linear-gradient(to right,#080808,#fff);border:1px solid #dadde3;cursor:pointer;margin:0}input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#53617a;box-shadow:0 0 0 1px #a9b0bf}input[type=range]::-moz-range-thumb{width:13px;height:13px;border:2px solid #fff;border-radius:50%;background:#53617a;box-shadow:0 0 0 1px #a9b0bf}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#9299a5;margin-top:11px}.color-row{display:flex;align-items:center;gap:11px}.color-row input[type=color]{width:42px;height:38px;border:1px solid #dfe2e8;padding:3px;background:#fff;border-radius:5px;cursor:pointer;flex-shrink:0}.color-row input[type=color]::-webkit-color-swatch-wrapper{padding:0}.color-row input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.color-row input[type=text]{width:100%;min-width:0;border:1px solid #e0e3e9;padding:10px 11px;border-radius:5px;font:13px ui-monospace,SFMono-Regular,Consolas,monospace;color:#5c6573;background:#fbfcfd}.color-row input[aria-invalid=true]{border-color:#c65a50}.field-hint{font-size:10px;color:#959daa;margin:10px 0 0;line-height:1.8}.actions{display:flex;flex-direction:column;gap:9px}.primary,.secondary{min-height:40px;border-radius:6px;font-size:12px;padding:11px 15px}.primary{background:#344153;border:1px solid #344153;color:#fff}.actions .primary{display:flex;align-items:center;justify-content:space-between}.primary:hover:not(:disabled){background:#43536a}.secondary{background:#fff;border:1px solid #e0e4eb;color:#6a7688}.secondary:hover:not(:disabled){background:#f0f3f8}.save-status{font-size:10px;color:#859180;text-align:center;margin:15px 0 30px;line-height:1.8}.panel footer{font-size:10px;color:#9aa3b0;line-height:1.9;margin-top:auto}kbd{font-size:9px;border:1px solid #e0e4e9;border-radius:3px;padding:0 3px}.main-area{flex:1;min-width:0;padding:0 40px 35px;max-width:1500px;margin:0 auto}.study-header{height:80px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #e5e8ef;color:#7e8a9c;font-size:12px}.study-header>span:last-child{margin-left:auto;font-size:11px}.study-header button{min-height:32px;padding:6px 11px;font-size:11px}.instructions{text-align:center;padding:40px 0 30px}.instructions h2{font-size:25px;font-weight:500;margin:12px 0}.instructions p{font-size:12px;color:#87909e;line-height:1.9;margin:0}.stimuli{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1000px;margin:auto}figure{margin:0;min-width:0}figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#727e8f;margin-bottom:13px}figcaption span{font-size:11px;color:#929baa}.stimulus-field{height:300px;display:grid;place-items:center;background:#c0c0c0}.reference-field{background:#c0c0c0}.target{width:160px;height:160px;background:rgb(128,128,128)}.answer-card{max-width:530px;margin:30px auto 0}.answer-card>label{display:block;font-size:13px;margin-bottom:12px}.answer-row{display:flex;gap:12px}.answer-row input{width:140px;min-width:0;background:#fff;border:1px solid #dce2eb;border-radius:6px;padding:11px 13px;font-size:18px;color:#3b475b}.answer-row button{flex:1}.answer-card p{font-size:11px;color:#929caa;line-height:1.8;margin:12px 0 22px}.progress-track{height:3px;background:#e4e8ee}.progress-track>div{height:3px;background:#7d8da8;width:0}.ready-note{margin:28px auto;color:#8f99a7;font-size:12px;text-align:center;line-height:1.9}.panel-hidden .panel{display:none}.complete-view{max-width:800px;margin:50px auto}.complete-icon{width:44px;height:44px;border:1px solid #d2dfd5;background:#ecf3ed;border-radius:50%;display:grid;place-items:center;color:#6b8870;font-size:23px;margin-bottom:22px}.complete-view h2{font-weight:500;font-size:25px;margin:13px 0}.complete-view>p{font-size:13px;line-height:1.8;color:#8a94a2}.complete-view label,dialog label{display:block;margin:28px 0 12px;font-size:12px;color:#738092}textarea{display:block;resize:vertical;width:100%;min-height:270px;padding:17px;border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#505e73;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.local-note{font-size:11px!important;color:#9aa3af!important;line-height:1.8}dialog{width:680px;max-width:calc(100vw - 32px);max-height:90dvh;border:1px solid #e0e4ec;border-radius:12px;padding:28px;background:#f8f9fb;color:#344153;box-shadow:0 20px 80px #17291622}dialog::backdrop{background:#18223380}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between}dialog h2{font-size:22px;font-weight:500;margin:10px 0 0}dialog p{font-size:12px;color:#8190a1}dialog textarea{height:320px}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#344153;color:#fff;padding:12px 20px;border-radius:7px;font-size:12px;opacity:0;pointer-events:none;z-index:5;max-width:90vw}.toast.visible{opacity:1}
@media(min-width:1400px){.stimulus-field{height:350px}.instructions{padding-top:50px}}@media(max-width:1050px){.main-area{padding:0 24px 30px}.stimuli{gap:16px}.stimulus-field{height:270px}.panel{width:260px;padding:24px 22px}figcaption{align-items:flex-start;flex-direction:column;gap:6px}.instructions h2{font-size:23px}}@media(max-width:760px){.experiment{flex-direction:column}.panel{width:100%;border-right:0;border-bottom:1px solid #e5e8ee;padding:20px 24px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel header{grid-column:1/-1}.panel header p{margin:0}.panel header p br{display:none}.panel h1{font-size:21px}.control{margin-bottom:0}fieldset{display:contents}.actions{justify-content:end}.save-status{margin:0;text-align:left;grid-column:1/-1}.panel footer{display:none}.main-area{width:100%;padding:0 20px 28px}.study-header{height:62px}.instructions{padding:26px 0 24px}.instructions h2{font-size:22px}.instructions p{font-size:11px}.stimuli{gap:14px}.stimulus-field{height:250px}.target{width:120px;height:120px}.answer-card{margin-top:25px}.answer-row input{width:110px}figcaption{font-size:11px}figcaption span{font-size:10px}.ready-note{font-size:11px}.color-row input[type=text],select,textarea{font-size:16px}.number-row input{font-size:22px}.complete-view{margin:32px auto}.complete-view h2{font-size:22px}.study-header>span:last-child{font-size:10px}dialog{padding:22px}}@media(max-width:370px){.main-area{padding-left:12px;padding-right:12px}.stimuli{gap:10px}.stimulus-field{height:220px}.target{width:100px;height:100px}.panel{padding:20px;gap:16px}}
.experiment-nav{display:flex;gap:4px;padding:4px;background:#f0f2f6;border-radius:6px;margin-bottom:22px}.experiment-nav a{flex:1;color:#8290a2;text-decoration:none;text-align:center;font-size:10px;line-height:1.6;padding:8px 3px;border-radius:4px}.experiment-nav a[aria-current=page]{background:#fff;color:#344153;box-shadow:0 1px 3px #2330440a}.experiment-nav a:focus-visible{outline:2px solid #5267d7;outline-offset:2px}@media(max-width:760px){.experiment-nav{grid-column:1/-1;margin-bottom:0}.experiment-nav a{font-size:12px}}
.protocol-note{margin:0 0 26px;padding:15px;background:#f6f8fa;border:1px solid #e7ebf0;border-radius:6px}.protocol-note strong{font-size:12px;font-weight:500;color:#627086}.protocol-note p{font-size:11px;line-height:1.9;color:#8b96a5;margin:8px 0 0}.paired-answer{max-width:600px}.choice-group{display:flex;gap:12px;margin-bottom:14px}.choice-group legend{font-size:12px;margin-bottom:12px}.choice-option{flex:1;display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #dce2eb;border-radius:6px;background:#fff;font-size:13px;color:#66758b;cursor:pointer}.choice-option:has(input:checked){border-color:#546a88;background:#edf2f9;color:#344153}.choice-option input{margin:0;accent-color:#435974;width:16px;height:16px}.paired-answer>button{width:100%}.ranking{margin-top:24px}.ranking h3{font-size:13px;font-weight:500;margin:18px 0 10px}.ranking table{width:100%;border-collapse:collapse;background:#fff;font-size:12px}.ranking th,.ranking td{padding:10px 12px;text-align:left;border-bottom:1px solid #e6eaf0}.ranking th{font-size:11px;font-weight:500;color:#8c97a6;background:#f1f4f8}.ranking p{font-size:11px;line-height:1.8;color:#919dab}.ranking .rank-swatches{display:inline-block;width:12px;height:12px;margin-right:8px;vertical-align:-1px;border:1px solid #0001}@media(max-width:760px){.protocol-note{grid-column:1/-1;margin:0}.protocol-note p:last-child{margin-top:4px}.paired-answer{margin-top:24px}.choice-option{font-size:12px;padding:13px 10px;gap:7px}.ranking th,.ranking td{padding:9px 8px;font-size:11px}}
