:root{color:#1f2933;background:#f4f6f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{height:100vh;margin:0;overflow:hidden}#root{height:100vh;overflow:auto}button,input,select{font:inherit}button{min-width:128px;border:1px solid #1f4f7a;border-radius:6px;padding:10px 18px;color:#fff;background:#1f4f7a;cursor:pointer}button.secondary{color:#1f4f7a;background:#fff}button:disabled{border-color:#a9b4bf;color:#6b7682;background:#d9dee3;cursor:not-allowed}input,select{width:100%;border:1px solid #b7c0ca;border-radius:6px;padding:10px 12px;background:#fff;color:#1f2933}.container{width:min(1120px,calc(100vw - 32px));margin:0 auto;padding:28px 0 48px}.task-page{height:100vh;overflow:hidden;display:grid;grid-template-rows:auto 1fr;padding-bottom:18px}.container.compact{min-height:100vh;display:grid;grid-template-rows:auto 1fr}.progress{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;color:#52616f;font-size:.95rem}.progress div{display:flex;gap:16px;align-items:center}.progress strong{color:#1f2933;font-weight:600}.panel{border:1px solid #d5dce3;border-radius:8px;padding:28px;background:#fff;box-shadow:0 1px 2px #141f2b0a}.panel.narrow{max-width:760px;margin:0 auto}.panel h1,.center-message h1{margin:0 0 16px;font-size:1.6rem;font-weight:650;letter-spacing:0}.muted{color:#52616f}.checkbox{display:flex;align-items:flex-start;gap:10px;margin-top:24px}.checkbox input{width:auto;margin-top:5px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid label{display:grid;gap:8px;font-weight:600}.question-list{display:grid;gap:18px;margin-top:22px}.compact-list{gap:14px}.question{border-top:1px solid #e5e9ed;padding-top:16px}.question p{margin:0 0 12px;font-weight:600}.question p span{color:#52616f}.scale{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:8px}.scale-option{min-height:72px;border:1px solid #c9d1d9;border-radius:6px;padding:8px 6px;display:grid;place-items:center;gap:3px;text-align:center;background:#fff;cursor:pointer}.scale-option:has(input:checked){border-color:#1f4f7a;background:#eef5fb}.scale-option input{width:auto;margin:0}.scale-option span{font-weight:650}.scale-option small{min-height:32px;color:#52616f;font-size:.78rem;line-height:1.25}.actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.task-header{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.task-header h1{margin-bottom:8px}.task-header p{margin:0}.task-header span{flex:0 0 auto;color:#52616f}.task-panel{height:100%;min-height:0;padding:20px;overflow:hidden}.task-layout{height:100%;min-height:0;display:grid;grid-template-columns:minmax(360px,1fr) minmax(460px,.95fr);gap:22px}.task-stimulus-column{position:sticky;top:0;align-self:start;height:calc(100vh - 118px);min-height:0}.stimulus-wrap{display:grid;place-items:center;border:1px solid #e1e6eb;background:#f8fafb;height:100%;min-height:0;margin:0}.stimulus{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.stimulus-status{color:#52616f;font-size:1rem;text-align:center}.error-text{color:#8a2d2d}.task-rating-column{height:100%;min-height:0;display:flex;flex-direction:column}.task-scroll{flex:1 1 auto;min-height:0;max-height:calc(100vh - 160px);overflow-y:auto;padding-right:6px;margin-top:14px}.task-placeholder{display:grid;place-items:center;min-height:180px;border-top:1px solid #e5e9ed;color:#52616f;text-align:center}.task-actions{flex:0 0 auto;margin-top:14px;padding-top:14px;border-top:1px solid #e1e6eb;background:#fff}.compact-scale{grid-template-columns:repeat(7,minmax(38px,1fr));gap:6px}.compact-scale .scale-option{min-height:34px;padding:3px 6px}.compact-scale .scale-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.compact-scale .scale-option small{display:none}.center-message{display:grid;place-items:center;text-align:center}.video{display:block;width:100%;max-height:70vh;margin-top:20px;background:#000}.notice,.success,.error{border-radius:6px;padding:14px 16px;margin-top:18px}.notice{border:1px solid #cfd8e3;background:#f7f9fb;color:#3f4d5a}.success{border:1px solid #9fc7a9;background:#f0f8f2;color:#236533}.error{border:1px solid #d7a1a1;background:#fff3f3;color:#8a2d2d}@media(max-width:820px){#root{overflow:auto}.container{width:min(100vw - 20px,1120px);padding-top:18px}.task-page{height:100vh;overflow:hidden;padding-bottom:10px}.panel{padding:20px}.task-panel{padding:12px;overflow:hidden}.task-layout{grid-template-columns:1fr;gap:12px;overflow-y:auto;padding-right:2px}.task-stimulus-column{position:sticky;top:0;z-index:2;height:min(38vh,300px);background:#fff}.task-rating-column{overflow:visible}.progress,.task-header{align-items:flex-start;flex-direction:column}.progress div{flex-direction:column;gap:2px;align-items:flex-start}.form-grid,.scale{grid-template-columns:1fr}.scale-option{min-height:48px;grid-template-columns:auto 32px 1fr;justify-items:start;text-align:left}.scale-option small{min-height:auto}.compact-scale{grid-template-columns:repeat(7,minmax(32px,1fr))}.compact-scale .scale-option{min-height:36px;grid-template-columns:1fr;justify-items:center;text-align:center}.stimulus-wrap{min-height:0}.task-scroll{max-height:none;overflow-y:visible;padding-right:0}.task-actions{position:sticky;bottom:0;z-index:2}.actions{flex-direction:column-reverse}button{width:100%}}
