/* CHIK graphite banner with restrained yellow accents in both Octava themes. */
.portal-sidebar.has-chik-banner { grid-template-rows: auto minmax(0, 1fr) auto; }
.has-chik-banner .portal-nav {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong, #414145) transparent;
}
.chik-sidebar-banner {
  --chik-yellow: #ffdf38;
  --chik-graphite: #222325;
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid #3b3c3e;
  border-radius: 12px;
  background: var(--chik-graphite);
  color: #f4f1e9;
  font-family: inherit;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.chik-sidebar-banner:hover {
  background: #292a2c;
  border-color: #565548;
  color: #f4f1e9;
  transform: translateY(-1px);
}
.chik-banner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chik-banner-brand { color: var(--chik-yellow); font-size: 20px; font-weight: 900; line-height: 1; letter-spacing: -.9px; }
.chik-banner-arrow { color: var(--chik-yellow); font-size: 20px; line-height: 1; }
.chik-banner-title { font-size: 14px; font-weight: 750; line-height: 1.35; }
.chik-banner-offer { color: #c0bdb4; font-size: 12px; font-weight: 500; line-height: 1.5; }
.chik-banner-action { color: var(--chik-yellow); margin-top: 1px; font-size: 12px; font-weight: 800; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.chik-sidebar-banner:focus-visible { outline: 2px solid var(--text, #f4f1e9); outline-offset: 3px; }

.octava-chik-announcement {
  width: min(590px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line, #28282b);
  border-radius: 24px;
  background: var(--surface, #101011);
  color: var(--text, #f4f1e9);
  box-shadow: 0 24px 100px #0006;
  font-family: inherit;
}
.octava-chik-announcement::backdrop { background: #0009; backdrop-filter: blur(5px); }
.octava-chik-announcement[open] { animation: och-appear 220ms cubic-bezier(.2,.8,.2,1); }
.och-card { position: relative; padding: 32px; }
.och-close {
  position: absolute;
  top: 19px;
  right: 19px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-soft, #b9b5aa);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.och-close:hover { background: var(--surface-strong, #19191b); color: var(--text, #f4f1e9); }
.och-close svg { width: 17px; height: 17px; }
.och-top { display: flex; align-items: center; gap: 13px; min-height: 28px; margin-bottom: 24px; padding-right: 32px; }
.och-brand { font-size: 22px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.och-tag { padding-left: 13px; border-left: 1px solid var(--line-strong, #414145); color: var(--text-soft, #b9b5aa); font-size: 12px; line-height: 1.4; }
.och-layout { display: grid; grid-template-columns: minmax(0, 1fr) 156px; align-items: center; gap: 26px; }
.och-message { min-width: 0; }
.octava-chik-announcement h2 { margin: 0; font-size: 31px; font-weight: 750; line-height: 1.15; letter-spacing: -1px; }
.octava-chik-announcement h2 em { color: var(--accent, #ff792e); font-style: normal; }
#och-intro { max-width: 35ch; margin: 13px 0 0; color: var(--text-soft, #b9b5aa); font-size: 14px; font-weight: 400; line-height: 1.65; }
.och-offer {
  margin: 22px 0 20px;
  color: var(--text-soft, #b9b5aa);
  font-size: 13px;
  line-height: 1.7;
}
.och-price { white-space: nowrap; }
.och-offer b { color: var(--accent, #ff792e); font-size: 15px; font-weight: 750; white-space: nowrap; }
.och-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(210px, 100%);
  min-height: 49px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--accent, #ff792e);
  color: var(--accent-ink, #24110b);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}
.och-cta:hover { background: var(--accent-strong, #ff8c4b); color: var(--accent-ink, #24110b); transform: translateY(-1px); }
.och-cta > span:last-child { font-size: 19px; }
.och-card-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 207px;
  padding: 19px;
  border-radius: 20px;
  background: #f3b46b;
  color: #2e1c10;
  transform: rotate(7deg);
  box-shadow: -9px 10px 0 #26231e, -10px 11px 0 #3b352a;
}
.och-card-brand { font-size: 22px; font-weight: 900; line-height: 1; letter-spacing: -.9px; }
.och-card-price { display: block; font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: -3px; }
.och-card-caption { display: block; margin-top: 9px; font-size: 12px; line-height: 1.4; }
.och-fees { margin-top: 23px; padding-top: 19px; border-top: 1px solid var(--line, #28282b); color: var(--text-soft, #b9b5aa); font-size: 12px; line-height: 1.8; }
.och-fees p { margin: 0; }
.och-fees strong { color: var(--text, #f4f1e9); font-weight: 600; }
.octava-chik-announcement :focus-visible { outline: 2px solid var(--accent, #ff792e); outline-offset: 3px; }
@keyframes och-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .och-card { padding: 25px 23px; }
  .och-layout { grid-template-columns: minmax(0, 1fr); }
  .och-card-art { display: none; }
  .octava-chik-announcement h2 { font-size: 29px; }
  .och-cta { width: 100%; }
}
@media (max-height: 480px) {
  .portal-sidebar.has-chik-banner {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .has-chik-banner .sidebar-head {
    position: sticky;
    top: 0;
    z-index: 1;
    flex-shrink: 0;
    background: var(--bg-soft, #0b0b0c);
  }
  .has-chik-banner .portal-nav { flex-shrink: 0; overflow-y: visible; }
  .has-chik-banner .sidebar-bottom { flex-shrink: 0; margin-top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .octava-chik-announcement[open] { animation: none; }
  .chik-sidebar-banner, .och-close, .och-cta { transition: none; }
  .chik-sidebar-banner:hover, .och-cta:hover { transform: none; }
}

