.service-work-order-print-preview{flex-direction:column;gap:20px;width:calc(100vw - 48px);max-width:940px;max-height:calc(100dvh - 48px);padding:24px;display:flex;overflow:hidden}.service-work-order-print-page{overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--muted);border-radius:var(--radius-md);min-height:0;overflow:auto}.service-work-order-print-preview>:not(.service-work-order-print-page){flex:none}.service-work-order-print-preview>[data-slot=dialog-footer]{gap:8px}.service-work-order-print-preview>[data-slot=dialog-footer] button{gap:6px}.service-print-sheet{width:100%;max-width:850px;color:var(--foreground);background:var(--background);border:1px solid var(--border);overflow-wrap:anywhere;margin:0 auto;padding:32px 36px 40px;font-size:12px;line-height:1.5}.service-print-header{border-bottom:2px solid var(--foreground);grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:24px;padding-bottom:20px;display:grid}.service-print-header>div{flex-direction:column;gap:6px;display:flex}.service-print-header strong{letter-spacing:-.025em;margin-bottom:4px;font-size:18px;line-height:1.25}.service-print-customer{font-weight:600}.service-print-header small{color:var(--muted-foreground);font-size:10px}.service-print-blank{border-bottom:1px solid var(--foreground);min-width:min(120px,100%);min-height:1em;display:inline-block}.service-print-sheet h4{break-after:avoid;margin:24px 0 10px;font-size:12px;font-weight:650;line-height:1.4}.service-print-rule{border-bottom:1px solid var(--border);height:24px}.service-print-question{break-inside:avoid;margin:12px 0 0}.service-print-question strong{white-space:pre-wrap;margin-left:6px;font-weight:650}.service-print-question em{max-width:80ch;color:var(--muted-foreground);margin-top:3px;font-size:10px;font-style:normal;display:block}.service-print-parts{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.service-print-parts table{border-collapse:collapse;width:100%}.service-print-parts thead{display:table-header-group}.service-print-parts tr{break-inside:avoid}.service-print-parts th,.service-print-parts td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:7px 8px;font-size:10px}.service-print-parts th{background:var(--muted);white-space:nowrap;font-weight:600}.service-print-parts td:nth-child(2),.service-print-parts td:nth-child(3){width:17%}.service-print-parts small{color:var(--muted-foreground);margin-top:2px;font-size:9px;display:block}.service-print-foot{border-top:1px solid var(--border);break-inside:avoid;flex-wrap:wrap;gap:20px 32px;margin-top:24px;padding-top:16px;display:flex}@media screen and (width<=640px){.service-work-order-print-preview{gap:16px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px 16px 16px}.service-work-order-print-preview>[data-slot=dialog-header]{padding-inline-end:20px}.service-work-order-print-preview button{min-height:44px}.service-print-sheet{padding:24px 20px}.service-print-header{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.service-print-header>div:first-child{grid-column:1/-1}.service-print-parts{grid-template-columns:1fr;gap:0}}@media print{@page{margin:14mm}body:has(.service-work-order-print-preview)>:not(.service-work-order-print-preview):not(:has(.service-work-order-print-preview)){display:none!important}.service-work-order-print-preview{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;transition:none!important;animation:none!important;display:block!important;position:static!important;overflow:visible!important;transform:translate(0,0)!important}.service-work-order-print-preview>:not(.service-work-order-print-page){display:none!important}.service-work-order-print-page{max-height:none!important;padding:0!important;overflow:visible!important}.service-print-sheet{-webkit-print-color-adjust:exact;print-color-adjust:exact;border:0;max-width:none;padding:0}.service-print-header{break-inside:avoid}}
