.finance_profit_report_page{padding:24px;box-sizing:border-box;height:100%;overflow:auto;background:#f7f8fa;color:#262626;font-size:13px;min-width:0}
.finance_profit_report_page[hidden]{display:none!important}
.fr_header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.fr_header h1{font-size:22px;line-height:1.4;margin:0 0 6px;font-weight:600}.fr_header p{margin:0;color:#8c8c8c}
.fr_actions{display:flex;gap:10px}.finance_profit_report_page button{background:#fff;border:1px solid #d9d9d9;border-radius:5px;padding:8px 14px;color:#595959;cursor:pointer;font:inherit;white-space:nowrap}
.finance_profit_report_page button:hover:not(:disabled){border-color:#c99a3d;color:#ad7b21}.finance_profit_report_page button:disabled{opacity:.45;cursor:not-allowed}
.finance_profit_report_page button:focus-visible,.finance_profit_report_page summary:focus-visible{outline:2px solid #c99a3d;outline-offset:2px}
.fr_scope_note,.fr_cost_policy{padding:12px 16px;line-height:1.8;background:#fffaf0;border:1px solid #f1dfb9;border-radius:6px;color:#8a6527}
.fr_filters{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;background:#fff;border:1px solid #ececec;border-radius:6px;padding:18px;margin:16px 0}
.fr_filters label{display:flex;flex-direction:column;gap:7px;color:#595959;font-size:12px}.fr_filters input,.fr_filters select{height:36px;box-sizing:border-box;min-width:120px;border:1px solid #d9d9d9;border-radius:4px;background:#fff;color:#262626;padding:0 10px;font:inherit}
.fr_filters .fr_search{flex:1;min-width:235px}.fr_filters select[name=shop]{max-width:230px}.fr_filters button[type=submit]{background:#d3a23e;border-color:#c99a3d;color:#fff;height:36px;padding:0 22px}
.fr_cards{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:12px}.fr_card{background:#fff;border:1px solid #ececec;border-radius:6px;padding:18px 16px;min-width:0}.fr_card span{color:#8c8c8c;font-size:12px;display:block;margin-bottom:12px}.fr_card strong{font-size:23px;font-weight:600;overflow-wrap:anywhere}.fr_card:last-child{border-top:3px solid #d3a23e;padding-top:16px}
.fr_completeness{font-size:12px;color:#8c8c8c;line-height:1.8;margin:10px 0 16px}.fr_cost_policy{background:#f1f5f9;border-color:#e3e9ef;color:#627080;font-size:12px}
.fr_status{display:flex;gap:16px;justify-content:space-between;align-items:center;line-height:1.7}.fr_status p{margin:15px 0;color:#8c8c8c}.fr_status small{color:#8c8c8c;flex-shrink:0}.fr_status p.is_error{color:#c0392b}
.fr_pager{display:flex;gap:8px;justify-content:flex-end;align-items:center;background:#fff;padding:12px;border:1px solid #ececec}.fr_pager span{margin-right:8px;color:#8c8c8c}.fr_pager button{padding:5px 12px}
.fr_table_wrap{width:100%;overflow:auto;border-left:1px solid #ececec;border-right:1px solid #ececec;background:#fff}.fr_table{width:100%;min-width:1400px;border-collapse:collapse;text-align:left}.fr_table th{background:#f8f9fb;color:#595959;font-weight:500;padding:14px 12px;white-space:nowrap}.fr_table td{vertical-align:top;padding:16px 12px;border-top:1px solid #edf0f5;line-height:1.7}.fr_table tr:hover td{background:#fffdf7}.fr_table small{display:block;color:#8c8c8c;font-size:11px;line-height:1.7}.fr_table .fr_order_id{font-weight:500;color:#1677ff;white-space:nowrap;font-size:12px}.fr_table details{min-width:165px;max-width:300px}.fr_table summary{cursor:pointer;overflow-wrap:anywhere;color:#52667d}.fr_cost_line{margin:10px 0 0;padding:8px 10px;background:#f5f7fa;border-radius:4px;line-height:1.7}.fr_cost_line span{display:block}.fr_cost_line b{font-weight:500}.fr_table .fr_money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.fr_pending{color:#c38c26}.fr_loss{color:#c0392b}.fr_badge{border-radius:4px;background:#f4f6f8;padding:3px 6px;font-size:11px;white-space:nowrap}.fr_table .fr_empty{text-align:center;padding:60px;color:#8c8c8c}
@media(max-width:1450px){.fr_cards{grid-template-columns:repeat(4,minmax(145px,1fr))}}
@media(max-width:1250px){.fr_cards{grid-template-columns:repeat(3,minmax(145px,1fr))}.fr_status{align-items:flex-start;flex-direction:column;gap:0}.fr_status small{margin-bottom:12px}}
@media(max-width:700px){.finance_profit_report_page{padding:14px}.fr_header{align-items:flex-start;flex-direction:column}.fr_cards{grid-template-columns:repeat(2,minmax(125px,1fr))}.fr_card strong{font-size:20px}}

.fr_table .fr_total_cost{font-weight:600}
