@scope (html.tw-context) {
@layer tickets-studio {
@media screen {
 html.tw-present body {overflow:hidden!important}
 html:has(#fp-caja-return:not([hidden])) #fp-stage:has(>iframe:is([src*="/facturas/"][src*="consulta=venta"],[src*="creditPanel=admin"]):not([hidden]))>iframe.fp-page-frame:not([hidden]) {height:calc(100% - max(88px,calc(env(safe-area-inset-bottom,0px) + 52px)))!important}
 .tw-window {--tw-ink:#183746;--tw-muted:#627783;--tw-line:#d8e4e8;--tw-navy:#123d48;--tw-accent:#f5d34d;font:14px/1.4 "Segoe UI",Arial,sans-serif!important;color:var(--tw-ink)!important;background:#fff!important;box-sizing:border-box!important}
 dialog.tw-window[open] {position:fixed!important;inset:0!important;margin:auto!important;width:min(760px,calc(100vw - 32px))!important;height:fit-content!important;min-width:0!important;min-height:0!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 32px)!important;padding:0!important;border:1px solid #7696a2!important;border-radius:15px!important;box-shadow:0 24px 80px #102d3d35,0 2px 6px #102d3d18!important;overflow:hidden!important;resize:none!important;transform:none!important;translate:var(--tw-x,0px) var(--tw-y,0px)!important;z-index:calc(12000 + var(--tw-order,1)*2)!important}
 dialog.tw-window#priceAdjustmentDialog[open] {translate:var(--adjustment-x,0px) var(--adjustment-y,0px)!important}
 .tw-backdrop {display:block!important;position:fixed;inset:0;background:#102c3c38;backdrop-filter:blur(3px);z-index:11999}
 .tw-window .tw-surface {display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:calc(100dvh - 34px)!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:hidden!important;transform:none!important;translate:none!important;box-shadow:none!important}
 .tw-window .tw-heading {position:relative!important;display:flex!important;flex:none!important;align-items:center!important;justify-content:space-between!important;height:48px!important;min-height:48px!important;padding:0 9px 0 18px!important;gap:12px!important;background:linear-gradient(110deg,#102e41,#16545a 76%,#236963)!important;color:#fff!important;border:0!important;border-bottom:1px solid #45717a!important;cursor:grab!important;touch-action:none!important;user-select:none!important;overflow:hidden!important}
 
 .tw-window .tw-heading>div:not(.tw-controls),.tw-window .tw-heading>h2 {min-width:0!important;position:relative}
 .tw-window .tw-heading :is(h2,b) {color:#fff!important;font-size:16px!important;line-height:1.2!important;font-weight:650!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 .tw-window .tw-heading :is(small,p) {display:none!important}
 .tw-window .tw-controls {display:flex!important;flex:0 0 auto!important;gap:4px!important;align-items:center!important;position:relative!important}
 .tw-window .tw-heading .tw-controls button {width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border:1px solid #ffffff38!important;border-radius:7px!important;background:#ffffff0b!important;color:#fff!important;font-size:19px!important;line-height:1!important;box-shadow:none!important;touch-action:auto!important;cursor:pointer!important}
 .tw-window .tw-heading .tw-controls button:hover {background:#ffffff24!important}
 .tw-window .tw-heading .tw-controls .tw-close:hover {background:#bb354a!important}
 .tw-window .tw-heading:focus-visible {outline:2px solid var(--tw-accent)!important;outline-offset:-3px!important}
 .tw-window :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea) {box-sizing:border-box!important;width:100%!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:6px 10px!important;border:1px solid #c4d5dd!important;border-radius:7px!important;background:#fff!important;color:#183746!important;font:14px/1.3 "Segoe UI",Arial,sans-serif!important;box-shadow:none!important;outline:none!important}
 .tw-window :is(input,select,textarea):focus {border-color:#197b88!important;box-shadow:none!important;outline:none!important}
 .tw-window :is(input[readonly],input:disabled) {background:#eff4f6!important;color:#546a77!important}
 .tw-window input:is([type=radio],[type=checkbox]) {width:17px!important;height:17px!important;min-height:17px!important;padding:0!important;margin:0!important;flex:none!important;accent-color:#156574!important;border:1px solid #7896a2!important;outline:none!important;box-shadow:none!important}
 .tw-window label {color:#395562!important;font-size:12px!important;font-weight:600!important;gap:4px!important}
 .tw-window button {box-sizing:border-box!important;min-height:34px!important;padding:6px 12px!important;border:1px solid #c6d6de!important;border-radius:7px!important;color:#234653!important;background:#fff!important;font:600 12px/1.3 "Segoe UI",Arial,sans-serif!important;box-shadow:none!important;cursor:pointer!important}
 .tw-window button:focus-visible,.tw-dock:focus-visible {outline:2px solid #168694!important;outline-offset:2px!important}
 .tw-window button:disabled {opacity:.5!important;cursor:wait!important}
 .tw-window [hidden] {display:none!important}
 .tw-window :is(footer,.dialog-actions) {display:flex!important;flex:none!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:10px 16px!important;margin:0!important;background:#f7fafb!important;border:0!important;border-top:1px solid var(--tw-line)!important;flex-wrap:wrap!important}
 .tw-window :is([data-review],[data-confirm],[data-done],.confirm,#saveDocumentEdit,#saveCreditRevision) {background:#f5d34d!important;color:#173d47!important;border-color:#e0be37!important;border-bottom-width:1px!important}
 .tw-window :is(.rebate-body,.edit-content,.tw-revision-body) {overflow:auto!important;min-height:0!important;padding:14px 18px!important;background:linear-gradient(#f8fbfc 0,#fff 120px)!important;scrollbar-width:thin!important;scrollbar-color:#b6cbd3 transparent!important;overscroll-behavior:contain!important}
 .tw-window [data-document] {font-size:12px!important;font-weight:600!important;color:#546e7a!important;margin:0 0 12px!important;padding:0!important}
 #priceAdjustmentDialog .adjustment-modes {display:flex!important;margin:0 0 10px!important;gap:6px!important;padding:0!important;background:none!important;border:0!important}
 #priceAdjustmentDialog .adjustment-modes button {flex:1!important;background:#eef4f6!important;color:#45616f!important;border-color:transparent!important;padding:8px 5px!important;font-size:12px!important}
 #priceAdjustmentDialog .adjustment-modes button[aria-pressed=true] {background:#164d57!important;color:#fff!important;border:1px solid #164d57!important}
 #priceAdjustmentDialog [data-help] {font-size:12px!important;color:#6a808b!important;margin:0 0 8px!important;line-height:1.4!important}
 #priceAdjustmentDialog [data-lines] {max-height:min(320px,40dvh)!important;overflow:auto!important;scrollbar-width:thin!important;padding-right:3px!important}
 #priceAdjustmentDialog .rebate-line {display:grid!important;grid-template-columns:minmax(0,1fr) 135px!important;gap:3px 14px!important;padding:6px 10px!important;margin:0 0 6px!important;min-height:0!important;background:#fff!important;border:1px solid #dce5e8!important;border-left:3px solid #d5e4e7!important;border-radius:8px!important;box-shadow:none!important;align-items:center!important}
 #priceAdjustmentDialog .rebate-line:has(input:focus),#priceAdjustmentDialog .rebate-line:has(input:checked) {background:#fffcf0!important;border-left-color:#e5bd2a!important}
 #priceAdjustmentDialog .quantity-line {grid-template-columns:minmax(0,1fr) 48px 80px!important}
 #priceAdjustmentDialog .rebate-product {grid-column:1!important;grid-row:1!important;min-width:0!important}
 #priceAdjustmentDialog .rebate-product b {display:block!important;font-size:13px!important;line-height:1.3!important;color:#214958!important}
 #priceAdjustmentDialog .rebate-product small {display:block!important;font-size:11px!important;color:#71838d!important;margin-top:3px!important;line-height:1.4!important}
 #priceAdjustmentDialog .quantity-before {grid-column:2!important;grid-row:1/3!important;font-size:11px!important;text-align:center!important;color:#71838d!important}
 #priceAdjustmentDialog .quantity-before b {font-size:17px!important;color:#446471!important}
 #priceAdjustmentDialog .quantity-line>label {grid-column:3!important;grid-row:1/3!important;font-size:11px!important}
 #priceAdjustmentDialog .quantity-line>label input {text-align:center!important;font-size:16px!important;font-weight:600!important}
 #priceAdjustmentDialog .quantity-removed {grid-column:1!important;grid-row:2!important;font-size:11px!important;color:#8b7128!important}
 #priceAdjustmentDialog .adjustment-units {grid-column:1/-1!important;grid-row:3!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:6px 12px!important;margin-top:5px!important;border:0!important;padding:5px 0 0!important}
 #priceAdjustmentDialog .adjustment-units>b {display:none!important}
 #priceAdjustmentDialog .adjustment-units label {display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;font-size:11px!important;font-weight:500!important}
 #priceAdjustmentDialog [data-price-scope]:not([hidden]) {display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr) minmax(0,.85fr)!important;gap:10px!important;margin:8px 0 12px!important;border:0!important;background:none!important;padding:0!important}
 #priceAdjustmentDialog [data-price-scope]>[data-general]:not([hidden]) {display:flex!important;flex-direction:column!important;margin:0!important;gap:4px!important}
 #priceAdjustmentDialog .adjustment-summary {display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:6px 15px!important;background:#eef7f5!important;border:1px solid #d0e6e0!important;border-radius:8px!important;padding:10px 12px!important;font-size:12px!important;color:#28685c!important;margin:10px 0!important}
 #priceAdjustmentDialog .adjustment-summary b {font-size:15px!important;font-weight:650!important;margin-left:6px!important;font-variant-numeric:tabular-nums}
 #priceAdjustmentDialog .adjustment-summary:not(:has(span)) {background:#fff7e4!important;color:#8c6316!important;border-color:#ecdfbb!important;font-size:12px!important}
 #priceAdjustmentDialog .adjustment-summary.tw-duplicate-warning {display:none!important}
 #priceAdjustmentDialog .adjustment-reason {display:grid!important;grid-template-columns:1fr auto!important;gap:4px!important;margin-top:12px!important}
 #priceAdjustmentDialog .adjustment-reason>span {font-size:11px!important;font-weight:400!important;color:#88959b!important}
 #priceAdjustmentDialog .adjustment-reason textarea {grid-column:1/-1!important;height:46px!important;min-height:46px!important;resize:vertical!important;font-size:13px!important}
 #priceAdjustmentDialog [data-preview]:not([hidden]) {display:block!important;background:#f1f8f6!important;border:1px solid #d0e5de!important;border-radius:9px!important;padding:14px!important;color:#2c5b50!important;margin:8px 0!important;font-size:13px!important}
 #priceAdjustmentDialog [data-preview] h3 {font-size:16px!important;margin:0 0 12px!important;color:#174f48!important}
 #priceAdjustmentDialog [data-preview] p {font-size:13px!important;margin:9px 0!important;line-height:1.5!important}
 #priceAdjustmentDialog [data-preview] strong {font-size:20px!important;font-variant-numeric:tabular-nums!important}
 .tw-window :is([data-error],#creditPaymentError,#creditRevisionError,#documentEditError):not(:empty) {background:#fff1f2!important;border:1px solid #f0d5da!important;border-radius:7px!important;color:#ab3045!important;padding:8px 10px!important;font-size:12px!important;line-height:1.4!important;margin:10px 0 0!important}
 .tw-window :is([data-error],#creditPaymentError,#creditRevisionError,#documentEditError):empty {display:none!important}
 #creditsDialog.tw-window[open] {width:min(1140px,calc(100vw - 32px))!important;height:min(680px,calc(100dvh - 32px))!important}
 #creditsDialog .tw-surface {height:100%!important}
 #creditsDialog .credits-pos-layout {display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:0!important;min-height:0!important;flex:1!important;overflow:hidden!important;padding:0!important;margin:0!important;background:#fff!important}
 #creditsDialog .credits-customer-panel {min-width:0!important;padding:16px 14px!important;border:0!important;border-right:1px solid #dde8eb!important;border-radius:0!important;background:#f4f8fa!important;overflow:auto!important}
 #creditsDialog .credits-search {display:flex!important;flex-direction:column!important;background:none!important;border:0!important;padding:0!important;gap:6px!important}
 #creditsDialog .credits-search span {font-size:11px!important;color:#637c87!important}
 #creditsDialog .credit-customer-list {display:flex!important;flex-direction:column!important;gap:6px!important;margin-top:12px!important;padding:0!important;max-height:none!important;overflow:visible!important}
 #creditsDialog .credit-customer-list>button {display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:start!important;gap:4px 8px!important;text-align:left!important;background:#fff!important;border:1px solid #e0e8eb!important;border-radius:8px!important;padding:10px!important;white-space:normal!important;box-shadow:none!important}
 #creditsDialog .credit-customer-list>button.selected {border-color:#26818a!important;background:#e8f2f3!important;box-shadow:none!important}
 #creditsDialog .credit-customer-list strong {font-size:12px!important;font-weight:650!important}
 #creditsDialog .credit-customer-list small {display:block!important;color:#607985!important;font-size:10px!important;margin-top:3px!important;line-height:1.4!important}
 #creditsDialog .credit-customer-list>button>b {display:block!important;color:#1a6872!important;margin-top:6px!important;font-size:16px!important}
 #creditsDialog .credit-payment-panel {display:grid!important;grid-template-columns:minmax(0,1fr) 240px!important;align-content:start!important;align-items:start!important;gap:12px 16px!important;padding:12px 14px!important;margin:0!important;min-width:0!important;min-height:0!important;overflow:auto!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 #creditsDialog .credit-selected-head {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 0 10px!important;margin:0!important;border:0!important;border-bottom:1px solid #e1e9ed!important;background:#fff!important;border-radius:0!important}
 #creditsDialog .credit-selected-head small {color:#7b949c!important;font-size:9px!important;letter-spacing:.1em!important}
 #creditsDialog .credit-selected-head h3 {font-size:17px!important;color:#164954!important;margin:2px 0!important}
 #creditsDialog .credit-selected-head p {font-size:11px!important;color:#78909a!important;margin:0!important}
 #creditsDialog .credit-selected-head>div:last-child {padding:7px 10px!important;background:#fff5cf!important;border-radius:8px!important;text-align:right!important;flex:0 0 auto!important}
 #creditsDialog .credit-selected-head span {font-size:10px!important;color:#927326!important}
 #creditsDialog .credit-selected-head strong {display:block!important;font-size:20px!important;color:#244c55!important;font-weight:650!important;line-height:1.3!important}
 #creditsDialog :is(.credit-invoices,.credit-recent,.credit-payment-form) {padding:0!important;margin:0 0 14px!important;min-width:0!important;max-height:none!important;border:0!important;background:transparent!important;border-radius:0!important;overflow:visible!important}
 #creditsDialog :is(.credit-invoices>h4,.credit-recent>h4,.rc-card-heading) {margin:0 0 10px!important;padding:0!important;background:none!important;color:#214f5d!important;font-size:12px!important;font-weight:700!important;border:0!important}
 #creditsDialog .credit-invoices>label {display:inline-flex!important;align-items:center!important;flex-direction:row!important;gap:6px!important;font-size:11px!important;font-weight:400!important;margin:0 12px 9px 0!important}
 .tw-window .credit-table-wrap {overflow:auto!important;border:1px solid #dde7eb!important;border-radius:8px!important;padding:0!important;max-height:230px!important;scrollbar-width:thin!important}
 .tw-window table {display:table!important;width:100%!important;border-collapse:collapse!important;background:#fff!important;font-size:11px!important;color:#365767!important}
 .tw-window thead {display:table-header-group!important}
 .tw-window tbody {display:table-row-group!important}
 .tw-window table tr {display:table-row!important;padding:0!important;border:0!important}
 .tw-window table :is(th,td) {display:table-cell!important;float:none!important;width:auto!important}
 .tw-window table td:before {display:none!important}
 .tw-window th {position:sticky!important;top:0!important;background:#eff5f7!important;color:#365c6a!important;font-size:10px!important;letter-spacing:.02em!important;text-align:left!important;padding:8px 7px!important;border:0!important}
 .tw-window td {padding:6px 7px!important;border:0!important;border-top:1px solid #e6edf0!important;white-space:nowrap!important;background:#fff!important;font-size:11px!important;font-variant-numeric:tabular-nums!important}
 .tw-window td small {display:block!important;color:#82959f!important;font-size:9px!important}
 .tw-window td input {width:68px!important;min-width:60px!important;height:30px!important;min-height:30px!important;font-size:12px!important;padding:4px 6px!important}
 #creditsDialog #creditDistributionSummary {margin:8px 0 0!important;padding:8px 10px!important;background:#f0f8f6!important;border-radius:6px!important;color:#317b6b!important;font-size:11px!important}
 #creditsDialog .credit-payment-form {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 #creditsDialog .credit-payment-form .wide {grid-column:1/-1!important}
 #creditsDialog .confirm-payment {background:#164e59!important;color:#fff!important;border:1px solid #164e59!important;padding:10px!important}
 #creditsDialog .credit-recent>div {display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:start!important;gap:7px!important;padding:10px 0!important;border-bottom:1px solid #e1eaee!important;font-size:11px!important}
 #creditsDialog .credit-recent small {display:block!important;color:#82939d!important;font-size:10px!important}
 #creditsDialog .credit-recent>div>span:last-child:not(:first-child) {grid-column:1/-1!important}
 #creditsDialog .credit-invoice-help {font-size:10px!important;font-weight:400!important;color:#607985!important;line-height:1.4!important;margin:6px 0!important}
 .tw-window :is(.credit-invoice-detail,.credit-invoice-adjust) {display:inline-flex!important;align-items:center!important;min-height:28px!important;height:auto!important;padding:4px 6px!important;margin:2px!important;border:1px solid #c9dcdf!important;background:#f1f7f8!important;border-radius:5px!important;text-decoration:none!important;color:#286372!important;font-size:10px!important;line-height:1.2!important}
 #creditRevisionDialog.tw-window[open],#documentEditDialog.tw-window[open] {width:min(560px,calc(100vw - 32px))!important}
 #creditRevisionDialog .credit-payment-form {display:grid!important;grid-template-columns:1fr 1fr!important;align-items:start!important;gap:10px!important;padding:0!important;margin:12px 0!important;background:none!important;border:0!important}
 #creditRevisionDialog label {display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-self:start!important}
 #creditRevisionDialog .wide {grid-column:1/-1!important}
 #creditRevisionDialog .credit-invoices {margin:10px 0!important;padding:0!important;border:0!important;max-height:180px!important;overflow:auto!important}
 :is(#returnPrintPreview,#creditPaymentReceiptPreview).tw-window[open] {height:min(740px,calc(100dvh - 32px))!important;width:min(820px,calc(100vw - 32px))!important;display:flex!important;flex-direction:column!important}
 :is(#returnPrintPreview,#creditPaymentReceiptPreview) .tw-preview-frame {width:100%!important;min-height:0!important;border:0!important;flex:1!important;background:#eef3f6!important}
 :is(#returnPrintPreview,#creditPaymentReceiptPreview) .tw-print {background:#f5d34d!important;color:#163b44!important;border:0!important;padding:6px 10px!important;min-height:30px!important}
 #detailDialog.tw-window[open] {width:min(850px,calc(100vw - 32px))!important;height:min(740px,calc(100dvh - 32px))!important;display:flex!important;flex-direction:column!important}
 #detailDialog.tw-window #detailBody {padding:14px 18px!important;min-height:0!important;overflow:auto!important;flex:1!important}
 #detailDialog.tw-window #toggleMaximize,#detailDialog.tw-window footer>small {display:none!important}
 #detailDialog.tw-window .fi-receipt-layout {gap:12px!important}
 #detailDialog.tw-window .credit-adjustment-history h3 {font-size:13px!important}
 #detailDialog.tw-window .credit-adjustment-history article {font-size:12px!important;padding:10px 0!important;border-bottom:1px solid #dce7eb!important}
 #detailDialog.tw-window .credit-adjustment-history p {margin:4px 0!important}
 /* Compact the original rendered content, without replacing fields or handlers. */
 #creditsDialog .rc-credit-bar {flex:none!important;padding:8px 14px!important;margin:0!important;border:0!important;border-bottom:1px solid #e1e9ed!important}
 #creditsDialog .rc-credit-bar .credits-search {max-width:none!important}
 #creditsDialog .rc-rail-head {padding:0 0 8px!important;margin:0!important;background:none!important;border:0!important;color:#496874!important;font-size:11px!important;min-height:0!important}
 #creditsDialog .credit-customer-list .rc-record-avatar {grid-column:1!important;grid-row:1/3!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;font-size:10px!important;border-radius:6px!important}
 #creditsDialog .credit-customer-list>button>span:not(.rc-record-avatar) {grid-column:2!important;min-width:0!important}
 #creditsDialog .credit-customer-list>button>b {grid-column:2!important;margin:0!important;font-size:15px!important}
 #creditsDialog :is(.credit-invoices,.credit-recent,.credit-payment-form) {margin:0!important}
 #creditsDialog .credit-payment-panel>.credit-selected-head,#creditsDialog .credit-recent {grid-column:1/-1!important}
 #creditsDialog .credit-invoices {grid-column:1!important}
 #creditsDialog .credit-payment-form {grid-column:2!important}
 #creditsDialog .credit-payment-form>.rc-card-heading {grid-column:1/-1!important;margin-bottom:2px!important}
 #creditsDialog .credit-invoices .credit-table-wrap {max-height:208px!important}
 #creditsDialog .credit-table-wrap>.mobile-table-scroll {overflow:visible!important;max-height:none!important;min-width:0!important;width:100%!important}
 #creditsDialog .credit-table-wrap td:nth-child(4) {font-weight:650!important;color:#164f5e!important}
 :is(#creditsDialog,#creditRevisionDialog) .credit-table-wrap input {width:72px!important;min-width:60px!important;max-width:100%!important;text-align:right!important}
 #creditsDialog .credit-recent>div {padding:7px 0!important}
 /* Before choosing a customer, use a compact directory instead of an empty inspector. */
 #creditsDialog.tw-window:not(.tw-maximized):not(.tw-hosted-root):is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse))[open] {width:min(900px,calc(100vw - 32px))!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .tw-surface {height:auto!important;max-height:calc(100dvh - 34px)!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credits-pos-layout {display:flex!important;flex-direction:column!important;flex:0 1 auto!important;max-height:min(480px,calc(100dvh - 160px))!important;overflow:auto!important;background:#f5f9fa!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-payment-panel {display:block!important;flex:none!important;order:-1!important;padding:12px 18px 0!important;overflow:visible!important;background:transparent!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-empty-selection {min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;text-align:left!important;font-size:13px!important;line-height:1.5!important;color:#526f7b!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credits-customer-panel {flex:none!important;padding:12px 18px 18px!important;border:0!important;background:transparent!important;overflow:visible!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:6px!important;max-height:none!important;overflow:visible!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button {grid-template-columns:34px minmax(0,1fr) auto!important;gap:5px 10px!important;align-items:center!important;min-height:92px!important;padding:12px!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list .rc-record-avatar {width:34px!important;height:34px!important;grid-column:1!important;grid-row:1!important;font-size:12px!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button>span:not(.rc-record-avatar) {grid-column:2!important;grid-row:1!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list strong {font-size:13px!important;line-height:1.4!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list small {font-size:10px!important;color:#617e89!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button>b {grid-column:3!important;grid-row:1!important;font-size:16px!important;white-space:nowrap!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button:hover {border-color:#4b939b!important;background:#eef7f7!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>.empty-list {grid-column:1/-1!important;margin:0!important;padding:20px 8px!important;font-size:13px!important}
 dialog.tw-window#creditsDialog.tw-maximized[open] {width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}
 #detailDialog.tw-window #detailBody {padding:10px 12px!important}
 #detailDialog.tw-window .fi-receipt-displaybar {padding:0 0 7px!important}
 #detailDialog.tw-window .fi-receipt-formats {padding:0!important;border:0!important;background:none!important}
 #detailDialog.tw-window .fi-receipt-formats button {min-height:30px!important;padding:4px 8px!important;font-size:11px!important}
 #detailDialog.tw-window .fi-receipt-main {padding:10px 12px!important;gap:10px!important;border:1px solid #dce6e9!important;border-radius:8px!important}
 #detailDialog.tw-window .fi-receipt-paper-heading {padding-bottom:8px!important;gap:10px!important}
 #detailDialog.tw-window .fi-receipt-paper-brand {width:100px!important;height:32px!important}
 #detailDialog.tw-window .fi-receipt-document-identity {gap:1px!important}
 #detailDialog.tw-window .fi-receipt-document-identity>strong {font-size:13px!important}
 #detailDialog.tw-window .fi-receipt-detail-column {gap:8px!important}
 #detailDialog.tw-window .fi-receipt-detail-column:has(.ticket-content-grid)>.fi-receipt-secondary {order:-1!important}
 #detailDialog.tw-window .fi-receipt-secondary>.ticket-content-grid {order:-1!important}
 #detailDialog.tw-window .ticket-content-grid {display:grid!important;gap:10px!important;padding:0!important;border:0!important}
 #detailDialog.tw-window .ticket-card {padding:0!important;margin:0!important;min-width:0!important;border:0!important;background:none!important;box-shadow:none!important}
 #detailDialog.tw-window .ticket-card-heading {display:flex!important;align-items:center!important;gap:7px!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #dce6e9!important;background:none!important;min-height:0!important}
 #detailDialog.tw-window .ticket-card-heading svg {width:16px!important;height:16px!important;flex:none!important}
 #detailDialog.tw-window .ticket-card-heading h3 {margin:0!important;padding:0!important;font-size:13px!important;line-height:1.4!important;color:#244e5c!important}
 #detailDialog.tw-window .commercial-items-scroll {padding-top:6px!important}
 #detailDialog.tw-window .commercial-items {margin:0!important}
 #detailDialog.tw-window .commercial-items td {padding:6px 8px!important;font-size:12px!important}
 #detailDialog.tw-window :is(.fi-receipt-payments,.ticket-payment) {padding:8px 10px!important;border:1px solid #e0e9ec!important;border-radius:6px!important;background:#f5f9fa!important}
 #detailDialog.tw-window .fi-receipt-section-title {font-size:12px!important;padding-bottom:5px!important}
 #detailDialog.tw-window .payment-summary {margin:6px 0 0!important;gap:5px!important}
 #detailDialog.tw-window .payment-summary span {padding:4px 7px!important;font-size:11px!important}
 #detailDialog.tw-window .fi-receipt-amounts:empty {display:none!important}
 #detailDialog.tw-window .fi-receipt-secondary {gap:7px!important}
 #detailDialog.tw-window .credit-adjust-actions {padding:7px 9px!important;gap:7px!important}
 #detailDialog.tw-window .row-links {gap:8px!important;margin:4px 0!important;font-size:11px!important}
 #detailDialog.tw-window footer {padding:8px 10px!important}
 #detailDialog.tw-window footer>div {display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:5px!important;width:100%!important}
 #detailDialog.tw-window footer button {min-height:32px!important;padding:5px 8px!important;font-size:11px!important;line-height:1.2!important}
 .tw-dock {display:block!important;position:fixed;bottom:12px;right:16px;z-index:18000;padding:10px 16px;border:1px solid #517c86;border-radius:10px;background:linear-gradient(110deg,#15394b,#15585d);color:#fff;font:600 13px "Segoe UI",Arial;box-shadow:0 5px 20px #17344630;cursor:pointer}
 .tw-window.tw-minimized[open] {visibility:hidden!important;pointer-events:none!important}
 .tw-window.tw-maximized[open] {width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;translate:none!important}
 dialog.tw-window#priceAdjustmentDialog.tw-maximized[open] {translate:none!important}
 .tw-window.tw-maximized .tw-surface {height:100%!important;max-height:100%!important}
 .tw-window.tw-maximized :is(.rebate-body,.tw-revision-body,.edit-content) {flex:1!important}
 dialog.tw-window.tw-hosted-root[open],dialog.tw-window.tw-hosted-root#priceAdjustmentDialog[open],dialog.tw-window.tw-hosted-root#creditsDialog[open],dialog.tw-window.tw-hosted-root#detailDialog[open],dialog.tw-window.tw-hosted-root#documentEditDialog[open],dialog.tw-window.tw-hosted-root#returnPrintPreview[open] {inset:0!important;margin:0!important;translate:none!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 .tw-window.tw-hosted-root>.tw-heading,.tw-window.tw-hosted-root>.tw-surface>.tw-heading {display:none!important}
 .tw-window.tw-hosted-root>.tw-surface {height:100%!important;max-height:100%!important}
 .tw-window.tw-hosted-root :is(.rebate-body,.edit-content,.tw-revision-body) {flex:1!important}
 @keyframes tw-wave {0%,75%{left:-180px;opacity:0}78%{opacity:1}100%{left:110%;opacity:0}}
 @media(prefers-reduced-motion:reduce){.tw-window .tw-heading:before {animation:none!important}}
 @media(min-width:651px) and (max-width:1050px) {
  #creditsDialog .credit-payment-panel {grid-template-columns:minmax(0,1fr)!important}
  #creditsDialog :is(.credit-invoices,.credit-payment-form,.credit-recent) {grid-column:1!important}
  #creditsDialog .credit-payment-form {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }
 @media(pointer:coarse) {
  .tw-window .tw-heading {height:56px!important;min-height:56px!important}
  .tw-window .tw-heading .tw-controls button {width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
 }
 @media(max-width:650px) {
  dialog.tw-window[open] {width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:12px!important}
  .tw-window .tw-surface {max-height:calc(100dvh - 18px)!important}
  .tw-window .tw-heading {padding-left:12px!important;gap:6px!important}
  .tw-window .tw-heading :is(h2,b) {font-size:14px!important}
  .tw-window :is(input:not([type=radio]):not([type=checkbox]),select,textarea) {min-height:44px!important;height:44px!important;font-size:16px!important}
  .tw-window button {min-height:44px!important}
  .tw-window :is(.rebate-body,.edit-content,.tw-revision-body) {padding:12px!important}
  #priceAdjustmentDialog .adjustment-modes button {font-size:11px!important}
  #priceAdjustmentDialog .quantity-line {grid-template-columns:minmax(0,1fr) 44px 72px!important;gap:4px 8px!important;padding:9px!important}
  #priceAdjustmentDialog [data-lines] {max-height:36dvh!important}
  #priceAdjustmentDialog .rebate-product {grid-column:1!important;grid-row:1!important}
  #priceAdjustmentDialog .quantity-before {grid-column:2!important;grid-row:1/3!important}
  #priceAdjustmentDialog .quantity-line>label {grid-column:3!important;grid-row:1/3!important}
  #priceAdjustmentDialog .quantity-removed {grid-column:1!important;grid-row:2!important}
  #priceAdjustmentDialog .adjustment-units {grid-column:1/-1!important;grid-row:3!important}
  #priceAdjustmentDialog .adjustment-units label {min-height:32px!important}
  #priceAdjustmentDialog [data-price-scope]:not([hidden]) {grid-template-columns:1fr 1fr!important}
  #priceAdjustmentDialog [data-price-scope]>label:first-child {grid-column:1/-1!important}
  #priceAdjustmentDialog .simple-price-line {grid-template-columns:minmax(0,1fr) 104px!important}
  #creditsDialog.tw-window[open] {height:calc(100dvh - 16px)!important;width:calc(100vw - 16px)!important}
  #creditsDialog .credits-pos-layout {display:flex!important;flex-direction:column!important;overflow:auto!important}
  #creditsDialog .credits-customer-panel {padding:12px!important;overflow:visible!important;border-right:0!important;border-bottom:1px solid #dde8eb!important}
  #creditsDialog .credit-customer-list {max-height:130px!important;overflow:auto!important}
  #creditsDialog .credit-payment-panel {overflow:visible!important;padding:0 12px 12px!important}
  #creditsDialog .credit-payment-panel {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  #creditsDialog :is(.credit-invoices,.credit-payment-form,.credit-recent) {grid-column:1!important}
  #creditsDialog .credit-selected-head {margin:0!important}
  #creditsDialog .credit-table-wrap>.mobile-table-scroll {min-width:0!important}
  #creditsDialog.tw-window:not(.tw-maximized):not(.tw-hosted-root):is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse))[open] {width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .tw-surface {max-height:calc(100dvh - 18px)!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-payment-panel {display:block!important;padding:10px 12px 0!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credits-customer-panel {padding:10px 12px 12px!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list {grid-template-columns:minmax(0,1fr)!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button {grid-template-columns:30px minmax(0,1fr) auto!important;gap:5px 8px!important;min-height:82px!important;padding:10px!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list .rc-record-avatar {width:30px!important;height:30px!important}
  #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list>button>b {font-size:14px!important}
  #creditsDialog .credit-selected-head {flex-wrap:wrap!important;padding:12px 0!important}
  #creditsDialog .credit-selected-head h3 {font-size:16px!important}
  #creditsDialog .credit-selected-head strong {font-size:19px!important}
  #creditsDialog .credit-table-wrap {max-height:240px!important}
  #creditsDialog .credit-table-wrap table {min-width:520px!important}
  #creditsDialog :is(.credit-invoice-detail,.credit-invoice-adjust) {min-height:36px!important;align-items:center!important}
  #detailDialog.tw-window[open] {height:calc(100dvh - 16px)!important}
  #detailDialog.tw-window #detailBody {padding:10px!important}
  #detailDialog.tw-window .fi-receipt-main {padding:9px!important}
  #detailDialog.tw-window footer>div {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  #detailDialog.tw-window footer button {width:100%!important;min-width:0!important;min-height:44px!important;padding:5px 4px!important;font-size:10px!important;white-space:normal!important}
 }
 :is(#creditsDialog,#creditRevisionDialog,#priceAdjustmentDialog,#documentEditDialog,#detailDialog,#returnPrintPreview,#creditPaymentReceiptPreview) [hidden] {display:none!important}
 #creditsDialog:is(:has(.credit-empty-selection),:has(.credits-pos-layout.rc-credit-browse)) .credit-customer-list:has(>button:only-child) {grid-template-columns:minmax(0,1fr)!important}
 #creditsDialog:has(.credits-pos-layout.rc-credit-browse) .credit-payment-panel {display:none!important}
}
}




}
@layer tickets-studio {
@media screen {
html:has(#fp-caja-return:not([hidden])) #fp-stage>iframe.fp-page-frame[src*="/tickets/"]:not([hidden]) {height:calc(100% - max(88px,calc(env(safe-area-inset-bottom,0px) + 52px)))!important}
html#tickets504-page .m504-searchwrap {border:0!important;box-shadow:none!important}
html#tickets504-page .m504-search input {border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
html#tickets504-page .m504-search:focus-within {border-color:#2878ad!important;outline:0!important;box-shadow:none!important}
html.tickets-modern {--tv-font:"Segoe UI",Arial,sans-serif!important;--tv-heading:"Segoe UI",Arial,sans-serif!important;--tv-paper:#fff!important;--tv-base:#f3f6fa!important;--tv-ink:#19344f!important;--tv-muted:#65758a!important;--tv-line:#d5dfeb!important;--tv-accent:#1e4569!important;--tv-accent-ink:#fff!important;--tv-accent-soft:#edf4fa!important;--tv-soft:#eff4fa!important;background:#e9eff5!important}
html.tickets-modern[data-appearance=oled] {--tv-paper:#142335!important;--tv-base:#101e2f!important;--tv-ink:#e7eff9!important;--tv-muted:#b0bfd0!important;--tv-line:#33485e!important;--tv-accent:#bad9f7!important;--tv-accent-ink:#152d45!important;--tv-accent-soft:#223e58!important;--tv-soft:#1c3249!important}
html.tickets-modern[data-appearance=pearl] {--tv-paper:#fffdf7!important;--tv-base:#f6f3eb!important;--tv-line:#dedbd2!important;--tv-soft:#f0efe8!important}
html.tickets-modern[data-appearance=oled] #ticketsView504 :is(.tiv-hero p,.tiv-detail-top,.tiv-summary small,.tiv-index-heading small,.tiv-view-choice) {color:#b6c7d9!important}
html.tickets-modern[data-appearance=oled] #ticketsView504 .tiv-quick-status button {background:#1c3249!important;color:#c8d8e9!important}
html.tickets-modern[data-appearance=oled] #ticketsView504 .tiv-quick-status button[aria-pressed=true] {background:#2b465e!important;color:#f5d455!important}
html.tickets-modern[data-appearance=oled] #ticketsView504 .tiv-summary>div:nth-child(2) strong {color:#f0ce67!important}
html.tickets-modern[data-appearance=oled] #ticketsView504 .tiv-search input::placeholder {color:#a5bbcf!important}
html#tickets504-page.tickets-modern main:has(>#ticketsView504) {padding:18px 26px!important;background:#e9eff5!important;max-width:1600px!important;margin:auto!important}
#ticketsView504 {min-height:0!important;height:auto!important;border:1px solid var(--tv-line)!important;border-radius:13px!important;box-shadow:0 10px 30px #18344c0c!important;overflow:hidden!important}
#ticketsView504 .tiv-mobile-heading {display:flex!important;align-items:center!important;gap:12px!important;min-height:76px!important;padding:13px 22px!important;background:linear-gradient(112deg,#122b43,#214c6b 70%,#246275)!important;color:#fff!important;border:0!important}
#ticketsView504 .tiv-mobile-heading h1 {color:white!important;font:650 24px/1.15 "Segoe UI",Arial!important;margin:2px 0 0!important;letter-spacing:-.4px!important}
#ticketsView504 .tiv-mobile-heading small {color:#acc5d9!important;font:600 10px/1.3 "Segoe UI",Arial!important;text-transform:uppercase!important;letter-spacing:1.5px!important}
#ticketsView504 .tiv-brand {display:grid!important;place-items:center!important;width:44px!important;height:44px!important;background:#ffffff12!important;border:1px solid #ffffff25!important;border-radius:10px!important}
#ticketsView504 .tiv-brand svg {width:31px!important;height:31px!important}
#ticketsView504 .tiv-home {margin-left:auto!important;color:#fff!important;border:1px solid #ffffff38!important;background:#ffffff0a!important;border-radius:7px!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important}
#ticketsView504 .tiv-controls {gap:10px!important;padding:12px 18px!important;background:var(--tv-paper)!important}
#ticketsView504 .tiv-search {height:38px!important;padding:0 11px!important;background:var(--tv-paper)!important;border:1px solid #b9cbde!important;border-radius:7px!important;outline:none!important;box-shadow:none!important}
#ticketsView504 .tiv-search:focus-within {border-color:#2878ad!important;outline:none!important;box-shadow:none!important}
#ticketsView504 .tiv-search input {height:32px!important;min-height:0!important;border:0!important;outline:none!important;box-shadow:none!important;background:none!important;font:13px "Segoe UI",Arial!important}
#ticketsView504 .tiv-view-choice {gap:8px!important;font:12px "Segoe UI",Arial!important}
#ticketsView504 .tiv-view-choice select {height:38px!important;min-height:38px!important;border-radius:7px!important;font:12px "Segoe UI",Arial!important;padding:0 10px!important;outline:none!important;box-shadow:none!important}
#ticketsView504 :is(.tiv-secondary,.tiv-primary) {min-height:34px!important;padding:7px 12px!important;border-radius:7px!important;font:600 12px/1.3 "Segoe UI",Arial!important;box-shadow:none!important}
#ticketsView504 .tiv-filter-toggle {min-height:38px!important;background:var(--tv-base)!important}
#ticketsView504 .tiv-summary {gap:0!important;padding:12px 18px!important;background:var(--tv-base)!important;grid-template-columns:.85fr 1.2fr 1fr .9fr!important}
#ticketsView504 .tiv-summary>div {padding:0 16px!important;border-right:1px solid var(--tv-line)!important}
#ticketsView504 .tiv-summary>div:first-child {padding-left:0!important}
#ticketsView504 .tiv-summary>div:last-child {border:0!important}
#ticketsView504 .tiv-summary small {font-size:11px!important;margin-bottom:3px!important}
#ticketsView504 .tiv-summary strong {font:650 21px/1.2 "Segoe UI",Arial!important;color:var(--tv-ink)!important}
#ticketsView504 .tiv-summary>div:nth-child(2) strong {color:#967013!important}
#ticketsView504 .tiv-body {grid-template-columns:335px minmax(0,1fr)!important;min-height:420px!important;align-items:start!important}
#ticketsView504 .tiv-index {--tv-side:var(--tv-base)!important;--tv-side-ink:var(--tv-ink)!important;--tv-side-muted:var(--tv-muted)!important;--tv-side-active:#e4eef8!important;background:var(--tv-base)!important;padding:13px 10px!important;border-right:1px solid var(--tv-line)!important;align-self:stretch!important;min-height:0!important}
#ticketsView504 .tiv-index-heading {padding:0 5px 9px!important}
#ticketsView504 .tiv-index-heading h2 {color:var(--tv-ink)!important;font-size:13px!important}
#ticketsView504 .tiv-index-heading small {color:var(--tv-muted)!important}
#ticketsView504 .tiv-quick-status {padding:0 3px 9px!important;gap:3px!important;flex-wrap:nowrap!important}
#ticketsView504 .tiv-quick-status button {font:600 10px "Segoe UI",Arial!important;padding:5px 8px!important;min-height:28px!important;color:var(--tv-muted)!important;border-radius:5px!important}
#ticketsView504 .tiv-quick-status button[aria-pressed=true] {color:var(--tv-ink)!important;background:#dce8f4!important}
#ticketsView504 .tiv-records {max-height:445px!important;overflow:auto!important;scrollbar-width:thin!important;scrollbar-color:#bdcbdc transparent!important;padding-right:2px!important}
#ticketsView504 .tiv-ticket {grid-template-columns:32px minmax(0,1fr) auto!important;gap:9px!important;padding:11px 9px!important;margin:0 0 4px!important;border-radius:7px!important;border:1px solid transparent!important;color:var(--tv-ink)!important;background:transparent!important;box-shadow:none!important}
#ticketsView504 .tiv-ticket[aria-pressed=true] {background:var(--tv-paper)!important;border-color:#c2d5e7!important;box-shadow:inset 3px 0 #e5be39!important}
#ticketsView504 .tiv-ticket:hover {background:#e6eef7!important}
#ticketsView504 .tiv-avatar {width:32px!important;height:34px!important;background:#e3ecf6!important;border:1px solid #d0deec!important;color:#476a8d!important;border-radius:7px!important;font:600 11px "Segoe UI",Arial!important}
#ticketsView504 .tiv-record-copy {gap:3px!important}
#ticketsView504 .tiv-record-copy strong {font:600 12px/1.35 "Segoe UI",Arial!important;color:var(--tv-ink)!important}
#ticketsView504 .tiv-record-copy small {font:10px/1.3 "Segoe UI",Arial!important;color:var(--tv-muted)!important}
#ticketsView504 .tiv-record-total {font:650 12px "Segoe UI",Arial!important;color:var(--tv-ink)!important;padding-top:3px!important}
#ticketsView504 .tiv-detail {padding:17px 22px!important;background:var(--tv-paper)!important}
#ticketsView504 .tiv-detail-top {margin-bottom:13px!important;font:12px "Segoe UI",Arial!important}
#ticketsView504 .tiv-status {font:600 10px "Segoe UI",Arial!important;padding:5px 9px!important;background:#e9f4ee!important;color:#337052!important}
#ticketsView504 .tiv-hero {margin:0 0 16px!important;padding-bottom:16px!important;border-bottom:1px solid var(--tv-line)!important;gap:12px!important}
#ticketsView504 .tiv-hero h2 {font:650 22px/1.2 "Segoe UI",Arial!important;letter-spacing:-.4px!important;margin-bottom:5px!important}
#ticketsView504 .tiv-total {border:1px solid #eddfa7!important;border-radius:8px!important;background:#fff9e6!important;padding:9px 13px!important}
#ticketsView504 .tiv-total small {color:#7a6838!important;font:11px "Segoe UI",Arial!important;margin-bottom:3px!important}
#ticketsView504 .tiv-total strong {color:#594b23!important;font:650 25px/1.15 "Segoe UI",Arial!important}
#ticketsView504 .tiv-detail-columns {display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(195px,1fr)!important;gap:18px!important}
#ticketsView504 .tiv-items-heading {padding:8px 10px!important;margin:0!important;background:var(--tv-soft)!important;border:1px solid var(--tv-line)!important;border-radius:7px 7px 0 0!important}
#ticketsView504 .tiv-items-heading h3 {font:650 12px "Segoe UI",Arial!important}
#ticketsView504 .tiv-item {padding:12px 10px!important;border:1px solid var(--tv-line)!important;border-top:0!important;margin:0!important;gap:10px!important;border-radius:0 0 7px 7px!important}
#ticketsView504 .tiv-item :is(strong,b) {font:600 12px/1.4 "Segoe UI",Arial!important}
#ticketsView504 .tiv-item :is(small,p) {font:11px/1.5 "Segoe UI",Arial!important}
#ticketsView504 .tiv-data {display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:0!important;margin:0!important}
#ticketsView504 .tiv-data>div {display:flex!important;align-items:start!important;justify-content:space-between!important;gap:12px!important;padding:7px 0!important;border-bottom:1px solid var(--tv-line)!important}
#ticketsView504 .tiv-data :is(dt,dd) {margin:0!important;font:11px/1.4 "Segoe UI",Arial!important}
#ticketsView504 .tiv-data dd {text-align:right!important;font-weight:600!important}
#ticketsView504 .tiv-totals {padding:10px!important;gap:8px!important;margin:12px 0!important;background:var(--tv-base)!important;border-radius:7px!important}
#ticketsView504 .tiv-payment {font:12px "Segoe UI",Arial!important;margin:8px 0!important}
#ticketsView504 .tiv-actions {display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:18px!important;padding-top:14px!important;border-top:1px solid var(--tv-line)!important}
#ticketsView504 .tiv-actions .tiv-primary:first-child {color:#253744!important;background:#f5d455!important;border:1px solid #dfbb3d!important}
#ticketsView504 .tiv-actions [data-convert-ticket] {color:var(--tv-ink)!important;background:var(--tv-soft)!important;border:1px solid var(--tv-line)!important}
#ticketsView504 .tiv-footer {padding:7px 17px!important;background:var(--tv-base)!important;min-height:40px!important;font:11px "Segoe UI",Arial!important;border-top:1px solid var(--tv-line)!important}
#ticketsView504 .tiv-pagination button {min-height:28px!important;width:30px!important;height:28px!important;border-radius:5px!important;padding:4px!important}
#ticketsView504 .tiv-filters {padding:0 18px 12px!important}
#ticketsView504 .tiv-fields {gap:10px!important;margin-top:10px!important}
#ticketsView504 .tiv-field {border:0!important;outline:0!important;box-shadow:none!important}
#ticketsView504 .tiv-field :is(input,select) {height:34px!important;min-height:34px!important;border-radius:6px!important;outline:0!important;box-shadow:none!important;font:12px "Segoe UI",Arial!important}
#ticketsView504 :is(select,input):focus {border-color:#2878ad!important;outline:0!important;box-shadow:none!important}
#ticketsView504 button:focus-visible,#ticketsView504 a:focus-visible {outline:2px solid #2583b7!important;outline-offset:2px!important}
#ticketsView504 .tiv-cards {padding:14px!important;gap:12px!important}
#ticketsView504 .tiv-sale-card {padding:14px!important;border-radius:9px!important;box-shadow:0 2px 6px #17324b08!important}
#ticketsView504 .tiv-sale-card h2 {font:650 17px "Segoe UI",Arial!important}
#ticketsView504 .tiv-table {padding:0!important}
html.tickets-hosted #ticketsView504 .tiv-mobile-heading {display:none!important}
html.tickets-hosted main:has(>#ticketsView504) {padding:0!important}
html.tickets-hosted #ticketsView504 {border:0!important;border-radius:0!important;box-shadow:none!important}
.admin-ticket-shell>.head,.admin-ticket-shell .admin-ticket-window>.head {height:48px!important;min-height:48px!important;background:linear-gradient(110deg,#152e49,#24516d)!important;border:0!important;color:white!important;padding:0 10px!important}
.admin-ticket-shell .head :is(h2,small,button) {color:white!important}
.admin-ticket-shell .head small {font-size:9px!important;letter-spacing:1px!important;color:#b7cddd!important}
.admin-ticket-shell .head h2 {font:650 16px "Segoe UI",Arial!important}
.admin-ticket-shell {border:1px solid #6b89a6!important;border-radius:10px!important;box-shadow:0 22px 60px #112c4b38!important;overflow:hidden!important}
.admin-ticket-shell .head button {width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;border:1px solid #ffffff32!important;border-radius:5px!important;background:#ffffff0a!important}
@media (max-width:1100px) {#ticketsView504 .tiv-body {grid-template-columns:290px minmax(0,1fr)!important}#ticketsView504 .tiv-detail-columns {grid-template-columns:1fr!important;gap:14px!important}#ticketsView504 .tiv-data {grid-template-columns:1fr 1fr!important;gap:0 14px!important}#ticketsView504 .tiv-hero h2 {font-size:19px!important}#ticketsView504 .tiv-total strong {font-size:21px!important}}
@media (max-width:767px) {
html#tickets504-page.tickets-modern main:has(>#ticketsView504) {padding:8px!important}
#ticketsView504 .tiv-mobile-heading {min-height:64px!important;padding:10px 13px!important}#ticketsView504 .tiv-mobile-heading h1 {font-size:21px!important}
#ticketsView504 .tiv-controls {flex-wrap:wrap!important;gap:8px!important;padding:10px!important}#ticketsView504 .tiv-search-slot {flex-basis:100%!important}#ticketsView504 .tiv-search {height:44px!important}#ticketsView504 .tiv-view-choice {flex:1!important}#ticketsView504 .tiv-view-choice select {height:44px!important;flex:1!important;max-width:none!important}#ticketsView504 .tiv-filter-toggle {min-height:44px!important}
#ticketsView504 .tiv-summary {grid-template-columns:1fr 1fr!important;gap:12px 0!important;padding:12px!important}#ticketsView504 .tiv-summary>div {padding:0 10px!important}#ticketsView504 .tiv-summary>div:nth-child(odd) {padding-left:0!important}#ticketsView504 .tiv-summary>div:nth-child(even) {border:0!important}#ticketsView504 .tiv-summary strong {font-size:18px!important}
#ticketsView504 .tiv-body {display:block!important;min-height:0!important}#ticketsView504 .tiv-index {padding:10px!important;border:0!important}#ticketsView504 .tiv-records {max-height:440px!important}#ticketsView504 .tiv-ticket {padding:12px 8px!important;min-height:78px!important}#ticketsView504 .tiv-record-copy strong {font-size:13px!important}#ticketsView504 .tiv-quick-status button {min-height:44px!important;font-size:11px!important}
#ticketsView504 .tiv-detail {padding:14px!important}#ticketsView504 .tiv-detail-columns {grid-template-columns:1fr!important}#ticketsView504 .tiv-hero {flex-wrap:wrap!important}#ticketsView504 .tiv-hero>div:first-child {flex:1 1 100%!important}#ticketsView504 .tiv-total {text-align:left!important;width:100%!important}#ticketsView504 .tiv-data {grid-template-columns:1fr!important}
#ticketsView504 :is(.tiv-primary,.tiv-secondary) {min-height:44px!important}#ticketsView504 .tiv-actions>* {flex:1 1 100%!important;justify-content:center!important}#ticketsView504 .tiv-fields {grid-template-columns:1fr 1fr!important}#ticketsView504 .tiv-field :is(input,select) {min-height:44px!important;height:44px!important}#ticketsView504 .tiv-pagination button {height:44px!important;width:44px!important}#ticketsView504 .tiv-footer {padding:7px 10px!important}
.admin-ticket-shell>.head {height:56px!important;min-height:56px!important}.admin-ticket-shell .head button {width:44px!important;height:44px!important;min-height:44px!important}
}
@media (prefers-reduced-motion:reduce) {* {animation:none!important;transition:none!important}}
}
}

@layer tickets-studio {
@scope (html.tw-context) {
@media screen {
.tw-window .tw-heading {background:linear-gradient(110deg,#162e48,#254f6d)!important;border-color:#53738d!important;padding-left:14px!important;border-radius:0!important}
dialog.tw-window[open] {border-radius:10px!important;max-height:calc(100dvh - 24px)!important;box-shadow:0 22px 65px #112d4938!important}
.tw-window .tw-heading [hidden] {display:none!important}
.tw-window .tw-controls button svg {width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important}
.tw-window .tw-heading .window-actions {display:contents!important}
.tw-window .tw-heading .tw-controls {margin-left:auto!important}
dialog.tw-window#detailDialog[open] {display:flex!important;flex-direction:column!important;width:min(980px,calc(100vw - 24px))!important;height:auto!important}
#detailDialog #detailBody {overflow:auto!important;min-height:0!important;padding:12px 16px!important;max-height:calc(100dvh - 165px)!important;background:#f7f9fc!important}
#detailDialog #detailBody :is(h2,h3) {font:650 14px "Segoe UI",Arial!important;color:#1a3e61!important;margin:0 0 7px!important}
#detailDialog #detailBody .ticket-card-heading {padding:9px 12px!important;background:#e9f0f8!important;border-color:#d4dfec!important;margin-bottom:10px!important}
#detailDialog .ticket-card-heading :is(img,svg) {max-height:32px!important}
#detailDialog :is(.doc-meta,.ticket-summary-grid) {gap:8px!important;padding:10px!important;margin:0 0 10px!important;background:#fff!important;border:1px solid #d4dfec!important;border-radius:7px!important;font-size:12px!important}
#detailDialog .doc-meta>div {padding:3px!important}
#detailDialog .doc-items {margin:0 0 10px!important;font:12px "Segoe UI",Arial!important}
#detailDialog .doc-items :is(th,td) {padding:8px!important;min-width:0!important}
#detailDialog .doc-items th {background:#e8f0f8!important;color:#274c6b!important}
#detailDialog .doc-total {font-size:15px!important;padding:9px!important;margin:0 0 10px!important}
#detailDialog .row-links {gap:6px!important;margin:9px 0!important}
#detailDialog .row-links a {padding:7px 10px!important;border:1px solid #cad9e7!important;border-radius:6px!important;background:white!important;font:12px "Segoe UI",Arial!important}
#detailDialog footer {padding:8px 12px!important;gap:7px!important}
#detailDialog footer>small {display:none!important}
#detailDialog footer>div {display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important}
#detailDialog footer button {flex:1!important;min-width:100px!important;font-size:11px!important;padding:7px 8px!important}
#detailDialog #printInvoice {background:#f5d455!important;border-color:#dfbb3d!important;color:#243e56!important}
#detailDialog #goReturn {background:#fff1ed!important;color:#a55043!important;border-color:#e9d1c9!important}
#detailDialog .credit-adjust-actions {padding:8px 10px!important;margin:0 0 10px!important;border:1px solid #d5e1ee!important;border-radius:7px!important;background:#edf3f9!important}
#detailDialog .credit-adjustment-history {font-size:12px!important;padding:10px!important}
dialog#documentEditDialog.tw-window[open] {width:min(550px,calc(100vw - 24px))!important}
#documentEditDialog .edit-content {display:grid!important;gap:10px!important;padding:12px 16px!important}
#documentEditDialog .edit-content>p {margin:0!important;font-size:12px!important;line-height:1.5!important}
dialog#ticketConversionDialog.tw-window[open] {width:min(580px,calc(100vw - 24px))!important;display:flex!important;flex-direction:column!important}
#ticketConversionDialog>.conversion-window {display:contents!important;position:static!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;max-height:none!important}
#ticketConversionDialog .conversion-body {overflow:auto!important;min-height:0!important;padding:12px 16px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px 12px!important}
#ticketConversionDialog .conversion-body>:is(p,dl,button,.conversion-check) {grid-column:1/-1!important}
#ticketConversionDialog .conversion-body p {font:12px/1.45 "Segoe UI",Arial!important;color:#526b83!important;margin:0!important}
#ticketConversionDialog .conversion-body [role=alert] {color:#a32e46!important}
#ticketConversionDialog .conversion-dates {display:grid!important;grid-template-columns:1fr 1fr!important;padding:9px!important;background:#eaf2f9!important;border:1px solid #d2e0ec!important;border-radius:7px!important;gap:8px!important}
#ticketConversionDialog .conversion-check {display:flex!important;align-items:start!important;font-size:12px!important}
#ticketConversionDialog .conversion-body>[data-existing] {justify-self:start!important}
#ticketConversionDialog [type=submit] {background:#f5d455!important;border-color:#dfbb3d!important;color:#243e56!important}
dialog#salePrintPreview.tw-window[open],dialog#returnPrintPreview.tw-window[open] {display:flex!important;flex-direction:column!important;width:min(940px,calc(100vw - 24px))!important;height:min(740px,calc(100dvh - 24px))!important}
#salePrintPreview iframe,#returnPrintPreview iframe {flex:1!important;width:100%!important;min-height:0!important;border:0!important;background:#e9eff5!important}
#salePrintPreview :is(.sale-print-toolbar-simple,.sale-print-help) {padding:7px 12px!important;font-size:11px!important}
#salePrintPreview .sp-heading-icon {display:none!important}
#salePrintPreview .sale-print-toolbar-simple {gap:8px!important}
dialog#ticketsCardsInspector504.tw-window[open] {display:flex!important;flex-direction:column!important;width:min(790px,calc(100vw - 24px))!important}
#ticketsCardsInspector504 .tiv-detail {padding:16px!important;overflow:auto!important;min-height:0!important;font:13px "Segoe UI",Arial!important}
dialog#documentDeliveryDialog.tw-window[open] {display:flex!important;flex-direction:column!important;width:min(780px,calc(100vw - 24px))!important;height:auto!important}
#documentDeliveryDialog .dm-brand {display:none!important}
#documentDeliveryDialog .document-delivery-body {overflow:auto!important;min-height:0!important;display:grid!important;grid-template-columns:215px 1fr!important}
#documentDeliveryDialog .dm-summary {padding:16px!important;background:#ecf2f8!important;border-right:1px solid #d4e1ec!important;color:#23435f!important}
#documentDeliveryDialog .dm-actions {padding:16px!important}
#documentDeliveryDialog .dm-intro {margin-bottom:10px!important}
#documentDeliveryDialog .dm-intro h3 {font:650 15px "Segoe UI",Arial!important;margin:0 0 4px!important}
#documentDeliveryDialog .dm-number {font-size:18px!important}
#documentDeliveryDialog .dm-customer {margin:15px 0!important}
#documentDeliveryDialog .dm-amount {padding:10px!important;border:1px solid #e5d79f!important;border-radius:7px!important;background:#fff7df!important}
#documentDeliveryDialog .dm-amount strong {font-size:23px!important}
#documentDeliveryDialog .dm-pdf-tag {margin-top:15px!important}
#documentDeliveryDialog .document-delivery-options {gap:8px!important}
#documentDeliveryDialog .document-delivery-options button {min-height:68px!important;padding:10px!important;text-align:left!important}
#documentDeliveryDialog .dm-action-icon {width:30px!important;height:30px!important}
#documentDeliveryDialog .document-delivery-options :is(b,small) {font-size:12px!important}
#documentDeliveryDialog .dm-footer {display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:9px 14px!important}
#documentDeliveryDialog .dm-footer p {font:11px/1.4 "Segoe UI",Arial!important;margin:0!important}
.tw-window [role=alert]:empty {display:none!important}
.tw-window.tw-maximized[open] {inset:8px!important;margin:0!important;width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;translate:none!important}
.tw-window.tw-maximized .tw-surface {height:100%!important;max-height:100%!important}
@media(max-width:650px) {#ticketConversionDialog .conversion-body {gap:9px!important}#detailDialog footer button {min-height:44px!important;flex:1 1 40%!important}#documentDeliveryDialog .document-delivery-body {grid-template-columns:1fr!important}#documentDeliveryDialog .dm-summary {display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px 14px!important;border:0!important;border-bottom:1px solid #d4e1ec!important}#documentDeliveryDialog .dm-document-icon {display:none!important}#documentDeliveryDialog .dm-customer {margin:0!important;font-size:12px!important}#documentDeliveryDialog .dm-amount {grid-column:2!important;grid-row:1/3!important;align-self:center!important}#documentDeliveryDialog .dm-amount strong {font-size:20px!important}#documentDeliveryDialog .dm-pdf-tag {display:none!important}#documentDeliveryDialog .dm-actions {padding:12px!important}#documentDeliveryDialog .document-delivery-options button {min-height:70px!important}#ticketConversionDialog .conversion-body label:not(.conversion-check) {grid-column:1/-1!important}}
}
}
}

@layer tickets-studio {
@media screen {
html.tickets-modern,html.tickets-modern body {height:auto!important;overflow:auto!important}
html.tickets-modern body main:not(#fp-stage) {height:auto!important;min-height:0!important;overflow:visible!important}
#ticketsView504 .brand-toolbar {display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;border:0!important;background:var(--tv-paper)!important}
#ticketsView504 .brand-toolbar>.tiv-controls {width:100%!important;border-bottom:1px solid var(--tv-line)!important}
#ticketsView504 .brand-toolbar>.tiv-summary {width:100%!important}
#ticketsView504 .tiv-summary>div {background:transparent!important;border:0!important;border-right:1px solid var(--tv-line)!important;border-radius:0!important}
#ticketsView504 .tiv-body {flex:0 0 auto!important;height:auto!important;max-height:none!important;overflow:visible!important;min-height:0!important}
#ticketsView504 .tiv-index {display:flex!important;flex-direction:column!important}
#ticketsView504 .tiv-records {flex:0 1 auto!important;max-height:400px!important;overflow:auto!important;background:transparent!important}
#ticketsView504 .tiv-index-heading {background:transparent!important;color:var(--tv-ink)!important;border:0!important;margin:0!important;padding:0 4px 9px!important;min-height:0!important}
#ticketsView504 .tiv-index-heading :is(h2,small) {color:var(--tv-ink)!important}
#ticketsView504 .tiv-detail {height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
#ticketsView504 .tiv-document {border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--tv-paper)!important;overflow:visible!important}
#ticketsView504 .tiv-document>.tiv-hero {padding:0 0 15px!important;margin:0 0 15px!important;background:var(--tv-paper)!important;border:0!important;border-bottom:1px solid var(--tv-line)!important;border-radius:0!important}
#ticketsView504 .tiv-hero>.tiv-status {margin-left:auto!important;align-self:start!important;order:1!important}
#ticketsView504 .tiv-hero>.tiv-total {order:2!important;min-width:150px!important;align-self:start!important}
#ticketsView504 .tiv-document>.tiv-detail-columns>section {padding:0!important;overflow:visible!important;background:var(--tv-paper)!important;border:0!important;min-height:0!important}
#ticketsView504 .tiv-information>.tiv-finance-heading {background:var(--tv-soft)!important;color:var(--tv-ink)!important;border:1px solid var(--tv-line)!important;border-radius:7px!important;padding:8px 10px!important;font:650 12px "Segoe UI",Arial!important;margin:0 0 4px!important;min-height:0!important}
#ticketsView504 .tiv-items-heading :is(h3,small) {color:var(--tv-ink)!important}
#ticketsView504 .tiv-actions {background:var(--tv-paper)!important}
#ticketsView504[data-layout=focus] .tiv-body {display:block!important}
#ticketsView504:is([data-layout=focus],[data-layout=cards],[data-layout=table]) .tiv-index {display:none!important}
@media(max-width:767px) {#ticketsView504 .tiv-records {max-height:440px!important}#ticketsView504 .tiv-hero>.tiv-status {order:0!important;margin:0!important}#ticketsView504 .tiv-hero>.tiv-total {min-width:0!important}#ticketsView504[data-layout=explorer]:not([data-mobile-detail=true]) .tiv-body>.tiv-detail {display:none!important}#ticketsView504[data-layout=explorer][data-mobile-detail=true] .tiv-index {display:none!important}#ticketsView504 .tiv-summary {border-bottom:1px solid var(--tv-line)!important}}
}
@scope (html.tw-context) {
@media screen {
dialog.tw-window#detailDialog[open] {height:fit-content!important;min-height:0!important;max-height:calc(100dvh - 24px)!important}
#detailDialog.tw-window>.pos-window-body {display:block!important;flex:0 1 auto!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 135px)!important;padding:0!important;overflow:auto!important}
#detailDialog.tw-window #detailBody {flex:0 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
#documentEditDialog.tw-window .pos-window-body {display:block!important;flex:0 1 auto!important;height:auto!important;min-height:0!important;padding:0!important;overflow:auto!important}
#documentEditDialog.tw-window .edit-content {height:auto!important;min-height:0!important;grid-auto-rows:min-content!important;align-content:start!important;gap:10px!important;flex:0 1 auto!important}
#documentEditDialog.tw-window .edit-content label {display:grid!important;gap:4px!important;margin:0!important;padding:0!important;min-height:0!important;height:auto!important}
:is(#detailDialog,#documentEditDialog,#ticketConversionDialog,#ticketsCardsInspector504,#priceAdjustmentDialog,#salePrintPreview,#returnPrintPreview,#documentDeliveryDialog).tw-window.tw-maximized[open] {inset:8px!important;margin:0!important;width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;translate:none!important}
#detailDialog.tw-maximized>.pos-window-body {flex:1 1 auto!important;max-height:none!important}
#detailDialog.tw-maximized #detailBody {min-height:100%!important}
.tw-window .pos-window-body:has(>.conversion-body) {padding:0!important;min-height:0!important;overflow:auto!important}
#ticketConversionDialog .tw-surface {height:auto!important;max-height:calc(100dvh - 26px)!important}
#documentDeliveryDialog.tw-window>.pos-window-body {display:contents!important}
#documentDeliveryDialog.tw-window[open] {height:fit-content!important}
#documentDeliveryDialog.tw-window[open]:not(.tw-maximized) {inset:auto!important;left:50%!important;top:50%!important;margin:0!important;transform:translate(-50%,-50%)!important;height:auto!important}
#documentDeliveryDialog.tw-window .document-delivery-body {padding:0!important;gap:0!important}
#documentDeliveryDialog.tw-window .dm-summary {margin:0!important;border:0!important;border-radius:0!important;align-self:stretch!important}
#documentDeliveryDialog.tw-window .dm-summary :is(strong,b) {color:#24445f!important}
#documentDeliveryDialog.tw-window .dm-summary :is(small,span) {color:#60788e!important}
#documentDeliveryDialog.tw-window .dm-amount strong {color:#74581c!important}
#documentDeliveryDialog.tw-window .dm-summary:before {display:none!important}
}
}
}

@layer tickets-studio {
@media screen {
html#tickets504-page #fp-stage {position:fixed!important;inset:0!important;width:auto!important;height:auto!important;max-width:none!important;background:#17334a42!important;backdrop-filter:blur(2px)!important;z-index:20000!important;padding:0!important;margin:0!important;display:block!important}
html#tickets504-page #fp-stage[hidden] {display:none!important}
.tr-window-shell {position:absolute!important;left:var(--tr-x,50%)!important;top:var(--tr-y,50%)!important;translate:-50% -50%!important;width:min(var(--tr-width,1000px),calc(100% - 24px))!important;height:min(var(--tr-height,680px),calc(100dvh - 24px))!important;border:1px solid #7190aa!important;border-radius:10px!important;box-shadow:0 22px 65px #112d4938!important;background:white!important;overflow:hidden!important;display:grid!important;grid-template-rows:48px minmax(0,1fr)!important}
.tr-window-shell[data-maximized] {left:50%!important;top:50%!important;width:calc(100% - 16px)!important;height:calc(100dvh - 16px)!important}
.tr-window-head {display:flex!important;align-items:center!important;gap:5px!important;padding:0 8px 0 14px!important;background:linear-gradient(110deg,#162e48,#254f6d)!important;color:white!important;touch-action:none!important;user-select:none!important;cursor:grab!important}
.tr-window-title {flex:1!important;color:white!important;font:650 15px "Segoe UI",Arial!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tr-window-head button {width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:1px solid #ffffff38!important;border-radius:6px!important;color:white!important;background:#ffffff0b!important;font:19px "Segoe UI",Arial!important;cursor:pointer!important}
.tr-window-head button:hover {background:#ffffff24!important}.tr-window-head [data-close]:hover {background:#b83b4e!important}
.tr-window-head:focus-visible {outline:2px solid #f5d455!important;outline-offset:-3px!important}
.tr-window-shell .fp-page-frame {position:relative!important;inset:auto!important;width:100%!important;height:100%!important;border:0!important;min-width:0!important;min-height:0!important;display:block!important;background:white!important}
.tr-window-shell .fp-page-frame[hidden] {display:none!important}
html[data-ticket-minimized] #fp-stage {pointer-events:none!important;background:transparent!important;backdrop-filter:none!important}
html[data-ticket-minimized] .tr-window-shell {opacity:0!important;pointer-events:none!important}
.tr-window-dock {position:fixed!important;right:16px!important;bottom:12px!important;z-index:25000!important;padding:10px 15px!important;border:1px solid #7190aa!important;border-radius:8px!important;background:#1c4260!important;color:white!important;font:600 13px "Segoe UI",Arial!important;cursor:pointer!important}
.tr-window-dock[hidden] {display:none!important}
@media(max-width:767px) {.tr-window-shell {width:calc(100% - 16px)!important;height:calc(100dvh - 20px)!important;grid-template-rows:56px minmax(0,1fr)!important}.tr-window-head button {width:44px!important;height:44px!important;min-height:44px!important}.tr-window-title {font-size:14px!important}.tr-window-dock {left:10px!important;right:10px!important;min-height:44px!important}}
}
}
