@media screen {
 #operationalDashboard.om-working[data-metrics-view=oficina] .om-control-obra { display:none!important; }
 #operationalDashboard.om-working[data-metrics-view=oficina] #omFilters { grid-template-columns:minmax(130px,170px);flex:0 0 auto;width:170px;max-width:170px; }
 #omOfficePanel {
  --oe-paper: var(--mw-paper,#fff);
  --oe-ink: var(--mw-ink,#1d4048);
  --oe-muted: var(--mw-muted,#587984);
  --oe-line: var(--mw-line,#d7e4e6);
  --oe-soft: var(--mw-soft,#eff6f5);
  --oe-accent: #197e86;
  --oe-time: #b75f75;
  color: var(--oe-ink);
  min-width: 0;
 }
 html[data-theme=dark] #omOfficePanel { --oe-accent:#96d5d0; --oe-time:#f2a6b9; }
 #omOfficePanel[hidden] { display:none!important; }
 #omOfficePanel :is(h2,h3,p) { margin:0; }
 #omOfficePanel h2 { font-size:20px;line-height:1.25; }
 #omOfficePanel h3 { font-size:16px;line-height:1.3; }
 #omOfficePanel :is(button,input,select) { font:inherit; }
 #omOfficePanel :is(button,input,select):focus-visible { outline:2px solid var(--oe-accent);outline-offset:2px; }
 #omOfficePanel button { cursor:pointer; }
 #omOfficePanel button:disabled { cursor:default;opacity:.55; }
 #omOfficePanel .oe-muted { color:var(--oe-muted);font-size:12px;line-height:1.45; }
 #omOfficePanel .oe-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px; }
 #omOfficePanel .oe-heading p { margin-top:5px; }
 #omOfficePanel .oe-review-label { flex:0 0 auto;font-size:12px;font-weight:800;border-left:3px solid var(--oe-time);padding:4px 0 4px 9px; }
 #omOfficePanel .oe-tools { display:grid;grid-template-columns:minmax(180px,1fr) 170px minmax(200px,1fr) auto;gap:10px;align-items:end;margin-bottom:14px; }
 #omOfficePanel label { display:grid;gap:5px;min-width:0;color:var(--oe-muted);font-size:11px;font-weight:800; }
 #omOfficePanel :is(input,select) { width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--rh-control-line,var(--oe-line));border-radius:10px;background-color:var(--rh-control-surface,var(--oe-paper));color:var(--oe-ink);font-size:14px; }
 #omOfficePanel .oe-button { min-height:44px;padding:8px 13px;border:1px solid var(--rh-control-line,var(--oe-line));border-radius:10px;background:var(--rh-control-surface,var(--oe-paper));color:var(--oe-ink);font-weight:750; }
 #omOfficePanel .oe-error { padding:10px 12px;margin:8px 0;border-left:3px solid var(--oe-time);background:var(--oe-paper);font-size:14px; }
 #omOfficePanel #oeRetry { margin-bottom:12px; }
 #omOfficePanel .oe-scope { min-height:21px;margin-bottom:8px;font-size:12px;color:var(--oe-muted); }
 #omOfficePanel .oe-overview { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--oe-line);padding:14px 0;margin-bottom:14px; }
 #omOfficePanel .oe-overview>div { display:grid;gap:4px;padding:0 17px;border-left:1px solid var(--oe-line); }
 #omOfficePanel .oe-overview>div:first-child { border-left:0;padding-left:0; }
 #omOfficePanel .oe-overview span { font-size:12px;line-height:1.3;font-weight:750; }
 #omOfficePanel .oe-overview strong { font-size:29px;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.5px; }
 #omOfficePanel .oe-overview small { color:var(--oe-muted);font-size:11px; }
 #omOfficePanel .oe-main-grid { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:14px;align-items:start; }
 #omOfficePanel .oe-surface { min-width:0;background:var(--oe-paper);border:1px solid var(--oe-line);border-radius:14px;padding:16px;margin-bottom:14px; }
 #omOfficePanel .oe-surface>header { display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;margin:0 0 12px;border-bottom:1px solid var(--oe-line); }
 #omOfficePanel .oe-departments>header { display:grid;gap:3px; }
 #omOfficePanel .oe-series { display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end; }
 #omOfficePanel .oe-series button { display:inline-flex;align-items:center;gap:5px;min-height:36px;padding:2px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--oe-muted);font-size:11px;white-space:nowrap; }
 #omOfficePanel .oe-series button[aria-pressed=true] { color:var(--oe-ink);border-bottom-color:currentColor;font-weight:900; }
 #omOfficePanel .oe-series i { width:8px;height:8px;background:var(--oe-accent);border-radius:2px; }
 #omOfficePanel .oe-series [data-oe-series=time] i { background:var(--oe-time); }
 #omOfficePanel .oe-chart { position:relative;min-width:0;min-height:160px; }
 #omOfficePanel .oe-chart svg { display:block;width:100%;height:auto;overflow:visible; }
 #omOfficePanel .oe-chart text { fill:var(--oe-muted);font-size:11px;font-family:inherit; }
 #omOfficePanel .oe-grid-line { stroke:var(--oe-line);stroke-width:1; }
 #omOfficePanel .oe-day-bar { fill:var(--oe-accent);transition:opacity .15s ease; }
 #omOfficePanel .oe-time-line { fill:none;stroke:var(--oe-time);stroke-width:2.5;transition:opacity .15s ease; }
 #omOfficePanel .oe-time-point { fill:var(--oe-time);stroke:var(--oe-paper);stroke-width:1; }
 #omOfficePanel .oe-chart g:focus-visible { outline:none; }
 #omOfficePanel .oe-chart g:is(:hover,:focus-visible) .oe-time-point { stroke:var(--oe-ink);stroke-width:2; }
 #omOfficePanel .oe-chart[data-focus=days] :is(.oe-time-line,.oe-time-point),
 #omOfficePanel .oe-chart[data-focus=time] .oe-day-bar { opacity:.18; }
 #omOfficePanel .oe-tip { position:absolute;top:17px;z-index:3;display:grid;gap:6px;min-width:160px;max-width:calc(100% - 8px);padding:11px 13px;border:1px solid var(--oe-line);border-radius:12px;background:var(--oe-paper);color:var(--oe-ink);box-shadow:0 8px 22px #102b3520;font-size:12px;pointer-events:none; }
 #omOfficePanel .oe-tip>span { display:flex;justify-content:space-between;gap:16px; }
 #omOfficePanel .oe-buckets { display:flex;gap:12px;flex-wrap:wrap;margin-top:7px;padding-top:11px;border-top:1px solid var(--oe-line); }
 #omOfficePanel .oe-buckets>span { flex:1 1 100px;display:grid;grid-template-columns:1fr auto;gap:3px 7px;font-size:12px; }
 #omOfficePanel .oe-buckets>span>i { grid-column:1/-1;height:4px;background:linear-gradient(to right,var(--oe-time) var(--oe-part),var(--oe-soft) var(--oe-part));border-radius:2px; }
 #omOfficePanel .oe-buckets small { color:var(--oe-muted); }
 #omOfficePanel .oe-department-row { width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:12px 0;border:0;border-bottom:1px solid var(--oe-line);background:transparent;color:var(--oe-ink);text-align:left; }
 #omOfficePanel .oe-department-row:last-child { border-bottom:0; }
 #omOfficePanel .oe-department-row strong { display:block;font-size:12px;line-height:1.35;overflow-wrap:anywhere; }
 #omOfficePanel .oe-department-row small { display:block;font-size:11px;color:var(--oe-muted);line-height:1.45;margin-top:3px; }
 #omOfficePanel .oe-department-row b { font-size:20px;font-variant-numeric:tabular-nums; }
 #omOfficePanel .oe-department-row[aria-pressed=true]>span>strong { color:var(--oe-accent); }
 #omOfficePanel .oe-rank-track { grid-column:1/-1;height:5px;background:var(--oe-soft);border-radius:3px;overflow:hidden; }
 #omOfficePanel .oe-rank-track>i { display:block;height:100%;background:var(--oe-accent);border-radius:3px; }
 #omOfficePanel .is-muted .oe-rank-track>i { opacity:.25; }
 #omOfficePanel .oe-table-scroll { overflow:auto;max-height:410px;overscroll-behavior:auto; }
 #omOfficePanel table { width:100%;border-collapse:collapse;font-size:13px;text-align:left; }
 #omOfficePanel :is(th,td) { padding:10px 12px;border-bottom:1px solid var(--oe-line);vertical-align:middle; }
 #omOfficePanel th { color:var(--oe-muted);font-size:10px;text-transform:uppercase;letter-spacing:.03em;position:sticky;top:0;z-index:1;background:var(--oe-paper);white-space:nowrap; }
 #omOfficePanel td { font-variant-numeric:tabular-nums; }
 #omOfficePanel td:first-child { padding-left:0; }
 #omOfficePanel td:last-child { padding-right:0; }
 #omOfficePanel td small { display:block;color:var(--oe-muted);font-size:11px;margin-top:3px; }
 #omOfficePanel td button { display:block;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:var(--oe-ink);text-align:left; }
 #omOfficePanel td button[aria-pressed=true] { color:var(--oe-accent); }
 #omOfficePanel tr.is-muted td button { color:var(--oe-muted); }
 #omOfficePanel .oe-order { display:flex;align-items:center;gap:7px; }
 #omOfficePanel .oe-order select { width:170px;min-height:40px; }
 #omOfficePanel .oe-pagination { display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:var(--oe-muted);font-size:12px; }
 #omOfficePanel .oe-pagination>div { display:flex;gap:6px; }
 #omOfficePanel .oe-pagination button { min-width:44px; }
 #omOfficePanel .oe-records header p { margin-top:4px; }
 #omOfficePanel .oe-source { white-space:nowrap;font-size:11px; }
 #omOfficePanel .oe-empty { padding:25px 0;color:var(--oe-muted);font-size:13px;line-height:1.5; }
 #omOfficePanel .oe-today>summary { min-height:44px;cursor:pointer;font-size:13px;font-weight:800; }
 #omOfficePanel .oe-today #oeTodayBody { overflow:auto;padding-top:8px; }
 #omOfficePanel .oe-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
}
@media screen and (max-width:1000px) {
 #omOfficePanel .oe-main-grid { grid-template-columns:minmax(0,1fr); }
 #omOfficePanel .oe-tools { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 #omOfficePanel .oe-tools>label:nth-child(3) { grid-column:1/-1; }
 #omOfficePanel .oe-tools>#oeClear { justify-self:start; }
 #omOfficePanel .oe-chart { min-height:120px; }
}
@media screen and (max-width:600px) {
 #omOfficePanel .oe-heading { align-items:flex-start;flex-direction:column;gap:7px; }
 #omOfficePanel .oe-overview { grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 0; }
 #omOfficePanel .oe-overview>div { padding:0 10px; }
 #omOfficePanel .oe-overview>div:nth-child(odd) { border-left:0;padding-left:0; }
 #omOfficePanel .oe-overview strong { font-size:25px; }
 #omOfficePanel .oe-surface { padding:12px;border-radius:11px; }
 #omOfficePanel .oe-surface>header { align-items:flex-start;flex-direction:column;gap:8px; }
 #omOfficePanel .oe-series { justify-content:flex-start; }
 #omOfficePanel .oe-series button { min-height:44px; }
 #omOfficePanel .oe-order { width:100%;justify-content:space-between; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) table { min-width:0;display:block; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) thead { display:none; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) tbody { display:block; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0;border-bottom:1px solid var(--oe-line);gap:9px 12px; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) td { border:0;padding:0;min-width:0;overflow-wrap:anywhere; }
 #omOfficePanel :is(.oe-people,.oe-records,.oe-today) td:before { display:block;color:var(--oe-muted);font-size:10px;margin-bottom:3px; }
 #omOfficePanel .oe-people td:first-child { grid-column:1/-1; }
 #omOfficePanel .oe-people td:nth-child(2):before { content:'Salidas después de 18:00'; }
 #omOfficePanel .oe-people td:nth-child(3):before { content:'Frecuencia'; }
 #omOfficePanel .oe-people td:nth-child(4):before { content:'Tiempo tras 18:00'; }
 #omOfficePanel .oe-people td:nth-child(5):before { content:'Salida más tardía'; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(2) { grid-column:1/-1;grid-row:1; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(1):before { content:'Fecha'; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(3):before { content:'Entrada'; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(4):before { content:'Salida'; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(5):before { content:'Tiempo tras 18:00'; }
 #omOfficePanel :is(.oe-records,.oe-today) td:nth-child(6) { grid-column:1/-1; }
 #omOfficePanel .oe-chart { min-height:90px; }
 #omOfficePanel .oe-tip { top:10px;min-width:145px;font-size:11px; }
}
@media (prefers-reduced-motion:reduce) { #omOfficePanel :is(.oe-day-bar,.oe-time-line) { transition:none; } }

/* Compact office metrics workspace */
@media screen {
 #omOfficePanel .oe-controls-panel{background:var(--oe-paper);border:1px solid var(--oe-line);border-radius:13px;padding:10px 12px;margin-bottom:10px}
 #omOfficePanel .oe-heading{align-items:flex-start;gap:12px;margin:0 0 8px}
 #omOfficePanel .oe-heading h2{font-size:19px;letter-spacing:-.2px}
 #omOfficePanel .oe-heading p{margin-top:4px}
 #omOfficePanel .oe-review-label{border-left:0;border-radius:7px;padding:5px 9px;background:var(--oe-soft);color:var(--oe-ink);white-space:nowrap}
 #omOfficePanel .oe-tools{grid-template-columns:minmax(190px,1.15fr) minmax(135px,170px) minmax(190px,1fr) auto;gap:9px;margin:0}
 #omOfficePanel .oe-tools label{font-size:11px;letter-spacing:.01em}
 #omOfficePanel .oe-tools :is(input,select),#omOfficePanel .oe-tools .oe-button{min-height:44px;border-radius:8px}
 #omOfficePanel .oe-overview-card{background:var(--oe-paper);border:1px solid var(--oe-line);border-radius:13px;margin-bottom:12px;overflow:hidden}
 #omOfficePanel .oe-scope{min-height:0;margin:0;padding:6px 12px;border-bottom:1px solid var(--oe-line);line-height:1.4;overflow-wrap:anywhere}
 #omOfficePanel .oe-overview{border:0;padding:8px 0;margin:0}
 #omOfficePanel .oe-overview>div{padding:0 16px;min-width:0}
 #omOfficePanel .oe-overview>div:first-child{padding-left:16px}
 #omOfficePanel .oe-overview strong{font-size:27px}
 #omOfficePanel .oe-main-grid{gap:12px;align-items:start}
 #omOfficePanel .oe-surface{border-radius:13px;margin-bottom:12px;padding:15px}
 #omOfficePanel .oe-main-grid>.oe-surface{margin-bottom:12px}
 #omOfficePanel .oe-surface>header{padding-bottom:10px;margin-bottom:10px}
 #omOfficePanel .oe-department-row{padding:10px 0}
 #omOfficePanel .oe-department-row:is(:hover,:focus-visible){background:var(--oe-soft);border-radius:6px}
 #omOfficePanel .oe-series button:focus-visible{outline-offset:1px}
}
@media screen and (max-width:1000px){#omOfficePanel .oe-tools{grid-template-columns:minmax(0,1fr) minmax(130px,.55fr)}#omOfficePanel .oe-tools>label:nth-child(3){grid-column:1/-1}#omOfficePanel .oe-main-grid{grid-template-columns:minmax(0,1fr)}}
@media screen and (max-width:600px){#omOfficePanel .oe-controls-panel{padding:10px;margin-bottom:8px}#omOfficePanel .oe-heading{flex-direction:row;align-items:flex-start;gap:8px}#omOfficePanel .oe-heading h2{font-size:17px}#omOfficePanel .oe-review-label{white-space:normal;max-width:105px;text-align:center;font-size:10px}#omOfficePanel .oe-overview-card{margin-bottom:10px}#omOfficePanel .oe-scope{padding:6px 12px}#omOfficePanel .oe-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0}#omOfficePanel .oe-overview>div,#omOfficePanel .oe-overview>div:first-child{padding:8px 12px;border-bottom:1px solid var(--oe-line)}#omOfficePanel .oe-overview>div:nth-child(odd){border-left:0}#omOfficePanel .oe-overview>div:nth-last-child(-n+2){border-bottom:0}#omOfficePanel .oe-overview strong{font-size:23px}#omOfficePanel .oe-surface{padding:12px;margin-bottom:10px}#omOfficePanel .oe-surface>header{gap:7px}}
