/* ARGUS revenue reports — adaptive admin and seller presentation. */
.ar-revenue{color:#eae8e4;max-width:100%;min-width:0;padding:0 0 22px}
.ar-revenue *{box-sizing:border-box}
.ar-revenue-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin:10px 0 20px}
.ar-revenue-heading small{font-size:11px;font-weight:800;letter-spacing:.14em;color:#d5ad7a}
.ar-revenue-heading h2{font-size:clamp(22px,3vw,28px);line-height:1.2;margin:7px 0;color:#f5e8d4}
.ar-revenue-heading p{font-size:13px;line-height:1.6;color:#bfc0c5;max-width:720px;margin:7px 0}
.ar-revenue-refresh{background:#d8b47d;color:#211b16;padding:11px 17px;border:0;border-radius:11px;font-weight:800;min-height:42px;cursor:pointer}
.ar-revenue-refresh:hover{background:#f2d3a2}
.ar-revenue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 22px}
.ar-revenue-stat{background:linear-gradient(137deg,#252b37,#1e242f);border:1px solid #454959;border-radius:17px;padding:18px 16px;min-width:0;box-shadow:0 5px 16px #0002}
.ar-revenue-stat>small{display:block;font-size:12px;letter-spacing:.03em;color:#c8c3c0;font-weight:650}
.ar-revenue-stat>strong{display:block;font-size:clamp(20px,2.2vw,30px);line-height:1.3;margin:9px 0 2px;color:#f0d4aa;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ar-revenue-stat>span{color:#b5b9c4;font-size:11px}
.ar-revenue-stat p{font-size:12px;line-height:1.5;color:#c5c9d1;margin:10px 0 0}
.ar-revenue-stat p b{font-weight:750;color:#f3efe8}
.ar-revenue-foot{border-top:1px solid #4b4c55;padding-top:11px;margin-top:13px;min-height:65px}
.ar-revenue-foot small{display:block;color:#b6bac3;font-size:11px;margin-top:6px}
.ar-revenue-trend{display:inline-flex;align-items:center;white-space:normal;font-size:11px;font-weight:800;line-height:1.5;padding:4px 8px;border-radius:8px}
.ar-revenue-trend.up{background:#244539;color:#9ce5b9}
.ar-revenue-trend.down{background:#542c30;color:#ffc1be}
.ar-revenue-trend.neutral{background:#343a47;color:#d0d5df}
.ar-revenue-panel{border:1px solid #454958;border-radius:16px;background:#232832;padding:18px 16px;margin:20px 0;min-width:0}
.ar-revenue-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.ar-revenue-panel-head h3{font-size:17px;color:#f1e1c9;margin:0}
.ar-revenue-panel-head small{color:#b7bac2;font-size:11px}
.ar-revenue-chart{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:6px;min-height:178px;margin-top:10px}
.ar-revenue-bar-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:7px}
.ar-revenue-bar-space{height:134px;display:flex;align-items:flex-end;justify-content:center;width:100%;border-bottom:1px solid #5c5e64}
.ar-revenue-bar{display:block;width:min(100%,35px);height:100%;fill:#e4ba7e}
.ar-revenue-bar.is-refund{fill:#eea7a0}
.ar-revenue-bar-column small{font-size:9px;color:#b5b9c2;white-space:nowrap;writing-mode:vertical-rl;transform:rotate(180deg);height:37px}
.ar-revenue-disclaimer{font-size:11px;color:#abb2bd;line-height:1.65;margin:14px 0 0}
.ar-revenue-table-wrap{width:100%;overflow-x:auto}
.ar-revenue-table{border-collapse:collapse;min-width:800px;width:100%;font-size:12px}
.ar-revenue-table th,.ar-revenue-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #414854;color:#ece8e2}
.ar-revenue-table thead th{color:#cbb699;font-weight:700;background:#272e39;white-space:nowrap}
.ar-revenue-table tbody th strong{display:block;font-size:12px}
.ar-revenue-table tbody th small{display:block;color:#adb5c4;font-size:10px;margin-top:4px}
.ar-revenue-table tbody tr:hover{background:#303744}
.ar-revenue-error{padding:18px;border:1px solid #9c6d61;border-radius:11px;background:#332c32;color:#ffd7d2}
#ar-seller-revenue{margin:17px 0 23px}
#page-revenue{min-width:0}
#page-revenue .ar-revenue{padding:5px 0 20px}
@media(max-width:1050px){.ar-revenue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .ar-revenue-heading{align-items:stretch}
 .ar-revenue-refresh{width:100%}
 .ar-revenue-grid{gap:9px}
 .ar-revenue-stat{padding:14px 12px}
 .ar-revenue-stat>strong{font-size:20px}
 .ar-revenue-stat p{font-size:11px}
 .ar-revenue-panel{padding:15px 11px}
 .ar-revenue-chart{gap:3px}
 .ar-revenue-bar-column small{font-size:9px}
}
@media(max-width:365px){.ar-revenue-grid{grid-template-columns:1fr}}
