/* EvolvIT support-site theme. */
:root {
  --evolv-blue: #1d729c;
  --evolv-sky: #42b1e9;
  --evolv-sky-dark: #3386af;
  --evolv-plum: #b66a88;
  --evolv-red: #c72d35;
  --evolv-yellow: #f8c44f;
  --evolv-ink: #18313f;
  --evolv-muted: #607783;
  --evolv-line: #dbe7ec;
  --evolv-canvas: #eff5f7;
  --evolv-card: #ffffff;
  --evolv-surface: #f7fafb;
  --evolv-soft: #eff8fb;
  --evolv-shadow: 0 16px 45px rgba(24, 49, 63, 0.10);
  --support-toolbar-height: 74px;
  --support-brand-height: 0px;
}

html.theme-modern,
html.theme-modern body {
  background: var(--evolv-canvas) !important;
  color: var(--evolv-ink) !important;
  font-family: Roboto, "Segoe UI", Arial, sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  min-width: 0 !important;
}

html.theme-modern body::before {
  background: linear-gradient(90deg, var(--evolv-blue), var(--evolv-sky) 60%, #84cfc9);
  content: '';
  display: none;
  height: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 19000;
}

html.theme-modern #centeredpageshadow {
  background: transparent;
  box-shadow: none;
  min-width: 0;
  width: 100%;
}

html.theme-modern #centeredpageshadow > div:first-child {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: none;
  padding: 0 12px !important;
}

html.theme-modern .col1 {
  background: var(--evolv-card) !important;
  border: 1px solid var(--evolv-line) !important;
  border-radius: 14px;
  box-shadow: var(--evolv-shadow);
  box-sizing: border-box;
  margin: 174px 0 32px !important;
  min-height: 480px;
  padding: 24px !important;
}

html.theme-modern .col1 > .node > .content > table:first-of-type > tbody > tr > td,
html.theme-modern .col1 > .node > .content > table:first-of-type > tr > td {
  background: #eff8fb !important;
}

html.theme-modern #header {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  height: 0;
  min-width: 0;
  position: absolute;
  top: 44px;
  z-index: auto;
}

html.theme-modern #header > div,
html.theme-modern #header_back {
  height: 100%;
  max-width: 1530px;
  width: auto !important;
}

html.theme-modern #header_logo {
  align-items: center;
  display: flex;
  box-sizing: border-box;
  height: 86px;
  left: 8px !important;
  padding: 2px 0 3px;
  position: fixed;
  top: 0;
  width: 142px;
  z-index: 11000;
}

html.theme-modern .evolv-logo--modern {
  display: block;
  height: 81px;
  object-fit: contain;
  width: auto;
}

html.theme-modern #heading_right_block {
  align-items: center;
  background: #122a37;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.15);
  border-radius: 0;
  bottom: auto;
  box-shadow: -6px 0 18px rgba(8, 28, 39, .16);
  box-sizing: border-box;
  color: rgba(255,255,255,.82);
  display: flex;
  font-size: 11px;
  height: 86px;
  justify-content: center;
  left: auto;
  line-height: 1.25;
  margin-top: 0;
  padding: 7px 26px 7px 20px;
  position: fixed;
  right: 0;
  top: 0;
  width: 450px !important;
  z-index: 12000;
}

html.theme-modern #heading_right_block > div { text-align: right !important; }
html.theme-modern #heading_right_block strong { color: #fff; font-size: 12px; }
html.theme-modern #heading_right_block.no-live-stats { display:none; }
html.theme-modern .live-stats-panel {
  display: grid;
  gap: 4px;
  justify-items: end;
  width: 100%;
}
html.theme-modern .live-stats-panel__title,
html.theme-modern .live-stats-panel__line { display: block; white-space: nowrap; }
html.theme-modern .live-stats-panel__line b { color: var(--evolv-sky); padding: 0 3px; }
html.theme-modern .live-stats-panel__link { border-radius:3px; color:inherit !important; display:inline-block; padding:0 2px; text-decoration:none; }
html.theme-modern .live-stats-panel__link:hover,
html.theme-modern .live-stats-panel__link:focus { background:rgba(255,255,255,.14); color:#fff !important; text-decoration:underline; }
html.theme-modern .live-stats-panel__heading { align-items:center; display:flex; gap:5px; justify-content:flex-end; }
html.theme-modern .live-stats-panel__refresh { align-items:center; background:rgba(255,255,255,.12) !important; border:1px solid rgba(255,255,255,.24) !important; border-radius:50% !important; color:#fff !important; cursor:pointer; display:inline-flex; font-size:14px !important; height:19px !important; justify-content:center; line-height:1 !important; min-height:19px !important; padding:0 !important; width:19px !important; }
html.theme-modern .live-stats-panel__refresh:hover { background:rgba(255,255,255,.24) !important; }
html.theme-modern .live-stats-panel__refresh.is-refreshing span { animation:live-stats-spin .7s linear infinite; }
html.theme-modern .live-stats-panel__refresh.has-error { background:var(--evolv-red) !important; }
@keyframes live-stats-spin { to { transform:rotate(360deg); } }

html.theme-modern #support-toolbar {
  background: var(--evolv-ink) !important;
  border: 0 !important;
  box-sizing: border-box;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 20px !important;
  min-height: 86px;
  padding: 4px 468px 4px 18px;
  text-align: left !important;
  top: 0 !important;
  z-index: 10000;
}
html.theme-modern #support-toolbar.no-live-stats { padding-right:18px; }

html.theme-modern #support-toolbar::before {
  background: #fff;
  border-right: 1px solid rgba(24,49,63,.16);
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  top: 0;
  width: 150px;
}

html.theme-modern #support-toolbar a {
  color: #fff !important;
  display: inline-block;
  font-weight: 600;
  padding: 2px 3px;
  text-decoration: none;
}

html.theme-modern #support-toolbar a:hover { color: var(--evolv-sky) !important; }
html.theme-modern #support-toolbar form { color: #fff; }
html.theme-modern #support-toolbar input[type="text"] {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

html.theme-modern #support-toolbar .support-nav {
  align-items: center;
  display: flex;
  gap: 5px 14px;
  margin-left: 142px;
  min-height: 22px;
  overflow-x: auto;
  padding-left: 0;
  position: relative;
  scrollbar-width: thin;
}

html.theme-modern #support-toolbar .support-nav--primary {
  padding-right: 0;
}

html.theme-modern #support-toolbar .support-theme-toggle {
  align-items:center; background:rgba(255,255,255,.10) !important; border:1px solid rgba(255,255,255,.24) !important;
  border-radius:999px !important; color:#fff !important; cursor:pointer; display:inline-flex; flex:0 0 auto;
  font:inherit !important; font-size:10px !important; font-weight:800 !important; gap:5px; height:20px;
  line-height:18px !important; margin-left:auto; min-height:20px !important; padding:0 9px !important; white-space:nowrap;
}
html.theme-modern #support-toolbar .support-theme-toggle:hover,
html.theme-modern #support-toolbar .support-theme-toggle:focus-visible { background:rgba(255,255,255,.22) !important; border-color:rgba(255,255,255,.42) !important; outline:none; }
html.theme-modern #support-toolbar .support-theme-toggle__icon { font-size:13px; font-weight:400; line-height:1; }

html.theme-modern #support-toolbar .support-nav--tools {
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  padding-top: 3px;
}
html.theme-modern #support-toolbar .support-nav--account .support-nav__search-toggle {
  color: var(--evolv-sky) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-left: auto;
  padding-left: 14px;
}
html.theme-modern #support-toolbar .support-nav--account .support-nav__search-toggle[aria-expanded="true"] {
  color: #fff !important;
}

html.theme-modern #support-toolbar .support-nav--account {
  border-top: 1px solid rgba(255,255,255,.12);
  min-height: 23px;
  padding-left: 3px;
  padding-top: 3px;
}
html.theme-modern #support-toolbar .support-header-jump { align-items:center; display:inline-flex; gap:4px; }
html.theme-modern #support-toolbar .support-header-jump input[type="text"] { border-radius:5px; box-sizing:border-box; font-size:10px; height:20px; min-height:20px; padding:2px 6px; text-align:center; width:82px; }
html.theme-modern #support-toolbar .support-header-jump input[type="text"]::placeholder { color:rgba(255,255,255,.75); opacity:1; }
html.theme-modern #support-toolbar .support-header-jump button { background:var(--evolv-sky-dark) !important; border:0 !important; border-radius:5px; color:#fff !important; cursor:pointer; font-size:10px !important; font-weight:800; height:20px; min-height:20px; padding:1px 7px !important; }
html.theme-modern #support-toolbar .support-header-jump button:hover { background:var(--evolv-sky) !important; }

html.theme-modern #support-toolbar .support-nav__separator { display: none; }
html.theme-modern #support-toolbar .support-nav a,
html.theme-modern #support-toolbar .support-nav__identity { white-space: nowrap; }

/* The two toolbar rows can each gain a horizontal scrollbar on narrower
   desktop windows. Keep the brand panel below their real rendered height. */
html.theme-modern:has(#support-toolbar .support-nav) #header {
  top: calc(var(--support-toolbar-height) + 8px) !important;
}
html.theme-modern:has(#support-toolbar .support-nav) .col1 {
  margin-top: calc(var(--support-toolbar-height) + 12px) !important;
}

html.theme-modern #topmenus {
  display: none;
}

html.theme-modern:has(.login-page) .col1 {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
  display: flex;
  justify-content: center;
  margin-top: 106px !important;
  min-height: calc(100vh - 142px);
}
html.theme-modern:has(.login-page) #heading_right_block {
  box-shadow: none;
  justify-content: flex-start;
  left: 150px;
  padding: 7px 28px;
  right: 0;
  width: auto !important;
}
html.theme-modern .login-header-welcome { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
html.theme-modern .login-page { max-width: 480px; width: 100%; }
html.theme-modern .login-card { background: #fff; border: 1px solid var(--evolv-line); border-radius: 12px; box-shadow: var(--evolv-shadow); padding: 28px; }
html.theme-modern .login-card h1 { font-size: 23px !important; margin: 0 0 22px !important; padding: 0 !important; }
html.theme-modern .login-form { display: grid; gap: 8px; }
html.theme-modern .login-form label { color: var(--evolv-muted); font-size: 12px; font-weight: 800; margin-top: 5px; }
html.theme-modern .login-form input { min-height: 42px; width: 100%; }
html.theme-modern .login-form button { background: var(--evolv-blue) !important; border: 1px solid var(--evolv-blue) !important; border-radius: 7px; color: #fff !important; cursor: pointer; font-size: 13px; font-weight: 800; margin-top: 10px; min-height: 42px; }
html.theme-modern .login-form button:hover { background: var(--evolv-sky-dark) !important; }
html.theme-modern .login-card__error { background: #fff0f0; border: 1px solid #efb0b0; border-radius: 7px; color: #8e3036; font-size: 12px; font-weight: 700; margin: -5px 0 14px; padding: 10px 12px; }
html.theme-modern .login-card__footer { align-items: center; border-top: 1px solid var(--evolv-line); color: var(--evolv-muted); display: flex; font-size: 11px; justify-content: space-between; margin-top: 20px; padding-top: 14px; }

/* User selection. */
html.theme-modern:has(.select-user-page) .col1 { align-items:flex-start; background:transparent !important; border:0 !important; box-shadow:none; display:flex; justify-content:center; margin-top:106px !important; min-height:calc(100vh - 142px); }
html.theme-modern:has(.select-user-page) #heading_right_block { box-shadow:none; justify-content:flex-start; left:150px; padding:7px 28px; right:0; width:auto !important; }
html.theme-modern .select-user-page { max-width:1400px; width:100%; }
html.theme-modern .select-user-card { background:#eff8fb; border-radius:12px; box-sizing:border-box; padding:6px; width:100%; }
html.theme-modern .select-user-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); border-radius:9px; color:#fff; display:flex; justify-content:space-between; padding:13px 15px; }
html.theme-modern .select-user-eyebrow { color:rgba(255,255,255,.76); display:block; font-size:9px; font-weight:800; letter-spacing:.09em; line-height:1; margin-bottom:3px; text-transform:uppercase; }
html.theme-modern .select-user-header h1 { color:#fff; font-size:20px !important; line-height:1.1; margin:0 0 3px !important; padding:0 !important; }
html.theme-modern .select-user-header p { color:rgba(255,255,255,.84); font-size:11px; margin:0; }
html.theme-modern .select-user-header__actions { align-items:center; display:flex; gap:7px; }
html.theme-modern .select-user-return { background:rgba(8,48,69,.72); border:1px solid rgba(255,255,255,.42); border-radius:7px; color:#fff !important; font-size:11px; font-weight:800; padding:7px 11px; text-decoration:none; white-space:nowrap; }
html.theme-modern .select-user-return:hover { background:#08384f; border-color:#fff; }
html.theme-modern .select-user-logout { background:#fff; border:1px solid rgba(255,255,255,.85); border-radius:7px; color:#155a7c !important; font-size:11px; font-weight:800; padding:7px 11px; text-decoration:none; white-space:nowrap; }
html.theme-modern .select-user-logout:hover { background:#e8f4fa; }
html.theme-modern .select-user-notice { background:#edf8f1; border:1px solid #b7dfc4; border-radius:8px; color:#245f3d; font-size:12px; font-weight:700; margin:7px 0 0; padding:10px 12px; }
html.theme-modern .select-user-notice--error { background:#fff0f0; border-color:#efb0b0; color:#8e3036; }
html.theme-modern .select-user-grid { display:grid; gap:8px; grid-template-columns:repeat(4,minmax(0,1fr)); padding-top:7px; }
html.theme-modern .select-user-option { align-items:center; background:#fff; border:1px solid var(--evolv-line); border-radius:9px; box-shadow:0 3px 10px rgba(17,65,91,.06); display:grid; gap:8px 11px; grid-template-columns:56px minmax(0,1fr); padding:10px; }
html.theme-modern .select-user-avatar { border:2px solid #d8e8ef; border-radius:50%; grid-row:1; height:52px; object-fit:cover; width:52px; }
html.theme-modern .select-user-details { min-width:0; }
html.theme-modern .select-user-details h2 { color:var(--evolv-ink); font-size:14px; line-height:1.2; margin:0 0 2px !important; overflow:hidden; padding:0 !important; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .select-user-details span { color:var(--evolv-muted); display:block; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .select-user-form { display:grid; gap:5px; grid-column:1 / -1; margin:0; }
html.theme-modern .select-user-form label { color:var(--evolv-muted); font-size:10px; font-weight:800; text-transform:uppercase; }
html.theme-modern .select-user-form input[type="password"] { box-sizing:border-box; min-height:32px; width:100%; }
html.theme-modern .select-user-form button { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:7px; color:#fff !important; cursor:pointer; font-size:11px !important; font-weight:800; min-height:32px; padding:6px 9px !important; width:100%; }
html.theme-modern .select-user-form button:hover { background:var(--evolv-sky-dark) !important; }
@media (max-width:1100px) { html.theme-modern .select-user-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:820px) { html.theme-modern .select-user-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { html.theme-modern .select-user-header { align-items:flex-start; gap:10px; } html.theme-modern .select-user-header__actions { align-items:stretch; flex-direction:column; } html.theme-modern .select-user-grid { grid-template-columns:1fr; } }

/* Planning page. */
html.theme-modern .planning-page { background:#eff8fb; border-radius:12px; box-sizing:border-box; padding:6px; text-align:left; width:100%; }
html.theme-modern .planning-card { background:#fff; border:1px solid var(--evolv-line); border-radius:11px; box-shadow:var(--evolv-shadow); overflow:hidden; }
html.theme-modern .planning-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; gap:18px; justify-content:space-between; padding:16px 18px; }
html.theme-modern .planning-header h1 { color:#fff; font-size:22px; margin:2px 0 3px !important; padding:0 !important; }
html.theme-modern .planning-header p { color:rgba(255,255,255,.82); font-size:13px; margin:0; }
html.theme-modern .planning-eyebrow { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
html.theme-modern .planning-header__actions { align-items:center; display:flex; flex:0 0 auto; gap:8px; }
html.theme-modern .planning-button { align-items:center; border:1px solid transparent; border-radius:7px; box-sizing:border-box; cursor:pointer; display:inline-flex; font-size:11px !important; font-weight:800; justify-content:center; min-height:35px; padding:7px 12px; text-decoration:none !important; white-space:nowrap; }
html.theme-modern .planning-button--secondary { background:rgba(255,255,255,.16) !important; border-color:rgba(255,255,255,.36) !important; color:#fff !important; }
html.theme-modern .planning-button--secondary:hover { background:rgba(255,255,255,.26) !important; }
html.theme-modern .planning-button--primary { background:#fff !important; border-color:#fff !important; color:var(--evolv-blue) !important; }
html.theme-modern .planning-button--primary:hover { background:#e8f3f7 !important; }
html.theme-modern .planning-body { padding:16px; }
html.theme-modern .planning-content { color:var(--evolv-ink); font-size:13px; line-height:1.55; min-height:420px; overflow-wrap:anywhere; }
html.theme-modern .planning-content img { height:auto; max-width:100%; }
html.theme-modern .planning-content table { border-collapse:collapse; max-width:100%; width:100%; }
html.theme-modern .planning-content td, html.theme-modern .planning-content th { border:1px solid var(--evolv-line); padding:7px 9px; }
html.theme-modern .planning-content--editing { background:#fff; border:1px solid #b9cbd3; border-radius:0 0 8px 8px; box-sizing:border-box; min-height:520px; outline:none; padding:16px; }
html.theme-modern .planning-content--editing:focus { border-color:var(--evolv-sky); box-shadow:0 0 0 3px rgba(66,177,233,.14); }
html.theme-modern .planning-editor-toolbar { align-items:center; background:#edf4f7; border:1px solid #b9cbd3; border-bottom:0; border-radius:8px 8px 0 0; display:flex; gap:5px; padding:7px; }
html.theme-modern .planning-editor-toolbar button { background:#fff !important; border:1px solid #c7d7de !important; border-radius:5px; color:var(--evolv-ink) !important; cursor:pointer; font-size:11px !important; min-height:29px; padding:4px 9px !important; }
html.theme-modern .planning-editor-toolbar button:hover { background:#dceef6 !important; }
html.theme-modern .planning-notice { background:#edf8f1; border:1px solid #b7dfc4; border-radius:7px; color:#245f3d; font-size:12px; font-weight:700; margin:0 0 14px; padding:10px 12px; }
html.theme-modern .planning-notice--error { background:#fff0f0; border-color:#efb0b0; color:#8e3036; }
@media (max-width:760px) { html.theme-modern .planning-header { align-items:flex-start; flex-direction:column; } html.theme-modern .planning-header__actions { flex-wrap:wrap; } }
html.theme-modern .planning-body { display:grid; gap:14px; }
html.theme-modern .planning-dashboard-summary { display:grid; gap:8px; grid-template-columns:repeat(5,minmax(0,1fr)); }
html.theme-modern .planning-dashboard-summary > div,
html.theme-modern .planning-summary-grid > div { background:#f3f8fa; border:1px solid var(--evolv-line); border-radius:9px; display:grid; gap:3px; padding:10px 12px; }
html.theme-modern .planning-dashboard-summary strong { color:var(--evolv-blue); font-size:21px; line-height:1; }
html.theme-modern .planning-dashboard-summary span,
html.theme-modern .planning-summary-grid span { color:var(--evolv-muted); font-size:10px; font-weight:800; text-transform:uppercase; }
html.theme-modern .planning-dashboard-summary .is-warning,
html.theme-modern .planning-summary-grid .is-warning { background:#fff1e9; border-color:#efb492; }
html.theme-modern .planning-dashboard-summary .is-warning strong,
html.theme-modern .planning-summary-grid .is-warning strong { color:#a54322; }
html.theme-modern .planning-filters { align-items:end; background:#edf5f8; border:1px solid var(--evolv-line); border-radius:9px; display:flex; gap:9px; padding:9px; }
html.theme-modern .planning-filters label,
html.theme-modern .planning-field { color:var(--evolv-muted); display:grid; font-size:10px; font-weight:800; gap:4px; text-transform:uppercase; }
html.theme-modern .planning-filters select { min-width:190px; }
html.theme-modern .planning-filters select,
html.theme-modern .planning-field input,
html.theme-modern .planning-field select,
html.theme-modern .planning-field textarea,
html.theme-modern .planning-task-row input,
html.theme-modern .planning-task-row select,
html.theme-modern .planning-ticket-link input { background:#fff; border:1px solid #b9cbd3; border-radius:6px; box-sizing:border-box; color:var(--evolv-ink); font:inherit; min-height:33px; padding:6px 8px; width:100%; }
html.theme-modern .planning-field textarea { min-height:74px; resize:vertical; text-transform:none; }
html.theme-modern .planning-button--filter,
html.theme-modern .planning-button--save,
html.theme-modern .planning-button--row { background:var(--evolv-blue) !important; border-color:var(--evolv-blue) !important; color:#fff !important; }
html.theme-modern .planning-button--filter:hover,
html.theme-modern .planning-button--save:hover,
html.theme-modern .planning-button--row:hover { background:var(--evolv-sky-dark) !important; }
html.theme-modern .planning-project-list { border:1px solid var(--evolv-line); border-radius:9px; overflow:hidden; }
html.theme-modern .planning-project-row { align-items:center; background:#fff; border-left:4px solid #62a777; border-top:1px solid var(--evolv-line); color:var(--evolv-ink) !important; display:grid; font-size:11px; gap:10px; grid-template-columns:minmax(220px,1.4fr) minmax(100px,.65fr) minmax(220px,1.35fr) 95px minmax(130px,.75fr) 90px; min-height:48px; padding:7px 10px; text-decoration:none !important; }
html.theme-modern .planning-project-row:first-child { border-top:0; }
html.theme-modern .planning-project-row:hover { background:#eff8fb; }
html.theme-modern .planning-project-row > span { min-width:0; }
html.theme-modern .planning-project-row strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .planning-project-row small { color:var(--evolv-muted); display:block; font-size:9px; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .planning-project-row progress { accent-color:var(--evolv-blue); height:7px; width:100%; }
html.theme-modern .planning-project-row--header { background:#142f3b; border-left-color:#142f3b; color:#fff !important; font-size:10px; font-weight:800; min-height:32px; text-transform:uppercase; }
html.theme-modern .planning-project-row--header:hover { background:#142f3b; }
html.theme-modern .planning-project-row--attention { border-left-color:#dc9c3e; }
html.theme-modern .planning-project-row--at_risk,
html.theme-modern .planning-project-row--blocked { border-left-color:#c95050; }
html.theme-modern .planning-project-row .is-warning { color:#b33b2e; font-weight:800; }
html.theme-modern .planning-empty { color:var(--evolv-muted); margin:0; padding:28px; text-align:center; }
html.theme-modern .planning-summary-grid { display:grid; gap:8px; grid-template-columns:repeat(6,minmax(0,1fr)); }
html.theme-modern .planning-summary-grid strong { color:var(--evolv-ink); font-size:12px; }
html.theme-modern .planning-badge { border-radius:999px; justify-self:start; padding:4px 9px; }
html.theme-modern .planning-badge--active { background:#d7f3df; color:#21633b !important; }
html.theme-modern .planning-badge--waiting,
html.theme-modern .planning-badge--at_risk { background:#ffe1d5; color:#943922 !important; }
html.theme-modern .planning-badge--completed { background:#e4e8ea; color:#45545b !important; }
html.theme-modern .planning-project-form { display:grid; gap:12px; }
html.theme-modern .planning-form-section,
html.theme-modern .planning-detail-section { border:1px solid var(--evolv-line); border-radius:9px; padding:12px; }
html.theme-modern .planning-form-section h2,
html.theme-modern .planning-section-heading h2 { color:var(--evolv-blue); font-size:14px; margin:0 0 9px; }
html.theme-modern .planning-form-grid { display:grid; gap:9px; }
html.theme-modern .planning-form-grid--four { grid-template-columns:repeat(4,minmax(0,1fr)); }
html.theme-modern .planning-form-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
html.theme-modern .planning-field--wide { grid-column:span 2; }
html.theme-modern .planning-field--full { grid-column:1/-1; }
html.theme-modern .planning-form-actions { display:flex; justify-content:flex-end; }
html.theme-modern .planning-section-heading { align-items:center; display:flex; justify-content:space-between; margin-bottom:9px; }
html.theme-modern .planning-section-heading h2 { margin-bottom:2px; }
html.theme-modern .planning-section-heading p { color:var(--evolv-muted); font-size:10px; margin:0; }
html.theme-modern .planning-section-heading > strong { background:#e4f2f7; border-radius:999px; color:var(--evolv-blue); font-size:10px; padding:4px 8px; }
html.theme-modern .planning-task-list { display:grid; gap:6px; }
html.theme-modern .planning-task-row { align-items:end; background:#f7fafb; border:1px solid var(--evolv-line); border-left:4px solid #8ca4ae; border-radius:7px; display:grid; gap:6px; grid-template-columns:minmax(220px,1.5fr) minmax(130px,.8fr) 115px 125px 72px 72px 58px; padding:7px; }
html.theme-modern .planning-task-row label { color:var(--evolv-muted); display:grid; font-size:9px; font-weight:800; gap:2px; text-transform:uppercase; }
html.theme-modern .planning-task-row--in_progress { border-left-color:var(--evolv-sky); }
html.theme-modern .planning-task-row--blocked { border-left-color:#c95050; }
html.theme-modern .planning-task-row--done { border-left-color:#62a777; opacity:.78; }
html.theme-modern .planning-task-row--new { border-left-color:var(--evolv-blue); }
html.theme-modern .planning-ticket-list { display:grid; gap:5px; }
html.theme-modern .planning-ticket-list > div { align-items:center; background:#f7fafb; border:1px solid var(--evolv-line); border-radius:7px; display:grid; gap:8px; grid-template-columns:1fr auto auto; padding:7px 9px; }
html.theme-modern .planning-ticket-list a { color:var(--evolv-blue); font-size:11px; font-weight:800; }
html.theme-modern .planning-ticket-list span { color:var(--evolv-muted); font-size:10px; }
html.theme-modern .planning-ticket-list form { margin:0; }
html.theme-modern .planning-ticket-list form button:not(.planning-button) { background:transparent; border:0; color:#a13d42; cursor:pointer; font-size:10px; font-weight:800; }
html.theme-modern .planning-ticket-link { align-items:center; display:grid; gap:7px; grid-template-columns:minmax(160px,260px) auto; margin-top:5px; }
@media (max-width:1100px) { html.theme-modern .planning-dashboard-summary, html.theme-modern .planning-summary-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } html.theme-modern .planning-project-row { grid-template-columns:minmax(200px,1.5fr) minmax(100px,.7fr) minmax(180px,1.2fr) 90px; } html.theme-modern .planning-project-row > span:nth-child(5), html.theme-modern .planning-project-row > span:nth-child(6) { display:none; } html.theme-modern .planning-task-row { grid-template-columns:minmax(220px,1.4fr) minmax(130px,.8fr) 115px 125px; } html.theme-modern .planning-task-row label { display:none; } }
@media (max-width:760px) { html.theme-modern .planning-dashboard-summary, html.theme-modern .planning-summary-grid, html.theme-modern .planning-form-grid--four, html.theme-modern .planning-form-grid--three { grid-template-columns:1fr; } html.theme-modern .planning-field--wide { grid-column:auto; } html.theme-modern .planning-filters { align-items:stretch; flex-direction:column; } html.theme-modern .planning-project-row { grid-template-columns:1fr; } html.theme-modern .planning-project-row--header { display:none; } html.theme-modern .planning-project-row > span:nth-child(4) { display:none; } html.theme-modern .planning-task-row { grid-template-columns:1fr; } html.theme-modern .planning-task-row label { display:grid; } }
html.theme-modern .planning-dashboard-summary--simple { grid-template-columns:repeat(4,minmax(0,1fr)); }
html.theme-modern .planning-simple-summary { display:grid; gap:8px; grid-template-columns:repeat(6,minmax(0,1fr)); }
html.theme-modern .planning-simple-summary > div { background:#f3f8fa; border:1px solid var(--evolv-line); border-radius:9px; display:grid; gap:3px; min-width:0; padding:10px 12px; }
html.theme-modern .planning-simple-summary span { color:var(--evolv-muted); font-size:10px; font-weight:800; text-transform:uppercase; }
html.theme-modern .planning-simple-summary strong { color:var(--evolv-ink); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .planning-simple-summary .is-warning { background:#fff1e9; border-color:#efb492; }
html.theme-modern .planning-simple-summary .is-warning strong { color:#a54322; }
html.theme-modern .planning-project-form--simple { border:1px solid var(--evolv-line); border-radius:9px; padding:12px; }
html.theme-modern .planning-simple-project-grid { display:grid; gap:9px; grid-template-columns:2fr 1.2fr 1fr .8fr .9fr .7fr .9fr; }
html.theme-modern .planning-project-form--simple .planning-form-actions { border-top:1px solid var(--evolv-line); margin-top:11px; padding-top:9px; }
html.theme-modern .planning-project-row--simple { grid-template-columns:minmax(230px,1.5fr) minmax(120px,.8fr) 95px 75px 95px minmax(140px,.9fr); }
html.theme-modern .planning-project-row--simple.is-overdue { border-left-color:#c95050; }
html.theme-modern .planning-period { align-items:center; color:var(--evolv-muted); display:grid; font-size:10px; font-weight:800; gap:8px; grid-template-columns:auto 1fr auto; margin:0 2px 9px; }
html.theme-modern .planning-period div { background:linear-gradient(90deg,var(--evolv-sky),var(--evolv-blue)); border-radius:999px; height:5px; }
html.theme-modern .planning-task-row--simple { grid-template-columns:minmax(240px,1.6fr) minmax(140px,.9fr) 120px 130px 58px; }
html.theme-modern .planning-task-row--simple.is-due { background:#fff7e9; border-color:#e4b865; border-left-color:#d68f21; }
@media (max-width:1200px) { html.theme-modern .planning-simple-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } html.theme-modern .planning-simple-project-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } html.theme-modern .planning-field--name { grid-column:span 2; } html.theme-modern .planning-project-row--simple { grid-template-columns:minmax(220px,1.5fr) minmax(120px,.8fr) 90px 70px 90px; } html.theme-modern .planning-project-row--simple > span:last-child { display:none; } }
@media (max-width:800px) { html.theme-modern .planning-dashboard-summary--simple, html.theme-modern .planning-simple-summary, html.theme-modern .planning-simple-project-grid { grid-template-columns:1fr; } html.theme-modern .planning-field--name { grid-column:auto; } html.theme-modern .planning-project-row--simple, html.theme-modern .planning-task-row--simple { grid-template-columns:1fr; } html.theme-modern .planning-project-row--simple > span:nth-child(3), html.theme-modern .planning-project-row--simple > span:nth-child(4), html.theme-modern .planning-project-row--simple > span:nth-child(5) { display:block; } }

/* Service status */
html.theme-modern .service-status-page { background:var(--evolv-soft); border-radius:12px; box-sizing:border-box; padding:6px; text-align:left; width:100%; }
html.theme-modern .service-status-shell { background:var(--evolv-card); border:1px solid var(--evolv-line); border-radius:11px; box-shadow:var(--evolv-shadow); overflow:hidden; }
html.theme-modern .service-status-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; gap:20px; justify-content:space-between; padding:14px 17px; }
html.theme-modern .service-status-header h1 { color:#fff !important; font-size:21px !important; line-height:1.2; margin:1px 0 3px !important; padding:0 !important; }
html.theme-modern .service-status-header p { color:rgba(255,255,255,.84); font-size:12px; margin:0; }
html.theme-modern .service-status-eyebrow { font-size:9px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
html.theme-modern .service-status-support-link { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.38); border-radius:7px; color:#fff !important; font-size:11px; font-weight:800; padding:8px 11px; text-decoration:none; white-space:nowrap; }
html.theme-modern .service-status-support-link:hover { background:rgba(255,255,255,.26); }
html.theme-modern .service-status-body { display:grid; gap:12px; padding:12px; }
html.theme-modern .service-status-summary { align-items:center; background:#f3f7f9; border:1px solid var(--evolv-line); border-left:5px solid #7d929b; border-radius:9px; display:flex; gap:12px; padding:13px 15px; }
html.theme-modern .service-status-summary__icon { background:#7d929b; border:4px solid rgba(255,255,255,.72); border-radius:50%; box-shadow:0 0 0 2px #7d929b; flex:0 0 auto; height:11px; width:11px; }
html.theme-modern .service-status-summary > div { display:grid; gap:2px; }
html.theme-modern .service-status-summary__label { color:var(--evolv-muted); font-size:9px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
html.theme-modern .service-status-summary strong { color:var(--evolv-ink); font-size:18px; line-height:1.25; }
html.theme-modern .service-status-summary small { color:var(--evolv-muted); font-size:10px; }
html.theme-modern .service-status-summary--operational { background:#edf8f1; border-color:#a9d9b9; border-left-color:#3c9a60; }
html.theme-modern .service-status-summary--operational .service-status-summary__icon { background:#3c9a60; box-shadow:0 0 0 2px #3c9a60; }
html.theme-modern .service-status-summary--warning { background:#fff8e6; border-color:#ecd79e; border-left-color:#d49a29; }
html.theme-modern .service-status-summary--warning .service-status-summary__icon { background:#d49a29; box-shadow:0 0 0 2px #d49a29; }
html.theme-modern .service-status-summary--incident { background:#fff0f0; border-color:#efb0b0; border-left-color:#c94a50; }
html.theme-modern .service-status-summary--incident .service-status-summary__icon { background:#c94a50; box-shadow:0 0 0 2px #c94a50; }
html.theme-modern .service-status-history { border:1px solid var(--evolv-line); border-radius:9px; overflow:hidden; }
html.theme-modern .service-status-section-heading { align-items:center; background:#f3f8fa; border-bottom:1px solid var(--evolv-line); display:flex; justify-content:space-between; padding:9px 12px; }
html.theme-modern .service-status-section-heading h2 { color:var(--evolv-blue); font-size:14px; margin:0 0 2px; }
html.theme-modern .service-status-section-heading p { color:var(--evolv-muted); font-size:10px; margin:0; }
html.theme-modern .service-status-section-heading > span { background:#dceef5; border-radius:999px; color:var(--evolv-blue); font-size:9px; font-weight:900; padding:4px 8px; }
html.theme-modern .service-status-timeline { padding:3px 12px; }
html.theme-modern .service-status-update { display:grid; gap:10px; grid-template-columns:18px 155px minmax(0,1fr); padding:10px 0; position:relative; }
html.theme-modern .service-status-update + .service-status-update { border-top:1px solid var(--evolv-line); }
html.theme-modern .service-status-update__marker { position:relative; }
html.theme-modern .service-status-update__marker::after { background:var(--evolv-line); bottom:-11px; content:""; left:8px; position:absolute; top:14px; width:2px; }
html.theme-modern .service-status-update:last-child .service-status-update__marker::after { display:none; }
html.theme-modern .service-status-update__marker span { background:var(--evolv-sky); border:3px solid var(--evolv-card); border-radius:50%; box-shadow:0 0 0 1px var(--evolv-sky-dark); display:block; height:8px; margin-top:3px; position:relative; width:8px; z-index:1; }
html.theme-modern .service-status-update__meta { align-content:start; display:grid; gap:3px; }
html.theme-modern .service-status-update__meta time { color:var(--evolv-ink); font-size:11px; font-weight:900; }
html.theme-modern .service-status-update__meta span { color:var(--evolv-muted); font-size:9px; font-weight:800; text-transform:uppercase; }
html.theme-modern .service-status-update__content { color:var(--evolv-ink); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
html.theme-modern .service-status-archive { border-top:1px solid var(--evolv-line); }
html.theme-modern .service-status-archive > summary { background:#f7fafb; color:var(--evolv-blue); cursor:pointer; font-size:10px; font-weight:900; padding:9px 12px; }
html.theme-modern .service-status-archive[open] > summary { border-bottom:1px solid var(--evolv-line); }
html.theme-modern .service-status-timeline--archive { background:#fbfcfd; }
html.theme-modern .service-status-empty { color:var(--evolv-muted); margin:0; padding:28px; text-align:center; }
@media (max-width:700px) { html.theme-modern .service-status-header { align-items:flex-start; flex-direction:column; } html.theme-modern .service-status-update { grid-template-columns:18px minmax(0,1fr); } html.theme-modern .service-status-update__meta, html.theme-modern .service-status-update__content { grid-column:2; } }

/* Sign-off sheets. */
html.theme-modern .signoff-page { background:#eff8fb; border-radius:12px; box-sizing:border-box; padding:6px; text-align:left; width:100%; }
html.theme-modern .signoff-card { background:#fff; border:1px solid var(--evolv-line); border-radius:11px; box-shadow:var(--evolv-shadow); overflow:hidden; }
html.theme-modern .signoff-page__header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; gap:18px; justify-content:space-between; padding:16px 18px; }
html.theme-modern .signoff-page__header h1 { color:#fff; font-size:22px; margin:2px 0 3px !important; padding:0 !important; }
html.theme-modern .signoff-page__header p { color:rgba(255,255,255,.82); font-size:13px; margin:0; }
html.theme-modern .signoff-eyebrow { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
html.theme-modern .signoff-page__actions { align-items:center; display:flex; flex:0 0 auto; gap:8px; }
html.theme-modern .signoff-button { align-items:center; border:1px solid transparent; border-radius:7px; display:inline-flex; font-size:11px; font-weight:800; justify-content:center; min-height:35px; padding:0 12px; text-decoration:none !important; white-space:nowrap; }
html.theme-modern .signoff-button--secondary { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.36); color:#fff !important; }
html.theme-modern .signoff-button--primary { background:#fff; border-color:#fff; color:var(--evolv-blue) !important; }
html.theme-modern .signoff-body { padding:16px; }
html.theme-modern .signoff-search { align-items:end; background:#f1f7fa; border:1px solid var(--evolv-line); border-radius:9px; display:flex; gap:10px; margin-bottom:16px; padding:11px; }
html.theme-modern .signoff-search label { color:var(--evolv-muted); display:grid; font-size:10px; font-weight:800; gap:3px; text-transform:uppercase; }
html.theme-modern .signoff-search input { min-height:34px; }
html.theme-modern .signoff-search button { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:7px; color:#fff !important; cursor:pointer; font-size:11px !important; font-weight:800; min-height:34px; padding:0 13px !important; }
html.theme-modern .signoff-group { border:1px solid var(--evolv-line); border-radius:9px; margin-top:14px; overflow:hidden; }
html.theme-modern .signoff-group__header { align-items:center; background:var(--evolv-ink); color:#fff; display:flex; justify-content:space-between; padding:10px 12px; }
html.theme-modern .signoff-group__header h2 { color:#fff; font-size:14px; margin:0 !important; padding:0 !important; }
html.theme-modern .signoff-group__header span { background:rgba(255,255,255,.16); border-radius:999px; font-size:10px; font-weight:800; padding:2px 8px; }
html.theme-modern .signoff-table-wrap { overflow-x:auto; }
html.theme-modern .signoff-table { border-collapse:collapse; min-width:1040px; width:100%; }
html.theme-modern .signoff-table th { background:#e8f3f7; border-bottom:1px solid var(--evolv-line); color:#315c70; font-size:10px; letter-spacing:.03em; padding:8px; text-align:center; text-transform:uppercase; }
html.theme-modern .signoff-table td { background:#fff; border-bottom:1px solid #e7eef1; color:var(--evolv-ink); font-size:11px; padding:7px 8px; text-align:center; vertical-align:middle; }
html.theme-modern .signoff-table tr:nth-child(even) td { background:#f8fbfc; }
html.theme-modern .signoff-table tr:last-child td { border-bottom:0; }
html.theme-modern .signoff-table a { font-weight:700; text-decoration:none; }
html.theme-modern .signoff-id a { font-size:12px; }
html.theme-modern .signoff-identity { min-width:115px; }
html.theme-modern .signoff-identity img { background:#fff; border:2px solid #d8e7ed; display:block; margin:0 auto 4px; object-fit:cover; }
html.theme-modern .signoff-client-image { border-radius:999px; height:36px; width:81px; }
html.theme-modern .signoff-person-image { border-radius:50%; height:40px; width:40px; }
html.theme-modern .signoff-status { border-radius:999px; display:inline-flex; font-size:9px; font-weight:800; justify-content:center; line-height:1.15; padding:5px 8px; text-transform:uppercase; }
html.theme-modern .signoff-status--open { background:#e5f3fb; color:#176286; }
html.theme-modern .signoff-status--waiting { background:#fff3d6; color:#8b5a09; }
html.theme-modern .signoff-status--complete { background:#e8f5ed; color:#286141; }
html.theme-modern .signoff-table td small { color:var(--evolv-muted); display:block; font-size:9px; margin-top:2px; }
html.theme-modern .signoff-pending { color:#946210; font-weight:800; }
html.theme-modern .signoff-empty { color:var(--evolv-muted); font-size:12px; margin:0; padding:13px; }
html.theme-modern .signoff-create-form { display:grid; gap:15px; margin:0 auto; max-width:720px; }
html.theme-modern .signoff-form-field { display:grid; gap:5px; min-width:0; }
html.theme-modern .signoff-form-field label { color:var(--evolv-ink); font-size:12px; font-weight:800; }
html.theme-modern .signoff-form-field input, html.theme-modern .signoff-form-field select { box-sizing:border-box; min-height:42px; width:100%; }
html.theme-modern .signoff-form-field .chosen-container { max-width:100%; width:100% !important; }
html.theme-modern .signoff-form-field .chosen-container-single .chosen-single { box-sizing:border-box; height:42px; line-height:40px; }
html.theme-modern .signoff-form-field .chosen-container-single .chosen-single div b { background-position:0 11px; }
html.theme-modern .signoff-form-actions { display:flex; justify-content:flex-end; padding-top:3px; }
html.theme-modern .signoff-form-actions .signoff-button--primary { background:var(--evolv-blue); border-color:var(--evolv-blue); color:#fff !important; cursor:pointer; min-height:42px; }
@media (max-width:760px) {
  html.theme-modern .signoff-page { padding:0; }
  html.theme-modern .signoff-page__header { align-items:flex-start; flex-direction:column; padding:14px; }
  html.theme-modern .signoff-page__actions, html.theme-modern .signoff-search { align-items:stretch; flex-direction:column; width:100%; }
  html.theme-modern .signoff-page__actions .signoff-button { flex:1 1 auto; }
  html.theme-modern .signoff-body { padding:10px; }
  html.theme-modern .signoff-search label, html.theme-modern .signoff-search input, html.theme-modern .signoff-search button { box-sizing:border-box; width:100%; }
  html.theme-modern .signoff-table-wrap { overflow:visible; }
  html.theme-modern .signoff-table { display:block; min-width:0; }
  html.theme-modern .signoff-table thead { display:none; }
  html.theme-modern .signoff-table tbody { background:#eef5f8; display:grid; gap:10px; padding:10px; }
  html.theme-modern .signoff-table tr { background:#fff; border:1px solid var(--evolv-line); border-radius:8px; display:block; overflow:hidden; }
  html.theme-modern .signoff-table td, html.theme-modern .signoff-table tr:nth-child(even) td { align-items:center; background:#fff; border-bottom:1px solid #e7eef1; box-sizing:border-box; display:grid; gap:10px; grid-template-columns:minmax(85px, 34%) minmax(0, 1fr); min-height:42px; padding:8px 10px; text-align:right; width:100%; }
  html.theme-modern .signoff-table td:last-child { border-bottom:0; }
  html.theme-modern .signoff-table td::before { color:var(--evolv-muted); content:attr(data-label); font-size:9px; font-weight:800; letter-spacing:.03em; text-align:left; text-transform:uppercase; }
  html.theme-modern .signoff-table .signoff-identity { grid-template-columns:minmax(85px, 34%) 38px minmax(0, 1fr); min-width:0; }
  html.theme-modern .signoff-table .signoff-identity::before { grid-column:1; }
  html.theme-modern .signoff-table .signoff-identity img { grid-column:2; margin:0; }
  html.theme-modern .signoff-table .signoff-identity span { grid-column:3; min-width:0; overflow-wrap:anywhere; }
  html.theme-modern .signoff-client-image { height:28px; width:38px; }
  html.theme-modern .signoff-person-image { height:32px; width:32px; }
  html.theme-modern .signoff-form-actions, html.theme-modern .signoff-form-actions .signoff-button { width:100%; }
}

/* Administration dashboard. */
html.theme-modern .admin-page { background:#eff8fb; border-radius:12px; box-sizing:border-box; padding:6px; text-align:left; width:100%; }
html.theme-modern .admin-shell { background:#fff; border:1px solid var(--evolv-line); border-radius:11px; box-shadow:var(--evolv-shadow); overflow:hidden; }
html.theme-modern .admin-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; gap:18px; justify-content:space-between; padding:16px 18px; }
html.theme-modern .admin-header h1 { color:#fff; font-size:22px; margin:2px 0 3px !important; padding:0 !important; }
html.theme-modern .admin-header p { color:rgba(255,255,255,.82); font-size:13px; margin:0; }
html.theme-modern .admin-eyebrow { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
html.theme-modern .admin-header__back { align-items:center; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.36); border-radius:7px; color:#fff !important; display:inline-flex; flex:0 0 auto; font-size:11px; font-weight:800; min-height:35px; padding:0 12px; text-decoration:none !important; }
html.theme-modern .admin-header__back:hover { background:rgba(255,255,255,.26); }
html.theme-modern .admin-body { padding:16px; }
html.theme-modern .admin-grid { display:grid; gap:14px; grid-template-columns:repeat(3,minmax(0,1fr)); }
html.theme-modern .admin-card { background:#f8fbfc; border:1px solid var(--evolv-line); border-radius:9px; box-sizing:border-box; padding:15px; }
html.theme-modern .admin-card--wide { grid-column:span 3; }
html.theme-modern .admin-card__icon { align-items:center; background:#dceef6; border-radius:50%; color:var(--evolv-blue); display:flex; font-size:16px; font-weight:900; height:34px; justify-content:center; margin-bottom:9px; width:34px; }
html.theme-modern .admin-card h2 { color:var(--evolv-ink); font-size:16px; margin:0 0 5px !important; padding:0 !important; }
html.theme-modern .admin-card p { color:var(--evolv-muted); font-size:11px; margin:0 0 12px; }
html.theme-modern .admin-links { display:flex; flex-wrap:wrap; gap:6px; }
html.theme-modern .admin-links a, html.theme-modern .admin-action { background:#e8f3f7; border:1px solid #c7e0e9; border-radius:6px; color:var(--evolv-blue) !important; display:inline-flex; font-size:10px; font-weight:800; min-height:30px; align-items:center; padding:0 9px; text-decoration:none !important; }
html.theme-modern .admin-form { display:grid; gap:6px; }
html.theme-modern .admin-form label { color:var(--evolv-muted); font-size:10px; font-weight:800; text-transform:uppercase; }
html.theme-modern .admin-form input, html.theme-modern .admin-form select { min-height:35px; width:100%; }
html.theme-modern .admin-form button, html.theme-modern .admin-card form > button { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:6px; color:#fff !important; cursor:pointer; font-size:11px !important; font-weight:800; min-height:35px; padding:6px 11px !important; }
html.theme-modern .admin-card .admin-danger { background:var(--evolv-red) !important; border-color:var(--evolv-red) !important; }
html.theme-modern .admin-card .admin-danger:hover { background:#a91d24 !important; }
html.theme-modern .admin-notice { background:#edf8f1; border:1px solid #b7dfc4; border-radius:7px; color:#245f3d; font-size:12px; font-weight:700; margin:0 0 14px; padding:10px 12px; }
html.theme-modern .admin-notice--warning { background:#fff8e6; border-color:#ecd79e; color:#7b570a; }
@media (max-width:1000px) { html.theme-modern .admin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } html.theme-modern .admin-card--wide { grid-column:span 2; } }
@media (max-width:650px) { html.theme-modern .admin-header { align-items:flex-start; flex-direction:column; } html.theme-modern .admin-grid { grid-template-columns:1fr; } html.theme-modern .admin-card--wide { grid-column:auto; } }

html.theme-modern #pagefooter {
  background: var(--evolv-ink);
  border-top: 4px solid var(--evolv-sky);
  min-height: 18px;
  min-width: 0;
}

html.theme-modern h1,
html.theme-modern h2,
html.theme-modern h3,
html.theme-modern h4 {
  color: var(--evolv-ink);
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  letter-spacing: -.015em;
}

html.theme-modern h1 { font-size: 27px; font-weight: 700; line-height: 1.2; }
html.theme-modern h2 { font-size: 21px; font-weight: 700; line-height: 1.25; }
html.theme-modern h3 { font-size: 16px; font-weight: 700; }

html.theme-modern a { color: var(--evolv-blue); }
html.theme-modern a:hover { color: var(--evolv-sky-dark); }

html.theme-modern input,
html.theme-modern textarea,
html.theme-modern select {
  background: #fff;
  border: 1px solid #b9cbd3;
  border-radius: 7px;
  box-sizing: border-box;
  color: var(--evolv-ink);
  font: 14px/1.35 Roboto, "Segoe UI", Arial, sans-serif;
  min-height: 36px;
  padding: 7px 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

html.theme-modern textarea { min-height: 100px; }
html.theme-modern input:focus,
html.theme-modern textarea:focus,
html.theme-modern select:focus {
  border-color: var(--evolv-sky);
  box-shadow: 0 0 0 3px rgba(66,177,233,.18);
  outline: none;
}

html.theme-modern input[type="submit"],
html.theme-modern input[type="button"],
html.theme-modern button,
html.theme-modern .button {
  background: var(--evolv-blue);
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 38px;
  padding: 8px 15px;
}

html.theme-modern input[type="submit"]:hover,
html.theme-modern input[type="button"]:hover,
html.theme-modern button:hover,
html.theme-modern .button:hover { background: var(--evolv-sky-dark); }

html.theme-modern input[type="checkbox"],
html.theme-modern input[type="radio"] {
  min-height: auto;
  width: auto;
}

html.theme-modern table {
  border-collapse: separate;
  border-spacing: 0;
}

html.theme-modern table[border="1"],
html.theme-modern table.content {
  border: 1px solid var(--evolv-line) !important;
  border-radius: 9px;
  overflow: hidden;
}

html.theme-modern th {
  background: #e8f3f7 !important;
  color: var(--evolv-ink) !important;
  font-weight: 700;
}

html.theme-modern td,
html.theme-modern th {
  border-color: var(--evolv-line) !important;
}

html.theme-modern tr:nth-child(even) > td { background-color: #f8fbfc; }
html.theme-modern tr:hover > td { background-color: #eff8fb; }

/* Shared presentation for migrated application pages outside the ticket grid. */
html.theme-modern .col1 > .node > .content > hr {
  border: 0;
  border-top: 1px solid var(--evolv-line);
  margin: 28px 0;
}

html.theme-modern .col1 > .node > .content > h1:first-child,
html.theme-modern .col1 > .node > .content > center > h1:first-child {
  margin-top: 0 !important;
}

html.theme-modern .abutton,
html.theme-modern .modern-button {
  align-items: center;
  background: var(--evolv-blue) !important;
  border: 0 !important;
  border-radius: 8px;
  color: #fff !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px !important;
  text-decoration: none !important;
}

html.theme-modern .modern-button--secondary { background: #e6f1f5 !important; color: var(--evolv-ink) !important; }
html.theme-modern .modern-page-card {
  background: #fff;
  border: 1px solid var(--evolv-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(24,49,63,.07);
  margin: 0 auto 20px;
  max-width: 1100px;
  padding: 22px;
}
html.theme-modern .modern-page-card__header { align-items: center; display: flex; justify-content: space-between; gap: 18px; }
html.theme-modern .modern-page-card__header h1 { margin: 2px 0 0 !important; }
html.theme-modern .modern-notice { background: #e8f3f7; border-left: 4px solid var(--evolv-sky); border-radius: 7px; padding: 12px 14px; }
html.theme-modern .subscription-page { box-sizing: border-box; margin: 0 auto; max-width: 1100px; padding: 8px 0 20px; }
html.theme-modern .subscription-manager { max-width: 1000px; padding: 0; }
html.theme-modern .subscription-manager__header {
  align-items: center;
  background: linear-gradient(90deg, var(--evolv-blue), var(--evolv-sky-dark));
  border-radius: 11px 11px 0 0;
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 20px;
}
html.theme-modern .subscription-manager__header h1 { color: #fff; font-size: 24px; margin: 2px 0 3px !important; }
html.theme-modern .subscription-manager__header p { color: rgba(255,255,255,.82); font-size: 13px; margin: 0; }
html.theme-modern .subscription-manager__ticket { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
html.theme-modern .subscription-manager__header .modern-button--secondary { background: #fff !important; color: var(--evolv-blue) !important; flex: 0 0 auto; font-size: 12px; }
html.theme-modern .subscription-manager__body { font-size: 14px; padding: 20px; }
html.theme-modern .subscription-manager__notice { font-size: 14px; margin: 0; }
html.theme-modern .subscription-columns { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.theme-modern .subscription-columns > section { background: #f7fafb; border: 1px solid var(--evolv-line); border-radius: 10px; padding: 16px; }
html.theme-modern .subscription-columns h2 { align-items: center; display: flex; font-size: 18px; justify-content: space-between; margin: 0 0 8px; }
html.theme-modern .subscription-columns h2 span { background: #e8f3f7; border-radius: 999px; color: var(--evolv-blue); font-size: 11px; padding: 2px 8px; }
html.theme-modern .subscription-user { align-items: center; border-top: 1px solid var(--evolv-line); display: flex; gap: 12px; justify-content: space-between; padding: 11px 0; }
html.theme-modern .subscription-user__identity { display: grid; gap: 2px; min-width: 0; }
html.theme-modern .subscription-user__identity strong { color: var(--evolv-ink); font-size: 14px; }
html.theme-modern .subscription-user__identity small { color: var(--evolv-muted); font-size: 12px; overflow-wrap: anywhere; }
html.theme-modern .subscription-action { background: #e8f3f7; border: 1px solid #c7e0e9; border-radius: 7px; color: var(--evolv-blue) !important; flex: 0 0 auto; font-size: 11px; font-weight: 800; padding: 6px 9px; text-decoration: none; }
html.theme-modern .subscription-action:hover { background: #d8edf5; }

/* Bulk update/delete page. */
html.theme-modern .multi-ticket-page { background:#eff8fb; border-radius:12px; box-sizing:border-box; margin:0; padding:6px; text-align:left; }
html.theme-modern .multi-ticket-card { background:#fff; border:1px solid var(--evolv-line); border-radius:11px; box-shadow:var(--evolv-shadow); overflow:hidden; }
html.theme-modern .multi-ticket-header { align-items:center; background:linear-gradient(90deg, var(--evolv-blue), var(--evolv-sky-dark)); color:#fff; display:flex; gap:18px; justify-content:space-between; padding:16px 18px; }
html.theme-modern .multi-ticket-header h1 { color:#fff; font-size:22px; margin:2px 0 3px !important; }
html.theme-modern .multi-ticket-header p { color:rgba(255,255,255,.82); font-size:13px; margin:0; }
html.theme-modern .multi-ticket-eyebrow { font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
html.theme-modern .multi-ticket-header__actions { align-items:center; display:flex; flex:0 0 auto; gap:8px; }
html.theme-modern .multi-ticket-return,
html.theme-modern .multi-ticket-cancel { align-items:center; border-radius:7px; display:inline-flex; font-size:11px; font-weight:800; justify-content:center; min-height:34px; padding:0 12px; text-decoration:none; white-space:nowrap; }
html.theme-modern .multi-ticket-return { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.36); color:#fff !important; }
html.theme-modern .multi-ticket-return:hover { background:rgba(255,255,255,.26); }
html.theme-modern .multi-ticket-body { padding:16px; }
html.theme-modern .multi-ticket-form { margin:0; }
html.theme-modern .multi-ticket-fields { background:#fff; border:1px solid var(--evolv-line); border-collapse:separate; border-radius:9px; border-spacing:0; overflow:hidden; width:100%; }
html.theme-modern .multi-ticket-fields td { border-bottom:1px solid var(--evolv-line); box-sizing:border-box; padding:9px 11px; }
html.theme-modern .multi-ticket-fields tr:last-child td { border-bottom:0; }
html.theme-modern .multi-ticket-fields td.header { background:#f1f7fa !important; color:var(--evolv-ink) !important; font-size:11px; font-weight:800; text-align:left; width:150px; }
html.theme-modern .multi-ticket-fields td.content { background:#fff !important; color:var(--evolv-ink) !important; }
html.theme-modern .multi-ticket-fields select { max-width:100%; min-height:34px; }
html.theme-modern .multi-ticket-fields textarea { box-sizing:border-box; min-height:180px; resize:vertical; width:100% !important; }
html.theme-modern .multi-ticket-fields label { align-items:center; display:flex; font-size:11px; gap:7px; }
html.theme-modern .multi-ticket-requirements,
html.theme-modern .multi-ticket-selection { margin-top:16px; }
html.theme-modern .multi-ticket-requirements h2,
html.theme-modern .multi-ticket-selection h2 { color:var(--evolv-ink); font-size:15px; margin:0 0 8px; }
html.theme-modern .multi-ticket-requirements table { border:1px solid #ecd79e; border-collapse:separate; border-radius:9px; border-spacing:0; overflow:hidden; width:100%; }
html.theme-modern .multi-ticket-requirements td.header { background:#fff2cf !important; color:#674b09 !important; font-size:10px; font-weight:800; padding:8px 10px; text-transform:uppercase; }
html.theme-modern .multi-ticket-requirements td.content { background:#fffaf0 !important; border-top:1px solid #ecd79e; color:var(--evolv-ink) !important; font-size:12px; padding:9px 10px; }
html.theme-modern .multi-ticket-actions { align-items:center; border-top:1px solid var(--evolv-line); display:flex; gap:8px; justify-content:flex-end; margin-top:16px; padding-top:14px; }
html.theme-modern .multi-ticket-cancel { background:#edf3f6; border:1px solid #d2e0e6; color:var(--evolv-blue) !important; }
html.theme-modern .multi-ticket-submit { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:7px !important; color:#fff !important; cursor:pointer; font-size:12px !important; font-weight:800; min-height:36px !important; padding:7px 14px !important; }
html.theme-modern .multi-ticket-submit:hover { background:var(--evolv-sky-dark) !important; }
html.theme-modern .multi-ticket-submit--delete { background:var(--evolv-red) !important; border-color:var(--evolv-red) !important; }
html.theme-modern .multi-ticket-header .multi-ticket-submit--delete { display:inline-flex !important; align-items:center; justify-content:center; white-space:nowrap; }
html.theme-modern .multi-ticket-submit--delete:hover { background:#a91d24 !important; }
@media (max-width:760px) {
  html.theme-modern .multi-ticket-header { align-items:flex-start; flex-direction:column; }
  html.theme-modern .multi-ticket-fields,
  html.theme-modern .multi-ticket-fields tbody,
  html.theme-modern .multi-ticket-fields tr,
  html.theme-modern .multi-ticket-fields td { display:block; width:100% !important; }
}
html.theme-modern .subscription-action--remove { background: #fff0f0; border-color: #efb0b0; color: #a12d35 !important; }
html.theme-modern .subscription-empty { border-top: 1px solid var(--evolv-line); color: var(--evolv-muted); font-size: 13px; margin: 0; padding: 14px 0 4px; }
@media (max-width: 760px) {
  html.theme-modern .subscription-manager__header { align-items: flex-start; flex-direction: column; }
  html.theme-modern .subscription-columns { grid-template-columns: 1fr; }
}

html.theme-modern .col1 iframe {
  border: 1px solid var(--evolv-line) !important;
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 100%;
}

/* Ticket dashboard: override the dense legacy table with a calmer data grid. */
html.theme-modern .ticket-list {
  background: #fff;
  border: 1px solid var(--evolv-line) !important;
  border-radius: 10px;
  overflow: hidden;
  table-layout: auto;
}

html.theme-modern .ticket-list > tbody > tr:first-child > td.header,
html.theme-modern .ticket-list > tr:first-child > td.header {
  background: var(--evolv-ink) !important;
  border-color: #35505e !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  padding: 10px 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

html.theme-modern .ticket-list .ticket-cell {
  background: #fff !important;
  border-color: var(--evolv-line) !important;
  color: #28434f !important;
  font-size: 12px;
  line-height: 1.3;
  padding: 5px 7px;
  vertical-align: middle;
}
html.theme-modern .ticket-list .ticket-list__head > td.header {
  text-align: center !important;
  vertical-align: middle;
}
html.theme-modern .ticket-sort-button { align-items:center; background:transparent !important; border:0 !important; color:inherit !important; cursor:pointer; display:inline-flex; font:inherit; font-weight:inherit; gap:5px; justify-content:center; min-height:24px !important; padding:2px 3px !important; text-transform:inherit; width:100%; }
html.theme-modern .ticket-sort-button:hover { background:rgba(255,255,255,.12) !important; }
html.theme-modern .ticket-sort-button:focus-visible { box-shadow:0 0 0 2px rgba(255,255,255,.7); outline:0; }
html.theme-modern .ticket-sort-button__indicator::before { content:'↕'; font-size:10px; opacity:.48; }
html.theme-modern .ticket-sort-button[data-sort-direction="asc"] .ticket-sort-button__indicator::before { content:'▲'; opacity:1; }
html.theme-modern .ticket-sort-button[data-sort-direction="desc"] .ticket-sort-button__indicator::before { content:'▼'; opacity:1; }
html.theme-modern .ticket-sort-button__indicator { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.38); border-radius:4px; display:inline-block; flex:0 0 18px; height:18px; position:relative; }
html.theme-modern .ticket-sort-button__indicator::before { background:currentColor; content:''; height:14px; left:50%; -webkit-mask:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M5 0 9 4H6v4H4V4H1L5 0Zm0 16-4-4h3V8h2v4h3l-4 4Z'/%3E%3C/svg%3E"); mask:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M5 0 9 4H6v4H4V4H1L5 0Zm0 16-4-4h3V8h2v4h3l-4 4Z'/%3E%3C/svg%3E"); opacity:.9; position:absolute; top:50%; transform:translate(-50%,-50%); width:9px; }
html.theme-modern .ticket-sort-button[data-sort-direction] .ticket-sort-button__indicator { background:#fff; border-color:#fff; color:var(--evolv-blue); }
html.theme-modern .ticket-sort-button[data-sort-direction="asc"] .ticket-sort-button__indicator::before { content:''; height:11px; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 0 10 6H7v6H3V6H0L5 0Z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 0 10 6H7v6H3V6H0L5 0Z'/%3E%3C/svg%3E"); width:10px; }
html.theme-modern .ticket-sort-button[data-sort-direction="desc"] .ticket-sort-button__indicator::before { content:''; height:11px; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M3 0h4v6h3l-5 6-5-6h3V0Z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M3 0h4v6h3l-5 6-5-6h3V0Z'/%3E%3C/svg%3E"); width:10px; }
html.theme-modern .ticket-list .ticket-list__head > td.header:first-child { border-radius: 9px 0 0 0; }
html.theme-modern .ticket-list .ticket-list__head > td.header:last-child { border-radius: 0 9px 0 0; }

html.theme-modern .ticket-list .ticket_row:nth-child(even) .ticket-cell {
  background: #f7fafb !important;
}

html.theme-modern .ticket-list .ticket_row:hover .ticket-cell {
  background: #eaf6fa !important;
}

html.theme-modern .ticket-list .ticket-cell a {
  color: #175f82 !important;
  font-weight: 650;
  text-decoration: none;
}

html.theme-modern .ticket-list .ticket-cell a:hover {
  color: #0d7fae !important;
  text-decoration: underline;
}

html.theme-modern .ticket-list .ticket-cell--id,
html.theme-modern .ticket-list .ticket-cell--posts,
html.theme-modern .ticket-list .ticket-cell--time {
  text-align: center;
  white-space: nowrap;
}

html.theme-modern .ticket-list .ticket-cell--id {
  box-sizing: border-box;
  min-width: 66px;
  width: 66px;
}
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-open,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-open,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-open {
  background: #d9f3e5 !important;
  box-shadow: inset 0 0 0 1px #b7e2ca;
}
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-closed,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-closed,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-closed {
  background: #e6e9eb !important;
  box-shadow: inset 0 0 0 1px #cbd1d5;
}
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-other,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-other,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-other {
  background: #f8dfd5 !important;
  box-shadow: inset 0 0 0 1px #e9bdad;
}
html.theme-modern .ticket-list .ticket-cell--id.ticket-cell--status-open > center > a { color: #17613b !important; }
html.theme-modern .ticket-list .ticket-cell--id.ticket-cell--status-closed > center > a { color: #4f5b61 !important; }
html.theme-modern .ticket-list .ticket-cell--id.ticket-cell--status-other > center > a { color: #8a3d26 !important; }
html.theme-modern .ticket-copy-link {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 5px !important;
  color: var(--evolv-blue) !important;
  display: flex;
  font-size: 13px !important;
  height: 22px !important;
  justify-content: center;
  margin: 4px auto 0;
  min-height: 22px !important;
  padding: 0 !important;
  width: 22px;
}
html.theme-modern .ticket-copy-link:hover { background: #dceef6 !important; }
html.theme-modern .ticket-copy-link.is-copied { background: #dff3e8 !important; color: #26724d !important; }
html.theme-modern .ticket-copy-link__icon {
  align-items: center;
  display: flex;
  height: 14px;
  justify-content: center;
  line-height: 0;
  width: 14px;
}
html.theme-modern .ticket-copy-link__icon svg {
  display: block;
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 14px;
}
html.theme-modern .ticket-copy-link.ticket-copy-link--inline {
  display: inline-flex;
  margin: 0;
}
html.theme-modern .ticket-id-actions { align-items:center; display:flex; gap:2px; justify-content:center; margin-top:4px; }
html.theme-modern .ticket-id-actions .ticket-copy-link { margin:0; }
html.theme-modern .ticket-unread-bell { align-items:center; background:#fff3d6; border-radius:50%; color:#a96300; display:inline-flex; height:20px; justify-content:center; width:20px; }
html.theme-modern .ticket-unread-bell svg { animation:ticket-unread-ring 2.4s ease-in-out infinite; fill:none; height:13px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:2; transform-origin:50% 12%; width:13px; }
@keyframes ticket-unread-ring {
  0%, 72%, 100% { transform:rotate(0); }
  78% { transform:rotate(-12deg); }
  84% { transform:rotate(10deg); }
  90% { transform:rotate(-7deg); }
  96% { transform:rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  html.theme-modern .ticket-unread-bell svg,
  html.theme-modern .workspace-tab__unread-bell svg { animation:none; }
}
html.theme-modern .ticket-number-with-copy {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  justify-content: center;
}

html.theme-modern .ticket-list .ticket-cell--title {
  font-size: 13px;
  min-width: 180px;
}

html.theme-modern .ticket-list .ticket-cell--status {
  color: #294e5f !important;
  font-weight: 700;
  max-width: 110px;
}

html.theme-modern .ticket-list .ticket-cell--date {
  color: #536b76 !important;
  min-width: 64px;
  text-align: center;
  white-space: nowrap;
}

html.theme-modern .ticket-list .ticket-date__day,
html.theme-modern .ticket-list .ticket-date__time { display: block; }
html.theme-modern .ticket-list .ticket-date__time { color: #78909a; font-size: 10px; margin-top: 1px; }

html.theme-modern .ticket-list .ticket-cell--person,
html.theme-modern .ticket-list .ticket-cell--client {
  font-weight: 650;
  min-width: 86px;
  text-align: center;
  white-space: nowrap;
}

html.theme-modern .ticket-list .ticket-cell--client {
  line-height: 1.15;
}
html.theme-modern .ticket-list .ticket-cell--instigator,
html.theme-modern .ticket-list .ticket-cell--assignee { line-height: 1.15; }

html.theme-modern .ticket-list .ticket-cell--person img,
html.theme-modern .ticket-list .ticket-cell--client img {
  background: #fff;
  border: 2px solid #d8e7ed;
  border-radius: 50%;
  display: block;
  height: 36px !important;
  margin: 0 auto 2px;
  object-fit: cover;
  width: 36px !important;
}

html.theme-modern .ticket-list .ticket-cell--client img,
html.theme-modern .ticket-list .ticket-cell--organisation img {
  border-radius: 999px;
  height: 36px !important;
  width: 81px !important;
}

html.theme-modern .ticket-list .ticket-cell--client img,
html.theme-modern .ticket-list .ticket-cell--instigator img,
html.theme-modern .ticket-list .ticket-cell--assignee img { margin-bottom: 4px; }

html.theme-modern .ticket-list tr.ticket_row td.ticket-cell.ticket-cell--overdue,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell.ticket-cell--overdue,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell.ticket-cell--overdue {
  background: #fff0f0 !important;
  box-shadow: inset 0 0 0 1px #efb0b0;
  color: #9d2f35 !important;
  font-weight: 700;
}

html.theme-modern .ticket-list tr.ticket_row td.ticket-cell.ticket-cell--ageing,
html.theme-modern .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell.ticket-cell--ageing,
html.theme-modern .ticket-list tr.ticket_row:hover td.ticket-cell.ticket-cell--ageing {
  background: #fff7e8 !important;
  box-shadow: inset 0 0 0 1px #efcd8d;
  color: #8a5b06 !important;
  font-weight: 700;
}

html.theme-modern .ticket-list .ticket-cell--id img {
  height: 20px !important;
  opacity: .75;
  width: 20px !important;
}

html.theme-modern td.ticketHeader {
  background: linear-gradient(90deg, var(--evolv-blue), var(--evolv-sky-dark)) !important;
  border: 0 !important;
  border-radius: 9px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 84px 10px 13px;
  position: relative;
  text-align: left;
}

html.theme-modern .ticket-group-controls { align-items:center; display:flex; height:100%; justify-content:center; margin:0; position:absolute; right:13px; top:0; width:58px; }
html.theme-modern .ticket-group-toggle { background:rgba(255,255,255,.14) !important; border:1px solid rgba(255,255,255,.34) !important; border-radius:6px !important; color:#fff !important; cursor:pointer; font-size:10px !important; font-weight:800; min-height:28px !important; min-width:50px; padding:4px 8px !important; text-align:center; }
html.theme-modern .ticket-group-toggle:hover { background:rgba(255,255,255,.24) !important; }
html.theme-modern .ticket-group-filter { align-items:center; display:inline-flex; gap:7px; font-size:10px; font-weight:800; margin-left:10px; text-transform:uppercase; vertical-align:middle; }
html.theme-modern .ticket-group-filter::before { content:"–"; opacity:.7; }
html.theme-modern .ticket-group-filter input { background:rgba(255,255,255,.96); border:1px solid rgba(255,255,255,.45); border-radius:6px; box-sizing:border-box; color:#17314b; font-size:11px; font-weight:500; height:28px; padding:4px 8px; text-transform:none; width:190px; }
html.theme-modern .ticket-group-filter input:focus { box-shadow:0 0 0 3px rgba(255,255,255,.18); outline:0; }
html.theme-modern .ticket-group__bar--with-actions { padding-right: 280px; }
html.theme-modern .ticket-group-actions { align-items:center; display:flex; gap:5px; height:100%; position:absolute; right:82px; top:0; }
html.theme-modern .ticket-group-action { align-items:center; background:rgba(255,255,255,.14) !important; border:1px solid rgba(255,255,255,.34) !important; border-radius:6px !important; box-sizing:border-box; color:#fff !important; cursor:pointer; display:inline-flex !important; font-size:10px !important; font-weight:800; justify-content:center; line-height:1 !important; min-height:28px !important; padding:5px 9px !important; text-decoration:none !important; }
html.theme-modern .ticket-group-action:hover { background:rgba(255,255,255,.25) !important; }
html.theme-modern .ticket-group-action--delete { background:rgba(190,36,44,.72) !important; border-color:rgba(255,255,255,.46) !important; }
html.theme-modern .ticket-group-action--delete:hover { background:#a91d24 !important; }
html.theme-modern .ticket-list .ticket-cell--select { min-width:58px; text-align:center !important; vertical-align:middle; }
html.theme-modern .ticket-list .ticket-cell--select input { display:block; margin:0 auto; }

/* Ticket filters use the same visual language as the ticket data grid. */
html.theme-modern .ticket-filter-panel {
  background: #eff8fb;
  border-radius: 12px;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px;
}
html.theme-modern .ticket-filter-panel[hidden] { display: none !important; }
html.theme-modern .ticket-filter-panel--global { margin-bottom:8px; }
html.theme-modern .ticket-filter-panel--global #global-ticket-search-dates { display:flex; gap:4px; margin-top:4px; }
html.theme-modern .ticket-filter-panel--global #global-ticket-search-dates[hidden] { display:none; }

html.theme-modern .ticket-filter-table {
  background: #fff;
  border: 1px solid var(--evolv-line);
  border-radius: 10px;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
}

html.theme-modern .ticket-filter-table td.header {
  background: var(--evolv-ink) !important;
  border-color: #35505e !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  padding: 8px 7px;
  text-transform: uppercase;
  white-space: nowrap;
}

html.theme-modern .ticket-filter-table td.content {
  background: #fff !important;
  border-color: var(--evolv-line) !important;
  padding: 7px;
  vertical-align: middle;
}

html.theme-modern .ticket-filter-table select,
html.theme-modern .ticket-filter-table input[type="text"],
html.theme-modern .ticket-filter-table input[type="search"],
html.theme-modern .ticket-filter-table input[type="date"] {
  font-size: 11px;
  min-height: 32px;
  padding: 5px 7px;
  width: 100%;
}

html.theme-modern .ticket-filter-table td.ticket-filter-preset { min-width: 145px; }
html.theme-modern .ticket-filter-table td.ticket-filter-client { min-width: 310px; }
html.theme-modern .ticket-filter-table .ticket-client-filter { align-items: center; display: flex; flex-wrap: nowrap; gap: 6px; }
html.theme-modern .ticket-filter-table .ticket-client-filter select { flex: 0 1 160px; min-width: 120px; width: 160px; }
html.theme-modern .ticket-filter-table .ticket-client-contains { flex: 0 1 140px; min-width: 110px; width: 140px; }

html.theme-modern .ticket-filter-table input[type="submit"] { min-height: 32px; padding: 6px 14px; }
html.theme-modern .ticket-filter-table td.ticket-filter-submit {
  text-align: center !important;
  vertical-align: middle !important;
}

html.theme-modern .ticket-list-toolbar {
  align-items: center;
  background: var(--evolv-ink);
  border: 1px solid #35505e;
  border-radius: 9px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 10px;
  padding: 8px 10px;
  text-align: left;
}

html.theme-modern .ticket-list-toolbar > label { font-size: 11px; font-weight: 800; text-transform: uppercase; }
html.theme-modern .ticket-list-toolbar #filtertext { flex: 1 1 230px; font-size: 12px; min-height: 32px; }
html.theme-modern .ticket-list-toolbar__option { align-items: center; display: inline-flex; gap: 5px; white-space: nowrap; }
html.theme-modern .ticket-list-toolbar__option label { color: #fff; font-size: 11px; }

/* Full-width ticket workspace. */
html.theme-modern .support-workspace {
  align-items: start;
  background: #eff8fb;
  border-radius: 12px;
  display: grid;
  gap: 3px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
  padding: 6px;
  text-align: left;
}

html.theme-modern .support-workspace__all { min-width: 0; overflow-x: auto; width:100%; }
html.theme-modern .support-workspace--ticket {
  align-items: stretch;
  height: calc(100vh - var(--support-toolbar-height) - 93px);
  margin-top: 0;
}
html.theme-modern .col1:has(.support-workspace) {
  padding: 12px !important;
}
html.theme-modern .support-workspace--ticket .support-workspace__all {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
html.theme-modern .support-workspace--ticket .workspace-tabs { flex: 0 0 auto; }
html.theme-modern .workspace-tabs {
  align-items: flex-end;
  background: #2784ad;
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
  display: flex;
  gap: 4px;
  min-height: 45px;
  overflow-x: auto;
  padding: 7px 8px 0;
  scrollbar-width: thin;
  width: 100%;
}
html.theme-modern .workspace-tabs__tickets { align-items: flex-end; display: flex; gap: 4px; min-width: 0; }
html.theme-modern .workspace-tabs__close-all { align-items:center; align-self:center; background:rgba(255,255,255,.12) !important; border:1px solid rgba(255,255,255,.32) !important; border-radius:7px !important; color:#fff !important; cursor:pointer; display:inline-flex; flex:0 0 auto; font-size:10px !important; font-weight:800; gap:4px; height:28px; margin:0 0 4px auto; min-height:28px !important; padding:2px 8px !important; white-space:nowrap; }
html.theme-modern .workspace-tabs__close-all:hover { background:rgba(255,255,255,.24) !important; }
html.theme-modern .workspace-tabs__close-all:disabled { cursor:wait; opacity:.55; }
html.theme-modern .workspace-tabs__close-all[hidden] { display:none !important; }
html.theme-modern .workspace-tabs__close-all span[aria-hidden="true"] { font-size:16px; font-weight:400; line-height:1; }
html.theme-modern .workspace-tab {
  align-items: stretch;
  background: rgba(255,255,255,.14);
  border-radius: 8px 8px 0 0;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 36px;
}
html.theme-modern .workspace-tab:hover { background: rgba(255,255,255,.24); }
html.theme-modern .workspace-tab.is-active { background: #fff; color: var(--evolv-ink); }
html.theme-modern .workspace-tab--ticket.is-dragging { opacity:.5; }
html.theme-modern .workspace-tab__drag-handle { align-self:stretch; background-image:radial-gradient(circle,currentColor 1px,transparent 1.5px); background-position:center; background-size:4px 4px; cursor:grab; flex:0 0 10px; margin-left:5px; opacity:.58; width:10px; }
html.theme-modern .workspace-tab__drag-handle:hover { opacity:1; }
html.theme-modern .workspace-tab__drag-handle:active { cursor:grabbing; }
html.theme-modern .workspace-tab--home { align-items: center; color: #fff !important; font-size: 10px; font-weight: 700; padding: 0 16px; text-decoration: none; }
html.theme-modern .workspace-tab--home .workspace-tab__label { line-height:1.05; text-align:center; }
html.theme-modern .workspace-tab--home.is-active { color: var(--evolv-ink) !important; }
html.theme-modern .workspace-tab--support-mode { gap:7px; padding:0 12px; }
html.theme-modern .workspace-tab__count { align-items:center; background:rgba(255,255,255,.22); border-radius:999px; display:inline-flex; font-size:10px; font-weight:900; justify-content:center; min-width:18px; padding:2px 5px; }
html.theme-modern .workspace-tab--support-mode.is-active .workspace-tab__count { background:#dcecf3; color:#174e66; }
html.theme-modern .workspace-tab__link {
  align-items: flex-start;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  justify-content: center;
  line-height: 1.2;
  max-width: 180px;
  min-width: 112px;
  padding: 5px 8px 5px 5px;
  text-decoration: none;
}
html.theme-modern .workspace-tab__link strong { font-size: 11px; }
html.theme-modern .workspace-tab__link span { display: block; max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-modern .workspace-tab__unread-bell { align-items:center; align-self:center; background:#fff3d6; border-radius:50%; color:#a96300; display:inline-flex; flex:0 0 auto; height:20px; justify-content:center; margin:0 3px; width:20px; }
html.theme-modern .workspace-tab__unread-bell svg { animation:ticket-unread-ring 2.4s ease-in-out infinite; fill:none; height:13px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:2; transform-origin:50% 12%; width:13px; }
html.theme-modern .workspace-tab__close,
html.theme-modern .workspace-search-tab__refresh,
html.theme-modern .workspace-search-tab__close {
  align-items: center;
  align-self: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: inherit !important;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 24px !important;
  justify-content: center;
  margin-right: 5px;
  min-height: 24px !important;
  padding: 0 !important;
  width: 24px;
}
html.theme-modern .workspace-tab__close:hover,
html.theme-modern .workspace-search-tab__refresh:hover,
html.theme-modern .workspace-search-tab__close:hover { background: rgba(24,49,63,.12) !important; }
html.theme-modern .workspace-tab--search .workspace-tab__link { min-width:130px; }
html.theme-modern .workspace-search-tab__refresh,
html.theme-modern .workspace-search-tab__close { text-decoration:none; }
html.theme-modern .workspace-tab-limit-message { align-items:center; background:#fff8df; border:1px solid #e5c96f; border-radius:9px; box-shadow:0 8px 24px rgba(20,48,62,.22); color:#654c08; display:flex; font-size:13px; gap:14px; justify-content:space-between; left:50%; max-width:440px; padding:11px 12px 11px 14px; position:fixed; top:96px; transform:translateX(-50%); width:calc(100vw - 40px); z-index:20000; }
html.theme-modern .workspace-tab-limit-message strong { color:#513c05; }
html.theme-modern .workspace-tab-limit-message button { align-items:center; background:transparent !important; border:0 !important; border-radius:50% !important; color:#654c08 !important; cursor:pointer; display:flex; flex:0 0 auto; font-size:20px !important; height:26px !important; justify-content:center; min-height:26px !important; padding:0 !important; width:26px !important; }
html.theme-modern .workspace-tab-limit-message button:hover { background:rgba(101,76,8,.1) !important; }
html.theme-modern .workspace-ticket-list-view {
  --ticket-list-gap: 10px;
  background: #eff8fb;
  box-sizing: border-box;
  max-height: calc(100vh - var(--support-toolbar-height) - 125px);
  overflow-y: auto;
  padding: 6px 0;
}
html.theme-modern .workspace-ticket-list-view form > br { display: none; }
html.theme-modern .workspace-ticket-list-view .ticket-group {
  border-spacing: 0;
  margin-bottom: var(--ticket-list-gap);
}
html.theme-modern .workspace-ticket-list-view .ticket-group__heading {
  background: #eff8fb;
}
html.theme-modern .workspace-ticket-list-view .ticket-group__heading > td.ticketHeader {
  background: #eff8fb !important;
  box-shadow: 0 -8px 0 #eff8fb, 0 10px 0 #eff8fb;
  isolation: isolate;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 50;
}
html.theme-modern .workspace-ticket-list-view .ticket-group__bar {
  background: linear-gradient(90deg, var(--evolv-blue), var(--evolv-sky-dark));
  border-radius: 9px;
  box-sizing: border-box;
  color: #fff;
  min-height: 40px;
  padding: 10px 84px 10px 13px;
  position: relative;
  text-align: left;
}
html.theme-modern .workspace-ticket-list-view .ticket-group > tbody > tr:nth-child(2) > td {
  padding-top: var(--ticket-list-gap) !important;
}
html.theme-modern .workspace-ticket-list-view.is-hidden { display: none !important; }
html.theme-modern .support-workspace__detail {
  background: #eff8fb;
  border: 0;
  border-radius: 0;
  display: none;
  min-height: calc(100vh - 120px);
  overflow: hidden;
}
html.theme-modern .support-workspace__detail.is-active { display: block !important; }
html.theme-modern .support-workspace--ticket .support-workspace__detail.is-active {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}
html.theme-modern .workspace-panel__header {
  align-items: center;
  border-bottom: 1px solid var(--evolv-line);
  display: flex;
  justify-content: space-between;
  padding: 13px 14px;
}
html.theme-modern .workspace-panel__header h2 { font-size: 17px; margin: 2px 0 0; }
html.theme-modern .workspace-panel__header--detail { gap: 14px; }
html.theme-modern .workspace-ticket-content .ticket-subject-row {
  background: #eff8fb;
  box-shadow: 0 -12px 0 #eff8fb, 0 10px 0 #eff8fb;
  position: sticky;
  top: 0;
  z-index: 30;
}
html.theme-modern .workspace-ticket-content td.ticketHeader.ticket-subject-bar {
  align-items: center;
  border-radius: 9px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 9px 11px 9px 14px;
  position: relative;
}
html.theme-modern .ticket-subject-bar__heading { align-items: center; display: flex; flex: 0 1 auto; max-width: calc(50% - 80px); min-height: 34px; min-width: 0; overflow: hidden; text-align: left; }
html.theme-modern .ticket-subject-bar__title { display: block; font-size: 17px; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-modern .ticket-subject-bar .ticket-subject-bar__status { flex: 0 0 auto; font-size: 11.25px; margin: 0 auto; min-height: 25px; padding: 0 2.25ch; }
html.theme-modern .ticket-subject-bar__rating { align-items:center; border-left:1px solid currentColor; color:#9a6500; display:inline-flex; margin-left:1.1ch; padding-left:1.1ch; }
html.theme-modern .ticket-subject-bar__review-comment { border-left:1px solid rgba(90,70,20,.35); display:inline-block; margin-left:1.1ch; max-width:min(32vw,480px); overflow:hidden; padding-left:1.1ch; text-overflow:ellipsis; text-transform:none; white-space:nowrap; }
html.theme-modern.theme-dark .ticket-subject-bar__rating { color:#ffd36a; }
html.theme-modern.theme-dark .ticket-subject-bar__review-comment { border-left-color:rgba(255,211,106,.45); color:#fff1c5; }
html.theme-modern .ticket-subject-bar .workspace-detail-actions { flex: 0 0 auto; flex-wrap: nowrap; margin-left: 0; min-width: 0; }
html.theme-modern .ticket-subject-bar .workspace-detail-actions__related { flex-wrap: nowrap; }
html.theme-modern .ticket-subject-bar .workspace-detail-actions .ticket-action { box-shadow: 0 2px 5px rgba(5,42,63,.22); margin: 0 2px; min-height: 34px; padding-left: 8px; padding-right: 8px; }
html.theme-modern .ticket-subject-bar .ticket-action--primary { background: var(--evolv-red) !important; border-color: #fff !important; color: #fff !important; }
html.theme-modern .ticket-subject-bar .ticket-action--primary:hover { background: #dff3e6 !important; border-color: #b7dfc4 !important; color: #245f3d !important; }
html.theme-modern .ticket-subject-bar .ticket-action--primary:hover .ticket-action__icon { background: #c9e9d4; color: #245f3d; }
html.theme-modern .ticket-subject-bar .ticket-action--secondary { background: #fff !important; border-color: #fff !important; color: #155a7c !important; }
html.theme-modern .ticket-subject-bar .ticket-action--secondary:hover { background: #e8f4fa !important; border-color: #e8f4fa !important; color: #0b4665 !important; }
html.theme-modern .ticket-subject-bar .ticket-action__icon { align-items:center; background:#dceef6; border-radius:50%; color:#155a7c; display:inline-flex!important; font-size:14px!important; font-weight:900; height:21px; justify-content:center; width:21px; }
html.theme-modern .ticket-subject-bar .ticket-action--primary .ticket-action__icon { background:rgba(255,255,255,.2); color:#fff; }
html.theme-modern .ticket-subject-bar .ticket-action__label { color:inherit; }
html.theme-modern .ticket-subject-bar .workspace-detail-actions__related { border-left-color: rgba(255,255,255,.35); }
html.theme-modern .workspace-detail-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-left: auto; }
html.theme-modern .workspace-detail-actions__related {
  align-items: center;
  border-left: 1px solid var(--evolv-line);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-left: 4px;
  padding-left: 10px;
}
html.theme-modern .workspace-detail-actions__related .ticket-action { font-size: 10px; padding: 0 8px; }
html.theme-modern .workspace-panel__eyebrow { color: var(--evolv-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
html.theme-modern .workspace-count { background: #e8f3f7; border-radius: 999px; color: var(--evolv-blue); font-size: 11px; margin-left: 4px; padding: 2px 7px; }
html.theme-modern .workspace-icon-button { border-radius: 50% !important; font-size: 20px; min-height: 34px !important; padding: 0 !important; width: 34px; }
html.theme-modern .workspace-show-mine {
  background: #e8f3f7;
  border: 1px solid #c7e0e9;
  border-radius: 7px;
  color: var(--evolv-blue) !important;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  min-height: 30px;
  padding: 0 9px;
  align-items: center;
  text-align: center;
  text-decoration: none;
}
html.theme-modern .workspace-show-mine:hover { background: #d8edf5; }
html.theme-modern .workspace-controls { border-bottom: 1px solid var(--evolv-line); display: grid; gap: 5px; padding: 11px 12px; }
html.theme-modern .workspace-controls label { color: var(--evolv-muted); font-size: 11px; font-weight: 700; }
html.theme-modern .workspace-controls input,
html.theme-modern .workspace-controls select { font-size: 12px; min-height: 33px; width: 100%; }
html.theme-modern .workspace-ticket-list { max-height: calc(100vh - 300px); overflow-y: auto; padding: 7px; }
html.theme-modern .workspace-ticket-list.is-loading { opacity: .55; }
html.theme-modern .workspace-ticket-count { display: none; }
html.theme-modern .workspace-ticket {
  background: #fff !important;
  border: 1px solid transparent !important;
  border-bottom-color: var(--evolv-line) !important;
  border-radius: 7px !important;
  color: var(--evolv-ink) !important;
  display: block;
  margin: 0 0 3px;
  padding: 9px !important;
  text-align: left;
  width: 100%;
}
html.theme-modern .workspace-ticket:nth-of-type(even) {
  background: #f1f7fb !important;
}
html.theme-modern .workspace-ticket:hover,
html.theme-modern .workspace-ticket.is-selected { background: #edf8fc !important; border-color: #add9ea !important; }
html.theme-modern .workspace-ticket__top,
html.theme-modern .workspace-ticket__meta { align-items: center; display: flex; justify-content: space-between; gap: 8px; }
html.theme-modern .workspace-ticket__top > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-modern .workspace-ticket__status { align-items: center; background: #e8f3f7; border-radius: 999px; color: #315c70; display: inline-flex; flex: 0 0 auto; font-size: 9px; font-weight: 800; justify-content: center; line-height: 1; min-height: 15px; padding: 0 6px; text-transform: uppercase; white-space: nowrap; }
html.theme-modern .workspace-ticket__status--open {
  background: #d9f3e5;
  box-shadow: inset 0 0 0 1px #b7e2ca;
  color: #17613b;
}
html.theme-modern .workspace-ticket__status--awaiting-client {
  background: #fff0cc;
  box-shadow: inset 0 0 0 1px #edd79e;
  color: #805a00;
}
html.theme-modern .workspace-ticket__status--on-hold {
  background: #eee4f8;
  box-shadow: inset 0 0 0 1px #d7c0ec;
  color: #65358a;
}
html.theme-modern .workspace-ticket__status--closed {
  background: #e6e9eb;
  box-shadow: inset 0 0 0 1px #cbd1d5;
  color: #4f5b61;
}
html.theme-modern .workspace-ticket__title { display: block; font-size: 12px; font-weight: 700; margin: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-modern .workspace-ticket__meta { color: var(--evolv-muted); font-size: 10px; }
html.theme-modern .workspace-ticket__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-modern .workspace-ticket__meta time { white-space: nowrap; }
html.theme-modern .workspace-empty,
html.theme-modern .workspace-detail-empty { color: var(--evolv-muted); padding: 28px 18px; text-align: center; }
html.theme-modern .workspace-detail-empty { align-items: center; display: flex; flex-direction: column; gap: 5px; min-height: 240px; justify-content: center; }
html.theme-modern .workspace-full-link { font-size: 11px; font-weight: 700; white-space: nowrap; }
html.theme-modern .workspace-detail-heading { align-items: center; display: flex; gap: 14px; }
html.theme-modern .workspace-back-button { align-items: center; background: #e8f3f7 !important; border-radius: 7px; color: var(--evolv-blue) !important; display: inline-flex; font-size: 11px; font-weight: 700; min-height: 34px !important; padding: 0 11px !important; text-decoration: none; white-space: nowrap; }
html.theme-modern .workspace-back-button:hover { background: #d8edf5 !important; }
html.theme-modern .workspace-ticket-content {
  --ticket-view-gap: 10px;
  box-sizing: border-box;
  min-height: 650px;
  overflow-x: auto;
  background: #eff8fb;
  padding: 6px 0;
  width: 100%;
}
html.theme-modern .support-workspace--ticket .workspace-ticket-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
html.theme-modern .workspace-ticket-content > link,
html.theme-modern .workspace-ticket-content > script { display: none; }
html.theme-modern .workspace-ticket-content table { width: 100% !important; }
html.theme-modern .workspace-loading { color: var(--evolv-muted); padding: 60px 20px; text-align: center; }
html.theme-modern .workspace-error { background: #fff0f0; border: 1px solid #efb0b0; border-radius: 8px; color: #9d2f35; margin: 20px; padding: 14px; }

html.theme-modern .workspace-ticket-content .ticket-detail {
  border: 0;
  border-spacing: 0 var(--ticket-view-gap);
  margin-top: calc(-1 * var(--ticket-view-gap));
  width: 100%;
}
html.theme-modern .workspace-ticket-content .ticket-detail > tbody > tr > td.td_ignore { background: transparent !important; border: 0 !important; padding: 0; }
html.theme-modern .workspace-ticket-content .ticket-detail-actions { background: #f7fafb; border: 1px solid var(--evolv-line); border-radius: 9px; overflow: hidden; }
html.theme-modern .workspace-ticket-content .ticket-detail-actions td.content { background: #f7fafb !important; border: 0 !important; padding: 8px; }
html.theme-modern .workspace-ticket-content .ticket-detail-actions img { border-radius: 6px; max-height: 34px; width: auto; }

html.theme-modern .workspace-ticket-content .ticket-detail-notes {
  background: #fff8e6;
  border: 1px solid #ecd79e;
  border-radius: 9px;
  overflow: hidden;
}
html.theme-modern .workspace-ticket-content .ticket-detail-notes td.content { background: #fff8e6 !important; border: 0 !important; padding: 8px; }
html.theme-modern .ticket-detail-notes__grid { display:grid; gap:8px; }
html.theme-modern .ticket-detail-note {
  background:#fffdf7;
  border:1px solid #eadcae;
  border-left:4px solid #c78a2e;
  border-radius:7px;
  color:#473a20;
  padding:9px 11px;
  text-align:left;
}
html.theme-modern .ticket-detail-note--closing { background:#f5fafe; border-color:#c7deea; border-left-color:#3686ad; color:#213f4d; }
html.theme-modern .ticket-detail-note__label { color:inherit; display:block; font-size:10px; letter-spacing:.055em; margin-bottom:4px; text-transform:uppercase; }
html.theme-modern .ticket-detail-note__body { font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
html.theme-modern .ticket-detail-note__body > :first-child { margin-top:0; }
html.theme-modern .ticket-detail-note__body > :last-child { margin-bottom:0; }
html.theme-modern .ticket-detail-note__body a { font-size:11px; font-weight:700; }

html.theme-modern .ticket-timer-bar { align-items:center; background:#fff6d8; border:1px solid #e6c867; border-radius:9px; color:#5b4610; display:flex; gap:11px; padding:9px 11px; text-align:left; }
html.theme-modern .ticket-timer-bar__icon { align-items:center; background:#f1cf5b; border-radius:50%; color:#493805; display:inline-flex; flex:0 0 30px; font-size:17px; height:30px; justify-content:center; }
html.theme-modern .ticket-timer-bar__details { display:flex; flex:1 1 auto; flex-direction:column; font-size:11px; gap:2px; min-width:0; }
html.theme-modern .ticket-timer-bar__details strong { font-size:13px; }
html.theme-modern .ticket-timer-bar__details span { overflow-wrap:anywhere; }
html.theme-modern .ticket-timer-bar__remove { flex:0 0 auto; margin:0; }
html.theme-modern .ticket-timer-bar__remove button { background:#fff !important; border:1px solid #c7a83b !important; border-radius:7px; color:#624b05 !important; cursor:pointer; font-size:11px; font-weight:800; min-height:30px; padding:5px 10px; }
html.theme-modern .ticket-timer-bar__remove button:hover { background:#ffedb0 !important; }

html.theme-modern .workspace-ticket-content .ticket-detail-summary {
  background: #fff;
  border: 1px solid var(--evolv-line);
  border-radius: 9px;
  overflow: hidden;
}
html.theme-modern .workspace-ticket-content .ticket-detail-summary td.header {
  background: var(--evolv-ink) !important;
  border-color: #35505e !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
  padding: 8px 7px;
  text-transform: uppercase;
}
html.theme-modern .workspace-ticket-content .ticket-detail-summary td.content,
html.theme-modern .workspace-ticket-content .ticket-detail-summary td.contentOpen,
html.theme-modern .workspace-ticket-content .ticket-detail-summary td.contentOnHold,
html.theme-modern .workspace-ticket-content .ticket-detail-summary td.contentClosed {
  background: #fff !important;
  border-color: var(--evolv-line) !important;
  color: var(--evolv-ink) !important;
  font-size: 11px;
  padding: 8px 7px;
}

html.theme-modern .workspace-ticket-content .ticket-conversation {
  border-collapse: separate;
  border-spacing: 0 var(--ticket-view-gap);
  margin-bottom: calc(-1 * var(--ticket-view-gap));
  margin-top: calc(-1 * var(--ticket-view-gap));
}
html.theme-modern .workspace-ticket-content .ticket-post { filter: drop-shadow(0 3px 8px rgba(24,49,63,.07)); }
html.theme-modern .workspace-ticket-content .ticket-post > td {
  background: #fff !important;
  border-color: var(--evolv-line) !important;
  color: #28434f !important;
  font-size: 12px;
  padding: 10px;
  vertical-align: top;
}
html.theme-modern .workspace-ticket-content .ticket-post > td:first-child { border-radius: 9px 0 0 9px; }
html.theme-modern .workspace-ticket-content .ticket-post > td:last-child { border-radius: 0 9px 9px 0; }
html.theme-modern .workspace-ticket-content .ticket-post__meta { color: var(--evolv-muted) !important; font-size: 11px !important; font-weight: 700; line-height: 1.45; width: 145px; }
html.theme-modern .workspace-ticket-content .ticket-post__meta-avatar { display:block; margin:9px auto 0; text-align:center; }
html.theme-modern .workspace-ticket-content .ticket-post__meta-avatar img { border:2px solid #d8e7ed; border-radius:50%; display:block; height:44px !important; margin:0 auto; object-fit:cover; width:44px !important; }
html.theme-modern .workspace-ticket-content .ticket-post__meta-avatar.ticket-post__avatar--organisation img { border-radius:999px; height:36px !important; width:81px !important; }
html.theme-modern .workspace-ticket-content .ticket-post__content { line-height: 1.55; }
html.theme-modern .workspace-ticket-content .ticket-post__content img { height: auto; max-width: 100%; }
html.theme-modern .workspace-ticket-content .ticket-post .timebox { color: var(--evolv-muted) !important; font-size: 10px; width: 55px !important; }
html.theme-modern .workspace-ticket-content .contentPrivate.ticket-post__content { background: #fff8e6 !important; box-shadow: inset 4px 0 0 var(--evolv-yellow); }

.ticket-action__icon,
.ticket-action__label { display: none; }

html.theme-modern .workspace-ticket-content .ticket-action,
html.theme-modern .workspace-detail-actions .ticket-action {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  margin: 2px 3px;
  min-height: 32px;
  padding: 0 11px;
  text-decoration: none;
  vertical-align: middle;
}
html.theme-modern .workspace-ticket-content .ticket-action__legacy,
html.theme-modern .workspace-detail-actions .ticket-action__legacy { display: none; }
html.theme-modern .workspace-ticket-content .ticket-action__icon,
html.theme-modern .workspace-ticket-content .ticket-action__label,
html.theme-modern .workspace-detail-actions .ticket-action__icon,
html.theme-modern .workspace-detail-actions .ticket-action__label { display: inline; }
html.theme-modern .workspace-ticket-content .ticket-action__icon,
html.theme-modern .workspace-detail-actions .ticket-action__icon { font-size: 16px; line-height: 1; }
html.theme-modern .workspace-ticket-content .ticket-action--primary,
html.theme-modern .workspace-detail-actions .ticket-action--primary { background: var(--evolv-blue); color: #fff !important; }
html.theme-modern .workspace-ticket-content .ticket-action--primary:hover,
html.theme-modern .workspace-detail-actions .ticket-action--primary:hover { background: var(--evolv-sky-dark); }
html.theme-modern .workspace-ticket-content .ticket-action--secondary,
html.theme-modern .workspace-ticket-content .ticket-action--compact,
html.theme-modern .workspace-detail-actions .ticket-action--secondary { background: #e8f3f7; border-color: #c7e0e9; color: var(--evolv-blue) !important; }
html.theme-modern .workspace-ticket-content .ticket-action--secondary:hover,
html.theme-modern .workspace-ticket-content .ticket-action--compact:hover,
html.theme-modern .workspace-detail-actions .ticket-action--secondary:hover { background: #d8edf5; }
html.theme-modern .workspace-ticket-content .ticket-action--danger { background: #fff0f0; border-color: #efb0b0; color: #a12d35 !important; }
html.theme-modern .workspace-ticket-content .ticket-action--danger:hover { background: #fbdfe1; }
html.theme-modern .workspace-ticket-content .ticket-post__actions { box-sizing: border-box; min-width: 88px; padding: 7px 5px !important; text-align: center; width: 88px !important; }
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action { box-sizing: border-box; display: flex; margin: 2px 0; max-width: 100%; min-height: 29px; padding: 0 7px; width: 100%; }
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action__icon { font-size: 13px; }
html.theme-modern .take-ownership { display: inline-block; font-size: 10px !important; line-height: 1.15; min-height: 30px !important; padding: 6px 8px !important; white-space: nowrap; }
html.theme-modern .take-ownership span { display: block; }
html.theme-modern .ownership-confirmed { color: #26724d; font-size: 11px; font-weight: 800; white-space: nowrap; }
html.theme-modern .ticket-list .ownership-control { align-items: stretch; display: inline-flex; position: relative; }
html.theme-modern .ticket-list .ownership-control .take-ownership { border-radius: 8px 0 0 8px !important; margin: 0; }
html.theme-modern .give-ownership { margin: 0; position: relative; }
html.theme-modern .give-ownership > summary { align-items: center; background: #edf5f8; border: 1px solid #bad0d9; border-left: 0; border-radius: 0 8px 8px 0; box-sizing: border-box; color: #174e66; cursor: pointer; display: flex; font-size: 10px; font-weight: 800; justify-content: center; list-style: none; min-height: 30px; padding: 4px 7px; white-space: nowrap; }
html.theme-modern .give-ownership > summary::-webkit-details-marker { display: none; }
html.theme-modern .give-ownership > summary:hover,
html.theme-modern .give-ownership[open] > summary { background: #dcecf2; color: #0d3f55; }
html.theme-modern .give-ownership__menu { background: #fff; border: 1px solid #c8d9e0; border-radius: 12px; box-shadow: 0 12px 34px rgba(20, 54, 70, .24); box-sizing: border-box; display: grid; gap: 3px; max-height: min(420px, 70vh); min-width: 230px; overflow-y: auto; padding: 8px; position: fixed; text-align: left; z-index: 10020; }
html.theme-modern .give-ownership__heading { color: #315665; font-size: 11px; letter-spacing: .04em; padding: 5px 7px 7px; text-transform: uppercase; }
html.theme-modern .give-ownership__option { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #173e50; cursor: pointer; display: flex; font-size: 12px; font-weight: 700; gap: 9px; min-height: 42px; padding: 5px 8px; text-align: left; width: 100%; }
html.theme-modern .give-ownership__option:hover,
html.theme-modern .give-ownership__option:focus { background: #eaf4f7; color: #0c526f; outline: none; }
html.theme-modern .give-ownership__option img { border-radius: 50% !important; height: 32px !important; margin: 0 !important; object-fit: cover; width: 32px !important; }
html.theme-modern .give-ownership__option:disabled { cursor: wait; opacity: .55; }

html.workspace-ticket-document,
html.workspace-ticket-document body { background: #fff !important; }
html.workspace-ticket-document body { margin: 0; padding: 10px; }
html.workspace-ticket-document table { width: 100% !important; }
html.workspace-ticket-document td { font-size: 12px; }
html.workspace-ticket-document img { max-width: 100%; }

@media (max-width: 850px) {
  html.theme-modern .support-workspace { display: block; }
  html.theme-modern .support-workspace--ticket { height: auto; }
  html.theme-modern .workspace-ticket-list-view { max-height: 65vh; }
  html.theme-modern .workspace-ticket-list-view .ticket-group__heading > td.ticketHeader { box-shadow: none; position: static; }
  html.theme-modern .support-workspace--ticket .workspace-ticket-content { max-height: 65vh; }
  html.theme-modern .workspace-ticket-list { max-height: 330px; }
  html.theme-modern .workspace-detail-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  html.theme-modern .workspace-ticket-content .ticket-subject-row { position: static; }
  html.theme-modern .workspace-ticket-content td.ticketHeader.ticket-subject-bar { align-items: center; flex-direction: row; overflow-x: auto; }
  html.theme-modern .ticket-subject-bar .ticket-subject-bar__status { align-self: center; }
  html.theme-modern .ticket-subject-bar .workspace-detail-actions { justify-content: flex-end; margin-left: 0; }
  html.theme-modern .ticket-subject-bar .workspace-detail-actions__related { border-left: 1px solid rgba(255,255,255,.3); border-top: 0; margin-left: 4px; padding-left: 10px; padding-top: 0; width: auto; }
}

html.theme-modern form[name="input"] {
  margin: 20px auto;
  max-width: 430px;
}

html.theme-modern form[name="input"] > table {
  background: #fff;
  border: 1px solid var(--evolv-line);
  border-radius: 12px;
  box-shadow: var(--evolv-shadow);
  box-sizing: border-box;
  padding: 22px;
  width: 100%;
}

html.theme-modern form[name="input"] td { background: transparent !important; padding: 8px; }
html.theme-modern form[name="input"] input[type="text"],
html.theme-modern form[name="input"] input[type="password"] { width: 100%; }

html.theme-modern .internal-notes-page {
  margin: 20px auto;
  max-width: 1180px;
}

html.theme-modern .internal-notes-card,
html.theme-modern .internal-notes-ticket-preview {
  background: #fff;
  border: 1px solid var(--evolv-line);
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(24,49,63,.07);
  overflow: hidden;
}

html.theme-modern .internal-notes-card__header {
  align-items: center;
  border-bottom: 1px solid var(--evolv-line);
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

html.theme-modern .internal-notes-card__header h1 { font-size: 22px; margin: 3px 0 4px; }
html.theme-modern .internal-notes-card__header p { color: var(--evolv-muted); margin: 0; }
html.theme-modern .post-editor-card .post-editor-ticket-number {
  color: var(--evolv-blue);
  font-size: 14px;
  letter-spacing: .045em;
}
html.theme-modern .post-editor-card .post-editor-ticket-title {
  color: var(--evolv-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
html.theme-modern .internal-notes-form { display: grid; gap: 18px; padding: 20px; }
html.theme-modern .internal-notes-field { display: grid; gap: 6px; }
html.theme-modern .internal-notes-field label { color: var(--evolv-ink); font-size: 13px; font-weight: 800; }
html.theme-modern .internal-notes-field small { color: var(--evolv-muted); font-size: 11px; }
html.theme-modern .internal-notes-field textarea {
  box-sizing: border-box;
  line-height: 1.5;
  min-height: 150px;
  resize: vertical;
  width: 100%;
}
html.theme-modern .internal-notes-actions { align-items: center; display: flex; gap: 8px; justify-content: flex-end; }
html.theme-modern .internal-notes-actions button { min-height: 36px; padding: 7px 16px; }
html.theme-modern .internal-notes-ticket-preview { margin-top: 16px; padding: 12px; }
html.theme-modern .post-editor-time {
  border: 1px solid var(--evolv-line);
  border-radius: 9px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 14px;
}
html.theme-modern .post-editor-time legend { color: var(--evolv-ink); font-size: 13px; font-weight: 800; padding: 0 6px; }
html.theme-modern .post-editor-time label { color: var(--evolv-muted); display: grid; font-size: 11px; font-weight: 700; gap: 5px; }
html.theme-modern .post-editor-time select { box-sizing: border-box; min-height: 36px; width: 100%; }
html.theme-modern .add-post-form { gap: 0; }
html.theme-modern .add-post-page { margin-bottom:8px; margin-top:8px; }
html.theme-modern .add-post-card .add-post-header { gap:12px; min-height:38px; padding:7px 11px 7px 13px; }
html.theme-modern .add-post-header__details { align-items:center; display:flex; flex:1 1 auto; gap:14px; min-width:0; overflow:hidden; }
html.theme-modern .add-post-header h1 { align-items:baseline; display:flex; flex:1 1 auto; font-size:16px; gap:7px; line-height:1.25; margin:0; min-width:0; white-space:nowrap; }
html.theme-modern .add-post-header h1 > span { flex:0 0 auto; font:inherit; }
html.theme-modern .add-post-header h1 .add-post-header__title { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
html.theme-modern .add-post-header__separator { color:var(--evolv-muted); }
html.theme-modern .add-post-header__time { align-items:center; background:rgba(255,255,255,.72); border:1px solid var(--evolv-line); border-radius:7px; color:var(--evolv-muted); display:flex; flex:0 0 auto; font-size:11px; gap:6px; padding:5px 8px; white-space:nowrap; }
html.theme-modern .add-post-header__time strong { color:var(--evolv-ink); font:inherit; font-weight:800; }
html.theme-modern .add-post-form { padding:7px 9px; }
html.theme-modern .add-post-fields { border-collapse: separate; border-spacing: 0 4px; width: 100%; }
html.theme-modern .add-post-fields > tbody > tr > td {
  border-color: var(--evolv-line) !important;
  padding: 5px 8px;
  vertical-align: middle;
}
html.theme-modern .add-post-fields > tbody > tr > td.header {
  background: #f2f8fa !important;
  color: var(--evolv-ink) !important;
  font-size: 11px;
  font-weight: 800;
  min-width: 125px;
  text-transform: uppercase;
  width: 150px;
}
html.theme-modern .add-post-ticket-metrics { color:#55727e; display:block; font-size:10px; font-weight:650; line-height:1.35; margin-top:3px; text-transform:none; }
html.theme-modern .add-post-fields > tbody > tr > td.content { background: #fff !important; }
html.theme-modern .add-post-fields > tbody > tr:hover > td.header { background: #f2f8fa !important; }
html.theme-modern .add-post-fields > tbody > tr:hover > td.content { background: #fff !important; }
html.theme-modern .add-post-fields textarea,
html.theme-modern .add-post-fields input[type="text"],
html.theme-modern .add-post-fields select { box-sizing: border-box; max-width: 100%; width: 100%; }
html.theme-modern .add-post-fields input[type="checkbox"] { width: auto; }
html.theme-modern .add-post-fields textarea,
html.theme-modern .add-post-fields input[type="text"],
html.theme-modern .add-post-fields input[type="date"],
html.theme-modern .add-post-fields input[type="time"],
html.theme-modern .add-post-fields select { min-height:30px; padding:4px 7px; }
html.theme-modern .add-post-fields #postthingy { min-height: 150px; width: 100% !important; }
html.theme-modern .add-post-fields #holdthingy { min-height: 72px; width: 100% !important; }
html.theme-modern .add-post-tool-button {
  background: #e8f3f7 !important;
  border: 1px solid #c7e0e9 !important;
  color: var(--evolv-blue) !important;
  margin: 2px 5px 2px 0;
  min-height: 30px !important;
  padding:4px 9px !important;
}
html.theme-modern .add-post-tool-button:hover { background: #d8edf5 !important; }
html.theme-modern .add-post-submit-cell { padding: 6px 8px !important; }
html.theme-modern .add-post-submit-cell .internal-notes-actions { justify-content: flex-end; }
html.theme-modern .add-post-ticket-preview { margin-top:7px; padding:0; }
html.theme-modern .add-post-ticket-preview > summary { background:#f2f8fa; color:var(--evolv-blue); cursor:pointer; font-size:11px; font-weight:800; list-style-position:inside; padding:8px 11px; }
html.theme-modern .add-post-ticket-preview[open] > summary { border-bottom:1px solid var(--evolv-line); }
html.theme-modern .add-post-ticket-preview > .workspace-ticket-content { padding:7px; }
html.theme-modern #aiOverlay > div { border-radius: 11px !important; box-shadow: var(--evolv-shadow); }
html.theme-modern #aiOverlay button {
  border-radius: 7px;
  min-height: 34px;
  padding: 7px 13px;
}

/* Change ticket status. */
html.theme-modern .status-change-page { margin:10px auto; max-width:1180px; }
html.theme-modern .status-change-card { background:#fff; border:1px solid var(--evolv-line); border-radius:11px; box-shadow:0 8px 24px rgba(24,49,63,.07); overflow:hidden; }
html.theme-modern .status-change-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; gap:12px; justify-content:space-between; min-height:38px; padding:8px 12px; }
html.theme-modern .status-change-header__details { align-items:center; display:flex; gap:9px; min-width:0; overflow:hidden; }
html.theme-modern .status-change-header .workspace-panel__eyebrow { color:rgba(255,255,255,.76); flex:0 0 auto; }
html.theme-modern .status-change-header h1 { color:#fff; flex:0 0 auto; font-size:17px; margin:0; white-space:nowrap; }
html.theme-modern .status-change-header__separator { color:rgba(255,255,255,.55); flex:0 0 auto; }
html.theme-modern .status-change-header p { color:rgba(255,255,255,.86); font-size:12px; margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
html.theme-modern .status-change-header .workspace-back-button { background:#fff !important; border:1px solid rgba(255,255,255,.8); color:var(--evolv-blue) !important; }
html.theme-modern .status-change-header .workspace-back-button:hover { background:#e8f4fa !important; }
html.theme-modern .status-change-form { display:grid; gap:9px; padding:10px; }
html.theme-modern .status-change-section { border:1px solid var(--evolv-line); border-radius:10px; overflow:hidden; }
html.theme-modern .status-change-section__heading { align-items:baseline; background:#f1f7fa; border-bottom:1px solid var(--evolv-line); display:flex; gap:9px; padding:7px 10px; }
html.theme-modern .status-change-section__heading h2 { color:var(--evolv-ink); flex:0 0 auto; font-size:14px; margin:0; }
html.theme-modern .status-change-section__heading p { color:var(--evolv-muted); font-size:11px; margin:0; }
html.theme-modern .status-change-grid { display:grid; gap:8px 10px; grid-template-columns:repeat(2,minmax(0,1fr)); padding:9px 10px; }
html.theme-modern .status-change-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
html.theme-modern .status-change-field { color:var(--evolv-ink); display:grid; font-size:11px; font-weight:800; gap:3px; min-width:0; }
html.theme-modern .status-change-field--wide { grid-column:1 / -1; }
html.theme-modern .status-change-field input,
html.theme-modern .status-change-field select,
html.theme-modern .status-change-field textarea { box-sizing:border-box; max-width:100%; min-height:32px; width:100%; }
html.theme-modern .status-change-field textarea { line-height:1.4; min-height:105px; resize:vertical; }
html.theme-modern .status-change-requirements { align-items:flex-start; background:#fff8e3; border-top:1px solid #ead7a4; color:#614b13; display:flex; font-size:11px; gap:9px; padding:7px 10px; }
html.theme-modern .status-change-requirements strong { flex:0 0 auto; }
html.theme-modern .status-change-schedule { display:grid; gap:10px; grid-template-columns:minmax(220px,300px) minmax(0,1fr); padding:9px 10px; }
html.theme-modern .status-change-schedule__when { display:grid; gap:6px; }
html.theme-modern .status-change-actions { align-items:center; border-top:1px solid var(--evolv-line); display:flex; gap:7px; justify-content:flex-end; padding-top:8px; }
html.theme-modern .status-change-actions button { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:7px; color:#fff !important; cursor:pointer; font-size:12px; font-weight:800; min-height:32px; padding:5px 13px; }
html.theme-modern .status-change-actions button:hover { background:var(--evolv-sky-dark) !important; }
html.theme-modern .status-change-conversation { border-top:1px solid var(--evolv-line); }
html.theme-modern .status-change-conversation__posts { background:var(--evolv-soft); padding:10px; }
html.theme-modern .status-change-conversation__posts .ticket-conversation { border-collapse:separate; border-spacing:0 8px; margin:-8px 0; }
html.theme-modern .status-change-conversation__posts .ticket-post { filter:drop-shadow(0 3px 8px rgba(24,49,63,.07)); }
html.theme-modern .status-change-conversation__posts .ticket-post > td { background:#fff !important; border-color:var(--evolv-line) !important; color:#28434f !important; font-size:12px; padding:10px; vertical-align:top; }
html.theme-modern .status-change-conversation__posts .ticket-post > td:first-child { border-radius:9px 0 0 9px; }
html.theme-modern .status-change-conversation__posts .ticket-post > td:last-child { border-radius:0 9px 9px 0; }
html.theme-modern .status-change-conversation__posts .ticket-post__meta { color:var(--evolv-muted) !important; font-size:11px !important; font-weight:700; line-height:1.45; width:145px; }
html.theme-modern .status-change-conversation__posts .ticket-post__meta-avatar { display:block; margin:9px auto 0; text-align:center; }
html.theme-modern .status-change-conversation__posts .ticket-post__meta-avatar img { border:2px solid #d8e7ed; border-radius:50%; display:block; height:44px !important; margin:0 auto; object-fit:cover; width:44px !important; }
html.theme-modern .status-change-conversation__posts .ticket-post__meta-avatar.ticket-post__avatar--organisation img { border-radius:999px; height:36px !important; width:81px !important; }
html.theme-modern .status-change-conversation__posts .ticket-post__content { line-height:1.55; }
html.theme-modern .status-change-conversation__posts .ticket-post__content img { height:auto; max-width:100%; }
html.theme-modern .status-change-conversation__posts .ticket-post .timebox { color:var(--evolv-muted) !important; font-size:10px; width:55px !important; }
html.theme-modern .status-change-conversation__posts .ticket-post > td.contentPrivate { background:#fff3cf !important; color:#55410f !important; }
html.theme-modern .status-change-conversation__posts .ticket-post > td.contentPrivate:first-child { box-shadow:inset 4px 0 0 var(--evolv-yellow); }
html.theme-modern .status-change-conversation__posts .contentPrivate.ticket-post__content,
html.theme-modern .status-change-conversation__posts .contentPrivate.ticket-post__content * { color:#55410f !important; }
html.theme-modern .status-change-conversation__posts .contentPrivate.ticket-post__content a { color:#075f89 !important; text-decoration:underline; }
html.theme-modern .status-change-conversation__empty { color:var(--evolv-muted); margin:0; padding:16px; text-align:center; }

@media (max-width: 700px) {
  html.theme-modern .internal-notes-card__header { align-items: flex-start; flex-direction: column; gap: 12px; }
  html.theme-modern .post-editor-time { grid-template-columns: 1fr; }
  html.theme-modern .add-post-fields,
  html.theme-modern .add-post-fields tbody,
  html.theme-modern .add-post-fields tr,
  html.theme-modern .add-post-fields td { box-sizing: border-box; display: block; width: 100% !important; }
  html.theme-modern .add-post-fields > tbody > tr > td.header { border-radius: 8px 8px 0 0; }
  html.theme-modern .status-change-header { gap:7px; }
  html.theme-modern .status-change-header__details { gap:6px; }
  html.theme-modern .status-change-header p { display:none; }
  html.theme-modern .status-change-grid,
  html.theme-modern .status-change-grid--three,
  html.theme-modern .status-change-schedule { grid-template-columns:1fr; }
}

@media (max-width: 800px) {
  html.theme-modern #centeredpageshadow > div:first-child { padding: 0 10px !important; }
  html.theme-modern:has(#support-toolbar .support-nav) .col1 { padding: 14px !important; }
  html.theme-modern:has(#support-toolbar .support-nav) #header { height: 0; }
  html.theme-modern #header_logo { left: 8px; }
  html.theme-modern .evolv-logo--modern { height: 69px; }
  html.theme-modern #heading_right_block {
    font-size: 10px;
    padding-left: 10px;
    padding-right: 18px;
    width: min(450px, calc(100vw - 150px)) !important;
  }
  html.theme-modern #support-toolbar {
    font-size: 11px;
    min-height: 86px;
    padding-right: min(468px, calc(100vw - 132px));
  }
  html.theme-modern table { max-width: 100%; }
}

@media (min-width: 801px) and (max-width: 1050px) {
  html.theme-modern #centeredpageshadow > div:first-child { padding: 0 12px !important; }
}

.modern-form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; margin-top:16px; }
.modern-form-grid label { display:grid; gap:6px; color:#21344a; font-weight:650; }
.modern-form-grid input:not([type="checkbox"]), .modern-form-grid select, .modern-form-grid textarea { width:100%; box-sizing:border-box; border:1px solid #cbd8e6; border-radius:9px; padding:9px 11px; background:#fff; color:#162b42; font:inherit; }

/* Compact create-ticket workflow. */
html.theme-modern .create-ticket-page { background:#eff8fb; border-radius:12px; box-sizing:border-box; padding:6px; text-align:left; width:100%; }
html.theme-modern .create-ticket-card { background:#fff; border:1px solid #d7e5ec; border-radius:10px; box-shadow:0 5px 16px rgba(17,65,91,.08); overflow:hidden; }
html.theme-modern .create-ticket-header { align-items:center; background:linear-gradient(90deg,var(--evolv-blue),var(--evolv-sky-dark)); color:#fff; display:flex; justify-content:space-between; min-height:42px; padding:7px 12px 7px 15px; }
html.theme-modern .create-ticket-header__eyebrow { color:rgba(255,255,255,.76); display:block; font-size:9px; font-weight:800; letter-spacing:.09em; line-height:1; margin-bottom:2px; text-transform:uppercase; }
html.theme-modern .create-ticket-header h1 { color:#fff; font-size:18px; line-height:1.1; margin:0 !important; }
html.theme-modern .create-ticket-header__back { background:#fff; border:1px solid rgba(255,255,255,.85); border-radius:7px; color:#155a7c !important; font-size:11px; font-weight:800; padding:7px 10px; text-decoration:none; white-space:nowrap; }
html.theme-modern .create-ticket-header__back:hover { background:#e8f4fa; }
html.theme-modern .create-ticket-form { margin:0; width:100%; }
html.theme-modern .create-ticket-table { border-collapse:collapse; table-layout:fixed; width:100%; }
html.theme-modern .create-ticket-table td { border:0; border-bottom:1px solid #e5edf1; box-sizing:border-box; padding:5px 9px; vertical-align:middle; }
html.theme-modern .create-ticket-table td.header { background:#f5fafc; color:#25475a; font-size:10px; font-weight:800; text-align:left; text-transform:uppercase; width:135px; }
html.theme-modern .create-ticket-table td.content { background:#fff; }
html.theme-modern .create-ticket-table input[type="text"],
html.theme-modern .create-ticket-table input[type="password"],
html.theme-modern .create-ticket-table input[type="email"],
html.theme-modern .create-ticket-table input[type="date"],
html.theme-modern .create-ticket-table input[type="time"],
html.theme-modern .create-ticket-table select,
html.theme-modern .create-ticket-table textarea { background:#fff; border:1px solid #cbd8e6; border-radius:7px; box-sizing:border-box; color:#162b42; font:inherit; min-height:32px; padding:5px 8px; width:100%; }
html.theme-modern .create-ticket-table textarea { min-height:88px; resize:vertical; }
html.theme-modern .create-ticket-table #postthingy { min-height:180px; width:100% !important; }
html.theme-modern .create-ticket-table #holdthingy { min-height:88px; width:100% !important; }
html.theme-modern .create-ticket-table label { align-items:center; display:flex; gap:7px; white-space:nowrap; }
html.theme-modern .create-ticket-table label select { flex:1 1 auto; min-width:0; }
html.theme-modern .create-ticket-tools { display:flex; flex-wrap:wrap; gap:6px; }
html.theme-modern .create-ticket-tools button,
html.theme-modern .create-ticket-tool-button,
html.theme-modern .create-ticket-submit-row input[type="submit"] { background:var(--evolv-blue) !important; border:1px solid var(--evolv-blue) !important; border-radius:7px; color:#fff !important; cursor:pointer; font-size:11px !important; font-weight:800; min-height:32px; padding:6px 11px !important; width:auto !important; }
html.theme-modern .create-ticket-tools button:hover,
html.theme-modern .create-ticket-tool-button:hover { background:#e8f4fa !important; border-color:#b9d8e6 !important; color:#155a7c !important; }
html.theme-modern .create-ticket-section-heading { background:#e8f3f8 !important; color:#155a7c !important; font-size:11px !important; padding:8px 10px !important; text-align:center !important; }
html.theme-modern .create-ticket-submit-row { padding:8px 10px !important; text-align:right; }
html.theme-modern .create-ticket-submit-row input[type="submit"] { background:var(--evolv-red) !important; border-color:var(--evolv-red) !important; min-width:120px; }
html.theme-modern .create-ticket-page #recent { margin:6px; }
html.theme-modern .create-ticket-table .chosen-container { max-width:100%; }
@media (max-width:760px) {
  html.theme-modern .create-ticket-header { align-items:flex-start; gap:8px; }
  html.theme-modern .create-ticket-table { table-layout:auto; }
  html.theme-modern .create-ticket-table td { display:block; width:100% !important; }
  html.theme-modern .create-ticket-table td.header { padding-bottom:3px; }
  html.theme-modern .create-ticket-table td.content { padding-top:3px; }
}
.modern-field-wide { grid-column:1 / -1; }
.modern-check { display:flex !important; align-items:center; justify-content:start; }
.auto-ticket-editor { margin:14px 0; padding:14px 16px; border:1px solid #d8e3ed; border-radius:12px; background:#f8fbfe; }
.auto-ticket-editor summary { cursor:pointer; color:#153c63; font-weight:750; }
.modern-delete-form { display:flex; justify-content:flex-end; margin-top:-42px; }
.modern-button-danger { background:#a43643 !important; border-color:#a43643 !important; }

html.theme-modern .batch-ticket-page { box-sizing:border-box; margin:0 auto; max-width:1280px; padding:18px 20px 28px; }
html.theme-modern .batch-ticket-card { padding:0; overflow:hidden; }
html.theme-modern .batch-ticket-header { align-items:center; border-bottom:1px solid var(--evolv-line); padding:20px 22px; }
html.theme-modern .batch-ticket-header h1 { margin:3px 0 5px; }
html.theme-modern .batch-ticket-header p { color:var(--evolv-muted); margin:0; }
html.theme-modern .batch-ticket-form { padding:20px 22px 22px; }
html.theme-modern .batch-ticket-layout { display:grid; grid-template-columns:minmax(260px, .72fr) minmax(440px, 1.5fr); gap:20px; }
html.theme-modern .batch-ticket-clients,
html.theme-modern .batch-ticket-details { background:#f8fbfe; border:1px solid #d8e3ed; border-radius:12px; padding:17px; }
html.theme-modern .batch-ticket-section-heading { align-items:flex-start; display:flex; justify-content:space-between; gap:12px; margin-bottom:14px; }
html.theme-modern .batch-ticket-section-heading h2 { color:#153c63; font-size:18px; margin:2px 0 0; }
html.theme-modern .batch-ticket-hint { color:var(--evolv-muted); font-size:10px; padding-top:5px; white-space:nowrap; }
html.theme-modern .batch-ticket-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
html.theme-modern .batch-ticket-field { display:grid; gap:6px; color:#21344a; font-size:11px; font-weight:750; }
html.theme-modern .batch-ticket-field--wide { grid-column:1 / -1; }
html.theme-modern .batch-ticket-field input,
html.theme-modern .batch-ticket-field select,
html.theme-modern .batch-ticket-field textarea { background:#fff; border:1px solid #cbd8e6; border-radius:9px; box-sizing:border-box; color:#162b42; font:inherit; padding:9px 11px; width:100%; }
html.theme-modern .batch-ticket-field select[multiple] { min-height:480px; padding:5px; }
html.theme-modern .batch-ticket-field select[multiple] option { border-radius:6px; padding:7px 9px; }
html.theme-modern .batch-ticket-field textarea { line-height:1.5; resize:vertical; }
html.theme-modern .batch-ticket-field input:focus,
html.theme-modern .batch-ticket-field select:focus,
html.theme-modern .batch-ticket-field textarea:focus { border-color:#68abc8; box-shadow:0 0 0 3px rgba(54,147,187,.14); outline:0; }
html.theme-modern .batch-ticket-actions { align-items:center; border-top:1px solid var(--evolv-line); display:flex; justify-content:flex-end; gap:10px; margin-top:20px; padding-top:18px; }
html.theme-modern .sr-only { clip:rect(0,0,0,0); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }
@media (max-width:900px) {
  html.theme-modern .batch-ticket-layout { grid-template-columns:1fr; }
  html.theme-modern .batch-ticket-field select[multiple] { min-height:260px; }
}
@media (max-width:600px) {
  html.theme-modern .batch-ticket-page { padding:10px; }
  html.theme-modern .batch-ticket-header, html.theme-modern .batch-ticket-form { padding:15px; }
  html.theme-modern .batch-ticket-fields { grid-template-columns:1fr; }
  html.theme-modern .batch-ticket-field--wide { grid-column:auto; }
}

/* Persistent dark colour mode, including the legacy table markup still used
   by a number of support workflows. */
html.theme-modern.theme-dark {
  color-scheme:dark;
  --evolv-blue:#2386b5; --evolv-sky:#61c8f2; --evolv-sky-dark:#247da5;
  --evolv-ink:#e5eef2; --evolv-muted:#a7bac3; --evolv-line:#38515d;
  --evolv-canvas:#0e181e; --evolv-card:#17262e; --evolv-surface:#1c2e37; --evolv-soft:#203640;
  --evolv-shadow:0 16px 45px rgba(0,0,0,.34);
}
html.theme-modern.theme-dark #support-toolbar { background:#0b202b !important; }
html.theme-modern.theme-dark #support-toolbar::before { background:#f6f8f9; }
html.theme-modern.theme-dark .col1,
html.theme-modern.theme-dark .modern-card,
html.theme-modern.theme-dark .create-ticket-card,
html.theme-modern.theme-dark .batch-ticket-card { background:var(--evolv-card) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .col1 > .node > .content > table:first-of-type > tbody > tr > td,
html.theme-modern.theme-dark .col1 > .node > .content > table:first-of-type > tr > td,
html.theme-modern.theme-dark .create-ticket-page,
html.theme-modern.theme-dark .workspace-ticket-list-view,
html.theme-modern.theme-dark .workspace-ticket-content,
html.theme-modern.theme-dark .status-change-conversation__posts { background:var(--evolv-soft) !important; }
html.theme-modern.theme-dark .status-change-conversation__posts .ticket-post { filter:drop-shadow(0 3px 8px rgba(0,0,0,.24)); }
html.theme-modern.theme-dark .status-change-conversation__posts .ticket-post > td { background:var(--evolv-surface) !important; border-color:var(--evolv-line) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .status-change-conversation__posts .ticket-post > td.contentPrivate { background:#3c3522 !important; color:#f4ead0 !important; }
html.theme-modern.theme-dark .status-change-conversation__posts .contentPrivate.ticket-post__content,
html.theme-modern.theme-dark .status-change-conversation__posts .contentPrivate.ticket-post__content * { color:#f4ead0 !important; }
html.theme-modern.theme-dark .status-change-conversation__posts .contentPrivate.ticket-post__content a { color:#8ed8f6 !important; }
html.theme-modern.theme-dark h1,
html.theme-modern.theme-dark h2,
html.theme-modern.theme-dark h3,
html.theme-modern.theme-dark h4,
html.theme-modern.theme-dark label,
html.theme-modern.theme-dark legend,
html.theme-modern.theme-dark .modern-form-grid label,
html.theme-modern.theme-dark .batch-ticket-field,
html.theme-modern.theme-dark .batch-ticket-section-heading h2 { color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark a { color:#76cdf3; }
html.theme-modern.theme-dark input:not([type="submit"]):not([type="button"]),
html.theme-modern.theme-dark select,
html.theme-modern.theme-dark textarea,
html.theme-modern.theme-dark .modern-form-grid input:not([type="checkbox"]),
html.theme-modern.theme-dark .modern-form-grid select,
html.theme-modern.theme-dark .modern-form-grid textarea,
html.theme-modern.theme-dark .create-ticket-table input,
html.theme-modern.theme-dark .create-ticket-table select,
html.theme-modern.theme-dark .create-ticket-table textarea,
html.theme-modern.theme-dark .batch-ticket-field input,
html.theme-modern.theme-dark .batch-ticket-field select,
html.theme-modern.theme-dark .batch-ticket-field textarea {
  background:#10212a !important; border-color:#425e6b !important; color:var(--evolv-ink) !important;
}
html.theme-modern.theme-dark input::placeholder,
html.theme-modern.theme-dark textarea::placeholder { color:#8199a5; opacity:1; }
html.theme-modern.theme-dark option { background:#10212a; color:var(--evolv-ink); }
html.theme-modern.theme-dark .workspace-panel__header,
html.theme-modern.theme-dark .workspace-ticket,
html.theme-modern.theme-dark .ticket-filter-panel,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-actions,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-actions td.content,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary td.content,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary td.contentOpen,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary td.contentOnHold,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary td.contentClosed,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post > td,
html.theme-modern.theme-dark .add-post-fields > tbody > tr > td.content,
html.theme-modern.theme-dark .create-ticket-table td.content,
html.theme-modern.theme-dark .batch-ticket-clients,
html.theme-modern.theme-dark .batch-ticket-details,
html.theme-modern.theme-dark .auto-ticket-editor { background:var(--evolv-surface) !important; border-color:var(--evolv-line) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .workspace-ticket:nth-of-type(even) { background:#213640 !important; }
html.theme-modern.theme-dark .workspace-ticket:hover,
html.theme-modern.theme-dark .workspace-ticket.is-selected { background:#294552 !important; border-color:#4183a0 !important; }
html.theme-modern.theme-dark .create-ticket-table td.header,
html.theme-modern.theme-dark .add-post-fields > tbody > tr > td.header,
html.theme-modern.theme-dark .add-post-ticket-preview > summary { background:#203640 !important; color:#9edcf5 !important; }
html.theme-modern.theme-dark .add-post-ticket-metrics { color:#abc8d3; }
html.theme-modern.theme-dark .add-post-header__time { background:#203640; border-color:#456574; color:#abc8d3; }
html.theme-modern.theme-dark .add-post-header__time strong { color:#eef8fb; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-notes,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-notes td.content,
html.theme-modern.theme-dark .workspace-ticket-content .contentPrivate.ticket-post__content { background:#3c3522 !important; color:#f4ead0 !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-notes { border-color:#665a35; }
html.theme-modern.theme-dark .ticket-detail-note { background:#302d22; border-color:#625a3b; border-left-color:#d4a54c; color:#f1e4bd; }
html.theme-modern.theme-dark .ticket-detail-note--closing { background:#1c303a; border-color:#395666; border-left-color:#61b0d5; color:#d5eaf3; }
html.theme-modern.theme-dark .ticket-detail-note__label { color:inherit; }
html.theme-modern.theme-dark .ticket-detail-note__body a { color:#8fd6f3 !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-action--secondary,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-action--compact,
html.theme-modern.theme-dark .add-post-tool-button { background:#203945 !important; border-color:#456574 !important; color:#bfe8fa !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-action--danger { background:#46262b !important; border-color:#7b4349 !important; color:#ffc1c5 !important; }
html.theme-modern.theme-dark .chosen-container-single .chosen-single,
html.theme-modern.theme-dark .chosen-container .chosen-drop,
html.theme-modern.theme-dark .chosen-container .chosen-results { background:#10212a !important; border-color:#425e6b !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .chosen-container .chosen-results li.highlighted { background:#247da5 !important; color:#fff !important; }
html.theme-modern.theme-dark hr { border-color:var(--evolv-line); }

/* Complete dark surfaces. These follow the component rules deliberately so
   their explicit legacy white backgrounds cannot win the cascade. */
html.theme-modern.theme-dark .ticket-list {
  background:#10232c !important;
  border-color:#1b3540 !important;
  box-shadow:inset 0 0 0 1px #10232c;
}
html.theme-modern.theme-dark .ticket-list .ticket-cell { background:var(--evolv-surface) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .ticket-list .ticket_row:nth-child(even) .ticket-cell { background:#20343e !important; }
html.theme-modern.theme-dark .ticket-list .ticket_row:hover .ticket-cell { background:#294652 !important; }
html.theme-modern.theme-dark .ticket-list .ticket-cell a { color:#80d2f5 !important; }
html.theme-modern.theme-dark .ticket-list .ticket-cell a:hover { color:#b7e9fc !important; }
html.theme-modern.theme-dark .ticket-list .ticket-cell--status,
html.theme-modern.theme-dark .ticket-list .ticket-cell--date { color:#c1d1d8 !important; }
html.theme-modern.theme-dark .ticket-list .ticket-date__time { color:#93aab5; }
html.theme-modern.theme-dark .workspace-ticket-list-view .ticket-group__heading,
html.theme-modern.theme-dark .workspace-ticket-list-view .ticket-group__heading > td.ticketHeader {
  background:var(--evolv-soft) !important;
  box-shadow:0 -8px 0 var(--evolv-soft), 0 10px 0 var(--evolv-soft);
}
html.theme-modern.theme-dark .workspace-tabs { background:#1e7096; }
html.theme-modern.theme-dark .workspace-tab.is-active { background:var(--evolv-card); color:var(--evolv-ink); }
html.theme-modern.theme-dark .workspace-tab--home.is-active { color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .support-workspace__detail { background:var(--evolv-soft); }
html.theme-modern.theme-dark .ticket-copy-link:hover { background:#294a59 !important; }
html.theme-modern.theme-dark .ticket-copy-link.is-copied { background:#214938 !important; color:#8ee0b3 !important; }
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell.ticket-cell--overdue,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell.ticket-cell--overdue,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell.ticket-cell--overdue { background:#4a292e !important; border-color:#78464c; color:#ffc2c6 !important; }
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell.ticket-cell--ageing,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell.ticket-cell--ageing,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell.ticket-cell--ageing { background:#473b25 !important; border-color:#75613b; color:#f4d68d !important; }
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-open,
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-open,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-open,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-open { background:#214839 !important; box-shadow:inset 0 0 0 1px #39745b; }
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-closed,
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-closed,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-closed,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-closed { background:#303b40 !important; box-shadow:inset 0 0 0 1px #53636a; }
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--id.ticket-cell--status-other,
html.theme-modern.theme-dark .ticket-list tr.ticket_row td.ticket-cell--title.ticket-cell--status-other,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:nth-child(even) td.ticket-cell--title.ticket-cell--status-other,
html.theme-modern.theme-dark .ticket-list tr.ticket_row:hover td.ticket-cell--title.ticket-cell--status-other { background:#4b302a !important; box-shadow:inset 0 0 0 1px #805246; }
html.theme-modern.theme-dark .ticket-list .ticket-cell--id.ticket-cell--status-open > center > a { color:#91e0b6 !important; }
html.theme-modern.theme-dark .ticket-list .ticket-cell--id.ticket-cell--status-closed > center > a { color:#c6d1d6 !important; }
html.theme-modern.theme-dark .ticket-list .ticket-cell--id.ticket-cell--status-other > center > a { color:#ffb49d !important; }

html.theme-modern.theme-dark .login-card,
html.theme-modern.theme-dark .select-user-option,
html.theme-modern.theme-dark .planning-card,
html.theme-modern.theme-dark .signoff-card,
html.theme-modern.theme-dark .admin-shell,
html.theme-modern.theme-dark .admin-card,
html.theme-modern.theme-dark .internal-notes-card,
html.theme-modern.theme-dark .internal-notes-ticket-preview,
html.theme-modern.theme-dark .post-editor-card,
html.theme-modern.theme-dark .add-post-card,
html.theme-modern.theme-dark .multi-ticket-card,
html.theme-modern.theme-dark .status-change-card,
html.theme-modern.theme-dark .subscription-manager,
html.theme-modern.theme-dark .modern-page-card { background:var(--evolv-card) !important; border-color:var(--evolv-line) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .select-user-card,
html.theme-modern.theme-dark .planning-page,
html.theme-modern.theme-dark .signoff-page,
html.theme-modern.theme-dark .admin-page,
html.theme-modern.theme-dark .internal-notes-page,
html.theme-modern.theme-dark .add-post-page,
html.theme-modern.theme-dark .multi-ticket-page,
html.theme-modern.theme-dark .status-change-page,
html.theme-modern.theme-dark .subscription-page,
html.theme-modern.theme-dark .batch-ticket-page { background:var(--evolv-soft) !important; }
html.theme-modern.theme-dark .planning-content--editing,
html.theme-modern.theme-dark .planning-editor-toolbar,
html.theme-modern.theme-dark .signoff-search,
html.theme-modern.theme-dark .status-change-section__heading,
html.theme-modern.theme-dark .subscription-manager__body,
html.theme-modern.theme-dark .subscription-user,
html.theme-modern.theme-dark .ticket-filter-table td.content { background:var(--evolv-surface) !important; border-color:var(--evolv-line) !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .signoff-table th { background:#203640; border-color:var(--evolv-line); color:#a9dcf2; }
html.theme-modern.theme-dark .signoff-table td { background:var(--evolv-surface); border-color:var(--evolv-line); color:var(--evolv-ink); }
html.theme-modern.theme-dark .signoff-table tr:nth-child(even) td { background:#20343e; }
html.theme-modern.theme-dark .planning-dashboard-summary > div,
html.theme-modern.theme-dark .planning-summary-grid > div,
html.theme-modern.theme-dark .planning-simple-summary > div,
html.theme-modern.theme-dark .planning-filters,
html.theme-modern.theme-dark .planning-form-section,
html.theme-modern.theme-dark .planning-detail-section,
html.theme-modern.theme-dark .planning-task-row,
html.theme-modern.theme-dark .planning-ticket-list > div,
html.theme-modern.theme-dark .planning-project-row { background:var(--evolv-surface); border-color:var(--evolv-line); color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .planning-project-row:hover { background:#294552; }
html.theme-modern.theme-dark .planning-project-row--header,
html.theme-modern.theme-dark .planning-project-row--header:hover { background:#102a36; color:#fff !important; }
html.theme-modern.theme-dark .planning-filters select,
html.theme-modern.theme-dark .planning-field input,
html.theme-modern.theme-dark .planning-field select,
html.theme-modern.theme-dark .planning-field textarea,
html.theme-modern.theme-dark .planning-task-row input,
html.theme-modern.theme-dark .planning-task-row select,
html.theme-modern.theme-dark .planning-ticket-link input { background:#10212a; border-color:#425e6b; color:var(--evolv-ink); }
html.theme-modern.theme-dark .planning-dashboard-summary .is-warning,
html.theme-modern.theme-dark .planning-summary-grid .is-warning,
html.theme-modern.theme-dark .planning-simple-summary .is-warning,
html.theme-modern.theme-dark .planning-task-row--simple.is-due { background:#493126; border-color:#7e513e; }
html.theme-modern.theme-dark .planning-section-heading > strong { background:#203945; color:#9edcf5; }
html.theme-modern.theme-dark .service-status-shell,
html.theme-modern.theme-dark .service-status-history { background:var(--evolv-card); border-color:var(--evolv-line); }
html.theme-modern.theme-dark .service-status-header { background:linear-gradient(90deg,#173b4a,#20566d); border-color:#315c6c; }
html.theme-modern.theme-dark .service-status-summary { background:#24343b; border-color:#4a6069; }
html.theme-modern.theme-dark .service-status-summary--operational { background:#1d3a2c; border-color:#38684d; }
html.theme-modern.theme-dark .service-status-summary--warning { background:#413821; border-color:#75633a; }
html.theme-modern.theme-dark .service-status-summary--incident { background:#45282d; border-color:#754148; }
html.theme-modern.theme-dark .service-status-section-heading,
html.theme-modern.theme-dark .service-status-archive > summary,
html.theme-modern.theme-dark .service-status-timeline--archive { background:var(--evolv-surface); border-color:var(--evolv-line); }
html.theme-modern.theme-dark .service-status-section-heading > span { background:#203945; color:#9edcf5; }
html.theme-modern.theme-dark .admin-card__icon { background:#244554; color:#8ed8f6; }
html.theme-modern.theme-dark .admin-links a,
html.theme-modern.theme-dark .admin-action { background:#203945; border-color:#456574; color:#bfe8fa !important; }
html.theme-modern.theme-dark .give-ownership__menu { background:var(--evolv-card); border-color:var(--evolv-line); color:var(--evolv-ink); }

/* Ticket-view frame and headings use --evolv-ink as a light-mode background,
   so give them an explicit dark surface rather than the dark-mode text value. */
html.theme-modern.theme-dark .support-workspace { background:var(--evolv-soft); }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-subject-row {
  background:var(--evolv-soft);
  box-shadow:0 -12px 0 var(--evolv-soft), 0 10px 0 var(--evolv-soft);
}
html.theme-modern.theme-dark .ticket-filter-table td.header {
  background:#102a36 !important;
  border-color:#294752 !important;
  color:#f4f8fa !important;
}
html.theme-modern.theme-dark .ticket-list > tbody > tr:first-child > td.header,
html.theme-modern.theme-dark .ticket-list > tr:first-child > td.header,
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary td.header {
  background:#102a36 !important;
  border-color:#294752 !important;
  color:#f4f8fa !important;
}
html.theme-modern.theme-dark .workspace-ticket-content .ticket-detail-summary {
  background:var(--evolv-surface);
  border-color:var(--evolv-line);
}
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post { filter:drop-shadow(0 3px 8px rgba(0,0,0,.24)); }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post > td { color:var(--evolv-ink) !important; }
/* Structural blue bars are deliberately quieter in dark mode. Interactive
   blue controls remain brighter so actions are still easy to identify. */
html.theme-modern.theme-dark td.ticketHeader,
html.theme-modern.theme-dark .workspace-ticket-list-view .ticket-group__bar,
html.theme-modern.theme-dark .select-user-header,
html.theme-modern.theme-dark .planning-header,
html.theme-modern.theme-dark .signoff-page__header,
html.theme-modern.theme-dark .admin-header,
html.theme-modern.theme-dark .multi-ticket-header,
html.theme-modern.theme-dark .status-change-header,
html.theme-modern.theme-dark .create-ticket-header,
html.theme-modern.theme-dark .subscription-manager__header,
html.theme-modern.theme-dark .modern-page-card__header,
html.theme-modern.theme-dark .internal-notes-card__header {
  background:linear-gradient(90deg,#173b4a,#20566d) !important;
  border-color:#315c6c !important;
}
html.theme-modern.theme-dark .workspace-tabs { background:#153847; }
html.theme-modern.theme-dark .workspace-tab { background:rgba(109,181,211,.13); }
html.theme-modern.theme-dark .workspace-tab:hover { background:rgba(109,181,211,.23); }
html.theme-modern.theme-dark .workspace-tab.is-active { background:#1d5268; color:#fff; }
html.theme-modern.theme-dark .workspace-tab--home.is-active { color:#fff !important; }

/* Fast Post participates in the conversation flow and scrolls with the posts. */
html.theme-modern .workspace-ticket-content .ticket-post--fast > td { background:#f2f8f5 !important; border-color:#cfe2d6 !important; }
html.theme-modern .ticket-post--fast .ticket-post__meta strong { color:#245f3d; font-size:11px; }
html.theme-modern .fast-post-row__form { margin:0; width:100%; }
html.theme-modern .fast-post-row__form textarea {
  background:#fff; border:1px solid #afcfc0; border-radius:7px; box-sizing:border-box; color:var(--evolv-ink);
  display:block; line-height:1.45; min-height:88px; padding:8px 10px; resize:vertical; width:100%;
}
html.theme-modern .fast-post-row__form textarea:focus { border-color:#4b9a70; box-shadow:0 0 0 3px rgba(57,139,92,.13); outline:0; }
html.theme-modern .ticket-post--fast .ticket-post__fast-time { background:#f2f8f5 !important; }
html.theme-modern .ticket-post--fast .ticket-post__fast-time { min-width:88px; padding:6px !important; vertical-align:middle; }
html.theme-modern .fast-post-row__controls { align-items:stretch; display:flex; flex-direction:column; gap:8px; }
html.theme-modern .fast-post-row__controls label { color:#365f4a; display:flex; flex-direction:column; font-size:9px; font-weight:800; gap:3px; text-transform:uppercase; }
html.theme-modern .fast-post-row__controls select { border:1px solid #afcfc0; border-radius:6px; box-sizing:border-box; font-size:10px; min-height:28px; padding:3px; width:100%; }
html.theme-modern .fast-post-row__controls .fast-post-row__private { align-items:center; flex-direction:row; gap:4px; text-transform:none; white-space:nowrap; }
html.theme-modern .fast-post-row__private input { margin:0; }
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action--fast-submit {
  background:#e0f1e6 !important; border-color:#a8d3b7 !important; color:#245f3d !important; cursor:pointer;
}
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action--fast-submit:hover { background:#cce8d6 !important; }
html.theme-modern .ticket-action--fast-submit .ticket-action__icon { color:#2f7a4d; }
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action--fast-resolve { background:#e8eef8 !important; border-color:#b9c9e2 !important; color:#294f79 !important; cursor:pointer; }
html.theme-modern .workspace-ticket-content .ticket-post__actions .ticket-action--fast-resolve:hover { background:#d7e3f3 !important; }
html.theme-modern .ticket-action--fast-resolve .ticket-action__icon { color:#376b9d; }
html.theme-modern .workspace-ticket-content .ticket-post__actions--fast { padding-bottom:43px !important; position:relative; vertical-align:top; }
html.theme-modern .workspace-ticket-content .ticket-post__actions--fast .ticket-action--fast-resolve { bottom:7px; left:5px; margin:0; position:absolute; width:calc(100% - 10px); }
html.theme-modern .ticket-post__actions--empty { background:inherit !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post--fast > td,
html.theme-modern.theme-dark .ticket-post--fast .ticket-post__fast-time { background:#1d332b !important; border-color:#395c4c !important; }
html.theme-modern.theme-dark .ticket-post--fast .ticket-post__meta strong { color:#aee0c0; }
html.theme-modern.theme-dark .fast-post-row__form textarea { background:#10241c !important; border-color:#47705c !important; color:var(--evolv-ink) !important; }
html.theme-modern.theme-dark .fast-post-row__controls label { color:#b6ddc5; }
html.theme-modern.theme-dark .fast-post-row__controls select { background:#10241c; border-color:#47705c; color:var(--evolv-ink); }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post__actions .ticket-action--fast-submit { background:#28513e !important; border-color:#46755e !important; color:#c5ebd2 !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post__actions .ticket-action--fast-submit:hover { background:#34664e !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post__actions .ticket-action--fast-resolve { background:#263e59 !important; border-color:#496987 !important; color:#c8def3 !important; }
html.theme-modern.theme-dark .workspace-ticket-content .ticket-post__actions .ticket-action--fast-resolve:hover { background:#31506f !important; }
html.theme-modern .workspace-ticket-content .ticket-detail-summary .ticket-detail-summary__ticket-id { min-width:112px; padding-right:35px; position:relative; }
html.theme-modern .conversation-order-toggle {
  align-items:center; background:#e8f3f7 !important; border:1px solid #bad4df !important; border-radius:6px !important;
  color:#176286 !important; cursor:pointer; display:flex; font-size:17px !important; font-weight:900; height:26px;
  justify-content:center; line-height:1 !important; min-height:26px !important; padding:0 !important; position:absolute;
  right:6px; top:50%; transform:translateY(-50%); width:26px;
}
html.theme-modern .conversation-order-toggle:hover { background:#d7eaf2 !important; border-color:#91bfce !important; }
html.theme-modern .conversation-order-toggle:disabled { cursor:wait; opacity:.62; }
html.theme-modern .conversation-order-toggle__icon { display:block; line-height:1; transform:translateY(-1px); }
html.theme-modern.theme-dark .conversation-order-toggle { background:#233e49 !important; border-color:#456572 !important; color:#9edcf5 !important; }
html.theme-modern.theme-dark .conversation-order-toggle:hover { background:#2b4d5a !important; }
/* Engineer statistics */
.statistics-page { box-sizing: border-box; min-height: calc(100vh - 180px); padding: 12px; background: var(--modern-page, #edf7fb); }
.statistics-card { overflow: hidden; border: 1px solid #b8d8e5; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(10,54,74,.08); }
.statistics-card__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; color: #fff; background: #258db8; }
.statistics-card__header h1 { margin: 0; color: inherit; font-size: 22px; line-height: 1.2; }
.statistics-card__header p { margin: 4px 0 0; color: rgba(255,255,255,.88); font-size: 13px; }
.statistics-card__year { padding: 6px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 14px; font-weight: 800; }
.statistics-key { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 10px 20px; border-bottom: 1px solid #d7e6ec; color: #496674; background: #f5fafc; font-size: 12px; }
.statistics-table-wrap { overflow-x: auto; }
.statistics-table { width: 100%; min-width: 1260px; border-collapse: separate; border-spacing: 0; color: #173b4b; font-size: 13px; }
.statistics-table th, .statistics-table td { box-sizing: border-box; padding: 10px 12px; border-right: 1px solid #d7e6ec; border-bottom: 1px solid #d7e6ec; text-align: center; vertical-align: middle; }
.statistics-table thead th { position: sticky; top: 0; z-index: 2; min-width: 108px; color: #fff; background: #102f3d; font-size: 12px; text-transform: uppercase; letter-spacing: .025em; }
.statistics-table thead th span { display: block; margin-top: 3px; color: #a9cad8; font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.statistics-table .statistics-table__engineer { left: 0; z-index: 3; width: 220px; min-width: 220px; text-align: left; }
.statistics-table tbody tr:nth-child(even) td, .statistics-table tbody tr:nth-child(even) th { background: #f5fafc; }
.statistics-table tbody tr:hover td, .statistics-table tbody tr:hover th { background: #eaf6fb; }
.statistics-engineer { position: sticky; left: 0; z-index: 1; display: table-cell; text-align: left !important; background: #fff; }
.statistics-engineer__avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: 9px; overflow: hidden; border: 2px solid #c9e2ec; border-radius: 50%; color: #176d93; background: #e4f3f8; font-weight: 800; vertical-align: middle; }
.statistics-engineer__avatar img { width: 100%; height: 100%; object-fit: cover; }
.statistics-metric__count { display: block; font-size: 18px; font-weight: 900; line-height: 1.1; }
.statistics-metric__time { display: block; min-height: 14px; margin-top: 3px; color: #62808e; font-size: 11px; font-weight: 700; }
.statistics-table .is-current-month { background: #e8f6ed; }
.statistics-table thead .is-current-month { color: #fff; background: #19754b; }
.statistics-table thead .is-current-month span { color: #c4ead5; }
.statistics-table tbody tr:nth-child(even) .is-current-month { background: #dff1e6; }
.statistics-table tbody tr:hover .is-current-month { background: #d4eddf; }
.statistics-table tfoot th, .statistics-table tfoot td { color: #fff; background: #17495e !important; font-weight: 800; }
.statistics-table tfoot th { position: sticky; left: 0; z-index: 1; text-align: left; }
.statistics-table tfoot .statistics-metric__time { color: #c4dce5; }
.statistics-table__empty { padding: 36px !important; color: #69838e; }
.statistics-card__note { margin: 0; padding: 10px 20px; color: #58727e; background: #f5fafc; font-size: 11px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.theme-dark .statistics-page { background: #0b2029; }
.theme-dark .statistics-card { border-color: #31515e; background: #172f39; box-shadow: none; }
.theme-dark .statistics-key, .theme-dark .statistics-card__note { color: #b7ccd5; border-color: #31515e; background: #132b35; }
.theme-dark .statistics-table { color: #e4f1f5; }
.theme-dark .statistics-table th, .theme-dark .statistics-table td { border-color: #385762; }
.theme-dark .statistics-engineer { background: #19333e; }
.theme-dark .statistics-table tbody tr:nth-child(even) td, .theme-dark .statistics-table tbody tr:nth-child(even) th { background: #1d3944; }
.theme-dark .statistics-table tbody tr:hover td, .theme-dark .statistics-table tbody tr:hover th { background: #244653; }
.theme-dark .statistics-metric__time { color: #a9c4ce; }
.theme-dark .statistics-table .is-current-month { background: #20483a; }
.theme-dark .statistics-table tbody tr:nth-child(even) .is-current-month { background: #254f40; }
.theme-dark .statistics-table tbody tr:hover .is-current-month { background: #2b5a48; }
@media (max-width: 760px) { .statistics-page { padding: 6px; } .statistics-card__header { padding: 13px 14px; } .statistics-card__header h1 { font-size: 18px; } .statistics-key { padding: 9px 14px; } }
