@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap");:root{--bg:#f7f8fb;--surface:#fff;--ink:#272936;--muted:#9093a2;--line:#eceef3;--purple:#7863df;--purple-dark:#6650cf;--purple-soft:#f1edfd;--green:#2e9a7e;--sidebar:#1b1a2b;--radius:13px;--shadow:0 3px 12px #24213403;--font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a,button{color:inherit}a{text-decoration:none}input,select,textarea{max-width:100%}select{--select-padding-end:38px;--select-arrow-inset:12px;appearance:none;border:1px solid #e4e2ea;border-radius:8px;background-color:var(--surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23797584' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--select-arrow-inset) center;background-size:16px 16px;color:#423e4c;min-height:39px;padding:9px var(--select-padding-end) 9px 11px;line-height:1.4;text-overflow:ellipsis;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}select:enabled:hover{border-color:#beb5d4}.field select:disabled,.new-invoice-form select:disabled,select:disabled{background-color:#f6f6f9;color:#8a8494;border-color:#e4e2ea;cursor:not-allowed;opacity:1}select optgroup,select option{background-color:var(--surface);color:var(--ink)}@media (forced-colors:active){select{appearance:auto;background-image:none}}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b1a0f4;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:"Manrope",var(--font)}h1{font-size:27px;letter-spacing:-.95px;line-height:1.35;margin-bottom:7px}h1,h2{font-weight:750}h2{font-size:16px;letter-spacing:-.3px;margin-bottom:0}h3{font-size:15px}svg{flex-shrink:0}button{border:0;background:none}::selection{background:#e4dcfe}kbd{font-family:var(--font);font-size:11px;padding:2px 5px;border:1px solid #e6e7ed;border-radius:4px;color:#9395a2}.sr-only,kbd{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.muted{color:var(--muted)}.full-width{grid-column:1/-1}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:236px;height:100vh;height:100dvh;background:var(--sidebar);color:#aaa9bd;padding:30px 18px 0;display:flex;flex-direction:column}.sidebar>:not(.sidebar-scroll){flex-shrink:0}.sidebar-scroll{display:flex;flex-direction:column;flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#5c5572 transparent;padding-bottom:env(safe-area-inset-bottom,0)}.sidebar-scroll>*{flex-shrink:0}.sidebar-scroll:focus-visible{outline:2px solid #ad9dec;outline-offset:-2px}.sidebar-demo-link{border:1px solid #514268;background:#30283f;color:#e0d2f6;margin-bottom:10px}.brand{display:flex;align-items:center;gap:9px;color:#fff;font-size:24px;font-weight:750;letter-spacing:-1px;padding:0 9px 30px;font-family:"Manrope",var(--font)}.brand>span:last-child{display:flex;align-items:baseline}.brand-light{font-weight:450;color:#eeedf8}.brand i{display:block;width:5px;height:5px;border-radius:50%;background:#a997f7;margin-left:3px}.brand-mark{position:relative;background:#8b74ed;font-size:25px;font-weight:800;width:34px;height:36px;display:grid;place-items:center;border-radius:9px;line-height:1;transform:rotate(-2deg)}.brand-mark span{position:absolute;width:7px;height:4px;background:var(--sidebar);right:4px;bottom:8px;transform:rotate(-20deg)}.workspace-switch{border:1px solid #363445;background:#242334;border-radius:9px;padding:12px 10px;display:flex;align-items:center;width:100%;gap:10px;text-align:left;color:#e9e8f1;margin-bottom:28px}.workspace-switch>span:nth-child(2){flex:1 1;min-width:0}.workspace-switch strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-switch small{display:block;color:#8e8ba2;font-size:11px;margin-top:2px}.workspace-symbol{font-size:20px;font-weight:650;letter-spacing:-2px;background:#f3f0e9;border-radius:7px;color:#252430;width:33px;height:33px;display:flex;align-items:center;justify-content:center}.workspace-symbol span{font-size:9px;letter-spacing:0;align-self:flex-start;margin-top:6px}.nav-caption{text-transform:uppercase;font-size:9px;font-weight:600;letter-spacing:1.4px;margin:0 12px 11px;color:#69667f}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;border-radius:7px;padding:11px 13px;text-align:left;width:100%;font-size:12px;color:#aaa8be;transition:background .15s,color .15s}.nav-link:hover{background:#282637;color:#fff}.nav-link.active{background:linear-gradient(100deg,#7760dd,#6b55d4);box-shadow:0 3px 12px #0002;color:#fff}.nav-link.active svg{color:#eeebff}.nav-count{font-size:10px;padding:0 6px;background:#383346;border:1px solid #464055;border-radius:4px;margin-left:auto;color:#d3c8ef}.active .nav-count{background:#ffffff18;border-color:#ffffff20;color:white}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{position:relative;margin:0 4px 24px;padding:16px 12px 13px;background:linear-gradient(120deg,#312c49,#272338);border:1px solid #413852;border-radius:9px}.sidebar-note>.small-orb{background:#8d77e223;border:1px solid #77629470;color:#c6b6f4;width:28px;height:28px;display:grid;place-items:center;border-radius:7px;margin-bottom:10px}.sidebar-note strong{font-size:11px;color:#e1d9f7}.sidebar-note p{font-size:10px;color:#a69aba;margin:5px 0 12px;line-height:1.7}.sidebar-note button{display:flex;align-items:center;gap:6px;color:#c5b5f2;font-size:10px;padding:0}.sidebar-profile{display:flex;align-items:center;gap:9px;border-top:1px solid #302d40;margin-top:14px;padding:17px 3px}.sidebar-profile>span:nth-child(2){flex:1 1;min-width:0}.sidebar-profile strong{display:block;font-size:11px;color:#e8e5f3;font-weight:500}.sidebar-profile small{font-size:10px;color:#78748d}.sidebar-profile button{color:#aaa}.workspace-main{margin-left:236px;min-height:100vh;display:flex;flex-direction:column}.demo-workspace-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px clamp(18px,3vw,36px);background:#f0edfc;color:#534096;border-bottom:1px solid #e1daf8;font-size:12px}.demo-workspace-banner strong{letter-spacing:.04em}.demo-workspace-banner a{display:inline-flex;align-items:center;gap:4px;margin-left:auto;text-decoration:underline;text-underline-offset:3px}@media (max-width:580px){.demo-workspace-banner a{margin-left:0}}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);padding:0 36px;justify-content:space-between;gap:20px}.breadcrumbs,.topbar{display:flex;align-items:center}.breadcrumbs{gap:12px;font-size:11px;color:#a0a2ae;white-space:nowrap}.breadcrumbs strong{font-weight:500;color:#5f6271}.breadcrumbs>span[title]{max-width:220px;overflow:hidden;text-overflow:ellipsis}.topbar-actions{gap:18px}.global-search,.topbar-actions{display:flex;align-items:center}.global-search{gap:9px;color:#a1a3af;font-size:11px}.global-search kbd{margin-left:14px}.language-select{display:flex;align-items:center;gap:5px;color:#797c8c;padding-left:18px;border-left:1px solid #e8e9ef}.language-select select{--select-padding-end:24px;--select-arrow-inset:3px;background-color:transparent;border:none;min-height:32px;padding:4px var(--select-padding-end) 4px 4px;font-size:11px;color:#67697b;max-width:118px;cursor:pointer}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:5px;border-radius:7px;color:#979aaa}.icon-button:hover{background:#f2effb;color:var(--purple)}.notification-button{position:relative}.notification-button>span{width:5px;height:5px;background:#a18bdd;border-radius:50%;position:absolute;right:6px;top:5px;border:1px solid #fff}.avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:31px;height:31px;border-radius:8px;font-size:10px;letter-spacing:-.3px;font-weight:700}.header-avatar .avatar{width:32px;height:32px;border-radius:50%}.mobile-menu{display:none}.page{padding:34px 36px 22px;max-width:1660px;margin:auto;width:100%}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-heading p{font-size:12px;color:#9294a2;margin:0}.heading-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:9px 15px;border-radius:7px;font-size:11px;font-weight:550;white-space:nowrap;border:1px solid transparent;transition:background .15s,box-shadow .15s}.button.primary{background:var(--purple);color:#fff;border-color:#7059d5;box-shadow:0 3px 6px #7660d315}.button.primary:hover{background:var(--purple-dark);box-shadow:0 3px 9px #7660d330}.button.secondary{background:#fff;border-color:#e5e7ee;color:#636674;box-shadow:0 1px 2px #12132103}.button.secondary:hover{border-color:#cfc6ef;background:#fdfcff}.button.danger{color:#c25d65;background:#fff0f1;border-color:#f5d5da}.button.ghost{color:var(--purple);background:#f1edfc}.date-button{font-size:11px;color:#8a8d9b}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 19px 13px;box-shadow:var(--shadow);overflow:hidden}.stat-header{display:flex;align-items:center;justify-content:space-between;color:#838694;font-size:11px;gap:8px}.stat-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center}.purple{color:#8a73d9;background:#f0ebfd}.green{color:#54a78a;background:#eaf7f0}.blue{color:#6c96d9;background:#eef3ff}.orange{color:#d79c58;background:#fff5e7}.stat-value{display:block;font-family:"Manrope",var(--font);font-size:27px;line-height:1.5;font-weight:750;letter-spacing:-1px;margin:9px 0 10px;white-space:nowrap}.stat-footer{justify-content:space-between;min-height:23px}.stat-footer,.stat-note{display:flex;align-items:center}.stat-note{gap:5px;font-size:10px;background:none}.stat-note.purple{color:#a1a3af}.stat-note.green{color:#70a58f}.stat-note.blue{color:#8d9bb8}.stat-note.orange{color:#c99a64}.tiny-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.mini-bars{display:flex;align-items:flex-end;gap:3px;height:26px;opacity:.75}.mini-bars i{width:5px;border-radius:2px 2px 0 0;background:#dbd1fa}.mini-bars i:last-child{background:#a695e7}.dashboard-middle{display:grid;grid-template-columns:minmax(0,1.94fr) minmax(270px,1fr);gap:22px;margin-bottom:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px 0}.panel-heading h2{font-size:14px}.panel-heading p{color:#a1a3b0;font-size:10px;margin:5px 0 0}.subtle-select{font-size:10px;color:#8b8d9b;border:1px solid #e9eaf0;border-radius:5px;padding:5px 9px}.chart-key{display:flex;gap:20px;padding:21px 22px 2px;font-size:10px;color:#9194a2}.chart-key>span{display:flex;align-items:center;gap:6px}.green-dot,.purple-dot{height:6px;width:6px;border-radius:50%;display:inline-block;background:#927de6}.green-dot{background:#65b29d}.chart{position:relative;margin:0 20px 12px}.chart svg{width:100%;height:auto;display:block;overflow:visible}.chart-tooltip{position:absolute;top:5px;left:45%;padding:6px 10px;background:#2d263e;color:#fff;border-radius:6px;font-size:10px}.quick-panel .panel-heading{padding-bottom:2px}.quick-spark{color:#b1a1e8;font-size:25px;line-height:1}.quick-links{padding:8px 20px}.quick-link{display:flex;gap:12px;align-items:center;padding:11px 0}.quick-link>span:nth-child(2){flex:1 1}.quick-link strong{display:block;font-size:11px;font-weight:600}.quick-link small{display:block;font-size:9px;color:#a2a3b0;margin-top:3px}.quick-link>svg{color:#b3b4c1}.quick-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:9px}.template-promo{display:flex;justify-content:space-between;align-items:center;margin:7px 19px 17px;padding:16px 15px 0;background:linear-gradient(110deg,#f2eefb,#f7f5fd);border:1px solid #efe9fb;border-radius:8px;overflow:hidden;min-height:88px}.template-promo small{font-size:8px;text-transform:uppercase;letter-spacing:1px;color:#a595c2}.template-promo strong{font-size:11px;display:block;margin-top:3px;max-width:130px;line-height:1.5}.promo-action{display:flex;align-items:center;gap:5px;color:#927ecc;font-size:9px;margin:8px 0 12px}.mini-invoice-art{display:block;position:relative;align-self:flex-end;transform:rotate(12deg) translateY(13px);width:68px;height:91px;background:#fff;border:1px solid #e6dff2;border-radius:3px;box-shadow:-8px 4px 0 -1px #e5dbf34a;padding:10px}.mini-invoice-art i{display:block;width:13px;height:13px;background:#9d87df;border-radius:3px}.mini-invoice-art b{display:block;width:27px;height:3px;background:#dad4e6;margin:8px 0}.mini-invoice-art em{display:block;height:2px;background:#e9e5f0;margin:4px 0}.mini-invoice-art>span{display:block;width:16px;height:5px;background:#cbbce7;margin:7px 0 0 auto}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.94fr) minmax(270px,1fr);gap:22px}.recent-panel .panel-heading{padding-bottom:19px}.text-link{display:inline-flex;align-items:center;gap:7px;color:#917cce;font-size:10px;white-space:nowrap}.table-scroll{position:relative;overflow-x:auto;width:100%}.data-table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}.data-table th{font-weight:400;color:#a0a2ae;font-size:10px;background:#fcfcfe;padding:11px 15px;border-bottom:1px solid #eff0f5}.data-table td{padding:13px 15px;border-bottom:1px solid #f0f1f5;height:60px}.data-table tr:last-child td{border-bottom:0}.data-table td:first-child,.data-table th:first-child{padding-left:22px}.data-table td:last-child,.data-table th:last-child{padding-right:17px}.data-table tbody tr:hover{background:#fdfcfe}.invoice-number{display:flex;gap:8px;align-items:center;font-weight:500;color:#737184}.document-icon{color:#b4aec7;display:inline-flex}.customer-cell{display:flex;align-items:center;gap:9px;font-size:10px}.customer-cell .avatar{height:27px;width:27px;font-size:8px;border-radius:6px}.invoice-table .amount-cell{text-align:right}.invoice-customer-details{display:flex;flex-direction:column;gap:3px}.invoice-customer-details small{color:var(--muted);font-size:11px}.invoice-table .invoice-peppol{min-width:130px;max-width:300px;white-space:normal}.invoice-table .invoice-actions{text-align:center}.amount-cell{font-weight:550;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.overdue-date{color:#c18c69}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;border-radius:4px;padding:3px 6px;line-height:1.5;white-space:nowrap}.badge>span{width:4px;height:4px;border-radius:50%;background:currentColor}.badge-paid{background:#edf8f1;color:#60a180}.badge-sent{background:#eef3fc;color:#809cce}.badge-overdue{background:#fff5e9;color:#c7955e}.badge-draft{background:#f1f1f5;color:#9b9ca8}.badge-partial{background:#f2edfb;color:#9a80c4}.peppol-badge{max-width:300px;white-space:normal;overflow-wrap:anywhere}.peppol-badge>span{width:auto;height:auto;min-width:0;border-radius:0;background:none}.peppol-badge svg{flex-shrink:0}.peppol-not-sent{background:#f1f1f5;color:#727584}.peppol-sending{background:#eef3fc;color:#3e6db0}.peppol-sent{background:#edf8f1;color:#2d8058}.peppol-error{background:#fff0f0;color:#b63d46}.peppol-unknown{background:#fff5e6;color:#946219}.document-peppol-test-notice{flex-basis:100%;margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.count-badge{font-size:10px;padding:1px 7px;background:#f7f0e8;color:#c89a66;border-radius:5px}.tasks-subtitle{font-size:10px;color:#a3a4b0;margin:7px 22px 17px}.task-item{display:flex;align-items:center;gap:10px;padding:13px 20px;border-bottom:1px solid #f0f1f5}.task-icon{width:30px;height:30px;background:#fff7ee;color:#d7ad79;border-radius:8px;display:grid;place-items:center}.task-item>span:nth-child(2){flex:1 1;min-width:0}.task-item strong{display:block;font-size:10px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-item small{font-size:9px;color:#a2a4b1;display:block;margin-top:4px}.task-item small>span{padding:0 3px}.task-item b{font-size:10px;font-weight:550;white-space:nowrap}.peppol-note{display:flex;align-items:center;gap:10px;padding:14px 20px;background:#fdfdff;margin-top:12px}.peppol-symbol{font-family:Arial,sans-serif;font-weight:700;color:#7f77a5;font-size:29px;letter-spacing:-2px;padding:0 4px}.peppol-symbol>span{color:#b6a9ce;font-weight:400}.peppol-note>span:nth-child(2){flex:1 1}.peppol-note strong{display:block;color:#827d96;font-size:11px;font-weight:550}.peppol-note small{display:block;font-size:9px;color:#aaa6b7}.peppol-note a{color:#b4accc}.workspace-footer{margin-top:auto;padding:20px 36px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#b3b4be}.workspace-footer>span>span{color:#c0c1ca;margin-left:6px}.workspace-footer button{display:flex;align-items:center;gap:6px;font-size:9px;color:#aaa8bb;padding:0}.toast{position:fixed;z-index:100;bottom:25px;left:50%;transform:translateX(-50%);background:#292536;border:1px solid #473b5e;color:#fff;box-shadow:0 8px 40px #19162922;padding:14px 16px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:13px;max-width:calc(100% - 30px)}.toast-check{color:#b9e9cf}.toast button{color:#bcb2cc;font-size:20px;margin-left:12px}.modal{border:1px solid #e4e0ee;border-radius:15px;padding:0;background:#fff;color:var(--ink);width:min(580px,calc(100vw - 30px));max-height:90dvh;box-shadow:0 25px 90px #17112640}.modal::backdrop{background:#19152e65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-wide{width:min(820px,calc(100vw - 30px))}.modal-heading{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-heading h2{font-size:18px}.modal-body{padding:24px}.modal-body>h3{margin-top:25px}.notice{display:flex;align-items:flex-start;gap:12px;border:1px solid #e8e1f7;background:#f8f5fe;color:#8b77b1;border-radius:9px;padding:15px;font-size:12px;margin-bottom:20px}.notice p{margin:0}.shortcut-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.modal-body>.muted{font-size:12px;line-height:1.8;margin:20px 0}.command-input{display:flex;align-items:center;gap:12px;border:1px solid #ded5f5;border-radius:8px;padding:11px;color:#a192bb}.command-input input{width:100%;border:0;outline:none;background:transparent;font-size:14px}.search-results{margin-top:15px}.search-result{display:flex;align-items:center;width:100%;gap:12px;padding:13px 8px;border-bottom:1px solid var(--line);text-align:left}.search-result:hover{background:#faf8ff}.search-result>span:not(.avatar){flex:1 1}.search-result strong{font-size:13px;display:block;font-weight:500}.search-result small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.search-result b{font-size:12px;font-weight:500}.empty-state{padding:70px 30px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:15px}.empty-state>span{width:55px;height:55px;border-radius:15px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center}.empty-state h3{font-size:14px;max-width:380px;color:#92909f;font-weight:500;margin:0}.toolbar{justify-content:space-between;gap:18px;padding:20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-input,.toolbar{display:flex;align-items:center}.search-input{gap:9px;border:1px solid #e6e7ee;border-radius:7px;padding:9px 11px;color:#a6a4b3;min-width:200px}.search-input input{border:0;outline:none;width:220px;max-width:100%;font-size:12px;background:transparent}.filter-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.filter-tabs button{padding:7px 12px;color:#95919f;font-size:12px;border-radius:6px;display:flex;gap:6px;align-items:center}.filter-tabs button.active{background:#f0ebfc;color:#8b6fcb}.filter-tabs button:hover{background:#f6f3fc}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#797584}.field input,.field select,.field textarea{border:1px solid #e4e2ea;background-color:#fff;border-radius:7px;padding:10px var(--select-padding-end,11px) 10px 11px;color:#423e4c;width:100%;font-size:13px;min-height:39px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#ac95e3}.field textarea{resize:vertical;min-height:90px}.field input[type=color]{padding:5px}.field small{font-size:11px;color:#a7a0b3}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;flex-wrap:wrap}.field-error{font-size:12px;color:#c3666e;padding:10px 0}.settings-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:22px;align-items:start}.settings-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1100px;margin-top:24px}.settings-overview-card{display:grid;grid-template-columns:46px minmax(0,1fr) 18px;align-items:start;gap:17px;min-width:0;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.settings-section-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--purple-soft);color:var(--purple-dark)}.settings-section-icon svg{width:22px;height:22px}.settings-overview-card h2{margin:1px 0 7px;color:var(--ink);font-size:16px;line-height:1.5;overflow-wrap:anywhere}.settings-overview-card p{margin:0;color:#706b7c;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.settings-card-arrow{width:18px;height:18px;margin-top:14px;color:#9991aa}.settings-overview-card:hover{border-color:#c8bced;background:#fdfcfe;box-shadow:0 4px 16px #6650cf0b}.settings-overview-card:hover .settings-card-arrow{color:var(--purple-dark)}.settings-back-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:13px;color:#6b6087;font-size:13px;font-weight:550}.settings-back-link:hover{color:var(--purple-dark);text-decoration:underline;text-underline-offset:3px}.settings-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 26px}.settings-subnav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:100%;min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:#706b7c;font-size:13px;font-weight:550;line-height:1.5;overflow-wrap:anywhere;transition:color .15s ease,border-color .15s ease,background-color .15s ease}.settings-subnav a:hover{border-color:#c8bced;color:var(--purple-dark)}.settings-subnav a[aria-current=page]{border-color:#cec3ef;background:var(--purple-soft);color:#5841b5;font-weight:650}.settings-back-link:focus-visible,.settings-overview-card:focus-visible,.settings-subnav a:focus-visible{outline:3px solid #9e88e9;outline-offset:3px}.settings-subpage-content{width:100%;max-width:900px;min-width:0}.settings-section-fields,.settings-section-form{min-width:0;margin:0;padding:0;border:0}.settings-section-fields>.settings-panel{margin-bottom:0}.settings-save-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;margin-top:20px}.settings-save-actions .field-error,.settings-save-actions .notice{flex:1 1 240px;min-width:0;margin:0;overflow-wrap:anywhere}.settings-save-actions>.button{margin-left:auto;min-height:44px}@media (max-width:740px){.settings-overview-grid{grid-template-columns:1fr;gap:12px}.settings-overview-card{padding:20px;gap:14px}.settings-subnav{gap:7px;margin-bottom:22px}.settings-subnav a{padding:9px 12px}.settings-subpage-content .settings-panel{padding:20px}}@media (max-width:420px){.settings-overview-card{grid-template-columns:40px minmax(0,1fr) 16px;padding:17px;gap:11px}.settings-section-icon{width:40px;height:40px}.settings-card-arrow{width:16px;margin-top:11px}.settings-subpage-content .settings-panel{padding:17px}}@media (prefers-reduced-motion:reduce){.settings-overview-card,.settings-subnav a{transition:none}}.invoice-settlements-panel{margin:20px 0}.invoice-settlements-panel h3{margin-bottom:8px}.invoice-settlements-panel dl{margin:18px 0}.invoice-settlements-panel dt{color:var(--muted);font-size:12px}.invoice-settlements-panel dd{font-size:18px;font-weight:650}.invoice-settlements-panel form{max-width:640px;margin:20px 0}.invoice-settlements-panel label{display:grid;gap:7px;font-size:13px}.invoice-settlements-panel label:has(input[type=checkbox]){display:flex;align-items:flex-start}.invoice-settlements-panel ol{padding-left:22px;margin:18px 0}.invoice-settlements-panel li{padding:10px 0}.invoice-settlements-panel li p{margin:6px 0;overflow-wrap:anywhere}.settings-panel{padding:24px;margin-bottom:22px}.settings-panel h2{margin-bottom:20px}.settings-panel>p{font-size:13px;color:#97919f}.settings-company-logo{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;margin:24px 0;padding-bottom:24px;border-bottom:1px solid var(--line)}.settings-logo-preview{width:160px;height:120px;flex:0 0 160px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.settings-logo-preview>.muted{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:12px}.settings-logo-controls{flex:1 1 230px;min-width:0}.settings-logo-controls h3{font-size:14px;margin:0 0 8px}.settings-logo-controls p{font-size:12px;line-height:1.6}.settings-logo-controls .form-actions{margin:12px 0}.company-logo-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;overflow:hidden}.company-logo-image img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;object-position:center}.company-logo-placeholder{font-size:10px;line-height:1.4;color:#746d7e;text-align:center}.company-logo-placeholder .text-link{display:block;margin:6px auto 0}.entity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.entity-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.card-heading{display:flex;gap:12px;align-items:center;margin-bottom:19px}.card-heading .avatar{height:42px;width:42px;font-size:14px;border-radius:10px}.card-heading h3{margin:0;font-size:14px}.card-heading small{font-size:11px;color:#aaa4b1}.card-details{font-size:12px;color:#9993a1;display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere}.card-details svg{margin-right:7px;vertical-align:middle}.entity-actions{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:15px;margin-top:18px}.entity-actions .button{padding:6px 10px;min-height:32px;font-size:11px}.error-message{color:#bb606c;font-size:12px}.report-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;margin-bottom:22px}.print-root{display:none}.invoice-editor-layout{display:grid;grid-template-columns:minmax(0,1.07fr) minmax(350px,1fr);gap:24px;align-items:start}.editor-panel{padding:24px;margin-bottom:20px}.editor-panel h2{font-size:15px;margin-bottom:22px}.editor-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.7px;color:#aba2b8;margin-bottom:16px;display:flex;align-items:center;gap:8px}.line-editor{display:grid;grid-template-columns:minmax(110px,1fr) 60px 92px 65px 27px;gap:8px;border-bottom:1px solid var(--line);padding:0 0 16px;margin-bottom:16px}.line-editor .field{font-size:10px;gap:5px}.line-editor .field input,.line-editor .field select{padding:9px var(--select-padding-end,7px) 9px 7px;font-size:12px;min-width:0}.line-editor select{--select-padding-end:24px;--select-arrow-inset:5px}.line-editor .description-field{grid-column:1/-1}.line-editor .field:nth-child(2){grid-column:1/2}.line-editor .line-price-label{color:#a097ae;font-size:10px}.line-editor>.icon-button{margin-bottom:4px}.totals-summary{margin:22px 0 0 auto;width:250px;max-width:100%;font-size:13px}.totals-summary>div{display:flex;justify-content:space-between;padding:8px 0;color:#a198aa}.totals-summary>div:last-child{border-top:1px solid var(--line);margin-top:7px;padding-top:15px;font-size:17px;font-weight:650;color:#50405d}.preview-column{position:sticky;top:20px;min-width:0}.preview-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px;font-size:12px;color:#9a92a7}.preview-topbar>span{display:flex;align-items:center;gap:6px}.paper-wrap{padding:18px;background:#edecf2;border:1px solid #e2e0e9;border-radius:11px;overflow:hidden}.invoice-paper{--accent:#7863df;background:#fff;color:#3f3c4a;padding:34px 28px;min-height:600px;box-shadow:0 4px 16px #2b263b0a;font-family:var(--font);font-size:10px;position:relative;overflow-wrap:anywhere}.paper-header{display:flex;justify-content:space-between;gap:20px;margin-bottom:28px}.paper-issuer{min-width:0}.paper-issuer-with-logo{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px}.paper-issuer-with-logo .paper-issuer-details{flex:1 1 140px;min-width:0}.paper-company-logo{width:100px;height:64px;flex:0 0 100px;break-inside:avoid;page-break-inside:avoid}.template-modern .paper-company-logo{background:#fff;border-radius:4px;padding:5px}.template-editorial .paper-issuer-with-logo{align-items:center}.template-compact .paper-company-logo{width:86px;height:56px;flex-basis:86px}.paper-company-name{font-family:"Manrope",var(--font);font-size:18px;font-weight:750;letter-spacing:-.7px;line-height:1.3;max-width:190px;color:var(--accent)}.paper-company-info{font-size:8px;color:#9f98aa;line-height:1.8;margin-top:9px}.paper-title{text-align:right}.paper-title h2{font-size:22px;letter-spacing:-.7px;font-weight:750;color:var(--accent);margin:0 0 7px}.paper-title>span{font-size:9px;color:#a29bab}.paper-recipient{display:flex;justify-content:space-between;gap:20px;margin-bottom:25px}.paper-recipient small{text-transform:uppercase;color:#aca4b6;letter-spacing:1px;font-size:7px;display:block;margin-bottom:8px}.paper-recipient strong{display:block;font-size:11px;color:#655870;font-weight:600}.paper-recipient p{font-size:9px;color:#99929f;line-height:1.8;margin:4px 0}.paper-recipient-line{display:block}.paper-dates{font-size:8px;text-align:right;min-width:105px;color:#99929f}.paper-dates div{margin:0 0 9px}.paper-dates b{display:block;color:#776c81;font-size:9px;font-weight:500;margin-top:2px}.paper-items{width:100%;table-layout:auto;border-collapse:collapse;font-size:9px;text-align:left;margin-bottom:15px}.paper-items th{background:color-mix(in srgb,var(--accent) 8%,white);color:var(--accent);font-size:7px;font-weight:600;padding:9px 6px;text-transform:uppercase;letter-spacing:.3px;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;line-height:1.4;vertical-align:middle}.paper-items th:first-child{width:46%}.paper-items td{border-bottom:1px solid #f0edf4;padding:11px 6px;font-size:8px;color:#83798d;vertical-align:top}.paper-items td:not(:first-child),.paper-items th:not(:first-child){text-align:right;white-space:nowrap}.paper-items th.paper-unit-price>small,.paper-items th.paper-unit-price>span{display:block;white-space:nowrap}.paper-items th.paper-unit-price>small{font-size:.85em;margin-top:2px}.paper-items td.paper-quantity{white-space:normal;overflow-wrap:anywhere}.paper-quantity-value{white-space:nowrap}.paper-items td:first-child{overflow-wrap:anywhere}.paper-items td{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.paper-totals{width:54%;margin-left:auto;font-size:8px;margin-bottom:34px}.paper-totals>div{display:flex;justify-content:space-between;gap:12px;padding:5px;color:#978d9e}.paper-totals>div:last-child{background:color-mix(in srgb,var(--accent) 7%,white);color:var(--accent);padding:10px 6px;margin-top:7px;font-size:12px;font-weight:650;border-radius:3px}.paper-notes{font-size:8px;line-height:1.8;color:#a99ead;white-space:pre-wrap;margin-top:20px}.paper-notes strong{display:block;color:#8b7d95;font-weight:600;margin-bottom:4px}.paper-footer{margin-top:30px;padding-top:14px;border-top:1px solid #eee9f2;color:#b3a8bc;font-size:7px;display:flex;justify-content:space-between;gap:14px}.paper-watermark{text-align:center;color:#c6bdcf;font-size:8px;text-transform:uppercase;letter-spacing:2px;margin-top:30px}.template-modern .paper-header{background:var(--accent);margin:-34px -28px 26px;padding:28px}.template-modern .paper-company-name,.template-modern .paper-title h2{color:#fff}.template-modern .paper-company-info,.template-modern .paper-title>span{color:#ffffffa0}.template-classic{border:8px double color-mix(in srgb,var(--accent) 25%,white)}.template-classic,.template-classic .paper-company-name,.template-classic .paper-title h2{font-family:Georgia,serif}.template-classic .paper-header{border-bottom:1px solid var(--accent);padding-bottom:15px}.template-editorial .paper-header{display:block}.template-editorial .paper-company-name{font-size:28px}.template-editorial .paper-title{display:flex;align-items:baseline;justify-content:space-between;margin-top:20px;border-top:3px solid var(--accent);padding-top:10px}.template-editorial .paper-title h2{text-transform:uppercase;font-size:15px;letter-spacing:3px}.template-compact{padding:25px;min-height:480px}.template-compact .paper-header{margin-bottom:17px}.template-compact .paper-company-info{line-height:1.4}.template-compact .paper-items td{padding:7px 5px}.template-service{border-left:9px solid var(--accent)}.template-service .paper-title h2{font-weight:450}.template-service .paper-items th{border-bottom:2px solid var(--accent);background:none}.template-service .paper-recipient{background:color-mix(in srgb,var(--accent) 4%,white);padding:14px}.template-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.template-option{padding:11px 6px;border:1px solid #e8e3f0;border-radius:7px;text-align:center;font-size:11px;color:#a094ad}.template-option.active{color:#8e72bc;border:1px solid #b797dd;background:#f7f1fc}.appearance-row{margin-top:20px;display:grid;grid-template-columns:60px 1fr;gap:20px;align-items:end}.document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 24px}.new-invoice-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;margin-bottom:24px;align-items:stretch}.new-invoice-body,.new-invoice-customer,.new-invoice-details{padding:26px;min-width:0}.new-invoice-customer h2{font-size:18px;padding-bottom:18px;margin:0 0 22px;border-bottom:1px solid var(--line)}.invoice-form-row{display:grid;grid-template-columns:minmax(100px,30%) minmax(0,1fr);align-items:start;gap:14px;margin-bottom:18px}.invoice-form-label{padding-top:11px;color:#646170;font-size:12px;line-height:1.5;font-weight:550}.invoice-form-control{min-width:0}.customer-history-select{position:relative;width:100%}.customer-history-trigger{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid #e2e3eb;border-radius:8px;background:#fff;color:#423e4c;text-align:left;font:inherit;font-size:13px;cursor:pointer}.customer-history-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-history-trigger svg{flex-shrink:0;color:#8b849a;transition:transform .15s ease}.customer-history-select.is-open .customer-history-trigger,.customer-history-trigger:focus-visible{outline:2px solid #ad9eec;outline-offset:1px;border-color:var(--purple)}.customer-history-select.is-open .customer-history-trigger svg{transform:rotate(180deg)}.customer-history-popup{position:absolute;top:calc(100% + 7px);left:0;right:0;z-index:45;border:1px solid #d8cfee;border-radius:10px;background:#fff;box-shadow:0 12px 32px #30234b20;overflow:hidden}.customer-history-search{position:relative;padding:11px;border-bottom:1px solid var(--line)}.customer-history-search>svg{position:absolute;top:25px;left:23px;color:#8b849a;pointer-events:none}.new-invoice-form .customer-history-select .customer-history-search input{padding-left:35px;font-size:12px}.customer-history-options{max-height:min(280px,40vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aa96e5 transparent;padding:4px 0}.customer-history-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;font-size:13px;color:#423e4c;cursor:pointer}.customer-history-option.is-active{background:#f3effd}.customer-history-option[aria-selected=true]{color:#7153ba}.customer-history-option>svg{flex-shrink:0}.customer-history-new{justify-content:flex-start;color:#7153ba}.customer-history-details{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.customer-history-details strong{font-weight:650;line-height:1.35}.customer-history-details>span,.customer-history-empty{color:#767181;font-size:12px}.customer-history-empty{margin:0;padding:12px 13px 16px;line-height:1.5}.invoice-document-meta{display:block;font-size:11px;font-weight:400;color:#767181;margin-top:5px;white-space:normal}.badge-credited{background:#eee9fa;color:#70559a}.credit-note-notice,.credit-note-summary{margin-bottom:22px}.credit-note-notice p{margin:0 0 8px}.credit-note-summary h2{font-size:17px;margin:0 0 14px}.credit-note-summary p{line-height:1.6;overflow-wrap:anywhere}.credit-note-confirm-details{display:grid;gap:12px;margin:20px 0}.credit-note-confirm-details>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px}.credit-note-confirm-details dt{color:#767181}.credit-note-confirm-details dd{margin:0;font-weight:600}.invoice-editor-layout.credit-note-layout{grid-template-columns:minmax(0,1fr)}.credit-note-layout .preview-column{width:100%;max-width:980px;margin:0 auto}.invoice-vat-hint{margin:7px 0 0;color:#767181;font-size:11px;line-height:1.5}.new-invoice-form input:not([type=checkbox]),.new-invoice-form select,.new-invoice-form textarea{border:1px solid #e2e3eb;border-radius:8px;background-color:#fff;color:#423e4c;width:100%;min-width:0;min-height:42px;padding:10px var(--select-padding-end,11px) 10px 11px;font:inherit;font-size:13px}.new-invoice-form textarea{resize:vertical;line-height:1.6}.new-invoice-form input:focus,.new-invoice-form select:focus,.new-invoice-form textarea:focus,.rich-text-input:focus{outline:2px solid #b6a3eb;outline-offset:1px}.new-invoice-form input:disabled{background:#f8f8fb;color:var(--muted)}.invoice-form-pair{display:flex;gap:12px}.invoice-form-pair>*{flex:1 1;min-width:0}.payment-term-controls{flex-wrap:wrap}.payment-term-controls>*{min-width:140px}.payment-days{display:flex;align-items:center;border:1px solid #e2e3eb;border-radius:8px;overflow:hidden}.payment-days span{padding:0 10px;font-size:12px;color:var(--purple)}.payment-days input{border:0!important;border-radius:0!important}.invoice-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6;color:#625d70}.invoice-checkbox input{width:15px;height:15px;flex-shrink:0;margin-top:3px;accent-color:var(--purple)}.reverse-charge-option{margin-top:23px}.invoice-optional-fields summary{color:var(--purple);font-size:12px;cursor:pointer;margin:24px 0 18px}.invoice-document-type{width:260px;max-width:100%;margin:0 auto 28px}.invoice-document-type select{font-weight:650}.rich-text-editor{margin-bottom:24px}.rich-text-label{display:block;color:#747080;font-size:12px;margin-bottom:8px}.rich-text-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:3px;padding:7px 8px;background:#faf9fc;border:1px solid #e6e3ed;border-radius:9px 9px 0 0}.rich-text-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:30px;border-radius:5px;color:#77717f}.rich-text-toolbar button:hover{background:#eee9fa;color:var(--purple)}.rich-text-input{min-height:104px;padding:14px;border:1px solid #e6e3ed;border-top:0;border-radius:0 0 9px 9px;color:#504b59;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.rich-text-input:empty:before{content:attr(data-placeholder);color:#aaa5b0;pointer-events:none}.rich-text-content p,.rich-text-input p{margin:0 0 7px}.rich-text-content ol,.rich-text-content ul,.rich-text-input ol,.rich-text-input ul{padding-left:24px}.rich-text-content{overflow-wrap:anywhere}.paper-description,.paper-intro{margin-bottom:18px;white-space:pre-wrap}.paper-payment-qr{display:flex;align-items:center;gap:15px;margin:20px 0;page-break-inside:avoid;break-inside:avoid}.paper-payment-qr svg{flex:0 0 110px;width:110px;height:110px}.paper-attachments,.paper-payment-qr figcaption,.paper-qr-unavailable{font-size:10px;line-height:1.6;overflow-wrap:anywhere}.paper-qr-unavailable{color:#8a6974;margin:16px 0}.paper-attachments{margin:18px 0;border-top:1px solid #ebe8ee;padding-top:8px}.paper-attachments a{text-decoration:underline;color:var(--accent)}.invoice-line-options{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px 24px;margin:32px 0 24px}.invoice-line-options select{width:auto;max-width:100%}.invoice-lines-scroll{overflow-x:auto;margin-bottom:12px}.invoice-entry-lines{width:100%;min-width:830px;border-collapse:separate;border-spacing:5px 9px;text-align:left}.invoice-entry-lines th{font-size:12px;font-weight:550;color:#686372;padding:0 0 4px}.invoice-entry-lines th:first-child{width:42%;min-width:210px}.invoice-entry-lines th:not(:first-child){min-width:80px}.invoice-entry-lines th:last-child{min-width:102px}.invoice-entry-lines td{vertical-align:top}.invoice-entry-lines .invoice-unit-select{min-width:140px}.invoice-entry-lines textarea{min-height:46px}.invoice-entry-lines output,.invoice-entry-totals output{display:block;padding:12px 10px;border:1px solid #e6e3ed;border-radius:8px;background:#fbfafd;font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.invoice-line-buttons{display:flex;gap:2px;padding-top:5px}.invoice-line-buttons .icon-button{width:31px;height:34px;border:1px solid #e6e3ed;color:var(--purple)}.invoice-entry-totals{max-width:520px;margin:24px 0 34px auto;display:flex;flex-direction:column;gap:9px}.invoice-entry-totals>div{display:grid;grid-template-columns:minmax(120px,1fr) 145px 90px;align-items:center;gap:9px}.invoice-entry-totals label{text-align:right;padding-right:8px;font-size:13px;color:#706a7a}.invoice-entry-totals output{text-align:right}.invoice-grand-total output{color:var(--purple);font-weight:650;background:#f7f3fd}.invoice-attachments{display:grid;grid-template-columns:200px minmax(0,460px);gap:24px;margin:40px 0 24px}.invoice-attachment-heading{display:flex;align-items:flex-start;gap:8px;color:#706a7a;padding-top:11px}.invoice-attachment-heading h3{font-size:13px;font-weight:550}.invoice-attachment-inputs{display:flex;flex-direction:column;gap:13px}.invoice-attachment-inputs small{font-size:11px;color:var(--muted);line-height:1.5}.invoice-attachment-list{margin:0 0 24px;padding:0;list-style:none}.invoice-attachment-list li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.invoice-attachment-list li>div{flex:1 1;min-width:0;overflow-wrap:anywhere}.invoice-display-options{display:flex;flex-direction:column;gap:12px;padding-top:16px}@media (max-width:1100px){.new-invoice-top-grid{grid-template-columns:1fr}}@media (max-width:600px){.new-invoice-body,.new-invoice-customer,.new-invoice-details{padding:18px}.invoice-form-row{grid-template-columns:1fr;gap:6px;margin-bottom:16px}.invoice-form-label{padding-top:0}.invoice-attachments{grid-template-columns:1fr;gap:12px}.invoice-entry-totals>div{grid-template-columns:minmax(0,1fr) 120px}.invoice-entry-totals>div>select:last-child{grid-column:2}.invoice-line-options{justify-content:flex-start}}.document-peppol-status{display:flex;align-items:center;gap:10px;min-height:39px;min-width:0;max-width:100%;padding:7px 12px;border:1px solid var(--line);border-radius:7px;background:white;cursor:default}.document-peppol-label{flex-shrink:0;color:var(--muted);font-size:11px;font-weight:600}.document-peppol-status .peppol-badge{max-width:480px}.document-action-hint{font-size:12px;color:var(--muted)}.delete-warning{background:#fff0f1;color:#a53d48;border-color:#f5d5da}.delete-warning svg{flex-shrink:0}.delete-warning strong{display:block;margin-bottom:6px}.template-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.template-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.template-thumbnail{height:300px;overflow:hidden;padding:23px 30px 0;background:#f0eef5;position:relative;cursor:pointer;width:100%;display:block;text-align:left}.template-thumbnail>.invoice-paper{width:400px;transform-origin:top left;transform:scale(.65);pointer-events:none}.template-card-footer{padding:19px 20px}.template-card-footer>div{display:flex;justify-content:space-between;align-items:center}.template-card-footer h3{font-size:15px;margin:0}.template-card-footer p{font-size:11px;color:#a399b0;min-height:35px;margin:8px 0 15px}.template-card-footer .button{width:100%}.template-badge{font-size:9px;color:#a384bf;background:#f6effb;border-radius:5px;padding:3px 7px}.preview-modal-paper{padding:25px;background:#eeebf3}.preview-modal-paper>.invoice-paper{font-size:12px;min-height:850px;padding:45px}.preview-modal-paper .paper-company-name{font-size:24px}.preview-modal-paper .paper-company-info,.preview-modal-paper .paper-items td,.preview-modal-paper .paper-items th,.preview-modal-paper .paper-recipient p,.preview-modal-paper .paper-totals{font-size:11px}.preview-modal-paper .paper-footer,.preview-modal-paper .paper-notes{font-size:10px}@media (min-width:1600px){.topbar{padding-left:45px;padding-right:45px}.page{padding:40px 45px 25px}.stat-value{font-size:32px}.stat-header{font-size:13px}.stat-card{padding:22px}.panel-heading h2{font-size:16px}.chart{margin:3px 25px 15px}.quick-link strong{font-size:13px}.quick-link small{font-size:11px}.customer-cell,.data-table,.task-item strong{font-size:12px}.dashboard-bottom,.dashboard-middle{grid-template-columns:2fr 1fr}}@media (max-width:1250px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.workspace-main{margin-left:210px}.brand{font-size:21px;padding-left:6px}.brand-mark{font-size:22px;width:30px;height:32px}.page{padding:28px 25px 20px}.topbar{padding:0 25px}.topbar-actions{gap:10px}.global-search>span{display:none}.global-search kbd{margin:0}.dashboard-bottom,.dashboard-middle{grid-template-columns:minmax(0,1.7fr) minmax(255px,1fr);gap:17px}.stat-grid{gap:13px}.stat-card{padding:14px}.stat-value{font-size:23px}.data-table.compact .avatar{display:none}.data-table.compact td,.data-table.compact th{padding-left:10px;padding-right:10px;font-size:10px}.page-heading h1{font-size:23px}.template-gallery{gap:16px}.template-thumbnail{padding:20px 15px;height:245px}.template-thumbnail>.invoice-paper{transform:scale(.53)}.invoice-editor-layout{grid-template-columns:minmax(0,1fr) minmax(300px,1fr);gap:15px}.editor-panel{padding:18px}.paper-wrap{padding:10px}.invoice-paper{padding:25px 20px}.template-modern .paper-header{margin:-25px -20px 25px;padding:20px}.entity-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:1000px){.sidebar{width:190px}.workspace-main{margin-left:190px}.brand{font-size:19px}.sidebar-note{padding:12px}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.dashboard-bottom,.dashboard-middle{grid-template-columns:1fr}.quick-panel{display:none}.tasks-panel{display:block}.tasks-panel .task-item{padding:12px 22px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-table.compact .avatar{display:inline-flex}.invoice-editor-layout{grid-template-columns:1fr}.preview-column{position:static}.preview-column .paper-wrap{max-width:650px;margin:auto}.template-gallery{grid-template-columns:repeat(2,1fr)}.template-thumbnail>.invoice-paper{transform:scale(.58)}.report-grid,.settings-layout{grid-template-columns:1fr}.breadcrumbs>span,.breadcrumbs>svg{display:none}.revenue-panel .chart,.revenue-panel .chart svg{max-height:300px}}@media (max-width:740px){.sidebar{transform:translateX(-100%);width:236px;transition:transform .2s}.sidebar.is-open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;z-index:35;background:#17132670}.workspace-main{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 18px;gap:8px}.topbar-actions{gap:8px}.global-search kbd,.header-avatar{display:none}.language-select{padding-left:8px;gap:0}.language-select select{font-size:10px;width:96px}.language-select>svg{width:14px}.breadcrumbs{gap:7px;font-size:11px}.page{padding:25px 18px}.page-heading{margin-bottom:22px;flex-wrap:wrap;gap:18px}.page-heading h1{font-size:24px;max-width:340px}.page-heading p{font-size:12px;max-width:340px;line-height:1.7}.heading-actions{justify-content:flex-start}.button{min-height:40px;font-size:12px}.stat-grid{gap:11px;margin-bottom:18px}.stat-card{padding:15px 13px}.stat-value{font-size:23px;margin-top:10px;letter-spacing:-.7px}.stat-icon{width:27px;height:27px}.stat-header{font-size:11px;gap:4px}.stat-note{font-size:9px}.mini-bars{display:none}.panel-heading{padding:18px 17px 0;gap:8px}.panel-heading h2{font-size:13px}.panel-heading p{font-size:9px;max-width:200px}.subtle-select{font-size:9px;padding:4px 6px;white-space:nowrap}.chart-key{padding-left:17px}.chart{margin:8px 15px 15px}.chart svg{min-height:170px}.dashboard-middle{margin-bottom:18px}.data-table.compact .avatar{display:none}.data-table.compact td:first-child,.data-table.compact th:first-child{padding-left:16px}.data-table.compact td,.data-table.compact th{padding:12px 9px;font-size:10px}.document-icon{display:none}.badge{font-size:9px}.workspace-footer{padding:16px 18px;font-size:9px}.workspace-footer button{max-width:160px;text-align:right;font-size:8px}.sidebar-note{display:none}.form-grid{gap:15px}.modal-body{padding:20px}.modal-heading{padding:16px 20px}.entity-grid{grid-template-columns:1fr}.toolbar{padding:16px;gap:15px}.search-input,.search-input input{width:100%}.filter-tabs{gap:2px}.filter-tabs button{padding:7px 9px;font-size:11px}.template-gallery{gap:14px}.template-thumbnail{height:200px;padding:15px 10px}.template-thumbnail>.invoice-paper{transform:scale(.4)}.template-card-footer{padding:13px}.template-card-footer h3{font-size:13px}.template-card-footer p{font-size:10px;min-height:47px}.template-badge{font-size:7px}.paper-wrap{padding:12px}.invoice-paper{padding:23px 19px;min-height:560px}.paper-company-name{font-size:17px}.paper-title h2{font-size:20px}.editor-panel{padding:18px}.line-editor{gap:7px;grid-template-columns:1fr 80px 65px 27px}.line-editor .field:first-child{grid-column:1/-1}.line-editor .field:nth-child(2){grid-column:auto}.template-options{grid-template-columns:repeat(3,1fr)}.preview-modal-paper{padding:10px}.preview-modal-paper>.invoice-paper{padding:25px 15px;min-height:600px}.preview-modal-paper .paper-company-name{font-size:17px}.preview-modal-paper .paper-company-info,.preview-modal-paper .paper-footer,.preview-modal-paper .paper-items td,.preview-modal-paper .paper-items th,.preview-modal-paper .paper-notes,.preview-modal-paper .paper-recipient p,.preview-modal-paper .paper-totals{font-size:8px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.nav-link{font-size:13px}.button,.quick-link strong,.stat-header{font-size:12px}.quick-link small{font-size:11px}.quick-link{padding:12px 0}.customer-cell,.data-table{font-size:12px}.data-table th{font-size:11px}.badge{font-size:10px}.task-item b,.task-item strong{font-size:11px}.task-item small{font-size:10px}.panel-heading p,.tasks-subtitle{font-size:11px}.panel-heading h2{font-size:15px}.chart-key{font-size:11px}.workspace-footer,.workspace-footer button{font-size:10px}.sidebar-note strong{font-size:12px}.sidebar-note button,.sidebar-note p{font-size:11px}.editor-back{margin-bottom:15px}.reports-page>.panel{margin-bottom:22px}.reports-page>.panel>.panel-heading{padding-bottom:18px}.settings-panel>.panel-heading{padding:0;margin-bottom:15px}.settings-panel .card-heading{margin-bottom:0}.entity-grid{padding:20px;margin:0}.customers-page .page-heading>div:first-child{max-width:650px}.customers-page .page-heading p{max-width:640px;line-height:1.6}.customer-history-filter{min-height:40px;max-width:230px;padding:9px var(--select-padding-end) 9px 13px;border:1px solid #e3dff2;border-radius:9px;background-color:#f6f3ff;color:#6751bc;font:inherit;font-size:12px}.report-period-select{--select-padding-end:27px;--select-arrow-inset:3px;min-height:20px;padding:0 var(--select-padding-end) 0 0}.customer-directory-toolbar{padding-top:22px;padding-bottom:22px;gap:20px}.customer-result-count,.customer-selection-actions{display:flex;gap:12px;align-items:center}.customer-result-count{color:var(--muted);gap:6px;font-size:12px}.customer-selection-count{border-radius:5px;padding:1px 6px;background:#fff8}.customers-table{min-width:930px}.customers-table td,.customers-table th{padding:20px 13px}.customers-table th{font-size:12px;font-weight:600;color:#666378;background:#fdfcff;vertical-align:bottom}.customers-table td{height:82px;font-size:13px}.customers-table .customer-selection-cell{width:42px;padding-right:2px}.customers-table input[type=checkbox]{width:16px;height:16px;vertical-align:middle;accent-color:#7764db;cursor:pointer}.customer-sort{display:inline-flex;align-items:center;gap:5px;font:inherit;color:inherit;text-align:inherit;line-height:1.45}.customer-sort span{white-space:normal}.customer-sort svg{flex:0 0 auto;color:#b3afbe}.customers-table th[aria-sort=ascending] .customer-sort,.customers-table th[aria-sort=ascending] svg,.customers-table th[aria-sort=descending] .customer-sort,.customers-table th[aria-sort=descending] svg{color:#7259ca}.customer-documents .numeric,.customers-table .numeric{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customers-table .numeric .customer-sort{justify-content:flex-end}.customers-table th:nth-child(6){width:95px}.customers-table th:nth-child(7){width:180px}.customer-directory-name{display:flex;align-items:center;gap:14px;min-width:195px;max-width:320px}.customer-name-button{font-size:13px;font-weight:600;color:#373345;text-align:left;white-space:normal;overflow-wrap:anywhere}.customer-name-button:hover{color:#7259ca}.customer-active-switch{flex:0 0 35px;width:35px;height:21px;border:1px solid #d4d0df;background:#e6e3ed;border-radius:20px;padding:2px;transition:background .15s}.customer-active-switch span{display:block;width:15px;height:15px;border-radius:50%;background:white;box-shadow:0 1px 3px #25124820;transition:transform .15s}.customer-active-switch[aria-checked=true]{background:#7764db;border-color:#7764db}.customer-active-switch[aria-checked=true] span{transform:translateX(14px)}.customers-table .customer-type-cell{min-width:140px;max-width:180px;white-space:normal;line-height:1.5;color:#757083}.customer-turnover{font-weight:600;color:#373345}.customers-table tbody tr.is-selected{background:#f6f3ff}.customer-deletion-list{max-height:300px;overflow-y:auto;padding:0 24px 0 44px;font-size:13px}.customer-deletion-list li{margin:14px 0}.customer-deletion-list span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.customer-profile-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 24px;font-size:13px;overflow-wrap:anywhere}.customer-profile-details dt{color:var(--muted);font-size:12px;margin-bottom:5px}.customer-profile-details dd{margin:0}.customer-stat-summary{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:16px;margin:24px;padding:20px;border-radius:12px;background:#f7f5fc}.customer-stat-summary>div{display:flex;flex-direction:column;gap:10px}.customer-stat-summary span{font-size:11px;color:#888294;line-height:1.5}.customer-stat-summary strong{font-size:18px;color:#4f426d;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customer-documents{margin:18px 0 26px;max-height:360px}.customer-documents .text-link{font-size:12px}@media (max-width:740px){.customer-directory-toolbar{align-items:stretch;flex-direction:column}.customer-directory-toolbar .search-input{width:100%}.customer-profile-details,.customer-stat-summary{grid-template-columns:1fr}}.entity-card .card-heading p{margin:3px 0 0;font-size:11px}.entity-card .text-link{font-size:14px;font-weight:600}.card-details p{margin:0}.modal>.card-details,.modal>.card-heading,.modal>.form-actions,.modal>.form-grid,.modal>h3,.modal>p{margin-left:24px;margin-right:24px}.modal>.form-grid{padding-top:24px;padding-bottom:24px}.modal>.form-actions{margin-bottom:24px}.modal>.card-heading,.modal>p{margin-top:24px}.settings-panel .notice{font-size:12px}.document-list-page>.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-note{margin-bottom:17px}@media (max-width:740px){.sidebar{visibility:hidden}.sidebar.is-open{visibility:visible}.customer-cell,.data-table.compact td,.data-table.compact th,.stat-header{font-size:11px}.panel-heading h2{font-size:13px}.panel-heading p,.tasks-subtitle{font-size:10px}.workspace-footer,.workspace-footer button{font-size:9px}.entity-grid{padding:14px}.form-grid{grid-template-columns:1fr}.field{grid-column:1/-1}.line-editor .field{grid-column:auto}.line-editor .field:first-child{grid-column:1/-1}.line-editor .field:nth-child(2){grid-column:auto}.template-thumbnail>.invoice-paper{transform:scale(.4)}.document-list-page>.stat-grid{grid-template-columns:1fr}}.invoice-pdf-source{width:186mm;background:#fff}.invoice-pdf-source .invoice-paper{width:100%;min-width:0;max-width:none;margin:0}:is(.print-root,.invoice-pdf-source) .invoice-paper{padding:8mm;box-shadow:none;min-height:260mm;font-size:12px;print-color-adjust:exact;-webkit-print-color-adjust:exact}:is(.print-root,.invoice-pdf-source) .paper-company-name{font-size:24px}:is(.print-root,.invoice-pdf-source) .paper-title h2{font-size:30px}:is(.print-root,.invoice-pdf-source) .paper-company-info,:is(.print-root,.invoice-pdf-source) .paper-dates,:is(.print-root,.invoice-pdf-source) .paper-dates b,:is(.print-root,.invoice-pdf-source) .paper-recipient p{font-size:11px}:is(.print-root,.invoice-pdf-source) .paper-items td,:is(.print-root,.invoice-pdf-source) .paper-items th{font-size:11px;padding:12px 8px}:is(.print-root,.invoice-pdf-source) .paper-totals{font-size:12px}:is(.print-root,.invoice-pdf-source) .paper-totals>div:last-child{font-size:17px}:is(.print-root,.invoice-pdf-source) .paper-footer,:is(.print-root,.invoice-pdf-source) .paper-notes{font-size:10px}:is(.print-root,.invoice-pdf-source) .paper-items thead{display:table-header-group}:is(.print-root,.invoice-pdf-source) .paper-items tr{page-break-inside:avoid;break-inside:avoid}:is(.print-root,.invoice-pdf-source) .paper-footer,:is(.print-root,.invoice-pdf-source) .paper-totals{page-break-inside:avoid;break-inside:avoid}:is(.print-root,.invoice-pdf-source) .template-modern .paper-header{margin:-8mm -8mm 8mm;padding:8mm}:is(.print-root,.invoice-pdf-source) .paper-watermark{font-size:10px}.invoice-pdf-source .paper-footer{margin-top:20px}.invoice-pdf-source .paper-watermark{margin-top:12px}.invoice-pdf-source .invoice-paper{padding-bottom:4mm}@media print{@page{size:A4;margin:12mm}body{background:#fff}.app-shell,.toast,dialog{display:none!important}.print-root{display:block!important}}.line-editor{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,.8fr) 32px;align-items:end}.line-editor .field{grid-column:auto;font-size:11px}.line-editor .field:first-child{grid-column:1/-1}.line-editor .field:nth-child(2){grid-column:auto}.line-editor .field input{width:100%}.line-editor>.icon-button{grid-column:4}.line-editor .field label{min-height:20px}.template-card-footer>div{flex-wrap:wrap;gap:6px}.template-card-footer .button{white-space:normal}@media (max-width:480px){.template-gallery{grid-template-columns:1fr}.template-thumbnail{height:340px;padding:25px 28px 0}.template-thumbnail>.invoice-paper{width:100%;transform:none;min-height:520px}.template-card-footer{padding:18px 20px}.template-card-footer h3{font-size:15px}.template-card-footer p{font-size:12px;min-height:0}.template-badge{font-size:10px}.template-card-footer .button{min-height:44px}}