.shop-profit-table{width:100%;min-width:1200px;border-collapse:collapse;font-size:13px}
.profit-full{width:calc(100vw - 40px)!important;max-width:1500px!important;max-height:90vh;overflow:auto;padding:18px}
.profit-full header{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-18px;background:var(--bg-sunken);z-index:2;padding:10px}
.profit-full h2{margin:0;font-size:18px}
.profit-full small,.profit-explain,.profit-coverage{font-size:12px;color:var(--text-muted);line-height:1.7}
.profit-equation{padding:14px 0;line-height:1.8;font-size:14px}
.profit-equation small{display:block}
.profit-scroll{overflow:auto;max-width:100%}
.profit-type-table,.profit-order-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:13px}
.profit-type-table{min-width:850px}
.profit-order-table{min-width:1300px}
.profit-type-table th,.profit-type-table td,.profit-order-table th,.profit-order-table td{padding:10px 8px;border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;vertical-align:top}
.profit-type-table th,.profit-order-table th{background:var(--bg-sunken);color:var(--text-muted);font-weight:500}
.profit-type-table td:first-child,.profit-type-table th:first-child,.profit-order-table td:first-child,.profit-order-table th:first-child{text-align:left}
.profit-order-table td:first-child{min-width:240px;max-width:380px;white-space:normal}
.profit-order-lines{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.profit-order-lines h4{font-size:12px;margin:12px 0 6px}
.profit-order-lines>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border);padding:5px 0}
.profit-order-lines b{white-space:nowrap}
.profit-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0}
.profit-tools input,.profit-tools select,.profit-tools button{height:32px}
.profit-tools button{display:flex;align-items:center;gap:4px}
.profit-order-table summary{cursor:pointer}
.profit-order-table summary:focus-visible{outline:2px solid var(--brand)}
.shop-profit-table{min-width:2000px!important}
.shop-profit-page .page-head{flex-wrap:wrap;gap:8px}
@media (max-width:700px){.profit-full{width:calc(100vw - 16px)!important;padding:10px;max-height:94vh}}
@media (max-width:700px){.profit-full header{top:-10px}}
@media (max-width:700px){.profit-tools input{width:160px}}
@media (max-width:700px){.profit-equation{font-size:13px}}