/* Gary Corp CSS chunk 4/6. styles.css kept as fallback. */

.updates-body .site-footer {
  background: #000000;
  border-top-color: rgba(255, 255, 255, 0.14);
}

.updates-body .footer-link,
.updates-body .footer-block p,
.updates-body .footer-copy {
  color: #b7b7b7;
}

.updates-body .footer-block h2,
.updates-body .footer-block h3,
.updates-body .footer-eyebrow {
  color: #ffffff;
}
.updates-toolbar,
.updates-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101010;
}

.updates-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 18px;
}

.updates-search-field,
.updates-filter-field,
.updates-form label {
  display: grid;
  gap: 8px;
  color: #f7f7f7;
  font-weight: 700;
}

.updates-input {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #050505;
  color: #ffffff;
}

.updates-input::placeholder {
  color: #7f7f7f;
}

.updates-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  outline-offset: 1px;
}

.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 26px;
  align-items: start;
}

.updates-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
}

.updates-section-head h2,
.updates-panel h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.updates-count,
.updates-note {
  color: #b7b7b7;
}

.updates-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
}

.updates-form {
  display: grid;
  gap: 13px;
}

.updates-form textarea {
  resize: vertical;
}

.updates-actions {
  margin-top: 6px;
}

.update-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  background: #050505;
}

.update-embed {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #050505;
}

.update-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .updates-toolbar,
  .updates-layout {
    grid-template-columns: 1fr;
  }

  .updates-panel {
    position: static;
  }
}
.footer-bottom {
  width: min(calc(100% - 40px), var(--max-width));
  display: grid;
  gap: 16px;
  margin: 28px auto 0;
}

.theme-switch {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.theme-switch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.theme-switch-icon svg {
  width: 20px;
  height: 20px;
}

.theme-switch-moon,
html[data-theme="dark"] .theme-switch-sun {
  display: none;
}

html[data-theme="dark"] .theme-switch-moon {
  display: inline-flex;
}

html[data-theme="dark"] .loader-overlay { background: rgba(0, 0, 0, 0.78); }

html[data-theme="dark"] .loader-circle,
html[data-theme="dark"] .loader-small {
  border-color: rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent);
}

html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .mini-action,
html[data-theme="dark"] .social-link {
  background: var(--surface);
}

html[data-theme="dark"] .contact-icon {
  background: var(--bg-soft);
}

html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .input,
html[data-theme="dark"] .chat-input {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .footer-copy {
  color: rgba(243, 245, 251, 0.68);
}

.updates-body .theme-switch {
  border-color: rgba(255, 255, 255, 0.16);
  background: #111111;
  color: #ffffff;
}

@media (max-width: 720px) {
  .footer-bottom {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .theme-switch {
    width: 100%;
    justify-content: center;
  }
}
.footer-bottom .footer-copy {
  width: 100%;
  margin: 0;
}
.update-card-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.update-card-button:hover,
.update-card-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: #151515;
  transform: translateY(-2px);
  outline: none;
}

.update-card-title {
  display: block;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.update-card-summary {
  display: block;
  color: #c9c9c9;
}

.update-open-copy {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: #ffffff;
  font-weight: 700;
}

.update-detail {
  scroll-margin-top: 110px;
}

.update-detail-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: #101010;
}

.update-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.update-detail-head h2 {
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.update-detail-card p {
  color: #d2d2d2;
}

.update-detail-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.update-detail-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: #d2d2d2;
}

html[data-theme="dark"] .partner-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .partner-logo {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

@media (max-width: 720px) {
  .update-detail-card {
    padding: 20px;
  }

  .update-detail-head {
    grid-template-columns: 1fr;
  }

  .update-detail-close {
    justify-self: start;
  }
}


html[data-theme="dark"] body {
  background: #000000;
}

html[data-theme="dark"] .site-footer {
  background: #000000;
}
.footer-brand-block {
  align-content: start;
}

.footer-brand-logo {
  display: inline-flex;
  width: min(100%, 260px);
  min-height: 92px;
  align-items: center;
}

.footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo-dark,
html[data-theme="dark"] .footer-logo-light,
.updates-body .footer-logo-light {
  display: none;
}

html[data-theme="dark"] .footer-logo-dark,
.updates-body .footer-logo-dark {
  display: block;
}

@media (max-width: 720px) {
  .footer-brand-logo {
    width: min(100%, 230px);
    min-height: 78px;
  }
}
html[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #000000;
  --surface: #050505;
  --text: #ffffff;
  --muted: #c7c7c7;
  --line: #202020;
  --line-strong: #303030;
  --accent: #ffffff;
  --accent-contrast: #000000;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .page-main {
  background: #000000;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .tracking-card,
html[data-theme="dark"] .detail-panel,
html[data-theme="dark"] .media-panel,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .career-detail-block,
html[data-theme="dark"] .portal-card,
html[data-theme="dark"] .internet-card,
html[data-theme="dark"] .security-card,
html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .cookie-settings,
html[data-theme="dark"] .chat-window,
html[data-theme="dark"] .gary-ia-modal-shell {
  background: #050505;
  border-color: #202020;
  box-shadow: none;
}

html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .input,
html[data-theme="dark"] .chat-input,
html[data-theme="dark"] .mini-action,
html[data-theme="dark"] .contact-item,
html[data-theme="dark"] .social-link,
html[data-theme="dark"] .theme-switch {
  background: #050505;
  border-color: #202020;
  color: #ffffff;
}

html[data-theme="dark"] .pill,
html[data-theme="dark"] .status-pill,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .internet-badge {
  background: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .product-card-media img,
html[data-theme="dark"] .product-img {
  background-color: #111111;
}

html[data-theme="dark"] .partner-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}


/* Final dark publish polish */
html[data-theme="dark"] .site-header,
.site-body[data-theme="dark"] .site-header,
html[data-theme="dark"] #site-header {
  background: rgba(0, 0, 0, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .loader-overlay,
.site-body[data-theme="dark"] .loader-overlay {
  background: rgba(0, 0, 0, 0.78) !important;
  backdrop-filter: blur(3px);
}

html[data-theme="dark"] .loader-circle,
html[data-theme="dark"] .loader-small,
.site-body[data-theme="dark"] .loader-circle,
.site-body[data-theme="dark"] .loader-small {
  border-color: rgba(255, 255, 255, 0.2) !important;
  border-top-color: #ffffff !important;
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .logo-button,
html[data-theme="dark"] .cart-svg {
  color: #ffffff;
  stroke: #ffffff;
}
/* Header dark nav cleanup */
html[data-theme="dark"] .site-header .nav-link,
html[data-theme="dark"] #site-header .nav-link,
.site-body[data-theme="dark"] .site-header .nav-link {
  background: transparent !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .site-header .nav-link:hover,
html[data-theme="dark"] #site-header .nav-link:hover,
