
/* Oversikt tables share project grouping and typography with their PDF report. */
.ov-project-tables{display:grid;gap:14px}
.ov-project-card{background:#fff;border:1px solid #dce3ec;border-radius:10px;overflow:hidden;color:#1a2744}
.ov-project-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:11px 14px;background:#f5f7fa;border-bottom:1px solid #dce3ec;line-height:1.3}
.ov-project-heading b{font-size:14px;font-weight:700}
.ov-project-heading small{display:block;font-size:11px;color:#64748b;margin-top:3px}
.ov-project-status{flex:none;border:1px solid;border-radius:12px;padding:2px 9px;font-size:11px;font-weight:600}
.ov-project-status.aktiv{color:#047857;background:#ecfdf5;border-color:#a7f3d0}
.ov-project-status.planlagt{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}
.ov-project-status.fullfort{color:#64748b;background:#f1f5f9;border-color:#cbd5e1}
.ov-project-status.lead{color:#a16207;background:#fffbeb;border-color:#fde68a}
.ov-table-scroll{overflow-x:auto}
.ov-table{width:100%;min-width:880px;border-collapse:collapse;table-layout:fixed;font:12px Arial,sans-serif;color:#1a2744}
.ov-col-fag{width:25%}.ov-col-firm{width:20%}.ov-col-date{width:11%}.ov-col-week{width:7%}.ov-col-progress{width:12%}.ov-col-note{width:14%}
.ov-table th{padding:7px 10px;text-align:left;font-size:11px;font-weight:600;color:#64748b;background:#f8fafc;border-bottom:1px solid #dce3ec}
.ov-table td{padding:7px 10px;vertical-align:middle;border-bottom:1px solid #e2e8f0;line-height:1.4;overflow-wrap:anywhere}
.ov-table .ov-fag-row:nth-child(odd){background:#f8fafc}
.ov-table .ov-fag-row:nth-child(even){background:#fff}
.ov-project-card .ov-fag-row{cursor:pointer}
.ov-project-card .ov-fag-row:hover{background:#eff6ff}
.ov-fag-name{font-weight:500}.ov-firm-name{color:#475569}.ov-table .ov-date,.ov-table .ov-week{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}.ov-week{color:#64748b}
.ov-table .ov-note{font-size:11px;color:#64748b;white-space:pre-wrap}
.ov-progress{display:flex;align-items:center;gap:6px}
.ov-progress-track{flex:1;min-width:30px;height:6px;border-radius:4px;background:#e2e8f0;overflow:hidden}
.ov-progress-track i{display:block;height:100%;background:#2563eb;border-radius:4px}
.ov-progress span{font-size:11px;color:#64748b;white-space:nowrap;font-variant-numeric:tabular-nums}
.ov-print-body{page:portfolio-table;margin:0;background:#e9edf2;color:#1a2744;font:10pt Arial,sans-serif;color-scheme:light}
.ov-print-report{box-sizing:border-box;width:210mm;min-height:297mm;margin:16px auto;padding:15mm;background:white}
.ov-print-header{margin-bottom:12pt;border-bottom:1.5pt solid #1a2744;padding-bottom:9pt}
.ov-print-company{display:flex;align-items:center;gap:12pt;margin-bottom:10pt}
.ov-print-company img{max-width:100pt;max-height:38pt;object-fit:contain}
.ov-print-company b{font-size:10pt}
.ov-print-company>img[alt="FREMZO"]{flex:none}
.ov-print-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14pt}
.ov-print-title h1{margin:0;font-size:15pt;line-height:1.25}
.ov-print-title>span{flex:none;font-size:8pt;color:#64748b}
.ov-print-table{min-width:0;font-size:8pt;border-collapse:separate;border-spacing:0}
.ov-print-table th{background:#1a2744;color:#fff;font-size:7pt;font-weight:700;padding:4pt}
.ov-print-table td{padding:4pt;line-height:1.3}
.ov-print-table .ov-note{font-size:7pt}
.ov-print-table .ov-project-heading{padding:0;border:0;background:transparent}
.ov-print-table .ov-project-heading b{font-size:9pt}
.ov-print-table .ov-project-heading small{font-size:7.5pt;margin-top:2pt}
.ov-print-table .ov-project-status{font-size:7pt;padding:1pt 5pt}
.ov-print-table .ov-print-project>td{padding:5pt 6pt;border-left:3pt solid #94a3b8;background:#eef2f7;border-bottom:1pt solid #cbd5e1}
.ov-print-table .ov-progress{gap:3pt;flex-wrap:wrap}
.ov-print-table .ov-progress-track{min-width:28pt;height:5pt;flex-basis:100%;background:#e1e8de}
.ov-print-table .ov-progress-track i{background:#3f725a}
.ov-print-table .ov-progress span{font-size:7pt}
.ov-print-table .ov-fag-row:nth-child(even)>td{background:#f8fafc}
.ov-print-table .ov-fag-row:nth-child(odd)>td{background:#fff}
@page portfolio-table{size:A4 portrait;margin:15mm}
@media print{
  .ov-print-body{margin:0!important;background:#fff!important}
  .ov-print-report{width:auto;min-height:0;margin:0;padding:0}
  .ov-print-report,.ov-print-report *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .ov-print-table{width:100%;min-width:0}
  .ov-print-table thead{display:table-header-group}
  .ov-print-table tr{break-inside:avoid;page-break-inside:avoid}
  .ov-print-project{break-after:avoid;page-break-after:avoid}
  .ov-print-table tbody{break-inside:auto}
}

.ov-print-table .ov-print-project.aktiv>td{background:#edf8f4;border-left-color:#059669}.ov-print-table .ov-print-project.planlagt>td{background:#eff6ff;border-left-color:#2563eb}.ov-print-table .ov-print-project.lead>td{background:#fff8ed;border-left-color:#b45309}
