:root{font-family:Arial,Helvetica,sans-serif;color:#1f3547;background:#f3f6f8;font-size:16px;--blue:#087eaf;--line:#dce4e9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #1c9cd8;outline-offset:3px}header{height:96px;background:white;border-bottom:1px solid var(--line);padding:0 4vw;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:#1f3547;font-weight:700;font-size:22px}.mark{display:grid;place-items:center;width:48px;height:48px;background:#1f3547;color:white;border-radius:13px;font-size:25px;letter-spacing:-2px}.brand small{display:block;font-size:13px;font-weight:400;margin-top:5px;color:#607485}.header-right{display:flex;align-items:center;gap:18px}.pill{background:#e8f4fa;border:1px solid #cae5f1;color:#146181;padding:8px 12px;border-radius:30px;font-size:13px}main{max-width:1500px;margin:auto;padding:36px 4vw 0}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;color:var(--blue)}h1{font-size:clamp(26px,2.4vw,36px);letter-spacing:-1px;margin:10px 0 12px;line-height:1.2}.intro p{color:#5b7080;margin:0;line-height:1.6}.workspace{display:grid;grid-template-columns:minmax(330px, .85fr) minmax(440px,1.3fr);gap:26px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:26px;box-shadow:0 5px 20px #1f354705}.section-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.section-top h2{font-size:18px;margin:0;display:flex;align-items:center;gap:10px}.step{font-size:12px;color:var(--blue);background:#e9f5fb;border-radius:6px;padding:7px}.muted{color:#687b89;font-size:14px}.dropzone{padding:26px 12px;border:1.5px dashed #9bc5da;border-radius:10px;background:#f7fbfe;display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;cursor:pointer;color:#46697e}.dropzone strong{font-size:16px;color:#1f3547}.dropzone span{font-size:14px}.dropzone small{font-size:12px;line-height:1.6;color:#607786}.dropzone svg{color:var(--blue);margin-bottom:4px}.dropzone.drag{background:#e1f4fd;border-color:var(--blue)}.file-input{position:absolute;width:1px;height:1px;opacity:0}.dropzone:focus-within{outline:3px solid #1c9cd8}.file-list{padding:0;list-style:none;margin:12px 0}.file-list li{display:flex;align-items:center;gap:9px;border-bottom:1px solid #edf1f4;padding:10px 0;font-size:14px}.file-list .filename{flex:1;min-width:0;overflow-wrap:anywhere}.filetype{padding:5px 6px;font-size:11px;background:#eef3f6;border-radius:4px;font-weight:700}.remove{background:none;border:0;color:#617482;font-size:20px;padding:4px 8px}.file-size{color:#607485;font-size:12px}.source-text{margin:18px 0 22px;font-size:14px}summary{cursor:pointer;line-height:1.5}.source-text textarea{margin-top:10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.optional{font-weight:400;color:#738593;font-size:12px;margin-left:5px}input,select,textarea{width:100%;border:1px solid #ced9e0;background:white;color:#1f3547;border-radius:7px;padding:11px 12px}select{font-size:14px}textarea{resize:vertical;line-height:1.55}.style-note{background:#f3f7f9;border-left:3px solid #1c9cd8;border-radius:0 7px 7px 0;padding:13px 15px;margin:18px 0 22px}.style-note strong{font-size:13px}.style-note p{font-size:13px;color:#567080;line-height:1.65;margin:6px 0 0}.primary{background:#087eaf;color:white;border:1px solid #087eaf;border-radius:7px;padding:12px 20px;font-weight:600}.primary:hover{background:#06678f}.wide{width:100%}.secondary{background:white;border:1px solid #cdd9e0;border-radius:7px;padding:10px 13px;font-size:14px;color:#1f3547;white-space:nowrap}.secondary:hover{background:#eef6fa}.quiet{border:0;background:none;padding:10px 7px;color:#38627a;font-size:14px}.privacy{font-size:12px;line-height:1.7;color:#728491;margin:13px 0 0}.tabs{display:flex;border-bottom:1px solid var(--line);gap:22px}.tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 12px;color:#687c8c;font-size:14px}.tabs button[aria-selected=true]{color:#087eaf;border-color:#087eaf;font-weight:700}.empty{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#607485}.empty h3{font-size:19px;margin:22px 0 8px;color:#1f3547}.empty p{font-size:14px;line-height:1.7;margin:0}.paper-icon{width:75px;height:96px;border:1px solid #bed9e8;border-radius:8px;box-shadow:7px 7px 0 #f0f7fa;color:#087eaf;text-align:left;padding:16px;font-size:24px;font-weight:700}.paper-icon span{display:block;height:3px;background:#c9dce7;margin-top:8px}.paper-icon span:last-child{width:60%}.article{min-height:350px;padding:20px 4px 26px;line-height:1.75;overflow-wrap:anywhere}.article h1{font-size:28px}.article h2{font-size:21px;margin:26px 0 9px;line-height:1.4}.article h3{font-size:18px}.article p{margin:12px 0}.article code{font-size:.9em;background:#f1f5f7;padding:2px 4px;border-radius:3px}#editor,#html{min-height:390px;border:0;border-radius:0;padding:20px 4px;line-height:1.7}#html{font-family:monospace;font-size:14px}.editor-help{margin:0 0 14px}.actions{display:flex;gap:9px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--line)}.checks{background:#f0f7fb;border-radius:8px;padding:16px;margin-top:6px}.checks h3,.saved h3{font-size:14px;margin:0 0 9px}.checks ul{padding-left:20px;line-height:1.7;font-size:14px;margin:0 0 12px}.checks details{font-size:13px}.extracted{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;background:white;padding:12px;font-size:13px;line-height:1.6;border-radius:6px;margin:10px 0}.saved{border-top:1px solid var(--line);margin-top:18px;padding-top:20px}.saved small{color:#738593;font-size:12px}.saved ul{list-style:none;padding:0;margin:10px 0}.saved li{display:flex;align-items:center;gap:8px}.saved li .quiet:first-child{text-align:left;flex:1;overflow-wrap:anywhere}#message{padding:12px 16px;border-radius:8px;font-size:14px;line-height:1.6;position:sticky;bottom:14px;box-shadow:0 3px 15px #1f35471a;background:#1f3547;color:white}#message:empty{display:none}#message.error{background:#a52e3b}footer{display:flex;justify-content:space-between;color:#718491;font-size:12px;padding:26px 0}.notice{background:#e9f5fb;border:1px solid #bdddea;border-radius:10px;padding:20px;margin-bottom:24px;line-height:1.7}.login{max-width:480px;margin:40px auto}.login h1{font-size:28px}.login p{font-size:14px;line-height:1.7;color:#607485}.login .primary{margin-top:14px;width:100%}#login-error{color:#b02036}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}[hidden]{display:none!important}@media(max-width:900px){.workspace{grid-template-columns:1fr}.intro h1{max-width:500px}.panel{padding:22px}main{padding-top:24px}header{height:80px}}@media(max-width:520px){header{padding:0 18px}.brand{font-size:19px}.brand small{font-size:12px}.pill{font-size:11px;padding:6px 8px}.intro{align-items:flex-start}.intro h1{font-size:25px}.intro p{font-size:14px}.intro .secondary{font-size:12px;padding:8px}.form-row{grid-template-columns:1fr}.panel{padding:18px}.section-top{flex-wrap:wrap}footer{display:block;line-height:1.8}footer span{display:block}.tabs{gap:20px}.actions .secondary{flex:1}main{padding-left:15px;padding-right:15px}}

.start-screen{min-height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.start-screen h1{font-size:clamp(32px,5vw,54px)}.start-screen p{color:#607485;line-height:1.7;max-width:480px}.start-screen .primary{margin-top:22px;padding:17px 46px;font-size:20px}.brief-screen{max-width:650px;margin:10px auto 40px}.brief-screen h1{margin-bottom:30px}.brief-screen label{margin-top:20px}.brief-screen .actions{border-top:0;justify-content:space-between;margin-bottom:0}.article figure{margin:24px 0;padding:16px;background:#f5f9fb;border:1px solid #dce4e9;border-radius:10px}.article figure img{display:block;max-height:650px;object-fit:contain;margin:auto}.article figcaption{font-size:14px;line-height:1.6;color:#546d7e;margin-top:12px}.article figure img[src^="data:image/svg"]{max-width:500px;width:100%}#brief-summary{display:block;max-width:800px;overflow-wrap:anywhere}#work-screen .intro h1{font-size:30px}
.workspace:has(.article-panel[hidden]){grid-template-columns:minmax(300px,650px);justify-content:center}
