/* Shared reporting presentation. Controls retain native GET behavior without JS. */
body .fp-compact-filters{display:block;max-width:none;margin:24px 0 32px;padding:0;border:0}
.fp-filter-chips{display:flex;gap:10px;align-items:center;overflow-x:auto;padding:4px 0 10px;max-width:100%}
body .fp-filter-chip{flex:none;max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:1px solid #d6d6d6;border-radius:999px;background:#fff;color:#171717;padding:10px 18px;min-height:44px;font:inherit;font-weight:500;cursor:pointer}
body .fp-filter-chip:hover{border-color:#171717}body .fp-filter-chip.is-active{background:#171717;color:#fff;border-color:#171717}
body .fp-filter-dialog{position:fixed;inset:auto;margin:0;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #e4e5e8;border-radius:20px;background:white;color:#171717;box-shadow:0 6px 30px #0002}
.fp-filter-dialog::backdrop{background:#0002}.fp-filter-dialog h2{font-size:22px;margin:0 44px 24px 0}
body .fp-filter-dialog label{display:block;font-size:16px}.fp-filter-dialog select,.fp-filter-dialog input{display:block;width:100%;min-width:0;margin-top:10px;min-height:48px}
body .fp-filter-close{position:absolute;right:16px;top:12px;width:44px;height:44px;border:0;background:transparent;font-size:30px;color:#171717;cursor:pointer}
.fp-filter-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.fp-filter-dialog .button{min-height:44px}
body .fp-metric-grid,body .report-cards,body .fp-pass-metrics,body .bo-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:24px 0}
body .fp-metric-grid>section,body .report-cards>article,body .fp-pass-metrics>div,body .bo-metrics>div{display:flex;flex-direction:column;gap:14px;min-width:0;border:1px solid #e0e3e9;border-radius:20px;padding:24px;margin:0;background:#fff}
body .fp-metric-grid strong,body .report-cards strong,body .fp-pass-metrics strong,body .bo-metrics strong{font-size:clamp(22px,2.3vw,32px);font-variant-numeric:tabular-nums;line-height:1.2;overflow-wrap:anywhere}
body .fp-pass-metrics>div>span{order:-1}.report-cards small{border-top:1px solid #eee;padding-top:12px}
body .store-variant-head,body .store-variant-row{grid-template-columns:minmax(0,1fr) 78px 146px;gap:8px}
body .store-draft-quantity{display:flex;align-items:center;gap:4px;margin:0;min-width:0}
body .store-draft-quantity .button{padding:0;min-height:44px;width:44px;min-width:44px;border-radius:12px;font-size:24px}
body .store-draft-quantity input{appearance:textfield;width:42px;min-width:0;padding:0;border:0;text-align:center;font-size:18px;pointer-events:none;background:transparent;margin:0}
.store-draft-quantity input::-webkit-inner-spin-button{appearance:none}
@media(max-width:700px){body .fp-filter-dialog{inset:0!important;width:100%;height:100dvh;max-width:none;max-height:none;border-radius:0;border:0;padding:72px 24px 24px;box-sizing:border-box}body .fp-filter-close{top:14px;right:18px}.fp-filter-actions{position:sticky;bottom:0;background:white;padding:16px 0}.fp-filter-chip{max-width:220px}body .store-variant-head,body .store-variant-row{grid-template-columns:minmax(0,1fr) 74px 138px;gap:4px}.store-variant-head{font-size:12px}body .store-draft-quantity input{width:34px}body .store-pos-product{padding:16px}}

body .store-variant-head>span{overflow-wrap:anywhere}body .store-draft-quantity input{border:0!important;box-shadow:none!important}

/* Compact report density, scoped to reports rather than transaction controls. */
body .fp-filter-chip{font-size:14px;padding:6px 14px;max-width:210px;min-height:40px}
.fp-guidance{border:1px solid #e0e3e9;border-radius:16px;padding:20px;margin:20px 0;background:#fafbfc}
.fp-guidance h2{font-size:20px;margin:0 0 8px}.fp-guidance p{margin:8px 0 14px}
.fp-guidance-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.fp-guidance-later{color:#666}
@media(max-width:700px){
 body .fp-report-surface>.container{padding-top:24px;padding-bottom:24px}
 body .fp-report-surface h1{font-size:26px;line-height:1.2;margin:16px 0 20px}
 body .fp-report-surface .back{font-size:14px;margin:0 0 12px}
 body .fp-compact-filters{margin:12px 0 18px}
 .fp-filter-chips{gap:8px;padding:2px 0 6px}
 body .fp-filter-chip{font-size:14px;line-height:20px;padding:6px 14px;min-height:36px;max-width:180px}
 body .fp-report-surface .fp-metric-grid,body .fp-report-surface .report-cards,body .fp-report-surface .fp-pass-metrics,body .fp-report-surface .bo-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
 body .fp-report-surface .fp-metric-grid>section,body .fp-report-surface .report-cards>article,body .fp-report-surface .fp-pass-metrics>div,body .fp-report-surface .bo-metrics>div{padding:14px;border-radius:14px;gap:10px;font-size:13px;line-height:1.35}
 body .fp-report-surface .fp-metric-grid strong,body .fp-report-surface .report-cards strong,body .fp-report-surface .fp-pass-metrics strong,body .fp-report-surface .bo-metrics strong{font-size:22px;white-space:normal;overflow-wrap:anywhere}
 body .fp-report-surface .fp-wide-metric{grid-column:1/-1}
 body .fp-report-surface .fp-wide-metric strong{white-space:normal;overflow-wrap:anywhere}
 body .fp-report-surface .fp-panel{padding:16px;margin:16px 0;border-radius:14px}
 body .fp-report-surface h2{font-size:19px;margin:0 0 12px}
 body .fp-report-surface p{font-size:14px;line-height:1.45;margin:8px 0}
 body .fp-report-surface .fp-operation-nav{gap:8px;margin:16px 0}
 body .fp-report-surface .button{font-size:14px;min-height:40px;padding:9px 12px;line-height:1.35}
 body .fp-report-surface .fp-filter-dialog h2{font-size:22px;margin:0 44px 24px 0}
 body .fp-report-surface .fp-filter-dialog .button{min-height:44px}
 .fp-guidance{padding:16px;margin:16px 0}.fp-guidance h2{font-size:18px}
}
@media(max-width:700px){
 body .fp-report-surface{padding-top:20px;padding-bottom:32px}
 body .fp-report-surface>.container{padding-top:0;padding-bottom:0;padding-left:20px;padding-right:20px}
 body .fp-report-surface .fp-metric-grid>section,body .fp-report-surface .report-cards>article,body .fp-report-surface .fp-pass-metrics>div,body .fp-report-surface .bo-metrics>div{margin:0!important}
 body:has(.fp-report-surface) .header-row{min-height:76px}
 body:has(.fp-report-surface) .brand{width:60px}
 body:has(.fp-report-surface) .compact-hero{padding-top:8px;padding-bottom:24px;gap:12px}
 body:has(.fp-report-surface) .compact-hero .platform-icon{width:36px;height:36px;border-radius:9px}
 body:has(.fp-report-surface) .compact-hero h1{font-size:18px;margin-bottom:2px}
 body:has(.fp-report-surface) .compact-hero p{font-size:13px;margin-bottom:0}
}

@media(max-width:700px){body .fp-report-surface .fp-metrics-enhanced strong{white-space:nowrap;overflow-wrap:normal}body .fp-report-surface .fp-metrics-enhanced .fp-wide-metric strong{white-space:normal;overflow-wrap:anywhere}}

/* 152: compact transaction details and individual funds entered together. */
.fp-sale-row{display:grid;grid-template-columns:5rem 9rem minmax(0,1fr) auto;gap:8px 16px;align-items:center;padding:12px 0;border-bottom:1px solid #e5e7eb;font-size:14px;line-height:1.35}.fp-sale-row>*{min-width:0;overflow-wrap:anywhere}.fp-sale-row strong{font-variant-numeric:tabular-nums}.fp-sale-status{grid-column:3/-1;color:#626873}.fp-fund-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,180px);align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e5e7eb}.fp-fund-row input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #bbb;border-radius:8px;font-size:16px}.fp-fund-row:last-of-type{margin-bottom:16px}
@media(max-width:700px){.fp-sale-row{grid-template-columns:1fr auto;gap:4px 12px;padding:10px 0}.fp-sale-row strong{text-align:right}.fp-sale-status{grid-column:1/-1}.fp-fund-row{grid-template-columns:minmax(0,1fr) 140px}.fp-sale-row time{font-size:12px}}

a.profile{text-decoration:none;overflow:hidden}
