/* Renewal Manager-owned styles. Shared Payment, Item and Ledger styles remain in styles.css. */

body.renewal-command-active,
body:has(#tab-renewals.active) {
  height: auto !important;
  min-height: 100vh;
  overflow-x: clip !important;
  overflow-y: auto !important;
  background: #f4f7fc;
}

body.renewal-command-active .page-shell.workspace-mode,
body:has(#tab-renewals.active) .page-shell.workspace-mode {
  height: auto;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: #f4f7fc;
}

body.renewal-command-active .main-content,
body:has(#tab-renewals.active) .main-content {
  height: auto;
  max-height: none;
  padding: 0 !important;
  overflow: visible;
}

body.renewal-command-active .renewal-command-shell,
body:has(#tab-renewals.active) .renewal-command-shell,
#tab-renewals .renewal-command-shell {
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

#tab-renewals {
  padding: 0 !important;
}

.renewal-command-hero {
  position: relative;
  min-height: 124px;
  padding: 20px 32px 14px;
  overflow: visible;
  color: #10285f;
  background: #ffffff;
}

.renewal-command-hero::before,
.renewal-command-hero-art {
  display: none;
}

.renewal-command-hero-copy {
  position: relative;
  z-index: 2;
  width: calc(100% - 430px);
  max-width: none;
}

.renewal-command-kicker {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #2454df;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.renewal-command-kicker > span {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  color: #2a5bf0;
  background: transparent;
  font-size: 25px;
  display: grid;
  place-items: center;
}

.renewal-command-hero-copy h2 {
  max-width: none;
  color: #10285f;
  font-size: clamp(25px, 2.05vw, 31px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.renewal-command-hero-copy > p:last-child {
  margin: 10px 0 0;
  color: #6174a2;
  font-size: 14px;
  line-height: 1.45;
}

.renewal-command-hero-actions {
  position: absolute;
  z-index: 4;
  top: 30px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.renewal-command-back-btn,
.renewal-command-new-btn {
  min-height: 43px;
  padding: 0 23px;
  border-radius: 8px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-command-back-btn {
  min-width: 230px;
  border: 1px solid #aebcff;
  color: #193368;
  background: #ffffff;
}

.renewal-command-new-btn {
  min-width: 156px;
  border-color: #1f55ec;
  background: linear-gradient(135deg, #2458ed, #1544d4);
  box-shadow: 0 8px 18px rgba(31, 80, 224, 0.22);
}

.renewal-command-kpis {
  z-index: 1;
  margin: 2px 32px 18px;
  min-height: 114px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.renewal-command-kpi {
  position: relative;
  min-height: 114px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 16px 18px;
  border: 1px solid #dde6f5;
  border-radius: 13px;
  background: #fbfdff;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.renewal-command-kpi:hover,
.renewal-command-kpi:focus-visible {
  transform: translateY(-1px);
  outline: 0;
  box-shadow: 0 9px 22px rgba(42, 66, 126, 0.08);
}

.renewal-command-kpi.tone-red {
  border-color: #f6d9dc;
  background: linear-gradient(135deg, #fffafa, #fffdfd);
}

.renewal-command-kpi.tone-amber {
  border-color: #f3dfc8;
  background: linear-gradient(135deg, #fffdf9, #fffefa);
}

.renewal-command-kpi.tone-blue {
  border-color: #d8e3f7;
  background: linear-gradient(135deg, #fbfdff, #fdfefe);
}

.renewal-command-kpi.tone-green {
  border-color: #d4e9dc;
  background: linear-gradient(135deg, #fbfffc, #fdfffe);
}

.renewal-command-kpi-icon {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  font-size: 31px;
  display: grid;
  place-items: center;
}

.renewal-command-kpi.tone-red .renewal-command-kpi-icon {
  color: #df1724;
  background: #fee8ea;
}

.renewal-command-kpi.tone-amber .renewal-command-kpi-icon {
  color: #dc7200;
  background: #fff0df;
}

.renewal-command-kpi.tone-blue .renewal-command-kpi-icon {
  color: #2462e8;
  background: #eaf0ff;
}

.renewal-command-kpi.tone-green .renewal-command-kpi-icon {
  color: #15914d;
  background: #e7f5eb;
}

.renewal-command-kpi small {
  display: block;
  color: #29406f;
  font-size: 11px;
  font-weight: 800;
}

.renewal-command-kpi.tone-red small,
.renewal-command-kpi.tone-red .renewal-command-kpi-arrow {
  color: #df1724;
}

.renewal-command-kpi.tone-amber small,
.renewal-command-kpi.tone-amber .renewal-command-kpi-arrow {
  color: #dc7200;
}

.renewal-command-kpi.tone-blue small,
.renewal-command-kpi.tone-blue .renewal-command-kpi-arrow {
  color: #2462e8;
}

.renewal-command-kpi.tone-green small,
.renewal-command-kpi.tone-green .renewal-command-kpi-arrow {
  color: #168d4c;
}

.renewal-command-kpi strong {
  display: block;
  margin-top: 10px;
  color: #142a5d;
  font-size: 29px;
}

.renewal-command-kpi p {
  margin: 10px 0 0;
  color: #536895;
  font-size: 11px;
}

.renewal-command-kpi-arrow {
  align-self: end;
  margin-bottom: 1px;
  font-size: 14px;
}

.renewal-command-create,
.renewal-command-view {
  margin: 0 32px 22px;
  padding: 18px 16px;
  border: 1px solid #edf0f7;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 9px 28px rgba(37, 60, 117, 0.05);
}

.renewal-command-view {
  padding-top: 8px;
  padding-bottom: 14px;
}

.renewal-command-create-head {
  margin-bottom: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e1e7f5;
  border-radius: 12px;
  background: #ffffff;
}

.renewal-command-create-head h3 {
  margin: 4px 0 0;
  color: #14295c;
  font-size: 21px;
}

.renewal-command-create-head > div > span {
  display: block;
  margin-top: 9px;
  color: #586895;
  font-size: 13px;
  font-weight: 500;
}

.renewal-command-form {
  padding: 22px;
  border: 1px solid #e1e7f5;
  border-radius: 14px;
  background: #ffffff;
}

.renewal-form-v2 {
  padding: 22px 18px;
  border-color: rgba(214, 224, 248, 0.95);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(108, 60, 255, 0.05), transparent 26%),
    #ffffff;
  box-shadow: 0 24px 58px rgba(49, 67, 135, 0.08);
}

.renewal-form-v2 .renewal-command-create-head {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.renewal-form-v2 .eyebrow {
  margin: 0;
  color: #6c3cff;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.renewal-form-v2 .renewal-command-create-head h3 {
  margin-top: 10px;
  color: #101b4f;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.renewal-form-v2 .status-pill {
  border-radius: 11px;
  background: linear-gradient(180deg, #f0edff, #ebe7ff);
  color: #5b39f5;
  box-shadow: 0 10px 24px rgba(101, 70, 245, 0.12);
}

.renewal-form-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 18px;
  align-items: start;
}

.renewal-form-v2 .renewal-command-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.renewal-form-card,
.renewal-form-side-card {
  border: 1px solid #dce5f7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(49, 67, 135, 0.06);
}

.renewal-form-card {
  padding: 18px 16px 16px;
}

.renewal-form-card-title,
.renewal-form-side-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c2a59;
  font-size: 13px;
  font-weight: 800;
}

.renewal-form-card-title {
  margin-bottom: 16px;
}

.renewal-form-card-title > span,
.renewal-form-side-title > span {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  color: #6c3cff;
  background: #f0edff;
  border: 1px solid rgba(108, 60, 255, 0.12);
}

.renewal-details-grid {
  gap: 17px 28px;
}

.renewal-form-v2 label {
  color: #26345f;
  font-size: 12px;
  font-weight: 800;
}

.renewal-form-v2 .field-required {
  color: #dc2626;
  font-weight: 900;
}

.renewal-form-v2 input,
.renewal-form-v2 select,
.renewal-form-v2 textarea {
  min-height: 42px;
  border-color: #dce5f7;
  border-radius: 9px;
  background: #ffffff;
  color: #17234f;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(32, 49, 105, 0.04);
}

.renewal-form-v2 input::placeholder,
.renewal-form-v2 textarea::placeholder {
  color: #9ca9c9;
}

.renewal-form-v2 .field-control .field-icon {
  left: 9px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #6c3cff;
  background: #f2efff;
  border-color: rgba(108, 60, 255, 0.14);
}

.renewal-form-v2 .field-control > input,
.renewal-form-v2 .field-control > select,
.renewal-form-v2 .field-control > textarea {
  padding-left: 42px;
}

.renewal-schedule-panel {
  margin-top: 18px;
  padding: 18px 14px 12px;
  border: 1px solid #edf1fa;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcff, #f7f9ff);
}

.renewal-schedule-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.96fr) minmax(0, 1.05fr);
  gap: 16px 24px;
}

.renewal-validity-field {
  grid-column: span 1;
}

.renewal-form-v2 .inline-field-group,
.renewal-form-v2 .inline-field-group-validity {
  gap: 10px;
}

.renewal-form-v2 .inline-field-group-validity {
  grid-template-columns: minmax(76px, 92px) minmax(70px, auto) minmax(76px, 92px) minmax(80px, auto);
}

.renewal-form-v2 .inline-field-label {
  align-self: center;
  color: #2f3e70;
  font-size: 12px;
}

.renewal-notes-field {
  position: relative;
  margin-top: 16px;
  display: grid;
}

.renewal-notes-field textarea {
  min-height: 68px;
  resize: vertical;
  padding-bottom: 22px;
}

.renewal-notes-count {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #5f6f99;
  font-size: 11px;
  font-weight: 700;
}

.renewal-form-v2 .payment-status-line {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #edf1fa;
  color: #60709f;
}

.renewal-form-v2 .payment-status-line strong {
  color: #5b39f5;
}

.renewal-form-actions {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #edf1fa;
}

.renewal-form-actions .primary-btn,
.renewal-form-actions .secondary-btn,
.renewal-form-actions .ghost-btn {
  min-height: 42px;
  border-radius: 9px;
  padding-inline: 18px;
}

.renewal-form-actions .primary-btn {
  background: linear-gradient(135deg, #6c3cff, #4d35e8);
  box-shadow: 0 12px 24px rgba(91, 57, 245, 0.18);
}

.renewal-form-actions .secondary-btn {
  background: #f3f5ff;
  color: #4d35e8;
  border-color: #e1e6fb;
}

.renewal-form-side {
  display: grid;
  gap: 18px;
}

.renewal-form-side-card {
  padding: 18px 16px;
}

.renewal-summary-list {
  margin: 18px 0 0;
  display: grid;
  gap: 17px;
}

.renewal-summary-list div {
  display: grid;
  gap: 5px;
}

.renewal-summary-list dt {
  color: #68789f;
  font-size: 12px;
  font-weight: 600;
}

.renewal-summary-list dd {
  margin: 0;
  color: #102052;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.renewal-summary-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #5b39f5;
  background: #f0edff;
  font-size: 11px;
  font-weight: 800;
}

.renewal-summary-status.is-renewed {
  color: #168456;
  background: #e7f8ef;
}

.renewal-summary-status.is-expired {
  color: #d32626;
  background: #fdecec;
}

.renewal-form-tips-card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.renewal-form-tips-card p {
  margin: 16px 0 0;
  color: #596995;
  font-size: 12px;
  line-height: 1.65;
}


@media (max-width: 1180px) {
.renewal-form-v2-grid {
    grid-template-columns: 1fr;
  }

.renewal-form-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
.renewal-form-v2 {
    margin-inline: 14px;
    padding: 18px 12px;
  }

.renewal-details-grid,
  .renewal-schedule-grid,
  .renewal-form-side {
    grid-template-columns: 1fr;
  }

.renewal-form-v2 .inline-field-group-validity {
    grid-template-columns: minmax(0, 1fr) auto;
  }

.renewal-form-v2 .inline-field-group-validity select:nth-of-type(2) {
    grid-column: 1;
  }

.renewal-form-actions > * {
    width: 100%;
    justify-content: center;
  }

}

.renewal-command-toolbar {
  display: grid;
  grid-template-columns: minmax(390px, 1fr) auto minmax(170px, 205px) minmax(170px, 205px) auto;
  align-items: start;
  gap: 20px;
  margin-bottom: 14px;
}

.renewal-command-search,
.renewal-command-export-btn,
.renewal-command-filter select,
.renewal-command-clear-btn {
  height: 52px;
  border-color: #d5deef;
  border-radius: 8px;
}

.renewal-command-search {
  padding: 0 14px;
  color: #7d8fb6;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.renewal-command-search input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.renewal-command-export-btn {
  min-width: 170px;
  padding: 0 20px;
  border: 1px solid #cdd8f1;
  color: #1747d5;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.renewal-command-filter {
  display: grid;
  gap: 4px;
}

.renewal-command-filter > span {
  color: #263c6f;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.renewal-command-filter select {
  width: 100%;
  padding: 0 13px;
  color: #152d60;
  font-size: 11px;
}

.renewal-command-clear-btn {
  min-width: 132px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #cfd9f0;
  background: #f8faff;
  color: #26427a;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-command-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.renewal-filter-sidebar {
  min-height: 615px;
  padding: 3px 26px 12px 0;
  border: 0;
  border-right: 1px solid #e5eaf3;
  border-radius: 0;
}

.renewal-filter-head,
.renewal-bulk-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.renewal-filter-head button {
  border: 0;
  background: transparent;
  color: #2452d8;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-filter-head strong,
.renewal-bulk-title strong {
  font-size: 11px;
}

.renewal-filter-sidebar .renewal-quick-filter-chips {
  margin-top: 12px;
  display: grid;
  gap: 0;
}

.renewal-filter-sidebar .renewal-quick-filter-chip {
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #edf0f6;
  border-radius: 0;
  color: #29406d;
  background: #ffffff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.renewal-filter-sidebar .renewal-quick-filter-chip:hover {
  border-color: #edf0f6;
  background: #f8faff;
}

.renewal-filter-sidebar .renewal-quick-filter-chip.is-active {
  border-color: #e2e8f5;
  border-radius: 8px;
  background: #f2f5ff;
  color: #2051df;
}

.renewal-filter-sidebar .renewal-quick-filter-chip b {
  min-width: 23px;
  height: 20px;
  border: 1px solid #e1e6f2;
  background: #f4f6fb;
  color: #68799f;
  display: inline-grid;
  place-items: center;
}

.renewal-filter-sidebar .renewal-quick-filter-chip[data-renewal-quick-filter="overdue"] b {
  border-color: #f6cbd0;
  background: #fff0f1;
  color: #db2632;
}

.renewal-filter-sidebar .renewal-quick-filter-chip[data-renewal-quick-filter="7"] b {
  border-color: #f3d9b7;
  background: #fff7eb;
  color: #dd7a00;
}

.renewal-filter-sidebar .renewal-quick-filter-chip[data-renewal-quick-filter="8_30"] b {
  border-color: #cbdcf9;
  background: #edf4ff;
  color: #2860d7;
}

.renewal-filter-sidebar .renewal-quick-filter-chip[data-renewal-quick-filter="renewed"] b {
  border-color: #cce7d5;
  background: #edf9f1;
  color: #218a4f;
}

.renewal-filter-divider {
  margin: 18px 0;
}

.renewal-bulk-title span {
  display: none;
}

.renewal-bulk-panel {
  display: grid;
  gap: 11px;
}

.renewal-bulk-panel > select {
  width: 100%;
  height: 38px;
  padding: 0 12px !important;
  line-height: 38px;
  border-radius: 7px;
}

.renewal-sidebar-check small {
  display: flex;
  align-items: center;
  gap: 7px;
}

.renewal-sidebar-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344a78;
  font-size: 10px;
}

.renewal-sidebar-check input {
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: #2458ed;
}

.renewal-sidebar-check span {
  display: grid;
  gap: 4px;
}

.renewal-sidebar-check small::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid #d9dfeb;
  border-radius: 2px;
  background: #ffffff;
}

.renewal-bulk-apply-btn,
.renewal-bulk-clear-btn {
  width: 100%;
  min-height: 37px;
  border-radius: 6px;
}

.renewal-bulk-apply-btn {
  border-color: #1953ea;
  background: linear-gradient(135deg, #2458ed, #1745d2);
}

.renewal-bulk-apply-btn:disabled {
  opacity: 1;
  color: #ffffff;
}

.renewal-bulk-clear-btn:disabled {
  opacity: 1;
  color: #2452d8;
}

.renewal-command-list {
  display: grid;
  gap: 8px;
}

.renewal-command-main {
  min-width: 0;
}

.renewal-command-empty {
  min-height: 220px;
  padding: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #d5ddef;
  border-radius: 10px;
  background: #ffffff;
  color: #68769b;
  text-align: center;
}

.renewal-command-empty i {
  color: #2458ed;
  font-size: 28px;
}

.renewal-command-empty strong {
  color: #23315f;
  font-size: 15px;
}

.renewal-command-empty span {
  font-size: 12px;
}

.renewal-command-card {
  min-height: 132px;
  padding: 10px 11px 9px 14px;
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(255px, 1.35fr) 78px minmax(365px, 1.9fr) minmax(170px, 0.82fr);
  grid-template-rows: minmax(76px, auto) auto;
  align-items: center;
  gap: 6px 13px;
  border-width: 1px 1px 1px 3px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.renewal-command-card.is-overdue {
  border-color: #f7c9cd #f7dadd #f7dadd #ef252f;
  background: linear-gradient(90deg, #fffdfd, #fffafa);
}

.renewal-command-card.is-due {
  border-color: #f2d4ad #f3e1c9 #f3e1c9 #ed8300;
  background: linear-gradient(90deg, #fffefa, #fffcf7);
}

.renewal-command-card.is-upcoming {
  border-color: #cbdcf7 #d9e4f6 #d9e4f6 #2e6bea;
  background: linear-gradient(90deg, #fbfdff, #f7fbff);
}

.renewal-command-card.is-renewed {
  border-color: #cce6d5 #dcece2 #dcece2 #249354;
  background: linear-gradient(90deg, #fcfffd, #f8fdf9);
}

.renewal-command-card:hover {
  box-shadow: 0 7px 19px rgba(32, 58, 116, 0.08);
}

.renewal-command-card .renewal-card-selection {
  position: static;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 9px;
}

.renewal-command-card .renewal-card-selection input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.renewal-command-identity {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.renewal-command-identity > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.renewal-command-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #255ddb;
  background: #dfebff;
  font-size: 14px;
  font-weight: 800;
}

.renewal-command-avatar.is-overdue {
  color: #dd2631;
  background: #ffdfe2;
}

.renewal-command-avatar.is-due {
  color: #dd7800;
  background: #ffecd1;
}

.renewal-command-avatar.is-renewed {
  color: #268a50;
  background: #ddefe2;
}

.renewal-command-status {
  justify-self: start;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 7px;
  color: #275dc9;
  background: #e6efff;
  font-size: 9px;
}

.renewal-command-status.is-overdue {
  color: #d81925;
  background: #ffe8ea;
}

.renewal-command-status.is-due {
  color: #dd7200;
  background: #fff0dc;
}

.renewal-command-status.is-renewed {
  color: #22844b;
  background: #e6f6eb;
}

.renewal-command-identity strong {
  min-width: 0;
  overflow: hidden;
  color: #132959;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-command-identity small {
  min-width: 0;
  overflow: hidden;
  color: #263d6e;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-command-day-tile {
  width: 72px;
  min-height: 76px;
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid #d8e4f7;
  border-radius: 8px;
  color: #245fdb;
  background: #eef5ff;
  text-align: center;
}

.renewal-command-day-tile.is-overdue {
  border-color: #f4d0d3;
  color: #d91c27;
  background: #fff0f1;
}

.renewal-command-day-tile.is-due {
  border-color: #f1dcc2;
  color: #dd7800;
  background: #fff5e7;
}

.renewal-command-day-tile.is-renewed {
  border-color: #d5eadc;
  color: #23874d;
  background: #eff9f2;
}

.renewal-command-day-tile > strong {
  font-size: 27px;
  line-height: 1;
  text-transform: uppercase;
}

.renewal-command-day-tile > span,
.renewal-command-day-tile > small {
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.renewal-command-day-tile.is-renewed > i {
  font-size: 21px;
}

.renewal-command-day-tile.is-renewed > strong {
  font-size: 10px;
}

.renewal-command-day-tile.is-renewed > small {
  color: #315e45;
  font-size: 9px;
  font-weight: 500;
  text-transform: none;
}

.renewal-command-meta-grid {
  min-width: 0;
  grid-column: 4;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(105px, 0.9fr) 55px minmax(175px, 1.65fr);
  gap: 0;
}

.renewal-command-meta-grid > div {
  min-width: 0;
  min-height: 55px;
  padding: 5px 10px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid #e3e8f2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.renewal-command-meta-grid > div:first-child {
  padding-left: 0;
}

.renewal-command-meta-grid small {
  color: #687ba5;
  font-size: 10px;
}

.renewal-command-meta-grid strong {
  color: #18315f;
  font-size: 11px;
  font-weight: 700;
}

.renewal-command-meta-grid strong.is-overdue {
  color: #dd1f2a;
}

.renewal-command-meta-grid strong.is-due {
  color: #df7900;
}

.renewal-command-meta-grid strong.is-upcoming {
  color: #2461db;
}

.renewal-command-meta-grid strong.is-renewed {
  color: #23874d;
}

.renewal-command-key strong i {
  margin-left: 3px;
  color: #7c8cac;
  font-size: 10px;
}

.renewal-command-action-zone {
  min-height: 96px;
  grid-column: 5;
  grid-row: 1 / span 2;
  display: grid;
  align-content: start;
  gap: 11px;
}

.renewal-command-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
}

.renewal-command-main-action {
  min-height: 39px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #88acee;
  border-radius: 7px 0 0 7px;
  color: #205bd6;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.renewal-command-main-action.is-overdue {
  border-color: #ef9da3;
  color: #df1724;
}

.renewal-command-main-action.is-due {
  border-color: #edba73;
  color: #de7800;
}

.renewal-command-main-action.is-renewed {
  border-color: #99cfae;
  color: #23864d;
}

#tab-renewals .renewal-command-action-menu {
  min-width: 0;
  width: 38px;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary {
  width: 38px;
  min-height: 39px;
  padding: 0;
  border-color: #c8d6ed;
  border-left: 0;
  border-radius: 0 7px 7px 0;
  color: #2c5ab5;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary span {
  display: none;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary i {
  order: initial;
  padding: 0;
  border: 0;
}

.renewal-command-contact-links {
  display: grid;
  gap: 7px;
}

.renewal-command-contact-links a,
.renewal-command-contact-links button,
.renewal-command-contact-links > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #29426e;
  font-size: 11px;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.renewal-command-contact-links a i,
.renewal-command-contact-links button i,
.renewal-command-contact-links > span i {
  color: #168c49;
  font-size: 12px;
}

.renewal-command-contact-links .is-disabled {
  opacity: 0.42;
}

.renewal-command-info-row {
  min-width: 0;
  grid-column: 2 / 5;
  grid-row: 2;
  margin-left: 63px;
  flex-wrap: nowrap;
  gap: 8px 13px;
  overflow: hidden;
  color: #536b98;
  font-size: 11px;
}

.renewal-command-info-row span {
  white-space: nowrap;
}

.renewal-command-info-row .renewal-command-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #334b82;
}

.renewal-command-info-row .renewal-command-contact-chip small {
  color: #6b7ca7;
  font-size: 10px;
  font-weight: 700;
}

.renewal-command-info-row .renewal-command-contact-chip strong {
  color: #0f2559;
  font-size: 12px;
  font-weight: 900;
}

.renewal-command-info-row .renewal-command-email-chip strong {
  max-width: 210px;
  overflow: hidden;
  color: #294c92;
  text-overflow: ellipsis;
}

.renewal-command-info-row span:not(:first-child) {
  padding: 4px 12px;
  background: #eef1f7;
  color: #4e628c;
}

.renewal-command-pagination {
  margin-top: 15px;
  padding-top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #52618b;
  font-size: 11px;
}

.renewal-command-pagination > select {
  justify-self: end;
  min-width: 140px;
  height: 40px;
  border: 1px solid #dbe2f3;
  border-radius: 8px;
  background: #ffffff;
  color: #25335f;
  padding: 0 12px;
  font-size: 11px;
}

.renewal-page-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.renewal-page-buttons button,
.renewal-page-buttons strong {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.renewal-page-buttons button {
  border: 0;
  background: #f6f7fb;
  color: #7380a2;
}

.renewal-page-buttons button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.renewal-page-buttons strong {
  color: #ffffff;
  background: #2458ed;
}


@media (max-width: 1400px) {
.renewal-command-toolbar {
    grid-template-columns: minmax(300px, 1fr) auto minmax(150px, 180px) minmax(150px, 180px) auto;
    gap: 12px;
  }

.renewal-command-workspace {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
  }

.renewal-command-card {
    grid-template-columns: 25px minmax(185px, 1.1fr) 72px minmax(280px, 1.75fr) minmax(150px, 0.75fr);
    gap: 6px 9px;
  }

.renewal-command-identity {
    gap: 10px;
  }

.renewal-command-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

.renewal-command-info-row {
    margin-left: 52px;
  }

.renewal-command-meta-grid > div {
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media (max-width: 1180px) {
.renewal-command-hero-copy {
    width: calc(100% - 360px);
  }

.renewal-command-back-btn {
    min-width: 190px;
  }

.renewal-command-new-btn {
    min-width: 140px;
  }

.renewal-command-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.renewal-command-toolbar {
    grid-template-columns: 1fr auto auto;
  }

.renewal-command-search {
    grid-column: 1 / -1;
  }

.renewal-command-filter {
    min-width: 190px;
  }

.renewal-command-workspace {
    grid-template-columns: 1fr;
  }

.renewal-filter-sidebar {
    min-height: 0;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid #e5eaf3;
  }

.renewal-filter-sidebar .renewal-quick-filter-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

.renewal-bulk-panel {
    grid-template-columns: 1fr 1fr;
  }

.renewal-bulk-title {
    grid-column: 1 / -1;
  }

}

@media (max-width: 900px) {
body:has(#tab-renewals.active) .page-shell.workspace-mode {
    padding: 0;
  }

body:has(#tab-renewals.active) .renewal-command-shell,
  #tab-renewals .renewal-command-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

.renewal-command-hero {
    min-height: 210px;
    padding: 22px 18px 72px;
  }

.renewal-command-hero-copy {
    width: 100%;
  }

.renewal-command-hero-actions {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 14px;
  }

.renewal-command-back-btn,
  .renewal-command-new-btn {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 10px;
  }

.renewal-command-kpis {
    margin-left: 18px;
    margin-right: 18px;
    gap: 10px;
  }

.renewal-command-create,
  .renewal-command-view {
    margin-left: 12px;
    margin-right: 12px;
  }

.renewal-command-card {
    grid-template-columns: 26px minmax(0, 1fr) 76px;
    grid-template-rows: auto auto auto auto;
    padding: 13px;
  }

.renewal-command-card .renewal-card-selection {
    grid-column: 1;
    grid-row: 1;
  }

.renewal-command-identity {
    grid-column: 2;
    grid-row: 1;
  }

.renewal-command-day-tile {
    grid-column: 3;
    grid-row: 1;
  }

.renewal-command-meta-grid {
    grid-column: 1 / -1;
    grid-row: 2;
  }

.renewal-command-action-zone {
    grid-column: 3;
    grid-row: 3;
  }

.renewal-command-info-row {
    grid-column: 1 / 3;
    grid-row: 3;
    margin-left: 0;
    flex-wrap: wrap;
  }

}

@media (max-width: 620px) {
.renewal-command-hero-copy h2 {
    font-size: 23px;
  }

.renewal-command-kpis {
    grid-template-columns: 1fr;
  }

.renewal-command-toolbar {
    grid-template-columns: 1fr;
  }

.renewal-command-search,
  .renewal-command-export-btn,
  .renewal-command-filter,
  .renewal-command-clear-btn {
    width: 100%;
    min-width: 0;
    grid-column: auto;
  }

.renewal-filter-sidebar .renewal-quick-filter-chips,
  .renewal-bulk-panel {
    grid-template-columns: 1fr;
  }

.renewal-command-card {
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: auto;
  }

.renewal-command-card .renewal-card-selection,
  .renewal-command-identity,
  .renewal-command-day-tile,
  .renewal-command-meta-grid,
  .renewal-command-action-zone,
  .renewal-command-info-row {
    grid-column: 1 / -1;
    grid-row: auto;
  }

.renewal-command-card .renewal-card-selection {
    justify-self: start;
  }

.renewal-command-day-tile {
    width: 100%;
    min-height: 58px;
  }

.renewal-command-meta-grid {
    grid-template-columns: 1fr;
  }

.renewal-command-meta-grid > div {
    min-height: 48px;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid #e3e8f2;
  }

.renewal-command-info-row {
    margin: 0;
  }

.renewal-command-info-row .renewal-command-contact-chip {
    white-space: normal;
  }

.renewal-command-info-row .renewal-command-email-chip strong {
    max-width: 100%;
  }

.renewal-command-pagination {
    grid-template-columns: 1fr;
  }

.renewal-command-pagination > select {
    justify-self: stretch;
    width: 100%;
  }

}

.renewal-home-stat-grid .payment-home-stat-card[data-renewal-home-stat] {
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.renewal-home-stat-grid .payment-home-stat-card[data-renewal-home-stat]:hover {
  border-color: #cbd9fb;
  box-shadow: 0 14px 30px rgba(20, 40, 90, 0.12);
  transform: translateY(-1px);
}

.renewal-home-stat-grid .payment-home-stat-card[data-renewal-home-stat]:focus-visible {
  outline: 2px solid #3f46f4;
  outline-offset: 2px;
}

.renewal-home-dashboard .payment-home-heading-row p {
  max-width: 68ch;
}

#renewalHomeValueAmount {
  font-size: clamp(30px, 2vw, 38px);
  line-height: 1.06;
  white-space: nowrap;
}

.renewal-home-product-cell {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.renewal-home-recent-table {
  min-width: 620px;
}

.renewal-home-recent-cards {
  display: none;
}

.renewal-home-recent-card,
.renewal-home-recent-card-empty {
  min-width: 0;
}

.renewal-home-recent-table th:nth-child(1),
.renewal-home-recent-table td:nth-child(1) {
  width: 20%;
  min-width: 150px;
}

.renewal-home-recent-table th:nth-child(2),
.renewal-home-recent-table td:nth-child(2) {
  width: 42%;
  min-width: 260px;
}

.renewal-home-recent-table th:nth-child(3),
.renewal-home-recent-table td:nth-child(3) {
  width: 15%;
  min-width: 120px;
}

.renewal-home-recent-table th:nth-child(4),
.renewal-home-recent-table td:nth-child(4) {
  width: 13%;
  min-width: 92px;
}

.renewal-home-recent-table th:nth-child(5),
.renewal-home-recent-table td:nth-child(5) {
  width: 10%;
  min-width: 92px;
}

.renewal-home-product-cell > i {
  color: #5168af;
  font-size: 13px;
}

.renewal-home-product-cell > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-home-days {
  font-size: 13px;
  font-weight: 600;
}

.renewal-home-days.is-overdue {
  color: #dc2626;
}

.renewal-home-days.is-due {
  color: #f59e0b;
}

.renewal-home-days.is-active {
  color: #16a34a;
}

.renewal-home-expiring-card {
  padding-bottom: 8px;
}

.renewal-home-expiring-list {
  display: grid;
  gap: 10px;
  margin: 4px 0;
}

.renewal-home-expiring-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.renewal-home-expiring-list span {
  color: #203f8a;
  font-size: 16px;
  font-weight: 600;
}

.renewal-home-expiring-list strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.renewal-home-expiring-list > div:nth-child(1) strong {
  color: #f59e0b;
}

.renewal-home-expiring-list > div:nth-child(2) strong {
  color: #fb923c;
}

.renewal-home-expiring-list > div:nth-child(3) strong {
  color: #dc2626;
}

.renewal-view-sticky {
  position: static;
  top: auto;
  z-index: 12;
  margin-bottom: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(111, 130, 205, 0.24);
  background: linear-gradient(120deg, rgba(251, 253, 255, 0.98), rgba(239, 245, 255, 0.95));
  box-shadow: 0 10px 20px rgba(78, 98, 168, 0.12);
}

.renewal-search-row {
  margin-bottom: 0.45rem;
}

.renewal-quick-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.renewal-quick-filter-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #4f5f94;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.renewal-quick-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.renewal-quick-filter-chip {
  border: 1px solid rgba(79, 102, 184, 0.24);
  border-radius: 999px;
  background: rgba(89, 111, 192, 0.1);
  color: #334780;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.26rem 0.56rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.renewal-quick-filter-chip:hover {
  transform: translateY(-1px);
}

.renewal-quick-filter-chip:focus-visible {
  outline: 2px solid rgba(66, 97, 196, 0.46);
  outline-offset: 2px;
}

.renewal-quick-filter-chip.is-active {
  border-color: #395ec5;
  background: linear-gradient(135deg, #5d7fe8 0%, #3f66d2 100%);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(46, 78, 173, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.renewal-quick-filter-chip.is-active:hover {
  transform: translateY(-1px);
}

.renewal-clear-filters-btn {
  margin-left: auto;
  white-space: nowrap;
  border: 1px solid rgba(67, 89, 168, 0.28);
  background: rgba(255, 255, 255, 0.84);
  color: #2f447a;
}

.renewal-bulk-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(84, 106, 187, 0.24);
}

.renewal-select-all-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3f5186;
}

.renewal-bulk-count {
  font-size: 0.82rem;
  color: #3b4f82;
  background: rgba(93, 123, 214, 0.12);
  border: 1px solid rgba(93, 123, 214, 0.2);
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
}

.renewal-bulk-row select {
  min-width: 180px;
}

.renewal-auto-cycle-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3e4f80;
}

.renewal-auto-cycle-toggle input {
  margin: 0;
}

.renewal-action-queue-card {
  margin-bottom: 0.75rem;
  padding: 0.64rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(67, 93, 178, 0.2);
  background: linear-gradient(145deg, rgba(252, 254, 255, 0.96), rgba(239, 246, 255, 0.9));
  box-shadow: 0 10px 24px rgba(62, 86, 164, 0.08);
}

.renewal-action-queue-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.8rem;
  margin-bottom: 0.58rem;
}

.renewal-action-queue-head h3 {
  margin: 0;
  font-size: 0.98rem;
  color: #233b78;
}

.renewal-action-queue-head p {
  margin: 0;
  font-size: 0.82rem;
  color: #566696;
}

.renewal-action-queue-list {
  display: grid;
  gap: 0.48rem;
}

.renewal-action-queue-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
  border: 1px solid rgba(84, 108, 186, 0.18);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 0.55rem 0.64rem;
}

.renewal-action-queue-meta {
  display: grid;
  gap: 0.14rem;
}

.renewal-action-queue-meta strong {
  color: #1f356b;
}

.renewal-action-queue-meta span {
  font-size: 0.82rem;
  color: #52608b;
}

.renewal-action-queue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.renewal-action-queue-days {
  font-size: 0.78rem;
  font-weight: 800;
  color: #39509a;
  background: rgba(75, 101, 188, 0.12);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.renewal-card-actions {
  align-items: center;
}

.renewal-card-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.renewal-card-primary-action {
  border: 1px solid rgba(63, 93, 192, 0.24);
  background: rgba(70, 99, 193, 0.1);
  color: #2b417e;
}

.renewal-card-primary-action-renew {
  border-color: rgba(39, 126, 87, 0.28);
  background: rgba(39, 126, 87, 0.13);
  color: #1e6545;
}

.renewal-card-primary-action-plus {
  border-color: rgba(82, 111, 189, 0.28);
  background: rgba(82, 111, 189, 0.12);
  color: #2f4d96;
}

.renewal-history-dialog {
  width: min(1080px, 100%);
}

.renewal-history-summary {
  margin: 0 0 0.62rem;
}

.renewal-history-meta-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(113, 130, 196, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
}

.renewal-history-meta-table th,
.renewal-history-meta-table td {
  padding: 0.42rem 0.58rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(113, 130, 196, 0.14);
  line-height: 1.35;
}

.renewal-history-meta-table tr:first-child th,
.renewal-history-meta-table tr:first-child td {
  border-top: 0;
}

.renewal-history-meta-table th {
  width: 170px;
  color: #4c5e92;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(238, 243, 255, 0.72);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.renewal-history-meta-table td {
  color: #2f437a;
  font-size: 0.87rem;
  font-weight: 600;
  word-break: break-word;
}

.renewal-history-table-wrap {
  border: 1px solid rgba(113, 130, 196, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  max-height: min(58vh, 640px);
  overflow: auto;
}

.renewal-history-table {
  margin: 0;
}

.renewal-history-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(237, 241, 255, 0.98);
}

.renewal-history-table td {
  vertical-align: top;
}

.renewal-history-key-list {
  display: grid;
  gap: 0.22rem;
}

.renewal-history-key-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(113, 130, 196, 0.3);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.renewal-card-summary-wrap {
  display: grid;
  justify-items: end;
  gap: 0.42rem;
}

.renewal-card-selection {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4b5d92;
}

.renewal-card-selection input {
  margin: 0;
}

.renewal-card-selected {
  border-color: rgba(52, 87, 196, 0.42);
  background: linear-gradient(140deg, rgba(241, 247, 255, 0.94), rgba(236, 243, 255, 0.9));
  box-shadow: 0 12px 24px rgba(55, 88, 170, 0.12);
}


@media (max-width: 820px) {
.renewal-view-sticky {
    position: static;
  }

.renewal-quick-filter-row {
    align-items: flex-start;
  }

.renewal-clear-filters-btn {
    margin-left: 0;
  }

.renewal-bulk-row {
    align-items: stretch;
  }

.renewal-bulk-row > * {
    width: 100%;
  }

.renewal-auto-cycle-toggle {
    margin-left: 0;
  }

.renewal-action-queue-actions {
    justify-content: flex-start;
  }

}

@media (max-width: 0px) {
body:has(#tab-renewals.active) .app-header {
  display: none;
}

body:has(#tab-renewals.active) .page-shell.workspace-mode {
  height: 100vh;
  max-height: 100vh;
  padding: 0;
}

body:has(#tab-renewals.active) .main-content {
  height: 100vh;
  max-height: 100vh;
}

body:has(#tab-renewals.active) .renewal-command-shell {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#tab-renewals {
  font-family: "Inter", "Manrope", sans-serif;
}

#tab-renewals .renewal-command-shell {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #dfe5f5;
  background: #fbfcff;
  box-shadow: 0 18px 46px rgba(42, 54, 116, 0.12);
}

.renewal-command-hero {
  position: relative;
  min-height: 306px;
  overflow: hidden;
  padding: 34px 38px 78px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 52%, rgba(108, 65, 255, 0.55), transparent 26%),
    radial-gradient(circle at 65% 86%, rgba(31, 76, 255, 0.34), transparent 32%),
    linear-gradient(132deg, #11133e 0%, #101749 48%, #171258 74%, #281061 100%);
}

.renewal-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(132deg, transparent 0 44%, rgba(111, 120, 255, 0.1) 44.2%, transparent 44.5%),
    linear-gradient(0deg, rgba(34, 70, 255, 0.12), transparent 30%);
}

.renewal-command-hero-copy {
  position: relative;
  z-index: 2;
  width: min(60%, 680px);
}

.renewal-command-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b9a6ff;
  font-size: 15px;
  font-weight: 700;
}

.renewal-command-kicker > span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid rgba(207, 214, 255, 0.48);
  color: #ffffff;
  background: rgba(116, 102, 255, 0.12);
}

.renewal-command-hero-copy h2 {
  margin: 0;
  max-width: 570px;
  color: #ffffff;
  font-size: clamp(32px, 3.3vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.renewal-command-hero-copy > p:last-child {
  margin: 18px 0 0;
  color: #d2d7f4;
  font-size: 15px;
  line-height: 1.7;
}

.renewal-command-hero-actions {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.renewal-command-back-btn,
.renewal-command-new-btn {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-command-back-btn {
  border: 1px solid rgba(169, 179, 255, 0.5);
  background: rgba(14, 17, 66, 0.44);
}

.renewal-command-new-btn {
  border: 1px solid rgba(126, 106, 255, 0.9);
  background: linear-gradient(135deg, #4c3dff, #6334ef);
  box-shadow: 0 12px 28px rgba(79, 52, 235, 0.34);
}

.renewal-command-back-btn:hover,
.renewal-command-new-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.renewal-command-hero-art {
  position: absolute;
  z-index: 2;
  right: 76px;
  bottom: 54px;
  width: 280px;
  height: 180px;
  filter: drop-shadow(0 20px 34px rgba(5, 8, 58, 0.52));
}

.renewal-command-monitor {
  position: absolute;
  left: 36px;
  top: 18px;
  width: 168px;
  height: 126px;
  border-radius: 17px;
  border: 1px solid rgba(120, 125, 255, 0.45);
  background: linear-gradient(145deg, rgba(75, 59, 210, 0.72), rgba(19, 36, 118, 0.56));
  box-shadow: inset 0 0 26px rgba(122, 96, 255, 0.26), 0 0 36px rgba(74, 69, 255, 0.28);
}

.renewal-command-monitor-screen {
  position: absolute;
  inset: 17px 20px 24px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(113, 80, 255, 0.58), rgba(34, 59, 177, 0.22));
  border: 1px solid rgba(166, 168, 255, 0.22);
}

.renewal-command-monitor-screen span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(189, 170, 255, 0.88), rgba(68, 101, 255, 0.18));
}

.renewal-command-monitor-screen span:nth-child(2) {
  width: 78%;
}

.renewal-command-monitor-screen span:nth-child(3) {
  width: 62%;
}

.renewal-command-monitor-stand {
  position: absolute;
  left: 62px;
  bottom: -22px;
  width: 44px;
  height: 25px;
  border-bottom: 8px solid rgba(63, 75, 185, 0.76);
}

.renewal-command-monitor-stand::after {
  content: "";
  position: absolute;
  left: -25px;
  bottom: -10px;
  width: 94px;
  height: 8px;
  border-radius: 999px;
  background: rgba(50, 61, 165, 0.82);
}

.renewal-command-shield {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 92px;
  height: 108px;
  display: grid;
  place-items: center;
  color: #51e0ff;
  font-size: 42px;
  border: 3px solid rgba(218, 206, 255, 0.78);
  border-radius: 50% 50% 56% 56% / 34% 34% 70% 70%;
  background: linear-gradient(145deg, rgba(177, 142, 255, 0.98), rgba(76, 45, 240, 0.96));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.28), 0 12px 28px rgba(35, 19, 158, 0.48);
  transform: rotate(1deg);
}

.renewal-command-shield::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.renewal-command-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #7658ff;
  transform: rotate(45deg);
  box-shadow: 0 0 18px #795cff;
}

.renewal-command-spark.spark-one {
  left: 10px;
  top: 54px;
}

.renewal-command-spark.spark-two {
  right: 3px;
  top: 64px;
}

.renewal-command-spark.spark-three {
  right: 15px;
  bottom: 20px;
  width: 9px;
  height: 9px;
  background: #2f6bff;
}

.renewal-command-kpis {
  position: relative;
  z-index: 5;
  margin: -43px 20px 28px;
  min-height: 150px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  border-radius: 16px;
  border: 1px solid #e1e6f4;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(34, 47, 108, 0.09);
}

.renewal-command-kpi {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.renewal-command-kpi-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 25px;
}

.renewal-command-kpi-icon.tone-blue {
  color: #3d5cff;
  background: #eef2ff;
}

.renewal-command-kpi-icon.tone-amber {
  color: #ed8a00;
  background: #fff5e7;
}

.renewal-command-kpi-icon.tone-green {
  color: #24a054;
  background: #ebf8ef;
}

.renewal-command-kpi-icon.tone-violet {
  color: #7347ff;
  background: #f2edff;
}

.renewal-command-kpi small {
  display: block;
  color: #52618f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.renewal-command-kpi strong {
  display: block;
  margin-top: 7px;
  color: #111b4c;
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.renewal-command-kpi p {
  margin: 13px 0 0;
  color: #5a6895;
  font-size: 11px;
  line-height: 1.35;
}

.renewal-command-create,
.renewal-command-view {
  padding: 0 20px 22px;
}

.renewal-command-create-head {
  margin-bottom: 16px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #e1e7f5;
  border-radius: 14px;
  background: #ffffff;
}

.renewal-command-create-head h3 {
  margin: 4px 0 0;
  color: #141f50;
  font-size: 21px;
}

.renewal-command-form {
  padding: 22px;
  border: 1px solid #e1e7f5;
  border-radius: 16px;
  background: #ffffff;
}

.renewal-command-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto minmax(160px, 180px) minmax(160px, 180px);
  align-items: end;
  gap: 18px;
  margin-bottom: 26px;
}

.renewal-command-search {
  height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #dbe2f3;
  border-radius: 10px;
  background: #ffffff;
  color: #8090b6;
}

.renewal-command-search input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172454;
  box-shadow: none;
  font-size: 12px;
}

.renewal-command-search input::placeholder {
  color: #7787ae;
  opacity: 1;
}

.renewal-command-export-btn {
  height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #a9a6ff;
  border-radius: 9px;
  background: #ffffff;
  color: #4c36ed;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-command-filter {
  display: grid;
  gap: 7px;
}

.renewal-command-filter > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #182450;
  font-size: 11px;
  font-weight: 700;
}

.renewal-command-filter > span em {
  color: #6f7ca0;
  font-style: normal;
  font-weight: 500;
}

.renewal-command-filter > span i {
  color: #d1d7e8;
  font-size: 11px;
}

.renewal-command-filter select {
  width: 100%;
  height: 48px;
  border: 1px solid #dbe2f3;
  border-radius: 10px;
  background-color: #ffffff;
  color: #182450;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
}

.renewal-command-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.renewal-filter-sidebar {
  min-height: 740px;
  padding: 14px 16px 20px;
  border: 1px solid #e1e6f3;
  border-radius: 14px;
  background: #ffffff;
}

.renewal-filter-head,
.renewal-bulk-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.renewal-filter-head strong,
.renewal-bulk-title strong {
  color: #1a2655;
  font-size: 12px;
  text-transform: uppercase;
}

.renewal-filter-head button {
  border: 0;
  background: transparent;
  color: #5a3cff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.renewal-filter-sidebar .renewal-quick-filter-chips {
  margin-top: 13px;
  display: grid;
  gap: 7px;
}

.renewal-filter-sidebar .renewal-quick-filter-chip {
  width: 100%;
  min-height: 36px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e4e8f4;
  border-radius: 8px;
  background: #ffffff;
  color: #33416f;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  box-shadow: none;
}

.renewal-filter-sidebar .renewal-quick-filter-chip b {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f0f2f9;
  color: #7b87aa;
  font-size: 10px;
}

.renewal-filter-sidebar .renewal-quick-filter-chip:hover {
  transform: none;
  border-color: #d2cffd;
  background: #faf9ff;
}

.renewal-filter-sidebar .renewal-quick-filter-chip.is-active {
  border-color: #d7d1ff;
  background: linear-gradient(90deg, #f3efff, #fbfaff);
  color: #5634f5;
  box-shadow: none;
}

.renewal-filter-sidebar .renewal-quick-filter-chip.is-active b {
  background: #e6e1ff;
  color: #6b47f5;
}

.renewal-filter-divider {
  height: 1px;
  margin: 22px 0;
  background: #e5e9f3;
}

.renewal-bulk-panel {
  display: grid;
  gap: 12px;
}

.renewal-bulk-title strong {
  text-transform: none;
  font-size: 13px;
}

.renewal-bulk-title span {
  color: #7885a7;
  font-size: 10px;
}

.renewal-bulk-panel > select {
  width: 100%;
  height: 44px;
  border: 1px solid #dbe2f3;
  border-radius: 9px;
  background: #ffffff;
  color: #26345f;
  padding: 0 12px;
  font-size: 11px;
}

.renewal-sidebar-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3e4d78;
  font-size: 11px;
  line-height: 1.45;
}

.renewal-sidebar-check input {
  width: 14px !important;
  min-width: 14px;
  height: 14px;
  padding: 0;
  margin: 1px 0 0;
  accent-color: #5b3df5;
}

.renewal-sidebar-check span {
  display: grid;
  gap: 2px;
}

.renewal-sidebar-check small {
  color: #7180a5;
  font-size: 10px;
}

.renewal-bulk-apply-btn,
.renewal-bulk-clear-btn {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.renewal-bulk-apply-btn {
  border: 1px solid #5e40f4;
  background: linear-gradient(135deg, #5636ef, #6438ee);
  color: #ffffff;
}

.renewal-bulk-clear-btn {
  border: 1px solid #795cff;
  background: #ffffff;
  color: #5638e8;
}

.renewal-bulk-apply-btn:disabled,
.renewal-bulk-clear-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.renewal-command-main {
  min-width: 0;
}

#tab-renewals .renewal-action-queue-card {
  margin: 0 0 18px;
  min-height: 164px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid #1f2b72;
  border-radius: 13px;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 38%, rgba(115, 72, 255, 0.36), transparent 24%),
    linear-gradient(128deg, #1b225d, #16194e 62%, #17184b);
  box-shadow: none;
}

#tab-renewals .renewal-action-queue-head {
  margin: 0 0 20px;
}

#tab-renewals .renewal-action-queue-head p {
  margin: 0;
  color: #9e8cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.renewal-action-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.renewal-action-empty strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
}

.renewal-action-empty p {
  margin: 10px 0 0;
  color: #d7ddf7;
  font-size: 14px;
}

.renewal-action-empty-art {
  position: absolute;
  right: 42px;
  bottom: 22px;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  color: #d5d7ff;
  font-size: 70px;
  filter: drop-shadow(0 9px 18px rgba(4, 7, 40, 0.42));
}

.renewal-action-empty-art > span {
  position: absolute;
  right: -5px;
  bottom: 3px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #43c77f;
  color: #ffffff;
  font-size: 21px;
}

#tab-renewals .renewal-action-queue-list {
  gap: 9px;
}

#tab-renewals .renewal-action-queue-item {
  padding: 11px 13px;
  border-color: rgba(202, 210, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

#tab-renewals .renewal-action-queue-meta strong {
  color: #ffffff;
}

#tab-renewals .renewal-action-queue-meta span {
  color: #ccd3f3;
}

.renewal-command-list {
  display: grid;
  gap: 12px;
}

.renewal-command-card {
  padding: 20px 22px 18px 48px;
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid #e0e6f3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(36, 48, 105, 0.035);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.renewal-command-card:hover {
  border-color: #cfd7ee;
  box-shadow: 0 10px 24px rgba(39, 50, 105, 0.08);
}

.renewal-command-card.renewal-card-selected {
  border-color: #8e7bff;
  background: #fbfaff;
  box-shadow: 0 10px 26px rgba(91, 65, 235, 0.13);
}

.renewal-command-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.renewal-command-card .renewal-card-selection {
  position: absolute;
  left: 16px;
  top: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.renewal-command-card .renewal-card-selection input {
  width: 15px;
  height: 15px;
  accent-color: #5b3cf0;
}

.renewal-command-status {
  min-height: 23px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.renewal-command-status.is-renewed {
  background: #e8f8ed;
  color: #249051;
}

.renewal-command-status.is-pending {
  background: #fff2de;
  color: #e17b00;
}

.renewal-command-status.is-expired {
  background: #ffebeb;
  color: #d93636;
}

.renewal-command-due {
  margin-left: auto;
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.renewal-command-due strong {
  font-size: 12px;
  font-weight: 800;
}

.renewal-command-due span {
  color: #53618c;
  font-size: 11px;
}

.renewal-command-due.is-overdue strong {
  color: #ed2f3c;
}

.renewal-command-due.is-due strong {
  color: #ef8200;
}

.renewal-command-due.is-renewed strong {
  color: #249051;
}

.renewal-command-due.is-upcoming strong {
  color: #3564ce;
}

.renewal-command-due.is-muted strong {
  color: #7682a5;
}

.renewal-command-card-heading {
  display: grid;
  gap: 5px;
}

.renewal-command-card-heading strong {
  color: #162250;
  font-size: 15px;
  font-weight: 800;
}

.renewal-command-card-heading span {
  color: #263565;
  font-size: 12px;
}

.renewal-command-meta-grid {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(74px, 0.6fr) minmax(130px, 1fr) minmax(220px, 2.3fr);
  gap: 10px;
}

.renewal-command-meta-grid > div {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-radius: 9px;
  background: #fbfcff;
  box-shadow: 0 3px 12px rgba(36, 48, 105, 0.045);
}

.renewal-command-meta-grid small {
  color: #7380a3;
  font-size: 10px;
}

.renewal-command-meta-grid strong {
  min-width: 0;
  overflow: hidden;
  color: #1c2b5c;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-command-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #52618b;
  font-size: 11px;
}

.renewal-command-info-row span:not(:first-child) {
  padding: 5px 11px;
  border-radius: 999px;
  background: #f3f5fa;
  color: #59688e;
}

.renewal-command-history,
.renewal-command-notes {
  margin: 0;
  color: #55648e;
  font-size: 11px;
  line-height: 1.45;
}

.renewal-card-actions {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.renewal-card-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#tab-renewals .renewal-card-primary-action {
  min-width: 132px;
  min-height: 37px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
}

#tab-renewals .renewal-card-primary-action-renew {
  border-color: #aedfc0;
  background: #f4fcf7;
  color: #23864d;
}

#tab-renewals .renewal-card-primary-action-plus {
  border-color: #c9c5ff;
  background: #fbfaff;
  color: #5b3eed;
}

#tab-renewals .renewal-command-action-menu {
  min-width: 194px;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary {
  width: 100%;
  min-height: 37px;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #8164ff;
  border-radius: 7px;
  background: #ffffff;
  color: #5938eb;
  font-size: 11px;
  font-weight: 700;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary i {
  order: 2;
  padding-left: 10px;
  border-left: 1px solid #d7d1ff;
}

.renewal-command-empty {
  min-height: 220px;
  padding: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #d5ddef;
  border-radius: 14px;
  background: #ffffff;
  color: #68769b;
  text-align: center;
}

.renewal-command-empty i {
  color: #6546ef;
  font-size: 28px;
}

.renewal-command-empty strong {
  color: #23315f;
  font-size: 15px;
}

.renewal-command-empty span {
  font-size: 12px;
}

.renewal-command-pagination {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #52618b;
  font-size: 11px;
}

.renewal-page-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.renewal-page-buttons button,
.renewal-page-buttons strong {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.renewal-page-buttons button {
  border: 0;
  background: #f6f7fb;
  color: #7380a2;
  cursor: pointer;
}

.renewal-page-buttons button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.renewal-page-buttons strong {
  background: linear-gradient(135deg, #5b42ec, #4e32d9);
  color: #ffffff;
  font-size: 12px;
}

.renewal-command-pagination > select {
  justify-self: end;
  min-width: 128px;
  height: 40px;
  border: 1px solid #dbe2f3;
  border-radius: 8px;
  background: #ffffff;
  color: #25335f;
  padding: 0 12px;
  font-size: 11px;
}

}

@media (max-width: 0px) {
@media (max-width: 1200px) {
.renewal-command-hero-art {
    right: 30px;
    transform: scale(0.9);
    transform-origin: right bottom;
  }

.renewal-command-toolbar {
    grid-template-columns: minmax(260px, 1fr) auto minmax(145px, 165px) minmax(145px, 165px);
    gap: 10px;
  }

}
}

@media (max-width: 0px) {
@media (max-width: 980px) {
.renewal-command-hero {
    min-height: 360px;
    padding-bottom: 95px;
  }

.renewal-command-hero-copy {
    width: 100%;
    max-width: 560px;
  }

.renewal-command-hero-art {
    opacity: 0.48;
  }

.renewal-command-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.renewal-command-toolbar {
    grid-template-columns: 1fr 1fr;
  }

.renewal-command-search {
    grid-column: 1 / -1;
  }

.renewal-command-workspace {
    grid-template-columns: 1fr;
  }

.renewal-filter-sidebar {
    min-height: 0;
  }

.renewal-filter-sidebar .renewal-quick-filter-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
}

@media (max-width: 0px) {
@media (max-width: 680px) {
.renewal-command-hero {
    min-height: 400px;
    padding: 24px 18px 90px;
  }

.renewal-command-hero-actions {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 24px;
  }

.renewal-command-back-btn,
  .renewal-command-new-btn {
    flex: 1 1 0;
    padding: 0 10px;
  }

.renewal-command-hero-art {
    display: none;
  }

.renewal-command-kpis {
    margin-left: 10px;
    margin-right: 10px;
    padding: 18px;
    grid-template-columns: 1fr;
  }

.renewal-command-create,
  .renewal-command-view {
    padding-left: 10px;
    padding-right: 10px;
  }

.renewal-command-toolbar,
  .renewal-filter-sidebar .renewal-quick-filter-chips,
  .renewal-command-meta-grid,
  .renewal-command-pagination {
    grid-template-columns: 1fr;
  }

.renewal-command-export-btn {
    width: 100%;
  }

.renewal-command-card {
    padding: 18px;
  }

.renewal-command-card .renewal-card-selection {
    position: static;
  }

.renewal-command-card-top,
  .renewal-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

.renewal-command-due {
    justify-items: start;
    text-align: left;
  }

.renewal-card-primary-actions,
  #tab-renewals .renewal-command-action-menu {
    width: 100%;
  }

#tab-renewals .renewal-card-primary-action {
    flex: 1 1 100%;
  }

.renewal-command-pagination > select {
    justify-self: stretch;
    width: 100%;
  }

}
}

@media (max-width: 920px) {
#tab-renewal-home .payment-home-dashboard {
    width: 100%;
    min-width: 0;
  }

#tab-renewal-home .payment-home-content-grid > *,
  #tab-renewal-home .payment-home-card,
  #tab-renewal-home .payment-home-stat-card,
  #tab-renewal-home .payment-home-table-card {
    min-width: 0;
  }

#tab-renewal-home .payment-home-body {
    overflow-x: clip;
  }

#tab-renewal-home .payment-home-heading-actions,
  #tab-renewal-home .payment-home-table-filters {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

#tab-renewal-home .payment-home-primary-btn,
  #tab-renewal-home .payment-home-secondary-btn,
  #tab-renewal-home .payment-home-filter-btn,
  #tab-renewal-home .payment-home-filter-box {
    width: 100%;
    min-width: 0;
  }

#tab-renewal-home .payment-home-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

#tab-renewal-home .renewal-home-recent-table {
    width: max-content;
    min-width: 620px;
  }

#tab-renewal-home .renewal-home-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#tab-renewals .renewal-command-shell,
  #tab-renewals .renewal-command-create,
  #tab-renewals .renewal-command-view,
  #tab-renewals .renewal-form-card,
  #tab-renewals .renewal-form-side-card,
  #tab-renewals .renewal-filter-sidebar,
  #tab-renewals .renewal-command-main {
    width: 100%;
    min-width: 0;
  }

#tab-renewals .renewal-command-toolbar,
  #tab-renewals .renewal-command-workspace,
  #tab-renewals .renewal-form-v2-grid,
  #tab-renewals .renewal-details-grid,
  #tab-renewals .renewal-schedule-grid {
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-command-search,
  #tab-renewals .renewal-command-export-btn,
  #tab-renewals .renewal-command-filter,
  #tab-renewals .renewal-command-clear-btn,
  #tab-renewals .renewal-bulk-panel > select,
  #tab-renewals .renewal-bulk-apply-btn,
  #tab-renewals .renewal-bulk-clear-btn {
    width: 100%;
    min-width: 0;
  }

#tab-renewals .renewal-filter-sidebar .renewal-quick-filter-chips,
  #tab-renewals .renewal-bulk-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
#tab-renewal-home .payment-home-sidebar {
    gap: 14px;
  }

#tab-renewal-home .payment-home-nav {
    grid-auto-columns: minmax(138px, 1fr);
  }

#tab-renewal-home .payment-home-body {
    gap: 16px;
  }

#tab-renewal-home .payment-home-heading-row h1 {
    font-size: 23px;
    line-height: 1.16;
  }

#tab-renewal-home .renewal-home-stat-grid {
    grid-template-columns: 1fr;
  }

#tab-renewal-home .payment-home-stat-card {
    min-height: 108px;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

#tab-renewal-home .payment-home-stat-card strong,
  #renewalHomeValueAmount {
    font-size: clamp(30px, 11vw, 42px);
    white-space: normal;
    overflow-wrap: anywhere;
  }

#tab-renewal-home .payment-home-section-head {
    align-items: stretch;
    flex-direction: column;
  }

#tab-renewal-home .payment-home-section-head select {
    width: 100%;
  }

#tab-renewal-home .payment-home-table-card {
    padding: 12px;
  }

#tab-renewal-home .payment-home-table-wrap {
    display: none;
  }

#tab-renewal-home .renewal-home-recent-cards {
    display: grid;
    gap: 12px;
  }

#tab-renewal-home .renewal-home-recent-card {
    display: grid;
    gap: 12px;
    padding: 13px;
    border: 1px solid #dfe7f7;
    border-left-width: 4px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(20, 40, 90, 0.07);
  }

#tab-renewal-home .renewal-home-recent-card.is-overdue {
    border-left-color: #dc2626;
    background: linear-gradient(180deg, #fffafa, #ffffff);
  }

#tab-renewal-home .renewal-home-recent-card.is-due-soon {
    border-left-color: #f59e0b;
    background: linear-gradient(180deg, #fffaf1, #ffffff);
  }

#tab-renewal-home .renewal-home-recent-card.is-scheduled {
    border-left-color: #8b5cf6;
  }

#tab-renewal-home .renewal-home-recent-card.is-active {
    border-left-color: #16a34a;
  }

#tab-renewal-home .renewal-home-recent-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

#tab-renewal-home .renewal-home-recent-card-status,
  #tab-renewal-home .renewal-home-recent-card-days {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
  }

#tab-renewal-home .renewal-home-recent-card-status.is-overdue,
  #tab-renewal-home .renewal-home-recent-card-days.is-overdue {
    color: #be123c;
    background: #ffe8ec;
  }

#tab-renewal-home .renewal-home-recent-card-status.is-due-soon,
  #tab-renewal-home .renewal-home-recent-card-days.is-due {
    color: #b45309;
    background: #fff3d7;
  }

#tab-renewal-home .renewal-home-recent-card-status.is-scheduled {
    color: #6d28d9;
    background: #f2edff;
  }

#tab-renewal-home .renewal-home-recent-card-status.is-active,
  #tab-renewal-home .renewal-home-recent-card-days.is-active {
    color: #15803d;
    background: #eafbef;
  }

#tab-renewal-home .renewal-home-recent-card-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 11px;
  }

#tab-renewal-home .renewal-home-recent-card-avatar {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #2458ed;
    background: #eaf1ff;
    font-size: 12px;
    font-weight: 900;
  }

#tab-renewal-home .renewal-home-recent-card-title strong,
  #tab-renewal-home .renewal-home-recent-card-title span {
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

#tab-renewal-home .renewal-home-recent-card-title strong {
    color: #10285f;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
  }

#tab-renewal-home .renewal-home-recent-card-title span {
    margin-top: 4px;
    color: #5168af;
    font-size: 12px;
    font-weight: 700;
  }

#tab-renewal-home .renewal-home-recent-card-title span i {
    margin-right: 6px;
  }

#tab-renewal-home .renewal-home-recent-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

#tab-renewal-home .renewal-home-recent-card-meta > div {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 8px 9px;
    border-radius: 10px;
    background: #f7f9ff;
  }

#tab-renewal-home .renewal-home-recent-card-meta small {
    color: #7182aa;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
  }

#tab-renewal-home .renewal-home-recent-card-meta strong {
    min-width: 0;
    overflow: hidden;
    color: #142a5d;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

#tab-renewal-home .renewal-home-recent-card-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

#tab-renewal-home .renewal-home-recent-card-contact a,
  #tab-renewal-home .renewal-home-recent-card-contact > span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #dce5f7;
    border-radius: 10px;
    background: #ffffff;
    color: #1f3a73;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }

#tab-renewal-home .renewal-home-recent-card-contact a i {
    color: #168c49;
  }

#tab-renewal-home .renewal-home-recent-card-contact .is-disabled {
    color: #8a98b8;
    background: #f6f8fc;
    opacity: 0.75;
  }

#tab-renewal-home .renewal-home-recent-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
  }

#tab-renewal-home .renewal-home-card-primary-action,
  #tab-renewal-home .renewal-home-card-icon-action {
    min-height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

#tab-renewal-home .renewal-home-card-primary-action {
    border: 1px solid #2458ed;
    color: #ffffff;
    background: linear-gradient(135deg, #2458ed, #1745d2);
  }

#tab-renewal-home .renewal-home-card-icon-action {
    border: 1px solid #cdd8f1;
    color: #26427a;
    background: #ffffff;
  }

#tab-renewal-home .renewal-home-recent-card-empty {
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 22px 14px;
    border: 1px dashed #d5ddef;
    border-radius: 12px;
    background: #ffffff;
    color: #68769b;
    text-align: center;
  }

#tab-renewal-home .renewal-home-recent-card-empty i {
    color: #2458ed;
    font-size: 26px;
  }

#tab-renewal-home .renewal-home-recent-card-empty strong {
    color: #23315f;
    font-size: 14px;
  }

#tab-renewal-home .renewal-home-recent-card-empty span {
    font-size: 12px;
    line-height: 1.45;
  }

#tab-renewal-home .payment-home-overview-chart {
    width: min(146px, 58vw);
    height: min(146px, 58vw);
  }

#tab-renewals .renewal-command-hero {
    min-height: auto;
    padding: 18px 14px;
  }

#tab-renewals .renewal-command-hero-copy h2 {
    font-size: 22px;
    line-height: 1.2;
  }

#tab-renewals .renewal-command-hero-actions {
    position: static;
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-command-back-btn,
  #tab-renewals .renewal-command-new-btn {
    width: 100%;
    min-width: 0;
  }

#tab-renewals .renewal-command-kpis {
    margin: 12px 10px;
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-command-create,
  #tab-renewals .renewal-command-view {
    margin: 0 10px 16px;
    padding: 12px 10px;
  }

#tab-renewals .renewal-command-create-head {
    display: grid;
    align-items: start;
  }

#tab-renewals .renewal-form-v2 {
    margin-inline: 0;
    padding: 14px 10px;
  }

#tab-renewals .renewal-form-card,
  #tab-renewals .renewal-form-side-card {
    padding: 14px 12px;
  }

#tab-renewals .renewal-form-v2 .inline-field-group,
  #tab-renewals .renewal-form-v2 .inline-field-group-validity {
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-form-v2 .inline-field-label {
    margin-top: -4px;
  }

#tab-renewals .renewal-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-filter-sidebar .renewal-quick-filter-chips,
  #tab-renewals .renewal-bulk-panel,
  #tab-renewals .renewal-command-pagination,
  #tab-renewals .renewal-command-meta-grid {
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-command-card {
    grid-template-columns: 1fr;
    padding: 14px 12px;
  }

#tab-renewals .renewal-command-card .renewal-card-selection,
  #tab-renewals .renewal-command-identity,
  #tab-renewals .renewal-command-day-tile,
  #tab-renewals .renewal-command-meta-grid,
  #tab-renewals .renewal-command-action-zone,
  #tab-renewals .renewal-command-info-row {
    grid-column: 1 / -1;
    grid-row: auto;
  }

#tab-renewals .renewal-command-day-tile,
  #tab-renewals .renewal-command-action-row,
  #tab-renewals .renewal-command-main-action,
  #tab-renewals .renewal-command-contact-links,
  #tab-renewals .renewal-command-pagination > select {
    width: 100%;
  }

#tab-renewals .renewal-command-info-row {
    margin-left: 0;
    overflow: visible;
  }

#tab-renewals .renewal-command-info-row span,
  #tab-renewals .renewal-command-info-row .renewal-command-contact-chip {
    white-space: normal;
  }

}

body:has(#tab-renewals.active) .page-shell.workspace-mode,
body:has(#tab-renewals.active) .main-content {
  height: auto;
  max-height: none;
}

#tab-renewals .renewal-command-shell {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #f7f9fd;
  box-shadow: none;
}

#tab-renewals .renewal-command-hero {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 78px;
  padding: 18px 32px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #101936;
  background: rgba(247, 249, 253, 0.96);
  border-bottom: 1px solid #e5eaf4;
  backdrop-filter: blur(14px);
}

#tab-renewals .renewal-command-hero::before,
#tab-renewals .renewal-command-kicker,
#tab-renewals .renewal-command-hero-art {
  display: none;
}

#tab-renewals .renewal-command-hero-copy {
  width: auto;
  max-width: none;
}

#tab-renewals .renewal-command-hero-copy h2 {
  margin: 0;
  color: #111936;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: 0;
}

#tab-renewals .renewal-command-hero-copy > p:last-child {
  margin: 6px 0 0;
  color: #51607f;
  font-size: 13px;
  line-height: 1.4;
}

#tab-renewals .renewal-command-hero-actions {
  position: static;
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

#tab-renewals .renewal-command-export-btn,
#tab-renewals .renewal-command-new-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
}

#tab-renewals .renewal-command-export-btn {
  border: 1px solid #cbd7ef;
  background: #ffffff;
  color: #17244d;
  box-shadow: 0 4px 12px rgba(28, 45, 92, 0.05);
}

#tab-renewals .renewal-command-new-btn {
  border-color: #2558e8;
  background: linear-gradient(180deg, #2f66f4, #1e4fd9);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(40, 91, 227, 0.18);
}

#tab-renewals .renewal-command-kpis {
  position: sticky;
  top: 78px;
  z-index: 55;
  margin: 0;
  min-height: 0;
  padding: 14px 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: rgba(247, 249, 253, 0.96);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

#tab-renewals .renewal-command-kpi {
  min-height: 88px;
  padding: 14px 16px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  border: 1px solid #e3e9f4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 59, 110, 0.06);
  cursor: pointer;
}

#tab-renewals .renewal-command-kpi.tone-red {
  border-color: #f5cdd3;
  background: linear-gradient(135deg, #fff7f8, #ffffff);
}

#tab-renewals .renewal-command-kpi.tone-amber {
  border-color: #f4dec0;
  background: linear-gradient(135deg, #fff9f0, #ffffff);
}

#tab-renewals .renewal-command-kpi.tone-blue {
  border-color: #cddbf8;
  background: linear-gradient(135deg, #f5f8ff, #ffffff);
}

#tab-renewals .renewal-command-kpi.tone-green {
  border-color: #cdebd8;
  background: linear-gradient(135deg, #f5fbf7, #ffffff);
}

#tab-renewals .renewal-command-kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

#tab-renewals .renewal-command-kpi strong {
  margin-top: 5px;
  font-size: 24px;
}

#tab-renewals .renewal-command-kpi p {
  margin-top: 7px;
  font-size: 11px;
}

#tab-renewals .renewal-command-view {
  padding: 0 32px 24px;
}

#tab-renewals .renewal-list-view-tabs {
  margin: 0 -32px;
  padding: 14px 32px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e7ecf5;
  background: #ffffff;
}

#tab-renewals .renewal-list-view-tab {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d8e0ef;
  border-radius: 8px;
  color: #53617e;
  background: #f8fafd;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

#tab-renewals .renewal-list-view-tab b {
  min-width: 21px;
  padding: 2px 6px;
  border-radius: 999px;
  color: inherit;
  background: #e8edf6;
  font-size: 10px;
  text-align: center;
}

#tab-renewals .renewal-list-view-tab.is-active {
  border-color: #2f66f4;
  color: #ffffff;
  background: #2f66f4;
  box-shadow: 0 5px 14px rgba(47, 102, 244, 0.2);
}

#tab-renewals .renewal-list-view-tab.is-active b {
  background: rgba(255, 255, 255, 0.2);
}

#tab-renewals .renewal-list-view-tabs p {
  margin: 0 0 0 auto;
  color: #66738f;
  font-size: 11px;
}

#tab-renewals .renewal-command-toolbar {
  position: sticky;
  top: 196px;
  z-index: 50;
  margin: 0 -32px 10px;
  padding: 12px 32px 14px;
  grid-template-columns: minmax(320px, 2.2fr) minmax(145px, 1fr) minmax(150px, 1fr) minmax(135px, 0.8fr) minmax(150px, 1fr) minmax(120px, 0.72fr);
  gap: 14px;
  align-items: end;
  border-bottom: 1px solid #e7ecf5;
  background: rgba(247, 249, 253, 0.96);
  backdrop-filter: blur(14px);
}

#tab-renewals .renewal-command-search,
#tab-renewals .renewal-command-filter select,
#tab-renewals .renewal-command-clear-btn {
  height: 42px;
  border-color: #ccd6e8;
  border-radius: 7px;
  background: #ffffff;
}

#tab-renewals .renewal-command-search {
  padding: 0 14px;
}

#tab-renewals .renewal-command-search input {
  height: 40px;
  font-size: 13px;
}

#tab-renewals .renewal-command-filter > span {
  color: #314065;
  font-size: 11px;
  text-transform: none;
}

#tab-renewals .renewal-command-clear-btn {
  padding: 0 14px;
  color: #17244d;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(28, 45, 92, 0.05);
}

#tab-renewals .renewal-toolbar-expiry-range {
  grid-column: 1 / span 2;
  min-width: 0;
  min-height: 42px;
  display: grid;
  grid-template-columns: auto minmax(135px, 1fr) 22px minmax(135px, 1fr);
  align-items: end;
  gap: 8px;
}

#tab-renewals .renewal-toolbar-expiry-range > strong {
  align-self: center;
  color: #314065;
  font-size: 12px;
  white-space: nowrap;
}

#tab-renewals .renewal-toolbar-expiry-range > strong i {
  margin-right: 4px;
  color: #2563eb;
}

#tab-renewals .renewal-toolbar-expiry-range label {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #66738f;
  font-size: 11px;
  font-weight: 700;
}

#tab-renewals .renewal-toolbar-expiry-range input {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid #ccd6e8;
  border-radius: 7px;
  background: #fff;
}

#tab-renewals .renewal-toolbar-date-arrow {
  align-self: center;
  color: #94a3b8;
  text-align: center;
}

#tab-renewals .renewal-toolbar-quick-dates {
  grid-column: 3 / span 3;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#tab-renewals .renewal-toolbar-quick-dates > span {
  margin-right: 2px;
  color: #66738f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

#tab-renewals .renewal-toolbar-quick-dates .renewal-quick-filter-chip {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #d5deed;
  border-radius: 999px;
  background: #fff;
  color: #405073;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

#tab-renewals .renewal-toolbar-quick-dates .renewal-quick-filter-chip:hover,
#tab-renewals .renewal-toolbar-quick-dates .renewal-quick-filter-chip[aria-pressed="true"] {
  border-color: #2563eb;
  background: #eaf1ff;
  color: #1d4ed8;
}

#tab-renewals .renewal-toolbar-clear-compact {
  grid-column: 6;
  min-width: 0;
  height: 38px;
  align-self: end;
}

#tab-renewals .renewal-bulk-action-bar {
  min-height: 58px;
  margin: 0 0 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 300px) 104px 92px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce4f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(38, 52, 95, 0.05);
}

#tab-renewals .renewal-bulk-action-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#tab-renewals .renewal-bulk-action-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #eaf1ff;
  color: #2458d8;
  font-size: 16px;
}

#tab-renewals .renewal-bulk-action-summary > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#tab-renewals .renewal-bulk-action-summary strong {
  color: #17244d;
  font-size: 13px;
}

#tab-renewals .renewal-bulk-action-summary small {
  overflow: hidden;
  color: #6a7895;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-renewals .renewal-bulk-action-bar select,
#tab-renewals .renewal-bulk-action-bar button {
  width: 100%;
  min-height: 40px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.2;
}

#tab-renewals .renewal-bulk-action-bar select {
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid #ccd6e8;
  background: #ffffff;
  color: #263657;
  font-weight: 700;
}

#tab-renewals .renewal-bulk-action-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#tab-renewals .renewal-command-main {
  padding-top: 0;
}

#tab-renewals .renewal-command-table-head,
#tab-renewals .renewal-command-card {
  display: grid;
  grid-template-columns: 30px minmax(260px, 2.15fr) minmax(132px, 0.95fr) minmax(120px, 0.9fr) minmax(76px, 0.5fr) minmax(200px, 1.35fr) minmax(205px, 1.45fr) minmax(190px, 1.3fr);
  align-items: center;
  gap: 12px;
}

#tab-renewals .renewal-command-table-head {
  position: sticky;
  top: 276px;
  z-index: 45;
  min-height: 40px;
  padding: 0 14px;
  color: #52617f;
  font-size: 12px;
  font-weight: 800;
  background: #f1f5fb;
  border: 1px solid #e5eaf4;
  border-radius: 8px 8px 0 0;
}

#tab-renewals .renewal-table-select-all,
#tab-renewals .renewal-command-card .renewal-card-selection {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tab-renewals .renewal-table-select-all input,
#tab-renewals .renewal-command-card .renewal-card-selection input {
  width: 15px;
  height: 15px;
  accent-color: #2f66f4;
}

#tab-renewals .renewal-command-list {
  gap: 8px;
}

#tab-renewals .renewal-command-card {
  min-height: 78px;
  padding: 9px 14px;
  border-radius: 8px;
  border-color: #e2e8f2;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(38, 52, 95, 0.055);
}

#tab-renewals .renewal-command-card > .renewal-card-selection {
  grid-column: 1;
}

#tab-renewals .renewal-command-card > .renewal-command-identity {
  grid-column: 2;
}

#tab-renewals .renewal-command-card > .renewal-command-day-tile {
  grid-column: 3;
}

#tab-renewals .renewal-command-card > .renewal-expiry-cell {
  grid-column: 4;
}

#tab-renewals .renewal-command-card > .renewal-users-cell {
  grid-column: 5;
}

#tab-renewals .renewal-command-card > .renewal-command-key {
  grid-column: 6;
}

#tab-renewals .renewal-command-card > .renewal-next-reminder-cell {
  grid-column: 7;
}

#tab-renewals .renewal-command-card > .renewal-command-action-zone {
  grid-column: 8;
}

#tab-renewals .renewal-command-card.is-overdue {
  background: linear-gradient(90deg, #fff6f7, #ffffff 36%);
  border-color: #f4c9d0;
}

#tab-renewals .renewal-command-card.is-due {
  background: linear-gradient(90deg, #fff8ed, #ffffff 36%);
  border-color: #f0d6b5;
}

#tab-renewals .renewal-command-card.is-upcoming {
  background: linear-gradient(90deg, #f5f8ff, #ffffff 36%);
  border-color: #cad8f5;
}

#tab-renewals .renewal-command-card.is-renewed {
  background: linear-gradient(90deg, #f4fbf6, #ffffff 36%);
  border-color: #c8ead4;
}

#tab-renewals .renewal-command-card.renewal-card-selected {
  border-color: #2f66f4;
  background: #edf4ff;
  box-shadow: 0 8px 22px rgba(47, 102, 244, 0.16);
}

#tab-renewals .renewal-command-identity {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

#tab-renewals .renewal-command-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

#tab-renewals .renewal-command-avatar.is-overdue {
  color: #d92535;
  background: #ffe8eb;
}

#tab-renewals .renewal-command-avatar.is-due {
  color: #de7300;
  background: #fff1dc;
}

#tab-renewals .renewal-command-avatar.is-upcoming {
  color: #2f63dd;
  background: #eaf1ff;
}

#tab-renewals .renewal-command-avatar.is-renewed {
  color: #178744;
  background: #e6f7ec;
}

#tab-renewals .renewal-customer-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#tab-renewals .renewal-customer-title strong {
  overflow: hidden;
  color: #13203f;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-renewals .renewal-history-chip {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  color: #2f66df;
  background: #eaf1ff;
  font-size: 10px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

#tab-renewals .renewal-history-chip:hover {
  color: #ffffff;
  background: #2f66df;
}

#tab-renewals .renewal-command-identity small,
#tab-renewals .renewal-customer-contact {
  color: #51617f;
  font-size: 11px;
}

#tab-renewals .renewal-customer-contact {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
}

#tab-renewals .renewal-customer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

#tab-renewals .renewal-command-day-tile {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 8px;
  border-radius: 7px;
  border: 1px solid currentColor;
  box-shadow: none;
}

#tab-renewals .renewal-command-day-tile strong {
  font-size: 22px;
}

#tab-renewals .renewal-command-day-tile span,
#tab-renewals .renewal-command-day-tile small {
  font-size: 11px;
}

#tab-renewals .renewal-expiry-cell,
#tab-renewals .renewal-users-cell,
#tab-renewals .renewal-command-key,
#tab-renewals .renewal-next-reminder-cell {
  min-width: 0;
}

#tab-renewals .renewal-expiry-cell {
  display: grid;
  gap: 4px;
}

#tab-renewals .renewal-expiry-cell small {
  color: #6a7795;
  font-size: 10px;
}

#tab-renewals .renewal-expiry-cell strong {
  color: #17244d;
  font-size: 13px;
}

#tab-renewals .renewal-expiry-cell strong.is-renewed {
  color: #178744;
}

#tab-renewals .renewal-users-cell {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 2px 7px;
  color: #17244d;
}

#tab-renewals .renewal-users-cell i {
  color: #26396d;
  font-size: 14px;
}

#tab-renewals .renewal-users-cell strong {
  font-size: 13px;
}

#tab-renewals .renewal-users-cell span {
  grid-column: 1 / -1;
  color: #52617f;
  font-size: 10px;
}

#tab-renewals .renewal-command-key {
  display: flex;
  align-items: center;
  gap: 7px;
}

#tab-renewals .renewal-command-key strong {
  min-width: 0;
  overflow: hidden;
  color: #111936;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-renewals .renewal-command-key button {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #2f5bd5;
  background: #edf3ff;
  cursor: pointer;
}

#tab-renewals .renewal-next-reminder-cell {
  display: grid;
  gap: 5px;
}

#tab-renewals .renewal-next-reminder-cell > span {
  color: #52617f;
  font-size: 11px;
}

#tab-renewals .renewal-reminder-timeline small {
  display: block;
  margin-bottom: 4px;
  color: #314065;
  font-size: 10px;
  font-weight: 800;
}

#tab-renewals .renewal-reminder-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

#tab-renewals .renewal-reminder-track span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #6a7795;
  font-size: 9px;
  font-weight: 800;
}

#tab-renewals .renewal-reminder-track span::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #d7deeb;
}

#tab-renewals .renewal-reminder-track span:first-child::before {
  display: none;
}

#tab-renewals .renewal-reminder-track b {
  width: 11px;
  height: 11px;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: #cbd3e1;
}

#tab-renewals .renewal-reminder-track .stage-30d.is-active {
  color: #2563eb;
}

#tab-renewals .renewal-reminder-track .stage-30d.is-active b {
  background: #60a5fa;
}

#tab-renewals .renewal-reminder-track .stage-15d.is-active {
  color: #a16207;
}

#tab-renewals .renewal-reminder-track .stage-15d.is-active b {
  background: #eab308;
}

#tab-renewals .renewal-reminder-track .stage-7d.is-active {
  color: #c2410c;
}

#tab-renewals .renewal-reminder-track .stage-7d.is-active b {
  background: #f97316;
}

#tab-renewals .renewal-reminder-track .stage-1d.is-active {
  color: #dc2626;
}

#tab-renewals .renewal-reminder-track .stage-1d.is-active b {
  background: #ef4444;
}

#tab-renewals .renewal-reminder-track .stage-overdue.is-active {
  color: #9f1239;
}

#tab-renewals .renewal-reminder-track .stage-overdue.is-active b {
  background: #be123c;
}

#tab-renewals .renewal-reminder-track .is-active b {
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

#tab-renewals .renewal-command-day-tile.stage-30d {
  border-color: #bfdbfe;
  color: #2563eb;
  background: #eff6ff;
}

#tab-renewals .renewal-command-day-tile.stage-15d {
  border-color: #fde68a;
  color: #a16207;
  background: #fefce8;
}

#tab-renewals .renewal-command-day-tile.stage-7d {
  border-color: #fdba74;
  color: #c2410c;
  background: #fff7ed;
}

#tab-renewals .renewal-command-day-tile.stage-1d {
  border-color: #fca5a5;
  color: #dc2626;
  background: #fef2f2;
}

#tab-renewals .renewal-command-day-tile.stage-overdue {
  border-color: #fda4af;
  color: #9f1239;
  background: #fff1f2;
}

#tab-renewals .renewal-reminder-timeline strong {
  display: block;
  margin-top: 3px;
  color: #52617f;
  font-size: 10px;
}

#tab-renewals .renewal-command-action-zone {
  display: grid;
  min-width: 0;
  gap: 7px;
}

#tab-renewals .renewal-command-contact-links {
  display: flex;
  gap: 7px;
}

#tab-renewals .renewal-command-contact-links a,
#tab-renewals .renewal-command-contact-links button,
#tab-renewals .renewal-command-contact-links > span {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 14px;
}

#tab-renewals .renewal-command-contact-links a:nth-child(1),
#tab-renewals .renewal-command-contact-links button:nth-child(1),
#tab-renewals .renewal-command-contact-links > span:nth-child(1) {
  color: #12823b;
  background: #eefaf2;
  border: 1px solid #ccebd6;
}

#tab-renewals .renewal-command-contact-links a:nth-child(2),
#tab-renewals .renewal-command-contact-links button:nth-child(2),
#tab-renewals .renewal-command-contact-links > span:nth-child(2) {
  color: #168a41;
  background: #effaf2;
  border: 1px solid #ccebd6;
}

#tab-renewals .renewal-command-contact-links a:nth-child(3),
#tab-renewals .renewal-command-contact-links button:nth-child(3),
#tab-renewals .renewal-command-contact-links > span:nth-child(3) {
  color: #245de2;
  background: #edf3ff;
  border: 1px solid #cfdbfb;
}

#tab-renewals .renewal-command-action-row {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
}

#tab-renewals .renewal-command-action-row > .renewal-command-main-action {
  min-width: 0;
  flex: 1 1 auto;
}

#tab-renewals .renewal-command-action-row > :not(.renewal-command-main-action) {
  flex: 0 0 auto;
}

#tab-renewals .renewal-command-main-action {
  width: 100%;
  min-height: 31px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(12, 23, 52, 0.18);
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(31, 82, 220, 0.18);
}

#tab-renewals .renewal-command-main-action i,
#tab-renewals .renewal-command-main-action span {
  color: #ffffff;
}

#tab-renewals .renewal-command-main-action:hover {
  color: #ffffff;
  filter: brightness(1.04);
}

#tab-renewals .renewal-command-duplicate-action {
  display: inline-flex;
  align-items: center;
  width: 32px;
  min-height: 31px;
  padding: 0;
  justify-content: center;
  border: 1px solid #cfdbfb;
  border-radius: 7px;
  color: #245de2;
  background: #edf3ff;
}

#tab-renewals .renewal-command-duplicate-action:hover {
  color: #1d4ed8;
  background: #dfeaff;
}

.renewal-completion-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: 12px;
}

.renewal-completion-dialog form {
  display: grid;
  gap: 16px;
}

.renewal-completion-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.renewal-completion-summary > div {
  min-width: 0;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  background: #f8fbff;
}

.renewal-completion-summary span,
.renewal-completion-grid label,
.renewal-completion-toggle small {
  color: #5d6b89;
  font-size: 12px;
}

.renewal-completion-summary strong {
  overflow: hidden;
  color: #13203f;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-key-flow {
  min-height: 0;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px dashed #cfe0ff;
  background: #f8fbff;
  color: #2f5fdb;
  font-size: 12px;
  font-weight: 900;
}

.renewal-key-flow .renewal-key-chain-step {
  min-width: 145px;
  max-width: 220px;
  padding: 7px 10px;
  display: grid;
  gap: 2px;
  border-radius: 9px;
  background: #eef4ff;
}

.renewal-key-flow .renewal-key-chain-step small,
.renewal-key-flow .renewal-key-chain-step strong,
.renewal-key-flow .renewal-key-chain-step em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.renewal-key-flow .renewal-key-chain-step small {
  color: #7080a2;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.renewal-key-flow .renewal-key-chain-step strong {
  color: #2f5fdb;
  font-size: 12px;
}

.renewal-key-flow .renewal-key-chain-step em {
  color: #53617e;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.renewal-key-flow .renewal-key-chain-step:last-of-type {
  border: 1px solid #cfe0ff;
  background: #ffffff;
}

.renewal-key-flow .renewal-key-chain-expiry {
  min-width: 125px;
  background: #edf9f1;
}

.renewal-key-flow .renewal-key-chain-expiry strong {
  color: #178744;
}

.renewal-key-flow i {
  flex: 0 0 auto;
  color: #8aa4d7;
}

.renewal-completion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.renewal-completion-grid .full-span {
  grid-column: 1 / -1;
}

.renewal-completion-grid label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.renewal-completion-key-field {
  gap: 8px;
}

.renewal-completion-grid input,
.renewal-completion-grid select,
.renewal-completion-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #ccd8eb;
  border-radius: 8px;
  background: #ffffff;
  color: #13203f;
  padding: 9px 12px 9px 42px;
  font: inherit;
  line-height: 1.35;
}

.renewal-completion-grid textarea {
  resize: vertical;
}

#renewalCompletionKey {
  height: 54px;
  min-height: 54px;
  max-height: 76px;
  resize: vertical;
}

#renewalCompletionNotes {
  min-height: 62px;
}

.renewal-key-inline-warning {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 900;
}

.renewal-key-flow-inline {
  margin-top: 2px;
}

.renewal-completion-warning {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f1d3a9;
  background: #fff8ed;
  color: #935c05;
  font-size: 12px;
  font-weight: 800;
}

.renewal-completion-preview {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f3f7ff;
  color: #334266;
}

.renewal-completion-toggle {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #dce5f4;
  background: #ffffff;
}

.renewal-completion-toggle input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 3px;
  accent-color: #2f66f4;
}

.renewal-completion-toggle span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.renewal-completion-toggle strong {
  color: #13203f;
  font-size: 13px;
}

.renewal-completion-actions {
  justify-content: flex-end;
}


@media (max-width: 720px) {
.renewal-completion-summary,
  .renewal-completion-grid {
    grid-template-columns: 1fr;
  }

.renewal-key-flow {
    align-items: stretch;
    flex-direction: column;
    overflow-x: visible;
  }

.renewal-key-flow .renewal-key-chain-step {
    width: 100%;
    max-width: none;
  }

.renewal-key-flow i {
    transform: rotate(90deg);
  }

}

#tab-renewals .renewal-command-main-action.is-overdue {
  background: linear-gradient(180deg, #f43f4d, #d91f31);
}

#tab-renewals .renewal-command-main-action.is-due {
  background: linear-gradient(180deg, #ff941f, #ea7600);
}

#tab-renewals .renewal-command-main-action.is-upcoming {
  background: linear-gradient(180deg, #2f66f4, #1f52dc);
}

#tab-renewals .renewal-command-main-action.is-renewed {
  background: linear-gradient(180deg, #21a957, #148840);
}

#tab-renewals .renewal-command-action-menu {
  min-width: 30px;
  position: relative;
  z-index: 70;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary {
  width: 30px;
  min-height: 31px;
  padding: 0;
  justify-content: center;
  border-color: transparent;
  color: #17244d;
  background: transparent;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary span {
  display: none;
}

#tab-renewals .renewal-command-action-menu .action-menu-summary i {
  padding: 0;
  border: 0;
}

#tab-renewals .renewal-command-action-menu[open] {
  z-index: 120;
}

#tab-renewals .renewal-command-action-menu .action-menu-list {
  top: calc(100% + 6px);
  right: 0;
  bottom: auto;
  min-width: 220px;
  max-height: none;
  gap: 2px;
  padding: 5px;
  overflow: visible;
  border-radius: 8px;
  border: 1px solid #d9e2f0;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(18, 32, 68, 0.18);
}

#tab-renewals .renewal-command-action-menu .action-menu-btn {
  min-height: 32px;
  padding: 0 10px;
  justify-content: flex-start;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #17244d;
  font-size: 12px;
  font-weight: 800;
}

#tab-renewals .renewal-command-action-menu .action-menu-btn:hover {
  background: #f1f5fb;
}

#tab-renewals .renewal-command-action-menu .action-menu-btn[data-action="delete"] {
  color: #c92835;
}

#tab-renewals .renewal-command-pagination {
  margin-top: 8px;
  padding: 0 10px 0 2px;
  grid-template-columns: 1fr auto auto;
  color: #314065;
  font-size: 12px;
}

#tab-renewals .renewal-page-number-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}

#tab-renewals .renewal-page-buttons button,
#tab-renewals .renewal-page-buttons strong,
#tab-renewals .renewal-page-gap {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

#tab-renewals .renewal-page-buttons button {
  border: 1px solid #dbe3f1;
  background: #ffffff;
  color: #2f3d63;
}

#tab-renewals .renewal-page-buttons strong {
  background: linear-gradient(180deg, #2f66f4, #1f52dc);
}

#tab-renewals .renewal-page-gap {
  display: grid;
  place-items: center;
  color: #66748f;
}

#tab-renewals .renewal-command-pagination > select {
  height: 34px;
  min-width: 116px;
  border-radius: 7px;
}


@media (max-width: 1280px) {
#tab-renewals .renewal-command-table-head,
  #tab-renewals .renewal-command-card {
    grid-template-columns: 28px minmax(220px, 1.8fr) minmax(124px, 0.9fr) minmax(110px, 0.8fr) minmax(64px, 0.45fr) minmax(170px, 1.15fr) minmax(180px, 1.25fr) minmax(176px, 1.15fr);
    gap: 9px;
  }

}

@media (max-width: 1100px) {
#tab-renewals .renewal-command-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

#tab-renewals .renewal-command-toolbar {
    top: 300px;
    grid-template-columns: 1fr 1fr;
  }

#tab-renewals .renewal-command-search {
    grid-column: 1 / -1;
  }

#tab-renewals .renewal-toolbar-expiry-range {
    grid-column: 1 / -1;
  }

#tab-renewals .renewal-toolbar-quick-dates {
    grid-column: 1;
    flex-wrap: wrap;
  }

#tab-renewals .renewal-toolbar-clear-compact {
    grid-column: 2;
  }

#tab-renewals .renewal-bulk-action-bar {
    grid-template-columns: minmax(220px, 1fr) minmax(210px, 1fr) 98px 88px;
  }

#tab-renewals .renewal-command-table-head {
    display: none;
  }

#tab-renewals .renewal-command-card {
    grid-template-columns: 28px minmax(240px, 1.6fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr);
  }

#tab-renewals .renewal-command-card > .renewal-command-key,
  #tab-renewals .renewal-command-card > .renewal-next-reminder-cell,
  #tab-renewals .renewal-command-card > .renewal-command-action-zone {
    grid-column: 2 / -1;
  }

#tab-renewals .renewal-command-card > .renewal-card-selection {
    grid-column: 1;
    grid-row: 1;
  }

#tab-renewals .renewal-command-card > .renewal-command-identity {
    grid-column: 2;
    grid-row: 1;
  }

#tab-renewals .renewal-command-card > .renewal-command-day-tile {
    grid-column: 3;
    grid-row: 1;
  }

#tab-renewals .renewal-command-card > .renewal-expiry-cell {
    grid-column: 4;
    grid-row: 1;
  }

#tab-renewals .renewal-command-card > .renewal-users-cell {
    grid-column: 2;
    grid-row: 2;
  }

#tab-renewals .renewal-command-card > .renewal-command-key {
    grid-row: 3;
  }

#tab-renewals .renewal-command-card > .renewal-next-reminder-cell {
    grid-row: 4;
  }

#tab-renewals .renewal-command-card > .renewal-command-action-zone {
    grid-row: 5;
  }

}

@media (max-width: 720px) {
#tab-renewals .renewal-command-hero {
    position: static;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

#tab-renewals .renewal-command-hero-actions {
    width: 100%;
  }

#tab-renewals .renewal-command-export-btn,
  #tab-renewals .renewal-command-new-btn {
    flex: 1 1 0;
  }

#tab-renewals .renewal-command-kpis,
  #tab-renewals .renewal-command-toolbar {
    position: static;
    padding-left: 16px;
    padding-right: 16px;
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-command-view {
    padding: 0 16px 18px;
  }

#tab-renewals .renewal-list-view-tabs {
    margin: 0 -16px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

#tab-renewals .renewal-list-view-tab {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

#tab-renewals .renewal-list-view-tabs p {
    flex: 1 0 100%;
    margin-left: 0;
  }

#tab-renewals .renewal-command-toolbar {
    margin-left: -16px;
    margin-right: -16px;
  }

#tab-renewals .renewal-toolbar-expiry-range,
  #tab-renewals .renewal-toolbar-quick-dates,
  #tab-renewals .renewal-toolbar-clear-compact {
    grid-column: 1 / -1;
  }

#tab-renewals .renewal-toolbar-expiry-range {
    grid-template-columns: 1fr 20px 1fr;
  }

#tab-renewals .renewal-toolbar-expiry-range > strong {
    grid-column: 1 / -1;
  }

#tab-renewals .renewal-toolbar-expiry-range label {
    grid-template-columns: 1fr;
    gap: 3px;
  }

#tab-renewals .renewal-toolbar-quick-dates {
    align-items: stretch;
  }

#tab-renewals .renewal-toolbar-quick-dates > span {
    flex: 1 0 100%;
  }

#tab-renewals .renewal-bulk-action-bar {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

#tab-renewals .renewal-bulk-action-summary,
  #tab-renewals .renewal-bulk-action-bar select {
    grid-column: 1 / -1;
  }

#tab-renewals .renewal-bulk-action-summary small {
    white-space: normal;
  }

#tab-renewals .renewal-command-card {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
  }

#tab-renewals .renewal-command-card > *:not(.renewal-card-selection) {
    grid-column: 2;
  }

#tab-renewals .renewal-command-card > .renewal-command-identity,
  #tab-renewals .renewal-command-card > .renewal-command-day-tile,
  #tab-renewals .renewal-command-card > .renewal-expiry-cell,
  #tab-renewals .renewal-command-card > .renewal-users-cell,
  #tab-renewals .renewal-command-card > .renewal-command-key,
  #tab-renewals .renewal-command-card > .renewal-next-reminder-cell,
  #tab-renewals .renewal-command-card > .renewal-command-action-zone {
    grid-row: auto;
  }

#tab-renewals .renewal-command-pagination {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

#tab-renewals .renewal-page-buttons,
  #tab-renewals .renewal-command-pagination > select {
    justify-self: start;
  }

}

#tab-renewals .renewal-menu-assignment {
  display: grid;
  gap: 6px;
  padding: 8px 10px 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #17244d;
}

#tab-renewals .renewal-menu-assignment > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
}

#tab-renewals .renewal-menu-assignment > span i {
  color: #2563eb;
}

#tab-renewals .renewal-menu-assignment select {
  width: 100%;
  min-height: 34px;
  padding: 5px 28px 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #17244d;
  font-size: 12px;
  font-weight: 700;
}

.renewal-settings-dialog {
  width: min(760px, calc(100vw - 28px));
}

.renewal-settings-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.renewal-settings-card {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  padding: 18px;
  background: #f8fbff;
}

.renewal-settings-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.renewal-settings-card-head strong,
.renewal-settings-card-head small {
  display: block;
}

.renewal-settings-card-head small {
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.4;
}

.renewal-settings-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.renewal-settings-icon.tone-blue {
  color: #1d4ed8;
  background: #dbeafe;
}

.renewal-settings-icon.tone-green {
  color: #087b55;
  background: #d9f7e9;
}

.renewal-settings-days {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.renewal-settings-days input {
  width: 105px;
}

.renewal-settings-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.renewal-settings-status {
  min-height: 20px;
  margin: 12px 0 0;
}

.renewal-settings-actions {
  justify-content: flex-end;
}

.renewal-settings-actions #renewalSettingsWalletBtn {
  margin-right: auto;
}

.renewal-login-reminder-dialog {
  width: min(680px, calc(100vw - 28px));
}

.renewal-login-reminder-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.renewal-login-reminder-head > span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b45309;
  background: #fef3c7;
  font-size: 21px;
}

.renewal-login-reminder-head h3,
.renewal-login-reminder-head p {
  margin: 0;
}

.renewal-login-reminder-head h3 {
  margin-top: 2px;
}

.renewal-login-reminder-head #renewalLoginReminderSummary {
  color: var(--muted);
  margin-top: 5px;
}

.renewal-login-reminder-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  max-height: min(48vh, 390px);
  overflow: auto;
}

.renewal-login-reminder-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e4eaf1;
  border-radius: 12px;
  background: #fff;
}

.renewal-login-reminder-item strong,
.renewal-login-reminder-item small {
  display: block;
}

.renewal-login-reminder-item small {
  color: var(--muted);
  margin-top: 3px;
}

.renewal-login-reminder-item span {
  color: #9a3412;
  font-weight: 700;
  white-space: nowrap;
}

.renewal-login-reminder-actions {
  justify-content: flex-end;
}


@media (max-width: 700px) {
.renewal-settings-card-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

.renewal-settings-card-head .service-wallet-switch {
    grid-column: 1 / -1;
  }

.renewal-settings-fields {
    grid-template-columns: 1fr;
  }

.renewal-settings-actions #renewalSettingsWalletBtn {
    margin-right: 0;
  }

}

.renewal-category-filter-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.renewal-category-filter-card {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.renewal-category-filter-card:hover,
.renewal-category-filter-card.is-active { border-color: #2563eb; box-shadow: 0 6px 18px rgba(37, 99, 235, .1); }

.renewal-category-filter-card > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }

.renewal-category-filter-card small { color: #475569; font-weight: 700; }

.renewal-category-filter-card strong { font-size: 20px; color: #0f172a; }

.renewal-category-filter-card .tone-all { background: #eef2ff; color: #4338ca; }

.renewal-category-filter-card .tone-antivirus { background: #dbeafe; color: #1d4ed8; }

.renewal-category-filter-card .tone-microsoft { background: #e0f2fe; color: #0369a1; }

.renewal-category-filter-card .tone-accounting { background: #f3e8ff; color: #7e22ce; }

.renewal-category-filter-card .tone-amc { background: #ffedd5; color: #c2410c; }

.renewal-type-fields {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #f8fafc;
}

.renewal-type-fields-accounting { border-color: #e9d5ff; background: #faf5ff; }

.renewal-type-fields-amc { border-color: #fed7aa; background: #fff7ed; }

.renewal-type-fields-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #1e3a8a; }

.renewal-type-fields-accounting .renewal-type-fields-title { color: #7e22ce; }

.renewal-type-fields-amc .renewal-type-fields-title { color: #c2410c; }

.renewal-attachment-field input { padding: 8px; background: #fff; }

.renewal-category-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
}

.renewal-category-badge.type-antivirus { color: #1d4ed8; background: #dbeafe; }

.renewal-category-badge.type-microsoft { color: #0369a1; background: #e0f2fe; }

.renewal-category-badge.type-accounting_software { color: #7e22ce; background: #f3e8ff; }

.renewal-category-badge.type-amc { color: #c2410c; background: #ffedd5; }

.renewal-command-toolbar { flex-wrap: wrap; align-items: end; }

.renewal-command-toolbar .renewal-command-filter input[type="date"] { min-width: 135px; }

.renewal-details-dialog { width: min(860px, calc(100vw - 28px)); max-height: 90vh; overflow: auto; }

.renewal-followup-dialog { width: min(620px, calc(100vw - 28px)); }

.renewal-details-content { display: grid; gap: 16px; }

.renewal-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }

.renewal-details-grid > div { padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }

.renewal-details-grid dt { color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; }

.renewal-details-grid dd { margin: 4px 0 0; color: #0f172a; font-weight: 700; overflow-wrap: anywhere; }

.renewal-details-content section { border-top: 1px solid #e2e8f0; padding-top: 12px; }

.renewal-details-content section h4 { margin: 0 0 8px; }

.renewal-details-history { list-style: none; display: grid; gap: 8px; padding: 0; margin: 0; }

.renewal-details-history li { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: #f8fafc; }

.renewal-details-history span, .renewal-details-history small { color: #64748b; }

.renewal-followup-grid { margin-bottom: 16px; }


@media (max-width: 900px) {
.renewal-category-filter-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.renewal-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 600px) {
.renewal-category-filter-cards { display: flex; overflow-x: auto; padding-bottom: 4px; }

.renewal-category-filter-card { flex: 0 0 170px; }

.renewal-type-fields { padding: 11px; }

.renewal-details-grid { grid-template-columns: 1fr; }

.renewal-details-actions { position: sticky; bottom: 0; padding-top: 10px; background: #fff; }

.renewal-details-actions button { flex: 1 1 45%; }

}

#tab-renewals .renewal-command-create-head {
  margin-bottom: 14px;
}

#tab-renewals .renewal-form-card {
  gap: 14px;
}

#tab-renewals .renewal-form-step-type {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

#tab-renewals .renewal-form-step-type > div,
#tab-renewals .renewal-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

#tab-renewals .renewal-form-step-type > div > span,
#tab-renewals .renewal-section-heading > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

#tab-renewals .renewal-form-step-type > div strong,
#tab-renewals .renewal-form-step-type > div small,
#tab-renewals .renewal-section-heading strong,
#tab-renewals .renewal-section-heading small {
  display: block;
}

#tab-renewals .renewal-form-step-type > div small,
#tab-renewals .renewal-section-heading small {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

#tab-renewals .renewal-form-step-type label {
  margin: 0;
}

#tab-renewals .renewal-form-step-type select {
  min-height: 44px;
  border-color: #93c5fd;
  background: #fff;
  font-weight: 700;
}

#tab-renewals .renewal-section-heading {
  padding: 4px 2px 0;
}

#tab-renewals .renewal-essential-grid,
#tab-renewals .renewal-date-essential-grid {
  margin-top: 0;
}

#tab-renewals .renewal-date-essential-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#tab-renewals .renewal-type-fields-antivirus {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#tab-renewals .renewal-date-all-fields {
  margin-top: 12px;
}

#tab-renewals .renewal-schedule-panel {
  padding: 14px;
}

#tab-renewals .renewal-progressive-details {
  margin-top: 12px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

#tab-renewals .renewal-progressive-details > summary {
  min-height: 52px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: #334155;
}

#tab-renewals .renewal-progressive-details > summary::-webkit-details-marker {
  display: none;
}

#tab-renewals .renewal-progressive-details > summary > span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 9px;
}

#tab-renewals .renewal-progressive-details > summary > span > i {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #2563eb;
  background: #eff6ff;
}

#tab-renewals .renewal-progressive-details > summary strong,
#tab-renewals .renewal-progressive-details > summary small {
  display: block;
}

#tab-renewals .renewal-progressive-details > summary small {
  color: #64748b;
  font-size: 11px;
}

#tab-renewals .renewal-progressive-details > summary > i {
  transition: transform .18s ease;
}

#tab-renewals .renewal-progressive-details[open] > summary > i {
  transform: rotate(180deg);
}

#tab-renewals .renewal-progressive-details[open] > summary {
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

#tab-renewals .renewal-progressive-details > .form-grid {
  padding: 14px;
}

#tab-renewals .renewal-more-details {
  margin-top: 0;
}

#tab-renewals .renewal-form-actions {
  position: sticky;
  bottom: 8px;
  z-index: 4;
  padding: 10px;
  border: 1px solid #dbe4f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  backdrop-filter: blur(8px);
}


@media (max-width: 700px) {
#tab-renewals .renewal-form-step-type {
    grid-template-columns: 1fr;
    gap: 10px;
  }

#tab-renewals .renewal-date-essential-grid {
    grid-template-columns: 1fr;
  }

#tab-renewals .renewal-progressive-details > summary small {
    display: none;
  }

#tab-renewals .renewal-form-actions {
    position: static;
  }

}

.renewal-import-dialog {
  width: min(1040px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #ffffff;
}

.renewal-import-start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0.8rem;
}

.renewal-import-file-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #dbe6fb;
  border-radius: 12px;
  background: #f8fbff;
  color: #53618a;
  font-size: 0.88rem;
  font-weight: 700;
}

.renewal-import-file-note i {
  color: #3159d4;
}

.renewal-import-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.9rem 0;
}

.renewal-import-summary article {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #dbe6fb;
  border-radius: 14px;
  background: #f8fbff;
}

.renewal-import-summary article span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.renewal-import-summary article strong {
  color: #172554;
  font-size: 1.45rem;
}

.renewal-import-summary .tone-valid {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.renewal-import-summary .tone-valid strong {
  color: #15803d;
}

.renewal-import-summary .tone-error {
  border-color: #fecaca;
  background: #fff7f7;
}

.renewal-import-summary .tone-error strong {
  color: #dc2626;
}

.renewal-import-summary .tone-duplicate {
  border-color: #fde68a;
  background: #fffbeb;
}

.renewal-import-summary .tone-duplicate strong {
  color: #b45309;
}

.renewal-import-policy {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: end;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.renewal-import-policy label {
  display: grid;
  gap: 0.35rem;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
}

.renewal-import-policy p {
  margin: 0 0 0.4rem;
  color: #64748b;
  font-size: 0.82rem;
}

.renewal-import-table-wrap {
  max-height: min(360px, 42vh);
  margin-top: 0.9rem;
  overflow: auto;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
}

.renewal-import-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.82rem;
}

.renewal-import-table th,
.renewal-import-table td {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid #e7edf5;
  text-align: left;
  vertical-align: top;
}

.renewal-import-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #172554;
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.renewal-import-table tbody tr:last-child td {
  border-bottom: 0;
}

.renewal-import-result {
  display: inline-flex;
  max-width: 280px;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.renewal-import-result.is-error {
  border-radius: 8px;
  background: #fee2e2;
  color: #b91c1c;
}

.renewal-import-result.is-duplicate {
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
}

.renewal-import-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: #53618a;
  font-size: 0.84rem;
  font-weight: 700;
}

.renewal-import-status.is-error {
  color: #b91c1c;
}

.renewal-import-actions {
  justify-content: flex-end;
  margin-top: 0.65rem;
}


@media (max-width: 720px) {
.renewal-import-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.renewal-import-policy {
    grid-template-columns: 1fr;
  }

.renewal-import-start-actions > button {
    flex: 1 1 100%;
  }

}

#tab-renewals .renewal-command-key .renewal-command-view-icon {
  min-width: 24px;
  max-width: 24px;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  white-space: nowrap;
}

#tab-renewals .renewal-command-key .renewal-command-view-icon i {
  font-size: 14px;
}
