.office-workspace{--ow-bg:#f3f4f5;--ow-card:#fff;--ow-line:#d6d9dd;--ow-text:#20262d;--ow-muted:#626b75;--ow-accent:#208561;color:var(--ow-text);background:var(--ow-bg);padding:18px!important;border:0!important;border-radius:0!important;max-width:none!important}
.office-workspace>.time-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;gap:12px}.office-workspace h2{font-size:22px;margin:0}.office-heading-actions{display:flex;gap:8px;align-items:center}.office-workspace button{font-size:12px}.office-heading-actions .primary{background:var(--ow-accent);color:#fff;border-color:var(--ow-accent)}
.office-tabs{display:flex;gap:8px;border-bottom:1px solid var(--ow-line);margin-bottom:14px}.office-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:var(--ow-muted);padding:12px 9px;border-radius:0;font-weight:500}.office-tabs button.active{color:var(--ow-text);border-bottom-color:var(--ow-accent);font-weight:700}.office-tabs button:hover{background:#8881}.office-tabs button:focus-visible,.office-workspace button:focus-visible{outline:2px solid var(--ow-accent);outline-offset:2px}
.office-workspace .time-kpis{display:flex!important;gap:30px;align-items:center;background:var(--ow-card);border:1px solid var(--ow-line);border-radius:7px;padding:14px 18px;margin:0 0 12px;box-shadow:none}.office-workspace .time-kpis>div{background:transparent!important;border:0!important;padding:0!important;border-radius:0;box-shadow:none;min-width:80px}.office-workspace .time-kpis small{font-size:11px;color:var(--ow-muted)}.office-workspace .time-kpis b{font-size:15px;display:block;margin-top:4px}.office-all-kinds{margin-left:auto;background:transparent;border:0;color:var(--ow-accent);padding:8px;white-space:nowrap}
.office-filter-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:0 0 12px}.office-filter-bar label{font-size:10px;color:var(--ow-muted);display:grid;gap:4px;min-width:100px;margin:0}.office-filter-bar input,.office-filter-bar select{background:var(--ow-card)!important;color:var(--ow-text)!important;border:1px solid var(--ow-line)!important;min-height:35px;height:35px;padding:6px 9px;border-radius:5px;font-size:12px;width:auto;margin:0;max-width:230px}.office-filter-bar input[type=search]{width:260px;max-width:100%}.office-filter-bar>#office-context-filters{margin:0;display:contents}.office-filter-bar button{min-height:35px;padding:6px 10px}.office-reset{color:#c33636!important;background:transparent!important;border:0!important}.office-selection-tools{display:flex;gap:12px;align-items:center;color:var(--ow-muted);font-size:12px;padding:0 2px 8px}.office-selection-tools #office-selected-export{margin-left:auto}
.office-workspace .table-scroll{background:var(--ow-card);border:1px solid var(--ow-line);border-radius:7px;overflow:auto;max-height:calc(100vh - 260px);min-height:150px}.office-ledger{border-collapse:collapse;width:100%;font-size:12px;color:inherit;background:var(--ow-card,#fff);text-align:left}.office-ledger th,.office-ledger td{padding:12px 11px;border-bottom:1px solid var(--ow-line,#d6d9dd);vertical-align:middle;text-align:left;line-height:1.45}.office-ledger th{font-size:11px;font-weight:600;white-space:nowrap}.office-ledger thead{position:sticky;top:0;z-index:1;background:var(--ow-card,#fff)}.office-ledger tfoot{position:sticky;bottom:0;background:var(--ow-card,#fff)}.office-ledger td small{display:block;color:var(--ow-muted,#626b75);font-size:10px;margin-top:2px}.office-ledger tbody tr:hover{background:#8881}.office-ledger .office-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.office-ledger input[type=checkbox]{width:15px;height:15px;accent-color:var(--ow-accent,#208561);margin:0}.office-description{max-width:260px;min-width:100px;overflow-wrap:anywhere}.office-project-link{max-width:170px;text-align:left;text-decoration:underline;white-space:normal}.office-date-link,.office-project-link,.office-person-link,.office-sort{border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.office-date-link{font-weight:600;white-space:nowrap}.office-status{font-size:10px;border-radius:16px;background:#eceef1;color:#515966;padding:4px 9px;white-space:nowrap;display:inline-block}.office-status-open,.office-status-requested{background:#fff1d5;color:#835900}.office-status-approved{background:#e2f4ea;color:#1b6c43}.office-status-rejected,.office-status-cancelled{background:#fbe5e5;color:#a33030}.office-kind{white-space:nowrap}.office-kind::before{content:'◷';margin-right:6px;color:#747d86}.office-kind-vacation::before{content:'☀';color:#a66b00}.office-kind-sick::before{content:'✚';color:#b14b43}.office-negative{color:#c83b3b}.office-positive{color:#237e52}.office-avatar{width:27px;height:27px;border-radius:50%;display:inline-grid;place-items:center;background:#dff1f7;color:#287c99;font-size:11px;margin-right:8px}.office-person-link{display:flex;align-items:center;text-align:left}.office-model-note{font-size:12px;color:var(--ow-muted);line-height:1.6;max-width:1000px}.office-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.office-overview-heading>div{display:flex;gap:6px}.office-empty{background:var(--ow-card);border:1px solid var(--ow-line);border-radius:7px;min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:var(--ow-muted);padding:25px;text-align:center}.office-empty>span{font-size:36px;margin-bottom:12px}.office-empty b{font-size:14px;color:var(--ow-text)}.office-empty p{font-size:12px}.office-extended-tools{margin-top:18px;border-top:1px solid var(--ow-line);padding-top:12px}.office-extended-tools>summary{font-size:12px;color:var(--ow-muted);cursor:pointer}.office-extended-tools .table-scroll{margin-top:12px}.office-workspace #time-summary,.office-workspace #office-export-status{font-size:12px;color:var(--ow-muted);margin:10px 0}
dialog.office-drawer{--ow-card:#fff;--ow-text:#20262d;--ow-muted:#626b75;--ow-line:#d6d9dd;position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border:0;border-left:1px solid var(--ow-line);border-radius:0;padding:24px;background:var(--ow-card)!important;color:var(--ow-text)!important;box-shadow:-8px 0 35px #0002;overflow:auto}.office-drawer::backdrop{background:#0003}.office-drawer h2{font-size:19px;padding-right:25px;margin:0 0 24px}.office-drawer label{display:grid;gap:6px;margin:14px 0;font-size:12px;color:var(--ow-text)}.office-drawer input,.office-drawer select,.office-drawer textarea{font:inherit;background:var(--ow-card)!important;color:var(--ow-text)!important;border:1px solid var(--ow-line)!important;min-height:36px;border-radius:5px;padding:8px;width:100%;margin:0}.office-drawer textarea{min-height:90px}.office-drawer-close{position:absolute;right:14px;top:15px;background:transparent;border:0;color:inherit;font-size:25px;cursor:pointer}.office-drawer .actions{position:sticky;bottom:-24px;background:var(--ow-card);border-top:1px solid var(--ow-line);padding:14px 0;margin:24px 0 0;display:flex;justify-content:flex-end;gap:8px;z-index:2}.office-drawer form{min-height:calc(100dvh - 48px);display:flex;flex-direction:column}.office-drawer form>.actions{margin-top:auto}.office-drawer p{font-size:12px;line-height:1.6}.office-drawer .office-drawer-note{color:var(--ow-muted);font-size:11px}.office-drawer .office-drawer-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.office-worker-picker{border:1px solid var(--ow-line);border-radius:5px;padding:10px;margin:8px 0 12px}.office-worker-picker summary{font-size:12px;cursor:pointer;line-height:1.6;max-height:65px;overflow:auto}.office-worker-picker>input{margin-top:10px}.office-drawer #time-entry-workers{max-height:220px;overflow:auto;margin-top:8px}.office-drawer #time-entry-workers h3{display:none}.office-drawer .report-role-tiles{display:block}.office-drawer .report-worker-tile{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:7px!important;border:0!important;border-bottom:1px solid var(--ow-line)!important;border-radius:0!important;background:transparent!important;min-height:0}.office-drawer .report-worker-tile input{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;accent-color:#208561}.office-drawer .report-worker-tile span{font-size:12px}.office-drawer .report-worker-tile small{display:block;font-size:10px;color:var(--ow-muted)}.office-detail-list{display:grid;gap:8px;margin-bottom:25px}.office-detail-list dt{color:var(--ow-muted);font-size:11px}.office-detail-list dd{margin:0 0 10px;font-size:14px}.office-export-buttons,.office-decision-actions{display:flex;gap:10px;flex-wrap:wrap}.office-drawer #time-edit-message,.office-drawer #office-new-absence-status,.office-drawer #office-decision-status{color:#c23838}
html[data-theme=dark] .office-workspace,html[data-theme=dark] dialog.office-drawer,body.dark .office-workspace,body.dark dialog.office-drawer{--ow-bg:#181a1d;--ow-card:#22252a;--ow-line:#3c424b;--ow-text:#f1f3f5;--ow-muted:#b5bdc7;--ow-accent:#63c79f}.office-workspace [hidden]{display:none!important}
@media(max-width:800px){.office-workspace{padding:12px!important}.office-workspace .time-kpis{gap:16px;flex-wrap:wrap}.office-workspace .time-kpis>div{min-width:60px}.office-workspace .table-scroll{max-height:65vh}.office-heading-actions{flex-wrap:wrap;justify-content:flex-end}.office-filter-bar label{flex:1 1 120px}.office-filter-bar input,.office-filter-bar select{width:100%;max-width:none}.office-filter-bar input[type=search]{width:100%}.office-tabs{gap:0}.office-tabs button{font-size:11px;padding:10px 7px}}
