
/* MyGPT content and visual quality upgrade v6 — 2026-07-18 */
.mygpt-brand { min-width: 156px; }
.mygpt-brand-mark { width: 156px !important; height: 50px !important; flex: 0 0 156px !important; object-fit: contain !important; object-position: left center; background: transparent !important; }
.mygpt-footer-brand img { width: 148px !important; height: 48px !important; object-fit: contain !important; object-position: left center; background: transparent !important; }
.mygpt-process-widget .mygpt-process-trigger { min-height: 72px !important; padding: .55rem 1rem .55rem .65rem !important; background: linear-gradient(135deg,#0b1f44 0%,#123184 100%) !important; color:#fff !important; border-color:rgba(145,184,255,.48)!important; box-shadow:0 20px 52px rgba(9,30,66,.32)!important; }
.mygpt-process-widget .mygpt-process-trigger:hover { background:linear-gradient(135deg,#102a59,#173db8)!important; border-color:#9fc0ff!important; }
.mygpt-process-widget .mygpt-process-trigger img { width:104px!important; height:52px!important; flex:0 0 104px!important; object-fit:contain!important; border-radius:10px!important; padding:.2rem!important; background:#fff!important; }
.mygpt-process-widget .mygpt-process-trigger strong { color:#fff!important; font-size:1rem!important; }
.mygpt-process-widget .mygpt-process-trigger small { color:#dbe8ff!important; font-size:.78rem!important; }
.mygpt-process-widget .mygpt-process-panel-head { grid-template-columns:118px 1fr!important; }
.mygpt-process-widget .mygpt-process-panel-head img { width:118px!important; height:62px!important; object-fit:contain!important; border-radius:10px!important; background:#fff!important; }
.baza-wiedzy .mygpt-article-shell { width:min(980px,calc(100% - 2.5rem)); }
.baza-wiedzy .mygpt-article-visual-v6 { margin:1.5rem 0 0; overflow:hidden; border:1px solid rgba(36,88,255,.14); border-radius:2rem; background:#0f2346; box-shadow:0 22px 60px rgba(24,48,112,.16); }
.baza-wiedzy .mygpt-article-visual-v6 img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.baza-wiedzy .mygpt-article-visual-v6 figcaption { padding:.75rem 1rem; color:#40506c; background:#fff; font-size:.78rem; line-height:1.5; }
.mygpt-article-summary { margin:1.5rem 0; padding:clamp(1.35rem,3vw,2rem); border:1px solid #b9cbef; border-radius:1.6rem; background:linear-gradient(145deg,#f8fbff,#eaf2ff); box-shadow:0 14px 35px rgba(24,48,112,.08); }
.mygpt-article-summary h2 { margin:0!important; font-size:1.45rem!important; color:#0f172a!important; }
.mygpt-article-summary p { margin:.75rem 0 0!important; color:#334155!important; line-height:1.75!important; }
.mygpt-article-summary ul { margin:1rem 0 0!important; padding-left:1.2rem!important; display:grid; gap:.5rem; }
.mygpt-article-summary li { margin-left:0!important; color:#1e3a5f; }
.mygpt-article-toc { margin:1.25rem 0 2rem; padding:1.25rem 1.4rem; border:1px solid #d1ddf1; border-radius:1.35rem; background:#fff; }
.mygpt-article-toc strong { color:#0f172a; }
.mygpt-article-toc ol { margin:.8rem 0 0; padding-left:1.2rem; columns:2; column-gap:2rem; }
.mygpt-article-toc li { break-inside:avoid; margin:.35rem 0!important; }
.mygpt-article-toc a { color:#173db8!important; font-weight:650; text-decoration:none!important; }
.mygpt-article-content > p:first-child { font-size:1.12rem!important; color:#1e3a5f!important; }
.mygpt-article-content h2 { scroll-margin-top:7rem; padding-top:.25rem; }
.mygpt-article-content blockquote { margin:2rem 0; padding:1.2rem 1.4rem; border-left:5px solid #2458ff!important; border-radius:0 1rem 1rem 0; background:#edf3ff; }
.mygpt-article-content table { width:100%; border:1px solid #cdd9ec; border-radius:1rem; background:#fff; }
.mygpt-service-cta-v6 { margin:3rem 0 2rem; padding:clamp(1.5rem,3vw,2.25rem); border:1px solid rgba(36,88,255,.28); border-radius:1.75rem; background:linear-gradient(145deg,#f8fbff,#dfe9ff); box-shadow:0 18px 45px rgba(24,48,112,.10); }
.mygpt-service-cta-v6 h2 { margin:.8rem 0 0!important; font-size:clamp(1.6rem,3vw,2.25rem)!important; }
.mygpt-service-cta-v6 p { color:#334155!important; }
.mygpt-cta-actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin-top:1.25rem; }
.mygpt-text-link { color:#173db8!important; font-weight:750; padding:.7rem .25rem; }
.mygpt-related-v6 { margin:3rem 0 0; }
.mygpt-related-grid-v6 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.mygpt-related-card-v6 { display:flex; flex-direction:column; overflow:hidden; border:1px solid #d1ddf1; border-radius:1.25rem; background:#fff; color:#0f172a!important; text-decoration:none!important; box-shadow:0 10px 28px rgba(24,48,112,.07); transition:.18s ease; }
.mygpt-related-card-v6:hover { transform:translateY(-3px); border-color:#9bb6ed; box-shadow:0 18px 38px rgba(24,48,112,.13); }
.mygpt-related-card-v6 img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.mygpt-related-card-v6 span { display:grid; gap:.45rem; padding:1rem; }
.mygpt-related-card-v6 strong { line-height:1.35; }
.mygpt-related-card-v6 small { color:#475569; line-height:1.55; }
.mygpt-product-grid-v6 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.mygpt-product-card-v6 { overflow:hidden; border:1px solid rgba(36,88,255,.16); border-radius:1.6rem; background:#fff; box-shadow:0 16px 45px rgba(24,48,112,.09); }
.mygpt-product-card-v6>img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.mygpt-product-card-v6>div { padding:1.35rem; }
.mygpt-product-card-v6>div>span { color:#173db8; font-size:.75rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.mygpt-product-card-v6 h3 { margin:.55rem 0; color:#0f172a; font-size:1.45rem; }
.mygpt-product-card-v6 p { color:#334155; line-height:1.7; }
.mygpt-product-links-v6 { display:grid; gap:.45rem; margin-top:1rem; }
.mygpt-product-links-v6 a { color:#173db8; font-weight:700; text-decoration:none; }
.mygpt-product-links-v6 a::after { content:' →'; }
.fallguard-local-page details summary { color:#0f172a; }
@media(max-width:900px){.mygpt-related-grid-v6,.mygpt-product-grid-v6{grid-template-columns:1fr 1fr}.mygpt-article-toc ol{columns:1}.mygpt-brand-mark{width:132px!important;flex-basis:132px!important}.mygpt-brand{min-width:132px}}
@media(max-width:620px){.mygpt-related-grid-v6,.mygpt-product-grid-v6{grid-template-columns:1fr}.baza-wiedzy .mygpt-article-shell{width:min(100% - 1.1rem,980px)}.baza-wiedzy .mygpt-article-visual-v6{border-radius:1.25rem}.mygpt-process-widget .mygpt-process-trigger img{width:84px!important;flex-basis:84px!important}.mygpt-process-widget .mygpt-process-trigger small{display:none!important}.mygpt-brand-mark{width:116px!important;height:42px!important;flex-basis:116px!important}.mygpt-brand{min-width:116px}}
/* Final contrast and mobile usability corrections */
.mygpt-service-cta-v6 .mygpt-btn-secondary {
  background:#0b1f44 !important;
  border-color:#0b1f44 !important;
  color:#fff !important;
  box-shadow:0 10px 24px rgba(11,31,68,.18) !important;
}
.mygpt-service-cta-v6 .mygpt-btn-secondary:hover {
  background:#173db8 !important;
  border-color:#173db8 !important;
  color:#fff !important;
}
@media(max-width:620px){
  .mygpt-process-widget{right:.55rem!important;bottom:.55rem!important}
  .mygpt-process-widget .mygpt-process-trigger{min-height:58px!important;max-width:202px!important;padding:.38rem .65rem .38rem .42rem!important;gap:.55rem!important}
  .mygpt-process-widget .mygpt-process-trigger img{width:66px!important;height:42px!important;flex:0 0 66px!important;padding:.15rem!important}
  .mygpt-process-widget .mygpt-process-trigger strong{font-size:.86rem!important;line-height:1.15!important}
}
.baza-wiedzy .mygpt-article-content .mygpt-service-cta-v6 a.mygpt-btn-primary,
.baza-wiedzy .mygpt-article-content .mygpt-service-cta-v6 a.mygpt-btn-secondary {
  color:#fff !important;
  text-decoration:none !important;
}
.baza-wiedzy .mygpt-article-content a.mygpt-related-card-v6 {
  color:#0f172a !important;
  text-decoration:none !important;
}

/* Logo consistency correction — use the square MyGPT mark formerly shown in the process widget. */
.mygpt-brand { min-width: 58px !important; }
.mygpt-brand-mark {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 12px !important;
}
.mygpt-footer-brand img {
  width: 58px !important;
  height: 58px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 12px !important;
}
.mygpt-process-widget .mygpt-process-trigger img {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  border-radius: 14px !important;
}
.mygpt-process-widget .mygpt-process-panel-head {
  grid-template-columns: 64px 1fr !important;
}
.mygpt-process-widget .mygpt-process-panel-head img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  border-radius: 14px !important;
}
@media (max-width: 900px) {
  .mygpt-brand { min-width: 54px !important; }
  .mygpt-brand-mark {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
  }
}
@media (max-width: 620px) {
  .mygpt-brand { min-width: 48px !important; }
  .mygpt-brand-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }
  .mygpt-process-widget .mygpt-process-trigger img {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }
}


/* V8: one logo rendering and one visual system for every "Opisz proces" action. */
.mygpt-brand,
.mygpt-footer-brand {
  line-height: 0 !important;
}
.mygpt-brand-mark,
.mygpt-footer-brand img,
.mygpt-process-widget .mygpt-process-trigger img,
.mygpt-process-widget .mygpt-process-panel-head img {
  object-fit: contain !important;
  object-position: center !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1px solid rgba(36,88,255,.14) !important;
  border-radius: 12px !important;
  padding: 0 !important;
}
.mygpt-brand-mark {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
}
.mygpt-footer-brand img {
  width: 58px !important;
  height: 58px !important;
}
.mygpt-process-widget .mygpt-process-trigger img {
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
}
.mygpt-process-widget .mygpt-process-panel-head {
  grid-template-columns: 64px 1fr !important;
}
.mygpt-process-widget .mygpt-process-panel-head img {
  width: 64px !important;
  height: 64px !important;
}

/* The header CTA, floating trigger and article CTA use the same navy-blue treatment. */
.mygpt-navigation .mygpt-header-cta,
.mygpt-process-widget .mygpt-process-trigger,
.mygpt-service-cta-v6 a[href="/kontakt/#opisz-proces"] {
  background: linear-gradient(135deg,#0b1f44 0%,#173db8 100%) !important;
  border-color: rgba(145,184,255,.48) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(9,30,66,.24) !important;
}
.mygpt-navigation .mygpt-header-cta:hover,
.mygpt-process-widget .mygpt-process-trigger:hover,
.mygpt-service-cta-v6 a[href="/kontakt/#opisz-proces"]:hover {
  background: linear-gradient(135deg,#102a59 0%,#2458ff 100%) !important;
  border-color: #9fc0ff !important;
  color: #fff !important;
}
.mygpt-process-widget .mygpt-process-trigger strong,
.mygpt-process-widget .mygpt-process-trigger small {
  color: #fff !important;
}

@media (max-width: 900px) {
  .mygpt-brand-mark {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
  }
}
@media (max-width: 620px) {
  .mygpt-brand-mark {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }
  .mygpt-process-widget .mygpt-process-trigger img {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }
}

/* Header logo visibility correction — only the top-left brand is changed. */
.mygpt-brand {
  min-width: 176px !important;
}
.mygpt-brand-mark {
  width: 176px !important;
  height: 65px !important;
  flex: 0 0 176px !important;
  object-fit: contain !important;
  object-position: left center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 900px) {
  .mygpt-brand {
    min-width: 160px !important;
  }
  .mygpt-brand-mark {
    width: 160px !important;
    height: 59px !important;
    flex-basis: 160px !important;
  }
}
@media (max-width: 620px) {
  .mygpt-brand {
    min-width: 145px !important;
  }
  .mygpt-brand-mark {
    width: 145px !important;
    height: 54px !important;
    flex-basis: 145px !important;
  }
}
