/* Visual bridge: upgrades existing tool forms while they are migrated to the Tailwind shell. */
body:has(.page),body:has(.tool){background:radial-gradient(circle at 5% 10%,rgba(96,165,250,.16),transparent 26rem),radial-gradient(circle at 95% 40%,rgba(167,139,250,.14),transparent 30rem),#f8fafc}.nav-bar{background:rgba(255,255,255,.74)!important;border-bottom-color:rgba(203,213,225,.72)!important;box-shadow:0 8px 26px rgba(15,23,42,.05)}.page,.tool{position:relative}.page:before,.tool:before{content:'';position:absolute;inset:5rem 0 auto;height:16rem;z-index:-1;filter:blur(55px);background:linear-gradient(105deg,rgba(59,130,246,.12),rgba(124,58,237,.09),transparent)}.panel,.shell,.card{border-color:rgba(203,213,225,.78)!important;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,255,255,.62))!important;box-shadow:0 18px 50px rgba(15,23,42,.10);backdrop-filter:blur(16px)}.panel,.shell{transition:transform .3s ease,box-shadow .3s ease}.panel:hover,.shell:hover{box-shadow:0 24px 70px rgba(15,23,42,.14)}.section-header,.page>.grid>section:first-child,.tool>.shell{animation:tool-rise .45s ease-out both}.field input,.field select,.field textarea,.items input{transition:border-color .2s ease,box-shadow .2s ease;background:rgba(255,255,255,.75)!important}.field input:focus,.field select:focus,.field textarea:focus,.items input:focus{outline:0;border-color:#60a5fa!important;box-shadow:0 0 0 4px rgba(59,130,246,.12)}.actions{gap:.875rem!important}.actions .btn{min-height:44px}.case-back{display:inline-flex;padding:.45rem 0;margin-bottom:.7rem;color:#2563eb;font-weight:700}.subtitle{max-width:48rem;color:#475569}@keyframes tool-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media(max-width:560px){.page,.tool{padding-left:1rem!important;padding-right:1rem!important}.actions{display:flex!important;flex-wrap:wrap!important}.actions .btn{flex:1 1 145px}.panel,.shell{padding:1rem!important}.grid3{grid-template-columns:1fr!important}}
@media print{@page{size:A4;margin:10mm 15mm}body:has(#invoicePaper){background:#fff!important}body:has(#invoicePaper) .nav-bar,body:has(#invoicePaper) .hide-print,body:has(#invoicePaper) .page>a,body:has(#invoicePaper) .section-header,body:has(#invoicePaper) .invoice-layout>.panel:first-child{display:none!important}body:has(#invoicePaper) .page{padding:0!important;margin:0!important;max-width:none!important}body:has(#invoicePaper) .invoice-layout{display:block!important}body:has(#invoicePaper) .preview{display:block!important;position:static!important;width:100%!important}body:has(#invoicePaper) #invoicePaper{box-sizing:border-box!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important}body:has(#invoicePaper) #invoicePaper .grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8mm!important}body:has(#invoicePaper) #invoicePaper table{page-break-inside:auto!important}body:has(#invoicePaper) #invoicePaper tr{page-break-inside:avoid!important;page-break-after:auto!important}}
