
/* Panel for main content of with subnav navigation */
.panelContent {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - var(--subnav-height));
}

/* Two Column content */
.analysisBiasTwoColumn {
  position: relative;
  /* This container will be anchor for children with absolute property */
  flex: 1 1 auto;
  /* "Take what you can get in width or height, but feel free to shrink if there's not enough room." */
  min-height: 0;
  /* When there is a scrolling container, the container can be smaller than contant */
  display: flex;
  overflow: hidden;
}

/* Two Column content - Left Column */
.analysisBiasTwoColumn .leftColumn {
  flex: 0 0 500px;
  /*  grow | shrink | basis  */
  width: 500px;
  /* Back up for old web browser */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 25px;
}

/* Two Column content - Left Column - IFrame */
.analysisBiasTwoColumn .leftColumn iframe {
  border: none;
  display: flex;
  flex: 1 1 auto;
}

/* Two Column content - Right Column */
.analysisBiasTwoColumn .rightColumn {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Header of Analysis Bias Tab */
.analysisBiasHeaderRow {
  display: flex;
  align-items: center;
  /* Elements will be in vertical central position */
  padding: 7px 25px;
  /* Padding top and bottom = 0px, right and left = 25px */
  border-bottom: 1px solid #ccc;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 0.9rem;
}

.headerLeftLabel {
  flex: 1 1 auto;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  /* No wrap, text must be in one row */
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.headerRightControls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  /* Elements will be in vertical central position */
  gap: 12px;
  /* Space between elements */
}

/* Separator and label of Header row */
.headerSeparator {
  display: flex;
  align-items: center;
  height: 100%;
}

.verticalDivider {
  width: 1px;
  height: 24px;
  background-color: #ccc;
}

.headerSeparatorLabel {
  font-size: 0.85rem;
  color: #000000;
  white-space: nowrap;
  align-items: center;
  line-height: 1;
}

/* Control buttons in Header */
.headControlBtn,
.headControlBtnNoBlueElement,
.headerRightControls .DateInput_input,
.headerRightControls .Select-control {
  height: 34px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.headControlBtn {
  display: flex;
  flex: 1 1 auto;
  align-items: center; /* Elements will be in vertical central position */
  height: 34px;
  padding: 0px 18px; /* Padding top and bottom = 0px, right and left = 18px */
  font-size: 0.85rem;
  border: 1px solid #ccc;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.headControlBtn.active {
  border: 1px solid #0059ff;
}

.headControlBtn.active::after {
  background-color: #007BFF;
}

.headControlBtn:hover {
  background: #ffffff;
  border: 1px solid #0059ff;
}

.headControlBtn::after {
  /* Lower border highlighted by pseudo-element */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 4px;
  background-color: transparent;
  /* Default hidden */
  transition: background-color 0.2s ease;
}

.headControlBtn:hover::after {
  /* When mouse hover, the pseudo-element will be colored */
  background-color: #0059ff;
}

.headControlBtnNoBlueElement {
  display: flex;
  flex: 1 1 auto;
  align-items: center; /* Elements will be in vertical central position */
  height: 34px;
  padding: 0px 0px; /* Padding top and bottom = 0px, right and left = 0px */
  font-size: 0.85rem;
  border: 1px solid #ccc;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.headControlBtnNoBlueElement.active {
  border: 1px solid #0059ff;
}

.headControlBtnNoBlueElement.active::after {
  background-color: #007BFF;
}

.headControlBtnNoBlueElement:hover {
  background: #ffffff;
  border: 1px solid #0059ff;
}

.btnIconTitleRow {
  height: 24px;
  width: 24px;
  vertical-align: sub;
  display: inline-block;
  cursor: pointer;
}

.infoIcon {
  cursor: pointer;
  margin-left: 10px;
}

.btnIconHeaderRow {
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

.headControlBtnNoBlueElement .btnIconHeaderRow {
  height: 20px;
  width: 20px;
  margin-left: 8px;
}

.squareViewBtn .btnIconHeaderRow {
  margin: 0;
  /* remove the 8 px right margin      */
}

/* Slide switch for Charts button */
#chartsViewMenu {
  display: flex;
  /* stay in the flex row                */
  overflow: hidden;
  /* clip children while shrinking       */
  gap: 0;

  max-width: 0;
  /* ← this removes the layout gap       */
  margin-left: 0;

  opacity: 0;
  pointer-events: none;

  transition: max-width 0.45s ease,
    /* smooth width animation       */
    margin-left 0.45s ease,
    opacity 0.45s ease;
}

#chartsViewMenu.visible {
  max-width: 126px;
  /* 3 × 34 px + border overlap    */
  margin-left: 6px;
  /* gap only when menu is open    */
  opacity: 1;
  pointer-events: auto;
}

.squareViewBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  width: 34px;
  /* Square  */
  padding: 0;
  border: 1px solid #ccc;
  /* Same style as .headControlBtn  */
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border-radius: 0;
  /* Square corners */
}

.squareViewBtn:first-child {
  /* Rounded edges for the outermost buttons → block looks like one pill */
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.squareViewBtn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.squareViewBtn:not(:first-child) {
  margin-left: -1px;
  /* Overlap one pixel */
}

.squareViewBtn:hover {
  border-color: #0059ff;
  z-index: 1;
}

.squareViewBtn.active {
  border-color: #0059ff;
  z-index: 2;
}

.chartsControlGroup {
  /* Wrapper behaves like *one* item in main flex row                  */
  display: flex;
  align-items: center;
  /* zarovná menší menu k výšce tlačítka        */
  gap: 0;
  /* žádná vnitřní mezera (řešíme ručně)        */
}

/* Date Picker in Header of Analysis Bias Tab */
.headerRightControls .DateInput_input {
  background-color: #ffffff;
  height: 34px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.DateInput_input:hover {
  background-color: #ffffff;
  border: 1px solid #0059ff;
  cursor: pointer;
}

.DateInput_input:focus {
  background-color: #ffffff;
  border: 1px solid #0059ff;
  cursor: pointer;
}

.CalendarDay__selected,
.CalendarDay__selected:active,
.CalendarDay__selected:hover {
  background: #0059ff;
  border: 1px double #0059ff;
  color: white;
}

.DayPickerKeyboardShortcuts_show__bottomRight::before {
  border-right: 33px solid #0059ff !important;
}

.DateInput_input__focused {
  border-bottom: 2px solid #0059ff !important;
}

.SingleDatePicker_picker,
.SingleDatePicker_picker__portal {
  /* Safety for portal variant too */
  z-index: 300 !important;
  /* Any number > 200 is fine */
}

/* Session selector in Header of Analysis Bias Tab */
.headerRightControls .Select {
  min-width: 120px;
  flex: 0 0 auto;
}

.headerRightControls .Select-control {
  height: 34px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.headerRightControls .Select-control:hover {
  background-color: #ffffff;
  border: 1px solid #0059ff;
  cursor: pointer;
}


.headerSessionDropdown .Select-control,
.headerSessionDropdown.has-value.Select--single > .Select-control {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  line-height: 34px !important;
  box-sizing: border-box;
  padding: 0px 0px 0px 7px !important;
  display: flex;
  align-items: center;
}

.headerSessionDropdown .Select-arrow-zone,
.headerSessionDropdown .Select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.headerSessionDropdown .Select-placeholder,
.headerSessionDropdown .Select-value {
  display: flex;
  align-items: center;
  line-height: 34px !important;
}

.headerSessionDropdown .Select-value-label {
  line-height: 34px !important;
  display: block;
  padding-left: 24px;
}

.headerSessionDropdown .Select-input,
.headerSessionDropdown .Select-input > input {
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 !important;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Overlay panels in Analysis Bias Tab */
.panelOverlay {
  position: absolute;
  inset: 0px;
  /* Inner padding in accordance with .analysisBiasTwoColumn - Analysis Bias Two Column */
  background: #ffffff;
  border-radius: 12px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.panelPulseOverlay {
  position: absolute;
  inset: 0px;
  /* Inner padding in accordance with .analysisBiasTwoColumn - Analysis Bias Two Column */
  background: #ffffff;
  border-radius: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panelOverlay2x2Grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.panelOverlay1x1Grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 10px;
}

.panelOverlay1x2Grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  /* Single row */
  gap: 10px;
}

.panelOverlayFrame {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
  border-radius: 0px;
  align-items: center;

  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
}

/* ───────── Slide‑out report sidebar + toggle ───────── */
.reportSidebar, .pulseSidebar{
  flex: 0 0 260px;
  width: 260px;
  background:#ffffff;
  border-left: 1px solid #ccc;
  box-shadow:-2px 0 6px rgba(0,0,0,.06);
  display: flex;
  flex-direction:column;
  overflow-y: auto;
  transition: transform .55s ease;
  z-index: 10;
  margin-left: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.reportSidebar.hidden, .pulseSidebar.hidden {
  /* completely collapse flex space */
  flex: 0 0 0 !important;
  width: 0 !important;
  transform: translateX(100%);
  padding: 0;
  border: none;
  margin: 0;
}

/* text & odkazy */
.reportSidebar h3, .pulseSidebar h3{
  margin:20px 0 10px 20px;
  font-size:.95rem;
  font-weight:600;
  color:#222;
}
.reportSidebar ul, .pulseSidebar ul{
  list-style: none;

  margin-top: 50px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;

  padding-top: 0px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0px;
}

.reportSidebar li, .pulseSidebar li{
  padding: 10px 15px;

  margin-top: 5px;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px;

  font-size: .88rem;
  color: #000000;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
  transition: background .15s, padding-left .15s;
}

.reportSidebar li:hover, .pulseSidebar li:hover{
  background:#ffffff;
  border: 1px solid #0059ff;
  cursor: pointer;
  position: relative;
}
.reportSidebar li.active, .pulseSidebar li.active{
  background-color: #ffffff;
  border: 1px solid #0059ff;
  position: relative;
}
.reportSidebar li.active::before, .pulseSidebar li.active::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #0074d9;
}
.reportSidebar li:hover::before, .pulseSidebar li:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #0059ff;
}

/* přepínač panelu */
.sidebarToggleBtn{
  position: absolute;
  z-index: 10;
  top: 12px;
  right: -44px;
  width: 34px;
  height: 34px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background:#ffffff url("/assets/images/bars-solid.svg") center/16px no-repeat;
  cursor: pointer;
  transition: transform .55s ease;
  transform: translateX(-260px);
}

.sidebarToggleBtn.closed {
  /* when sidebar is closed, reset position */
  transform: translateX(0);
  right: 19px;
}

.sidebarToggleBtn:hover {
  background-color: #ffffff;
  border: 1px solid #0059ff;
  cursor: pointer;
}

/* --- separator pod nadpisy --- */
.sidebar-separator {
  border: none;
  border-top: 1px solid #d0d0d0;
  margin: 18px 12px;
}

/* --- dvě nová tlačítka --- */
.sidebar-btn {
  display: block;
  margin: 0px 10px 10px 10px;
  padding: 10px 10px;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #000000;
}
.sidebar-btn:hover {
  background: #e1ebf5;
}

/* --- overlay (celoplošný panel) --- */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.overlay-bg{
  position: absolute;
  inset: 0;
  background: transparent;
  cursor: pointer;
}

.overlay-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  width: 90%;
  background: #ffffff;
  border-radius: 4px;
  padding: 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  overflow-y: auto;
  max-height: 80vh;
}

.overlay-content--wide {
  max-width: 1050px;
  width: 96%;
  height: 80vh;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.overlay-content p { text-align: justify; }

.overlay-content ul {
  list-style-position: inside; /* už jen pro hezčí odsazení, není nutné */
  margin: 0;
  padding: 0;
  text-align: justify;
}
.overlay-content ul li {
  margin-bottom: 12px;  /* můžete nastavovat libovolnou výšku mezery */
  line-height: 1.4;     /* můžete také jemně doladit řádkování textu */
}

/* křížek vpravo nahoře */
.overlay-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  cursor: pointer;
}
.overlay-head {
  margin-top: 0;          /* h2 bez horního odsazení */
}

/* --- Pulse panel (pravé menu a obsah) --- */
.pulseContentInner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px 38px 24px 38px;
  background: #fff;
}
.pulseContentInner::-webkit-scrollbar {
  width: 8px;
}
.pulseContentInner::-webkit-scrollbar-track {
  background: transparent;  /* průhledné pozadí celého tracku */
}
.pulseContentInner::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);  /* jen trochu viditelný thumb */
  border-radius: 4px;
}
.pulseContentInner {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.3) transparent;
}

.pulseMainFlex {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.cotDatePicker input, .cotDatePicker .DateInput_input {
  height: 34px !important;
  font-size: 0.85rem !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  text-align: left;
}

.cotDatePicker {
  min-width: 105px;
  z-index: 101;
}

/* Moderní styl pro COT tabulku */
.appTable {
  width: 90%;
  margin-top: 18px;
  margin-bottom: 15px;
  margin-right: auto;
  margin-left: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  box-shadow: 0 3px 16px 0 rgba(27,43,92,0.04), 0 1.5px 5px 0 rgba(80,113,187,0.05);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.appTable:hover {
  box-shadow: 0 6px 28px 0 rgba(27,43,92,0.09), 0 2.5px 12px 0 rgba(80,113,187,0.09);
}
.appTable th, .appTable td {
  padding: 11px 14px;
  border: none;
  font-size: 0.88rem;
}

/*
.appTable th {
  background: linear-gradient(90deg, #e8efff 0%, #f3f8ff 100%);
  color: #1746a0;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #c7d2e5;
  position: relative;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}
  */

.appTable th {
  background: #ffffff;
  color: #0059ff;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #ccc;
  position: relative;
  letter-spacing: 0.01em;
}

/* ——— 1)   Gradient & animace POUZE na řádek <tr> ——— */
/*
.appTable thead tr {
  background: linear-gradient(60deg,
    #833ab4  0%,
    #5851db 20%,
    #0059ff 40%,
    #42a5f5 100%
  );
  background-size: 100% 100%;
  animation: gradientShift 8s ease infinite;
  color: #ffffff;
}
.appTable thead th {
  background: transparent !important;
  border-bottom: 2px solid #c7d2e5;
}
*/

.appTable th .info-icon {
  margin-left: 5px;
  color: #49a1e2;
  cursor: pointer;
  font-size: 1.05em;
  vertical-align: middle;
  transition: color 0.15s;
}
.appTable th .info-icon:hover {
  color: #003fa7;
}

.appTable tbody tr {
  transition: background 0.18s;
}
.appTable tbody tr:hover {
  background: #f6f6f6;
}
.appTable td.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.appTable td.pos {
  color: #18a45c;
  font-weight: 600;
}
.appTable td.neg {
  color: #c82b2b;
  font-weight: 600;
}
.appTable td {
  color: #263452;
  border-top: 1px solid #eceef6;
  vertical-align: middle;
}
.appTable tr:last-child td {
  border-bottom: none;
}
.appTable td:first-child,
.appTable th:first-child {
  border-top-left-radius: 6px;
}
.appTable td:last-child,
.appTable th:last-child {
  border-top-right-radius: 6px;
}
@media (max-width: 600px) {
  .appTable th, .appTable td {
    padding: 8px 6px;
    font-size: 0.86rem;
  }
  .appTable {
    width: 100%;
    margin: 12px 0;
  }
}

.chartBlock {
  border: 0px solid #ebebeb;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  border-radius: 0px;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.chartTitle {
  font-weight: 400;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.2rem;
  color: #0059ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


.cotSummary {
  margin-top: 15px;
  padding: 20px 70px;
  border: 0px solid #e1e1e1;
  background: #ffffff;
  border-radius: 6px;
  font-style: normal;
  color: #333;
}

.pulseSectionTitle {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin: 0px 0px 0px 0px;
  font-size: 1.55rem;
  color: #0059ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.pulseSection { margin-bottom: 10px; }


/* ───────── Re-usable třída pro tlačítka / nadpisy ───────── */
.igGradient {
  background: linear-gradient(60deg,
  #833ab4  0%,
  #5851db 20%,
  #0059ff 40%,
  #42a5f5 100%
  );
  font-size: 1.7rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-size: 100% 100%;
  animation: gradientShift 8s ease infinite;
  -webkit-background-clip: text;       /* Safari / Chrome */
  -webkit-text-fill-color: transparent;
          background-clip: text;       /* Firefox */
          color: transparent;
}

/* ──────────────────────────────────────────────────────────────
   ÚZKÉ VIEWPORTY  (telefon / tablet na výšku)  ≤ 768 px
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* 0. Globálně: nikde žádný horizontální scroll */
  html,
  body {
    overflow-x: hidden;
  }

  /* ——— 1. Logo — favicon místo širokého loga ——— */
  .logoHeader {
    content: url("/assets/images/favicon-white-background.png");
    width: 32px;
    height: 32px;
    padding: 0 9px 0 12px;
    border-right: 1px solid #ccc;
  }

  .headerFlyoutPanel {
    display: none !important;
  }

  /* ——— 2. Tlačítka Report / Seasonality / Charts ——— */
  .headControlBtn {
    width: 34px;
    padding: 0;
    font-size: 0;
    /* skryje text */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .headControlBtn .btnIconHeaderRow {
    margin: 0;
  }

  /*  už žádný modrý pseudo‑pruh u zúžených ikon */
  .headControlBtn::after {
    display: none !important;
  }

  /* ——— 3. “Report select:” text pryč ——— */
  .headerSeparatorLabel {
    display: none;
  }

  /* ——— 4. Zúžit DatePicker a Session‑dropdown ——— */
  .headerRightControls .DateInput_input {
    padding: 0 6px;
  }

  /* ——— 5. Dvou‑sloupcové rozvržení → pod sebe ——— */
  .analysisBiasTwoColumn {
    flex-direction: column;
    overflow-x: hidden;
    /* jistota, že se neuvolí vodorovně */
    overflow-y: auto;
  }

  /* pravý sloupec = celý zbytek šířky */
  .analysisBiasTwoColumn .rightColumn {
    width: 100%;
    flex: 0 0 auto;
    min-height: 0;
  }

  /* levý sloupec – graf/info */
  .analysisBiasTwoColumn .leftColumn {
    max-height: 205px;
    /* můžeš doladit */
    width: 93%;
    flex: 0 0 auto;
    min-height: 0;
  }

  /* TradingView iframe — pevný poměr stran */
  .analysisBiasTwoColumn .leftColumn iframe {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  /* kdyby byl v iframe ještě druhý element, skryj ho */
  .analysisBiasTwoColumn .leftColumn iframe:nth-of-type(2) {
    display: none;
  }

  /* 1) Zúžit wrapper samotného DatePickeru (využíváme id dcc komponenty) */
  #ndxDatePicker {
    flex: 0 0 auto;
    /* aby nesáhnul přes flex */
    width: 50px !important;
    min-width: 0;
    /* ať se může smrsknout */
  }

  /* 2) Uvnitř něj zbytek inputu rovnou na 100% šířky wrapperu */
  #ndxDatePicker .DateInput_input {
    width: 100% !important;
    box-sizing: border-box;
    opacity: 0 !important;
  }

  #ndxDatePicker .DateInput {
    position: relative;
  }

  /* 3) Ať se tlačítko otvírání kalendáře hezky vleze */
  #ndxDatePicker .SingleDatePickerInput_calendarIcon {
    right: 4px;
    /* případně dolaď podle potřeby */
  }

  #ndxDatePicker .DateInput::after {
    content: "Date";
    position: absolute;
    text-align: center;
    left: 13px;
    top: 49%;
    transform: translateY(-50%);
    pointer-events: none;
    /* aby kliknutí prošlo do inputu */
    color: #000;
    /* případně doladíš barvu */
  }
}

/* ──────────────────────────────────────────────────────────────
     Jemné doladění pro ≤ 1024 px (tablet landscape)
     ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .headerRightControls {
    gap: 8px;
  }

  .headerFlyoutPanel,
  .headerFlyoutPanel--wide {
    width: min(420px, calc(100vw - 24px));
  }
}


.analysis-date-picker-left-section {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: flex-start !important;
}

.analysis-date-picker-day[data-selected] {
  background-color: #0059ff;
  color: #ffffff;
}

.analysis-date-picker-day[data-selected]:hover {
  background-color: #0059ff;
  color: #ffffff;
}
