[data-appeals-productivity] {
  --appeals-stat-text: var(--body-fg, #2c3945);
  --appeals-stat-muted: var(--body-quiet-color, #72808d);
  --appeals-stat-border: var(--hairline-color, #dfe5eb);
  --appeals-stat-surface: var(--body-bg, #fff);
  --appeals-stat-subtle: var(--darkened-bg, #f4f6f8);
  --appeals-stat-positive: color-mix(in srgb, var(--appeals-stat-text) 45%, #287451);
  --appeals-stat-negative: color-mix(in srgb, var(--appeals-stat-text) 45%, #a95555);
}
[data-appeals-productivity], [data-appeals-productivity] * { box-sizing: border-box; }
[data-appeals-productivity] [hidden] { display: none !important; }
[data-appeals-productivity] .appeals-productivity__metrics { display: grid; gap: 15px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0; }
[data-appeals-productivity] .appeals-productivity__metrics > div { min-width: 0; }
[data-appeals-productivity] .appeals-productivity__metrics > div { background: var(--appeals-stat-subtle); border: 1px solid var(--appeals-stat-border); border-radius: 7px; padding: 9px 10px; }
[data-appeals-productivity] .appeals-productivity__metrics > div:first-child { background: color-mix(in srgb, #247aa8 7%, var(--appeals-stat-surface)); border-color: color-mix(in srgb, #247aa8 20%, var(--appeals-stat-border)); }
[data-appeals-productivity].is-positive .appeals-productivity__deviation { background: color-mix(in srgb, #287451 7%, var(--appeals-stat-surface)); border-color: color-mix(in srgb, #287451 24%, var(--appeals-stat-border)); }
[data-appeals-productivity].is-negative .appeals-productivity__deviation { background: color-mix(in srgb, #a95555 7%, var(--appeals-stat-surface)); border-color: color-mix(in srgb, #a95555 24%, var(--appeals-stat-border)); }
[data-appeals-productivity] .appeals-productivity__metrics dt { color: var(--appeals-stat-muted); font-size: 11px; font-weight: 400; line-height: 1.4; margin-bottom: 5px; }
[data-appeals-productivity] .appeals-productivity__metrics dd { color: var(--appeals-stat-text); font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 650; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
[data-appeals-productivity].is-positive .appeals-productivity__deviation dd { color: var(--appeals-stat-positive); }
[data-appeals-productivity].is-negative .appeals-productivity__deviation dd { color: var(--appeals-stat-negative); }
[data-appeals-productivity] .appeals-productivity__period { align-items: baseline; color: var(--appeals-stat-muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 5px 12px; line-height: 1.4; margin: 6px 0 0; padding: 0; }
[data-appeals-productivity] .appeals-productivity__period > span:empty { display: none; }
[data-appeals-productivity] .appeals-productivity__details { align-items: baseline; color: var(--appeals-stat-muted); display: flex; flex-wrap: wrap; font-size: 11px; gap: 6px 16px; line-height: 1.5; }
[data-appeals-productivity] .appeals-productivity__details strong { color: var(--appeals-stat-text); font-variant-numeric: tabular-nums; font-weight: 600; }
[data-appeals-productivity] .appeals-productivity__details > span:first-child { background: color-mix(in srgb, #aa7b29 9%, var(--appeals-stat-surface)); border-radius: 4px; padding: 2px 5px; }
[data-appeals-productivity] [data-appeals-value].is-empty-value { color: var(--appeals-stat-muted); }
[data-appeals-productivity] .appeals-productivity__hint { color: var(--appeals-stat-muted); font-size: 11px; line-height: 1.5; margin: 8px 0 0; overflow-wrap: anywhere; padding: 0; }
[data-appeals-productivity] .appeals-productivity__refresh-status { color: var(--appeals-stat-muted); font-size: 11px; line-height: 1.5; margin: 8px 0 0; padding: 0; }
[data-appeals-productivity] .appeals-productivity__settings,
[data-appeals-productivity] .appeals-productivity__settings:link,
[data-appeals-productivity] .appeals-productivity__settings:visited { color: #467b9b; font-size: 11px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
[data-appeals-productivity] .appeals-productivity__settings:hover { text-decoration: underline; }
[data-appeals-productivity] .appeals-productivity__month-control { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; }
[data-appeals-productivity] .appeals-productivity__month-control label { color: var(--appeals-stat-muted); display: flex; flex: 0 1 142px; flex-direction: column; font-size: 10px; gap: 4px; margin: 0; padding: 0; }
[data-appeals-productivity] .appeals-productivity__month-control input { background: var(--appeals-stat-surface); border: 1px solid var(--appeals-stat-border); border-radius: 5px; box-sizing: border-box; color: var(--appeals-stat-text); font: inherit; font-size: 11px; height: 31px; line-height: 1.3; margin: 0; max-width: 100%; min-width: 0; padding: 5px 7px; width: 142px; }
[data-appeals-productivity] .appeals-productivity__month-control button { background: var(--appeals-stat-subtle); border: 1px solid var(--appeals-stat-border); border-radius: 5px; color: var(--appeals-stat-text); cursor: pointer; font: inherit; font-size: 10px; height: 31px; line-height: 1.3; margin: 0; padding: 5px 8px; white-space: nowrap; }
[data-appeals-productivity] .appeals-productivity__month-control button:disabled { color: var(--appeals-stat-muted); cursor: default; }
[data-appeals-productivity] .appeals-productivity__month-control input[aria-invalid="true"] { border-color: var(--appeals-stat-negative); }
[data-appeals-productivity] .appeals-productivity__month-control :is(input, button):focus-visible { outline: 2px solid #7f9bb1; outline-offset: 2px; }

#branding .header-work-widgets { align-items: stretch; display: flex; flex: 0 1 auto; gap: 6px; max-width: 100%; min-width: 0; order: 999; }
#header #appeals-header-widget { align-self: stretch; background: #f7fafc; border: 1px solid #cbd6df; border-radius: 7px; box-shadow: 0 2px 5px rgb(20 35 47 / 10%); display: grid; flex: 0 0 176px; grid-template-columns: minmax(0, 1fr) 25px; min-height: 62px; order: 1000; position: relative; width: 176px; z-index: 2110; }
#header #appeals-header-widget .appeals-header__main,
#header #appeals-header-widget .appeals-header__main:link,
#header #appeals-header-widget .appeals-header__main:visited { background: transparent; border: 0; border-radius: 6px 0 0 6px; color: #2c3945; display: grid; gap: 3px; margin: 0; min-width: 0; padding: 6px 8px; text-decoration: none; }
#header #appeals-header-widget .appeals-header__main:hover,
#header #appeals-header-widget .appeals-header__main:active { background: #edf2f6; color: #2c3945; text-decoration: none; }
#header #appeals-header-widget .appeals-header__heading,
#header #appeals-header-widget .appeals-header__summary { align-items: center; display: flex; gap: 5px; justify-content: space-between; line-height: 1.1; min-width: 0; }
#header #appeals-header-widget .appeals-header__heading > span:first-child { color: #53677a; font-size: 9px; font-weight: 750; letter-spacing: .025em; text-transform: uppercase; }
#header #appeals-header-widget .appeals-header__queue { background: #e9eef3; border-radius: 4px; color: #5c6f80; font-size: 8px; font-weight: 500; padding: 2px 4px; white-space: nowrap; }
#header #appeals-header-widget .appeals-header__queue b { font-variant-numeric: tabular-nums; font-weight: 700; }
#header #appeals-header-widget .appeals-header__summary > span { color: #697a8a; font-size: 9px; white-space: nowrap; }
#header #appeals-header-widget .appeals-header__summary > span strong { color: #34495b; font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 2px; }
#header #appeals-header-widget .appeals-header__coefficient { color: #425e74; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
#header #appeals-header-widget.is-positive .appeals-header__coefficient { color: #287451; }
#header #appeals-header-widget.is-negative .appeals-header__coefficient { color: #9c5656; }
#header #appeals-header-widget.is-summary-empty .appeals-header__coefficient { color: #6b7c89; }
#header #appeals-header-widget .appeals-header__payroll { align-items: baseline; border-top: 1px solid #e1e8ee; color: #6b7c89; display: flex; font-size: 8px; gap: 5px; justify-content: space-between; line-height: 1.2; min-width: 0; padding-top: 3px; }
#header #appeals-header-widget .appeals-header__payroll strong { color: #345770; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#header #appeals-header-widget [data-appeals-month-badge] { font-variant-numeric: tabular-nums; white-space: nowrap; }
#header #appeals-header-widget.is-salary-unavailable .appeals-header__payroll strong,
#header #appeals-header-widget .appeals-header__payroll strong.is-empty-value { color: #7b8995; }
#header #appeals-header-widget .appeals-header__toggle { align-items: center; align-self: stretch; background: #edf2f6; border: 0; border-left: 1px solid #dce4eb; border-radius: 0 6px 6px 0; color: #6b8091; cursor: pointer; display: flex; justify-content: center; margin: 0; min-width: 0; padding: 0; width: 25px; }
#header #appeals-header-widget .appeals-header__toggle:hover,
#header #appeals-header-widget .appeals-header__toggle[aria-expanded="true"] { background: #e1eaf1; color: #344d61; }
#header #appeals-header-widget .appeals-header__toggle:disabled { cursor: default; opacity: .55; }
#header #appeals-header-widget .appeals-header__toggle svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .15s ease; width: 16px; }
#header #appeals-header-widget .appeals-header__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
#header #appeals-header-widget :is(button, a):focus-visible { outline: 2px solid #7f9bb1; outline-offset: 2px; }
#header #appeals-header-widget .appeals-header__panel { --appeals-stat-text: #2c3945; --appeals-stat-muted: #72808d; --appeals-stat-border: #dfe5eb; --appeals-stat-surface: #fff; --appeals-stat-positive: #287451; --appeals-stat-negative: #a95555; background: #fff; border: 1px solid #d4dee6; border-radius: 9px; box-shadow: 0 12px 32px rgb(20 35 47 / 23%); color: #2c3945; left: var(--appeals-panel-left, 12px); max-height: var(--appeals-panel-height, calc(100dvh - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 14px; position: fixed; top: var(--appeals-panel-top, 76px); width: min(320px, calc(100vw - 24px)); z-index: 2111; }
#header #appeals-header-widget .appeals-header__panel-heading { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
#header #appeals-header-widget .appeals-header__panel-heading h2 { background: transparent; color: #2c3945; font-size: 15px; font-weight: 650; line-height: 1.3; margin: 0; padding: 0; }
#header #appeals-header-widget .appeals-header__close { align-items: center; background: #eef2f5; border: 0; border-radius: 5px; color: #607587; cursor: pointer; display: inline-flex; flex: 0 0 26px; font-size: 20px; height: 26px; justify-content: center; line-height: 1; margin: 0; padding: 0; width: 26px; }
#header #appeals-header-widget .appeals-header__close:hover { background: #e2eaf0; }
#header #appeals-header-widget .appeals-header__link,
#header #appeals-header-widget .appeals-header__link:link,
#header #appeals-header-widget .appeals-header__link:visited { align-items: center; background: #edf2f6; border-radius: 6px; color: #466276; display: flex; font-size: 12px; font-weight: 600; justify-content: space-between; margin-top: 12px; padding: 9px 10px; text-decoration: none; }
#header #appeals-header-widget .appeals-header__link:hover { background: #e1eaf1; color: #344d61; }
#header #appeals-header-widget .appeals-productivity__settings,
#header #appeals-header-widget .appeals-productivity__settings:link,
#header #appeals-header-widget .appeals-productivity__settings:visited { color: #467b9b; display: inline-block; font-size: 11px; margin-top: 7px; text-decoration: none; }
#header #appeals-header-widget .appeals-productivity__settings:hover { color: #345c75; text-decoration: underline; }

[data-appeals-productivity] .appeals-productivity__payroll { background: var(--appeals-stat-subtle); border: 1px solid var(--appeals-stat-border); border-radius: 7px; margin-top: 12px; min-width: 0; padding: 11px 12px; }
[data-appeals-productivity] .appeals-productivity__payroll-heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: 5px 10px; justify-content: space-between; }
[data-appeals-productivity] .appeals-productivity__payroll-heading h3 { background: transparent; color: var(--appeals-stat-text); font-size: 12px; font-weight: 650; line-height: 1.3; margin: 0; padding: 0; }
[data-appeals-productivity] .appeals-productivity__payroll-heading > span { color: var(--appeals-stat-muted); font-size: 10px; }
[data-appeals-productivity] .appeals-productivity__payroll-values { display: grid; gap: 10px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 0; }
[data-appeals-productivity] .appeals-productivity__payroll-values > div { min-width: 0; }
[data-appeals-productivity] .appeals-productivity__payroll-values dt { color: var(--appeals-stat-muted); font-size: 10px; font-weight: 400; line-height: 1.4; margin-bottom: 4px; }
[data-appeals-productivity] .appeals-productivity__payroll-values dt small { display: block; font-size: 9px; font-weight: 400; margin-top: 2px; }
[data-appeals-productivity] .appeals-productivity__payroll-values dd { color: var(--appeals-stat-text); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
[data-appeals-productivity] .appeals-productivity__payroll-part { border-top: 1px solid var(--appeals-stat-border); padding-top: 8px; }
[data-appeals-productivity] .appeals-productivity__payroll-hours dd { color: color-mix(in srgb, var(--appeals-stat-text) 55%, #416b8a); }
[data-appeals-productivity] .appeals-productivity__payroll-performance dd { color: var(--appeals-stat-positive); }
[data-appeals-productivity] .appeals-productivity__payroll-values .appeals-productivity__payroll-total { border-top: 1px solid var(--appeals-stat-border); grid-column: 1 / -1; padding-top: 8px; }
[data-appeals-productivity] .appeals-productivity__payroll-total dd { color: color-mix(in srgb, var(--appeals-stat-text) 50%, #247aa8); font-size: 19px; font-weight: 700; }
[data-appeals-productivity].is-salary-unavailable .appeals-productivity__payroll-total dd,
[data-appeals-productivity] .appeals-productivity__payroll-values dd.is-empty-value { color: var(--appeals-stat-muted); }
[data-appeals-productivity] .appeals-productivity__payroll-hint { color: var(--appeals-stat-muted); font-size: 10px; line-height: 1.5; margin: 8px 0 0; padding: 0; }
#header #appeals-header-widget .appeals-productivity__payroll-heading h3 { color: #2c3945; font-size: 12px; font-weight: 650; letter-spacing: 0; margin: 0; text-transform: none; }

#appeals-list .appeals-productivity-card { align-items: center; background: var(--appeals-stat-surface); border: 1px solid var(--appeals-stat-border); border-radius: 9px; color: var(--appeals-stat-text); display: grid; gap: 12px 22px; grid-template-columns: minmax(150px, .8fr) minmax(0, 3fr); margin-bottom: 14px; min-width: 0; padding: 14px 18px; }
#appeals-list .appeals-productivity-card__heading h2 { background: transparent; color: var(--appeals-stat-text); font-size: 13px; font-weight: 650; line-height: 1.4; margin: 0; padding: 0; }
#appeals-list .appeals-productivity-card__heading .appeals-productivity__period { flex-direction: column; gap: 3px; margin-top: 5px; }
#appeals-list .appeals-productivity-card__heading .appeals-productivity__month-control { margin-top: 9px; }
#appeals-list .appeals-productivity-card .appeals-productivity__metrics { gap: 12px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
#appeals-list .appeals-productivity-card .appeals-productivity__metrics dd { font-size: 18px; }
#appeals-list .appeals-productivity-card__footer { align-items: baseline; border-top: 1px solid var(--appeals-stat-border); display: flex; flex-wrap: wrap; gap: 6px 20px; grid-column: 1 / -1; justify-content: space-between; padding-top: 9px; }
#appeals-list .appeals-productivity-card__footer .appeals-productivity__hint { flex: 1 1 260px; font-size: 10px; margin: 0; text-align: right; }
#appeals-list .appeals-productivity-card > .appeals-productivity__refresh-status { grid-column: 1 / -1; margin: 0; }
#appeals-list .appeals-productivity-card > .appeals-productivity__payroll { display: grid; gap: 8px 22px; grid-column: 1 / -1; grid-template-columns: minmax(130px, .8fr) minmax(0, 3fr); margin: 0; }
#appeals-list .appeals-productivity-card .appeals-productivity__payroll-heading { align-content: center; align-items: flex-start; flex-direction: column; gap: 4px; justify-content: center; }
#appeals-list .appeals-productivity-card .appeals-productivity__payroll-values { align-items: start; gap: 12px 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
#appeals-list .appeals-productivity-card .appeals-productivity__payroll-part { border: 0; padding: 0; }
#appeals-list .appeals-productivity-card .appeals-productivity__payroll-total { border: 0; grid-column: auto; padding: 0; }
#appeals-list .appeals-productivity-card .appeals-productivity__payroll-hint { grid-column: 1 / -1; margin: 0; }
@media (max-width: 1100px) {
  #appeals-list .appeals-productivity-card > .appeals-productivity__payroll { grid-template-columns: 1fr; }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-heading { align-items: baseline; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 760px) {
  #appeals-list .appeals-productivity-card { gap: 12px; grid-template-columns: 1fr; padding: 14px; }
  #appeals-list .appeals-productivity-card__heading { align-items: baseline; display: flex; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; }
  #appeals-list .appeals-productivity-card__heading .appeals-productivity__period { flex-direction: row; gap: 5px 10px; margin: 0; }
  #appeals-list .appeals-productivity-card__heading .appeals-productivity__month-control { flex-basis: 100%; margin-top: 1px; }
  #appeals-list .appeals-productivity-card .appeals-productivity__metrics { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #appeals-list .appeals-productivity-card__footer { gap: 6px; }
  #appeals-list .appeals-productivity-card__footer .appeals-productivity__hint { text-align: left; }
  #appeals-list .appeals-productivity-card > .appeals-productivity__payroll { gap: 10px; grid-template-columns: 1fr; }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-heading { align-items: baseline; flex-direction: row; justify-content: space-between; }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-values { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-part { border-top: 1px solid var(--appeals-stat-border); padding-top: 8px; }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-total { border-top: 1px solid var(--appeals-stat-border); grid-column: 1 / -1; padding-top: 8px; }
  #appeals-list .appeals-productivity-card .appeals-productivity__payroll-total dd { font-size: 16px; }
}
@media (max-width: 400px) {
  #branding .header-work-widgets { width: 100%; }
  #branding .header-work-widgets > .premium-header-widget,
  #header #branding .header-work-widgets > #appeals-header-widget { flex: 1 1 0; min-width: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) { #header #appeals-header-widget .appeals-header__toggle svg { transition: none; } }
