/* t4148: Free Templates use the live site palette.
   Navy #0b1846, blue #1d63ff, ice #f5f8ff, white cards.
   Header stays the only sticky site chrome. Chatbot stays fixed
   in the bottom corner. No horizontal overflow up to 125% zoom. */
html, body#ag-unified-site.ft {
  overflow-x: hidden;
  max-width: 100%;
}
body#ag-unified-site.ft {
  margin: 0;
  background: #f5f8ff !important;
  color: #16224d !important;
}
body#ag-unified-site.ft #main {
  overflow-x: hidden;
  max-width: 100%;
  background: #f5f8ff;
  color: #16224d;
}
body#ag-unified-site.ft #main h1,
body#ag-unified-site.ft #main h2,
body#ag-unified-site.ft #main h3,
body#ag-unified-site.ft #main h4 {
  color: #0b1846 !important;
  -webkit-text-fill-color: #0b1846;
}
body#ag-unified-site.ft #main p,
body#ag-unified-site.ft #main li,
body#ag-unified-site.ft #main label,
body#ag-unified-site.ft #main .ft-lede,
body#ag-unified-site.ft #main .ft-card-desc,
body#ag-unified-site.ft #main .ft-field,
body#ag-unified-site.ft #main .ft-field-label {
  color: #4a5677;
}
body#ag-unified-site.ft #main .ft-card-title a,
body#ag-unified-site.ft #main .ft-pack,
body#ag-unified-site.ft #main .ft-pack strong {
  color: #0b1846 !important;
}
body#ag-unified-site.ft #main a {
  color: #1d63ff;
}
body#ag-unified-site.ft #main .ft-btn-primary,
body#ag-unified-site.ft #main .ft-chip[aria-pressed="true"],
body#ag-unified-site.ft #main .ft-step[aria-selected="true"] {
  color: #fff !important;
  background: #1d63ff;
  border-color: #1d63ff;
}
body#ag-unified-site.ft #main .ft-btn-primary:hover {
  background: #2f80ff;
}
/* Keep the white estimate sheet and email preview in dark-on-light ink. */
body#ag-unified-site.ft #main .ft-mail,
body#ag-unified-site.ft #main .ft-mail p,
body#ag-unified-site.ft #main .ft-mail strong,
body#ag-unified-site.ft #main .ft-sheet,
body#ag-unified-site.ft #main .ft-doc,
body#ag-unified-site.ft #main .ft-pre {
  color: #16224d;
}
body#ag-unified-site.ft #main .ft-mail .ft-ph,
body#ag-unified-site.ft #main .ft-ph {
  background: #dceaff;
  color: #1d63ff;
}
body#ag-unified-site.ft #main .ft-table th {
  background: #0b1846 !important;
  color: #fff !important;
}
@media (max-width: 420px) {
  body#ag-unified-site.ft .ft-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}
body#ag-unified-site.ft .ft-form {
  top: calc(var(--ag-header-h, 88px) + 12px);
}
body#ag-unified-site.ft .ft-header,
body#ag-unified-site.ft .ft-footer {
  display: none !important;
}
body#ag-unified-site.ft #ag-chat,
body#ag-unified-site.ft .ag-chat,
body#ag-unified-site.ft [data-ag-chat],
body#ag-unified-site.ft .chat-launcher,
body#ag-unified-site.ft #chat-root {
  color: initial;
}
@media print {
  ag-site-header, ag-site-footer, .skip,
  #ag-chat, .ag-chat, [data-ag-chat], .chat-launcher, #chat-root,
  noscript, body#ag-unified-site.ft .ft-noprint {
    display: none !important;
  }
}

.ft-sheet-wrap { max-width: 100%; min-width: 0; width: 100%; }
@media print {
  .ft-sheet { transform: none !important; }
  .ft-sheet-wrap { height: auto !important; overflow: visible !important; }
}

/* t4152 library + fill-in polish on the live site shell */
body#ag-unified-site.ft .ft-list-head h2{color:#0b1846!important}
body#ag-unified-site.ft .ft-actions [data-ft="left"]{color:#0b1846}
body#ag-unified-site.ft .ft-actions [data-ft="left"].is-ready{color:#166534}
body#ag-unified-site.ft .ft-seq-item[aria-current="page"]{color:#fff!important}
@media (max-width:639px){
  body#ag-unified-site.ft .ft-tools{
    top:calc(var(--ag-header-h, 88px));
    background:#f5f8ff;
  }
}
