*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--c42-page);
  color: var(--c42-ink);
  font-family: var(--c42-font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.c42-app   { min-height: 100vh; display: flex; flex-direction: column; }
.c42-main  { flex: 1 1 auto; padding: 32px var(--c42-inset) 48px; }
.c42-wrap  { width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.c42-wrap--narrow { max-width: var(--c42-measure-narrow); }
.c42-wrap--detail { max-width: var(--c42-measure-detail); }
.c42-wrap--page   { max-width: var(--c42-measure-page); }
.c42-wrap--table  { max-width: var(--c42-measure-table); }

.c42-topbar {
  flex: none; height: 60px; display: flex; align-items: center; gap: 14px;
  padding: 0 var(--c42-inset); background: #fff;
  border-bottom: 1px solid var(--c42-border);
}
.c42-topbar__logo    { height: 26px; width: auto; display: block; }
.c42-topbar__divider { width: 1px; height: 22px; background: var(--c42-border); flex: none; }
.c42-topbar__product { font-weight: 600; font-size: 14px; color: var(--c42-muted); }
.c42-topbar__spacer  { flex: 1 1 auto; }
.c42-topbar__user    { display: flex; align-items: center; gap: 14px; }
.c42-topbar__name    { font-weight: 600; font-size: 14px; }
.c42-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--c42-grit); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 12px;
}

.c42-tabs {
  flex: none; display: flex; align-items: stretch; gap: 4px;
  padding: 0 var(--c42-inset); background: #fff;
  border-bottom: 1px solid var(--c42-border);
}
.c42-tab {
  appearance: none; background: none; border: 0;
  border-bottom: 2px solid transparent;
  height: 46px; padding: 0 14px; cursor: pointer;
  font-family: var(--c42-font); font-weight: 600; font-size: 14px;
  color: rgb(110,110,105); text-decoration: none;
  display: inline-flex; align-items: center;
  transition: color 150ms, border-color 150ms;
}
.c42-tab:hover          { color: var(--c42-ink); border-bottom-color: var(--c42-border); }
.c42-tab[aria-current]  { color: var(--c42-ink); border-bottom-color: var(--c42-orange); }

.c42-footer {
  flex: none; padding: 16px var(--c42-inset); background: #fff;
  border-top: 1px solid var(--c42-hairline-hd);
  text-align: center; font-size: 12px; color: var(--c42-faint);
}

.c42-pagehead    { display: flex; flex-direction: column; gap: 8px; }
.c42-pagehead h1 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.2px; }
.c42-pagehead--lg h1 { font-size: 28px; line-height: 34px; letter-spacing: -0.3px; }
.c42-pagehead__sub   { font-size: 15px; line-height: 23px; color: var(--c42-muted); margin: 0; }
.c42-pagehead__row   { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.c42-pagehead__count { font-size: 13px; color: var(--c42-label); }

.c42-card {
  background: var(--c42-card); border: 1px solid var(--c42-border);
  border-radius: var(--c42-r-card); overflow: hidden;
}
.c42-card__head {
  padding: 14px 20px; border-bottom: 1px solid var(--c42-hairline-hd);
  font-weight: 700; font-size: 11px; line-height: 16px;
  text-transform: uppercase; letter-spacing: .07em; color: var(--c42-label);
}
.c42-card__body { padding: 18px 20px 20px; }
.c42-cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.c42-fieldlist { display: block; margin: 0; }
.c42-fieldlist__row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 0; border-bottom: 1px solid var(--c42-hairline);
}
.c42-fieldlist__row:last-child { border-bottom: 0; }
.c42-fieldlist__label { font-size: 12px; line-height: 16px; color: var(--c42-label); }
.c42-fieldlist__value { font-size: 14px; line-height: 20px; color: var(--c42-ink); overflow-wrap: anywhere; }
.c42-fieldlist__value--strong { font-weight: 600; }
.c42-mono { font-family: var(--c42-mono); font-size: 13px; line-height: 20px; }

.c42-details    { border-top: 1px solid var(--c42-hairline); margin-top: 4px; }
.c42-details > summary {
  cursor: pointer; padding: 12px 0 0; font-size: 13px; font-weight: 600;
  color: var(--c42-muted); list-style: none;
}
.c42-details > summary::-webkit-details-marker { display: none; }
.c42-details > summary::before { content: "▸ "; color: var(--c42-faint); }
.c42-details[open] > summary::before { content: "▾ "; }
.c42-details > summary:focus-visible { outline: 2px solid var(--c42-focus); outline-offset: 2px; }

.c42-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--c42-r-ctrl);
  font-family: var(--c42-font); font-weight: 600; font-size: 14px; line-height: 1;
  cursor: pointer; text-decoration: none;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.c42-btn svg { flex: none; }
.c42-btn--primary        { background: var(--c42-orange-btn); color: #fff; }
.c42-btn--primary:hover  { background: var(--c42-orange-btn-hv); color: #fff; }
.c42-btn--ghost          { background: var(--c42-ghost); color: var(--c42-ink); }
.c42-btn--ghost:hover    { background: var(--c42-ghost-hover); color: var(--c42-ink); }
.c42-btn--outline        { background: none; color: var(--c42-ink-2); border-color: var(--c42-border); }
.c42-btn--outline:hover  { background: var(--c42-ghost); }
.c42-btn--danger         { background: var(--c42-danger); color: #fff; }
.c42-btn--danger:hover   { background: var(--c42-danger-hover); color: #fff; }
.c42-btn--sm             { height: 32px; padding: 0 12px; font-size: 13px; }
.c42-btn--block          { width: 100%; }
.c42-btn:disabled, .c42-btn[aria-disabled="true"] {
  background: var(--c42-ghost); color: var(--c42-faint);
  border-color: transparent; cursor: not-allowed;
}
.c42-btnrow { display: flex; flex-wrap: wrap; gap: 10px; }
.c42-btnrow--end { justify-content: flex-end; }

.c42-link { color: var(--c42-orange-text); font-weight: 600; text-decoration: none; }
.c42-link:hover { text-decoration: underline; }

.c42-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border: 0; border-radius: 6px;
  background: transparent; color: var(--c42-faint); cursor: pointer;
}
.c42-iconbtn:hover { background: var(--c42-ghost); color: var(--c42-ink); }

.c42-btn:focus-visible,
.c42-tab:focus-visible,
.c42-link:focus-visible,
.c42-iconbtn:focus-visible,
.c42-field__control:focus-visible,
.c42-table a:focus-visible,
.c42-offer:focus-visible {
  outline: 2px solid var(--c42-focus);
  outline-offset: 2px;
}

.c42-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 8px; border-radius: var(--c42-r-pill);
  font-weight: 600; font-size: 12.5px; line-height: 1; white-space: nowrap;
}
.c42-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: currentColor;
}
.c42-pill--action  { color: var(--c42-orange-text); background: rgb(255,236,230); }
.c42-pill--wait    { color: var(--c42-wait-text);   background: var(--c42-wait-bg); }
.c42-pill--good    { color: var(--c42-good-text);   background: var(--c42-good-bg); }
.c42-pill--warn    { color: var(--c42-warn-text);   background: var(--c42-warn-bg); }
.c42-pill--crit    { color: var(--c42-danger-text); background: var(--c42-danger-bg); }
.c42-pill--ended   { color: var(--c42-ended-text);  background: var(--c42-ended-bg); }
.c42-pill--unknown { color: var(--c42-ended-text);  background: var(--c42-unknown-bg); }

.c42-banner {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--c42-card); border: 1px solid var(--c42-border);
  border-left: 4px solid var(--c42-danger);
  border-radius: var(--c42-r-card); padding: 18px 20px;
}
.c42-banner--warn { border-left-color: var(--c42-warn-dot); }
.c42-banner--wait { border-left-color: var(--c42-wait-dot); }
.c42-banner__icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--c42-danger); }
.c42-banner--warn .c42-banner__icon { color: rgb(160,120,20); }
.c42-banner--wait .c42-banner__icon { color: var(--c42-wait-text); }
.c42-banner__body  { flex: 1 1 auto; min-width: 0; }
.c42-banner__title { margin: 0 0 4px; font-weight: 600; font-size: 15px; line-height: 22px; }
.c42-banner__text  { margin: 0; font-size: 14px; line-height: 21px; color: var(--c42-ink-2); }
.c42-banner .c42-btnrow { margin-top: 14px; }

.c42-form  { display: flex; flex-direction: column; gap: 18px; }
.c42-field { display: flex; flex-direction: column; gap: 6px; }
.c42-field__label { font-weight: 600; font-size: 13px; line-height: 18px; color: var(--c42-ink-2); }
.c42-field__req   { color: var(--c42-orange-text); margin-left: 2px; }
.c42-field__help  { font-size: 12.5px; line-height: 18px; color: var(--c42-label); }
.c42-field__control {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--c42-field-border); border-radius: var(--c42-r-ctrl);
  background: #fff; color: var(--c42-ink);
  font-family: var(--c42-font); font-size: 14px; line-height: 1;
  transition: border-color 150ms, background-color 150ms;
}
.c42-field__control:hover { border-color: var(--c42-field-hover); }
.c42-field__control:focus { border-color: var(--c42-orange); outline: none; }
textarea.c42-field__control { height: auto; min-height: 88px; padding: 10px 12px; line-height: 1.5; }
select.c42-field__control {
  appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23717170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.c42-field--error .c42-field__control { border-color: var(--c42-danger); background: rgb(253,247,245); }
.c42-field__error {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12.5px; line-height: 18px; color: var(--c42-danger-text);
}
.c42-field__error svg { flex: none; margin-top: 2px; }
.c42-field__control:disabled {
  border-color: var(--c42-field-disabled-border);
  background: var(--c42-field-disabled-bg);
  color: var(--c42-field-disabled-text); cursor: not-allowed;
}
.c42-formsummary {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--c42-danger-bg); border: 1px solid rgb(240,200,192);
  border-radius: var(--c42-r-ctrl); padding: 12px 14px;
  font-size: 13.5px; line-height: 20px; color: var(--c42-danger-text);
}
.c42-formsummary svg { flex: none; margin-top: 2px; }
.c42-formsummary a   { color: var(--c42-danger-text); font-weight: 600; }

.c42-tablewrap { overflow-x: auto; }
.c42-table { width: 100%; border-collapse: collapse; }
.c42-table thead th {
  text-align: left; padding: 12px 20px;
  background: var(--c42-well); border-bottom: 1px solid var(--c42-border);
  font-weight: 700; font-size: 11px; line-height: 16px;
  text-transform: uppercase; letter-spacing: .07em; color: var(--c42-label);
  white-space: nowrap;
}
.c42-table tbody td {
  padding: 14px 20px; border-bottom: 1px solid var(--c42-hairline);
  vertical-align: middle; font-size: 14px;
}
.c42-table tbody tr:last-child td { border-bottom: 0; }
.c42-table tbody tr:hover { background: var(--c42-row-hover); }
.c42-table .c42-cell-name a { font-weight: 600; color: var(--c42-ink); text-decoration: none; }
.c42-table .c42-cell-name a:hover { text-decoration: underline; }
.c42-table .c42-cell-mono { font-family: var(--c42-mono); font-size: 12.5px; color: var(--c42-muted); }
.c42-table .c42-cell-qty  { font-size: 13px; color: var(--c42-faint); }
.c42-table .c42-cell-act  { text-align: right; white-space: nowrap; }

.c42-state {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding: 64px 32px;
}
.c42-state--card {
  background: var(--c42-card); border: 1px solid var(--c42-border);
  border-radius: var(--c42-r-dlg); padding: 40px 32px;
}
.c42-state__icon {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--c42-well); color: var(--c42-orange-text);
}
.c42-state__icon--danger { background: var(--c42-danger-bg); color: var(--c42-danger); }
.c42-state__title { margin: 0; font-weight: 700; font-size: 19px; line-height: 26px; }
.c42-state__body  { margin: 0; font-size: 14.5px; line-height: 22px; color: var(--c42-muted); max-width: 46ch; }
.c42-state__ref   { font-family: var(--c42-mono); font-size: 12.5px; color: var(--c42-label); }

.c42-spinner {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  border: 3px solid var(--c42-hairline-hd); border-top-color: var(--c42-orange);
  animation: c42-spin 900ms linear infinite;
}
@keyframes c42-spin { to { transform: rotate(360deg); } }

.c42-backdrop {
  position: fixed; inset: 0; z-index: 60; background: var(--c42-backdrop);
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
.c42-dialog:focus { outline: none; }
.c42-dialog {
  background: #fff; border-radius: var(--c42-r-dlg);
  box-shadow: var(--c42-shadow-dialog);
  width: 520px; max-width: 100%; max-height: 100%; overflow: auto;
}
.c42-dialog--lg { width: 700px; }
.c42-dialog__head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px 16px; border-bottom: 1px solid var(--c42-hairline-hd);
}
.c42-dialog__head--plain { border-bottom: 0; padding-bottom: 0; }
.c42-dialog__title { margin: 0; font-weight: 700; font-size: 19px; line-height: 25px; letter-spacing: -0.1px; flex: 1 1 auto; }
.c42-dialog__body  { padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.c42-dialog__foot  {
  padding: 16px 24px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--c42-hairline-hd);
}
.c42-dialog__close {
  appearance: none; border: 0; background: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 6px; flex: none;
  color: var(--c42-faint); display: grid; place-items: center;
}
.c42-dialog__close:hover { background: var(--c42-ghost); color: var(--c42-ink); }

.c42-compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center;
  background: var(--c42-well); border-radius: var(--c42-r-ctrl); padding: 14px 16px;
}
.c42-compare__cap   { font-size: 11px; line-height: 16px; text-transform: uppercase; letter-spacing: .07em; color: var(--c42-label); }
.c42-compare__val   { font-weight: 600; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.c42-compare__slug  { font-family: var(--c42-mono); font-size: 12px; color: var(--c42-muted); overflow-wrap: anywhere; }
.c42-compare__arrow { color: var(--c42-faint); flex: none; }
.c42-billnote { margin: 0; font-size: 13px; line-height: 20px; color: var(--c42-muted); }

.c42-timeline { display: flex; flex-direction: column; }
.c42-tl {
  display: grid; grid-template-columns: 132px 22px minmax(0,1fr);
  gap: 0 14px; align-items: start;
}
.c42-tl__when   { font-size: 12.5px; line-height: 18px; color: var(--c42-label); }
.c42-tl__time   { color: var(--c42-faint); }
.c42-tl__rail   { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.c42-tl__dot    { width: 11px; height: 11px; border-radius: 50%; flex: none; margin-top: 5px; }
.c42-tl__line   { width: 1px; flex: 1 1 auto; background: rgb(232,228,222); }
.c42-tl:last-child .c42-tl__line { display: none; }
.c42-tl__what   { padding-bottom: 22px; }
.c42-tl:last-child .c42-tl__what { padding-bottom: 0; }
.c42-tl__status { font-weight: 600; font-size: 14px; line-height: 20px; }
.c42-tl__from   { font-size: 12.5px; line-height: 18px; color: var(--c42-label); }
.c42-tl__from b { font-weight: 400; color: var(--c42-muted); }

.c42-offergrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.c42-offer {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--c42-border);
  border-radius: var(--c42-r-card); padding: 22px;
  transition: border-color 180ms, box-shadow 180ms, transform 180ms;
}
.c42-offer:hover { border-color: var(--c42-orange); box-shadow: var(--c42-shadow-hover); transform: translateY(-2px); }
.c42-offer__head { display: flex; gap: 13px; align-items: flex-start; }
.c42-offer__icon {
  width: 44px; height: 44px; border-radius: var(--c42-r-ctrl); flex: none;
  background: var(--c42-well) center/contain no-repeat;
}
.c42-offer__title { margin: 0; font-weight: 700; font-size: 17px; line-height: 23px; overflow-wrap: anywhere; }
.c42-offer__meta  { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgb(114,114,114); margin-top: 3px; }
.c42-offer__meta i { width: 3px; height: 3px; border-radius: 50%; background: rgb(190,186,180); flex: none; }
.c42-chip {
  padding: 3px 8px; border-radius: 5px; background: var(--c42-pearl);
  color: var(--c42-muted); font-weight: 600; font-size: 11.5px;
}
.c42-offer__summary { font-size: 14px; line-height: 21px; color: var(--c42-ink-2); margin: 0; }
.c42-offer__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--c42-hairline);
  display: flex; flex-direction: column; gap: 14px;
}

.c42-skel        { background: rgb(246,244,240); border-radius: 3px; }
.c42-skel--icon  { width: 44px; height: 44px; border-radius: var(--c42-r-ctrl); background: var(--c42-ghost); flex: none; }
.c42-skel--title { height: 14px; width: 70%; }
.c42-skel--meta  { height: 11px; width: 40%; margin-top: 7px; }
.c42-skel--line  { height: 11px; width: 100%; }
.c42-skel--line2 { height: 11px; width: 82%; }
.c42-skel--cta   { height: 40px; width: 100%; border-radius: var(--c42-r-ctrl); background: var(--c42-ghost); }
.c42-offer--skel { min-height: 214px; }
.c42-offer--skel:hover { border-color: var(--c42-border); box-shadow: none; transform: none; }

.c42-infobar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--c42-border);
  border-radius: var(--c42-r-card); padding: 18px 22px;
  font-size: 14px; line-height: 21px; color: var(--c42-ink-2);
}

.c42-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 1359px) {
  .c42-wrap--table, .c42-wrap--page, .c42-wrap--detail { max-width: 100%; }
  .c42-offergrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 899px) {
  .c42-offergrid { grid-template-columns: minmax(0,1fr); }
  .c42-cards-2   { grid-template-columns: 1fr; }
  .c42-tl        { grid-template-columns: 96px 22px minmax(0,1fr); }

  .c42-topbar__name { display: none; }

  .c42-table thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
  }
  .c42-table, .c42-table tbody, .c42-table tr, .c42-table td { display: block; width: 100%; }
  .c42-table tbody tr {
    background: #fff; border: 1px solid var(--c42-border);
    border-radius: var(--c42-r-card); padding: 16px; margin-bottom: 12px;
  }
  .c42-table tbody tr:hover { background: #fff; }
  .c42-table tbody td { border: 0; padding: 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
  .c42-table tbody td + td { margin-top: 10px; }
  .c42-table tbody td[data-label]::before {
    content: attr(data-label);
    font-size: 12px; line-height: 18px; color: var(--c42-label); flex: none;
  }
  .c42-table .c42-cell-name,
  .c42-table .c42-cell-status,
  .c42-table .c42-cell-act { display: block; }
  .c42-table .c42-cell-name::before,
  .c42-table .c42-cell-status::before,
  .c42-table .c42-cell-act::before { display: none; }
  .c42-table .c42-cell-name a { font-size: 15px; line-height: 21px; }
  .c42-table .c42-cell-status { margin-top: 8px; }
  .c42-table .c42-cell-act    { margin-top: 14px; }
  .c42-table .c42-cell-act .c42-btn { width: 100%; }
}

@media (max-width: 599px) {
  :root { --c42-inset: 16px; }
  .c42-main .c42-btn--primary { width: 100%; }
  .c42-btnrow .c42-btn { flex: 1 1 auto; }
  .c42-compare { grid-template-columns: 1fr; text-align: left; }
  .c42-compare__arrow { transform: rotate(90deg); justify-self: start; }

  .c42-backdrop { padding: 0; align-items: stretch; }
  .c42-dialog { width: 100%; max-width: none; border-radius: 0; max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .c42-spinner { animation: none; border-top-color: var(--c42-orange); }
}

