/* COOLMAX-V366-R6-R40-DISTINCT-RENEWAL-STYLE */
@media screen {
  table[data-cm-r40-contract-table="1"] tbody tr,
  table[data-cm-r40-contract-table="1"] tbody tr:hover,
  table[data-cm-r40-contract-table="1"] tbody tr:focus-within {
    transform:none!important; translate:none!important; scale:1!important; animation:none!important;
    margin-left:0!important; margin-right:0!important; left:auto!important; right:auto!important; top:auto!important;
  }
  table[data-cm-r40-contract-table="1"] tbody tr { transition:background-color .14s ease, box-shadow .14s ease!important; }
  table[data-cm-r40-contract-table="1"] tbody tr:hover,
  table[data-cm-r40-contract-table="1"] tbody tr:focus-within { box-shadow:none!important; }
  table[data-cm-r40-contract-table="1"] tbody tr:hover > td { transform:none!important; translate:none!important; scale:1!important; }

  table[data-cm-r40-renewals="1"] tr.cm-r40-hidden-renewal { display:none!important; }

  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-parent > td {
    background-image:linear-gradient(rgba(18,112,94,.06),rgba(18,112,94,.06))!important;
    border-top:1px solid rgba(18,112,94,.12)!important;
    border-bottom:1px solid rgba(18,112,94,.12)!important;
  }
  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-parent {
    box-shadow:inset 5px 0 0 rgba(18,112,94,.62)!important;
  }
  .cm-r40-parent-badge {
    display:inline-flex!important; align-items:center!important; margin-top:6px!important; padding:4px 10px!important;
    border-radius:999px!important; background:rgba(18,112,94,.11)!important; color:#0f6c59!important;
    border:1px solid rgba(18,112,94,.24)!important; font-size:10px!important; font-weight:900!important; line-height:1.3!important; white-space:nowrap!important;
  }
  .cm-r40-renewal-toggle-wrap { margin-top:7px!important; display:flex!important; align-items:center!important; min-height:29px!important; }
  .cm-r40-renewal-toggle {
    appearance:none!important; border:1px solid rgba(18,112,94,.36)!important; background:#e9f7f2!important; color:#0f6c59!important;
    border-radius:999px!important; padding:5px 11px 5px 9px!important; min-height:29px!important; display:inline-flex!important; align-items:center!important; gap:6px!important;
    cursor:pointer!important; font-size:10px!important; font-weight:900!important; line-height:1!important; box-shadow:none!important; transform:none!important; translate:none!important; scale:1!important;
  }
  .cm-r40-renewal-toggle:hover,.cm-r40-renewal-toggle:focus-visible { background:#dcf3eb!important; border-color:rgba(18,112,94,.52)!important; outline:none!important; }
  .cm-r40-renewal-toggle.is-open { background:#d1eee3!important; }
  .cm-r40-arrow { width:12px!important; min-width:12px!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; font-size:14px!important; font-weight:900!important; line-height:1!important; }
  .cm-r40-arrow::before { content:"▸"; }
  .cm-r40-renewal-toggle.is-open .cm-r40-arrow::before { content:"▾"; }
  .cm-r40-count { min-width:18px!important; height:18px!important; border-radius:999px!important; padding:0 5px!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; background:rgba(18,112,94,.18)!important; font-size:9px!important; font-weight:900!important; }

  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child {
    box-shadow:inset 6px 0 0 rgba(223,123,17,.95)!important;
    position:relative!important;
  }
  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td {
    background-image:linear-gradient(rgba(255,160,39,.10),rgba(255,160,39,.10))!important;
    border-top:1px dashed rgba(223,123,17,.35)!important;
    border-bottom:1px dashed rgba(223,123,17,.35)!important;
  }
  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child {
    padding-left:calc(22px + (var(--cm-r40-depth,1) * 18px))!important;
    position:relative!important;
  }
  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child::before {
    content:"↳";
    position:absolute!important;
    left:calc(7px + ((var(--cm-r40-depth,1) - 1) * 12px))!important;
    top:21px!important;
    color:#b85f00!important;
    opacity:.95!important;
    font-weight:900!important;
    font-size:16px!important;
  }
  table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child::after {
    content:"";
    position:absolute!important;
    left:calc(16px + ((var(--cm-r40-depth,1) - 1) * 12px))!important;
    top:0!important;
    bottom:0!important;
    width:2px!important;
    background:linear-gradient(to bottom, rgba(223,123,17,.65), rgba(223,123,17,.15))!important;
    border-radius:999px!important;
  }

  .cm-r40-renewal-banner {
    display:inline-flex!important; align-items:center!important; margin-top:6px!important; padding:4px 10px!important;
    border-radius:8px!important; background:#d86c00!important; color:#fff!important; border:1px solid rgba(145,68,0,.18)!important;
    font-size:10px!important; font-weight:900!important; line-height:1.2!important; letter-spacing:.4px!important; white-space:nowrap!important;
    text-transform:uppercase!important;
  }
  .cm-r40-renewal-badge {
    display:inline-flex!important; align-items:center!important; margin-top:5px!important; margin-left:6px!important; padding:3px 8px!important;
    border-radius:999px!important; border:1px solid rgba(184,110,0,.32)!important; background:rgba(255,181,74,.18)!important;
    color:#9a5e03!important; font-size:9px!important; font-weight:900!important; line-height:1.35!important; white-space:nowrap!important;
  }
  .cm-r40-renewal-note {
    margin-top:5px!important; font-size:10px!important; font-weight:900!important; color:#8b5300!important; line-height:1.4!important;
    max-width:300px!important;
  }

  .cm-r40-hide-status-select { display:none!important; }
  .cm-r40-renewed-status {
    display:inline-flex!important; align-items:center!important; justify-content:center!important; margin-top:4px!important;
    padding:6px 12px!important; min-height:34px!important; border-radius:10px!important; background:#e3f6ee!important; color:#0e7a57!important;
    border:1px solid rgba(14,122,87,.28)!important; font-size:13px!important; font-weight:900!important; line-height:1!important; white-space:nowrap!important;
  }
  .cm-r40-row-renewed-parent .cm-r40-renewed-status::before { content:"↻"; margin-right:6px!important; font-weight:900!important; }

  .cm-r40-auto-renew, .cm-r40-renew-existing {
    display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:4px!important; margin-left:6px!important; padding:7px 10px!important; min-height:32px!important;
    border-radius:8px!important; border:1px solid rgba(25,109,77,.35)!important; background:#198754!important; color:#fff!important; font-size:11px!important; font-weight:800!important; line-height:1!important; text-decoration:none!important; box-shadow:none!important; transform:none!important; translate:none!important; scale:1!important;
  }
  .cm-r40-auto-renew:hover,.cm-r40-auto-renew:focus-visible,.cm-r40-renew-existing:hover,.cm-r40-renew-existing:focus-visible { background:#157347!important; color:#fff!important; text-decoration:none!important; }
  .cm-r40-hide-action { display:none!important; }

  html[dir="rtl"] table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child {
    padding-left:8px!important; padding-right:calc(22px + (var(--cm-r40-depth,1) * 18px))!important;
  }
  html[dir="rtl"] table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child::before {
    left:auto!important; right:calc(7px + ((var(--cm-r40-depth,1) - 1) * 12px))!important; transform:scaleX(-1)!important;
  }
  html[dir="rtl"] table[data-cm-r40-renewals="1"] tbody tr.cm-r40-renewal-child > td:first-child::after {
    left:auto!important; right:calc(16px + ((var(--cm-r40-depth,1) - 1) * 12px))!important;
  }
  html[dir="rtl"] .cm-r40-renewal-badge,
  html[dir="rtl"] .cm-r40-auto-renew,
  html[dir="rtl"] .cm-r40-renew-existing { margin-left:0!important; margin-right:6px!important; }
  html[dir="rtl"] .cm-r40-row-renewed-parent .cm-r40-renewed-status::before { margin-right:0!important; margin-left:6px!important; }
}
