:root{--bw-bg:#0b0f14;--bw-text:#0f172a;--bw-muted:rgba(15,23,42,.65);--bw-border:rgba(15,23,42,.12);--bw-soft:#f3f4f6;--shadow:0 18px 45px rgba(0,0,0,.22);--shadow-sm:0 10px 22px rgba(0,0,0,.16);--r:18px}.chat-fab{position:fixed;right:24px;bottom:26px;z-index:10000;display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:var(--bw-bg);color:#fff;border:1px solid rgba(255,255,255,.1);box-shadow:var(--shadow-sm);font-weight:900;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:transform .15s ease,box-shadow .15s ease}.chat-fab:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.chat-icon{display:inline-flex}.chat-label{font-size:14px}.ticket-chatbox{position:fixed;right:24px;bottom:95px;width:470px;height:70%;display:none;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--bw-border);border-radius:22px;box-shadow:var(--shadow);z-index:10000}@media(max-width:500px){.ticket-chatbox{width:100%;height:100dvh;right:0;bottom:0;border-radius:0}.chat-fab{right:16px;bottom:16px}}.chat-header{background:var(--bw-bg);color:#fff;padding:12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.1)}.chat-peer{display:flex;align-items:center;gap:10px;min-width:0}.peer-avatar{width:36px;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:950;background:#ffffff24;border:1px solid rgba(255,255,255,.18);flex:0 0 auto}.peer-meta{min-width:0}.peer-name{font-weight:950;font-size:14px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.peer-sub{margin-top:3px}.presence-badge{font-size:12px;font-weight:950;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#ffffff1a;color:#fff;display:inline-flex;align-items:center;line-height:1;white-space:nowrap}.presence-badge.is-online{background:#22c55e33;border-color:#22c55e59}.presence-badge.is-offline{background:#ffffff2e;border-color:#ffffff52}.chat-header-actions{display:flex;gap:8px}.chat-btn{border:none;outline:none;cursor:pointer;border-radius:10px;padding:6px 10px;font-weight:900}.chat-btn.ghost{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.12)}.chat-btn.ghost:hover{background:#ffffff24}.ticket-messages{flex:1;padding:14px 12px;overflow-y:auto;background:#fff;min-height:0;scrollbar-width:none;-ms-overflow-style:none}.ticket-messages::-webkit-scrollbar{display:none}.ticket-empty{border:1px dashed rgba(15,23,42,.2);border-radius:16px;padding:14px;background:#fff}.ticket-empty-title{font-weight:900;color:var(--bw-text)}.ticket-empty-sub{margin-top:6px;font-size:12.5px;color:var(--bw-muted)}.ticket-empty-sub code{color:#d946ef;font-weight:900}.ticket-row{display:flex;align-items:flex-end;gap:8px;margin:10px 0;width:100%}.ticket-row.is-other{justify-content:flex-start}.ticket-row.is-mine{justify-content:flex-end}.msg-avatar{width:28px;height:28px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:12px;background:#fff;border:1px solid rgba(15,23,42,.12);color:var(--bw-text);flex:0 0 auto}.msg-wrap{display:flex;flex-direction:column;max-width:78%}.ticket-bubble{padding:10px 12px;border-radius:18px;border:1px solid rgba(15,23,42,.12);background:#fff;box-shadow:0 8px 18px #0000000f}.ticket-row.is-mine .ticket-bubble{background:var(--bw-bg);color:#fff;border-color:#ffffff1a;border-bottom-right-radius:10px}.ticket-row.is-other .ticket-bubble{border-bottom-left-radius:10px}.ticket-text{margin:0;line-height:1.45;font-weight:650;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}.msg-time{margin-top:4px;font-size:11px;opacity:.55;padding:0 6px;align-self:flex-start}.ticket-row.is-mine .msg-time{align-self:flex-end}.ticket-meta,.ticket-time{display:none!important}.ticket-inputbar{padding:12px;display:flex;flex-direction:column;gap:8px;background:#fff;border-top:1px solid var(--bw-border)}.ticket-input{flex:1;border:1px solid rgba(15,23,42,.18);border-radius:14px;padding:10px 12px;outline:none;font-weight:650;min-width:0}.input-row{display:flex;align-items:center;gap:10px;width:100%}.ticket-send{padding:10px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:var(--bw-bg);color:#fff;font-weight:900;cursor:pointer;flex-shrink:0}.ticket-send:disabled{opacity:.45;cursor:not-allowed}.file-send{font-size:20px;color:#000;cursor:pointer;padding:8px;border-radius:50%;transition:.2s}.file-send:hover{background:#0084ff1a}.file-preview-container{display:flex;gap:8px;padding:5px 10px;overflow-x:auto}.file-preview{position:relative}.file-preview img,.file-preview video{width:60px;height:60px;-o-object-fit:cover;object-fit:cover;border-radius:10px}.file-remove{position:absolute;top:-5px;right:-5px;background:red;color:#fff;border-radius:50%;font-size:12px;cursor:pointer;padding:2px 5px}.upload-status{font-size:12px;font-weight:600;color:#0d3553;padding:4px 10px;margin-bottom:4px;animation:blink 1s infinite}@keyframes blink{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}.file-bubble{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;padding:10px;border-radius:12px}.file-icon{font-size:24px}.file-info{display:flex;flex-direction:column}.file-name{font-size:13px;font-weight:700;word-break:break-all}.file-action{font-size:11px;opacity:.6}.ticket-messages{padding:12px}.msg-avatar-ghost{width:28px;height:28px;flex:0 0 auto;visibility:hidden}.ticket-row{margin:6px 0}.msg-time{margin-top:2px;padding:0 4px}.ticket-row.is-mine+.ticket-row.is-mine,.ticket-row.is-other+.ticket-row.is-other{margin-top:2px}#delete-chat{width:38px;height:34px;display:flex;align-items:center;justify-content:center;padding:0;font-size:16px}#delete-chat:hover{background:#ef44442e;border-color:#ef444447}.chat-badge{position:absolute;top:-5px;right:-5px;background:red;color:#fff;font-size:11px;padding:2px 6px;border-radius:50%;font-weight:700;display:none}.table-wrap,.table-wrapper,.table-responsive{border:1px solid #e5e7eb!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}.table-wrap,.table-wrapper{overflow:hidden!important}.table-responsive{overflow-x:auto!important}.table,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table){width:100%;margin:0!important;border-collapse:collapse!important;background:#fff!important;color:#09090b!important}.table thead,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) thead,.table-dark{background:#fff!important;color:#09090b!important}.table th,.table td,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) th,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td{border-color:#e5e7eb!important;border-left:0!important;border-right:0!important;padding:14px 16px!important;vertical-align:middle!important;font-size:14px!important}.table th,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) th{font-weight:600!important;color:#09090b!important;text-transform:none!important;letter-spacing:0!important;background:#fff!important}.table tbody tr,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) tbody tr{background:#fff!important;transition:background-color .16s ease!important}.table-hover tbody tr:hover,.table tbody tr:hover,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) tbody tr:hover{background:#f7f7f8!important}.action-menu-wrap,.action-group,.actions,.file-actions,.table-action{position:relative!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}.action-menu-toggle,.action-toggle,.actions-toggle,.file-actions-toggle,.table-action-toggle{width:32px!important;height:32px!important;min-width:32px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#18181b!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;transition:background-color .15s ease,color .15s ease!important}.action-menu-toggle:hover,.action-menu-toggle.show,.action-toggle:hover,.action-toggle.show,.actions-toggle:hover,.actions-toggle.show,.file-actions-toggle:hover,.file-actions-toggle.show,.table-action-toggle:hover,.table-action-toggle.show{background:#f4f4f5!important;color:#09090b!important}.action-menu-toggle i,.action-toggle i,.actions-toggle i,.file-actions-toggle i,.table-action-toggle i{font-size:14px!important}.action-menu,.actions-menu,.file-actions-menu,.table-action-menu,.dropdown-menu.action-menu,.dropdown-menu.actions-menu,.dropdown-menu.file-actions-menu,.dropdown-menu.table-action-menu{min-width:128px!important;padding:4px!important;border:1px solid #e4e4e7!important;border-radius:10px!important;background:#fff!important;box-shadow:0 10px 24px #0000001f!important;z-index:1080!important}.action-menu.show,.actions-menu.show,.file-actions-menu.show,.table-action-menu.show{margin-top:6px!important}.action-menu .btn,.action-menu button,.action-menu a,.actions-menu .action-btn,.file-actions-menu .btn,.file-actions-menu button,.table-action-menu .btn-custom,.table-action-menu .badge-pill{width:100%!important;min-height:32px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#27272a!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:7px 9px!important;margin:0!important;font-size:14px!important;font-weight:400!important;text-decoration:none!important}.action-menu .btn:hover,.action-menu button:hover,.action-menu a:hover,.actions-menu .action-btn:hover,.file-actions-menu .btn:hover,.file-actions-menu button:hover,.table-action-menu .btn-custom:hover,.table-action-menu .badge-pill:hover{background:#f4f4f5!important;color:#09090b!important}.action-menu .btn-danger,.action-menu .btn-outline-danger,.action-menu button.btn-danger,.action-menu button.btn-outline-danger,.actions-menu .action-delete,.file-actions-menu .btn-danger,.file-actions-menu .btn-outline-danger,.file-actions-menu button.btn-danger,.file-actions-menu button.btn-outline-danger,.table-action-menu .btn-danger-custom{color:#ef4444!important}.action-menu .btn-danger:hover,.action-menu .btn-outline-danger:hover,.action-menu button.btn-danger:hover,.action-menu button.btn-outline-danger:hover,.actions-menu .action-delete:hover,.file-actions-menu .btn-danger:hover,.file-actions-menu .btn-outline-danger:hover,.file-actions-menu button.btn-danger:hover,.file-actions-menu button.btn-outline-danger:hover,.table-action-menu .btn-danger-custom:hover{background:#fef2f2!important;color:#dc2626!important}@media(min-width:769px)and (max-width:1399.98px){.table-responsive{overflow-x:visible!important}.table,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table){min-width:0!important;table-layout:fixed!important}.table th,.table td,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) th,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td{width:auto!important;min-width:0!important;max-width:none!important;padding:10px 8px!important;font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.badge,.badge-pill,.inline-code{max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important}}@media(max-width:768px){.table-wrap,.table-wrapper,.table-responsive{overflow-x:visible!important;border:0!important;background:transparent!important}.table,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table){min-width:0!important;border-collapse:separate!important;border-spacing:0 12px!important;background:transparent!important}.table thead,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) thead{display:none!important}.table tbody,.table tr,.table td,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) tbody,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) tr,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td{display:block!important;width:100%!important}.table tbody tr,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) tbody tr{border:1px solid #e5e7eb!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important}.table td,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td{min-height:48px!important;padding:11px 14px!important;border-bottom:1px solid #f0f0f1!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}.table td:last-child,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td:last-child{border-bottom:0!important}.table td:before,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td:before{content:attr(data-label);display:block;margin-bottom:4px;color:#71717a;font-size:11px;font-weight:700;letter-spacing:0;text-transform:uppercase}.table td[colspan]:before,table:not(.header-table):not(.summary):not(.photo-row):not(.data-table):not(.signature-table):not(.two-col):not(.package-table):not(.location-table):not(.office-table):not(.confirmation-table) td[colspan]:before{display:none}}
