#reportsScreen{background:#f5f7fb!important;min-height:100vh;}
.reports-shell{max-width:1320px;margin:0 auto;min-width:0;}
.reports-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;position:relative;}
.reports-kicker{font-size:7px;letter-spacing:1px;font-weight:900;color:#a1aab4;margin-bottom:4px;}
.reports-head h2{margin:0;font-size:19px;color:#202a35;font-weight:800;}
.reports-head p{margin:4px 0 0;font-size:8px;color:#89939d;}
.reports-filter-wrap{position:relative;z-index:10;}
.reports-date-button{width:auto!important;min-width:145px!important;margin:0!important;padding:7px 9px!important;display:flex!important;align-items:center;justify-content:center;gap:5px;background:#fff!important;color:#465362!important;border:1px solid #dfe5eb!important;border-radius:7px!important;font-size:9px!important;font-weight:800!important;box-shadow:0 2px 7px rgba(27,42,58,.04)!important;}
.reports-date-button .material-icons{font-size:15px!important;color:#2f80ed!important;}
.reports-date-popup{position:absolute;right:0;top:39px;width:min(320px,calc(100vw - 34px));background:#fff;border:1px solid #e1e6ec;border-radius:10px;padding:10px;box-shadow:0 15px 40px rgba(30,43,58,.16);z-index:100020;}
.reports-date-popup-head{display:flex;align-items:center;justify-content:space-between;font-size:9px;margin-bottom:8px;}.reports-date-popup-head button{width:24px!important;height:24px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#f2f4f6!important;color:#5e6873!important;font-size:17px!important;}
.reports-date-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:8px;}.reports-date-presets button{margin:0!important;padding:7px 5px!important;background:#f6f8fb!important;color:#58636f!important;border:1px solid #e5eaf0!important;border-radius:6px!important;font-size:7px!important;font-weight:800!important;}.reports-date-presets button:hover{background:#edf5ff!important;color:#2f80ed!important;}
.reports-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px;}.reports-date-fields label{font-size:7px!important;font-weight:800;color:#7b8590;}.reports-date-fields input{margin-top:3px!important;height:30px!important;font-size:8px!important;padding:5px!important;border:1px solid #dfe5eb!important;border-radius:6px!important;}
.reports-date-actions{display:flex;gap:6px;margin-top:8px;}.reports-date-actions button{margin:0!important;min-height:30px!important;font-size:8px!important;font-weight:800!important;}.reports-date-actions .secondary{background:#f1f3f5!important;color:#59636e!important;}.reports-date-actions .primary{background:#2f80ed!important;color:#fff!important;}
.reports-tabs{display:flex;gap:5px;margin-bottom:9px;border-bottom:1px solid #e4e9ef;padding-bottom:5px;}.reports-tab{width:auto!important;margin:0!important;padding:7px 10px!important;background:transparent!important;color:#7a8590!important;border:0!important;border-radius:7px!important;font-size:8px!important;font-weight:900!important;display:inline-flex!important;align-items:center;gap:5px;}.reports-tab .material-icons{font-size:14px!important;}.reports-tab.active{background:#edf5ff!important;color:#2f80ed!important;}
.reports-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.report-card{position:relative;display:flex;align-items:center;gap:8px;min-width:0;background:#fff;border:1px solid #e4e9ef;border-radius:9px;padding:10px;box-shadow:0 2px 8px rgba(28,43,58,.04);}.report-card:hover{border-color:#cddbeb;box-shadow:0 5px 16px rgba(28,43,58,.07);}.report-card-icon{width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#edf5ff;color:#2f80ed;display:flex;align-items:center;justify-content:center;}.report-card-icon .material-icons{font-size:17px;}.report-card-main{min-width:0;flex:1;}.report-card-main h3{margin:0;font-size:10px;color:#27313d;font-weight:900;}.report-card-main p{margin:3px 0 0;font-size:7px;line-height:1.35;color:#8a949f;}.report-favorite,.report-open{width:25px!important;height:25px!important;flex:0 0 25px;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:#f5f7fa!important;color:#9aa3ad!important;display:flex!important;align-items:center;justify-content:center;}.report-favorite.active{color:#e0a800!important;background:#fff8df!important;}.report-favorite .material-icons,.report-open .material-icons{font-size:15px!important;}.report-open{color:#2f80ed!important;background:#edf5ff!important;}
.reports-empty,.reports-error{grid-column:1/-1;background:#fff;border:1px dashed #dce3ea;border-radius:10px;padding:28px;text-align:center;color:#7b8590;}.reports-empty .material-icons{font-size:28px;color:#a8b1ba;}.reports-empty strong{display:block;font-size:11px;color:#45515e;margin-top:6px;}.reports-empty p{font-size:8px;margin:4px 0 0;}.reports-empty.compact{margin-top:8px;}
.report-detail-view{background:#fff;border:1px solid #e4e9ef;border-radius:10px;overflow:hidden;}.report-detail-head{display:flex;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid #edf0f4;}.report-detail-head>button{width:28px!important;height:28px!important;padding:0!important;margin:0!important;background:#f1f4f7!important;color:#5c6874!important;border-radius:7px!important;}.report-detail-head strong{display:block;font-size:11px;color:#27313d;}.report-detail-head small{display:block;margin-top:2px;font-size:7px;color:#8a949f;}.report-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:9px;}.report-detail-summary>div{background:#f7f9fc;border:1px solid #e7ebf0;border-radius:7px;padding:7px;min-width:0;}.report-detail-summary small{display:block;font-size:6px;color:#8c96a0;}.report-detail-summary strong{display:block;margin-top:3px;font-size:10px;color:#27313d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.report-detail-table{padding:0 9px 10px;}.report-table-scroll{overflow:auto;border:1px solid #e6ebf0;border-radius:7px;}.report-table-scroll table{width:100%;border-collapse:collapse;font-size:8px;min-width:650px;}.report-table-scroll th{background:#f5f8fc;color:#65717c;font-size:7px;font-weight:900;text-align:left;padding:7px;border-bottom:1px solid #e1e6ec;white-space:nowrap;}.report-table-scroll td{padding:7px;border-bottom:1px solid #eef1f4;color:#3d4854;white-space:nowrap;}.report-table-scroll tr:last-child td{border-bottom:0;}.report-status{display:inline-flex;padding:3px 5px;border-radius:5px;background:#edf5ff;color:#2f80ed;font-size:6px;font-weight:900;}.report-loading{padding:20px;text-align:center;font-size:8px;color:#87919b;}
@media(max-width:700px){.reports-head{flex-direction:column;}.reports-filter-wrap{width:100%;}.reports-date-button{width:100%!important;justify-content:flex-start!important;}.reports-date-popup{left:0;right:auto;width:min(320px,calc(100vw - 26px));}.reports-card-grid{grid-template-columns:1fr;gap:6px;}.report-detail-summary{grid-template-columns:repeat(2,1fr);}.reports-shell{width:100%;}.reports-head h2{font-size:16px;}}

/* Step 11.1 — report filter stays within the manager content area on mobile. */
@media(max-width:700px){#sbp-app .reports-date-popup{left:0!important;right:auto!important;width:min(320px,calc(100vw - 76px))!important;max-width:calc(100vw - 76px)!important;box-sizing:border-box!important;}.reports-date-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.reports-date-popup-head{gap:5px!important;}}
