.c28-ads { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px 20px; clear: both; flex-shrink: 0; }
.c28-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.c28-card { display: flex; min-width: 0; min-height: 90px; flex-direction: column; overflow: hidden; border: 0 !important; border-radius: 8px; background: #eef2f6; color: #122b47; text-decoration: none !important; }
.c28-card > img { width: 100%; height: 52px; object-fit: contain; background: #edf2f7; }
.c28-card > span { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 8px; }
.c28-card b, .c28-card small { overflow-wrap: anywhere; line-height: 1.35; white-space: normal !important; }
.c28-text { background: linear-gradient(115deg, #0965d9, #159ee3, #5b39cc); color: #fff !important; }
.c28-card:focus-visible { outline: 3px solid #ee9c00; outline-offset: 2px; }
header[data-c28-header="normal"] { position: static !important; display: block !important; width: 100%; height: auto !important; max-height: none !important; }
.c28-brand-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px; flex-wrap: wrap; }
nav[data-c28-nav="simple"] { position: static !important; display: flex !important; width: 100% !important; max-width: 1200px; height: auto !important; max-height: none !important; margin: 0 auto !important; padding: 6px 20px !important; flex-wrap: wrap !important; gap: 4px 12px !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
nav[data-c28-nav="simple"] > a { display: flex !important; min-height: 40px; align-items: center; white-space: normal !important; }
[data-theme="dark"] .c28-card:not(.c28-text) { background: #203045; color: #f2f6fa; }
@media (max-width: 800px) { .c28-ads { padding: 6px 12px; } .c28-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c28-card { min-height: 84px; } .c28-card > img { height: 48px; } nav[data-c28-nav="simple"] { padding: 6px 12px !important; gap: 4px 10px !important; } }

/* Current production header/fragment contract, kept as source instead of copied HTML. */
.preview-m { max-width: 390px; }
.preview-d { max-width: 1100px; }
.preview-brand, .preview-content { padding: 16px; margin: 8px 0; background: #edf2f7; color: #142c45; }
.preview-m, .preview-d { margin: 24px 0; }
.c28-label { display: block; margin-bottom: 4px; color: var(--muted, #536273); font-size: 11px; }
.preview-m .c28-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c28-card { box-sizing: border-box; margin: 0 !important; font-family: inherit; line-height: 1.35 !important; }
.c28-card:hover { color: inherit; }
.c28-text:hover { color: #fff; }
.c28-compact .c28-card { min-height: 44px; height: auto; flex-direction: row; align-items: center; }
.c28-compact .c28-card > img { width: 32px; height: 32px; margin-left: 6px; }
.c28-compact .c28-card > span { padding: 6px; }
.c28-compact .c28-card b { font-size: 13px; }
[data-theme="dark"] .c28-label { color: #b9c7d8; }
header[data-c28-header="normal"] { flex: none; grid-column: 1 / -1; }
.c28-brand-row > div:only-child { width: 100%; }
.c28-brand-row .nav-toggle, .c28-brand-row .menu-toggle, .c28-brand-row .menu-button { display: none !important; }
.c28-brand-row .header-inner, .c28-brand-row .nav-inner, .c28-brand-row .fx-header-inner, .c28-brand-row .s3-header-inner { height: auto; min-height: 60px; flex-wrap: wrap; }
.c28-brand-row .brand, .c28-brand-row .brand-link { flex-shrink: 0; }
nav[data-c28-nav="simple"] { max-width: 1200px !important; box-sizing: border-box; justify-content: flex-start; box-shadow: none !important; }
nav[data-c28-nav="grouped"] { position: static !important; max-height: none !important; transform: none !important; }
header[data-c28-header="chat"] { position: static !important; flex-shrink: 0; }
.archive-ledger[data-timeline] { min-height: 420px; }
@media (max-width: 800px) {
  .c28-compact .c28-card { min-height: 44px; }
  .c28-card > span { padding: 5px 6px; }
}
