.module-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.visit-page{padding:24px 0 80px}
.visit-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.visit-head h2{margin:7px 0;font-size:var(--fds-text-title);line-height:var(--fds-lh-title);letter-spacing:var(--fds-track-tight)}
.visit-head p{margin:0;color:var(--fds-muted)}
.visit-head-side{display:grid;justify-items:end;gap:9px}
.visit-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.visit-actions .upload-button{min-height:42px;padding:10px 14px}
.visit-actions .primary-action{border-color:var(--fds-primary);background:var(--fds-primary);color:var(--fds-on-primary)}
.visit-actions .primary-action:hover{background:var(--fds-primary-hover);color:var(--fds-on-primary)}
.visit-updated{color:var(--fds-muted);font-size:var(--fds-text-caption)}
.visit-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.visit-dot-blue{background:var(--fds-primary)}
.visit-dot-green{background:var(--fds-success)}
.visit-dot-amber{background:var(--fds-warning)}
.visit-dot-purple{background:var(--fds-series-6)}
.visit-charts{display:grid;grid-template-columns:minmax(290px,.9fr) minmax(370px,1.15fr) minmax(360px,1.05fr);gap:14px;margin-bottom:14px}
.visit-chart-card{min-width:0;min-height:330px;padding:18px}
.visit-chart-card .panel-head{align-items:flex-start;margin-bottom:18px;gap:12px}
.visit-chart-card .panel-head .sub{text-align:right}
.visit-discipline-layout{display:grid;grid-template-columns:142px minmax(0,1fr);align-items:center;gap:18px}
.visit-donut{position:relative;width:142px;height:142px;border-radius:50%;background:var(--fds-sunken)}
.visit-donut:after{content:attr(data-center);white-space:pre;position:absolute;inset:24px;display:grid;place-items:center;border-radius:50%;background:var(--fds-surface);color:var(--fds-ink);text-align:center;font-size:12px;font-weight:var(--fds-weight-bold);line-height:1.45}
.visit-discipline-legend{display:grid;max-height:220px;overflow:auto;gap:8px;padding-right:3px}
.visit-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:7px;padding-bottom:7px;border-bottom:1px solid var(--fds-border-soft);font-size:11px}
.visit-legend-row:last-child{padding-bottom:0;border-bottom:0}
.visit-legend-color{width:9px;height:9px;border-radius:3px}
.visit-legend-name{overflow:hidden;color:var(--fds-muted);text-overflow:ellipsis;white-space:nowrap}
.visit-legend-value{color:var(--fds-ink);font-variant-numeric:tabular-nums;font-weight:var(--fds-weight-semibold)}
.visit-column-scroll{height:240px;overflow-x:auto;overflow-y:hidden;padding:10px 4px 0}
.visit-columns{display:flex;align-items:flex-end;gap:12px;min-width:100%;height:215px;border-bottom:1px solid var(--fds-border-strong)}
.visit-column{display:grid;grid-template-rows:24px minmax(0,1fr) 44px;align-items:end;justify-items:center;flex:1 0 58px;min-width:58px;height:100%}
.visit-column-count{color:var(--fds-ink);font-size:11px;font-weight:var(--fds-weight-bold)}
.visit-column-track{display:flex;align-items:flex-end;width:30px;height:100%;border-radius:6px 6px 0 0;background:var(--fds-primary-soft)}
.visit-column-bar{width:100%;min-height:3px;border-radius:6px 6px 0 0;background:var(--fds-primary)}
.visit-column-label{display:-webkit-box;overflow:hidden;color:var(--fds-muted);font-size:10px;line-height:1.25;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.visit-line-chart{height:240px;overflow:hidden}
.visit-line-chart svg{display:block;width:100%;height:100%;overflow:visible}
.visit-chart-empty{display:grid;place-items:center;height:210px;color:var(--fds-muted);font-size:var(--fds-text-sm);text-align:center}
.visit-filter-card{margin-bottom:14px;padding:18px 20px}
.visit-filter-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.visit-filter-head h3{margin:0;font-size:var(--fds-text-h2)}
.visit-filter-head span{color:var(--fds-muted);font-size:var(--fds-text-caption)}
.visit-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;align-items:end;gap:10px}
.visit-filter>span{display:block;margin-bottom:6px;color:var(--fds-muted);font-size:var(--fds-text-caption);font-weight:var(--fds-weight-semibold)}
.visit-filter input,.visit-filter select{width:100%;min-height:42px;padding:8px 11px;border:1px solid var(--fds-border-strong);border-radius:var(--fds-radius-md);background:var(--fds-surface);color:var(--fds-body);font:inherit}
.visit-filter input:focus-visible,.visit-filter select:focus-visible{outline:3px solid var(--fds-ring);outline-offset:2px}
.visit-filters>#visit-clear-filters{min-height:42px;white-space:nowrap}
.visit-table-card .table-head>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.visit-record-count{padding:4px 8px;border-radius:999px;background:var(--fds-primary-soft);color:var(--fds-primary-text);font-size:var(--fds-text-caption);font-weight:var(--fds-weight-semibold)}
.visit-table-wrap{max-height:580px;overflow:auto}
.visit-table{min-width:1340px;table-layout:fixed}
.visit-table th,.visit-table td{padding:11px 12px!important;text-align:left!important;vertical-align:middle;line-height:1.4}
.visit-table th:nth-child(1){width:110px}.visit-table th:nth-child(2){width:170px}.visit-table th:nth-child(3){width:135px}.visit-table th:nth-child(4){width:120px}.visit-table th:nth-child(5){width:145px}.visit-table th:nth-child(6){width:145px}.visit-table th:nth-child(7){width:205px}.visit-table th:nth-child(8){width:260px}.visit-table th:nth-child(9){width:140px}
.visit-table thead{position:sticky;z-index:3;top:0}
.visit-table tbody tr{cursor:pointer}
.visit-table tbody tr:hover,.visit-table tbody tr:focus{background:var(--fds-hover);outline:none}
.visit-report-no{color:var(--fds-primary-text);font-weight:var(--fds-weight-semibold)}
.visit-report-missing{color:var(--fds-warning);font-weight:var(--fds-weight-semibold)}
.visit-subject-button{display:-webkit-box;width:100%;overflow:hidden;padding:0;border:0;background:transparent;color:var(--fds-body);font:inherit;line-height:1.4;text-align:left;cursor:pointer;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.visit-subject-button:hover{color:var(--fds-primary-text)}
.visit-pdf{padding:6px 9px;border:1px solid var(--fds-border-strong);border-radius:var(--fds-radius-md);background:var(--fds-surface);color:var(--fds-primary-text);font-size:11px;font-weight:var(--fds-weight-semibold);cursor:pointer;white-space:nowrap}
.visit-pdf:hover{border-color:var(--fds-primary);background:var(--fds-primary-soft)}
.visit-empty{padding:34px!important;color:var(--fds-muted);text-align:center!important}
.visit-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 14px;border-top:1px solid var(--fds-border)}
.visit-data-note{padding:11px 14px;border-top:1px solid var(--fds-border);background:var(--fds-primary-soft);color:var(--fds-primary-text);font-size:var(--fds-text-caption);font-weight:var(--fds-weight-semibold)}
.visit-data-note.error{border-color:var(--fds-danger-line);background:var(--fds-danger-soft);color:var(--fds-danger)}
.visit-data-note.success{border-color:var(--fds-success-line);background:var(--fds-success-soft);color:var(--fds-success)}
.visit-detail-shade{position:fixed;z-index:1300;inset:0;background:rgba(15,23,42,.42)}
.visit-detail-shade[hidden]{display:none}
.visit-detail-panel{position:absolute;top:0;right:0;width:min(650px,94vw);height:100%;overflow:auto;padding:24px;background:var(--fds-surface);box-shadow:-12px 0 40px rgba(15,23,42,.18)}
.visit-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--fds-border)}
.visit-detail-head h3{margin:5px 0 0;font-size:var(--fds-text-title);line-height:var(--fds-lh-title)}
.visit-detail-close{width:38px;height:38px;border:1px solid var(--fds-border-strong);border-radius:var(--fds-radius-md);background:var(--fds-surface);color:var(--fds-body);font-size:22px;cursor:pointer}
.visit-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:0;padding-top:8px}
.visit-detail-item{padding:12px 0;border-bottom:1px solid var(--fds-border-soft)}
.visit-detail-item.wide{grid-column:1/-1}
.visit-detail-item dt{margin-bottom:5px;color:var(--fds-muted);font-size:var(--fds-text-caption);font-weight:var(--fds-weight-semibold)}
.visit-detail-item dd{margin:0;color:var(--fds-ink);line-height:1.55;white-space:pre-wrap}
.visit-detail-footer{display:flex;justify-content:flex-end;padding-top:20px}
.visit-detail-open{overflow:hidden}
@media(max-width:1200px){.module-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.visit-charts{grid-template-columns:1fr 1fr}.visit-chart-card:last-child{grid-column:1/-1}.visit-filters{grid-template-columns:repeat(2,minmax(150px,1fr)) auto}}
@media(max-width:900px){.visit-head{align-items:flex-start;flex-direction:column}.visit-head-side{width:100%;justify-items:stretch}.visit-head-side .project-badge{justify-self:start}.visit-actions{justify-content:flex-start}.visit-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.visit-charts{grid-template-columns:1fr}.visit-chart-card:last-child{grid-column:auto}.visit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.module-actions,.visit-kpis,.visit-filters{grid-template-columns:1fr!important}.visit-actions{display:grid;grid-template-columns:1fr}.visit-discipline-layout{grid-template-columns:1fr}.visit-donut{margin:auto}.visit-detail-panel{width:100%;padding:18px}.visit-detail-grid{grid-template-columns:1fr}.visit-detail-item.wide{grid-column:auto}}
