/* shared tool-page squaring (overlay): no pill/round old shapes */
html body:not(#_) .btn,html body:not(#_) button.chip,html body:not(#_) .chip,html body:not(#_) .tog,html body:not(#_) .seg button,html body:not(#_) .tabs button,html body:not(#_) .tab,html body:not(#_) .pill,html body:not(#_) [class*=pill],html body:not(#_) [class*=chip]{border-radius:12px!important}
html body:not(#_) [class*=avatar],html body:not(#_) [class*=-av],html body:not(#_) .av,html body:not(#_) .logo-circle{border-radius:12px!important}
html body:not(#_) input,html body:not(#_) select,html body:not(#_) textarea{border-radius:12px!important}
html body:not(#_) .card{border-radius:16px!important}
html body:not(#_) .tabs{border-radius:14px!important;background:#fff!important;border:1px solid rgba(12,18,40,.08)}
html body:not(#_) .tabs button.on{background:#0c1228!important;color:#fff!important;box-shadow:none!important;border-radius:11px!important}
html body:not(#_) .tabs button{border-radius:11px!important}
html body:not(#_) header button,html body:not(#_) header a{border-radius:12px!important}
html body:not(#_) .wl h2 span,html body:not(#_) .hb span{background:linear-gradient(90deg,#0f9d58,#e0346b)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}
html body:not(#_) #send,html body:not(#_) .cb button[type=submit],html body:not(#_) .cb .sb{background:#0c1228!important;border-radius:12px!important}
html body:not(#_) .cb{border-radius:16px!important}
/* tab icons: real glyphs */
html body:not(#_) .mnav a i{background:#6b7596!important;border-radius:8px!important;-webkit-mask:var(--ic) center/20px no-repeat;mask:var(--ic) center/20px no-repeat;width:24px!important;height:24px!important}
html body:not(#_) .mnav a.on i{background:#0f9d58!important}
html body:not(#_) .mnav a.on{background:linear-gradient(180deg,#ecfbf3,#fff0f5)!important;color:#0c1228!important;border-radius:14px!important}
html body:not(#_) .mnav{border-radius:18px!important}
html body:not(#_) .mnav a[href="/pdf"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M7%203h8l4%204v14H7z%22/%3E%3Cpath%20d=%22M15%203v4h4M9.5%2015h5M9.5%2018h3%22/%3E%3C/svg%3E")}
html body:not(#_) .mnav a[href="/photo"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%223%22%20y=%225%22%20width=%2218%22%20height=%2214%22%20rx=%223%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%223.5%22/%3E%3C/svg%3E")}
html body:not(#_) .mnav a[href="/photosign"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Crect%20x=%224%22%20y=%223.5%22%20width=%2216%22%20height=%2217%22%20rx=%223%22/%3E%3Cpath%20d=%22M8%2015c1.5-3%202.500%201%204-1.500s2%20.5%203-1M8%2018h8%22/%3E%3C/svg%3E")}
html body:not(#_) .mnav a[href="/resume"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Ccircle%20cx=%2212%22%20cy=%228%22%20r=%223.500%22/%3E%3Cpath%20d=%22M5%2020c1-4%204-6%207-6s6%202%207%206%22/%3E%3C/svg%3E")}
html body:not(#_) .mnav a[href="/scanner"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M4%208V5a1%201%200%200%201%201-1h3M16%204h3a1%201%200%200%201%201%201v3M20%2016v3a1%201%200%200%201-1%201h-3M8%2020H5a1%201%200%200%201-1-1v-3M4%2012h16%22/%3E%3C/svg%3E")}
html body:not(#_) .mnav a[href="/ocr"] i{--ic:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%3E%3Cpath%20d=%22M5%206V4h14v2M12%204v16M9%2020h6%22/%3E%3C/svg%3E")}
/* AI page */
html body:not(#_) .ai398-kicker,html body:not(#_) .ai398-section span{color:#0f9d58!important}
html body:not(#_) .ai398-section span{font-weight:700}
html body:not(#_) #clr{background:#fff!important;color:#0c1228!important;border:1px solid rgba(12,18,40,.1)!important;border-radius:12px!important;font-weight:700}
html body:not(#_) #s{background:#0c1228!important;border-radius:12px!important;color:#fff!important}
html body:not(#_) .rts-ai header,html body:not(#_) body.rts-ai>header{border-radius:14px!important}
html body:not(#_) .rts-ai header a{border-radius:12px!important;background:#e9faf0!important}
html body:not(#_) .hb svg{border-radius:8px}
html body:not(#_) .m.b.err{border-radius:12px}
