
:root{--navy:#102f4c;--blue:#1472f5;--cyan:#59d4f6;--ink:#17324b;--muted:#6b7e8e;--border:#dfe7ed;--bg:#f4f7fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;transition:background .15s,transform .15s}button:disabled{opacity:.5;cursor:wait}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #56a9ff;outline-offset:3px}svg{width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}[data-icon]{display:inline-flex}.sidebar{position:fixed;width:228px;inset:0 auto 0 0;background:linear-gradient(160deg,#143958,#091f35);color:#fff;padding:32px 24px;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:1px}.brand img{width:32px;height:32px}.brand small{display:block;font-size:9px;font-weight:500;letter-spacing:3.7px;color:#b1c9db}.workspace-tag{font-size:9px;letter-spacing:2px;color:#8eabc2;margin-top:49px;margin-bottom:16px}.nav-active{padding:13px 15px;border:1px solid #46718d;background:#ffffff0e;border-radius:10px;display:flex;align-items:center;gap:11px;font-weight:600}.nav-active svg{color:#6fd4fc}.side-note{font-size:12px;line-height:1.8;color:#9bb6c9;margin:24px 12px}.otto{margin-top:auto;text-align:center;padding-top:15px}.otto img{width:184px;max-width:100%;height:276px;object-fit:contain;filter:drop-shadow(0 10px 22px #0005)}.otto b{display:block;font-size:18px;line-height:1.35}.otto p{color:#aac3d5;font-size:11px;line-height:1.8}.privacy{display:flex;gap:10px;border-top:1px solid #ffffff1a;padding-top:20px;margin-top:24px;font-size:11px;color:#e1edf5}.privacy svg{color:#82d6e8}.privacy small{display:block;font-size:10px;color:#8ba7bb}main{margin-left:228px;padding:0 38px;max-width:1900px}.topbar{height:89px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:20px}.breadcrumb{color:#697f91;font-size:12px}.breadcrumb span{margin:0 13px;color:#acbac7}.actions{display:flex;gap:8px}.quiet{border:1px solid var(--border);padding:10px 13px;background:white;font-size:12px;font-weight:600}.primary{background:var(--blue);color:#fff;padding:11px 17px;font-size:12px;font-weight:650;box-shadow:0 3px 8px #1472f51c}.welcome{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px 0 30px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:2px;color:#5b7c98}h1{font-size:36px;line-height:1.18;letter-spacing:-1.1px;margin:12px 0;color:#12324e;font-weight:650}h1 span{color:var(--blue)}.welcome p{color:#788b9b;font-size:12px;margin:0}.welcome-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.pill{background:#e8f3ef;border:1px solid #cde6dc;color:#467768;padding:6px 10px;border-radius:20px;font-size:10px;white-space:nowrap}.pill i{display:inline-block;width:5px;height:5px;background:#519d7b;border-radius:50%;margin-right:6px}.text-button{font-size:11px;font-weight:600;padding:0;color:#1472d4}.text-button span{font-size:16px}.muted{color:#7b8a97;font-weight:400}.workspace{display:grid;grid-template-columns:minmax(330px,.88fr) minmax(380px,1.12fr);gap:28px;align-items:start}.editor{min-width:0}.step-tabs{display:flex;background:#eaf0f5;border:1px solid #e3eaf0;border-radius:12px;padding:5px;gap:2px;margin-bottom:16px}.step-tabs button{flex:1;padding:10px 3px;font-size:10px;gap:6px;color:#8a9eae}.step-tabs button span{font-weight:650;color:#657d90}.step-tabs .selected{background:white;box-shadow:0 2px 5px #12324e0c;color:var(--blue)}.step-tabs .selected span{color:var(--ink)}form{padding:26px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 5px 24px #102f4c03}h2{font-size:18px;font-weight:650;letter-spacing:-.3px;margin:0 0 5px}.section-sub{font-size:11px;color:var(--muted);margin:0 0 24px}.field{display:block;margin:0 0 17px;font-size:11px;color:#425d74;font-weight:600}.field span{display:block;margin-bottom:7px}.field em{font-style:normal;color:#91a1ae;font-weight:400}.field input,.field textarea{width:100%;border:1px solid #dae3ea;border-radius:8px;background:#fff;padding:11px 12px;outline:none;font-size:12px;color:var(--ink);font-weight:400;transition:border .15s,box-shadow .15s}.field input:focus,.field textarea:focus{border-color:#5b9fee;box-shadow:0 0 0 3px #1472f50c}.field input::placeholder,.field textarea::placeholder{color:#a2b0ba}.field textarea{resize:vertical;min-height:83px;line-height:1.6}.field input:invalid:not(:placeholder-shown){border-color:#e5a59c}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-help{font-size:10px;color:#8292a0;margin:-10px 0 15px}.section-divider{height:1px;background:#eef2f5;margin:23px 0}.step-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eef2f5;padding-top:20px;margin-top:22px}.step-footer>span{font-size:10px;color:#8a9dab}.step-footer .quiet{padding:9px;border:0;background:transparent}.local-note{display:flex;align-items:center;gap:7px;color:#8494a2;font-size:10px;margin-top:15px;line-height:1.5}.local-note svg{width:15px;flex-shrink:0}.preview-column{padding:0 0 20px;position:sticky;top:24px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;height:49px}.preview-toolbar h2{font-size:14px;margin:4px 0 0}.paper-label{font-size:9px;border:1px solid #d7e1e9;border-radius:5px;padding:5px 8px;color:#7d91a2}.paper{background:#fff;box-shadow:0 8px 30px #243e5310,0 1px 3px #243e530b;border:1px solid #e2e8ed;border-radius:3px;padding:32px 36px;min-height:520px;position:relative;overflow:hidden}.paper:before{content:'';position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#126cf0 0%,#60d7ed 100%)}.paper-brand{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:750;letter-spacing:.3px}.paper-brand img{width:23px}.paper-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.paper-top>span{font-size:8px;color:#91a1ad}.paper h3{font-size:25px;letter-spacing:-.7px;margin:27px 0 5px;line-height:1.15}.paper-subtitle{font-size:10px;color:#7d8f9c;margin:0 0 24px}.client-block{border-left:2px solid #1771e7;padding-left:13px;overflow-wrap:anywhere}.client-block small{font-size:7px;letter-spacing:1.5px;color:#8396a5}.client-block b{display:block;font-size:13px;margin:4px 0}.client-block p{font-size:9px;color:#7a8e9e;margin:0;white-space:pre-line}.paper-middle{display:grid;grid-template-columns:1fr 140px;align-items:center;gap:12px;margin:13px 0}.paper-middle>img{width:140px;height:210px;object-fit:contain}.paper-middle h4{font-size:11px;margin:0 0 10px}.paper-middle p{font-size:9px;line-height:1.7;color:#718594}.paper-metrics{display:grid;grid-template-columns:1fr 1fr;background:#f3f7fb;border-radius:6px;padding:16px;gap:12px}.paper-metrics small{font-size:8px;color:#7b8d9d;display:block}.paper-metrics b{font-size:17px;display:block;margin-top:4px;font-weight:650}.paper-metrics i{font-size:9px;font-style:normal;font-weight:400}.paper-bottom{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eaf0f5;padding-top:13px;margin-top:18px;color:#8b9ca9;font-size:7px}.demo-label{font-size:8px;color:#8b7035;margin-top:12px;letter-spacing:.5px}.preview-caption{font-size:9px;color:#9ba8b2;text-align:center;margin:12px 0 24px}.totals{display:flex;justify-content:space-between;gap:20px;padding:0 8px}.totals span{font-size:10px;color:#7d90a0;display:block}.totals strong{display:block;font-size:22px;letter-spacing:-.5px;font-weight:650;margin-top:3px}.totals>div:last-child{text-align:right}.total-note{text-align:center;color:#92a2ae;font-size:9px;margin-top:15px}.page-footer{display:flex;justify-content:space-between;gap:10px;color:#9aa9b6;border-top:1px solid var(--border);margin-top:35px;padding:20px 0;font-size:9px}.item{border:1px solid #e3eaf0;border-radius:9px;padding:13px;margin-bottom:12px;background:#fafcfe}.item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:10px;color:#7890a4}.remove-item{color:#9c6262;font-size:11px}.item .field{margin-bottom:9px}.item-total{text-align:right;font-size:12px;font-weight:650}.add-item{width:100%;border:1px dashed #c9d8e4;background:#f8fbfd;padding:10px;font-size:11px;color:#3676a9}.review-line{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #edf1f5;padding:12px 0;font-size:12px}.review-line b{text-align:right}.review-intro{background:#f4f8fc;padding:14px;border-radius:8px;font-size:11px;color:#5c7488;line-height:1.6}.check{display:flex;gap:9px;font-size:11px;color:#557087;align-items:flex-start;margin:18px 0}.check input{accent-color:var(--blue);width:16px;height:16px;margin:1px 0}.error-list{color:#ad3d32;font-size:11px;padding:12px 16px;background:#fff3f0;border-radius:8px;margin-top:15px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#102f4c;color:white;padding:13px 23px;box-shadow:0 5px 25px #0002;border-radius:10px;max-width:90vw;z-index:10;display:none;font-size:12px}dialog{max-width:420px;width:90%;border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:0 20px 70px #1234;color:var(--ink)}dialog::backdrop{background:#0c233c80;backdrop-filter:blur(3px)}dialog p{font-size:13px;color:var(--muted)}dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(min-width:1700px){main{padding:0 60px}.workspace{gap:44px}.paper{padding:42px 50px}.paper-middle img{width:175px;height:260px}.paper-middle{grid-template-columns:1fr 175px}.paper h3{font-size:31px}}@media(max-width:1190px){.sidebar{width:190px;padding:25px 18px}.brand{font-size:17px}.brand small{font-size:8px;letter-spacing:2.8px}.otto img{width:155px;height:233px}main{margin-left:190px;padding:0 24px}.workspace{gap:20px;grid-template-columns:minmax(300px,1fr) minmax(330px,1fr)}.paper{padding:27px 23px}.paper-middle{grid-template-columns:1fr 120px}.paper-middle>img{width:120px;height:180px}.actions .quiet{font-size:0;gap:0}.actions .quiet svg{width:18px}h1{font-size:31px}.welcome-right .pill{font-size:9px}}@media(max-width:960px){.sidebar{width:82px;padding:25px 15px}.brand>span,.workspace-tag,.side-note,.nav-active,.privacy,.otto>div{display:none}.brand{justify-content:center}.otto img{width:64px;height:96px}.otto{margin-left:-6px;margin-right:-6px}main{margin-left:82px}.workspace{grid-template-columns:1fr 1fr}.paper-middle{grid-template-columns:1fr 95px}.paper-middle>img{width:95px;height:150px}.step-tabs button{flex-direction:column;gap:2px}.paper-metrics b{font-size:14px}form{padding:20px}.welcome p{font-size:11px}}@media(max-width:760px){.sidebar{position:relative;width:100%;height:65px;padding:12px 20px;display:block}.brand{justify-content:flex-start;font-size:17px}.brand>span{display:block}.brand small{font-size:7px}.brand img{width:28px}.otto{display:none}main{margin-left:0;padding:0 18px}.topbar{height:auto;padding:15px 0;flex-wrap:wrap;gap:10px}.breadcrumb{display:none}.actions{width:100%;justify-content:space-between}.actions .quiet{font-size:11px;gap:6px}.actions .quiet svg{display:none}.primary{padding:11px 13px}.welcome{padding:24px 0;gap:10px;align-items:flex-start}h1{font-size:28px}.welcome p{max-width:230px;font-size:11px}.welcome-right .pill{display:none}.welcome-right{padding-top:8px;max-width:110px;text-align:right}.text-button{font-size:10px;text-align:right}.workspace{grid-template-columns:1fr;gap:25px}.step-tabs button{flex-direction:row;padding:12px 4px}.preview-column{position:static}.paper{padding:29px;max-width:550px;margin:auto;min-height:510px}.paper-middle{grid-template-columns:1fr 150px}.paper-middle>img{width:150px;height:225px}.paper-metrics b{font-size:19px}.page-footer{flex-direction:column}.welcome .eyebrow{font-size:8px;letter-spacing:1.5px}.totals{padding:0 14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}


#login-screen{display:none;min-height:100vh;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#e2efff,#f7f9fc 65%)}
.signed-out #login-screen{display:grid}.signed-out>aside,.signed-out>main{display:none}
.login-card{text-align:center;max-width:520px;padding:40px;background:white;border:1px solid #dce5f0;border-radius:28px;box-shadow:0 20px 70px #15355b12}
.login-card>img{height:240px}.login-card h1{font-size:36px;line-height:1.15;margin:20px 0}.login-card p{line-height:1.6;color:#65758b}.login-card button{margin:18px 0}
#login-status{font-size:13px}#history-dialog{width:min(850px,94vw);max-width:94vw;max-height:85vh}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e1e8f1}.history-row small{display:block;color:#687990;margin-top:7px}.history-row button{flex-shrink:0}.actions{flex-wrap:wrap}#more-history{margin-top:20px}#history-dialog>p{color:#687990;line-height:1.6}
@media(max-width:600px){.history-row{align-items:start;flex-direction:column}.login-card{padding:25px}.login-card h1{font-size:30px}.actions{gap:8px}}
