html,body{height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:auto}.dashboard-page,.user-mgmt-page,.ticket-mgmt-page,.activity-log-page{box-sizing:border-box;background:#f6f6f3;gap:12px;min-height:100vh;padding:10px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.sidebar{box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;flex-shrink:0;justify-content:space-between;width:280px;height:calc(100vh - 20px);padding:10px 0;display:flex}.sidebar img.logo{object-fit:contain;max-width:200px;max-height:100px;margin:15px auto 20px;display:block}.menu{margin:50px 0 0;padding:0;list-style:none}.menu li{cursor:pointer;color:#333;padding:10px 18px;font-size:16px;font-weight:500;transition:all .2s}.menu li a{color:inherit;align-items:center;gap:12px;width:100%;padding:0;text-decoration:none;display:flex}.menu li:hover,.menu li.active{color:#4164f2;font-weight:600}.logout{cursor:pointer;color:#e74c3c;background:0 0;border:none;align-items:center;gap:12px;padding:1px 20px;font-family:inherit;font-size:16px;font-weight:500;transition:all .2s;display:flex}.content-wrapper{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:calc(100% - 300px);height:calc(100vh - 20px);min-height:0;display:flex}.navbar{box-sizing:border-box;color:#000;background:#fff;border-radius:16px;flex-shrink:0;justify-content:space-between;align-items:center;height:70px;padding:0 20px;font-size:24px;font-weight:700;display:flex}.user-info{align-items:center;gap:10px;display:flex}.user-icon{color:#999;flex-shrink:0}.user-text{flex-direction:column;align-items:flex-start;display:flex}.user-name{font-size:18px;font-weight:500;line-height:1.2}.user-role{color:#000;background-color:#ffcd71;border-radius:12px;margin-top:2px;padding:4px 12px;font-size:13px;font-weight:600;line-height:1.2}.top-controls{flex-shrink:0;justify-content:space-between;align-items:center;width:100%;display:flex}.search-bar{box-sizing:border-box;background:#fff;border-radius:8px;align-items:center;gap:10px;width:320px;height:40px;margin-left:auto;padding:0 16px;display:flex}.search-input{background:0 0;border:none;outline:none;width:100%;font-size:15px;font-weight:500}.search-icon{color:#888;flex-shrink:0}.custom-dropdown{position:relative}.dropdown-btn{cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;align-items:center;padding:8px 24px 8px 0;font-family:inherit;font-size:15px;font-weight:400;line-height:1;display:flex;position:relative;overflow:hidden}.dropdown-panel{z-index:10;background:#fff;border-radius:16px;padding:12px;display:none;position:absolute;top:100%;right:0;box-shadow:0 4px 12px #00000026}.dropdown-panel select{border:1px solid #ccc;border-radius:8px;width:100%;padding:6px 8px;font-family:inherit}.dropdown-btn .arrow{display:flex;position:absolute;right:8px}.dropdown-btn .filter-text{text-overflow:ellipsis;white-space:nowrap;padding-right:15px;overflow:hidden}.custom-dropdown.active .dropdown-panel{display:block}.pagination-container{border-top:1px solid #eee;flex-shrink:0;justify-content:center;align-items:center;gap:8px;margin-top:auto;padding:15px 0;display:flex}.pagination-btn{cursor:pointer;background-color:#0000;border:1px solid #ccc;border-radius:4px;padding:6px 10px;font-size:14px;font-weight:500;transition:all .2s}.pagination-btn:hover:not(:disabled){background-color:#f0f0f0;border-color:#999}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#666;text-align:center;min-width:100px;margin:0 10px;font-size:14px}.user-modal,.ticket-modal{z-index:1000;background-color:#00000080;width:100%;height:100%;position:fixed;top:0;left:0}.modal-content{background-color:#fff;border-radius:16px;width:90%;padding:0;overflow:hidden;box-shadow:0 4px 20px #00000026}.modal-header{aspect-ratio:400/90;border-bottom:none;border-radius:16px 16px 0 0;margin:0;padding:0;overflow:hidden}.header-img{object-fit:contain;width:100%;height:100%;display:block}.modal-title{color:#000;margin:0;padding:8px 30px;font-size:20px;font-weight:700}.modal-footer{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.form-group{margin-bottom:16px}.form-group label{color:#333;margin-bottom:6px;font-size:14px;font-weight:600;display:block}.form-group input,.form-group select{box-sizing:border-box;border:1px solid #ddd;border-radius:8px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px}.form-group input:focus,.form-group select:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.form-group input[aria-invalid=true],.form-group select[aria-invalid=true],.form-group textarea[aria-invalid=true]{border-color:#d32f2f}.form-group input[aria-invalid=true]:focus,.form-group select[aria-invalid=true]:focus,.form-group textarea[aria-invalid=true]:focus{border-color:#d32f2f;box-shadow:0 0 0 3px #d32f2f1f}.field-error{color:#d32f2f;margin-top:4px;font-size:12px;display:block}.cancel-btn,.save-btn{cursor:pointer;border:none;border-radius:8px;padding:10px 24px;font-size:14px;font-weight:600;transition:all .2s}.cancel-btn{color:#333;background-color:#f0f0f0}.cancel-btn:hover{background-color:#e0e0e0}.save-btn{color:#fff;background-color:#900000}.save-btn:hover{background-color:#780000}.save-btn.reopen-btn{color:#900000;background-color:#fff;box-shadow:inset 0 0 0 1.5px #900000}.save-btn.reopen-btn:hover:not(:disabled){background-color:#fbeaea}.cancel-btn:disabled,.save-btn:disabled{opacity:.6;cursor:not-allowed}.sidebar-toggle,.sidebar-close,.sidebar-backdrop{display:none}@media (width>=901px) and (width<=1200px){.sidebar{width:220px}.sidebar img.logo{max-width:170px}.menu li{padding:10px 16px;font-size:15px}.content-wrapper{width:auto;min-width:0}}@media (width<=900px){.dashboard-page,.user-mgmt-page,.ticket-mgmt-page,.activity-log-page{height:100dvh;min-height:0;overflow:hidden}.sidebar{z-index:1100;border-radius:0 16px 16px 0;width:270px;max-width:85vw;height:100%;padding:10px 0 20px;transition:transform .25s;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-105%);box-shadow:4px 0 24px #0000002e}.sidebar.open{transform:translate(0)}.menu{margin-top:20px}.menu li{padding:0}.menu li a{box-sizing:border-box;padding:12px 20px}.menu li.active{background:#eef1fe}.logout{padding:12px 20px}.sidebar-backdrop{z-index:1090;opacity:0;pointer-events:none;background:#0006;transition:opacity .25s;display:block;position:fixed;inset:0}.sidebar-backdrop.open{opacity:1;pointer-events:auto}.sidebar-close{color:#555;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:6px;display:flex;position:absolute;top:10px;right:10px}.sidebar-toggle{z-index:900;color:#900000;cursor:pointer;background:#f6efef;border:none;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex;position:fixed;top:23px;left:20px}body.sidebar-open{overflow:hidden}.content-wrapper{width:100%;min-width:0;height:100%}.navbar{gap:12px;padding-left:66px;font-size:20px}.navbar>div:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}}@media (width<=600px){.dashboard-page,.user-mgmt-page,.ticket-mgmt-page,.activity-log-page{gap:8px;padding:8px}.content-wrapper{gap:8px}.sidebar-toggle{width:40px;height:40px;top:18px;left:16px}.navbar{border-radius:12px;height:60px;padding:0 12px 0 58px;font-size:18px}.user-name,.user-icon{display:none}.user-role{padding:4px 10px;font-size:12px}.top-controls{flex-wrap:wrap;gap:8px}.search-bar{width:100%;margin-left:0}.pagination-container{padding:10px 0}.user-modal,.ticket-modal{overflow-y:auto}.modal-content{width:calc(100% - 16px)!important;max-width:none!important}.modal-title{padding:8px 16px;font-size:18px}.modal-footer{flex-wrap:wrap}.modal-footer .cancel-btn,.modal-footer .save-btn{flex:auto}}.card-container{justify-content:space-between;gap:12px;display:flex}.card{aspect-ratio:2;color:#333;background-color:#fff;border-radius:16px;flex-direction:column;flex:1;justify-content:center;align-items:flex-start;padding:16px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0000001a}.card .count{color:#111;font-size:50px;font-weight:800;line-height:1}.card .label{color:#666;margin-top:-20px;font-size:20px;font-weight:600}.card.overdue{border:1px solid #f5c2c0}.card.overdue .count{color:#e74c3c}.squares-container{flex:1;gap:12px;width:100%;min-height:0;display:flex}.large-square{box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;flex:2;gap:12px;min-width:0;min-height:0;padding:16px;display:flex;box-shadow:0 2px 8px #0000001a}.table-header .title{margin-bottom:4px;font-size:20px;font-weight:700}.table-header .subtitle{color:#666;margin-bottom:12px;font-size:14px}.tickets-table-wrap{flex:1;min-height:0;overflow-y:auto}.tickets-table{border-collapse:collapse;table-layout:fixed;width:100%}.tickets-table th,.tickets-table td{text-align:left;vertical-align:top;padding:8px 10px;font-size:14px}.tickets-table th:first-child,.tickets-table td:first-child{width:40px}.tickets-table th:nth-child(2),.tickets-table td:nth-child(2){width:120px}.tickets-table th:nth-child(3),.tickets-table td:nth-child(3),.tickets-table th:nth-child(4),.tickets-table td:nth-child(4){width:100px}.tickets-table th{z-index:1;background-color:#f6efef;font-weight:600;position:sticky;top:0;box-shadow:0 4px 4px -2px #0000001a}.tickets-table tr+tr td{border-top:1px solid #eee}.square{box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;flex:1;gap:12px;min-width:0;min-height:0;padding:16px;display:flex;box-shadow:0 2px 8px #0000001a}.pie-chart-container{box-sizing:border-box;flex-direction:column;align-items:flex-start;gap:12px;width:100%;height:100%;min-height:0;display:flex}.pie-chart-header{color:#000;margin:0;font-size:20px;font-weight:700}.chart-filters{box-sizing:border-box;flex-wrap:nowrap;justify-content:flex-start;align-items:flex-end;gap:12px;width:100%;padding-bottom:2px;display:flex;overflow-x:auto}.chart-filter{flex-direction:column;flex:1 1 0;gap:4px;min-width:0;display:flex}.chart-filter label{color:#2f3b56;white-space:nowrap;text-overflow:ellipsis;margin-bottom:2px;font-size:12px;font-weight:600;overflow:hidden}.chart-filter select,.chart-filter input[type=date]{color:#2f3b56;box-sizing:border-box;background:#fff;border:1px solid #d6dde8;border-radius:10px;width:100%;min-width:0;padding:8px 10px;font-size:14px;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 2px #0000000a}.chart-filter select:focus,.chart-filter input[type=date]:focus{border-color:#7b9cff;outline:none;box-shadow:0 0 0 3px #7b9cff1f}.chart-canvas-wrap{flex:1;width:100%;min-height:0;position:relative}.chart-range{color:#777;width:100%;font-size:12px}.chart-empty{color:#999;justify-content:center;align-items:center;height:100%;font-size:14px;display:flex}@media (width<=1200px){.chart-filter select,.chart-filter input[type=date]{padding:6px 8px;font-size:13px}.chart-filter label{font-size:11px}.chart-filters{gap:10px}}@media (width<=1024px){.chart-filter select,.chart-filter input[type=date]{padding:5px 6px;font-size:12px}.chart-filter label{font-size:10px}.chart-filters{gap:8px}.pie-chart-header{font-size:18px}}@media (width<=1200px){.card-container{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.card{aspect-ratio:auto;min-width:0;padding:12px 16px}.card .label{margin-top:0;font-size:16px}.card .count{margin-top:4px;font-size:40px}.square{min-width:300px}}@media (width<=900px){.square{min-width:0}.dashboard-page:not(.report-page) .content-wrapper{-webkit-overflow-scrolling:touch;overflow-y:auto}.squares-container{flex-direction:column;flex:none}.large-square{flex:none;height:420px}.tickets-table-wrap{-webkit-overflow-scrolling:touch;overflow:auto}.tickets-table{min-width:560px}.square{flex:none;height:460px}}@media (width<=600px){.card-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.card{aspect-ratio:auto;border-radius:12px;min-width:0;padding:12px}.card .label{margin-top:0;font-size:13px;line-height:1.2}.card .count{margin-top:6px;font-size:30px}.large-square,.square{border-radius:12px;padding:12px}.tickets-table th,.tickets-table td{padding:8px 6px;font-size:13px}.chart-filters{flex-wrap:wrap}.chart-filter{flex:120px}.chart-filter label{font-size:12px}.chart-filter select,.chart-filter input[type=date]{padding:8px 10px;font-size:14px}}.search-input:focus{box-shadow:none;outline:none}.add-user-btn{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:8px;flex-shrink:0;height:40px;margin-left:5px;padding:0 24px;font-size:14px;font-weight:600}.user-info-table .edit-btn,.user-info-table .delete-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;height:28px;padding:0 24px;font-size:14px;font-weight:600;display:flex}.user-info-table .edit-btn{color:#fff;background:#089f2e}.user-info-table .edit-btn:hover{background-color:#058023}.user-info-table .delete-btn{color:#fff;background:#c73525}.user-info-table .delete-btn:hover{background-color:#a02315}.add-user-btn:disabled,.user-info-table .edit-btn:disabled,.user-info-table .delete-btn:disabled{opacity:.6;cursor:not-allowed}.user-mgmt-page .dropdown-btn{width:100px}.user-mgmt-page .dropdown-panel{min-width:200px}.user-table{background:#fff;border-radius:16px;flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000001a}.user-table-scroll{flex:1;min-height:0;overflow:hidden}.user-info-table{border-collapse:collapse;table-layout:fixed;width:100%}.user-info-table .no-users-row td{color:#777;height:60px;font-style:italic;text-align:center!important;vertical-align:middle!important}.user-info-table th{text-align:left;white-space:nowrap;text-overflow:ellipsis;z-index:1;background-color:#f6efef;padding:10px 12px;font-size:14px;font-weight:600;position:sticky;top:0;overflow:hidden;box-shadow:0 4px 4px -2px #0000001a}.user-info-table td{text-align:left;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;padding:14px 16px;font-size:14px;line-height:2.5;overflow:hidden}.user-info-table thead tr th:first-child{border-top-left-radius:16px}.user-info-table thead tr th:last-child{border-top-right-radius:16px}.user-info-table tr+tr td{border-top:1px solid #eee}.user-info-table th.th-left{width:3%}.user-info-table th:nth-child(2){width:12%}.user-info-table th:nth-child(3){width:13%}.user-info-table th:nth-child(4){width:12%}.user-info-table th:nth-child(5){width:10%}.user-info-table th.th-right{width:12%}.user-info-table tbody tr:not(.no-users-row) td:last-child{align-items:center;gap:8px;display:flex}.user-modal{display:none}.user-modal.active{justify-content:center;align-items:center;display:flex}.user-modal .modal-content{max-width:600px}.password-wrapper{position:relative}.password-wrapper input{padding-right:40px}@media (width<=1200px){.user-info-table th:nth-child(4),.user-info-table td:nth-child(4){display:none}.user-info-table th.th-left{width:7%}.user-info-table th:nth-child(2){width:28%}.user-info-table th:nth-child(3){width:32%}.user-info-table th:nth-child(5){width:16%}.user-info-table th.th-right{width:17%}}@media (width<=900px){.user-info-table th:nth-child(3),.user-info-table td:nth-child(3),.user-info-table th:nth-child(4),.user-info-table td:nth-child(4){display:none}.user-info-table th.th-left{width:10%}.user-info-table th:nth-child(2){width:42%}.user-info-table th:nth-child(5){width:22%}.user-info-table th.th-right{width:26%}.user-info-table .edit-btn,.user-info-table .delete-btn{padding:0 10px;font-size:12px}}@media (width<=600px){.user-table{height:auto;min-height:400px}.add-user-btn{width:100%}}@media (width<=1200px){.user-table-scroll{-webkit-overflow-scrolling:touch;overflow:auto}.user-info-table{min-width:760px}.user-info-table th:nth-child(n),.user-info-table td:nth-child(n){display:table-cell}.user-info-table tbody tr:not(.no-users-row) td:last-child{display:flex}.user-info-table th.th-left{width:30px}.user-info-table th:nth-child(2){width:130px}.user-info-table th:nth-child(3){width:160px}.user-info-table th:nth-child(4){width:110px}.user-info-table th:nth-child(5){width:60px}.user-info-table th.th-right{width:130px}.user-info-table .edit-btn,.user-info-table .delete-btn{padding:0 12px;font-size:13px}}@media (width<=600px){.user-table{height:auto;min-height:0}.user-mgmt-page .dropdown-panel{box-sizing:border-box;width:calc(100vw - 32px);max-width:320px}}.ticket-mgmt-page .dropdown-btn{width:110px}.ticket-mgmt-page .dropdown-panel{min-width:220px}.filter-status-label{margin-top:8px;display:block}.status-dropdown-wrap{position:relative}.status-dropdown-toggle{text-align:left;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:6px 8px;font-family:inherit;font-size:14px;display:flex}.status-checkbox-list{box-sizing:border-box;z-index:100;background:#fff;border:1px solid #ccc;border-radius:8px;flex-direction:column;gap:6px;width:100%;max-height:160px;padding:8px;display:flex;position:absolute;top:100%;left:0;overflow-y:auto}.status-checkbox-label{cursor:pointer;align-items:center;gap:8px;font-size:13px;font-weight:400;display:flex}.status-clear-row{border-top:1px solid #eee;padding-top:6px}.date-filter-row{align-items:center;gap:6px;display:flex}.date-filter-input{background:#fff;border:1px solid #ccc;border-radius:8px;flex:1;min-width:0;padding:6px 8px;font-family:inherit;font-size:13px}.date-filter-separator{color:#666;font-size:12px}.clear-status-filter{color:#666;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px;text-decoration:underline}.create-ticket-btn{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:8px;height:40px;margin-left:5px;padding:0 24px;font-size:14px;font-weight:600}.ticket-table{background:#fff;border-radius:16px;flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000001a}.ticket-table-scroll{flex:1;min-height:0;overflow:hidden}.ticket-info-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:700px}.ticket-info-table th{text-align:left;white-space:nowrap;text-overflow:ellipsis;z-index:1;background-color:#f6efef;padding:10px 12px;font-size:14px;font-weight:600;position:sticky;top:0;overflow:hidden;box-shadow:0 4px 4px -2px #0000001a}.ticket-info-table td{text-align:left;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;padding:14px 16px;font-size:14px;line-height:1.4;overflow:hidden}.ticket-info-table td:nth-child(5){white-space:normal}.ticket-info-table thead tr th:first-child{border-top-left-radius:16px}.ticket-info-table thead tr th:last-child{border-top-right-radius:16px}.ticket-info-table tr+tr td{border-top:1px solid #eee}.ticket-info-table th:first-child{width:10%}.ticket-info-table th:nth-child(2),.ticket-info-table th:nth-child(3){width:20%}.ticket-info-table th:nth-child(4){width:14%}.ticket-info-table th:nth-child(5),.ticket-info-table th:nth-child(6){width:18%}.status{text-align:center;border-radius:12px;min-width:70px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.status.resolved{color:#fff;background-color:#21960f}.status.approved{color:#fff;background-color:#3498db}.status.rejected{color:#fff;background-color:#e74c3c}.status.pending{color:#fff;background-color:#f39c12}.status.in-progress{color:#fff;background-color:#6f42c1}.status.on-hold{color:#fff;background-color:#d68910}.status.reopened{color:#fff;background-color:#e87ba4}.sla-badge{white-space:normal;flex-direction:column;gap:2px;font-size:12px;font-weight:700;display:flex}.sla-badge.on-track{color:#21960f}.sla-badge.overdue{color:#e74c3c}.sla-badge.closed{color:#777;font-style:italic;font-weight:600}.sla-badge.closed.met{color:#21960f;font-style:normal}.sla-badge.closed.missed{color:#e74c3c;font-style:normal}.sla-badge.paused{color:#d68910;font-style:italic;font-weight:600}.sla-sub{color:#666;font-size:11px;font-weight:400}.ticket-modal{justify-content:center;align-items:center;display:flex}.ticket-modal .modal-content{flex-direction:column;max-width:800px;max-height:90vh;display:flex}.ticket-modal .modal-header{flex-shrink:0}.form-group textarea{box-sizing:border-box;resize:vertical;border:1px solid #ddd;border-radius:8px;width:100%;min-height:80px;padding:10px 12px;font-family:inherit;font-size:14px}.form-group textarea:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.ticket-modal .modal-footer{padding:0 20px 20px}.ticket-modal .modal-content form{flex:1;padding:20px;overflow-y:auto}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-group-full-width{grid-column:1/-1}.muted-note{color:#777;font-style:italic}.ticket-info-table td.ticket-table-empty-row{text-align:center;color:#777;font-style:italic}.custom-file-upload{width:100%;position:relative}.custom-file-upload input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute}.upload-box{text-align:center;background:#f8faff;border:2px dashed #b7b9c1;border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:25px;transition:all .2s;display:flex}.upload-box:hover{background:#eef2ff}.upload-icon{color:#7d86a3}.upload-title{color:#333;font-size:14px;font-weight:600;display:block}.upload-subtitle{color:#777;font-size:12px}.ticket-id-link{font:inherit;color:#4164f2;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.ticket-id-link:hover{color:#2d4bcf}.view-all-link{font:inherit;color:#6f42c1;cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;text-decoration:underline}.view-all-link:hover{color:#59339c}.attachment-preview-box{box-sizing:border-box;background:#f9fafb;border:1px solid #ddd;border-radius:8px;align-items:center;gap:8px;width:100%;margin-bottom:10px;padding:10px 12px;display:flex}.attachment-preview-icon{color:#6f42c1;flex-shrink:0}.existing-attachment-link{color:#6f42c1;font-size:14px;text-decoration:underline}.existing-attachment-link:hover{color:#59339c}.history-modal-content{max-width:640px}.history-modal-body{flex:1;padding:0 20px 20px;overflow-y:auto}.history-log-table{border-collapse:collapse;width:100%}.history-log-table th,.history-log-table td{text-align:left;border-bottom:1px solid #eee;padding:10px 12px;font-size:14px}.history-log-table th{color:#333;border-bottom:2px solid #4164f2;font-weight:700}.ticket-row-highlighted{animation:3s ease-out forwards ticket-row-highlight-fade}@keyframes ticket-row-highlight-fade{0%{background-color:#fff3b0}to{background-color:#0000}}.detail-section{margin-bottom:24px}.detail-section:last-child{margin-bottom:0}.detail-section-title{color:#000;border-bottom:2px solid #4164f2;margin-bottom:16px;padding-bottom:8px;font-size:15px;font-weight:700}.detail-grid{grid-template-columns:1fr 1fr;gap:16px 24px;display:grid}.detail-field label{color:#333;margin-bottom:6px;font-size:14px;font-weight:600;display:block}.detail-box{color:#111;box-sizing:border-box;white-space:pre-wrap;word-break:break-word;background:#f5f5f5;border:1px solid #ddd;border-radius:8px;width:100%;min-height:20px;padding:10px 12px;font-size:14px}@media (width<=1200px){.ticket-info-table th:nth-child(4),.ticket-info-table td:nth-child(4),.ticket-info-table th:nth-child(5),.ticket-info-table td:nth-child(5){display:none}.ticket-info-table th:nth-child(2){width:25%}.ticket-info-table th:nth-child(3){width:40%}}@media (width<=900px){.ticket-info-table th:nth-child(3),.ticket-info-table td:nth-child(3){display:none}.ticket-info-table th:nth-child(2){width:50%}}@media (width<=600px){.top-controls{flex-direction:column;align-items:stretch;gap:10px}.create-ticket-btn{width:100%}}.comment-thread{flex-direction:column;gap:12px;display:flex}.comment-list{flex-direction:column;gap:10px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.comment-item{background:#f6f7fb;border:1px solid #e3e6ef;border-radius:10px;padding:10px 12px}.comment-item.mine{background:#fdf3f3;border-color:#f0d6d6}.comment-meta{flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-bottom:4px;font-size:13px;display:flex}.comment-author{color:#222;font-weight:600}.comment-role{color:#900000;background:#fbe7e7;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.comment-date{color:#777;margin-left:auto}.comment-body{color:#333;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.5}.comment-attachment{color:#6f42c1;overflow-wrap:anywhere;align-items:center;gap:6px;margin-top:6px;font-size:13px;text-decoration:underline;display:inline-flex}.comment-compose textarea{box-sizing:border-box;width:100%;font:inherit;resize:vertical;border:1px solid #ccc;border-radius:8px;padding:10px 12px;font-size:14px}.comment-compose textarea:focus{border-color:#900000;outline:none}.comment-compose-actions{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:8px;display:flex}.comment-attach-btn{color:#555;cursor:pointer;background:#f8faff;border:1px dashed #b7b9c1;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;display:inline-flex;position:relative}.comment-attach-btn:hover{background:#eef2ff}.comment-attach-btn input[type=file]{opacity:0;cursor:pointer;position:absolute;inset:0}.comment-file-chip{color:#6f42c1;background:#f1ecfa;border-radius:8px;align-items:center;gap:6px;max-width:100%;padding:4px 6px 4px 10px;font-size:13px;display:inline-flex}.comment-file-name{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.comment-file-remove{color:inherit;cursor:pointer;background:0 0;border:none;padding:2px;display:inline-flex}.comment-hint{color:#888;font-size:12px}.comment-post-btn{margin-left:auto}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ticket-tabs{flex-wrap:wrap;flex-shrink:0;gap:6px;display:flex}.ticket-tab{color:#444;font:inherit;cursor:pointer;background:#fff;border:1px solid #e3e5ea;border-radius:999px;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.ticket-tab:hover{background:#fafafa;border-color:#c9ccd3}.ticket-tab.active{color:#fff;background:#900000;border-color:#900000}.ticket-tab-count{color:#555;text-align:center;background:#f1f2f5;border-radius:999px;min-width:22px;padding:1px 7px;font-size:12px;font-weight:700}.ticket-tab.active .ticket-tab-count{color:#fff;background:#ffffff38}@media (width<=1200px){.ticket-table-scroll{-webkit-overflow-scrolling:touch;overflow:auto}.ticket-info-table{min-width:760px}.ticket-info-table th:nth-child(n),.ticket-info-table td:nth-child(n){display:table-cell}.ticket-info-table th:first-child{width:70px}.ticket-info-table th:nth-child(2),.ticket-info-table th:nth-child(3){width:115px}.ticket-info-table th:nth-child(4){width:90px}.ticket-info-table th:nth-child(5){width:110px}.ticket-info-table th:nth-child(6){width:120px}.ticket-info-table td{padding:12px}.ticket-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.ticket-tabs::-webkit-scrollbar{display:none}.ticket-tab{flex-shrink:0}}@media (width<=600px){.ticket-mgmt-page .custom-dropdown{margin-left:auto}.ticket-mgmt-page .dropdown-panel{box-sizing:border-box;width:calc(100vw - 32px);max-width:340px}.ticket-info-table th{padding:10px 12px}}.processing-note{color:#8a4b08;background:#fff4e5;border-radius:8px;margin:0 0 12px;padding:8px 12px;font-size:13px}.activity-log-table{background:#fff;border-radius:16px;flex-direction:column;flex:1;width:100%;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000001a}.activity-log-table-scroll{flex:1;min-height:0;overflow:hidden}.activity-log-info-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:700px}.activity-log-info-table th{text-align:left;white-space:nowrap;text-overflow:ellipsis;z-index:1;background-color:#f6efef;padding:10px 12px;font-size:14px;font-weight:600;position:sticky;top:0;overflow:hidden;box-shadow:0 4px 4px -2px #0000001a}.activity-log-info-table td{text-align:left;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;padding:14px 16px;font-size:14px;line-height:1.5;overflow:hidden}.activity-log-info-table thead tr th:first-child{border-top-left-radius:16px}.activity-log-info-table thead tr th:last-child{border-top-right-radius:16px}.activity-log-info-table tr+tr td{border-top:1px solid #eee}.activity-log-info-table th:first-child{width:5%}.activity-log-info-table th:nth-child(2),.activity-log-info-table th:nth-child(3){width:24%}.activity-log-info-table th:nth-child(4){width:30%}.activity-log-info-table th:nth-child(5){width:17%}.reference-link{font:inherit;color:#4164f2;cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.reference-link:hover{color:#2d4bcf}@media (width<=1200px){.activity-log-info-table th:nth-child(4),.activity-log-info-table td:nth-child(4){display:none}.activity-log-info-table th:nth-child(2){width:25%}.activity-log-info-table th:nth-child(3){width:40%}}@media (width<=900px){.activity-log-info-table th:nth-child(3),.activity-log-info-table td:nth-child(3),.activity-log-info-table th:nth-child(4),.activity-log-info-table td:nth-child(4){display:none}.activity-log-info-table th:nth-child(2){width:50%}}@media (width<=600px){.activity-log-table{border-radius:8px}}@media (width<=1200px){.activity-log-table-scroll{-webkit-overflow-scrolling:touch;overflow:auto}.activity-log-info-table{min-width:740px}.activity-log-info-table th:nth-child(n),.activity-log-info-table td:nth-child(n){display:table-cell}.activity-log-info-table th:first-child{width:30px}.activity-log-info-table th:nth-child(2){width:140px}.activity-log-info-table th:nth-child(3){width:220px}.activity-log-info-table th:nth-child(4){width:90px}.activity-log-info-table th:nth-child(5){width:140px}}.report-page{--rp-brand:#900000;--rp-brand-dark:#730000;--rp-brand-tint:#fbeeee;--rp-brand-tint-strong:#f6dada;--rp-ink:#1f2328;--rp-ink-2:#555b65;--rp-ink-3:#8a909a;--rp-line:#e6e8ec;--rp-line-strong:#d3d6dc;--rp-surface:#fff;--rp-surface-2:#f7f8fa;--rp-open:#b45309;--rp-open-bg:#fff4e5}.report-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding-bottom:4px;display:flex;overflow-y:auto}.report-toolbar{background:var(--rp-surface);border-radius:16px;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:14px 18px;display:flex}.report-filter{color:var(--rp-ink-2);text-transform:uppercase;letter-spacing:.03em;flex-direction:column;gap:4px;font-size:12px;font-weight:600;display:flex}.report-filter select{border:1px solid var(--rp-line-strong);min-width:150px;font:inherit;text-transform:none;letter-spacing:0;color:var(--rp-ink);background:#fff;border-radius:8px;padding:8px 10px;font-size:14px;font-weight:500}.report-filter select:focus{border-color:var(--rp-brand);outline:none}.report-toggle{color:var(--rp-ink-2);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;padding-bottom:9px;font-size:13px;display:inline-flex}.report-toggle input{accent-color:var(--rp-brand);width:16px;height:16px}.report-actions{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.report-btn{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:9px 14px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.report-btn.pdf{background:var(--rp-brand);color:#fff}.report-btn.pdf:hover:not(:disabled){background:var(--rp-brand-dark)}.report-btn.excel{color:#1d6f42;background:#fff;border-color:#b9d7c4}.report-btn.excel:hover:not(:disabled){background:#eef7f1}.report-btn:disabled{opacity:.6;cursor:not-allowed}.report-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.report-kpi{background:var(--rp-surface);border:1px solid #0000;border-radius:16px;flex-direction:column;gap:4px;padding:16px 18px;display:flex}.report-kpi.primary{border-color:var(--rp-brand-tint-strong);background:linear-gradient(180deg, #fff 0%, var(--rp-brand-tint) 100%)}.report-kpi.attention .report-kpi-value{color:var(--rp-open)}.report-kpi-label{color:var(--rp-ink-2);font-size:13px;font-weight:600}.report-kpi-value{color:var(--rp-ink);font-variant-numeric:tabular-nums;font-size:36px;font-weight:800;line-height:1.1}.report-kpi.primary .report-kpi-value{color:var(--rp-brand)}.report-kpi-sub{color:var(--rp-ink-3);align-items:center;gap:4px;font-size:12px;display:inline-flex}.report-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.report-panel{background:var(--rp-surface);border-radius:16px;min-width:0;padding:18px 20px}.report-panel-title{color:var(--rp-ink);margin:0;font-size:17px;font-weight:700}.report-panel-sub{color:var(--rp-ink-3);margin:2px 0 14px;font-size:13px}.report-note{color:var(--rp-ink-3);margin:0;font-style:italic}.report-table-wrap{border:1px solid var(--rp-line);border-radius:12px;max-height:62vh;overflow:auto}.report-table{border-collapse:separate;border-spacing:0;width:100%;color:var(--rp-ink);font-variant-numeric:tabular-nums;font-size:13px}.report-table th,.report-table td{text-align:center;white-space:nowrap;border-bottom:1px solid var(--rp-line);padding:8px}.report-table thead th{z-index:2;background:var(--rp-surface-2);letter-spacing:.04em;text-transform:uppercase;color:var(--rp-ink-2);font-size:11px;font-weight:700;position:sticky;top:0}.report-table thead tr:nth-child(2) th{top:33px}.report-table .col-label{z-index:1;text-align:left;background:var(--rp-surface);min-width:200px;position:sticky;left:0}.report-table thead .col-label{z-index:3;background:var(--rp-surface-2)}.report-table .col-selected{background:var(--rp-brand-tint)}.report-table thead .col-selected{background:var(--rp-brand-tint-strong);color:var(--rp-brand)}.report-table .col-selected-group{border-bottom:1px solid #ebc8c8;font-size:12px}.report-table .col-total{border-left:1px solid var(--rp-line);font-weight:700}.report-table td.strong{font-weight:700}.report-section-row th{text-align:left;background:var(--rp-surface);border-bottom:2px solid var(--rp-brand);padding-top:16px;position:sticky;left:0}.report-section-name{letter-spacing:.05em;color:var(--rp-brand);margin-right:10px;font-size:13px;font-weight:800;display:inline-block}.report-section-meta{color:var(--rp-ink-3);font-size:12px;font-weight:500}.report-table tbody tr:not(.report-section-row):not(.report-subtotal):hover td{background:#f4f6f9}.report-table tbody tr.is-empty td{color:var(--rp-ink-3)}.report-zero{color:#c3c7ce}.report-open-badge{background:var(--rp-open-bg);min-width:22px;color:var(--rp-open);border-radius:999px;padding:1px 7px;font-weight:700;display:inline-block}.report-subtotal td{background:var(--rp-surface-2);border-bottom:1px solid var(--rp-line-strong);font-weight:700}.report-subtotal td.col-selected{background:var(--rp-brand-tint-strong)}.report-subtotal .col-label{background:var(--rp-surface-2);color:var(--rp-ink-2);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.report-grand-total td{color:#fff;border-bottom:none;font-weight:800;position:sticky;bottom:0;background:var(--rp-brand)!important}.report-grand-total .col-label{z-index:3;letter-spacing:.04em}.report-footnote{color:var(--rp-ink-3);margin:10px 0 0;font-size:12px}.report-sla .report-panel-title{align-items:center;gap:8px;display:flex}.report-sla .report-panel-title svg{color:var(--rp-brand)}.report-sla-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.report-sla-tile{border:1px solid var(--rp-line);background:var(--rp-surface-2);border-radius:12px;flex-direction:column;gap:4px;padding:12px 16px;display:flex}.report-sla-value{color:var(--rp-ink);font-variant-numeric:tabular-nums;font-size:28px;font-weight:800;line-height:1.1}.report-sla-value.good{color:#1d6f42}.report-sla-value.bad{color:var(--rp-brand)}.report-sla-value.warn{color:var(--rp-open)}.report-sla-table .col-label{min-width:120px}.report-missed{background:var(--rp-brand-tint-strong);min-width:22px;color:var(--rp-brand);border-radius:999px;padding:1px 7px;font-weight:700;display:inline-block}.report-top-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px 24px;margin:0;padding:0;list-style:none;display:grid}.report-top-text{justify-content:space-between;gap:8px;font-size:14px;display:flex}.report-top-label{color:var(--rp-ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.report-top-value{color:var(--rp-ink);font-variant-numeric:tabular-nums;font-weight:800}.report-top-section{letter-spacing:.04em;color:var(--rp-ink-3);margin:1px 0 6px;font-size:11px;font-weight:600;display:block}.report-top-track{background:var(--rp-surface-2);border-radius:4px;height:8px;overflow:hidden}.report-top-bar{background:var(--rp-brand);border-radius:4px;height:100%}@media (width<=1280px){.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.report-sla-tiles{grid-template-columns:minmax(0,1fr)}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-actions{margin-left:0}}html,body{background:#f6f6f3;height:100vh;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;overflow:hidden}#root{height:100%}.login-page{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.login-container{background:#fff;border-radius:16px;width:440px;overflow:hidden;box-shadow:0 6px 25px #0000001a}.header-placeholder{background:#900000;justify-content:center;align-items:center;width:100%;display:flex}.header-img{width:100%;height:auto;display:block}.form-content{padding:28px 32px 32px}.input-group{margin-bottom:24px;position:relative}.input-icon{color:#888;font-size:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.input-group input{box-sizing:border-box;border:1px solid #ddd;border-radius:8px;width:100%;padding:12px 16px 12px 40px;font-size:16px;transition:border-color .2s}.input-group input:focus{border-color:#007bff;outline:none}.input-group input[type=password],.input-group input[type=text]{padding-right:40px}.password-toggle{color:#888;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover{color:#555}.login-btn{color:#fff;cursor:pointer;background:#900000;border:none;border-radius:8px;justify-content:center;align-items:center;width:100%;padding:12px;font-size:16px;font-weight:500;transition:background .2s;display:flex}.login-btn svg{margin-right:8px}.login-btn:hover{background:#780000}.login-btn:active{transform:translateY(1px)}@media (width<=600px){.login-page{box-sizing:border-box;padding:16px}.login-container{width:100%;max-width:440px}.form-content{padding:22px 20px 24px}}
