:root{color-scheme:dark;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;--bg:#061017;--card:#0c1c26;--line:#213845;--text:#ecf7f8;--muted:#8fa6af;--green:#42e7c3;--cyan:#56c3ce}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 900px 550px at 70% -15%,rgba(17,81,89,.22),transparent 80%),#07121b;color:var(--text);min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #42e7c3;outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.hidden{display:none!important}.topbar{height:78px;padding:0 32px;border-bottom:1px solid #1c3540;display:flex;align-items:center;justify-content:space-between;background:rgba(6,16,23,.83);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.brandlock{display:flex;align-items:center;gap:12px}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#123932;border:1px solid #27685d;color:#52f7ce;font-size:28px;box-shadow:0 0 25px #16f5bf13}.brand{font-weight:900;font-size:26px;letter-spacing:2.5px;line-height:1}.brand-dot{color:var(--green)}.brand-sub{color:#648b96;font-size:9px;font-weight:700;letter-spacing:2px;margin-top:6px}.topbar-right{display:flex;align-items:center;gap:13px}.environment-tag{border:1px solid #275d54;border-radius:7px;padding:8px 11px;background:#102d2b;color:#80ead1;font-weight:800;font-size:10px;letter-spacing:.7px}.environment-tag span{opacity:.5;padding:0 3px}.sync-tag{font-size:10px;color:#7c9eab}.workspace{max-width:1780px;margin:auto;padding:22px 22px 34px;display:grid;grid-template-columns:minmax(390px,450px) minmax(0,1fr);align-items:start;gap:18px}.panel{background:linear-gradient(160deg,#0c1d28,#0a1822);border:1px solid #24404c;border-radius:16px;box-shadow:0 18px 55px rgba(0,0,0,.16);min-width:0}.input-panel{padding:23px}.output-panel{padding:22px 26px}.kicker{font-size:10px;font-weight:850;letter-spacing:2.5px;color:#45ddbb}.section-intro{display:flex;justify-content:space-between;align-items:flex-start}.section-intro h1{font-size:29px;letter-spacing:-.65px;margin:7px 0 6px}.section-intro p{font-size:12px;color:#8ea7b2;line-height:1.65;margin:0;max-width:350px}.live-dot{color:#43f2bd;font-size:15px}.section-title{display:flex;align-items:center;gap:10px;margin:25px 0 16px}.section-title h2{font-size:13px;white-space:nowrap;margin:0;letter-spacing:.2px}.section-title .index{color:#58dec2;font-size:10px;font-weight:900;border:1px solid #2a635a;padding:6px 7px;border-radius:6px;background:#15322f}.section-title .line{height:1px;background:#27434c;flex:1}.form-group label{display:block;color:#c5d7dc;font-size:11px;font-weight:800;margin:14px 0 7px}.required{color:#65f5cb}.form-group input,.form-group select,.form-group textarea,.modal textarea{width:100%;border:1px solid #294653;border-radius:9px;background:#07151e;color:#e9f4f5;padding:12px 12px;line-height:1.55}.form-group input,.form-group select{min-height:43px}.form-group textarea{min-height:124px;resize:vertical}.form-group input::placeholder,.form-group textarea::placeholder,.modal textarea::placeholder{color:#577581}.helper{color:#688a96;font-size:10px;line-height:1.5;margin:7px 0}.label-row{display:flex;align-items:center;justify-content:space-between}.label-row label{margin:0 0 7px!important}.lock-toggle{border:1px solid #31515e;border-radius:6px;background:#142735;color:#a0c7d1;padding:6px 9px;font-weight:800;font-size:10px;margin-bottom:7px}.lock-toggle.locked{background:#16352f;border-color:#286b5d;color:#78efc9}.form-group textarea:disabled{background:#10232b;border-color:#285146;color:#a7c5be;opacity:1}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.select-wrap{position:relative}.select-wrap select{appearance:none;padding-right:30px}.select-wrap:after{position:absolute;content:'⌄';right:13px;top:9px;font-size:19px;color:#54e2be;pointer-events:none}.sources-group{margin-top:27px;padding-top:3px;border-top:1px solid #213947}.sources-group .section-title{margin-top:22px}.source-help{margin-top:-6px;margin-bottom:12px}.sources-list{display:flex;flex-direction:column;gap:11px}.source-card{border:1px solid #2a4754;border-radius:11px;background:#0a1a24;padding:12px}.source-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.source-count{color:#5ce5c2;font-size:11px;font-weight:900;letter-spacing:1px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.source-card label{font-size:10px;color:#9ab6c0;margin:7px 0 4px}.source-card input,.source-card select,.source-card textarea{background:#07141d;padding:9px 10px;min-height:36px;font-size:11px}.source-card textarea{min-height:60px}.delete-source{border:0;background:transparent;color:#9c7b87;font-weight:700;font-size:11px}.delete-source:hover{color:#ff909d}.attach-area{margin-top:10px;border:1px dashed #37616a;border-radius:8px;padding:10px;cursor:pointer;color:#9bbfc6;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.attach-area:hover{border-color:#48e0bf}.attach-area input{display:none}.attach-area strong{color:#55e7c3;font-weight:750}.file-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.file-chip{background:#113038;color:#b5d7d8;border:1px solid #285a60;border-radius:6px;padding:6px 8px;font-size:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:10px 13px;border:1px solid #30515d;background:#102836;color:#d9f1f2;font-weight:800;font-size:11px;transition:filter .15s ease,border-color .15s ease}.btn:hover{filter:brightness(1.16);border-color:#48ab9a}.btn.primary{background:linear-gradient(105deg,#47e9c1,#34c6b5);color:#04322e;border-color:transparent;box-shadow:0 10px 25px #31d5b21a}.btn.secondary{background:#153531;border-color:#327d68;color:#aafbe5}.btn.ghost{background:transparent;border-color:#2c4856;color:#acc9d0}.btn.tiny{padding:8px 12px;font-size:10px}.btn.wide{width:100%}.btn.dashed{border-style:dashed;background:#0d2430;color:#72dfc8;margin-top:10px}.plus{font-size:18px;line-height:.7}.action-zone{border-top:1px solid #213947;margin-top:22px;padding-top:19px}.btn.giant{height:54px;font-size:13px;letter-spacing:1px}.btn.giant span:first-child{font-size:19px}.action-caption{font-size:10px;line-height:1.55;color:#6e909b;text-align:center;margin-top:9px}.secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.output-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.output-heading h2{font-size:23px;margin:7px 0 10px;letter-spacing:-.5px}.report-status{border:1px solid #3e5454;border-radius:20px;background:#1d2c2d;color:#a7c4c5;padding:7px 12px;font-size:10px;font-weight:800;white-space:nowrap}.report-status.ready{color:#8deecf;border-color:#2b715b;background:#13332f}.output-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px}.btn.tool{flex:1;min-width:120px;background:#102531;font-size:10px}.paper{background:#f9fcfc;color:#25383d;border:1px solid #bed1d4;border-radius:11px;padding:31px 39px 24px;box-shadow:0 15px 28px #0004}.paper-top{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #1b6769;padding-bottom:13px}.paper-eyebrow{color:#14676a;font-size:10px;font-weight:900;letter-spacing:1.3px}.paper-eyebrow span{font-size:8px}.paper-edition{color:#6f8f96;font-weight:800;font-size:10px}.letterhead{white-space:pre-wrap;font-size:12px;font-weight:730;line-height:1.55;padding:18px 0 10px}.letterhead .empty-head{color:#9babb0;font-style:italic;font-weight:400}.letter-meta{display:grid;gap:5px;margin-bottom:21px;font-size:12px}.letter-meta>div{display:grid;grid-template-columns:65px 9px 1fr;gap:6px;align-items:start}.letter-meta strong{font-weight:800}.letter-meta span:last-child{overflow-wrap:anywhere}.report-section{margin-top:19px}.report-label{display:flex;align-items:center;gap:10px;margin-bottom:8px;border-bottom:1px solid #d3e4e4;padding-bottom:8px}.report-label h3{font-size:12px;letter-spacing:.6px;margin:0;color:#194f56}.report-number{width:26px;height:26px;background:#e4f4f0;color:#10665b;display:grid;place-items:center;border-radius:5px;font-size:12px;font-weight:900}.edit-indicator{font-size:9px;color:#96a7aa;letter-spacing:1px;margin-left:auto}.paper textarea{border:1px solid #e2ebee;border-radius:7px;background:#fff;color:#2c4145;padding:10px 11px;width:100%;resize:vertical;line-height:1.7;font-size:12px;min-height:95px}.paper textarea::placeholder{color:#a0b0b4}.paper textarea:focus-visible{outline:2px solid #3fcba9}.summary-block{border:1px solid #e0eeed;background:#f1f8f7;border-radius:7px;padding:10px 11px;margin-bottom:9px}.summary-block summary{cursor:pointer;color:#27676a;font-weight:900;font-size:11px}.summary-block summary span{font-weight:400;color:#72959a}.summary-block textarea{margin-top:9px;min-height:75px}.paper-footer{border-top:1px solid #d0e2e3;margin-top:27px;padding-top:11px;display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:850;letter-spacing:.8px;color:#66878f}.output-footer{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}.auto-save{color:#607d88;font-size:10px;margin-left:auto}.site-footer{text-align:center;padding:0 24px 25px;font-size:10px;letter-spacing:1px;color:#5a7b88}.modal-wrap,.login-overlay{position:fixed;inset:0;z-index:20;background:rgba(3,10,15,.79);display:grid;place-items:center;padding:20px;backdrop-filter:blur(9px)}.modal{width:min(760px,100%);max-height:min(92vh,850px);overflow:auto;background:#0c202b;border:1px solid #2b5761;border-radius:16px;padding:23px;box-shadow:0 28px 100px #000b}.modal-header{display:flex;justify-content:space-between;align-items:start}.modal-header h2{font-size:22px;margin:7px 0 16px}.close-button{background:transparent;color:#b2c8cf;border:1px solid #34515b;border-radius:8px;font-size:24px;width:35px;height:35px}.modal-tabs{display:flex;gap:8px;border-bottom:1px solid #24444e;padding-bottom:9px}.tab{background:transparent;color:#88a9b4;padding:10px 12px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:800}.tab.active{background:#143f39;border-color:#2d7868;color:#8af4da}.modal-panel p{color:#92b4bd;font-size:12px;line-height:1.65}.modal-panel textarea{min-height:260px;resize:vertical;color:#d9ecee;font-size:11px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}.toast{position:fixed;right:20px;bottom:20px;background:#163d37;border:1px solid #307f6c;color:#c1fbea;padding:12px 17px;border-radius:9px;z-index:50;display:none;font-size:12px;box-shadow:0 10px 20px #0006}.login-card{width:min(420px,100%);background:#0b202c;padding:30px;border:1px solid #285b61;border-radius:16px;box-shadow:0 22px 95px #000b;text-align:center}.login-symbol{display:grid;place-items:center;width:70px;height:70px;border:1px solid #26776a;border-radius:17px;background:#153d34;color:#7ff0cb;font-size:43px;margin:0 auto 17px}.login-eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#51d4bb}.login-card h1{font-size:23px;margin:13px 0 6px}.login-card p{font-size:12px;color:#88abb4;line-height:1.6}.login-card label{text-align:left;display:block;margin:23px 0 7px;font-size:11px;font-weight:800}.login-card input{width:100%;background:#081722;border:1px solid #31565e;border-radius:8px;padding:13px;color:#e8fbfa;font-size:15px;margin-bottom:13px}.login-error{color:#ffa9b1;font-size:11px;min-height:25px;padding-top:8px}.login-card .subtle{font-size:10px;color:#557883}@media(min-width:1060px){.input-panel{max-height:calc(100vh - 116px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#275660 transparent}.output-panel{max-height:calc(100vh - 116px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#28525d transparent}}@media(max-width:1060px){.workspace{grid-template-columns:1fr;padding:16px}.input-panel,.output-panel{padding:22px}.paper{padding:24px 24px 20px}}@media(max-width:630px){.topbar{padding:0 13px;height:68px}.brand-icon{width:34px;height:34px;font-size:23px}.brand{font-size:21px}.brand-sub{font-size:8px;letter-spacing:1px}.topbar-right{gap:6px}.environment-tag,.sync-tag{display:none}.workspace{padding:11px;gap:13px}.input-panel,.output-panel{padding:16px}.paper{padding:17px 13px}.output-heading h2{font-size:20px}.paper-footer{font-size:7px}.btn.tool{min-width:0;flex:1 1 31%}.two-fields{grid-template-columns:1fr 1fr}.source-grid{grid-template-columns:1fr}.modal{padding:14px}.modal-actions{flex-wrap:wrap}.report-status{font-size:9px}.auto-save{width:100%}}@media print{.topbar,.input-panel,.output-tools,.output-heading,.output-footer,.site-footer,.login-overlay,.modal-wrap{display:none!important}.workspace{display:block;padding:0}.output-panel{padding:0;border:0;box-shadow:none}.paper{border:0;box-shadow:none;border-radius:0}.paper textarea{border:0;resize:none;overflow:visible;min-height:0}.paper{color:#111}body{background:#fff}}

.source-subtitle{color:#54d9ca;font-size:12px;letter-spacing:1px;margin:20px 0 10px}.single-output{padding:20px}.single-output label{display:block;margin-bottom:12px;color:#9cbcc5}.single-output textarea{width:100%;min-height:620px;resize:vertical;line-height:1.65;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;white-space:pre-wrap}.hidden{display:none!important}
