:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#263a35;background:#f7f8f6;font-synthesis:none;font-size:14px;--green: #126b52;--muted: #7c8882;--line: #e8ece8;--white: #fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #91cfb4;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #abd6c5;outline-offset:1px}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:650}h2{font-size:17px;letter-spacing:-.35px;font-weight:620}h3{font-size:15px}small,.muted{color:var(--muted)}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:34px 20px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;gap:8px;align-items:center;text-decoration:none;font-size:32px;letter-spacing:-1.9px;font-weight:750;margin:0 12px 33px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff;width:35px;height:35px;border-radius:11px;font-size:31px;line-height:1;font-weight:650;letter-spacing:-1px}.brand-dot{color:var(--green);margin-left:-7px}.workspace{display:flex;align-items:center;gap:10px;background:#f5f7f4;border:1px solid #edf0eb;border-radius:9px;padding:12px 10px;margin-bottom:33px}.workspace-avatar,.user-avatar{display:flex;align-items:center;justify-content:center;background:#e4ece4;border-radius:7px;width:33px;height:33px;font-size:11px;font-weight:650;flex-shrink:0}.workspace strong{font-size:12px;display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace span{display:block;color:var(--muted);font-size:10px;margin-top:5px}.nav-label{font-size:9px;letter-spacing:1.2px;color:#929b96;font-weight:650;padding-left:14px;margin-bottom:13px}.nav-item{display:flex;gap:13px;align-items:center;width:100%;border:0;background:none;text-align:left;padding:12px 14px;color:#738178;margin-bottom:6px;border-radius:7px;font-size:12px}.nav-item:hover{background:#f4f7f3}.nav-item.active{background:#e9f3ed;color:var(--green);font-weight:650}.nav-count{margin-left:auto;background:#d6e9dc;padding:2px 6px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:24px 12px 0}.budget-label{font-size:11px;display:flex;gap:8px;align-items:center;color:#78877d}.sidebar-bottom small{display:block;margin-top:8px;font-size:9px}.logout{background:none;border:0;color:#829087;display:flex;align-items:center;gap:10px;font-size:11px;margin-top:22px;padding:0}.main-wrap{margin-left:244px;min-width:0;width:calc(100% - 244px)}.topbar{height:72px;border-bottom:1px solid var(--line);background:#fff;padding:0 38px;display:flex;align-items:center;justify-content:space-between;color:#8a968e;font-size:11px}.topbar>span,.topbar>div{display:flex;align-items:center;gap:14px}.country-chip{font-size:9px;padding:4px 6px;border:1px solid var(--line);border-radius:4px}.user-avatar{border-radius:50%;width:30px;height:30px;background:#f1e8da;color:#7e6d4d}.content{padding:38px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px;gap:20px}.eyebrow{display:block;letter-spacing:1.3px;color:#919d94;font-size:9px;font-weight:650;margin-bottom:11px}.page-heading p{margin-top:10px;font-size:12px;color:var(--muted)}.heading-actions{display:flex;gap:10px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);border:1px solid var(--green);color:#fff;border-radius:7px;padding:11px 16px;font-size:11px;font-weight:600;white-space:nowrap;transition:background .15s}.button:hover{background:#0d5641}.button.secondary{border-color:#dce5df;background:#fff;color:#4d6559}.button.secondary:hover{background:#f0f6f1}.year-selector select{border:1px solid #dce3dc;background:#fff;border-radius:7px;padding:10px 11px;color:#59675e;font-size:11px;min-width:90px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.stat>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6f7e73;margin-bottom:17px}.stat svg{color:#8d9a90}.stat>strong{display:block;font-size:26px;letter-spacing:-.7px;font-weight:620;white-space:nowrap}.stat small{display:block;font-size:9px;margin-top:12px;line-height:1.6}.stat.accent{background:#ecf4ed;border-color:#dce9dc}.stat.accent>strong,.stat.accent svg{color:var(--green)}.overview-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:22px;margin-bottom:24px}.panel{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;padding:24px;gap:15px}.panel-toolbar h2+span{display:block;color:var(--muted);font-size:10px;margin-top:7px}.chart-legend{display:flex;gap:14px;font-size:10px;color:#7f8d82}.chart-legend span{display:flex;gap:6px;align-items:center}.chart-legend i{width:7px;height:7px;background:var(--green);border-radius:2px}.chart-legend span+span i{background:#d9e3d7}.chart{height:208px;position:relative;margin:7px 24px 20px 20px;padding-left:68px}.chart-grid{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:26px;font-size:8px;color:#99a499}.chart-grid span{display:flex;align-items:center;gap:13px}.chart-grid span:after{content:"";height:1px;background:var(--line);flex:1}.chart-bars{position:relative;display:flex;align-items:flex-end;justify-content:space-around;height:100%;gap:8px}.chart-month{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;flex:1;min-width:0}.bar-pair{height:calc(100% - 26px);width:100%;max-width:30px;display:flex;align-items:flex-end;gap:3px}.bar{width:50%;min-height:2px;border-radius:3px 3px 0 0}.income{background:var(--green)}.expense{background:#d5e0d3}.chart-month>span{font-size:9px;color:#8e9a91;margin-top:13px;height:13px}.chart-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:17px 24px;font-size:10px;color:var(--muted)}.chart-foot strong{font-size:14px;font-weight:620;color:var(--green)}.action-panel{padding:24px;background:#f3f6ef;border-color:#e1e7d9;display:flex;align-items:flex-start;flex-direction:column}.action-panel .eyebrow{font-size:8px;color:#8d997e}.action-icon{margin:11px 0 15px;display:flex;align-items:center;justify-content:center;width:49px;height:49px;background:#e5eddf;color:#73865c;border-radius:12px}.action-panel h2{font-size:19px}.action-panel p{font-size:11px;line-height:1.8;margin-top:10px;color:#818e76}.action-panel .button{margin-top:17px;font-size:10px}.action-tip{display:flex;gap:8px;font-size:9px;line-height:1.6;border-top:1px solid #dde4d5;padding-top:15px;margin-top:auto;color:#8d997f}.action-tip svg{flex-shrink:0}.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:550;color:#8d9a90;background:#fafbf9;padding:13px 24px;border-top:1px solid #eff1ec;border-bottom:1px solid #eff1ec}td{padding:17px 24px;border-bottom:1px solid #eff1ec;font-size:10px;color:#7a887e}tbody tr:last-child td{border-bottom:0}td strong{display:block;color:#44574d;font-weight:550;font-size:11px}td small{display:block;font-size:9px;margin-top:6px;color:#9aa49b}.numeric{text-align:right;font-variant-numeric:tabular-nums}.positive{color:var(--green)}.badge{display:inline-flex;padding:5px 9px;border-radius:5px;font-size:9px;align-items:center;white-space:nowrap}.badge.green{background:#eaf3eb;color:#3b805e}.badge.red{background:#fbeee8;color:#bc7559}.badge.amber{background:#f6f1e6;color:#a58c55}.badge.gray{background:#f0f1ee;color:#91988c}.row-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}.icon-button{border:0;background:none;padding:4px;display:inline-flex;align-items:center;justify-content:center;color:#89978b;border-radius:4px}.icon-button:hover{background:#f0f4ef;color:var(--green)}.text-button{border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:6px;color:var(--green);font-size:10px;white-space:nowrap}.text-button.subtle{color:#9b8674;font-size:9px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:23px}.quick-actions button{display:flex;align-items:center;gap:15px;border:1px solid var(--line);padding:20px;background:#fff;border-radius:9px;text-align:left;color:#728679}.quick-actions button>span{width:37px;height:37px;display:flex;align-items:center;justify-content:center;background:#f0f5ed;border-radius:9px}.quick-actions button>svg{margin-left:auto}.quick-actions strong{font-size:11px;font-weight:600;color:#48614e}.quick-actions p{margin-top:6px;font-size:10px;color:#95a18f}.footer{display:flex;justify-content:space-between;gap:20px;color:#a0aaa1;font-size:9px;padding-top:34px}.search{display:flex;align-items:center;gap:8px;background:#fafbf9;border:1px solid #e6ebe3;border-radius:6px;padding:8px 11px;color:#96a08e}.search input{border:0;background:none;width:180px;font-size:10px;outline:none}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:0 24px 24px}.client-card{border:1px solid var(--line);border-radius:9px;padding:22px;background:#fff;text-align:left;color:#6d8173;transition:border-color .15s}.client-card:hover{border-color:#9bbfa8}.client-avatar{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:9px;background:#eef3ea;font-weight:600;font-size:12px;margin-bottom:18px}.client-card h3{font-size:14px;color:#425a4b}.client-card p{font-size:10px;color:#83947f;margin-top:7px}.client-card>span:not(.client-avatar){display:block;font-size:10px;margin-top:15px}.client-card>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:18px;font-size:10px}.category-tag{font-size:9px;color:#8b947e;border:1px solid #e8ecdf;background:#fafbf5;border-radius:4px;padding:4px 7px}.empty{padding:55px 25px;text-align:center;color:#a7b1a3}.empty h3{color:#5c705f;margin-top:16px;font-size:15px}.empty p{color:#899884;font-size:11px;margin:10px auto 20px;max-width:420px;line-height:1.7}.notice{display:flex;align-items:flex-start;gap:10px;padding:16px 18px;background:#edf4ed;border:1px solid #dce9dc;border-radius:8px;color:#56735a;font-size:11px;line-height:1.7;margin-bottom:22px}.notice svg{flex-shrink:0;margin-top:2px}.notice p,.delivery-history p{overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:23px;align-items:start}.settings-panel{padding:26px}.template-settings{grid-column:1 / -1;padding:28px}.template-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}.template-kicker{font-size:9px;letter-spacing:1.5px;color:#7a8d75;font-weight:600;margin-bottom:10px}.template-heading h2{font-size:22px;margin-bottom:8px}.template-heading>div>p:last-child{font-size:12px;line-height:1.7;color:#83927d}.template-format{white-space:nowrap;font-size:10px;background:#edf3e8;color:#60795a;padding:8px 10px;border-radius:6px}.template-layouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}.template-choice{border:1px solid #dfe6db;border-radius:9px;padding:17px;background:#fafbf8;text-align:left;color:#415b47;cursor:pointer}.template-choice:hover{border-color:#93ac86}.template-choice.selected{border:2px solid #577d4c;padding:16px;background:#f2f6ed}.template-choice:focus-visible{outline:3px solid #99b589;outline-offset:3px}.template-choice-title{display:flex;align-items:center;justify-content:space-between;margin-top:15px;font-size:12px}.template-choice>p{font-size:10px;line-height:1.65;color:#7b8c74;margin-top:7px}.template-mini{width:100%;max-width:150px;height:155px;background:#fff;margin:0 auto;padding:14px 13px;box-shadow:0 3px 12px #1b341314;position:relative}.mini-header{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:3px solid var(--template-primary)}.mini-header span{display:block;width:39%;height:8px;background:var(--template-primary)}.mini-header span:last-child{width:29%;height:12px;background:#cbd4ce}.mini-client{width:46%;height:16px;background:#e6ece7;margin:13px 0}.mini-table{border-top:1px solid #dce3de}.mini-table>div{height:11px;border-bottom:1px solid #e4e9e5}.mini-total{width:45%;height:14px;background:var(--template-primary);margin:11px 0 0 auto}.template-mini.compact .mini-header{padding-bottom:6px;border-bottom:1px solid #cbd6cf}.template-mini.compact .mini-client{margin:8px 0;height:12px}.template-mini.compact .mini-table>div{height:9px}.template-mini.compact .mini-total{background:var(--template-secondary);border:1px solid #cbd6cf}.template-mini.accent{padding-top:0}.template-mini.accent .mini-header{background:var(--template-primary);margin:0 -13px;padding:16px 13px 14px;border:0}.template-mini.accent .mini-header span{background:#fff}.template-mini.accent .mini-table{border-top:5px solid var(--template-secondary)}.template-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:28px}.template-controls h3{font-size:13px;margin-bottom:20px}.template-color{display:flex;align-items:center;gap:12px}.template-color input[type=color]{width:52px;height:38px;padding:3px;cursor:pointer}.template-color code{font-size:11px;color:#6a7d67}.template-controls .field>small{display:flex;gap:5px;align-items:center}.template-controls input[type=file]{font-size:10px;padding:9px}.template-logo{display:flex;justify-content:space-between;align-items:center;background:#f5f7f2;border:1px solid #e0e7db;border-radius:6px;padding:12px}.template-logo img{max-width:155px;max-height:60px;object-fit:contain}.template-hint{font-size:10px;line-height:1.65;color:#82927b;margin-top:12px}.template-error{font-size:11px;line-height:1.6;color:#a33b35;margin:0 0 15px}.template-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:11px}.template-preview-toolbar label{display:flex;align-items:center;gap:8px;font-size:10px;color:#7e8f77}.template-preview-toolbar select{border:1px solid #dfe7dc;border-radius:5px;background:#fff;padding:6px;color:#415b47}.template-preview-scroll{height:760px;background:#e9eeeb;overflow:auto;border:1px solid #dbe3da}.template-preview-frame{width:794px;border:0;display:block;transform-origin:top left;background:#fff}.template-provider{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;margin-top:24px;border:1px solid #e3e7dc;background:#f8f9f4;border-radius:7px}.template-provider strong{font-size:11px}.template-provider p{font-size:10px;color:#819076;line-height:1.7;margin-top:6px}.template-provider.ready{background:#eef5e8;border-color:#ceddc3}.template-provider button{flex-shrink:0;font-size:10px}@media(max-width:1000px){.template-workspace{grid-template-columns:200px minmax(0,1fr);gap:18px}.template-settings{padding:22px}}@media(max-width:700px){.template-workspace{grid-template-columns:1fr}.template-layouts{gap:8px}.template-choice{padding:10px}.template-choice.selected{padding:9px}.template-mini{height:130px;padding:12px 9px}.template-mini.accent .mini-header{margin:0 -9px;padding:12px 9px}.template-choice-title{font-size:10px}.template-choice>p{font-size:9px}.template-heading{flex-direction:column;gap:10px}.template-provider{flex-direction:column;align-items:start}.template-preview-scroll{height:620px}}.settings-panel>p{color:#8e9c87;font-size:11px;line-height:1.7;margin-top:10px;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#5c735f;margin-bottom:17px}.field input,.field select,.field textarea,.invoice-line input{border:1px solid #dfe7dc;background:#fff;border-radius:6px;padding:10px 12px;color:#435d46;width:100%;font-size:12px;min-width:0}.field textarea{resize:vertical;min-height:80px;line-height:1.7}.field small{font-size:9px;line-height:1.6}.check-field{display:flex;align-items:center;gap:9px;font-size:11px;color:#73866d;margin-bottom:20px;line-height:1.5}.check-field input{accent-color:var(--green)}.vat-history{margin-bottom:25px}.vat-history>div{border-left:2px solid #b5d1b5;padding:2px 0 2px 13px;margin-bottom:15px}.vat-history strong{display:block;font-size:11px;font-weight:550}.vat-history span{display:block;font-size:10px;color:#93a087;margin-top:7px}.small-note{font-size:10px;color:#93a087;line-height:1.8;margin-top:23px;margin-bottom:15px}.modal{border:1px solid #dce5d8;border-radius:13px;padding:27px;width:min(750px,calc(100vw - 30px));max-height:calc(100vh - 50px);color:#3e5640;box-shadow:0 22px 100px #20382125}.modal::backdrop{background:#172d2544;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-heading h2{font-size:21px}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.modal-footer .muted{font-size:10px;margin-right:auto}.modal>p{font-size:13px;line-height:1.8}.line-header,.invoice-line{display:grid;grid-template-columns:minmax(0,1fr) 85px 110px 25px;gap:10px}.invoice-copy{border:1px solid var(--line);border-radius:7px;padding:13px;margin-bottom:18px;background:#fafbf9}.invoice-copy p{margin-top:9px;font-size:10px;color:var(--muted);line-height:1.6}.line-header{font-size:9px;color:#93a087;padding:13px 0 9px}.copy-split{display:inline-flex}.copy-split>.button:first-child{border-radius:7px 0 0 7px}.copy-split>.copy-arrow{border-left:0;border-radius:0 7px 7px 0;padding:11px 10px}.copy-options{margin-top:14px;border-top:1px solid var(--line);padding-top:14px}.client-code{display:inline-block;margin-left:6px;padding:3px 6px;border-radius:4px;background:#eaf3eb;color:var(--green);font-size:10px;letter-spacing:.5px}.field input[readonly]{background:#f6f8f4;color:var(--muted)}.invoice-line{margin-bottom:10px;align-items:center}.invoice-line input{font-size:11px;padding:10px}.add-line{margin:10px 0}.invoice-totals{margin:5px 0 25px auto;width:260px;border-top:1px solid var(--line);padding-top:15px}.invoice-totals>span,.invoice-totals>strong{display:flex;justify-content:space-between;margin-bottom:10px;font-size:11px}.invoice-totals b{font-weight:550}.invoice-totals>strong{font-size:15px;color:var(--green);margin-top:15px}.inline-info{font-size:10px;border:1px solid #e3ecdf;background:#f5f8f2;padding:11px 13px;border-radius:6px;margin-bottom:16px;color:#8b9c80}.send-actions{display:flex;gap:10px;margin:20px 0 16px;flex-wrap:wrap}.delivery-history{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.delivery-history h3{font-size:12px}.delivery-history p{font-size:10px;color:#9c9d86;margin-top:10px}.error-banner{display:flex;align-items:center;justify-content:space-between;color:#965f49;background:#fff0e9;border:1px solid #f0d6c8;padding:13px 16px;border-radius:7px;margin-bottom:18px;font-size:12px}.form-error{color:#a66a53;background:#fff4ef;border-radius:6px;padding:12px;font-size:12px;line-height:1.6;margin-top:12px}.toast{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;align-items:center;gap:10px;padding:15px 20px;border-radius:9px;background:#126b52;color:#fff;font-size:12px;box-shadow:0 8px 30px #0c463e20}.loading,.loading-inline{display:flex;align-items:center;justify-content:center;gap:10px;color:#879b80}.loading{min-height:100vh}.loading-inline{padding:40px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login{min-height:100vh;background:#f1f5ee;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:45px 20px}.login-brand{display:flex;gap:10px;align-items:center;font-size:34px;letter-spacing:-2px;margin-bottom:30px}.login-brand strong{font-weight:700}.login-brand strong>span{color:var(--green)}.login-card{width:100%;max-width:430px;background:#fff;border:1px solid #dde8d8;border-radius:15px;padding:36px}.login-card h1{font-size:36px;line-height:1.15;letter-spacing:-1.3px;margin-bottom:17px;color:#274f3b}.login-card>p{font-size:12px;line-height:1.7;color:#92a087;margin-bottom:27px}.login-card .button{width:100%;margin-top:8px}.login-security{display:flex;justify-content:center;gap:8px;align-items:center;font-size:10px;color:#96a38b;margin-top:25px}.login-card .local-note{font-size:9px;margin-top:20px;margin-bottom:0;color:#afb5a8}.login-card .notice{display:block;margin:0}.login-card .notice p{margin-top:9px}.settings-panel form>.button{margin-top:3px}@media(min-width:1600px){.content{padding:42px 50px}.topbar{padding:0 50px}}@media(max-width:1200px){.sidebar{width:210px;padding:30px 14px}.main-wrap{margin-left:210px;width:calc(100% - 210px)}.content{padding:28px}.stat{padding:17px}.stat>strong{font-size:22px}.overview-grid{grid-template-columns:1.9fr 1fr}.panel-toolbar{padding:20px}th,td{padding-left:17px;padding-right:17px}.row-actions{gap:7px}.client-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:950px){.sidebar{width:76px;padding:28px 12px}.brand{margin:0 7px 30px;font-size:0;gap:0}.brand-dot,.workspace,.nav-label,.nav-count,.sidebar-bottom{display:none}.nav-item{font-size:0;padding:14px;justify-content:center;gap:0}.nav-item svg{width:22px;height:22px}.main-wrap{margin-left:76px;width:calc(100% - 76px)}.stats-grid{grid-template-columns:repeat(2,1fr)}.overview-grid{grid-template-columns:1fr}.action-panel{display:none}.settings-grid{grid-template-columns:1fr}.quick-actions{gap:14px}.stat>strong{font-size:26px}.stats-grid.three{grid-template-columns:1fr 1fr}.stats-grid.three .stat:last-child{grid-column:1/-1}}@media(max-width:600px){.sidebar{inset:auto 0 0;width:100%;height:66px;border-top:1px solid var(--line);padding:7px 6px;background:#fff}.sidebar .brand{display:none}.sidebar nav{display:flex;justify-content:space-around}.nav-item{width:auto;padding:10px;margin:0}.main-wrap{margin:0;width:100%;padding-bottom:66px}.topbar{height:55px;padding:0 18px}.content{padding:25px 16px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:24px;gap:20px}.page-heading h1{font-size:29px}.heading-actions{width:100%;justify-content:space-between}.eyebrow{font-size:8px}.stats-grid{gap:10px}.stat{padding:16px 13px}.stat>strong{font-size:20px}.stat>div{font-size:9px;gap:4px}.stat small{font-size:8px;line-height:1.7}.panel-toolbar{padding:20px 16px;flex-wrap:wrap}.panel-toolbar h2{font-size:15px}.chart-legend{font-size:8px}.chart{margin-right:14px;margin-left:14px;padding-left:54px}.chart-bars{gap:4px}.chart-month>span{font-size:8px}.quick-actions{grid-template-columns:1fr;gap:12px}.quick-actions button{padding:18px}.footer{font-size:8px;line-height:1.6}.footer>span+span{display:none}.client-grid{grid-template-columns:1fr;padding:0 16px 16px}.settings-panel{padding:20px}.form-grid{gap:0 12px}.modal{padding:22px 17px}.invoice-line,.line-header{grid-template-columns:minmax(0,1fr) 57px 80px 20px;gap:6px}.invoice-line input{padding:9px 6px;font-size:10px}.line-header{font-size:8px}.send-actions .button{width:100%}.toast{bottom:80px;left:15px;right:15px}.search,.search input{width:100%}.login-card{padding:30px}.modal-footer{flex-wrap:wrap}.modal-footer .muted{max-width:170px}.field{font-size:10px}}.fx-context{grid-column:1 / -1;display:flex;flex-direction:column;gap:8px;padding:14px 16px;margin-bottom:18px;border-radius:10px;background:#f2f5ee;font-size:12px;line-height:1.6;color:#5c735f}.fx-context strong{color:#284b36}.settings-panel .vat-history{margin-top:18px}.fx-import-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0 0 18px}.fx-import-toolbar .muted{font-size:11px;line-height:1.6}.fx-reference{display:flex;flex-direction:column;gap:7px;padding:12px;margin-bottom:18px;border-radius:8px;background:#f2f5ee;color:#5c735f;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.vat-history span{overflow-wrap:anywhere}
