/* Расходы отдела */
table.expenses { font-size: 14px; width: auto; }   /* по содержимому: при трёх месяцах колонка «Статья» не растягивается на всю ширину (владелец, 21 октября 2026) */
table.expenses th, table.expenses td { padding: 8px 8px; white-space: nowrap; }
table.expenses th { font-size: 13px; }
table.expenses th:first-child, table.expenses td:first-child { position: sticky; left: 0; background: var(--surface-1); min-width: 190px; z-index: 1; }
table.expenses tr.total td { font-size: 15px; }
input.cost.exp { width: 118px; height: 32px; padding: 4px 8px; font-size: 14px; border-radius: 6px; font-variant-numeric: tabular-nums; }
table.expenses .category-cell { white-space: nowrap; }
.icon-btn { height: 22px; min-width: 22px; padding: 0 4px; font-size: 12px; }
input.cost.bad { border-color: var(--bad-border); }
.icon-btn { height: 22px; min-width: 22px; padding: 0 4px; font-size: 12px; line-height: var(--lh-none); margin-left: 4px; }
.exp-name .exp-title { font-weight: 500; }
input.exp-rename { font: inherit; width: 170px; height: 26px; padding: 2px 8px; border: 1px solid var(--accent); border-radius: 6px;
  background: var(--surface-1); color: var(--text-primary); }
.menu-sep { border: 0; border-top: 1px solid var(--border); margin: 8px 12px; }

.tile-link { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--brand-accent); text-decoration: none; }
.tile-link:hover { text-decoration: underline; }
.wide-dialog { width: min(1100px, 96vw); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.dialog-head h2 { margin: 0; }
.close-btn { height: 28px; width: 28px; padding: 0; justify-content: center; }
.menu button .menu-icon { width: 18px; height: 18px; flex: none; border-radius: 4px; }

.note-btn { border: 0; background: none; padding: 0; height: auto; text-align: left; white-space: normal; }
.note-text { color: var(--brand-accent); font-weight: 600; }
.note-empty { color: var(--text-muted); font-size: 12px; }
.note-btn:hover .note-empty { color: var(--text-primary); }
.note-input { font: inherit; width: 200px; height: 28px; padding: 2px 8px; border: 1px solid var(--accent); border-radius: 6px;
  background: var(--surface-1); color: var(--text-primary); }

/* Глазик «скрыть/вернуть» у заказа HelloPrint */
.eye-btn { width: 34px; padding: 0; justify-content: center; }
.eye-btn .eye { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.eye-btn .eye-shape, .eye-btn .eye-pupil { transform-origin: 12px 12px; transition: transform .35s ease, opacity .25s ease; }
.eye-btn .eye-lid { opacity: 0; transition: opacity .25s ease .15s; }
.eye-btn.closed .eye-shape, .eye-btn.closed .eye-pupil { transform: scaleY(.08); opacity: 0; }
.eye-btn.closed .eye-lid { opacity: 1; }
.eye-btn:hover:not(.closed) .eye-pupil { transform: scale(1.25); }

.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.menu-sep-label { color: var(--text-muted); letter-spacing: .05em; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.exp-more { margin-top: var(--space-3); }   /* «Показать прошлые месяцы» под таблицей */
