/* Operate theme: local CSS only, no third-party fonts or scripts. */
:root {
  --primary:#2463a1; --primary-dark:#174978; --primary-light:#2463a1;
  --primary-pale:#e5f0fb; --primary-50:#f1f6fb; --primary-100:#d9e9f8;
  --bg:#f1f6fb; --border:#d3e0ec; --text:#223548; --text-regular:#223548;
  --text-secondary:#54677a; --el-color-primary:#2463a1; --el-color-primary-dark-2:#174978;
  --el-color-primary-light-3:#658db7; --el-color-primary-light-5:#91b1d0;
  --el-color-primary-light-7:#bfd4e8; --el-color-primary-light-8:#d9e9f8;
  --el-color-primary-light-9:#f1f6fb; --el-text-color-primary:#223548;
  --el-text-color-regular:#354c61; --el-text-color-secondary:#54677a;
  --el-text-color-placeholder:#627487; --el-border-color:#d3e0ec;
  --el-border-radius-base:6px; --el-font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif;
}
body { font-size:14px; line-height:1.5; }
::selection { background:#d9e9f8; color:#223548; }
input,textarea { caret-color:var(--primary-dark); }
:focus-visible { outline:2px solid var(--primary-dark); outline-offset:3px; }
.app-header { background:var(--primary-dark); box-shadow:none; }
.app-logo { letter-spacing:.5px; }
.app-logo .logo-mark { background:#d9e9f8; color:var(--primary-dark); }
.shared-status { background:#e5f0fb; color:var(--primary-dark); border-color:var(--border); }
.page-content { max-width:1800px; margin:0 auto; width:100%; }
.page-title { color:var(--text); font-size:24px; font-weight:650; }
.page-subtitle,.text-muted { color:var(--text-secondary); line-height:1.65; }
.el-card,.card-block { border-radius:8px; box-shadow:none!important; border:1px solid var(--border); }
.el-card__header { padding:16px; background:#f8fbfe; }
.el-table { --el-table-header-bg-color:#f1f6fb; --el-table-header-text-color:#174978; --el-table-border-color:#e0e9f2; --el-table-row-hover-bg-color:#f1f6fb; font-variant-numeric:tabular-nums; }
.el-table .cell { line-height:1.6; }
.el-table th.el-table__cell { font-weight:600; }
.el-button { border-radius:6px; font-weight:500; }
.el-button--primary:not(.is-link):not(.is-text) { --el-button-text-color:#fff; }
.el-button--primary.is-disabled { background:#d9e9f8; border-color:#d3e0ec; color:#627487; }
.el-dialog { border-radius:8px; padding:20px; }
.el-dialog__header { padding-bottom:16px; border-bottom:1px solid var(--border); margin-bottom:16px; }
.el-dialog__title { color:var(--primary-dark); font-weight:600; }
.el-dialog__footer { border-top:1px solid var(--border); padding-top:16px; display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.el-dialog__footer .el-button + .el-button { margin-left:0; }
.el-form-item__label { color:var(--text); font-weight:500; }
.property-item { background:#f8fbfe; border-color:var(--border); }
.hc-stat { border-radius:8px; box-shadow:none; border-color:var(--border); padding:12px 16px; }
.hc-stat:hover { transform:none; box-shadow:none; }
.hc-stat::after { display:none; }
.hc-stat-icon { background:#e5f0fb!important; color:var(--primary-dark); box-shadow:none!important; border-radius:6px; }
.hc-stat-label,.hc-side-tip,.hc-up-meta,.hc-legend-title { color:var(--text-secondary); }
.hc-cal-titlebar { background:#f1f6fb; border-color:var(--border); border-radius:6px; }
.hc-cal-titlebar > span:first-child,.hc-side-date { color:var(--primary-dark); }
.hc-cell.is-selected { background:#e5f0fb; box-shadow:inset 0 0 0 2px #2463a1; }
.hc-cell.is-today .hc-cell-date { background:var(--primary-dark); }
.hc-side-card .section-title > span:first-child::before { width:1px; background:var(--primary); }
.hc-dt-hearing { background:#2463a1; }.hc-dt-renewal { background:#a04d16; }.hc-dt-task { background:#287452; }
.hc-up-title,.hc-up-meta { white-space:normal; overflow-wrap:anywhere; }
.preservation-page .dash-card { background:#fff; text-align:left; border-color:var(--border); }
.preservation-page .dash-num { color:var(--text); font-size:24px; font-variant-numeric:tabular-nums; }
.preservation-page .dash-label { color:var(--text-secondary); }
.preservation-page .el-button-group { display:inline-flex; flex-wrap:wrap; gap:4px; margin-bottom:8px; }
.preservation-page .el-button-group .el-button { margin:0; border-radius:6px!important; }
.preservation-case-group { margin-top:20px; min-width:0; }
.preservation-case-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 16px; padding:12px 0; }
.preservation-case-heading .el-link { font-weight:700; font-size:16px; }
.preservation-case-heading strong { font-weight:600; overflow-wrap:anywhere; }
.preservation-case-heading > span { color:var(--text-secondary); font-size:13px; }
.preservation-mobile-items { display:none; }
@media(max-width:767px) {
  .page-title { font-size:22px; }.page-content { padding:12px; }
  .el-card__body { padding:12px; }.el-card__header { padding:12px; }
  .el-button { min-height:40px; }.el-dialog .el-button { min-height:44px; }
  .hc-stats { gap:8px; }.hc-stat { padding:10px; gap:8px; }.hc-stat-num { font-size:22px; }
  .hc-toolbar .el-radio-group { display:flex; flex-wrap:wrap; gap:4px; }
  .hc-toolbar .el-radio-button__inner { padding:10px 8px; border-radius:4px!important; border:1px solid var(--border)!important; }
  .el-calendar-table { table-layout:fixed; width:100%; }
  .el-calendar-table .el-calendar-day { padding:2px; height:92px; }
  .hc-cell { padding:2px; }.hc-cal-titlebar { padding:8px; gap:8px; flex-wrap:wrap; }
  .hc-cal-titlebar > span:first-child { font-size:14px; }
  .preservation-desktop-table { display:none!important; }
  .preservation-mobile-items { display:grid; gap:0; }
  .preservation-mobile-item { padding:16px 0; border-top:1px solid var(--border); }
  .preservation-mobile-item h3 { font-size:16px; line-height:1.6; margin:10px 0 4px; overflow-wrap:anywhere; }
  .preservation-mobile-item p { color:var(--text-secondary); margin:4px 0; }
  .property-status { display:flex; justify-content:space-between; gap:8px; }
  .preservation-mobile-item dl { display:grid; grid-template-columns:64px minmax(0,1fr); gap:8px; font-size:13px; }
  .preservation-mobile-item dt { color:var(--text-secondary); }.preservation-mobile-item dd { margin:0; overflow-wrap:anywhere; }
  .preservation-mobile-item .el-button { width:100%; min-height:44px; }
  .el-dialog { padding:16px; }.el-dialog__body { max-height:65dvh; }
  .el-dialog .toolbar > .el-select { width:100%!important; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
/* Responsive corrections found during the first screenshot pass. */
.el-alert--info.is-light { color:#54677a; background:#f1f6fb; }
@media(max-width:1024px) { .calendar-columns > .el-col { flex-basis:100%; max-width:100%; } }
@media(max-width:767px) {
  .app-header { padding:0 8px; gap:6px; }
  .app-header-right { gap:6px; }
  .app-logo { flex:1; min-width:0; font-size:12px; }
  .app-header-right .el-avatar { display:inline-flex; width:24px; height:24px; }
  .mobile-menu-button { min-width:32px; min-height:36px; }
  .shared-search-trigger { padding:7px; }
  .hc-calendar-wrap .el-calendar__body { padding:0; }
  .hc-cell-bar { padding:0 1px; gap:1px; }
  .hc-cell-more { color:#54677a; }
  .calendar-columns { row-gap:12px; }
}

/* Two-level navigation: depth, state and keyboard focus stay distinct. */
.app-sidebar .el-menu { --el-menu-item-height:46px; --el-menu-sub-item-height:42px; --el-menu-hover-bg-color:#f1f6fb; border-right:0; }
.app-sidebar .el-menu-item,.app-sidebar .el-sub-menu__title { font-size:14px; min-height:46px; height:auto; line-height:1.5; padding-top:10px; padding-bottom:10px; color:var(--text-regular); }
.app-sidebar > .el-menu > .el-menu-item,.app-sidebar .el-sub-menu__title { padding-left:20px!important; padding-right:32px; }
.app-sidebar .el-icon { width:18px; height:18px; font-size:18px; margin-right:10px; flex-shrink:0; }
.app-sidebar .el-sub-menu .el-menu { margin:0 12px 8px 29px; padding:4px 0; border-left:1px solid var(--border); background:#f8fbfe; }
.app-sidebar .el-sub-menu .el-menu-item { min-width:0; min-height:42px; padding:10px 12px 10px 20px!important; font-size:13px; white-space:normal; overflow-wrap:anywhere; }
.app-sidebar .el-sub-menu .el-menu-item.is-active { font-weight:700; color:var(--primary-dark); background:#d9e9f8!important; border-radius:0 5px 5px 0; }
.app-sidebar .el-sub-menu.is-active > .el-sub-menu__title { color:var(--primary-dark); font-weight:650; }
.app-sidebar .el-sub-menu__icon-arrow { font-size:12px; width:12px; height:12px; right:14px; margin-right:0; }
.app-sidebar .el-sub-menu__title:hover { background:#f1f6fb; }
.app-sidebar [role="menuitem"]:focus-visible,.app-sidebar .el-sub-menu__title:focus-visible { outline:2px solid var(--primary-dark); outline-offset:-3px; background:#e5f0fb; }
.app-sidebar .el-menu-item.is-disabled { color:#6d7d8d; background:transparent!important; cursor:not-allowed; opacity:.65; }
.app-sidebar .menu-group-title { color:#54677a; font-size:12px; letter-spacing:0; padding-top:20px; }
@media(max-width:767px) { .app-sidebar .el-sub-menu .el-menu-item { min-height:44px; } }
