:root{--purple:#6b30b3;--purple-dark:#4c1e8b;--ink:#202134;--muted:#667085;--line:#e8e5ef;--lavender:#f5effc;--paper:#fff;--bg:#faf9fc}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9b69d8;outline-offset:3px}[hidden]{display:none!important}.wrap{width:min(1200px,calc(100% - 40px));margin:auto}.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;padding:12px;border:2px solid var(--purple)}.skip-link:focus{top:12px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-name{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:16px;letter-spacing:.02em}.brand-mark{display:grid;place-items:center;width:30px;height:30px;background:var(--purple);color:#fff;border-radius:9px;font-weight:900}.brand-separator{width:1px;height:22px;background:#d6d0e1}.brand-tools{font-weight:800;color:var(--purple);text-decoration:none}.site-header nav{display:flex;align-items:center;gap:26px}.site-header nav a{text-decoration:none;font-size:13px;font-weight:650;color:#4f4a5b}.site-header nav a:hover,.breadcrumb a:hover,.footer-inner a:hover{color:var(--purple)}.site-header nav .all-tools{border:1px solid #e1d8ed;border-radius:10px;padding:8px 12px}.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:22px 0 0;color:#897f92;font-size:12px}.breadcrumb a{text-decoration:none}.breadcrumb [aria-current]{color:#4a3a61;font-weight:650}.hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:40px;padding:55px 0 54px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.17em;color:var(--purple);margin:0 0 12px}.hero h1{font-size:clamp(34px,4.1vw,57px);line-height:1.12;letter-spacing:-.045em;margin:0;max-width:730px}.hero h1 span{color:var(--purple)}.hero-text{color:#5d6070;font-size:17px;max-width:630px;margin:20px 0}.hero-points{display:flex;flex-wrap:wrap;gap:10px 20px;margin:0 0 28px;color:#5d4b70;font-size:13px;font-weight:650}.primary-button,.secondary-button{border-radius:11px;padding:11px 18px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-align:center;text-decoration:none;font-weight:750;font-size:13px}.primary-button{background:var(--purple);color:#fff;box-shadow:0 8px 20px #6b30b326}.primary-button:hover{background:var(--purple-dark)}.secondary-button{background:#fff;color:#4c315f;border-color:#ddd4e9}.secondary-button:hover{background:#f9f5fd}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px;background:radial-gradient(circle at 65% 25%,#e9d9fc 0,#f3eafd 43%,transparent 75%);border-radius:32px}.mock-paper{background:#fff;width:min(340px,85%);min-height:245px;box-shadow:0 22px 60px #63358a29;border:1px solid #eee5f7;border-radius:7px;transform:rotate(-3deg);padding:26px}.mock-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.mock-top strong{font-size:24px;letter-spacing:.08em;color:#403052}.mock-top span{font-size:10px;color:#84798e}.mock-rule{height:4px;background:#8b54c7;margin:18px 0}.mock-lines i{display:block;height:10px;background:#eee8f4;border-radius:3px;margin:11px 0}.mock-lines i:nth-child(2){width:78%}.mock-lines i:nth-child(3){width:54%}.mock-total{display:flex;justify-content:space-between;border-top:1px solid #eee8f4;padding-top:14px;margin-top:20px;font-size:12px}.mock-total b{font-size:15px;color:#5c279c}.float-badge{position:absolute;right:9%;bottom:15px;padding:9px 15px;border-radius:20px;color:#5b2c91;background:#fff;box-shadow:0 8px 24px #4322601c;font-weight:750;font-size:12px}.intro-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px 25px}.intro-strip div{display:flex;gap:14px;align-items:center}.intro-strip b{color:var(--purple);font-size:13px}.intro-strip span{font-size:13px;font-weight:650}.generator{padding:70px 0 30px;scroll-margin-top:18px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 24px}.section-heading h2,.guide>h2,.faq h2{font-size:clamp(27px,3vw,38px);letter-spacing:-.035em;line-height:1.15;margin:0 0 8px}.section-heading p:last-child{color:var(--muted);margin:0}.live-chip,.paper-tag{white-space:nowrap;background:#eaf8ee;color:#207045;padding:7px 11px;border-radius:30px;font-size:10px;font-weight:800;letter-spacing:.08em}.workspace{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:22px;align-items:start}.form-card,.preview-column{min-width:0}.form-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #32204408;overflow:hidden}.form-section{padding:25px 25px 27px;border-bottom:1px solid var(--line)}.form-section-last{border-bottom:0}.form-heading{display:flex;gap:13px;align-items:start;margin:0 0 20px}.form-heading>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;background:var(--lavender);border-radius:9px;color:var(--purple);font-size:12px;font-weight:850}.form-heading h3{margin:-3px 0 1px;font-size:17px;line-height:1.3}.form-heading p{margin:0;color:var(--muted);font-size:12px}.form-section label,.item-card label,.fee-row label{display:block;color:#3d3546;font-weight:700;font-size:12px;margin:0 0 14px}.form-section input,.form-section select,.form-section textarea,.item-card input,.item-card select,.fee-row input{display:block;width:100%;min-width:0;border:1px solid #dcd8e5;background:#fff;color:#252233;border-radius:9px;padding:10px 11px;margin-top:6px;font-weight:500;font-size:13px;min-height:42px}.form-section textarea{resize:vertical;min-height:72px}.form-section input::placeholder,.form-section textarea::placeholder,.item-card input::placeholder,.fee-row input::placeholder{color:#a09aaa}.form-section input:hover,.form-section select:hover,.item-card input:hover,.item-card select:hover,.fee-row input:hover{border-color:#bba8d4}.two-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.three-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.field-help{display:block;color:#81798c;font-weight:500;font-size:11px;margin-top:5px}.field-warning,.field-error{color:#9e4b12;background:#fff6e8;border:1px solid #f5ddba;border-radius:8px;padding:8px 10px;font-size:12px;margin:2px 0 12px}.field-error{color:#a23030;background:#fff1f1;border-color:#f2c8c8}.logo-field{border:1px dashed #c9b8df;background:#fbf8ff;border-radius:10px;padding:13px}.logo-field label{margin:0}.logo-field small{display:block;color:var(--muted);font-size:11px;font-weight:500}.logo-field input{border:0;padding:6px 0;margin:4px 0;min-height:auto;background:transparent}.logo-control{display:flex;align-items:center;gap:12px}.logo-control img{max-width:80px;max-height:50px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:5px}.text-button{background:none;color:var(--purple);border:0;font-size:12px;font-weight:800;padding:5px 0}.text-button:hover{text-decoration:underline}.text-button:disabled{color:#a7a2ad;text-decoration:none;cursor:not-allowed}.item-list{display:grid;gap:14px}.item-card{border:1px solid #e1d7eb;background:#fcfaff;border-radius:12px;padding:16px}.item-head,.fees-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.item-head strong,.fees-heading strong{font-size:13px}.item-fields{display:grid;grid-template-columns:.75fr .9fr 1.3fr;gap:10px}.discount-fields{grid-template-columns:1fr 1fr 1fr}.item-amount{display:flex;flex-direction:column;justify-content:center;align-items:end;font-size:11px;color:var(--muted)}.item-amount strong{font-size:15px;color:var(--purple);white-space:nowrap}.add-button{margin-top:14px;border:1px dashed #b69cd3;background:#f8f2ff;color:var(--purple);border-radius:9px;padding:9px 14px;font-size:12px;font-weight:800;width:100%}.add-button:hover{background:#f0e5fc}.fee-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:10px;align-items:end;border:1px solid var(--line);padding:10px;border-radius:9px;margin-bottom:9px}.fee-row label{margin:0}.fee-row button{margin:0 0 8px}.preview-column{position:sticky;top:18px}.preview-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 2px 14px}.preview-top h2{font-size:20px;letter-spacing:-.025em;margin:-7px 0 1px}.preview-top p:last-child{margin:0;color:var(--muted);font-size:12px}.paper-tag{background:#eee9f6;color:#5e4780}.sheet-shell{overflow-x:auto;border-radius:13px;background:#eeeaf3;padding:18px;border:1px solid #e3ddea}.invoice-sheet{--invoice-accent:#6b30b3;min-width:600px;min-height:775px;background:#fff;color:#232535;padding:34px 34px 48px;box-shadow:0 10px 22px #2e203714;font-size:11px;line-height:1.5}.sheet-header{display:flex;justify-content:space-between;gap:25px;align-items:start}.sheet-brand{display:flex;flex-direction:column;max-width:58%;min-width:0}.sheet-brand img{max-width:125px;max-height:65px;object-fit:contain;object-position:left center;margin-bottom:10px}.sheet-brand strong{font-size:17px;overflow-wrap:anywhere}.sheet-brand span,.sheet-meta span,.sheet-bottom-left p{white-space:pre-line;overflow-wrap:anywhere;color:#646777}.sheet-heading{text-align:right;min-width:35%}.sheet-heading h2{font-size:30px;line-height:1;margin:0 0 9px;letter-spacing:.1em;color:var(--invoice-accent)}.sheet-heading strong{color:#565568;font-size:11px;overflow-wrap:anywhere}.sheet-rule{height:3px;background:var(--invoice-accent);margin:25px 0 22px}.sheet-meta{display:flex;justify-content:space-between;gap:30px;margin-bottom:30px}.sheet-meta>div:first-child{display:flex;flex-direction:column;max-width:58%;min-width:0}.sheet-meta small,.sheet-dates small{color:#828393;font-size:9px;letter-spacing:.12em;font-weight:800}.sheet-meta strong{font-size:13px;overflow-wrap:anywhere}.sheet-dates{display:grid;gap:8px;min-width:35%;text-align:right}.sheet-dates div{display:flex;flex-direction:column}.invoice-table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}.invoice-table th,.invoice-table td{padding:11px 6px;overflow-wrap:anywhere;text-align:right;vertical-align:top}.invoice-table thead th{background:#f3eff8;color:#56506a;text-transform:uppercase;font-size:8px;letter-spacing:.06em}.invoice-table th:first-child,.invoice-table td:first-child{text-align:left;width:39%;padding-left:10px}.invoice-table th:nth-child(2){width:13%}.invoice-table th:nth-child(3){width:18%}.invoice-table th:nth-child(4){width:14%}.invoice-table th:nth-child(5){width:16%}.invoice-table tbody tr{border-bottom:1px solid #e9e7ec}.invoice-table tbody th{font-weight:500}.invoice-table tbody th strong{display:block;color:#292536}.invoice-table tbody th small{display:block;color:#848190;font-size:9px;margin-top:3px}.sheet-bottom{display:grid;grid-template-columns:1fr minmax(205px,42%);gap:25px;margin-top:26px}.sheet-bottom-left section{margin-bottom:20px}.sheet-bottom-left h3{font-size:10px;text-transform:uppercase;color:var(--invoice-accent);letter-spacing:.07em;margin:0 0 6px}.sheet-bottom-left p{margin:0}.totals{margin:0}.totals>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.totals dt{color:#656474}.totals dd{margin:0;text-align:right;font-weight:650;white-space:nowrap}.totals .total-grand{border-top:2px solid var(--invoice-accent);margin-top:5px;padding-top:11px;color:#232535;font-weight:850}.total-grand dt{color:#232535}.total-grand dd{color:var(--invoice-accent);font-size:17px}.sheet-signature{margin-top:50px;display:flex;flex-direction:column;align-items:start}.sheet-signature span{color:#7d7b86}.sheet-signature strong{margin-top:45px;border-top:1px solid #aaa;padding-top:5px;min-width:140px;overflow-wrap:anywhere}.sheet-signature small{color:#777}.invoice-sheet.minimal .sheet-rule{height:1px}.invoice-sheet.minimal .invoice-table thead th{background:#f4f4f4}.invoice-sheet.minimal .sheet-heading h2,.invoice-sheet.minimal .total-grand dd,.invoice-sheet.minimal .sheet-bottom-left h3{color:#202631}.action-panel{background:#fff;border:1px solid var(--line);border-radius:0 0 13px 13px;padding:20px;margin-top:12px}.validation-box{border:1px solid #e6a8a8;background:#fff3f3;color:#8b2525;border-radius:9px;padding:11px 14px;margin-bottom:12px;font-size:12px}.validation-box ul{margin:5px 0 0;padding-left:19px}.action-status{color:#5c3479;font-size:12px;margin:0 0 10px}.action-status:empty{display:none}.action-buttons{display:flex;flex-wrap:wrap;gap:8px}.pdf-help,.privacy-note{color:#6b6675;font-size:11px;margin:11px 0 0}.privacy-note{background:#f7f4fb;border-radius:8px;padding:9px}.sitoksir{margin:50px 0 62px;padding:30px 35px;border:1px solid #d4e9e6;background:linear-gradient(110deg,#ebf8f5,#fff);border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:25px}.sitoksir .eyebrow{color:#087c6b}.sitoksir h2{margin:0 0 7px;font-size:24px;letter-spacing:-.025em}.sitoksir p:last-child{margin:0;color:#5a6969}.sitoksir a{white-space:nowrap;color:#fff;background:#0d8376;border-radius:10px;padding:12px 17px;font-size:13px;font-weight:800;text-decoration:none}.sitoksir a:hover{background:#075f56}.guide,.faq{padding:0 0 60px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.guide-grid article,.guide-copy article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px}.guide-grid span{font-weight:850;color:var(--purple);font-size:12px}.guide h3{font-size:17px;margin:8px 0 6px}.guide p,.faq p{color:#626575}.guide-grid p,.guide-copy p{margin:0;font-size:13px}.guide-copy{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.guide-copy h3{margin:0 0 8px}.faq-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;margin-top:20px}.faq details{border-bottom:1px solid var(--line);padding:0 20px}.faq details:last-child{border-bottom:0}.faq summary{cursor:pointer;padding:17px 0;font-weight:750}.faq details p{margin:0 0 18px;font-size:13px;max-width:850px}.faq details a{color:var(--purple)}.related{padding:0 0 60px}.related h2{font-size:23px;margin:0 0 15px}.related>div{display:flex;flex-wrap:wrap;gap:10px}.related a{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 13px;color:var(--purple);text-decoration:none;font-weight:750;font-size:12px}.related a:hover{background:var(--lavender)}.site-footer{border-top:1px solid var(--line);background:#fff}.footer-inner{min-height:68px;display:flex;justify-content:space-between;align-items:center;gap:18px;color:#696272;font-size:12px}.footer-inner div{display:flex;gap:18px}.footer-inner a{text-decoration:none}@media(max-width:1040px){.workspace{grid-template-columns:1fr}.preview-column{position:static}.invoice-sheet{min-height:650px}.hero{gap:15px}}@media(max-width:700px){.wrap{width:min(100% - 28px,1200px)}.site-header nav{gap:12px}.site-header nav a:not(.all-tools){display:none}.hero{grid-template-columns:1fr;padding:36px 0}.hero-art{min-height:225px}.mock-paper{min-height:185px;padding:20px}.mock-lines i{margin:8px 0}.intro-strip{grid-template-columns:1fr;gap:13px;padding:18px}.generator{padding-top:49px}.section-heading{display:block}.live-chip{display:inline-block;margin-top:12px}.sitoksir{display:block;padding:24px}.sitoksir a{display:inline-block;margin-top:18px}.guide-grid,.guide-copy{grid-template-columns:1fr}}@media(max-width:500px){.brand-name strong{font-size:13px}.header-inner{min-height:62px}.breadcrumb{font-size:11px}.hero h1{font-size:35px}.hero-text{font-size:15px}.form-section{padding:20px 16px}.two-fields,.three-fields{grid-template-columns:1fr;gap:0}.item-fields{grid-template-columns:1fr 1fr}.item-fields label:last-child{grid-column:1/-1}.discount-fields{grid-template-columns:1fr 1fr}.discount-fields .item-amount{grid-column:1/-1;align-items:start;margin:0 0 9px}.fee-row{grid-template-columns:1fr 1fr}.fee-row button{grid-column:1/-1;justify-self:start;margin:0}.sheet-shell{padding:10px}.action-buttons{display:grid;grid-template-columns:1fr 1fr}.action-buttons .primary-button{grid-column:1/-1}.footer-inner{display:block;padding:17px 0}.footer-inner div{margin-top:9px;flex-wrap:wrap}}
@media print{@page{size:A4;margin:12mm}html,body{width:100%;height:auto;margin:0;padding:0;background:#fff;print-color-adjust:exact;-webkit-print-color-adjust:exact}body>*:not(main),main>*:not(#generator),#generator>*:not(.workspace),.workspace>*:not(.preview-column),.preview-column>*:not(.sheet-shell){display:none!important}main.wrap,#generator,.workspace,.preview-column,.sheet-shell{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important;position:static!important}.invoice-sheet{width:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important;font-size:10pt}.sheet-heading h2{font-size:26pt}.sheet-brand strong{font-size:15pt}.sheet-meta{margin-bottom:18pt}.sheet-rule{margin:17pt 0}.invoice-table{font-size:8pt}.invoice-table thead{display:table-header-group}.invoice-table tr{break-inside:avoid;page-break-inside:avoid}.invoice-table th,.invoice-table td{padding:7pt 3pt}.sheet-bottom{break-inside:avoid;page-break-inside:avoid}.sheet-signature{break-inside:avoid;page-break-inside:avoid;margin-top:36pt}.totals .total-grand{border-color:#333}.invoice-table thead th{background:#f5f5f5!important}.sheet-rule{background:#333!important}.invoice-sheet .sheet-heading h2,.invoice-sheet .total-grand dd,.invoice-sheet .sheet-bottom-left h3{color:#222!important}}
