@import url('./print.css') print;
:root{--ink:#182c2c;--muted:#74827e;--green:#235b4a;--line:#e1e7e2;--paper:#fff;--bg:#f6f7f3;--accent:#e5edb9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button{transition:background .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}.sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:#173b34;color:#e9f0e8;padding:35px 22px;display:flex;flex-direction:column}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;font-size:16px;font-weight:650;letter-spacing:2px}.brand-mark{width:41px;height:44px;background:var(--accent);border-radius:12px;color:#173b34;font-family:Georgia,serif;font-size:34px;letter-spacing:-4px;padding:0 10px;line-height:39px}.brand-sub{display:block;font-size:8px;letter-spacing:2.3px;margin-top:6px;font-weight:400;color:#aebfb5}.nav-label{font-size:10px;color:#90aaa0;letter-spacing:1.5px;margin:58px 13px 17px}.nav-link{font-size:13px;text-decoration:none;display:flex;align-items:center;gap:12px;border-radius:8px;padding:14px 12px;color:#adbfB4;margin-bottom:7px}.nav-link.active{background:#2a4d42;color:#f3f6ed}.nav-link>span:first-child{font-size:19px}.nav-count{margin-left:auto;font-size:10px;color:#c8d8b9}.sidebar-note{margin:auto 8px 35px;font-size:12px;line-height:1.6;color:#d0dfbc}.sidebar-note p{font-size:11px;line-height:1.8;color:#91a99c;margin-top:12px}.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b5c983;margin-right:7px}.sidebar-foot{border-top:1px solid #315248;display:flex;align-items:center;gap:11px;padding-top:22px;font-size:11px}.sidebar-foot small{display:block;color:#91a99c;font-size:10px;margin-top:5px}.avatar{border:1px solid #53705c;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:10px}.shell{margin-left:222px}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:12px;color:var(--muted);background:#fbfcf9}.topbar strong{font-weight:500;color:var(--ink)}.slash{padding:0 15px;color:#bdc8c0}.top-actions{display:flex;gap:16px;align-items:center}.pill{font-size:9px;font-weight:700;letter-spacing:1px;padding:7px 10px;background:#e9eddf;color:#536546;border-radius:5px}.button{border-radius:7px;padding:11px 15px;border:1px solid var(--line);font-size:12px;font-weight:550;background:white;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:16px;white-space:nowrap}.button:hover:not(:disabled){background:#edf1e8}.button.subtle{background:transparent;font-size:11px;padding:8px 11px}.button.primary{background:var(--green);color:#fff;border-color:var(--green);width:100%;padding:14px;justify-content:space-between}.button.primary:hover:not(:disabled){background:#173e32}.button.secondary{background:transparent}.icon-button{font-size:10px;padding:8px 10px;gap:6px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#778371;margin:0 0 13px}main{max-width:1550px;margin:0 auto;padding:40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:6px 0 28px}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:45px;letter-spacing:-1.6px;line-height:1.1;margin:0}.lede{font-size:13px;color:var(--muted);line-height:1.7;margin:14px 0 0}.agent-strip{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:#fff;padding:17px 20px;border-radius:10px}.agent-icon{width:37px;height:37px;display:grid;place-items:center;background:#edf2df;color:#4f6e42;font-size:23px;border-radius:9px}.agent-name{margin-right:12px;font-size:12px;display:flex;flex-direction:column;gap:5px}.agent-name span{font-size:10px;color:var(--muted)}.tag{font-size:9px;color:#687767;padding-left:13px;border-left:1px solid var(--line)}.strip-end{margin-left:auto;font-size:10px;font-style:italic;color:#88917e}.notice{font-size:11px;padding:14px 2px;line-height:1.7;color:#69796e;min-height:48px}.notice.error{color:#a34234}.workspace-grid{display:grid;grid-template-columns:350px minmax(0,1fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #233e2f03}.prepare{padding:25px}.panel-heading{display:flex;gap:12px;align-items:center;margin-bottom:25px}h2{font-size:16px;font-weight:550;letter-spacing:-.3px;margin:0}.panel-heading p{font-size:10px;margin:6px 0 0;color:var(--muted)}.step-number{background:#f2f4eb;border:1px solid #e6e9dc;color:#7d8867;font-size:11px;padding:9px;border-radius:7px}label{display:block;font-size:11px;font-weight:550;margin:20px 0 8px}input,select,textarea{border:1px solid #dfe5df;border-radius:6px;background:#fcfdf9;padding:11px 10px;width:100%;font-size:11px;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #bdcda6;border-color:#7b9470}input:disabled,select:disabled{background:#f4f5f1;color:#7b877d}textarea{resize:vertical;line-height:1.6}.field-note{font-size:9px;line-height:1.7;color:#899186;margin:7px 0 0}.field-pair{display:grid;grid-template-columns:1.3fr 1fr;gap:10px}.sources-box{background:#f7f9f3;border:1px solid #eaf0e4;border-radius:7px;margin:23px 0;padding:16px 13px}.sources-box .eyebrow{font-size:8px;margin-bottom:15px}.sources-box>div{display:flex;align-items:center;font-size:10px;gap:7px;margin-top:13px}.sources-box>div>span:last-child{font-size:8px;margin-left:auto}.source-dot{width:6px;height:6px;background:#cdd4c7;border-radius:50%}.source-dot.crm{background:#538568}.source-dot.manual{background:#c2a967}.cost-note{font-size:8px;color:#8d9587;text-align:center;line-height:1.8;margin:11px 0 0}.result{min-height:710px;display:flex;flex-direction:column}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:25px 28px;border-bottom:1px solid var(--line)}.result-toolbar .eyebrow{font-size:8px}.result-toolbar h2{font-family:Georgia,serif;font-size:23px;font-weight:400}.result-actions{display:flex;gap:7px}.empty-state{text-align:center;margin:auto;padding:70px 25px;max-width:400px;align-self:center}.empty-state h3{font-family:Georgia,serif;font-size:25px;font-weight:400;letter-spacing:-.6px;margin:27px 0 12px}.empty-state p{font-size:11px;color:var(--muted);line-height:1.9}.empty-chips{display:flex;justify-content:center;gap:6px;margin:22px 0}.empty-chips span{font-size:8px;padding:7px 8px;background:#f5f7ee;border-radius:4px;color:#7e8972}.empty-art{position:relative;display:inline-block;width:105px;height:110px}.paper{border:1px solid #dfe6d4;border-radius:8px;background:#fafcf5;width:74px;height:99px;padding:19px 14px;transform:rotate(-8deg);position:absolute;left:9px;top:4px;box-shadow:6px 7px 0 #f1f4e8}.paper span{display:block;background:#d4dfbd;height:3px;margin:6px 0;border-radius:3px}.paper span:first-child{height:6px;width:60%;margin-bottom:12px}.paper span:nth-child(3),.paper span:last-child{width:70%}.paper i{display:block;height:5px}.empty-art b{position:absolute;bottom:3px;right:2px;background:#e8efcf;border:5px solid white;border-radius:50%;width:40px;height:40px;color:#8da45b;font-size:24px;line-height:30px}.text-button{border:none;background:none;color:#426a51;font-size:10px;padding:10px}.result-footer{border-top:1px solid var(--line);padding:14px 26px;font-size:9px;color:#899180;margin-top:auto;display:flex;align-items:center}.result-footer .small-dot{width:5px;height:5px}.brief{padding:12px 30px 28px;font-size:11px;line-height:1.85;overflow-wrap:anywhere}.brief h1{font-family:Georgia,serif;font-size:25px;letter-spacing:-.6px;line-height:1.4;margin:10px 0 8px}.brief h2{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#52705b;margin:24px 0 8px;padding-bottom:8px;border-bottom:1px solid #edf0e6}.brief p{margin:8px 0;color:#52635b}.brief ul{padding-left:17px;margin:8px 0}.brief li{margin:8px 0;color:#52635b}.brief .citation{font-size:9px;color:#48774f;text-decoration:none;white-space:nowrap}.brief .unknown{background:#f5efd9;color:#8a753d;padding:1px 3px;border-radius:3px}.brief .source-line{font-size:9px;color:#86917d}.sample-label{font-size:8px;letter-spacing:1px;padding:13px 28px;color:#8f7945;background:#fbf7e9;border-bottom:1px solid #efe8d3}.run-state{font-size:11px;padding:16px 28px;background:#eef5e9;color:#426b47;line-height:1.8;border-bottom:1px solid #dfe9d6}.run-state.failed{background:#fbefea;color:#984e3c}.source-details{border-top:1px solid var(--line);padding:18px 28px}.source-details h3{font-size:10px;margin:0 0 12px}.source-details p{font-size:9px;color:#7a877b;overflow-wrap:anywhere;line-height:1.7;margin:6px 0}.history{margin-top:36px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading .eyebrow{margin-bottom:8px}.history-list{border:1px solid var(--line);background:#fff;border-radius:9px;overflow:hidden}.history-list>p{font-size:11px;padding:18px}.run-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:17px 20px;border-top:1px solid var(--line)}.run-row:first-child{border-top:0}.run-row strong{font-size:11px;display:block}.run-row small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.run-row-right{display:flex;gap:12px;align-items:center}.status{font-size:9px;border-radius:4px;background:#f0f2eb;color:#6f7a68;padding:6px 9px}.status.completed{color:#41734e;background:#eaf3e6}.status.failed{color:#9a5849;background:#fbefea}.page-footer{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.7px;color:#87917d;margin-top:35px}.page-footer span{letter-spacing:0}dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 100px #15392a30;padding:34px;max-width:455px;width:calc(100% - 30px)}dialog::backdrop{background:#0d291b66;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-size:30px;font-weight:400}dialog p{font-size:11px;line-height:1.8;color:#74816f}.dialog-close{position:absolute;top:12px;right:16px;border:0;background:transparent;font-size:22px;color:#8d9787}.error-text{color:#a34234!important;min-height:18px}.muted{color:var(--muted)}
@media(min-width:1550px){main{padding:46px 55px}.workspace-grid{grid-template-columns:380px minmax(0,1fr)}}@media(max-width:1150px){.sidebar{width:190px;padding:30px 15px}.shell{margin-left:190px}main{padding:28px}.topbar{padding:0 28px}.workspace-grid{grid-template-columns:310px minmax(0,1fr);gap:16px}.prepare{padding:20px}.strip-end{display:none}.result-toolbar{padding:23px 20px}.result-actions{flex-direction:column}.brief{padding:12px 22px 25px}.tag{font-size:8px}.agent-strip{gap:10px}h1{font-size:39px}}@media(max-width:900px){.sidebar{width:74px;padding:27px 15px}.brand>span:last-child,.nav-label,.nav-link,.sidebar-note,.sidebar-foot{display:none}.shell{margin-left:74px}.workspace-grid{grid-template-columns:1fr}.result{min-height:610px}.prepare form{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.prepare form>label,.prepare form>input,.prepare form>select,.prepare form>textarea,.prepare form>.field-note,.prepare form>.field-pair,.prepare form>.sources-box,.prepare form>.primary,.prepare form>.cost-note{grid-column:1/-1}.page-heading{align-items:flex-start}.agent-name{margin-right:auto}.result-actions{flex-direction:row}.empty-state{padding:50px 20px}}@media(max-width:600px){.sidebar{display:none}.shell{margin:0}.topbar{height:65px;padding:0 18px}.topbar>span{display:none}.top-actions{width:100%;justify-content:space-between}main{padding:25px 16px}.page-heading{display:block}.page-heading>.button{margin-top:20px}h1{font-size:39px}.lede{font-size:12px}.agent-strip{flex-wrap:wrap;padding:15px}.agent-name{min-width:70%}.tag{border:0;padding-left:0;margin-right:8px}.notice{font-size:10px;padding:13px 0}.result-toolbar{align-items:flex-start;padding:20px}.result-actions{flex-direction:column}.brief{padding:10px 20px 25px}.page-footer{gap:20px;line-height:1.7}.run-row{padding:15px;align-items:flex-start}.run-row-right{flex-direction:column;gap:8px;align-items:flex-end}.field-pair{grid-template-columns:1fr}.empty-chips span{font-size:7px}}
.embedded .sidebar,.embedded .topbar,.embedded .page-footer{display:none}.embedded .shell{margin-left:0}.embedded main{padding:15px 0;max-width:none}.embedded .page-heading{margin-top:0}.embedded .page-heading h1{font-size:35px}
