/* ============================================================================
   portal.css — тема info.anro.team (Helpdesk).
   ОТДЕЛЬНАЯ тема, НЕ TailAdmin web.anro.team. Все значения инлайн, без CDN.
   Эталон стиля: static/docs/PORTAL_PREVIEW.html → Концепт 1 (Helpdesk).
   Префикс .pt-* во избежание коллизий с боевым порталом.
   ============================================================================ */

:root {
  --pt-bg:      #f4f5f7;
  --pt-card:    #ffffff;
  --pt-ink:     #1f2430;
  --pt-ink2:    #5f6470;
  --pt-ink3:    #9aa0ad;
  --pt-line:    #e6e8ec;
  --pt-radius:  10px;

  /* Helpdesk-зелёный (из Концепта 1) */
  --pt-green:        #0f6e56;
  --pt-green-tile:   #1d9e75;
  --pt-green-ink:    #e1f5ee;
  --pt-green-ink2:   #9fe1cb;

  /* Акцент «важно» */
  --pt-imp-bg:  #fbeaf0;
  --pt-imp-ink: #993556;
}

* { box-sizing: border-box; }

.pt-body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--pt-bg);
  color: var(--pt-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.pt-ico {
  width: 1em; height: 1em;
  vertical-align: -0.13em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ─── Шапка ─── */
.pt-nav {
  background: var(--pt-card);
  border-bottom: 1px solid var(--pt-line);
  position: sticky; top: 0; z-index: 10;
}
.pt-nav-inner {
  max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px;
}
.pt-brand {
  font-weight: 700; font-size: 16px;
  color: var(--pt-green); text-decoration: none;
  letter-spacing: 0.5px;
}
.pt-nav-links {
  display: flex; align-items: center; gap: 20px;
  font-size: 14px;
}
.pt-nav-links a {
  color: var(--pt-ink2); text-decoration: none;
}
.pt-nav-links a:hover { color: var(--pt-green); }
.pt-nav-search { display: inline-flex; align-items: center; font-size: 18px; color: var(--pt-ink2); }

/* ─── Layout ─── */
.pt-main { min-height: calc(100vh - 120px); }
.pt-screen {
  max-width: 920px; margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ─── Hero-поиск (зелёный) ─── */
.pt-hero {
  background: var(--pt-green);
  border-radius: var(--pt-radius);
  padding: 36px 24px; text-align: center;
  margin-bottom: 22px;
}
.pt-hero-t { font-size: 22px; font-weight: 600; color: var(--pt-green-ink); }
.pt-hero-s { font-size: 14px; color: var(--pt-green-ink2); margin: 6px 0 18px; }
.pt-searchbar {
  background: #fff; border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; max-width: 440px; margin: 0 auto;
}
.pt-searchbar-ico { font-size: 18px; color: #888; flex: 0 0 auto; }
.pt-searchbar input {
  border: 0; outline: 0; flex: 1 1 auto;
  font: inherit; font-size: 15px; color: var(--pt-ink);
  background: transparent;
}
.pt-searchbar input::placeholder { color: var(--pt-ink3); }

/* ─── Плитки категорий ─── */
.pt-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.pt-tile {
  background: var(--pt-card);
  text-align: center; padding: 18px 8px;
  border: 1px solid var(--pt-line); border-radius: 8px;
  font-size: 13px; color: var(--pt-ink);
  text-decoration: none;
  transition: border-color .12s, box-shadow .12s;
}
.pt-tile:hover {
  border-color: var(--pt-green-tile);
  box-shadow: 0 2px 8px rgba(29,158,117,.12);
}
.pt-tile-ico {
  color: var(--pt-green-tile);
  width: 26px; height: 26px;
  display: block; margin: 0 auto 8px;
}

/* ─── Секции ─── */
.pt-section { margin-bottom: 28px; }
.pt-section-h {
  font-size: 14px; font-weight: 600; color: var(--pt-ink2);
  margin-bottom: 10px;
}

/* ─── Лента новостей ─── */
.pt-news {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.pt-ncard {
  background: var(--pt-card);
  border: 1px solid var(--pt-line); border-radius: 8px;
  padding: 14px; text-decoration: none; color: var(--pt-ink);
  display: block;
  transition: border-color .12s;
}
.pt-ncard:hover { border-color: var(--pt-green-tile); }
.pt-ncard--imp { border-left: 3px solid var(--pt-imp-ink); }
.pt-ncard-m { font-size: 11px; color: var(--pt-ink3); }
.pt-ncard-t { font-size: 14px; font-weight: 600; margin-top: 5px; }
.pt-badge-imp {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--pt-imp-ink); background: var(--pt-imp-bg);
  padding: 3px 8px; border-radius: 6px; margin-bottom: 6px;
}

/* ─── FAQ-аккордеон (нативный <details>) ─── */
.pt-faq {
  background: var(--pt-card);
  border: 1px solid var(--pt-line); border-radius: 8px;
  overflow: hidden;
}
.pt-faq-item + .pt-faq-item { border-top: 1px solid var(--pt-line); }
.pt-faq-item > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px; font-size: 14px; cursor: pointer;
  list-style: none;
}
.pt-faq-item > summary::-webkit-details-marker { display: none; }
.pt-faq-chev { color: var(--pt-ink3); font-size: 18px; transition: transform .15s; }
.pt-faq-item[open] > summary .pt-faq-chev { transform: rotate(180deg); }
.pt-faq-a {
  padding: 0 15px 14px; font-size: 13px; color: var(--pt-ink2);
}

/* ─── Заглушка раздела ─── */
.pt-stub {
  background: var(--pt-card);
  border: 1px solid var(--pt-line); border-radius: var(--pt-radius);
  padding: 56px 24px; text-align: center;
}
.pt-stub-ico { width: 40px; height: 40px; color: var(--pt-green-tile); margin-bottom: 14px; }
.pt-stub-t { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.pt-stub-s { font-size: 14px; color: var(--pt-ink2); margin: 0 0 20px; }
.pt-stub-back { font-size: 14px; color: var(--pt-green); text-decoration: none; }
.pt-stub-back:hover { text-decoration: underline; }

/* ─── Footer ─── */
.pt-foot {
  max-width: 920px; margin: 0 auto;
  padding: 18px 20px 32px;
  color: var(--pt-ink3); font-size: 13px;
  border-top: 1px solid var(--pt-line);
}

/* ─── Breadcrumb ─── */
.pt-breadcrumb {
  font-size: 13px; color: var(--pt-ink3);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.pt-breadcrumb a { color: var(--pt-green); text-decoration: none; }
.pt-breadcrumb a:hover { text-decoration: underline; }
.pt-bc-sep { color: var(--pt-ink3); }

/* ─── Заголовок страницы + кнопка справа ─── */
.pt-page-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.pt-page-t {
  font-size: 22px; font-weight: 700; color: var(--pt-ink);
  margin: 0;
}

/* ─── Кнопки ─── */
.pt-btn {
  display: inline-block;
  padding: 8px 16px; border-radius: 7px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: background .12s, border-color .12s;
}
.pt-btn-primary {
  background: var(--pt-green); color: #fff;
}
.pt-btn-primary:hover { background: var(--pt-green-tile); }
.pt-btn-ghost {
  background: var(--pt-card); color: var(--pt-ink2);
  border: 1px solid var(--pt-line);
}
.pt-btn-ghost:hover { border-color: var(--pt-green-tile); color: var(--pt-green); }
.pt-btn-confirm {
  background: var(--pt-green); color: #fff;
  padding: 10px 22px; font-size: 15px;
}
.pt-btn-confirm:hover { background: var(--pt-green-tile); }
.pt-btn-sm { padding: 5px 10px; font-size: 13px; }

/* ─── Badges (importance + read_required) ─── */
.pt-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; margin-right: 4px; margin-bottom: 4px;
}
.pt-badge--critical {
  background: #fde8e8; color: #991b1b;
  border: 1px solid #fca5a5;
}
.pt-badge--imp {
  background: var(--pt-imp-bg); color: var(--pt-imp-ink);
}
.pt-badge--normal {
  background: #f1f3f5; color: var(--pt-ink2);
}
.pt-badge--read {
  background: #eff6ff; color: #1e40af;
}

/* ─── Status chips (admin) ─── */
.pt-status {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 10px;
}
.pt-status--ok   { background: #d1fae5; color: #065f46; }
.pt-status--draft { background: #f3f4f6; color: #6b7280; }
.pt-status--arch  { background: #fef3c7; color: #92400e; }

/* ─── Chips (audience_roles) ─── */
.pt-chip {
  display: inline-block; font-size: 12px;
  background: #f1f3f5; color: var(--pt-ink2);
  padding: 2px 8px; border-radius: 10px; margin: 2px;
}

/* ─── Empty state ─── */
.pt-empty {
  background: var(--pt-card); border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius); padding: 40px 24px;
  text-align: center; color: var(--pt-ink2); font-size: 14px;
}

/* ─── Full-width news feed ─── */
.pt-news-feed { display: flex; flex-direction: column; gap: 12px; }
.pt-ncard--full {
  padding: 16px 18px;
}
.pt-ncard--full .pt-ncard-ex {
  font-size: 13px; color: var(--pt-ink2); margin-top: 6px;
}
.pt-ncard--critical { border-left: 4px solid #991b1b; }

/* ─── Карточка статьи ─── */
.pt-article {
  background: var(--pt-card);
  border: 1px solid var(--pt-line); border-radius: var(--pt-radius);
  padding: 28px 28px 24px;
  margin-bottom: 20px;
}
.pt-article-badges { margin-bottom: 10px; }
.pt-article-t {
  font-size: 24px; font-weight: 700; color: var(--pt-ink);
  margin: 0 0 10px;
}
.pt-article-meta {
  font-size: 13px; color: var(--pt-ink3); margin-bottom: 20px;
}
.pt-meta-valid { color: var(--pt-imp-ink); }
.pt-article-body {
  font-size: 15px; line-height: 1.7; color: var(--pt-ink);
  margin-bottom: 20px;
  white-space: pre-wrap;
}
.pt-article-roles {
  font-size: 13px; color: var(--pt-ink2);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 16px;
}
.pt-meta-label { color: var(--pt-ink3); }

/* ─── Блок подтверждения прочтения ─── */
.pt-confirm-block {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px; padding: 16px 20px;
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.pt-confirm-block--done { background: #d1fae5; border-color: #6ee7b7; }
.pt-confirm-count { font-size: 13px; color: var(--pt-ink2); }
.pt-confirm-done { font-size: 14px; color: #065f46; font-weight: 500; }

/* ─── Навигация статьи ─── */
.pt-article-nav { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── Flash messages ─── */
.pt-flash {
  padding: 11px 15px; border-radius: 7px;
  font-size: 14px; margin-bottom: 14px;
}
.pt-flash--success { background: #d1fae5; color: #065f46; }
.pt-flash--error   { background: #fde8e8; color: #991b1b; }

/* ─── Admin таблица ─── */
.pt-admin-table-wrap { overflow-x: auto; margin-top: 8px; }
.pt-admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--pt-card);
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  font-size: 13px;
  overflow: hidden;
}
.pt-admin-table th {
  background: #f8f9fb;
  padding: 10px 12px;
  font-weight: 600; text-align: left;
  color: var(--pt-ink2);
  border-bottom: 1px solid var(--pt-line);
}
.pt-admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--pt-line);
  vertical-align: middle;
}
.pt-admin-table tr:last-child td { border-bottom: none; }
.pt-admin-table tr:hover td { background: #f9fafb; }
.pt-td-date { white-space: nowrap; color: var(--pt-ink3); }
.pt-link { color: var(--pt-green); text-decoration: none; }
.pt-link:hover { text-decoration: underline; }

/* ─── Форма ─── */
.pt-form { max-width: 720px; }
.pt-form-row { margin-bottom: 18px; }
.pt-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--pt-ink2); margin-bottom: 6px;
}
.pt-req { color: #991b1b; }
.pt-input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--pt-line); border-radius: 7px;
  font: inherit; font-size: 14px; color: var(--pt-ink);
  background: var(--pt-card);
  outline: none;
  transition: border-color .12s;
}
.pt-input:focus { border-color: var(--pt-green-tile); }
.pt-textarea { resize: vertical; min-height: 160px; }
.pt-select { cursor: pointer; }
.pt-hint { font-size: 12px; color: var(--pt-ink3); margin: 4px 0 0; }
.pt-form-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 0;
}
.pt-form-check { display: flex; align-items: flex-start; }
.pt-check-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--pt-ink); cursor: pointer;
}
.pt-check-label input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }
.pt-roles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin-top: 4px;
}
.pt-form-actions {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; flex-wrap: wrap;
}

/* ─── Knowledge Base — двухколоночный layout ─── */
.pt-kb-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 20px;
}
.pt-kb-tree {
  background: var(--pt-card);
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  padding: 4px 0 12px;
  position: sticky;
  top: 80px;
}
.pt-kb-tree-hd {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--pt-ink3);
  padding: 12px 16px 8px;
}
.pt-kb-cat-list { list-style: none; margin: 0; padding: 0; }
.pt-kb-cat-children { margin: 0; padding: 0; }
.pt-kb-cat-item { margin: 0; }
.pt-kb-cat-item a {
  display: block; padding: 7px 16px;
  font-size: 13px; color: var(--pt-ink2);
  text-decoration: none; border-radius: 0;
  transition: background .1s, color .1s;
}
.pt-kb-cat-item a:hover { background: var(--pt-bg); color: var(--pt-ink); }
.pt-kb-cat-active > a {
  background: var(--pt-green-tile);
  color: #fff;
  font-weight: 600;
}

.pt-kb-articles { min-width: 0; }
.pt-kb-filter-label {
  font-size: 13px; color: var(--pt-ink2);
  margin: 0 0 16px;
}
.pt-link-sm { font-size: 12px; margin-left: 8px; }
.pt-kb-list { display: flex; flex-direction: column; gap: 12px; }
.pt-kb-card {
  display: block;
  background: var(--pt-card);
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  padding: 16px 20px;
  text-decoration: none;
  transition: box-shadow .12s, border-color .12s;
}
.pt-kb-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border-color: var(--pt-green-tile);
}
.pt-kb-card-meta {
  font-size: 12px; color: var(--pt-ink3); margin-bottom: 6px;
}
.pt-kb-card-title {
  font-size: 16px; font-weight: 600; color: var(--pt-ink);
  margin-bottom: 4px;
}
.pt-kb-card-excerpt {
  font-size: 13px; color: var(--pt-ink2); line-height: 1.5;
}

/* ─── Вложения (KB article) ─── */
.pt-attach-block {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--pt-line);
}
.pt-attach-hd {
  font-size: 15px; font-weight: 600; color: var(--pt-ink);
  margin: 0 0 10px;
}
.pt-attach-list { list-style: none; margin: 0; padding: 0; }
.pt-attach-item { margin: 4px 0; }
.pt-attach-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--pt-green);
  text-decoration: none;
}
.pt-attach-link:hover { text-decoration: underline; }
.pt-attach-size { font-size: 12px; color: var(--pt-ink3); }

/* ─── Вложения (admin) ─── */
.pt-attach-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--pt-line);
  max-width: 720px;
}
.pt-section-hd {
  font-size: 18px; font-weight: 700; color: var(--pt-ink);
  margin: 0 0 16px;
}
.pt-attach-admin-list { list-style: none; margin: 0 0 20px; padding: 0; }
.pt-attach-admin-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pt-line);
}
.pt-attach-del-form { margin: 0; }

/* ─── Dropzone ─── */
.pt-dropzone {
  border: 2px dashed var(--pt-line);
  border-radius: 10px;
  background: var(--pt-bg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pt-dropzone--over {
  border-color: var(--pt-green-tile);
  background: #f0fdf4;
}
.pt-dropzone-ico { font-size: 28px; display: block; margin-bottom: 8px; }
.pt-dropzone-txt { font-size: 14px; color: var(--pt-ink); margin: 0 0 4px; }
.pt-dropzone-hint { font-size: 12px; color: var(--pt-ink3); margin: 0 0 12px; }
.pt-link-ul { text-decoration: underline; cursor: pointer; }
.pt-file-hidden { display: none; }
.pt-file-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  text-align: left; font-size: 13px; color: var(--pt-ink2);
}
.pt-file-list li { padding: 2px 0; }

/* ─── Governance fieldset ─── */
.pt-fieldset {
  border: 1px solid var(--pt-line); border-radius: 8px;
  padding: 16px 20px 8px; margin-bottom: 20px;
}
.pt-legend {
  font-size: 13px; font-weight: 700;
  color: var(--pt-ink2); padding: 0 6px;
}
.pt-form-3col {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
}
.pt-meta-review { font-size: 12px; color: var(--pt-ink3); }
.pt-meta-warn { color: #b45309 !important; font-weight: 600; }

/* ─── Кнопка danger ─── */
.pt-btn-danger {
  background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
}
.pt-btn-danger:hover { background: #fee2e2; }

/* ─── Адаптив ─── */
@media (max-width: 560px) {
  .pt-tiles { grid-template-columns: repeat(2, 1fr); }
  .pt-news  { grid-template-columns: 1fr; }
  .pt-nav-links { gap: 14px; font-size: 13px; }
  .pt-form-2col { grid-template-columns: 1fr; }
  .pt-form-3col { grid-template-columns: 1fr; }
  .pt-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-kb-layout { grid-template-columns: 1fr; }
  .pt-kb-tree { position: static; }
}

/* ─── Auth: login form, flash, nav user (Security closeout 2026-06-10) ─── */
.pt-login {
  max-width: 380px; margin: 48px auto; background: var(--pt-card);
  border: 1px solid var(--pt-line); border-radius: var(--pt-radius);
  padding: 32px 28px; text-align: center;
}
.pt-login-ico { width: 40px; height: 40px; fill: none; stroke: var(--pt-green);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-login-t { font-size: 20px; margin: 12px 0 4px; color: var(--pt-ink); }
.pt-login-s { font-size: 13px; color: var(--pt-ink2); margin: 0 0 20px; }
.pt-login-form { text-align: left; }
.pt-login-lbl { display: block; font-size: 13px; color: var(--pt-ink2);
  margin: 12px 0 4px; }
.pt-login-in { width: 100%; box-sizing: border-box; padding: 9px 11px;
  border: 1px solid var(--pt-line); border-radius: 8px; font-size: 14px;
  color: var(--pt-ink); background: #fff; }
.pt-login-in:focus { outline: none; border-color: var(--pt-green); }
.pt-login-btn { width: 100%; margin-top: 18px; padding: 10px;
  background: var(--pt-green); color: #fff; border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; }
.pt-login-btn:hover { background: var(--pt-green-tile); }
.pt-flash { padding: 9px 12px; border-radius: 8px; font-size: 13px;
  margin-bottom: 12px; text-align: left; }
.pt-flash-error { background: #fee2e2; color: #991b1b; }
.pt-flash-success { background: #dcfce7; color: #166534; }
.pt-nav-user { margin-left: auto; font-size: 13px; color: var(--pt-ink2);
  display: inline-flex; align-items: center; }
.pt-nav-logout { font-size: 13px; color: var(--pt-green); margin-left: 12px; }

/* ─── HR-модули: Mitarbeiter / Urlaub / Ereignisse ─── */
.pt-card {
  background: var(--pt-card); border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius); padding: 24px 28px;
}
.pt-dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0 0 1rem; }
.pt-dl dt { font-size: 13px; color: var(--pt-ink2); padding-top: 2px; }
.pt-dl dd { font-size: 14px; color: var(--pt-ink); margin: 0; }
.pt-section-t { font-size: 16px; font-weight: 600; color: var(--pt-ink); border-bottom: 1px solid var(--pt-line); padding-bottom: 6px; }
.pt-tr-inactive td { opacity: 0.5; }
.pt-text-muted { color: var(--pt-ink3); }
.pt-td-actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; }
/* Навигация по месяцу */
.pt-cal-nav { display: flex; align-items: center; gap: 16px; margin: 1rem 0 0.5rem; }
.pt-cal-month { font-size: 16px; font-weight: 600; color: var(--pt-ink); }
/* Компактная сетка месяца */
.pt-cal-grid-wrap { overflow-x: auto; margin-top: 1rem; }
.pt-cal-grid { border-collapse: collapse; font-size: 12px; }
.pt-cal-grid th, .pt-cal-grid td { border: 1px solid var(--pt-line); padding: 3px 5px; white-space: nowrap; }
.pt-cal-name-col { min-width: 140px; font-weight: 500; background: var(--pt-card); }
.pt-cal-day-col { min-width: 24px; text-align: center; font-weight: 500; background: #f9fafb; }
.pt-cal-cell { height: 20px; }
.pt-cal-free { background: transparent; }
.pt-cal-vacation { background: #bbf7d0; }
.pt-cal-sick { background: #fee2e2; }
.pt-cal-other { background: #fef9c3; }
.pt-cal-legend { margin-top: 8px; font-size: 12px; color: var(--pt-ink2); display: flex; align-items: center; gap: 6px; }
.pt-cal-legend span { display: inline-block; width: 18px; height: 14px; border-radius: 3px; }
