/* Second delivery: same green system, denser and more usable research work. */
main{padding-top:29px;max-width:1700px}.page-heading{margin-bottom:25px}.page-heading .muted{font-size:13px}.page-heading h1{font-size:28px}.heading-actions,.row-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.heading-actions{justify-content:flex-end}.auth-forgot{display:block;margin:14px 0 0 auto;font-size:12px}.sidebar-note{padding-top:15px;padding-bottom:5px}.sidebar-note small{display:none}.nav-caption{margin-top:33px}.nav-item{min-height:44px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:24px 0}.stat-card{padding:21px 24px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px}.stat-card>span{color:var(--muted);font-size:13px;grid-column:1/-1}.stat-card strong{font-size:31px;line-height:1.4;font-weight:600}.stat-card .text-button{font-size:11px}.workspace-columns{display:grid;grid-template-columns:1.1fr 1fr;gap:19px}.content-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;margin:0 0 22px;min-width:0}.content-panel>h2{font-size:17px;margin-bottom:15px}.content-panel>.button{margin-top:17px}.dense-list{min-width:0}.dense-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #edf0e8;min-width:0}.dense-row:last-child{border-bottom:0}.dense-row>div:first-child{min-width:0;flex:1}.dense-row h3{font-size:14px;font-weight:600;line-height:1.75;overflow-wrap:anywhere}.dense-row p{font-size:13px;line-height:1.8}.dense-row .muted{font-size:12px;margin-top:5px}.dense-row>.text-button{flex:none}.notice-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;border:1px solid #d7e3ce;background:#eff4e8;border-radius:10px;font-size:13px;line-height:1.8;margin:15px 0}.notice-card>.button{flex:none}.loading-note{font-size:14px;color:var(--muted);padding:50px 10px;text-align:center}.filter-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin-bottom:23px;align-items:end}.filter-field label{font-size:12px;margin:0 0 6px}.filter-field input,.filter-field select{font-size:13px;min-height:42px;padding:9px 11px;min-width:0}.filter-check{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;margin:0 0 9px}.filter-check input{width:16px;height:16px;min-height:16px}.filter-bar>.button{justify-self:start;min-height:42px}.resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.resource-list>.empty-state{grid-column:1/-1}.resource-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.resource-topline{display:flex;gap:8px;align-items:center;margin-bottom:15px}.resource-topline>.text-button{margin-left:auto}.resource-topline>h3{flex:1;min-width:0;font-size:16px;overflow-wrap:anywhere}.resource-title{font-size:18px;line-height:1.75;color:var(--ink);text-align:left;font-weight:600;padding:0}.resource-card h2{margin-bottom:12px}.resource-abstract{font-size:13px;line-height:1.9;color:#6e7a68;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:0;margin-bottom:16px}.resource-card>.muted{font-size:12px}.resource-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:17px;padding-top:13px;font-size:11px}.resource-bottom>.text-button{font-size:12px;flex:none}.pagination{display:flex;align-items:center;gap:9px;justify-content:flex-end;margin:21px 0;font-size:12px}.pagination>span{margin-right:auto}.resource-summary{padding:26px;background:#fff;border:1px solid var(--line);border-radius:13px}.resource-summary>h2{font-size:18px}.body-copy{font-size:14px;white-space:pre-wrap;line-height:1.95;margin:12px 0;color:#52614d}.metadata-grid{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px 16px;font-size:13px;margin:24px 0 5px;line-height:1.85}.metadata-grid dt{color:var(--muted)}.metadata-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.lifecycle-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:18px 0 25px}.resource-image{display:block;width:auto;max-width:100%;max-height:60dvh;object-fit:contain;margin:15px auto}.work-kind-tabs{display:flex;gap:8px;flex-wrap:wrap}.work-card{padding:21px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:14px}.work-card .resource-topline{margin-bottom:6px}.work-card>.muted{font-size:12px}.work-card .row-actions{margin-top:15px}.form-dialog{max-width:620px;width:min(580px,calc(100% - 30px))}.form-dialog label{font-size:13px}.form-dialog input,.form-dialog select,.form-dialog textarea{font-size:14px}.form-dialog .field-help{font-size:12px}.field-group{min-width:0}.dialog-heading h2{font-size:22px}.dialog-actions{position:sticky;bottom:-28px;background:#fcfdf9;padding-bottom:18px}.reader-dialog{width:calc(100% - 32px);height:calc(100dvh - 24px);max-width:1800px}.reader-body{grid-template-columns:minmax(0,1fr) 360px}.annotation-heading h3{font-size:15px}.annotation-form textarea{font-size:14px}.annotation-form h4{font-size:14px}.annotation-text{font-size:13px}.annotation-reply p{font-size:12px}.annotation-author strong{font-size:13px}.annotation-author time{font-size:11px}.annotation-position{font-size:11px}.annotation-form .button{font-size:13px;min-height:41px}.reply-form textarea{font-size:13px}.reply-form .button{font-size:12px}.reply-toggle{font-size:12px;margin-right:15px}.resolve-button{font-size:11px}.annotation-filters{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid var(--line)}.annotation-filters select{min-height:35px;padding:6px 9px;font-size:12px;width:120px}.annotation-filters a{font-size:12px}.sync-status,.draft-status{font-size:11px;line-height:1.65;color:#738667;margin:7px 18px}.sync-status:empty,.draft-status:empty{display:none}.draft-status{margin:7px 0}.anchor-details{margin:10px 0 11px;border-bottom:1px solid var(--line);padding-bottom:9px}.anchor-details summary{font-size:12px;color:var(--green);cursor:pointer}.quote-preview{margin:10px 0;background:#edf2e6;border-left:3px solid #8fa878;padding:9px 11px;font-size:12px}.quote-preview blockquote{margin:0;font-size:12px;line-height:1.7;max-height:105px;overflow:auto;white-space:pre-wrap}.quote-preview .text-button{font-size:11px;padding-bottom:0}.more-button{margin:5px 18px 8px}.annotation-empty{font-size:13px}.pdf-pagination select{font-size:12px;width:auto;min-width:95px;min-height:35px;padding:7px 9px;margin-left:13px}.pdf-stage[data-tool=area]{touch-action:none;cursor:crosshair}.pdf-stage[data-tool=point]{cursor:crosshair}.textLayer{position:absolute;inset:0;overflow:clip;line-height:1;text-align:initial;transform-origin:0 0;opacity:1;z-index:1;user-select:text;-webkit-user-select:text;text-size-adjust:none;forced-color-adjust:none}.textLayer :is(span,br){position:absolute;white-space:pre;cursor:text;color:transparent;transform-origin:0 0}.textLayer span{font-size:calc(var(--font-height)*var(--total-scale-factor));transform:rotate(var(--rotate,0deg)) scaleX(var(--scale-x,1))}.textLayer ::selection{background:#5f9a6955;color:transparent}.textLayer[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}.textLayer[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}.textLayer[data-main-rotation="270"]{transform:rotate(270deg) translateX(-100%)}.pdf-stage[data-tool=area] .textLayer,.pdf-stage[data-tool=point] .textLayer{pointer-events:none;user-select:none;-webkit-user-select:none}.pdf-region{position:absolute;pointer-events:none;border:2px solid #bc8746;background:#dcbc7030;z-index:2}.pdf-markers{z-index:3}.pdf-selection{z-index:2}.pdf-help{font-size:11px}.annotation-list{scrollbar-gutter:stable}.reader-title-block h2{font-size:18px}.reader-title-block .small{font-size:12px}.reader-toolbar label,.reader-toolbar select,.reader-toolbar .text-button{font-size:12px}.reader-toolbar select{max-width:300px}
@media(min-width:1700px){.resource-list{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-bar{grid-template-columns:2fr repeat(3,1fr)}.reader-body{grid-template-columns:minmax(0,1fr) 410px}.annotation-panel .annotation-list{padding:0 24px}.annotation-form{padding:19px 24px}}
@media(max-width:1150px){.stats-grid{gap:12px}.stat-card{padding:17px 18px}.workspace-columns{grid-template-columns:1fr}.filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.resource-list{grid-template-columns:1fr}.reader-body{grid-template-columns:minmax(0,1fr) 325px}.reader-toolbar select{max-width:210px}.page-heading .heading-actions{max-width:300px}.resource-bottom{font-size:12px}}
@media(max-width:820px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.content-panel{padding:18px}.reader-body{grid-template-columns:minmax(0,1fr) 300px}.reader-dialog{width:calc(100% - 16px)}.heading-actions .button{font-size:12px;padding:9px 12px}.page-heading{gap:18px}.metadata-grid{grid-template-columns:90px minmax(0,1fr)}.resource-summary{padding:22px}.dense-row{gap:12px}.dense-row>.row-actions{max-width:180px}.pdf-pagination{gap:4px}.pdf-pagination select{font-size:11px;min-width:84px;margin-left:2px}.reader-title-block h2{font-size:16px}.reader-title-block .small{font-size:10px}.annotation-filters{padding-left:15px;padding-right:15px}}
@media(max-width:620px){.sidebar nav{padding-bottom:0;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.nav-item{flex:none;min-width:93px;font-size:12px;padding:9px 12px}.nav-item[data-action=join]{min-width:121px}.page-heading .heading-actions{justify-content:flex-start;max-width:none;margin-top:17px}.page-heading .muted{font-size:13px}.stats-grid{gap:12px;margin:20px 0}.stat-card{padding:16px 18px}.stat-card strong{font-size:29px}.stat-card>span{font-size:12px}.workspace-columns{gap:0}.notice-card{align-items:flex-start;flex-direction:column;gap:11px;padding:15px;font-size:13px}.filter-bar{gap:11px;padding:15px}.filter-field:first-child{grid-column:1/-1}.filter-field input,.filter-field select{min-height:44px;font-size:14px}.filter-field label{font-size:12px}.filter-check{margin:0;min-height:44px}.filter-bar>.button{width:100%}.resource-card{padding:19px}.resource-title{font-size:17px}.resource-abstract{font-size:13px}.resource-bottom{flex-wrap:wrap;font-size:11px}.resource-topline{flex-wrap:wrap}.resource-topline .text-button{font-size:12px}.resource-summary{padding:20px}.metadata-grid{grid-template-columns:78px minmax(0,1fr);gap:10px 12px;font-size:13px}.body-copy{font-size:14px}.dense-row{flex-wrap:wrap;gap:9px}.dense-row>div:first-child{flex-basis:100%}.dense-row .row-actions{max-width:none}.dense-row>.text-button{margin-left:auto}.dense-row h3{font-size:14px}.content-panel>h2{font-size:17px}.pagination{flex-wrap:wrap;font-size:11px}.pagination>span{flex-basis:100%;margin-bottom:4px}.pagination>.button{flex:1}.section-heading:has(.work-kind-tabs){flex-direction:column;align-items:stretch}.work-kind-tabs{gap:6px}.work-kind-tabs .button{flex:1;min-width:65px;font-size:11px;padding:8px 7px}.section-heading:has(.work-kind-tabs)>.button{align-self:flex-end}.work-card{padding:17px}.work-card .resource-topline>h3{font-size:15px}.form-dialog{width:calc(100% - 20px);padding:22px 18px;max-height:calc(100dvh - 20px)}.dialog-actions{bottom:-22px;padding-bottom:15px}.reader-dialog{width:100%;height:100dvh}.reader-body{display:flex}.reader-toolbar{gap:7px}.reader-toolbar>div{gap:7px}.reader-toolbar select{max-width:160px;font-size:11px}.reader-toolbar .text-button{font-size:11px}.reader-title-block h2{font-size:15px}.reader-toolbar{padding:10px 12px}.pdf-area{height:56dvh;min-height:300px}.pdf-pagination{gap:7px}.pdf-pagination select{font-size:12px;margin-left:7px;min-height:37px}.pdf-help{font-size:10px}.annotation-form{padding:18px 19px 26px;max-height:none}.annotation-panel{min-height:440px}.annotation-text{font-size:14px}.annotation-reply p{font-size:13px}.annotation-list{max-height:55dvh;overflow:auto;flex:none}.annotation-form textarea{font-size:16px}.annotation-form .button{min-height:44px}.reader-title-block .small{font-size:10px}.anchor-details summary{font-size:13px}.quote-preview blockquote{font-size:13px}.reply-form textarea{font-size:16px}.reply-form .button{min-height:40px;font-size:13px}.annotation-author time{font-size:11px}}
