.toma-report-page { padding-bottom: 40px; color:#0f172a; }
.tr-hero, .tr-filter-card, .tr-days-card, .tr-panel { background:#fff; border:1px solid #dbe5f2; border-radius:22px; box-shadow:0 18px 45px rgba(15,23,42,.07); margin-bottom:18px; }
.tr-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; padding:24px 26px; }
.tr-kicker { display:block; color:#315eff; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.tr-hero h2, .tr-filter-head h3, .tr-section-head h3, .tr-toma-head h3 { margin:0 0 6px; font-weight:950; }
.tr-hero h2 { font-size:34px; }
.tr-hero p, .tr-section-head p, .tr-toma-head p { margin:0; color:#667085; }
.tr-actions { display:flex; gap:10px; flex-wrap:wrap; }
.tr-main-btn, .tr-light-btn { border-radius:14px!important; font-weight:850; }
.tr-main-btn { box-shadow:0 12px 22px rgba(49,94,255,.22); }
.tr-light-btn { background:#f3f7fc!important; border-color:#e5eef7!important; color:#0f172a!important; }
.tr-filter-card { padding:22px 24px; }
.tr-filter-head { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:16px; }
.tr-filter-type { max-width:280px; border-radius:14px!important; font-weight:800; }
.tr-grid-filters { display:grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); gap:14px; align-items:end; }
.tr-search-field { grid-column: span 2; }
.tr-filter-card label { font-size:12px; font-weight:900; color:#132238; }
.tr-filter-actions { display:flex; gap:10px; padding-top:14px; border-top:1px solid #edf2f7; margin-top:14px; }
.tr-days-card { padding:20px 24px; }
.tr-section-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; padding:22px 24px; border-bottom:1px solid #edf2f7; }
.tr-days-card .tr-section-head { padding:0 0 14px; border-bottom:0; }
.tr-days-list { display:flex; flex-wrap:wrap; gap:9px; }
.tr-day-pill { background:#fef3c7; border:1px solid #fde68a; color:#92400e; border-radius:999px; padding:8px 12px; font-weight:900; cursor:pointer; }
.tr-stats-grid { display:grid; grid-template-columns:repeat(5, minmax(160px, 1fr)); gap:14px; margin-bottom:18px; }
.tr-stats-grid article { background:#fff; border:1px solid #dbe5f2; border-radius:18px; padding:18px; box-shadow:0 12px 30px rgba(15,23,42,.05); }
.tr-stats-grid span { display:block; color:#718096; text-transform:uppercase; letter-spacing:.06em; font-size:12px; font-weight:900; }
.tr-stats-grid strong { display:block; margin-top:10px; font-size:26px; line-height:1; font-weight:950; }
.tr-page-pill { display:inline-flex; border-radius:999px; background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; padding:8px 12px; font-size:12px; font-weight:900; }
.tr-tomas-list { padding:22px; display:flex; flex-direction:column; gap:16px; }
.tr-toma-card { border:1px solid #dfe8f4; border-radius:20px; background:#fff; box-shadow:0 12px 30px rgba(15,23,42,.055); overflow:hidden; }
.tr-toma-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:18px 20px; background:linear-gradient(180deg,#fbfdff 0%,#f4f8ff 100%); border-bottom:1px solid #e7eef8; }
.tr-toma-head h3 small { display:inline-flex; margin-left:8px; padding:4px 8px; border-radius:999px; background:#eef4ff; color:#315eff; border:1px solid #d8e4ff; font-size:11px; vertical-align:middle; }
.tr-toma-stats { display:grid; grid-template-columns:repeat(6,minmax(120px,1fr)); gap:10px; padding:14px 20px; border-bottom:1px solid #edf2f7; }
.tr-toma-stats span { border:1px solid #edf2f7; border-radius:14px; padding:10px 12px; background:#fbfdff; color:#64748b; font-weight:850; }
.tr-toma-stats b { display:block; color:#0f172a; font-size:17px; }
.tr-toma-stats .pos b, .tr-diff.pos { color:#047857; }
.tr-toma-stats .neg b, .tr-diff.neg { color:#dc2626; }
.tr-toma-body { display:none; padding:0 20px 20px; }
.tr-toma-body.is-open { display:block; }
.tr-subsection { margin-top:18px; }
.tr-subsection h4 { margin:0 0 10px; font-size:16px; font-weight:950; color:#16213a; }
.tr-table-wrap { overflow-x:auto; }
.tr-table { width:100%; border-collapse:separate; border-spacing:0; min-width:1040px; }
.tr-table-compact { min-width:860px; }
.tr-table th { background:#f8fafc; border-top:1px solid #e6eef8; border-bottom:1px solid #e6eef8; color:#33415c; font-size:12px; text-transform:uppercase; letter-spacing:.05em; padding:13px 12px; text-align:left; }
.tr-table th:first-child { border-left:1px solid #e6eef8; border-radius:14px 0 0 0; }
.tr-table th:last-child { border-right:1px solid #e6eef8; border-radius:0 14px 0 0; }
.tr-table td { padding:13px 12px; border-bottom:1px solid #edf2f7; vertical-align:middle; }
.tr-table tbody tr:hover { background:#f8fbff; }
.tr-table small { display:block; color:#8491a9; margin-top:4px; }
.tr-pill { display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:6px 10px; font-size:11px; font-weight:900; }
.tr-pill.green { background:#dcfce7; color:#047857; border:1px solid #86efac; }
.tr-pill.blue { background:#dbeafe; color:#1d4ed8; border:1px solid #bfdbfe; }
.tr-diff { font-weight:950; }
.tr-loading, .tr-empty { margin:22px; min-height:150px; border:1px dashed #cbd5e1; border-radius:18px; background:#f8fafc; display:flex; align-items:center; justify-content:center; color:#64748b; font-weight:850; }
.tr-empty-inline { border:1px dashed #cbd5e1; border-radius:16px; padding:20px; color:#64748b; background:#f8fafc; font-weight:850; }
.tr-pagination { padding:0 22px 22px; display:flex; justify-content:center; align-items:center; gap:12px; }
.tr-muted { color:#8390a8; font-weight:850; }
.tr-alert { border-radius:15px; padding:13px 16px; margin-bottom:16px; font-weight:850; border:1px solid transparent; }
.tr-alert-danger { background:#fef2f2; color:#991b1b; border-color:#fecaca; }
.tr-alert-warning { background:#fffbeb; color:#92400e; border-color:#fde68a; }
@media(max-width:1200px){ .tr-stats-grid{grid-template-columns:repeat(3,1fr)} .tr-toma-stats{grid-template-columns:repeat(3,1fr)} }
@media(max-width:1000px){ .tr-grid-filters{grid-template-columns:1fr 1fr}.tr-search-field{grid-column:span 2}.tr-stats-grid{grid-template-columns:1fr 1fr} }
@media(max-width:680px){ .tr-grid-filters{grid-template-columns:1fr}.tr-search-field{grid-column:span 1}.tr-filter-head,.tr-toma-head{align-items:stretch; flex-direction:column}.tr-filter-type{max-width:100%}.tr-actions{width:100%}.tr-stats-grid,.tr-toma-stats{grid-template-columns:1fr}.tr-hero h2{font-size:26px} }
