:root {
  --navy: #061a31;
  --navy2: #0a2948;
  --gold: #c8a96a;
  --ink: #0b1d30;
  --muted: #667887;
  --line: #dce3e8;
  --mist: #f1f4f5;
  --green: #16765f;
  --red: #bd3e45;
  --amber: #936514;
  font-family: Aptos, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--mist);
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 17px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
.muted,
small {
  color: var(--muted);
}
.account-link {
  display: inline-block;
  color: #dce5ee;
  background: none;
  font-size: 12px;
  padding: 5px 8px 0 0;
}
.metric-link {
  display: block;
  min-width: 0;
  border-radius: 12px;
}
.metric-link:hover .metric {
  box-shadow: 0 0 0 2px var(--gold);
}
.ticket-number {
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}
.email-indicator {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  margin-top: 8px;
}
.email-indicator.sent {
  color: #137344;
}
.email-indicator.not-sent,
.email-indicator.failed {
  color: #b52735;
}
.email-indicator.queued {
  color: #946712;
}
[hidden] {
  display: none !important;
}
#ticket-controls .form-grid {
  grid-template-columns: 1fr;
}
#ticket-controls textarea {
  min-height: 70px;
}
#support-results .metrics {
  margin-top: 20px;
}
#support-results h3 {
  margin-top: 16px;
}
.column-filters input[type='date'] {
  width: 145px;
}
.column-filters input[type='number'] {
  width: 100px;
}
.sidebar {
  overflow-y: auto;
}
small {
  font-size: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 238px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  color: #b9c8d5;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 238px;
  inset: 0 auto 0 0;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 26px;
}
.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand strong {
  color: white;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.brand small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 5px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #71899e;
  padding: 15px 14px 8px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav a {
  padding: 12px 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.sidebar nav a:hover {
  background: #ffffff09;
  color: white;
}
.sidebar nav a.active {
  background: #c8a96a18;
  color: #ead2a3;
  box-shadow: inset 3px 0 var(--gold);
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex-shrink: 0;
}
.sidebar footer {
  margin-top: auto;
  padding: 24px 13px 0;
  border-top: 1px solid #ffffff15;
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c8a96a22;
  color: var(--gold);
  font-weight: 600;
}
.sidebar footer strong {
  font-size: 12px;
  color: white;
}
.workspace {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 74px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
}
.topbar .wordmark {
  width: 280px;
  height: auto;
}
.topbar .right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  margin-right: 7px;
}
.content {
  padding: 32px 36px 48px;
  max-width: 1600px;
  margin: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 15px;
}
.page-head p {
  color: var(--muted);
  margin-top: 6px;
}
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.btn {
  background: var(--navy);
  color: white;
  padding: 11px 17px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.btn:hover {
  background: var(--navy2);
}
.btn.gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn.text {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 21px 23px;
  position: relative;
}
.metric .label {
  font-size: 12px;
  color: var(--muted);
}
.metric .value {
  font-size: 35px;
  letter-spacing: -1px;
  margin: 10px 0 7px;
  font-weight: 650;
}
.metric .hint {
  font-size: 11px;
  color: var(--muted);
}
.metric.warning .value {
  color: var(--amber);
}
.metric.danger .value {
  color: var(--red);
}
.metric .metric-icon {
  position: absolute;
  right: 20px;
  top: 21px;
  color: var(--gold);
}
.grid2 {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
}
.grid2 > *,
.detail-grid > *,
.report-grid > * {
  min-width: 0;
}
.panel {
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 24px;
}
.panel-head {
  padding: 21px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.panel-body {
  padding: 23px;
}
.panel-head a {
  font-size: 12px;
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  align-items: center;
}
.toolbar input {
  flex: 1;
  min-width: 180px;
  max-width: 400px;
}
.toolbar select {
  width: auto;
}
.table-wrap {
  overflow-x: auto;
}
.column-sort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 5px 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.column-sort:hover {
  color: var(--ink);
}
.column-sort span {
  color: var(--amber);
}
.asset-table th[aria-sort='ascending'],
.asset-table th[aria-sort='descending'] {
  color: var(--ink);
}
.column-filters td {
  padding: 8px 14px 12px;
  background: #f8fafb;
  border-top: 0;
}
.column-filters input,
.column-filters select {
  min-width: 125px;
  font-size: 12px;
  padding: 8px;
}
.asset-sort-help {
  margin-bottom: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  padding: 13px 22px;
  background: #f8fafb;
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
}
td {
  padding: 16px 22px;
  border-top: 1px solid #edf0f2;
  vertical-align: middle;
}
tr[data-ticket],
tr[data-edit] {
  cursor: pointer;
}
tbody tr:hover {
  background: #fafbfc;
}
.subject {
  font-weight: 600;
  margin-top: 5px;
  display: block;
}
.ref {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ref.ticket-number {
  font-size: 14px;
  font-weight: 750;
  color: var(--navy);
}
table.compact th,
table.compact td {
  padding-left: 12px;
  padding-right: 12px;
}
table.compact .badge {
  font-size: 10px;
}
table.compact .subject {
  min-width: 105px;
}
.metric-link .metric {
  height: 100%;
}
details {
  margin: 12px 0;
}
summary {
  color: var(--navy);
  cursor: pointer;
  padding: 8px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  font-size: 10px;
  padding: 5px 8px;
  white-space: nowrap;
  background: #eef2f5;
  color: #506777;
}
.badge.green {
  background: #e9f5ee;
  color: var(--green);
}
.badge.amber {
  background: #fbf1dd;
  color: var(--amber);
}
.badge.red {
  background: #fceced;
  color: var(--red);
}
.badge.blue {
  background: #e9eff9;
  color: #426596;
}
.renewal-row {
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf0f2;
}
.renewal-row:last-child {
  border: 0;
}
.renewal-row .tile {
  width: 36px;
  height: 36px;
  background: #f6f1e6;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--amber);
}
.renewal-row .grow {
  flex: 1;
}
.renewal-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}
.renewal-row small {
  font-size: 11px;
}
.activity-row {
  padding: 16px 0;
  border-bottom: 1px solid #edf0f2;
  display: flex;
  gap: 12px;
}
.activity-row:last-child {
  border: 0;
}
.activity-row .bullet {
  background: #f1f4f5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8ca0b1;
}
.activity-row p {
  font-size: 12px;
}
.activity-row small {
  font-size: 10px;
}
.summary-strip {
  padding: 24px;
  background: var(--navy);
  color: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}
.summary-strip .large {
  font-size: 32px;
  color: var(--gold);
}
.summary-strip p {
  color: #b9c8d5;
  font-size: 12px;
}
.summary-strip .spacer {
  flex: 1;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.customer-card {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.customer-card h2 {
  margin: 15px 0 7px;
}
.customer-card p {
  font-size: 12px;
  color: var(--muted);
}
.customer-card .stats {
  display: flex;
  gap: 17px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 11px;
}
.customer-card .stats strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.customer-card:hover {
  border-color: var(--gold);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #ccd6dd;
  border-radius: 5px;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 100px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.field {
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin: 14px 0;
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}
.ticket-details-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 18px 24px;
}
.ticket-details-strip .property {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.ticket-details-strip .property strong {
  text-align: left;
  overflow-wrap: anywhere;
}
.sla-countdown {
  min-width: 132px;
  font-variant-numeric: tabular-nums;
}
.sla-countdown strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
}
.sla-countdown small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.sla-countdown.overdue strong {
  color: #b52735;
}
.sla-countdown.paused strong {
  color: #356b9b;
}
.detail-grid aside .sla-countdown {
  margin-bottom: 12px;
}
.timeline {
  padding: 0 24px;
}
.timeline article {
  padding: 22px 0;
  border-bottom: 1px solid #edf0f2;
}
.timeline article.internal {
  border-left: 3px solid var(--gold);
  padding-left: 15px;
  margin-left: -15px;
}
.timeline .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 11px;
}
.timeline .meta small {
  margin-left: auto;
}
.timeline p {
  white-space: pre-wrap;
  font-size: 13px;
}
.property {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
  font-size: 12px;
}
.property span {
  color: var(--muted);
}
.property strong {
  text-align: right;
  font-weight: 500;
}
.description {
  white-space: pre-wrap;
  line-height: 1.7;
}
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.notice {
  border: 1px solid #e2d1a9;
  border-radius: 6px;
  padding: 12px 15px;
  background: #fbf7ed;
  color: #765b27;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.error {
  padding: 10px;
  color: var(--red);
  background: #fceced;
  border-radius: 6px;
  margin-bottom: 14px;
  white-space: pre-wrap;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
dialog {
  width: min(760px, calc(100% - 32px));
  max-height: 90vh;
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 30px 100px #00142e55;
  color: var(--ink);
}
dialog::backdrop {
  background: #061a3180;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 23px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.modal-body {
  padding: 25px 27px;
}
.modal-head button {
  font-size: 22px;
  background: transparent;
  color: var(--muted);
}
#toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 15px 22px;
  border-radius: 7px;
  box-shadow: 0 5px 20px #0003;
  display: none;
  max-width: 420px;
}
#toast.show {
  display: block;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-brand {
  background: var(--navy);
  padding: 12%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: white;
}
.login-brand img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-bottom: 38px;
}
.login-brand h1 {
  font-size: 48px;
  margin-bottom: 20px;
}
.login-brand p {
  color: #aabbcc;
  max-width: 370px;
}
.login-brand .eyebrow {
  color: var(--gold);
}
.login-form {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}
.login-form form {
  width: 350px;
}
.login-form .wordmark {
  width: 100%;
  height: auto;
  margin-bottom: 36px;
}
.login-form h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.login-form p {
  margin-bottom: 26px;
  color: var(--muted);
}
.login-form .btn {
  width: 100%;
  margin-top: 8px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tabs button {
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
}
.tabs button.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
pre {
  overflow: auto;
  background: #f5f7f9;
  border-radius: 7px;
  padding: 20px;
  font-size: 12px;
  line-height: 1.6;
}
.screens-preview {
  background: var(--navy);
  padding: 35px;
  border-radius: 10px;
  color: white;
}
.screens-preview h2 {
  letter-spacing: 2px;
  color: var(--gold);
  font-size: 14px;
}
.screens-preview .metrics {
  margin: 25px 0 0;
}
.screens-preview .metric {
  background: #ffffff08;
  border-color: #ffffff18;
  color: white;
}
.screens-preview .label,
.screens-preview .hint {
  color: #a5b8c9;
}
.link {
  color: #1a5e8f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mobile-toggle {
  display: none;
}
.split-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.bar {
  height: 7px;
  background: #eef2f5;
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0;
}
.bar-fill {
  height: 100%;
  background: var(--gold);
  width: var(--bar, 50%);
}
.help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.settings-grid {
  max-width: 850px;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.no-margin {
  margin-bottom: 0;
}
@media (min-width: 1450px) {
  .metrics {
    gap: 20px;
  }
  .content {
    padding: 38px 45px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    width: 205px;
  }
  .content {
    padding: 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid2,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar .brand {
    padding-left: 0;
    gap: 8px;
  }
  .sidebar .brand strong {
    font-size: 16px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    width: 100%;
  }
  .mobile-toggle {
    display: block;
    background: transparent;
    font-size: 20px;
  }
  .topbar {
    height: 64px;
    padding: 0 18px;
  }
  .topbar .right .muted {
    display: none;
  }
  .content {
    padding: 23px 16px;
  }
  .page-head {
    align-items: flex-start;
  }
  h1 {
    font-size: 26px;
  }
  .page-head p {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
  .metric .value {
    font-size: 29px;
  }
  .metric-icon {
    display: none;
  }
  .cards,
  .report-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-brand {
    display: none;
  }
  .login-form {
    padding: 30px;
  }
  .summary-strip {
    flex-wrap: wrap;
    padding: 20px;
  }
  .panel-head,
  .panel-body {
    padding: 18px;
  }
  .screens-preview {
    padding: 20px;
  }
  td,
  th {
    padding: 13px 15px;
  }
  .modal-body {
    padding: 20px;
  }
  .topbar .wordmark {
    width: 210px;
  }
}
.asset-modal {
  width: min(860px, calc(100% - 32px));
}
.asset-modal .modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
}
.asset-modal .modal-body {
  padding: 0 27px;
}
.asset-form-layout {
  padding-top: 18px;
}
.asset-form-intro {
  margin: 0 0 18px;
}
.asset-form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 14px;
}
.asset-form-section h3 {
  margin: 0 0 14px;
  font-size: 14px;
}
.asset-form-section .field {
  margin-bottom: 0;
}
.asset-form-section .form-grid {
  gap: 14px 22px;
}
.asset-form-section .help {
  margin-bottom: 0;
}
.asset-form-section summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.asset-form-section summary span {
  float: right;
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.asset-form-section[open] summary {
  margin-bottom: 16px;
}
.asset-modal .modal-body > .actions {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 0;
  z-index: 2;
}
.asset-form-section .text {
  padding: 5px 0;
  font-size: 11px;
}
@media (max-width: 700px) {
  .asset-modal .modal-body {
    padding: 0 16px;
  }
  .asset-form-section {
    padding: 14px;
  }
}
.renewal-detail-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: start;
}
.renewal-detail-group {
  background: #f7f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.renewal-detail-group h3,
.renewal-detail-notes h3 {
  font-size: 14px;
  margin: 0 0 18px;
}
.renewal-detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.renewal-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.renewal-detail-item span {
  color: var(--muted);
  font-size: 12px;
}
.renewal-detail-item strong {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.renewal-detail-notes {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.renewal-detail-notes p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
@media (max-width: 480px) {
  .renewal-detail-fields {
    grid-template-columns: 1fr;
  }
}
.column-chooser {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.column-chooser summary {
  cursor: pointer;
  font-weight: 600;
}
.column-chooser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 18px;
  margin: 18px 0;
}
.column-chooser-grid > div {
  display: grid;
  gap: 8px;
}
.column-chooser input[type='checkbox'] {
  width: auto;
}
.column-width-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.column-width-label input {
  width: 85px;
  padding: 6px;
}
.renewal-config-table {
  table-layout: fixed;
  min-width: 0;
}
.renewal-config-table th {
  position: relative;
}
.renewal-config-table th,
.renewal-config-table td {
  overflow-wrap: anywhere;
}
.renewal-config-table [hidden] {
  display: none;
}
.renewal-config-table input,
.renewal-config-table select {
  min-width: 0;
  width: 100%;
}
.renewal-config-table .column-sort {
  width: calc(100% - 8px);
}
.column-resize {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 8px;
  padding: 0;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
  border-right: 2px solid var(--line);
}
.column-resize:hover,
.column-resize:focus-visible {
  background: var(--gold);
}
.date-filter-label {
  display: block;
  text-align: left;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.report-chart-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fafbfd;
}
.report-chart-card h3 {
  margin-bottom: 20px;
}
.report-pie-layout {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.report-doughnut {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.report-doughnut > div {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fafbfd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.report-doughnut strong {
  font-size: 30px;
  color: var(--navy);
}
.report-doughnut span {
  color: var(--muted);
  font-size: 12px;
}
.report-chart-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 150px;
}
.report-chart-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  font-size: 12px;
}
.report-chart-legend strong {
  margin-left: auto;
  white-space: nowrap;
}
.report-chart-legend small {
  color: var(--muted);
  font-weight: normal;
}
.chart-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.report-ring {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
}
#support-results > .grid2 {
  grid-template-columns: minmax(0, 1fr);
}
#support-results .report-pie-layout {
  flex-wrap: nowrap;
}
@media (max-width: 600px) {
  #support-results .report-pie-layout {
    flex-wrap: wrap;
  }
}
.compact-column-chooser {
  width: max-content;
  position: relative;
  padding: 10px 16px;
}
.column-chooser-menu {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  width: 245px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px #061a3120;
  display: grid;
  gap: 12px;
}
.column-chooser-menu input {
  width: auto;
  margin-right: 8px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.critical-banner {
  border-left: 5px solid #b42318;
  background: #fff0ee;
  color: #8b1711;
}
.service-history {
  border-top: 1px solid #dce3eb;
  padding: 14px 0;
}
.service-history dl {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 3fr;
  gap: 8px;
}
.service-history dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.service-history dt {
  color: #62758a;
}
.p1-ticket td:first-child {
  border-left: 4px solid #b42318;
}
