:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea)){width:min(92vw,920px)!important;max-width:min(92vw,920px)!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])){width:min(92vw,820px)!important;max-width:min(92vw,820px)!important}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])){border:1px solid color-mix(in oklab, var(--border) 92%, transparent)!important;background:var(--card)!important;border-radius:18px!important;flex-direction:column!important;gap:0!important;max-height:90vh!important;padding:0!important;display:flex!important;overflow:hidden!important;box-shadow:0 24px 64px oklch(0% 0 0/.18),inset 0 1px oklch(100% 0 0/.8)!important}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>div:first-child{z-index:2;border-bottom:1px solid color-mix(in oklab, var(--border) 88%, transparent);background:var(--card);flex:none;position:relative;padding:1.25rem 4rem 1rem 1.5rem!important}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>div:first-child>p{max-width:760px;line-height:1.45}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in oklab, var(--muted-foreground) 42%, transparent) transparent;background:color-mix(in oklab, var(--background) 54%, var(--card));flex:auto;min-height:0;padding:1.25rem 1.5rem 0!important;overflow-y:auto!important}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form::-webkit-scrollbar{width:9px}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form::-webkit-scrollbar-track{background:0 0;margin-block:.8rem}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form::-webkit-scrollbar-thumb{background:color-mix(in oklab, var(--muted-foreground) 48%, transparent);background-clip:padding-box;border:3px solid #0000;border-radius:999px;min-height:42px}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form::-webkit-scrollbar-thumb:hover{background:color-mix(in oklab, var(--muted-foreground) 68%, transparent);background-clip:padding-box}:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form>div:last-child{z-index:12;border-top:1px solid color-mix(in oklab, var(--border) 92%, transparent);background:color-mix(in oklab, var(--card) 96%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;bottom:0;box-shadow:0 -10px 24px oklch(0% 0 0/.04);margin:1.25rem -1.5rem 0!important;padding:1rem 1.5rem!important}div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea)>form>section{box-shadow:0 1px 2px oklch(0% 0 0/.03);border-color:color-mix(in oklab, var(--border) 92%, transparent)!important;background:var(--card)!important;border-radius:12px!important;padding:1rem!important}div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea)>form>div.rounded-lg.border{box-shadow:0 1px 2px oklch(0% 0 0/.03);border-color:color-mix(in oklab, var(--border) 92%, transparent)!important;background:var(--card)!important;border-radius:12px!important;padding:1rem!important}div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea)>form div.bg-secondary\/50.rounded-lg{background:color-mix(in oklab, var(--muted) 55%, var(--card))!important}div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea)>form>button:has(.lucide-plus){background:var(--card);border-style:dashed;min-height:42px}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])) input[type=file]{background:color-mix(in oklab, var(--background) 75%, var(--card));border-radius:9px;min-height:44px;padding:.35rem}@media (width<=640px){:where(div[role=dialog]:has(input[placeholder="6,50"]):has(.lucide-plus):has(textarea),div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])){border-radius:14px!important;width:calc(100vw - 1rem)!important;max-width:calc(100vw - 1rem)!important;max-height:94vh!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])){border:1px solid color-mix(in oklab, var(--border) 92%, transparent)!important;background:var(--card)!important;border-radius:18px!important;width:calc(100vw - 1.5rem)!important;max-width:calc(100vw - 1.5rem)!important;height:min(88dvh,800px)!important;max-height:calc(100dvh - 2rem)!important;box-shadow:0 24px 64px oklch(0% 0 0/.24)!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>button.absolute.right-4.top-4{display:none!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form{background:var(--card)!important;min-height:0!important;padding:0!important;overflow:hidden!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form>div:first-child{background:var(--card)!important;flex:auto!important;min-height:0!important;padding:.75rem!important;overflow:hidden!important}div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."])>form>div:first-child>div.space-y-3{flex-direction:column!important;gap:.65rem!important;height:100%!important;min-height:0!important;display:flex!important;overflow:hidden!important}div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."])>form>div:first-child .sticky{z-index:auto!important;background:var(--card)!important;box-shadow:none!important;flex:none!important;margin:0!important;padding:0 0 .4rem!important;position:static!important}div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."])>form>div:first-child>div.space-y-3>div.space-y-1\.5{overscroll-behavior:contain;background:var(--card)!important;flex:auto!important;min-height:0!important;padding:.1rem .15rem .35rem 0!important;overflow-y:auto!important}div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"])>form>div:first-child{overscroll-behavior:contain;overflow-y:auto!important}:where(div[role=dialog]:has(input[placeholder="Cliente, pedido ou nota fiscal..."]),div[role=dialog]:has(input[type=file]):has(input[placeholder="0,00"]))>form>div:last-child{box-shadow:0 -8px 18px oklch(0% 0 0/.05);background:var(--card)!important;margin:0!important;padding:.75rem!important;position:relative!important;bottom:auto!important}}div[role=dialog]>button.absolute.right-4.top-4{z-index:50}
