:root{font-family:Calibri,'Segoe UI',Arial,sans-serif;color:#20324b;background:#f7f9fb;font-synthesis:none;--accent:#254fce;--line:#d9e0e7;--muted:#53647a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #cbd5e1;border-radius:6px;padding:9px 13px;background:white;color:#20324b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;font-size:14px}button:hover,.button:hover{background:#edf2fa}button:disabled{opacity:.5;cursor:wait}button.primary{background:#254fce;border-color:#254fce;color:white}button.primary:hover{background:#1d3ea5}button:focus-visible,a:focus-visible,.button:focus-within,input:focus,textarea:focus,select:focus{outline:3px solid #84a5ff;outline-offset:2px}.top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:white;border-bottom:1px solid var(--line)}.brand{font-size:22px;font-weight:700;letter-spacing:-.7px;text-decoration:none;color:#20324b;display:flex;align-items:center;gap:10px}.brand svg{width:25px;height:30px;color:#254fce}.brand span{font-size:13px;font-weight:400;letter-spacing:0;margin-left:10px;color:var(--muted)}.actions{display:flex;gap:8px;align-items:center}main{max-width:1600px;margin:auto;padding:0 28px}.intro{padding:25px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}h1{font-size:27px;letter-spacing:-.7px;margin:0 0 6px;font-weight:650}.intro p{margin:0;color:var(--muted);font-size:16px}.local-status{font-size:13px;display:flex;gap:7px;align-items:center;color:#315946}.local-status i{width:7px;height:7px;border-radius:50%;background:#3f865f}.message{display:none;padding:12px 16px;background:#e8efff;border:1px solid #b6caf7;border-radius:6px;margin-bottom:14px;font-size:14px}.message.show{display:block}.message.error{background:#fff0ec;border-color:#f4b2a4;color:#812e20}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;min-height:760px;background:white;align-items:start}.editor{padding:0 22px 22px;position:sticky;top:0;max-height:calc(100vh - 25px);overflow:auto}.tabbar{display:flex;margin:0 -22px 22px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.tabbar button{flex:1;border:0;border-radius:0;background:transparent;padding:17px 5px;color:#53647a;border-bottom:3px solid transparent}.tabbar button.active{border-color:#254fce;color:#254fce;font-weight:700}.tabbar span{font-size:11px;border-radius:10px;background:#e8efff;padding:1px 5px}h2{font-size:19px;letter-spacing:-.3px;margin:0 0 18px}label{display:block;font-size:13px;font-weight:600;margin-bottom:15px}input:not([type=checkbox]),textarea,select{display:block;width:100%;margin-top:6px;border:1px solid #bcc7d4;padding:10px 11px;border-radius:5px;background:white;color:#20324b;min-width:0}input[type=file][hidden]{display:none}input::placeholder,textarea::placeholder{color:#7b8797}textarea{resize:vertical}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hint{font-size:12px;line-height:1.6;color:var(--muted)}.logo-upload{width:100%;margin-bottom:8px}.textbutton{border:0;padding:4px 2px;font-size:12px;background:transparent;color:#254fce;display:inline-flex}.check{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:400}.check input{accent-color:#254fce}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #7893b8;background:#f2f6fe;min-height:112px;border-radius:6px;cursor:pointer}.dropzone span{font-weight:400;font-size:11px;color:var(--muted)}.photo-editor{padding:12px 0;border-bottom:1px solid var(--line)}.photo-meta{display:flex;gap:10px;align-items:center}.photo-meta img{width:64px;height:52px;object-fit:cover;background:#e9edf1;border-radius:3px}.photo-meta span{font-size:12px;word-break:break-word;flex:1}.photo-editor input,.photo-editor select{font-size:13px;margin:8px 0}.photo-buttons{display:flex;gap:7px}.photo-buttons button{font-size:11px;padding:5px 8px}.preview{background:#e9edf1;padding:18px 34px 30px;min-height:760px;overflow:hidden;border-left:1px solid var(--line)}.preview-toolbar{font-size:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;color:#526074;max-width:740px;margin:0 auto 17px}#sample-badge{color:#6c5134;font-size:10px;background:#fff7df;padding:4px 7px;border-radius:4px}#pages{display:flex;flex-direction:column;gap:24px;max-width:740px;margin:auto}#pages.no-gaps{gap:2px}.report-page{background:white;box-shadow:0 4px 13px #26385314;position:relative;aspect-ratio:210/297;display:flex;flex-direction:column;padding:6.65% 6.65%;font-size:clamp(9px,1vw,14px);min-height:0;--report:#254fce}.report-page.letter{aspect-ratio:215.9/279.4}.report-head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:2px solid var(--report);padding-bottom:12px;font-size:12px;min-height:39px}.report-head img{max-width:90px;max-height:37px;object-fit:contain}.report-head strong{overflow-wrap:anywhere}.report-ref{font-size:10px;color:#637084;white-space:pre-line}.report-body{flex:1;min-height:0;display:flex;flex-direction:column;padding-top:5%}.report-page h3{font-family:Georgia,serif;font-size:clamp(20px,2.9vw,38px);line-height:1.16;letter-spacing:-.6px;margin:10% 0 8%;font-weight:400;overflow-wrap:anywhere}.report-info{display:grid;grid-template-columns:90px 1fr;gap:10px 18px;font-size:12px;margin-bottom:7%}.report-info dt{color:#637084}.report-info dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}.report-summary{white-space:pre-line;overflow-wrap:anywhere;line-height:1.7;font-size:12px}.report-summary:before{content:'Work notes';display:block;font-weight:700;margin-bottom:7px;font-family:Calibri,'Segoe UI',Arial,sans-serif}.report-foot{border-top:1px solid #dde3eb;padding-top:10px;font-size:9px;display:flex;justify-content:space-between;gap:15px;color:#637084;margin-top:15px}.report-grid{flex:1;min-height:0;display:grid;gap:18px;grid-template-columns:1fr;grid-template-rows:1fr}.report-grid.two{grid-template-rows:1fr 1fr}.report-grid.four{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.report-photo{margin:0;display:flex;flex-direction:column;min-height:0;overflow:hidden}.report-photo .photo-box{background:#f2f4f6;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.report-photo img{width:100%;height:100%;object-fit:contain;min-height:0}.report-photo figcaption{font-size:11px;line-height:1.5;padding-top:7px;overflow-wrap:anywhere;min-height:34px}.photo-label{font-weight:700;color:var(--report);display:block;font-size:10px;margin-bottom:2px}.report-grid.four figcaption{font-size:10px}.empty{background:white;border:1px dashed #c4cfdd;padding:70px 25px;text-align:center;max-width:600px;margin:40px auto;border-radius:7px}.empty .sheet-icon{width:72px;height:90px;margin:0 auto 25px;border:2px solid #a5b6d1;border-radius:4px;position:relative}.sheet-icon:after{content:'';position:absolute;left:12px;right:12px;top:17px;height:38px;border:1px solid #b0c2dc;background:linear-gradient(150deg,#ebf2fc 50%,#c9dbf3 51%)}.empty h2{font-weight:500;margin-bottom:10px}.empty p{font-size:14px;color:var(--muted);line-height:1.6}.empty button{margin:12px 0}.preview-note{text-align:center;font-size:11px;color:#637084;padding-top:18px}details{font-size:12px;line-height:1.7;border-top:1px solid var(--line);margin:22px 0;padding-top:14px}summary{cursor:pointer;font-weight:600;font-size:13px}.danger{color:#993a31;margin-top:20px;font-size:12px}footer{display:flex;justify-content:space-between;gap:20px;color:#637084;font-size:12px;padding:22px 0 35px}footer a{color:#425c89}.prose{max-width:760px;margin:60px auto;line-height:1.8}.prose h1{font-size:34px}.prose h2{margin-top:30px}.prose a{color:#254fce}[hidden]{display:none!important}@media(min-width:1500px){.preview{padding-inline:70px}}@media(max-width:1000px){main{padding:0 18px}.top{padding:15px 18px}.brand span{display:none}.workspace{grid-template-columns:290px minmax(0,1fr)}.editor{padding-inline:16px}.tabbar{margin-inline:-16px}.preview{padding:18px}.report-page{font-size:11px}.report-info,.report-summary{font-size:10px}.report-info{grid-template-columns:65px 1fr;gap:7px}.report-head{font-size:10px}.report-ref{font-size:8px}.report-foot{font-size:7px}.report-photo figcaption{font-size:9px}.report-photo .photo-label{font-size:8px}.report-grid{gap:12px}}@media(max-width:760px){.top{align-items:flex-start;flex-direction:column;gap:13px;padding:15px}.actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.actions button,.actions .button{font-size:12px;padding:9px 8px}.brand{font-size:22px}.brand span{display:block;font-size:12px;margin-left:2px}.intro{align-items:flex-start;flex-direction:column;gap:13px;padding:22px 0}h1{font-size:25px}.intro p{font-size:14px}.local-status{font-size:12px}main{padding:0 12px}.workspace{display:flex;flex-direction:column;min-height:0}.editor{width:100%;max-height:none;position:static;padding-bottom:20px}.tabbar{position:static}.editor section{max-width:500px;margin:auto}.preview{width:100%;min-height:480px;border:0;border-top:1px solid var(--line);padding:16px 10px 25px}.report-page{padding:7%}.report-page h3{font-size:24px}.report-head{font-size:10px}.report-summary,.report-info{font-size:10px}.report-grid{gap:10px}.report-photo figcaption{font-size:9px}.preview-toolbar{font-size:10px;gap:5px}.preview-toolbar .textbutton{font-size:10px}#sample-badge{font-size:9px;max-width:110px}.report-foot{font-size:6px}footer{font-size:11px;flex-wrap:wrap;line-height:1.6;gap:8px 20px}.prose{margin:35px 8px}.prose h1{font-size:28px}}

.notice{background:#e8efff;border-left:3px solid #254fce;padding:15px 20px}dt{font-weight:600}dd{margin:3px 0 18px}code{font-size:.9em;overflow-wrap:anywhere}dialog{max-width:760px;width:calc(100% - 28px);padding:26px;border:1px solid #cbd5e1;border-radius:10px;color:#20324b;box-shadow:0 15px 80px #20324b33}dialog::backdrop{background:#20324b80}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{margin:0;font-size:24px}.price-table{border-collapse:collapse;width:100%;margin:23px 0;font-size:14px}.price-table th,.price-table td{text-align:left;vertical-align:top;padding:14px 10px;border-bottom:1px solid #d9e0e7;width:33.3%}.price-table th{color:#254fce}.price-table .prices{font-size:27px;font-weight:650}.prices small{font-size:12px;font-weight:400;white-space:nowrap}.price-table td{line-height:1.6}.price-table-wrap{overflow-x:auto}@media(max-width:760px){dialog{padding:17px}.dialog-head h2{font-size:22px}.price-table{font-size:12px}.price-table th,.price-table td{padding:10px 6px}.price-table .prices{font-size:22px}.prices small{display:block}.top .actions{grid-template-columns:1fr 1fr}.prose dd{margin-left:0}}

.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.plan-card{border:1px solid #d9e0e7;border-radius:8px;padding:18px 14px;display:flex;flex-direction:column}.plan-card h3{margin:0;font-size:17px}.plan-card .price{display:flex;align-items:baseline;gap:3px;flex-wrap:wrap;margin:20px 0 12px}.price .currency{font-size:14px;font-weight:600}.price strong{font-size:34px;line-height:1;letter-spacing:-1px;font-variant-numeric:tabular-nums}.price small{flex-basis:100%;margin-top:6px;color:#53647a;font-size:12px}.plan-card>p:not(.price){font-size:13px;line-height:1.6;flex:1}.plan-card button{font-size:12px;width:100%}.pack-line{font-size:13px;line-height:1.8}.pack-line button{font-size:12px;margin-left:6px}#billing-status.error{color:#812e20}@media(max-width:560px){.plan-grid{grid-template-columns:1fr;gap:10px}.plan-card{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:15px}.plan-card h3{grid-column:1}.plan-card .price{grid-column:2;grid-row:1 / 3;margin:0;justify-content:flex-end}.price small{text-align:right}.plan-card>p:not(.price){grid-column:1;margin:8px 0}.plan-card button{grid-column:1 / 3;margin-top:10px}}
