body{
  font-family: "Poppins", sans-serif;
}
.syyk-profile-name {
    font-size: 43px;
  }

 .flex-syyk-box .syyk-spna{
    padding: 3px 16px;
    min-width: 150px;
   
  }
  .syyk-spna {
    border: 2px solid black;
    font-size: 20px;
    font-weight: 500;
  }
  .syyk-spna-b {
    border: 3px solid black;
  }
  .syyk-profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
  }
  .syyk-dashboard-profile-img {
    width: min(250px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
  }
  .syyk-dashboard-profile-image-column {
    display: flex;
    align-items: flex-start;
    align-self: flex-start;
    justify-content: center;
  }
  .syyk-dashboard-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .syyk-dashboard-identity {
    min-width: 0;
  }
  .syyk-dashboard-account-switcher {
    flex: 0 1 390px;
    margin-left: auto;
  }
  .syyk-dashboard-account-switcher form {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 8px;
  }
  .syyk-dashboard-account-switcher-control {
    flex: 1 1 230px;
    min-width: 0;
  }
  .syyk-dashboard-account-switcher .form-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
  .syyk-dashboard-account-switcher .form-select {
    min-width: 0;
  }
  .syyk-financial-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }
  .syyk-financial-card {
    border: 0.75px solid #000;
    border-radius: 0.375rem;
    display: flex;
    height: 65px;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 6px 10px;
  }
  .syyk-financial-primary {
    background: #000;
    color: #fff;
  }
  .syyk-financial-value {
    display: block;
    overflow-wrap: anywhere;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 600;
    line-height: 1.15;
  }
  .syyk-financial-label {
    display: block;
    margin-top: 4px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .syyk-financial-details {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }
  .syyk-financial-details summary {
    cursor: pointer;
    font-weight: 600;
  }
  .syyk-financial-details summary:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
  }
  .syyk-financial-details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
  }
  .syyk-financial-details-list div {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
  }
  .syyk-financial-details-list dt {
    font-size: 0.8rem;
    font-weight: 500;
  }
  .syyk-financial-detail-label {
    align-items: center;
    display: flex;
    gap: 6px;
  }
  .syyk-financial-info-control {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .syyk-financial-info-button {
    align-items: center;
    background: #fff;
    border: 1px solid #6c757d;
    border-radius: 50%;
    color: #343a40;
    display: inline-flex;
    font-family: Georgia, serif;
    font-size: 0.7rem;
    font-style: italic;
    height: 17px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 17px;
  }
  .syyk-financial-info-button:hover {
    border-color: #000;
    color: #000;
  }
  .syyk-financial-info-button:focus-visible {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
    outline: 2px solid #000;
    outline-offset: 2px;
  }
  .syyk-financial-tooltip {
    background: #000;
    border: 1px solid #000;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    left: 12px;
    line-height: 1.45;
    max-width: calc(100vw - 24px);
    opacity: 0;
    padding: 8px 10px;
    pointer-events: none;
    position: fixed;
    text-align: left;
    top: 12px;
    transition: opacity 120ms ease;
    visibility: hidden;
    white-space: normal;
    width: min(300px, calc(100vw - 24px));
    z-index: 1080;
  }
  .syyk-financial-info-button[aria-expanded="true"] + .syyk-financial-tooltip {
    opacity: 1;
    visibility: visible;
  }
  .syyk-financial-details-list dd {
    margin: 2px 0 0;
    font-weight: 600;
  }
  .syyk-p-12 {
    font-size: 12px;
    font-weight: 500;
    /* margin-top: -12px; */
  }
  /* .syyk-payment-btn {
    border-radius: 0;
  } */
  /* .syyk-outline-dark-btn {
    border-radius: 0 !important;
    border: 2px solid black;
  } */

  .syyk-outline-dark-btn {
    border: 1px solid black;
    margin-right: 3px; 
  }
  .btn-outline-dark.active:focus{
    box-shadow:none;
  }

  .syyk-buttons-container{
    max-width: 750px;
  }

  .syyk-footer-icon{
      background: white;
      color: black;
      border-radius: 50%;
      padding: 5px 7px;
  }

  .form-text {
    color: #cccccc !important;
  }

  .syyk-select-box {
    width: 170px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    border: 1px solid black;
    border-radius: 3px;
    padding: 4px;
    font-weight: 500;
    text-align-last: right;
    padding-right: 15px;
  }

  .syyk-select-box-icon {
    width: 35px;
    height: 35px;
    background-color: black;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    margin-left: 30px;
    padding: 3px;
  }
  .syyk-select-box-icon i {
    font-size: 14px;
  }
  .syyk-select-box-label {
    font-size: 18px;
    font-weight: 500;
  }

  .syyk-table, table, th{
    border: 1px solid black !important;
    border-collapse: collapse;
  }

  .syyk-table, td{
    border-right: 1px solid black !important;
    border-left: none;
    border-top: none;
    border-bottom: none;
    padding-top:0 !important;
    padding-bottom: 0 !important;
  }
  
  .table tbody tr {
    color: #000;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
  }
  .table tbody tr:hover {
    background-color: #e2e8f0;
  }
  .table tbody tr.syyk-row-selected,
  .table tbody tr.syyk-song-row-selected,
  .table tbody tr.first-hovered,
  .table tbody tr[aria-selected="true"] {
    background-color: #cbd5e1;
    font-weight: 600;
  }
  .table tbody tr.syyk-row-selected > td:first-child,
  .table tbody tr.syyk-song-row-selected > td:first-child,
  .table tbody tr.first-hovered > td:first-child,
  .table tbody tr[aria-selected="true"] > td:first-child {
    position: relative;
  }
  .table tbody tr.syyk-row-selected > td:first-child::before,
  .table tbody tr.syyk-song-row-selected > td:first-child::before,
  .table tbody tr.first-hovered > td:first-child::before,
  .table tbody tr[aria-selected="true"] > td:first-child::before {
    background-color: #111;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 4px;
  }
  .table tbody tr:focus-visible {
    outline: 3px solid #000;
    outline-offset: -3px;
  }
  
  /*.syyk-body .syyk-main-content*/
  /*{*/
	 /* max-width: 900px;*/
  /*}*/
  
  .syyk-sortable-header {
    padding: 0 !important;
  }
  .syyk-sort-header {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-weight: inherit;
    justify-content: space-between;
    min-height: 40px;
    padding: 0.5rem;
    text-align: left;
    transition: background-color 120ms ease;
    width: 100%;
  }
  .syyk-sort-header:hover {
    background-color: rgba(0, 0, 0, 0.045);
  }
  .syyk-sort-header:focus-visible {
    outline: 2px solid #000;
    outline-offset: -3px;
  }
  .syyk-sort-icon {
    fill: none;
    flex: 0 0 12px;
    height: 16px;
    margin-left: 10px;
    stroke: #9a9a9a;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    width: 12px;
  }
  .syyk-sort-header.asc .syyk-sort-chevron-down,
  .syyk-sort-header.desc .syyk-sort-chevron-up {
    display: none;
  }
  .syyk-sort-header.asc .syyk-sort-chevron-up,
  .syyk-sort-header.desc .syyk-sort-chevron-down {
    stroke: #111;
  }
    
    .syyk-body tbody td
    {
        cursor:pointer;
    }

    .syyk-input-field {    
      display: block;
      width: 100%;
      padding: .375rem .75rem;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: #212529;
      background-color: #fff;
      background-clip: padding-box;
      border: 2px solid #000000;
      appearance: none;
      transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
      border-radius: 0;
  }

  .syyk-input-field:focus {
      border-color: #000000; 
      outline: none; 
  }

  .syyk-label{
      font-weight: 500;
      font-size: 18px;
      margin-bottom: .5rem;
  }
  
  .skky-navbar .nav-item .nav-link{
    color: black;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.7em;
    letter-spacing: 0px;
    margin-right: 15px;
  }

  .syyk-body #loadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999; /* Make sure it's on top of other elements */
}
  
  .skky-songs-usage-table-container
  {
    max-height: 600px;
    overflow-y: auto;
  }
  .syyk-report-table,
  .syyk-song-source-table {
    table-layout: fixed;
    width: 100%;
  }
  .syyk-report-table th,
  .syyk-report-table td {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .syyk-report-table th:first-child,
  .syyk-report-table td:first-child {
    width: 58%;
  }
  .syyk-report-table th:last-child,
  .syyk-report-table td:last-child {
    width: 42%;
  }
  .syyk-report-table thead th {
    vertical-align: middle;
  }
  .syyk-report-table .syyk-sort-header > span {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .syyk-report-table .syyk-sort-icon {
    flex: 0 0 12px;
  }
  .syyk-song-source-table td:first-child {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  #song-table-tbody tr[data-song-title-main] {
    cursor: pointer;
  }
  #song-table-tbody tr[data-song-title-main].syyk-song-row-selected {
    background-color: #cbd5e1;
  }
  #song-table-tbody tr[data-song-title-main]:focus-visible {
    outline: 3px solid #000;
    outline-offset: -3px;
  }

  .skky-songs-usage-table-container .table tbody tr.hidden {
    display: none;
}

.skky-songs-usage-table-container .table tbody tr.visible {
    display: table-row;
}

.skky-songs-tab-container {
  min-height: 400px;
}

.skky-songs-tab-container .first-hovered {
  background-color: #cbd5e1;
}

  .navbar-brand {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.7em;
    text-decoration: none;
}

.syyk-body
{
  position: relative;
  min-height: 100vh;
}

.syyk-main-content {
  padding-bottom: 500px;    /* Footer height */
}

.syyk-dashboard-footer
{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 300px;    
}

 /*11-nov-2024  table space manage - START*/
/*#song-modal-table-tbody tr td{*/
/*    white-space: nowrap;*/
/*}*/

#song-modal-table-tbody tr td:nth-child(2){
    min-width: 80px;
    white-space: nowrap;
}

 /*11-nov-2024  table space manage -END*/


.small-p-margin-bottom p
{
    margin-bottom: 10px;
}


  .chart-container {
  width: 100%;
  max-width: 900px;
  margin: auto;
  }

  @media only screen and (min-width: 992px) {
    .skky-songs-usage-table-container {
      max-height: none;
      overflow-y: visible;
    }
    .syyk-dashboard-profile-image-column {
      flex: 0 0 300px;
      max-width: 300px;
      padding-left: 0;
      padding-right: 0;
    }
    .syyk-box-9 {
      flex: 1 1 0;
      max-width: calc(100% - 300px);
      padding-left: 28px;
      width: auto;
    }
  }

  @media only screen and (max-width: 1010px) {
      .syyk-profile-img {
        width: 170px;
        height: 170px;
    }
  }
  
  @media only screen and (max-width: 910px) {
      .syyk-profile-img {
        width: 160px;
        height: 160px;
    }
  }

  @media only screen and (max-width: 991px) {
    .syyk-dashboard-profile-image-column {
      flex: 0 0 190px;
      max-width: 190px;
    }
    .syyk-dashboard-profile-img {
      width: min(170px, 100%);
      height: auto;
    }
    .syyk-box-9 {
      flex: 1 1 0;
      max-width: calc(100% - 190px);
      padding-left: 20px;
      width: auto;
    }
    .syyk-dashboard-profile-header {
      flex-wrap: wrap;
    }
    .syyk-dashboard-account-switcher {
      flex-basis: 100%;
    }
    .syyk-financial-cards {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .skky-songs-row-container,
    .syyk-song-source-panel {
      flex: 0 0 100%;
      max-width: 100%;
      width: 100%;
    }
    .syyk-songs-list-scroll {
      max-height: 55vh;
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .syyk-song-source-panel {
      margin-top: 24px;
    }
    .skky-songs-usage-table-container {
      margin-top: 0 !important;
    }
  }

  @media only screen and (max-width: 600px) {
    .syyk-profile-name {
      font-size: 30px;
  }
  .syyk-select-box {
    width: 150px;
  }
  .syyk-box-9
  {
	  text-align:center;
    max-width: 100%;
    padding-left: calc(var(--bs-gutter-x) * .5);
    width: 100%;
  }
  .syyk-dashboard-profile-image-column {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .syyk-dashboard-profile-img {
    width: 110px;
    height: 110px;
    margin-bottom: 16px;
  }
  .syyk-dashboard-profile-header {
    display: block;
  }
  .syyk-dashboard-account-switcher {
    width: 100%;
    margin: 0 0 16px;
    text-align: left;
  }
  .syyk-dashboard-account-switcher form {
    align-items: stretch;
    flex-direction: column;
  }
  .syyk-dashboard-account-switcher-control {
    flex-basis: auto;
    width: 100%;
  }
  .syyk-dashboard-account-switcher .btn,
  .syyk-dashboard-account-switcher .form-select {
    width: 100%;
  }
  .syyk-financial-card {
    text-align: left;
  }
  .syyk-financial-details-list {
    grid-template-columns: 1fr;
    text-align: left;
  }
  }

  @media only screen and (max-width: 575px) {
    .syyk-financial-cards {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  @media only screen and (max-width: 500px) {
  .syyk-select-box {
    width: 100px;
  }
  }
  
  @media only screen and (max-width: 400px) {
  .syyk-select-box {
    width: 90px;
  }
  }
  
  @media only screen and (max-width: 380px) {
  .period-text-m {
    display:block!important;
  }
  .period-text {
    display:none;
  }
  }

  
  
  
#fullPageOverlay .overlay-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fullPageOverlay .overlay-content {
  text-align: center;
}

/* Income Trend modal */
.syyk-income-trend-modal {
  --syyk-income-trend-surface: #fff;
  --syyk-income-trend-ink: #111113;
  --syyk-income-trend-muted: #71717a;
  --syyk-income-trend-line: #e8e7e2;
  --syyk-income-trend-accent: #4a63d8;
  --syyk-income-trend-positive: #1e8a5b;
  --syyk-income-trend-positive-soft: #e7f5ee;
  --syyk-income-trend-negative: #b9382d;
  --syyk-income-trend-negative-soft: #fbedeb;
  --syyk-income-trend-neutral: #5f6068;
  --syyk-income-trend-neutral-soft: #f0f0ed;
}

.syyk-income-trend-modal .syyk-income-trend-dialog {
  width: min(1100px, calc(100% - 32px));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.syyk-income-trend-modal .syyk-income-trend-surface {
  display: block;
  max-height: calc(100vh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--syyk-income-trend-ink);
  background: var(--syyk-income-trend-surface);
  border: 1px solid var(--syyk-income-trend-line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 17, 19, 0.12);
}

.syyk-income-trend-modal .syyk-income-trend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--syyk-income-trend-line);
}

.syyk-income-trend-modal .syyk-income-trend-heading {
  min-width: 0;
}

.syyk-income-trend-modal .syyk-income-trend-title {
  margin: 0;
  color: var(--syyk-income-trend-ink);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.syyk-income-trend-modal .syyk-income-trend-subtitle {
  margin: 3px 0 0;
  color: var(--syyk-income-trend-muted);
  font-size: 0.8rem;
}

.syyk-income-trend-modal .syyk-income-trend-header-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.syyk-income-trend-modal .syyk-income-trend-range {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #fafaf8;
  border: 1px solid var(--syyk-income-trend-line);
  border-radius: 999px;
}

.syyk-income-trend-modal .syyk-income-trend-range button {
  min-width: 46px;
  padding: 7px 13px;
  color: #85858d;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}

.syyk-income-trend-modal .syyk-income-trend-range button:hover {
  color: var(--syyk-income-trend-ink);
}

.syyk-income-trend-modal .syyk-income-trend-range button.is-active {
  color: #fff;
  font-weight: 600;
  background: var(--syyk-income-trend-ink);
}

.syyk-income-trend-modal .syyk-income-trend-range button:focus-visible,
.syyk-income-trend-modal .syyk-income-trend-close:focus-visible,
.syyk-income-trend-modal .syyk-income-trend-export:focus-visible {
  outline: 2px solid var(--syyk-income-trend-accent);
  outline-offset: 2px;
}

.syyk-income-trend-modal .syyk-income-trend-close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #85858d;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  background: #fff;
  border: 1px solid var(--syyk-income-trend-line);
  border-radius: 50%;
  transition: color 150ms ease, background-color 150ms ease;
}

.syyk-income-trend-modal .syyk-income-trend-close:hover {
  color: var(--syyk-income-trend-ink);
  background: #fafaf8;
}

.syyk-income-trend-modal .syyk-income-trend-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--syyk-income-trend-line);
}

.syyk-income-trend-modal .syyk-income-trend-stat {
  min-width: 0;
  min-height: 116px;
  padding: 19px 28px;
  border-right: 1px solid var(--syyk-income-trend-line);
}

.syyk-income-trend-modal .syyk-income-trend-stat:last-child {
  border-right: 0;
}

.syyk-income-trend-modal .syyk-income-trend-stat-label {
  display: block;
  margin-bottom: 7px;
  color: #85858d;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.syyk-income-trend-modal .syyk-income-trend-stat-value {
  display: block;
  overflow: hidden;
  color: var(--syyk-income-trend-ink);
  font-size: clamp(1.25rem, 2.15vw, 1.6rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.syyk-income-trend-modal .syyk-income-trend-stat-support {
  display: inline-block;
  margin-top: 8px;
  color: var(--syyk-income-trend-muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.syyk-income-trend-modal .syyk-income-trend-delta {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.35;
}

.syyk-income-trend-modal .syyk-income-trend-delta.is-positive {
  color: var(--syyk-income-trend-positive);
  background: var(--syyk-income-trend-positive-soft);
}

.syyk-income-trend-modal .syyk-income-trend-delta.is-negative {
  color: var(--syyk-income-trend-negative);
  background: var(--syyk-income-trend-negative-soft);
}

.syyk-income-trend-modal .syyk-income-trend-delta.is-neutral {
  color: var(--syyk-income-trend-neutral);
  background: var(--syyk-income-trend-neutral-soft);
}

.syyk-income-trend-modal .syyk-income-trend-chart-section {
  display: flow-root;
  min-height: 0;
  padding: 14px 28px 0;
}

.syyk-income-trend-modal .syyk-income-trend-chart-wrap {
  position: relative;
  height: min(360px, 41vh);
  min-height: 270px;
  overflow: hidden;
}

.syyk-income-trend-modal .syyk-income-trend-chart {
  display: block;
  max-width: 100%;
  width: 100% !important;
  height: 100% !important;
}

.syyk-income-trend-modal .syyk-income-trend-empty {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--syyk-income-trend-muted);
  text-align: center;
  background: #fcfcfa;
  border: 1px dashed #d8d7d0;
  border-radius: 12px;
}

.syyk-income-trend-modal .syyk-income-trend-empty[hidden] {
  display: none;
}

.syyk-income-trend-modal .syyk-income-trend-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 7px 0 17px;
  color: #4a4a50;
  font-size: 0.76rem;
}

.syyk-income-trend-modal .syyk-income-trend-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.syyk-income-trend-modal .syyk-income-trend-legend > span.is-unavailable {
  color: #9a9aa1;
}

.syyk-income-trend-modal .syyk-income-trend-key {
  display: inline-block;
  width: 19px;
  height: 3px;
  border-radius: 3px;
}

.syyk-income-trend-modal .syyk-income-trend-key.is-income {
  background: var(--syyk-income-trend-accent);
}

.syyk-income-trend-modal .syyk-income-trend-key.is-average {
  height: 0;
  background: transparent;
  border-top: 2px dashed #8a8a92;
  border-radius: 0;
}

.syyk-income-trend-modal .syyk-income-trend-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 28px;
  background: #fcfcfa;
  border-top: 1px solid var(--syyk-income-trend-line);
}

.syyk-income-trend-modal .syyk-income-trend-insight {
  margin: 0;
  color: #4a4a50;
  font-size: 0.79rem;
  line-height: 1.5;
}

.syyk-income-trend-modal .syyk-income-trend-insight strong {
  color: var(--syyk-income-trend-ink);
  font-weight: 600;
}

.syyk-income-trend-modal .syyk-income-trend-export {
  flex: 0 0 auto;
  padding: 9px 16px;
  color: #4a4a50;
  font-size: 0.8rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d8d7d0;
  border-radius: 9px;
  transition: color 150ms ease, background-color 150ms ease;
}

.syyk-income-trend-modal .syyk-income-trend-export:hover:not(:disabled) {
  color: var(--syyk-income-trend-ink);
  background: #f5f4f0;
}

.syyk-income-trend-modal .syyk-income-trend-export:disabled {
  color: #a0a0a7;
  cursor: not-allowed;
  background: #f5f5f2;
}

@media only screen and (max-width: 991px) {
  .syyk-income-trend-modal .syyk-income-trend-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .syyk-income-trend-modal .syyk-income-trend-stat:nth-child(2) {
    border-right: 0;
  }

  .syyk-income-trend-modal .syyk-income-trend-stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--syyk-income-trend-line);
  }

  .syyk-income-trend-modal .syyk-income-trend-chart-wrap {
    height: min(330px, 38vh);
    min-height: 250px;
  }
}

@media only screen and (max-width: 575px) {
  .syyk-income-trend-modal .syyk-income-trend-dialog {
    width: calc(100% - 16px);
    margin: 8px auto;
  }

  .syyk-income-trend-modal .syyk-income-trend-surface {
    max-height: calc(100vh - 16px);
    border-radius: 14px;
  }

  .syyk-income-trend-modal .syyk-income-trend-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px;
  }

  .syyk-income-trend-modal .syyk-income-trend-header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .syyk-income-trend-modal .syyk-income-trend-range {
    flex: 1 1 auto;
  }

  .syyk-income-trend-modal .syyk-income-trend-range button {
    flex: 1 1 0;
    min-width: 0;
  }

  .syyk-income-trend-modal .syyk-income-trend-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .syyk-income-trend-modal .syyk-income-trend-stat {
    min-height: 0;
    padding: 15px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--syyk-income-trend-line);
  }

  .syyk-income-trend-modal .syyk-income-trend-stat:last-child {
    border-bottom: 0;
  }

  .syyk-income-trend-modal .syyk-income-trend-chart-section {
    padding: 10px 14px 0;
  }

  .syyk-income-trend-modal .syyk-income-trend-chart-wrap {
    height: clamp(300px, 48vh, 340px);
    min-height: 300px;
  }

  .syyk-income-trend-modal .syyk-income-trend-legend {
    gap: 12px;
    padding-bottom: 14px;
  }

  .syyk-income-trend-modal .syyk-income-trend-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 14px 18px 18px;
  }

  .syyk-income-trend-modal .syyk-income-trend-insight {
    width: 100%;
  }

  .syyk-income-trend-modal .syyk-income-trend-export {
    width: 100%;
  }
}
