.reports-toolbar{margin-bottom:15px}.report-filter{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:13px 16px}.quick-periods{display:flex;align-items:center;gap:6px}.quick-periods>span{font-size:9px;color:var(--muted);margin-left:5px}.quick-periods button{border:1px solid var(--line);background:white;color:var(--muted);border-radius:9px;padding:7px 11px;font-size:9px}.quick-periods button.active{background:var(--green);border-color:var(--green);color:white}.date-range{display:flex;align-items:end;gap:7px}.date-range>span{padding-bottom:8px;color:var(--muted)}.date-range label{display:grid;gap:4px;font-size:8px;color:var(--muted)}.date-range input{border:1px solid var(--line);border-radius:8px;padding:7px;color:var(--ink);font-size:9px;background:white}.report-metrics .metric-card{position:relative;overflow:hidden}.report-metrics .metric-card:after{content:"";position:absolute;bottom:0;right:0;left:0;height:3px;background:var(--green);opacity:.25}.report-metrics .metric-card:nth-child(3):after{background:var(--gold)}.report-metrics .metric-card:nth-child(4):after{opacity:1}.report-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin-bottom:14px}.report-chart-panel{min-height:335px}.financial-chart{height:250px;display:flex;align-items:end;gap:10px;padding:25px 5px 0;border-bottom:1px solid var(--line)}.financial-day{height:100%;flex:1;display:flex;align-items:end;gap:3px;position:relative;min-width:19px}.financial-day .revenue-bar,.financial-day .expense-bar{flex:1;min-height:2px;border-radius:5px 5px 0 0}.financial-day .revenue-bar{background:var(--green)}.financial-day .expense-bar{background:var(--gold);opacity:.72}.financial-day label{position:absolute;bottom:-22px;right:-8px;left:-8px;text-align:center;font-size:7px;color:var(--muted);white-space:nowrap}.profit-equation{margin-top:18px}.profit-equation>div{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:11px;padding:13px}.profit-equation span{font-size:9px;color:var(--muted)}.profit-equation strong{font-size:14px}.profit-equation>i{display:block;text-align:center;font-style:normal;color:var(--muted);font-size:17px;height:26px}.profit-equation .net-result{background:var(--green);color:white;border-color:var(--green)}.profit-equation .net-result span{color:#bed0c8}.profit-margin{margin-top:15px;background:var(--bg);border-radius:11px;padding:11px}.margin-head{display:flex;justify-content:space-between;font-size:9px}.margin-head strong{color:var(--green)}.margin-bar{height:6px;background:#e0e6e3;border-radius:5px;margin-top:8px;overflow:hidden}.margin-bar i{display:block;height:100%;background:var(--green);border-radius:5px}.profit-margin small{display:block;color:var(--muted);font-size:7px;margin-top:7px}.daily-report-panel{margin-top:0}.report-table td,.report-table th{white-space:nowrap}.report-table .money-positive{color:#378c69;font-weight:700}.report-table .money-negative{color:var(--red);font-weight:700}.report-table .sales-count{display:inline-flex;align-items:center;gap:5px}.report-table .sales-count i{width:20px;height:20px;border-radius:6px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-style:normal;font-size:8px}.margin-badge{background:var(--mint);color:var(--green);padding:4px 7px;border-radius:10px;font-size:8px}.margin-badge.low{background:#fff3e5;color:#a76a28}.report-table tfoot td{background:#f5f8f6;font-weight:800;border-top:2px solid var(--line)}
@media(max-width:1000px){.report-filter{align-items:flex-start;flex-direction:column;gap:13px}.date-range{width:100%}.date-range label{flex:1}.date-range input{width:100%}}
@media(max-width:800px){.report-grid{grid-template-columns:1fr}.financial-chart{gap:5px}.reports-toolbar .toolbar-actions{width:auto}.report-filter{padding:12px}.quick-periods{width:100%}.quick-periods button{flex:1}.date-range{flex-wrap:wrap}.date-range .soft-btn{width:100%}}
@media(max-width:520px){.reports-toolbar .toolbar-actions{width:100%}.reports-toolbar .toolbar-actions>*{flex:1}.financial-chart{overflow-x:auto}.financial-day{min-width:28px}.report-filter{overflow:hidden}.quick-periods>span{display:none}}
.report-orders-link{border:0;background:transparent;color:var(--ink);padding:0;font-weight:600}.report-orders-link:hover{color:var(--green);text-decoration:underline}.transactions-page-head{display:flex;gap:18px;align-items:center;margin-bottom:20px}.transactions-page-head h2{margin:3px 0}.transactions-page-head p{font-size:9px;color:var(--muted);margin:0}.back-btn{border:1px solid var(--line);background:white;border-radius:10px;padding:9px 12px;color:var(--green);font-size:9px}.orders-ledger-panel{padding:0;overflow:hidden}.ledger-toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.ledger-toolbar>div>span{font-size:8px;color:var(--gold)}.ledger-toolbar h3{margin:3px 0}.ledger-filters{display:flex;gap:8px}.ledger-filters select{border:1px solid var(--line);background:white;border-radius:10px;padding:0 10px;font-size:9px;color:var(--ink)}.orders-ledger-head,.ledger-row{display:grid;grid-template-columns:105px 75px minmax(210px,1.7fr) 110px 100px 100px 80px;gap:10px;align-items:center}.orders-ledger-head{padding:11px 20px;background:#fafbfa;color:var(--muted);font-size:8px;border-bottom:1px solid var(--line)}.ledger-row{padding:12px 20px;border-bottom:1px solid var(--line);transition:.15s}.ledger-row:hover{background:#fbfdfc}.ledger-row:last-child{border:0}.order-number-cell strong,.order-number-cell span{display:block}.order-number-cell strong{direction:ltr;text-align:right;font-size:11px}.order-number-cell span{font-size:7px;color:#39966e;margin-top:2px}.order-time{font-size:9px;color:var(--muted)}.ledger-items strong,.ledger-items span{display:block}.ledger-items strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ledger-items span{font-size:7px;color:var(--muted);margin-top:3px}.ledger-pill{font-size:8px;background:var(--bg);border-radius:10px;padding:5px 7px;width:max-content}.ledger-total{font-size:11px;color:var(--green)}.invoice-open-btn{border:1px solid var(--line);background:white;border-radius:8px;padding:7px;color:var(--green);font-size:8px}.invoice-open-btn:hover{background:var(--green);color:white}.invoice-barcode{margin:17px auto 8px;text-align:center}.barcode-svg{display:block;width:250px;max-width:100%;height:62px;margin:auto;background:white}.invoice-barcode code{display:block;direction:ltr;font-size:9px;letter-spacing:2px;margin-top:3px;color:var(--ink)}.invoice-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.invoice-meta-grid div{background:var(--bg);padding:9px;border-radius:8px;text-align:right}.invoice-meta-grid span,.invoice-meta-grid strong{display:block}.invoice-meta-grid span{font-size:7px;color:var(--muted)}.invoice-meta-grid strong{font-size:9px;margin-top:2px}.invoice-paid{display:inline-block;background:var(--mint);color:var(--green);border-radius:12px;padding:5px 9px;font-size:8px;margin-top:9px}
@media(max-width:1100px){.orders-ledger-head,.ledger-row{grid-template-columns:95px 65px 1fr 90px 90px 75px}.orders-ledger-head span:nth-child(5),.ledger-row>*:nth-child(5){display:none}}
@media(max-width:800px){.transactions-page-head{align-items:flex-start;flex-direction:column}.ledger-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.ledger-filters{width:100%}.ledger-filters .search{flex:1}.orders-ledger-head{display:none}.ledger-row{grid-template-columns:80px 1fr 75px 62px}.ledger-row>*:nth-child(2),.ledger-row>*:nth-child(4),.ledger-row>*:nth-child(5){display:none}.ledger-row{padding:11px}}
.square-barcode{margin:15px auto 8px;padding-top:13px;border-top:1px dashed var(--line);text-align:center}.square-barcode>span{display:block;font-size:8px;color:var(--muted);margin-bottom:7px}.square-barcode-svg{display:block;width:132px;height:132px;margin:auto;background:white;border:1px solid var(--line);border-radius:7px;padding:6px}.square-barcode code{display:block;direction:ltr;font-size:9px;letter-spacing:1.6px;margin-top:6px;color:var(--ink);font-weight:700}
