/* The free tools new look (Jay Menna approved the previews on 2026-12-04): the charcoal brand maze banner of
   Insurance Lists (insurers.undtec.com) and white detail cards. Rules copied from _spec/build.cjs (utx-*).
   The fonts and the maze tile are served from the site root. The maze tile is seamless: draw it at 768px. */
@font-face{font-family:'Magistral';src:url(/magistral-light.woff2) format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:'Avenir UT';src:url(/avenir-book.otf) format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:'Avenir UT';src:url(/avenir-medium.otf) format('opentype');font-weight:500;font-display:swap}

.utx-hero{position:relative;display:flex;flex-wrap:wrap;gap:20px 40px;justify-content:space-between;align-items:center;padding:28px 32px 42px;border-radius:2px;overflow:hidden;background-color:#2E3C43;background-image:url(/maze-dark.svg);background-size:768px 768px;font-family:'Avenir UT','Avenir','Segoe UI',system-ui,sans-serif;box-sizing:border-box;text-align:left;margin:0 0 16px}
.utx-hero *{box-sizing:border-box}
.utx-hero-main{flex:1 1 260px;min-width:0}
/* main h1/h2 carry !important colours and fonts in styles.css and ut-tools.css; the banner title wins here. */
main .utx-hero h1,main .utx-hero h2,.utx-hero h1,.utx-hero h2{margin:6px 0 4px !important;font-family:'Magistral','Avenir UT',sans-serif !important;font-weight:300 !important;font-size:clamp(26px,3vw,40px) !important;line-height:1.15 !important;letter-spacing:-.01em !important;color:#fff !important;text-align:left !important}
.utx-hero h1 em,.utx-hero h2 em{font-style:normal;color:#3DE2A0}
.utx-hero .lbl{font-size:12px;letter-spacing:.12em;color:#3DE2A0;text-transform:uppercase}
.utx-hero .lead{color:#fff;font-size:16px;margin-top:6px;max-width:760px}
.utx-hero .sub{color:#fff;font-size:14px;margin-top:2px}
.utx-hero .back{color:#fff !important;font-size:12px;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;font-family:inherit}
.utx-hero .back:hover{text-decoration:underline}
.utx-hero .acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.utx-btn{display:inline-flex;align-items:center;gap:8px;font:500 14px/1 'Avenir UT','Avenir',sans-serif;padding:12px 18px;border-radius:2px;white-space:nowrap;border:1px solid #fff;color:#fff !important;background:#2E3C43;cursor:pointer;text-decoration:none !important}
.utx-btn.mint{background:#3DE2A0;border-color:#3DE2A0;color:#2E3C43 !important}
.utx-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.utx-badge{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:4px 12px;border-radius:4px;font:600 13px/1.2 system-ui,-apple-system,'Segoe UI',sans-serif}
.utx-stats{display:flex;gap:28px;flex-wrap:wrap}
.utx-stat{border-left:3px solid #3DE2A0;padding:2px 0 2px 14px;background:#2E3C43}
.utx-stat:nth-child(2){border-color:#FFB26B}.utx-stat:nth-child(3){border-color:#72ADBB}
.utx-stat-n{font-family:'Magistral',sans-serif;font-weight:300;font-size:34px;line-height:1.1;color:#3DE2A0}
.utx-stat:nth-child(2) .utx-stat-n{color:#FFB26B}.utx-stat:nth-child(3) .utx-stat-n{color:#8fc6d3}
.utx-stat-l{color:#fff;font-size:13px;padding-right:10px}
.utx-stripe{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:1fr 1fr 1fr;height:12px}
.utx-stripe i{display:block}
.utx-stripe i:nth-child(1){background:#3DE2A0;clip-path:polygon(0 0,100% 0,calc(100% - 12px) 100%,0 100%)}
.utx-stripe i:nth-child(2){background:#FFB26B;margin-left:-12px;clip-path:polygon(12px 0,100% 0,calc(100% - 12px) 100%,0 100%)}
.utx-stripe i:nth-child(3){background:#72ADBB;margin-left:-12px;clip-path:polygon(12px 0,100% 0,100% 100%,0 100%)}
.utx-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.utx-card{background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.1);padding:24px;margin-top:16px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;text-align:left}
main .utx-card h4,.utx-card h4{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:18px;font-weight:700;line-height:1.3;color:#1e293b}
.utx-ic{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#3DE2A0;color:#2E3C43;flex:none}
.utx-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.utx-f{min-width:0;overflow-wrap:anywhere}
.utx-f .l{font-size:12px;font-weight:600;color:#64748b;margin-bottom:2px}
.utx-f .v{font-size:14px;color:#1e293b}
.utx-f .v.dim{color:#868e96}
.utx-f a,.utx-card a{color:#1c7ed6;text-decoration:none}
.utx-note{font-size:12px;color:#64748b;margin-top:12px;line-height:1.45}
.utx-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #e9ecef;margin-top:14px;padding-top:10px;font-size:12px}
.utx-foot b{color:#475569;font-weight:600}.utx-foot span{color:#868e96}
.utx-tablewrap{overflow-x:auto}
.utx-table{width:100%;border-collapse:collapse;font-size:14px}
.utx-table th{background:#f8f9fa;border-bottom:2px solid #dee2e6;text-align:left;font-size:13px;font-weight:700;padding:8px 10px;color:#1e293b}
.utx-table td{padding:8px 10px;border-bottom:1px solid #f1f3f5;color:#1e293b;overflow-wrap:anywhere}
.utx-table tr:nth-child(even) td{background:#f8f9fa}
.utx-table .nw{white-space:nowrap}

/* State pages: the action buttons sit under the cards, the SEO text in a white box under them. */
.utx-actions{margin:20px 0 24px}
.utx-seo{margin-top:8px}
/* Calculators: the result view shows only the result banner and its cards (About stays toggleable). */
.utx-result-on > *:not(#utResult):not(#aboutSection){display:none !important}
.utx-loading{padding:32px;text-align:center;color:#64748b}

@media (max-width:900px){.utx-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){
  .utx-hero{padding:22px 18px 34px}
  .utx-stats{gap:18px}
  .utx-stat-n{font-size:28px}
  .utx-grid{grid-template-columns:1fr}
  .utx-card{padding:18px}
}
/* One dark maze header (Jay Menna approved on 2026-12-04). The menu bar carries the brand maze and stays fixed at the
   top (on phones, under 768 px, it stays in the page as before, because its links take several lines). The first
   banner (start or result) sits directly under it, full page width, and its maze continues the menu bar's maze with no
   seam. Its text lines up with the logo and its right side with the menu bar's right edge: the menu bar content is the
   Tailwind container (640, 768, 1024 or 1280 px wide, 16 px padding). The banner scrolls away with the page. */
.ut-header{background:#2E3C43 url(/maze-dark.svg) 0 0 / 768px 768px repeat !important;border-bottom:0 !important;box-shadow:none !important}
.ut-header .ut-brand svg g{fill:#fff}
.ut-header .ut-brand-title{color:#fff}
.ut-header .ut-brand-sub{color:#c9d3d7}
.ut-header nav > div button,
.ut-header nav > div > a{color:#fff !important}
.ut-header nav > div button:hover,
.ut-header nav > div > a:hover{color:#3DE2A0 !important}
.ut-header #toolsDropdownBtn{background:rgba(255,255,255,.10)}
.ut-header #toolsDropdownBtn:hover{background:rgba(255,255,255,.18)}
.ut-header .watch-demo:hover{background:rgba(255,255,255,.10)}
body:has(.utx-hero){container-type:inline-size}
main:has(> .container > .utx-hero:first-child){padding-top:70px !important}
main > .container > .utx-hero:first-child,
#utPage.utx-result-on > #utResult > .utx-hero:first-child{
  --utx-in:16px;
  width:auto;margin:0 calc(50% - 50cqw) 16px;padding-left:var(--utx-in);padding-right:var(--utx-in);border-radius:0;
  background-position:0 -70px}
@media (min-width:640px){
  main > .container > .utx-hero:first-child,#utPage.utx-result-on > #utResult > .utx-hero:first-child{--utx-in:calc((100cqw - 640px) / 2 + 16px)}}
@media (min-width:768px){
  main > .container > .utx-hero:first-child,#utPage.utx-result-on > #utResult > .utx-hero:first-child{--utx-in:calc((100cqw - 768px) / 2 + 16px)}}
@media (min-width:1024px){
  main > .container > .utx-hero:first-child,#utPage.utx-result-on > #utResult > .utx-hero:first-child{--utx-in:calc((100cqw - 1024px) / 2 + 16px)}}
@media (min-width:1280px){
  main > .container > .utx-hero:first-child,#utPage.utx-result-on > #utResult > .utx-hero:first-child{--utx-in:calc((100cqw - 1280px) / 2 + 16px)}}
/* Phones: the menu bar grows with its links, so its maze is anchored at its bottom edge and the banner's maze starts
   at its top edge: the seamless tile joins with no line at any menu bar height. */
@media (max-width:767px){
  .ut-header{background-position:0 100% !important}
  main:has(> .container > .utx-hero:first-child){padding-top:0 !important}
  main > .container > .utx-hero:first-child,#utPage.utx-result-on > #utResult > .utx-hero:first-child{background-position:0 0}
}
@media print{.utx-hero{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
