/* Kârlılık Merkezi v16.0 — one coherent scope per visible KPI.
   Secondary raw order totals, FBA-only contribution and itemized fees stay
   available in the expandable reconciliation section, not as rival headlines. */
.saas-page-profit #profitFinanceOverview{
 border:1px solid #e2e7ef;border-radius:16px;
 background:#fff;box-shadow:0 4px 20px rgba(25,42,67,.045);
}
.saas-page-profit .profit-finance-heading{
 padding:19px 21px 16px;background:#fff;border-bottom:1px solid #edf0f4;
}
.saas-page-profit .profit-finance-heading h3{font-size:21px;letter-spacing:-.55px}
.saas-page-profit .profit-finance-heading p{font-size:11px}
.saas-page-profit .profit-reconciliation{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
 gap:12px;background:#fff;padding:18px 20px 16px;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item{
 min-height:114px;padding:15px 16px;border:1px solid #e4e9f0;border-top:1px solid #e4e9f0;
 background:#fbfcfe;box-shadow:none;border-radius:11px;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item>span{
 font-size:11px;color:#64758b;font-weight:750;letter-spacing:0;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item strong{
 font-size:clamp(22px,1.9vw,28px);font-weight:850;color:#22334c;letter-spacing:-.65px;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item small{
 font-size:10px;color:#8b98a8;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.net-revenue{
 background:#f8fbfd;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.total-outflows{
 background:#fafbfd;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.headline-profit{
 background:#f7fafc;border-color:#dce7ef;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.headline-profit.is-negative{
 background:#fff8f9;border-color:#f0dbe0;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.headline-profit.is-negative strong{
 color:#a53d54;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.unresolved{
 background:#fffdfa;border-color:#f0e8dd;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item.unresolved strong{
 color:#785d3b;
}
.saas-page-profit .profit-reconciliation>.profit-reconcile-item .profit-reconcile-action{
 font-size:10px;margin-top:auto;
}
.saas-page-profit .profit-integrity-line{
 grid-column:1/-1;color:#56687d;background:#f4f7fb;border:1px solid #e7edf5;
 border-radius:9px;padding:9px 12px;font-size:11px;line-height:1.45;
}
.saas-page-profit .profit-integrity-line.has-gaps{
 color:#805f39;background:#fffaf2;border-color:#f0e4cf;
}
.saas-page-profit .profit-reconcile-footer{
 grid-column:1/-1;display:flex;gap:10px 18px;align-items:center;justify-content:space-between;
 flex-wrap:wrap;padding:4px 1px 0;
}
.saas-page-profit .profit-reconcile-footer .profit-ads-real-row{
 padding:2px 0;margin:0;flex:1 1 470px;
}
.saas-page-profit .profit-ads-real-row[aria-label="Reklam gideri hesaplama yöntemi"] small{
 display:none;
}
.saas-page-profit .profit-ads-real-row label[for="orderAdsMode"]{
 font-size:11px;font-weight:750;
}
.saas-page-profit #orderAdsMode{
 min-height:35px;max-width:min(500px,72vw);min-width:230px;
 background:#fff;border:1px solid #dce3eb;border-radius:9px;
 padding:6px 9px;color:#294359;font-size:11px;font-weight:650;
}
.saas-page-profit .profit-monthly-edit-details{
 flex:0 0 auto;min-width:0;border:0;margin:0;padding:0;
}
.saas-page-profit .profit-monthly-edit-details>summary{
 cursor:pointer;list-style:none;border:1px solid #dce5ed;border-radius:9px;
 padding:9px 12px;font-size:11px;font-weight:750;color:#486078;
 background:#fff;white-space:nowrap;
}
.saas-page-profit .profit-monthly-edit-details>summary::marker{content:''}
.saas-page-profit .profit-monthly-edit-details[open]{flex-basis:100%}
.saas-page-profit .profit-monthly-edit-details[open]>.profit-ads-real-row{
 padding:13px 12px;margin-top:8px;border:1px solid #e3e9f1;border-radius:10px;
 background:#f8fafc;
}
.saas-page-profit #monthlyAdsCoverage{
 flex-basis:100%;max-width:100%;font-size:10.5px;line-height:1.5;
 padding:3px 0;color:#65788d;
}
.saas-page-profit .profit-reconcile-footer .profit-scope-note{flex:0 0 auto}
.saas-page-profit .profit-reconcile-footer #compareOrderTotals{font-size:10px}
.saas-page-profit .profit-evidence-row{
 padding:14px 20px 5px;color:#4b6279;font-size:11px;
}
.saas-page-profit .profit-evidence-row>p{margin:0 0 12px}
.saas-page-profit .profit-evidence-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
.saas-page-profit .profit-evidence-grid>.profit-reconcile-item{
 border:1px solid #e5ebf2;border-radius:10px;padding:14px;
 display:flex;flex-direction:column;gap:6px;min-width:0;background:#fff;
}
.saas-page-profit .profit-evidence-grid>.profit-reconcile-item>span{
 color:#6b7f92;font-size:10px;font-weight:750;
}
.saas-page-profit .profit-evidence-grid>.profit-reconcile-item strong{
 color:#2b3b51;font-size:21px;font-weight:850;letter-spacing:-.45px;
 font-variant-numeric:tabular-nums;
}
.saas-page-profit .profit-evidence-grid>.profit-reconcile-item small{
 color:#8596a8;font-size:10px;line-height:1.4;
}
.saas-page-profit #profitFinanceOverview>.compact-detail-section{background:#fcfdff}
.saas-page-profit #profitFinanceOverview>.compact-detail-section>summary{
 font-size:11px;color:#63758b;
}
.saas-page-profit #profitFinanceOverview .profit-finance-hero{padding:14px 20px;gap:9px}
.saas-page-profit #profitFinanceOverview .profit-finance-stat{
 min-height:130px;padding:12px;box-shadow:none;
}
.saas-page-profit #profitFinanceOverview .profit-finance-stat-icon{display:none}
.saas-page-profit #profitFinanceOverview .profit-finance-stat-value{font-size:21px!important}
@media(max-width:1150px){
 .saas-page-profit .profit-reconciliation{grid-template-columns:repeat(2,minmax(0,1fr))}
 .saas-page-profit .profit-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:660px){
 .saas-page-profit .profit-reconciliation{grid-template-columns:1fr;padding:12px}
 .saas-page-profit .profit-finance-heading{padding:15px}
 .saas-page-profit .profit-evidence-grid{grid-template-columns:1fr}
 .saas-page-profit #orderAdsMode{max-width:100%;min-width:0;width:100%}
 .saas-page-profit .profit-reconcile-footer .profit-ads-real-row{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){
 .saas-page-profit .profit-reconciliation>.profit-reconcile-item{transition:none}
}
