/* Content office visual theme v1. Scoped to content/login pages; no data or workflow changes. */
:root.office-content-theme {
  font-family: "Times New Roman", Times, serif;
  --office-blue: #1660a1;
  --office-blue-hover: #104b80;
  --office-blue-active: #0d3d69;
  --office-soft: #edf4fa;
  /* Existing controls retain their original variable names. */
  --teal: var(--office-blue);
  --teal-light: var(--office-soft);
  --accent: var(--office-blue);
}
.office-content-theme :is(button,input,textarea,select) { font-family: inherit; }
.office-content-theme :is(h1,h2,h3,h4,thead th,.section-caption,.operation-title,.plan-title) {
  text-transform: uppercase;
  font-weight: 700;
}
.office-content-theme :is(.person-inner b,#profileName,.krep-presence-person-head b,.krep-bday-row b,.assignee-chip,.assignment-options .check-label,#directorList b,.office-account strong,.office-account b,.office-assignee-names),
.office-content-theme .table-wrap tbody td:first-child > b,
.office-content-theme .plan-table tbody td:nth-child(2) > b,
.office-content-theme .att-grid tbody th {
  text-transform: uppercase;
  font-weight: 700;
}
.office-content-theme .person-inner b { font-size: 15px; }
.office-content-theme :focus-visible { outline-color: var(--office-blue); }
.office-content-theme :is(select,input,textarea):hover { border-color: var(--office-blue); }
.office-content-theme .work-combo-input:focus { border-color: var(--office-blue); outline-color: #1660a140; }

/* Solid actions and selected filters; secondary actions keep an outline. */
.office-content-theme .btn:not(.danger),
.office-content-theme :is(.quick-chip,.group-chip,.ctp-tab,.assignee-chip) {
  color: var(--office-blue);
  border-color: #c6d6e5;
}
.office-content-theme .btn.primary,
.office-content-theme .group-chip.active,
.office-content-theme .ctp-tab[aria-pressed=true],
.office-content-theme .assignee-chip.is-on {
  background: var(--office-blue);
  border-color: var(--office-blue);
  color: #fff;
  box-shadow: 0 3px 8px #1660a112;
}
.office-content-theme .btn:not(.primary):not(.danger):not(:disabled):hover,
.office-content-theme :is(.quick-chip,.group-chip:not(.active),.ctp-tab:not([aria-pressed=true]),.assignee-chip:not(.is-on)):not(:disabled):hover {
  background: var(--office-soft);
  border-color: var(--office-blue);
  color: var(--office-blue-hover);
  filter: none;
}
.office-content-theme :is(.btn.primary,.group-chip.active,.ctp-tab[aria-pressed=true],.assignee-chip.is-on):not(:disabled):hover {
  background: var(--office-blue-hover);
  border-color: var(--office-blue-hover);
  filter: none;
}
.office-content-theme :is(.btn.primary,.group-chip.active,.ctp-tab[aria-pressed=true],.assignee-chip.is-on):not(:disabled):active {
  background: var(--office-blue-active);
}
.office-content-theme :is(.text-button,.row-action):not(.danger-text):not(:disabled):hover,
.office-content-theme .operation-details summary,
.office-content-theme .plan-log summary,
.office-content-theme .pay-calculation > summary { color: var(--office-blue-hover); }
.office-content-theme :is(.text-button,.row-action):not(:disabled):hover { text-decoration: underline; }
.office-content-theme .nav-item:hover { background: var(--office-soft); color: var(--office-blue-hover); }
.office-content-theme .nav-item { text-transform: uppercase; font-weight: 700; }
.office-content-theme .nav-item.active { background: var(--office-blue); color: #fff; }
.office-content-theme #navigation .nav-item.active .ctr-nav-grip { color: #fff; }
.office-content-theme .quick-work { background: #f5f8fc; border-color: #d5e1eb; }
.office-content-theme :is(.work-choice:hover,.work-combo-option:hover,.work-combo-option.is-active,.linked-work-item:hover,.linked-work-item.is-selected,.linked-work-selected) { background: var(--office-soft); }
.office-content-theme :is(.linked-work-item.is-selected,.linked-work-selected) { border-color: var(--office-blue); }
.office-content-theme .linked-work-item.is-selected .linked-work-badge { background: var(--office-blue); }

/* Compact spacing, preserving existing responsive grids and status colours. */
.office-content-theme .heading { gap: 12px; margin-bottom: 16px; }
.office-content-theme .cards { margin-bottom: 16px; gap: 10px; }
.office-content-theme .stat { padding: 14px 16px; }
.office-content-theme .stat.emphasis { padding-top: 12px; }
.office-content-theme .stat .number { margin: 8px 0 5px; }
.office-content-theme .panel-head { padding: 14px 16px; }
.office-content-theme .panel-body { padding: 16px; }
.office-content-theme .operation-card { padding: 14px; margin-bottom: 12px; }
.office-content-theme .modal-head { margin-bottom: 14px; }
.office-content-theme .form-actions { padding-top: 14px; margin-top: 16px; }
.office-content-theme .btn { padding: 8px 12px; min-height: 36px; }
.office-content-theme .heading .actions .btn { padding: 8px 12px; }
.office-content-theme .sidebar .nav-item { padding: 8px 10px; min-height: 36px; }
.office-content-theme .table-wrap :is(th,td) { padding: 8px 10px; line-height: 1.35; }
.office-content-theme .table-wrap td { font-size: 15px; }
.office-content-theme .table-wrap thead th {
  background: var(--office-blue);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}
.office-content-theme .table-wrap thead th + th { border-left: 1px solid #ffffff3d; }
.office-content-theme .table-wrap tbody td + td { border-left: 1px solid #dbe6ef; }
.office-content-theme .att-grid :is(th,td) { padding: 5px 2px; font-size: 12px; }
.office-content-theme .att-grid thead th { background: var(--office-blue); color: #fff; }
.office-content-theme .att-grid th:first-child { padding-left: 9px; }
.office-content-theme .krep-presence-person { padding: 9px 14px; }
@media(min-width:901px) {
  .office-content-theme .view { padding: 24px; }
  .office-content-theme .sidebar { padding: 22px 14px 16px; gap: 18px; }
  .office-content-theme .topbar { min-height: 60px; padding: 12px 24px; }
}
@media(max-width:620px) {
  .office-content-theme .view { padding: 18px 14px; }
  .office-content-theme .panel-head,.office-content-theme .panel-body { padding: 12px; }
}

/* Sign-in and account management use the same palette and font. */
.office-content-theme .office-shell button { background: var(--office-blue); border-color: var(--office-blue); }
.office-content-theme .office-shell button:not(:disabled):hover { background: var(--office-blue-hover); }
.office-content-theme .office-actions button { background: #fff; color: var(--office-blue); }
.office-content-theme .office-actions button:not(:disabled):hover { background: var(--office-soft); }
.office-content-theme .office-account { padding: 10px 0; }
@media print {
  .office-content-theme .view { padding: 0; }
}
