:root{font-size:16px}body{font-size:1rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d3d5d7;border-radius:3px;padding:10px 15px;background:white;font-size:.9rem;color:var(--ink);text-decoration:none;min-height:42px}.button.primary{background:#2d3136;color:#fff;border-color:#2d3136}.button:hover{filter:brightness(.96)}a{overflow-wrap:anywhere}input,select,textarea,button{font:inherit;font-size:1rem}button{min-height:42px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #aa8650;outline-offset:3px}.help{color:#656b71;font-size:.875rem;line-height:1.7}.help ul{padding-left:20px;margin:4px 0}.help li{margin:4px 0}.stack-form{display:grid;gap:22px}.stack-form .field{display:grid;gap:9px;font-size:1rem}.stack-form input:not([type=checkbox]),.stack-form textarea,.stack-form select{width:100%;min-width:0}.stack-form .check-field{grid-template-columns:24px minmax(0,1fr);align-items:start}.check-field input{grid-column:1;grid-row:1;width:18px;height:18px;margin:4px 0}.check-field label{grid-column:2}.check-field .help,.check-field .errorlist{grid-column:2}.errorlist{margin:4px 0 0;padding-left:20px;color:#9d332e;font-size:.9rem;line-height:1.7}.stack-form>.errorlist{background:#fff1ef;padding:16px 16px 16px 36px;border-left:3px solid #ad5049}.narrow{max-width:820px}.record-form{max-width:1000px}.record-form .actions{margin-top:6px;padding-top:20px;border-top:1px solid var(--line)}.messages .notice{padding:12px 16px;font-size:.9rem}.auth-shell{max-width:540px;margin:6vh auto;padding:0 22px}.auth-shell main{padding:22px 0;min-height:0}.auth-brand{display:flex;align-items:center;gap:15px;color:#303439;font-size:1.12rem;font-weight:550}.auth-brand small{display:block;font-size:.75rem;letter-spacing:.1em;margin-top:5px;color:#756345}.auth-brand .brandmark{color:#80643e;border-color:#a58961}.auth-card{background:white;border:1px solid #dedfe0;border-top:2px solid #a2865e;padding:32px;border-radius:4px}.auth-card h1{font-family:'Songti SC',Georgia,serif;font-weight:600;font-size:1.8rem;margin:15px 0}.auth-card>.muted{line-height:1.8;margin-bottom:26px}.auth-foot{text-align:center;font-size:.875rem;color:#676d73}.wide{width:100%}.inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.paper-actions{margin-bottom:25px}.paper-heading h1{font-family:Georgia,'Songti SC',serif;max-width:1050px;font-size:1.65rem;line-height:1.6}.paper-heading p{margin-top:8px;line-height:1.8}.reader-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.reader-workspace>.card{min-width:0;padding:24px}.reader-workspace h2{font-size:1.15rem;margin:0}.reader-workspace .section-heading{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px;align-items:center;justify-content:space-between}.section-heading>a{font-size:.875rem}.pdf-frame{display:block;border:1px solid #e0e1e2;width:100%;height:72vh;min-height:450px;background:#f2f3f4}.pdf-empty{padding:50px 25px;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.note-panel textarea{min-height:480px;font-size:1rem;line-height:1.95}.analysis-placeholder,.note-history{border-top:1px solid var(--line);padding-top:20px;margin-top:25px;color:#656b71;font-size:.9rem}.note-history details{margin-top:15px}.note-history pre,.conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:12px;background:#f5f5f3;max-height:400px;overflow:auto}.conflict{background:#faf1e7;padding:15px;margin:15px 0}.profile-tab{display:block;padding:15px 0;border-bottom:2px solid transparent;color:#6c7278;font-size:1rem}.profile-tab.selected{border-bottom-color:#9a7b51;color:#3f4141}.profile-tabs{gap:30px}.publication h3 a{color:inherit}.profile-toolbar select{min-width:110px}.profile-section-top>.button{font-size:.875rem;margin-bottom:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid p{line-height:1.9}.settings-grid h2{font-size:1.15rem}.pagination{display:flex;gap:20px;justify-content:center;margin-top:20px}.pagination a{color:var(--ink);padding:8px}.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}.nav-label,.tiny-label,.eyebrow{font-size:.875rem}.small,.publication-meta,.publication-authors,.publication-details,.role-badge,.inline-link,.download-button,.attachment-missing,.profile-source-note,.profile-stats span,.profile-name-en,.paper-row p,.head-note{font-size:.875rem}.page-head p,.profile-introduction p,.profile-focus,.paper-row h3,.card p{font-size:1rem}.profile-focus strong{font-weight:500}.side-note p,.sidebar-bottom small,.topbar,.prototype-banner{font-size:.875rem}.project-facts span,.project-facts strong{font-size:.875rem}.card-meta{font-size:.875rem}summary{cursor:pointer;line-height:1.8}.empty{padding:42px 25px;text-align:center}.empty h2{font-family:'Songti SC',serif;font-size:1.4rem}.toolbar>select{max-width:100%}
@media(max-width:1200px){.reader-workspace{grid-template-columns:1fr}.pdf-frame{height:65vh}.note-panel textarea{min-height:370px}.settings-grid{grid-template-columns:1fr}.profile-toolbar{flex-wrap:wrap}}
@media(max-width:760px){.auth-shell{margin:25px auto}.auth-card{padding:25px 20px}.reader-workspace>.card{padding:20px}.pdf-frame{min-height:350px;height:60vh}.paper-heading h1{font-size:1.4rem}.paper-actions{gap:9px}.paper-actions>.button{flex:1}.paper-actions .inline-form{width:100%}.paper-actions .inline-form select{flex:1}.stack-form{gap:20px}.toolbar{display:grid;grid-template-columns:1fr}.profile-toolbar select{width:auto;flex:1}.sidebar nav{grid-template-columns:1fr 1fr}.sidebar nav a{font-size:1rem}.profile-section-top{flex-wrap:wrap}.profile-tabs{gap:20px}.profile-section-top>.button{min-height:38px}.reader-workspace .section-heading{align-items:start}.auth-brand .brandmark{flex-shrink:0}}

.archive-list{margin-top:24px}.archive-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9rem;line-height:1.8;padding:20px;background:#f5f5f3;max-height:600px;overflow:auto}.card ol{padding-left:22px;line-height:1.9}.card li{margin-bottom:12px}

.analysis-meta,.analysis-intro,.analysis-section,.clip-footer{margin-bottom:22px}.analysis-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;align-items:start}.analysis-toc{position:sticky;top:24px;padding:22px}.analysis-toc a{display:block;padding:9px 0;font-size:.875rem;line-height:1.6}.analysis-toc h2{font-size:1rem}.analysis-item{border-top:1px solid var(--line,#deded8);padding:24px 0}.analysis-item:last-child{padding-bottom:0}.clip-choice{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.875rem}.clip-choice input{width:18px;height:18px;flex-shrink:0}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.evidence{padding:12px 18px;background:#f5f5f2;font-size:.875rem;line-height:1.8}.evidence q{display:block;color:#66706b}.clip-footer textarea{width:100%;margin-top:12px}.category-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e3e3de}.analysis-history{margin-top:28px;padding-top:24px;border-top:1px solid #deded8}.notice{padding:14px 18px;background:#f3eee5;border-left:3px solid #a58152;line-height:1.8}.analysis-meta .actions{flex-wrap:wrap}.analysis-section{scroll-margin-top:25px}.stack-form input[type=checkbox]{width:auto;margin-right:8px}.stack-form div>div{margin:10px 0}@media(max-width:1000px){.analysis-layout{grid-template-columns:1fr}.analysis-toc{position:static;display:flex;flex-wrap:wrap;gap:5px 18px}.analysis-toc h2{width:100%}.analysis-toc a{padding:4px 0}}

.prompt-card{margin-bottom:24px}.prompt-outline{display:grid;grid-template-columns:1fr 1fr;gap:16px 38px;padding-left:24px;margin:24px 0}.prompt-outline li{padding-left:5px}.prompt-outline li::marker{color:#8a6842;font-weight:600}.prompt-outline h3{font-size:1rem;line-height:1.5;margin:0 0 6px}.prompt-outline p{line-height:1.7;margin:0}.prompt-details{border-top:1px solid #e3e3de;padding-top:16px}.prompt-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9rem;line-height:1.9;padding:20px;background:#f6f5f1;max-height:600px;overflow:auto}.prompt-card>p{line-height:1.8}@media(max-width:760px){.prompt-outline{grid-template-columns:1fr;gap:16px}.prompt-preview{padding:14px}}

.icp-footer{text-align:center;padding:8px 16px 24px;margin:0;font-size:.8rem;color:#676d73}.icp-footer a{color:inherit;text-decoration:none}.icp-footer a:hover{text-decoration:underline}
