@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.hidden{display:none}}:root{--canvas:#e9e7e0;--paper:#fffefb;--ink:#22211f;--muted:#6e6a63;--line:#d7d2c8;--line-dark:#a7a096;--wash:#f4f1ea;--accent:#213a34;--accent-soft:#e6ece8;--danger:#8a322c;--serif:"Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;--sans:-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif}*{box-sizing:border-box}html{background:var(--canvas);color:var(--ink);min-width:320px}body{background:linear-gradient(#ffffff57, #ffffff1a), var(--canvas);color:var(--ink);font-family:var(--serif);margin:0;line-height:1.72}button,input,select,textarea{font:inherit}button,label,select,input[type=checkbox],input[type=radio]{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.study-shell{min-height:100vh;padding:28px 22px 72px}.paper-sheet{background:linear-gradient(90deg, transparent 0, transparent 51px, #9642361f 52px, transparent 53px), var(--paper);border:1px solid #d5d0c5;max-width:850px;min-height:820px;margin:0 auto;position:relative;box-shadow:0 18px 54px #39332a21}.paper-header{border-bottom:1px solid var(--ink);justify-content:space-between;align-items:flex-end;margin:0 76px;padding:42px 0 18px;display:flex}.study-kicker,.paper-step,.paper-footer,.form-error,.playback-status,.scale-labels,.notes-block p,.notes-block>span,.item-instruction,.required-note,.musical-level-check p,.consent-document p,.consent-form,.consent-hint,.listening-confirmation,.completion-experience,.review-tools{font-family:var(--sans)}.study-kicker{letter-spacing:.12em;margin:0 0 2px;font-size:15px;font-weight:700}.paper-step{color:var(--muted);letter-spacing:.08em;text-align:right;margin:0;font-size:12px}.paper-body{max-width:698px;margin:0 auto;padding:68px 0 90px}h1,h2,p{margin-top:0}h1{letter-spacing:.035em;margin-bottom:24px;font-size:clamp(36px,5vw,54px);font-weight:600;line-height:1.18}h2{margin-bottom:8px;font-size:18px;font-weight:600;line-height:1.45}.lead{color:#383632;margin-bottom:36px;font-size:20px;line-height:1.9}.compact-lead{margin-bottom:30px;font-size:18px}.consent-paper{min-height:1080px}.consent-body{max-width:620px;padding-top:58px}.consent-body>h1,.consent-body>.lead{text-align:center}.consent-body>h1{margin-bottom:14px;font-size:36px}.consent-body>.lead{color:var(--muted);margin-bottom:44px;font-size:16px}.consent-document{border-top:1px solid var(--ink)}.consent-document>div{border-bottom:1px solid var(--line);padding:24px 2px 22px}.consent-document>div:last-child{border-bottom:0;padding-bottom:14px}.consent-document h2{margin-bottom:7px;font-size:16px}.consent-document p{color:#4d4a45;margin-bottom:0;font-size:14px;line-height:1.85}.consent-document .consent-detail{margin-top:8px}.consent-document a{color:var(--accent);text-underline-offset:3px}.consent-end{height:1px}.consent-form{border-top:1px solid var(--line-dark);margin-top:24px;padding-top:26px}.consent-form fieldset{border:0;margin:0;padding:0}.consent-form legend{font-family:var(--serif);margin-bottom:15px;font-size:18px;font-weight:600}.consent-form label,.listening-confirmation{cursor:pointer;align-items:flex-start;gap:12px;margin:15px 0;display:flex}.consent-hint{color:var(--muted);margin:12px 0 0;font-size:11px}.setup-paper{min-height:760px}.setup-body{max-width:620px;padding-top:72px}.setup-body h1{font-size:42px}.musical-level-check{background:var(--wash);grid-template-columns:minmax(0,1fr) minmax(240px,.82fr);align-items:center;gap:24px;margin-bottom:34px;padding:24px;display:grid}.musical-level-check h2{margin-bottom:4px}.musical-level-check p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.6}.musical-level-check audio{width:100%;height:42px;display:block}.notes-block>label{font-weight:600}.notes-block textarea{border:0;border-bottom:1px solid var(--line-dark);color:var(--ink);background:0 0;border-radius:0;width:100%;min-height:46px;padding:9px 2px}input[type=checkbox],input[type=radio]{accent-color:var(--accent);flex:none;width:17px;height:17px;margin-top:5px}.form-error{color:var(--danger);min-height:24px;font-size:13px;font-weight:650}.paper-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;display:flex}.ink-button,.outline-button,.text-button{cursor:pointer;font-family:var(--sans);border-radius:0;min-height:46px;padding:11px 20px;font-size:14px;font-weight:650}.ink-button{background:var(--accent);border:1px solid var(--accent);color:#fff}.outline-button{border:1px solid var(--ink);color:var(--ink);background:0 0}.text-button{color:var(--muted);min-height:40px;text-decoration:underline;-webkit-text-decoration-color:var(--line-dark);-webkit-text-decoration-color:var(--line-dark);-webkit-text-decoration-color:var(--line-dark);text-decoration-color:var(--line-dark);text-underline-offset:5px;background:0 0;border:0;padding-left:4px;padding-right:4px}button:disabled,fieldset:disabled{cursor:not-allowed;opacity:.46}.paper-footer{color:#8a857c;letter-spacing:.14em;text-align:center;font-size:10px;position:absolute;bottom:30px;left:76px;right:76px}.hairline-progress{background:var(--line);height:2px;margin:15px 0 34px;overflow:hidden}.hairline-progress span{background:var(--accent);height:100%;transition:width .22s;display:block}.study-paper{min-height:1440px}.top-progress{margin:0 76px}.study-body{padding-top:54px}.study-body h1{margin-bottom:8px;font-size:42px}.item-instruction{color:var(--muted);margin-bottom:30px;font-size:13px}.audio-block{border-bottom:1px solid var(--ink);border-top:1px solid var(--ink);margin-bottom:46px;padding:24px 0 18px}.audio-block audio{width:100%;height:40px}.playback-status{color:var(--muted);justify-content:space-between;align-items:center;margin-top:9px;font-size:12px;display:flex}.playback-status strong{color:var(--accent)}.question-block{border:0;border-top:1px solid var(--line);margin:0;padding:34px 0 38px}.question-block legend{align-items:baseline;gap:13px;margin-bottom:20px;padding-right:14px;font-size:19px;font-weight:600;display:flex}.question-block legend>span{color:var(--accent);font-family:var(--sans);letter-spacing:.08em;font-size:11px}.question-block legend>small{color:var(--muted);font-family:var(--sans);margin-left:auto;font-size:12px;font-weight:400}.required-mark,.required-note>span{color:#a13c32}.required-mark{font-family:var(--sans);margin-left:-7px;font-size:15px}.required-note{color:var(--muted);text-align:right;margin:-10px 0 24px;font-size:12px}.option-grid{gap:0;display:grid}.three-options{grid-template-columns:repeat(3,1fr)}.arousal-options{grid-template-columns:1fr 1fr .74fr}.paper-option{border:1px solid var(--line-dark);cursor:pointer;align-items:center;gap:10px;min-height:58px;margin-right:-1px;padding:13px 15px;display:flex}.paper-option.selected{background:var(--accent-soft);border-color:var(--accent);z-index:1;position:relative}.paper-option>span{display:grid}.paper-option small{color:var(--muted);font-family:var(--sans);font-size:11px}.scale-labels{color:var(--muted);justify-content:space-between;margin-bottom:7px;font-size:11px;display:flex}.number-scale{grid-template-columns:repeat(5,1fr);display:grid}.number-scale label{border:1px solid var(--line-dark);cursor:pointer;min-height:56px;margin-right:-1px;position:relative}.number-scale label.selected{background:var(--accent);border-color:var(--accent);color:#fff;z-index:1}.number-scale input{opacity:0;position:absolute}.number-scale span{font-family:var(--sans);justify-content:center;align-items:center;height:100%;font-size:16px;display:flex}.defect-grid{grid-template-columns:1fr 1fr;gap:10px 18px;display:grid}.defect-grid label{border-bottom:1px dotted var(--line-dark);cursor:pointer;align-items:center;gap:10px;min-height:42px;display:flex}.defect-grid label.selected{color:var(--accent);font-weight:600}.notes-block{border-top:1px solid var(--line);padding:34px 0 10px;position:relative}.notes-block.disabled{opacity:.46}.notes-block p{color:var(--muted);margin:2px 0 12px;font-size:12px}.notes-block textarea{border:1px solid var(--line-dark);resize:vertical;min-height:110px;padding:12px}.notes-block>span{color:var(--muted);font-size:10px;position:absolute;bottom:17px;right:9px}.study-error{margin-top:20px}.study-actions{border-top:1px solid var(--ink);justify-content:space-between;padding-top:24px}.withdrawal-button{margin:18px auto 0;font-size:12px;display:block}.autosave-copy{letter-spacing:.05em}.autosave-copy.save-error{color:var(--danger)}.status-paper{min-height:560px}.status-body{text-align:center;max-width:620px;padding-top:100px}.status-body h1{font-size:38px}.completion-save-state{color:var(--muted);font-family:var(--sans);min-height:20px;font-size:12px}.completion-save-state.error{color:var(--danger)}.completion-body{text-align:center;max-width:620px;padding-top:84px}.completion-mark{border:1px solid var(--accent);color:var(--accent);font-family:var(--sans);border-radius:50%;place-items:center;width:62px;height:62px;margin:0 auto 30px;font-size:28px;display:grid}.completion-experience{text-align:left;gap:8px;max-width:320px;margin:0 auto 44px;font-size:13px;display:grid}.completion-experience select{border:0;border-bottom:1px solid var(--line-dark);color:var(--ink);background:0 0;border-radius:0;min-height:44px}.review-tools{border-top:1px solid var(--line);color:var(--muted);text-align:left;margin-top:34px;padding-top:18px;font-size:12px}.review-tools summary{cursor:pointer;text-align:center}.completion-actions{justify-content:center}@media (max-width:760px){.study-shell{padding:10px}.paper-sheet{background:var(--paper);box-shadow:none;min-height:100vh}.paper-header,.top-progress{margin-left:24px;margin-right:24px}.paper-header{padding-top:34px}.paper-body{padding:44px 24px 96px}.musical-level-check,.three-options,.arousal-options{grid-template-columns:1fr}.paper-option{margin-bottom:-1px;margin-right:0}.defect-grid{grid-template-columns:1fr}.paper-footer{left:24px;right:24px}.study-actions{flex-direction:column-reverse;align-items:stretch}.study-actions button,.completion-actions button,.setup-body .ink-button,.consent-form .ink-button{width:100%}}@media print{button,audio,.paper-actions{display:none!important}.study-shell{padding:0}.paper-sheet{box-shadow:none;border:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
