/* id="mob-dense" */
.
"""
import glob
import os
import re
import sheet

PUB = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'public')

CSS = '''<style id="mob-dense">
/* a tool with nothing answered yet shows the questions and the answer card, nothing else */
#tool:has(button[class$="C"]):not(:has(button.on,button[aria-pressed="true"])) :is(button[id$="Jump"],div[id$="Ask"],div:has(> button[id$="Copy"])){display:none!important}
#tool div[style*="border-top"]:has(> p:empty:last-child){display:none!important}
@media (max-width:760px){
  section > div[style*="max-width"]{padding-top:32px!important;padding-bottom:32px!important}
  [data-mob="next"] a.h4:nth-of-type(n+4){display:none!important}
  [data-mob="faq"] details:nth-of-type(n+5){display:none!important}
  #tool p[class$="H"]{display:none}
  #tool button[class$="C"]{padding:7px 12px;font-size:14px}
  .lgc{padding:14px 16px!important}
  .lgc > span[aria-hidden="true"]{display:none!important}
  .lgc > span:last-child{display:none!important}
  .lgc > div{margin-bottom:4px!important;font-size:11px!important}
  .lgc h3{font-size:16.5px!important;margin:0 0 4px!important}
  .lgc p{font-size:14px!important;margin:0!important}
}
/* id="topbar-css" */
html{scroll-padding-top:72px}
header.topbar{position:fixed;top:0;left:0;right:0;z-index:60;background:var(--su-glass,rgba(255,255,255,.84));-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);border-bottom:1px solid var(--ln-1,#e7e8f5);transition:background .35s,border-color .35s,box-shadow .35s}
header.topbar>div{height:64px;transition:height .3s}
header.topbar.is-scrolled{box-shadow:0 10px 30px rgba(17,24,39,.07)}
header.topbar.is-scrolled>div{height:56px}
header.topbar .navlink{position:relative;padding:4px 0;transition:color .2s}
header.topbar .navlink::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1.5px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
header.topbar .navlink:hover::after,header.topbar .navlink:focus-visible::after{transform:scaleX(1)}
header.topbar .navcta{border-radius:999px!important;padding:9px 20px!important;transition:background .2s,color .2s,transform .2s,box-shadow .2s!important}
header.topbar .navcta:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(79,70,229,.28)}
body.has-topbar{padding-top:64px}
body.has-topbar.topbar-over{padding-top:0}
header.topbar-dark:not(.is-scrolled){background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
header.topbar-dark>div>a{color:#fff!important}
header.topbar-dark>div>a>span{color:#a5b4fc!important}
header.topbar-dark .navlink{color:rgba(255,255,255,.84)!important}
header.topbar-dark .navlink:hover{color:#fff!important}
header.topbar-dark .navcta{background:#fff!important;color:#1e1b4b!important}
header.topbar-dark .navcta:hover{background:#eef2ff!important;box-shadow:0 6px 18px rgba(0,0,0,.25)}
header.topbar-dark.is-scrolled{background:rgba(22,18,56,.74);border-bottom-color:rgba(255,255,255,.1)}
header.topbar-dark{transition:background .16s,border-color .16s,box-shadow .16s}
@media (prefers-reduced-motion:reduce){header.topbar,header.topbar>div,header.topbar .navlink::after,header.topbar .navcta{transition:none!important}}
/* id="skin-css" */
a.h2,a.h3,a.h3d,a.h1,button.h16,.navcta,button[type="submit"],.tfc{border-radius:999px!important}
a.h2,button.h16,button[type="submit"]{box-shadow:inset 0 1px 0 rgba(255,255,255,.14);transition:transform .2s,box-shadow .2s,background .2s!important}
a.h2:hover,button.h16:hover,button[type="submit"]:hover{transform:translateY(-1px);box-shadow:0 12px 26px -10px rgba(79,70,229,.6)}
a.h3,a.h3d{transition:transform .2s,border-color .2s,background .2s!important}
a.h3:hover,a.h3d:hover{transform:translateY(-1px)}
a.h3:hover{border-color:var(--ac-1,#4f46e5)!important}
body.has-topbar main>section:first-child:not(:has(.herovid)){position:relative;overflow:hidden;background:linear-gradient(165deg,rgba(49,46,129,.94) 0%,rgba(30,27,75,.97) 100%),url(/assets/hero/grid-poster.jpg) center/cover!important;border-bottom-color:rgba(255,255,255,.08)!important}
body.has-topbar main>section:first-child:not(:has(.herovid))>div{position:relative;padding-top:calc(64px + clamp(36px,5vw,72px))!important}
body.has-topbar main>section:first-child:not(:has(.herovid))::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(700px 360px at 85% -10%,rgba(129,140,248,.35),transparent 70%)}
body.has-topbar main>section:first-child:not(:has(.herovid)) h1{color:#fff!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) p,body.has-topbar main>section:first-child:not(:has(.herovid)) li,body.has-topbar main>section:first-child:not(:has(.herovid)) dd,body.has-topbar main>section:first-child:not(:has(.herovid)) dt{color:#c7d2fe!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color: var(--tx-1"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color:var(--tx-1"]{color:#fff!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color: var(--tx-2"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color:var(--tx-2"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color: var(--tx-3"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color:var(--tx-3"]{color:#c7d2fe!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color: var(--ac-1"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="color:var(--ac-1"],body.has-topbar main>section:first-child:not(:has(.herovid)) strong,body.has-topbar main>section:first-child:not(:has(.herovid)) b{color:#a5b4fc!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) a:not(.h2):not(.h3):not(.h3d){color:#e0e7ff!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) a.h3,body.has-topbar main>section:first-child:not(:has(.herovid)) a.h3d{border-color:rgba(255,255,255,.35)!important;color:#fff!important;background:transparent!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) a.h3:hover{border-color:#fff!important;background:rgba(255,255,255,.08)!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="background: var(--su-2"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="background:var(--su-2"],body.has-topbar main>section:first-child:not(:has(.herovid)) [style*="background: var(--su-1"]{background:rgba(255,255,255,.08)!important;color:#e0e7ff!important;border-color:rgba(255,255,255,.14)!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) img{border-radius:14px}
body.has-topbar main>section:first-child:not(:has(.herovid)) hr{border-color:rgba(255,255,255,.14)}
header.topbar.topbar-dark.is-scrolled{background:rgba(22,18,56,.78)}
a[style*="border-radius: 14px"],div[style*="border-radius: 14px"],a[style*="border-radius: 16px"],div[style*="border-radius: 16px"],a[style*="border-radius:14px"],div[style*="border-radius:14px"],.lgc{box-shadow:0 1px 2px rgba(17,24,39,.03),0 12px 32px -20px rgba(17,24,39,.22);transition:transform .25s,box-shadow .25s,border-color .25s}
a[style*="border-radius: 14px"]:hover,a[style*="border-radius: 16px"]:hover,a[style*="border-radius:14px"]:hover,.lgc:hover{transform:translateY(-3px);box-shadow:0 24px 44px -20px rgba(79,70,229,.38);border-color:rgba(79,70,229,.45)!important}
.input,input.input,textarea.input,select.input{border-radius:12px!important;transition:border-color .2s,box-shadow .2s}
.input:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(129,140,248,.26);outline:none}
#contact>div>div{background:linear-gradient(135deg,rgba(30,27,75,.93) 0%,rgba(49,46,129,.9) 100%),url(/assets/hero/grid-poster.jpg) center/cover!important;box-shadow:0 40px 90px -34px rgba(30,27,75,.65)}
details.faq summary{transition:color .2s}
details.faq summary:hover{color:var(--ac-1,#4f46e5)}
footer{background:linear-gradient(180deg,var(--su-1,#ffffff),var(--su-2,#f8f9fe))!important}
figure>figcaption[style*="position:absolute"]{padding-left:max(clamp(20px,5vw,56px),calc((100% - 1200px)/2 + clamp(20px,5vw,56px)))!important;padding-right:max(clamp(20px,5vw,56px),calc((100% - 1200px)/2 + clamp(20px,5vw,56px)))!important}
.pq{position:sticky;top:96px;padding:clamp(22px,2.6vw,34px) clamp(22px,2.6vw,34px) clamp(22px,2.6vw,34px) clamp(26px,3vw,40px);border-left:3px solid #4f46e5;background:linear-gradient(135deg,#eef2ff 0%,#fff 100%);border-radius:0 20px 20px 0;box-shadow:0 12px 32px -20px rgba(30,27,75,.25)}
.pq::before{content:"\201C";position:absolute;left:14px;top:2px;font-size:64px;line-height:1;color:#c7d2fe;font-family:Georgia,serif}
.pq p{margin:0;font-size:clamp(20px,1.9vw,26px);line-height:1.38;letter-spacing:-.02em;font-weight:500;color:#1e1b4b;text-wrap:balance}
@media (max-width:899px){.pq{display:none}}
.crumb{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#a5b4fc!important;transition:color .2s}
.crumb::before{content:"\2039";font-size:15px;line-height:1;opacity:.75}
.crumb:hover{color:#fff!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) input::placeholder{color:rgba(199,210,254,.75)}
body.has-topbar main>section:first-child:not(:has(.herovid)) input,body.has-topbar main>section:first-child:not(:has(.herovid)) select,body.has-topbar main>section:first-child:not(:has(.herovid)) textarea{color:#fff!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.2)!important;box-shadow:none!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) select option{color:#111827}
body.has-topbar main>section:first-child:not(:has(.herovid)) input:focus{border-color:#a5b4fc!important;box-shadow:0 0 0 4px rgba(165,180,252,.25)!important}
body.has-topbar main>section:first-child:not(:has(.herovid)) svg{color:#c7d2fe}
body.has-topbar main>section:first-child:has(#rsearch){overflow:visible}
#rsdrop{background:rgba(24,21,66,.96)!important;border-color:rgba(255,255,255,.16)!important;box-shadow:0 24px 60px rgba(8,5,36,.5)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
#rsdrop .rsopt{color:#fff!important;border-bottom-color:rgba(255,255,255,.08)!important;transition:background .15s}
#rsdrop .rsopt span:last-child{color:#a5b4fc!important}
#rsdrop .rsopt:hover,#rsdrop .rsopt[style*="background"]{background:rgba(255,255,255,.09)!important}
#rsdrop>div{background:rgba(255,255,255,.05)!important;color:#c7d2fe!important}
#rsdrop strong,#rsdrop a:not(.rsopt){color:#fff!important}
div:has(>#rsdrop:not([style*="display: none"]))+#rcount{visibility:hidden}
:focus-visible{outline:2px solid #818cf8;outline-offset:3px;border-radius:4px}
html.js .rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
html.js .rv.in{opacity:1;transform:none}
html.js .rv.now{transition:none}
#tool [data-tg="start"] a.lgc{background:linear-gradient(135deg,rgba(30,27,75,.94),rgba(49,46,129,.92)),url(/assets/hero/grid-poster.jpg) center/cover!important;border-color:rgba(255,255,255,.12)!important;color:#fff}
#tool [data-tg="start"] a.lgc h3{color:#fff!important}
#tool [data-tg="start"] a.lgc p{color:#c7d2fe!important}
#tool [data-tg="start"] a.lgc>span:first-child{background:rgba(255,255,255,.12)!important}
#tool [data-tg="start"] a.lgc .lgo{color:#fff}
@media (prefers-reduced-motion:reduce){html.js .rv{opacity:1;transform:none;transition:none}}
@media (prefers-reduced-motion:reduce){a.h2,a.h3d,button.h16,a[style*="border-radius: 14px"],a[style*="border-radius: 16px"],.lgc{transition:none!important;transform:none!important}}
