:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#20302e;background:#f5f7f8;font-synthesis:none;font-size:14px;--teal:#11796b;--line:#e5eaea;--muted:#788782}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{outline-color:#0b9d89}input,select,textarea{border:1px solid #dbe2e0;border-radius:7px;background:#fff;padding:10px 12px;color:#253b35;max-width:100%}input:focus,textarea:focus,select:focus{outline:2px solid #6bc6b766;outline-offset:1px}input[type=checkbox]{accent-color:var(--teal);width:15px;height:15px;cursor:pointer;flex:none}button{border:0;background:none;color:inherit}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin:7px 0 8px;font-weight:650}h2{font-size:23px;margin:7px 0}h3{font-size:17px}p{line-height:1.6}small{font-size:12px}.shell{display:flex;min-height:100vh}.sidebar{width:235px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 17px 16px;position:fixed;inset:0 auto 0 0;z-index:15}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:700;padding:0 9px 40px}.brand small{display:block;font-size:9px;letter-spacing:1.6px;color:#81918a;margin-top:5px;font-weight:600}.brand-icon{background:var(--teal);color:#fff;width:39px;height:43px;border-radius:11px;display:grid;place-items:center}.nav-label{font-size:10px;letter-spacing:1.4px;color:#8d9a95;font-weight:700;padding:0 13px 14px}nav{display:flex;flex-direction:column;gap:6px}nav button{display:flex;align-items:center;gap:12px;border-radius:7px;text-align:left;padding:13px 12px;color:#63736d;font-size:13px}nav button:hover{background:#f4f7f6}nav button.active{background:#e7f3ee;color:#117666;font-weight:650}.nav-count{margin-left:auto;font-size:10px;background:#cde7db;border-radius:4px;padding:3px 4px}.connection i{display:inline-block;background:#26a47d;width:6px;height:6px;border-radius:50%;margin-right:6px}.profile{margin-top:auto;display:flex;align-items:center;gap:9px;text-align:left;font-size:12px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.profile>svg{margin-left:auto;color:var(--muted)}.avatar{height:32px;width:32px;display:grid;place-items:center;background:#e9efed;border-radius:50%;font-weight:700;color:#50655a}main{margin-left:235px;width:calc(100% - 235px)}.topbar{height:70px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px;font-size:12px;color:#8a9691}.topbar b{font-weight:500;color:#364b42}.slash{margin:0 15px;color:#b6c0bb}.today{display:flex;align-items:center;gap:22px}.connection{background:#f5f8f6;border:1px solid #e7eeea;border-radius:5px;padding:6px 9px;font-size:10px;color:#567266}.content{padding:32px 34px 24px;max-width:1920px;margin:0 auto}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#81968d}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.page-head p{font-size:12px;color:var(--muted);margin-bottom:0}.actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #dfe5e2;border-radius:7px;padding:10px 13px;font-size:12px;font-weight:600;white-space:nowrap;min-height:36px}.btn:hover{background:#f1f6f3}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff;box-shadow:0 2px 3px #063b2315}.btn.primary:hover{background:#0b675b}.btn.danger{color:#b24949;border-color:#eac9c9}.icon{display:inline-flex;align-items:center;justify-content:center;padding:5px;color:#7f8e87;border-radius:5px}.icon:hover{background:#eaf3ee;color:#14795b}.banner{display:flex;align-items:center;gap:10px;background:#fff9e9;border:1px solid #efdfb5;border-radius:8px;padding:11px 14px;margin-bottom:20px;color:#8c6c2f;font-size:12px}.banner button{margin-left:auto;display:flex;gap:5px;align-items:center;white-space:nowrap;font-weight:600;font-size:11px}.banner svg{flex:none}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;justify-content:space-between;padding:18px;gap:7px;min-width:0}.stat>div>span{color:#74867c;font-size:11px;font-weight:500}.stat-value{font-size:25px;font-weight:650;color:#283e34;letter-spacing:-.7px;margin:12px 0 8px;white-space:nowrap}.stat small{font-size:10px;color:#96a39b}.stat-icon{color:#739786;display:flex;justify-content:center;align-items:center;background:#f1f7f4;height:30px;width:30px;border-radius:6px;flex:none}.stat-icon:empty{display:none}.stat-icon svg{height:16px;width:16px}.panel{background:#fff;border:1px solid #e0e7e3;border-radius:10px;overflow:hidden;margin-bottom:22px;box-shadow:0 2px 4px #14372303}.panel-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 18px;min-height:53px}.tabs{display:flex;align-items:center;gap:22px}.tabs button{font-size:12px;padding:19px 0 16px;color:#819087;border-bottom:2px solid transparent}.tabs button.active{border-color:var(--teal);color:var(--teal);font-weight:600}.tabs span{font-size:10px;background:#eaf3ef;border-radius:4px;padding:2px 6px;margin-left:7px}.table-tools{display:flex;align-items:center;padding:17px 18px;gap:12px}.search{display:flex;align-items:center;border:1px solid #dee6e1;border-radius:6px;color:#95a69b;background:#fff;padding:0 10px;flex:1;min-width:180px}.search input{border:0;border-radius:0;width:100%;font-size:12px;padding:10px 8px;background:none}.search input:focus{outline:none}.search:focus-within{outline:2px solid #79baa688}.search input::placeholder{color:#a0aca4}.search svg{flex:none}.search button{display:flex;padding:3px}.table-tools select{font-size:12px;width:190px;max-width:45%}.table-scroll{overflow:auto}.table-scroll.busy{opacity:.55}.stock-table{min-width:1090px;width:100%;table-layout:fixed}.stock-table th:nth-child(1){width:36px}.stock-table th:nth-child(2){width:95px}.stock-table th:nth-child(3){width:125px}.stock-table th:nth-child(4){width:230px}.stock-table th:nth-child(5){width:110px}.stock-table th:nth-child(6){width:99px}.stock-table th:nth-child(7){width:119px}.stock-table th:nth-child(8){width:96px}.stock-table th:nth-child(9){width:131px}.stock-table th:last-child{width:52px}table{width:100%;border-collapse:collapse;font-size:12px}th{background:#f8faf9;color:#829087;font-size:10px;font-weight:600;text-align:left;border-top:1px solid #edf0ee;border-bottom:1px solid #e7ece8;padding:12px 11px;line-height:1.6}th button{display:flex;align-items:center;gap:6px;padding:0;color:inherit;font-size:inherit;text-align:inherit;line-height:inherit}.numeric{text-align:right;font-variant-numeric:tabular-nums}.numeric button{justify-content:flex-end;margin-left:auto}td{border-bottom:1px solid #edf1ee;padding:12px 11px;line-height:1.4;color:#4c6355;vertical-align:middle}tbody tr:nth-child(2n){background:#fcfdfc}tbody tr:hover{background:#f2f8f4}tbody tr.chosen{background:#eaf7f1}.stock-table td{height:47px;border-right:1px solid #f3f5f3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stock-table td.name{color:#314a3c;font-weight:500}.stock-table td.code{color:#488369;font-size:11px;font-weight:600}.stock-table td.catalog{font-size:11px;color:#7d8e82}.stock-table td.category{font-size:10px;color:#8b998f}.stock-table td.price{font-weight:600;color:#314e3f}.stock-table .check{padding:0 10px;text-align:center}.stock-badge{display:inline-block;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:600;min-width:26px}.stock-badge.positive{color:#2e8767;background:#ecf7f0}.stock-badge.zero{color:#94a098;background:#f1f4f1}.stock-badge.negative{color:#c06158;background:#fff0ec}.stock-table td.row-tools{padding:0 3px;color:#bb9a5f}.row-tools>span{vertical-align:middle}.editable:focus{outline:2px solid #38a68a;outline-offset:-2px}.editable input{border:1px solid #51aa8f;width:100%;padding:4px;border-radius:0;font-size:12px}.editable{cursor:cell}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;color:#8c9c91;font-size:10px;gap:10px}.table-footer>div{display:flex;align-items:center;gap:10px}.table-footer .btn{padding:4px;min-height:26px;border-color:#e7ece8}.dot{margin:0 8px;color:#bec9c0}.footnote{font-size:11px;color:#8b9b90;line-height:1.7}.selected-bar{display:flex;align-items:center;padding:10px 18px;background:#e7f4ee;font-size:12px;gap:16px;color:#257657}.selected-bar button{text-decoration:underline;font-size:11px}.selected-bar button:last-child{margin-left:auto}.empty{padding:50px 25px;text-align:center;color:#819386;font-size:13px}.empty svg{color:#90b19d}.empty h3{margin:12px 0 5px}.empty p{font-size:12px}.muted{color:#8c9b92;font-size:12px}.link{color:#127962;text-decoration:none;font-weight:600;padding:0}.link:hover{text-decoration:underline}.badge{display:inline-block;padding:4px 8px;border-radius:5px;font-size:10px;white-space:nowrap}.badge.issued{background:#eaf5ee;color:#34815b}.badge.draft{background:#f8f2e4;color:#9e864b}.panel-title{padding:19px 20px 3px}.alert{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid #efcdcd;border-radius:6px;background:#fff2f2;color:#a64040;margin-bottom:16px;font-size:13px}.alert button{margin-left:auto}.toast{position:fixed;bottom:25px;left:50%;background:#163f30;color:#fff;border:1px solid #285f49;border-radius:8px;padding:15px 24px;box-shadow:0 5px 30px #123b2a33;display:flex;align-items:center;gap:10px;z-index:100;font-size:13px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#15382966;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50}.modal{background:#fff;border-radius:12px;box-shadow:0 15px 80px #102d3444;width:530px;max-width:100%;max-height:94vh;display:flex;flex-direction:column;overflow:auto}.modal.wide{width:1100px}.modal>header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line);flex-shrink:0}.modal>header h2{margin-bottom:0;font-size:22px}.modal-body{padding:24px 26px;overflow:auto}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 26px;border-top:1px solid var(--line);gap:12px;background:#fafcfb;flex-shrink:0}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:12px;color:#6e8377}.field>span{font-weight:500}.field input,.field select,.field textarea{width:100%}.field textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.party-search{position:relative;margin-bottom:22px}.picked{display:flex;align-items:center;gap:7px;color:#237c5f;background:#eaf5ee;padding:10px 12px;border-radius:5px;font-size:12px}.picked small{margin-left:auto}.search-results{border:1px solid #dce7df;border-radius:6px;max-height:240px;overflow:auto;background:#f9fcfa;margin:5px 0 15px}.search-results button{display:block;text-align:left;width:100%;padding:11px 13px;border-bottom:1px solid #e8eeea;font-size:12px}.search-results button:hover{background:#e9f4ed}.search-results small{display:block;color:#8a9c8f;font-size:10px;margin-top:4px}.search-results p{font-size:12px;padding:12px;margin:0}.product-search{margin-bottom:20px}.line-editor input{width:100%;min-width:65px;font-size:12px;padding:7px}.line-editor td:first-child{width:46%}.line-editor td:first-child span{display:block;font-size:11px;color:#819487;margin-top:4px}.line-editor td{vertical-align:top}.line-editor th{white-space:nowrap}.line-editor{margin-bottom:20px}.doc-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.invoice{padding:20px 14px;color:#202b26}.invoice-heading{text-align:center;margin-bottom:35px}.invoice-heading h2{font-size:20px}.invoice-heading p{font-size:13px}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-bottom:30px}.invoice-parties h4{font-size:11px;color:#7e8c83;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}.invoice-parties p{margin:4px 0;font-size:12px}.invoice td{font-size:11px}.invoice th{font-size:10px}.totals{margin:20px 0 30px auto;width:280px}.totals>div{display:flex;justify-content:space-between;font-size:12px;padding:7px 0}.totals .grand{border-top:1px solid #cedbd2;margin-top:9px;padding-top:15px;font-size:16px;color:#145f42}.invoice-bottom{border-top:1px solid #dfe8e2;padding-top:18px;display:flex;justify-content:space-between;font-size:11px}.settings{max-width:820px;padding:26px}.confirm{display:flex;align-items:center;gap:9px;font-size:12px;margin:5px 0 25px;color:#5b7565}.report-controls{display:flex;align-items:center;gap:15px}.report-controls .field{width:220px}.report-controls .btn{margin-top:8px}.login{min-height:100vh;background:radial-gradient(ellipse at 20% 20%,#e4f4ec,transparent 65%),#f4f7f5;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px}.login-brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;color:#16705a;margin-bottom:30px}.login form{width:420px;max-width:100%;background:#fff;border:1px solid #e3ebe5;border-radius:15px;padding:35px;box-shadow:0 10px 50px #31604408}.login h1{font-size:25px;margin-top:15px}.login p{color:#91a195;font-size:12px;margin-bottom:28px}.login .btn{width:100%;margin:5px 0 20px}.login small{color:#9aaa9e;display:block;text-align:center;font-size:10px}.loading{display:grid;place-content:center;min-height:100vh;color:#4c866e}@media(min-width:1600px){.stock-table{table-layout:auto}.stock-table th:nth-child(4){width:auto;min-width:230px}}@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}main{margin-left:205px;width:calc(100% - 205px)}.content{padding:26px 22px}.stats{gap:10px}.stat{padding:13px}.stat-value{font-size:21px}.stat-icon{display:none}.page-head{align-items:flex-start}.actions{flex-wrap:wrap}.today .connection{display:none}.topbar{padding:0 22px}}@media(max-width:850px){.sidebar{width:67px;padding:20px 8px}.brand{padding:0 4px 25px}.brand>div:last-child,.nav-label,.profile>span:not(.avatar),.profile>svg,.nav-count{display:none}.brand-icon{width:36px}nav button{font-size:0;padding:14px;gap:0}nav svg{flex:none}.profile{margin-top:auto}.profile .avatar{margin:auto}.sidebar .brand{font-size:0}.sidebar .brand small{display:none}main{margin-left:67px;width:calc(100% - 67px)}.content{padding:22px 16px}.topbar{padding:0 17px;height:55px}.today{font-size:10px}.stats{grid-template-columns:repeat(2,1fr)}.stat-icon{display:flex}.page-head{display:block}.page-head .actions,.page-head>.btn{margin-top:17px}.banner{flex-wrap:wrap}.banner span{flex:1}.banner button{margin-left:25px}.tabs{gap:13px}.tabs button{font-size:10px}.tabs span{display:none}.table-tools{padding:13px;flex-wrap:wrap}.table-tools select{max-width:100%;flex:1}.table-footer{flex-wrap:wrap}.overlay{padding:10px}.modal-body{padding:17px}.modal>header{padding:18px}.form-grid{grid-template-columns:1fr}.modal-footer{padding:15px}.doc-actions{align-items:flex-start;gap:10px;flex-wrap:wrap}.invoice-parties{gap:20px}.settings{padding:19px}.invoice{padding:10px 0}.invoice-heading h2{font-size:16px}}.stock-panel .table-scroll{max-height:calc(100vh - 430px);min-height:260px}.stock-table thead th{position:sticky;top:0;z-index:2}.stock-table{min-width:940px}.stock-table th:nth-child(1){width:32px}.stock-table th:nth-child(2){width:80px}.stock-table th:nth-child(3){width:105px}.stock-table th:nth-child(4){width:180px}.stock-table th:nth-child(5){width:90px}.stock-table th:nth-child(6){width:85px}.stock-table th:nth-child(7){width:112px}.stock-table th:nth-child(8){width:86px}.stock-table th:nth-child(9){width:125px}.stock-table th:last-child{width:45px}.stock-table td,.stock-table th{padding-left:8px;padding-right:8px}.stock-table .check{padding:0 7px}.stock-table td.row-tools{padding:0 2px}@media(min-width:1600px){.stock-table th:nth-child(4){width:auto;min-width:230px}}@page{size:A4;margin:14mm}@media print{body{background:#fff}.shell>aside,.shell>main,.toast,.no-print,.modal>header,.modal-footer{display:none!important}.shell{display:block}.overlay{position:static;display:block;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}.modal,.modal.wide{display:block;width:100%;max-height:none;border-radius:0;box-shadow:none;overflow:visible}.modal-body{display:block;overflow:visible;padding:0}.invoice{padding:0}.invoice table{page-break-inside:auto}.invoice tr{page-break-inside:avoid}.invoice thead{display:table-header-group}.invoice-parties,.totals{break-inside:avoid}.invoice .totals{margin-top:18px}a{color:inherit}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media screen{table{font-size:14px}th{font-size:12px}.stock-table td.code,.stock-table td.catalog,.stock-table td.category,.stock-badge{font-size:13px}.stock-table .muted,.editable input,.line-editor input{font-size:14px}.stock-table td{height:51px}.stock-table{min-width:1100px}.invoice td{font-size:13px}.invoice th{font-size:12px}}.amount-words{font-size:14px;line-height:1.6;break-inside:avoid}.action-confirm{background:#fff8ef;border:1px solid #e5d3b6;border-radius:8px;padding:20px;margin-top:20px}.badge.deleted{background:#fbe9e9;color:#a33}.history-panel{margin-top:20px}.history-filters{flex-wrap:wrap;align-items:flex-end}.history-filters .field{margin:0;min-width:150px;flex:1}.history-filters select{max-width:100%;width:100%}.history-versions{display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:520px;margin:15px 0}.history-versions>div{background:#f7faf8;padding:12px;overflow:auto}.history-versions dl{display:grid;grid-template-columns:auto 1fr;gap:6px}.history-versions dd{margin:0}.history-panel td{vertical-align:top}.history-panel summary{cursor:pointer;color:var(--teal)}.history-snapshot table{font-size:12px}.doc-actions .actions{flex-wrap:wrap;justify-content:flex-end}.report-controls{flex-wrap:wrap;align-items:flex-end;margin-bottom:14px}.report-controls .field{margin-bottom:0}.report-controls .btn{margin-top:0}.report-lines{min-width:1050px}.report-lines td{vertical-align:top}.report-lines td:nth-child(5){min-width:220px;white-space:normal}.invoice-heading .invoice-number{font-size:24px;font-weight:800;color:#172d24;margin:8px 0}.comparison{min-width:820px}.comparison td:not(:first-child){font-variant-numeric:tabular-nums}.stock-table{min-width:1360px}.stock-table th.notes-heading{width:260px}.stock-table td.product-notes{white-space:normal;overflow:visible;vertical-align:top}.product-notes .notes-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:90px;overflow:auto;margin-bottom:6px}.product-notes textarea{width:100%;min-width:215px;resize:vertical;font-size:13px}.product-notes .actions{flex-wrap:wrap;gap:5px;margin-top:6px}.product-notes .btn{font-size:11px;padding:6px}.notes-error{color:#a64040;white-space:normal}.invoice-signatures{display:grid;grid-template-columns:1fr 1fr;gap:10px 40px;margin-top:25px;font-size:12px;break-inside:avoid}.invoice-signatures p{margin:7px 0}.signature-space{padding-top:30px}.signature-space span{display:block;border-top:1px solid #89968e;padding-top:5px;width:85%;font-size:10px;color:#53645b}.invoice-brand-footer{text-align:center;margin-top:28px;break-inside:avoid}.invoice-brand-footer img{width:69mm;max-width:100%;height:auto}.invoice-brand-footer p{font-size:11px;margin:12px 0 0}.receipt-grid-tools,.receipt-grid-footer{display:flex;align-items:center;gap:12px;margin:12px 0}.receipt-grid-tools .muted{flex:1;margin:0}.receipt-editor{min-width:1220px;border-collapse:separate;border-spacing:0;border:1px solid var(--line)}.receipt-editor th{position:sticky;top:0;z-index:4;background:#f0f5f3;white-space:normal;vertical-align:bottom}.receipt-editor th,.receipt-editor td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:0}.receipt-editor th{padding:9px 8px}.receipt-editor th:last-child,.receipt-editor td:last-child{border-right:0}.receipt-editor tbody tr:last-child td{border-bottom:0}.receipt-editor td{height:43px;background:#fff;vertical-align:middle}.receipt-editor td>input{width:100%;height:42px;border:0;border-radius:0;background:transparent;padding:8px;min-width:90px}.receipt-editor td>input:focus{outline:2px solid var(--teal);outline-offset:-2px;position:relative;z-index:3}.receipt-editor td>input:disabled{background:#f7faf9;color:#51645f;opacity:1}.receipt-editor th:nth-child(1){width:190px}.receipt-editor th:nth-child(2){width:250px}.receipt-editor th:nth-child(3){width:160px}.receipt-editor th:nth-child(4){width:95px}.receipt-editor th:nth-child(5){width:145px}.receipt-editor th:nth-child(6){width:85px}.receipt-editor th:nth-child(7){width:145px}.receipt-editor th:last-child{width:45px}.receipt-editor tr.receipt-new td{background:#fffdf4}.receipt-editor tr.receipt-new td>input:disabled{background:#fffdf4}.catalog-cell{position:relative}.catalog-cell .receipt-search-results{position:absolute;left:0;top:100%;z-index:30;width:440px;max-width:min(440px,80vw);max-height:280px;overflow:auto;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px #20302e26;border-radius:7px}.catalog-cell .receipt-search-results button{display:block;width:100%;padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}.catalog-cell .receipt-search-results button:hover{background:#f1f7f5}.catalog-cell .receipt-search-results small{display:block;color:var(--muted);margin-top:3px}.catalog-cell .receipt-search-results p{padding:12px;margin:0;color:var(--muted)}.composer-modal{width:min(1520px,calc(100vw - 20px))!important;max-height:calc(100vh - 20px)}.composer-modal>header{padding:10px 14px}.composer-modal>header h2{font-size:18px;margin:3px 0 0}.composer-modal>header .eyebrow{font-size:8px}.composer-modal .modal-body{padding:10px 14px}.composer-modal .modal-footer{padding:9px 14px}.composer-modal .form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 8px}.composer-modal .field{gap:3px;margin-bottom:6px;font-size:12px}.composer-modal .field>span{line-height:1.15}.composer-modal input,.composer-modal select,.composer-modal textarea{padding:6px 7px;border-radius:5px}.composer-modal .party-search{margin-bottom:7px}.composer-modal .party-search .field{margin-bottom:4px}.composer-modal .picked{padding:6px 8px}.composer-modal .receipt-grid-tools,.composer-modal .receipt-grid-footer{gap:7px;margin:5px 0}.composer-modal .receipt-grid-tools .muted{font-size:12px;line-height:1.3}.composer-modal .receipt-grid-footer{display:none}.composer-modal .receipt-table-scroll{overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 315px)}.composer-modal .receipt-editor{min-width:0;width:100%;table-layout:fixed;margin-bottom:5px;font-size:13px}.composer-modal .receipt-editor th{padding:5px;font-size:11px;line-height:1.2}.composer-modal .receipt-editor td{height:35px}.composer-modal .receipt-editor td>input{height:34px;min-width:0;padding:4px 5px;font-size:13px}.composer-modal .receipt-editor td:first-child{width:auto}.composer-modal .receipt-editor th:nth-child(1){width:15%}.composer-modal .receipt-editor th:nth-child(2){width:8%}.composer-modal .receipt-editor th:nth-child(3){width:20%}.composer-modal .receipt-editor th:nth-child(4){width:14%}.composer-modal .receipt-editor th:nth-child(5){width:6%}.composer-modal .receipt-editor th:nth-child(6){width:11%}.composer-modal .receipt-editor th:nth-child(7){width:6%}.composer-modal .receipt-editor th:nth-child(8){width:11%}.composer-modal .receipt-editor th:last-child{width:34px}.composer-modal .receipt-code-cell{padding:0 5px!important;white-space:nowrap;color:#33715f;font-weight:700;font-size:13px;font-variant-numeric:tabular-nums}.composer-modal .catalog-cell .receipt-search-results{width:400px;max-width:min(400px,75vw);max-height:220px;font-size:12px}.composer-modal .catalog-cell .receipt-search-results button{padding:8px 9px;font-size:12px}.composer-modal .line-editor{margin-bottom:7px}.composer-modal>.modal-body>p.muted{font-size:12px;line-height:1.35;margin-bottom:4px}@media(max-width:1200px){.composer-modal .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.composer-modal .receipt-table-scroll{overflow-x:auto}.composer-modal .receipt-editor{min-width:980px}}@media(max-width:850px){.composer-modal .form-grid{grid-template-columns:1fr}.composer-modal .receipt-editor{min-width:900px}}.selected-bar .danger-link{color:#a33;font-weight:700}.selected-bar .danger-link:hover{color:#7e1f1f}.receipt-search-popover{position:fixed;z-index:500;background:#fff;border:1px solid #cfded6;border-radius:8px;box-shadow:0 16px 42px #172f2733;overflow:auto;font-size:15px;line-height:1.35}.receipt-search-popover button{display:block;width:100%;padding:12px 14px;text-align:left;border-bottom:1px solid #e6eeea;font-size:15px;background:#fff}.receipt-search-popover button:hover{background:#edf7f2}.receipt-search-popover b{font-size:16px;color:#1f5f4c}.receipt-search-popover small{display:block;color:#667b70;font-size:13px;margin-top:5px}.receipt-search-popover p{padding:14px;margin:0;font-size:14px;color:#667b70}@media screen{.composer-modal .search input,.composer-modal .product-search .search-results button{font-size:15px}.composer-modal .product-search .search-results small{font-size:13px}.composer-modal .catalog-cell>input{font-size:15px}.report-parts td{font-size:14px}.report-parts th{font-size:12px}}.pos-payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:4px 0 8px}.pos-payment-summary>div{border:1px solid var(--line);border-radius:8px;background:#f8fbfa;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.pos-payment-summary span{font-size:11px;color:var(--muted)}.pos-payment-summary b{font-size:18px;color:#245c4a;font-variant-numeric:tabular-nums}.composer-modal .pos-table-scroll{overflow:visible}.composer-modal .pos-editor{table-layout:fixed;margin-bottom:5px}.composer-modal .pos-editor th:nth-child(1){width:38%}.composer-modal .pos-editor th:nth-child(2){width:9%}.composer-modal .pos-editor th:nth-child(3){width:13%}.composer-modal .pos-editor th:nth-child(4){width:9%}.composer-modal .pos-editor th:nth-child(5){width:13%}.composer-modal .pos-editor th:nth-child(6){width:15%}.composer-modal .pos-editor th:last-child{width:38px}.composer-modal .pos-editor td{vertical-align:middle;padding:6px 5px}.composer-modal .pos-editor td:first-child{width:auto}.composer-modal .pos-editor input,.composer-modal .pos-editor select{min-width:0;width:100%;height:34px;padding:4px 6px;font-size:13px}.pos-product-picked{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #dbe2e0;border-radius:5px;background:#fff;padding:4px 6px}.pos-product-picked span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-product-picked b{color:#33715f;margin-right:4px}.pos-line-total{font-weight:700;color:#245c4a;white-space:nowrap}@media(max-width:900px){.pos-payment-summary{grid-template-columns:1fr}.composer-modal .pos-table-scroll{overflow-x:auto}.composer-modal .pos-editor{min-width:900px}}.inline-pos-sale{margin:14px 0 18px;padding:14px}.inline-pos-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.inline-pos-head h3{margin:0 0 4px;font-size:18px}.inline-pos-head p{margin:0}.inline-pos-table-scroll{overflow:visible}.inline-pos-editor{table-layout:fixed;margin-bottom:5px}.inline-pos-editor th:nth-child(1){width:38%}.inline-pos-editor th:nth-child(2){width:9%}.inline-pos-editor th:nth-child(3){width:13%}.inline-pos-editor th:nth-child(4){width:9%}.inline-pos-editor th:nth-child(5){width:13%}.inline-pos-editor th:nth-child(6){width:15%}.inline-pos-editor th:last-child{width:38px}.inline-pos-editor td{vertical-align:middle;padding:6px 5px}.inline-pos-editor input,.inline-pos-editor select{min-width:0;width:100%;height:34px;padding:4px 6px;font-size:13px}.inline-pos-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.pos-report-table th:last-child,.pos-report-table td:last-child{white-space:nowrap}@media(max-width:900px){.inline-pos-head{flex-direction:column}.inline-pos-table-scroll{overflow-x:auto}.inline-pos-editor{min-width:900px}.inline-pos-actions{align-items:stretch;flex-direction:column}}.stock-table{min-width:1220px}.stock-table th:nth-child(7){width:90px}.stock-table th:nth-child(8){width:119px}.stock-table th:nth-child(9){width:96px}.stock-table th:nth-child(10){width:131px}.stock-table td.signal-stock{font-weight:650;color:#95621e}.stock-table tr.below-signal td.signal-stock,.stock-table tr.below-signal .stock-badge{color:#a24d24;background:#fff3e7}.stock-table tr.below-signal{box-shadow:inset 3px 0 #c68037}@media(min-width:1350px){.stats:has(.stat:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}}
