.reports-workspace{--chart-kept:var(--primary);--chart-missed:var(--danger);--chart-line:var(--teal);--chart-grid:var(--line);max-width:1580px;color:var(--text);background:var(--canvas);min-width:0;margin:0 auto;padding:8px 4px 36px}.reports-workspace button,.reports-workspace input,.reports-workspace select{font:inherit;border-radius:6px;min-height:36px;font-size:13px}.reports-workspace button{background:var(--surface);border:1px solid var(--line-strong);color:var(--text);cursor:pointer;padding:7px 12px}.reports-workspace button:disabled{opacity:.55;cursor:wait}.app-shell .reports-workspace button.primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.reports-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.reports-heading h1{margin:3px 0 6px;font-size:26px}.reports-heading p{color:var(--muted);margin:0;font-size:14px}.reports-heading .eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:11px}.reports-actions{flex-shrink:0;gap:8px;display:flex}.reports-actions button{align-items:center;gap:8px;display:flex}.reports-actions svg,.report-job>svg{flex-shrink:0;width:18px;height:18px}.reports-tabs{border-bottom:1px solid var(--line);gap:2px;margin-bottom:16px;display:flex;overflow-x:auto}.reports-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:10px 12px}.reports-tabs button[aria-current=page]{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.reports-filters{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:16px;display:flex}.reports-filters label{flex-direction:column;gap:5px;min-width:135px;max-width:220px;font-size:11px;display:flex}.reports-filters input,.reports-filters select{background:var(--surface);width:100%;color:var(--text);border:1px solid var(--line-strong);padding:7px 10px}.reports-filters p{color:var(--muted);max-width:370px;margin:0 0 8px auto;font-size:11px}.reports-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.report-kpi{background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0;padding:16px}.report-kpi-title{color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex}.report-kpi>strong{font-size:30px;line-height:1.4;display:block}.report-kpi>small{color:var(--muted);font-size:12px;line-height:1.6;display:block}.report-kpi>p{color:var(--muted);margin:8px 0 0;font-size:12px}.report-kpi details{position:relative}.report-kpi summary{cursor:pointer;list-style:none}.report-kpi details p{z-index:5;background:var(--raised);border:1px solid var(--line-strong);width:260px;color:var(--text);border-radius:8px;padding:12px;font-size:12px;line-height:1.5;position:absolute;top:18px;left:-120px;box-shadow:0 5px 20px #0002}.reports-charts{grid-template-columns:1.25fr 1fr;gap:16px;margin-bottom:16px;display:grid}.report-card{background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0;margin-bottom:16px;overflow:hidden}.report-card h2{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin:0;padding:16px;font-size:14px;line-height:1.4;display:flex}.report-card h2>span{color:var(--muted);font-size:11px;font-weight:400}.reports-charts .report-card{margin-bottom:0}.report-segment{display:flex}.report-segment button{border-radius:4px;min-height:28px;padding:4px 8px;font-size:11px}.report-segment button[aria-pressed=true]{background:var(--tint);color:var(--primary)}.report-chart svg{width:100%;height:auto;padding:12px 16px 0;display:block;overflow:visible}.report-chart svg text{fill:var(--muted);font-size:11px}.report-chart .report-end-label{fill:var(--text);font-weight:600}.report-grid{stroke:var(--chart-grid)}.report-target{stroke:var(--muted);stroke-dasharray:4 4}.report-line{stroke:var(--chart-line);stroke-width:2.5px}.report-point{fill:var(--chart-line);stroke:var(--surface);stroke-width:2px}.report-kept{fill:var(--chart-kept);background:var(--chart-kept)}.report-missed{fill:var(--chart-missed);background:var(--chart-missed)}.report-chart-footer{color:var(--muted);justify-content:space-between;gap:8px;min-height:34px;padding:8px 16px 14px;font-size:11px;display:flex}.report-chart-footer i{border-radius:2px;width:9px;height:9px;margin-left:6px;display:inline-block}.report-chart g:focus{outline:2px solid var(--focus);outline-offset:3px}.reports-body{grid-template-columns:minmax(0,1fr) 330px;gap:20px;display:grid}.reports-body>div{min-width:0}.report-table-scroll{max-width:100%;overflow-x:auto}.report-card table{border-collapse:collapse;width:100%;font-size:12px}.report-card th,.report-card td{border-bottom:1px solid var(--line);text-align:right;vertical-align:top;white-space:nowrap;padding:14px 12px}.report-card thead th{background:var(--soft);text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:500}.report-card th:first-child{text-align:left}.report-card tbody th{white-space:normal;min-width:150px;font-weight:600}.report-card small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.6;display:block}.report-card td small{display:inline}.report-total{background:var(--soft);font-weight:600}.report-footnote{color:var(--muted);margin:0;padding:12px 16px;font-size:11px;line-height:1.5}.reports-workspace .report-link{min-height:24px;font-weight:inherit;color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong);text-underline-offset:3px;text-align:left;background:0 0;border:0;padding:0}.report-card td .report-link{text-align:right}.report-warning{color:var(--warning)!important}.report-danger{color:var(--danger)!important}.report-good{color:var(--teal)!important}.report-freshness{color:var(--muted);padding:14px 16px;font-size:12px}.report-freshness>small{margin-top:7px;display:block}.report-badge{background:var(--teal-bg);color:var(--teal);border-radius:4px;padding:4px 7px;font-size:11px;display:inline-block}.report-empty{color:var(--muted);margin:0;padding:16px;font-size:13px;line-height:1.6}.report-job{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:14px 16px;font-size:13px;display:flex}.report-job:last-child{border:0}.report-job>div{flex:1;min-width:0}.report-job strong{font-size:12px}.report-job>button{flex-shrink:0;font-size:11px}.report-file{background:var(--teal-bg);color:var(--teal);border-radius:7px;padding:12px 6px;font-size:10px;font-weight:700}.report-method{color:var(--muted);margin-top:16px;font-size:12px;line-height:1.6}.report-method summary{cursor:pointer}.report-notice{background:var(--tint);color:var(--text);border-radius:8px;padding:12px;font-size:13px}.report-drill{margin-top:18px;scroll-margin-top:20px}.report-drill-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.report-drill-header h2{font-size:17px}.report-dialog{background:var(--surface);width:calc(100% - 32px);max-width:520px;color:var(--text);border:1px solid var(--line);border-radius:12px;padding:24px}.report-dialog::backdrop{background:#12121299}.report-dialog h2{margin-top:0;font-size:20px}.report-dialog p{color:var(--muted);font-size:14px;line-height:1.6}.report-dialog label{gap:8px;display:grid}.report-dialog select{background:var(--surface);color:var(--text);border:1px solid var(--line-strong);padding:10px}.report-dialog .reports-actions{justify-content:flex-end}@media (max-width:1200px){.reports-body{grid-template-columns:minmax(0,1fr)}.reports-side{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.reports-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-filters p{max-width:none;margin-left:0}.report-job{flex-wrap:wrap}}@media (max-width:680px){.reports-heading{display:block}.reports-heading p{line-height:1.6}.reports-actions{margin-top:12px}.reports-kpis{gap:8px}.report-kpi{padding:12px}.report-kpi>strong{font-size:26px}.report-kpi-title{font-size:11px}.reports-charts,.reports-side{grid-template-columns:1fr}.reports-filters{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.reports-filters label{min-width:0;max-width:none}.reports-filters p{grid-column:1/-1;line-height:1.5}.reports-heading h1{font-size:24px}.report-card h2{padding:12px;font-size:13px}.report-card h2>span:not(.report-segment){display:none}.report-chart-footer{flex-direction:column}.report-kpi details p{width:230px;left:auto;right:-12px}.reports-kpis .report-kpi:nth-child(odd) details p{left:-90px;right:auto}.report-drill-header{align-items:flex-start}.reports-workspace{padding-bottom:90px}.report-table-scroll:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}}
.flow-topbar{z-index:35;position:relative;overflow:visible;gap:8px!important}.flow-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.flow-search{border:1px solid var(--line);background:var(--canvas);border-radius:8px;flex:0 560px;align-items:center;min-width:260px;height:36px;display:flex;overflow:hidden}.flow-search select{border:0;border-right:1px solid var(--line);max-width:168px;height:100%;color:var(--text);background:0 0;padding:0 22px 0 4px;font-size:12px;font-weight:650}.flow-search input{min-width:0;height:34px;color:var(--text);background:0 0;border:0;outline:0;flex:1;padding:0 8px}.flow-search-scope-icon,.flow-search-icon{color:var(--muted);place-items:center;display:inline-grid}.flow-search-scope-icon{padding-left:9px}.flow-search-icon{padding-left:10px}.flow-search kbd,.flow-create-button kbd{border:1px solid var(--line-strong);background:var(--surface);color:var(--muted);white-space:nowrap;border-radius:4px;padding:0 5px;font:11px/18px inherit}.flow-search>kbd{margin-right:8px}.flow-topbar-spacer{flex:1}.flow-topbar-button,.flow-icon-button,.flow-user-trigger{min-width:36px;height:36px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.flow-topbar-button:hover,.flow-icon-button:hover,.flow-user-trigger:hover,.flow-topbar-button[aria-expanded=true],.flow-user-trigger[aria-expanded=true]{background:var(--soft);color:var(--text)}.flow-create-button{border-color:var(--line-strong);color:var(--text);padding:0 9px;font-weight:700}.flow-user-trigger{border-color:var(--line);padding:0 6px 0 3px}.flow-avatar{background:var(--tint);width:30px;height:30px;color:var(--primary);border-radius:50%;place-items:center;font-size:11px;font-weight:800;display:inline-grid}.flow-icon-button{position:relative}.flow-refresh-button:before,.flow-refresh-button:after{z-index:60;pointer-events:none;opacity:0;transition:opacity .14s,transform .14s;position:absolute}.flow-refresh-button:before{content:"";border:5px solid #0000;border-bottom-color:var(--text);top:calc(100% + 4px);right:13px;transform:translateY(-3px)}.flow-refresh-button:after{content:attr(data-tooltip);background:var(--text);color:var(--surface);box-shadow:var(--shadow-sm);white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:700;line-height:1;top:calc(100% + 13px);right:0;transform:translateY(-3px)}.flow-refresh-button:hover:before,.flow-refresh-button:hover:after,.flow-refresh-button:focus-visible:before,.flow-refresh-button:focus-visible:after{opacity:1;transform:translateY(0)}.flow-refresh-button[aria-busy=true] .flow-icon{animation:.7s linear infinite flow-refresh-spin}@keyframes flow-refresh-spin{to{transform:rotate(360deg)}}.flow-notification-count{border:2px solid var(--surface);background:var(--danger);color:#fff;border-radius:9px;min-width:17px;height:17px;padding:0 3px;font-size:9px;font-weight:800;line-height:13px;position:absolute;top:-3px;right:-3px}.flow-menu-anchor{display:inline-flex;position:relative}.flow-popover{border:1px solid var(--line);background:var(--raised);width:340px;max-height:min(620px,100dvh - 72px);color:var(--text);box-shadow:var(--shadow);border-radius:12px;padding:8px;position:absolute;top:calc(100% + 8px);right:0;overflow:auto}.flow-popover-title{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:4px 8px 8px;font-size:11px;font-weight:800}.flow-popover>button{width:100%;min-height:54px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:8px;display:flex}.flow-popover>button:hover,.flow-popover>button:focus-visible{background:var(--soft)}.flow-popover button>span:last-child{flex-direction:column;min-width:0;display:flex}.flow-popover button strong{font-size:13px}.flow-popover button small,.flow-user-card small,.flow-workspace-switcher small{color:var(--muted);font-size:11px;line-height:16px}.flow-menu-icon{background:var(--tint);width:34px;height:34px;color:var(--primary);border-radius:8px;flex:0 0 34px;place-items:center;display:inline-grid!important}.flow-menu-icon.sop{background:var(--teal-bg);color:var(--teal)}.flow-menu-icon.document,.flow-menu-icon.time{background:var(--warning-bg);color:var(--warning)}.flow-user-menu{width:370px}.flow-user-card{border-bottom:1px solid var(--line);gap:10px;padding:10px 10px 12px;display:flex}.flow-user-card>.flow-avatar{flex:0 0 38px;width:38px;height:38px}.flow-user-card>span:last-child{flex-direction:column;min-width:0;display:flex}.flow-user-card em{background:var(--tint);color:var(--primary);border-radius:999px;align-self:flex-start;margin-top:4px;padding:2px 7px;font-size:10px;font-style:normal;font-weight:750}.flow-workspace-switcher{border-radius:8px;align-items:center;margin:8px 0;padding:8px 10px;display:flex;position:relative}.flow-workspace-switcher>span{pointer-events:none;flex-direction:column;min-width:0;display:flex}.flow-workspace-switcher select{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.flow-view-as{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:8px 0;padding:10px 8px}.flow-view-as legend{color:var(--muted);font-size:11px;font-weight:750;transform:translateY(13px)}.flow-view-as>div{background:var(--soft);border-radius:8px;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:10px;padding:3px;display:grid}.flow-view-as button{color:var(--muted);background:0 0;border:0;border-radius:6px;padding:6px 4px;font-size:11px;font-weight:650}.flow-view-as button[aria-checked=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.flow-view-as>small{color:var(--muted);margin-top:7px;font-size:10px;display:block}.flow-popover>.flow-signout{border-top:1px solid var(--line);color:var(--danger);border-radius:0 0 8px 8px;margin-top:4px}@media (prefers-reduced-motion:reduce){.flow-refresh-button[aria-busy=true] .flow-icon{animation:none}}@media (max-width:980px){.flow-search{flex-basis:420px}}@media (max-width:760px){.flow-create-button span,.flow-create-button kbd,.flow-help-button{display:none}.flow-create-button{width:36px;padding:0}}@media (max-width:680px){.flow-topbar{flex-wrap:nowrap!important;min-height:56px!important;padding:8px!important}.flow-topbar .mobile-menu-button{flex:none}.flow-search{flex:auto!important;order:0!important;min-width:0!important}.flow-search select{color:#0000;width:42px;padding:0}.flow-search-scope-icon{z-index:1;pointer-events:none;position:absolute}.flow-search-icon,.flow-search>kbd,.flow-topbar-spacer,.flow-create-anchor,.flow-help-button{display:none}.flow-user-menu,.flow-create-menu{width:min(370px,100vw - 16px);position:fixed;top:64px;right:8px}}
@media (min-width:681px){.app-shell .sidebar{z-index:40}}
.app-shell .flow-search:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 1px var(--brand-blue)}.app-shell .flow-search :is(select,input):focus-visible{outline:none}
