:root{color-scheme:dark;--bg:#101011;--surface:#141416;--field:#19191c;--ink:#f5f3f1;--muted:#b6b2ba;--line:#39383e;--red:#ff626b;font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:15px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:82px;display:flex;align-items:center;padding:0 max(32px,3.4%);border-bottom:1px solid #242427}a{color:inherit}.brand{font-family:Georgia,serif;font-size:32px;font-weight:700;letter-spacing:-1px;text-decoration:none}.brand>span,h1>span{color:var(--red)}main{max-width:1440px;margin:auto;padding:0 48px}.intro{text-align:center;padding:33px 0 27px}h1{font-family:Georgia,serif;font-weight:700;font-size:clamp(40px,4.4vw,64px);letter-spacing:-2px;margin:0 0 12px;line-height:1.15}p{line-height:1.7}.intro p{font-family:Georgia,serif;font-size:22px;color:var(--muted);margin:0}.search{display:flex;gap:0;max-width:980px;margin:0 auto 30px}.search input{height:57px;flex:1;font-size:16px;min-width:0;background:var(--surface);border-radius:5px 0 0 5px}.search button{min-width:170px;border-radius:0 5px 5px 0}input,select,textarea{font-family:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:5px;background:var(--field);padding:10px 13px;width:100%;line-height:1.5}input::placeholder,textarea::placeholder{color:#a39da8;opacity:1}input:disabled{opacity:.65}select{cursor:pointer}button,.button{font-family:inherit;font-size:14px;font-weight:650;border:1px solid #c52f40;background:#c52f40;color:var(--ink);border-radius:5px;padding:11px 21px;cursor:pointer;text-decoration:none;display:inline-block;line-height:1.5;transition:background .15s,border-color .15s}button:hover,.button:hover{background:#ae2636;border-color:#ae2636}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:transparent;color:var(--red);border-color:var(--red)}.secondary:hover{background:#2c1c21;border-color:#ff969d}.quiet{background:transparent;border-color:transparent;color:var(--red);padding:7px 0;font-size:13px}.quiet:hover{background:transparent;border-color:transparent;color:#ff969d}.quiet span{margin-left:12px}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:22px 26px;min-width:0}h2{font-family:Georgia,serif;font-size:28px;font-weight:700;letter-spacing:-.5px;margin:0 0 18px;border-bottom:1px solid var(--line);padding-bottom:13px}h3{font-family:Georgia,serif;font-weight:400;font-size:30px;line-height:1.3;margin:0 0 18px}#paperTitle{overflow-wrap:anywhere}.paper p{margin:9px 0}#authors{font-size:14px;color:#d6d2d7}#journalMeta{font-size:14px;color:var(--muted)}#identifiers{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.links{display:flex;gap:18px;flex-wrap:wrap;margin:19px 0}.links a{font-size:13px;color:var(--red);text-decoration:none;border-bottom:1px solid #653238;padding-bottom:2px}.links a:hover{border-color:var(--red)}.steps{list-style:none;padding:15px 0 0;margin:12px 0 21px}.steps li{display:flex;gap:16px;min-height:79px;position:relative}.step{border-radius:50%;background:#2d1e22;border:1px solid #603138;color:var(--red);width:33px;height:33px;display:grid;place-items:center;flex-shrink:0;font-size:13px;font-weight:600}.steps li:not(:last-child):before{content:"";position:absolute;width:1px;background:var(--line);left:16px;top:40px;bottom:8px}.steps strong{font-size:14px;font-weight:550}.steps p{font-size:13px;color:var(--muted);margin:3px 0!important}.download-row{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding-top:22px}.download-row span{font-size:12px;color:var(--muted)}label{display:block;margin:15px 0 7px;font-size:13px;font-weight:500}label:first-of-type{margin-top:0}.label-note{color:var(--muted);font-weight:400}textarea{min-height:102px;resize:vertical;line-height:1.8}.copy-row{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:12px}#copyStatus{color:var(--red);font-size:12px}#copy{flex:1}#copyStatus:empty{display:none}.fine{font-size:12px;color:var(--muted);line-height:1.7}.citation>.fine{text-align:right;margin-bottom:0}.case-options{margin:13px 0 17px;color:var(--muted);font-size:12px}.case-options input,.case-options label,.case-options p,.case-options .quiet{font-size:12px}summary{cursor:pointer;line-height:1.7}.case-options summary:hover{color:var(--ink)}.download-settings{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:7px;margin-top:22px;padding:18px 25px;gap:20px;font-size:12px}.download-settings>div{display:flex;gap:23px;min-width:0}.download-settings span{color:var(--muted);white-space:nowrap}.download-settings strong{font-weight:400;overflow-wrap:anywhere}.download-settings .quiet{white-space:nowrap}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 0 14px;margin-top:23px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}footer a{color:var(--red);text-decoration:none}footer a:hover{text-decoration:underline}footer a span{margin-left:7px}.footnote{font-size:11px;color:#a49da9;margin:0 0 24px}.footnote a{text-decoration:none}.footnote a:hover{color:var(--red)}#empty{padding:58px 0 45px;color:var(--muted);text-align:center}#empty h3{font-family:Georgia,serif;font-weight:700;font-size:29px;color:var(--ink);letter-spacing:-.7px;margin-bottom:12px}.paper-symbol{width:77px;height:89px;fill:none;stroke:var(--red);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-bottom:28px}#empty p{font-size:14px;margin:0 auto 27px;max-width:420px}#empty button{min-width:185px}#notice{padding:13px 17px;background:#24191d;border-left:2px solid var(--red);margin-bottom:24px;font-size:13px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}#notice.error{background:#301c20;color:#ffb5bc}dialog{color-scheme:dark;max-width:570px;width:calc(100% - 36px);border:1px solid #494047;border-radius:8px;padding:32px;background:var(--surface);color:var(--ink);box-shadow:0 24px 100px #0009}dialog::backdrop{background:#000a}dialog p{font-size:14px;color:var(--muted)}dialog input[type=checkbox]{width:auto;margin:0 9px 0 0;accent-color:var(--red)}.checkbox-label{display:flex;align-items:flex-start;line-height:1.5}.checkbox-label input{margin-top:4px!important;flex-shrink:0}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:26px}.error{color:#ff939e}#attemptDetails{margin-top:20px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}@media(max-width:760px){header{padding:22px;height:auto}.brand{font-size:27px}main{padding:0 20px}.intro{padding:36px 0 27px}h1{font-size:42px;letter-spacing:-1.5px}.intro p{font-size:17px;max-width:280px;margin:auto}.columns{grid-template-columns:1fr;gap:18px}.panel{padding:22px}.search input{font-size:13px;height:54px}.search button{min-width:103px;font-size:13px;padding:10px 13px}.download-settings,.download-settings>div,footer{align-items:flex-start;flex-direction:column;gap:10px}.download-settings{padding:18px}.download-settings>div{width:100%}.download-settings strong{max-width:100%}footer{padding-top:24px;line-height:1.6}h3{font-size:27px}.dialog-actions{flex-wrap:wrap}#empty{padding:33px 0 37px}#empty h3{font-size:29px}.download-row{gap:12px;flex-wrap:wrap}.footnote{line-height:1.8}.desktop-break{display:none}.search input::placeholder{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.download-settings{max-width:980px;margin:0 auto 16px}.publisher-choices{display:flex;flex-direction:column;gap:14px;overflow-wrap:anywhere}.publisher-choices a{color:var(--red);line-height:1.6}

header{justify-content:space-between;gap:20px}header .secondary{font-size:13px;padding:9px 17px}.folder-prompt{max-width:980px;margin:0 auto 10px;color:var(--muted);font-size:14px}.folder-input{display:flex;align-items:stretch;gap:10px}.folder-input input{min-width:0;flex:1}.folder-input button{white-space:nowrap;padding:10px 14px}.batch-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:38px 0 25px}.batch-heading h1{font-size:48px;letter-spacing:-1.5px}.batch-heading p{color:var(--muted);font-size:14px;margin:12px 0 0}.batch-heading>button{flex-shrink:0}.batch-setup{max-width:980px;margin:auto}.batch-setup .folder-prompt{font-family:Georgia,serif;font-size:23px;color:var(--ink);margin-bottom:21px}.batch-setup>label{margin-top:18px}.batch-setup>button{margin-top:16px}.batch-setup textarea{min-height:140px}.batch-setup select{max-width:360px}#batchStatus{max-width:980px;margin:22px auto;font-size:14px;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.batch-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;background:var(--surface)}.batch-table th{text-align:left;color:var(--muted);font-size:12px;font-weight:600;padding:16px 20px;border-bottom:1px solid var(--line)}.batch-table td{padding:20px;vertical-align:top;overflow-wrap:anywhere;line-height:1.65;border-bottom:1px solid var(--line)}.batch-table tr:last-child td{border-bottom:0}.batch-table th:nth-child(1){width:23%}.batch-table th:nth-child(2){width:31%}.batch-table th:nth-child(3){width:27%}.batch-table th:nth-child(4){width:19%}.batch-table td:nth-child(2){font-family:Georgia,serif;font-size:19px}.batch-table button{font-size:12px;padding:8px 12px}.row-status{font-size:12px;color:var(--muted);line-height:1.6;margin:8px 0 0}.row-status:empty{display:none}.row-links{display:flex;flex-direction:column;gap:9px;margin-top:8px;font-size:12px;color:var(--red)}.batch-actions{display:flex;align-items:center;gap:22px;margin:24px 0 10px}.batch-actions span{font-size:13px;color:var(--muted)}#batchResults>.fine{margin:0 0 32px}@media(max-width:760px){header{gap:12px}.brand{font-size:24px}header .secondary{font-size:12px;padding:8px 10px}.folder-prompt{font-size:13px}.batch-heading{display:block;margin-top:30px}.batch-heading h1{font-size:40px}.batch-heading>button{margin-top:12px}.folder-input{flex-wrap:wrap}.folder-input input{flex-basis:100%}.batch-setup .folder-prompt{font-size:22px}.batch-table{min-width:760px}.batch-table td,.batch-table th{padding:14px}.batch-actions{align-items:flex-start;flex-direction:column;gap:12px}}

.custom-options{margin:16px 0 20px;padding:16px;border:1px solid var(--line);border-radius:6px;background:var(--field)}.custom-options textarea{min-height:115px;background:var(--surface);margin-bottom:0}.custom-options .fine{margin:9px 0}.custom-status{font-size:12px;color:var(--red);line-height:1.7;margin:10px 0 0;overflow-wrap:anywhere}#citationWarning:empty{display:none}.custom-options label{margin-top:0}

.row-kind{display:block;font-family:"Segoe UI",Arial,sans-serif;font-size:11px;color:var(--muted);margin-top:8px}.batch-table details{font-size:11px;color:var(--muted);margin-top:10px}.batch-table details ul{padding-left:16px}

.source-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.source-choice a{flex:1;min-width:120px}.source-choice button{font-size:12px;padding:8px 12px}.download-settings{flex-wrap:wrap}.download-settings>div{flex-wrap:wrap}#connectorHelp li{font-size:14px;line-height:1.8;margin:10px 0}#connectorHelp a{color:var(--red)}#connectorHelp code{overflow-wrap:anywhere}#connectorRecoveryStatus{white-space:pre-line;overflow-wrap:anywhere}

.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}header .feedback-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:9px 3px;color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}header .feedback-link svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}header .feedback-link:hover{color:var(--ink)}header .feedback-link:hover span{text-decoration:underline;text-underline-offset:4px}.download-settings>div{align-items:center}.download-settings .system-select{width:auto;min-width:112px;flex-shrink:0;font-size:13px}.download-settings label.sr{margin:0}.download-settings strong{min-width:0}@media(max-width:760px){header .feedback-link{font-size:12px;padding:8px 2px}.download-settings>div{align-items:flex-start}.download-settings .system-select{min-width:110px}}@media(max-width:560px){header{height:auto;min-height:82px;flex-wrap:wrap}.brand{white-space:nowrap}.header-actions{justify-content:flex-end}}
.batch-progress{position:sticky;top:12px;z-index:2;max-width:980px;margin:22px auto;padding:18px 22px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 6px 22px #0004}.batch-progress-heading,.batch-progress-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.batch-progress-heading strong{font-size:14px}.batch-progress-heading span,.batch-progress-meta{font-size:12px;color:var(--muted)}.batch-progress progress{display:block;width:100%;height:8px;margin:14px 0;border:0;border-radius:5px;overflow:hidden;background:var(--line);accent-color:var(--red)}.batch-progress progress::-webkit-progress-bar{background:var(--line);border-radius:5px}.batch-progress progress::-webkit-progress-value{background:var(--red);border-radius:5px}.batch-progress progress::-moz-progress-bar{background:var(--red);border-radius:5px}.batch-progress #batchStatus{margin:10px 0 6px;color:var(--ink);font-size:13px}.batch-current{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin:0 0 10px}.batch-current:empty{display:none}.batch-progress-meta{line-height:1.6}.is-active #batchActivity::before{content:'';display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--red);animation:batch-pulse 1.5s ease-in-out infinite}@keyframes batch-pulse{50%{opacity:.3}}@media(max-width:760px){.batch-progress{top:8px;padding:15px 16px}.batch-progress-heading span{font-size:11px}}@media(prefers-reduced-motion:reduce){.is-active #batchActivity::before{animation:none}}

#connectorState.is-connected{color:#00ff00;font-weight:600;text-shadow:0 0 6px #00ff0080,0 0 14px #00ff0038}
