.app-toolbar-button.schedule-icon-action {
    display: inline-grid;
    place-items: center;
    width: 32px;
    min-width: 32px;
    height: 32px;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
.schedule-icon-action .e-icons { font-size: 16px; }
.schedule-icon-action[aria-pressed=true] { color: var(--app-accent-700); background: var(--app-accent-100); }
.work-search-syncfusion .work-search-box {
    padding: 0;
    min-width: 0;
    overflow: hidden;
}.work-search-syncfusion .work-search-box > .work-page-header-card,
.work-search-syncfusion .work-search-box > .work-search-filters,
.work-search-syncfusion .work-search-box > .work-grid-card {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
}.work-search-syncfusion .work-search-box > .work-page-header-card,
.work-search-syncfusion .work-search-box > .work-search-filters {
    border-bottom: 1px solid var(--app-border-soft);
}.work-search-syncfusion .work-search-box #WorkSearchGrid.e-grid {
    border: 0;
}.work-search-syncfusion .work-search-empty-state {
    display: grid;
    min-height: var(--grid-fit-card-height, 360px);
    padding: 2rem;
    place-items: center;
    color: var(--app-text-muted);
    text-align: center;
}.work-search-syncfusion .work-search-filters {
    padding: 0.45rem 0.65rem;
}.work-search-syncfusion .work-search-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.4rem 0.55rem;
    align-items: end;
}.work-search-syncfusion .work-search-filter-grid .app-filter-field {
    min-width: 0;
    gap: 0.15rem;
}.work-search-syncfusion .work-search-filter-grid .app-filter-field > span {
    font-size: 0.72rem;
    line-height: 1.2;
}.work-search-syncfusion .work-search-filter-actions {
    gap: 0.4rem;
    align-self: end;
    flex-wrap: nowrap;
}.work-search-syncfusion .work-search-filter-actions .app-toolbar-button {
    min-width: 0;
    padding: 0.35rem 0.4rem;
    gap: 0.25rem;
    font-size: 0.75rem;
}.work-search-syncfusion .work-page-header-card .app-page-title {
    font-size: 1rem;
}

@media (max-width: 400px) {.work-search-syncfusion .work-search-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}.work-search-syncfusion .work-search-filters .app-filter-field .e-input-group,
.work-search-syncfusion .work-search-filters .app-filter-field .e-control-wrapper {
    width: 100%;
    min-width: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 0.875rem;
}.work-search-syncfusion .work-page-search-input.e-input-group {
    flex: 1 1 auto;
    min-width: 180px;
    width: auto;
}.work-search-syncfusion .work-grid-card.app-card--loading {
    position: relative;
    height: var(--grid-fit-card-height, 520px);
    min-height: 320px;
}.work-search-syncfusion .work-grid-card:not(.app-card--loading) {
    display: flex;
    flex-direction: column;
    height: var(--grid-fit-card-height, 520px);
    min-height: 320px;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}.work-search-syncfusion .work-grid-host {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}.work-search-syncfusion #WorkSearchGrid.e-grid {
    margin: 0;
    font-family: inherit;
    font-size: 0.82rem;
    color: var(--app-text-primary);
    border-color: var(--app-border-soft);
}.work-search-syncfusion #WorkSearchGrid .e-headercell {
    height: 32px;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--app-accent-200) 48%, var(--app-surface-2)) 0%,
        color-mix(in srgb, var(--app-accent-200) 88%, var(--app-surface-2)) 100%);
    border-color: var(--app-border-strong);
    color: var(--app-text-primary);
}.work-search-syncfusion #WorkSearchGrid .e-headertext {
    color: inherit;
    font-weight: 600;
}html.theme-dark .work-search-syncfusion #WorkSearchGrid .e-headercell,
body.theme-dark .work-search-syncfusion #WorkSearchGrid .e-headercell {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--app-accent-600) 34%, var(--app-surface-2)) 0%,
        color-mix(in srgb, var(--app-accent-600) 16%, var(--app-surface-2)) 100%);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid,
:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid :is(.e-gridheader, .e-gridcontent, .e-content, .e-table, .e-rowcell, .e-emptyrow td, .e-gridpager) {
    background: var(--app-surface-2);
    color: var(--app-text-primary);
    border-color: var(--app-border-strong);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-headercell {
    border-color: var(--app-border-strong);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid :is(.e-headercell .e-icons, .e-sortnumber) {
    color: var(--app-text-muted);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-row:hover .e-rowcell {
    background: #1e293b;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-rowcell:is(.e-selectionbackground, .e-active) {
    background: #243d60;
    color: var(--app-text-primary);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-rowcell a {
    color: #93c5fd;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-pager :is(.e-pagercontainer, .e-numericitem, .e-first, .e-prev, .e-next, .e-last, .e-pp, .e-np) {
    background: var(--app-surface-2);
    color: var(--app-text-muted);
    border-color: var(--app-border-strong);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-pager .e-currentitem {
    background: #2563eb;
    color: #fff;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-pager :is(.e-numericitem, .e-first, .e-prev, .e-next, .e-last):hover {
    background: #243d60;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .e-pager .e-disable {
    opacity: 0.45;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion .work-search-box :is(.e-input-group, .e-control-wrapper, input.e-input, .e-input-group-icon) {
    background: var(--app-surface-2);
    color: var(--app-text-primary);
    border-color: var(--app-border-strong);
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion .work-search-box input.e-input::placeholder {
    color: var(--app-text-secondary);
    opacity: 1;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion .process-year-filter__button.is-active {
    background: #243d60;
    color: #93c5fd;
}:is(html.theme-dark, body.theme-dark) .work-search-syncfusion .work-search-box .app-toolbar-button .app-action-icon--image,
:is(html.theme-dark, body.theme-dark) .work-search-syncfusion #WorkSearchGrid .app-inline-meta__icon {
    filter: brightness(1.6);
}.work-search-syncfusion .work-page-header-card { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:10px 12px; }.work-search-syncfusion [hidden] { display:none !important; }.work-search-syncfusion .work-search-actions { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }.work-search-syncfusion .work-grid-card:not(.app-card--loading) { height:auto; min-height:0; }.work-search-syncfusion .work-page-search-input { width:240px; }.work-search-syncfusion .work-editor-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-bottom:1px solid var(--app-border-soft); position:sticky; top:0; z-index:3; background:var(--app-surface-2); }.work-search-syncfusion .work-editor-toolbar h2 { font-size:1.1rem; margin:0; }.work-search-syncfusion .work-editor-toolbar small { color:var(--app-text-muted); }.work-search-syncfusion .work-editor-body { padding:14px 16px; }.work-search-syncfusion .work-editor-section { min-width:0; border:1px solid var(--app-border-soft); border-radius:10px; padding:12px; margin:0 0 14px; background:var(--app-surface-1); }.work-search-syncfusion .work-editor-section legend { float:none; width:auto; font-size:.82rem; font-weight:700; margin:0; padding:0 6px; color:var(--app-text-primary); }.work-search-syncfusion .work-editor-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:10px 14px; }.work-search-syncfusion .work-field { grid-column:span 4; min-width:0; display:flex; flex-direction:column; gap:5px; }.work-search-syncfusion .work-field > label { margin:0; font-size:.76rem; line-height:1.3; color:var(--app-text-secondary); font-weight:600; }.work-search-syncfusion .work-field small { color:var(--app-text-secondary); font-size:.72rem; line-height:1.4; }.work-search-syncfusion .work-field--span-2 { grid-column:span 2; }.work-search-syncfusion .work-field--span-4 { grid-column:span 4; }.work-search-syncfusion .work-field--span-6 { grid-column:span 6; }.work-search-syncfusion .work-field--wide { grid-column:1 / -1; }.work-search-syncfusion .work-editor-message { padding:10px 16px; color:var(--app-text-primary); background:var(--app-surface-2); border-bottom:1px solid var(--app-border-soft); }.work-search-syncfusion .work-editor-body .e-input-group { width:100%; }.work-search-syncfusion .work-grid-host .e-rowcell .e-btn { padding:0; text-align:left; white-space:normal; color:var(--app-accent-600); }:is(html.theme-dark,body.theme-dark) .work-search-syncfusion .work-editor-body :is(.e-input-group,.e-control-wrapper,input.e-input,textarea.e-input,.e-input-group-icon) { background:var(--app-surface-1); color:var(--app-text-primary); border-color:var(--app-border-strong); }:is(html.theme-dark,body.theme-dark) .work-search-syncfusion .work-grid-host .e-rowcell .e-btn { color:var(--app-accent-200); }
@media(max-width:1000px) {.work-search-syncfusion .work-editor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.work-search-syncfusion .work-field { grid-column:span 1; }.work-search-syncfusion .work-field--wide { grid-column:1 / -1; } }
@media(max-width:600px) {.work-search-syncfusion .work-editor-grid { grid-template-columns:minmax(0,1fr); }.work-search-syncfusion .work-editor-body { padding:10px; }.work-search-syncfusion .work-editor-toolbar { flex-wrap:wrap; }.work-search-syncfusion .work-page-search-input { width:100%; } }.work-record-header .work-record-heading { min-width:0; }.work-record-header h2 { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:1.05rem; }.work-record-code { padding:5px 10px; background:#fff9b0; color:#172033; border:1px solid #25314a; border-radius:5px; font-weight:700; }.work-record-meta { display:flex; flex-wrap:wrap; gap:14px; color:var(--app-text-secondary); font-size:.8rem; margin-top:7px; }.work-record-status { color:var(--app-accent-600); }.work-record-tabs { display:flex; overflow-x:auto; border-bottom:1px solid var(--app-border-strong); background:var(--app-surface-1); }.work-record-tab.e-btn { display:flex; align-items:center; gap:7px; padding:14px 16px; border:0; border-right:1px solid var(--app-border-soft); border-bottom:3px solid transparent; border-radius:0; background:transparent; color:var(--app-text-secondary); white-space:nowrap; font-size:.85rem; }.work-record-tab.e-btn img { width:15px; height:15px; }.work-record-tab.e-btn.is-active { color:var(--app-text-primary); font-weight:600; border-bottom-color:var(--app-accent-600); }.work-record .work-field { display:grid; grid-template-columns:125px minmax(0,1fr); align-items:center; }.work-record .work-field small { grid-column:2; }.work-record-footer { padding:0 16px 12px; font-size:.73rem; color:var(--app-text-secondary); }.work-documents { padding:10px; }.work-documents-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:12px; }.work-document-navigation { display:flex; align-items:center; gap:6px; color:var(--app-text-secondary); font-size:.8rem; }.work-document-upload { position:relative; overflow:hidden; cursor:pointer; }.work-document-upload input { position:absolute; inset:0; width:100%; opacity:0; cursor:pointer; }.work-document-path { padding:8px 0; color:var(--app-text-secondary); overflow-wrap:anywhere; font-size:.8rem; }.work-document-new-folder { display:flex; gap:8px; max-width:600px; padding-bottom:12px; }.work-document-download { margin-left:8px; }.work-document-grid.e-grid { border-color:var(--app-border-strong); border-radius:6px; overflow:hidden; }.work-document-grid .e-headercell { background:var(--app-surface-1); color:var(--app-text-secondary); }:is(html.theme-dark,body.theme-dark) .work-document-grid :is(.e-gridheader,.e-gridcontent,.e-content,.e-table,.e-rowcell,.e-gridpager) { background:var(--app-surface-2); color:var(--app-text-primary); border-color:var(--app-border-strong); }
@media(max-width:700px) {.work-record .work-field { display:flex; align-items:stretch; }.work-record .work-field small { grid-column:auto; } }/* Compact document actions,
scoped to works. */
.work-document-toolbar-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-left:auto; }.work-documents .app-toolbar-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:32px; padding:5px 12px; border:1px solid var(--app-border-soft,#e5eaf1); border-radius:6px; background:var(--app-surface-1,#fff); color:var(--app-text-primary,#172033); font:inherit; font-size:.82rem; font-weight:600; text-transform:none; cursor:pointer; }.work-documents .app-toolbar-button img { width:16px; height:16px; object-fit:contain; }.work-documents .app-toolbar-button:disabled { opacity:.45; cursor:default; }.work-document-navigation > button { display:flex; align-items:center; justify-content:center; width:34px; height:34px; padding:0; background:var(--app-surface-1); border:1px solid var(--app-border-strong,#b7c8e3); border-radius:8px; color:var(--app-text-primary,#172033); font-size:1.05rem; font-weight:600; cursor:pointer; }.work-document-navigation > button:disabled { opacity:1; background:var(--app-surface-2,#f1f5f9); color:var(--app-text-secondary,#64748b); cursor:default; }.work-document-navigation img { width:21px; height:21px; }.work-document-grid.e-grid { border:1px solid var(--app-border-strong,#d7e0ea); border-radius:8px; }.work-document-grid .e-gridheader { border-bottom:1px solid var(--app-border-soft,#dfe7f1); }.work-document-grid.e-grid .e-headercell { height:32px !important; padding:0 12px; background:var(--app-surface-1,#f8fafc); border:0; }.work-document-grid.e-grid .e-headercelldiv { height:auto; min-height:0; line-height:16px; padding:0; color:var(--app-text-secondary,#40516a); font-size:.7rem; font-weight:800; text-transform:uppercase; }.work-document-grid .e-rowcell { padding:8px 12px; background:var(--app-surface-1,#fff); border-color:var(--app-border-soft,#eef2f7); color:var(--app-text-primary); font-size:.82rem; }.work-document-grid .e-row:hover .e-rowcell { background:var(--app-accent-100,#e7f0ff); }.work-document-type { display:flex; align-items:center; gap:9px; color:var(--app-accent-600,#1d4ed8); font-size:.76rem; }.work-document-type img { width:28px; height:32px; flex:0 0 28px; object-fit:contain; }.work-document-muted { color:var(--app-text-secondary); font-size:.76rem; white-space:nowrap; }.work-document-actions { display:flex; align-items:center; gap:6px; }.work-document-actions :is(a,button) { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; padding:0; border:1px solid var(--app-border-strong,#d4ddeb); border-radius:7px; background:var(--app-surface-1); color:var(--app-text-secondary); font:inherit; font-size:1rem; text-decoration:none; cursor:pointer; }.work-document-actions img { width:16px; height:16px; }.work-document-actions button:disabled { opacity:.45; cursor:default; }.work-document-actions :is(a,button):hover:not(:disabled) { background:var(--app-accent-100); border-color:var(--app-accent-400); }.work-document-actions .work-document-delete:hover { color:#dc2626; border-color:#f87171; }.work-document-grid .e-gridpager { padding:4px 12px; border-top-color:var(--app-border-soft); background:var(--app-surface-1); }.work-document-grid .e-pagercontainer { border:0; background:transparent; }.work-document-grid .e-pager .e-numericitem { min-width:32px; height:32px; padding:8px 10px; border:0; border-radius:5px; background:transparent; font-weight:700; }.work-document-grid .e-pager .e-currentitem { background:var(--app-accent-600,#2563eb); color:#fff; }.work-document-drop-zone { position:relative; min-height:96px; }.work-document-drop-zone.is-dragover { outline:2px dashed var(--app-accent-600,#2563eb); outline-offset:-4px; }.work-document-drop-zone.is-dragover::after { content:attr(data-drop-label); position:absolute; inset:0; z-index:10; display:flex; align-items:center; justify-content:center; padding:16px; border-radius:8px; background:color-mix(in srgb,var(--app-surface-1,#e7f0ff) 94%,transparent); color:var(--app-accent-600,#174ea6); font-size:.95rem; font-weight:700; pointer-events:none; }.work-document-loading { padding:24px; color:var(--app-text-secondary); }.work-document-confirm { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:12px 0; }.work-document-confirm .e-input-group { max-width:420px; }.work-documents :is(button,a,input):focus-visible { outline:2px solid var(--app-accent-600); outline-offset:2px; }:is(html.theme-dark,body.theme-dark) .work-document-grid .e-row:hover .e-rowcell { background:var(--app-surface-3,#183458); }
@media(max-width:700px) {.work-document-toolbar-actions { width:100%; margin-left:0; gap:6px; }.work-documents .app-toolbar-button { padding:5px 8px; } }/* Stronger toolbar contrast without making disabled navigation look active. */
.work-documents .app-toolbar-button { border-color:var(--app-border-strong,#b7c8e3); background:color-mix(in srgb,var(--app-accent-200,#dbeafe) 32%,var(--app-surface-1,#fff)); color:var(--app-text-primary,#172033); box-shadow:0 1px 2px rgb(15 23 42 / 8%); }.work-documents .app-toolbar-button:hover:not(:disabled) { background:color-mix(in srgb,var(--app-accent-200,#dbeafe) 65%,var(--app-surface-1,#fff)); border-color:var(--app-accent-600,#2563eb); }.work-document-navigation > button:not(:disabled),
.work-document-actions :is(a,button):not(:disabled) { border-color:var(--app-border-strong,#b7c8e3); background:color-mix(in srgb,var(--app-accent-200,#dbeafe) 25%,var(--app-surface-1,#fff)); color:var(--app-accent-700,#1e40af); }:is(html.theme-dark,body.theme-dark) .work-document-actions :is(a,button):not(:disabled),
:is(html.theme-dark,body.theme-dark) .work-document-navigation > button:not(:disabled) { color:var(--app-accent-200,#bfdbfe); }
