[data-view="admin-reports"]{max-width:100%}
.admin-reports-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.admin-reports-header .eyebrow{margin:0 0 2px;font-size:9px}
.admin-reports-header h1{margin:0;font-size:21px;line-height:1.15}
.admin-reports-header p:last-child{margin:3px 0 0;color:#766e68;font-size:11px}
.admin-reports-header button{min-height:32px;padding:6px 11px;font-size:11px;white-space:nowrap}
.admin-reports-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin:8px 0}
.admin-reports-toolbar label{display:grid;gap:2px;font-size:10px;color:#756d67}
.admin-reports-toolbar select,.admin-reports-toolbar input{height:32px;padding:5px 8px;border:1px solid #e1d7cf;border-radius:7px;background:#fff;color:#352d28;font-size:11px}
.admin-reports-toolbar input{min-width:230px}
.admin-reports-toolbar [data-reports-source]{margin-left:auto;color:#877d76;font-size:10px}
.admin-reports-toolbar [data-reports-range][hidden]{display:none}
.admin-reports-toolbar input[type="month"]{width:142px;min-width:0}
.admin-report-guide{margin:2px 0 7px;color:#756b63;font-size:10px;line-height:1.3}
.admin-reports-toolbar [data-reports-search]{min-width:165px;width:190px}
.report-accounting-state{display:inline-block;padding:2px 6px;border-radius:5px;background:#f3f0ed;color:#584e47;font-size:9px;font-weight:700;white-space:nowrap}
.report-accounting-state.is-pending,.report-accounting-state.is-partial{background:#fff0d7;color:#825016}
.report-accounting-state.is-paid{background:#e1f3e9;color:#216b4d}
.report-accounting-state.is-review,.report-accounting-state.is-unposted{background:#fff0e9;color:#a34329}
.admin-reports-table td small b{color:inherit;font-size:9px}
.admin-reports-detail .report-appendix-detail{margin-top:7px;border-top:1px solid #e9dfd8;padding-top:6px}
.admin-reports-detail .report-appendix-detail>summary{padding:5px 0;font-size:10px;font-weight:700;cursor:pointer}
.admin-reports-state{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:7px 10px;border:1px solid #ebe2db;border-radius:8px;background:#fff;font-size:11px}
.admin-reports-state b{font-size:13px}.admin-reports-state small{color:#92867e;font-size:10px}
.admin-report-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:7px}
.admin-report-totals>div{display:grid;align-content:start;gap:3px;min-width:0;padding:8px 9px;border:1px solid #e8ded6;border-radius:8px;background:#fff;line-height:1.25}
.admin-report-totals>button{display:grid;align-content:start;gap:3px;min-width:0;padding:8px 9px;border:1px solid #e8ded6;border-radius:8px;background:#fff;color:#352d28;text-align:left;font:inherit;line-height:1.25;cursor:pointer}
.admin-report-totals>button:hover,.admin-report-totals>button:focus-visible{border-color:#d6673b;background:#fff8f2}
.admin-report-totals>div>span{color:#766c64;font-size:10px}
.admin-report-totals>button>span{color:#766c64;font-size:10px}
.admin-report-totals>div>b{font-size:12px;line-height:1.25}
.admin-report-totals>button>b{font-size:13px;line-height:1.25}
.admin-report-totals>div>small{font-size:10px;line-height:1.25;color:#665b53}
.admin-report-totals>button>small{font-size:10px;line-height:1.25;color:#665b53}
.admin-report-totals>div>small b{color:#352d28;font-size:11px}
.admin-report-totals>p{grid-column:1/-1;margin:0;color:#82766d;font-size:9px;line-height:1.3}
.admin-report-totals-loading{grid-column:span 3;color:#766c64;font-size:11px}
.admin-reports-list{margin-top:8px}
.admin-reports-table-wrap{overflow:auto;border:1px solid #e8ded6;border-radius:10px;background:#fff}
.admin-reports-table{width:100%;border-collapse:collapse;font-size:10.5px}
.admin-reports-table th{padding:7px 8px;background:#f6f4f2;color:#8290a1;text-align:left;font-size:9px;line-height:1.2;white-space:nowrap}
.admin-reports-table td{padding:5px 8px;border-top:1px solid #eee7e1;line-height:1.22;white-space:nowrap}
.admin-reports-table td:first-child{white-space:normal;min-width:170px}
.admin-reports-table small{display:block;color:#92877f;font-size:9px}
.admin-report-partner{padding:0;border:0;background:none;color:#aa4a27;font-size:11px;font-weight:700;text-align:left;cursor:pointer}
.admin-report-open{padding:4px 7px;border:1px solid #e8d7cc;border-radius:6px;background:#fffaf7;color:#a84a27;font-size:10px;cursor:pointer}
.admin-reports-detail{margin-top:9px;border:1px solid #e5dbd3;border-radius:10px;background:#fff}
.admin-reports-detail[open]{overflow:visible;scroll-margin-top:90px}
.admin-reports-detail>summary{padding:9px 12px;color:#544841;font-size:11px;font-weight:700;cursor:pointer}
.admin-reports-detail>.monthly-report-panel{margin:0;border:0;box-shadow:none;padding:10px 12px}
.admin-reports-detail .monthly-report-panel .panel-head{margin:0;gap:8px}
.admin-reports-detail .monthly-report-panel .panel-head h2{font-size:15px;line-height:1.2}
.admin-reports-detail .monthly-report-panel .panel-head p:last-child{font-size:10px}
.admin-reports-detail .monthly-report-panel .secondary-button{min-height:30px;padding:5px 8px;font-size:10px}
.admin-reports-detail .report-controls{margin:8px 0;gap:7px}
.admin-reports-detail .report-controls label{min-width:150px;font-size:10px}
.admin-reports-detail .report-controls input,.admin-reports-detail .report-controls select{min-height:31px;padding:5px 7px;font-size:11px}
.admin-reports-detail .report-status-note,.admin-reports-detail .report-warning{padding:7px 9px;font-size:10px}
.admin-reports-detail .report-status-note b{font-size:11px}
.admin-reports-detail .report-metrics{margin:7px 0;gap:6px}
.admin-reports-detail .report-metrics>div{min-width:125px;padding:6px 8px}
.admin-reports-detail .report-metrics small{font-size:9px}.admin-reports-detail .report-metrics b{font-size:12px}
.admin-reports-detail .monthly-report-panel h3{margin:11px 0 5px;font-size:12px}
.admin-reports-detail .report-empty{margin:9px 0;font-size:10px}
.admin-reports-detail .monthly-report-panel details{margin-top:5px;padding-top:6px}
.admin-reports-detail .monthly-report-panel summary{font-size:10px}
.admin-reports-detail .report-table th,.admin-reports-detail .report-table td{padding:5px 6px;font-size:10px}
.admin-reports-detail .report-settlement{gap:6px;margin-top:9px}
.admin-reports-detail .report-settlement>div{padding:6px 8px}
.admin-reports-detail .report-settlement b{font-size:12px}
.admin-reports-detail .report-footnote{margin-top:8px;font-size:9px}
.admin-reports-detail .report-workflow{margin-top:8px;padding-top:8px}
.admin-reports-detail .report-body{font-size:10px;line-height:1.25}
.admin-reports-detail .report-status-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;margin:0 0 4px;padding:5px 8px;border-radius:6px;line-height:1.25}
.admin-reports-detail .report-status-note b{font-size:10px;white-space:nowrap}
.admin-reports-detail .report-checks{margin:0 0 5px!important;padding:0!important;border:1px solid #f0d5c6!important;border-radius:6px;background:#fff8f4}
.admin-reports-detail .report-checks summary{padding:5px 8px;font-size:10px;line-height:1.25;color:#864329}
.admin-reports-detail .report-checks summary b{font-size:10px}
.admin-reports-detail .report-checks summary span{margin-left:6px;font-weight:400}
.admin-reports-detail .report-checks ul{margin:0;padding:1px 10px 6px 25px;font-size:10px;line-height:1.3;color:#704d3e}
.admin-reports-detail .report-checks li+li{margin-top:3px}
.admin-reports-detail .report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:5px 0}
.admin-reports-detail .report-sales-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-reports-detail .report-metrics>div{min-width:0;gap:1px;padding:5px 7px;border-radius:6px;line-height:1.18}
.admin-reports-detail .report-metrics small{font-size:9px;line-height:1.2}
.admin-reports-detail .report-metrics b{font-size:11px;line-height:1.15}
.admin-reports-detail .monthly-report-panel h3{margin:7px 0 3px;font-size:11px;line-height:1.2}
.admin-reports-detail .monthly-report-panel details:not(.report-checks){margin-top:3px;padding-top:4px}
.admin-reports-detail .report-table th,.admin-reports-detail .report-table td{padding:3px 5px;font-size:9.5px;line-height:1.2}
.admin-reports-detail .report-table th{white-space:normal}
.admin-reports-detail .report-settlement{margin-top:6px}
.admin-reports-detail .report-settlement>div{gap:1px;padding:5px 7px;border-radius:6px;line-height:1.2}
.admin-reports-detail .report-settlement small,.admin-reports-detail .report-settlement span{font-size:9px;line-height:1.2}
.admin-reports-detail .report-settlement b{font-size:11px}
.admin-reports-detail .report-footnote{margin-top:5px;font-size:9px;line-height:1.25}
.admin-reports-detail .report-controls{margin:5px 0;gap:5px}
.admin-reports-detail .report-controls label{gap:2px}
.admin-reports-detail .report-workflow{margin-top:6px;padding-top:6px}
html[data-theme="dark"] .admin-reports-detail .report-checks{background:#3a2923;border-color:#754b38!important}
html[data-theme="dark"] .admin-reports-detail .report-checks summary,html[data-theme="dark"] .admin-reports-detail .report-checks ul{color:#f3c4ab}
html[data-theme="dark"] .admin-reports-detail .report-appendix-detail{border-color:#55443a}
html[data-theme="dark"] .report-accounting-state{background:#3a3029;color:#f1dfd2}
html[data-theme="dark"] .report-accounting-state.is-paid{background:#173e30;color:#a7e5c9}
html[data-theme="dark"] .report-accounting-state.is-pending,html[data-theme="dark"] .report-accounting-state.is-partial{background:#4a3619;color:#f9d89c}
html[data-theme="dark"] .report-accounting-state.is-review,html[data-theme="dark"] .report-accounting-state.is-unposted{background:#482a20;color:#f3b8a3}
@media(max-width:760px){.admin-reports-header{align-items:start}.admin-reports-header h1{font-size:18px}.admin-reports-header p:last-child{max-width:45ch}.admin-reports-toolbar [data-reports-source]{width:100%;margin-left:0}.admin-report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-report-totals-loading{grid-column:span 1}.admin-reports-table thead{display:none}.admin-reports-table tbody{display:grid;gap:6px;padding:6px}.admin-reports-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;padding:7px;border:1px solid #eee4dd;border-radius:8px}.admin-reports-table td{display:grid;gap:2px;min-width:0!important;padding:0;border:0;white-space:normal}.admin-reports-table td:before{content:attr(data-label);color:#92877e;font-size:9px}.admin-reports-table td:first-child{grid-column:1/-1}.admin-reports-table td:last-child{grid-column:1/-1}.admin-report-open{justify-self:start}.admin-reports-detail .report-settlement{grid-template-columns:1fr}}
@media(max-width:480px){.admin-reports-header{display:grid}.admin-reports-toolbar label{width:100%}.admin-reports-toolbar input,.admin-reports-toolbar select{width:100%;font-size:16px;min-height:40px}.admin-reports-state{gap:5px 10px}.admin-report-totals{grid-template-columns:1fr}.admin-report-totals-loading{grid-column:auto}.admin-reports-detail>.monthly-report-panel{padding:8px}.admin-reports-detail .report-metrics>div{min-width:calc(50% - 6px)}}
@media(max-width:700px){
  .admin-reports-detail .report-metrics,.admin-reports-detail .report-sales-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-reports-detail .report-metrics>div{min-width:0}
  .admin-reports-detail .report-controls input,.admin-reports-detail .report-controls select{min-height:42px;font-size:16px}
  .admin-reports-detail .data-table-wrap.embedded{overflow:visible}
  .admin-reports-detail .report-table{display:block;min-width:0;width:100%}
  .admin-reports-detail .report-table thead{display:none}
  .admin-reports-detail .report-table tbody{display:grid;gap:4px}
  .admin-reports-detail .report-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;padding:6px;border:1px solid #e9e0d8;border-radius:6px}
  .admin-reports-detail .report-table td{display:grid;gap:1px;min-width:0;padding:0;border:0;overflow-wrap:anywhere}
  .admin-reports-detail .report-table td:before{content:attr(data-label);color:#8a7f77;font-size:9px}
}

.admin-payment-ledger{margin:10px 0 12px;padding:10px 12px;border:1px solid #e5dbd3;border-radius:10px;background:#fff}
.admin-payment-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.admin-payment-head .eyebrow{margin:0 0 2px;font-size:9px}
.admin-payment-head h2{margin:0;font-size:16px;line-height:1.18}
.admin-payment-head p:last-child{margin:3px 0 0;color:#756d67;font-size:10px;line-height:1.25}
.admin-payment-head button{flex:none;min-height:30px;padding:5px 9px;font-size:10px}
.admin-payment-stats{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;padding:6px 8px;border:1px solid #eae1da;border-radius:7px;background:#fbfaf9;font-size:10px}
.admin-payment-stats>span{display:inline-flex;align-items:center;gap:4px;padding-right:10px;border-right:1px solid #e6dcd4}
.admin-payment-stats>span:last-child{border:0}
.admin-payment-stats b{font-size:12px}
.admin-payment-stats small{color:#80766e;font-size:9px}
.admin-payment-stats .is-warning{color:#a94726}
.admin-payment-stats strong{color:#ae4425}
.admin-payment-cash{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;margin:-2px 0 7px;padding:6px 8px;border:1px solid #e4d8cc;border-radius:7px;background:#fffaf5;font-size:11px;line-height:1.25}
.admin-payment-cash small{color:#756d67;font-size:9px}
.admin-payment-filters{display:flex;align-items:end;flex-wrap:wrap;gap:7px;margin-bottom:7px}
.admin-payment-filters label{display:grid;gap:2px;color:#756d67;font-size:9px}
.admin-payment-filters select,.admin-payment-filters input{box-sizing:border-box;height:29px;min-height:29px;padding:4px 7px;border:1px solid #e1d7cf;border-radius:6px;background:#fff;color:#352d28;font-size:10px}
.admin-payment-filters input{width:220px}
.admin-payment-table-wrap{overflow-x:auto;border:1px solid #e9e0d9;border-radius:8px}
.admin-payment-table{width:100%;min-width:1060px;border-collapse:collapse;font-size:10px;line-height:1.2}
.admin-payment-table th{padding:6px 7px;background:#f6f4f2;color:#7d8b9c;text-align:left;font-size:9px;white-space:nowrap}
.admin-payment-table td{padding:5px 7px;border-top:1px solid #eee7e1;vertical-align:middle}
.admin-payment-table b{font-size:10px}
.admin-payment-table small{display:block;margin-top:1px;color:#8c8179;font-size:9px;line-height:1.18}
.admin-payment-table .admin-payment-missing-date{color:#b64c29}
.admin-payment-source{display:inline-block;padding:2px 5px;border:1px solid #eeded2;border-radius:5px;background:#fff7f1;color:#a34e2e;font-size:9px;white-space:nowrap}
.admin-payment-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:6px;font-size:10px}
.admin-payment-pager span:first-child{margin-right:auto;color:#786e67}
.admin-payment-pager button{min-height:26px;padding:3px 8px;border:1px solid #e5d8cf;border-radius:6px;background:#fff;color:#594d46;font-size:10px;cursor:pointer}
.admin-payment-pager button:disabled{opacity:.45;cursor:default}
.admin-payment-footnote{margin-top:6px;color:#776d65;font-size:9px;line-height:1.25}
.admin-report-pay{margin-top:2px;padding:4px 7px;border:1px solid #c95829;border-radius:6px;background:#c95829;color:#fff;font-size:10px;cursor:pointer}
.admin-payment-mark-row td{padding:8px!important;background:#fff8f3}
.admin-payment-mark-row form{display:flex;align-items:end;flex-wrap:wrap;gap:7px;font-size:10px}
.admin-payment-mark-row form>b{align-self:center;margin-right:auto}
.admin-payment-mark-row label{display:grid;gap:2px;color:#756d67;font-size:9px}
.admin-payment-mark-row input{box-sizing:border-box;height:30px;padding:4px 7px;border:1px solid #d9c7bb;border-radius:6px;background:#fff;color:#352d28;font-size:11px}
.admin-payment-mark-row button{min-height:30px;padding:4px 8px;border:1px solid #d6a589;border-radius:6px;background:#fff;color:#9a4222;font-size:10px;cursor:pointer}
.admin-payment-mark-row button[type="submit"]{background:#c95829;color:#fff}
.admin-payment-mark-row [role="status"]{color:#a64124}
html[data-theme="dark"] .admin-payment-ledger,html[data-theme="dark"] .admin-payment-table-wrap{background:#241e1b;border-color:#55443a}
html[data-theme="dark"] .admin-reports-toolbar :is(input,select){background:#302720;color:#f3e6dd;border-color:#604a3c;color-scheme:dark}
html[data-theme="dark"] .admin-reports-state{background:#241e1b;border-color:#55443a}
html[data-theme="dark"] .admin-payment-stats,html[data-theme="dark"] .admin-payment-table th{background:#2d251f;border-color:#55443a}
html[data-theme="dark"] .admin-payment-filters input,html[data-theme="dark"] .admin-payment-filters select,html[data-theme="dark"] .admin-payment-pager button{background:#302720;color:#f3e6dd;border-color:#604a3c}
html[data-theme="dark"] .admin-payment-table td{border-color:#55443a}
html[data-theme="dark"] .admin-report-totals>div{background:#241e1b;border-color:#55443a}
html[data-theme="dark"] .admin-report-totals>button{background:#241e1b;color:#f3e6dd;border-color:#55443a}
html[data-theme="dark"] .admin-report-totals>button:hover{background:#3a2923}
html[data-theme="dark"] .admin-report-totals>button>span,html[data-theme="dark"] .admin-report-totals>button>small{color:#cab9ad}
html[data-theme="dark"] .admin-report-totals>div>small b{color:#f3e6dd}
html[data-theme="dark"] .admin-payment-cash,html[data-theme="dark"] .admin-payment-mark-row td{background:#302720;border-color:#604a3c}
html[data-theme="dark"] .admin-payment-mark-row input,html[data-theme="dark"] .admin-payment-mark-row button{background:#241e1b;color:#f3e6dd;border-color:#604a3c}
html[data-theme="dark"] .admin-report-totals>div>span,html[data-theme="dark"] .admin-report-totals>div>small,html[data-theme="dark"] .admin-report-totals>p{color:#cab9ad}
.admin-report-month-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:6px 0;color:#81766e;font-size:10px}
.admin-report-month-card{display:grid;gap:2px;min-width:0;padding:7px 8px;border:1px solid #e9dfd7;border-radius:8px;background:#fff;color:#51453e;text-align:left;font:inherit;line-height:1.18;cursor:pointer}
.admin-report-month-card:hover,.admin-report-month-card.is-selected{border-color:#db865d;background:#fff8f3}
.admin-report-month-card>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-report-month-card b{font-size:10px}
.admin-report-month-card small{color:#87796f;font-size:9px;line-height:1.2}
.admin-report-month-title{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#3d3029;text-transform:capitalize}
.admin-report-month-title b{font-size:11px}
.admin-report-month-title em{color:#af4e2c;font-size:9px;font-style:normal;font-weight:700}
.admin-payment-table .admin-payment-review{color:#a64124;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme="dark"] .admin-report-month-card{background:#241e1b;color:#f3e6dd;border-color:#55443a}
html[data-theme="dark"] .admin-report-month-card.is-selected{background:#3a2923;border-color:#a85c3a}
html[data-theme="dark"] .admin-report-month-title{color:#f3e6dd}
@media(max-width:1100px){.admin-report-month-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.admin-report-month-board{grid-template-columns:1fr}}
@media(max-width:760px){
  .admin-payment-ledger{padding:9px}
  .admin-payment-head{flex-wrap:wrap}
  .admin-payment-filters label{flex:1;min-width:135px}
  .admin-payment-filters input,.admin-payment-filters select{width:100%}
  .admin-payment-table{min-width:0}
  .admin-payment-table thead{display:none}
  .admin-payment-table tbody{display:grid;gap:5px;padding:5px}
  .admin-payment-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 7px;padding:7px;border:1px solid #e9e0d9;border-radius:7px}
  .admin-payment-table td{min-width:0;padding:0;border:0;overflow-wrap:anywhere}
  .admin-payment-table td:before{content:attr(data-label);display:block;color:#91867d;font-size:9px}
  .admin-payment-table td:nth-child(2),.admin-payment-table td:last-child{grid-column:1/-1}
  .admin-payment-mark-row{display:block!important}
  .admin-payment-mark-row td{display:block}
  .admin-payment-mark-row td:before{display:none}
  .admin-payment-mark-row form{display:grid;grid-template-columns:1fr 1fr}
  .admin-payment-mark-row form>b,.admin-payment-mark-row label:nth-of-type(2),.admin-payment-mark-row [role="status"]{grid-column:1/-1}
  .admin-payment-mark-row input{width:100%;min-height:42px;font-size:16px}
}
